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="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="battery_history_chart_height">120dp</dimen> 36 37 <dimen name="data_usage_chart_height">228dip</dimen> 38 <dimen name="data_usage_chart_optimalWidth">440dip</dimen> 39 40 <dimen name="volume_seekbar_side_margin">8dip</dimen> 41 42 <dimen name="crypt_clock_size">100sp</dimen> 43 44 <dimen name="divider_height">3dip</dimen> 45 <dimen name="divider_margin_top">6dip</dimen> 46 <dimen name="divider_margin_bottom">7dip</dimen> 47 48 <!-- Size of icons in the top-level of settings --> 49 <dimen name="header_icon_width">28dp</dimen> 50 <dimen name="appwidget_min_width">280dip</dimen> 51 <dimen name="appwidget_min_height">40dip</dimen> 52 53 <dimen name="pager_tabs_padding">0dp</dimen> 54 <dimen name="pager_tabs_title_padding">16dp</dimen> 55 <dimen name="pager_tabs_selected_indicator_height">3dp</dimen> 56 57 <!-- Minimum width for the popup for updating a user's photo. --> 58 <dimen name="update_user_photo_popup_min_width">300dip</dimen> 59 60 <dimen name="captioning_preview_height">200dp</dimen> 61 62 <dimen name="ring_progress_bar_thickness">4dp</dimen> 63 <dimen name="settings_side_margin">0dip</dimen> 64 65 <!-- Weight of the left pane in a multi-pane preference layout. --> 66 <integer name="preferences_left_pane_weight">4</integer> 67 <!-- Weight of the right pane in a multi-pane preference layout. So the split is 40:60 --> 68 <integer name="preferences_right_pane_weight">6</integer> 69 70 <dimen name="notification_app_icon_size">64dp</dimen> 71 <dimen name="notification_app_icon_badge_size">20dp</dimen> 72 <dimen name="notification_app_icon_badge_margin">4dp</dimen> 73 <dimen name="zen_schedule_rule_checkbox_padding">7dp</dimen> 74 <dimen name="zen_schedule_day_margin">17dp</dimen> 75 76 <!-- Default text size for caption preview samples. Uses dp rather than sp because captions are not scaled. --> 77 <dimen name="caption_preview_text_size">48dp</dimen> 78 79 <!-- ActionBar height --> 80 <dimen name="actionbar_size">56dip</dimen> 81 82 <!-- ActionBar contentInsetStart --> 83 <dimen name="actionbar_contentInsetStart">16dp</dimen> 84 <dimen name="actionbar_subsettings_contentInsetStart">72dp</dimen> 85 86 <!-- Dashboard padding in its container --> 87 <dimen name="dashboard_padding_start">0dp</dimen> 88 <dimen name="dashboard_padding_end">0dp</dimen> 89 <dimen name="dashboard_padding_top">0dp</dimen> 90 <dimen name="dashboard_padding_bottom">0dp</dimen> 91 92 <!-- Dashboard category padding start / end --> 93 <dimen name="dashboard_category_padding_start">0dp</dimen> 94 <dimen name="dashboard_category_padding_end">0dp</dimen> 95 96 <!-- Dashboard category panel elevation --> 97 <dimen name="dashboard_category_elevation">2dp</dimen> 98 99 <!-- Dashboard tile minimum height --> 100 <dimen name="dashboard_tile_minimum_height">72dp</dimen> 101 102 <!-- Dashboard image tile size --> 103 <dimen name="dashboard_tile_image_size">24dp</dimen> 104 105 <!-- Dashboard tile image margin start / end --> 106 <dimen name="dashboard_tile_image_margin">24dp</dimen> 107 108 <!-- SwitchBar margin start / end --> 109 <dimen name="switchbar_margin_start">16dp</dimen> 110 <dimen name="switchbar_margin_end">16dp</dimen> 111 112 <!-- SwitchBar sub settings margin start / end --> 113 <dimen name="switchbar_subsettings_margin_start">72dp</dimen> 114 <dimen name="switchbar_subsettings_margin_end">16dp</dimen> 115 116 <!-- The following two margins need to match, with the caveat that 117 the second should be negative. The second one ensures that the icons and text 118 align despite the additional padding caused by the search bar's card background. --> 119 <dimen name="search_bar_margin">8dp</dimen> 120 <dimen name="search_bar_negative_margin">-8dp</dimen> 121 122 <dimen name="search_bar_height">48dp</dimen> 123 <dimen name="search_bar_text_size">16dp</dimen> 124 125 <!-- Dimensions for Wifi Assistant Card --> 126 <dimen name="wifi_assistant_padding_top_bottom">16dp</dimen> 127 <dimen name="wifi_assistant_padding_start_end">16dp</dimen> 128 <dimen name="wifi_assistant_padding">25dp</dimen> 129 <dimen name="wifi_assistant_text_padding">16dp</dimen> 130 <dimen name="wifi_assistant_height">182dp</dimen> 131 <dimen name="wifi_assistant_image_top">32dp</dimen> 132 <dimen name="wifi_assistant_image_start">24dp</dimen> 133 134 <!-- CryptKeeper top margin for password/pin screen --> 135 <dimen name="crypt_keeper_password_top_margin">88dip</dimen> 136 137 <!-- CryptKeeper top margin for pattern screen --> 138 <dimen name="crypt_keeper_pattern_top_margin">88dip</dimen> 139 140 <!-- CryptKeeper password/pin width --> 141 <dimen name="crypt_keeper_password_width">280dip</dimen> 142 143 <!-- CryptKeeper emergency call button dimensions --> 144 <dimen name="crypt_keeper_emergency_call_space_above">16dip</dimen> 145 146 <!-- CryptKeeper edit text ime icon padding --> 147 <dimen name="crypt_keeper_edit_text_ime_padding">8dip</dimen> 148 149 <!-- CryptKeeper pattern margin on phone --> 150 <dimen name="crypt_keeper_pattern_margin">8dip</dimen> 151 152 <!-- CryptKeeper pattern size for tablet --> 153 <dimen name="crypt_keeper_pattern_size">354dip</dimen> 154 155 <!-- Screen pinning textview paddings --> 156 <dimen name="screen_pinning_textview_padding">40dp</dimen> 157 158 <!-- SIM Dialog Margin top --> 159 <dimen name="sim_dialog_margin_top">8dip</dimen> 160 <!-- SIM Dialog Margin bottom --> 161 <dimen name="sim_dialog_margin_bottom">16dip</dimen> 162 <!-- SIM Dialog padding --> 163 <dimen name="sim_dialog_padding">8dip</dimen> 164 <dimen name="sim_label_padding">16dip</dimen> 165 <dimen name="sim_content_padding">24dip</dimen> 166 <!-- Sim Card Name length --> 167 <integer name="sim_name_length">32</integer> 168 169 <!-- Height of a user icon view --> 170 <dimen name="user_icon_view_height">56dp</dimen> 171 172 <!-- CheckBoxPreference --> 173 <dimen name="checkbox_widget_min_width">58dip</dimen> 174 <dimen name="checkbox_layout_padding">16dip</dimen> 175 176 <!-- Bluetooth Preferences --> 177 <dimen name="bluetooth_dialog_padding">8dip</dimen> 178 <dimen name="bluetooth_dialog_padding_top">20dp</dimen> 179 <integer name="bluetooth_name_length">32</integer> 180 <dimen name="bluetooth_pairing_padding">24dp</dimen> 181 <dimen name="bluetooth_pairing_edittext_padding">21dp</dimen> 182 <dimen name="bluetooth_checkbox_padding">16dp</dimen> 183 184 <!-- WiFi Preferences --> 185 <dimen name="wifi_divider_height">1px</dimen> 186 187 <!-- Color picker --> 188 <dimen name="color_swatch_size">16dp</dimen> 189 <dimen name="color_swatch_stroke_width">4dp</dimen> 190 191 <!-- RedactionInterstitial --> 192 <dimen name="redaction_vertical_margins">8dp</dimen> 193 194 <!-- Fingerprint --> 195 <dimen name="fingerprint_dot_radius">8dp</dimen> 196 <dimen name="fingerprint_pulse_radius">50dp</dimen> 197 <item name="fingerprint_sensor_location_fraction_x" type="fraction">50%</item> 198 <item name="fingerprint_sensor_location_fraction_y" type="fraction">30%</item> 199 <dimen name="fingerprint_find_sensor_graphic_size">190dp</dimen> 200 <item name="fingerprint_illustration_aspect_ratio" format="float" type="dimen">2.6</item> 201 <dimen name="fingerprint_decor_padding_top">0dp</dimen> 202 <dimen name="fingerprint_error_text_appear_distance">16dp</dimen> 203 <dimen name="fingerprint_error_text_disappear_distance">-8dp</dimen> 204 <dimen name="fingerprint_animation_size">88dp</dimen> 205 <dimen name="fingerprint_progress_bar_max_size">240dp</dimen> 206 <dimen name="fingerprint_progress_bar_min_size">120dp</dimen> 207 <dimen name="fingerprint_enrolling_content_margin_vertical">24dp</dimen> 208 <!-- To be the same size as fingerprint progress bar: 209 fingerprint_finish_max_size = fingerprint_progress_bar_max_size 210 + (fingerprint_enrolling_content_margin_vertical x 2) --> 211 <dimen name="fingerprint_finish_max_size">288dp</dimen> 212 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_icon_size">48dp</dimen> 236 <dimen name="admin_details_dialog_link_padding_top">36dp</dimen> 237 238 <!-- Button bar padding for unmount button. --> 239 <dimen name="unmount_button_padding">8dp</dimen> 240 241 <!-- Display, Screen zoom --> 242 <dimen name="screen_zoom_preview_app_icon_width">88dp</dimen> 243 <dimen name="conversation_message_list_padding">10dp</dimen> 244 <dimen name="conversation_message_contact_icon_text_size">32sp</dimen> 245 <dimen name="conversation_message_text_size">16sp</dimen> 246 <dimen name="conversation_status_text_size">12sp</dimen> 247 <dimen name="conversation_bubble_width_snap">20dp</dimen> 248 <dimen name="message_bubble_arrow_width">9dp</dimen> 249 <dimen name="message_padding_default">18dp</dimen> 250 <dimen name="message_text_left_right_padding">14dp</dimen> 251 <dimen name="message_text_top_padding">10dp</dimen> 252 <dimen name="message_text_bottom_padding">12dp</dimen> 253 <dimen name="message_metadata_top_padding">4dp</dimen> 254 255 <!-- Accessibility Settings --> 256 <dimen name="accessibility_layout_margin_start_end">24dp</dimen> 257 <dimen name="accessibility_button_preference_padding_top_bottom">18dp</dimen> 258 259 <!-- Accessibility, Screen magnification. These values are meant to be relative values and the actual layout value will be set programmatically. --> 260 <dimen name="screen_magnification_video_background_width">750dp</dimen> 261 <dimen name="screen_magnification_video_background_height">383dp</dimen> 262 <dimen name="screen_magnification_video_width">170dp</dimen> 263 <dimen name="screen_magnification_video_height">311dp</dimen> 264 <dimen name="screen_magnification_video_margin_top">40dp</dimen> 265 266 <!-- Restricted icon in switch bar --> 267 <dimen name="restricted_icon_margin_end">16dp</dimen> 268 269 <!-- Display Size and Font Size preview screen --> 270 <dimen name="preview_pager_padding">8dp</dimen> 271 272 <!-- Padding between the radio buttons/checkbox and text on the redaction interstitial --> 273 <dimen name="redaction_padding_start">16dp</dimen> 274 275 <!-- Padding for Gestures settings screen --> 276 <dimen name="gestures_settings_padding_top_bottom">20dp</dimen> 277 <dimen name="gestures_play_button_size">36dp</dimen> 278 <dimen name="gesture_animation_padding">0dp</dimen> 279 280 <!-- Support tile minimum height --> 281 <dimen name="support_tile_min_height">48dp</dimen> 282 <!-- support spacer layout height --> 283 <dimen name="support_spacer_height">8dp</dimen> 284 285 <dimen name="password_requirement_textsize">14sp</dimen> 286 287 <!-- Padding for the escalation card in normal dimens --> 288 <dimen name="support_escalation_card_padding_start">40dp</dimen> 289 <dimen name="support_escalation_card_padding_end">40dp</dimen> 290 291 <!-- Padding between the donut and the storage summary. --> 292 <dimen name="storage_summary_padding_end">16dp</dimen> 293 <!-- Text size of the big number in the donut. --> 294 <dimen name="storage_donut_view_percent_text_size">30sp</dimen> 295 <!-- Text size of the label text in the donut. --> 296 <dimen name="storage_donut_view_label_text_size">14sp</dimen> 297 <!-- Text size of the label text in the donut if the label text is long. --> 298 <dimen name="storage_donut_view_shrunken_label_text_size">10sp</dimen> 299 <!-- The width of the storage summary donut --> 300 <dimen name="storage_donut_thickness">4dp</dimen> 301 302 <!-- Battery meter view size --> 303 <dimen name="battery_meter_width">66dp</dimen> 304 <dimen name="battery_meter_height">100dp</dimen> 305 306 <!-- Suggestion/condition header padding --> 307 <dimen name="suggestion_condition_header_padding_collapsed">10dp</dimen> 308 <dimen name="suggestion_condition_header_padding_expanded">5dp</dimen> 309 310 </resources> 311