From 51889b0be83dc34c9752fc066d0d6e75ab4f5e26 Mon Sep 17 00:00:00 2001 From: Tony Wickham Date: Mon, 27 Feb 2017 16:30:47 -0800 Subject: Merge deep shortcuts in rounded rect - DeepShortcutViews are added to ShortcutsItemView, which is in PopupContainerWithArrow - Moved some shortcut-specific logic to ShortcutsItemView (namely, touch/long-click handling for draggin shortcuts) - Moved round-rect clipping to PopupItemView - Removed collapseToIcon() logic, including PillWidthRevealOutlineProvider, which was only used for that purpose. It isn't necessary now that the deep shortcuts have no background themselves. - Replaced focus pill drawable with ripple effect on shortcuts and notification view. Bug: 35766387 Change-Id: I6bc09f1851cfbb806df4bf75a6e435b0f1900c9c --- res/values/dimens.xml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'res/values/dimens.xml') diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 177e08e2f..8fee26b0b 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -150,10 +150,9 @@ 9dp - 208dp - 48dp - 24dp - 4dp + 208dp + 48dp + 4dp 6dp 16dp @@ -171,6 +170,8 @@ deep_shortcut_padding_end + deep_shortcut_drag_handle_size / 2 - deep_shortcuts_arrow_width / 2 also happens to equal 19dp--> 19dp + + 158dp 24dp @@ -186,9 +187,9 @@ 2dp 60dp - @dimen/bg_pill_height + @dimen/bg_popup_item_height 2dp - 0.5dp + 0.5dp 70dp -- cgit v1.2.3