blob: 0be7772bb5f9bd44fae7f115c3a25da096aa6df8 [file] [log] [blame]
Jeff Sharkey802b2052009-08-04 14:21:06 -07001<?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-->
Jeff Sharkey73714ff2009-08-23 22:13:04 -070016<resources>
Gary Maid23de612017-04-12 14:55:07 -070017 <!-- Size of clickable icons that are GAR-4 -->
18 <dimen name="default_clickable_icon_size">48dp</dimen>
yaoluf31d6972017-02-20 23:03:00 -080019 <!-- Copied from java/com/google/android/assets/launchscreens/res/values-port-v21/dimens.xml -->
20 <!-- Values adjusted for nav bar size due to windowDrawsSystemBarBackgrounds -->
21 <dimen name="launchscreens_product_logo_bottom">64dp</dimen>
yaoluf31d6972017-02-20 23:03:00 -080022
Brian Attwellb7e43642014-06-02 14:33:04 -070023 <!-- Initial height of transparent space above QuickContacts -->
24 <dimen name="quickcontact_starting_empty_height">150dp</dimen>
Brian Attwell9b889e62014-06-23 18:25:32 -070025 <!-- Initial size of QuickContact's title size -->
Tingting Wangdf65d162015-07-24 17:04:35 -070026 <dimen name="quickcontact_maximum_title_size">32dp</dimen>
27 <!-- Initial size of QuickContact's phonetic name size -->
28 <dimen name="quickcontact_maximum_phonetic_name_size">28dp</dimen>
29 <!-- When QC is uncollapsed, the title has this much margin on its left and right. -->
Brian Attwellbe48e0c2014-06-25 10:31:59 -070030 <dimen name="quickcontact_title_initial_margin">16dp</dimen>
Tingting Wangdf65d162015-07-24 17:04:35 -070031 <!-- When QC is uncollapsed, the title has this much margin on its bottom -->
32 <dimen name="quickcontact_title_initial_bottom_margin">8dp</dimen>
Brian Attwell841c3332014-10-27 15:05:09 -070033 <!-- The ratio of width:height for the contact's photo in landscape -->
34 <item name="quickcontact_landscape_photo_ratio" type="dimen" format="float">0.7</item>
Brian Attwell5fd86982014-12-04 16:25:33 -080035 <!-- How far QuickContacts can be dragged and released from the top of the window before we dismiss it. -->
36 <dimen name="quickcontact_dismiss_distance_on_release">40dp</dimen>
37 <!-- How far QuickContacts can be dragged from the top of the window before we dismiss it. -->
38 <dimen name="quickcontact_dismiss_distance_on_scroll">100dp</dimen>
39 <!-- When first flinging QuickContacts towards the top of the window if the fling is
40 predicted to scroll past the window top by less than this amount, then QuickContacts
41 snaps to the top of the window. -->
42 <dimen name="quickcontact_snap_to_top_slop_height">33dp</dimen>
Daniel Lehmannedb576a2011-07-27 16:45:13 -070043
Gary Mai363af602016-09-28 10:01:23 -070044 <!-- Account info left margin in editor. -->
45 <dimen name="editor_account_left_margin">4dp</dimen>
46
47 <!-- Margin between name field and whatever fields are above it. -->
48 <dimen name="editor_name_top_margin">8dp</dimen>
49
50 <!-- Top margin for "Saving to" account header text field. -->
51 <dimen name="editor_account_header_top_margin">3dp</dimen>
52
53 <!-- The ratio of width:height (360:184) for the editor contact photo in portrait -->
Walter Jang9d8f37e2015-03-16 13:56:15 -070054 <item name="editor_portrait_photo_ratio" type="dimen" format="float">1.96</item>
55
Chiao Chengddd4e822012-12-06 12:18:01 -080056 <!-- Padding of the rounded plus/minus/expand/collapse buttons in the editor -->
Brian Attwell179a42b2014-10-09 19:15:22 -070057 <dimen name="editor_round_button_padding_left">16dip</dimen>
58 <dimen name="editor_round_button_padding_right">16dip</dimen>
59 <dimen name="editor_round_button_padding_top">16dip</dimen>
60 <dimen name="editor_round_button_padding_bottom">16dip</dimen>
Chiao Chengddd4e822012-12-06 12:18:01 -080061
Walter Jang10f89da2015-03-16 10:32:04 -070062 <!-- Minimum height of a row in the Editor. This is the target height for editor "rows",
63 including the "More fields" button/row. -->
64 <dimen name="editor_min_line_item_height">54dp</dimen>
Chiao Chengddd4e822012-12-06 12:18:01 -080065
Brian Attwell043fba62014-10-30 11:11:56 -070066 <!-- The height and width of the delete button should be the same size as an editor row -->
67 <dimen name="editor_delete_button_size">@dimen/editor_min_line_item_height</dimen>
Brian Attwell5cc21eb2014-06-03 21:08:01 -070068
Brian Attwell043fba62014-10-30 11:11:56 -070069 <!-- Top margin applied to mime-type icons inside the editor. This is needed to give the
70 appearance that the icons are top aligned with the text, since visible text doesn't
71 start at the very top of TextViews. -->
Brian Attwell8c188a02014-12-17 18:25:14 -080072 <dimen name="editor_kind_icon_top_margin">14dp</dimen>
Brian Attwell5cc21eb2014-06-03 21:08:01 -070073
Brian Attwell043fba62014-10-30 11:11:56 -070074 <!-- RHS padding added to spinners in the editor. This separates the spinner text from the
75 spinner graphic since b/18194928 causes the spinner to always be on the RHS.
76 In LTR mode this shouldn't have an observable affect. We set paddingRight instead of
77 drawablePadding since the spinner graphic is not a normal drawable. -->
78 <dimen name="editor_spinner_right_padding_workaround">24dip</dimen>
Chiao Chengddd4e822012-12-06 12:18:01 -080079
guanxiongliu8d29af02016-03-17 09:50:54 -070080 <!-- RHS padding added to spinners for L devices -->
81 <dimen name="editor_spinner_right_padding">40dip</dimen>
82
Brian Attwell043fba62014-10-30 11:11:56 -070083 <!-- Size of input form text inside the contact editor -->
84 <dimen name="editor_form_text_size">16sp</dimen>
Chiao Chengddd4e822012-12-06 12:18:01 -080085
Brian Attwell2ebade82014-11-04 19:04:42 -080086 <!-- Total width of data-kind icon, including its start and end padding -->
Brian Attwell7e670822014-11-07 16:36:30 -080087 <dimen name="editor_kind_icon_total_width">68dp</dimen>
Brian Attwell2ebade82014-11-04 19:04:42 -080088
Brian Attwell7e670822014-11-07 16:36:30 -080089 <!-- Padding below every editor view, such as LabeledEditorView. This value is chosen
Walter Jang10f89da2015-03-16 10:32:04 -070090 to give 19dp of apparent padding between EditText's in the Raw Contact Editor. -->
91 <dimen name="editor_padding_between_editor_views">2dp</dimen>
Brian Attwell7e670822014-11-07 16:36:30 -080092
Walter Jang10f89da2015-03-16 10:32:04 -070093 <!-- Padding below every readonly editor view. This value is chosen to give 19dp of apparent
94 padding between TextView's in the readonly Raw Contact Editor. -->
95 <dimen name="editor_padding_between_read_only_editor_views">9dp</dimen>
Brian Attwellba4d5842014-12-09 14:23:02 -080096
Chiao Chengddd4e822012-12-06 12:18:01 -080097 <!-- Width of the Type-Label in the Editor -->
Brian Attwell043fba62014-10-30 11:11:56 -070098 <dimen name="editor_type_label_width">150dip</dimen>
99
Maurice Chu2d4632c2012-05-09 18:29:54 -0700100 <!-- Minimum width for the photo action popup options -->
101 <dimen name="photo_action_popup_min_width">300dip</dimen>
102
Sean Midfordd3bf8fc2016-11-22 14:59:24 -0800103 <!-- Minimum width for the custom label edit dialog -->
104 <dimen name="custom_dialog_min_width">300dip</dimen>
105
106 <!-- Custom dialog padding dimens -->
107 <dimen name="custom_dialog_layout_padding">24dip</dimen>
108
109 <!-- Custom dialog layout dimens -->
110 <dimen name="custom_dialog_layout">4dip</dimen>
111
Daisuke Miyakawa594dc442011-10-26 16:21:44 -0700112 <!-- For join screen. Mainly for tablet. -->
113 <dimen name="join_header_left_margin">@dimen/contact_browser_list_header_left_margin</dimen>
114 <dimen name="join_header_right_margin">@dimen/contact_browser_list_header_right_margin</dimen>
Sean Midford85405d02016-11-09 20:00:56 -0800115 <dimen name="join_header_top_margin">12dip</dimen>
116 <dimen name="join_header_bottom_margin">12dip</dimen>
Frank Sposaro595d6ea2011-07-20 11:03:26 -0700117
Daisuke Miyakawa8f59c2b2011-08-04 13:22:19 -0700118 <dimen name="contact_filter_header_min_height">24dip</dimen>
119
Paul Soulos2fad98e2014-05-29 16:20:05 -0700120 <!-- Margins for ExpandingEntryCardView -->
Paul Soulosd3229ff2014-09-09 11:02:59 -0700121 <dimen name="expanding_entry_card_marginStartEnd">8dp</dimen>
Brian Attwell8b8701f2014-06-24 16:23:07 -0700122 <dimen name="expanding_entry_card_marginBottom">12dp</dimen>
123
124 <!-- Top margin for the communication card, used to add space from header. -->
maxwen981d6782023-01-11 15:28:14 +0100125 <dimen name="first_card_marginTop">@dimen/expanding_entry_card_marginStartEnd</dimen>
Paul Soulos2fad98e2014-05-29 16:20:05 -0700126
Brian Attwell019c71f2014-06-10 19:29:03 -0700127 <!-- Elevation of an ExpandingEntryCard, for the sake of shadow casting -->
Paul Soulosac9b3162014-07-30 16:45:01 -0700128 <dimen name="expanding_entry_card_elevation">2dp</dimen>
Brian Attwell019c71f2014-06-10 19:29:03 -0700129 <!-- Elevation of the QuickContact's Toolbar, for the sake of shadow casting -->
Brian Attwell9b889e62014-06-23 18:25:32 -0700130 <dimen name="quick_contact_toolbar_elevation">4.5dp</dimen>
Paul Soulos2fad98e2014-05-29 16:20:05 -0700131
Paul Soulos2d48b5a2014-05-29 13:56:25 -0700132 <!-- Size of the title text for a ExpandingEntryCardView -->
133 <dimen name="expanding_entry_card_title_text_size">16sp</dimen>
134 <!-- Padding for the title text for a ExpandingEntryCardView -->
135 <dimen name="expanding_entry_card_title_padding">16dp</dimen>
Paul Soulos13217362014-08-14 12:27:08 -0700136 <!-- Extra top padding if the title is set to null -->
137 <dimen name="expanding_entry_card_null_title_top_extra_padding">2dp</dimen>
Paul Soulos2d48b5a2014-05-29 13:56:25 -0700138
Brian Attwelldaa20582014-11-25 20:45:44 -0800139 <!-- Height of the separator between entries in an ExpandingEntryCardView and contact editor. -->
140 <dimen name="divider_line_height">1dp</dimen>
141
Paul Soulos2d48b5a2014-05-29 13:56:25 -0700142 <!-- Dimensions for an entry in ExpandingEntryCardView -->
Paul Soulosa2fec382014-07-15 13:30:07 -0700143 <dimen name="expanding_entry_card_item_padding_start">20dp</dimen>
guanxiongliu3a580ba2016-03-11 11:13:19 -0800144 <dimen name="expanding_entry_card_item_padding_end">8dp</dimen>
Wenyi Wangb82d0d12016-02-29 10:48:37 -0800145 <dimen name="expanding_entry_card_item_padding_top">13dp</dimen>
Paul Soulos2d48b5a2014-05-29 13:56:25 -0700146 <dimen name="expanding_entry_card_item_padding_bottom">16dp</dimen>
Paul Soulosac9b3162014-07-30 16:45:01 -0700147 <dimen name="expanding_entry_card_item_image_spacing">27dp</dimen>
Paul Soulos2d48b5a2014-05-29 13:56:25 -0700148
149 <!-- Dimensions for a button in ExpandingEntryCardView -->
Paul Soulosac9b3162014-07-30 16:45:01 -0700150 <dimen name="expanding_entry_card_button_padding_vertical">18dp</dimen>
Paul Soulos2d48b5a2014-05-29 13:56:25 -0700151
152 <dimen name="expanding_entry_card_item_text_icon_margin_top">7dp</dimen>
153 <dimen name="expanding_entry_card_item_text_icon_margin_right">7dp</dimen>
154 <dimen name="expanding_entry_card_item_sub_header_icon_margin_right">4dp</dimen>
155 <dimen name="expanding_entry_card_item_sub_header_icon_margin_bottom">14dp</dimen>
156
guanxiongliu18bba662016-02-10 18:35:14 -0800157 <dimen name="expanding_entry_card_item_icon_margin_top">12dp</dimen>
guanxiongliu3a580ba2016-03-11 11:13:19 -0800158 <dimen name="expanding_entry_card_item_icon_margin_bottom">12dp</dimen>
159 <dimen name="expanding_entry_card_item_icon_margin_left">12dp</dimen>
160 <dimen name="expanding_entry_card_item_icon_margin_right">12dp</dimen>
Paul Soulosac9b3162014-07-30 16:45:01 -0700161 <dimen name="expanding_entry_card_item_header_only_margin_top">6dp</dimen>
Paul Soulosdd7419d2014-07-15 11:22:13 -0700162
maxwen9469e992023-01-11 16:58:17 +0100163 <dimen name="expanding_entry_card_card_corner_radius">2dp</dimen>
Paul Soulosac9b3162014-07-30 16:45:01 -0700164 <dimen name="expanding_entry_card_header_margin_bottom">2dp</dimen>
165 <!-- The top margin when the sub header and text views are both gone -->
166 <dimen name="expanding_entry_card_item_header_only_margin_bottom">2dp</dimen>
Paul Soulosedd44f02014-08-19 17:07:03 -0700167 <dimen name="expanding_entry_card_item_no_icon_margin_top">6dp</dimen>
Paul Soulos6b632892014-07-28 14:05:11 -0700168
Wenyi Wang53684892015-10-23 11:11:16 -0700169 <dimen name="quickcontact_suggestion_card_icon_height">40dp</dimen>
170 <dimen name="quickcontact_suggestion_card_icon_width">40dp</dimen>
Tingting Wange3a7c4f2015-09-24 18:23:18 -0700171 <dimen name="quickcontact_suggestion_card_image_spacing">20dp</dimen>
172 <dimen name="quickcontact_suggestion_card_layout_margin">8dp</dimen>
Wenyi Wang53684892015-10-23 11:11:16 -0700173 <dimen name="quickcontact_collapse_view_height">48dp</dimen>
174 <dimen name="quickcontact_collapse_icon_size">24dp</dimen>
175 <dimen name="quickcontact_collapse_text_padding">12dp</dimen>
Tingting Wang4f5770c2015-11-02 12:16:32 -0800176 <dimen name="quickcontact_collapse_image_padding">20dp</dimen>
Wenyi Wang53684892015-10-23 11:11:16 -0700177 <dimen name="quickcontact_expanding_help_text_size">14sp</dimen>
178 <dimen name="quickcontact_expanding_button_right_padding">16dp</dimen>
179 <dimen name="quickcontact_expanding_item_height">72dp</dimen>
Wenyi Wang53684892015-10-23 11:11:16 -0700180 <dimen name="quickcontact_expanding_item_image_padding">12dp</dimen>
181 <dimen name="quickcontact_expanding_button_section_height">48dp</dimen>
182 <dimen name="quickcontact_expanding_button_section_padding">8dp</dimen>
Tingting Wange3a7c4f2015-09-24 18:23:18 -0700183
Paul Soulose0055662014-07-10 16:33:08 -0700184 <dimen name="expanding_entry_card_item_icon_height">24dp</dimen>
185 <dimen name="expanding_entry_card_item_icon_width">24dp</dimen>
Brian Attwell95d46362014-07-14 16:42:35 -0700186
guanxiongliuda161462016-07-27 18:46:41 -0700187 <dimen name="contact_browser_list_item_padding_top_or_bottom">7dp</dimen>
Wenyi Wang1114fde2016-07-11 21:44:02 -0700188
189 <dimen name="contact_browser_list_item_height">56dp</dimen>
Wenyi Wang409541c2015-10-15 20:12:56 -0700190
Marcus Hagerotte1275792016-11-17 10:41:12 -0800191 <!-- Default activity margins, per the Android Material Design guidelines. -->
192 <dimen name="activity_horizontal_margin">16dp</dimen>
193 <dimen name="activity_vertical_margin">16dp</dimen>
Wenyi Wangf568b302016-04-02 13:58:43 -0700194
Sean Midforddfd0b0d2016-11-01 15:05:33 -0700195 <dimen name="nav_new_badge_corners">3dp</dimen>
196 <dimen name="nav_new_badge_vertical_pad">2dp</dimen>
197 <dimen name="nav_new_badge_horizontal_pad">5dp</dimen>
198 <dimen name="nav_new_badge_font_size">11sp</dimen>
199
Sean Midford49cc7542017-01-06 16:36:08 -0800200 <!-- Top padding for the image for empty group view-->
201 <dimen name="empty_group_view_image_padding_top">0dp</dimen>
yaolu6afd44d2016-07-27 15:45:55 -0700202
Wenyi Wangf128ea82016-07-25 11:56:40 -0700203 <!-- Height for the image for empty group and main view-->
Sean Midford49cc7542017-01-06 16:36:08 -0800204 <dimen name="empty_view_image_height">150dp</dimen>
yaolu6afd44d2016-07-27 15:45:55 -0700205
Sean Midford49cc7542017-01-06 16:36:08 -0800206 <!-- Top padding for the text for empty group view-->
207 <dimen name="empty_group_view_text_padding_top">14dp</dimen>
yaolud8effeb2016-06-29 14:42:38 -0700208
Wenyi Wangf128ea82016-07-25 11:56:40 -0700209 <!-- Top padding for the text for empty account view -->
210 <dimen name="empty_account_view_text_padding_top">24dp</dimen>
211
Wenyi Wangdb662692016-07-14 16:07:44 -0700212 <!-- End margin of edit group title -->
213 <dimen name="edit_group_end_margin">72dp</dimen>
yaolub95e55a2016-07-15 17:12:25 -0700214
215 <!-- Minimum height for group name EditText -->
Sean Midfordd3bf8fc2016-11-22 14:59:24 -0800216 <dimen name="dialog_edit_text_min_height">48dp</dimen>
Xi Chen947c23d2016-06-30 20:23:52 -0700217
218 <!-- Distance to pull down before causing a refresh. -->
219 <dimen name="pull_to_refresh_distance">40dp</dimen>
Wenyi Wangcf079572016-07-27 18:06:27 -0700220
Wenyi Wang81067f52016-07-26 18:18:11 -0700221 <!-- Elevation of contact list header -->
222 <dimen name="contact_list_header_elevation">2dp</dimen>
Wenyi Wangf128ea82016-07-25 11:56:40 -0700223
224 <!-- Gap b/w image view and top of the screen in empty main view -->
225 <dimen name="empty_home_view_image_offset">210dp</dimen>
226
227 <!-- Top padding for the text for empty main view -->
228 <dimen name="empty_home_view_text_padding_top">32dp</dimen>
229
230 <!-- Extra margin above image in empty account view -->
231 <dimen name="empty_account_view_image_offset">30dp</dimen>
yaolu189036a2016-07-29 15:50:28 -0700232
233 <!-- Margin offset b/w the image top and app bar bottom for no account empty view -->
234 <dimen name="contacts_no_account_empty_image_offset">230dp</dimen>
235
236 <!-- Width for the image for contacts no account empty view -->
237 <dimen name="contacts_no_account_empty_image_width">180dp</dimen>
238
239 <!-- Top padding for the text for no account empty view -->
240 <dimen name="contacts_no_account_empty_text_padding_top">32dp</dimen>
241
242 <!-- Top padding for add account button for no account empty view -->
243 <dimen name="contacts_no_account_empty_button_padding_top">16dp</dimen>
244
245 <!-- Margin b/w add account button and import contacts button for no account empty view -->
246 <dimen name="contacts_no_account_buttons_margin">8dp</dimen>
Walter Jang13a9c332016-08-13 08:35:14 -0700247
248 <!-- Padding between the action bar's bottom edge and the first header
249 in contacts/group lists. -->
250 <dimen name="list_header_extra_top_padding">0dip</dimen>
251
252 <dimen name="list_section_divider_min_height">32dip</dimen>
253
254 <dimen name="directory_header_extra_top_padding">18dp</dimen>
255 <dimen name="directory_header_extra_bottom_padding">8dp</dimen>
256 <dimen name="directory_header_left_padding">16dp</dimen>
257
258 <!-- Horizontal padding in between contact tiles -->
259 <dimen name="contact_tile_divider_padding">23dip</dimen>
260 <!-- Horizontal whitespace (both padding and margin) before the first tile and after the last tile -->
261 <dimen name="contact_tile_start_end_whitespace">16dip</dimen>
262
Walter Jang13a9c332016-08-13 08:35:14 -0700263 <!-- For contact filter setting screens -->
264 <dimen name="contact_filter_left_margin">8dp</dimen>
265 <dimen name="contact_filter_right_margin">16dip</dimen>
266 <dimen name="contact_filter_item_min_height">48dip</dimen>
267 <dimen name="contact_filter_icon_size">32dip</dimen>
268 <dimen name="contact_filter_list_item_height">56dp</dimen>
269 <dimen name="contact_filter_list_item_padding_start">16dp</dimen>
270 <!-- contact_filter_indicator is the arrow in expandable list view -->
271 <dimen name="contact_filter_indicator_padding_start">6dp</dimen>
272 <dimen name="contact_filter_indicator_padding_end">46dp</dimen>
273 <dimen name="contact_filter_action_button_width">72dp</dimen>
274
275 <!-- Padding to be used between a visible scrollbar and the contact list -->
276 <dimen name="list_visible_scrollbar_padding">32dip</dimen>
277
278 <dimen name="contact_browser_list_header_icon_left_margin">16dp</dimen>
279 <dimen name="contact_browser_list_header_icon_right_margin">14dp</dimen>
280 <dimen name="contact_browser_list_header_icon_left_margin_alt">18dp</dimen>
281 <dimen name="contact_browser_list_header_icon_right_margin_alt">16dp</dimen>
282 <dimen name="contact_browser_list_header_left_margin">16dip</dimen>
283 <dimen name="contact_browser_list_header_right_margin">@dimen/list_visible_scrollbar_padding</dimen>
284 <dimen name="contact_browser_list_item_text_indent">8dip</dimen>
285 <dimen name="contact_browser_list_header_height">48dp</dimen>
286 <dimen name="contact_browser_list_header_icon_size">24dp</dimen>
287 <dimen name="contact_browser_list_header_icon_size_alt">20dp</dimen>
288 <dimen name="contact_browser_list_header_text_margin">10dp</dimen>
289 <!-- Width of a contact list item section header. -->
290 <dimen name="contact_list_section_header_width">56dp</dimen>
291
292 <!-- Size of the shortcut icon. 0dip means: use the system default -->
293 <dimen name="shortcut_icon_size">0dip</dimen>
294
295 <!-- Text size of shortcut icon overlay text -->
296 <dimen name="shortcut_overlay_text_size">12dp</dimen>
297
298 <!-- Extra vertical padding for darkened background behind shortcut icon overlay text -->
299 <dimen name="shortcut_overlay_text_background_padding">1dp</dimen>
300
301 <!-- Width of height of an icon from a third-party app in the networks section of the contact card. -->
302 <dimen name="detail_network_icon_size">40dp</dimen>
303
Walter Jang13a9c332016-08-13 08:35:14 -0700304 <!-- contact browser list margins -->
305 <dimen name="contact_browser_list_item_text_size">16sp</dimen>
306 <dimen name="contact_browser_list_item_photo_size">40dp</dimen>
307 <dimen name="contact_browser_list_item_gap_between_image_and_text">15dp</dimen>
308 <dimen name="contact_browser_list_item_gap_between_indexer_and_image">16dp</dimen>
Walter Jang13a9c332016-08-13 08:35:14 -0700309
310 <!-- Dimensions for contact letter tiles -->
Walter Jang13a9c332016-08-13 08:35:14 -0700311 <item name="letter_to_tile_ratio" type="dimen">67%</item>
312
313 <!-- Height of the floating action button -->
314 <dimen name="floating_action_button_height">56dp</dimen>
315 <!-- Width of the floating action button -->
316 <dimen name="floating_action_button_width">56dp</dimen>
Walter Jang13a9c332016-08-13 08:35:14 -0700317 <!-- Z translation of the floating action button -->
318 <dimen name="floating_action_button_translation_z">8dp</dimen>
319 <!-- Padding to be applied to the bottom of lists to make space for the floating action
320 button -->
321 <dimen name="floating_action_button_list_bottom_padding">88dp</dimen>
322 <!-- Right margin of the floating action button -->
323 <dimen name="floating_action_button_margin_right">16dp</dimen>
324 <!-- Bottom margin of the floating action button -->
325 <dimen name="floating_action_button_margin_bottom">16dp</dimen>
Walter Jang13a9c332016-08-13 08:35:14 -0700326
Walter Jang13a9c332016-08-13 08:35:14 -0700327 <!-- Size of text in tabs. -->
Walter Jang13a9c332016-08-13 08:35:14 -0700328 <dimen name="tab_elevation">2dp</dimen>
Walter Jang13a9c332016-08-13 08:35:14 -0700329
Walter Jang13a9c332016-08-13 08:35:14 -0700330 <!-- Size of the icon (voice search, back arrow) in the search box. -->
331 <dimen name="search_box_icon_size">56dp</dimen>
332 <!-- Size of the close icon.-->
333 <dimen name="search_box_close_icon_size">56dp</dimen>
334 <!-- Padding around the close button. It's visible size without padding is 24dp. -->
335 <dimen name="search_box_close_icon_padding">16dp</dimen>
336 <!-- End margin of the back arrow icon in the search box -->
337 <dimen name="search_box_navigation_icon_margin">8dp</dimen>
338 <!-- Left margin of the text field in the search box. -->
339 <dimen name="search_box_text_left_margin">8dp</dimen>
340 <!-- Search box text size -->
341 <dimen name="search_text_size">16sp</dimen>
342
Walter Jang13a9c332016-08-13 08:35:14 -0700343 <!-- Size of the close icon in selection bar.-->
344 <dimen name="selection_bar_close_icon_size">56dp</dimen>
345
346 <!-- Top margin for the Frequently Contacted section title -->
347 <dimen name="frequently_contacted_title_top_margin_when_first_row">16dp</dimen>
348 <!-- Top margin for the Frequently Contacted section title, when the title is the first
349 item in the list -->
350 <dimen name="frequently_contacted_title_top_margin">57dp</dimen>
351
352 <dimen name="frequently_contacted_title_text_size">24sp</dimen>
353
Walter Jang13a9c332016-08-13 08:35:14 -0700354 <!-- Padding used around the periphery of the call subject dialog, as well as in between the
355 items. -->
356 <dimen name="call_subject_dialog_margin">20dp</dimen>
357 <!-- Padding used between lines of text in the call subject dialog. -->
358 <dimen name="call_subject_dialog_between_line_margin">8dp</dimen>
359 <!-- Size of the contact photo in the call subject dialog. -->
360 <dimen name="call_subject_dialog_contact_photo_size">50dp</dimen>
361 <!-- Margin above the edit text in the call subject dialog. -->
362 <dimen name="call_subject_dialog_edit_spacing">60dp</dimen>
363 <!-- Size of primary text in the call subject dialog. -->
364 <dimen name="call_subject_dialog_primary_text_size">16sp</dimen>
365 <!-- Size of secondary text in the call subject dialog. -->
366 <dimen name="call_subject_dialog_secondary_text_size">14sp</dimen>
367 <!-- Row padding for call subject history items. -->
368 <dimen name="call_subject_history_item_padding">15dp</dimen>
Marcus Hagerott7c504672016-11-16 14:23:48 -0800369
Wenyi Wang2829deb2017-01-04 14:05:13 -0800370 <!-- The width of the drawer -->
371 <dimen name="drawer_width">320dp</dimen>
372 <!-- Minimum height of items in navigation drawer -->
373 <dimen name="drawer_item_fixed_height">48dp</dimen>
374 <!-- Side padding within the navigation drawer -->
375 <dimen name="drawer_side_padding">16dp</dimen>
376 <!-- Size of the icon in navigation drawer -->
377 <dimen name="drawer_item_icon_size">32dp</dimen>
378 <!-- The side margin of the item text in navigation drawer -->
379 <dimen name="drawer_item_text_margin">32dp</dimen>
380 <!-- The height of the spacer in navigation drawer -->
381 <dimen name="nav_drawer_spacer_height">8dp</dimen>
382 <!-- Side padding within the navigation drawer -->
383 <dimen name="drawer_label_header_end_padding">24dp</dimen>
384
maxwen9469e992023-01-11 16:58:17 +0100385 <dimen name="quickcontact_edge_radius">0dp</dimen>
Jeff Sharkey73714ff2009-08-23 22:13:04 -0700386</resources>