summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res/values-sw400dp
diff options
context:
space:
mode:
authorJason Monk <jmonk@google.com>2014-09-11 13:36:42 -0400
committerJason Monk <jmonk@google.com>2014-11-07 11:09:19 -0500
commit18f99d91349a4f5ce55e22ed33f1f57eb1b0297b (patch)
tree21e42ee68f245bf833c6a02f3dce6ed3963bcfd0 /packages/SystemUI/res/values-sw400dp
parent5565cb42f2ac07fcdbe3aab2503de07fbeb39504 (diff)
downloadframeworks_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-sw400dp')
-rw-r--r--packages/SystemUI/res/values-sw400dp/dimens.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/SystemUI/res/values-sw400dp/dimens.xml b/packages/SystemUI/res/values-sw400dp/dimens.xml
index 80e82c4..f19335b 100644
--- a/packages/SystemUI/res/values-sw400dp/dimens.xml
+++ b/packages/SystemUI/res/values-sw400dp/dimens.xml
@@ -23,5 +23,13 @@
navigation_extra_key_width -->
<dimen name="navigation_side_padding">50dp</dimen>
+ <!-- Screen pinning request padding on side of icons
+ (makes the width match the nav bar)-->
+ <dimen name="screen_pinning_request_nav_side_padding">7dp</dimen>
+ <!-- Screen pinning request side views to match nav bar
+ navigation_side_padding - 3 / 2 * (screen_pinning_request_button_width
+ - navigation_key_width) -->
+ <dimen name="screen_pinning_request_side_width">44dp</dimen>
+
</resources>