1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2009 The Android Open Source Project
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
8 http://www.apache.org/licenses/LICENSE-2.0
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.
18 <dimen name="match_parent">-1px</dimen>
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>
24 <dimen name="app_icon_size">40dip</dimen>
25 <dimen name="screen_margin_sides">64dip</dimen>
26 <dimen name="screen_margin_top">72dip</dimen>
27 <dimen name="screen_margin_bottom">48dip</dimen>
28 <dimen name="content_margin_left">16dip</dimen>
29 <dimen name="description_margin_top">26dip</dimen>
30 <dimen name="description_margin_sides">40dip</dimen>
31 <dimen name="bind_app_widget_dialog_checkbox_bottom_padding">16dip</dimen>
32 <dimen name="installed_app_details_bullet_offset">8dip</dimen>
34 <dimen name="battery_history_chart_height">120dp</dimen>
36 <dimen name="data_usage_chart_height">228dip</dimen>
37 <dimen name="data_usage_chart_optimalWidth">440dip</dimen>
39 <dimen name="volume_seekbar_side_margin">8dip</dimen>
41 <dimen name="crypt_clock_size">100sp</dimen>
43 <dimen name="setup_add_network_item_height">56dp</dimen>
44 <!-- Size of padding to give in the wifi list when there is no icon -->
45 <dimen name="setup_list_no_icon_padding">56dp</dimen>
46 <dimen name="setup_preference_icon_frame_margin_start">-4dp</dimen>
47 <dimen name="setup_preference_icon_frame_padding_end">12dp</dimen>
48 <dimen name="setup_preference_icon_frame_width">60dp</dimen>
49 <dimen name="setup_wizard_margin_top">24dp</dimen>
51 <dimen name="divider_height">3dip</dimen>
52 <dimen name="divider_margin_top">6dip</dimen>
53 <dimen name="divider_margin_bottom">7dip</dimen>
54 <dimen name="vert_divider_width">1dip</dimen>
56 <!-- Size of icons in the top-level of settings -->
57 <dimen name="header_icon_width">28dp</dimen>
58 <dimen name="appwidget_min_width">280dip</dimen>
59 <dimen name="appwidget_min_height">40dip</dimen>
61 <dimen name="pager_tabs_padding">0dp</dimen>
62 <dimen name="pager_tabs_title_padding">16dp</dimen>
63 <dimen name="pager_tabs_selected_indicator_height">3dp</dimen>
65 <!-- Minimum width for the popup for updating a user's photo. -->
66 <dimen name="update_user_photo_popup_min_width">300dip</dimen>
68 <dimen name="captioning_preview_height">200dp</dimen>
70 <dimen name="settings_side_margin">0dip</dimen>
72 <!-- Weight of the left pane in a multi-pane preference layout. -->
73 <integer name="preferences_left_pane_weight">4</integer>
74 <!-- Weight of the right pane in a multi-pane preference layout. So the split is 40:60 -->
75 <integer name="preferences_right_pane_weight">6</integer>
77 <dimen name="notification_app_icon_size">64dp</dimen>
78 <dimen name="notification_app_icon_badge_size">20dp</dimen>
79 <dimen name="notification_app_icon_badge_margin">4dp</dimen>
80 <dimen name="zen_schedule_rule_checkbox_padding">7dp</dimen>
81 <dimen name="zen_schedule_day_margin">17dp</dimen>
83 <!-- Default text size for caption preview samples. Uses dp rather than sp because captions are not scaled. -->
84 <dimen name="caption_preview_text_size">48dp</dimen>
86 <!-- ActionBar height -->
87 <dimen name="actionbar_size">56dip</dimen>
89 <!-- ActionBar contentInsetStart -->
90 <dimen name="actionbar_contentInsetStart">16dp</dimen>
91 <dimen name="actionbar_subsettings_contentInsetStart">72dp</dimen>
93 <!-- Dashboard padding in its container -->
94 <dimen name="dashboard_padding_start">0dp</dimen>
95 <dimen name="dashboard_padding_end">0dp</dimen>
96 <dimen name="dashboard_padding_top">0dp</dimen>
97 <dimen name="dashboard_padding_bottom">0dp</dimen>
99 <!-- Dashboard category padding start / end -->
100 <dimen name="dashboard_category_padding_start">0dp</dimen>
101 <dimen name="dashboard_category_padding_end">0dp</dimen>
103 <!-- Dashboard category panel elevation -->
104 <dimen name="dashboard_category_elevation">2dp</dimen>
106 <!-- Dashboard category layout height -->
107 <dimen name="dashboard_category_height">48dp</dimen>
109 <!-- Dashboard category title margin start -->
110 <dimen name="dashboard_category_title_margin_start">16dp</dimen>
112 <!-- Dashboard tile minimum height -->
113 <dimen name="dashboard_tile_minimum_height">72dp</dimen>
115 <!-- Dashboard image tile size -->
116 <dimen name="dashboard_tile_image_size">24dp</dimen>
118 <!-- Dashboard tile image margin start / end -->
119 <dimen name="dashboard_tile_image_margin_start">16dp</dimen>
120 <dimen name="dashboard_tile_image_margin_end">32dp</dimen>
122 <!-- SwitchBar margin start / end -->
123 <dimen name="switchbar_margin_start">16dp</dimen>
124 <dimen name="switchbar_margin_end">16dp</dimen>
126 <!-- SwitchBar sub settings margin start / end -->
127 <dimen name="switchbar_subsettings_margin_start">72dp</dimen>
128 <dimen name="switchbar_subsettings_margin_end">16dp</dimen>
130 <!-- Search Panel elevation -->
131 <dimen name="search_panel_elevation">4dp</dimen>
133 <!-- Search title (recent / results) padding start -->
134 <dimen name="search_title_padding_start">12dp</dimen>
136 <!-- Result item image size -->
137 <dimen name="search_result_item_image_size">24dp</dimen>
139 <!-- Result item image margin start / end -->
140 <dimen name="search_result_item_image_margin_start">12dp</dimen>
141 <dimen name="search_result_item_image_margin_end">32dp</dimen>
143 <!-- Suggestion item image size -->
144 <dimen name="search_suggestion_item_image_size">24dp</dimen>
146 <!-- Suggestion item image margin start / end -->
147 <dimen name="search_suggestion_item_image_margin_start">32dp</dimen>
148 <dimen name="search_suggestion_item_image_margin_end">16dp</dimen>
150 <!-- Dimensions for Wifi Assistant Card -->
151 <dimen name="wifi_assistant_padding_top_bottom">16dp</dimen>
152 <dimen name="wifi_assistant_padding_start_end">16dp</dimen>
153 <dimen name="wifi_assistant_padding">25dp</dimen>
154 <dimen name="wifi_assistant_text_padding">16dp</dimen>
155 <dimen name="wifi_assistant_height">182dp</dimen>
156 <dimen name="wifi_assistant_image_top">32dp</dimen>
157 <dimen name="wifi_assistant_image_start">24dp</dimen>
159 <!-- CryptKeeper top margin for password/pin screen -->
160 <dimen name="crypt_keeper_password_top_margin">88dip</dimen>
162 <!-- CryptKeeper top margin for pattern screen -->
163 <dimen name="crypt_keeper_pattern_top_margin">88dip</dimen>
165 <!-- CryptKeeper password/pin width -->
166 <dimen name="crypt_keeper_password_width">280dip</dimen>
168 <!-- CryptKeeper emergency call button dimensions -->
169 <dimen name="crypt_keeper_emergency_call_space_above">16dip</dimen>
171 <!-- CryptKeeper edit text ime icon padding -->
172 <dimen name="crypt_keeper_edit_text_ime_padding">8dip</dimen>
174 <!-- CryptKeeper pattern margin on phone -->
175 <dimen name="crypt_keeper_pattern_margin">8dip</dimen>
177 <!-- CryptKeeper pattern size for tablet -->
178 <dimen name="crypt_keeper_pattern_size">354dip</dimen>
180 <!-- Screen pinning textview paddings -->
181 <dimen name="screen_pinning_textview_padding">40dp</dimen>
183 <!-- SIM Dialog Margin top -->
184 <dimen name="sim_dialog_margin_top">8dip</dimen>
185 <!-- SIM Dialog Margin bottom -->
186 <dimen name="sim_dialog_margin_bottom">16dip</dimen>
187 <!-- SIM Dialog padding -->
188 <dimen name="sim_dialog_padding">8dip</dimen>
189 <dimen name="sim_label_padding">16dip</dimen>
190 <dimen name="sim_content_padding">24dip</dimen>
191 <!-- Sim Card Name length -->
192 <integer name="sim_name_length">32</integer>
194 <!-- Height of a user icon view -->
195 <dimen name="user_icon_view_height">56dp</dimen>
197 <!-- CheckBoxPreference -->
198 <dimen name="checkbox_widget_min_width">58dip</dimen>
199 <dimen name="checkbox_layout_padding">16dip</dimen>
201 <!-- Bluetooth Preferences -->
202 <dimen name="bluetooth_dialog_padding">8dip</dimen>
203 <integer name="bluetooth_name_length">32</integer>
204 <dimen name="bluetooth_pairing_padding">24dp</dimen>
205 <dimen name="bluetooth_pairing_edittext_padding">21dp</dimen>
206 <dimen name="bluetooth_checkbox_padding">16dp</dimen>
208 <!-- WiFi Preferences -->
209 <dimen name="wifi_divider_height">1px</dimen>
211 <!-- Color picker -->
212 <dimen name="color_swatch_size">16dp</dimen>
213 <dimen name="color_swatch_stroke_width">4dp</dimen>
215 <!-- RedactionInterstitial -->
216 <dimen name="redaction_vertical_margins">8dp</dimen>
219 <dimen name="fingerprint_ring_radius">92dip</dimen>
220 <dimen name="fingerprint_ring_thickness">4dip</dimen>
221 <dimen name="fingerprint_dot_radius">8dp</dimen>
222 <dimen name="fingerprint_pulse_radius">50dp</dimen>
223 <item name="fingerprint_sensor_location_fraction_x" type="fraction">50%</item>
224 <item name="fingerprint_sensor_location_fraction_y" type="fraction">30%</item>
225 <dimen name="fingerprint_find_sensor_graphic_size">190dp</dimen>
226 <item name="fingerprint_illustration_aspect_ratio" format="float" type="dimen">2.6</item>
227 <dimen name="fingerprint_decor_padding_top">0dp</dimen>
228 <dimen name="fingerprint_error_text_appear_distance">16dp</dimen>
229 <dimen name="fingerprint_error_text_disappear_distance">-8dp</dimen>
230 <dimen name="fingerprint_animation_size">88dp</dimen>
231 <dimen name="fingerprint_progress_bar_size">192dp</dimen>
232 <dimen name="fingerprint_enrolling_content_margin_top">36dp</dimen>
233 <dimen name="fingerprint_in_app_indicator_size">124dp</dimen>
234 <dimen name="fingerprint_in_app_indicator_min_size">124dp</dimen>
235 <dimen name="fingerprint_in_app_indicator_max_size">264dp</dimen>
237 <dimen name="setup_fingerprint_ring_radius">80dip</dimen>
238 <dimen name="setup_fingerprint_progress_bar_size">168dp</dimen>
240 <dimen name="confirm_credentials_security_method_margin">48dp</dimen>
241 <dimen name="confirm_credentials_layout_width">@dimen/match_parent</dimen>
242 <dimen name="confirm_credentials_top_padding">0dp</dimen>
243 <dimen name="fab_size">56dp</dimen>
244 <dimen name="fab_margin">16dp</dimen>
245 <dimen name="fab_elevation">12dp</dimen>
246 <dimen name="fab_press_translation_z">9dp</dimen>
248 <!-- Delete managed profile dialog -->
249 <dimen name="delete_profile_dialog_padding_top">16dp</dimen>
250 <dimen name="delete_profile_dialog_padding_left_right">24dp</dimen>
251 <dimen name="mdm_app_info_height">72dp</dimen>
252 <dimen name="mdm_app_info_padding_top_bottom">8dp</dimen>
253 <dimen name="mdm_app_name_padding_left">16dp</dimen>
254 <dimen name="mdm_app_icon_width_height">56dp</dimen>
256 <dimen name="shortcut_size">40dp</dimen>
257 <dimen name="badge_size">10dp</dimen>
259 <!-- Admin support contact details dialog. -->
260 <dimen name="admin_details_dialog_padding">24dp</dimen>
261 <dimen name="admin_details_dialog_icon_size">48dp</dimen>
262 <dimen name="admin_details_dialog_link_padding_top">36dp</dimen>
264 <!-- Button bar padding for unmount button. -->
265 <dimen name="unmount_button_padding">8dp</dimen>
267 <!-- Display, Screen zoom -->
268 <dimen name="screen_zoom_preview_app_icon_width">88dp</dimen>
269 <dimen name="conversation_message_list_padding">10dp</dimen>
270 <dimen name="conversation_message_contact_icon_text_size">32sp</dimen>
271 <dimen name="conversation_message_text_size">16sp</dimen>
272 <dimen name="conversation_status_text_size">12sp</dimen>
273 <dimen name="conversation_bubble_width_snap">20dp</dimen>
274 <dimen name="message_bubble_arrow_width">9dp</dimen>
275 <dimen name="message_padding_default">18dp</dimen>
276 <dimen name="message_text_left_right_padding">14dp</dimen>
277 <dimen name="message_text_top_padding">10dp</dimen>
278 <dimen name="message_text_bottom_padding">12dp</dimen>
279 <dimen name="message_metadata_top_padding">4dp</dimen>
281 <!-- Accessibility Settings -->
282 <dimen name="accessibility_layout_margin_start_end">24dp</dimen>
283 <dimen name="accessibility_button_preference_padding_top_bottom">18dp</dimen>
285 <!-- Accessibility, Screen magnification. These values are meant to be relative values and the actual layout value will be set programmatically. -->
286 <dimen name="screen_magnification_video_background_width">750dp</dimen>
287 <dimen name="screen_magnification_video_background_height">383dp</dimen>
288 <dimen name="screen_magnification_video_width">170dp</dimen>
289 <dimen name="screen_magnification_video_height">311dp</dimen>
290 <dimen name="screen_magnification_video_margin_top">40dp</dimen>
292 <!-- Restricted icon in switch bar -->
293 <dimen name="restricted_icon_margin_end">16dp</dimen>
295 <!-- Display Size and Font Size preview screen -->
296 <dimen name="preview_pager_padding">8dp</dimen>
298 <!-- Padding between the radio buttons/checkbox and text on the redaction interstitial -->
299 <dimen name="redaction_padding_start">16dp</dimen>
301 <!-- Padding for Gestures settings screen -->
302 <dimen name="gestures_settings_padding_top_bottom">20dp</dimen>
303 <dimen name="gestures_play_button_size">36dp</dimen>
304 <dimen name="gesture_animation_padding">0dp</dimen>
306 <!-- Support tile minimum height -->
307 <dimen name="support_tile_min_height">48dp</dimen>
308 <!-- support spacer layout height -->
309 <dimen name="support_spacer_height">8dp</dimen>
311 <dimen name="password_requirement_textsize">14sp</dimen>
312 <!-- Visible vertical space we want to show below password edittext field when ime is shown.
313 The unit is sp as it is related to the text size of password requirement item. -->
314 <dimen name="visible_vertical_space_below_password">20sp</dimen>