diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-04-01 17:54:07 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-04-01 17:54:07 +0200 |
commit | 73871b843d2bf951c19de66da107c12eb2dbe303 (patch) | |
tree | b5390a6d9ed8c4c142ed66c4ee310f0985404761 /src | |
parent | 34706a5e024df16027a292953606114db7e12dbe (diff) |
fixed highlighted caption style
Diffstat (limited to '')
-rw-r--r-- | src/main/res/layout/message_received.xml | 3 | ||||
-rw-r--r-- | src/main/res/layout/quickedit.xml | 4 | ||||
-rw-r--r-- | src/main/res/values/styles.xml | 6 |
3 files changed, 8 insertions, 5 deletions
diff --git a/src/main/res/layout/message_received.xml b/src/main/res/layout/message_received.xml index 4d5334743..a668f4bc1 100644 --- a/src/main/res/layout/message_received.xml +++ b/src/main/res/layout/message_received.xml @@ -55,8 +55,7 @@ android:layout_gravity="center_vertical" android:layout_marginRight="4sp" android:gravity="center_vertical" - android:textAppearance="@style/TextAppearance.Conversations.Caption" - android:textStyle="bold" /> + android:textAppearance="@style/TextAppearance.Conversations.Caption.OnDark.Bold" /> <ImageView android:id="@+id/security_indicator" diff --git a/src/main/res/layout/quickedit.xml b/src/main/res/layout/quickedit.xml index 93e81024c..9a407972a 100644 --- a/src/main/res/layout/quickedit.xml +++ b/src/main/res/layout/quickedit.xml @@ -10,8 +10,8 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:ems="10" - android:inputType="textPersonName" - android:textColor="@color/black87"> + android:inputType="textPersonName"> + <requestFocus /> </android.support.text.emoji.widget.EmojiEditText> diff --git a/src/main/res/values/styles.xml b/src/main/res/values/styles.xml index 6cc678c35..1995c7130 100644 --- a/src/main/res/values/styles.xml +++ b/src/main/res/values/styles.xml @@ -28,6 +28,10 @@ <item name="android:textColor">@color/white70</item> </style> + <style name="TextAppearance.Conversations.Caption.OnDark.Bold" parent="TextAppearance.Conversations.Caption.OnDark"> + <item name="android:textStyle">bold</item> + </style> + <style name="TextAppearance.Conversations.Caption" parent="TextAppearance.AppCompat.Caption"></style> <style name="TextAppearance.Conversations.Caption.Waring" parent="TextAppearance.Conversations.Caption"> @@ -35,7 +39,7 @@ </style> <style name="TextAppearance.Conversations.Caption.Highlight" parent="TextAppearance.Conversations.Caption"> - <item name="android:textColor">?android:colorAccent</item> + <item name="android:textColor">?colorAccent</item> </style> <style name="TextAppearance.Conversations.Caption.Disabled" parent="TextAppearance.Conversations.Caption"> |