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> |
Matthew Ng | b831fb4 | 2019-01-30 11:20:48 -0800 | [diff] [blame] | 26 | <dimen name="navigation_bar_default_edge_height">500dp</dimen> |
Daniel Sandler | 41006aa | 2011-06-29 15:10:49 -0400 | [diff] [blame] | 27 | |
| 28 | <!-- thickness (height) of the dead zone at the top of the navigation bar, |
| 29 | reducing false presses on navbar buttons; approx 2mm --> |
| 30 | <dimen name="navigation_bar_deadzone_size">12dp</dimen> |
Daniel Sandler | c26185b | 2012-08-29 15:49:53 -0400 | [diff] [blame] | 31 | <!-- size of the dead zone when touches have recently occurred elsewhere on screen --> |
| 32 | <dimen name="navigation_bar_deadzone_size_max">32dp</dimen> |
Daniel Sandler | d42497e | 2011-06-04 00:32:50 -0400 | [diff] [blame] | 33 | |
Matthew Ng | b55c02c | 2019-02-15 16:20:31 -0800 | [diff] [blame] | 34 | <!-- dimensions for the navigation bar handle --> |
Matthew Ng | cdaf56b | 2019-03-13 13:54:01 -0700 | [diff] [blame] | 35 | <dimen name="navigation_handle_radius">1dp</dimen> |
| 36 | <dimen name="navigation_handle_bottom">6dp</dimen> |
Matthew Ng | add4c39 | 2019-03-01 16:02:31 -0800 | [diff] [blame] | 37 | <dimen name="navigation_handle_horizontal_margin">30dp</dimen> |
Matthew Ng | ec1d8ad | 2019-03-26 16:52:02 -0700 | [diff] [blame] | 38 | <dimen name="navigation_handle_sample_horizontal_margin">10dp</dimen> |
| 39 | <dimen name="navigation_home_handle_width">72dp</dimen> |
| 40 | |
Sunny Goyal | a6a5812 | 2019-04-02 10:20:29 -0700 | [diff] [blame] | 41 | <!-- Size of the nav bar edge panels, should be greater to the |
| 42 | edge sensitivity + the drag threshold --> |
Selim Cinek | 264c296 | 2019-05-14 19:10:04 -0700 | [diff] [blame] | 43 | <dimen name="navigation_edge_panel_width">70dp</dimen> |
Selim Cinek | 94bfbab | 2019-04-19 15:58:23 -0700 | [diff] [blame] | 44 | <!-- Padding at the end of the navigation panel to allow the arrow not to be clipped off --> |
Selim Cinek | 264c296 | 2019-05-14 19:10:04 -0700 | [diff] [blame] | 45 | <dimen name="navigation_edge_panel_padding">8dp</dimen> |
| 46 | <dimen name="navigation_edge_panel_height">96dp</dimen> |
Sunny Goyal | a6a5812 | 2019-04-02 10:20:29 -0700 | [diff] [blame] | 47 | <!-- The threshold to drag to trigger the edge action --> |
| 48 | <dimen name="navigation_edge_action_drag_threshold">16dp</dimen> |
Selim Cinek | 09f17b7 | 2019-04-16 17:25:06 -0700 | [diff] [blame] | 49 | <!-- The minimum display position of the arrow on the screen --> |
| 50 | <dimen name="navigation_edge_arrow_min_y">64dp</dimen> |
| 51 | <!-- The amount by which the arrow is shifted to avoid the finger--> |
| 52 | <dimen name="navigation_edge_finger_offset">48dp</dimen> |
Sunny Goyal | a6a5812 | 2019-04-02 10:20:29 -0700 | [diff] [blame] | 53 | |
Matthew Ng | ec1d8ad | 2019-03-26 16:52:02 -0700 | [diff] [blame] | 54 | <!-- Luminance threshold to determine black/white contrast for the navigation affordances --> |
| 55 | <item name="navigation_luminance_threshold" type="dimen" format="float">0.5</item> |
| 56 | <!-- Luminance change threshold that allows applying new value if difference was exceeded --> |
| 57 | <item name="navigation_luminance_change_threshold" type="dimen" format="float">0.05</item> |
Matthew Ng | b55c02c | 2019-02-15 16:20:31 -0800 | [diff] [blame] | 58 | |
Tracy Zhou | 4f15c46 | 2019-05-28 14:20:31 -0700 | [diff] [blame] | 59 | <dimen name="floating_rotation_button_diameter">40dp</dimen> |
Winson Chung | 082e8df | 2019-05-30 16:18:00 -0700 | [diff] [blame] | 60 | <dimen name="floating_rotation_button_min_margin">4dp</dimen> |
Tracy Zhou | 4f15c46 | 2019-05-28 14:20:31 -0700 | [diff] [blame] | 61 | |
Daniel Sandler | 26c84b1 | 2011-07-27 00:09:40 -0400 | [diff] [blame] | 62 | <!-- Height of notification icons in the status bar --> |
| 63 | <dimen name="status_bar_icon_size">@*android:dimen/status_bar_icon_size</dimen> |
| 64 | |
Amin Shaikh | 6c328ac | 2019-05-03 16:02:13 -0400 | [diff] [blame] | 65 | <!-- Default horizontal drawable padding for status bar icons. --> |
| 66 | <dimen name="status_bar_horizontal_padding">2.5dp</dimen> |
| 67 | |
Anthony Chen | 55e8e1e | 2016-01-08 10:31:46 -0800 | [diff] [blame] | 68 | <!-- Height of the battery icon in the status bar. --> |
Evan Laird | 206b5f3 | 2018-05-22 15:49:25 -0400 | [diff] [blame] | 69 | <dimen name="status_bar_battery_icon_height">13.0dp</dimen> |
Anthony Chen | 55e8e1e | 2016-01-08 10:31:46 -0800 | [diff] [blame] | 70 | |
Evan Laird | 2259da4 | 2019-02-08 16:48:53 -0500 | [diff] [blame] | 71 | <!-- Width of the battery icon in the status bar. The battery drawable assumes a 12x20 canvas, |
| 72 | so the width of the icon should be 13.0dp * (12.0 / 20.0) --> |
| 73 | <dimen name="status_bar_battery_icon_width">7.8dp</dimen> |
Anthony Chen | 55e8e1e | 2016-01-08 10:31:46 -0800 | [diff] [blame] | 74 | |
| 75 | <!-- The font size for the clock in the status bar. --> |
Jorim Jaggi | 5172dc2 | 2014-09-02 14:59:06 +0200 | [diff] [blame] | 76 | <dimen name="status_bar_clock_size">14sp</dimen> |
| 77 | |
Anthony Chen | 55e8e1e | 2016-01-08 10:31:46 -0800 | [diff] [blame] | 78 | <!-- The starting padding for the clock in the status bar. --> |
| 79 | <dimen name="status_bar_clock_starting_padding">7dp</dimen> |
| 80 | |
| 81 | <!-- The end padding for the clock in the status bar. --> |
| 82 | <dimen name="status_bar_clock_end_padding">0dp</dimen> |
| 83 | |
Evan Laird | 2cf5682 | 2017-12-18 11:22:39 -0500 | [diff] [blame] | 84 | <!-- Starting padding for a left-aligned status bar clock --> |
| 85 | <dimen name="status_bar_left_clock_starting_padding">0dp</dimen> |
| 86 | |
| 87 | <!-- End padding for left-aligned status bar clock --> |
| 88 | <dimen name="status_bar_left_clock_end_padding">7dp</dimen> |
| 89 | |
Anthony Chen | 55e8e1e | 2016-01-08 10:31:46 -0800 | [diff] [blame] | 90 | <!-- Spacing after the wifi signals that is present if there are any icons following it. --> |
Evan Laird | 747459a | 2018-06-15 16:24:40 -0400 | [diff] [blame] | 91 | <dimen name="status_bar_wifi_signal_spacer_width">2.5dp</dimen> |
Anthony Chen | 55e8e1e | 2016-01-08 10:31:46 -0800 | [diff] [blame] | 92 | |
Amin Shaikh | dd73e16 | 2019-04-02 07:50:27 -0400 | [diff] [blame] | 93 | <!-- Size of the view displaying the wifi signal icon in the status bar. --> |
Fabian Kozynski | 61e1ba6 | 2019-05-15 10:04:39 -0400 | [diff] [blame] | 94 | <dimen name="status_bar_wifi_signal_size">@*android:dimen/status_bar_system_icon_size</dimen> |
Amin Shaikh | dd73e16 | 2019-04-02 07:50:27 -0400 | [diff] [blame] | 95 | |
Anthony Chen | 55e8e1e | 2016-01-08 10:31:46 -0800 | [diff] [blame] | 96 | <!-- Spacing before the airplane mode icon if there are any icons preceding it. --> |
| 97 | <dimen name="status_bar_airplane_spacer_width">4dp</dimen> |
| 98 | |
| 99 | <!-- The amount to scale each of the status bar icons by. A value of 1 means no scaling. --> |
| 100 | <item name="status_bar_icon_scale_factor" format="float" type="dimen">1.0</item> |
| 101 | |
Adrian Roos | 6f6e159 | 2017-05-02 16:22:53 -0700 | [diff] [blame] | 102 | <dimen name="group_overflow_number_size">@*android:dimen/notification_text_size</dimen> |
Adrian Roos | 6f6e159 | 2017-05-02 16:22:53 -0700 | [diff] [blame] | 103 | <dimen name="group_overflow_number_padding">@*android:dimen/notification_content_margin_end</dimen> |
Adrian Roos | 6f6e159 | 2017-05-02 16:22:53 -0700 | [diff] [blame] | 104 | |
Selim Cinek | a981d08 | 2016-08-03 14:45:31 -0700 | [diff] [blame] | 105 | <!-- max height of a notification such that the content can still fade out when closing --> |
| 106 | <dimen name="max_notification_fadeout_height">100dp</dimen> |
| 107 | |
Anthony Chen | 1c59e9f | 2016-04-11 11:05:48 -0700 | [diff] [blame] | 108 | <!-- End margin for the RSSI status icon of a device connected via bluetooth. --> |
| 109 | <dimen name="status_bar_connected_device_signal_margin_end">16dp</dimen> |
| 110 | |
| 111 | <!-- The size of a bluetooth indicator icon that displays next to the RSSI status icon. --> |
| 112 | <dimen name="status_bar_connected_device_bt_indicator_size">17dp</dimen> |
| 113 | |
Selim Cinek | 816c8e4 | 2015-11-19 12:00:45 -0800 | [diff] [blame] | 114 | <!-- Height of a small notification in the status bar--> |
Selim Cinek | 16f334e | 2019-07-18 16:00:55 -0700 | [diff] [blame] | 115 | <dimen name="notification_min_height">@*android:dimen/notification_min_height</dimen> |
Daniel Sandler | 6a858c3 | 2012-03-12 14:38:58 -0400 | [diff] [blame] | 116 | |
Selim Cinek | 87ed69b | 2017-02-09 15:59:43 -0800 | [diff] [blame] | 117 | <!-- Increased height of a small notification in the status bar --> |
Selim Cinek | afeed29 | 2017-12-12 17:32:44 -0800 | [diff] [blame] | 118 | <dimen name="notification_min_height_increased">146dp</dimen> |
Selim Cinek | 7d1009b | 2017-01-25 15:28:28 -0800 | [diff] [blame] | 119 | |
Beth Thibodeau | cb39535 | 2019-01-25 15:39:54 -0500 | [diff] [blame] | 120 | <!-- Increased height of a collapsed media notification in the status bar --> |
| 121 | <dimen name="notification_min_height_media">160dp</dimen> |
| 122 | |
Selim Cinek | 816c8e4 | 2015-11-19 12:00:45 -0800 | [diff] [blame] | 123 | <!-- Height of a small notification in the status bar which was used before android N --> |
| 124 | <dimen name="notification_min_height_legacy">64dp</dimen> |
| 125 | |
Selim Cinek | 9b49f6d | 2017-11-13 18:19:35 -0800 | [diff] [blame] | 126 | <!-- Height of a small notification in the status bar which was used before android P --> |
| 127 | <dimen name="notification_min_height_before_p">92dp</dimen> |
| 128 | |
Chris Wren | ca7b7d0 | 2012-05-10 15:01:37 -0400 | [diff] [blame] | 129 | <!-- Height of a large notification in the status bar --> |
Selim Cinek | afeed29 | 2017-12-12 17:32:44 -0800 | [diff] [blame] | 130 | <dimen name="notification_max_height">294dp</dimen> |
Daniel Sandler | 6a858c3 | 2012-03-12 14:38:58 -0400 | [diff] [blame] | 131 | |
Selim Cinek | 77019c7 | 2015-12-09 10:18:02 -0800 | [diff] [blame] | 132 | <!-- Height of a heads up notification in the status bar for legacy custom views --> |
| 133 | <dimen name="notification_max_heads_up_height_legacy">128dp</dimen> |
| 134 | |
Selim Cinek | 9b49f6d | 2017-11-13 18:19:35 -0800 | [diff] [blame] | 135 | <!-- Height of a heads up notification in the status bar for custom views before andoid P --> |
| 136 | <dimen name="notification_max_heads_up_height_before_p">148dp</dimen> |
| 137 | |
Selim Cinek | 77019c7 | 2015-12-09 10:18:02 -0800 | [diff] [blame] | 138 | <!-- Height of a heads up notification in the status bar --> |
Selim Cinek | afeed29 | 2017-12-12 17:32:44 -0800 | [diff] [blame] | 139 | <dimen name="notification_max_heads_up_height">162dp</dimen> |
Chris Wren | 8fd39ec | 2014-02-27 17:43:26 -0500 | [diff] [blame] | 140 | |
Selim Cinek | 87ed69b | 2017-02-09 15:59:43 -0800 | [diff] [blame] | 141 | <!-- Height of a heads up notification in the status bar --> |
| 142 | <dimen name="notification_max_heads_up_height_increased">188dp</dimen> |
| 143 | |
Selim Cinek | 515b203 | 2017-11-15 10:20:19 -0800 | [diff] [blame] | 144 | <!-- Side padding on the lockscreen on the side of notifications --> |
Selim Cinek | b95fd18 | 2017-12-21 13:03:32 -0800 | [diff] [blame] | 145 | <dimen name="notification_side_paddings">4dp</dimen> |
Selim Cinek | 9b49f6d | 2017-11-13 18:19:35 -0800 | [diff] [blame] | 146 | |
Selim Cinek | aa9db1f | 2018-02-27 17:35:47 -0800 | [diff] [blame] | 147 | <!-- padding between the heads up and the statusbar --> |
| 148 | <dimen name="heads_up_status_bar_padding">8dp</dimen> |
| 149 | |
Selim Cinek | 99e9adf | 2018-03-15 09:17:47 -0700 | [diff] [blame] | 150 | <!-- heads up elevation that is added if the view is pinned --> |
| 151 | <dimen name="heads_up_pinned_elevation">16dp</dimen> |
| 152 | |
Selim Cinek | e62255c | 2017-09-28 18:23:23 -0700 | [diff] [blame] | 153 | <!-- Height of a messaging notifications with actions at least. Not that this is an upper bound |
| 154 | and the notification won't use this much, but is measured with wrap_content --> |
| 155 | <dimen name="notification_messaging_actions_min_height">196dp</dimen> |
| 156 | |
Selim Cinek | 727903c | 2016-12-06 17:28:10 -0800 | [diff] [blame] | 157 | <!-- a threshold in dp per second that is considered fast scrolling --> |
| 158 | <dimen name="scroll_fast_threshold">1500dp</dimen> |
| 159 | |
Selim Cinek | 281c202 | 2016-10-13 19:14:43 -0700 | [diff] [blame] | 160 | <!-- Height of a the shelf with the notification icons --> |
| 161 | <dimen name="notification_shelf_height">32dp</dimen> |
| 162 | |
Selim Cinek | 51d2197 | 2017-07-19 17:39:20 -0700 | [diff] [blame] | 163 | <!-- Minimum height of a notification to be interactable --> |
| 164 | <dimen name="notification_min_interaction_height">40dp</dimen> |
| 165 | |
Selim Cinek | 0e8d77e | 2016-11-29 10:35:42 -0800 | [diff] [blame] | 166 | <!-- the padding of the shelf icon container --> |
Selim Cinek | b95fd18 | 2017-12-21 13:03:32 -0800 | [diff] [blame] | 167 | <dimen name="shelf_icon_container_padding">13dp</dimen> |
Selim Cinek | 0e8d77e | 2016-11-29 10:35:42 -0800 | [diff] [blame] | 168 | |
Selim Cinek | 281c202 | 2016-10-13 19:14:43 -0700 | [diff] [blame] | 169 | <!-- The padding of a notification icon on top to the start of the notification. Used for custom |
| 170 | views where the distance can't be measured --> |
| 171 | <dimen name="notification_icon_appear_padding">15dp</dimen> |
Jorim Jaggi | 069cd03 | 2014-05-15 03:09:01 +0200 | [diff] [blame] | 172 | |
Lucas Dupin | b561eda | 2018-04-09 17:25:04 -0700 | [diff] [blame] | 173 | <!-- Vertical translation of the shelf during animation that happens after the |
| 174 | notification panel collapses --> |
Lucas Dupin | 60661a6 | 2018-04-12 10:50:13 -0700 | [diff] [blame] | 175 | <dimen name="shelf_appear_translation">42dp</dimen> |
Lucas Dupin | b561eda | 2018-04-09 17:25:04 -0700 | [diff] [blame] | 176 | |
Lucas Dupin | 3d7ccaf | 2018-04-02 21:19:23 -0700 | [diff] [blame] | 177 | <!-- Vertical translation of pulsing notification animations --> |
| 178 | <dimen name="pulsing_notification_appear_translation">10dp</dimen> |
| 179 | |
Selim Cinek | 0242fbb | 2016-10-19 13:38:32 -0700 | [diff] [blame] | 180 | <!-- The amount the content shifts upwards when transforming into the icon --> |
Selim Cinek | 875a3a1 | 2016-11-18 17:52:16 -0800 | [diff] [blame] | 181 | <dimen name="notification_icon_transform_content_shift">32dp</dimen> |
Chris Wren | 6675721 | 2012-05-14 10:05:42 -0400 | [diff] [blame] | 182 | |
Selim Cinek | 378053a | 2016-12-07 15:41:28 -0800 | [diff] [blame] | 183 | <!-- The padding on the bottom of the notifications on the keyguard --> |
| 184 | <dimen name="keyguard_indication_bottom_padding">12sp</dimen> |
| 185 | |
Robert Snoeberger | f6e32f07 | 2019-07-17 17:07:18 -0400 | [diff] [blame] | 186 | <!-- The padding at start and end of indication text shown on AOD --> |
| 187 | <dimen name="keyguard_indication_text_padding">16dp</dimen> |
| 188 | |
Lucas Dupin | aa5fcc0 | 2019-05-10 13:09:34 -0700 | [diff] [blame] | 189 | <!-- Shadows under the clock, date and other keyguard text fields --> |
| 190 | <dimen name="keyguard_shadow_radius">5</dimen> |
| 191 | |
Selim Cinek | 860b6da | 2015-12-16 19:02:19 -0800 | [diff] [blame] | 192 | <!-- Minimum layouted height of a notification in the statusbar--> |
| 193 | <dimen name="min_notification_layout_height">48dp</dimen> |
| 194 | |
Mady Mellor | 761cde1 | 2017-01-10 11:36:39 -0800 | [diff] [blame] | 195 | <!-- Size of the space to place a notification menu item --> |
| 196 | <dimen name="notification_menu_icon_size">64dp</dimen> |
Mady Mellor | f062580 | 2016-02-11 18:03:48 -0800 | [diff] [blame] | 197 | |
Mady Mellor | 761cde1 | 2017-01-10 11:36:39 -0800 | [diff] [blame] | 198 | <!-- The space around a notification menu item --> |
| 199 | <dimen name="notification_menu_icon_padding">20dp</dimen> |
Mady Mellor | 4b80b10 | 2016-01-22 08:03:58 -0800 | [diff] [blame] | 200 | |
Rohan Shah | 75bb128 | 2018-04-30 13:50:13 -0700 | [diff] [blame] | 201 | <!-- The vertical space around the buttons in the inline settings --> |
Julia Reynolds | 52a2737 | 2019-04-03 11:00:17 -0400 | [diff] [blame] | 202 | <dimen name="notification_guts_button_spacing">12dp</dimen> |
Rohan Shah | 75bb128 | 2018-04-30 13:50:13 -0700 | [diff] [blame] | 203 | |
Rohan Shah | c032ac9 | 2018-05-03 16:58:37 -0700 | [diff] [blame] | 204 | <!-- Extra horizontal space for properly aligning guts buttons with the notification content --> |
| 205 | <dimen name="notification_guts_button_side_margin">8dp</dimen> |
| 206 | |
Rohan Shah | 75bb128 | 2018-04-30 13:50:13 -0700 | [diff] [blame] | 207 | <!-- The vertical padding a notification guts button has to fulfill the 48dp touch target --> |
| 208 | <dimen name="notification_guts_button_vertical_padding">14dp</dimen> |
| 209 | |
| 210 | <!-- The horizontal padding for notification guts buttons--> |
Rohan Shah | c032ac9 | 2018-05-03 16:58:37 -0700 | [diff] [blame] | 211 | <dimen name="notification_guts_button_horizontal_padding">8dp</dimen> |
Rohan Shah | 75bb128 | 2018-04-30 13:50:13 -0700 | [diff] [blame] | 212 | |
| 213 | <!-- The horizontal space around the buttons in the inline settings --> |
| 214 | <dimen name="notification_guts_button_horizontal_spacing">8dp</dimen> |
Julia Reynolds | 437cdb1 | 2018-01-03 12:27:24 -0500 | [diff] [blame] | 215 | |
| 216 | <!-- The height of the header in inline settings --> |
| 217 | <dimen name="notification_guts_header_height">24dp</dimen> |
| 218 | |
Julia Reynolds | 52a2737 | 2019-04-03 11:00:17 -0400 | [diff] [blame] | 219 | <!-- The text size of the header in inline settings --> |
| 220 | <dimen name="notification_guts_header_text_size">16sp</dimen> |
| 221 | |
| 222 | <!-- The horizontal space between items in the alert selections in the inline settings --> |
| 223 | <dimen name="notification_guts_option_horizontal_padding">15dp</dimen> |
| 224 | |
| 225 | <!-- The vertical space between items in the alert selections in the inline settings --> |
Ned Burns | 369f147 | 2019-05-22 21:07:26 -0400 | [diff] [blame] | 226 | <dimen name="notification_guts_option_vertical_padding">16dp</dimen> |
Julia Reynolds | 52a2737 | 2019-04-03 11:00:17 -0400 | [diff] [blame] | 227 | |
| 228 | <!-- The vertical space between the alert selections in the inline settings --> |
| 229 | <dimen name="notification_guts_option_vertical_margin">6dp</dimen> |
| 230 | |
Julia Reynolds | 8728d00 | 2019-04-19 15:46:13 -0400 | [diff] [blame] | 231 | <dimen name="notification_importance_toggle_size">48dp</dimen> |
| 232 | <dimen name="notification_importance_toggle_marginTop">28dp</dimen> |
| 233 | <dimen name="notification_importance_toggle_marginBottom">28dp</dimen> |
| 234 | <dimen name="notification_importance_text_marginTop">20dp</dimen> |
Ned Burns | 369f147 | 2019-05-22 21:07:26 -0400 | [diff] [blame] | 235 | <dimen name="notification_importance_button_separation">8dp</dimen> |
Julia Reynolds | 8728d00 | 2019-04-19 15:46:13 -0400 | [diff] [blame] | 236 | <dimen name="notification_importance_button_width">178dp</dimen> |
| 237 | <dimen name="notification_importance_button_horiz_padding">28dp</dimen> |
| 238 | <dimen name="notification_importance_drawable_padding">8dp</dimen> |
| 239 | <dimen name="notification_importance_description_padding">20dp</dimen> |
Julia Reynolds | 4d1dd79 | 2019-04-29 11:48:29 -0400 | [diff] [blame] | 240 | <dimen name="notification_importance_header_text">12sp</dimen> |
| 241 | <dimen name="notification_importance_description_text">14sp</dimen> |
Julia Reynolds | 8728d00 | 2019-04-19 15:46:13 -0400 | [diff] [blame] | 242 | <dimen name="notification_importance_channel_text">16sp</dimen> |
| 243 | <dimen name="notification_importance_channel_group_text">14sp</dimen> |
Ned Burns | 369f147 | 2019-05-22 21:07:26 -0400 | [diff] [blame] | 244 | <dimen name="notification_importance_button_text">14sp</dimen> |
| 245 | <dimen name="notification_importance_button_padding">16dp</dimen> |
| 246 | <dimen name="notification_importance_button_description_top_margin">12dp</dimen> |
Julia Reynolds | 8728d00 | 2019-04-19 15:46:13 -0400 | [diff] [blame] | 247 | <dimen name="rect_button_radius">8dp</dimen> |
| 248 | |
Mady Mellor | 04d7a0f | 2017-01-25 13:16:03 -0800 | [diff] [blame] | 249 | <!-- 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] | 250 | <dimen name="snooze_snackbar_min_height">56dp</dimen> |
Mady Mellor | 04d7a0f | 2017-01-25 13:16:03 -0800 | [diff] [blame] | 251 | |
| 252 | <!-- The text size of options in the snooze menu. --> |
| 253 | <dimen name="snooze_option_text_size">14sp</dimen> |
| 254 | |
| 255 | <!-- The padding around options int the snooze menu. --> |
| 256 | <dimen name="snooze_option_padding">8dp</dimen> |
| 257 | |
Daniel Sandler | 26c84b1 | 2011-07-27 00:09:40 -0400 | [diff] [blame] | 258 | <!-- size at which Notification icons will be drawn in the status bar --> |
Evan Laird | 39ea810 | 2018-05-18 19:49:07 -0400 | [diff] [blame] | 259 | <dimen name="status_bar_icon_drawing_size">15dp</dimen> |
Daniel Sandler | 26c84b1 | 2011-07-27 00:09:40 -0400 | [diff] [blame] | 260 | |
Adrian Roos | 138f034 | 2017-04-28 09:11:28 -0700 | [diff] [blame] | 261 | <!-- size at which Notification icons will be drawn on Ambient Display --> |
| 262 | <dimen name="status_bar_icon_drawing_size_dark">@*android:dimen/notification_header_icon_size_ambient</dimen> |
| 263 | |
Selim Cinek | 195dfc5 | 2019-05-30 19:35:05 -0700 | [diff] [blame] | 264 | <!-- size of notification icons when the notifications are hidden --> |
| 265 | <dimen name="hidden_shelf_icon_size">16dp</dimen> |
Lucas Dupin | c104cd6 | 2019-05-13 14:22:30 -0700 | [diff] [blame] | 266 | |
Daniel Sandler | 26c84b1 | 2011-07-27 00:09:40 -0400 | [diff] [blame] | 267 | <!-- opacity at which Notification icons will be drawn in the status bar --> |
Jorim Jaggi | 5172dc2 | 2014-09-02 14:59:06 +0200 | [diff] [blame] | 268 | <item type="dimen" name="status_bar_icon_drawing_alpha">90%</item> |
Daniel Sandler | 7c3e39d | 2011-07-29 16:30:49 -0400 | [diff] [blame] | 269 | |
| 270 | <!-- gap on either side of status bar notification icons --> |
| 271 | <dimen name="status_bar_icon_padding">0dp</dimen> |
Peter Ng | 6ccd7a5 | 2011-08-22 16:58:43 -0700 | [diff] [blame] | 272 | |
Selim Cinek | 48ff9b4 | 2016-11-09 19:31:51 -0800 | [diff] [blame] | 273 | <!-- the padding on the start of the statusbar --> |
Fabian Kozynski | 0e8449f | 2019-03-14 15:03:48 -0400 | [diff] [blame] | 274 | <dimen name="status_bar_padding_start">8dp</dimen> |
Selim Cinek | 48ff9b4 | 2016-11-09 19:31:51 -0800 | [diff] [blame] | 275 | |
Amin Shaikh | 9cac338 | 2018-04-11 17:10:07 -0400 | [diff] [blame] | 276 | <!-- the padding on the end of the statusbar --> |
Fabian Kozynski | 0e8449f | 2019-03-14 15:03:48 -0400 | [diff] [blame] | 277 | <dimen name="status_bar_padding_end">8dp</dimen> |
Amin Shaikh | 9cac338 | 2018-04-11 17:10:07 -0400 | [diff] [blame] | 278 | |
Evan Laird | cc1f3b6 | 2019-04-10 11:19:28 -0400 | [diff] [blame] | 279 | <!-- the padding on the top of the statusbar (usually 0) --> |
| 280 | <dimen name="status_bar_padding_top">0dp</dimen> |
| 281 | |
Selim Cinek | 49014f8 | 2016-11-04 14:55:30 -0700 | [diff] [blame] | 282 | <!-- the radius of the overflow dot in the status bar --> |
Evan Laird | baccb46 | 2018-06-01 16:29:02 -0400 | [diff] [blame] | 283 | <dimen name="overflow_dot_radius">2dp</dimen> |
Selim Cinek | 49014f8 | 2016-11-04 14:55:30 -0700 | [diff] [blame] | 284 | |
| 285 | <!-- the padding between dots in the icon overflow --> |
| 286 | <dimen name="overflow_icon_dot_padding">3dp</dimen> |
| 287 | |
Winson Chung | a63bb84 | 2011-10-17 10:26:28 -0700 | [diff] [blame] | 288 | <!-- The padding on the global screenshot background image --> |
Winson Chung | 22ca095 | 2011-10-20 19:44:32 -0700 | [diff] [blame] | 289 | <dimen name="global_screenshot_bg_padding">20dp</dimen> |
Winson Chung | a63bb84 | 2011-10-17 10:26:28 -0700 | [diff] [blame] | 290 | |
Jorim Jaggi | ca8c626 | 2014-10-27 16:53:18 +0100 | [diff] [blame] | 291 | <!-- The width of the view containing navigation buttons --> |
| 292 | <dimen name="navigation_key_width">70dp</dimen> |
Andrew Flynn | 1d9af30 | 2012-03-07 15:48:51 -0800 | [diff] [blame] | 293 | |
Matthew Ng | f1f8a43 | 2018-11-08 18:03:29 -0800 | [diff] [blame] | 294 | <!-- The width/height of the icon of a navigation button --> |
| 295 | <dimen name="navigation_icon_size">32dp</dimen> |
| 296 | |
Jason Monk | a208182 | 2016-01-18 14:41:03 -0500 | [diff] [blame] | 297 | <dimen name="navigation_key_padding">0dp</dimen> |
| 298 | |
Jason Monk | f1ff209 | 2014-04-29 16:50:53 -0400 | [diff] [blame] | 299 | <!-- The width of the view containing the menu/ime navigation bar icons --> |
Jorim Jaggi | ca8c626 | 2014-10-27 16:53:18 +0100 | [diff] [blame] | 300 | <dimen name="navigation_extra_key_width">36dp</dimen> |
| 301 | |
| 302 | <!-- The padding on the side of the navigation bar. Must be greater than or equal to |
| 303 | navigation_extra_key_width --> |
| 304 | <dimen name="navigation_side_padding">36dp</dimen> |
Jim Miller | e898ac5 | 2012-04-06 17:10:57 -0700 | [diff] [blame] | 305 | |
Michael Jurka | 53f109bf | 2012-06-13 17:38:14 -0700 | [diff] [blame] | 306 | <!-- Default distance beyond which snaps to the matching target --> |
| 307 | <dimen name="navbar_search_snap_margin">40dip</dimen> |
Jim Miller | e898ac5 | 2012-04-06 17:10:57 -0700 | [diff] [blame] | 308 | |
| 309 | <!-- Diameter of outer shape drawable shown in navbar search--> |
Jim Miller | 2083042 | 2012-05-15 20:46:03 -0700 | [diff] [blame] | 310 | <dimen name="navbar_search_outerring_diameter">340dp</dimen> |
Jim Miller | 354619c | 2012-04-27 17:33:44 -0700 | [diff] [blame] | 311 | |
Jim Miller | 955a016 | 2012-06-11 21:06:13 -0700 | [diff] [blame] | 312 | <!-- Diameter of outer shape drawable shown in navbar search. Should be 1/2 of above value --> |
| 313 | <dimen name="navbar_search_outerring_radius">170dp</dimen> |
| 314 | |
Jim Miller | 354619c | 2012-04-27 17:33:44 -0700 | [diff] [blame] | 315 | <!-- Height of search panel including navigation bar height --> |
| 316 | <dimen name="navbar_search_panel_height">230dip</dimen> |
Jim Miller | e898ac5 | 2012-04-06 17:10:57 -0700 | [diff] [blame] | 317 | |
Matthew Ng | ca4592b | 2018-08-06 14:12:37 -0700 | [diff] [blame] | 318 | <!-- Move the back button drawable for 3 button layout upwards in ime mode and in portrait --> |
| 319 | <dimen name="navbar_back_button_ime_offset">2dp</dimen> |
| 320 | |
Daniel Sandler | 1fac1fd | 2012-04-30 12:07:30 -0400 | [diff] [blame] | 321 | <!-- 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] | 322 | <dimen name="close_handle_height">36dp</dimen> |
Daniel Sandler | fc753d2 | 2012-05-08 13:56:44 -0400 | [diff] [blame] | 323 | |
Daniel Sandler | 13522a2 | 2012-09-27 14:46:58 -0400 | [diff] [blame] | 324 | <!-- Amount of close_handle that will NOT overlap the notification list --> |
| 325 | <dimen name="close_handle_underlap">32dp</dimen> |
Daniel Sandler | fc753d2 | 2012-05-08 13:56:44 -0400 | [diff] [blame] | 326 | |
Anthony Chen | 54daefe | 2017-04-07 17:19:54 -0700 | [diff] [blame] | 327 | <!-- Height of the status bar header bar in the car setting. --> |
| 328 | <dimen name="car_status_bar_header_height">128dp</dimen> |
| 329 | |
| 330 | <!-- The bottom padding of the status bar header. --> |
| 331 | <dimen name="status_bar_header_padding_bottom">48dp</dimen> |
| 332 | |
Evan Laird | 39254d4 | 2018-01-18 16:05:30 -0500 | [diff] [blame] | 333 | <!-- The height of the container that holds the battery and time in the quick settings header. |
| 334 | --> |
| 335 | <dimen name="qs_header_system_icons_area_height">48dp</dimen> |
Anthony Chen | 54daefe | 2017-04-07 17:19:54 -0700 | [diff] [blame] | 336 | |
Evan Laird | 84b9895 | 2018-07-02 17:43:59 -0400 | [diff] [blame] | 337 | <!-- How far the quick-quick settings panel extends below the status bar --> |
| 338 | <dimen name="qs_quick_header_panel_height">128dp</dimen> |
| 339 | |
Anthony Chen | 54daefe | 2017-04-07 17:19:54 -0700 | [diff] [blame] | 340 | <!-- The height of the container that holds the system icons in the quick settings header in the |
| 341 | car setting. --> |
| 342 | <dimen name="car_qs_header_system_icons_area_height">54dp</dimen> |
| 343 | |
| 344 | <!-- The height of the quick settings footer that holds the user switcher, settings icon, |
| 345 | etc. --> |
Fabian Kozynski | 4e76d1f | 2019-02-25 16:30:04 -0500 | [diff] [blame] | 346 | <dimen name="qs_footer_height">48dp</dimen> |
| 347 | |
| 348 | <!-- The size of each of the icon buttons in the QS footer --> |
| 349 | <dimen name="qs_footer_action_button_size">@dimen/qs_footer_height</dimen> |
| 350 | |
| 351 | <!-- Margins on each side of QS Footer --> |
| 352 | <dimen name="qs_footer_margin">2dp</dimen> |
| 353 | |
| 354 | <!-- Padding on each QS Footer Icon to make the icons 20dpx20dp --> |
| 355 | <dimen name="qs_footer_icon_padding">14dp</dimen> |
Anthony Chen | 54daefe | 2017-04-07 17:19:54 -0700 | [diff] [blame] | 356 | |
Selim Cinek | d7768f4 | 2017-11-22 06:43:44 -0800 | [diff] [blame] | 357 | <!-- The padding between the notifications and the quick settings container --> |
Selim Cinek | b95fd18 | 2017-12-21 13:03:32 -0800 | [diff] [blame] | 358 | <dimen name="qs_notification_padding">@dimen/notification_side_paddings</dimen> |
Selim Cinek | d7768f4 | 2017-11-22 06:43:44 -0800 | [diff] [blame] | 359 | |
Jorim Jaggi | d7daab7 | 2014-05-06 22:22:20 +0200 | [diff] [blame] | 360 | <!-- Height of the status bar header bar when expanded --> |
Jason Monk | e5b770e | 2017-03-03 21:49:29 -0500 | [diff] [blame] | 361 | <dimen name="status_bar_header_height_expanded">124dp</dimen> |
Daniel Sandler | 21b274e | 2012-05-02 15:07:51 -0400 | [diff] [blame] | 362 | |
Jorim Jaggi | 9054d94 | 2014-05-09 22:47:28 +0200 | [diff] [blame] | 363 | <!-- Height of the status bar header bar when on Keyguard --> |
| 364 | <dimen name="status_bar_header_height_keyguard">40dp</dimen> |
| 365 | |
Selim Cinek | 6ebba59 | 2016-05-31 15:28:28 -0700 | [diff] [blame] | 366 | <!-- Margin start of the system icons super container --> |
| 367 | <dimen name="system_icons_super_container_margin_start">16dp</dimen> |
| 368 | |
Daniel Nishi | f79cd87 | 2016-06-27 11:44:01 -0700 | [diff] [blame] | 369 | <!-- Margin end of the system icons super container when the avatar is missing. --> |
| 370 | <dimen name="system_icons_super_container_avatarless_margin_end">6dp</dimen> |
| 371 | |
John Spurlock | 7e6809a | 2014-08-06 16:03:14 -0400 | [diff] [blame] | 372 | <!-- Width for the notification panel and related windows --> |
| 373 | <dimen name="match_parent">-1px</dimen> |
Anthony Chen | 9fe1ee7 | 2017-04-07 13:53:37 -0700 | [diff] [blame] | 374 | |
| 375 | <!-- The top margin of the panel that holds the list of notifications. --> |
| 376 | <dimen name="notification_panel_margin_top">0dp</dimen> |
| 377 | |
| 378 | <!-- The bottom margin of the panel that holds the list of notifications. --> |
| 379 | <dimen name="notification_panel_margin_bottom">0dp</dimen> |
| 380 | |
John Spurlock | 7e6809a | 2014-08-06 16:03:14 -0400 | [diff] [blame] | 381 | <dimen name="notification_panel_width">@dimen/match_parent</dimen> |
| 382 | |
shawnlin | 511623c | 2018-05-28 16:29:08 +0800 | [diff] [blame] | 383 | <dimen name="brightness_mirror_height">48dp</dimen> |
Amin Shaikh | 6adcacc5 | 2018-02-21 15:52:36 -0500 | [diff] [blame] | 384 | |
Anthony Chen | 04d1ea7 | 2017-04-21 14:30:11 -0700 | [diff] [blame] | 385 | <!-- The width of the panel that holds the quick settings. --> |
| 386 | <dimen name="qs_panel_width">@dimen/notification_panel_width</dimen> |
| 387 | |
Julia Reynolds | c72d0f6 | 2018-04-12 15:38:54 -0400 | [diff] [blame] | 388 | <dimen name="volume_dialog_panel_transparent_padding_right">8dp</dimen> |
| 389 | |
| 390 | <dimen name="volume_dialog_panel_transparent_padding">20dp</dimen> |
Julia Reynolds | ac55e01 | 2018-03-27 11:17:30 -0400 | [diff] [blame] | 391 | |
Beverly | 6cb4caf | 2018-05-08 11:16:02 -0400 | [diff] [blame] | 392 | <dimen name="volume_dialog_stream_padding">8dp</dimen> |
| 393 | |
Julia Reynolds | 7c62c31 | 2018-02-01 17:29:33 -0500 | [diff] [blame] | 394 | <!-- the amount the volume panel should be offset at the end from the view next to it (or |
Julia Reynolds | ee57193 | 2018-02-21 11:41:33 -0500 | [diff] [blame] | 395 | the screen edge, in portrait--> |
| 396 | <dimen name="volume_dialog_base_margin">8dp</dimen> |
Julia Reynolds | 7c62c31 | 2018-02-01 17:29:33 -0500 | [diff] [blame] | 397 | |
Julia Reynolds | ee57193 | 2018-02-21 11:41:33 -0500 | [diff] [blame] | 398 | <dimen name="volume_dialog_panel_width">64dp</dimen> |
Jason Monk | 98ad83c | 2017-06-13 14:03:45 -0400 | [diff] [blame] | 399 | |
Julia Reynolds | ac55e01 | 2018-03-27 11:17:30 -0400 | [diff] [blame] | 400 | <dimen name="volume_dialog_slider_height">116dp</dimen> |
Julia Reynolds | ee57193 | 2018-02-21 11:41:33 -0500 | [diff] [blame] | 401 | |
| 402 | <dimen name="volume_dialog_row_height">252dp</dimen> |
| 403 | |
| 404 | <dimen name="volume_dialog_ringer_size">64dp</dimen> |
| 405 | |
Amin Shaikh | 70bd4dd | 2019-03-29 16:50:00 -0400 | [diff] [blame] | 406 | <dimen name="volume_dialog_ringer_icon_padding">20dp</dimen> |
| 407 | |
Anthony Tripaldi | a404da3 | 2019-03-02 16:29:49 -0500 | [diff] [blame] | 408 | <dimen name="volume_dialog_caption_size">64dp</dimen> |
| 409 | |
Julia Reynolds | ee57193 | 2018-02-21 11:41:33 -0500 | [diff] [blame] | 410 | <dimen name="volume_dialog_tap_target_size">48dp</dimen> |
| 411 | |
| 412 | <dimen name="volume_dialog_spacer">4dp</dimen> |
| 413 | |
Julia Reynolds | ac55e01 | 2018-03-27 11:17:30 -0400 | [diff] [blame] | 414 | <dimen name="volume_dialog_slider_margin_top">14dp</dimen> |
Julia Reynolds | a438675 | 2018-03-12 14:07:04 -0400 | [diff] [blame] | 415 | |
| 416 | <dimen name="volume_dialog_slider_margin_bottom">-2dp</dimen> |
| 417 | |
| 418 | <dimen name="volume_dialog_row_margin_bottom">8dp</dimen> |
| 419 | |
| 420 | <dimen name="volume_dialog_settings_icon_size">16dp</dimen> |
Julia Reynolds | f5e4182 | 2018-01-23 13:55:18 -0500 | [diff] [blame] | 421 | |
Julia Reynolds | ac55e01 | 2018-03-27 11:17:30 -0400 | [diff] [blame] | 422 | <dimen name="volume_dialog_elevation">9dp</dimen> |
| 423 | |
Anthony Tripaldi | ea0236d | 2019-03-18 11:47:52 -0400 | [diff] [blame] | 424 | <dimen name="volume_tool_tip_right_margin">76dp</dimen> |
| 425 | |
| 426 | <dimen name="volume_tool_tip_bottom_margin">32dp</dimen> |
| 427 | |
| 428 | <dimen name="volume_tool_tip_arrow_corner_radius">2dp</dimen> |
| 429 | |
John Spurlock | 5072883 | 2014-04-17 19:05:28 -0400 | [diff] [blame] | 430 | <!-- Gravity for the notification panel --> |
Selim Cinek | 9e87cba | 2017-02-17 13:01:01 -0800 | [diff] [blame] | 431 | <integer name="notification_panel_layout_gravity">0x31</integer><!-- center_horizontal|top --> |
Chris Wren | b8ea2f5 | 2012-08-24 11:50:55 -0400 | [diff] [blame] | 432 | |
Daniel Sandler | 3d32a24 | 2012-06-05 13:44:14 -0400 | [diff] [blame] | 433 | <!-- Height of the carrier/wifi name label --> |
| 434 | <dimen name="carrier_label_height">24dp</dimen> |
Chris Wren | b4e2c48b | 2012-06-15 16:51:54 -0400 | [diff] [blame] | 435 | |
Daniel Sandler | 4377d14 | 2012-09-11 15:18:47 -0400 | [diff] [blame] | 436 | <!-- The distance you can pull a notification before it pops open --> |
Jorim Jaggi | 7f2d87c | 2014-04-29 22:47:53 +0200 | [diff] [blame] | 437 | <dimen name="one_finger_pop_limit">0dp</dimen> |
Winson Chung | d63c5978 | 2012-09-05 17:34:41 -0700 | [diff] [blame] | 438 | |
Daniel Sandler | e680f54 | 2012-09-28 12:22:27 -0400 | [diff] [blame] | 439 | <!-- Minimum fraction of the screen that should be taken up by the notification panel. |
| 440 | Not used at this screen size. --> |
| 441 | <item type="dimen" name="notification_panel_min_height_frac">0%</item> |
Daniel Sandler | 4377d14 | 2012-09-11 15:18:47 -0400 | [diff] [blame] | 442 | |
Jorim Jaggi | 7f2d87c | 2014-04-29 22:47:53 +0200 | [diff] [blame] | 443 | <dimen name="blinds_pop_threshold">0dp</dimen> |
Daniel Sandler | 4377d14 | 2012-09-11 15:18:47 -0400 | [diff] [blame] | 444 | |
| 445 | <!-- The size of the gesture span needed to activate the "pull" notification expansion --> |
| 446 | <dimen name="pull_span_min">25dp</dimen> |
Daniel Sandler | 3679bf5 | 2012-10-16 21:30:28 -0400 | [diff] [blame] | 447 | |
Jason Monk | 209e03e | 2017-04-11 13:57:45 -0400 | [diff] [blame] | 448 | <dimen name="qs_tile_height">106dp</dimen> |
Amin Shaikh | 50d2d1e | 2018-04-25 14:48:13 -0400 | [diff] [blame] | 449 | <dimen name="qs_tile_layout_margin_side">6dp</dimen> |
Amin Shaikh | d620def | 2018-02-27 16:52:53 -0500 | [diff] [blame] | 450 | <dimen name="qs_tile_margin_horizontal">18dp</dimen> |
| 451 | <dimen name="qs_tile_margin_vertical">24dp</dimen> |
Amin Shaikh | 9a6fa08 | 2018-03-29 17:27:26 -0400 | [diff] [blame] | 452 | <dimen name="qs_tile_margin_top_bottom">12dp</dimen> |
Amin Shaikh | 061b36e | 2018-08-28 16:33:21 -0400 | [diff] [blame] | 453 | <dimen name="qs_tile_margin_top_bottom_negative">-12dp</dimen> |
Fabian Kozynski | 4999764 | 2019-05-16 15:41:45 -0400 | [diff] [blame] | 454 | <!-- The height of the qs customize header. Should be |
| 455 | (qs_panel_padding_top (48dp) + brightness_mirror_height (48dp) + qs_tile_margin_top (18dp)) - |
| 456 | (Toolbar_minWidth (56dp) + qs_tile_margin_top_bottom (12dp)) |
| 457 | --> |
| 458 | <dimen name="qs_customize_header_min_height">46dp</dimen> |
Amin Shaikh | 6adcacc5 | 2018-02-21 15:52:36 -0500 | [diff] [blame] | 459 | <dimen name="qs_tile_margin_top">18dp</dimen> |
Fabian Kozynski | bca09b7 | 2019-04-04 15:57:42 -0400 | [diff] [blame] | 460 | <dimen name="qs_tile_background_size">44dp</dimen> |
Jason Monk | c133d26 | 2015-10-27 12:32:45 -0400 | [diff] [blame] | 461 | <dimen name="qs_quick_tile_size">48dp</dimen> |
| 462 | <dimen name="qs_quick_tile_padding">12dp</dimen> |
Jason Monk | 98196b0 | 2016-03-14 10:33:02 -0400 | [diff] [blame] | 463 | <dimen name="qs_header_gear_translation">16dp</dimen> |
Fabian Kozynski | 71f8007 | 2018-09-05 12:39:50 -0400 | [diff] [blame] | 464 | <dimen name="qs_header_tile_margin_horizontal">4dp</dimen> |
Jason Monk | 6113397 | 2016-03-17 13:10:09 -0400 | [diff] [blame] | 465 | <dimen name="qs_page_indicator_width">16dp</dimen> |
| 466 | <dimen name="qs_page_indicator_height">8dp</dimen> |
John Spurlock | c97010c | 2015-06-15 15:45:38 -0400 | [diff] [blame] | 467 | <dimen name="qs_tile_icon_size">24dp</dimen> |
John Spurlock | 4bf3198 | 2014-05-21 13:04:22 -0400 | [diff] [blame] | 468 | <dimen name="qs_tile_text_size">12sp</dimen> |
| 469 | <dimen name="qs_tile_divider_height">1dp</dimen> |
| 470 | <dimen name="qs_panel_padding">16dp</dimen> |
John Spurlock | 39076ed | 2014-06-30 20:47:20 -0400 | [diff] [blame] | 471 | <dimen name="qs_dual_tile_height">112dp</dimen> |
| 472 | <dimen name="qs_dual_tile_padding_vertical">8dp</dimen> |
| 473 | <dimen name="qs_dual_tile_padding_horizontal">6dp</dimen> |
Jorim Jaggi | c8316df | 2014-09-01 17:13:36 +0200 | [diff] [blame] | 474 | <dimen name="qs_tile_padding_top">14dp</dimen> |
Jorim Jaggi | e17c4b4 | 2014-08-26 17:27:31 +0200 | [diff] [blame] | 475 | <dimen name="qs_tile_padding_top_large_text">4dp</dimen> |
John Spurlock | 92d9b19 | 2014-06-29 12:54:24 -0400 | [diff] [blame] | 476 | <dimen name="qs_tile_padding_bottom">16dp</dimen> |
| 477 | <dimen name="qs_tile_spacing">4dp</dimen> |
Jason Monk | e5b770e | 2017-03-03 21:49:29 -0500 | [diff] [blame] | 478 | <dimen name="qs_panel_padding_bottom">0dp</dimen> |
Fabian Kozynski | b1aee81 | 2019-04-04 14:17:48 -0400 | [diff] [blame] | 479 | <dimen name="qs_panel_padding_top">@dimen/qs_header_tooltip_height</dimen> |
Muyuan Li | 0e9f538 | 2016-04-27 15:51:15 -0700 | [diff] [blame] | 480 | <dimen name="qs_detail_header_height">56dp</dimen> |
| 481 | <dimen name="qs_detail_header_padding">0dp</dimen> |
Muyuan Li | 0e9f538 | 2016-04-27 15:51:15 -0700 | [diff] [blame] | 482 | <dimen name="qs_detail_image_width">56dp</dimen> |
| 483 | <dimen name="qs_detail_image_height">56dp</dimen> |
| 484 | <dimen name="qs_detail_image_padding">16dp</dimen> |
John Spurlock | 7f8f22a | 2014-07-02 18:54:17 -0400 | [diff] [blame] | 485 | <dimen name="qs_detail_item_height">48dp</dimen> |
Jorim Jaggi | e17c4b4 | 2014-08-26 17:27:31 +0200 | [diff] [blame] | 486 | <dimen name="qs_detail_header_text_size">20sp</dimen> |
| 487 | <dimen name="qs_detail_button_text_size">14sp</dimen> |
| 488 | <dimen name="qs_detail_item_primary_text_size">16sp</dimen> |
| 489 | <dimen name="qs_detail_item_secondary_text_size">14sp</dimen> |
| 490 | <dimen name="qs_detail_empty_text_size">14sp</dimen> |
Jason Monk | 6573ef2 | 2016-04-06 12:37:18 -0400 | [diff] [blame] | 491 | <dimen name="qs_detail_margin_top">28dp</dimen> |
Muyuan Li | 0e9f538 | 2016-04-27 15:51:15 -0700 | [diff] [blame] | 492 | <dimen name="qs_detail_back_margin_end">16dp</dimen> |
Jason Monk | 416addc | 2016-07-14 10:20:53 -0400 | [diff] [blame] | 493 | <dimen name="qs_detail_header_text_padding">16dp</dimen> |
Jorim Jaggi | e17c4b4 | 2014-08-26 17:27:31 +0200 | [diff] [blame] | 494 | <dimen name="qs_data_usage_text_size">14sp</dimen> |
| 495 | <dimen name="qs_data_usage_usage_text_size">36sp</dimen> |
Jason Monk | b53b6c5 | 2016-02-24 17:25:49 -0500 | [diff] [blame] | 496 | <dimen name="qs_battery_padding">2dp</dimen> |
Muyuan Li | a94a03d | 2016-06-03 13:13:08 -0700 | [diff] [blame] | 497 | <dimen name="qs_detail_padding_start">16dp</dimen> |
Jason Monk | 6573ef2 | 2016-04-06 12:37:18 -0400 | [diff] [blame] | 498 | <dimen name="qs_detail_items_padding_top">4dp</dimen> |
Muyuan Li | 72a6387 | 2016-05-14 11:35:41 -0700 | [diff] [blame] | 499 | <dimen name="qs_detail_item_icon_size">24dp</dimen> |
jackqdyulei | 98b7fdb | 2017-09-06 16:38:23 -0700 | [diff] [blame] | 500 | <dimen name="qs_detail_item_icon_width">32dp</dimen> |
Muyuan Li | 72a6387 | 2016-05-14 11:35:41 -0700 | [diff] [blame] | 501 | <dimen name="qs_detail_item_icon_marginStart">0dp</dimen> |
| 502 | <dimen name="qs_detail_item_icon_marginEnd">20dp</dimen> |
Fabian Kozynski | b1aee81 | 2019-04-04 14:17:48 -0400 | [diff] [blame] | 503 | <dimen name="qs_header_tooltip_height">48dp</dimen> |
| 504 | <dimen name="qs_header_alarm_icon_size">@dimen/status_bar_icon_drawing_size</dimen> |
Fabian Kozynski | 0e8449f | 2019-03-14 15:03:48 -0400 | [diff] [blame] | 505 | <dimen name="qs_header_mobile_icon_size">@dimen/status_bar_icon_drawing_size</dimen> |
Rohan Shah | d3cf756 | 2018-02-23 11:12:28 -0800 | [diff] [blame] | 506 | <dimen name="qs_header_alarm_text_margin_start">6dp</dimen> |
Fabian Kozynski | 4e76d1f | 2019-02-25 16:30:04 -0500 | [diff] [blame] | 507 | <dimen name="qs_header_separator_width">8dp</dimen> |
| 508 | <dimen name="qs_header_carrier_separator_width">6dp</dimen> |
| 509 | <dimen name="qs_status_separator">32dp</dimen> |
| 510 | <dimen name="qs_carrier_margin_width">4dp</dimen> |
phweiss | 4f70f10 | 2017-04-12 19:32:55 +0200 | [diff] [blame] | 511 | <dimen name="qs_footer_padding_start">16dp</dimen> |
Amin Shaikh | 06c2e8f | 2018-04-10 10:56:46 -0400 | [diff] [blame] | 512 | <dimen name="qs_footer_padding_end">16dp</dimen> |
phweiss | 4f70f10 | 2017-04-12 19:32:55 +0200 | [diff] [blame] | 513 | <dimen name="qs_footer_icon_size">16dp</dimen> |
Fabian Kozynski | 0e8449f | 2019-03-14 15:03:48 -0400 | [diff] [blame] | 514 | <dimen name="qs_paged_tile_layout_padding_bottom">0dp</dimen> |
Fabian Kozynski | cf1747b | 2019-04-26 10:08:46 -0400 | [diff] [blame] | 515 | <dimen name="qs_header_top_padding">15dp</dimen> |
| 516 | <dimen name="qs_header_bottom_padding">14dp</dimen> |
Muyuan Li | 72a6387 | 2016-05-14 11:35:41 -0700 | [diff] [blame] | 517 | |
Jason Monk | 231b052 | 2018-01-04 10:49:55 -0500 | [diff] [blame] | 518 | <dimen name="qs_notif_collapsed_space">64dp</dimen> |
| 519 | |
Muyuan Li | 72a6387 | 2016-05-14 11:35:41 -0700 | [diff] [blame] | 520 | <!-- Desired qs icon overlay size. --> |
| 521 | <dimen name="qs_detail_icon_overlay_size">24dp</dimen> |
Chris Wren | 0f2aa68 | 2013-08-02 12:03:02 -0400 | [diff] [blame] | 522 | |
John Spurlock | fbc1fdf8 | 2015-05-08 18:16:54 -0400 | [diff] [blame] | 523 | <dimen name="segmented_button_spacing">0dp</dimen> |
John Spurlock | bb4a702 | 2014-11-08 12:40:19 -0500 | [diff] [blame] | 524 | <dimen name="borderless_button_radius">2dp</dimen> |
John Spurlock | ae641c9 | 2014-06-30 18:11:40 -0400 | [diff] [blame] | 525 | |
Sudheer Shanka | 1c7cda8 | 2015-12-31 14:46:02 +0000 | [diff] [blame] | 526 | <dimen name="restricted_padlock_pading">4dp</dimen> |
| 527 | |
Jorim Jaggi | f62f2bb | 2014-05-25 22:28:41 +0200 | [diff] [blame] | 528 | <!-- 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] | 529 | <dimen name="qs_peek_height">0dp</dimen> |
Jorim Jaggi | f62f2bb | 2014-05-25 22:28:41 +0200 | [diff] [blame] | 530 | |
phweiss | 9e450e1 | 2016-12-02 14:31:04 +0100 | [diff] [blame] | 531 | <!-- How large the icons in the quick settings footer dialog are --> |
| 532 | <dimen name="qs_footer_dialog_icon_size">24sp</dimen> |
| 533 | <!-- Left and right margin of the icons --> |
| 534 | <dimen name="qs_footer_dialog_icon_margin">8sp</dimen> |
phweiss | 0330f88 | 2017-04-19 20:14:51 +0200 | [diff] [blame] | 535 | <!-- Padding between subtitles and the following text in the QSFooter dialog --> |
| 536 | <dimen name="qs_footer_dialog_subtitle_padding">20dp</dimen> |
phweiss | 9e450e1 | 2016-12-02 14:31:04 +0100 | [diff] [blame] | 537 | |
Amin Shaikh | 6adcacc5 | 2018-02-21 15:52:36 -0500 | [diff] [blame] | 538 | <dimen name="seek_bar_height">3dp</dimen> |
| 539 | <dimen name="seek_bar_corner_radius">3dp</dimen> |
| 540 | |
John Spurlock | 3e07701 | 2014-11-29 13:22:21 -0500 | [diff] [blame] | 541 | <!-- Zen mode panel: condition item button padding --> |
John Spurlock | 8600534 | 2014-05-23 11:58:00 -0400 | [diff] [blame] | 542 | <dimen name="zen_mode_condition_detail_button_padding">8dp</dimen> |
John Spurlock | 8600534 | 2014-05-23 11:58:00 -0400 | [diff] [blame] | 543 | |
John Spurlock | 3e07701 | 2014-11-29 13:22:21 -0500 | [diff] [blame] | 544 | <!-- Zen mode panel: spacing between condition items --> |
| 545 | <dimen name="zen_mode_condition_detail_item_spacing">12dp</dimen> |
| 546 | |
| 547 | <!-- Zen mode panel: spacing between two-line condition upper and lower lines --> |
| 548 | <dimen name="zen_mode_condition_detail_item_interline_spacing">4dp</dimen> |
| 549 | |
| 550 | <!-- Zen mode panel: bottom padding, a bit less than qs_panel_padding --> |
| 551 | <dimen name="zen_mode_condition_detail_bottom_padding">4dp</dimen> |
| 552 | |
Daniel Sandler | 8475a74 | 2013-09-26 00:24:57 -0400 | [diff] [blame] | 553 | <!-- used by DessertCase --> |
| 554 | <dimen name="dessert_case_cell_size">192dp</dimen> |
John Spurlock | 74d2480 | 2013-12-02 17:14:51 -0500 | [diff] [blame] | 555 | |
| 556 | <!-- Default glow radius for GlowPadView --> |
| 557 | <dimen name="glowpadview_glow_radius">75dip</dimen> |
| 558 | |
| 559 | <!-- Default distance from each snap target that GlowPadView considers a "hit" --> |
| 560 | <dimen name="glowpadview_inner_radius">15dip</dimen> |
Winson Chung | 37c8d8e | 2014-03-24 14:53:07 -0700 | [diff] [blame] | 561 | |
Selim Cinek | 67b2260 | 2014-03-10 15:40:16 +0100 | [diff] [blame] | 562 | <!-- Z distance between notifications if they are in the stack --> |
Selim Cinek | 277a8aa | 2016-01-22 12:12:37 -0800 | [diff] [blame] | 563 | <dimen name="z_distance_between_notifications">0.5dp</dimen> |
Selim Cinek | 67b2260 | 2014-03-10 15:40:16 +0100 | [diff] [blame] | 564 | |
Selim Cinek | cacc604 | 2016-01-21 16:16:41 -0800 | [diff] [blame] | 565 | <!-- The height of the divider between the individual notifications. --> |
| 566 | <dimen name="notification_divider_height">0.5dp</dimen> |
Jorim Jaggi | fe40f7d | 2014-04-28 15:20:04 +0200 | [diff] [blame] | 567 | |
Anthony Chen | 9fe1ee7 | 2017-04-07 13:53:37 -0700 | [diff] [blame] | 568 | <!-- The corner radius of the shadow behind the notification. --> |
| 569 | <dimen name="notification_shadow_radius">0dp</dimen> |
| 570 | |
Anthony Chen | 6bf88a0 | 2017-04-10 14:41:44 -0700 | [diff] [blame] | 571 | <!-- The alpha of the dividing line between child notifications of a notification group. --> |
| 572 | <item name="notification_divider_alpha" format="float" type="dimen">0.5</item> |
| 573 | |
| 574 | <!-- The height of the divider between the individual notifications in a notification |
| 575 | group. --> |
| 576 | <dimen name="notification_children_container_divider_height">@dimen/notification_divider_height</dimen> |
| 577 | |
Anthony Chen | 6bf88a0 | 2017-04-10 14:41:44 -0700 | [diff] [blame] | 578 | <!-- The top margin for the notification children container in its non-expanded form. --> |
| 579 | <dimen name="notification_children_container_margin_top">@*android:dimen/notification_content_margin_top</dimen> |
| 580 | |
Mady Mellor | b0a8246 | 2016-04-30 17:31:02 -0700 | [diff] [blame] | 581 | <!-- The height of a notification header --> |
| 582 | <dimen name="notification_header_height">53dp</dimen> |
| 583 | |
Selim Cinek | 61633a8 | 2016-01-25 15:54:10 -0800 | [diff] [blame] | 584 | <!-- 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 --> |
| 585 | <dimen name="notification_divider_height_increased">6dp</dimen> |
| 586 | |
Gus Prevas | e2d6f04 | 2018-10-17 15:25:30 -0400 | [diff] [blame] | 587 | <!-- The height of the gap between adjacent notification sections. --> |
| 588 | <dimen name="notification_section_divider_height">@dimen/notification_side_paddings</dimen> |
| 589 | |
Selim Cinek | 1408eb5 | 2014-06-02 14:45:38 +0200 | [diff] [blame] | 590 | <!-- The minimum amount of top overscroll to go to the quick settings. --> |
| 591 | <dimen name="min_top_overscroll_to_qs">36dp</dimen> |
| 592 | |
Selim Cinek | 1e119db | 2014-06-11 20:03:14 +0200 | [diff] [blame] | 593 | <!-- The height of the speed bump view. --> |
| 594 | <dimen name="speed_bump_height">16dp</dimen> |
Selim Cinek | c27437b | 2014-05-14 10:23:33 +0200 | [diff] [blame] | 595 | |
Selim Cinek | 19c8c70 | 2014-08-25 22:09:19 +0200 | [diff] [blame] | 596 | <!-- Lockscreen unlocking falsing threshold. --> |
Selim Cinek | 5386fb3 | 2014-09-03 16:37:36 +0200 | [diff] [blame] | 597 | <dimen name="unlock_falsing_threshold">80dp</dimen> |
Selim Cinek | 19c8c70 | 2014-08-25 22:09:19 +0200 | [diff] [blame] | 598 | |
| 599 | <!-- Lockscreen falsing threshold for quick settings. --> |
Selim Cinek | ff3bf4b | 2015-05-29 05:39:08 -0700 | [diff] [blame] | 600 | <dimen name="qs_falsing_threshold">60dp</dimen> |
Selim Cinek | 19c8c70 | 2014-08-25 22:09:19 +0200 | [diff] [blame] | 601 | |
| 602 | <!-- Falsing threshold used when dismissing notifications from the lockscreen. --> |
Selim Cinek | 5386fb3 | 2014-09-03 16:37:36 +0200 | [diff] [blame] | 603 | <dimen name="swipe_helper_falsing_threshold">70dp</dimen> |
John Spurlock | 73203eb | 2014-04-15 16:14:46 -0400 | [diff] [blame] | 604 | |
Jorim Jaggi | ecbab36 | 2014-04-23 16:13:15 +0200 | [diff] [blame] | 605 | <!-- Minimum distance the user has to drag down to go to the full shade. --> |
| 606 | <dimen name="keyguard_drag_down_min_distance">100dp</dimen> |
Jorim Jaggi | 069cd03 | 2014-05-15 03:09:01 +0200 | [diff] [blame] | 607 | |
Lucas Dupin | 41ff695 | 2018-02-18 19:39:32 -0800 | [diff] [blame] | 608 | <!-- The margin between the clock and the notifications on Keyguard.--> |
Lucas Dupin | d285cf0 | 2018-01-18 09:18:23 -0800 | [diff] [blame] | 609 | <dimen name="keyguard_clock_notifications_margin">30dp</dimen> |
Lucas Dupin | bc9aac1 | 2018-03-04 20:18:15 -0800 | [diff] [blame] | 610 | <!-- Minimum margin between clock and status bar --> |
| 611 | <dimen name="keyguard_clock_top_margin">36dp</dimen> |
Robert Snoeberger | 69969c2 | 2019-05-02 16:44:11 -0400 | [diff] [blame] | 612 | <!-- The margin between top of clock and bottom of lock icon. --> |
| 613 | <dimen name="keyguard_clock_lock_margin">16dp</dimen> |
Jorim Jaggi | 069cd03 | 2014-05-15 03:09:01 +0200 | [diff] [blame] | 614 | |
Anthony Chen | 3cb3ad9 | 2016-12-01 10:58:47 -0800 | [diff] [blame] | 615 | <item name="scrim_behind_alpha" format="float" type="dimen">0.62</item> |
| 616 | |
Selim Cinek | 4c6969a | 2014-05-26 19:22:17 +0200 | [diff] [blame] | 617 | <!-- 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] | 618 | <dimen name="keyguard_min_swipe_amount">110dp</dimen> |
Selim Cinek | 4c6969a | 2014-05-26 19:22:17 +0200 | [diff] [blame] | 619 | |
Selim Cinek | baa2327 | 2014-07-08 18:01:07 +0200 | [diff] [blame] | 620 | <!-- The minimum background radius when swiping to a side for the camera / phone affordances. --> |
| 621 | <dimen name="keyguard_affordance_min_background_radius">30dp</dimen> |
| 622 | |
Selim Cinek | 6746c28 | 2015-04-21 19:58:31 -0700 | [diff] [blame] | 623 | <!-- The size of the touch targets on the keyguard for the affordances. --> |
Selim Cinek | 60d30d6 | 2015-06-01 18:06:00 +0200 | [diff] [blame] | 624 | <dimen name="keyguard_affordance_touch_target_size">120dp</dimen> |
Selim Cinek | 6746c28 | 2015-04-21 19:58:31 -0700 | [diff] [blame] | 625 | |
Selim Cinek | baa2327 | 2014-07-08 18:01:07 +0200 | [diff] [blame] | 626 | <!-- The grow amount for the camera and phone circles when hinting --> |
| 627 | <dimen name="hint_grow_amount_sideways">60dp</dimen> |
| 628 | |
Jorim Jaggi | 457cc35 | 2014-06-02 22:47:42 +0200 | [diff] [blame] | 629 | <!-- Distance between notifications and header when they are considered to be colliding. --> |
Jorim Jaggi | 3afddce | 2014-08-14 20:44:43 +0200 | [diff] [blame] | 630 | <dimen name="header_notifications_collide_distance">48dp</dimen> |
Jorim Jaggi | 457cc35 | 2014-06-02 22:47:42 +0200 | [diff] [blame] | 631 | |
Jorim Jaggi | 8dd95e0 | 2014-06-03 16:19:33 +0200 | [diff] [blame] | 632 | <!-- Distance the user needs to drag vertically such that a swipe is accepted to unlock the |
| 633 | device. --> |
| 634 | <dimen name="unlock_move_distance">75dp</dimen> |
| 635 | |
Jorim Jaggi | b3f0a2f | 2014-06-02 19:29:39 +0200 | [diff] [blame] | 636 | <!-- Move distance for the unlock hint animation on the lockscreen --> |
Jorim Jaggi | 9012958 | 2014-06-02 14:44:49 +0200 | [diff] [blame] | 637 | <dimen name="hint_move_distance">75dp</dimen> |
Jorim Jaggi | b3f0a2f | 2014-06-02 19:29:39 +0200 | [diff] [blame] | 638 | |
Jorim Jaggi | b3f0a2f | 2014-06-02 19:29:39 +0200 | [diff] [blame] | 639 | <!-- The width of the region on the left/right edge of the screen for performing the camera/ |
| 640 | phone hints. --> |
| 641 | <dimen name="edge_tap_area_width">48dp</dimen> |
Jorim Jaggi | 80f5e3c | 2014-06-10 22:03:48 +0200 | [diff] [blame] | 642 | |
Selim Cinek | 7b83639 | 2015-12-04 20:02:59 -0800 | [diff] [blame] | 643 | <!-- The padding between notification children when collapsed --> |
| 644 | <dimen name="notification_children_padding">4dp</dimen> |
| 645 | |
| 646 | <!-- The padding on top of the first notification to the children container --> |
| 647 | <dimen name="notification_children_container_top_padding">8dp</dimen> |
Selim Cinek | b5605e5 | 2015-02-20 18:21:41 +0100 | [diff] [blame] | 648 | |
Jorim Jaggi | 129e7ac | 2014-06-10 22:03:48 +0200 | [diff] [blame] | 649 | <!-- end margin for multi user switch in expanded quick settings --> |
| 650 | <dimen name="multi_user_switch_expanded_margin">8dp</dimen> |
Adrian Roos | 8ddb2da | 2014-06-16 18:56:22 -0700 | [diff] [blame] | 651 | |
Jorim Jaggi | 3f48f46 | 2014-07-08 16:53:29 +0200 | [diff] [blame] | 652 | <!-- end margin for multi user switch in collapsed quick settings --> |
| 653 | <dimen name="multi_user_switch_collapsed_margin">13dp</dimen> |
| 654 | |
| 655 | <!-- end margin for multi user switch in collapsed quick settings --> |
| 656 | <dimen name="multi_user_switch_keyguard_margin">3dp</dimen> |
| 657 | |
Adrian Roos | 8ddb2da | 2014-06-16 18:56:22 -0700 | [diff] [blame] | 658 | <!-- end margin for system icons if multi user switch is hidden --> |
| 659 | <dimen name="system_icons_switcher_hidden_expanded_margin">16dp</dimen> |
| 660 | |
| 661 | <!-- The thickness of the colored border around the current user. --> |
| 662 | <dimen name="keyguard_user_switcher_border_thickness">2dp</dimen> |
| 663 | |
John Spurlock | 5e9049a | 2014-07-08 23:40:46 -0400 | [diff] [blame] | 664 | <dimen name="data_usage_graph_marker_width">4dp</dimen> |
Jorim Jaggi | 3f48f46 | 2014-07-08 16:53:29 +0200 | [diff] [blame] | 665 | |
| 666 | <!-- The padding bottom of the clock group when QS is expanded. --> |
| 667 | <dimen name="clock_expanded_bottom_margin">20dp</dimen> |
| 668 | |
Jorim Jaggi | c7dea6e | 2014-07-26 14:36:57 +0200 | [diff] [blame] | 669 | <!-- The padding bottom of the clock group when QS is collapsed. --> |
| 670 | <dimen name="clock_collapsed_bottom_margin">10dp</dimen> |
| 671 | |
Jorim Jaggi | e17c4b4 | 2014-08-26 17:27:31 +0200 | [diff] [blame] | 672 | <!-- The padding bottom of the clock group when QS is collapsed for large text --> |
| 673 | <dimen name="clock_collapsed_bottom_margin_large_text">6dp</dimen> |
| 674 | |
Jorim Jaggi | 3f48f46 | 2014-07-08 16:53:29 +0200 | [diff] [blame] | 675 | <!-- The width of the multi user switch on keyguard and collapsed QS header. --> |
| 676 | <dimen name="multi_user_switch_width_collapsed">34dp</dimen> |
| 677 | |
| 678 | <!-- The width of the multi user switch in expanded QS header. --> |
| 679 | <dimen name="multi_user_switch_width_expanded">48dp</dimen> |
| 680 | |
Jorim Jaggi | 87d84d4 | 2014-07-28 12:14:48 +0200 | [diff] [blame] | 681 | <!-- The width of user avatar when on Keyguard --> |
| 682 | <dimen name="multi_user_switch_width_keyguard">34dp</dimen> |
| 683 | |
Jorim Jaggi | 3f48f46 | 2014-07-08 16:53:29 +0200 | [diff] [blame] | 684 | <!-- The width of user avatar when collapsed --> |
| 685 | <dimen name="multi_user_avatar_collapsed_size">22dp</dimen> |
| 686 | |
Jorim Jaggi | 87d84d4 | 2014-07-28 12:14:48 +0200 | [diff] [blame] | 687 | <!-- The width of user avatar when on Keyguard --> |
| 688 | <dimen name="multi_user_avatar_keyguard_size">22dp</dimen> |
| 689 | |
Adrian Roos | 2b154a9 | 2014-11-17 15:18:39 +0100 | [diff] [blame] | 690 | <!-- The width of user avatar when expanded --> |
Fabian Kozynski | 4e76d1f | 2019-02-25 16:30:04 -0500 | [diff] [blame] | 691 | <dimen name="multi_user_avatar_expanded_size">20dp</dimen> |
Adrian Roos | 2b154a9 | 2014-11-17 15:18:39 +0100 | [diff] [blame] | 692 | |
Jorim Jaggi | 3f48f46 | 2014-07-08 16:53:29 +0200 | [diff] [blame] | 693 | <!-- The font size of the time when collapsed in QS --> |
| 694 | <dimen name="qs_time_collapsed_size">14sp</dimen> |
Jorim Jaggi | 362dd6d | 2014-07-09 19:04:07 +0200 | [diff] [blame] | 695 | |
| 696 | <!-- The font size of the time when expanded in QS --> |
Jason Monk | 3250885 | 2017-01-18 09:17:13 -0500 | [diff] [blame] | 697 | <dimen name="qs_time_expanded_size">14sp</dimen> |
Jorim Jaggi | d4aafe9 | 2014-07-10 21:00:57 +0200 | [diff] [blame] | 698 | |
Jorim Jaggi | e17c4b4 | 2014-08-26 17:27:31 +0200 | [diff] [blame] | 699 | <!-- The font size of the "emergency calls only" label in QS --> |
| 700 | <dimen name="qs_emergency_calls_only_text_size">12sp</dimen> |
| 701 | |
| 702 | <!-- The font size of the date in QS --> |
| 703 | <dimen name="qs_date_collapsed_size">14sp</dimen> |
Jason Monk | f25e6a1 | 2016-07-13 14:45:52 -0400 | [diff] [blame] | 704 | <!-- Amount the date/time move when emergency calls only is present --> |
| 705 | <dimen name="qs_date_time_translation">8dp</dimen> |
Jorim Jaggi | e17c4b4 | 2014-08-26 17:27:31 +0200 | [diff] [blame] | 706 | |
Dan Sandler | df14c20 | 2017-02-21 14:51:11 -0500 | [diff] [blame] | 707 | <!-- Padding before battery level text in status bar, QS, and Keyguard --> |
| 708 | <dimen name="battery_level_padding_start">4dp</dimen> |
Dan Sandler | 4d75c07 | 2014-07-17 16:01:28 -0400 | [diff] [blame] | 709 | |
Dan Sandler | eceda3d | 2014-07-21 15:35:01 -0400 | [diff] [blame] | 710 | <!-- The top padding of the clear all button --> |
Jorim Jaggi | 2ae259d | 2014-08-04 23:35:47 +0200 | [diff] [blame] | 711 | <dimen name="clear_all_padding_top">12dp</dimen> |
Dan Sandler | eceda3d | 2014-07-21 15:35:01 -0400 | [diff] [blame] | 712 | |
Ned Burns | 8e42667 | 2019-05-20 18:02:19 -0400 | [diff] [blame] | 713 | <dimen name="notification_section_header_height">48dp</dimen> |
Ned Burns | 9eb0633 | 2019-04-23 16:02:12 -0400 | [diff] [blame] | 714 | <dimen name="notification_section_header_padding_left">16dp</dimen> |
| 715 | |
Dan Sandler | 4d75c07 | 2014-07-17 16:01:28 -0400 | [diff] [blame] | 716 | <!-- Largest size an avatar might need to be drawn in the user picker, status bar, or |
| 717 | quick settings header --> |
| 718 | <dimen name="max_avatar_size">48dp</dimen> |
Jorim Jaggi | 87d84d4 | 2014-07-28 12:14:48 +0200 | [diff] [blame] | 719 | |
Evan Rosky | aa7f51f | 2016-03-16 13:15:53 -0700 | [diff] [blame] | 720 | <!-- Size of user icon + frame in the qs/keyguard user picker (incl. frame) --> |
| 721 | <dimen name="framed_avatar_size">54dp</dimen> |
| 722 | |
Jorim Jaggi | 87d84d4 | 2014-07-28 12:14:48 +0200 | [diff] [blame] | 723 | <!-- Margin on the left side of the carrier text on Keyguard --> |
| 724 | <dimen name="keyguard_carrier_text_margin">16dp</dimen> |
| 725 | |
| 726 | <!-- Margin on the left side of the battery % in the header. --> |
Jorim Jaggi | 5172dc2 | 2014-09-02 14:59:06 +0200 | [diff] [blame] | 727 | <dimen name="header_battery_margin_expanded">6dp</dimen> |
Jorim Jaggi | 87d84d4 | 2014-07-28 12:14:48 +0200 | [diff] [blame] | 728 | |
| 729 | <!-- Margin on the left side of the battery % when on Keyguard. --> |
| 730 | <dimen name="header_battery_margin_keyguard">6dp</dimen> |
Jorim Jaggi | 60d07c5 | 2014-07-31 15:38:21 +0200 | [diff] [blame] | 731 | |
Jorim Jaggi | 5172dc2 | 2014-09-02 14:59:06 +0200 | [diff] [blame] | 732 | <!-- Margin on the right side of the system icon group on Keyguard. --> |
| 733 | <dimen name="system_icons_keyguard_padding_end">4dp</dimen> |
| 734 | |
Jorim Jaggi | 60d07c5 | 2014-07-31 15:38:21 +0200 | [diff] [blame] | 735 | <!-- Additional translation (downwards) for appearing notifications when going to the full shade |
| 736 | from Keyguard. --> |
| 737 | <dimen name="go_to_full_shade_appearing_translation">200dp</dimen> |
Jorim Jaggi | f479792 | 2014-08-04 22:49:41 +0200 | [diff] [blame] | 738 | |
Selim Cinek | 92d892c | 2014-09-11 15:11:00 +0200 | [diff] [blame] | 739 | <!-- The diameter of the search panel circle. --> |
Jorim Jaggi | 2fdeeab | 2015-04-01 15:13:03 -0700 | [diff] [blame] | 740 | <dimen name="assist_orb_size">144dp</dimen> |
Jorim Jaggi | f479792 | 2014-08-04 22:49:41 +0200 | [diff] [blame] | 741 | |
Jorim Jaggi | 2fdeeab | 2015-04-01 15:13:03 -0700 | [diff] [blame] | 742 | <!-- The margin to the edge of the screen from where the orb starts to appear --> |
| 743 | <dimen name="assist_orb_base_margin">22dp</dimen> |
Selim Cinek | 92d892c | 2014-09-11 15:11:00 +0200 | [diff] [blame] | 744 | |
Jorim Jaggi | 2fdeeab | 2015-04-01 15:13:03 -0700 | [diff] [blame] | 745 | <!-- The amount the orb translates when appearing --> |
| 746 | <dimen name="assist_orb_travel_distance">26dp</dimen> |
Selim Cinek | 92d892c | 2014-09-11 15:11:00 +0200 | [diff] [blame] | 747 | |
Jorim Jaggi | 2fdeeab | 2015-04-01 15:13:03 -0700 | [diff] [blame] | 748 | <!-- The elevation of the orb --> |
| 749 | <dimen name="assist_orb_elevation">12dp</dimen> |
Selim Cinek | 92d892c | 2014-09-11 15:11:00 +0200 | [diff] [blame] | 750 | |
Jorim Jaggi | 2fdeeab | 2015-04-01 15:13:03 -0700 | [diff] [blame] | 751 | <!-- The height of the scrim behind the orb. --> |
| 752 | <dimen name="assist_orb_scrim_height">250dp</dimen> |
Jorim Jaggi | f479792 | 2014-08-04 22:49:41 +0200 | [diff] [blame] | 753 | |
Jorim Jaggi | 2fdeeab | 2015-04-01 15:13:03 -0700 | [diff] [blame] | 754 | <!-- The height of the scrim behind the search panel circle. Should be navigation_bar_height |
| 755 | + 8dp. --> |
| 756 | <dimen name="assist_orb_navbar_scrim_height">56dp</dimen> |
Jorim Jaggi | 9cf1f37 | 2014-08-05 19:17:42 +0200 | [diff] [blame] | 757 | |
Lucas Dupin | c9e5d76 | 2019-01-28 09:34:30 -0800 | [diff] [blame] | 758 | <!-- The width/height of the phone/camera icon view on keyguard. --> |
Jorim Jaggi | 9cf1f37 | 2014-08-05 19:17:42 +0200 | [diff] [blame] | 759 | <dimen name="keyguard_affordance_height">56dp</dimen> |
| 760 | <dimen name="keyguard_affordance_width">56dp</dimen> |
Jorim Jaggi | e210cc8 | 2014-08-12 23:44:59 +0200 | [diff] [blame] | 761 | |
Lucas Dupin | c9e5d76 | 2019-01-28 09:34:30 -0800 | [diff] [blame] | 762 | <!-- The width/height of the unlock icon view on keyguard. --> |
Lucas Dupin | ce56d3b | 2019-03-07 13:02:25 -0800 | [diff] [blame] | 763 | <dimen name="keyguard_lock_height">42dp</dimen> |
| 764 | <dimen name="keyguard_lock_width">42dp</dimen> |
Lucas Dupin | 2e838ac | 2019-04-17 16:50:58 -0700 | [diff] [blame] | 765 | <dimen name="keyguard_lock_padding">20dp</dimen> |
Lucas Dupin | c9e5d76 | 2019-01-28 09:34:30 -0800 | [diff] [blame] | 766 | |
Robert Snoeberger | 11de809 | 2019-05-09 11:19:24 -0400 | [diff] [blame] | 767 | <dimen name="keyguard_indication_margin_bottom">40dp</dimen> |
Jorim Jaggi | e210cc8 | 2014-08-12 23:44:59 +0200 | [diff] [blame] | 768 | |
| 769 | <!-- The text size for battery level --> |
| 770 | <dimen name="battery_level_text_size">12sp</dimen> |
Adrian Roos | 2e3ccbb | 2014-08-19 22:23:37 +0200 | [diff] [blame] | 771 | |
| 772 | <!-- TrustDrawable: Minimum inner radius of the breathing animation --> |
| 773 | <dimen name="trust_circle_inner_radius_visible_min">22dp</dimen> |
| 774 | <!-- TrustDrawable: Maximum inner radius of the breathing animation --> |
| 775 | <dimen name="trust_circle_inner_radius_visible_max">24dp</dimen> |
| 776 | <!-- TrustDrawable: Inner radius at the end of the exit animation --> |
| 777 | <dimen name="trust_circle_inner_radius_exit">38dp</dimen> |
| 778 | <!-- TrustDrawable: Inner radius at the beginning of the enter animation --> |
| 779 | <dimen name="trust_circle_inner_radius_enter">18dp</dimen> |
| 780 | <!-- TrustDrawable: Thickness of the circle --> |
| 781 | <dimen name="trust_circle_thickness">2dp</dimen> |
| 782 | |
Adrian Roos | 9f0b002 | 2016-11-09 15:56:50 -0800 | [diff] [blame] | 783 | <!-- How much two taps can be apart to still be recognized as a double tap on the lockscreen --> |
| 784 | <dimen name="double_tap_slop">32dp</dimen> |
| 785 | |
Jorim Jaggi | a0221f3 | 2014-09-03 16:29:39 +0200 | [diff] [blame] | 786 | <dimen name="battery_margin_bottom">0dp</dimen> |
Jorim Jaggi | c737b9b | 2014-09-08 23:57:20 +0200 | [diff] [blame] | 787 | |
Anthony Chen | e87032c | 2016-02-09 07:42:25 -0800 | [diff] [blame] | 788 | <!-- Padding at the end of the view that displays the mobile signal icons. If the view is |
| 789 | empty, then this padding will not be added to that view. --> |
| 790 | <dimen name="mobile_signal_group_end_padding">0dp</dimen> |
| 791 | |
| 792 | <!-- Padding between the mobile data type and the strength indicator. --> |
| 793 | <dimen name="mobile_data_icon_start_padding">0dp</dimen> |
| 794 | |
Jorim Jaggi | c737b9b | 2014-09-08 23:57:20 +0200 | [diff] [blame] | 795 | <!-- Extra padding between the mobile data type icon and the strength indicator when the data |
| 796 | type icon is wide. --> |
| 797 | <dimen name="wide_type_icon_start_padding">2dp</dimen> |
| 798 | |
Amin Shaikh | d8f546f | 2018-03-08 11:20:41 -0500 | [diff] [blame] | 799 | <!-- Padding between the mobile signal indicator and the start icon when the roaming icon |
| 800 | is displayed in the upper left corner. --> |
| 801 | <dimen name="roaming_icon_start_padding">2dp</dimen> |
| 802 | |
Jason Monk | b574627 | 2014-11-12 16:50:31 -0500 | [diff] [blame] | 803 | <!-- Extra padding between multiple phone signal icons. --> |
| 804 | <dimen name="secondary_telephony_padding">2dp</dimen> |
| 805 | |
Jorim Jaggi | c737b9b | 2014-09-08 23:57:20 +0200 | [diff] [blame] | 806 | <!-- Extra padding between the mobile data type icon and the strength indicator when the data |
| 807 | type icon is wide for the tile in quick settings. --> |
| 808 | <dimen name="wide_type_icon_start_padding_qs">3dp</dimen> |
Jorim Jaggi | 072707d | 2014-09-15 17:20:08 +0200 | [diff] [blame] | 809 | |
Rohan Shah | 28191fc | 2018-01-16 14:28:55 -0800 | [diff] [blame] | 810 | <dimen name="signal_indicator_to_icon_frame_spacing">3dp</dimen> |
| 811 | |
Jorim Jaggi | 072707d | 2014-09-15 17:20:08 +0200 | [diff] [blame] | 812 | <!-- The maximum width of the navigation bar ripples. --> |
| 813 | <dimen name="key_button_ripple_max_width">95dp</dimen> |
Xiyuan Xia | 1b30f79 | 2016-01-06 08:50:30 -0800 | [diff] [blame] | 814 | |
Jorim Jaggi | cb55703 | 2014-09-16 23:09:24 +0200 | [diff] [blame] | 815 | <!-- Inset shadow for FakeShadowDrawable. It is used to avoid gaps between the card |
| 816 | and the shadow. --> |
| 817 | <dimen name="fake_shadow_inset">1dp</dimen> |
| 818 | |
| 819 | <dimen name="fake_shadow_size">8dp</dimen> |
Jorim Jaggi | 6d035f1 | 2014-10-17 18:43:43 +0200 | [diff] [blame] | 820 | |
Anthony Chen | 55e8e1e | 2016-01-08 10:31:46 -0800 | [diff] [blame] | 821 | <!-- Starting margin before the signal cluster --> |
| 822 | <dimen name="signal_cluster_margin_start">2.5dp</dimen> |
| 823 | |
Jorim Jaggi | 6d035f1 | 2014-10-17 18:43:43 +0200 | [diff] [blame] | 824 | <!-- Padding between signal cluster and battery icon --> |
Amin Shaikh | 6e43679 | 2018-03-22 14:33:08 -0400 | [diff] [blame] | 825 | <dimen name="signal_cluster_battery_padding">6dp</dimen> |
Jorim Jaggi | 6d035f1 | 2014-10-17 18:43:43 +0200 | [diff] [blame] | 826 | |
| 827 | <!-- Padding for signal cluster and battery icon when there are not icons in signal cluster --> |
| 828 | <dimen name="no_signal_cluster_battery_padding">3dp</dimen> |
Jason Monk | 18f99d9 | 2014-09-11 13:36:42 -0400 | [diff] [blame] | 829 | |
| 830 | <!-- Screen pinning request width --> |
| 831 | <dimen name="screen_pinning_request_width">@dimen/match_parent</dimen> |
| 832 | <!-- Screen pinning request nav button circle heights --> |
| 833 | <dimen name="screen_pinning_request_button_height">66dp</dimen> |
| 834 | <!-- Screen pinning request nav button circle widths --> |
| 835 | <dimen name="screen_pinning_request_button_width">84dp</dimen> |
| 836 | <!-- Screen pinning request padding on top of inner circle --> |
| 837 | <dimen name="screen_pinning_request_inner_padding">14dp</dimen> |
Jason Monk | e763a26 | 2017-03-28 16:25:08 -0400 | [diff] [blame] | 838 | <!-- Screen pinning request seascape negative padding --> |
| 839 | <dimen name="screen_pinning_request_seascape_padding_negative">-18dp</dimen> |
| 840 | <!-- Screen pinning request seascape button offset --> |
| 841 | <dimen name="screen_pinning_request_seascape_button_offset">-4dp</dimen> |
Jason Monk | 18f99d9 | 2014-09-11 13:36:42 -0400 | [diff] [blame] | 842 | <!-- Screen pinning request padding on top of icons --> |
| 843 | <dimen name="screen_pinning_request_nav_icon_padding">18dp</dimen> |
| 844 | <!-- Screen pinning request padding on side of icons |
| 845 | (makes the width match the nav bar)--> |
| 846 | <dimen name="screen_pinning_request_nav_side_padding">7dp</dimen> |
| 847 | <!-- Screen pinning request side views to match nav bar |
| 848 | navigation_side_padding - 3 / 2 * (screen_pinning_request_button_width |
| 849 | - navigation_key_width) --> |
| 850 | <dimen name="screen_pinning_request_side_width">34dp</dimen> |
| 851 | <!-- Screen pinning request controls padding on bigger screens --> |
| 852 | <dimen name="screen_pinning_request_frame_padding">0dp</dimen> |
| 853 | <!-- Screen pinning inner nav bar circle size --> |
| 854 | <dimen name="screen_pinning_nav_highlight_size">56dp</dimen> |
| 855 | <!-- Screen pinning inner nav bar outer circle size --> |
| 856 | <dimen name="screen_pinning_nav_highlight_outer_size">84dp</dimen> |
| 857 | |
Jorim Jaggi | 27c9b74 | 2015-04-09 10:34:49 -0700 | [diff] [blame] | 858 | <!-- Padding to be used on the bottom of the fingerprint icon on Keyguard so it better aligns |
| 859 | with the other icons. --> |
Jorim Jaggi | 29cf9ae | 2015-07-17 12:00:34 -0700 | [diff] [blame] | 860 | <dimen name="fingerprint_icon_additional_padding">4dp</dimen> |
Jorim Jaggi | 6d4a27f | 2015-04-20 16:01:53 -0700 | [diff] [blame] | 861 | |
| 862 | <!-- Minimum margin of the notification panel on the side, when being positioned dynamically --> |
| 863 | <dimen name="notification_panel_min_side_margin">48dp</dimen> |
John Spurlock | d9c75db | 2015-04-28 11:19:13 -0400 | [diff] [blame] | 864 | |
| 865 | <!-- Vertical spacing between multiple volume slider rows --> |
| 866 | <dimen name="volume_slider_interspacing">8dp</dimen> |
| 867 | |
| 868 | <!-- Volume dialog vertical offset from the top of the screen --> |
| 869 | <dimen name="volume_offset_top">0dp</dimen> |
| 870 | |
| 871 | <!-- Standard image button size for volume dialog buttons --> |
| 872 | <dimen name="volume_button_size">48dp</dimen> |
Kenny Guy | 63bf8ac | 2015-06-18 15:09:09 +0100 | [diff] [blame] | 873 | |
John Spurlock | 22def3d | 2015-06-17 11:56:12 -0400 | [diff] [blame] | 874 | <!-- Volume dialog root view bottom margin, at rest --> |
| 875 | <dimen name="volume_dialog_margin_bottom">4dp</dimen> |
Julia Reynolds | 027c749 | 2017-02-15 15:41:14 -0500 | [diff] [blame] | 876 | <dimen name="volume_dialog_padding_top">8dp</dimen> |
Julia Reynolds | 5f83c85 | 2016-06-15 12:53:31 -0400 | [diff] [blame] | 877 | <dimen name="volume_dialog_padding_end">40dp</dimen> |
| 878 | |
| 879 | <dimen name="volume_row_padding_bottom">9.4dp</dimen> |
| 880 | <dimen name="volume_row_padding_start">4dp</dimen> |
| 881 | <dimen name="volume_row_header_padding_start">16dp</dimen> |
| 882 | <dimen name="volume_row_height">64dp</dimen> |
| 883 | <dimen name="volume_row_slider_height">48dp</dimen> |
| 884 | <dimen name="volume_row_slider_padding_start">12dp</dimen> |
| 885 | |
| 886 | <dimen name="volume_expander_margin_end">2dp</dimen> |
| 887 | <dimen name="volume_expander_margin_top">6dp</dimen> |
John Spurlock | 22def3d | 2015-06-17 11:56:12 -0400 | [diff] [blame] | 888 | |
Adrian Roos | 4f43dc0 | 2015-06-17 16:43:38 -0700 | [diff] [blame] | 889 | <!-- Thickness of the assist disclosure beams --> |
Jorim Jaggi | eea8be5 | 2015-07-14 12:44:12 -0700 | [diff] [blame] | 890 | <dimen name="assist_disclosure_thickness">2.5dp</dimen> |
Adrian Roos | 4f43dc0 | 2015-06-17 16:43:38 -0700 | [diff] [blame] | 891 | |
| 892 | <!-- Thickness of the shadows of the assist disclosure beams --> |
| 893 | <dimen name="assist_disclosure_shadow_thickness">1.5dp</dimen> |
Jason Monk | 2681dcb | 2015-09-09 13:50:34 -0400 | [diff] [blame] | 894 | |
| 895 | <dimen name="fab_size">56dp</dimen> |
| 896 | <dimen name="fab_margin">16dp</dimen> |
| 897 | <dimen name="fab_elevation">12dp</dimen> |
| 898 | <dimen name="fab_press_translation_z">9dp</dimen> |
Jason Monk | c34befb | 2015-10-07 16:40:02 -0400 | [diff] [blame] | 899 | |
Jorim Jaggi | 1fcbab6 | 2015-11-04 16:39:50 +0100 | [diff] [blame] | 900 | <!-- How high we lift the divider when touching --> |
Jorim Jaggi | 79b39f0 | 2015-12-17 20:04:31 -0800 | [diff] [blame] | 901 | <dimen name="docked_stack_divider_lift_elevation">4dp</dimen> |
Jorim Jaggi | 1fcbab6 | 2015-11-04 16:39:50 +0100 | [diff] [blame] | 902 | |
Jorim Jaggi | 79b39f0 | 2015-12-17 20:04:31 -0800 | [diff] [blame] | 903 | <dimen name="docked_divider_handle_width">16dp</dimen> |
Jorim Jaggi | 1fcbab6 | 2015-11-04 16:39:50 +0100 | [diff] [blame] | 904 | <dimen name="docked_divider_handle_height">2dp</dimen> |
Jason Monk | eae7c31 | 2016-02-04 13:00:48 -0500 | [diff] [blame] | 905 | |
Jason Monk | 96ab636 | 2016-02-11 11:33:09 -0500 | [diff] [blame] | 906 | <dimen name="battery_detail_graph_space_top">27dp</dimen> |
| 907 | <dimen name="battery_detail_graph_space_bottom">27dp</dimen> |
Andrei Stingaceanu | 844927d | 2016-02-16 14:31:58 +0000 | [diff] [blame] | 908 | |
| 909 | <!-- Keyboard shortcuts helper --> |
| 910 | <dimen name="ksh_layout_width">@dimen/match_parent</dimen> |
Andrei Stingaceanu | d151910 | 2016-03-31 15:53:33 +0100 | [diff] [blame] | 911 | <dimen name="ksh_item_text_size">14sp</dimen> |
| 912 | <dimen name="ksh_item_padding">4dp</dimen> |
| 913 | <dimen name="ksh_item_margin_start">4dp</dimen> |
Winson | 59924fe | 2016-03-17 14:13:18 -0700 | [diff] [blame] | 914 | |
Tracy Zhou | 559d97c | 2018-04-07 23:54:46 -0700 | [diff] [blame] | 915 | <!-- The size of corner radius of the arrow in the onboarding toast. --> |
| 916 | <dimen name="recents_onboarding_toast_arrow_corner_radius">2dp</dimen> |
Tracy Zhou | 5497445 | 2018-05-25 00:04:57 -0700 | [diff] [blame] | 917 | <!-- The start margin of quick scrub onboarding toast. --> |
| 918 | <dimen name="recents_quick_scrub_onboarding_margin_start">8dp</dimen> |
Tracy Zhou | 559d97c | 2018-04-07 23:54:46 -0700 | [diff] [blame] | 919 | |
Mady Mellor | 60421c9 | 2017-03-29 15:27:37 -0700 | [diff] [blame] | 920 | <!-- 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] | 921 | <dimen name="pip_dismiss_gradient_height">176dp</dimen> |
Mady Mellor | 60421c9 | 2017-03-29 15:27:37 -0700 | [diff] [blame] | 922 | |
| 923 | <!-- 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] | 924 | <dimen name="pip_dismiss_text_bottom_margin">24dp</dimen> |
Manu Cornet | c733803 | 2016-12-13 17:32:20 +0000 | [diff] [blame] | 925 | |
Mady Mellor | a7f6974 | 2017-02-03 11:00:20 -0800 | [diff] [blame] | 926 | <!-- The shortest-edge size of the expanded PiP. --> |
| 927 | <dimen name="pip_expanded_shortest_edge_size">160dp</dimen> |
| 928 | |
Winson Chung | 136d1ec8 | 2017-07-18 11:16:30 -0700 | [diff] [blame] | 929 | <!-- The additional offset to apply to the IME animation to account for the input field. --> |
| 930 | <dimen name="pip_ime_offset">48dp</dimen> |
| 931 | |
Mady Mellor | a7f6974 | 2017-02-03 11:00:20 -0800 | [diff] [blame] | 932 | <!-- The padding between actions in the PiP in landscape Note that the PiP does not reflect |
| 933 | the configuration of the device, so we can't use -land resources. --> |
| 934 | <dimen name="pip_between_action_padding_land">8dp</dimen> |
| 935 | |
Winson Chung | e7a3d22 | 2017-03-09 13:26:45 -0800 | [diff] [blame] | 936 | <!-- The height of the PiP actions container in which the actions are vertically centered. --> |
| 937 | <dimen name="pip_action_size">48dp</dimen> |
| 938 | |
| 939 | <!-- The padding around a PiP actions. --> |
| 940 | <dimen name="pip_action_padding">12dp</dimen> |
| 941 | |
| 942 | <!-- The bottom margin of the expand container when there are actions. |
| 943 | Equal to pip_action_size - pip_action_padding. --> |
Winson Chung | 9a352b6 | 2017-05-11 15:24:13 -0700 | [diff] [blame] | 944 | <dimen name="pip_expand_container_edge_margin">30dp</dimen> |
Winson Chung | e7a3d22 | 2017-03-09 13:26:45 -0800 | [diff] [blame] | 945 | |
Jason Monk | e5b770e | 2017-03-03 21:49:29 -0500 | [diff] [blame] | 946 | <dimen name="default_gear_space">18dp</dimen> |
| 947 | <dimen name="cell_overlay_padding">18dp</dimen> |
| 948 | |
Aaron Heuckroth | 4ea2fdb | 2019-02-14 16:28:35 -0500 | [diff] [blame] | 949 | <!-- Global actions power menu --> |
Jason Monk | 4e04e49 | 2017-07-11 11:07:08 -0400 | [diff] [blame] | 950 | <dimen name="global_actions_panel_width">120dp</dimen> |
Wesley.CW Wang | 3004fcb | 2018-06-15 16:24:57 +0800 | [diff] [blame] | 951 | <dimen name="global_actions_padding">12dp</dimen> |
Wesley.CW Wang | 3004fcb | 2018-06-15 16:24:57 +0800 | [diff] [blame] | 952 | <dimen name="global_actions_translate">9dp</dimen> |
| 953 | |
Aaron Heuckroth | f19d272 | 2019-03-11 17:06:02 -0400 | [diff] [blame] | 954 | <!-- Distance from the top of screen in pixels, to position the power menu near the button. --> |
| 955 | <dimen name="global_actions_top_padding">330px</dimen> |
| 956 | |
Aaron Heuckroth | 4ea2fdb | 2019-02-14 16:28:35 -0500 | [diff] [blame] | 957 | <!-- Global actions grid layout --> |
| 958 | <dimen name="global_actions_grid_side_margin">4dp</dimen> |
Aran Ink | 622a43e | 2019-05-23 15:33:49 -0400 | [diff] [blame] | 959 | <dimen name="global_actions_grid_container_bottom_margin">8dp</dimen> |
Aran Ink | a2fb824 | 2019-05-14 15:49:00 -0400 | [diff] [blame] | 960 | |
| 961 | <!-- Used to workaround a bug where shadows are clipped during animations by expanding |
| 962 | the bounds of the parent view. --> |
| 963 | <dimen name="global_actions_grid_container_shadow_offset">20dp</dimen> |
| 964 | <dimen name="global_actions_grid_container_negative_shadow_offset">-20dp</dimen> |
Aaron Heuckroth | 4ea2fdb | 2019-02-14 16:28:35 -0500 | [diff] [blame] | 965 | |
Lucas Dupin | 039951e | 2018-06-27 11:44:57 -0700 | [diff] [blame] | 966 | <!-- The maximum offset in either direction that elements are moved horizontally to prevent |
| 967 | burn-in on AOD. --> |
Adrian Roos | 4fc6de8 | 2017-06-01 16:09:15 -0700 | [diff] [blame] | 968 | <dimen name="burn_in_prevention_offset_x">8dp</dimen> |
| 969 | |
Lucas Dupin | 039951e | 2018-06-27 11:44:57 -0700 | [diff] [blame] | 970 | <!-- The maximum offset in either direction that elements are moved vertically to prevent |
| 971 | burn-in on AOD. --> |
Adrian Roos | 4fc6de8 | 2017-06-01 16:09:15 -0700 | [diff] [blame] | 972 | <dimen name="burn_in_prevention_offset_y">50dp</dimen> |
| 973 | |
Lucas Dupin | 7da4f26 | 2018-09-20 13:41:46 -0700 | [diff] [blame] | 974 | <!-- The maximum offset in either direction that icons move to prevent burn-in on AOD. --> |
Lucas Dupin | 23a8d3b | 2018-10-08 20:57:35 -0700 | [diff] [blame] | 975 | <dimen name="default_burn_in_prevention_offset">15dp</dimen> |
Lucas Dupin | 039951e | 2018-06-27 11:44:57 -0700 | [diff] [blame] | 976 | |
Alison Cichowlas | 3be52db | 2018-03-06 19:48:06 -0500 | [diff] [blame] | 977 | <dimen name="corner_size">8dp</dimen> |
Jason Monk | 16fbd9d | 2017-04-27 14:28:49 -0400 | [diff] [blame] | 978 | <dimen name="top_padding">0dp</dimen> |
| 979 | <dimen name="bottom_padding">48dp</dimen> |
Alison Cichowlas | e1bdc39 | 2018-04-19 18:19:58 -0400 | [diff] [blame] | 980 | <dimen name="edge_margin">8dp</dimen> |
Jason Monk | d4afe15 | 2017-05-01 15:37:43 -0400 | [diff] [blame] | 981 | |
Jason Monk | d9c6ced | 2017-08-30 17:35:27 -0400 | [diff] [blame] | 982 | <dimen name="rounded_corner_content_padding">0dp</dimen> |
| 983 | <dimen name="nav_content_padding">0dp</dimen> |
Winson Chung | 661d5f9 | 2018-05-21 18:41:39 -0700 | [diff] [blame] | 984 | <dimen name="nav_quick_scrub_track_edge_padding">24dp</dimen> |
Winson Chung | 4baf124 | 2018-05-24 14:21:57 -0700 | [diff] [blame] | 985 | <dimen name="nav_quick_scrub_track_thickness">10dp</dimen> |
Jason Monk | d4afe15 | 2017-05-01 15:37:43 -0400 | [diff] [blame] | 986 | |
Matthew Ng | eb5ce83 | 2018-05-15 17:50:37 -0700 | [diff] [blame] | 987 | <!-- Navigation bar shadow params. --> |
| 988 | <dimen name="nav_key_button_shadow_offset_x">0dp</dimen> |
| 989 | <dimen name="nav_key_button_shadow_offset_y">1dp</dimen> |
| 990 | <dimen name="nav_key_button_shadow_radius">0.5dp</dimen> |
Jason Monk | 3c9ac1e | 2017-08-31 10:50:05 -0400 | [diff] [blame] | 991 | |
Milo Sredkov | 6d23a05 | 2018-04-30 10:57:05 +0100 | [diff] [blame] | 992 | <!-- Smart reply button. Total height 48dp, visible height 32dp. --> |
Petr Cermak | ed7429c | 2017-12-18 19:38:04 +0000 | [diff] [blame] | 993 | <dimen name="smart_reply_button_spacing">8dp</dimen> |
Milo Sredkov | 6d23a05 | 2018-04-30 10:57:05 +0100 | [diff] [blame] | 994 | <dimen name="smart_reply_button_padding_vertical">14dp</dimen> |
| 995 | <!-- Note: The following two paddings need to be different until b/78876518 is fixed. --> |
| 996 | <dimen name="smart_reply_button_padding_horizontal_single_line">20dp</dimen> |
| 997 | <dimen name="smart_reply_button_padding_horizontal_double_line">19dp</dimen> |
| 998 | <dimen name="smart_reply_button_min_height">48dp</dimen> |
Kenny Guy | 14d035c | 2018-05-02 19:10:36 +0100 | [diff] [blame] | 999 | <dimen name="smart_reply_button_stroke_width">1dp</dimen> |
Petr Cermak | ed7429c | 2017-12-18 19:38:04 +0000 | [diff] [blame] | 1000 | <dimen name="smart_reply_button_font_size">14sp</dimen> |
Petr Cermak | 102431d | 2018-01-29 10:36:07 +0000 | [diff] [blame] | 1001 | <dimen name="smart_reply_button_line_spacing_extra">6sp</dimen> <!-- Total line height 20sp. --> |
Gustav Sennton | 3c5fcca | 2019-01-16 17:05:03 +0000 | [diff] [blame] | 1002 | <!-- Corner radius = half of min_height to create rounded sides. --> |
| 1003 | <dimen name="smart_reply_button_corner_radius">24dp</dimen> |
| 1004 | <dimen name="smart_action_button_icon_size">18dp</dimen> |
| 1005 | <dimen name="smart_action_button_icon_padding">8dp</dimen> |
Kevin Chyn | 42653e8 | 2018-01-19 14:15:46 -0800 | [diff] [blame] | 1006 | |
Milo Sredkov | e7cf498 | 2018-04-09 15:08:26 +0100 | [diff] [blame] | 1007 | <!-- A reasonable upper bound for the height of the smart reply button. The measuring code |
| 1008 | needs to start with a guess for the maximum size. Currently two-line smart reply buttons |
| 1009 | add about 88dp of height to the notifications. --> |
| 1010 | <dimen name="smart_reply_button_max_height">100dp</dimen> |
| 1011 | |
Selim Cinek | bee4e07 | 2018-05-21 22:06:43 -0700 | [diff] [blame] | 1012 | <!-- The extra height that we allow a notification with a remote input history to be taller than |
| 1013 | the regular notification, when we have remote input history texts present. --> |
| 1014 | <dimen name="remote_input_history_extra_height">60dp</dimen> |
| 1015 | |
Kevin Chyn | 0be1f33 | 2018-09-18 18:15:16 -0700 | [diff] [blame] | 1016 | <!-- Biometric Dialog values --> |
| 1017 | <dimen name="biometric_dialog_biometric_icon_size">64dp</dimen> |
| 1018 | <dimen name="biometric_dialog_corner_size">4dp</dimen> |
Kevin Chyn | 6cf54e8 | 2018-09-18 19:13:27 -0700 | [diff] [blame] | 1019 | <dimen name="biometric_dialog_animation_translation_offset">350dp</dimen> |
Kevin Chyn | bb26914 | 2018-11-07 19:31:51 -0800 | [diff] [blame] | 1020 | <dimen name="biometric_dialog_border_padding">4dp</dimen> |
Beverly | ae79ab9 | 2017-12-11 09:20:02 -0500 | [diff] [blame] | 1021 | |
Beverly | ac32c9a | 2018-01-31 16:10:41 -0500 | [diff] [blame] | 1022 | <!-- Wireless Charging Animation values --> |
| 1023 | <dimen name="wireless_charging_dots_radius_start">0dp</dimen> |
| 1024 | <dimen name="wireless_charging_dots_radius_end">4dp</dimen> |
| 1025 | <dimen name="wireless_charging_circle_radius_start">28dp</dimen> |
Beverly | 3f12992 | 2018-03-21 10:10:33 -0400 | [diff] [blame] | 1026 | <dimen name="wireless_charging_circle_radius_end">84dp</dimen> |
Beverly | ac32c9a | 2018-01-31 16:10:41 -0500 | [diff] [blame] | 1027 | <integer name="wireless_charging_angle_offset">20</integer> |
| 1028 | <integer name="wireless_charging_scale_dots_duration">83</integer> |
Beverly | 3f12992 | 2018-03-21 10:10:33 -0400 | [diff] [blame] | 1029 | <integer name="wireless_charging_num_dots">16</integer> |
| 1030 | <!-- Starting text size in sp of batteryLevel for wireless charging animation --> |
| 1031 | <item name="wireless_charging_anim_battery_level_text_size_start" format="float" type="dimen">0</item> |
| 1032 | <!-- Ending text size in sp of batteryLevel for wireless charging animation --> |
| 1033 | <item name="wireless_charging_anim_battery_level_text_size_end" format="float" type="dimen">24</item> |
Beverly | ac32c9a | 2018-01-31 16:10:41 -0500 | [diff] [blame] | 1034 | <!-- time until battery info is at full opacity--> |
| 1035 | <integer name="wireless_charging_anim_opacity_offset">80</integer> |
| 1036 | <!-- duration batteryLevel opacity goes from 0 to 1 duration --> |
| 1037 | <integer name="wireless_charging_battery_level_text_opacity_duration">117</integer> |
| 1038 | <!-- battery text scale animation duration --> |
| 1039 | <integer name="wireless_charging_battery_level_text_scale_animation_duration">367</integer> |
| 1040 | <!--time until wireless charging animation starts to fade--> |
| 1041 | <integer name="wireless_charging_fade_offset">920</integer> |
| 1042 | <!-- duration wireless charging animation takes to full fade to 0 opacity --> |
| 1043 | <integer name="wireless_charging_fade_duration">200</integer> |
Beverly | 8c78589 | 2018-01-31 17:25:52 -0500 | [diff] [blame] | 1044 | |
| 1045 | <!-- Wired charging on AOD, text animation duration --> |
Beverly | 85499d9 | 2018-02-14 15:55:16 -0500 | [diff] [blame] | 1046 | <integer name="wired_charging_keyguard_text_animation_duration_down">500</integer> |
Beverly | 8c78589 | 2018-01-31 17:25:52 -0500 | [diff] [blame] | 1047 | <!-- Wired charging on AOD, text animation duration --> |
Beverly | 85499d9 | 2018-02-14 15:55:16 -0500 | [diff] [blame] | 1048 | <integer name="wired_charging_keyguard_text_animation_duration_up">300</integer> |
Beverly | 8c78589 | 2018-01-31 17:25:52 -0500 | [diff] [blame] | 1049 | <!-- Wired charging on AOD, text animation distance --> |
Beverly | 85499d9 | 2018-02-14 15:55:16 -0500 | [diff] [blame] | 1050 | <integer name="wired_charging_keyguard_text_animation_distance">-30</integer> |
Alex Chau | ff7653d | 2018-02-01 17:18:08 +0000 | [diff] [blame] | 1051 | |
| 1052 | <!-- Logout button --> |
| 1053 | <dimen name="logout_button_layout_height">32dp</dimen> |
| 1054 | <dimen name="logout_button_padding_horizontal">16dp</dimen> |
| 1055 | <dimen name="logout_button_margin_bottom">12dp</dimen> |
| 1056 | <dimen name="logout_button_corner_radius">2dp</dimen> |
Beverly | 85499d9 | 2018-02-14 15:55:16 -0500 | [diff] [blame] | 1057 | |
Evan Laird | 17a96ba | 2018-05-23 18:21:56 -0400 | [diff] [blame] | 1058 | <!-- How much into a DisplayCutout's bounds we can go, on each side --> |
| 1059 | <dimen name="display_cutout_margin_consumption">0px</dimen> |
| 1060 | |
Fabian Kozynski | ef12449 | 2018-11-02 11:02:11 -0400 | [diff] [blame] | 1061 | <!-- Padding below Ongoing App Ops dialog title --> |
| 1062 | <dimen name="ongoing_appops_dialog_sep">16dp</dimen> |
| 1063 | <!--Padding around text items in Ongoing App Ops dialog --> |
| 1064 | <dimen name="ongoing_appops_dialog_text_padding">16dp</dimen> |
Fabian Kozynski | bb68be0 | 2018-11-19 12:58:01 -0500 | [diff] [blame] | 1065 | <!-- Height and width of App Opp icons in Ongoing App Ops dialog --> |
| 1066 | <dimen name="ongoing_appops_dialog_icon_size">24dp</dimen> |
| 1067 | <!-- Left margin of App Opp icons in Ongoing App Ops dialog --> |
Fabian Kozynski | 216812e | 2019-02-01 13:49:00 -0500 | [diff] [blame] | 1068 | <dimen name="ongoing_appops_dialog_icon_margin">12dp</dimen> |
Fabian Kozynski | bb68be0 | 2018-11-19 12:58:01 -0500 | [diff] [blame] | 1069 | <!-- Height and width of Application icons in Ongoing App Ops dialog --> |
| 1070 | <dimen name="ongoing_appops_dialog_app_icon_size">32dp</dimen> |
Fabian Kozynski | ba21972 | 2019-01-11 16:30:18 -0500 | [diff] [blame] | 1071 | <!-- Height and width of Plus sign in Ongoing App Ops dialog --> |
| 1072 | <dimen name="ongoing_appops_dialog_app_plus_size">24dp</dimen> |
Fabian Kozynski | bb68be0 | 2018-11-19 12:58:01 -0500 | [diff] [blame] | 1073 | <!-- Height of line in Ongoing App Ops dialog--> |
| 1074 | <dimen name="ongoing_appops_dialog_line_height">48dp</dimen> |
| 1075 | <!-- Side margin of title in Ongoing App Ops dialog --> |
| 1076 | <dimen name="ongoing_appops_dialog_title_margin_sides">24dp</dimen> |
| 1077 | <!-- Bottom margin of items in Ongoing App Ops dialog --> |
| 1078 | <dimen name="ongoing_appops_dialog_items_bottom_margin">24dp</dimen> |
| 1079 | <!-- Top and bottom margin of title in Ongoing App Ops dialog --> |
| 1080 | <dimen name="ongoing_appops_dialog_title_margin_top_bottom">18dp</dimen> |
Fabian Kozynski | ef12449 | 2018-11-02 11:02:11 -0400 | [diff] [blame] | 1081 | <!-- Text size for Ongoing App Ops dialog title --> |
Fabian Kozynski | bb68be0 | 2018-11-19 12:58:01 -0500 | [diff] [blame] | 1082 | <dimen name="ongoing_appops_dialog_title_size">20sp</dimen> |
Fabian Kozynski | ef12449 | 2018-11-02 11:02:11 -0400 | [diff] [blame] | 1083 | <!-- Text size for Ongoing App Ops dialog items --> |
Fabian Kozynski | bb68be0 | 2018-11-19 12:58:01 -0500 | [diff] [blame] | 1084 | <dimen name="ongoing_appops_dialog_item_size">16sp</dimen> |
Fabian Kozynski | b10ef8d | 2019-02-15 12:14:21 -0500 | [diff] [blame] | 1085 | <!-- Height of the Ongoing App Ops chip --> |
| 1086 | <dimen name="ongoing_appops_chip_height">32dp</dimen> |
Fabian Kozynski | b10ef8d | 2019-02-15 12:14:21 -0500 | [diff] [blame] | 1087 | <!-- Padding between background of Ongoing App Ops chip and content --> |
Fabian Kozynski | c69b4028 | 2019-03-13 09:28:57 -0400 | [diff] [blame] | 1088 | <dimen name="ongoing_appops_chip_bg_padding">8dp</dimen> |
Fabian Kozynski | b10ef8d | 2019-02-15 12:14:21 -0500 | [diff] [blame] | 1089 | <!-- Side padding between background of Ongoing App Ops chip and content --> |
| 1090 | <dimen name="ongoing_appops_chip_side_padding">8dp</dimen> |
| 1091 | <!-- Margin between icons of Ongoing App Ops chip when QQS--> |
| 1092 | <dimen name="ongoing_appops_chip_icon_margin_collapsed">0dp</dimen> |
| 1093 | <!-- Margin between icons of Ongoing App Ops chip when QS--> |
| 1094 | <dimen name="ongoing_appops_chip_icon_margin_expanded">2dp</dimen> |
| 1095 | <!-- Icon size of Ongoing App Ops chip --> |
Fabian Kozynski | c437ba1 | 2019-04-10 13:26:07 -0400 | [diff] [blame] | 1096 | <dimen name="ongoing_appops_chip_icon_size">@dimen/status_bar_icon_drawing_size</dimen> |
Fabian Kozynski | b10ef8d | 2019-02-15 12:14:21 -0500 | [diff] [blame] | 1097 | <!-- Radius of Ongoing App Ops chip corners --> |
| 1098 | <dimen name="ongoing_appops_chip_bg_corner_radius">16dp</dimen> |
Fabian Kozynski | c69b4028 | 2019-03-13 09:28:57 -0400 | [diff] [blame] | 1099 | |
Mady Mellor | c3d6f7d | 2018-11-07 09:36:56 -0800 | [diff] [blame] | 1100 | |
Joshua Tsuji | 25a4b7b | 2019-03-22 14:11:06 -0400 | [diff] [blame] | 1101 | <!-- How much each bubble is elevated. --> |
| 1102 | <dimen name="bubble_elevation">1dp</dimen> |
Joshua Tsuji | 614b1df | 2019-03-26 13:57:05 -0400 | [diff] [blame] | 1103 | <!-- How much the bubble flyout text container is elevated. --> |
| 1104 | <dimen name="bubble_flyout_elevation">4dp</dimen> |
Joshua Tsuji | 36b1b2c | 2019-04-18 16:27:35 -0400 | [diff] [blame] | 1105 | <!-- How much padding is around the left and right sides of the flyout text. --> |
| 1106 | <dimen name="bubble_flyout_padding_x">16dp</dimen> |
| 1107 | <!-- How much padding is around the top and bottom of the flyout text. --> |
| 1108 | <dimen name="bubble_flyout_padding_y">8dp</dimen> |
| 1109 | <!-- Size of the triangle that points from the flyout to the bubble stack. --> |
| 1110 | <dimen name="bubble_flyout_pointer_size">6dp</dimen> |
| 1111 | <!-- How much space to leave between the flyout (tip of the arrow) and the bubble stack. --> |
| 1112 | <dimen name="bubble_flyout_space_from_bubble">8dp</dimen> |
Mady Mellor | 3f2efdb | 2018-11-21 11:30:45 -0800 | [diff] [blame] | 1113 | <!-- Padding around a collapsed bubble --> |
| 1114 | <dimen name="bubble_view_padding">0dp</dimen> |
Mady Mellor | c3d6f7d | 2018-11-07 09:36:56 -0800 | [diff] [blame] | 1115 | <!-- Padding between bubbles when displayed in expanded state --> |
| 1116 | <dimen name="bubble_padding">8dp</dimen> |
Joshua Tsuji | b1a796b | 2019-01-16 15:43:12 -0800 | [diff] [blame] | 1117 | <!-- Size of individual bubbles. --> |
Joshua Tsuji | 36b1b2c | 2019-04-18 16:27:35 -0400 | [diff] [blame] | 1118 | <dimen name="individual_bubble_size">52dp</dimen> |
Joshua Tsuji | 4accf598 | 2019-04-22 17:36:11 -0400 | [diff] [blame] | 1119 | <!-- Size of the circle around the bubbles when they're in the dismiss target. --> |
| 1120 | <dimen name="bubble_dismiss_encircle_size">56dp</dimen> |
Mady Mellor | 3f2efdb | 2018-11-21 11:30:45 -0800 | [diff] [blame] | 1121 | <!-- How much to inset the icon in the circle --> |
| 1122 | <dimen name="bubble_icon_inset">16dp</dimen> |
| 1123 | <!-- Padding around the view displayed when the bubble is expanded --> |
Mady Mellor | fe48398 | 2019-02-20 17:59:39 -0800 | [diff] [blame] | 1124 | <dimen name="bubble_expanded_view_padding">4dp</dimen> |
Mady Mellor | fe7ec03 | 2019-01-30 17:32:49 -0800 | [diff] [blame] | 1125 | <!-- Default (and minimum) height of the expanded view shown when the bubble is expanded --> |
| 1126 | <dimen name="bubble_expanded_default_height">180dp</dimen> |
Mady Mellor | dea7ecf | 2018-12-10 15:47:40 -0800 | [diff] [blame] | 1127 | <!-- Height of the triangle that points to the expanded bubble --> |
| 1128 | <dimen name="bubble_pointer_height">4dp</dimen> |
| 1129 | <!-- Width of the triangle that points to the expanded bubble --> |
| 1130 | <dimen name="bubble_pointer_width">6dp</dimen> |
Mady Mellor | 6dfef97 | 2018-12-10 16:57:35 -0800 | [diff] [blame] | 1131 | <!-- Extra padding around the dismiss target for bubbles --> |
| 1132 | <dimen name="bubble_dismiss_slop">16dp</dimen> |
Mark Renouf | 89b1a4a | 2018-12-04 14:59:45 -0500 | [diff] [blame] | 1133 | <!-- Height of the header within the expanded view. --> |
| 1134 | <dimen name="bubble_expanded_header_height">48dp</dimen> |
| 1135 | <!-- Left and right padding applied to the header. --> |
| 1136 | <dimen name="bubble_expanded_header_horizontal_padding">24dp</dimen> |
Joshua Tsuji | b1a796b | 2019-01-16 15:43:12 -0800 | [diff] [blame] | 1137 | <!-- How far, horizontally, to animate the expanded view over when animating in/out. --> |
| 1138 | <dimen name="bubble_expanded_animate_x_distance">100dp</dimen> |
| 1139 | <!-- How far, vertically, to animate the expanded view over when animating in/out. --> |
| 1140 | <dimen name="bubble_expanded_animate_y_distance">500dp</dimen> |
Mady Mellor | 3f2efdb | 2018-11-21 11:30:45 -0800 | [diff] [blame] | 1141 | <!-- Max width of the message bubble--> |
| 1142 | <dimen name="bubble_message_max_width">144dp</dimen> |
| 1143 | <!-- Min width of the message bubble --> |
| 1144 | <dimen name="bubble_message_min_width">32dp</dimen> |
| 1145 | <!-- Interior padding of the message bubble --> |
| 1146 | <dimen name="bubble_message_padding">4dp</dimen> |
Joshua Tsuji | b1a796b | 2019-01-16 15:43:12 -0800 | [diff] [blame] | 1147 | <!-- Offset between bubbles in their stacked position. --> |
| 1148 | <dimen name="bubble_stack_offset">5dp</dimen> |
| 1149 | <!-- How far offscreen the bubble stack rests. --> |
| 1150 | <dimen name="bubble_stack_offscreen">5dp</dimen> |
| 1151 | <!-- How far down the screen the stack starts. --> |
| 1152 | <dimen name="bubble_stack_starting_offset_y">100dp</dimen> |
Mady Mellor | 9801e85 | 2019-01-22 14:50:28 -0800 | [diff] [blame] | 1153 | <!-- Size of image buttons in the bubble header --> |
| 1154 | <dimen name="bubble_header_icon_size">48dp</dimen> |
Mady Mellor | 44ee2fe | 2019-01-30 17:51:16 -0800 | [diff] [blame] | 1155 | <!-- Space between the pointer triangle and the bubble expanded view --> |
| 1156 | <dimen name="bubble_pointer_margin">8dp</dimen> |
Joshua Tsuji | 4accf598 | 2019-04-22 17:36:11 -0400 | [diff] [blame] | 1157 | <!-- Height of the permission prompt shown with bubbles --> |
| 1158 | <dimen name="bubble_permission_height">120dp</dimen> |
| 1159 | <!-- Padding applied to the bubble dismiss target. Touches in this padding cause the bubbles to |
| 1160 | snap to the dismiss target. --> |
| 1161 | <dimen name="bubble_dismiss_target_padding_x">40dp</dimen> |
| 1162 | <dimen name="bubble_dismiss_target_padding_y">20dp</dimen> |
Fabian Kozynski | c651e64 | 2019-02-21 13:20:34 -0500 | [diff] [blame] | 1163 | <!-- Size of the RAT type for CellularTile --> |
| 1164 | <dimen name="celltile_rat_type_size">10sp</dimen> |
Daniel Sandler | 26c84b1 | 2011-07-27 00:09:40 -0400 | [diff] [blame] | 1165 | </resources> |