summaryrefslogtreecommitdiffstats
path: root/res/values/dimens.xml
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2017-02-13 10:44:43 -0800
committerSunny Goyal <sunnygoyal@google.com>2017-02-16 13:41:04 -0800
commit7d87cb1a6ef7321857ea4581872bfed6e305cd81 (patch)
tree72d3565a6150c97fb0909c6db555f47fa12db531 /res/values/dimens.xml
parenteb04b8415368ce28bacd100b8bffa85fede734a0 (diff)
downloadandroid_packages_apps_Trebuchet-7d87cb1a6ef7321857ea4581872bfed6e305cd81.zip
android_packages_apps_Trebuchet-7d87cb1a6ef7321857ea4581872bfed6e305cd81.tar.gz
android_packages_apps_Trebuchet-7d87cb1a6ef7321857ea4581872bfed6e305cd81.tar.bz2
Updating the shortcut preview generation logic
Drawing a shortcut icon on a white round-rect with shadow Also center aligning the preview Bug: 34819119 Change-Id: Ic25be6bf301aeb11315a5050f009259b26c6134a
Diffstat (limited to 'res/values/dimens.xml')
-rw-r--r--res/values/dimens.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index 70f5b32..f6bb3ad 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -89,6 +89,7 @@
<dimen name="widget_preview_key_shadow_distance">1dp</dimen>
<dimen name="widget_preview_corner_radius">2dp</dimen>
<dimen name="widget_preview_cell_divider_width">0.5dp</dimen>
+ <dimen name="widget_preview_shortcut_padding">8dp</dimen>
<dimen name="widget_section_height">56dp</dimen>
<dimen name="widget_section_icon_size">40dp</dimen>