diff options
Diffstat (limited to '')
-rw-r--r-- | res/layout/actionview_search.xml | 19 | ||||
-rw-r--r-- | res/menu/start_conversation.xml | 2 |
2 files changed, 20 insertions, 1 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 diff --git a/res/menu/start_conversation.xml b/res/menu/start_conversation.xml index 907fbded..271bac18 100644 --- a/res/menu/start_conversation.xml +++ b/res/menu/start_conversation.xml @@ -3,7 +3,7 @@ <item android:id="@+id/action_search" - android:actionViewClass="android.widget.SearchView" + android:actionLayout="@layout/actionview_search" android:icon="@drawable/ic_action_search" android:showAsAction="collapseActionView|always" android:title="@string/search"/> |