aboutsummaryrefslogtreecommitdiffstats
path: root/main/res
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2012-11-30 13:39:48 +0100
committerBananeweizen <bananeweizen@gmx.de>2012-11-30 13:39:48 +0100
commitd8c53772a993ad2592cc5104e9b976004cba069e (patch)
treed704d2f3be804006b2e9c0985b0b800fb670f425 /main/res
parent52a66b8bd6eff829f416bfd7e2305b7fc5ba9964 (diff)
downloadcgeo-d8c53772a993ad2592cc5104e9b976004cba069e.zip
cgeo-d8c53772a993ad2592cc5104e9b976004cba069e.tar.gz
cgeo-d8c53772a993ad2592cc5104e9b976004cba069e.tar.bz2
new: call filter menu by clicking filter bar
Diffstat (limited to 'main/res')
-rw-r--r--main/res/layout/filter_bar.xml23
1 files changed, 16 insertions, 7 deletions
diff --git a/main/res/layout/filter_bar.xml b/main/res/layout/filter_bar.xml
index 35ee929..9df8f84 100644
--- a/main/res/layout/filter_bar.xml
+++ b/main/res/layout/filter_bar.xml
@@ -1,10 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/filter_bar"
- style="@style/filter_bar"
- android:visibility="gone">
- <ImageView style="@style/filter_bar_image"
- android:src="@drawable/main_filter_default"></ImageView>
- <TextView android:id="@+id/filter_text"
- style="@style/filter_bar_text"/>
+ xmlns:tools="http://schemas.android.com/tools"
+ android:id="@+id/filter_bar"
+ style="@style/filter_bar"
+ android:onClick="showFilterMenu"
+ android:visibility="gone"
+ tools:ignore="UseCompoundDrawables" > <!-- This cannot be done with a compound drawable as there is no easy way to set the size of the image in XML -->
+
+ <ImageView
+ style="@style/filter_bar_image"
+ android:src="@drawable/main_filter_default" >
+ </ImageView>
+
+ <TextView
+ android:id="@+id/filter_text"
+ style="@style/filter_bar_text" />
+
</LinearLayout> \ No newline at end of file