summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2017-06-19 17:29:48 -0700
committerSunny Goyal <sunnygoyal@google.com>2017-06-20 09:03:30 -0700
commit5931ca04155a7fcdfc1dc0665011a44101afda5f (patch)
treee175134c1d3e4b2c205975a9c04756e13d778e06 /res/values
parent092e856498ae3155ca969eca1087d9fedd2ef284 (diff)
downloadandroid_packages_apps_Trebuchet-5931ca04155a7fcdfc1dc0665011a44101afda5f.tar.gz
android_packages_apps_Trebuchet-5931ca04155a7fcdfc1dc0665011a44101afda5f.tar.bz2
android_packages_apps_Trebuchet-5931ca04155a7fcdfc1dc0665011a44101afda5f.zip
Fixing dark tint for ShadowDrawable.
Updating the dark theme for empty all-apps search drawable. Change-Id: Ieb2018924da337bdd97eaf3adf2d32c3e3bebc73
Diffstat (limited to 'res/values')
-rw-r--r--res/values/attrs.xml2
-rw-r--r--res/values/colors.xml1
-rw-r--r--res/values/styles.xml11
3 files changed, 13 insertions, 1 deletions
diff --git a/res/values/attrs.xml b/res/values/attrs.xml
index b7189d17c..27992ceb6 100644
--- a/res/values/attrs.xml
+++ b/res/values/attrs.xml
@@ -130,6 +130,6 @@
<attr name="android:src" />
<attr name="android:shadowColor" />
<attr name="android:elevation" />
- <attr name="android:tint" />
+ <attr name="darkTintColor" format="color"/>
</declare-styleable>
</resources>
diff --git a/res/values/colors.xml b/res/values/colors.xml
index 4f7c1a73d..b44a31e40 100644
--- a/res/values/colors.xml
+++ b/res/values/colors.xml
@@ -39,4 +39,5 @@
<color name="legacy_icon_background">#FFFFFF</color>
<color name="all_apps_bg_hand_fill">#E5E5E5</color>
+ <color name="all_apps_bg_hand_fill_dark">#9AA0A6</color>
</resources>
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 594c7dbde..b982136da 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -156,4 +156,15 @@
<style name="TextTitle">
<item name="android:fontFamily">sans-serif</item>
</style>
+
+ <style name="AllAppsEmptySearchBackground">
+ <item name="android:colorPrimary">#E0E0E0</item>
+ <item name="android:colorControlHighlight">#BDBDBD</item>
+ <item name="android:colorForeground">@color/all_apps_bg_hand_fill</item>
+ </style>
+ <style name="AllAppsEmptySearchBackground.Dark">
+ <item name="android:colorPrimary">#9AA0A6</item>
+ <item name="android:colorControlHighlight">#DFE1E5</item>
+ <item name="android:colorForeground">@color/all_apps_bg_hand_fill_dark</item>
+ </style>
</resources>