diff options
author | Jason Monk <jmonk@google.com> | 2014-09-11 13:36:42 -0400 |
---|---|---|
committer | Jason Monk <jmonk@google.com> | 2014-11-07 11:09:19 -0500 |
commit | 18f99d91349a4f5ce55e22ed33f1f57eb1b0297b (patch) | |
tree | 21e42ee68f245bf833c6a02f3dce6ed3963bcfd0 /packages/SystemUI/res/values-sw600dp-land | |
parent | 5565cb42f2ac07fcdbe3aab2503de07fbeb39504 (diff) | |
download | frameworks_base-18f99d91349a4f5ce55e22ed33f1f57eb1b0297b.zip frameworks_base-18f99d91349a4f5ce55e22ed33f1f57eb1b0297b.tar.gz frameworks_base-18f99d91349a4f5ce55e22ed33f1f57eb1b0297b.tar.bz2 |
Material design for screen pinning cling
Switching from a dialog to a cling-like view to be more material.
Also moving it into SysUI as it highlights the buttons in nav bar.
This will be triggered directly from recents, but from apps it
will be triggered by the PhoneStatusBar. In the case that apps
trigger the request, there will be a 'no thanks' button so that
users can refuse.
Bug: 16957435
Change-Id: Ie880f82c66f4b2be98283ed3fa789703c4bd7ed5
Diffstat (limited to 'packages/SystemUI/res/values-sw600dp-land')
-rw-r--r-- | packages/SystemUI/res/values-sw600dp-land/dimens.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/SystemUI/res/values-sw600dp-land/dimens.xml b/packages/SystemUI/res/values-sw600dp-land/dimens.xml index 2c22cef..3a62ad9 100644 --- a/packages/SystemUI/res/values-sw600dp-land/dimens.xml +++ b/packages/SystemUI/res/values-sw600dp-land/dimens.xml @@ -29,4 +29,15 @@ <dimen name="keyguard_clock_notifications_margin_max">36dp</dimen> <dimen name="keyguard_indication_margin_bottom">80dp</dimen> + + <!-- Screen pinning request width (just a little bit bigger than the three buttons here --> + <dimen name="screen_pinning_request_width">490dp</dimen> + <!-- Screen pinning request bottom button circle widths --> + <dimen name="screen_pinning_request_button_width">162dp</dimen> + <!-- Screen pinning request, controls padding on bigger screens, bigger nav bar --> + <dimen name="screen_pinning_request_frame_padding">39dp</dimen> + <!-- Screen pinning request side views to match nav bar + In sw600dp we want the buttons centered so this fills the space, + (screen_pinning_request_width - 3 * screen_pinning_request_button_width) / 2 --> + <dimen name="screen_pinning_request_side_width">2dp</dimen> </resources> |