diff options
author | Tony Wickham <twickham@google.com> | 2016-07-15 17:23:07 -0700 |
---|---|---|
committer | Tony Wickham <twickham@google.com> | 2016-07-19 13:58:51 -0700 |
commit | 8f58e61d02fcb0ca90a2803e76a8792ec2c1f99a (patch) | |
tree | 2cba823be7962a2100c62acf086784f69fcae0fc /res/values/dimens.xml | |
parent | 1e3d490e08b06750d467e144e5d74ea420c59613 (diff) | |
download | android_packages_apps_Trebuchet-8f58e61d02fcb0ca90a2803e76a8792ec2c1f99a.tar.gz android_packages_apps_Trebuchet-8f58e61d02fcb0ca90a2803e76a8792ec2c1f99a.tar.bz2 android_packages_apps_Trebuchet-8f58e61d02fcb0ca90a2803e76a8792ec2c1f99a.zip |
Update shortcut animations.
- Open animation: shortcuts reveal using modified circular reveal
(so that it reveals in the pill shape instead of a circle);
slight translation away from the original icon; scale icon and text.
- Hover animation: scale the shortcut pill and translate others away.
Bug: 28980830
Bug: 30127368
Change-Id: I8ed05c7a082f2c2a3f6c663da7259f6cd33e394f
Diffstat (limited to 'res/values/dimens.xml')
-rw-r--r-- | res/values/dimens.xml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 38775f14f..8b02e5aac 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -152,12 +152,16 @@ <!-- Deep shortcuts --> <dimen name="deep_shortcuts_elevation">9dp</dimen> - <dimen name="deep_shortcuts_width">180dp</dimen> + <dimen name="bg_pill_width">180dp</dimen> + <dimen name="bg_pill_height">48dp</dimen> + <dimen name="bg_pill_radius">24dp</dimen> <dimen name="deep_shortcuts_spacing">4dp</dimen> <dimen name="deep_shortcuts_drag_view_scale">6dp</dimen> <!-- an icon with shortcuts must be dragged this much distance away from the nearest edge of the shortcut container before the container is removed. --> <dimen name="deep_shortcuts_start_drag_threshold">35dp</dimen> <dimen name="deep_shortcut_icon_size">36dp</dimen> + <dimen name="deep_shortcuts_arrow_horizontal_offset">19dp</dimen> + <dimen name="deep_shortcut_anim_translation_y">5dp</dimen> </resources> |