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
24 lines
1.1 KiB
XML
24 lines
1.1 KiB
XML
<?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>
|