diff options
author | Tony Wickham <twickham@google.com> | 2017-06-26 10:48:41 -0700 |
---|---|---|
committer | Tony Wickham <twickham@google.com> | 2017-06-26 17:50:29 +0000 |
commit | 093c3ac7c3e265bda0b9dbd29138ced28126e14e (patch) | |
tree | df6931db4af2589b8e7579493a35f2cf44b13e80 /res/values | |
parent | 03a38a669cc01123858c309c5536c0c8d86bb831 (diff) | |
download | android_packages_apps_Trebuchet-093c3ac7c3e265bda0b9dbd29138ced28126e14e.tar.gz android_packages_apps_Trebuchet-093c3ac7c3e265bda0b9dbd29138ced28126e14e.tar.bz2 android_packages_apps_Trebuchet-093c3ac7c3e265bda0b9dbd29138ced28126e14e.zip |
Add dark widgets theme
Bug: 62907264
Change-Id: I9831e071eab9a746d1aacab7d023371cc4a631ef
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/attrs.xml | 1 | ||||
-rw-r--r-- | res/values/styles.xml | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/res/values/attrs.xml b/res/values/attrs.xml index 27992ceb6..fc95002d8 100644 --- a/res/values/attrs.xml +++ b/res/values/attrs.xml @@ -30,6 +30,7 @@ <attr name="workspaceAmbientShadowColor" format="color"/> <attr name="workspaceKeyShadowColor" format="color" /> <attr name="workspaceStatusBarScrim" format="reference" /> + <attr name="widgetsTheme" format="reference" /> <!-- BubbleTextView specific attributes. --> <declare-styleable name="BubbleTextView"> diff --git a/res/values/styles.xml b/res/values/styles.xml index b982136da..bc12bb688 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -40,6 +40,7 @@ <item name="workspaceAmbientShadowColor">#33000000</item> <item name="workspaceKeyShadowColor">#44000000</item> <item name="workspaceStatusBarScrim">@drawable/workspace_bg</item> + <item name="widgetsTheme">@style/WidgetContainerTheme</item> </style> <style name="LauncherTheme" parent="@style/BaseLauncherThemeWithCustomAttrs"></style> @@ -64,6 +65,7 @@ <item name="popupColorPrimary">?android:attr/colorPrimary</item> <item name="popupColorSecondary">#424242</item> <!-- Gray 800 --> <item name="popupColorTertiary">#757575</item> <!-- Gray 600 --> + <item name="widgetsTheme">@style/WidgetContainerTheme.Dark</item> <item name="isMainColorDark">true</item> </style> @@ -85,6 +87,8 @@ <item name="android:textColorSecondary">?android:attr/textColorSecondaryInverse</item> </style> + <style name="WidgetContainerTheme.Dark" /> + <style name="FastScrollerPopup" > <item name="android:layout_width">wrap_content</item> <item name="android:minWidth">@dimen/fastscroll_popup_width</item> |