aboutsummaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-07-11 23:44:59 +0200
committeriNPUTmice <daniel@gultsch.de>2014-07-11 23:44:59 +0200
commit7a26f272121107084a835638f4a287d49c44a7fe (patch)
tree65dbe2899ce0eda8c53c8730185c6f932d601b74 /res/layout
parent610df2eddc06d9b7cbe0157a2f101eb9eaef76d0 (diff)
switch SearchView with custom action view
Diffstat (limited to '')
-rw-r--r--res/layout/actionview_search.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/res/layout/actionview_search.xml b/res/layout/actionview_search.xml
new file mode 100644
index 00000000..70300913
--- /dev/null
+++ b/res/layout/actionview_search.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:addStatesFromChildren="true"
+ android:focusable="true"
+ android:gravity="center"
+ android:paddingLeft="5dp"
+ android:paddingRight="5dp" >
+
+ <EditText
+ android:id="@+id/search_field"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:focusable="true"
+ android:inputType="textEmailAddress|textNoSuggestions"
+ android:textColor="@color/ondarktext"/>
+
+</LinearLayout> \ No newline at end of file