diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2019-02-05 14:45:31 -0800 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2019-02-05 14:45:51 -0800 |
commit | bcadb7f4baf8cf4e85624833b054abf1cf629c02 (patch) | |
tree | f0fbf7b8796653197115317b89532faa4603e763 /res/values | |
parent | e8a2617efebfccde1cf59b7d05aee0cdad133b51 (diff) | |
download | android_packages_apps_Trebuchet-bcadb7f4baf8cf4e85624833b054abf1cf629c02.tar.gz android_packages_apps_Trebuchet-bcadb7f4baf8cf4e85624833b054abf1cf629c02.tar.bz2 android_packages_apps_Trebuchet-bcadb7f4baf8cf4e85624833b054abf1cf629c02.zip |
Changing some colors for folderIcon in dark themes
Bug: 111139480
Change-Id: I5b338c6faf61626a21f703da37b95466806cbbfd
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/attrs.xml | 8 | ||||
-rw-r--r-- | res/values/styles.xml | 4 |
2 files changed, 12 insertions, 0 deletions
diff --git a/res/values/attrs.xml b/res/values/attrs.xml index 53877ffa2..465504c25 100644 --- a/res/values/attrs.xml +++ b/res/values/attrs.xml @@ -37,6 +37,7 @@ <attr name="folderDotColor" format="color" /> <attr name="folderIconRadius" format="float" /> + <attr name="folderIconBorderColor" format="color" /> <!-- BubbleTextView specific attributes. --> <declare-styleable name="BubbleTextView"> @@ -52,6 +53,13 @@ <attr name="centerVertically" format="boolean" /> </declare-styleable> + <!-- BubbleTextView specific attributes. --> + <declare-styleable name="FolderIconPreview"> + <attr name="android:colorPrimary" /> + <attr name="folderIconBorderColor" /> + <attr name="folderDotColor" /> + </declare-styleable> + <declare-styleable name="ShadowInfo"> <attr name="ambientShadowColor" format="color" /> <attr name="ambientShadowBlur" format="dimension" /> diff --git a/res/values/styles.xml b/res/values/styles.xml index a1ea3b4e8..f0955b3a5 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -43,6 +43,7 @@ <item name="workspaceStatusBarScrim">@drawable/workspace_bg</item> <item name="widgetsTheme">@style/WidgetContainerTheme</item> <item name="folderDotColor">?android:attr/colorPrimary</item> + <item name="folderIconBorderColor">?android:attr/colorPrimary</item> <item name="loadingIconColor">#FFF</item> <item name="android:windowTranslucentStatus">false</item> @@ -60,6 +61,8 @@ <item name="workspaceKeyShadowColor">@android:color/transparent</item> <item name="isWorkspaceDarkText">true</item> <item name="workspaceStatusBarScrim">@null</item> + <item name="folderDotColor">#FF464646</item> + <item name="folderIconBorderColor">#FF80868B</item> </style> <style name="LauncherTheme.Dark" parent="@style/LauncherTheme"> @@ -77,6 +80,7 @@ <item name="popupColorTertiary">#757575</item> <!-- Gray 600 --> <item name="widgetsTheme">@style/WidgetContainerTheme.Dark</item> <item name="folderDotColor">#FF464646</item> + <item name="folderIconBorderColor">#FF80868B</item> <item name="isMainColorDark">true</item> <item name="loadingIconColor">#000</item> </style> |