summaryrefslogtreecommitdiffstats
path: root/res/values-v26
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2017-02-10 16:52:16 -0800
committerSunny Goyal <sunnygoyal@google.com>2017-02-16 15:24:37 -0800
commit1f3f07d47c29cba3b70bcd15ebb65a077f55a558 (patch)
treed34ba158bcab7f2974d7d7121d14ae914171f0e1 /res/values-v26
parent9e76f682f3e52afa1f11172564b883c7dfda5063 (diff)
downloadandroid_packages_apps_Trebuchet-1f3f07d47c29cba3b70bcd15ebb65a077f55a558.tar.gz
android_packages_apps_Trebuchet-1f3f07d47c29cba3b70bcd15ebb65a077f55a558.tar.bz2
android_packages_apps_Trebuchet-1f3f07d47c29cba3b70bcd15ebb65a077f55a558.zip
Simplifying some launcher themes
> Replacing some colors with theme attributes > Simplifying styles definition by removing unnecessary inheritance and inlining some definitions Change-Id: Ifa167515cae6a7fd3720f1a52ff9ce11abb4495f
Diffstat (limited to 'res/values-v26')
-rw-r--r--res/values-v26/styles.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/res/values-v26/styles.xml b/res/values-v26/styles.xml
index 6877623d6..cb184094d 100644
--- a/res/values-v26/styles.xml
+++ b/res/values-v26/styles.xml
@@ -21,4 +21,11 @@
<style name="WidgetContainerTheme" parent="@android:style/Theme.DeviceDefault.Settings">
<item name="android:colorEdgeEffect">?android:attr/textColorSecondary</item>
</style>
+
+ <!-- From O and above, we show a dark nav bar in all-apps -->
+ <style name="AllAppsNavBarProtection">
+ <item name="android:alpha">0.6</item>
+ <item name="android:background">?android:attr/colorPrimary</item>
+ </style>
+
</resources>