diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-04-23 20:17:47 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-04-23 20:17:47 +0200 |
commit | 419834566b33a938641f74242c9912b80c79bb72 (patch) | |
tree | 8c9a6f36b902e1ca14e480f411368d5d0de1e7f9 /src/main/res | |
parent | 7e02920f4550f088dd726501f2c3978e6010b726 (diff) |
use font size in action view
Diffstat (limited to 'src/main/res')
-rw-r--r-- | src/main/res/layout/actionview_search.xml | 7 | ||||
-rw-r--r-- | src/main/res/values/styles.xml | 5 |
2 files changed, 8 insertions, 4 deletions
diff --git a/src/main/res/layout/actionview_search.xml b/src/main/res/layout/actionview_search.xml index 64588959c..856dd03e0 100644 --- a/src/main/res/layout/actionview_search.xml +++ b/src/main/res/layout/actionview_search.xml @@ -10,13 +10,12 @@ <EditText android:id="@+id/search_field" + style="@style/Widget.Conversations.SearchView" android:layout_width="match_parent" android:layout_height="wrap_content" android:focusable="true" - android:inputType="textEmailAddress|textNoSuggestions" + android:hint="@string/search_for_contacts_or_groups" android:imeOptions="actionSearch" - android:textColor="@color/white" - android:textColorHint="@color/white70" - android:hint="@string/search_for_contacts_or_groups" /> + android:inputType="textEmailAddress|textNoSuggestions" /> </RelativeLayout>
\ No newline at end of file diff --git a/src/main/res/values/styles.xml b/src/main/res/values/styles.xml index f68544de7..03ff3a9d6 100644 --- a/src/main/res/values/styles.xml +++ b/src/main/res/values/styles.xml @@ -25,6 +25,11 @@ <item name="android:textSize">?TextSizeInput</item> </style> + <style name="Widget.Conversations.SearchView" parent="Widget.Conversations.EditText"> + <item name="android:textColor">@color/white</item> + <item name="android:textColorHint">@color/white70</item> + </style> + <style name="Widget.Conversations.CheckBox" parent="Widget.AppCompat.CompoundButton.CheckBox"> <item name="android:textSize">?TextSizeBody1</item> </style> |