use font size in action view

This commit is contained in:
Daniel Gultsch 2018-04-02 09:51:45 +02:00
parent e6d7e5f27f
commit a4dc7eb3ee
2 changed files with 14 additions and 10 deletions

View File

@ -1,22 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<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"
android:gravity="center"
android:paddingLeft="5dp"
android:paddingRight="5dp" >
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"
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>

View File

@ -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>