Use android:attr for display font preview layout background

Fixes: 117441518
Test: visual
Change-Id: I00ba298c37e9b1dd2bf5bf0890076b204d10de94
This commit is contained in:
Fan Zhang
2019-04-15 11:26:46 -07:00
parent 96b534951c
commit 80f0dc61c7
2 changed files with 1 additions and 2 deletions

View File

@@ -28,7 +28,7 @@
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@color/conversation_background" android:background="?android:attr/colorBackgroundFloating"
android:paddingTop="@dimen/conversation_message_list_padding" android:paddingTop="@dimen/conversation_message_list_padding"
android:paddingStart="@dimen/conversation_message_list_padding" android:paddingStart="@dimen/conversation_message_list_padding"
android:paddingEnd="@dimen/conversation_message_list_padding" android:paddingEnd="@dimen/conversation_message_list_padding"

View File

@@ -63,7 +63,6 @@
<color name="timestamp_text_incoming">#99ffffff</color> <color name="timestamp_text_incoming">#99ffffff</color>
<color name="message_bubble_incoming">#689f38</color> <color name="message_bubble_incoming">#689f38</color>
<color name="message_bubble_outgoing">#ffffffff</color> <color name="message_bubble_outgoing">#ffffffff</color>
<color name="conversation_background">#eeeeee</color>
<color name="message_icon_background_incoming">#689f38</color> <color name="message_icon_background_incoming">#689f38</color>
<color name="message_icon_text_incoming">#ffffffff</color> <color name="message_icon_text_incoming">#ffffffff</color>
<color name="message_icon_background_outgoing">#4285f4</color> <color name="message_icon_background_outgoing">#4285f4</color>