1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3/* //device/apps/common/assets/res/any/dimens.xml 4** 5** Copyright 2006, The Android Open Source Project 6** 7** Licensed under the Apache License, Version 2.0 (the "License"); 8** you may not use this file except in compliance with the License. 9** You may obtain a copy of the License at 10** 11** http://www.apache.org/licenses/LICENSE-2.0 12** 13** Unless required by applicable law or agreed to in writing, software 14** distributed under the License is distributed on an "AS IS" BASIS, 15** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16** See the License for the specific language governing permissions and 17** limitations under the License. 18*/ 19--> 20<resources xmlns:android="http://schemas.android.com/apk/res/android"> 21 <!-- The width that is used when creating thumbnails of applications. --> 22 <dimen name="thumbnail_width">192dp</dimen> 23 <!-- The height that is used when creating thumbnails of applications. --> 24 <dimen name="thumbnail_height">192dp</dimen> 25 <!-- The amount to scale a fullscreen screenshot thumbnail. --> 26 <item name="thumbnail_fullscreen_scale" type="fraction">60%</item> 27 <!-- The width used to calculate scale for full screen thumbnail on TV --> 28 <integer name="thumbnail_width_tv">240</integer> 29 <!-- The standard size (both width and height) of an application icon that 30 will be displayed in the app launcher and elsewhere. --> 31 <dimen name="app_icon_size">48dip</dimen> 32 33 <!-- Offset from the bottom of the device a toast shows --> 34 <dimen name="toast_y_offset">48dp</dimen> 35 <!-- Max width of a toast --> 36 <dimen name="toast_width">300dp</dimen> 37 <!-- Text size of the message within a toast --> 38 <dimen name="toast_text_size">14sp</dimen> 39 <!-- Elevation of toast view --> 40 <dimen name="toast_elevation">2dp</dimen> 41 42 <!-- The default height of the status bar used in {@link SystemBarUtils#getStatusBarHeight} to 43 calculate the status bar height. --> 44 <dimen name="status_bar_height_default">24dp</dimen> 45 <!-- Height of the status bar. 46 Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead. 47 --> 48 <dimen name="status_bar_height">@dimen/status_bar_height_portrait</dimen> 49 <!-- Height of the status bar in portrait. 50 Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead. 51 --> 52 <dimen name="status_bar_height_portrait">24dp</dimen> 53 <!-- Height of the status bar in landscape. 54 Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead. 55 --> 56 <dimen name="status_bar_height_landscape">@dimen/status_bar_height_portrait</dimen> 57 <!-- Height of area above QQS where battery/time go. 58 Do not read this dimen directly. Use {@link SystemBarUtils#getQuickQsOffsetHeight} instead. 59 --> 60 <dimen name="quick_qs_offset_height">48dp</dimen> 61 <!-- Height of the bottom navigation / system bar. --> 62 <dimen name="navigation_bar_height">48dp</dimen> 63 <!-- Height of the bottom navigation bar in portrait; often the same as @dimen/navigation_bar_height --> 64 <dimen name="navigation_bar_height_landscape">48dp</dimen> 65 <!-- Width of the navigation bar when it is placed vertically on the screen --> 66 <dimen name="navigation_bar_width">48dp</dimen> 67 <!-- Height of the bottom taskbar not including decorations like rounded corners. --> 68 <dimen name="taskbar_frame_height">56dp</dimen> 69 <!-- How much we expand the touchable region of the status bar below the notch to catch touches 70 that just start below the notch. --> 71 <dimen name="display_cutout_touchable_region_size">12dp</dimen> 72 <!-- The default margin used in immersive mode to capture the start of a swipe gesture from the 73 edge of the screen to show the system bars. --> 74 <dimen name="system_gestures_start_threshold">24dp</dimen> 75 <!-- The minimum swipe gesture distance for showing the system bars when in immersive mode. This 76 swipe must be within the specified system_gestures_start_threshold area. --> 77 <dimen name="system_gestures_distance_threshold">24dp</dimen> 78 79 <!-- Height of the bottom navigation bar frame; this is different than navigation_bar_height 80 where that is the height reported to all the other windows to resize themselves around the 81 navigation bar window but navigation_bar_frame_height is reported to SystemUI navigation 82 bar view's window --> 83 <dimen name="navigation_bar_frame_height">@dimen/navigation_bar_height</dimen> 84 <!-- Height of the bottom navigation bar frame in landscape --> 85 <dimen name="navigation_bar_frame_height_landscape">@dimen/navigation_bar_frame_height</dimen> 86 87 <!-- The height of the navigation gesture area if the gesture is starting from the bottom. --> 88 <dimen name="navigation_bar_gesture_height">@dimen/navigation_bar_frame_height</dimen> 89 90 <!-- The height of the navigation larger gesture area if the gesture is starting from 91 the bottom. --> 92 <dimen name="navigation_bar_gesture_larger_height">80dp</dimen> 93 94 <!-- Height of the bottom navigation / system bar in car mode. --> 95 <dimen name="navigation_bar_height_car_mode">96dp</dimen> 96 <!-- Height of the bottom navigation bar in portrait; often the same as 97 @dimen/navigation_bar_height_car_mode --> 98 <dimen name="navigation_bar_height_landscape_car_mode">96dp</dimen> 99 <!-- Width of the navigation bar when it is placed vertically on the screen in car mode --> 100 <dimen name="navigation_bar_width_car_mode">96dp</dimen> 101 <!-- Original dp height of notification icons in the status bar --> 102 <dimen name="status_bar_icon_size">22dip</dimen> 103 <!-- New sp height of notification icons in the status bar --> 104 <dimen name="status_bar_icon_size_sp">22sp</dimen> 105 <!-- Desired size of system icons in status bar. --> 106 <dimen name="status_bar_system_icon_size">15dp</dimen> 107 <!-- Intrinsic size of most system icons in status bar. This is the default value that 108 is used if a Drawable reports an intrinsic size of 0. --> 109 <dimen name="status_bar_system_icon_intrinsic_size">17dp</dimen> 110 <!-- Size of the giant number (unread count) in the notifications --> 111 <dimen name="status_bar_content_number_size">48sp</dimen> 112 <!-- Margin at the edge of the screen to ignore touch events for in the windowshade. --> 113 <dimen name="status_bar_edge_ignore">5dp</dimen> 114 115 <!-- Default radius of the software rounded corners. --> 116 <dimen name="rounded_corner_radius">0dp</dimen> 117 <!-- Radius of the software rounded corners at the top of the display in its natural 118 orientation. If zero, the value of rounded_corner_radius is used. --> 119 <dimen name="rounded_corner_radius_top">0dp</dimen> 120 <!-- Radius of the software rounded corners at the bottom of the display in its natural 121 orientation. If zero, the value of rounded_corner_radius is used. --> 122 <dimen name="rounded_corner_radius_bottom">0dp</dimen> 123 124 <!-- Default adjustment for the software rounded corners since corners are not perfectly 125 round. This value is used when retrieving the "radius" of the rounded corner in cases 126 where the exact bezier curve cannot be retrieved. This value will be subtracted from 127 rounded_corner_radius to more accurately provide a "radius" for the rounded corner. --> 128 <dimen name="rounded_corner_radius_adjustment">0px</dimen> 129 <!-- Top adjustment for the software rounded corners since corners are not perfectly 130 round. This value is used when retrieving the "radius" of the top rounded corner in cases 131 where the exact bezier curve cannot be retrieved. This value will be subtracted from 132 rounded_corner_radius_top to more accurately provide a "radius" for the top rounded corners. 133 --> 134 <dimen name="rounded_corner_radius_top_adjustment">0px</dimen> 135 <!-- Bottom adjustment for the software rounded corners since corners are not perfectly 136 round. This value is used when retrieving the "radius" of the bottom rounded corner in 137 cases where the exact bezier curve cannot be retrieved. This value will be subtracted from 138 rounded_corner_radius_bottom to more accurately provide a "radius" for the bottom rounded 139 corners. --> 140 <dimen name="rounded_corner_radius_bottom_adjustment">0px</dimen> 141 142 <!-- Default paddings for content around the corners. --> 143 <dimen name="rounded_corner_content_padding">0dp</dimen> 144 145 <!-- Copied from SysUI's @dimen/navigation_key_width for the embedded nav bar in the IME. --> 146 <dimen name="input_method_navigation_key_width">70dp</dimen> 147 <!-- Copied from SysUI's @dimen/navigation_key_padding for the embedded nav bar in the IME. --> 148 <dimen name="input_method_navigation_key_padding">0dp</dimen> 149 <!-- Copied from SysUI's @dimen/nav_content_padding for the embedded nav bar in the IME. --> 150 <dimen name="input_method_nav_content_padding">0px</dimen> 151 <!-- Copied from SysUI's @dimen/key_button_ripple_max_width for the embedded nav bar in the 152 IME. --> 153 <dimen name="input_method_nav_key_button_ripple_max_width">95dp</dimen> 154 155 <!-- Width of the window of the divider bar used to resize docked stacks. --> 156 <dimen name="docked_stack_divider_thickness">48dp</dimen> 157 158 <!-- How much the content in the divider is inset from the window bounds when resting. Used to 159 calculate the bounds of the stacks--> 160 <dimen name="docked_stack_divider_insets">19dp</dimen> 161 162 <!-- To how much the docked stack gets reduced when we decide to minimize the docked stack, i.e. 163 when the user opens homescreen. --> 164 <dimen name="docked_stack_minimize_thickness">8dp</dimen> 165 166 <!-- The amount to leave on-screen when the PIP is minimized. --> 167 <dimen name="pip_minimized_visible_size">48dp</dimen> 168 169 <!-- Min width for a tablet device --> 170 <dimen name="min_xlarge_screen_width">800dp</dimen> 171 172 <!-- Default height of a key in the password keyboard for alpha (used by keyguard) --> 173 <dimen name="password_keyboard_key_height_alpha">56dip</dimen> 174 <!-- Default height of a key in the password keyboard for numeric (used by keyguard) --> 175 <dimen name="password_keyboard_key_height_numeric">56dip</dimen> 176 <!-- Default correction for the space key in the password keyboard (used by keyguard) --> 177 <dimen name="password_keyboard_spacebar_vertical_correction">4dip</dimen> 178 <!-- Default horizontal gap between keys in the password keyboard (used by keyguard) --> 179 <dimen name="password_keyboard_horizontalGap">3dip</dimen> 180 <!-- Default vertical gap between keys in the password keyboard (used by keyguard) --> 181 <dimen name="password_keyboard_verticalGap">9dip</dimen> 182 183 <!-- Size of lockscreen outerring on unsecure unlock LockScreen --> 184 <dimen name="keyguard_lockscreen_outerring_diameter">270dp</dimen> 185 186 <!-- Preference activity side margins --> 187 <dimen name="preference_screen_side_margin">0dp</dimen> 188 <!-- Preference activity side margins negative--> 189 <dimen name="preference_screen_side_margin_negative">0dp</dimen> 190 <!-- Preference activity top margin --> 191 <dimen name="preference_screen_top_margin">0dp</dimen> 192 <!-- Preference activity bottom margin --> 193 <dimen name="preference_screen_bottom_margin">0dp</dimen> 194 <!-- Preference widget area width (to the left of the text) --> 195 <dimen name="preference_widget_width">48dp</dimen> 196 <!-- Preference fragment padding, bottom --> 197 <dimen name="preference_fragment_padding_bottom">0dp</dimen> 198 <!-- Preference fragment padding, sides --> 199 <dimen name="preference_fragment_padding_side">16dp</dimen> 200 <!-- Weight of the left pane in a multi-pane preference layout. --> 201 <integer name="preferences_left_pane_weight">4</integer> 202 <!-- Weight of the right pane in a multi-pane preference layout. So the split is 40:60 --> 203 <integer name="preferences_right_pane_weight">6</integer> 204 <!-- Padding to the left of the preference panel breadcrumb --> 205 <dimen name="preference_breadcrumb_paddingLeft">0dp</dimen> 206 <!-- Padding to the right of the preference panel breadcrumb --> 207 <dimen name="preference_breadcrumb_paddingRight">0dp</dimen> 208 <!-- Minimum space to allocate to the left of a preference item for an icon. 209 This helps in aligning titles when some items have icons and some don't. When space is 210 at a premium, we don't pre-allocate any space. --> 211 <dimen name="preference_icon_minWidth">0dp</dimen> 212 <!-- The platform's desired minimum size for a dialog's width when it 213 is along the major axis (that is the screen is landscape). This may 214 be either a fraction or a dimension. --> 215 <item type="dimen" name="dialog_min_width_major">65%</item> 216 217 <!-- The platform's desired fixed width for a dialog along the major axis 218 (the screen is in landscape). This may be either a fraction or a dimension.--> 219 <item type="dimen" name="dialog_fixed_width_major">100%</item> 220 <!-- The platform's desired fixed width for a dialog along the minor axis 221 (the screen is in portrait). This may be either a fraction or a dimension.--> 222 <item type="dimen" name="dialog_fixed_width_minor">100%</item> 223 <!-- The platform's desired fixed height for a dialog along the major axis 224 (the screen is in portrait). This may be either a fraction or a dimension.--> 225 <item type="dimen" name="dialog_fixed_height_major">80%</item> 226 <!-- The platform's desired fixed height for a dialog along the minor axis 227 (the screen is in landscape). This may be either a fraction or a dimension.--> 228 <item type="dimen" name="dialog_fixed_height_minor">100%</item> 229 230 <!-- Preference activity, vertical padding for the header list --> 231 <dimen name="preference_screen_header_vertical_padding">0dp</dimen> 232 233 <dimen name="preference_screen_header_padding_side">16dip</dimen> 234 <integer name="preference_screen_header_scrollbarStyle">0x02000000</integer> <!-- outsideOverlay --> 235 236 <integer name="preference_fragment_scrollbarStyle">0x02000000</integer> <!-- outsideOverlay --> 237 238 <dimen name="preference_item_padding_side">8dip</dimen> 239 <dimen name="preference_item_padding_inner">8dip</dimen> 240 <dimen name="preference_child_padding_side">16dip</dimen> 241 242 <!-- The platform's desired minimum size for a dialog's width when it 243 is along the minor axis (that is the screen is portrait). This may 244 be either a fraction or a dimension. --> 245 <item type="dimen" name="dialog_min_width_minor">95%</item> 246 247 <!-- Default padding for dialogs. --> 248 <dimen name="dialog_padding">16dp</dimen> 249 250 <!-- The margin on the start of the content view (accommodates the icon) 251 This represents 16dp for the left margin + 24dp for the icon + 12dp for the right margin --> 252 <dimen name="notification_content_margin_start">52dp</dimen> 253 254 <!-- The margin on the start of the content view (accommodates the icon), 2025 redesign version 255 This represents 16dp for the left margin + 40dp for the icon + 16dp for the right margin --> 256 <dimen name="notification_2025_content_margin_start">72dp</dimen> 257 258 <!-- The margin on the start of the media actions, selected to ensure that action icons which 259 are visually 12x12 in a 24x24 drawable will align correctly with the text. This means that 260 stock media action icons will align, but icons may be visually up to 20x20 and remain in-spec, 261 in which case they will protrude into the start column slightly. 262 72dp (content margin) - 8dp (media action padding) - 6dp (visual padding within drawable) --> 263 <dimen name="notification_2025_media_actions_margin_start">58dp</dimen> 264 265 <!-- The margin on the start of notification actions (2025 redesign version), to align them to 266 the rest of the notification content. Note that this can be set to 0 if the actions would not 267 fit with it included. 268 72dp (content margin) - 12dp (action padding) - 4dp (button inset) --> 269 <dimen name="notification_2025_actions_margin_start">56dp</dimen> 270 271 <!-- Notification action button text size --> 272 <dimen name="notification_2025_action_text_size">16sp</dimen> 273 274 <!-- The margin on the end of most content views (ignores the expander) --> 275 <dimen name="notification_content_margin_end">16dp</dimen> 276 277 <!-- The margin on the end of the top-line content views (accommodates the expander) --> 278 <dimen name="notification_heading_margin_end">56dp</dimen> 279 280 <!-- The vertical spacing for the smart reply/smart action container. 281 Note that the button background itself also has an inset of 6dp (making the height of the 282 tappable area 48dp total, 32dp for the visible button plus 6dp top and bottom), so the visible 283 space between the button and the other content is going to be 16dp. --> 284 <dimen name="notification_2025_smart_reply_container_margin">10dp</dimen> 285 286 <!-- The total height of the notification action list --> 287 <dimen name="notification_action_list_height">60dp</dimen> 288 289 <!-- The total height of the notification action list (2025 redesign version) --> 290 <dimen name="notification_2025_action_list_height">48dp</dimen> 291 292 <!-- The margin of the notification action list at the top --> 293 <dimen name="notification_action_list_margin_top">0dp</dimen> 294 295 <!-- The margin of the notification action list at the bottom in the 2025 redesign --> 296 <dimen name="notification_2025_action_list_margin_bottom">6dp</dimen> 297 298 <!-- The minimum height of the notification action container, to act as a bottom padding for the 299 notification when there are no actions. This should always be equal to 300 notification_2025_margin - notification_2025_action_list_margin_bottom. --> 301 <dimen name="notification_2025_action_list_min_height">10dp</dimen> 302 303 <!-- The overall height of the emphasized notification action --> 304 <dimen name="notification_action_emphasized_height">48dp</dimen> 305 306 <!-- The padding of the actions in non-conversation layout. For conversations, the analogous 307 value is calculated in ConversationLayout#updateActionListPadding() --> 308 <dimen name="notification_actions_padding_start">36dp</dimen> 309 310 <!-- The max width of a priority action button when it is collapsed to just the icon. --> 311 <dimen name="notification_actions_collapsed_priority_width">60dp</dimen> 312 313 <!-- The start padding to optionally use (e.g. if there's extra space) for CallStyle 314 notification actions. 315 this = conversation_content_start (80dp) - button inset (4dp) - action padding (12dp) --> 316 <dimen name="call_notification_collapsible_indent">64dp</dimen> 317 318 <!-- The minimum width of the system actions added to the CallStyle notifications. --> 319 <dimen name="call_notification_system_action_min_width">100dp</dimen> 320 321 <!-- The size of icons for visual actions in the notification_material_action_list --> 322 <dimen name="notification_actions_icon_size">56dp</dimen> 323 324 <!-- The size of icon actions in notification_material_action_list (2025 redesign version) --> 325 <dimen name="notification_2025_actions_icon_size">48dp</dimen> 326 327 <!-- The size of icons for visual actions in the notification_material_action_list --> 328 <dimen name="notification_actions_icon_drawable_size">20dp</dimen> 329 330 <!-- The corner radius if the emphasized action buttons in a notification --> 331 <dimen name="notification_action_button_radius">18dp</dimen> 332 333 <!-- Size of the stroke with for the emphasized notification button style --> 334 <dimen name="emphasized_button_stroke_width">1dp</dimen> 335 336 <!-- height of the content margin to accommodate for the header --> 337 <dimen name="notification_content_margin_top">50dp</dimen> 338 339 <!-- The spacing between the content and the header text above it, scaling with text size. 340 This value is chosen so that, taking into account the text spacing for both the text in the 341 top line and the text in the content, the distance between them is ~2dp with the default 342 screen configuration (and will grow accordingly for larger font sizes) --> 343 <dimen name="notification_2025_content_margin_top">8sp</dimen> 344 345 <!-- height of the content margin that is applied at the end of the notification content --> 346 <dimen name="notification_content_margin">20dp</dimen> 347 348 <!-- The height of the progress bar. --> 349 <dimen name="notification_progress_bar_height">15dp</dimen> 350 351 <!-- The top margin before the notification progress bar. --> 352 <dimen name="notification_progress_margin_top">8dp</dimen> 353 354 <!-- The horizontal margin before and after the notification progress bar. --> 355 <dimen name="notification_progress_margin_horizontal">4dp</dimen> 356 357 <!-- height of the notification header --> 358 <dimen name="notification_header_height">56dp</dimen> 359 360 <!-- height of the notification header (2025 redesign version) --> 361 <dimen name="notification_2025_header_height">72dp</dimen> 362 363 <!-- The height of the background for a notification header on a group --> 364 <dimen name="notification_header_background_height">49.5dp</dimen> 365 366 <!-- The height of the full-width touch rectangle for the notification header --> 367 <dimen name="notification_header_touchable_height">36dp</dimen> 368 369 <!-- The top padding for the notification header --> 370 <dimen name="notification_header_padding_top">16dp</dimen> 371 372 <!-- The bottom padding for the notification header --> 373 <dimen name="notification_header_padding_bottom">16dp</dimen> 374 375 <!-- The margin at the bottom of the notification header. --> 376 <dimen name="notification_header_margin_bottom">0dp</dimen> 377 378 <!-- size (width and height) of the icon in the notification header --> 379 <dimen name="notification_header_icon_size">18dp</dimen> 380 381 <!-- size (width and height) of the circle around the icon in the notification header --> 382 <dimen name="notification_icon_circle_size">24dp</dimen> 383 384 <!-- size (width and height) of the circular icon in the notification header 385 (2025 redesign version) --> 386 <dimen name="notification_2025_icon_circle_size">40dp</dimen> 387 388 <!-- padding between the notification icon and the circle containing it --> 389 <dimen name="notification_icon_circle_padding">4dp</dimen> 390 391 <!-- padding between the notification icon and the circle containing it 392 (2025 redesign version) --> 393 <dimen name="notification_2025_icon_circle_padding">8dp</dimen> 394 395 <!-- start margin of the icon circle in the notification view --> 396 <dimen name="notification_icon_circle_start">16dp</dimen> 397 398 <!-- size (width and height) of the icon in the notification header --> 399 <dimen name="notification_header_icon_size_ambient">18dp</dimen> 400 401 <!-- The margin before the start of the app name in the header. --> 402 <dimen name="notification_header_app_name_margin_start">3dp</dimen> 403 404 <!-- The margin before and after each of the items in the notification header. --> 405 <dimen name="notification_header_separating_margin">2dp</dimen> 406 407 <!-- The margin before and after each of the items in the conversation header. --> 408 <dimen name="notification_conversation_header_separating_margin">4dp</dimen> 409 410 <!-- The absolute size of the notification expand icon. --> 411 <dimen name="notification_header_expand_icon_size">56dp</dimen> 412 413 <!-- Margin to allow space for the expand button when showing the right icon in expanded --> 414 <!-- notifications. This is equal to notification_2025_expand_button_pill_width --> 415 <!-- + notification_2025_margin (end padding for expand button) --> 416 <!-- + notification_2025_expand_button_right_icon_spacing (space between pill and icon) --> 417 <dimen name="notification_2025_right_icon_expanded_margin_end">52dp</dimen> 418 419 <!-- The large icon has a smaller vertical margin than most other notification content, to --> 420 <!-- allow it to grow up to 48dp. --> 421 <dimen name="notification_2025_right_icon_vertical_margin">12dp</dimen> 422 423 <!-- the height of the expand button pill --> 424 <dimen name="notification_expand_button_pill_height">24dp</dimen> 425 426 <!-- the height of the expand button pill (2025 redesign version) --> 427 <dimen name="notification_2025_expand_button_pill_height">20dp</dimen> 428 429 <!-- the width of the expand button pill (2025 redesign version) --> 430 <dimen name="notification_2025_expand_button_pill_width">28dp</dimen> 431 432 <!-- the size of the expand arrow (2025 redesign version) --> 433 <dimen name="notification_2025_expand_button_icon_size">16sp</dimen> 434 435 <!-- the padding of the expand icon in the notification header --> 436 <dimen name="notification_expand_button_icon_padding">2dp</dimen> 437 438 <!-- the padding of the expand icon in the notification header --> 439 <dimen name="notification_2025_expand_button_vertical_icon_padding">2dp</dimen> 440 441 <!-- the padding of the expand icon in the notification header --> 442 <dimen name="notification_2025_expand_button_horizontal_icon_padding">6dp</dimen> 443 444 <!-- smaller padding for the end of the expand icon, for use when showing the number --> 445 <dimen name="notification_2025_expand_button_reduced_end_padding">4dp</dimen> 446 447 <!-- the space needed between the expander pill and the large icon when visible --> 448 <dimen name="notification_2025_expand_button_right_icon_spacing">8dp</dimen> 449 450 <!-- the size of the notification close button --> 451 <dimen name="notification_close_button_size">16dp</dimen> 452 453 <dimen name="notification_close_button_padding">2dp</dimen> 454 455 <!-- Margin for all notification content --> 456 <dimen name="notification_2025_margin">16dp</dimen> 457 458 <!-- A smaller version of the margin to be used when we need more space for the content --> 459 <dimen name="notification_2025_reduced_margin">12dp</dimen> 460 461 <!-- The difference between the usual margin and the reduced margin --> 462 <dimen name="notification_2025_additional_margin">4dp</dimen> 463 464 <!-- Vertical margin for the headerless notification content, when content has 1 line --> 465 <!-- 16 * 2 (margins) + 24 (1 line) = 56 (notification) --> 466 <dimen name="notification_headerless_margin_oneline">16dp</dimen> 467 468 <!-- Vertical margin for the headerless notification content, when content has 2 lines --> 469 <!-- 20 * 2 (margins) + 24 * 2 (2 lines) = 88 (notification) --> 470 <dimen name="notification_headerless_margin_twoline">20dp</dimen> 471 472 <!-- The height of each of the 1 or 2 lines in the headerless notification template --> 473 <dimen name="notification_headerless_line_height">24dp</dimen> 474 475 <!-- The minimum height of the notification content (even when there's only one line of text) --> 476 <dimen name="notification_2025_content_min_height">40dp</dimen> 477 478 <!-- Max height of a collapsed (headerless) notification with a summarization --> 479 <dimen name="notification_collapsed_height_with_summarization">156dp</dimen> 480 481 <!-- Max height of a collapsed (headerless) notification with one or two lines --> 482 <!-- 14 * 2 (reduced margins) + 48 (max collapsed content height) = 72 (notification) --> 483 <dimen name="notification_2025_min_height">72dp</dimen> 484 485 <!-- Height of a headerless notification with one line --> 486 <!-- 16 * 2 (margins) + 24 (1 line) = 56 (notification) --> 487 <dimen name="notification_headerless_min_height">56dp</dimen> 488 489 <!-- Max height of a collapsed two-line notification --> 490 <!-- 20 * 2 (margins) + 24 * 2 (2 lines) = 88 (notification) --> 491 <dimen name="notification_min_height">88dp</dimen> 492 493 <!-- The width of the big icons in notifications. --> 494 <dimen name="notification_large_icon_width">64dp</dimen> 495 496 <!-- The width of the big icons in notifications. --> 497 <dimen name="notification_large_icon_height">64dp</dimen> 498 499 <!-- The minimum width of the app name in the header if it shrinks --> 500 <dimen name="notification_header_shrink_min_width">72dp</dimen> 501 502 <!-- The minimum width of optional header fields below which the view is simply hidden --> 503 <dimen name="notification_header_shrink_hide_width">24sp</dimen> 504 505 <!-- The size of the media actions in the media notification. --> 506 <dimen name="media_notification_action_button_size">48dp</dimen> 507 508 <!-- The bottom padding for the media actions container. --> 509 <dimen name="media_notification_actions_padding_bottom">12dp</dimen> 510 511 <!-- The maximum size of the image in the expanded media notification --> 512 <dimen name="media_notification_expanded_image_max_size">94dp</dimen> 513 514 <!-- The maximum size of the image in the expanded media notification --> 515 <dimen name="media_notification_expanded_image_margin_bottom">20dp</dimen> 516 517 <!-- The absolute height for the header in a media notification. --> 518 <dimen name="media_notification_header_height">@dimen/notification_header_height</dimen> 519 520 <!-- The padding at the end of actions when the snooze and bubble buttons are gone--> 521 <dimen name="snooze_and_bubble_gone_padding_end">12dp</dimen> 522 523 <!-- The spacing between messages in Notification.MessagingStyle --> 524 <dimen name="notification_messaging_spacing">6dp</dimen> 525 526 <!-- The spacing between messages in Notification.MessagingStyle (2025 redesign version) --> 527 <dimen name="notification_2025_messaging_spacing">14dp</dimen> 528 529 <!-- The spacing between messages in Notification.MessagingStyle --> 530 <dimen name="notification_messaging_spacing_conversation_group">24dp</dimen> 531 532 <!-- The rounding for messaging images --> 533 <dimen name="messaging_image_rounding">4dp</dimen> 534 535 <!-- The minimum size for any image in messaging style in order to be displayed --> 536 <dimen name="messaging_image_min_size">44dp</dimen> 537 538 <!-- The maximum size for any image in messaging style in order to be displayed --> 539 <dimen name="messaging_image_max_height">136dp</dimen> 540 541 <!-- Extra spacing before and after images in messaging style --> 542 <dimen name="messaging_image_extra_spacing">8dp</dimen> 543 544 <!-- Preferred width and height of the search view. --> 545 <dimen name="search_view_preferred_width">320dip</dimen> 546 <dimen name="search_view_preferred_height">48dip</dimen> 547 548 <!-- Dialog padding for round display --> 549 <dimen name="alert_dialog_round_padding">27dip</dimen> 550 <!-- Dialog title height --> 551 <dimen name="alert_dialog_title_height">64dip</dimen> 552 <!-- Dialog button bar width --> 553 <dimen name="alert_dialog_button_bar_width">64dp</dimen> 554 <!-- Dialog button bar height --> 555 <dimen name="alert_dialog_button_bar_height">48dip</dimen> 556 557 <!-- Default height of an action bar. --> 558 <dimen name="action_bar_default_height">48dip</dimen> 559 <!-- Vertical padding around action bar icons. --> 560 <dimen name="action_bar_icon_vertical_padding">8dip</dimen> 561 <!-- Text size for action bar titles --> 562 <dimen name="action_bar_title_text_size">18dp</dimen> 563 <!-- Text size for action bar subtitles --> 564 <dimen name="action_bar_subtitle_text_size">14dp</dimen> 565 <!-- Top margin for action bar subtitles --> 566 <dimen name="action_bar_subtitle_top_margin">-3dp</dimen> 567 <!-- Bottom margin for action bar subtitles --> 568 <dimen name="action_bar_subtitle_bottom_margin">5dip</dimen> 569 570 <!-- Size of clock font in LockScreen on Unsecure unlock screen. --> 571 <dimen name="keyguard_lockscreen_clock_font_size">80dip</dimen> 572 573 <!-- Size of status line font on Unsecure unlock LockScreen. --> 574 <dimen name="keyguard_lockscreen_status_line_font_size">14dip</dimen> 575 576 <!-- Size of right margin on Unsecure unlock LockScreen --> 577 <dimen name="keyguard_lockscreen_status_line_font_right_margin">42dip</dimen> 578 579 <!-- Size of top margin on Clock font to edge on unlock LockScreen --> 580 <dimen name="keyguard_lockscreen_status_line_clockfont_top_margin">22dip</dimen> 581 582 <!-- Size of top margin on Clock font to edge on unlock LockScreen --> 583 <dimen name="keyguard_lockscreen_status_line_clockfont_bottom_margin">12dip</dimen> 584 585 <!-- Padding on left margin of PIN text entry field to center it when del button is showing --> 586 <dimen name="keyguard_lockscreen_pin_margin_left">40dip</dimen> 587 588 <!-- Height of FaceUnlock view in keyguard --> 589 <dimen name="face_unlock_height">330dip</dimen> 590 591 <!-- Minimum popup width for selecting an activity in ActivityChooserDialog/ActivityChooserView. --> 592 <dimen name="activity_chooser_popup_min_width">200dip</dimen> 593 594 <!-- The default gap between components in a layout. --> 595 <dimen name="default_gap">8dip</dimen> 596 597 <!-- Text padding for dropdown items --> 598 <dimen name="dropdownitem_text_padding_left">8dip</dimen> 599 600 <!-- Text padding for dropdown items --> 601 <dimen name="dropdownitem_text_padding_right">8dip</dimen> 602 603 <!-- Width of the icon in a dropdown list --> 604 <dimen name="dropdownitem_icon_width">32dip</dimen> 605 606 <!-- Default width for a textview error popup --> 607 <dimen name="textview_error_popup_default_width">240dip</dimen> 608 609 <!-- Default padding to apply to AppWidgetHostViews containing widgets targeting API level 14 and up. --> 610 <dimen name="default_app_widget_padding_left">8dp</dimen> 611 <dimen name="default_app_widget_padding_top">8dp</dimen> 612 <dimen name="default_app_widget_padding_right">8dp</dimen> 613 <dimen name="default_app_widget_padding_bottom">8dp</dimen> 614 615 <!-- Minimum width for an action button in the menu area of an action bar --> 616 <dimen name="action_button_min_width">56dip</dimen> 617 618 <!-- Maximum height for a stacked tab bar as part of an action bar --> 619 <dimen name="action_bar_stacked_max_height">48dp</dimen> 620 621 <!-- Maximum width for a stacked action bar tab. This prevents 622 action bar tabs from becoming too wide on a wide screen when only 623 a few are present. --> 624 <dimen name="action_bar_stacked_tab_max_width">180dp</dimen> 625 626 <!-- Size of notification text (see TextAppearance.StatusBar.EventContent) --> 627 <dimen name="notification_text_size">14sp</dimen> 628 <!-- Size of notification text titles (see TextAppearance.StatusBar.EventContent.Title) --> 629 <dimen name="notification_title_text_size">14sp</dimen> 630 <!-- Size of big notification text titles (see TextAppearance.StatusBar.EventContent.BigTitle) --> 631 <dimen name="notification_big_title_text_size">16sp</dimen> 632 <!-- Size of smaller notification text (see TextAppearance.StatusBar.EventContent.Line2, Info, Time) --> 633 <dimen name="notification_subtext_size">12sp</dimen> 634 <!-- Top padding for notifications in the standard layout. --> 635 <dimen name="notification_top_pad">10dp</dimen> 636 637 <!-- Top padding for notifications when narrow (i.e. it has 3 lines) --> 638 <dimen name="notification_top_pad_narrow">4dp</dimen> 639 640 <!-- Top padding for notification when text is large --> 641 <dimen name="notification_top_pad_large_text">5dp</dimen> 642 643 <!-- Top padding for notification when text is large and narrow (i.e. it has 3 lines --> 644 <dimen name="notification_top_pad_large_text_narrow">-4dp</dimen> 645 646 <!-- The margin on top of the text of the notification --> 647 <dimen name="notification_text_margin_top">6dp</dimen> 648 649 <!-- Height of a single line text view in a notification --> 650 <dimen name="notification_text_height">20sp</dimen> 651 652 <!-- The padding on top of inbox style elements --> 653 <dimen name="notification_inbox_item_top_padding">5dp</dimen> 654 655 <!-- Size of the verification icon for call notifications --> 656 <dimen name="notification_verification_icon_size">@dimen/notification_badge_size</dimen> 657 658 <!-- Size of the feedback indicator for notifications --> 659 <dimen name="notification_feedback_size">20dp</dimen> 660 661 <!-- Size of the (work) profile badge for notifications --> 662 <dimen name="notification_badge_size">12dp</dimen> 663 664 <!-- Size of the (work) profile badge for notifications (2025 redesign version). 665 Scales with font size. Chosen to look good alongside notification_subtext_size text. --> 666 <dimen name="notification_2025_badge_size">14sp</dimen> 667 668 <!-- Baseline for aligning icons in the top line (like the work profile icon or alerting icon) 669 to the text properly. This is equal to notification_2025_badge_size - 2sp. --> 670 <dimen name="notification_2025_badge_baseline">12sp</dimen> 671 672 <!-- Spacing for the top line icons (e.g. the work profile badge). --> 673 <dimen name="notification_2025_badge_margin">4dp</dimen> 674 675 <!-- Size of the phishing alert for notifications --> 676 <dimen name="notification_phishing_alert_size">@dimen/notification_badge_size</dimen> 677 678 <!-- Size of the alerted icon for notifications --> 679 <dimen name="notification_alerted_size">@dimen/notification_badge_size</dimen> 680 681 <!-- Keyguard dimensions --> 682 <!-- TEMP --> 683 <dimen name="kg_security_panel_height">600dp</dimen> 684 685 <!-- Height of security view in keyguard. --> 686 <dimen name="kg_security_view_height">480dp</dimen> 687 688 <!-- Width of widget view in keyguard. --> 689 <dimen name="kg_widget_view_width">0dp</dimen> 690 691 <!-- Height of widget view in keyguard. --> 692 <dimen name="kg_widget_view_height">0dp</dimen> 693 694 <!-- Size of the clock font in keyguard's status view --> 695 <dimen name="kg_status_clock_font_size">75dp</dimen> 696 697 <!-- Size of the date font in keyguard's status view --> 698 <dimen name="kg_status_date_font_size">15dp</dimen> 699 700 <!-- Size of the generic status lines keyguard's status view --> 701 <dimen name="kg_status_line_font_size">13dp</dimen> 702 703 <!-- Size of margin on the right of keyguard's status view --> 704 <dimen name="kg_status_line_font_right_margin">16dp</dimen> 705 706 <!-- Top margin for the clock view --> 707 <dimen name="kg_clock_top_margin">-16dp</dimen> 708 709 <!-- Horizontal gap between keys in PIN and SIM PIN numeric keyboards in keyguard --> 710 <dimen name="kg_key_horizontal_gap">0dp</dimen> 711 712 <!-- Horizontal gap between keys in PIN and SIM PIN numeric keyboards in keyguard --> 713 <dimen name="kg_key_vertical_gap">0dp</dimen> 714 715 <!-- Horizontal gap between keys in PIN and SIM PIN numeric keyboards in keyguard --> 716 <dimen name="kg_pin_key_height">60dp</dimen> 717 718 <!-- Space reserved at the bottom of secure views (pin/pattern/password/SIM pin/SIM puk) --> 719 <dimen name="kg_secure_padding_height">46dp</dimen> 720 721 <!-- The height of the runway lights strip --> 722 <dimen name="kg_runway_lights_height">7dp</dimen> 723 724 <!-- The height of the runway lights strip --> 725 <dimen name="kg_runway_lights_vertical_padding">2dp</dimen> 726 727 <!-- Horizontal padding for the widget pager --> 728 <dimen name="kg_widget_pager_horizontal_padding">16dp</dimen> 729 730 <!-- Top padding for the widget pager --> 731 <dimen name="kg_widget_pager_top_padding">0dp</dimen> 732 733 <!-- Bottom padding for the widget pager --> 734 <dimen name="kg_widget_pager_bottom_padding">64dp</dimen> 735 736 <!-- Top margin for the runway lights. We add a negative margin in large 737 devices to account for the widget pager padding --> 738 <dimen name="kg_runway_lights_top_margin">0dp</dimen> 739 740 <!-- Touch slop for the global toggle accessibility gesture --> 741 <dimen name="accessibility_touch_slop">80dip</dimen> 742 743 <!-- Width of the outline stroke used by the accessibility screen magnification indicator --> 744 <dimen name="accessibility_magnification_indicator_width">4dip</dimen> 745 746 <!-- Width of the outline stroke used by the accessibility focus rectangle --> 747 <dimen name="accessibility_focus_highlight_stroke_width">4dp</dimen> 748 749 <!-- padding of fullscreen magnification thumbnail --> 750 <dimen name="accessibility_magnification_thumbnail_padding">12dp</dimen> 751 752 <!-- width of the border of the magnification thumbnail --> 753 <dimen name="accessibility_magnification_thumbnail_container_stroke_width">4dp</dimen> 754 755 <!-- The distance from the edge within which the gesture is considered to be at the edge --> 756 <dimen name="accessibility_fullscreen_magnification_gesture_edge_slop">12dp</dimen> 757 758 <!-- The padding ratio of the Accessibility icon foreground drawable --> 759 <item name="accessibility_icon_foreground_padding_ratio" type="dimen">21.88%</item> 760 761 <!-- The minimum window size of the accessibility window magnifier --> 762 <dimen name="accessibility_window_magnifier_min_size">122dp</dimen> 763 764 <!-- The accessibility autoclick panel button spacing --> 765 <dimen name="accessibility_autoclick_type_panel_button_spacing">12dp</dimen> 766 767 <!-- The accessibility autoclick panel button width and height --> 768 <dimen name="accessibility_autoclick_type_panel_button_size">36dp</dimen> 769 770 <!-- The accessibility autoclick panel divider width --> 771 <dimen name="accessibility_autoclick_type_panel_divider_width">1dp</dimen> 772 773 <!-- The accessibility autoclick panel divider height --> 774 <dimen name="accessibility_autoclick_type_panel_divider_height">24dp</dimen> 775 776 <!-- The accessibility autoclick scroll panel button width and height --> 777 <dimen name="accessibility_autoclick_scroll_panel_button_size">36dp</dimen> 778 779 <!-- Margin around the various security views --> 780 <dimen name="keyguard_muliuser_selector_margin">8dp</dimen> 781 782 <!-- Stroke width of the frame for the circular avatars. --> 783 <dimen name="keyguard_avatar_frame_stroke_width">2dp</dimen> 784 785 <!-- Shadow radius under the frame for the circular avatars. --> 786 <dimen name="keyguard_avatar_frame_shadow_radius">1dp</dimen> 787 788 <!-- Size of the avator on hte multiuser lockscreen. --> 789 <dimen name="keyguard_avatar_size">66dp</dimen> 790 791 <!-- Size of the text under the avator on the multiuser lockscreen. --> 792 <dimen name="keyguard_avatar_name_size">10sp</dimen> 793 794 <!-- Size of the region along the edge of the screen that will accept 795 swipes to scroll the widget area. --> 796 <dimen name="kg_edge_swipe_region_size">24dp</dimen> 797 798 <!-- If the height if keyguard drops below this threshold (most likely 799 due to the appearance of the IME), then drop the multiuser selector. --> 800 <dimen name="kg_squashed_layout_threshold">600dp</dimen> 801 802 <!-- The height of widgets which do not support vertical resizing. This is only 803 used on tablets; on phones, this size is determined by the space left by the 804 security mode. --> 805 <dimen name="kg_small_widget_height">160dp</dimen> 806 807 <!-- Rounded corner radius for video subtitles. --> 808 <dimen name="subtitle_corner_radius">2dp</dimen> 809 810 <!-- Shadow radius for video subtitles. --> 811 <dimen name="subtitle_shadow_radius">2dp</dimen> 812 813 <!-- Shadow offset for video subtitles. --> 814 <dimen name="subtitle_shadow_offset">2dp</dimen> 815 816 <!-- Outline width for video subtitles. --> 817 <dimen name="subtitle_outline_width">2dp</dimen> 818 819 <!-- Minimum size of the fast scroller thumb's touch target. --> 820 <dimen name="fast_scroller_minimum_touch_target">48dp</dimen> 821 822 <!-- width of ImmersiveModeConfirmation (-1 for match_parent) --> 823 <dimen name="immersive_mode_cling_width">-1px</dimen> 824 825 <dimen name="resolver_max_width">480dp</dimen> 826 827 <!-- Tile Stroke width --> 828 <dimen name="config_qsTileStrokeWidthActive">-1dp</dimen> 829 <dimen name="config_qsTileStrokeWidthInactive">-1dp</dimen> 830 831 <!-- Amount to reduce the size of the circular mask by (to compensate for 832 aliasing effects). This is only used on circular displays. --> 833 <dimen name="circular_display_mask_thickness">1px</dimen> 834 835 <!-- The width of the round scrollbar --> 836 <dimen name="round_scrollbar_width">5dp</dimen> 837 838 <dimen name="lock_pattern_dot_line_width">22dp</dimen> 839 <dimen name="lock_pattern_dot_size">14dp</dimen> 840 <dimen name="lock_pattern_dot_size_activated">30dp</dimen> 841 <!-- How much of the cell space is classified as hit areas [0..1] where 1 means that hit area is 842 a circle with diameter equals to cell minimum side min(width, height). --> 843 <item type="dimen" format="float" name="lock_pattern_dot_hit_factor">0.6</item> 844 <!-- Width of a gradient applied to a lock pattern line while its disappearing animation. --> 845 <dimen name="lock_pattern_fade_away_gradient_width">8dp</dimen> 846 <!-- Parameters applied to line disappearing animation in LockPatternView in milliseconds. --> 847 <integer name="lock_pattern_line_fade_out_duration">500</integer> 848 <integer name="lock_pattern_line_fade_out_delay">150</integer> 849 <!-- Parameters applied to fade pattern animation in LockPatternView in milliseconds. --> 850 <integer name="lock_pattern_fade_pattern_duration">200</integer> 851 <integer name="lock_pattern_fade_pattern_delay">2300</integer> 852 853 <dimen name="text_handle_min_size">40dp</dimen> 854 855 <!-- Lighting and shadow properties --> 856 <dimen name="light_y">0dp</dimen> 857 <dimen name="light_z">500dp</dimen> 858 <dimen name="light_radius">800dp</dimen> 859 <item type="dimen" format="float" name="ambient_shadow_alpha">0.039</item> 860 <item type="dimen" format="float" name="spot_shadow_alpha">0.19</item> 861 862 <!-- Floating toolbar dimensions --> 863 <dimen name="floating_toolbar_height">48dp</dimen> 864 <dimen name="floating_toolbar_menu_image_width">24dp</dimen> 865 <dimen name="floating_toolbar_menu_image_button_width">56dp</dimen> 866 <dimen name="floating_toolbar_menu_image_button_vertical_padding">12dp</dimen> 867 <dimen name="floating_toolbar_menu_button_side_padding">11dp</dimen> 868 <dimen name="floating_toolbar_overflow_image_button_width">60dp</dimen> 869 <dimen name="floating_toolbar_overflow_side_padding">18dp</dimen> 870 <dimen name="floating_toolbar_text_size">14sp</dimen> 871 <dimen name="floating_toolbar_menu_button_minimum_width">48dp</dimen> 872 <dimen name="floating_toolbar_preferred_width">400dp</dimen> 873 <dimen name="floating_toolbar_minimum_overflow_height">96dp</dimen> 874 <dimen name="floating_toolbar_maximum_overflow_height">192dp</dimen> 875 <dimen name="floating_toolbar_horizontal_margin">16dp</dimen> 876 <dimen name="floating_toolbar_vertical_margin">8dp</dimen> 877 <dimen name="content_rect_bottom_clip_allowance">20dp</dimen> 878 <dimen name="floating_toolbar_icon_text_spacing">8dp</dimen> 879 880 <!-- Magnifier dimensions --> 881 <dimen name="default_magnifier_width">100dp</dimen> 882 <dimen name="default_magnifier_height">48dp</dimen> 883 <dimen name="default_magnifier_elevation">4dp</dimen> 884 <dimen name="default_magnifier_corner_radius">2dp</dimen> 885 <dimen name="default_magnifier_vertical_offset">-42dp</dimen> 886 <dimen name="default_magnifier_horizontal_offset">0dp</dimen> 887 <item type="dimen" format="float" name="default_magnifier_zoom">1.25</item> 888 889 <item type="dimen" name="aerr_padding_list_top">15dp</item> 890 <item type="dimen" name="aerr_padding_list_bottom">8dp</item> 891 892 <item type="fraction" name="docked_stack_divider_fixed_ratio">34.15%</item> 893 894 <!-- The default minimal size of a resizable task, in both dimensions. --> 895 <dimen name="default_minimal_size_resizable_task">220dp</dimen> 896 897 <!-- Height of a task when in minimized mode from the top when launcher is resizable. --> 898 <dimen name="task_height_of_minimized_mode">80dp</dimen> 899 900 <!-- Minimum "smallest width" of the display for cascading menus to be enabled. --> 901 <dimen name="cascading_menus_min_smallest_width">720dp</dimen> 902 903 <!-- Tooltip dimensions. --> 904 <!-- Vertical offset from the edge of the anchor view for a touch-triggered tooltip. --> 905 <dimen name="tooltip_y_offset_touch">16dp</dimen> 906 <!-- Vertical offset from the edge of the anchor view for a non-touch-triggered tooltip. --> 907 <dimen name="tooltip_y_offset_non_touch">0dp</dimen> 908 <!-- The tooltip does not get closer than this to the window edge --> 909 <dimen name="tooltip_margin">8dp</dimen> 910 <!-- Left/right padding of the tooltip text. --> 911 <dimen name="tooltip_horizontal_padding">16dp</dimen> 912 <!-- Top/bottom padding of the tooltip text. --> 913 <dimen name="tooltip_vertical_padding">6.5dp</dimen> 914 <!-- Border corner radius of the tooltip window. --> 915 <dimen name="tooltip_corner_radius">2dp</dimen> 916 <!-- View with the height equal or above this threshold will have a tooltip anchored 917 to the mouse/touch position --> 918 <dimen name="tooltip_precise_anchor_threshold">96dp</dimen> 919 <!-- Extra tooltip offset used when anchoring to the mouse/touch position --> 920 <dimen name="tooltip_precise_anchor_extra_offset">8dp</dimen> 921 <dimen name="tooltip_font_size">14sp</dimen> 922 923 <!-- The max amount of scroll ItemTouchHelper will trigger if dragged view is out of 924 RecyclerView's bounds.--> 925 <dimen name="item_touch_helper_max_drag_scroll_per_frame">20dp</dimen> 926 <dimen name="item_touch_helper_swipe_escape_velocity">120dp</dimen> 927 <dimen name="item_touch_helper_swipe_escape_max_velocity">800dp</dimen> 928 929 <!-- The maximum size of the small notification icon. --> 930 <dimen name="notification_small_icon_size">48dp</dimen> 931 <!-- The maximum height of any image in a remote view. This is applied to all images in custom remoteviews. This value is determined by the maximum notification height --> 932 <dimen name="notification_custom_view_max_image_height">284dp</dimen> 933 <!-- The maximum height of any image in a remote view. This is applied to all images in custom remoteviews. This value is determined a maximum notification width --> 934 <dimen name="notification_custom_view_max_image_width">450dp</dimen> 935 <!-- The maximum height of a big picture in a notification. The images will be reduced to that height in case they are bigger. This value is determined by the maximum notification height --> 936 <dimen name="notification_big_picture_max_height">284dp</dimen> 937 <!-- The maximum width of a big picture in a notification. The images will be reduced to that width in case they are bigger. This value is determined by the standard panel size --> 938 <dimen name="notification_big_picture_max_width">416dp</dimen> 939 <!-- The size of the right icon --> 940 <dimen name="notification_right_icon_size">48dp</dimen> 941 <!-- The margin between the right icon and the content. --> 942 <dimen name="notification_right_icon_content_margin">12dp</dimen> 943 <!-- The margin between the right icon and the content. (2025 redesign version) --> 944 <dimen name="notification_2025_right_icon_content_margin">16dp</dimen> 945 <!-- The top and bottom margin of the right icon in the normal notification states --> 946 <dimen name="notification_right_icon_headerless_margin">20dp</dimen> 947 <!-- The top margin of the right icon in the "big" notification states --> 948 <!-- TODO(b/181048615): Move the large icon below the expander in big states --> 949 <dimen name="notification_right_icon_big_margin_top">16dp</dimen> 950 <!-- The size of the left icon --> 951 <dimen name="notification_left_icon_size">@dimen/notification_icon_circle_size</dimen> 952 <!-- The size of the left icon (2025 redesign version) --> 953 <dimen name="notification_2025_left_icon_size">@dimen/notification_2025_icon_circle_size</dimen> 954 <!-- The left padding of the left icon --> 955 <dimen name="notification_left_icon_start">@dimen/notification_icon_circle_start</dimen> 956 <!-- The alpha of a disabled notification button --> 957 <item type="dimen" format="float" name="notification_action_disabled_alpha">0.5</item> 958 <!-- The maximum size of Person avatar image in MessagingStyle notifications. 959 This is bigger than displayed because listeners can use it for other displays 960 e.g. wearables. --> 961 <dimen name="notification_person_icon_max_size">144dp</dimen> 962 <!-- The size of the progress bar icon --> 963 <dimen name="notification_progress_icon_size">20dp</dimen> 964 <!-- The size of the progress tracker width --> 965 <dimen name="notification_progress_tracker_width">40dp</dimen> 966 <!-- The size of the progress tracker height --> 967 <dimen name="notification_progress_tracker_height">20dp</dimen> 968 <!-- The gap between segments in the notification progress bar --> 969 <dimen name="notification_progress_segSeg_gap">4dp</dimen> 970 <!-- The gap between a segment and a point in the notification progress bar --> 971 <dimen name="notification_progress_segPoint_gap">4dp</dimen> 972 <!-- The minimum required drawing width of the notification progress bar segments --> 973 <dimen name="notification_progress_segments_min_width">16dp</dimen> 974 <!-- The height of the notification progress bar segments --> 975 <dimen name="notification_progress_segments_height">6dp</dimen> 976 <!-- The height of the notification progress bar faded segments --> 977 <dimen name="notification_progress_segments_faded_height">2dp</dimen> 978 <!-- The corner radius of the notification progress bar segments --> 979 <dimen name="notification_progress_segments_corner_radius">16dp</dimen> 980 <!-- The radius of the notification progress bar points --> 981 <dimen name="notification_progress_points_radius">6dp</dimen> 982 <!-- The corner radius of the notification progress bar points drawn as rects --> 983 <dimen name="notification_progress_points_corner_radius">2dp</dimen> 984 <!-- The inset of the notification progress bar points drawn as rects --> 985 <dimen name="notification_progress_points_inset">0dp</dimen> 986 987 <!-- The maximum size of the small notification icon on low memory devices. --> 988 <dimen name="notification_small_icon_size_low_ram">@dimen/notification_small_icon_size</dimen> 989 <!-- The maximum height of any image in a remote view. This is applied to all images in custom remoteviews. --> 990 <dimen name="notification_custom_view_max_image_height_low_ram">208dp</dimen> 991 <!-- The maximum height of any image in a remote view. This is applied to all images in custom remoteviews. --> 992 <dimen name="notification_custom_view_max_image_width_low_ram">294dp</dimen> 993 <!-- The maximum height of a big picture in a notification. The images will be reduced to that height in case they are bigger. --> 994 <dimen name="notification_big_picture_max_height_low_ram">208dp</dimen> 995 <!-- The maximum width of a big picture in a notification. The images will be reduced to that width in case they are bigger. --> 996 <dimen name="notification_big_picture_max_width_low_ram">294dp</dimen> 997 <!-- The size of the right icon image when on low ram --> 998 <dimen name="notification_right_icon_size_low_ram">@dimen/notification_right_icon_size</dimen> 999 <!-- The maximum size of Person avatar image in MessagingStyle notifications. 1000 This is bigger than displayed because listeners can use it for other displays 1001 e.g. wearables. --> 1002 <dimen name="notification_person_icon_max_size_low_ram">96dp</dimen> 1003 <!-- The maximum size of the grayscale icon --> 1004 <dimen name="notification_grayscale_icon_max_size">256dp</dimen> 1005 1006 <dimen name="messaging_avatar_size">48dp</dimen> 1007 <dimen name="conversation_avatar_size">48dp</dimen> 1008 <!-- start margin of the icon circle in the conversation's skin of the header --> 1009 <dimen name="conversation_icon_circle_start">28dp</dimen> 1010 <!-- Start of the content in the conversation template --> 1011 <dimen name="conversation_content_start">80dp</dimen> 1012 <!-- Height of the expand button in the conversation layout --> 1013 <dimen name="conversation_expand_button_height">88dp</dimen> 1014 <!-- this is the margin between the Conversation image and the content --> 1015 <dimen name="conversation_image_start_margin">12dp</dimen> 1016 <!-- amount the badge sticks out from the conversation avatar --> 1017 <dimen name="conversation_badge_protrusion">4dp</dimen> 1018 <!-- size of the notification badge when applied to the conversation icon --> 1019 <dimen name="conversation_icon_size_badged">20dp</dimen> 1020 <!-- size of the conversation avatar in an expanded group --> 1021 <dimen name="conversation_avatar_size_group_expanded">@dimen/messaging_avatar_size</dimen> 1022 <!-- size of the face pile icons (2025 redesign version) --> 1023 <dimen name="notification_2025_face_pile_avatar_size">24dp</dimen> 1024 <!-- size of the face pile icons --> 1025 <dimen name="conversation_face_pile_avatar_size">32dp</dimen> 1026 <!-- size of the face pile icons when the group is expanded --> 1027 <dimen name="conversation_face_pile_avatar_size_group_expanded">@dimen/conversation_face_pile_avatar_size</dimen> 1028 <!-- amount the badge sticks out from the conversation avatar when the group is expanded --> 1029 <dimen name="conversation_badge_protrusion_group_expanded">@dimen/conversation_badge_protrusion</dimen> 1030 <!-- amount the badge sticks out from the conversation face pile when the group is expanded --> 1031 <dimen name="conversation_badge_protrusion_group_expanded_face_pile">@dimen/conversation_badge_protrusion</dimen> 1032 <!-- The width of the protection of the face pile layout--> 1033 <dimen name="conversation_face_pile_protection_width">2dp</dimen> 1034 <!-- The width of the protection of the face pile layout when expanded--> 1035 <dimen name="conversation_face_pile_protection_width_expanded">@dimen/conversation_face_pile_protection_width</dimen> 1036 <!-- size of the compact face pile --> 1037 <dimen name="conversation_compact_face_pile_size">24dp</dimen> 1038 <!-- size of the face pile avatar --> 1039 <dimen name="conversation_compact_face_pile_avatar_size">17dp</dimen> 1040 <!-- size of the face pile protection --> 1041 <dimen name="conversation_compact_face_pile_protection_width">1dp</dimen> 1042 <!-- The padding of the expanded message container--> 1043 <dimen name="expanded_group_conversation_message_padding">32dp</dimen> 1044 <!-- The stroke width of the ring used to visually mark a conversation as important --> 1045 <dimen name="importance_ring_stroke_width">2dp</dimen> 1046 <!-- The maximum stroke width used for the animation shown when a conversation is marked as important --> 1047 <dimen name="importance_ring_anim_max_stroke_width">10dp</dimen> 1048 <!-- The size of the importance ring --> 1049 <dimen name="importance_ring_size">20dp</dimen> 1050 1051 <!-- The spacing around the app icon badge shown next to the conversation icon --> 1052 <dimen name="notification_2025_conversation_icon_badge_padding">2dp</dimen> 1053 1054 <!-- Top and start margin for the app icon badge shown next to the conversation icon, to align 1055 it to the bottom end corner. 1056 40dp (conversation icon size) - 16dp (actual size of badge) - 2dp (badge padding) --> 1057 <dimen name="notification_2025_conversation_icon_badge_position">22dp</dimen> 1058 1059 <!-- The size of the app icon badge shown next to the conversation icon, including its padding. 1060 The actual size of the icon is 16dp, plus 2dp for each side for the padding. --> 1061 <dimen name="notification_2025_conversation_icon_badge_size">20dp</dimen> 1062 1063 <!-- The top padding of the conversation icon container in the regular state--> 1064 <dimen name="conversation_icon_container_top_padding">20dp</dimen> 1065 1066 <!-- The top padding of the conversation icon container when the avatar is small--> 1067 <dimen name="conversation_icon_container_top_padding_small_avatar">8dp</dimen> 1068 1069 <!-- The padding of the conversation header when expanded. This is calculated from the expand button size (56dp) - notification_content_margin_end (16dp) --> 1070 <dimen name="conversation_header_expanded_padding_end">40dp</dimen> 1071 1072 <!-- extra padding at the start of the icons when not conversations to keep them horizontally aligned with the notification icon --> 1073 <dimen name="messaging_layout_icon_padding_start">4dp</dimen> 1074 1075 <!-- Padding between text and sender when singleline --> 1076 <dimen name="messaging_group_singleline_sender_padding_end">4dp</dimen> 1077 1078 <dimen name="messaging_group_sending_progress_size">24dp</dimen> 1079 1080 <!-- Max width/height of the autofill data set picker as a fraction of the screen width/height --> 1081 <dimen name="autofill_dataset_picker_max_width">90%</dimen> 1082 <dimen name="autofill_dataset_picker_max_height">90%</dimen> 1083 1084 <!-- Autofill save dialog padding --> 1085 <dimen name="autofill_save_outer_margin">24dp</dimen> 1086 <dimen name="autofill_save_outer_top_padding">16dp</dimen> 1087 <dimen name="autofill_elevation">32dp</dimen> 1088 <dimen name="autofill_save_inner_padding">16dp</dimen> 1089 <dimen name="autofill_save_icon_size">32dp</dimen> 1090 <dimen name="autofill_save_icon_max_height">56dp</dimen> 1091 <dimen name="autofill_save_title_start_padding">8dp</dimen> 1092 <dimen name="autofill_save_scroll_view_top_margin">16dp</dimen> 1093 <dimen name="autofill_save_button_bar_padding">16dp</dimen> 1094 <dimen name="autofill_dialog_corner_radius">24dp</dimen> 1095 <dimen name="autofill_button_bar_spacer_width">12dp</dimen> 1096 <dimen name="autofill_button_bar_spacer_height">4dp</dimen> 1097 1098 <!-- How much extra space should be left around the autofill dialog --> 1099 <dimen name="autofill_dialog_offset">72dp</dimen> 1100 1101 <!-- Max height of the the autofill save custom subtitle as a fraction of the screen width/height --> 1102 <dimen name="autofill_save_custom_subtitle_max_height">20%</dimen> 1103 1104 <!-- Maximum number of datasets that are visible in the UX picker without scrolling --> 1105 <integer name="autofill_max_visible_datasets">3</integer> 1106 1107 <!-- Size of an icon in the Autofill fill dialog --> 1108 <dimen name="autofill_dialog_icon_size">32dp</dimen> 1109 1110 <!-- The max height of an icon in the Autofill fill dialog. --> 1111 <dimen name="autofill_dialog_icon_max_height">56dp</dimen> 1112 1113 <!-- The max width of the Autofill fill dialog. --> 1114 <dimen name="autofill_dialog_max_width">640dp</dimen> 1115 1116 <!-- Size of a slice shortcut view --> 1117 <dimen name="slice_shortcut_size">56dp</dimen> 1118 <!-- Size of action icons in a slice --> 1119 <dimen name="slice_icon_size">24dp</dimen> 1120 <!-- Standard padding used in a slice view --> 1121 <dimen name="slice_padding">16dp</dimen> 1122 1123 <!-- Default dialog corner radius --> 1124 <dimen name="dialog_corner_radius">2dp</dimen> 1125 1126 <!-- Size of thumbnail used in the cross profile apps animation --> 1127 <dimen name="cross_profile_apps_thumbnail_size">72dp</dimen> 1128 1129 <!-- Padding between the title and content in the harmful app dialog --> 1130 <dimen name="harmful_app_padding_top">10dp</dimen> 1131 <!-- Bottom padding for the "app name" section of the harmful app dialog --> 1132 <dimen name="harmful_app_name_padding_bottom">20dp</dimen> 1133 <!-- Left padding for the "app name" section of the harmful app dialog --> 1134 <dimen name="harmful_app_name_padding_left">24dp</dimen> 1135 <!-- Right padding for the "app name" section of the harmful app dialog --> 1136 <dimen name="harmful_app_name_padding_right">24dp</dimen> 1137 <!-- Top padding for the "app name" section of the harmful app dialog --> 1138 <dimen name="harmful_app_name_padding_top">8dp</dimen> 1139 <!-- Padding between the icon and app name in the harmful app dialog --> 1140 <dimen name="harmful_app_icon_name_padding">20dp</dimen> 1141 <!-- The size of the icon on the harmful app dialog --> 1142 <dimen name="harmful_app_icon_size">44dp</dimen> 1143 <!-- Left padding for the message section of the harmful app dialog --> 1144 <dimen name="harmful_app_message_padding_left">24dp</dimen> 1145 <!-- Right padding for the message section of the harmful app dialog --> 1146 <dimen name="harmful_app_message_padding_right">24dp</dimen> 1147 <!-- Bottom padding for the message section of the harmful app dialog --> 1148 <dimen name="harmful_app_message_padding_bottom">24dp</dimen> 1149 <!-- Line spacing modifier for the message field of the harmful app dialog --> 1150 <item name="harmful_app_message_line_spacing_modifier" type="dimen">1.22</item> 1151 1152 <dimen name="seekbar_thumb_exclusion_max_size">48dp</dimen> 1153 1154 <!-- chooser/resolver (sharesheet) spacing --> 1155 <dimen name="chooser_width">412dp</dimen> 1156 <dimen name="chooser_corner_radius">28dp</dimen> 1157 <dimen name="chooser_row_text_option_translate">25dp</dimen> 1158 <dimen name="chooser_view_spacing">18dp</dimen> 1159 <dimen name="chooser_edge_margin_thin">16dp</dimen> 1160 <dimen name="chooser_edge_margin_normal">24dp</dimen> 1161 <dimen name="chooser_preview_image_font_size">20sp</dimen> 1162 <dimen name="chooser_preview_image_border">1dp</dimen> 1163 <dimen name="chooser_preview_image_max_dimen">200dp</dimen> 1164 <dimen name="chooser_preview_width">-1px</dimen> 1165 <dimen name="chooser_header_scroll_elevation">4dp</dimen> 1166 <dimen name="chooser_max_collapsed_height">288dp</dimen> 1167 <dimen name="chooser_direct_share_label_placeholder_max_width">72dp</dimen> 1168 <dimen name="chooser_icon_size">56dp</dimen> 1169 <dimen name="chooser_badge_size">22dp</dimen> 1170 <dimen name="resolver_icon_size">32dp</dimen> 1171 <dimen name="resolver_button_bar_spacing">0dp</dimen> 1172 <dimen name="resolver_badge_size">18dp</dimen> 1173 <dimen name="resolver_icon_margin">8dp</dimen> 1174 <dimen name="resolver_small_margin">18dp</dimen> 1175 <dimen name="resolver_edge_margin">24dp</dimen> 1176 <dimen name="resolver_elevation">1dp</dimen> 1177 <dimen name="resolver_empty_state_height">212dp</dimen> 1178 <dimen name="resolver_empty_state_height_with_tabs">268dp</dimen> 1179 <dimen name="resolver_max_collapsed_height">192dp</dimen> 1180 <dimen name="resolver_max_collapsed_height_with_tabs">268dp</dimen> 1181 <dimen name="resolver_max_collapsed_height_with_default">144dp</dimen> 1182 <dimen name="resolver_max_collapsed_height_with_default_with_tabs">300dp</dimen> 1183 <dimen name="resolver_tab_text_size">14sp</dimen> 1184 <dimen name="resolver_title_padding_bottom">0dp</dimen> 1185 <dimen name="resolver_empty_state_container_padding_top">48dp</dimen> 1186 <dimen name="resolver_empty_state_container_padding_bottom">8dp</dimen> 1187 <dimen name="resolver_profile_tab_margin">4dp</dimen> 1188 1189 <dimen name="chooser_action_button_icon_size">18dp</dimen> 1190 1191 <!-- For main built-in Waterfall Display --> 1192 <dimen name="waterfall_display_left_edge_size">0px</dimen> 1193 <dimen name="waterfall_display_top_edge_size">0px</dimen> 1194 <dimen name="waterfall_display_right_edge_size">0px</dimen> 1195 <dimen name="waterfall_display_bottom_edge_size">0px</dimen> 1196 1197 <dimen name="default_background_blur_radius">100dp</dimen> 1198 <!-- The maximum height of a thumbnail in a ThumbnailTemplate. The image will be reduced to that height in case they are bigger. --> 1199 <dimen name="controls_thumbnail_image_max_height">140dp</dimen> 1200 <!-- The maximum width of a thumbnail in a ThumbnailTemplate. The image will be reduced to that width in case they are bigger.--> 1201 <dimen name="controls_thumbnail_image_max_width">280dp</dimen> 1202 1203 <!-- System-provided radius for the background view of app widgets. The resolved value of this resource may change at runtime. --> 1204 <dimen name="system_app_widget_background_radius" android:featureFlag="!android.appwidget.flags.use_smaller_app_widget_system_radius">28dp</dimen> 1205 <dimen name="system_app_widget_background_radius" android:featureFlag="android.appwidget.flags.use_smaller_app_widget_system_radius">24dp</dimen> 1206 <!-- System-provided radius for inner views on app widgets that are positioned 8dp within the widget background view. The resolved value of this resource may change at runtime. --> 1207 <dimen name="system_app_widget_inner_radius" android:featureFlag="!android.appwidget.flags.use_smaller_app_widget_system_radius">20dp</dimen> 1208 <!-- System-provided radius for inner views on app widgets that are positioned 8dp within the widget background view. The resolved value of this resource may change at runtime. --> 1209 <dimen name="system_app_widget_inner_radius" android:featureFlag="android.appwidget.flags.use_smaller_app_widget_system_radius">16dp</dimen> 1210 <!-- System-provided padding for inner views on app widgets. The resolved value of this resource may change at runtime. @removed --> 1211 <dimen name="__removed_system_app_widget_internal_padding">16dp</dimen> 1212 1213 <!-- The width/height of the icon view on staring surface. --> 1214 <dimen name="starting_surface_icon_size">160dp</dimen> 1215 <!-- The default width/height of the icon on the spec of adaptive icon drawable. --> 1216 <dimen name="starting_surface_default_icon_size">108dp</dimen> 1217 1218 <!-- For secondary built-in Waterfall Display --> 1219 <dimen name="secondary_waterfall_display_left_edge_size">0px</dimen> 1220 <dimen name="secondary_waterfall_display_top_edge_size">0px</dimen> 1221 <dimen name="secondary_waterfall_display_right_edge_size">0px</dimen> 1222 <dimen name="secondary_waterfall_display_bottom_edge_size">0px</dimen> 1223 1224 <!-- Rounded corner settings for secondary built-in display --> 1225 <dimen name="secondary_rounded_corner_radius">0px</dimen> 1226 <dimen name="secondary_rounded_corner_radius_top">0px</dimen> 1227 <dimen name="secondary_rounded_corner_radius_bottom">0px</dimen> 1228 <dimen name="secondary_rounded_corner_radius_adjustment">0px</dimen> 1229 <dimen name="secondary_rounded_corner_radius_top_adjustment">0px</dimen> 1230 <dimen name="secondary_rounded_corner_radius_bottom_adjustment">0px</dimen> 1231 1232 <!-- Default size for user icons (a.k.a. avatar images) --> 1233 <dimen name="user_icon_size">190dp</dimen> 1234 1235 <!-- Dimensions for the translations of the default dialog animation. --> 1236 <dimen name="popup_enter_animation_from_y_delta">20dp</dimen> 1237 <dimen name="popup_exit_animation_to_y_delta">-10dp</dimen> 1238 1239 <!-- Dimensions for the activity embedding divider. --> 1240 <dimen name="activity_embedding_divider_handle_width">4dp</dimen> 1241 <dimen name="activity_embedding_divider_handle_height">48dp</dimen> 1242 <dimen name="activity_embedding_divider_handle_radius">2dp</dimen> 1243 <dimen name="activity_embedding_divider_handle_width_pressed">12dp</dimen> 1244 <dimen name="activity_embedding_divider_handle_height_pressed">53dp</dimen> 1245 <dimen name="activity_embedding_divider_handle_radius_pressed">6dp</dimen> 1246 <dimen name="activity_embedding_divider_touch_target_width">24dp</dimen> 1247 <dimen name="activity_embedding_divider_touch_target_height">64dp</dimen> 1248 1249 <!-- Default handwriting bounds offsets for editors. --> 1250 <dimen name="handwriting_bounds_offset_left">10dp</dimen> 1251 <dimen name="handwriting_bounds_offset_top">40dp</dimen> 1252 <dimen name="handwriting_bounds_offset_right">10dp</dimen> 1253 <dimen name="handwriting_bounds_offset_bottom">40dp</dimen> 1254 1255 <!-- The threshold for full back swipe progress. --> 1256 <dimen name="navigation_edge_action_progress_threshold">412dp</dimen> 1257 <!-- The non-linear progress interval when the screen is wider than the 1258 navigation_edge_action_progress_threshold. --> 1259 <item name="back_progress_non_linear_factor" format="float" type="dimen">0.2</item> 1260 1261 <!-- The maximum width for a context menu icon --> 1262 <dimen name="list_menu_item_icon_max_width">24dp</dimen> 1263 1264 <!-- Default height of desktop view header for freeform tasks on launch. --> 1265 <dimen name="desktop_view_default_header_height">40dp</dimen> 1266</resources> 1267