fixed highlighted caption style

This commit is contained in:
Daniel Gultsch 2018-03-01 22:12:38 +01:00
parent 157ca65b0a
commit 97f728351b
3 changed files with 6 additions and 5 deletions

View file

@ -53,8 +53,7 @@
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:gravity="center_vertical" android:gravity="center_vertical"
android:layout_marginRight="4sp" android:layout_marginRight="4sp"
android:textAppearance="@style/TextAppearance.Conversations.Caption" android:textAppearance="@style/TextAppearance.Conversations.Caption.OnDark.Bold"/>
android:textStyle="bold"/>
<ImageView <ImageView
android:id="@+id/security_indicator" android:id="@+id/security_indicator"

View file

@ -10,8 +10,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:ems="10" android:ems="10"
android:inputType="textPersonName" android:inputType="textPersonName">
android:textColor="?attr/color_text_primary" >
<requestFocus /> <requestFocus />
</EditText> </EditText>

View file

@ -20,13 +20,16 @@
<style name="TextAppearance.Conversations.Caption.OnDark" parent="TextAppearance.Conversations.Caption"> <style name="TextAppearance.Conversations.Caption.OnDark" parent="TextAppearance.Conversations.Caption">
<item name="android:textColor">@color/white70</item> <item name="android:textColor">@color/white70</item>
</style> </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 name="TextAppearance.Conversations.Caption" parent="TextAppearance.AppCompat.Caption">
</style> </style>
<style name="TextAppearance.Conversations.Caption.Waring" parent="TextAppearance.Conversations.Caption"> <style name="TextAppearance.Conversations.Caption.Waring" parent="TextAppearance.Conversations.Caption">
<item name="android:textColor">@color/red800</item> <item name="android:textColor">@color/red800</item>
</style> </style>
<style name="TextAppearance.Conversations.Caption.Highlight" parent="TextAppearance.Conversations.Caption"> <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>
<style name="TextAppearance.Conversations.Caption.Disabled" parent="TextAppearance.Conversations.Caption"> <style name="TextAppearance.Conversations.Caption.Disabled" parent="TextAppearance.Conversations.Caption">
<item name="android:textColor">?android:textColorTertiary</item> <item name="android:textColor">?android:textColorTertiary</item>