diff options
author | iNPUTmice <daniel@gultsch.de> | 2015-01-20 14:53:47 +0100 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2015-01-20 14:53:47 +0100 |
commit | 32a16137df2020081c6118c58cc58aaab4198e93 (patch) | |
tree | 2d6a64a6b280a3cd4860ef8c79a5f84e8d3aa709 | |
parent | a93dd1b0c456e8f0e4a1080db3049f40a06896a2 (diff) |
Fixed action bar search for Android 5.0
-rw-r--r-- | src/main/res/layout/actionview_search.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/res/layout/actionview_search.xml b/src/main/res/layout/actionview_search.xml index 64b75f0e..cc5fc9d7 100644 --- a/src/main/res/layout/actionview_search.xml +++ b/src/main/res/layout/actionview_search.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="fill_parent" +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" android:layout_height="wrap_content" android:addStatesFromChildren="true" android:focusable="true" @@ -10,10 +10,10 @@ <EditText android:id="@+id/search_field" - android:layout_width="fill_parent" + android:layout_width="match_parent" android:layout_height="wrap_content" android:focusable="true" android:inputType="textEmailAddress|textNoSuggestions" android:textColor="@color/ondarktext" /> -</LinearLayout>
\ No newline at end of file +</RelativeLayout>
\ No newline at end of file |