blob: 8e00efeed62c8eaddf07929c815871bc40e2f34a [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) -->
Lucas Dupin32774922019-04-25 12:42:25 -070030 <dimen name="keyguard_security_height">420dp</dimen>
Jim Miller5ecd8112013-01-09 18:50:26 -080031
Lucas Dupin7fc1fc62017-08-21 14:34:23 -070032 <!-- Max Height of the sliding KeyguardSecurityContainer
33 (includes 2x keyguard_security_view_top_margin) -->
Lucas Dupin32774922019-04-25 12:42:25 -070034 <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
Lucas Dupin6bd86012017-12-05 17:58:57 -080044 <!-- Slice header -->
Robert Snoeberger78a79d22019-05-07 16:47:07 -040045 <dimen name="widget_title_font_size">24dp</dimen>
46 <dimen name="header_subtitle_padding">12dp</dimen>
47 <dimen name="header_icon_size">16dp</dimen>
Lucas Dupin3d7ccaf2018-04-02 21:19:23 -070048 <!-- Slice subtitle -->
Robert Snoeberger78a79d22019-05-07 16:47:07 -040049 <dimen name="widget_label_font_size">18dp</dimen>
Lucas Dupin6bd86012017-12-05 17:58:57 -080050 <!-- Clock without header -->
Robert Snoeberger78a79d22019-05-07 16:47:07 -040051 <dimen name="widget_big_font_size">54dp</dimen>
Lucas Dupine570af62019-02-10 14:52:30 -080052 <dimen name="bottom_text_spacing_digital">0dp</dimen>
Robert Snoeberger78a79d22019-05-07 16:47:07 -040053 <dimen name="title_clock_padding">4dp</dimen>
Lucas Dupin6bd86012017-12-05 17:58:57 -080054 <!-- Clock with header -->
Robert Snoeberger78a79d22019-05-07 16:47:07 -040055 <dimen name="widget_small_font_size">@dimen/widget_title_font_size</dimen>
56 <dimen name="widget_vertical_padding">24dp</dimen>
57 <dimen name="widget_vertical_padding_with_header">32dp</dimen>
Robert Snoeberger2feac072019-04-30 17:38:05 -040058 <dimen name="widget_vertical_padding_clock">12dp</dimen>
Lucas Dupin6bd86012017-12-05 17:58:57 -080059 <!-- Subtitle paddings -->
Lucas Dupin6bd86012017-12-05 17:58:57 -080060 <dimen name="widget_horizontal_padding">8dp</dimen>
Robert Snoeberger78a79d22019-05-07 16:47:07 -040061 <dimen name="widget_icon_size">20dp</dimen>
Lucas Dupin2a3c3e32018-01-05 17:02:43 -080062 <dimen name="widget_icon_padding">8dp</dimen>
Robert Snoeberger78a79d22019-05-07 16:47:07 -040063 <dimen name="subtitle_clock_padding">0dp</dimen>
64 <dimen name="header_row_font_size">14dp</dimen>
Lucas Dupinc9d28b72018-10-22 17:59:18 -070065 <!-- Notification shelf padding when dark -->
66 <dimen name="widget_bottom_separator_padding">-6dp</dimen>
Jim Miller5ecd8112013-01-09 18:50:26 -080067
Jorim Jaggi15a77f72014-05-28 16:20:03 +020068 <!-- The y translation to apply at the start in appear animations. -->
Selim Cinek30181972014-05-30 03:33:06 +020069 <dimen name="appear_y_translation_start">32dp</dimen>
Jorim Jaggi93afa1d2014-06-03 20:56:32 +020070
Selim Cinek4e8b9ed2014-06-20 16:37:04 -070071 <!-- The size of the dots in the PIN unlock method. -->
72 <dimen name="password_dot_size">9dp</dimen>
Andrew Sappersteinfec80922017-06-13 18:36:28 -070073 <!-- The size of PIN text in the PIN unlock method. -->
74 <integer name="scaled_password_text_size">40</integer>
Selim Cinek4e8b9ed2014-06-20 16:37:04 -070075
76 <!-- The padding between chars of the password view. -->
77 <dimen name="password_char_padding">8dp</dimen>
78
Jorim Jaggi93afa1d2014-06-03 20:56:32 +020079 <!-- The vertical margin between the date and the owner info. -->
Lucas Dupinb3fe3e62018-05-03 16:05:16 -070080 <dimen name="date_owner_info_margin">4dp</dimen>
Jorim Jaggi76a16232014-08-08 17:00:47 +020081
82 <!-- The translation for disappearing security views after having solved them. -->
83 <dimen name="disappear_y_translation">-32dp</dimen>
Jim Miller5ecd8112013-01-09 18:50:26 -080084</resources>