diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2017-06-23 10:36:27 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2017-06-23 10:37:25 -0700 |
commit | 9314b7c01d932093c730dd39b9b9842d1a56efdb (patch) | |
tree | 0180f3d5bd6c901476d85529fe559f69fbceb612 /res/values/attrs.xml | |
parent | a9d721df781bf4d195eb52bba1f9a3193f7eaad4 (diff) | |
download | android_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/attrs.xml')
-rw-r--r-- | res/values/attrs.xml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/res/values/attrs.xml b/res/values/attrs.xml index 27992ceb6..05e66ad91 100644 --- a/res/values/attrs.xml +++ b/res/values/attrs.xml @@ -43,10 +43,15 @@ <enum name="shortcut_popup" value="4" /> </attr> <attr name="deferShadowGeneration" format="boolean" /> - <attr name="customShadows" format="boolean" /> <attr name="centerVertically" format="boolean" /> + </declare-styleable> + + <declare-styleable name="ShadowInfo"> <attr name="ambientShadowColor" format="color" /> + <attr name="ambientShadowBlur" format="dimension" /> <attr name="keyShadowColor" format="color" /> + <attr name="keyShadowBlur" format="dimension" /> + <attr name="keyShadowOffset" format="dimension" /> </declare-styleable> <!-- PagedView specific attributes. These attributes are used to customize |