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:gravity="center_vertical"
android:layout_marginRight="4sp"
android:textAppearance="@style/TextAppearance.Conversations.Caption"
android:textStyle="bold"/>
android:textAppearance="@style/TextAppearance.Conversations.Caption.OnDark.Bold"/>
<ImageView
android:id="@+id/security_indicator"

View File

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

View File

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