summaryrefslogtreecommitdiffstats
path: root/res/values/styles.xml
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2017-06-23 10:36:27 -0700
committerSunny Goyal <sunnygoyal@google.com>2017-06-23 10:37:25 -0700
commit9314b7c01d932093c730dd39b9b9842d1a56efdb (patch)
tree0180f3d5bd6c901476d85529fe559f69fbceb612 /res/values/styles.xml
parenta9d721df781bf4d195eb52bba1f9a3193f7eaad4 (diff)
downloadandroid_packages_apps_Trebuchet-9314b7c01d932093c730dd39b9b9842d1a56efdb.tar.gz
android_packages_apps_Trebuchet-9314b7c01d932093c730dd39b9b9842d1a56efdb.tar.bz2
android_packages_apps_Trebuchet-9314b7c01d932093c730dd39b9b9842d1a56efdb.zip
Separating double shadow logic for BubbleTextView in a separate subclass
This allows better customization and reuse of the double shadow logic and simplified various attribute management Change-Id: I5e277d8399756385452d8bb8c0a0107234a76d34
Diffstat (limited to 'res/values/styles.xml')
-rw-r--r--res/values/styles.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml
index b982136da..8943a4552 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -119,16 +119,17 @@
<!-- No shadows in the base theme -->
<item name="android:shadowRadius">0</item>
- <item name="customShadows">false</item>
</style>
<!-- Icon displayed on the worksapce -->
<style name="BaseIcon.Workspace">
- <item name="customShadows">true</item>
<item name="android:shadowRadius">2.0</item>
<item name="android:shadowColor">?attr/workspaceShadowColor</item>
- <item name="keyShadowColor">?attr/workspaceKeyShadowColor</item>
<item name="ambientShadowColor">?attr/workspaceAmbientShadowColor</item>
+ <item name="ambientShadowBlur">2.5dp</item>
+ <item name="keyShadowColor">?attr/workspaceKeyShadowColor</item>
+ <item name="keyShadowBlur">1dp</item>
+ <item name="keyShadowOffset">.5dp</item>
</style>
<!-- Theme for the popup container -->