made background color of swiped conversations darker

This commit is contained in:
Daniel Gultsch 2016-06-10 23:22:16 +02:00
parent a70f57358e
commit 5017e8564c
4 changed files with 11 additions and 1 deletions

View file

@ -7,7 +7,7 @@
<View
android:layout_width="fill_parent"
android:layout_height="match_parent"
android:background="@color/primary500"/>
android:background="?attr/conversations_overview_background"/>
<FrameLayout
android:id="@+id/swipeable_item"

View file

@ -33,6 +33,8 @@
<item name="attr/message_bubble_sent">@drawable/message_bubble_sent</item>
<item name="attr/message_bubble_received_green">@drawable/message_bubble_received</item>
<item name="attr/conversations_overview_background">@color/primary700</item>
<item name="attr/icon_alpha">0.54</item>
<item name="attr/icon_add_group">@drawable/ic_group_add_white_24dp</item>
@ -94,6 +96,8 @@
<item name="attr/message_bubble_sent">@drawable/message_bubble_sent_grey</item>
<item name="attr/message_bubble_received_green">@drawable/message_bubble_received_dark</item>
<item name="attr/conversations_overview_background">@color/primary900</item>
<item name="attr/icon_alpha">1.0</item>
<item name="attr/icon_add_group">@drawable/ic_group_add_white_24dp</item>

View file

@ -23,6 +23,8 @@
<attr name="message_bubble_sent" format="reference"/>
<attr name="message_bubble_received_green" format="reference"/>
<attr name="conversations_overview_background" format="reference|color"/>
<attr name="icon_alpha" format="float"/>
<attr name="icon_add_group" format="reference"/>

View file

@ -39,6 +39,8 @@
<item name="attr/message_bubble_sent">@drawable/message_bubble_sent</item>
<item name="attr/message_bubble_received_green">@drawable/message_bubble_received</item>
<item name="attr/conversations_overview_background">@color/primary700</item>
<item name="attr/icon_alpha">1.0</item>
<item name="attr/icon_group">@drawable/ic_action_group</item>
@ -87,6 +89,8 @@
<item name="attr/message_bubble_sent">@drawable/message_bubble_sent_grey</item>
<item name="attr/message_bubble_received_green">@drawable/message_bubble_received_dark</item>
<item name="attr/conversations_overview_background">@color/primary900</item>
<item name="attr/icon_alpha">1.0</item>
<item name="attr/icon_add_group">@drawable/ic_action_add_group</item>