OSDN Git Service

Use android:attr for display font preview layout background
authorFan Zhang <zhfan@google.com>
Mon, 15 Apr 2019 18:26:46 +0000 (11:26 -0700)
committerFan Zhang <zhfan@google.com>
Mon, 15 Apr 2019 18:26:46 +0000 (11:26 -0700)
Fixes: 117441518
Test: visual
Change-Id: I00ba298c37e9b1dd2bf5bf0890076b204d10de94

res/layout/screen_zoom_preview_1.xml
res/values/colors.xml

index b7d2d15..65d27ee 100644 (file)
@@ -28,7 +28,7 @@
         <LinearLayout
             android:layout_width="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:paddingStart="@dimen/conversation_message_list_padding"
             android:paddingEnd="@dimen/conversation_message_list_padding"
index cfbcd5a..4170824 100644 (file)
@@ -63,7 +63,6 @@
     <color name="timestamp_text_incoming">#99ffffff</color>
     <color name="message_bubble_incoming">#689f38</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_text_incoming">#ffffffff</color>
     <color name="message_icon_background_outgoing">#4285f4</color>