diff options
author | Tony <twickham@google.com> | 2018-07-23 08:01:15 -0700 |
---|---|---|
committer | Tony <twickham@google.com> | 2018-07-23 16:41:45 -0700 |
commit | 05d98c246b05d86531d2734efdddbfa50c08a9bb (patch) | |
tree | 762284d1a2776022ca12a33f3bbb571864703f9a /res | |
parent | 82c114ca9ca212e8257d34860b42f4a021a63213 (diff) | |
download | android_packages_apps_Trebuchet-05d98c246b05d86531d2734efdddbfa50c08a9bb.tar.gz android_packages_apps_Trebuchet-05d98c246b05d86531d2734efdddbfa50c08a9bb.tar.bz2 android_packages_apps_Trebuchet-05d98c246b05d86531d2734efdddbfa50c08a9bb.zip |
Adjust notification dots
- Use consistent bounds for folders as other icons, to ensure dot
has a consistent placement (moved right+up a bit)
- Strengthen the ambient shadow to improve contrast
- Increased blur size and opacity
- Use a dark gray rather than black for dots on dark folders
Bug: 73331123
Change-Id: I888f4645d3a48465af93f5003dda8f8b7c3129f3
Diffstat (limited to 'res')
-rw-r--r-- | res/values/attrs.xml | 1 | ||||
-rw-r--r-- | res/values/styles.xml | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/res/values/attrs.xml b/res/values/attrs.xml index 30091a5f7..045e4e98c 100644 --- a/res/values/attrs.xml +++ b/res/values/attrs.xml @@ -33,6 +33,7 @@ <attr name="workspaceKeyShadowColor" format="color" /> <attr name="workspaceStatusBarScrim" format="reference" /> <attr name="widgetsTheme" format="reference" /> + <attr name="folderBadgeColor" format="color" /> <!-- BubbleTextView specific attributes. --> <declare-styleable name="BubbleTextView"> diff --git a/res/values/styles.xml b/res/values/styles.xml index 07bd80071..7ea28ccf0 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -42,6 +42,7 @@ <item name="workspaceKeyShadowColor">#44000000</item> <item name="workspaceStatusBarScrim">@drawable/workspace_bg</item> <item name="widgetsTheme">@style/WidgetContainerTheme</item> + <item name="folderBadgeColor">?android:attr/colorPrimary</item> </style> <style name="LauncherTheme" parent="@style/BaseLauncherThemeWithCustomAttrs"></style> @@ -70,6 +71,7 @@ <item name="popupColorSecondary">#424242</item> <!-- Gray 800 --> <item name="popupColorTertiary">#757575</item> <!-- Gray 600 --> <item name="widgetsTheme">@style/WidgetContainerTheme.Dark</item> + <item name="folderBadgeColor">#FF464646</item> <item name="isMainColorDark">true</item> </style> |