summaryrefslogtreecommitdiffstats
path: root/res/values/colors.xml
diff options
context:
space:
mode:
authorTony Wickham <twickham@google.com>2017-01-27 08:45:49 -0800
committerTony Wickham <twickham@google.com>2017-01-27 12:43:31 -0800
commitf79877c04c071b7ae1618395f0a1dce134fec36e (patch)
tree2bf2e66b101825b4d9e98f2077dc8cfcf1cf48f6 /res/values/colors.xml
parent5cfd1158ec1e4a19689217e9fbddd0fd795b2611 (diff)
downloadandroid_packages_apps_Trebuchet-f79877c04c071b7ae1618395f0a1dce134fec36e.tar.gz
android_packages_apps_Trebuchet-f79877c04c071b7ae1618395f0a1dce134fec36e.tar.bz2
android_packages_apps_Trebuchet-f79877c04c071b7ae1618395f0a1dce134fec36e.zip
Ensure notification icons have enough contrast with background.
This uses the same color calculations as the system, except that we use the extracted notification background instead of assuming it is white. Bug: 32410600 Change-Id: I7be8b9459ca38d01a6780758898541e69ec42576
Diffstat (limited to 'res/values/colors.xml')
-rw-r--r--res/values/colors.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/res/values/colors.xml b/res/values/colors.xml
index 809fc6d30..a7b507c26 100644
--- a/res/values/colors.xml
+++ b/res/values/colors.xml
@@ -50,4 +50,6 @@
<!-- Used as a fallback since colorSecondary doesn't exist pre-API 25 -->
<color name="fallback_secondary_color">#FF37474F</color>
+
+ <color name="notification_icon_default_color">#757575</color> <!-- Gray 600 -->
</resources>