blob: 04cf6b0e29ea18831520dd07d42a094b482bf587 [file] [log] [blame]
Jim Miller5ecd8112013-01-09 18:50:26 -08001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/* //device/apps/common/assets/res/any/dimens.xml
4**
5** Copyright 2006, The Android Open Source Project
6**
7** Licensed under the Apache License, Version 2.0 (the "License");
8** you may not use this file except in compliance with the License.
9** You may obtain a copy of the License at
10**
11** http://www.apache.org/licenses/LICENSE-2.0
12**
13** Unless required by applicable law or agreed to in writing, software
14** distributed under the License is distributed on an "AS IS" BASIS,
15** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16** See the License for the specific language governing permissions and
17** limitations under the License.
18*/
19-->
20<resources>
Jim Miller5ecd8112013-01-09 18:50:26 -080021
Jim Miller5ecd8112013-01-09 18:50:26 -080022 <!-- Size of the generic status lines keyguard's status view -->
Jorim Jaggie0700182014-08-21 01:12:37 +020023 <dimen name="kg_status_line_font_size">14sp</dimen>
Jim Miller5ecd8112013-01-09 18:50:26 -080024
Lucas Dupin7fc1fc62017-08-21 14:34:23 -070025 <!-- Maximum width of the sliding KeyguardSecurityContainer -->
26 <dimen name="keyguard_security_width">420dp</dimen>
Jim Miller5ecd8112013-01-09 18:50:26 -080027
Lucas Dupin7fc1fc62017-08-21 14:34:23 -070028 <!-- Height of the sliding KeyguardSecurityContainer
29 (includes 2x keyguard_security_view_top_margin) -->
Jim Miller5ecd8112013-01-09 18:50:26 -080030 <dimen name="keyguard_security_height">400dp</dimen>
31
Lucas Dupin7fc1fc62017-08-21 14:34:23 -070032 <!-- Max Height of the sliding KeyguardSecurityContainer
33 (includes 2x keyguard_security_view_top_margin) -->
Jorim Jaggie0700182014-08-21 01:12:37 +020034 <dimen name="keyguard_security_max_height">450dp</dimen>
Selim Cinek4e8b9ed2014-06-20 16:37:04 -070035
Jim Miller5ecd8112013-01-09 18:50:26 -080036 <!-- Margin around the various security views -->
Lucas Dupin7fc1fc62017-08-21 14:34:23 -070037 <dimen name="keyguard_security_view_top_margin">8dp</dimen>
38 <dimen name="keyguard_security_view_lateral_margin">36dp</dimen>
Jim Miller5ecd8112013-01-09 18:50:26 -080039
Jim Millerca71f482013-10-22 15:25:44 -070040 <!-- EmergencyCarrierArea overlap - amount to overlap the emergency button and carrier text.
41 Should be 0 on devices with plenty of room (e.g. tablets) -->
42 <dimen name="eca_overlap">-10dip</dimen>
43
Jim Millerb0da1e72013-10-01 16:55:19 -070044 <!-- Default clock parameters -->
Lucas Dupin6bd86012017-12-05 17:58:57 -080045 <dimen name="bottom_text_spacing_digital">-10dp</dimen>
46 <!-- Slice header -->
47 <dimen name="widget_title_font_size">28sp</dimen>
48 <!-- Slice subtitle -->
49 <dimen name="widget_label_font_size">16sp</dimen>
50 <!-- Clock without header -->
51 <dimen name="widget_big_font_size">64dp</dimen>
52 <!-- Clock with header -->
53 <dimen name="widget_small_font_size">22dp</dimen>
54 <!-- Dash between clock and header -->
55 <dimen name="widget_vertical_padding">16dp</dimen>
56 <!-- Subtitle paddings -->
57 <dimen name="widget_separator_thickness">2dp</dimen>
58 <dimen name="widget_horizontal_padding">8dp</dimen>
59 <dimen name="widget_icon_size">16dp</dimen>
Lucas Dupin2a3c3e32018-01-05 17:02:43 -080060 <dimen name="widget_icon_padding">8dp</dimen>
Jim Miller5ecd8112013-01-09 18:50:26 -080061
Jorim Jaggi15a77f72014-05-28 16:20:03 +020062 <!-- The y translation to apply at the start in appear animations. -->
Selim Cinek30181972014-05-30 03:33:06 +020063 <dimen name="appear_y_translation_start">32dp</dimen>
Jorim Jaggi93afa1d2014-06-03 20:56:32 +020064
Selim Cinek4e8b9ed2014-06-20 16:37:04 -070065 <!-- The size of the dots in the PIN unlock method. -->
66 <dimen name="password_dot_size">9dp</dimen>
Andrew Sappersteinfec80922017-06-13 18:36:28 -070067 <!-- The size of PIN text in the PIN unlock method. -->
68 <integer name="scaled_password_text_size">40</integer>
Selim Cinek4e8b9ed2014-06-20 16:37:04 -070069
70 <!-- The padding between chars of the password view. -->
71 <dimen name="password_char_padding">8dp</dimen>
72
Jorim Jaggi93afa1d2014-06-03 20:56:32 +020073 <!-- The vertical margin between the date and the owner info. -->
Jorim Jaggiae52c562014-11-06 18:17:26 +010074 <dimen name="date_owner_info_margin">6dp</dimen>
Jorim Jaggi76a16232014-08-08 17:00:47 +020075
76 <!-- The translation for disappearing security views after having solved them. -->
77 <dimen name="disappear_y_translation">-32dp</dimen>
Jim Miller5ecd8112013-01-09 18:50:26 -080078</resources>