blob: c00b562e0936cb8b593fe9e85234be904cdae1eb [file] [log] [blame]
Joe Onorato503007d2010-04-16 09:20:55 -07001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Copyright (c) 2006, The Android Open Source Project
4 *
Jim Miller5fda69c2011-02-16 15:17:11 -08005 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
Joe Onorato503007d2010-04-16 09:20:55 -07008 *
Jim Miller5fda69c2011-02-16 15:17:11 -08009 * http://www.apache.org/licenses/LICENSE-2.0
Joe Onorato503007d2010-04-16 09:20:55 -070010 *
Jim Miller5fda69c2011-02-16 15:17:11 -080011 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
Joe Onorato503007d2010-04-16 09:20:55 -070015 * limitations under the License.
16*/
17-->
18<resources>
Dianne Hackborn7d049322011-06-14 15:00:32 -070019 <!-- Amount to offset bottom of notification peek window from top of status bar. -->
20 <dimen name="peek_window_y_offset">-12dp</dimen>
Jim Miller5fda69c2011-02-16 15:17:11 -080021
Daniel Sandler8956dbb2011-04-22 07:55:02 -040022 <!-- thickness (height) of the navigation bar on phones that require it -->
Daniel Sandler36412a72011-08-04 09:35:13 -040023 <dimen name="navigation_bar_size">@*android:dimen/navigation_bar_height</dimen>
Winson Chung559e6d32014-11-05 13:41:12 -080024 <!-- Minimum swipe distance to catch the swipe gestures to invoke assist or switch tasks. -->
25 <dimen name="navigation_bar_min_swipe_distance">48dp</dimen>
Daniel Sandler41006aa2011-06-29 15:10:49 -040026
27 <!-- thickness (height) of the dead zone at the top of the navigation bar,
28 reducing false presses on navbar buttons; approx 2mm -->
29 <dimen name="navigation_bar_deadzone_size">12dp</dimen>
Daniel Sandlerc26185b2012-08-29 15:49:53 -040030 <!-- size of the dead zone when touches have recently occurred elsewhere on screen -->
31 <dimen name="navigation_bar_deadzone_size_max">32dp</dimen>
Daniel Sandlerd42497e2011-06-04 00:32:50 -040032
Daniel Sandler26c84b12011-07-27 00:09:40 -040033 <!-- Height of notification icons in the status bar -->
34 <dimen name="status_bar_icon_size">@*android:dimen/status_bar_icon_size</dimen>
35
Anthony Chen55e8e1e2016-01-08 10:31:46 -080036 <!-- Height of the battery icon in the status bar. -->
37 <dimen name="status_bar_battery_icon_height">14.5dp</dimen>
38
39 <!-- Width of the battery icon in the status bar. -->
40 <dimen name="status_bar_battery_icon_width">9.5dp</dimen>
41
42 <!-- The font size for the clock in the status bar. -->
Jorim Jaggi5172dc22014-09-02 14:59:06 +020043 <dimen name="status_bar_clock_size">14sp</dimen>
44
Anthony Chen55e8e1e2016-01-08 10:31:46 -080045 <!-- The starting padding for the clock in the status bar. -->
46 <dimen name="status_bar_clock_starting_padding">7dp</dimen>
47
48 <!-- The end padding for the clock in the status bar. -->
49 <dimen name="status_bar_clock_end_padding">0dp</dimen>
50
51 <!-- Spacing after the wifi signals that is present if there are any icons following it. -->
52 <dimen name="status_bar_wifi_signal_spacer_width">4dp</dimen>
53
54 <!-- Spacing before the airplane mode icon if there are any icons preceding it. -->
55 <dimen name="status_bar_airplane_spacer_width">4dp</dimen>
56
57 <!-- The amount to scale each of the status bar icons by. A value of 1 means no scaling. -->
58 <item name="status_bar_icon_scale_factor" format="float" type="dimen">1.0</item>
59
Adrian Roos6f6e1592017-05-02 16:22:53 -070060 <dimen name="group_overflow_number_size">@*android:dimen/notification_text_size</dimen>
61 <dimen name="group_overflow_number_size_dark">16sp</dimen>
62 <dimen name="group_overflow_number_padding">@*android:dimen/notification_content_margin_end</dimen>
63 <dimen name="group_overflow_number_extra_padding_dark">@*android:dimen/notification_extra_margin_ambient</dimen>
64
Selim Cineka981d082016-08-03 14:45:31 -070065 <!-- max height of a notification such that the content can still fade out when closing -->
66 <dimen name="max_notification_fadeout_height">100dp</dimen>
67
Anthony Chen1c59e9f2016-04-11 11:05:48 -070068 <!-- End margin for the RSSI status icon of a device connected via bluetooth. -->
69 <dimen name="status_bar_connected_device_signal_margin_end">16dp</dimen>
70
71 <!-- The size of a bluetooth indicator icon that displays next to the RSSI status icon. -->
72 <dimen name="status_bar_connected_device_bt_indicator_size">17dp</dimen>
73
Selim Cinek816c8e42015-11-19 12:00:45 -080074 <!-- Height of a small notification in the status bar-->
Selim Cinekc0fac722016-03-07 19:57:06 -080075 <dimen name="notification_min_height">92dp</dimen>
Daniel Sandler6a858c32012-03-12 14:38:58 -040076
Selim Cinek87ed69b2017-02-09 15:59:43 -080077 <!-- Increased height of a small notification in the status bar -->
78 <dimen name="notification_min_height_increased">132dp</dimen>
Selim Cinek7d1009b2017-01-25 15:28:28 -080079
Selim Cinek816c8e42015-11-19 12:00:45 -080080 <!-- Height of a small notification in the status bar which was used before android N -->
81 <dimen name="notification_min_height_legacy">64dp</dimen>
82
Chris Wrenca7b7d02012-05-10 15:01:37 -040083 <!-- Height of a large notification in the status bar -->
Selim Cinekc0fac722016-03-07 19:57:06 -080084 <dimen name="notification_max_height">284dp</dimen>
Daniel Sandler6a858c32012-03-12 14:38:58 -040085
Adrian Roos0aac04f2016-12-08 15:59:29 -080086 <!-- Height of an ambient notification on ambient display -->
87 <dimen name="notification_ambient_height">400dp</dimen>
88
Selim Cinek77019c72015-12-09 10:18:02 -080089 <!-- Height of a heads up notification in the status bar for legacy custom views -->
90 <dimen name="notification_max_heads_up_height_legacy">128dp</dimen>
91
92 <!-- Height of a heads up notification in the status bar -->
Selim Cinekc0fac722016-03-07 19:57:06 -080093 <dimen name="notification_max_heads_up_height">148dp</dimen>
Chris Wren8fd39ec2014-02-27 17:43:26 -050094
Selim Cinek87ed69b2017-02-09 15:59:43 -080095 <!-- Height of a heads up notification in the status bar -->
96 <dimen name="notification_max_heads_up_height_increased">188dp</dimen>
97
Selim Cinek727903c2016-12-06 17:28:10 -080098 <!-- a threshold in dp per second that is considered fast scrolling -->
99 <dimen name="scroll_fast_threshold">1500dp</dimen>
100
Selim Cinek281c2022016-10-13 19:14:43 -0700101 <!-- Height of a the shelf with the notification icons -->
102 <dimen name="notification_shelf_height">32dp</dimen>
103
Selim Cinek0e8d77e2016-11-29 10:35:42 -0800104 <!-- the padding of the shelf icon container -->
105 <dimen name="shelf_icon_container_padding">13dp</dimen>
106
Selim Cinek281c2022016-10-13 19:14:43 -0700107 <!-- The padding of a notification icon on top to the start of the notification. Used for custom
108 views where the distance can't be measured -->
109 <dimen name="notification_icon_appear_padding">15dp</dimen>
Jorim Jaggi069cd032014-05-15 03:09:01 +0200110
Selim Cinek0242fbb2016-10-19 13:38:32 -0700111 <!-- The amount the content shifts upwards when transforming into the icon -->
Selim Cinek875a3a12016-11-18 17:52:16 -0800112 <dimen name="notification_icon_transform_content_shift">32dp</dimen>
Chris Wren66757212012-05-14 10:05:42 -0400113
Selim Cinek378053a2016-12-07 15:41:28 -0800114 <!-- The padding on the bottom of the notifications on the keyguard -->
115 <dimen name="keyguard_indication_bottom_padding">12sp</dimen>
116
Selim Cinek860b6da2015-12-16 19:02:19 -0800117 <!-- Minimum layouted height of a notification in the statusbar-->
118 <dimen name="min_notification_layout_height">48dp</dimen>
119
Mady Mellor761cde12017-01-10 11:36:39 -0800120 <!-- Size of the space to place a notification menu item -->
121 <dimen name="notification_menu_icon_size">64dp</dimen>
Mady Mellorf0625802016-02-11 18:03:48 -0800122
Mady Mellor761cde12017-01-10 11:36:39 -0800123 <!-- The space around a notification menu item -->
124 <dimen name="notification_menu_icon_padding">20dp</dimen>
Mady Mellor4b80b102016-01-22 08:03:58 -0800125
Mady Mellor04d7a0f2017-01-25 13:16:03 -0800126 <!-- The minimum height for the snackbar shown after the snooze option has been chosen. -->
Mady Mellore09fb702017-03-30 13:23:29 -0700127 <dimen name="snooze_snackbar_min_height">56dp</dimen>
Mady Mellor04d7a0f2017-01-25 13:16:03 -0800128
129 <!-- The text size of options in the snooze menu. -->
130 <dimen name="snooze_option_text_size">14sp</dimen>
131
132 <!-- The padding around options int the snooze menu. -->
133 <dimen name="snooze_option_padding">8dp</dimen>
134
Daniel Sandler26c84b12011-07-27 00:09:40 -0400135 <!-- size at which Notification icons will be drawn in the status bar -->
Selim Cinek281c2022016-10-13 19:14:43 -0700136 <dimen name="status_bar_icon_drawing_size">17dp</dimen>
Daniel Sandler26c84b12011-07-27 00:09:40 -0400137
Adrian Roos138f0342017-04-28 09:11:28 -0700138 <!-- size at which Notification icons will be drawn on Ambient Display -->
139 <dimen name="status_bar_icon_drawing_size_dark">@*android:dimen/notification_header_icon_size_ambient</dimen>
140
Daniel Sandler26c84b12011-07-27 00:09:40 -0400141 <!-- opacity at which Notification icons will be drawn in the status bar -->
Jorim Jaggi5172dc22014-09-02 14:59:06 +0200142 <item type="dimen" name="status_bar_icon_drawing_alpha">90%</item>
Daniel Sandler7c3e39d2011-07-29 16:30:49 -0400143
144 <!-- gap on either side of status bar notification icons -->
145 <dimen name="status_bar_icon_padding">0dp</dimen>
Peter Ng6ccd7a52011-08-22 16:58:43 -0700146
Selim Cinek48ff9b42016-11-09 19:31:51 -0800147 <!-- the padding on the start of the statusbar -->
148 <dimen name="status_bar_padding_start">6dp</dimen>
149
Selim Cinek49014f82016-11-04 14:55:30 -0700150 <!-- the radius of the overflow dot in the status bar -->
151 <dimen name="overflow_dot_radius">1dp</dimen>
152
153 <!-- the padding between dots in the icon overflow -->
154 <dimen name="overflow_icon_dot_padding">3dp</dimen>
155
Winson Chunga63bb842011-10-17 10:26:28 -0700156 <!-- The padding on the global screenshot background image -->
Winson Chung22ca0952011-10-20 19:44:32 -0700157 <dimen name="global_screenshot_bg_padding">20dp</dimen>
Winson Chunga63bb842011-10-17 10:26:28 -0700158
Jorim Jaggica8c6262014-10-27 16:53:18 +0100159 <!-- The width of the view containing navigation buttons -->
160 <dimen name="navigation_key_width">70dp</dimen>
Andrew Flynn1d9af302012-03-07 15:48:51 -0800161
Jason Monka2081822016-01-18 14:41:03 -0500162 <dimen name="navigation_key_padding">0dp</dimen>
163
Jason Monkf1ff2092014-04-29 16:50:53 -0400164 <!-- The width of the view containing the menu/ime navigation bar icons -->
Jorim Jaggica8c6262014-10-27 16:53:18 +0100165 <dimen name="navigation_extra_key_width">36dp</dimen>
166
167 <!-- The padding on the side of the navigation bar. Must be greater than or equal to
168 navigation_extra_key_width -->
169 <dimen name="navigation_side_padding">36dp</dimen>
Jim Millere898ac52012-04-06 17:10:57 -0700170
Michael Jurka53f109bf2012-06-13 17:38:14 -0700171 <!-- Default distance beyond which snaps to the matching target -->
172 <dimen name="navbar_search_snap_margin">40dip</dimen>
Jim Millere898ac52012-04-06 17:10:57 -0700173
174 <!-- Diameter of outer shape drawable shown in navbar search-->
Jim Miller20830422012-05-15 20:46:03 -0700175 <dimen name="navbar_search_outerring_diameter">340dp</dimen>
Jim Miller354619c2012-04-27 17:33:44 -0700176
Jim Miller955a0162012-06-11 21:06:13 -0700177 <!-- Diameter of outer shape drawable shown in navbar search. Should be 1/2 of above value -->
178 <dimen name="navbar_search_outerring_radius">170dp</dimen>
179
Jim Miller354619c2012-04-27 17:33:44 -0700180 <!-- Height of search panel including navigation bar height -->
181 <dimen name="navbar_search_panel_height">230dip</dimen>
Jim Millere898ac52012-04-06 17:10:57 -0700182
Daniel Sandler1fac1fd2012-04-30 12:07:30 -0400183 <!-- Height of the draggable handle at the bottom of the phone notification panel -->
Daniel Sandler13522a22012-09-27 14:46:58 -0400184 <dimen name="close_handle_height">36dp</dimen>
Daniel Sandlerfc753d22012-05-08 13:56:44 -0400185
Daniel Sandler13522a22012-09-27 14:46:58 -0400186 <!-- Amount of close_handle that will NOT overlap the notification list -->
187 <dimen name="close_handle_underlap">32dp</dimen>
Daniel Sandlerfc753d22012-05-08 13:56:44 -0400188
Jorim Jaggid7daab72014-05-06 22:22:20 +0200189 <!-- Height of the status bar header bar -->
Jason Monke5b770e2017-03-03 21:49:29 -0500190 <dimen name="status_bar_header_height">124dp</dimen>
Daniel Sandlerfc753d22012-05-08 13:56:44 -0400191
Jorim Jaggid7daab72014-05-06 22:22:20 +0200192 <!-- Height of the status bar header bar when expanded -->
Jason Monke5b770e2017-03-03 21:49:29 -0500193 <dimen name="status_bar_header_height_expanded">124dp</dimen>
Daniel Sandler21b274e2012-05-02 15:07:51 -0400194
Jorim Jaggi9054d942014-05-09 22:47:28 +0200195 <!-- Height of the status bar header bar when on Keyguard -->
196 <dimen name="status_bar_header_height_keyguard">40dp</dimen>
197
Selim Cinek6ebba592016-05-31 15:28:28 -0700198 <!-- Margin start of the system icons super container -->
199 <dimen name="system_icons_super_container_margin_start">16dp</dimen>
200
Daniel Nishif79cd872016-06-27 11:44:01 -0700201 <!-- Margin end of the system icons super container when the avatar is missing. -->
202 <dimen name="system_icons_super_container_avatarless_margin_end">6dp</dimen>
203
John Spurlock7e6809a2014-08-06 16:03:14 -0400204 <!-- Width for the notification panel and related windows -->
205 <dimen name="match_parent">-1px</dimen>
Selim Cinek924c612b2016-01-15 18:24:05 -0800206 <dimen name="standard_notification_panel_width">416dp</dimen>
John Spurlock7e6809a2014-08-06 16:03:14 -0400207 <dimen name="notification_panel_width">@dimen/match_parent</dimen>
208
Anthony Chen2f60d112016-01-26 15:34:12 -0800209 <dimen name="volume_dialog_panel_width">@dimen/standard_notification_panel_width</dimen>
210
John Spurlock50728832014-04-17 19:05:28 -0400211 <!-- Gravity for the notification panel -->
Selim Cinek9e87cba2017-02-17 13:01:01 -0800212 <integer name="notification_panel_layout_gravity">0x31</integer><!-- center_horizontal|top -->
Chris Wrenb8ea2f52012-08-24 11:50:55 -0400213
Daniel Sandler3d32a242012-06-05 13:44:14 -0400214 <!-- Height of the carrier/wifi name label -->
215 <dimen name="carrier_label_height">24dp</dimen>
Chris Wrenb4e2c48b2012-06-15 16:51:54 -0400216
Daniel Sandler4377d1492012-09-11 15:18:47 -0400217 <!-- The distance you can pull a notification before it pops open -->
Jorim Jaggi7f2d87c2014-04-29 22:47:53 +0200218 <dimen name="one_finger_pop_limit">0dp</dimen>
Winson Chungd63c59782012-09-05 17:34:41 -0700219
Daniel Sandlere680f542012-09-28 12:22:27 -0400220 <!-- Minimum fraction of the screen that should be taken up by the notification panel.
221 Not used at this screen size. -->
222 <item type="dimen" name="notification_panel_min_height_frac">0%</item>
Daniel Sandler4377d1492012-09-11 15:18:47 -0400223
Jorim Jaggi7f2d87c2014-04-29 22:47:53 +0200224 <dimen name="blinds_pop_threshold">0dp</dimen>
Daniel Sandler4377d1492012-09-11 15:18:47 -0400225
226 <!-- The size of the gesture span needed to activate the "pull" notification expansion -->
227 <dimen name="pull_span_min">25dp</dimen>
Daniel Sandler3679bf52012-10-16 21:30:28 -0400228
Jason Monk209e03e2017-04-11 13:57:45 -0400229 <dimen name="qs_tile_height">106dp</dimen>
230 <dimen name="qs_tile_margin">19dp</dimen>
Jason Monk6573ef22016-04-06 12:37:18 -0400231 <dimen name="qs_tile_margin_top">16dp</dimen>
Jason Monkc133d262015-10-27 12:32:45 -0400232 <dimen name="qs_quick_tile_size">48dp</dimen>
233 <dimen name="qs_quick_tile_padding">12dp</dimen>
Jason Monk98196b02016-03-14 10:33:02 -0400234 <dimen name="qs_header_gear_translation">16dp</dimen>
Jason Monk61133972016-03-17 13:10:09 -0400235 <dimen name="qs_page_indicator_width">16dp</dimen>
236 <dimen name="qs_page_indicator_height">8dp</dimen>
John Spurlockc97010c2015-06-15 15:45:38 -0400237 <dimen name="qs_tile_icon_size">24dp</dimen>
John Spurlock4bf31982014-05-21 13:04:22 -0400238 <dimen name="qs_tile_text_size">12sp</dimen>
239 <dimen name="qs_tile_divider_height">1dp</dimen>
240 <dimen name="qs_panel_padding">16dp</dimen>
John Spurlock39076ed2014-06-30 20:47:20 -0400241 <dimen name="qs_dual_tile_height">112dp</dimen>
242 <dimen name="qs_dual_tile_padding_vertical">8dp</dimen>
243 <dimen name="qs_dual_tile_padding_horizontal">6dp</dimen>
Jorim Jaggic8316df2014-09-01 17:13:36 +0200244 <dimen name="qs_tile_padding_top">14dp</dimen>
Jorim Jaggie17c4b42014-08-26 17:27:31 +0200245 <dimen name="qs_tile_padding_top_large_text">4dp</dimen>
John Spurlock92d9b192014-06-29 12:54:24 -0400246 <dimen name="qs_tile_padding_below_icon">12dp</dimen>
247 <dimen name="qs_tile_padding_bottom">16dp</dimen>
248 <dimen name="qs_tile_spacing">4dp</dimen>
Jason Monke5b770e2017-03-03 21:49:29 -0500249 <dimen name="qs_panel_padding_bottom">0dp</dimen>
Muyuan Li0e9f5382016-04-27 15:51:15 -0700250 <dimen name="qs_detail_header_height">56dp</dimen>
251 <dimen name="qs_detail_header_padding">0dp</dimen>
252 <dimen name="qs_detail_header_bottom_padding">0dp</dimen>
253 <dimen name="qs_detail_image_width">56dp</dimen>
254 <dimen name="qs_detail_image_height">56dp</dimen>
255 <dimen name="qs_detail_image_padding">16dp</dimen>
John Spurlock7f8f22a2014-07-02 18:54:17 -0400256 <dimen name="qs_detail_item_height">48dp</dimen>
Adrian Rooscd542b82014-08-12 22:25:35 +0200257 <dimen name="qs_brightness_padding_top">6dp</dimen>
Jorim Jaggie17c4b42014-08-26 17:27:31 +0200258 <dimen name="qs_detail_header_text_size">20sp</dimen>
259 <dimen name="qs_detail_button_text_size">14sp</dimen>
260 <dimen name="qs_detail_item_primary_text_size">16sp</dimen>
261 <dimen name="qs_detail_item_secondary_text_size">14sp</dimen>
262 <dimen name="qs_detail_empty_text_size">14sp</dimen>
Jason Monk6573ef22016-04-06 12:37:18 -0400263 <dimen name="qs_detail_margin_top">28dp</dimen>
Muyuan Li0e9f5382016-04-27 15:51:15 -0700264 <dimen name="qs_detail_back_margin_end">16dp</dimen>
Jason Monk416addc2016-07-14 10:20:53 -0400265 <dimen name="qs_detail_header_text_padding">16dp</dimen>
Jorim Jaggie17c4b42014-08-26 17:27:31 +0200266 <dimen name="qs_data_usage_text_size">14sp</dimen>
267 <dimen name="qs_data_usage_usage_text_size">36sp</dimen>
Jason Monkb53b6c52016-02-24 17:25:49 -0500268 <dimen name="qs_battery_padding">2dp</dimen>
Muyuan Lia94a03d2016-06-03 13:13:08 -0700269 <dimen name="qs_detail_padding_start">16dp</dimen>
Jason Monk6573ef22016-04-06 12:37:18 -0400270 <dimen name="qs_detail_items_padding_top">4dp</dimen>
Muyuan Li72a63872016-05-14 11:35:41 -0700271 <dimen name="qs_detail_item_icon_size">24dp</dimen>
272 <dimen name="qs_detail_item_icon_marginStart">0dp</dimen>
273 <dimen name="qs_detail_item_icon_marginEnd">20dp</dimen>
phweiss4f70f102017-04-12 19:32:55 +0200274 <dimen name="qs_footer_padding_start">16dp</dimen>
275 <dimen name="qs_footer_padding_end">24dp</dimen>
276 <dimen name="qs_footer_icon_size">16dp</dimen>
Muyuan Li72a63872016-05-14 11:35:41 -0700277
278 <!-- Desired qs icon overlay size. -->
279 <dimen name="qs_detail_icon_overlay_size">24dp</dimen>
Chris Wren0f2aa682013-08-02 12:03:02 -0400280
John Spurlockfbc1fdf82015-05-08 18:16:54 -0400281 <dimen name="segmented_button_spacing">0dp</dimen>
John Spurlockbb4a7022014-11-08 12:40:19 -0500282 <dimen name="borderless_button_radius">2dp</dimen>
John Spurlockae641c92014-06-30 18:11:40 -0400283
Sudheer Shanka1c7cda82015-12-31 14:46:02 +0000284 <dimen name="restricted_padlock_pading">4dp</dimen>
285
Jorim Jaggif62f2bb2014-05-25 22:28:41 +0200286 <!-- How far the expanded QS panel peeks from the header in collapsed state. -->
Jason Monkdc35dcb2015-12-04 16:36:15 -0500287 <dimen name="qs_peek_height">0dp</dimen>
Jorim Jaggif62f2bb2014-05-25 22:28:41 +0200288
phweiss9e450e12016-12-02 14:31:04 +0100289 <!-- How large the icons in the quick settings footer dialog are -->
290 <dimen name="qs_footer_dialog_icon_size">24sp</dimen>
291 <!-- Left and right margin of the icons -->
292 <dimen name="qs_footer_dialog_icon_margin">8sp</dimen>
phweiss48e353c2017-04-19 20:14:51 +0200293 <!-- Padding between subtitles and the following text in the QSFooter dialog -->
294 <dimen name="qs_footer_dialog_subtitle_padding">20dp</dimen>
phweiss9e450e12016-12-02 14:31:04 +0100295
John Spurlock3e077012014-11-29 13:22:21 -0500296 <!-- Zen mode panel: condition item button padding -->
John Spurlock86005342014-05-23 11:58:00 -0400297 <dimen name="zen_mode_condition_detail_button_padding">8dp</dimen>
John Spurlock86005342014-05-23 11:58:00 -0400298
John Spurlock3e077012014-11-29 13:22:21 -0500299 <!-- Zen mode panel: spacing between condition items -->
300 <dimen name="zen_mode_condition_detail_item_spacing">12dp</dimen>
301
302 <!-- Zen mode panel: spacing between two-line condition upper and lower lines -->
303 <dimen name="zen_mode_condition_detail_item_interline_spacing">4dp</dimen>
304
305 <!-- Zen mode panel: bottom padding, a bit less than qs_panel_padding -->
306 <dimen name="zen_mode_condition_detail_bottom_padding">4dp</dimen>
307
Daniel Sandler8475a742013-09-26 00:24:57 -0400308 <!-- used by DessertCase -->
309 <dimen name="dessert_case_cell_size">192dp</dimen>
John Spurlock74d24802013-12-02 17:14:51 -0500310
311 <!-- Default glow radius for GlowPadView -->
312 <dimen name="glowpadview_glow_radius">75dip</dimen>
313
314 <!-- Default distance from each snap target that GlowPadView considers a "hit" -->
315 <dimen name="glowpadview_inner_radius">15dip</dimen>
Winson Chung37c8d8e2014-03-24 14:53:07 -0700316
Jorim Jaggi2c5baca2014-07-11 01:30:10 +0200317 <!-- bottom_stack_peek_amount + notification_min_height
318 + notification_collapse_second_card_padding -->
Selim Cinek65b2e7c2015-10-26 14:11:31 -0700319 <dimen name="min_stack_height">104dp</dimen>
Jorim Jaggi54045422014-07-03 18:30:40 +0200320
Selim Cinek67b22602014-03-10 15:40:16 +0100321 <!-- Z distance between notifications if they are in the stack -->
Selim Cinek277a8aa2016-01-22 12:12:37 -0800322 <dimen name="z_distance_between_notifications">0.5dp</dimen>
Selim Cinek67b22602014-03-10 15:40:16 +0100323
Selim Cinekcacc6042016-01-21 16:16:41 -0800324 <!-- The height of the divider between the individual notifications. -->
325 <dimen name="notification_divider_height">0.5dp</dimen>
Jorim Jaggife40f7d2014-04-28 15:20:04 +0200326
Mady Mellorb0a82462016-04-30 17:31:02 -0700327 <!-- The height of a notification header -->
328 <dimen name="notification_header_height">53dp</dimen>
329
Selim Cinek61633a82016-01-25 15:54:10 -0800330 <!-- The height of the divider between the individual notifications when the notification wants it to be increased. This is currently the case for notification groups -->
331 <dimen name="notification_divider_height_increased">6dp</dimen>
332
Selim Cinek1408eb52014-06-02 14:45:38 +0200333 <!-- The minimum amount of top overscroll to go to the quick settings. -->
334 <dimen name="min_top_overscroll_to_qs">36dp</dimen>
335
Selim Cinek1e119db2014-06-11 20:03:14 +0200336 <!-- The height of the speed bump view. -->
337 <dimen name="speed_bump_height">16dp</dimen>
Selim Cinekc27437b2014-05-14 10:23:33 +0200338
Selim Cinek19c8c702014-08-25 22:09:19 +0200339 <!-- Lockscreen unlocking falsing threshold. -->
Selim Cinek5386fb32014-09-03 16:37:36 +0200340 <dimen name="unlock_falsing_threshold">80dp</dimen>
Selim Cinek19c8c702014-08-25 22:09:19 +0200341
342 <!-- Lockscreen falsing threshold for quick settings. -->
Selim Cinekff3bf4b2015-05-29 05:39:08 -0700343 <dimen name="qs_falsing_threshold">60dp</dimen>
Selim Cinek19c8c702014-08-25 22:09:19 +0200344
345 <!-- Falsing threshold used when dismissing notifications from the lockscreen. -->
Selim Cinek5386fb32014-09-03 16:37:36 +0200346 <dimen name="swipe_helper_falsing_threshold">70dp</dimen>
John Spurlock73203eb2014-04-15 16:14:46 -0400347
Jorim Jaggiecbab362014-04-23 16:13:15 +0200348 <!-- Minimum distance the user has to drag down to go to the full shade. -->
349 <dimen name="keyguard_drag_down_min_distance">100dp</dimen>
Jorim Jaggi069cd032014-05-15 03:09:01 +0200350
351 <!-- The fraction of the screen height where the clock on the Keyguard has its center. The
352 max value is used when no notifications are displaying, and the min value is when the
353 highest possible number of notifications are showing. -->
Jorim Jaggi220bf5c2014-06-14 22:43:12 +0200354 <fraction name="keyguard_clock_y_fraction_max">32.5%</fraction>
355 <fraction name="keyguard_clock_y_fraction_min">19.8%</fraction>
Jorim Jaggi069cd032014-05-15 03:09:01 +0200356
357 <!-- The margin between the clock and the notifications on Keyguard. See
358 keyguard_clock_height_fraction_* for the difference between min and max.-->
Selim Cinekf1015db2016-02-23 12:28:31 -0800359 <dimen name="keyguard_clock_notifications_margin_min">30dp</dimen>
360 <dimen name="keyguard_clock_notifications_margin_max">42dp</dimen>
Selim Cinekaac93252015-04-14 20:04:12 -0700361 <dimen name="heads_up_scrim_height">250dp</dimen>
Jorim Jaggi069cd032014-05-15 03:09:01 +0200362
Anthony Chen3cb3ad92016-12-01 10:58:47 -0800363 <item name="scrim_behind_alpha" format="float" type="dimen">0.62</item>
364
Selim Cinek4c6969a2014-05-26 19:22:17 +0200365 <!-- The minimum amount the user needs to swipe to go to the camera / phone. -->
Selim Cinek1dc40652014-11-12 17:53:52 +0100366 <dimen name="keyguard_min_swipe_amount">110dp</dimen>
Selim Cinek4c6969a2014-05-26 19:22:17 +0200367
Selim Cinekbaa23272014-07-08 18:01:07 +0200368 <!-- The minimum background radius when swiping to a side for the camera / phone affordances. -->
369 <dimen name="keyguard_affordance_min_background_radius">30dp</dimen>
370
Selim Cinek6746c282015-04-21 19:58:31 -0700371 <!-- The size of the touch targets on the keyguard for the affordances. -->
Selim Cinek60d30d622015-06-01 18:06:00 +0200372 <dimen name="keyguard_affordance_touch_target_size">120dp</dimen>
Selim Cinek6746c282015-04-21 19:58:31 -0700373
Selim Cinekbaa23272014-07-08 18:01:07 +0200374 <!-- The grow amount for the camera and phone circles when hinting -->
375 <dimen name="hint_grow_amount_sideways">60dp</dimen>
376
Jorim Jaggi457cc352014-06-02 22:47:42 +0200377 <!-- Distance between notifications and header when they are considered to be colliding. -->
Jorim Jaggi3afddce2014-08-14 20:44:43 +0200378 <dimen name="header_notifications_collide_distance">48dp</dimen>
Jorim Jaggi457cc352014-06-02 22:47:42 +0200379
Jorim Jaggi8dd95e02014-06-03 16:19:33 +0200380 <!-- Distance the user needs to drag vertically such that a swipe is accepted to unlock the
381 device. -->
382 <dimen name="unlock_move_distance">75dp</dimen>
383
Selim Cinekf54090e2014-06-17 17:24:51 -0700384 <!-- Distance after which the scrim starts fading in when dragging down the quick settings -->
385 <dimen name="notification_scrim_wait_distance">100dp</dimen>
386
Jorim Jaggib3f0a2f2014-06-02 19:29:39 +0200387 <!-- Move distance for the unlock hint animation on the lockscreen -->
Jorim Jaggi90129582014-06-02 14:44:49 +0200388 <dimen name="hint_move_distance">75dp</dimen>
Jorim Jaggib3f0a2f2014-06-02 19:29:39 +0200389
Jorim Jaggib3f0a2f2014-06-02 19:29:39 +0200390 <!-- The width of the region on the left/right edge of the screen for performing the camera/
391 phone hints. -->
392 <dimen name="edge_tap_area_width">48dp</dimen>
Jorim Jaggi80f5e3c2014-06-10 22:03:48 +0200393
Selim Cinek7b836392015-12-04 20:02:59 -0800394 <!-- The padding between notification children when collapsed -->
395 <dimen name="notification_children_padding">4dp</dimen>
396
397 <!-- The padding on top of the first notification to the children container -->
398 <dimen name="notification_children_container_top_padding">8dp</dimen>
Selim Cinekb5605e52015-02-20 18:21:41 +0100399
Jorim Jaggi129e7ac2014-06-10 22:03:48 +0200400 <!-- end margin for multi user switch in expanded quick settings -->
401 <dimen name="multi_user_switch_expanded_margin">8dp</dimen>
Adrian Roos8ddb2da2014-06-16 18:56:22 -0700402
Jorim Jaggi3f48f462014-07-08 16:53:29 +0200403 <!-- end margin for multi user switch in collapsed quick settings -->
404 <dimen name="multi_user_switch_collapsed_margin">13dp</dimen>
405
406 <!-- end margin for multi user switch in collapsed quick settings -->
407 <dimen name="multi_user_switch_keyguard_margin">3dp</dimen>
408
Adrian Roos8ddb2da2014-06-16 18:56:22 -0700409 <!-- end margin for system icons if multi user switch is hidden -->
410 <dimen name="system_icons_switcher_hidden_expanded_margin">16dp</dimen>
411
412 <!-- The thickness of the colored border around the current user. -->
413 <dimen name="keyguard_user_switcher_border_thickness">2dp</dimen>
414
John Spurlock5e9049a2014-07-08 23:40:46 -0400415 <dimen name="data_usage_graph_marker_width">4dp</dimen>
Jorim Jaggi3f48f462014-07-08 16:53:29 +0200416
417 <!-- The padding bottom of the clock group when QS is expanded. -->
418 <dimen name="clock_expanded_bottom_margin">20dp</dimen>
419
Jorim Jaggic7dea6e2014-07-26 14:36:57 +0200420 <!-- The padding bottom of the clock group when QS is collapsed. -->
421 <dimen name="clock_collapsed_bottom_margin">10dp</dimen>
422
Jorim Jaggie17c4b42014-08-26 17:27:31 +0200423 <!-- The padding bottom of the clock group when QS is collapsed for large text -->
424 <dimen name="clock_collapsed_bottom_margin_large_text">6dp</dimen>
425
Jorim Jaggi3f48f462014-07-08 16:53:29 +0200426 <!-- The width of the multi user switch on keyguard and collapsed QS header. -->
427 <dimen name="multi_user_switch_width_collapsed">34dp</dimen>
428
429 <!-- The width of the multi user switch in expanded QS header. -->
430 <dimen name="multi_user_switch_width_expanded">48dp</dimen>
431
Jorim Jaggi87d84d42014-07-28 12:14:48 +0200432 <!-- The width of user avatar when on Keyguard -->
433 <dimen name="multi_user_switch_width_keyguard">34dp</dimen>
434
Jorim Jaggi3f48f462014-07-08 16:53:29 +0200435 <!-- The width of user avatar when collapsed -->
436 <dimen name="multi_user_avatar_collapsed_size">22dp</dimen>
437
Jorim Jaggi87d84d42014-07-28 12:14:48 +0200438 <!-- The width of user avatar when on Keyguard -->
439 <dimen name="multi_user_avatar_keyguard_size">22dp</dimen>
440
Adrian Roos2b154a92014-11-17 15:18:39 +0100441 <!-- The width of user avatar when expanded -->
Jason Monke5b770e2017-03-03 21:49:29 -0500442 <dimen name="multi_user_avatar_expanded_size">16dp</dimen>
Adrian Roos2b154a92014-11-17 15:18:39 +0100443
Jorim Jaggi3f48f462014-07-08 16:53:29 +0200444 <!-- The font size of the time when collapsed in QS -->
445 <dimen name="qs_time_collapsed_size">14sp</dimen>
Jorim Jaggi362dd6d2014-07-09 19:04:07 +0200446
447 <!-- The font size of the time when expanded in QS -->
Jason Monk32508852017-01-18 09:17:13 -0500448 <dimen name="qs_time_expanded_size">14sp</dimen>
Jorim Jaggid4aafe92014-07-10 21:00:57 +0200449
Jorim Jaggie17c4b42014-08-26 17:27:31 +0200450 <!-- The font size of the "emergency calls only" label in QS -->
451 <dimen name="qs_emergency_calls_only_text_size">12sp</dimen>
452
453 <!-- The font size of the date in QS -->
454 <dimen name="qs_date_collapsed_size">14sp</dimen>
Jason Monkf25e6a12016-07-13 14:45:52 -0400455 <!-- Amount the date/time move when emergency calls only is present -->
456 <dimen name="qs_date_time_translation">8dp</dimen>
Jorim Jaggie17c4b42014-08-26 17:27:31 +0200457
Dan Sandlerdf14c202017-02-21 14:51:11 -0500458 <!-- Padding before battery level text in status bar, QS, and Keyguard -->
459 <dimen name="battery_level_padding_start">4dp</dimen>
Dan Sandler4d75c072014-07-17 16:01:28 -0400460
Dan Sandlereceda3d2014-07-21 15:35:01 -0400461 <!-- The top padding of the clear all button -->
Jorim Jaggi2ae259d2014-08-04 23:35:47 +0200462 <dimen name="clear_all_padding_top">12dp</dimen>
Dan Sandlereceda3d2014-07-21 15:35:01 -0400463
Dan Sandler4d75c072014-07-17 16:01:28 -0400464 <!-- Largest size an avatar might need to be drawn in the user picker, status bar, or
465 quick settings header -->
466 <dimen name="max_avatar_size">48dp</dimen>
Jorim Jaggi87d84d42014-07-28 12:14:48 +0200467
Evan Roskyaa7f51f2016-03-16 13:15:53 -0700468 <!-- Size of user icon + frame in the qs/keyguard user picker (incl. frame) -->
469 <dimen name="framed_avatar_size">54dp</dimen>
470
Jorim Jaggi87d84d42014-07-28 12:14:48 +0200471 <!-- Margin on the left side of the carrier text on Keyguard -->
472 <dimen name="keyguard_carrier_text_margin">16dp</dimen>
473
474 <!-- Margin on the left side of the battery % in the header. -->
Jorim Jaggi5172dc22014-09-02 14:59:06 +0200475 <dimen name="header_battery_margin_expanded">6dp</dimen>
Jorim Jaggi87d84d42014-07-28 12:14:48 +0200476
477 <!-- Margin on the left side of the battery % when on Keyguard. -->
478 <dimen name="header_battery_margin_keyguard">6dp</dimen>
Jorim Jaggi60d07c52014-07-31 15:38:21 +0200479
Jorim Jaggi5172dc22014-09-02 14:59:06 +0200480 <!-- Margin on the right side of the system icon group on Keyguard. -->
481 <dimen name="system_icons_keyguard_padding_end">4dp</dimen>
482
Jorim Jaggi60d07c52014-07-31 15:38:21 +0200483 <!-- Additional translation (downwards) for appearing notifications when going to the full shade
484 from Keyguard. -->
485 <dimen name="go_to_full_shade_appearing_translation">200dp</dimen>
Jorim Jaggif4797922014-08-04 22:49:41 +0200486
Selim Cinek92d892c2014-09-11 15:11:00 +0200487 <!-- The diameter of the search panel circle. -->
Jorim Jaggi2fdeeab2015-04-01 15:13:03 -0700488 <dimen name="assist_orb_size">144dp</dimen>
Jorim Jaggif4797922014-08-04 22:49:41 +0200489
Jorim Jaggi2fdeeab2015-04-01 15:13:03 -0700490 <!-- The margin to the edge of the screen from where the orb starts to appear -->
491 <dimen name="assist_orb_base_margin">22dp</dimen>
Selim Cinek92d892c2014-09-11 15:11:00 +0200492
Jorim Jaggi2fdeeab2015-04-01 15:13:03 -0700493 <!-- The amount the orb translates when appearing -->
494 <dimen name="assist_orb_travel_distance">26dp</dimen>
Selim Cinek92d892c2014-09-11 15:11:00 +0200495
Jorim Jaggi2fdeeab2015-04-01 15:13:03 -0700496 <!-- The elevation of the orb -->
497 <dimen name="assist_orb_elevation">12dp</dimen>
Selim Cinek92d892c2014-09-11 15:11:00 +0200498
Jorim Jaggi2fdeeab2015-04-01 15:13:03 -0700499 <!-- The height of the scrim behind the orb. -->
500 <dimen name="assist_orb_scrim_height">250dp</dimen>
Jorim Jaggif4797922014-08-04 22:49:41 +0200501
Jorim Jaggi2fdeeab2015-04-01 15:13:03 -0700502 <!-- The height of the scrim behind the search panel circle. Should be navigation_bar_height
503 + 8dp. -->
504 <dimen name="assist_orb_navbar_scrim_height">56dp</dimen>
Jorim Jaggi9cf1f372014-08-05 19:17:42 +0200505
Adrian Roos72cc3702014-09-18 17:25:09 +0200506 <!-- The width/height of the phone/camera/unlock icon view on keyguard. -->
Jorim Jaggi9cf1f372014-08-05 19:17:42 +0200507 <dimen name="keyguard_affordance_height">56dp</dimen>
508 <dimen name="keyguard_affordance_width">56dp</dimen>
Jorim Jaggie210cc82014-08-12 23:44:59 +0200509
Adrian Roos72cc3702014-09-18 17:25:09 +0200510 <!-- The width/height of the phone/camera/unlock icon drawable on keyguard. -->
511 <dimen name="keyguard_affordance_icon_height">24dp</dimen>
512 <dimen name="keyguard_affordance_icon_width">24dp</dimen>
513
Jorim Jaggie210cc82014-08-12 23:44:59 +0200514 <dimen name="keyguard_indication_margin_bottom">65dp</dimen>
515
516 <!-- The text size for battery level -->
517 <dimen name="battery_level_text_size">12sp</dimen>
Adrian Roos2e3ccbb2014-08-19 22:23:37 +0200518
519 <!-- TrustDrawable: Minimum inner radius of the breathing animation -->
520 <dimen name="trust_circle_inner_radius_visible_min">22dp</dimen>
521 <!-- TrustDrawable: Maximum inner radius of the breathing animation -->
522 <dimen name="trust_circle_inner_radius_visible_max">24dp</dimen>
523 <!-- TrustDrawable: Inner radius at the end of the exit animation -->
524 <dimen name="trust_circle_inner_radius_exit">38dp</dimen>
525 <!-- TrustDrawable: Inner radius at the beginning of the enter animation -->
526 <dimen name="trust_circle_inner_radius_enter">18dp</dimen>
527 <!-- TrustDrawable: Thickness of the circle -->
528 <dimen name="trust_circle_thickness">2dp</dimen>
529
Adrian Roos9f0b0022016-11-09 15:56:50 -0800530 <!-- How much two taps can be apart to still be recognized as a double tap on the lockscreen -->
531 <dimen name="double_tap_slop">32dp</dimen>
532
Jorim Jaggia0221f3a2014-09-03 16:29:39 +0200533 <dimen name="battery_margin_bottom">0dp</dimen>
Jorim Jaggic737b9b2014-09-08 23:57:20 +0200534
Anthony Chene87032c2016-02-09 07:42:25 -0800535 <!-- Padding at the end of the view that displays the mobile signal icons. If the view is
536 empty, then this padding will not be added to that view. -->
537 <dimen name="mobile_signal_group_end_padding">0dp</dimen>
538
539 <!-- Padding between the mobile data type and the strength indicator. -->
540 <dimen name="mobile_data_icon_start_padding">0dp</dimen>
541
Jorim Jaggic737b9b2014-09-08 23:57:20 +0200542 <!-- Extra padding between the mobile data type icon and the strength indicator when the data
543 type icon is wide. -->
544 <dimen name="wide_type_icon_start_padding">2dp</dimen>
545
Jason Monkb5746272014-11-12 16:50:31 -0500546 <!-- Extra padding between multiple phone signal icons. -->
547 <dimen name="secondary_telephony_padding">2dp</dimen>
548
Jorim Jaggic737b9b2014-09-08 23:57:20 +0200549 <!-- Extra padding between the mobile data type icon and the strength indicator when the data
550 type icon is wide for the tile in quick settings. -->
551 <dimen name="wide_type_icon_start_padding_qs">3dp</dimen>
Jorim Jaggi072707d2014-09-15 17:20:08 +0200552
553 <!-- The maximum width of the navigation bar ripples. -->
554 <dimen name="key_button_ripple_max_width">95dp</dimen>
Xiyuan Xia1b30f792016-01-06 08:50:30 -0800555
Jorim Jaggicb557032014-09-16 23:09:24 +0200556 <!-- Inset shadow for FakeShadowDrawable. It is used to avoid gaps between the card
557 and the shadow. -->
558 <dimen name="fake_shadow_inset">1dp</dimen>
559
560 <dimen name="fake_shadow_size">8dp</dimen>
Jorim Jaggi6d035f12014-10-17 18:43:43 +0200561
Anthony Chen55e8e1e2016-01-08 10:31:46 -0800562 <!-- Starting margin before the signal cluster -->
563 <dimen name="signal_cluster_margin_start">2.5dp</dimen>
564
Jorim Jaggi6d035f12014-10-17 18:43:43 +0200565 <!-- Padding between signal cluster and battery icon -->
566 <dimen name="signal_cluster_battery_padding">7dp</dimen>
567
568 <!-- Padding for signal cluster and battery icon when there are not icons in signal cluster -->
569 <dimen name="no_signal_cluster_battery_padding">3dp</dimen>
Jason Monk18f99d92014-09-11 13:36:42 -0400570
571 <!-- Screen pinning request width -->
572 <dimen name="screen_pinning_request_width">@dimen/match_parent</dimen>
573 <!-- Screen pinning request nav button circle heights -->
574 <dimen name="screen_pinning_request_button_height">66dp</dimen>
575 <!-- Screen pinning request nav button circle widths -->
576 <dimen name="screen_pinning_request_button_width">84dp</dimen>
577 <!-- Screen pinning request padding on top of inner circle -->
578 <dimen name="screen_pinning_request_inner_padding">14dp</dimen>
Jason Monke763a262017-03-28 16:25:08 -0400579 <!-- Screen pinning request seascape negative padding -->
580 <dimen name="screen_pinning_request_seascape_padding_negative">-18dp</dimen>
581 <!-- Screen pinning request seascape button offset -->
582 <dimen name="screen_pinning_request_seascape_button_offset">-4dp</dimen>
Jason Monk18f99d92014-09-11 13:36:42 -0400583 <!-- Screen pinning request padding on top of icons -->
584 <dimen name="screen_pinning_request_nav_icon_padding">18dp</dimen>
585 <!-- Screen pinning request padding on side of icons
586 (makes the width match the nav bar)-->
587 <dimen name="screen_pinning_request_nav_side_padding">7dp</dimen>
588 <!-- Screen pinning request side views to match nav bar
589 navigation_side_padding - 3 / 2 * (screen_pinning_request_button_width
590 - navigation_key_width) -->
591 <dimen name="screen_pinning_request_side_width">34dp</dimen>
592 <!-- Screen pinning request controls padding on bigger screens -->
593 <dimen name="screen_pinning_request_frame_padding">0dp</dimen>
594 <!-- Screen pinning inner nav bar circle size -->
595 <dimen name="screen_pinning_nav_highlight_size">56dp</dimen>
596 <!-- Screen pinning inner nav bar outer circle size -->
597 <dimen name="screen_pinning_nav_highlight_outer_size">84dp</dimen>
598
Jorim Jaggi27c9b742015-04-09 10:34:49 -0700599 <!-- Padding to be used on the bottom of the fingerprint icon on Keyguard so it better aligns
600 with the other icons. -->
Jorim Jaggi29cf9ae2015-07-17 12:00:34 -0700601 <dimen name="fingerprint_icon_additional_padding">4dp</dimen>
Jorim Jaggi6d4a27f2015-04-20 16:01:53 -0700602
603 <!-- Minimum margin of the notification panel on the side, when being positioned dynamically -->
604 <dimen name="notification_panel_min_side_margin">48dp</dimen>
John Spurlockd9c75db2015-04-28 11:19:13 -0400605
606 <!-- Vertical spacing between multiple volume slider rows -->
607 <dimen name="volume_slider_interspacing">8dp</dimen>
608
609 <!-- Volume dialog vertical offset from the top of the screen -->
610 <dimen name="volume_offset_top">0dp</dimen>
611
612 <!-- Standard image button size for volume dialog buttons -->
613 <dimen name="volume_button_size">48dp</dimen>
Kenny Guy63bf8ac2015-06-18 15:09:09 +0100614
John Spurlock22def3d2015-06-17 11:56:12 -0400615 <!-- Volume dialog root view bottom margin, at rest -->
616 <dimen name="volume_dialog_margin_bottom">4dp</dimen>
Julia Reynolds027c7492017-02-15 15:41:14 -0500617 <dimen name="volume_dialog_padding_top">8dp</dimen>
Julia Reynolds5f83c852016-06-15 12:53:31 -0400618 <dimen name="volume_dialog_padding_end">40dp</dimen>
619
620 <dimen name="volume_row_padding_bottom">9.4dp</dimen>
621 <dimen name="volume_row_padding_start">4dp</dimen>
622 <dimen name="volume_row_header_padding_start">16dp</dimen>
623 <dimen name="volume_row_height">64dp</dimen>
624 <dimen name="volume_row_slider_height">48dp</dimen>
625 <dimen name="volume_row_slider_padding_start">12dp</dimen>
626
627 <dimen name="volume_expander_margin_end">2dp</dimen>
628 <dimen name="volume_expander_margin_top">6dp</dimen>
John Spurlock22def3d2015-06-17 11:56:12 -0400629
Kenny Guy63bf8ac2015-06-18 15:09:09 +0100630 <!-- Padding between icon and text for managed profile toast -->
631 <dimen name="managed_profile_toast_padding">4dp</dimen>
Adrian Roos4f43dc02015-06-17 16:43:38 -0700632
633 <!-- Thickness of the assist disclosure beams -->
Jorim Jaggieea8be52015-07-14 12:44:12 -0700634 <dimen name="assist_disclosure_thickness">2.5dp</dimen>
Adrian Roos4f43dc02015-06-17 16:43:38 -0700635
636 <!-- Thickness of the shadows of the assist disclosure beams -->
637 <dimen name="assist_disclosure_shadow_thickness">1.5dp</dimen>
Jason Monk2681dcb2015-09-09 13:50:34 -0400638
639 <dimen name="fab_size">56dp</dimen>
640 <dimen name="fab_margin">16dp</dimen>
641 <dimen name="fab_elevation">12dp</dimen>
642 <dimen name="fab_press_translation_z">9dp</dimen>
Jason Monkc34befb2015-10-07 16:40:02 -0400643
Jorim Jaggi1fcbab62015-11-04 16:39:50 +0100644 <!-- How high we lift the divider when touching -->
Jorim Jaggi79b39f02015-12-17 20:04:31 -0800645 <dimen name="docked_stack_divider_lift_elevation">4dp</dimen>
Jorim Jaggi1fcbab62015-11-04 16:39:50 +0100646
Jorim Jaggi79b39f02015-12-17 20:04:31 -0800647 <dimen name="docked_divider_handle_width">16dp</dimen>
Jorim Jaggi1fcbab62015-11-04 16:39:50 +0100648 <dimen name="docked_divider_handle_height">2dp</dimen>
Jason Monkeae7c312016-02-04 13:00:48 -0500649
Jason Monk96ab6362016-02-11 11:33:09 -0500650 <dimen name="battery_detail_graph_space_top">27dp</dimen>
651 <dimen name="battery_detail_graph_space_bottom">27dp</dimen>
Andrei Stingaceanu844927d2016-02-16 14:31:58 +0000652
653 <!-- Keyboard shortcuts helper -->
654 <dimen name="ksh_layout_width">@dimen/match_parent</dimen>
Andrei Stingaceanud1519102016-03-31 15:53:33 +0100655 <dimen name="ksh_item_text_size">14sp</dimen>
656 <dimen name="ksh_item_padding">4dp</dimen>
657 <dimen name="ksh_item_margin_start">4dp</dimen>
Winson59924fe2016-03-17 14:13:18 -0700658
659<!-- Recents Layout -->
660
661 <!-- The amount to inset the stack, specifically at the top and the other sides. We also
662 don't want this to change across configurations that Recents can be opened in, so we
663 define them statically for all display sizes. -->
664 <dimen name="recents_layout_min_margin">16dp</dimen>
665 <dimen name="recents_layout_top_margin_phone">16dp</dimen>
666 <dimen name="recents_layout_top_margin_tablet">32dp</dimen>
667 <dimen name="recents_layout_top_margin_tablet_xlarge">40dp</dimen>
668 <dimen name="recents_layout_bottom_margin">16dp</dimen>
669 <dimen name="recents_layout_side_margin_phone">16dp</dimen>
670 <dimen name="recents_layout_side_margin_tablet">48dp</dimen>
Winson3b6ba1a2016-03-22 15:37:54 -0700671 <dimen name="recents_layout_side_margin_tablet_docked">16dp</dimen>
Winson59924fe2016-03-17 14:13:18 -0700672 <dimen name="recents_layout_side_margin_tablet_xlarge">64dp</dimen>
Winson3b6ba1a2016-03-22 15:37:54 -0700673 <dimen name="recents_layout_side_margin_tablet_xlarge_docked">16dp</dimen>
Winson59924fe2016-03-17 14:13:18 -0700674
Winson59924fe2016-03-17 14:13:18 -0700675 <!-- The height between the top margin and the top of the focused task. -->
Winson3b6ba1a2016-03-22 15:37:54 -0700676 <dimen name="recents_layout_top_peek_size">48dp</dimen>
Winson59924fe2016-03-17 14:13:18 -0700677 <!-- The height between the bottom margin and the top of task in front of the focused task. -->
678 <dimen name="recents_layout_bottom_peek_size">56dp</dimen>
679
680 <!-- The offset from the top and bottom of the stack of the focused task. The bottom offset
681 will be additionally offset by the bottom system insets since it goes under the nav bar
682 in certain orientations. -->
683 <dimen name="recents_layout_initial_top_offset_phone_port">128dp</dimen>
684 <dimen name="recents_layout_initial_bottom_offset_phone_port">80dp</dimen>
685 <dimen name="recents_layout_initial_top_offset_phone_land">72dp</dimen>
686 <dimen name="recents_layout_initial_bottom_offset_phone_land">72dp</dimen>
687 <dimen name="recents_layout_initial_top_offset_tablet">160dp</dimen>
688 <dimen name="recents_layout_initial_bottom_offset_tablet">112dp</dimen>
689
690 <!-- The min/max translationZ for the tasks in the stack. -->
691 <dimen name="recents_layout_z_min">3dp</dimen>
692 <dimen name="recents_layout_z_max">24dp</dimen>
693
Jaewan Kim419c8952016-04-11 15:43:36 +0900694 <!-- The margin between the freeform and stack. We also don't want this to change across
695 configurations that Recents can be opened in, so we define them statically for all
Winson59924fe2016-03-17 14:13:18 -0700696 display sizes. -->
697 <dimen name="recents_freeform_layout_bottom_margin">16dp</dimen>
698
699 <!-- The padding between each freeform task. -->
700 <dimen name="recents_freeform_layout_task_padding">8dp</dimen>
701
702<!-- Recents Views -->
703
Winson21700932016-03-24 17:26:23 -0700704 <!-- The height of a task view bar. This has to be large enough to cover the action bar
705 height in either orientation at this smallest width. -->
Winson59924fe2016-03-17 14:13:18 -0700706 <dimen name="recents_task_view_header_height">56dp</dimen>
Winson21700932016-03-24 17:26:23 -0700707 <dimen name="recents_task_view_header_height_tablet_land">64dp</dimen>
Winson59924fe2016-03-17 14:13:18 -0700708
Winson21700932016-03-24 17:26:23 -0700709 <!-- The padding of a button in the recents task view header. -->
710 <dimen name="recents_task_view_header_button_padding">16dp</dimen>
711 <dimen name="recents_task_view_header_button_padding_tablet_land">20dp</dimen>
Winson59924fe2016-03-17 14:13:18 -0700712
713 <!-- The radius of the rounded corners on a task view and its shadow (which can be larger
714 to create a softer corner effect. -->
715 <dimen name="recents_task_view_rounded_corners_radius">2dp</dimen>
716 <dimen name="recents_task_view_shadow_rounded_corners_radius">6dp</dimen>
717
718 <!-- The amount of highlight to make on each task view. -->
719 <dimen name="recents_task_view_highlight">1dp</dimen>
720
721 <!-- The size of the lock-to-app button and its icon. -->
722 <dimen name="recents_lock_to_app_size">56dp</dimen>
723 <dimen name="recents_lock_to_app_icon_size">28dp</dimen>
724
725 <!-- The amount of overscroll allowed when flinging to the end of the stack. -->
726 <dimen name="recents_fling_overscroll_distance">24dp</dimen>
727
Winson99ef4582016-04-18 16:57:27 -0700728 <!-- The size of the drag hint text. -->
729 <dimen name="recents_drag_hint_text_size">14sp</dimen>
730
Winson59924fe2016-03-17 14:13:18 -0700731 <!-- The min alpha to apply to a task affiliation group color. -->
732 <item name="recents_task_affiliation_color_min_alpha_percentage" format="float" type="dimen">0.6</item>
733
734 <!-- The amount to offset when animating into an affiliate group. -->
735 <dimen name="recents_task_stack_animation_affiliate_enter_offset">32dp</dimen>
736
737 <!-- The offsets the tasks animate from when recents is launched while docking -->
738 <dimen name="recents_task_stack_animation_launched_while_docking_offset">144dp</dimen>
739
740 <!-- The amount to translate when animating the removal of a task. -->
741 <dimen name="recents_task_view_remove_anim_translation_x">100dp</dimen>
Jaewan Kim419c8952016-04-11 15:43:36 +0900742
743 <!-- The alpha to apply to the recents row when it doesn't have focus -->
744 <item name="recents_recents_row_dim_alpha" format="float" type="dimen">0.5</item>
Winson73bc1592016-10-18 18:47:43 -0700745
Jorim Jaggi6f9dbcb2017-03-17 17:22:47 +0100746 <!-- The speed in dp/s at which the user needs to be scrolling in recents such that we start
747 loading full resolution screenshots. -->
748 <dimen name="recents_fast_fling_velocity">600dp</dimen>
749
Mady Mellor60421c9d2017-03-29 15:27:37 -0700750 <!-- The height of the gradient indicating the dismiss edge when moving a PIP. -->
Mady Mellord3e90ea2017-05-09 13:20:56 -0700751 <dimen name="pip_dismiss_gradient_height">176dp</dimen>
Mady Mellor60421c9d2017-03-29 15:27:37 -0700752
753 <!-- The bottom margin of the PIP drag to dismiss info text shown when moving a PIP. -->
Mady Mellorb91efb82017-04-13 17:20:15 -0700754 <dimen name="pip_dismiss_text_bottom_margin">24dp</dimen>
Manu Cornetc7338032016-12-13 17:32:20 +0000755
Mady Mellora7f69742017-02-03 11:00:20 -0800756 <!-- The shortest-edge size of the expanded PiP. -->
757 <dimen name="pip_expanded_shortest_edge_size">160dp</dimen>
758
759 <!-- The padding between actions in the PiP in landscape Note that the PiP does not reflect
760 the configuration of the device, so we can't use -land resources. -->
761 <dimen name="pip_between_action_padding_land">8dp</dimen>
762
Winson Chunge7a3d222017-03-09 13:26:45 -0800763 <!-- The height of the PiP actions container in which the actions are vertically centered. -->
764 <dimen name="pip_action_size">48dp</dimen>
765
766 <!-- The padding around a PiP actions. -->
767 <dimen name="pip_action_padding">12dp</dimen>
768
769 <!-- The bottom margin of the expand container when there are actions.
770 Equal to pip_action_size - pip_action_padding. -->
771 <dimen name="pip_expand_container_edge_margin">36dp</dimen>
772
Jason Monke5b770e2017-03-03 21:49:29 -0500773 <dimen name="default_gear_space">18dp</dimen>
774 <dimen name="cell_overlay_padding">18dp</dimen>
775
Jason Monk48edc0c2017-04-10 15:01:27 -0400776 <dimen name="signal_icon_size">17dp</dimen>
777
Jason Monkb4cc7b12017-05-09 13:50:47 -0400778 <dimen name="qs_gutter_height">6dp</dimen>
779
Daniel Sandler26c84b12011-07-27 00:09:40 -0400780</resources>