Joe Onorato | 503007d | 2010-04-16 09:20:55 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | * Copyright (c) 2006, The Android Open Source Project |
| 4 | * |
Jim Miller | 5fda69c | 2011-02-16 15:17:11 -0800 | [diff] [blame] | 5 | * 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 Onorato | 503007d | 2010-04-16 09:20:55 -0700 | [diff] [blame] | 8 | * |
Jim Miller | 5fda69c | 2011-02-16 15:17:11 -0800 | [diff] [blame] | 9 | * http://www.apache.org/licenses/LICENSE-2.0 |
Joe Onorato | 503007d | 2010-04-16 09:20:55 -0700 | [diff] [blame] | 10 | * |
Jim Miller | 5fda69c | 2011-02-16 15:17:11 -0800 | [diff] [blame] | 11 | * 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 Onorato | 503007d | 2010-04-16 09:20:55 -0700 | [diff] [blame] | 15 | * limitations under the License. |
| 16 | */ |
| 17 | --> |
| 18 | <resources> |
Dianne Hackborn | 7d04932 | 2011-06-14 15:00:32 -0700 | [diff] [blame] | 19 | <!-- Amount to offset bottom of notification peek window from top of status bar. --> |
| 20 | <dimen name="peek_window_y_offset">-12dp</dimen> |
Jim Miller | 5fda69c | 2011-02-16 15:17:11 -0800 | [diff] [blame] | 21 | |
Daniel Sandler | 8956dbb | 2011-04-22 07:55:02 -0400 | [diff] [blame] | 22 | <!-- thickness (height) of the navigation bar on phones that require it --> |
Daniel Sandler | 36412a7 | 2011-08-04 09:35:13 -0400 | [diff] [blame] | 23 | <dimen name="navigation_bar_size">@*android:dimen/navigation_bar_height</dimen> |
Winson Chung | 559e6d3 | 2014-11-05 13:41:12 -0800 | [diff] [blame] | 24 | <!-- 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 Sandler | 41006aa | 2011-06-29 15:10:49 -0400 | [diff] [blame] | 26 | |
| 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 Sandler | c26185b | 2012-08-29 15:49:53 -0400 | [diff] [blame] | 30 | <!-- size of the dead zone when touches have recently occurred elsewhere on screen --> |
| 31 | <dimen name="navigation_bar_deadzone_size_max">32dp</dimen> |
Daniel Sandler | d42497e | 2011-06-04 00:32:50 -0400 | [diff] [blame] | 32 | |
Daniel Sandler | 26c84b1 | 2011-07-27 00:09:40 -0400 | [diff] [blame] | 33 | <!-- Height of notification icons in the status bar --> |
| 34 | <dimen name="status_bar_icon_size">@*android:dimen/status_bar_icon_size</dimen> |
| 35 | |
Anthony Chen | 55e8e1e | 2016-01-08 10:31:46 -0800 | [diff] [blame] | 36 | <!-- 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 Jaggi | 5172dc2 | 2014-09-02 14:59:06 +0200 | [diff] [blame] | 43 | <dimen name="status_bar_clock_size">14sp</dimen> |
| 44 | |
Anthony Chen | 55e8e1e | 2016-01-08 10:31:46 -0800 | [diff] [blame] | 45 | <!-- 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 | |
Evan Laird | 2cf5682 | 2017-12-18 11:22:39 -0500 | [diff] [blame] | 51 | <!-- Starting padding for a left-aligned status bar clock --> |
| 52 | <dimen name="status_bar_left_clock_starting_padding">0dp</dimen> |
| 53 | |
| 54 | <!-- End padding for left-aligned status bar clock --> |
| 55 | <dimen name="status_bar_left_clock_end_padding">7dp</dimen> |
| 56 | |
Anthony Chen | 55e8e1e | 2016-01-08 10:31:46 -0800 | [diff] [blame] | 57 | <!-- Spacing after the wifi signals that is present if there are any icons following it. --> |
| 58 | <dimen name="status_bar_wifi_signal_spacer_width">4dp</dimen> |
| 59 | |
| 60 | <!-- Spacing before the airplane mode icon if there are any icons preceding it. --> |
| 61 | <dimen name="status_bar_airplane_spacer_width">4dp</dimen> |
| 62 | |
| 63 | <!-- The amount to scale each of the status bar icons by. A value of 1 means no scaling. --> |
| 64 | <item name="status_bar_icon_scale_factor" format="float" type="dimen">1.0</item> |
| 65 | |
Adrian Roos | 6f6e159 | 2017-05-02 16:22:53 -0700 | [diff] [blame] | 66 | <dimen name="group_overflow_number_size">@*android:dimen/notification_text_size</dimen> |
| 67 | <dimen name="group_overflow_number_size_dark">16sp</dimen> |
| 68 | <dimen name="group_overflow_number_padding">@*android:dimen/notification_content_margin_end</dimen> |
| 69 | <dimen name="group_overflow_number_extra_padding_dark">@*android:dimen/notification_extra_margin_ambient</dimen> |
| 70 | |
Selim Cinek | a981d08 | 2016-08-03 14:45:31 -0700 | [diff] [blame] | 71 | <!-- max height of a notification such that the content can still fade out when closing --> |
| 72 | <dimen name="max_notification_fadeout_height">100dp</dimen> |
| 73 | |
Anthony Chen | 1c59e9f | 2016-04-11 11:05:48 -0700 | [diff] [blame] | 74 | <!-- End margin for the RSSI status icon of a device connected via bluetooth. --> |
| 75 | <dimen name="status_bar_connected_device_signal_margin_end">16dp</dimen> |
| 76 | |
| 77 | <!-- The size of a bluetooth indicator icon that displays next to the RSSI status icon. --> |
| 78 | <dimen name="status_bar_connected_device_bt_indicator_size">17dp</dimen> |
| 79 | |
Selim Cinek | 816c8e4 | 2015-11-19 12:00:45 -0800 | [diff] [blame] | 80 | <!-- Height of a small notification in the status bar--> |
Selim Cinek | afeed29 | 2017-12-12 17:32:44 -0800 | [diff] [blame] | 81 | <dimen name="notification_min_height">106dp</dimen> |
Daniel Sandler | 6a858c3 | 2012-03-12 14:38:58 -0400 | [diff] [blame] | 82 | |
Selim Cinek | 87ed69b | 2017-02-09 15:59:43 -0800 | [diff] [blame] | 83 | <!-- Increased height of a small notification in the status bar --> |
Selim Cinek | afeed29 | 2017-12-12 17:32:44 -0800 | [diff] [blame] | 84 | <dimen name="notification_min_height_increased">146dp</dimen> |
Selim Cinek | 7d1009b | 2017-01-25 15:28:28 -0800 | [diff] [blame] | 85 | |
Selim Cinek | 816c8e4 | 2015-11-19 12:00:45 -0800 | [diff] [blame] | 86 | <!-- Height of a small notification in the status bar which was used before android N --> |
| 87 | <dimen name="notification_min_height_legacy">64dp</dimen> |
| 88 | |
Selim Cinek | 9b49f6d | 2017-11-13 18:19:35 -0800 | [diff] [blame] | 89 | <!-- Height of a small notification in the status bar which was used before android P --> |
| 90 | <dimen name="notification_min_height_before_p">92dp</dimen> |
| 91 | |
Chris Wren | ca7b7d0 | 2012-05-10 15:01:37 -0400 | [diff] [blame] | 92 | <!-- Height of a large notification in the status bar --> |
Selim Cinek | afeed29 | 2017-12-12 17:32:44 -0800 | [diff] [blame] | 93 | <dimen name="notification_max_height">294dp</dimen> |
Daniel Sandler | 6a858c3 | 2012-03-12 14:38:58 -0400 | [diff] [blame] | 94 | |
Adrian Roos | 0aac04f | 2016-12-08 15:59:29 -0800 | [diff] [blame] | 95 | <!-- Height of an ambient notification on ambient display --> |
| 96 | <dimen name="notification_ambient_height">400dp</dimen> |
| 97 | |
Selim Cinek | 77019c7 | 2015-12-09 10:18:02 -0800 | [diff] [blame] | 98 | <!-- Height of a heads up notification in the status bar for legacy custom views --> |
| 99 | <dimen name="notification_max_heads_up_height_legacy">128dp</dimen> |
| 100 | |
Selim Cinek | 9b49f6d | 2017-11-13 18:19:35 -0800 | [diff] [blame] | 101 | <!-- Height of a heads up notification in the status bar for custom views before andoid P --> |
| 102 | <dimen name="notification_max_heads_up_height_before_p">148dp</dimen> |
| 103 | |
Selim Cinek | 77019c7 | 2015-12-09 10:18:02 -0800 | [diff] [blame] | 104 | <!-- Height of a heads up notification in the status bar --> |
Selim Cinek | afeed29 | 2017-12-12 17:32:44 -0800 | [diff] [blame] | 105 | <dimen name="notification_max_heads_up_height">162dp</dimen> |
Chris Wren | 8fd39ec | 2014-02-27 17:43:26 -0500 | [diff] [blame] | 106 | |
Selim Cinek | 87ed69b | 2017-02-09 15:59:43 -0800 | [diff] [blame] | 107 | <!-- Height of a heads up notification in the status bar --> |
| 108 | <dimen name="notification_max_heads_up_height_increased">188dp</dimen> |
| 109 | |
Selim Cinek | 515b203 | 2017-11-15 10:20:19 -0800 | [diff] [blame] | 110 | <!-- Side padding on the lockscreen on the side of notifications --> |
Selim Cinek | b95fd18 | 2017-12-21 13:03:32 -0800 | [diff] [blame] | 111 | <dimen name="notification_side_paddings">4dp</dimen> |
Selim Cinek | 9b49f6d | 2017-11-13 18:19:35 -0800 | [diff] [blame] | 112 | |
Selim Cinek | e62255c | 2017-09-28 18:23:23 -0700 | [diff] [blame] | 113 | <!-- Height of a messaging notifications with actions at least. Not that this is an upper bound |
| 114 | and the notification won't use this much, but is measured with wrap_content --> |
| 115 | <dimen name="notification_messaging_actions_min_height">196dp</dimen> |
| 116 | |
Selim Cinek | 727903c | 2016-12-06 17:28:10 -0800 | [diff] [blame] | 117 | <!-- a threshold in dp per second that is considered fast scrolling --> |
| 118 | <dimen name="scroll_fast_threshold">1500dp</dimen> |
| 119 | |
Selim Cinek | 281c202 | 2016-10-13 19:14:43 -0700 | [diff] [blame] | 120 | <!-- Height of a the shelf with the notification icons --> |
| 121 | <dimen name="notification_shelf_height">32dp</dimen> |
| 122 | |
Selim Cinek | 51d2197 | 2017-07-19 17:39:20 -0700 | [diff] [blame] | 123 | <!-- Minimum height of a notification to be interactable --> |
| 124 | <dimen name="notification_min_interaction_height">40dp</dimen> |
| 125 | |
Selim Cinek | 0e8d77e | 2016-11-29 10:35:42 -0800 | [diff] [blame] | 126 | <!-- the padding of the shelf icon container --> |
Selim Cinek | b95fd18 | 2017-12-21 13:03:32 -0800 | [diff] [blame] | 127 | <dimen name="shelf_icon_container_padding">13dp</dimen> |
Selim Cinek | 0e8d77e | 2016-11-29 10:35:42 -0800 | [diff] [blame] | 128 | |
Selim Cinek | 281c202 | 2016-10-13 19:14:43 -0700 | [diff] [blame] | 129 | <!-- The padding of a notification icon on top to the start of the notification. Used for custom |
| 130 | views where the distance can't be measured --> |
| 131 | <dimen name="notification_icon_appear_padding">15dp</dimen> |
Jorim Jaggi | 069cd03 | 2014-05-15 03:09:01 +0200 | [diff] [blame] | 132 | |
Selim Cinek | 0242fbb | 2016-10-19 13:38:32 -0700 | [diff] [blame] | 133 | <!-- The amount the content shifts upwards when transforming into the icon --> |
Selim Cinek | 875a3a1 | 2016-11-18 17:52:16 -0800 | [diff] [blame] | 134 | <dimen name="notification_icon_transform_content_shift">32dp</dimen> |
Chris Wren | 6675721 | 2012-05-14 10:05:42 -0400 | [diff] [blame] | 135 | |
Selim Cinek | 378053a | 2016-12-07 15:41:28 -0800 | [diff] [blame] | 136 | <!-- The padding on the bottom of the notifications on the keyguard --> |
| 137 | <dimen name="keyguard_indication_bottom_padding">12sp</dimen> |
| 138 | |
Selim Cinek | 860b6da | 2015-12-16 19:02:19 -0800 | [diff] [blame] | 139 | <!-- Minimum layouted height of a notification in the statusbar--> |
| 140 | <dimen name="min_notification_layout_height">48dp</dimen> |
| 141 | |
Mady Mellor | 761cde1 | 2017-01-10 11:36:39 -0800 | [diff] [blame] | 142 | <!-- Size of the space to place a notification menu item --> |
| 143 | <dimen name="notification_menu_icon_size">64dp</dimen> |
Mady Mellor | f062580 | 2016-02-11 18:03:48 -0800 | [diff] [blame] | 144 | |
Mady Mellor | 761cde1 | 2017-01-10 11:36:39 -0800 | [diff] [blame] | 145 | <!-- The space around a notification menu item --> |
| 146 | <dimen name="notification_menu_icon_padding">20dp</dimen> |
Mady Mellor | 4b80b10 | 2016-01-22 08:03:58 -0800 | [diff] [blame] | 147 | |
Julia Reynolds | 437cdb1 | 2018-01-03 12:27:24 -0500 | [diff] [blame] | 148 | <!-- The veritical space around the buttons in the inline settings --> |
| 149 | <dimen name="notification_guts_button_spacing">20dp</dimen> |
| 150 | |
| 151 | <!-- The height of the header in inline settings --> |
| 152 | <dimen name="notification_guts_header_height">24dp</dimen> |
| 153 | |
Mady Mellor | 04d7a0f | 2017-01-25 13:16:03 -0800 | [diff] [blame] | 154 | <!-- The minimum height for the snackbar shown after the snooze option has been chosen. --> |
Mady Mellor | e09fb70 | 2017-03-30 13:23:29 -0700 | [diff] [blame] | 155 | <dimen name="snooze_snackbar_min_height">56dp</dimen> |
Mady Mellor | 04d7a0f | 2017-01-25 13:16:03 -0800 | [diff] [blame] | 156 | |
| 157 | <!-- The text size of options in the snooze menu. --> |
| 158 | <dimen name="snooze_option_text_size">14sp</dimen> |
| 159 | |
| 160 | <!-- The padding around options int the snooze menu. --> |
| 161 | <dimen name="snooze_option_padding">8dp</dimen> |
| 162 | |
Daniel Sandler | 26c84b1 | 2011-07-27 00:09:40 -0400 | [diff] [blame] | 163 | <!-- size at which Notification icons will be drawn in the status bar --> |
Selim Cinek | 281c202 | 2016-10-13 19:14:43 -0700 | [diff] [blame] | 164 | <dimen name="status_bar_icon_drawing_size">17dp</dimen> |
Daniel Sandler | 26c84b1 | 2011-07-27 00:09:40 -0400 | [diff] [blame] | 165 | |
Adrian Roos | 138f034 | 2017-04-28 09:11:28 -0700 | [diff] [blame] | 166 | <!-- size at which Notification icons will be drawn on Ambient Display --> |
| 167 | <dimen name="status_bar_icon_drawing_size_dark">@*android:dimen/notification_header_icon_size_ambient</dimen> |
| 168 | |
Daniel Sandler | 26c84b1 | 2011-07-27 00:09:40 -0400 | [diff] [blame] | 169 | <!-- opacity at which Notification icons will be drawn in the status bar --> |
Jorim Jaggi | 5172dc2 | 2014-09-02 14:59:06 +0200 | [diff] [blame] | 170 | <item type="dimen" name="status_bar_icon_drawing_alpha">90%</item> |
Daniel Sandler | 7c3e39d | 2011-07-29 16:30:49 -0400 | [diff] [blame] | 171 | |
| 172 | <!-- gap on either side of status bar notification icons --> |
| 173 | <dimen name="status_bar_icon_padding">0dp</dimen> |
Peter Ng | 6ccd7a5 | 2011-08-22 16:58:43 -0700 | [diff] [blame] | 174 | |
Selim Cinek | 48ff9b4 | 2016-11-09 19:31:51 -0800 | [diff] [blame] | 175 | <!-- the padding on the start of the statusbar --> |
| 176 | <dimen name="status_bar_padding_start">6dp</dimen> |
| 177 | |
Selim Cinek | 49014f8 | 2016-11-04 14:55:30 -0700 | [diff] [blame] | 178 | <!-- the radius of the overflow dot in the status bar --> |
| 179 | <dimen name="overflow_dot_radius">1dp</dimen> |
| 180 | |
| 181 | <!-- the padding between dots in the icon overflow --> |
| 182 | <dimen name="overflow_icon_dot_padding">3dp</dimen> |
| 183 | |
Winson Chung | a63bb84 | 2011-10-17 10:26:28 -0700 | [diff] [blame] | 184 | <!-- The padding on the global screenshot background image --> |
Winson Chung | 22ca095 | 2011-10-20 19:44:32 -0700 | [diff] [blame] | 185 | <dimen name="global_screenshot_bg_padding">20dp</dimen> |
Winson Chung | a63bb84 | 2011-10-17 10:26:28 -0700 | [diff] [blame] | 186 | |
Jorim Jaggi | ca8c626 | 2014-10-27 16:53:18 +0100 | [diff] [blame] | 187 | <!-- The width of the view containing navigation buttons --> |
| 188 | <dimen name="navigation_key_width">70dp</dimen> |
Andrew Flynn | 1d9af30 | 2012-03-07 15:48:51 -0800 | [diff] [blame] | 189 | |
Jason Monk | a208182 | 2016-01-18 14:41:03 -0500 | [diff] [blame] | 190 | <dimen name="navigation_key_padding">0dp</dimen> |
| 191 | |
Jason Monk | f1ff209 | 2014-04-29 16:50:53 -0400 | [diff] [blame] | 192 | <!-- The width of the view containing the menu/ime navigation bar icons --> |
Jorim Jaggi | ca8c626 | 2014-10-27 16:53:18 +0100 | [diff] [blame] | 193 | <dimen name="navigation_extra_key_width">36dp</dimen> |
| 194 | |
| 195 | <!-- The padding on the side of the navigation bar. Must be greater than or equal to |
| 196 | navigation_extra_key_width --> |
| 197 | <dimen name="navigation_side_padding">36dp</dimen> |
Jim Miller | e898ac5 | 2012-04-06 17:10:57 -0700 | [diff] [blame] | 198 | |
Michael Jurka | 53f109bf | 2012-06-13 17:38:14 -0700 | [diff] [blame] | 199 | <!-- Default distance beyond which snaps to the matching target --> |
| 200 | <dimen name="navbar_search_snap_margin">40dip</dimen> |
Jim Miller | e898ac5 | 2012-04-06 17:10:57 -0700 | [diff] [blame] | 201 | |
| 202 | <!-- Diameter of outer shape drawable shown in navbar search--> |
Jim Miller | 2083042 | 2012-05-15 20:46:03 -0700 | [diff] [blame] | 203 | <dimen name="navbar_search_outerring_diameter">340dp</dimen> |
Jim Miller | 354619c | 2012-04-27 17:33:44 -0700 | [diff] [blame] | 204 | |
Jim Miller | 955a016 | 2012-06-11 21:06:13 -0700 | [diff] [blame] | 205 | <!-- Diameter of outer shape drawable shown in navbar search. Should be 1/2 of above value --> |
| 206 | <dimen name="navbar_search_outerring_radius">170dp</dimen> |
| 207 | |
Jim Miller | 354619c | 2012-04-27 17:33:44 -0700 | [diff] [blame] | 208 | <!-- Height of search panel including navigation bar height --> |
| 209 | <dimen name="navbar_search_panel_height">230dip</dimen> |
Jim Miller | e898ac5 | 2012-04-06 17:10:57 -0700 | [diff] [blame] | 210 | |
Daniel Sandler | 1fac1fd | 2012-04-30 12:07:30 -0400 | [diff] [blame] | 211 | <!-- Height of the draggable handle at the bottom of the phone notification panel --> |
Daniel Sandler | 13522a2 | 2012-09-27 14:46:58 -0400 | [diff] [blame] | 212 | <dimen name="close_handle_height">36dp</dimen> |
Daniel Sandler | fc753d2 | 2012-05-08 13:56:44 -0400 | [diff] [blame] | 213 | |
Daniel Sandler | 13522a2 | 2012-09-27 14:46:58 -0400 | [diff] [blame] | 214 | <!-- Amount of close_handle that will NOT overlap the notification list --> |
| 215 | <dimen name="close_handle_underlap">32dp</dimen> |
Daniel Sandler | fc753d2 | 2012-05-08 13:56:44 -0400 | [diff] [blame] | 216 | |
Anthony Chen | 54daefe | 2017-04-07 17:19:54 -0700 | [diff] [blame] | 217 | <!-- Height of the status bar header bar in the car setting. --> |
| 218 | <dimen name="car_status_bar_header_height">128dp</dimen> |
| 219 | |
| 220 | <!-- The bottom padding of the status bar header. --> |
| 221 | <dimen name="status_bar_header_padding_bottom">48dp</dimen> |
| 222 | |
Evan Laird | 39254d4 | 2018-01-18 16:05:30 -0500 | [diff] [blame] | 223 | <!-- The height of the container that holds the battery and time in the quick settings header. |
| 224 | --> |
| 225 | <dimen name="qs_header_system_icons_area_height">48dp</dimen> |
Anthony Chen | 54daefe | 2017-04-07 17:19:54 -0700 | [diff] [blame] | 226 | |
| 227 | <!-- The height of the container that holds the system icons in the quick settings header in the |
| 228 | car setting. --> |
| 229 | <dimen name="car_qs_header_system_icons_area_height">54dp</dimen> |
| 230 | |
| 231 | <!-- The height of the quick settings footer that holds the user switcher, settings icon, |
| 232 | etc. --> |
| 233 | <dimen name="qs_footer_height">48dp</dimen> |
| 234 | |
Selim Cinek | d7768f4 | 2017-11-22 06:43:44 -0800 | [diff] [blame] | 235 | <!-- The padding between the notifications and the quick settings container --> |
Selim Cinek | b95fd18 | 2017-12-21 13:03:32 -0800 | [diff] [blame] | 236 | <dimen name="qs_notification_padding">@dimen/notification_side_paddings</dimen> |
Selim Cinek | d7768f4 | 2017-11-22 06:43:44 -0800 | [diff] [blame] | 237 | |
Jorim Jaggi | d7daab7 | 2014-05-06 22:22:20 +0200 | [diff] [blame] | 238 | <!-- Height of the status bar header bar when expanded --> |
Jason Monk | e5b770e | 2017-03-03 21:49:29 -0500 | [diff] [blame] | 239 | <dimen name="status_bar_header_height_expanded">124dp</dimen> |
Daniel Sandler | 21b274e | 2012-05-02 15:07:51 -0400 | [diff] [blame] | 240 | |
Jorim Jaggi | 9054d94 | 2014-05-09 22:47:28 +0200 | [diff] [blame] | 241 | <!-- Height of the status bar header bar when on Keyguard --> |
| 242 | <dimen name="status_bar_header_height_keyguard">40dp</dimen> |
| 243 | |
Selim Cinek | 6ebba59 | 2016-05-31 15:28:28 -0700 | [diff] [blame] | 244 | <!-- Margin start of the system icons super container --> |
| 245 | <dimen name="system_icons_super_container_margin_start">16dp</dimen> |
| 246 | |
Daniel Nishi | f79cd87 | 2016-06-27 11:44:01 -0700 | [diff] [blame] | 247 | <!-- Margin end of the system icons super container when the avatar is missing. --> |
| 248 | <dimen name="system_icons_super_container_avatarless_margin_end">6dp</dimen> |
| 249 | |
John Spurlock | 7e6809a | 2014-08-06 16:03:14 -0400 | [diff] [blame] | 250 | <!-- Width for the notification panel and related windows --> |
| 251 | <dimen name="match_parent">-1px</dimen> |
Selim Cinek | 924c612 | 2016-01-15 18:24:05 -0800 | [diff] [blame] | 252 | <dimen name="standard_notification_panel_width">416dp</dimen> |
Anthony Chen | 9fe1ee7 | 2017-04-07 13:53:37 -0700 | [diff] [blame] | 253 | |
| 254 | <!-- The top margin of the panel that holds the list of notifications. --> |
| 255 | <dimen name="notification_panel_margin_top">0dp</dimen> |
| 256 | |
| 257 | <!-- The bottom margin of the panel that holds the list of notifications. --> |
| 258 | <dimen name="notification_panel_margin_bottom">0dp</dimen> |
| 259 | |
John Spurlock | 7e6809a | 2014-08-06 16:03:14 -0400 | [diff] [blame] | 260 | <dimen name="notification_panel_width">@dimen/match_parent</dimen> |
| 261 | |
Anthony Chen | 04d1ea7 | 2017-04-21 14:30:11 -0700 | [diff] [blame] | 262 | <!-- The width of the panel that holds the quick settings. --> |
| 263 | <dimen name="qs_panel_width">@dimen/notification_panel_width</dimen> |
| 264 | |
Julia Reynolds | 7c62c31 | 2018-02-01 17:29:33 -0500 | [diff] [blame] | 265 | <!-- the amount the volume panel should be offset at the end from the view next to it (or |
| 266 | the scren edge, in portrait--> |
| 267 | <dimen name="volume_dialog_base_margin">12dp</dimen> |
| 268 | |
| 269 | <dimen name="volume_dialog_panel_width">100dp</dimen> |
Jason Monk | 98ad83c | 2017-06-13 14:03:45 -0400 | [diff] [blame] | 270 | |
Julia Reynolds | f5e4182 | 2018-01-23 13:55:18 -0500 | [diff] [blame] | 271 | <dimen name="output_chooser_panel_width">320dp</dimen> |
| 272 | |
John Spurlock | 5072883 | 2014-04-17 19:05:28 -0400 | [diff] [blame] | 273 | <!-- Gravity for the notification panel --> |
Selim Cinek | 9e87cba | 2017-02-17 13:01:01 -0800 | [diff] [blame] | 274 | <integer name="notification_panel_layout_gravity">0x31</integer><!-- center_horizontal|top --> |
Chris Wren | b8ea2f5 | 2012-08-24 11:50:55 -0400 | [diff] [blame] | 275 | |
Daniel Sandler | 3d32a24 | 2012-06-05 13:44:14 -0400 | [diff] [blame] | 276 | <!-- Height of the carrier/wifi name label --> |
| 277 | <dimen name="carrier_label_height">24dp</dimen> |
Chris Wren | b4e2c48b | 2012-06-15 16:51:54 -0400 | [diff] [blame] | 278 | |
Daniel Sandler | 4377d14 | 2012-09-11 15:18:47 -0400 | [diff] [blame] | 279 | <!-- The distance you can pull a notification before it pops open --> |
Jorim Jaggi | 7f2d87c | 2014-04-29 22:47:53 +0200 | [diff] [blame] | 280 | <dimen name="one_finger_pop_limit">0dp</dimen> |
Winson Chung | d63c5978 | 2012-09-05 17:34:41 -0700 | [diff] [blame] | 281 | |
Daniel Sandler | e680f54 | 2012-09-28 12:22:27 -0400 | [diff] [blame] | 282 | <!-- Minimum fraction of the screen that should be taken up by the notification panel. |
| 283 | Not used at this screen size. --> |
| 284 | <item type="dimen" name="notification_panel_min_height_frac">0%</item> |
Daniel Sandler | 4377d14 | 2012-09-11 15:18:47 -0400 | [diff] [blame] | 285 | |
Jorim Jaggi | 7f2d87c | 2014-04-29 22:47:53 +0200 | [diff] [blame] | 286 | <dimen name="blinds_pop_threshold">0dp</dimen> |
Daniel Sandler | 4377d14 | 2012-09-11 15:18:47 -0400 | [diff] [blame] | 287 | |
| 288 | <!-- The size of the gesture span needed to activate the "pull" notification expansion --> |
| 289 | <dimen name="pull_span_min">25dp</dimen> |
Daniel Sandler | 3679bf5 | 2012-10-16 21:30:28 -0400 | [diff] [blame] | 290 | |
Jason Monk | 209e03e | 2017-04-11 13:57:45 -0400 | [diff] [blame] | 291 | <dimen name="qs_tile_height">106dp</dimen> |
| 292 | <dimen name="qs_tile_margin">19dp</dimen> |
Jason Monk | 6573ef2 | 2016-04-06 12:37:18 -0400 | [diff] [blame] | 293 | <dimen name="qs_tile_margin_top">16dp</dimen> |
Jason Monk | c133d26 | 2015-10-27 12:32:45 -0400 | [diff] [blame] | 294 | <dimen name="qs_quick_tile_size">48dp</dimen> |
| 295 | <dimen name="qs_quick_tile_padding">12dp</dimen> |
Jason Monk | 98196b0 | 2016-03-14 10:33:02 -0400 | [diff] [blame] | 296 | <dimen name="qs_header_gear_translation">16dp</dimen> |
Jason Monk | 6113397 | 2016-03-17 13:10:09 -0400 | [diff] [blame] | 297 | <dimen name="qs_page_indicator_width">16dp</dimen> |
| 298 | <dimen name="qs_page_indicator_height">8dp</dimen> |
John Spurlock | c97010c | 2015-06-15 15:45:38 -0400 | [diff] [blame] | 299 | <dimen name="qs_tile_icon_size">24dp</dimen> |
John Spurlock | 4bf3198 | 2014-05-21 13:04:22 -0400 | [diff] [blame] | 300 | <dimen name="qs_tile_text_size">12sp</dimen> |
| 301 | <dimen name="qs_tile_divider_height">1dp</dimen> |
| 302 | <dimen name="qs_panel_padding">16dp</dimen> |
John Spurlock | 39076ed | 2014-06-30 20:47:20 -0400 | [diff] [blame] | 303 | <dimen name="qs_dual_tile_height">112dp</dimen> |
| 304 | <dimen name="qs_dual_tile_padding_vertical">8dp</dimen> |
| 305 | <dimen name="qs_dual_tile_padding_horizontal">6dp</dimen> |
Jorim Jaggi | c8316df | 2014-09-01 17:13:36 +0200 | [diff] [blame] | 306 | <dimen name="qs_tile_padding_top">14dp</dimen> |
Jorim Jaggi | e17c4b4 | 2014-08-26 17:27:31 +0200 | [diff] [blame] | 307 | <dimen name="qs_tile_padding_top_large_text">4dp</dimen> |
John Spurlock | 92d9b19 | 2014-06-29 12:54:24 -0400 | [diff] [blame] | 308 | <dimen name="qs_tile_padding_below_icon">12dp</dimen> |
| 309 | <dimen name="qs_tile_padding_bottom">16dp</dimen> |
| 310 | <dimen name="qs_tile_spacing">4dp</dimen> |
Jason Monk | e5b770e | 2017-03-03 21:49:29 -0500 | [diff] [blame] | 311 | <dimen name="qs_panel_padding_bottom">0dp</dimen> |
Muyuan Li | 0e9f538 | 2016-04-27 15:51:15 -0700 | [diff] [blame] | 312 | <dimen name="qs_detail_header_height">56dp</dimen> |
| 313 | <dimen name="qs_detail_header_padding">0dp</dimen> |
Muyuan Li | 0e9f538 | 2016-04-27 15:51:15 -0700 | [diff] [blame] | 314 | <dimen name="qs_detail_image_width">56dp</dimen> |
| 315 | <dimen name="qs_detail_image_height">56dp</dimen> |
| 316 | <dimen name="qs_detail_image_padding">16dp</dimen> |
John Spurlock | 7f8f22a | 2014-07-02 18:54:17 -0400 | [diff] [blame] | 317 | <dimen name="qs_detail_item_height">48dp</dimen> |
Adrian Roos | cd542b8 | 2014-08-12 22:25:35 +0200 | [diff] [blame] | 318 | <dimen name="qs_brightness_padding_top">6dp</dimen> |
Jorim Jaggi | e17c4b4 | 2014-08-26 17:27:31 +0200 | [diff] [blame] | 319 | <dimen name="qs_detail_header_text_size">20sp</dimen> |
| 320 | <dimen name="qs_detail_button_text_size">14sp</dimen> |
| 321 | <dimen name="qs_detail_item_primary_text_size">16sp</dimen> |
| 322 | <dimen name="qs_detail_item_secondary_text_size">14sp</dimen> |
| 323 | <dimen name="qs_detail_empty_text_size">14sp</dimen> |
Jason Monk | 6573ef2 | 2016-04-06 12:37:18 -0400 | [diff] [blame] | 324 | <dimen name="qs_detail_margin_top">28dp</dimen> |
Muyuan Li | 0e9f538 | 2016-04-27 15:51:15 -0700 | [diff] [blame] | 325 | <dimen name="qs_detail_back_margin_end">16dp</dimen> |
Jason Monk | 416addc | 2016-07-14 10:20:53 -0400 | [diff] [blame] | 326 | <dimen name="qs_detail_header_text_padding">16dp</dimen> |
Jorim Jaggi | e17c4b4 | 2014-08-26 17:27:31 +0200 | [diff] [blame] | 327 | <dimen name="qs_data_usage_text_size">14sp</dimen> |
| 328 | <dimen name="qs_data_usage_usage_text_size">36sp</dimen> |
Jason Monk | b53b6c5 | 2016-02-24 17:25:49 -0500 | [diff] [blame] | 329 | <dimen name="qs_battery_padding">2dp</dimen> |
Muyuan Li | a94a03d | 2016-06-03 13:13:08 -0700 | [diff] [blame] | 330 | <dimen name="qs_detail_padding_start">16dp</dimen> |
Jason Monk | 6573ef2 | 2016-04-06 12:37:18 -0400 | [diff] [blame] | 331 | <dimen name="qs_detail_items_padding_top">4dp</dimen> |
Muyuan Li | 72a6387 | 2016-05-14 11:35:41 -0700 | [diff] [blame] | 332 | <dimen name="qs_detail_item_icon_size">24dp</dimen> |
jackqdyulei | 98b7fdb | 2017-09-06 16:38:23 -0700 | [diff] [blame] | 333 | <dimen name="qs_detail_item_icon_width">32dp</dimen> |
Muyuan Li | 72a6387 | 2016-05-14 11:35:41 -0700 | [diff] [blame] | 334 | <dimen name="qs_detail_item_icon_marginStart">0dp</dimen> |
| 335 | <dimen name="qs_detail_item_icon_marginEnd">20dp</dimen> |
phweiss | 4f70f10 | 2017-04-12 19:32:55 +0200 | [diff] [blame] | 336 | <dimen name="qs_footer_padding_start">16dp</dimen> |
| 337 | <dimen name="qs_footer_padding_end">24dp</dimen> |
| 338 | <dimen name="qs_footer_icon_size">16dp</dimen> |
Evan Laird | eb38aa7 | 2018-02-02 11:10:30 -0500 | [diff] [blame] | 339 | <!-- Difference between drag handle margin in QQS and expanded QS --> |
| 340 | <dimen name="qs_footer_drag_handle_offset">6dp</dimen> |
Muyuan Li | 72a6387 | 2016-05-14 11:35:41 -0700 | [diff] [blame] | 341 | |
Jason Monk | 231b052 | 2018-01-04 10:49:55 -0500 | [diff] [blame] | 342 | <dimen name="qs_notif_collapsed_space">64dp</dimen> |
| 343 | |
Muyuan Li | 72a6387 | 2016-05-14 11:35:41 -0700 | [diff] [blame] | 344 | <!-- Desired qs icon overlay size. --> |
| 345 | <dimen name="qs_detail_icon_overlay_size">24dp</dimen> |
Chris Wren | 0f2aa68 | 2013-08-02 12:03:02 -0400 | [diff] [blame] | 346 | |
John Spurlock | fbc1fdf8 | 2015-05-08 18:16:54 -0400 | [diff] [blame] | 347 | <dimen name="segmented_button_spacing">0dp</dimen> |
John Spurlock | bb4a702 | 2014-11-08 12:40:19 -0500 | [diff] [blame] | 348 | <dimen name="borderless_button_radius">2dp</dimen> |
John Spurlock | ae641c9 | 2014-06-30 18:11:40 -0400 | [diff] [blame] | 349 | |
Sudheer Shanka | 1c7cda8 | 2015-12-31 14:46:02 +0000 | [diff] [blame] | 350 | <dimen name="restricted_padlock_pading">4dp</dimen> |
| 351 | |
Jorim Jaggi | f62f2bb | 2014-05-25 22:28:41 +0200 | [diff] [blame] | 352 | <!-- How far the expanded QS panel peeks from the header in collapsed state. --> |
Jason Monk | dc35dcb | 2015-12-04 16:36:15 -0500 | [diff] [blame] | 353 | <dimen name="qs_peek_height">0dp</dimen> |
Jorim Jaggi | f62f2bb | 2014-05-25 22:28:41 +0200 | [diff] [blame] | 354 | |
phweiss | 9e450e1 | 2016-12-02 14:31:04 +0100 | [diff] [blame] | 355 | <!-- How large the icons in the quick settings footer dialog are --> |
| 356 | <dimen name="qs_footer_dialog_icon_size">24sp</dimen> |
| 357 | <!-- Left and right margin of the icons --> |
| 358 | <dimen name="qs_footer_dialog_icon_margin">8sp</dimen> |
phweiss | 0330f88 | 2017-04-19 20:14:51 +0200 | [diff] [blame] | 359 | <!-- Padding between subtitles and the following text in the QSFooter dialog --> |
| 360 | <dimen name="qs_footer_dialog_subtitle_padding">20dp</dimen> |
phweiss | 9e450e1 | 2016-12-02 14:31:04 +0100 | [diff] [blame] | 361 | |
John Spurlock | 3e07701 | 2014-11-29 13:22:21 -0500 | [diff] [blame] | 362 | <!-- Zen mode panel: condition item button padding --> |
John Spurlock | 8600534 | 2014-05-23 11:58:00 -0400 | [diff] [blame] | 363 | <dimen name="zen_mode_condition_detail_button_padding">8dp</dimen> |
John Spurlock | 8600534 | 2014-05-23 11:58:00 -0400 | [diff] [blame] | 364 | |
John Spurlock | 3e07701 | 2014-11-29 13:22:21 -0500 | [diff] [blame] | 365 | <!-- Zen mode panel: spacing between condition items --> |
| 366 | <dimen name="zen_mode_condition_detail_item_spacing">12dp</dimen> |
| 367 | |
| 368 | <!-- Zen mode panel: spacing between two-line condition upper and lower lines --> |
| 369 | <dimen name="zen_mode_condition_detail_item_interline_spacing">4dp</dimen> |
| 370 | |
| 371 | <!-- Zen mode panel: bottom padding, a bit less than qs_panel_padding --> |
| 372 | <dimen name="zen_mode_condition_detail_bottom_padding">4dp</dimen> |
| 373 | |
Daniel Sandler | 8475a74 | 2013-09-26 00:24:57 -0400 | [diff] [blame] | 374 | <!-- used by DessertCase --> |
| 375 | <dimen name="dessert_case_cell_size">192dp</dimen> |
John Spurlock | 74d2480 | 2013-12-02 17:14:51 -0500 | [diff] [blame] | 376 | |
| 377 | <!-- Default glow radius for GlowPadView --> |
| 378 | <dimen name="glowpadview_glow_radius">75dip</dimen> |
| 379 | |
| 380 | <!-- Default distance from each snap target that GlowPadView considers a "hit" --> |
| 381 | <dimen name="glowpadview_inner_radius">15dip</dimen> |
Winson Chung | 37c8d8e | 2014-03-24 14:53:07 -0700 | [diff] [blame] | 382 | |
Selim Cinek | 67b2260 | 2014-03-10 15:40:16 +0100 | [diff] [blame] | 383 | <!-- Z distance between notifications if they are in the stack --> |
Selim Cinek | 277a8aa | 2016-01-22 12:12:37 -0800 | [diff] [blame] | 384 | <dimen name="z_distance_between_notifications">0.5dp</dimen> |
Selim Cinek | 67b2260 | 2014-03-10 15:40:16 +0100 | [diff] [blame] | 385 | |
Selim Cinek | cacc604 | 2016-01-21 16:16:41 -0800 | [diff] [blame] | 386 | <!-- The height of the divider between the individual notifications. --> |
| 387 | <dimen name="notification_divider_height">0.5dp</dimen> |
Jorim Jaggi | fe40f7d | 2014-04-28 15:20:04 +0200 | [diff] [blame] | 388 | |
Anthony Chen | 9fe1ee7 | 2017-04-07 13:53:37 -0700 | [diff] [blame] | 389 | <!-- The corner radius of the shadow behind the notification. --> |
| 390 | <dimen name="notification_shadow_radius">0dp</dimen> |
| 391 | |
Anthony Chen | 6bf88a0 | 2017-04-10 14:41:44 -0700 | [diff] [blame] | 392 | <!-- The alpha of the dividing line between child notifications of a notification group. --> |
| 393 | <item name="notification_divider_alpha" format="float" type="dimen">0.5</item> |
| 394 | |
| 395 | <!-- The height of the divider between the individual notifications in a notification |
| 396 | group. --> |
| 397 | <dimen name="notification_children_container_divider_height">@dimen/notification_divider_height</dimen> |
| 398 | |
Anthony Chen | 6bf88a0 | 2017-04-10 14:41:44 -0700 | [diff] [blame] | 399 | <!-- The top margin for the notification children container in its non-expanded form. --> |
| 400 | <dimen name="notification_children_container_margin_top">@*android:dimen/notification_content_margin_top</dimen> |
| 401 | |
Mady Mellor | b0a8246 | 2016-04-30 17:31:02 -0700 | [diff] [blame] | 402 | <!-- The height of a notification header --> |
| 403 | <dimen name="notification_header_height">53dp</dimen> |
| 404 | |
Selim Cinek | 61633a8 | 2016-01-25 15:54:10 -0800 | [diff] [blame] | 405 | <!-- 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 --> |
| 406 | <dimen name="notification_divider_height_increased">6dp</dimen> |
| 407 | |
Selim Cinek | 1408eb5 | 2014-06-02 14:45:38 +0200 | [diff] [blame] | 408 | <!-- The minimum amount of top overscroll to go to the quick settings. --> |
| 409 | <dimen name="min_top_overscroll_to_qs">36dp</dimen> |
| 410 | |
Selim Cinek | 1e119db | 2014-06-11 20:03:14 +0200 | [diff] [blame] | 411 | <!-- The height of the speed bump view. --> |
| 412 | <dimen name="speed_bump_height">16dp</dimen> |
Selim Cinek | c27437b | 2014-05-14 10:23:33 +0200 | [diff] [blame] | 413 | |
Selim Cinek | 19c8c70 | 2014-08-25 22:09:19 +0200 | [diff] [blame] | 414 | <!-- Lockscreen unlocking falsing threshold. --> |
Selim Cinek | 5386fb3 | 2014-09-03 16:37:36 +0200 | [diff] [blame] | 415 | <dimen name="unlock_falsing_threshold">80dp</dimen> |
Selim Cinek | 19c8c70 | 2014-08-25 22:09:19 +0200 | [diff] [blame] | 416 | |
| 417 | <!-- Lockscreen falsing threshold for quick settings. --> |
Selim Cinek | ff3bf4b | 2015-05-29 05:39:08 -0700 | [diff] [blame] | 418 | <dimen name="qs_falsing_threshold">60dp</dimen> |
Selim Cinek | 19c8c70 | 2014-08-25 22:09:19 +0200 | [diff] [blame] | 419 | |
| 420 | <!-- Falsing threshold used when dismissing notifications from the lockscreen. --> |
Selim Cinek | 5386fb3 | 2014-09-03 16:37:36 +0200 | [diff] [blame] | 421 | <dimen name="swipe_helper_falsing_threshold">70dp</dimen> |
John Spurlock | 73203eb | 2014-04-15 16:14:46 -0400 | [diff] [blame] | 422 | |
Jorim Jaggi | ecbab36 | 2014-04-23 16:13:15 +0200 | [diff] [blame] | 423 | <!-- Minimum distance the user has to drag down to go to the full shade. --> |
| 424 | <dimen name="keyguard_drag_down_min_distance">100dp</dimen> |
Jorim Jaggi | 069cd03 | 2014-05-15 03:09:01 +0200 | [diff] [blame] | 425 | |
| 426 | <!-- The fraction of the screen height where the clock on the Keyguard has its center. The |
| 427 | max value is used when no notifications are displaying, and the min value is when the |
| 428 | highest possible number of notifications are showing. --> |
Lucas Dupin | d285cf0 | 2018-01-18 09:18:23 -0800 | [diff] [blame] | 429 | <fraction name="keyguard_clock_y_fraction_max">45%</fraction> |
Jorim Jaggi | 220bf5c | 2014-06-14 22:43:12 +0200 | [diff] [blame] | 430 | <fraction name="keyguard_clock_y_fraction_min">19.8%</fraction> |
Jorim Jaggi | 069cd03 | 2014-05-15 03:09:01 +0200 | [diff] [blame] | 431 | |
| 432 | <!-- The margin between the clock and the notifications on Keyguard. See |
| 433 | keyguard_clock_height_fraction_* for the difference between min and max.--> |
Lucas Dupin | d285cf0 | 2018-01-18 09:18:23 -0800 | [diff] [blame] | 434 | <dimen name="keyguard_clock_notifications_margin">30dp</dimen> |
Selim Cinek | aac9325 | 2015-04-14 20:04:12 -0700 | [diff] [blame] | 435 | <dimen name="heads_up_scrim_height">250dp</dimen> |
Jorim Jaggi | 069cd03 | 2014-05-15 03:09:01 +0200 | [diff] [blame] | 436 | |
Anthony Chen | 3cb3ad9 | 2016-12-01 10:58:47 -0800 | [diff] [blame] | 437 | <item name="scrim_behind_alpha" format="float" type="dimen">0.62</item> |
| 438 | |
Selim Cinek | 4c6969a | 2014-05-26 19:22:17 +0200 | [diff] [blame] | 439 | <!-- The minimum amount the user needs to swipe to go to the camera / phone. --> |
Selim Cinek | 1dc4065 | 2014-11-12 17:53:52 +0100 | [diff] [blame] | 440 | <dimen name="keyguard_min_swipe_amount">110dp</dimen> |
Selim Cinek | 4c6969a | 2014-05-26 19:22:17 +0200 | [diff] [blame] | 441 | |
Selim Cinek | baa2327 | 2014-07-08 18:01:07 +0200 | [diff] [blame] | 442 | <!-- The minimum background radius when swiping to a side for the camera / phone affordances. --> |
| 443 | <dimen name="keyguard_affordance_min_background_radius">30dp</dimen> |
| 444 | |
Selim Cinek | 6746c28 | 2015-04-21 19:58:31 -0700 | [diff] [blame] | 445 | <!-- The size of the touch targets on the keyguard for the affordances. --> |
Selim Cinek | 60d30d6 | 2015-06-01 18:06:00 +0200 | [diff] [blame] | 446 | <dimen name="keyguard_affordance_touch_target_size">120dp</dimen> |
Selim Cinek | 6746c28 | 2015-04-21 19:58:31 -0700 | [diff] [blame] | 447 | |
Selim Cinek | baa2327 | 2014-07-08 18:01:07 +0200 | [diff] [blame] | 448 | <!-- The grow amount for the camera and phone circles when hinting --> |
| 449 | <dimen name="hint_grow_amount_sideways">60dp</dimen> |
| 450 | |
Jorim Jaggi | 457cc35 | 2014-06-02 22:47:42 +0200 | [diff] [blame] | 451 | <!-- Distance between notifications and header when they are considered to be colliding. --> |
Jorim Jaggi | 3afddce | 2014-08-14 20:44:43 +0200 | [diff] [blame] | 452 | <dimen name="header_notifications_collide_distance">48dp</dimen> |
Jorim Jaggi | 457cc35 | 2014-06-02 22:47:42 +0200 | [diff] [blame] | 453 | |
Jorim Jaggi | 8dd95e0 | 2014-06-03 16:19:33 +0200 | [diff] [blame] | 454 | <!-- Distance the user needs to drag vertically such that a swipe is accepted to unlock the |
| 455 | device. --> |
| 456 | <dimen name="unlock_move_distance">75dp</dimen> |
| 457 | |
Selim Cinek | f54090e | 2014-06-17 17:24:51 -0700 | [diff] [blame] | 458 | <!-- Distance after which the scrim starts fading in when dragging down the quick settings --> |
| 459 | <dimen name="notification_scrim_wait_distance">100dp</dimen> |
| 460 | |
Jorim Jaggi | b3f0a2f | 2014-06-02 19:29:39 +0200 | [diff] [blame] | 461 | <!-- Move distance for the unlock hint animation on the lockscreen --> |
Jorim Jaggi | 9012958 | 2014-06-02 14:44:49 +0200 | [diff] [blame] | 462 | <dimen name="hint_move_distance">75dp</dimen> |
Jorim Jaggi | b3f0a2f | 2014-06-02 19:29:39 +0200 | [diff] [blame] | 463 | |
Jorim Jaggi | b3f0a2f | 2014-06-02 19:29:39 +0200 | [diff] [blame] | 464 | <!-- The width of the region on the left/right edge of the screen for performing the camera/ |
| 465 | phone hints. --> |
| 466 | <dimen name="edge_tap_area_width">48dp</dimen> |
Jorim Jaggi | 80f5e3c | 2014-06-10 22:03:48 +0200 | [diff] [blame] | 467 | |
Selim Cinek | 7b83639 | 2015-12-04 20:02:59 -0800 | [diff] [blame] | 468 | <!-- The padding between notification children when collapsed --> |
| 469 | <dimen name="notification_children_padding">4dp</dimen> |
| 470 | |
| 471 | <!-- The padding on top of the first notification to the children container --> |
| 472 | <dimen name="notification_children_container_top_padding">8dp</dimen> |
Selim Cinek | b5605e5 | 2015-02-20 18:21:41 +0100 | [diff] [blame] | 473 | |
Jorim Jaggi | 129e7ac | 2014-06-10 22:03:48 +0200 | [diff] [blame] | 474 | <!-- end margin for multi user switch in expanded quick settings --> |
| 475 | <dimen name="multi_user_switch_expanded_margin">8dp</dimen> |
Adrian Roos | 8ddb2da | 2014-06-16 18:56:22 -0700 | [diff] [blame] | 476 | |
Jorim Jaggi | 3f48f46 | 2014-07-08 16:53:29 +0200 | [diff] [blame] | 477 | <!-- end margin for multi user switch in collapsed quick settings --> |
| 478 | <dimen name="multi_user_switch_collapsed_margin">13dp</dimen> |
| 479 | |
| 480 | <!-- end margin for multi user switch in collapsed quick settings --> |
| 481 | <dimen name="multi_user_switch_keyguard_margin">3dp</dimen> |
| 482 | |
Adrian Roos | 8ddb2da | 2014-06-16 18:56:22 -0700 | [diff] [blame] | 483 | <!-- end margin for system icons if multi user switch is hidden --> |
| 484 | <dimen name="system_icons_switcher_hidden_expanded_margin">16dp</dimen> |
| 485 | |
| 486 | <!-- The thickness of the colored border around the current user. --> |
| 487 | <dimen name="keyguard_user_switcher_border_thickness">2dp</dimen> |
| 488 | |
John Spurlock | 5e9049a | 2014-07-08 23:40:46 -0400 | [diff] [blame] | 489 | <dimen name="data_usage_graph_marker_width">4dp</dimen> |
Jorim Jaggi | 3f48f46 | 2014-07-08 16:53:29 +0200 | [diff] [blame] | 490 | |
| 491 | <!-- The padding bottom of the clock group when QS is expanded. --> |
| 492 | <dimen name="clock_expanded_bottom_margin">20dp</dimen> |
| 493 | |
Jorim Jaggi | c7dea6e | 2014-07-26 14:36:57 +0200 | [diff] [blame] | 494 | <!-- The padding bottom of the clock group when QS is collapsed. --> |
| 495 | <dimen name="clock_collapsed_bottom_margin">10dp</dimen> |
| 496 | |
Jorim Jaggi | e17c4b4 | 2014-08-26 17:27:31 +0200 | [diff] [blame] | 497 | <!-- The padding bottom of the clock group when QS is collapsed for large text --> |
| 498 | <dimen name="clock_collapsed_bottom_margin_large_text">6dp</dimen> |
| 499 | |
Jorim Jaggi | 3f48f46 | 2014-07-08 16:53:29 +0200 | [diff] [blame] | 500 | <!-- The width of the multi user switch on keyguard and collapsed QS header. --> |
| 501 | <dimen name="multi_user_switch_width_collapsed">34dp</dimen> |
| 502 | |
| 503 | <!-- The width of the multi user switch in expanded QS header. --> |
| 504 | <dimen name="multi_user_switch_width_expanded">48dp</dimen> |
| 505 | |
Jorim Jaggi | 87d84d4 | 2014-07-28 12:14:48 +0200 | [diff] [blame] | 506 | <!-- The width of user avatar when on Keyguard --> |
| 507 | <dimen name="multi_user_switch_width_keyguard">34dp</dimen> |
| 508 | |
Jorim Jaggi | 3f48f46 | 2014-07-08 16:53:29 +0200 | [diff] [blame] | 509 | <!-- The width of user avatar when collapsed --> |
| 510 | <dimen name="multi_user_avatar_collapsed_size">22dp</dimen> |
| 511 | |
Jorim Jaggi | 87d84d4 | 2014-07-28 12:14:48 +0200 | [diff] [blame] | 512 | <!-- The width of user avatar when on Keyguard --> |
| 513 | <dimen name="multi_user_avatar_keyguard_size">22dp</dimen> |
| 514 | |
Adrian Roos | 2b154a9 | 2014-11-17 15:18:39 +0100 | [diff] [blame] | 515 | <!-- The width of user avatar when expanded --> |
Jason Monk | e5b770e | 2017-03-03 21:49:29 -0500 | [diff] [blame] | 516 | <dimen name="multi_user_avatar_expanded_size">16dp</dimen> |
Adrian Roos | 2b154a9 | 2014-11-17 15:18:39 +0100 | [diff] [blame] | 517 | |
Jorim Jaggi | 3f48f46 | 2014-07-08 16:53:29 +0200 | [diff] [blame] | 518 | <!-- The font size of the time when collapsed in QS --> |
| 519 | <dimen name="qs_time_collapsed_size">14sp</dimen> |
Jorim Jaggi | 362dd6d | 2014-07-09 19:04:07 +0200 | [diff] [blame] | 520 | |
| 521 | <!-- The font size of the time when expanded in QS --> |
Jason Monk | 3250885 | 2017-01-18 09:17:13 -0500 | [diff] [blame] | 522 | <dimen name="qs_time_expanded_size">14sp</dimen> |
Jorim Jaggi | d4aafe9 | 2014-07-10 21:00:57 +0200 | [diff] [blame] | 523 | |
Jorim Jaggi | e17c4b4 | 2014-08-26 17:27:31 +0200 | [diff] [blame] | 524 | <!-- The font size of the "emergency calls only" label in QS --> |
| 525 | <dimen name="qs_emergency_calls_only_text_size">12sp</dimen> |
| 526 | |
| 527 | <!-- The font size of the date in QS --> |
| 528 | <dimen name="qs_date_collapsed_size">14sp</dimen> |
Jason Monk | f25e6a1 | 2016-07-13 14:45:52 -0400 | [diff] [blame] | 529 | <!-- Amount the date/time move when emergency calls only is present --> |
| 530 | <dimen name="qs_date_time_translation">8dp</dimen> |
Jorim Jaggi | e17c4b4 | 2014-08-26 17:27:31 +0200 | [diff] [blame] | 531 | |
Dan Sandler | df14c20 | 2017-02-21 14:51:11 -0500 | [diff] [blame] | 532 | <!-- Padding before battery level text in status bar, QS, and Keyguard --> |
| 533 | <dimen name="battery_level_padding_start">4dp</dimen> |
Dan Sandler | 4d75c07 | 2014-07-17 16:01:28 -0400 | [diff] [blame] | 534 | |
Dan Sandler | eceda3d | 2014-07-21 15:35:01 -0400 | [diff] [blame] | 535 | <!-- The top padding of the clear all button --> |
Jorim Jaggi | 2ae259d | 2014-08-04 23:35:47 +0200 | [diff] [blame] | 536 | <dimen name="clear_all_padding_top">12dp</dimen> |
Dan Sandler | eceda3d | 2014-07-21 15:35:01 -0400 | [diff] [blame] | 537 | |
Dan Sandler | 4d75c07 | 2014-07-17 16:01:28 -0400 | [diff] [blame] | 538 | <!-- Largest size an avatar might need to be drawn in the user picker, status bar, or |
| 539 | quick settings header --> |
| 540 | <dimen name="max_avatar_size">48dp</dimen> |
Jorim Jaggi | 87d84d4 | 2014-07-28 12:14:48 +0200 | [diff] [blame] | 541 | |
Evan Rosky | aa7f51f | 2016-03-16 13:15:53 -0700 | [diff] [blame] | 542 | <!-- Size of user icon + frame in the qs/keyguard user picker (incl. frame) --> |
| 543 | <dimen name="framed_avatar_size">54dp</dimen> |
| 544 | |
Jorim Jaggi | 87d84d4 | 2014-07-28 12:14:48 +0200 | [diff] [blame] | 545 | <!-- Margin on the left side of the carrier text on Keyguard --> |
| 546 | <dimen name="keyguard_carrier_text_margin">16dp</dimen> |
| 547 | |
| 548 | <!-- Margin on the left side of the battery % in the header. --> |
Jorim Jaggi | 5172dc2 | 2014-09-02 14:59:06 +0200 | [diff] [blame] | 549 | <dimen name="header_battery_margin_expanded">6dp</dimen> |
Jorim Jaggi | 87d84d4 | 2014-07-28 12:14:48 +0200 | [diff] [blame] | 550 | |
| 551 | <!-- Margin on the left side of the battery % when on Keyguard. --> |
| 552 | <dimen name="header_battery_margin_keyguard">6dp</dimen> |
Jorim Jaggi | 60d07c5 | 2014-07-31 15:38:21 +0200 | [diff] [blame] | 553 | |
Jorim Jaggi | 5172dc2 | 2014-09-02 14:59:06 +0200 | [diff] [blame] | 554 | <!-- Margin on the right side of the system icon group on Keyguard. --> |
| 555 | <dimen name="system_icons_keyguard_padding_end">4dp</dimen> |
| 556 | |
Jorim Jaggi | 60d07c5 | 2014-07-31 15:38:21 +0200 | [diff] [blame] | 557 | <!-- Additional translation (downwards) for appearing notifications when going to the full shade |
| 558 | from Keyguard. --> |
| 559 | <dimen name="go_to_full_shade_appearing_translation">200dp</dimen> |
Jorim Jaggi | f479792 | 2014-08-04 22:49:41 +0200 | [diff] [blame] | 560 | |
Selim Cinek | 92d892c | 2014-09-11 15:11:00 +0200 | [diff] [blame] | 561 | <!-- The diameter of the search panel circle. --> |
Jorim Jaggi | 2fdeeab | 2015-04-01 15:13:03 -0700 | [diff] [blame] | 562 | <dimen name="assist_orb_size">144dp</dimen> |
Jorim Jaggi | f479792 | 2014-08-04 22:49:41 +0200 | [diff] [blame] | 563 | |
Jorim Jaggi | 2fdeeab | 2015-04-01 15:13:03 -0700 | [diff] [blame] | 564 | <!-- The margin to the edge of the screen from where the orb starts to appear --> |
| 565 | <dimen name="assist_orb_base_margin">22dp</dimen> |
Selim Cinek | 92d892c | 2014-09-11 15:11:00 +0200 | [diff] [blame] | 566 | |
Jorim Jaggi | 2fdeeab | 2015-04-01 15:13:03 -0700 | [diff] [blame] | 567 | <!-- The amount the orb translates when appearing --> |
| 568 | <dimen name="assist_orb_travel_distance">26dp</dimen> |
Selim Cinek | 92d892c | 2014-09-11 15:11:00 +0200 | [diff] [blame] | 569 | |
Jorim Jaggi | 2fdeeab | 2015-04-01 15:13:03 -0700 | [diff] [blame] | 570 | <!-- The elevation of the orb --> |
| 571 | <dimen name="assist_orb_elevation">12dp</dimen> |
Selim Cinek | 92d892c | 2014-09-11 15:11:00 +0200 | [diff] [blame] | 572 | |
Jorim Jaggi | 2fdeeab | 2015-04-01 15:13:03 -0700 | [diff] [blame] | 573 | <!-- The height of the scrim behind the orb. --> |
| 574 | <dimen name="assist_orb_scrim_height">250dp</dimen> |
Jorim Jaggi | f479792 | 2014-08-04 22:49:41 +0200 | [diff] [blame] | 575 | |
Jorim Jaggi | 2fdeeab | 2015-04-01 15:13:03 -0700 | [diff] [blame] | 576 | <!-- The height of the scrim behind the search panel circle. Should be navigation_bar_height |
| 577 | + 8dp. --> |
| 578 | <dimen name="assist_orb_navbar_scrim_height">56dp</dimen> |
Jorim Jaggi | 9cf1f37 | 2014-08-05 19:17:42 +0200 | [diff] [blame] | 579 | |
Adrian Roos | 72cc370 | 2014-09-18 17:25:09 +0200 | [diff] [blame] | 580 | <!-- The width/height of the phone/camera/unlock icon view on keyguard. --> |
Jorim Jaggi | 9cf1f37 | 2014-08-05 19:17:42 +0200 | [diff] [blame] | 581 | <dimen name="keyguard_affordance_height">56dp</dimen> |
| 582 | <dimen name="keyguard_affordance_width">56dp</dimen> |
Jorim Jaggi | e210cc8 | 2014-08-12 23:44:59 +0200 | [diff] [blame] | 583 | |
Adrian Roos | 72cc370 | 2014-09-18 17:25:09 +0200 | [diff] [blame] | 584 | <!-- The width/height of the phone/camera/unlock icon drawable on keyguard. --> |
| 585 | <dimen name="keyguard_affordance_icon_height">24dp</dimen> |
| 586 | <dimen name="keyguard_affordance_icon_width">24dp</dimen> |
| 587 | |
Jorim Jaggi | e210cc8 | 2014-08-12 23:44:59 +0200 | [diff] [blame] | 588 | <dimen name="keyguard_indication_margin_bottom">65dp</dimen> |
Lucas Dupin | 4dfd432 | 2018-01-23 16:52:58 -0800 | [diff] [blame] | 589 | <dimen name="keyguard_indication_margin_bottom_ambient">16dp</dimen> |
Jorim Jaggi | e210cc8 | 2014-08-12 23:44:59 +0200 | [diff] [blame] | 590 | |
| 591 | <!-- The text size for battery level --> |
| 592 | <dimen name="battery_level_text_size">12sp</dimen> |
Adrian Roos | 2e3ccbb | 2014-08-19 22:23:37 +0200 | [diff] [blame] | 593 | |
| 594 | <!-- TrustDrawable: Minimum inner radius of the breathing animation --> |
| 595 | <dimen name="trust_circle_inner_radius_visible_min">22dp</dimen> |
| 596 | <!-- TrustDrawable: Maximum inner radius of the breathing animation --> |
| 597 | <dimen name="trust_circle_inner_radius_visible_max">24dp</dimen> |
| 598 | <!-- TrustDrawable: Inner radius at the end of the exit animation --> |
| 599 | <dimen name="trust_circle_inner_radius_exit">38dp</dimen> |
| 600 | <!-- TrustDrawable: Inner radius at the beginning of the enter animation --> |
| 601 | <dimen name="trust_circle_inner_radius_enter">18dp</dimen> |
| 602 | <!-- TrustDrawable: Thickness of the circle --> |
| 603 | <dimen name="trust_circle_thickness">2dp</dimen> |
| 604 | |
Adrian Roos | 9f0b002 | 2016-11-09 15:56:50 -0800 | [diff] [blame] | 605 | <!-- How much two taps can be apart to still be recognized as a double tap on the lockscreen --> |
| 606 | <dimen name="double_tap_slop">32dp</dimen> |
| 607 | |
Jorim Jaggi | a0221f3 | 2014-09-03 16:29:39 +0200 | [diff] [blame] | 608 | <dimen name="battery_margin_bottom">0dp</dimen> |
Jorim Jaggi | c737b9b | 2014-09-08 23:57:20 +0200 | [diff] [blame] | 609 | |
Anthony Chen | e87032c | 2016-02-09 07:42:25 -0800 | [diff] [blame] | 610 | <!-- Padding at the end of the view that displays the mobile signal icons. If the view is |
| 611 | empty, then this padding will not be added to that view. --> |
| 612 | <dimen name="mobile_signal_group_end_padding">0dp</dimen> |
| 613 | |
| 614 | <!-- Padding between the mobile data type and the strength indicator. --> |
| 615 | <dimen name="mobile_data_icon_start_padding">0dp</dimen> |
| 616 | |
Jorim Jaggi | c737b9b | 2014-09-08 23:57:20 +0200 | [diff] [blame] | 617 | <!-- Extra padding between the mobile data type icon and the strength indicator when the data |
| 618 | type icon is wide. --> |
| 619 | <dimen name="wide_type_icon_start_padding">2dp</dimen> |
| 620 | |
Jason Monk | b574627 | 2014-11-12 16:50:31 -0500 | [diff] [blame] | 621 | <!-- Extra padding between multiple phone signal icons. --> |
| 622 | <dimen name="secondary_telephony_padding">2dp</dimen> |
| 623 | |
Jorim Jaggi | c737b9b | 2014-09-08 23:57:20 +0200 | [diff] [blame] | 624 | <!-- Extra padding between the mobile data type icon and the strength indicator when the data |
| 625 | type icon is wide for the tile in quick settings. --> |
| 626 | <dimen name="wide_type_icon_start_padding_qs">3dp</dimen> |
Jorim Jaggi | 072707d | 2014-09-15 17:20:08 +0200 | [diff] [blame] | 627 | |
Rohan Shah | 28191fc | 2018-01-16 14:28:55 -0800 | [diff] [blame] | 628 | <dimen name="signal_indicator_to_icon_frame_spacing">3dp</dimen> |
| 629 | |
Jorim Jaggi | 072707d | 2014-09-15 17:20:08 +0200 | [diff] [blame] | 630 | <!-- The maximum width of the navigation bar ripples. --> |
| 631 | <dimen name="key_button_ripple_max_width">95dp</dimen> |
Xiyuan Xia | 1b30f79 | 2016-01-06 08:50:30 -0800 | [diff] [blame] | 632 | |
Jorim Jaggi | cb55703 | 2014-09-16 23:09:24 +0200 | [diff] [blame] | 633 | <!-- Inset shadow for FakeShadowDrawable. It is used to avoid gaps between the card |
| 634 | and the shadow. --> |
| 635 | <dimen name="fake_shadow_inset">1dp</dimen> |
| 636 | |
| 637 | <dimen name="fake_shadow_size">8dp</dimen> |
Jorim Jaggi | 6d035f1 | 2014-10-17 18:43:43 +0200 | [diff] [blame] | 638 | |
Anthony Chen | 55e8e1e | 2016-01-08 10:31:46 -0800 | [diff] [blame] | 639 | <!-- Starting margin before the signal cluster --> |
| 640 | <dimen name="signal_cluster_margin_start">2.5dp</dimen> |
| 641 | |
Jorim Jaggi | 6d035f1 | 2014-10-17 18:43:43 +0200 | [diff] [blame] | 642 | <!-- Padding between signal cluster and battery icon --> |
| 643 | <dimen name="signal_cluster_battery_padding">7dp</dimen> |
| 644 | |
| 645 | <!-- Padding for signal cluster and battery icon when there are not icons in signal cluster --> |
| 646 | <dimen name="no_signal_cluster_battery_padding">3dp</dimen> |
Jason Monk | 18f99d9 | 2014-09-11 13:36:42 -0400 | [diff] [blame] | 647 | |
| 648 | <!-- Screen pinning request width --> |
| 649 | <dimen name="screen_pinning_request_width">@dimen/match_parent</dimen> |
| 650 | <!-- Screen pinning request nav button circle heights --> |
| 651 | <dimen name="screen_pinning_request_button_height">66dp</dimen> |
| 652 | <!-- Screen pinning request nav button circle widths --> |
| 653 | <dimen name="screen_pinning_request_button_width">84dp</dimen> |
| 654 | <!-- Screen pinning request padding on top of inner circle --> |
| 655 | <dimen name="screen_pinning_request_inner_padding">14dp</dimen> |
Jason Monk | e763a26 | 2017-03-28 16:25:08 -0400 | [diff] [blame] | 656 | <!-- Screen pinning request seascape negative padding --> |
| 657 | <dimen name="screen_pinning_request_seascape_padding_negative">-18dp</dimen> |
| 658 | <!-- Screen pinning request seascape button offset --> |
| 659 | <dimen name="screen_pinning_request_seascape_button_offset">-4dp</dimen> |
Jason Monk | 18f99d9 | 2014-09-11 13:36:42 -0400 | [diff] [blame] | 660 | <!-- Screen pinning request padding on top of icons --> |
| 661 | <dimen name="screen_pinning_request_nav_icon_padding">18dp</dimen> |
| 662 | <!-- Screen pinning request padding on side of icons |
| 663 | (makes the width match the nav bar)--> |
| 664 | <dimen name="screen_pinning_request_nav_side_padding">7dp</dimen> |
| 665 | <!-- Screen pinning request side views to match nav bar |
| 666 | navigation_side_padding - 3 / 2 * (screen_pinning_request_button_width |
| 667 | - navigation_key_width) --> |
| 668 | <dimen name="screen_pinning_request_side_width">34dp</dimen> |
| 669 | <!-- Screen pinning request controls padding on bigger screens --> |
| 670 | <dimen name="screen_pinning_request_frame_padding">0dp</dimen> |
| 671 | <!-- Screen pinning inner nav bar circle size --> |
| 672 | <dimen name="screen_pinning_nav_highlight_size">56dp</dimen> |
| 673 | <!-- Screen pinning inner nav bar outer circle size --> |
| 674 | <dimen name="screen_pinning_nav_highlight_outer_size">84dp</dimen> |
| 675 | |
Jorim Jaggi | 27c9b74 | 2015-04-09 10:34:49 -0700 | [diff] [blame] | 676 | <!-- Padding to be used on the bottom of the fingerprint icon on Keyguard so it better aligns |
| 677 | with the other icons. --> |
Jorim Jaggi | 29cf9ae | 2015-07-17 12:00:34 -0700 | [diff] [blame] | 678 | <dimen name="fingerprint_icon_additional_padding">4dp</dimen> |
Jorim Jaggi | 6d4a27f | 2015-04-20 16:01:53 -0700 | [diff] [blame] | 679 | |
| 680 | <!-- Minimum margin of the notification panel on the side, when being positioned dynamically --> |
| 681 | <dimen name="notification_panel_min_side_margin">48dp</dimen> |
John Spurlock | d9c75db | 2015-04-28 11:19:13 -0400 | [diff] [blame] | 682 | |
| 683 | <!-- Vertical spacing between multiple volume slider rows --> |
| 684 | <dimen name="volume_slider_interspacing">8dp</dimen> |
| 685 | |
| 686 | <!-- Volume dialog vertical offset from the top of the screen --> |
| 687 | <dimen name="volume_offset_top">0dp</dimen> |
| 688 | |
| 689 | <!-- Standard image button size for volume dialog buttons --> |
| 690 | <dimen name="volume_button_size">48dp</dimen> |
Kenny Guy | 63bf8ac | 2015-06-18 15:09:09 +0100 | [diff] [blame] | 691 | |
John Spurlock | 22def3d | 2015-06-17 11:56:12 -0400 | [diff] [blame] | 692 | <!-- Volume dialog root view bottom margin, at rest --> |
| 693 | <dimen name="volume_dialog_margin_bottom">4dp</dimen> |
Julia Reynolds | 027c749 | 2017-02-15 15:41:14 -0500 | [diff] [blame] | 694 | <dimen name="volume_dialog_padding_top">8dp</dimen> |
Julia Reynolds | 5f83c85 | 2016-06-15 12:53:31 -0400 | [diff] [blame] | 695 | <dimen name="volume_dialog_padding_end">40dp</dimen> |
| 696 | |
| 697 | <dimen name="volume_row_padding_bottom">9.4dp</dimen> |
| 698 | <dimen name="volume_row_padding_start">4dp</dimen> |
| 699 | <dimen name="volume_row_header_padding_start">16dp</dimen> |
| 700 | <dimen name="volume_row_height">64dp</dimen> |
| 701 | <dimen name="volume_row_slider_height">48dp</dimen> |
| 702 | <dimen name="volume_row_slider_padding_start">12dp</dimen> |
| 703 | |
| 704 | <dimen name="volume_expander_margin_end">2dp</dimen> |
| 705 | <dimen name="volume_expander_margin_top">6dp</dimen> |
John Spurlock | 22def3d | 2015-06-17 11:56:12 -0400 | [diff] [blame] | 706 | |
Kenny Guy | 63bf8ac | 2015-06-18 15:09:09 +0100 | [diff] [blame] | 707 | <!-- Padding between icon and text for managed profile toast --> |
| 708 | <dimen name="managed_profile_toast_padding">4dp</dimen> |
Adrian Roos | 4f43dc0 | 2015-06-17 16:43:38 -0700 | [diff] [blame] | 709 | |
| 710 | <!-- Thickness of the assist disclosure beams --> |
Jorim Jaggi | eea8be5 | 2015-07-14 12:44:12 -0700 | [diff] [blame] | 711 | <dimen name="assist_disclosure_thickness">2.5dp</dimen> |
Adrian Roos | 4f43dc0 | 2015-06-17 16:43:38 -0700 | [diff] [blame] | 712 | |
| 713 | <!-- Thickness of the shadows of the assist disclosure beams --> |
| 714 | <dimen name="assist_disclosure_shadow_thickness">1.5dp</dimen> |
Jason Monk | 2681dcb | 2015-09-09 13:50:34 -0400 | [diff] [blame] | 715 | |
| 716 | <dimen name="fab_size">56dp</dimen> |
| 717 | <dimen name="fab_margin">16dp</dimen> |
| 718 | <dimen name="fab_elevation">12dp</dimen> |
| 719 | <dimen name="fab_press_translation_z">9dp</dimen> |
Jason Monk | c34befb | 2015-10-07 16:40:02 -0400 | [diff] [blame] | 720 | |
Jorim Jaggi | 1fcbab6 | 2015-11-04 16:39:50 +0100 | [diff] [blame] | 721 | <!-- How high we lift the divider when touching --> |
Jorim Jaggi | 79b39f0 | 2015-12-17 20:04:31 -0800 | [diff] [blame] | 722 | <dimen name="docked_stack_divider_lift_elevation">4dp</dimen> |
Jorim Jaggi | 1fcbab6 | 2015-11-04 16:39:50 +0100 | [diff] [blame] | 723 | |
Jorim Jaggi | 79b39f0 | 2015-12-17 20:04:31 -0800 | [diff] [blame] | 724 | <dimen name="docked_divider_handle_width">16dp</dimen> |
Jorim Jaggi | 1fcbab6 | 2015-11-04 16:39:50 +0100 | [diff] [blame] | 725 | <dimen name="docked_divider_handle_height">2dp</dimen> |
Jason Monk | eae7c31 | 2016-02-04 13:00:48 -0500 | [diff] [blame] | 726 | |
Jason Monk | 96ab636 | 2016-02-11 11:33:09 -0500 | [diff] [blame] | 727 | <dimen name="battery_detail_graph_space_top">27dp</dimen> |
| 728 | <dimen name="battery_detail_graph_space_bottom">27dp</dimen> |
Andrei Stingaceanu | 844927d | 2016-02-16 14:31:58 +0000 | [diff] [blame] | 729 | |
| 730 | <!-- Keyboard shortcuts helper --> |
| 731 | <dimen name="ksh_layout_width">@dimen/match_parent</dimen> |
Andrei Stingaceanu | d151910 | 2016-03-31 15:53:33 +0100 | [diff] [blame] | 732 | <dimen name="ksh_item_text_size">14sp</dimen> |
| 733 | <dimen name="ksh_item_padding">4dp</dimen> |
| 734 | <dimen name="ksh_item_margin_start">4dp</dimen> |
Winson | 59924fe | 2016-03-17 14:13:18 -0700 | [diff] [blame] | 735 | |
| 736 | <!-- Recents Layout --> |
| 737 | |
| 738 | <!-- The amount to inset the stack, specifically at the top and the other sides. We also |
| 739 | don't want this to change across configurations that Recents can be opened in, so we |
| 740 | define them statically for all display sizes. --> |
| 741 | <dimen name="recents_layout_min_margin">16dp</dimen> |
| 742 | <dimen name="recents_layout_top_margin_phone">16dp</dimen> |
| 743 | <dimen name="recents_layout_top_margin_tablet">32dp</dimen> |
| 744 | <dimen name="recents_layout_top_margin_tablet_xlarge">40dp</dimen> |
| 745 | <dimen name="recents_layout_bottom_margin">16dp</dimen> |
| 746 | <dimen name="recents_layout_side_margin_phone">16dp</dimen> |
| 747 | <dimen name="recents_layout_side_margin_tablet">48dp</dimen> |
Winson | 3b6ba1a | 2016-03-22 15:37:54 -0700 | [diff] [blame] | 748 | <dimen name="recents_layout_side_margin_tablet_docked">16dp</dimen> |
Winson | 59924fe | 2016-03-17 14:13:18 -0700 | [diff] [blame] | 749 | <dimen name="recents_layout_side_margin_tablet_xlarge">64dp</dimen> |
Winson | 3b6ba1a | 2016-03-22 15:37:54 -0700 | [diff] [blame] | 750 | <dimen name="recents_layout_side_margin_tablet_xlarge_docked">16dp</dimen> |
Winson | 59924fe | 2016-03-17 14:13:18 -0700 | [diff] [blame] | 751 | |
Winson | 59924fe | 2016-03-17 14:13:18 -0700 | [diff] [blame] | 752 | <!-- The height between the top margin and the top of the focused task. --> |
Winson | 3b6ba1a | 2016-03-22 15:37:54 -0700 | [diff] [blame] | 753 | <dimen name="recents_layout_top_peek_size">48dp</dimen> |
Winson | 59924fe | 2016-03-17 14:13:18 -0700 | [diff] [blame] | 754 | <!-- The height between the bottom margin and the top of task in front of the focused task. --> |
| 755 | <dimen name="recents_layout_bottom_peek_size">56dp</dimen> |
| 756 | |
| 757 | <!-- The offset from the top and bottom of the stack of the focused task. The bottom offset |
| 758 | will be additionally offset by the bottom system insets since it goes under the nav bar |
| 759 | in certain orientations. --> |
| 760 | <dimen name="recents_layout_initial_top_offset_phone_port">128dp</dimen> |
| 761 | <dimen name="recents_layout_initial_bottom_offset_phone_port">80dp</dimen> |
| 762 | <dimen name="recents_layout_initial_top_offset_phone_land">72dp</dimen> |
| 763 | <dimen name="recents_layout_initial_bottom_offset_phone_land">72dp</dimen> |
| 764 | <dimen name="recents_layout_initial_top_offset_tablet">160dp</dimen> |
| 765 | <dimen name="recents_layout_initial_bottom_offset_tablet">112dp</dimen> |
| 766 | |
| 767 | <!-- The min/max translationZ for the tasks in the stack. --> |
| 768 | <dimen name="recents_layout_z_min">3dp</dimen> |
| 769 | <dimen name="recents_layout_z_max">24dp</dimen> |
| 770 | |
Jaewan Kim | 419c895 | 2016-04-11 15:43:36 +0900 | [diff] [blame] | 771 | <!-- The margin between the freeform and stack. We also don't want this to change across |
| 772 | configurations that Recents can be opened in, so we define them statically for all |
Winson | 59924fe | 2016-03-17 14:13:18 -0700 | [diff] [blame] | 773 | display sizes. --> |
| 774 | <dimen name="recents_freeform_layout_bottom_margin">16dp</dimen> |
| 775 | |
| 776 | <!-- The padding between each freeform task. --> |
| 777 | <dimen name="recents_freeform_layout_task_padding">8dp</dimen> |
| 778 | |
| 779 | <!-- Recents Views --> |
| 780 | |
Winson | 2170093 | 2016-03-24 17:26:23 -0700 | [diff] [blame] | 781 | <!-- The height of a task view bar. This has to be large enough to cover the action bar |
| 782 | height in either orientation at this smallest width. --> |
Winson | 59924fe | 2016-03-17 14:13:18 -0700 | [diff] [blame] | 783 | <dimen name="recents_task_view_header_height">56dp</dimen> |
Winson | 2170093 | 2016-03-24 17:26:23 -0700 | [diff] [blame] | 784 | <dimen name="recents_task_view_header_height_tablet_land">64dp</dimen> |
Winson | 59924fe | 2016-03-17 14:13:18 -0700 | [diff] [blame] | 785 | |
Winson | 2170093 | 2016-03-24 17:26:23 -0700 | [diff] [blame] | 786 | <!-- The padding of a button in the recents task view header. --> |
| 787 | <dimen name="recents_task_view_header_button_padding">16dp</dimen> |
| 788 | <dimen name="recents_task_view_header_button_padding_tablet_land">20dp</dimen> |
Winson | 59924fe | 2016-03-17 14:13:18 -0700 | [diff] [blame] | 789 | |
| 790 | <!-- The radius of the rounded corners on a task view and its shadow (which can be larger |
| 791 | to create a softer corner effect. --> |
| 792 | <dimen name="recents_task_view_rounded_corners_radius">2dp</dimen> |
| 793 | <dimen name="recents_task_view_shadow_rounded_corners_radius">6dp</dimen> |
| 794 | |
| 795 | <!-- The amount of highlight to make on each task view. --> |
| 796 | <dimen name="recents_task_view_highlight">1dp</dimen> |
| 797 | |
| 798 | <!-- The size of the lock-to-app button and its icon. --> |
| 799 | <dimen name="recents_lock_to_app_size">56dp</dimen> |
| 800 | <dimen name="recents_lock_to_app_icon_size">28dp</dimen> |
| 801 | |
| 802 | <!-- The amount of overscroll allowed when flinging to the end of the stack. --> |
| 803 | <dimen name="recents_fling_overscroll_distance">24dp</dimen> |
| 804 | |
Winson | 99ef458 | 2016-04-18 16:57:27 -0700 | [diff] [blame] | 805 | <!-- The size of the drag hint text. --> |
| 806 | <dimen name="recents_drag_hint_text_size">14sp</dimen> |
| 807 | |
Winson | 59924fe | 2016-03-17 14:13:18 -0700 | [diff] [blame] | 808 | <!-- The min alpha to apply to a task affiliation group color. --> |
| 809 | <item name="recents_task_affiliation_color_min_alpha_percentage" format="float" type="dimen">0.6</item> |
| 810 | |
| 811 | <!-- The amount to offset when animating into an affiliate group. --> |
| 812 | <dimen name="recents_task_stack_animation_affiliate_enter_offset">32dp</dimen> |
| 813 | |
| 814 | <!-- The offsets the tasks animate from when recents is launched while docking --> |
| 815 | <dimen name="recents_task_stack_animation_launched_while_docking_offset">144dp</dimen> |
| 816 | |
| 817 | <!-- The amount to translate when animating the removal of a task. --> |
| 818 | <dimen name="recents_task_view_remove_anim_translation_x">100dp</dimen> |
Jaewan Kim | 419c895 | 2016-04-11 15:43:36 +0900 | [diff] [blame] | 819 | |
| 820 | <!-- The alpha to apply to the recents row when it doesn't have focus --> |
| 821 | <item name="recents_recents_row_dim_alpha" format="float" type="dimen">0.5</item> |
Winson | 73bc159 | 2016-10-18 18:47:43 -0700 | [diff] [blame] | 822 | |
Jorim Jaggi | 6f9dbcb | 2017-03-17 17:22:47 +0100 | [diff] [blame] | 823 | <!-- The speed in dp/s at which the user needs to be scrolling in recents such that we start |
| 824 | loading full resolution screenshots. --> |
| 825 | <dimen name="recents_fast_fling_velocity">600dp</dimen> |
| 826 | |
Mady Mellor | 60421c9 | 2017-03-29 15:27:37 -0700 | [diff] [blame] | 827 | <!-- The height of the gradient indicating the dismiss edge when moving a PIP. --> |
Mady Mellor | d3e90ea | 2017-05-09 13:20:56 -0700 | [diff] [blame] | 828 | <dimen name="pip_dismiss_gradient_height">176dp</dimen> |
Mady Mellor | 60421c9 | 2017-03-29 15:27:37 -0700 | [diff] [blame] | 829 | |
| 830 | <!-- The bottom margin of the PIP drag to dismiss info text shown when moving a PIP. --> |
Mady Mellor | b91efb8 | 2017-04-13 17:20:15 -0700 | [diff] [blame] | 831 | <dimen name="pip_dismiss_text_bottom_margin">24dp</dimen> |
Manu Cornet | c733803 | 2016-12-13 17:32:20 +0000 | [diff] [blame] | 832 | |
Mady Mellor | a7f6974 | 2017-02-03 11:00:20 -0800 | [diff] [blame] | 833 | <!-- The shortest-edge size of the expanded PiP. --> |
| 834 | <dimen name="pip_expanded_shortest_edge_size">160dp</dimen> |
| 835 | |
Winson Chung | 136d1ec8 | 2017-07-18 11:16:30 -0700 | [diff] [blame] | 836 | <!-- The additional offset to apply to the IME animation to account for the input field. --> |
| 837 | <dimen name="pip_ime_offset">48dp</dimen> |
| 838 | |
Mady Mellor | a7f6974 | 2017-02-03 11:00:20 -0800 | [diff] [blame] | 839 | <!-- The padding between actions in the PiP in landscape Note that the PiP does not reflect |
| 840 | the configuration of the device, so we can't use -land resources. --> |
| 841 | <dimen name="pip_between_action_padding_land">8dp</dimen> |
| 842 | |
Winson Chung | e7a3d22 | 2017-03-09 13:26:45 -0800 | [diff] [blame] | 843 | <!-- The height of the PiP actions container in which the actions are vertically centered. --> |
| 844 | <dimen name="pip_action_size">48dp</dimen> |
| 845 | |
| 846 | <!-- The padding around a PiP actions. --> |
| 847 | <dimen name="pip_action_padding">12dp</dimen> |
| 848 | |
| 849 | <!-- The bottom margin of the expand container when there are actions. |
| 850 | Equal to pip_action_size - pip_action_padding. --> |
Winson Chung | 9a352b6 | 2017-05-11 15:24:13 -0700 | [diff] [blame] | 851 | <dimen name="pip_expand_container_edge_margin">30dp</dimen> |
Winson Chung | e7a3d22 | 2017-03-09 13:26:45 -0800 | [diff] [blame] | 852 | |
Jason Monk | e5b770e | 2017-03-03 21:49:29 -0500 | [diff] [blame] | 853 | <dimen name="default_gear_space">18dp</dimen> |
| 854 | <dimen name="cell_overlay_padding">18dp</dimen> |
| 855 | |
Jason Monk | 48edc0c | 2017-04-10 15:01:27 -0400 | [diff] [blame] | 856 | <dimen name="signal_icon_size">17dp</dimen> |
| 857 | |
Jason Monk | 16fbd9d | 2017-04-27 14:28:49 -0400 | [diff] [blame] | 858 | <dimen name="hwui_edge_margin">16dp</dimen> |
| 859 | |
Jason Monk | 4e04e49 | 2017-07-11 11:07:08 -0400 | [diff] [blame] | 860 | <dimen name="global_actions_panel_width">120dp</dimen> |
Jason Monk | 16fbd9d | 2017-04-27 14:28:49 -0400 | [diff] [blame] | 861 | |
Jason Monk | 4e04e49 | 2017-07-11 11:07:08 -0400 | [diff] [blame] | 862 | <dimen name="global_actions_top_padding">120dp</dimen> |
Jason Monk | 16fbd9d | 2017-04-27 14:28:49 -0400 | [diff] [blame] | 863 | |
Adrian Roos | 4fc6de8 | 2017-06-01 16:09:15 -0700 | [diff] [blame] | 864 | <!-- the maximum offset in either direction that elements are moved horizontally to prevent |
| 865 | burn-in on AOD --> |
| 866 | <dimen name="burn_in_prevention_offset_x">8dp</dimen> |
| 867 | |
| 868 | <!-- the maximum offset in either direction that elements are moved vertically to prevent |
| 869 | burn-in on AOD --> |
| 870 | <dimen name="burn_in_prevention_offset_y">50dp</dimen> |
| 871 | |
Adrian Roos | 7f91072 | 2017-07-12 19:15:59 +0200 | [diff] [blame] | 872 | <!-- padding between the notification stack and the keyguard status view when dozing --> |
Lucas Dupin | d285cf0 | 2018-01-18 09:18:23 -0800 | [diff] [blame] | 873 | <dimen name="dozing_stack_padding">30dp</dimen> |
Adrian Roos | 7f91072 | 2017-07-12 19:15:59 +0200 | [diff] [blame] | 874 | |
Jason Monk | 16fbd9d | 2017-04-27 14:28:49 -0400 | [diff] [blame] | 875 | <dimen name="corner_size">16dp</dimen> |
| 876 | <dimen name="top_padding">0dp</dimen> |
| 877 | <dimen name="bottom_padding">48dp</dimen> |
| 878 | <dimen name="edge_margin">16dp</dimen> |
Jason Monk | d4afe15 | 2017-05-01 15:37:43 -0400 | [diff] [blame] | 879 | |
| 880 | <dimen name="rounded_corner_radius">0dp</dimen> |
Jason Monk | d9c6ced | 2017-08-30 17:35:27 -0400 | [diff] [blame] | 881 | <dimen name="rounded_corner_content_padding">0dp</dimen> |
| 882 | <dimen name="nav_content_padding">0dp</dimen> |
Matthew Ng | 984e7ee | 2018-01-17 17:18:13 -0800 | [diff] [blame] | 883 | <dimen name="nav_quick_scrub_track_edge_padding">42dp</dimen> |
Matthew Ng | a8f2426 | 2017-12-19 11:54:24 -0800 | [diff] [blame] | 884 | <dimen name="nav_quick_scrub_track_thickness">2dp</dimen> |
Jason Monk | d4afe15 | 2017-05-01 15:37:43 -0400 | [diff] [blame] | 885 | |
Evan Laird | ada8432 | 2017-06-01 14:47:27 -0400 | [diff] [blame] | 886 | <!-- Intended corner radius when drawing the mobile signal --> |
| 887 | <dimen name="stat_sys_mobile_signal_corner_radius">0.75dp</dimen> |
Evan Laird | b838999 | 2017-06-14 11:35:14 -0400 | [diff] [blame] | 888 | <!-- How far to inset the rounded edges --> |
| 889 | <dimen name="stat_sys_mobile_signal_circle_inset">0.9dp</dimen> |
Evan Laird | ada8432 | 2017-06-01 14:47:27 -0400 | [diff] [blame] | 890 | |
Jason Monk | 3c9ac1e | 2017-08-31 10:50:05 -0400 | [diff] [blame] | 891 | <!-- Home button padding for sizing --> |
| 892 | <dimen name="home_padding">15dp</dimen> |
| 893 | |
Petr Cermak | ed7429c | 2017-12-18 19:38:04 +0000 | [diff] [blame] | 894 | <!-- Smart reply button --> |
| 895 | <dimen name="smart_reply_button_corner_radius">24dip</dimen> |
| 896 | <dimen name="smart_reply_button_spacing">8dp</dimen> |
| 897 | <dimen name="smart_reply_button_padding_vertical">4dp</dimen> |
| 898 | <dimen name="smart_reply_button_font_size">14sp</dimen> |
Kevin Chyn | 42653e8 | 2018-01-19 14:15:46 -0800 | [diff] [blame] | 899 | |
| 900 | <dimen name="fingerprint_dialog_icon_size">44dp</dimen> |
| 901 | <dimen name="fingerprint_dialog_fp_icon_size">60dp</dimen> |
Kevin Chyn | e8f3e1b | 2018-01-23 17:33:58 -0800 | [diff] [blame] | 902 | <dimen name="fingerprint_dialog_animation_translation_offset">350dp</dimen> |
Beverly | ae79ab9 | 2017-12-11 09:20:02 -0500 | [diff] [blame] | 903 | |
| 904 | <!-- WirelessCharging Animation values --> |
| 905 | <!-- Starting text size of batteryLevel for wireless charging animation --> |
| 906 | <dimen name="config_batteryLevelTextSizeStart" format="float">5.0</dimen> |
| 907 | <!-- Ending text size of batteryLevel for wireless charging animation --> |
| 908 | <dimen name="config_batteryLevelTextSizeEnd" format="float">32.0</dimen> |
| 909 | <!-- Wireless Charging battery level text animation duration --> |
| 910 | <integer name="config_batteryLevelTextAnimationDuration">400</integer> |
Beverly | 8c78589 | 2018-01-31 17:25:52 -0500 | [diff] [blame] | 911 | |
| 912 | <!-- Wired charging on AOD, text animation duration --> |
| 913 | <integer name="wired_charging_aod_text_animation_duration_down">500</integer> |
| 914 | <!-- Wired charging on AOD, text animation duration --> |
| 915 | <integer name="wired_charging_aod_text_animation_duration_up">300</integer> |
| 916 | <!-- Wired charging on AOD, text animation distance --> |
| 917 | <integer name="wired_charging_aod_text_animation_distance">-30</integer> |
Daniel Sandler | 26c84b1 | 2011-07-27 00:09:40 -0400 | [diff] [blame] | 918 | </resources> |