aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/res')
-rw-r--r--src/main/res/layout/actionview_search.xml7
-rw-r--r--src/main/res/values/styles.xml5
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>