1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2019 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16 17<resources> 18 <dimen name="match_parent">-1px</dimen> 19 20 <dimen name="device_memory_usage_button_width">16dip</dimen> 21 <dimen name="device_memory_usage_button_height">32dip</dimen> 22 <dimen name="action_bar_switch_padding">16dip</dimen> 23 24 <dimen name="app_icon_size">40dip</dimen> 25 <dimen name="min_tap_target_size">48dp</dimen> 26 <dimen name="screen_margin_sides">64dip</dimen> 27 <dimen name="screen_margin_top">72dip</dimen> 28 <dimen name="screen_margin_bottom">48dip</dimen> 29 <dimen name="content_margin_left">16dip</dimen> 30 <dimen name="description_margin_top">26dip</dimen> 31 <dimen name="description_margin_sides">40dip</dimen> 32 <dimen name="bind_app_widget_dialog_checkbox_bottom_padding">16dip</dimen> 33 <dimen name="installed_app_details_bullet_offset">8dip</dimen> 34 35 <dimen name="data_usage_chart_height">228dip</dimen> 36 <dimen name="data_usage_chart_optimalWidth">440dip</dimen> 37 <dimen name="usage_number_text_size">36sp</dimen> 38 39 <dimen name="volume_seekbar_side_margin">8dip</dimen> 40 41 <dimen name="balance_seekbar_center_marker_height">14dp</dimen> 42 <dimen name="balance_seekbar_center_marker_width">1dp</dimen> 43 44 <dimen name="crypt_clock_size">100sp</dimen> 45 46 <dimen name="divider_height">3dip</dimen> 47 <dimen name="divider_margin_top">6dip</dimen> 48 <dimen name="divider_margin_bottom">7dip</dimen> 49 50 <dimen name="pager_tabs_padding">0dp</dimen> 51 <dimen name="pager_tabs_title_padding">16dp</dimen> 52 <dimen name="pager_tabs_selected_indicator_height">3dp</dimen> 53 54 <!-- Minimum width for the popup for updating a user's photo. --> 55 <dimen name="update_user_photo_popup_min_width">300dip</dimen> 56 57 <dimen name="captioning_preview_height">200dp</dimen> 58 59 <dimen name="color_mode_preview_height">320dp</dimen> 60 61 <dimen name="ring_progress_bar_thickness">4dp</dimen> 62 63 <!-- Weight of the left pane in a multi-pane preference layout. --> 64 <integer name="preferences_left_pane_weight">4</integer> 65 <!-- Weight of the right pane in a multi-pane preference layout. So the split is 40:60 --> 66 <integer name="preferences_right_pane_weight">6</integer> 67 68 <dimen name="notification_app_icon_size">64dp</dimen> 69 <dimen name="notification_app_icon_badge_size">20dp</dimen> 70 <dimen name="notification_app_icon_badge_margin">4dp</dimen> 71 <dimen name="notification_importance_toggle_size">48dp</dimen> 72 <dimen name="notification_importance_toggle_marginTop">8dp</dimen> 73 <dimen name="notification_importance_toggle_marginBottom">16dp</dimen> 74 <dimen name="zen_schedule_rule_checkbox_padding">7dp</dimen> 75 <dimen name="zen_schedule_day_margin">17dp</dimen> 76 77 <!-- Default text size for caption preview samples. Uses dp rather than sp because captions are not scaled. --> 78 <dimen name="caption_preview_text_size">48dp</dimen> 79 80 <!-- ActionBar height --> 81 <dimen name="actionbar_size">56dip</dimen> 82 83 <!-- ActionBar contentInsetStart --> 84 <dimen name="actionbar_contentInsetStart">16dp</dimen> 85 <dimen name="actionbar_subsettings_contentInsetStart">72dp</dimen> 86 87 <!-- Dashboard image tile size --> 88 <dimen name="dashboard_tile_image_size">36dp</dimen> 89 90 <!-- Dashboard foreground image size --> 91 <dimen name="dashboard_tile_foreground_image_size">24dp</dimen> 92 93 <!-- Dashboard foreground image inset (from background edge to foreground edge) --> 94 <dimen name="dashboard_tile_foreground_image_inset">6dp</dimen> 95 96 <!-- Preference icon foreground image inset (from background edge to foreground edge) --> 97 <dimen name="preference_icon_foreground_image_inset">12dp</dimen> 98 99 <!-- SwitchBar sub settings margin start / end --> 100 <dimen name="switchbar_subsettings_margin_start">72dp</dimen> 101 <dimen name="switchbar_subsettings_margin_end">16dp</dimen> 102 103 <dimen name="search_bar_margin">16dp</dimen> 104 105 <dimen name="search_bar_height">48dp</dimen> 106 <dimen name="search_bar_corner_radius">2dp</dimen> 107 <dimen name="search_bar_text_size">16dp</dimen> 108 <dimen name="search_bar_card_elevation">2dp</dimen> 109 <dimen name="search_bar_content_inset">64dp</dimen> 110 <dimen name="search_bar_avatar_end_padding">16dp</dimen> 111 <!-- 32dp (avatar size) + 16 dp (search_bar_avatar_end_padding) --> 112 <dimen name="search_bar_avatar_width">48dp</dimen> 113 <!-- (search_bar_height 48dp - avatar size 32dp) / 2 --> 114 <dimen name="search_bar_avatar_top_bottom_padding">8dp</dimen> 115 116 <!-- Dimensions for Wifi Assistant Card --> 117 <dimen name="wifi_assistant_padding_top_bottom">16dp</dimen> 118 <dimen name="wifi_assistant_padding_start_end">16dp</dimen> 119 <dimen name="wifi_assistant_padding">25dp</dimen> 120 <dimen name="wifi_assistant_text_padding">16dp</dimen> 121 <dimen name="wifi_assistant_height">182dp</dimen> 122 <dimen name="wifi_assistant_image_top">32dp</dimen> 123 <dimen name="wifi_assistant_image_start">24dp</dimen> 124 <!-- appbar height is equal search bar height (48dp) plus search bar top and bottom margin --> 125 <dimen name="app_bar_height">80dp</dimen> 126 127 <!-- CryptKeeper top margin for password/pin screen --> 128 <dimen name="crypt_keeper_password_top_margin">88dip</dimen> 129 130 <!-- CryptKeeper top margin for pattern screen --> 131 <dimen name="crypt_keeper_pattern_top_margin">88dip</dimen> 132 133 <!-- CryptKeeper password/pin width --> 134 <dimen name="crypt_keeper_password_width">280dip</dimen> 135 136 <!-- CryptKeeper emergency call button dimensions --> 137 <dimen name="crypt_keeper_emergency_call_space_above">16dip</dimen> 138 139 <!-- CryptKeeper edit text ime icon padding --> 140 <dimen name="crypt_keeper_edit_text_ime_padding">8dip</dimen> 141 142 <!-- CryptKeeper pattern margin on phone --> 143 <dimen name="crypt_keeper_pattern_margin">8dip</dimen> 144 145 <!-- CryptKeeper pattern size for tablet --> 146 <dimen name="crypt_keeper_pattern_size">354dip</dimen> 147 148 <!-- Screen pinning textview paddings --> 149 <dimen name="screen_pinning_textview_padding">40dp</dimen> 150 151 <!-- SIM Dialog Margin top --> 152 <dimen name="sim_dialog_margin_top">8dip</dimen> 153 <!-- SIM Dialog Margin bottom --> 154 <dimen name="sim_dialog_margin_bottom">16dip</dimen> 155 <!-- SIM Dialog padding --> 156 <dimen name="sim_dialog_padding">8dip</dimen> 157 <dimen name="sim_label_padding">16dip</dimen> 158 <dimen name="sim_content_padding">24dip</dimen> 159 <!-- Sim Card Name length --> 160 <integer name="sim_name_length">32</integer> 161 162 <!-- Height of a user icon view --> 163 <dimen name="user_icon_view_height">56dp</dimen> 164 165 <!-- CheckBoxPreference --> 166 <dimen name="checkbox_widget_min_width">58dip</dimen> 167 <dimen name="checkbox_layout_padding">16dip</dimen> 168 169 <!-- Bluetooth Preferences --> 170 <dimen name="bluetooth_dialog_padding">8dip</dimen> 171 <dimen name="bluetooth_dialog_padding_top">20dp</dimen> 172 <dimen name="bluetooth_pairing_padding">24dp</dimen> 173 <dimen name="bluetooth_pairing_edittext_padding">21dp</dimen> 174 <dimen name="bluetooth_checkbox_padding">16dp</dimen> 175 176 <!-- WiFi Preferences --> 177 <dimen name="wifi_divider_height">1px</dimen> 178 <dimen name="wifi_ap_band_checkbox_padding">16dp</dimen> 179 <dimen name="wifi_detail_page_header_image_size">32dp</dimen> 180 181 <!-- Color picker --> 182 <dimen name="color_swatch_size">16dp</dimen> 183 <dimen name="color_swatch_stroke_width">4dp</dimen> 184 185 <!-- RedactionInterstitial --> 186 <dimen name="redaction_vertical_margins">8dp</dimen> 187 188 <!-- Fingerprint --> 189 <dimen name="fingerprint_dot_radius">8dp</dimen> 190 <dimen name="fingerprint_pulse_radius">50dp</dimen> 191 <item name="fingerprint_sensor_location_fraction_x" type="fraction">50%</item> 192 <item name="fingerprint_sensor_location_fraction_y" type="fraction">30%</item> 193 <dimen name="fingerprint_find_sensor_graphic_size">190dp</dimen> 194 <item name="fingerprint_illustration_aspect_ratio" format="float" type="dimen">2.6</item> 195 <dimen name="fingerprint_decor_padding_top">0dp</dimen> 196 <dimen name="fingerprint_error_text_appear_distance">16dp</dimen> 197 <dimen name="fingerprint_error_text_disappear_distance">-8dp</dimen> 198 <dimen name="fingerprint_animation_size">88dp</dimen> 199 <dimen name="fingerprint_progress_bar_max_size">240dp</dimen> 200 <dimen name="fingerprint_progress_bar_min_size">120dp</dimen> 201 <dimen name="fingerprint_enrolling_content_margin_vertical">24dp</dimen> 202 <!-- To be the same size as fingerprint progress bar: 203 fingerprint_finish_max_size = fingerprint_progress_bar_max_size 204 + (fingerprint_enrolling_content_margin_vertical x 2) --> 205 <dimen name="fingerprint_finish_max_size">288dp</dimen> 206 207 <!-- Face --> 208 <dimen name="face_preview_translate_y">0dp</dimen> 209 <dimen name="face_preview_translate_x">0dp</dimen> 210 <item name="face_preview_scale" format="float" type="dimen">1.0</item> 211 212 <!-- Confirm device credentials --> 213 <dimen name="confirm_credentials_security_method_margin">48dp</dimen> 214 <dimen name="confirm_credentials_layout_width">@dimen/match_parent</dimen> 215 <dimen name="confirm_credentials_top_padding">0dp</dimen> 216 <dimen name="confirm_credentials_side_margin">16dp</dimen> 217 <dimen name="confirm_credentials_top_margin">16dp</dimen> 218 219 <!-- Delete managed profile dialog --> 220 <dimen name="delete_profile_dialog_padding_top">16dp</dimen> 221 <dimen name="delete_profile_dialog_padding_left_right">24dp</dimen> 222 <dimen name="mdm_app_info_height">72dp</dimen> 223 <dimen name="mdm_app_info_padding_top_bottom">8dp</dimen> 224 <dimen name="mdm_app_name_padding_left">16dp</dimen> 225 <dimen name="mdm_app_icon_width_height">56dp</dimen> 226 227 <!-- Launcher Icons --> 228 <dimen name="shortcut_size_maskable">120dp</dimen> 229 <dimen name="shortcut_size">40dp</dimen> 230 <dimen name="shortcut_icon_size">16dp</dimen> 231 <dimen name="badge_size">10dp</dimen> 232 233 <!-- Admin support contact details dialog. --> 234 <dimen name="admin_details_dialog_padding">24dp</dimen> 235 <dimen name="admin_details_dialog_title_bottom_padding">20dp</dimen> 236 <dimen name="admin_details_dialog_icon_size">48dp</dimen> 237 <dimen name="admin_details_dialog_link_padding_top">36dp</dimen> 238 <dimen name="admin_details_dialog_learn_more_button_top_margin">24dp</dimen> 239 <dimen name="admin_details_dialog_learn_more_button_padding">8dp</dimen> 240 <dimen name="admin_details_dialog_learn_more_button_minWidth">88dp</dimen> 241 242 <!-- Button bar padding for unmount button. --> 243 <dimen name="unmount_button_padding">8dp</dimen> 244 245 <!-- Display, Screen zoom --> 246 <dimen name="conversation_message_list_padding">10dp</dimen> 247 <dimen name="conversation_message_contact_icon_text_size">32sp</dimen> 248 <dimen name="conversation_message_text_size">16sp</dimen> 249 <dimen name="conversation_status_text_size">12sp</dimen> 250 <dimen name="conversation_bubble_width_snap">20dp</dimen> 251 <dimen name="message_bubble_arrow_width">9dp</dimen> 252 <dimen name="message_padding_default">18dp</dimen> 253 <dimen name="message_text_left_right_padding">14dp</dimen> 254 <dimen name="message_text_top_padding">10dp</dimen> 255 <dimen name="message_text_bottom_padding">12dp</dimen> 256 <dimen name="message_metadata_top_padding">4dp</dimen> 257 258 <!-- Accessibility Settings --> 259 <dimen name="accessibility_layout_margin_start_end">24dp</dimen> 260 <dimen name="accessibility_button_preference_padding_top_bottom">18dp</dimen> 261 262 <!-- Accessibility, Screen magnification. These values are meant to be relative values and the actual layout value will be set programmatically. --> 263 <dimen name="screen_magnification_video_background_width">750dp</dimen> 264 <dimen name="screen_magnification_video_background_height">383dp</dimen> 265 <dimen name="screen_magnification_video_width">170dp</dimen> 266 <dimen name="screen_magnification_video_height">311dp</dimen> 267 <dimen name="screen_magnification_video_margin_top">40dp</dimen> 268 269 <!-- Restricted icon in switch bar --> 270 <dimen name="restricted_icon_margin_end">16dp</dimen> 271 <!-- Restricted icon size in switch bar --> 272 <dimen name="restricted_icon_size">@*android:dimen/config_restrictedIconSize</dimen> 273 274 <!-- Display Size and Font Size preview screen --> 275 <dimen name="preview_pager_padding">8dp</dimen> 276 277 <!-- Padding between the radio buttons/checkbox and text on the redaction interstitial --> 278 <dimen name="redaction_padding_start">16dp</dimen> 279 280 <!-- Padding for Gestures settings screen --> 281 <dimen name="gestures_settings_padding_top_bottom">20dp</dimen> 282 <dimen name="gestures_play_button_size">36dp</dimen> 283 284 <dimen name="password_requirement_textsize">14sp</dimen> 285 286 <!-- Visible vertical space we want to show below password edittext field when ime is shown. 287 The unit is sp as it is related to the text size of password requirement item. --> 288 <dimen name="visible_vertical_space_below_password">20sp</dimen> 289 290 <!-- Select dialog --> 291 <dimen name="select_dialog_padding_start">20dp</dimen> 292 <dimen name="select_dialog_item_margin_start">12dp</dimen> 293 <dimen name="select_dialog_summary_padding_bottom">8dp</dimen> 294 295 <!-- Padding between the donut and the storage summary. --> 296 <dimen name="storage_summary_padding_end">16dp</dimen> 297 <!-- Text size of the big number in the donut. --> 298 <dimen name="storage_donut_view_percent_text_size">45sp</dimen> 299 <!-- Text size of the percentage sign in the donut. --> 300 <dimen name="storage_donut_view_percent_sign_size">20sp</dimen> 301 <!-- Text size of the label text in the donut. --> 302 <dimen name="storage_donut_view_label_text_size">21sp</dimen> 303 <!-- Text size of the label text in the donut if the label text is long. --> 304 <dimen name="storage_donut_view_shrunken_label_text_size">10sp</dimen> 305 <!-- The width of the storage summary donut --> 306 <dimen name="storage_donut_thickness">4dp</dimen> 307 308 <!-- Battery meter view size --> 309 <dimen name="battery_meter_width">66dp</dimen> 310 <dimen name="battery_meter_height">100dp</dimen> 311 312 <!-- Margin for the reset screens --> 313 <dimen name="reset_network_margin_start">72dp</dimen> 314 <dimen name="reset_network_margin_end">12dp</dimen> 315 <dimen name="reset_master_clear_margin_start">32dp</dimen> 316 <dimen name="reset_master_clear_margin_end">12dp</dimen> 317 318 <!-- Padding for screen pinning --> 319 <dimen name="screen_pinning_padding_start">64dp</dimen> 320 <dimen name="screen_pinning_padding_end">64dp</dimen> 321 322 <!-- Padding for the reset screens --> 323 <dimen name="reset_checkbox_padding_end">8dp</dimen> 324 <dimen name="reset_checkbox_title_padding_top">12dp</dimen> 325 <dimen name="reset_checkbox_summary_padding_top">4dp</dimen> 326 <dimen name="reset_checkbox_title_text_size">18sp</dimen> 327 <dimen name="reset_checkbox_summary_text_size">14sp</dimen> 328 329 <!-- Homepage cards size and padding --> 330 <dimen name="contextual_card_icon_size">24dp</dimen> 331 <dimen name="contextual_card_vertical_margin">8dp</dimen> 332 <dimen name="contextual_card_side_margin">4dp</dimen> 333 <dimen name="contextual_card_icon_padding_start">14dp</dimen> 334 <dimen name="contextual_card_text_padding_start">16dp</dimen> 335 <dimen name="contextual_card_padding_end">16dp</dimen> 336 <dimen name="contextual_card_corner_radius">@*android:dimen/config_dialogCornerRadius</dimen> 337 <dimen name="contextual_full_card_padding_end">12dp</dimen> 338 <dimen name="contextual_half_card_padding_top">12dp</dimen> 339 <dimen name="contextual_half_card_padding_bottom">16dp</dimen> 340 <dimen name="contextual_half_card_title_margin_top">12dp</dimen> 341 <dimen name="contextual_deferred_setup_card_padding_top">16dp</dimen> 342 <dimen name="contextual_deferred_setup_card_padding_bottom">12dp</dimen> 343 <dimen name="contextual_deferred_setup_card_title_margin_top">12dp</dimen> 344 <dimen name="contextual_deferred_setup_card_summary_margin_top">2dp</dimen> 345 <dimen name="contextual_deferred_setup_card_button_margin_top">8dp</dimen> 346 <dimen name="contextual_deferred_setup_card_button_padding_top">8dp</dimen> 347 <dimen name="contextual_deferred_setup_card_button_padding_bottom">8dp</dimen> 348 <dimen name="contextual_deferred_setup_card_button_padding_start">24dp</dimen> 349 <dimen name="contextual_deferred_setup_card_button_padding_end">24dp</dimen> 350 351 <!-- Homepage dismissal cards size and padding --> 352 <dimen name="contextual_card_dismissal_margin_top">12dp</dimen> 353 <dimen name="contextual_card_dismissal_side_margin">16dp</dimen> 354 <dimen name="contextual_card_dismissal_button_margin_start">4dp</dimen> 355 <dimen name="contextual_card_dismissal_button_margin_end">6dp</dimen> 356 357 <!-- Horizontal divider size and margin --> 358 <dimen name="horizontal_divider_height">.75dp</dimen> 359 360 <!-- Vertical divider size --> 361 <dimen name="vertical_divider_width">.75dp</dimen> 362 363 <!-- Signal icon in NetworkSelectSetting --> 364 <dimen name="signal_strength_icon_size">24dp</dimen> 365 366 <!-- Condition cards size and padding --> 367 <dimen name="contextual_condition_card_title_margin_bottom">2dp</dimen> 368 <dimen name="contextual_condition_half_card_padding_top">12dp</dimen> 369 <dimen name="contextual_condition_half_card_title_margin_top">12dp</dimen> 370 <dimen name="contextual_condition_half_card_summary_margin_bottom">12dp</dimen> 371 <dimen name="contextual_condition_full_card_padding_start">24dp</dimen> 372 <dimen name="contextual_condition_full_card_padding_end">16dp</dimen> 373 <dimen name="contextual_condition_full_card_padding_top">12dp</dimen> 374 <dimen name="contextual_condition_full_card_padding_bottom">12dp</dimen> 375 <dimen name="contextual_condition_header_padding_top">10dp</dimen> 376 <dimen name="contextual_condition_header_padding_bottom">10dp</dimen> 377 <dimen name="contextual_condition_header_icons_margin_start">14dp</dimen> 378 <dimen name="contextual_condition_header_indicator_padding_top">4dp</dimen> 379 <dimen name="contextual_condition_header_indicator_padding_start">16dp</dimen> 380 <dimen name="contextual_condition_header_indicator_padding_end">16dp</dimen> 381 <dimen name="contextual_condition_footer_height">48dp</dimen> 382 <dimen name="contextual_condition_footer_padding_top">10dp</dimen> 383 <dimen name="contextual_condition_footer_padding_end">10dp</dimen> 384 <dimen name="contextual_condition_header_icon_width_height">24dp</dimen> 385 <dimen name="contextual_condition_header_icon_margin_end">24dp</dimen> 386 387 <!-- QR code picture size --> 388 <dimen name="qrcode_size">264dp</dimen> 389 <dimen name="qrcode_preview_size">360dp</dimen> 390 391 <!-- Wi-Fi DPP fragment icon size --> 392 <dimen name="wifi_dpp_fragment_icon_width_height">48dp</dimen> 393 394 <!-- Elevation of bluetooth icon --> 395 <dimen name="bt_icon_elevation">4dp</dimen> 396 397 <dimen name="two_target_min_width">80dp</dimen> 398 399 <!-- Maximum height for SliceView, override on slices/view/src/main/res/values/dimens.xml --> 400 <dimen name="abc_slice_large_height">360dp</dimen> 401</resources> 402