summaryrefslogtreecommitdiffstats
path: root/res/layout/notification.xml
diff options
context:
space:
mode:
authorTony Wickham <twickham@google.com>2017-06-06 15:42:32 -0700
committerTony Wickham <twickham@google.com>2017-06-06 16:34:20 -0700
commit90038ebab21ce22eb2bdaf72b0dddfcaa81dcd4e (patch)
tree13fe4379cd80c8980bfb1485d49b837625c7211e /res/layout/notification.xml
parent561e53577b150d2f4a8d4c45931bd763f9fbd5ac (diff)
downloadandroid_packages_apps_Trebuchet-90038ebab21ce22eb2bdaf72b0dddfcaa81dcd4e.tar.gz
android_packages_apps_Trebuchet-90038ebab21ce22eb2bdaf72b0dddfcaa81dcd4e.tar.bz2
android_packages_apps_Trebuchet-90038ebab21ce22eb2bdaf72b0dddfcaa81dcd4e.zip
Add support for popup dark theme
Bug: 62380473 Change-Id: Ib22e9b82841bf10b7f139638f268f0a878e3c6b9
Diffstat (limited to 'res/layout/notification.xml')
-rw-r--r--res/layout/notification.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/res/layout/notification.xml b/res/layout/notification.xml
index a183c92f7..085dfa93c 100644
--- a/res/layout/notification.xml
+++ b/res/layout/notification.xml
@@ -19,6 +19,7 @@
android:id="@+id/notification_view"
android:layout_width="@dimen/bg_popup_item_width"
android:layout_height="wrap_content"
+ android:theme="@style/PopupItem"
android:elevation="@dimen/deep_shortcuts_elevation">
<RelativeLayout
@@ -33,7 +34,7 @@
android:layout_height="@dimen/notification_header_height"
android:paddingStart="@dimen/notification_padding_start"
android:paddingEnd="@dimen/notification_padding_end"
- android:background="@color/popup_background_color"
+ android:background="?attr/popupColorPrimary"
android:elevation="@dimen/notification_elevation">
<TextView
android:id="@+id/notification_text"
@@ -65,7 +66,7 @@
android:id="@+id/divider"
android:layout_width="match_parent"
android:layout_height="@dimen/popup_item_divider_height"
- android:background="?android:attr/listDivider"
+ android:background="?attr/popupColorTertiary"
android:layout_below="@id/main_view"
android:visibility="gone" />