diff options
author | Jorim Jaggi <jjaggi@google.com> | 2014-05-15 03:09:01 +0200 |
---|---|---|
committer | Jorim Jaggi <jjaggi@google.com> | 2014-05-17 02:01:41 +0200 |
commit | 069cd03740312159faf24a01910ff1daeae93131 (patch) | |
tree | 14b73afba0af149a5a9065cf69308ab1ce298d54 /packages/SystemUI/res/values-sw600dp | |
parent | c5baa188068bac4c71ffdca62f09134a59f87454 (diff) | |
download | frameworks_base-069cd03740312159faf24a01910ff1daeae93131.zip frameworks_base-069cd03740312159faf24a01910ff1daeae93131.tar.gz frameworks_base-069cd03740312159faf24a01910ff1daeae93131.tar.bz2 |
Position clock and notifications dynamically.
The positioning is dependant on how many notifications are currently
showing. This makes sure that the lockscreen always looks balanced
and harmonic.
Bug: 14592994
Change-Id: Ic647b887dd23e6cc5ecd07d70f279ff2f218f4ca
Diffstat (limited to 'packages/SystemUI/res/values-sw600dp')
-rw-r--r-- | packages/SystemUI/res/values-sw600dp/dimens.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/SystemUI/res/values-sw600dp/dimens.xml b/packages/SystemUI/res/values-sw600dp/dimens.xml index 7372181..22815f3 100644 --- a/packages/SystemUI/res/values-sw600dp/dimens.xml +++ b/packages/SystemUI/res/values-sw600dp/dimens.xml @@ -48,4 +48,15 @@ <!-- Width of the zen mode interstitial dialog. --> <dimen name="zen_mode_dialog_width">384dp</dimen> + + <!-- The fraction of the screen height where the clock on the Keyguard has its center. The + max value is used when no notifications are displaying, and the min value is when the + highest possible number of notifications are showing. --> + <fraction name="keyguard_clock_y_fraction_max">34%</fraction> + <fraction name="keyguard_clock_y_fraction_min">25%</fraction> + + <!-- The margin between the clock and the notifications on Keyguard. See + keyguard_clock_height_fraction_* for the difference between min and max.--> + <dimen name="keyguard_clock_notifications_margin_min">32dp</dimen> + <dimen name="keyguard_clock_notifications_margin_max">32dp</dimen> </resources> |