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-sw720dp-land | |
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-sw720dp-land')
-rw-r--r-- | packages/SystemUI/res/values-sw720dp-land/dimens.xml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/packages/SystemUI/res/values-sw720dp-land/dimens.xml b/packages/SystemUI/res/values-sw720dp-land/dimens.xml new file mode 100644 index 0000000..2532dd6 --- /dev/null +++ b/packages/SystemUI/res/values-sw720dp-land/dimens.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (C) 2014 The Android Open Source Project + ~ + ~ Licensed under the Apache License, Version 2.0 (the "License"); + ~ you may not use this file except in compliance with the License. + ~ You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BASIS, + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ~ See the License for the specific language governing permissions and + ~ limitations under the License + --> +<resources> + <!-- The fraction of the screen height where the clock on the Keyguard has its center. The + min value is used when no notifications are displaying, and the max value is when the + highest possible number of notifications are showing. --> + <fraction name="keyguard_clock_y_fraction_max">35%</fraction> + <fraction name="keyguard_clock_y_fraction_min">20%</fraction> +</resources> |