blob: 712b6e55bd7cdb6c1b07d84bfbedf18f2aae888d [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
Lucas Dupin6bd86012017-12-05 17:58:57 -080044 <!-- Slice header -->
Lucas Dupin3d7ccaf2018-04-02 21:19:23 -070045 <dimen name="widget_title_font_size">24dp</dimen>
46 <dimen name="widget_title_bottom_margin">7dp</dimen>
47 <dimen name="bottom_text_spacing_digital">0dp</dimen>
48 <!-- Slice subtitle -->
49 <dimen name="widget_label_font_size">16dp</dimen>
Lucas Dupin56057342018-04-10 11:49:18 -070050 <!-- Slice offset when pulsing -->
Lucas Dupin3d7ccaf2018-04-02 21:19:23 -070051 <dimen name="widget_pulsing_bottom_padding">48dp</dimen>
Lucas Dupin6bd86012017-12-05 17:58:57 -080052 <!-- Clock without header -->
53 <dimen name="widget_big_font_size">64dp</dimen>
54 <!-- Clock with header -->
Lucas Dupin70c35b52018-02-09 16:54:36 -080055 <dimen name="widget_small_font_size">24dp</dimen>
Lucas Dupin6bd86012017-12-05 17:58:57 -080056 <!-- Dash between clock and header -->
Lucas Dupin652e1982018-04-03 14:23:52 -070057 <dimen name="widget_separator_width">12dp</dimen>
Lucas Dupind285cf02018-01-18 09:18:23 -080058 <dimen name="widget_separator_thickness">1dp</dimen>
59 <dimen name="widget_vertical_padding">26dp</dimen>
60 <dimen name="widget_icon_bottom_padding">14dp</dimen>
Lucas Dupin6bd86012017-12-05 17:58:57 -080061 <!-- Subtitle paddings -->
Lucas Dupin6bd86012017-12-05 17:58:57 -080062 <dimen name="widget_horizontal_padding">8dp</dimen>
63 <dimen name="widget_icon_size">16dp</dimen>
Lucas Dupin2a3c3e32018-01-05 17:02:43 -080064 <dimen name="widget_icon_padding">8dp</dimen>
Lucas Dupin41ff6952018-02-18 19:39:32 -080065 <!-- Space between notification shelf and dash above it -->
66 <dimen name="widget_bottom_separator_padding">28dp</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 Dupin37d41182018-01-26 18:09:30 -080080 <dimen name="date_owner_info_margin">2dp</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>