mirror of
https://github.com/moparisthebest/k-9
synced 2025-02-17 07:30:16 -05:00
Use theme-specific color for message list divider
This commit is contained in:
parent
6b143d845a
commit
3439a2326d
@ -17,7 +17,7 @@
|
||||
android:id="@+id/message_list_divider"
|
||||
android:layout_width="1px"
|
||||
android:layout_height="fill_parent"
|
||||
android:background="#ffcccccc"
|
||||
android:background="?attr/messageListDividerColor"
|
||||
android:visibility="gone"
|
||||
tools:ignore="PxUsage" />
|
||||
|
||||
|
@ -49,6 +49,7 @@
|
||||
<attr name="messageListThreadCountForegroundColor" format="reference|color"/>
|
||||
<attr name="messageListThreadCountBackground" format="reference|color"/>
|
||||
<attr name="messageListActiveItemBackgroundColor" format="reference|color"/>
|
||||
<attr name="messageListDividerColor" format="reference|color"/>
|
||||
|
||||
</declare-styleable>
|
||||
|
||||
|
@ -48,6 +48,7 @@
|
||||
<item name="messageListThreadCountForegroundColor">?android:attr/colorBackground</item>
|
||||
<item name="messageListThreadCountBackground">@drawable/thread_count_box_light</item>
|
||||
<item name="messageListActiveItemBackgroundColor">#ff2ea7d1</item>
|
||||
<item name="messageListDividerColor">#ffcccccc</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.K9.Dark.Base" parent="Theme.Sherlock">
|
||||
@ -98,6 +99,7 @@
|
||||
<item name="messageListThreadCountForegroundColor">?android:attr/colorBackground</item>
|
||||
<item name="messageListThreadCountBackground">@drawable/thread_count_box_dark</item>
|
||||
<item name="messageListActiveItemBackgroundColor">#ff33b5e5</item>
|
||||
<item name="messageListDividerColor">#ff333333</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.K9.Light" parent="Theme.K9.Light.Base">
|
||||
|
Loading…
Reference in New Issue
Block a user