1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2009 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="secondary_app_icon_size">32dp</dimen> 26 <dimen name="min_tap_target_size">48dp</dimen> 27 <dimen name="screen_margin_sides">64dip</dimen> 28 <dimen name="screen_margin_top">72dip</dimen> 29 <dimen name="screen_margin_bottom">48dip</dimen> 30 <dimen name="content_margin_left">16dip</dimen> 31 <dimen name="description_margin_top">26dip</dimen> 32 <dimen name="description_margin_sides">40dip</dimen> 33 <dimen name="bind_app_widget_dialog_checkbox_bottom_padding">16dip</dimen> 34 <dimen name="installed_app_details_bullet_offset">8dip</dimen> 35 36 <dimen name="battery_history_chart_height">120dp</dimen> 37 38 <dimen name="data_usage_chart_height">228dip</dimen> 39 <dimen name="data_usage_chart_optimalWidth">440dip</dimen> 40 <dimen name="usage_number_text_size">36sp</dimen> 41 42 <dimen name="volume_seekbar_side_margin">8dip</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 <!-- Size of icons in the top-level of settings --> 51 <dimen name="header_icon_width">28dp</dimen> 52 <dimen name="appwidget_min_width">280dip</dimen> 53 <dimen name="appwidget_min_height">40dip</dimen> 54 55 <dimen name="pager_tabs_padding">0dp</dimen> 56 <dimen name="pager_tabs_title_padding">16dp</dimen> 57 <dimen name="pager_tabs_selected_indicator_height">3dp</dimen> 58 59 <!-- Minimum width for the popup for updating a user's photo. --> 60 <dimen name="update_user_photo_popup_min_width">300dip</dimen> 61 62 <dimen name="captioning_preview_height">200dp</dimen> 63 64 <dimen name="color_mode_preview_height">320dp</dimen> 65 <dimen name="color_mode_preview_padding_bottom">40dp</dimen> 66 67 <dimen name="ring_progress_bar_thickness">4dp</dimen> 68 <dimen name="settings_side_margin">0dip</dimen> 69 70 <!-- Weight of the left pane in a multi-pane preference layout. --> 71 <integer name="preferences_left_pane_weight">4</integer> 72 <!-- Weight of the right pane in a multi-pane preference layout. So the split is 40:60 --> 73 <integer name="preferences_right_pane_weight">6</integer> 74 75 <dimen name="notification_app_icon_size">64dp</dimen> 76 <dimen name="notification_app_icon_badge_size">20dp</dimen> 77 <dimen name="notification_app_icon_badge_margin">4dp</dimen> 78 <dimen name="zen_schedule_rule_checkbox_padding">7dp</dimen> 79 <dimen name="zen_schedule_day_margin">17dp</dimen> 80 81 <!-- Default text size for caption preview samples. Uses dp rather than sp because captions are not scaled. --> 82 <dimen name="caption_preview_text_size">48dp</dimen> 83 84 <!-- ActionBar height --> 85 <dimen name="actionbar_size">56dip</dimen> 86 87 <!-- ActionBar contentInsetStart --> 88 <dimen name="actionbar_contentInsetStart">16dp</dimen> 89 <dimen name="actionbar_subsettings_contentInsetStart">72dp</dimen> 90 91 <!-- Dashboard padding in its container --> 92 <dimen name="dashboard_padding_start">0dp</dimen> 93 <dimen name="dashboard_padding_end">0dp</dimen> 94 <dimen name="dashboard_padding_top">0dp</dimen> 95 <dimen name="dashboard_padding_bottom">0dp</dimen> 96 97 <!-- Dashboard category padding start / end --> 98 <dimen name="dashboard_category_padding_start">0dp</dimen> 99 <dimen name="dashboard_category_padding_end">0dp</dimen> 100 101 <!-- Dashboard category panel elevation --> 102 <dimen name="dashboard_category_elevation">2dp</dimen> 103 104 <!-- Dashboard tile minimum height --> 105 <dimen name="dashboard_tile_minimum_height">72dp</dimen> 106 107 <!-- Dashboard image tile size --> 108 <dimen name="dashboard_tile_image_size">36dp</dimen> 109 110 <!-- Dashboard foreground image size --> 111 <dimen name="dashboard_tile_foreground_image_size">24dp</dimen> 112 113 <!-- Dashboard foreground image inset (from background edge to foreground edge) --> 114 <dimen name="dashboard_tile_foreground_image_inset">6dp</dimen> 115 116 <!-- Dashboard tile image margin start / end --> 117 <dimen name="dashboard_tile_image_margin">18dp</dimen> 118 119 <!-- SwitchBar sub settings margin start / end --> 120 <dimen name="switchbar_subsettings_margin_start">72dp</dimen> 121 <dimen name="switchbar_subsettings_margin_end">16dp</dimen> 122 123 <!-- The following two margins need to match, with the caveat that 124 the second should be negative. The second one ensures that the icons and text 125 align despite the additional padding caused by the search bar's card background. --> 126 <dimen name="search_bar_margin">16dp</dimen> 127 <dimen name="search_bar_negative_margin">-16dp</dimen> 128 129 <dimen name="search_bar_height">48dp</dimen> 130 <dimen name="search_bar_corner_radius">2dp</dimen> 131 <dimen name="search_bar_text_size">16dp</dimen> 132 133 <!-- Dimensions for Wifi Assistant Card --> 134 <dimen name="wifi_assistant_padding_top_bottom">16dp</dimen> 135 <dimen name="wifi_assistant_padding_start_end">16dp</dimen> 136 <dimen name="wifi_assistant_padding">25dp</dimen> 137 <dimen name="wifi_assistant_text_padding">16dp</dimen> 138 <dimen name="wifi_assistant_height">182dp</dimen> 139 <dimen name="wifi_assistant_image_top">32dp</dimen> 140 <dimen name="wifi_assistant_image_start">24dp</dimen> 141 142 <!-- CryptKeeper top margin for password/pin screen --> 143 <dimen name="crypt_keeper_password_top_margin">88dip</dimen> 144 145 <!-- CryptKeeper top margin for pattern screen --> 146 <dimen name="crypt_keeper_pattern_top_margin">88dip</dimen> 147 148 <!-- CryptKeeper password/pin width --> 149 <dimen name="crypt_keeper_password_width">280dip</dimen> 150 151 <!-- CryptKeeper emergency call button dimensions --> 152 <dimen name="crypt_keeper_emergency_call_space_above">16dip</dimen> 153 154 <!-- CryptKeeper edit text ime icon padding --> 155 <dimen name="crypt_keeper_edit_text_ime_padding">8dip</dimen> 156 157 <!-- CryptKeeper pattern margin on phone --> 158 <dimen name="crypt_keeper_pattern_margin">8dip</dimen> 159 160 <!-- CryptKeeper pattern size for tablet --> 161 <dimen name="crypt_keeper_pattern_size">354dip</dimen> 162 163 <!-- Screen pinning textview paddings --> 164 <dimen name="screen_pinning_textview_padding">40dp</dimen> 165 166 <!-- SIM Dialog Margin top --> 167 <dimen name="sim_dialog_margin_top">8dip</dimen> 168 <!-- SIM Dialog Margin bottom --> 169 <dimen name="sim_dialog_margin_bottom">16dip</dimen> 170 <!-- SIM Dialog padding --> 171 <dimen name="sim_dialog_padding">8dip</dimen> 172 <dimen name="sim_label_padding">16dip</dimen> 173 <dimen name="sim_content_padding">24dip</dimen> 174 <!-- Sim Card Name length --> 175 <integer name="sim_name_length">32</integer> 176 177 <!-- Height of a user icon view --> 178 <dimen name="user_icon_view_height">56dp</dimen> 179 180 <!-- CheckBoxPreference --> 181 <dimen name="checkbox_widget_min_width">58dip</dimen> 182 <dimen name="checkbox_layout_padding">16dip</dimen> 183 184 <!-- Bluetooth Preferences --> 185 <dimen name="bluetooth_dialog_padding">8dip</dimen> 186 <dimen name="bluetooth_dialog_padding_top">20dp</dimen> 187 <integer name="bluetooth_name_length">32</integer> 188 <dimen name="bluetooth_pairing_padding">24dp</dimen> 189 <dimen name="bluetooth_pairing_edittext_padding">21dp</dimen> 190 <dimen name="bluetooth_checkbox_padding">16dp</dimen> 191 192 <!-- WiFi Preferences --> 193 <dimen name="wifi_divider_height">1px</dimen> 194 <dimen name="wifi_ap_band_checkbox_padding">16dp</dimen> 195 196 <!-- Color picker --> 197 <dimen name="color_swatch_size">16dp</dimen> 198 <dimen name="color_swatch_stroke_width">4dp</dimen> 199 200 <!-- RedactionInterstitial --> 201 <dimen name="redaction_vertical_margins">8dp</dimen> 202 203 <!-- Fingerprint --> 204 <dimen name="fingerprint_dot_radius">8dp</dimen> 205 <dimen name="fingerprint_pulse_radius">50dp</dimen> 206 <item name="fingerprint_sensor_location_fraction_x" type="fraction">50%</item> 207 <item name="fingerprint_sensor_location_fraction_y" type="fraction">30%</item> 208 <dimen name="fingerprint_find_sensor_graphic_size">190dp</dimen> 209 <item name="fingerprint_illustration_aspect_ratio" format="float" type="dimen">2.6</item> 210 <dimen name="fingerprint_decor_padding_top">0dp</dimen> 211 <dimen name="fingerprint_error_text_appear_distance">16dp</dimen> 212 <dimen name="fingerprint_error_text_disappear_distance">-8dp</dimen> 213 <dimen name="fingerprint_animation_size">88dp</dimen> 214 <dimen name="fingerprint_progress_bar_max_size">240dp</dimen> 215 <dimen name="fingerprint_progress_bar_min_size">120dp</dimen> 216 <dimen name="fingerprint_enrolling_content_margin_vertical">24dp</dimen> 217 <!-- To be the same size as fingerprint progress bar: 218 fingerprint_finish_max_size = fingerprint_progress_bar_max_size 219 + (fingerprint_enrolling_content_margin_vertical x 2) --> 220 <dimen name="fingerprint_finish_max_size">288dp</dimen> 221 222 <dimen name="confirm_credentials_security_method_margin">48dp</dimen> 223 <dimen name="confirm_credentials_layout_width">@dimen/match_parent</dimen> 224 <dimen name="confirm_credentials_top_padding">0dp</dimen> 225 <dimen name="confirm_credentials_side_margin">16dp</dimen> 226 <dimen name="confirm_credentials_top_margin">16dp</dimen> 227 228 <!-- Delete managed profile dialog --> 229 <dimen name="delete_profile_dialog_padding_top">16dp</dimen> 230 <dimen name="delete_profile_dialog_padding_left_right">24dp</dimen> 231 <dimen name="mdm_app_info_height">72dp</dimen> 232 <dimen name="mdm_app_info_padding_top_bottom">8dp</dimen> 233 <dimen name="mdm_app_name_padding_left">16dp</dimen> 234 <dimen name="mdm_app_icon_width_height">56dp</dimen> 235 236 <!-- Launcher Icons --> 237 <dimen name="shortcut_size_maskable">120dp</dimen> 238 <dimen name="shortcut_size">40dp</dimen> 239 <dimen name="shortcut_icon_size">16dp</dimen> 240 <dimen name="badge_size">10dp</dimen> 241 242 <!-- Admin support contact details dialog. --> 243 <dimen name="admin_details_dialog_padding">24dp</dimen> 244 <dimen name="admin_details_dialog_title_bottom_padding">20dp</dimen> 245 <dimen name="admin_details_dialog_icon_size">48dp</dimen> 246 <dimen name="admin_details_dialog_link_padding_top">36dp</dimen> 247 <dimen name="admin_details_dialog_learn_more_button_top_margin">24dp</dimen> 248 <dimen name="admin_details_dialog_learn_more_button_padding">8dp</dimen> 249 <dimen name="admin_details_dialog_learn_more_button_minWidth">88dp</dimen> 250 251 <!-- Button bar padding for unmount button. --> 252 <dimen name="unmount_button_padding">8dp</dimen> 253 254 <!-- Display, Screen zoom --> 255 <dimen name="screen_zoom_preview_app_icon_width">88dp</dimen> 256 <dimen name="conversation_message_list_padding">10dp</dimen> 257 <dimen name="conversation_message_contact_icon_text_size">32sp</dimen> 258 <dimen name="conversation_message_text_size">16sp</dimen> 259 <dimen name="conversation_status_text_size">12sp</dimen> 260 <dimen name="conversation_bubble_width_snap">20dp</dimen> 261 <dimen name="message_bubble_arrow_width">9dp</dimen> 262 <dimen name="message_padding_default">18dp</dimen> 263 <dimen name="message_text_left_right_padding">14dp</dimen> 264 <dimen name="message_text_top_padding">10dp</dimen> 265 <dimen name="message_text_bottom_padding">12dp</dimen> 266 <dimen name="message_metadata_top_padding">4dp</dimen> 267 268 <!-- Accessibility Settings --> 269 <dimen name="accessibility_layout_margin_start_end">24dp</dimen> 270 <dimen name="accessibility_button_preference_padding_top_bottom">18dp</dimen> 271 272 <!-- Accessibility, Screen magnification. These values are meant to be relative values and the actual layout value will be set programmatically. --> 273 <dimen name="screen_magnification_video_background_width">750dp</dimen> 274 <dimen name="screen_magnification_video_background_height">383dp</dimen> 275 <dimen name="screen_magnification_video_width">170dp</dimen> 276 <dimen name="screen_magnification_video_height">311dp</dimen> 277 <dimen name="screen_magnification_video_margin_top">40dp</dimen> 278 279 <!-- Restricted icon in switch bar --> 280 <dimen name="restricted_icon_margin_end">16dp</dimen> 281 282 <!-- Display Size and Font Size preview screen --> 283 <dimen name="preview_pager_padding">8dp</dimen> 284 285 <!-- Padding between the radio buttons/checkbox and text on the redaction interstitial --> 286 <dimen name="redaction_padding_start">16dp</dimen> 287 288 <!-- Padding for Gestures settings screen --> 289 <dimen name="gestures_settings_padding_top_bottom">20dp</dimen> 290 <dimen name="gestures_play_button_size">36dp</dimen> 291 292 <dimen name="password_requirement_textsize">14sp</dimen> 293 294 <!-- Padding between the donut and the storage summary. --> 295 <dimen name="storage_summary_padding_end">16dp</dimen> 296 <!-- Text size of the big number in the donut. --> 297 <dimen name="storage_donut_view_percent_text_size">30sp</dimen> 298 <!-- Text size of the percentage sign in the donut. --> 299 <dimen name="storage_donut_view_percent_sign_size">20sp</dimen> 300 <!-- Text size of the label text in the donut. --> 301 <dimen name="storage_donut_view_label_text_size">14sp</dimen> 302 <!-- Text size of the label text in the donut if the label text is long. --> 303 <dimen name="storage_donut_view_shrunken_label_text_size">10sp</dimen> 304 <!-- The width of the storage summary donut --> 305 <dimen name="storage_donut_thickness">4dp</dimen> 306 307 <!-- Battery meter view size --> 308 <dimen name="battery_meter_width">66dp</dimen> 309 <dimen name="battery_meter_height">100dp</dimen> 310 311 <!-- Suggestion/condition header padding --> 312 <dimen name="suggestion_condition_header_padding_collapsed">10dp</dimen> 313 <dimen name="suggestion_condition_header_padding_expanded">5dp</dimen> 314 315 <!-- Suggestion cards size and padding --> 316 <dimen name="suggestion_card_icon_size">24dp</dimen> 317 <dimen name="suggestion_card_outer_margin">14dp</dimen> 318 <dimen name="suggestion_card_inner_margin">12dp</dimen> 319 <dimen name="suggestion_card_padding_bottom_one_card">16dp</dimen> 320 <dimen name="suggestion_card_corner_radius">2dp</dimen> 321 <dimen name="suggestion_card_icon_side_margin">12dp</dimen> 322 <dimen name="suggestion_card_button_side_margin">8dp</dimen> 323 <dimen name="suggestion_card_button_top_margin">16dp</dimen> 324 <dimen name="suggestion_card_button_bottom_margin">18dp</dimen> 325 326 <!-- Padding for the reset screens --> 327 <dimen name="reset_checkbox_padding_end">8dp</dimen> 328 <dimen name="reset_checkbox_title_padding_top">12dp</dimen> 329 <dimen name="reset_checkbox_summary_padding_top">4dp</dimen> 330 <dimen name="reset_checkbox_title_text_size">18sp</dimen> 331 <dimen name="reset_checkbox_summary_text_size">14sp</dimen> 332 333 </resources> 334