From 093c3ac7c3e265bda0b9dbd29138ced28126e14e Mon Sep 17 00:00:00 2001 From: Tony Wickham Date: Mon, 26 Jun 2017 10:48:41 -0700 Subject: [PATCH] Add dark widgets theme Bug: 62907264 Change-Id: I9831e071eab9a746d1aacab7d023371cc4a631ef --- res/layout/widgets_bottom_sheet.xml | 3 ++- res/layout/widgets_view.xml | 2 +- res/values-v26/styles.xml | 4 ++++ res/values/attrs.xml | 1 + res/values/styles.xml | 4 ++++ src/com/android/launcher3/widget/WidgetsBottomSheet.java | 3 +-- 6 files changed, 13 insertions(+), 4 deletions(-) diff --git a/res/layout/widgets_bottom_sheet.xml b/res/layout/widgets_bottom_sheet.xml index f1370f0c4c..e8c6961f43 100644 --- a/res/layout/widgets_bottom_sheet.xml +++ b/res/layout/widgets_bottom_sheet.xml @@ -22,7 +22,8 @@ android:paddingTop="28dp" android:background="?android:attr/colorPrimary" android:elevation="@dimen/deep_shortcuts_elevation" - android:layout_gravity="bottom"> + android:layout_gravity="bottom" + android:theme="?attr/widgetsTheme"> + android:theme="?attr/widgetsTheme"> ?android:attr/textColorSecondary + @@ -64,6 +65,7 @@ ?android:attr/colorPrimary #424242 #757575 + @style/WidgetContainerTheme.Dark true @@ -85,6 +87,8 @@ ?android:attr/textColorSecondaryInverse +