diff options
author | John Spurlock <jspurlock@google.com> | 2014-11-29 13:22:21 -0500 |
---|---|---|
committer | John Spurlock <jspurlock@google.com> | 2014-11-30 10:41:33 -0500 |
commit | 3e0770163686c1be83959d681976dafaf25272e1 (patch) | |
tree | 7b8d80677ed8eb507e577b93237c4e579759ba98 /packages/SystemUI/res/values/dimens.xml | |
parent | c1de25d8ebaecff697c1d5dfaa445e18ee07fa2d (diff) | |
download | frameworks_base-3e0770163686c1be83959d681976dafaf25272e1.zip frameworks_base-3e0770163686c1be83959d681976dafaf25272e1.tar.gz frameworks_base-3e0770163686c1be83959d681976dafaf25272e1.tar.bz2 |
Zen: Improve zen mode panel condition selection.
- Decouple condition requests from expansion, now
pre-request when zen panel unhidden.
- Animate zen mode panel expansion.
- Improve default selection logic, ensure something
is selected as soon as we are in the expanded state.
- Tweak visual spacing.
- Map null condition to Indef properly when we start
out in zen.
- Avoid unnecessary condition teardown when the conditions
are updated but unchanged from current.
- Cap number of optional conditions to display, default=3.
Bug: 18335618
Change-Id: I007b7c3b2e75e2b42805af240684aa8581e9951a
Diffstat (limited to 'packages/SystemUI/res/values/dimens.xml')
-rw-r--r-- | packages/SystemUI/res/values/dimens.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/SystemUI/res/values/dimens.xml b/packages/SystemUI/res/values/dimens.xml index 1143553..68a7622 100644 --- a/packages/SystemUI/res/values/dimens.xml +++ b/packages/SystemUI/res/values/dimens.xml @@ -197,8 +197,18 @@ <!-- How far the expanded QS panel peeks from the header in collapsed state. --> <dimen name="qs_peek_height">8dp</dimen> + <!-- Zen mode panel: condition item button padding --> <dimen name="zen_mode_condition_detail_button_padding">8dp</dimen> + <!-- Zen mode panel: spacing between condition items --> + <dimen name="zen_mode_condition_detail_item_spacing">12dp</dimen> + + <!-- Zen mode panel: spacing between two-line condition upper and lower lines --> + <dimen name="zen_mode_condition_detail_item_interline_spacing">4dp</dimen> + + <!-- Zen mode panel: bottom padding, a bit less than qs_panel_padding --> + <dimen name="zen_mode_condition_detail_bottom_padding">4dp</dimen> + <!-- used by DessertCase --> <dimen name="dessert_case_cell_size">192dp</dimen> |