Jeff Sharkey | 802b205 | 2009-08-04 14:21:06 -0700 | [diff] [blame] | 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 | --> |
Jeff Sharkey | 73714ff | 2009-08-23 22:13:04 -0700 | [diff] [blame] | 16 | <resources> |
Daniel Lehmann | 2013058 | 2010-10-21 20:51:15 -0700 | [diff] [blame] | 17 | <dimen name="account_selector_popup_width">400dip</dimen> |
Daniel Lehmann | 9442ef4 | 2010-11-09 17:35:53 -0800 | [diff] [blame] | 18 | |
Brian Attwell | b7e4364 | 2014-06-02 14:33:04 -0700 | [diff] [blame] | 19 | <!-- Initial height of transparent space above QuickContacts --> |
| 20 | <dimen name="quickcontact_starting_empty_height">150dp</dimen> |
Brian Attwell | 9b889e6 | 2014-06-23 18:25:32 -0700 | [diff] [blame] | 21 | <!-- Initial size of QuickContact's title size --> |
Tingting Wang | df65d16 | 2015-07-24 17:04:35 -0700 | [diff] [blame] | 22 | <dimen name="quickcontact_maximum_title_size">32dp</dimen> |
| 23 | <!-- Initial size of QuickContact's phonetic name size --> |
| 24 | <dimen name="quickcontact_maximum_phonetic_name_size">28dp</dimen> |
| 25 | <!-- When QC is uncollapsed, the title has this much margin on its left and right. --> |
Brian Attwell | be48e0c | 2014-06-25 10:31:59 -0700 | [diff] [blame] | 26 | <dimen name="quickcontact_title_initial_margin">16dp</dimen> |
Tingting Wang | df65d16 | 2015-07-24 17:04:35 -0700 | [diff] [blame] | 27 | <!-- When QC is uncollapsed, the title has this much margin on its bottom --> |
| 28 | <dimen name="quickcontact_title_initial_bottom_margin">8dp</dimen> |
Brian Attwell | 841c333 | 2014-10-27 15:05:09 -0700 | [diff] [blame] | 29 | <!-- The ratio of width:height for the contact's photo in landscape --> |
| 30 | <item name="quickcontact_landscape_photo_ratio" type="dimen" format="float">0.7</item> |
Brian Attwell | 5fd8698 | 2014-12-04 16:25:33 -0800 | [diff] [blame] | 31 | <!-- How far QuickContacts can be dragged and released from the top of the window before we dismiss it. --> |
| 32 | <dimen name="quickcontact_dismiss_distance_on_release">40dp</dimen> |
| 33 | <!-- How far QuickContacts can be dragged from the top of the window before we dismiss it. --> |
| 34 | <dimen name="quickcontact_dismiss_distance_on_scroll">100dp</dimen> |
| 35 | <!-- When first flinging QuickContacts towards the top of the window if the fling is |
| 36 | predicted to scroll past the window top by less than this amount, then QuickContacts |
| 37 | snaps to the top of the window. --> |
| 38 | <dimen name="quickcontact_snap_to_top_slop_height">33dp</dimen> |
Daniel Lehmann | edb576a | 2011-07-27 16:45:13 -0700 | [diff] [blame] | 39 | |
Gary Mai | 363af60 | 2016-09-28 10:01:23 -0700 | [diff] [blame] | 40 | <!-- Account info left margin in editor. --> |
| 41 | <dimen name="editor_account_left_margin">4dp</dimen> |
| 42 | |
| 43 | <!-- Margin between name field and whatever fields are above it. --> |
| 44 | <dimen name="editor_name_top_margin">8dp</dimen> |
| 45 | |
| 46 | <!-- Top margin for "Saving to" account header text field. --> |
| 47 | <dimen name="editor_account_header_top_margin">3dp</dimen> |
| 48 | |
| 49 | <!-- The ratio of width:height (360:184) for the editor contact photo in portrait --> |
Walter Jang | 9d8f37e | 2015-03-16 13:56:15 -0700 | [diff] [blame] | 50 | <item name="editor_portrait_photo_ratio" type="dimen" format="float">1.96</item> |
| 51 | |
Chiao Cheng | ddd4e82 | 2012-12-06 12:18:01 -0800 | [diff] [blame] | 52 | <!-- Padding of the rounded plus/minus/expand/collapse buttons in the editor --> |
Brian Attwell | 179a42b | 2014-10-09 19:15:22 -0700 | [diff] [blame] | 53 | <dimen name="editor_round_button_padding_left">16dip</dimen> |
| 54 | <dimen name="editor_round_button_padding_right">16dip</dimen> |
| 55 | <dimen name="editor_round_button_padding_top">16dip</dimen> |
| 56 | <dimen name="editor_round_button_padding_bottom">16dip</dimen> |
Chiao Cheng | ddd4e82 | 2012-12-06 12:18:01 -0800 | [diff] [blame] | 57 | |
Walter Jang | 10f89da | 2015-03-16 10:32:04 -0700 | [diff] [blame] | 58 | <!-- Minimum height of a row in the Editor. This is the target height for editor "rows", |
| 59 | including the "More fields" button/row. --> |
| 60 | <dimen name="editor_min_line_item_height">54dp</dimen> |
Chiao Cheng | ddd4e82 | 2012-12-06 12:18:01 -0800 | [diff] [blame] | 61 | |
Brian Attwell | da71919 | 2014-11-11 18:30:05 -0800 | [diff] [blame] | 62 | <!-- Width of the delete button (X) in the raw contact editor --> |
| 63 | <dimen name="editor_delete_button_width">48dp</dimen> |
| 64 | |
Brian Attwell | 043fba6 | 2014-10-30 11:11:56 -0700 | [diff] [blame] | 65 | <!-- The height and width of the delete button should be the same size as an editor row --> |
| 66 | <dimen name="editor_delete_button_size">@dimen/editor_min_line_item_height</dimen> |
Brian Attwell | 5cc21eb | 2014-06-03 21:08:01 -0700 | [diff] [blame] | 67 | |
Brian Attwell | 043fba6 | 2014-10-30 11:11:56 -0700 | [diff] [blame] | 68 | <!-- Top margin applied to mime-type icons inside the editor. This is needed to give the |
| 69 | appearance that the icons are top aligned with the text, since visible text doesn't |
| 70 | start at the very top of TextViews. --> |
Brian Attwell | 8c188a0 | 2014-12-17 18:25:14 -0800 | [diff] [blame] | 71 | <dimen name="editor_kind_icon_top_margin">14dp</dimen> |
Brian Attwell | 5cc21eb | 2014-06-03 21:08:01 -0700 | [diff] [blame] | 72 | |
Brian Attwell | 043fba6 | 2014-10-30 11:11:56 -0700 | [diff] [blame] | 73 | <!-- RHS padding added to spinners in the editor. This separates the spinner text from the |
| 74 | spinner graphic since b/18194928 causes the spinner to always be on the RHS. |
| 75 | In LTR mode this shouldn't have an observable affect. We set paddingRight instead of |
| 76 | drawablePadding since the spinner graphic is not a normal drawable. --> |
| 77 | <dimen name="editor_spinner_right_padding_workaround">24dip</dimen> |
Chiao Cheng | ddd4e82 | 2012-12-06 12:18:01 -0800 | [diff] [blame] | 78 | |
guanxiongliu | 8d29af0 | 2016-03-17 09:50:54 -0700 | [diff] [blame] | 79 | <!-- RHS padding added to spinners for L devices --> |
| 80 | <dimen name="editor_spinner_right_padding">40dip</dimen> |
| 81 | |
Brian Attwell | 043fba6 | 2014-10-30 11:11:56 -0700 | [diff] [blame] | 82 | <!-- Size of input form text inside the contact editor --> |
| 83 | <dimen name="editor_form_text_size">16sp</dimen> |
Chiao Cheng | ddd4e82 | 2012-12-06 12:18:01 -0800 | [diff] [blame] | 84 | |
Brian Attwell | 043fba6 | 2014-10-30 11:11:56 -0700 | [diff] [blame] | 85 | <!-- Width and height of the mime-type icons inside the editor --> |
| 86 | <dimen name="editor_kind_icon_size">24dp</dimen> |
| 87 | |
Brian Attwell | 2ebade8 | 2014-11-04 19:04:42 -0800 | [diff] [blame] | 88 | <!-- Total width of data-kind icon, including its start and end padding --> |
Brian Attwell | 7e67082 | 2014-11-07 16:36:30 -0800 | [diff] [blame] | 89 | <dimen name="editor_kind_icon_total_width">68dp</dimen> |
Brian Attwell | 2ebade8 | 2014-11-04 19:04:42 -0800 | [diff] [blame] | 90 | |
Brian Attwell | 7e67082 | 2014-11-07 16:36:30 -0800 | [diff] [blame] | 91 | <!-- Padding below every editor view, such as LabeledEditorView. This value is chosen |
Walter Jang | 10f89da | 2015-03-16 10:32:04 -0700 | [diff] [blame] | 92 | to give 19dp of apparent padding between EditText's in the Raw Contact Editor. --> |
| 93 | <dimen name="editor_padding_between_editor_views">2dp</dimen> |
Brian Attwell | 7e67082 | 2014-11-07 16:36:30 -0800 | [diff] [blame] | 94 | |
Walter Jang | 10f89da | 2015-03-16 10:32:04 -0700 | [diff] [blame] | 95 | <!-- Padding below every readonly editor view. This value is chosen to give 19dp of apparent |
| 96 | padding between TextView's in the readonly Raw Contact Editor. --> |
| 97 | <dimen name="editor_padding_between_read_only_editor_views">9dp</dimen> |
Brian Attwell | ba4d584 | 2014-12-09 14:23:02 -0800 | [diff] [blame] | 98 | |
Chiao Cheng | ddd4e82 | 2012-12-06 12:18:01 -0800 | [diff] [blame] | 99 | <!-- Width of the Type-Label in the Editor --> |
Brian Attwell | 043fba6 | 2014-10-30 11:11:56 -0700 | [diff] [blame] | 100 | <dimen name="editor_type_label_width">150dip</dimen> |
| 101 | |
Katherine Kuan | 1ebbd5b | 2011-08-05 14:39:34 -0700 | [diff] [blame] | 102 | <!-- Left padding of the label in the add field button for the contact editor --> |
| 103 | <dimen name="editor_add_field_label_left_padding">16dip</dimen> |
| 104 | |
Wenyi Wang | 3e8cc35 | 2015-10-28 18:14:10 -0700 | [diff] [blame] | 105 | <!-- Top and bottom padding for the two text views in editor account header expandable --> |
| 106 | <dimen name="editor_account_header_expandable_top_bottom_padding">24dp</dimen> |
| 107 | |
| 108 | <!-- left padding for the two text views in editor account header expandable --> |
| 109 | <dimen name="editor_account_header_expandable_left_padding">4dp</dimen> |
| 110 | |
Maurice Chu | 2d4632c | 2012-05-09 18:29:54 -0700 | [diff] [blame] | 111 | <!-- Width and height of the expanded contact photo on the contact detail page --> |
| 112 | <dimen name="detail_contact_photo_expanded_size">400dip</dimen> |
| 113 | |
| 114 | <!-- This is the minimum amount of space to leave underneath an expanded contact detail |
| 115 | photo --> |
| 116 | <dimen name="expanded_photo_height_offset">100dip</dimen> |
| 117 | |
| 118 | <!-- Minimum width for the photo action popup options --> |
| 119 | <dimen name="photo_action_popup_min_width">300dip</dimen> |
| 120 | |
Katherine Kuan | f81e4c6 | 2011-07-01 21:46:08 -0700 | [diff] [blame] | 121 | <!-- Top and bottom padding for a contact detail item --> |
Katherine Kuan | 5a7b563 | 2011-08-08 17:11:44 -0700 | [diff] [blame] | 122 | <dimen name="detail_item_vertical_margin">8dip</dimen> |
Katherine Kuan | 2719ab0 | 2011-05-02 17:18:04 -0700 | [diff] [blame] | 123 | |
Dmitri Plotnikov | ba3c2e5 | 2011-01-23 14:02:54 -0800 | [diff] [blame] | 124 | <!-- Minimum height of a row in the contact detail --> |
| 125 | <dimen name="detail_min_line_item_height">48dip</dimen> |
| 126 | |
Dmitri Plotnikov | 192a138 | 2010-12-20 12:33:58 -0800 | [diff] [blame] | 127 | <!-- Font size used for the contact name in the widget --> |
| 128 | <dimen name="widget_text_size_name">14sp</dimen> |
| 129 | |
| 130 | <!-- Font size used for the social status in the widget --> |
| 131 | <dimen name="widget_text_size_snippet">13sp</dimen> |
Dmitri Plotnikov | b18624f | 2011-01-21 19:10:43 -0800 | [diff] [blame] | 132 | |
Mindy Pereira | c0cba73 | 2011-08-25 09:00:43 -0700 | [diff] [blame] | 133 | <!-- Account title left padding --> |
| 134 | <dimen name="account_container_left_padding">16dip</dimen> |
| 135 | |
Katherine Kuan | 229eed4 | 2011-10-27 11:45:32 -0700 | [diff] [blame] | 136 | <!-- Left and right padding for the group editor view --> |
| 137 | <dimen name="group_editor_side_padding">16dip</dimen> |
| 138 | |
Katherine Kuan | cd51c91 | 2011-08-07 19:30:47 -0700 | [diff] [blame] | 139 | <!-- Border padding for the group detail fragment --> |
Katherine Kuan | 34bafe0 | 2011-10-20 18:42:56 -0700 | [diff] [blame] | 140 | <dimen name="group_detail_border_padding">0dip</dimen> |
| 141 | |
Katherine Kuan | 229eed4 | 2011-10-27 11:45:32 -0700 | [diff] [blame] | 142 | <!-- Height of the quick contact photo container (for screens that are too large to use the screen width/height as a constraint)--> |
Daniel Lehmann | 75e262b | 2012-03-27 21:27:18 -0700 | [diff] [blame] | 143 | <dimen name="quick_contact_photo_container_height">180dip</dimen> |
Katherine Kuan | 229eed4 | 2011-10-27 11:45:32 -0700 | [diff] [blame] | 144 | |
Makoto Onuki | 4ba903c | 2011-07-07 16:55:17 -0700 | [diff] [blame] | 145 | <!-- Width of search view in action bar. Use 0dip for MATCH_PARENT --> |
| 146 | <dimen name="search_view_width">0dip</dimen> |
Isaac Katzenelson | 36b27c6 | 2011-07-20 12:06:01 -0700 | [diff] [blame] | 147 | |
Daisuke Miyakawa | 594dc44 | 2011-10-26 16:21:44 -0700 | [diff] [blame] | 148 | <!-- For join screen. Mainly for tablet. --> |
| 149 | <dimen name="join_header_left_margin">@dimen/contact_browser_list_header_left_margin</dimen> |
| 150 | <dimen name="join_header_right_margin">@dimen/contact_browser_list_header_right_margin</dimen> |
Sean Midford | 85405d0 | 2016-11-09 20:00:56 -0800 | [diff] [blame^] | 151 | <dimen name="join_header_top_margin">12dip</dimen> |
| 152 | <dimen name="join_header_bottom_margin">12dip</dimen> |
Frank Sposaro | 595d6ea | 2011-07-20 11:03:26 -0700 | [diff] [blame] | 153 | |
Daisuke Miyakawa | 8f59c2b | 2011-08-04 13:22:19 -0700 | [diff] [blame] | 154 | <dimen name="contact_filter_header_min_height">24dip</dimen> |
| 155 | |
Katherine Kuan | d4000c6 | 2011-11-04 12:02:25 -0700 | [diff] [blame] | 156 | <!-- Max width of the SearchView when the contact picker is a dialog (on wide |
| 157 | screen devices). --> |
| 158 | <dimen name="contact_picker_search_view_max_width">550dip</dimen> |
| 159 | |
| 160 | <!-- Min height of the list of contacts when the contact picker is a dialog (on |
| 161 | wide screen devices). --> |
| 162 | <dimen name="contact_picker_contact_list_min_height">550dip</dimen> |
Daisuke Miyakawa | 547c917 | 2012-03-09 10:27:11 -0800 | [diff] [blame] | 163 | |
Paul Soulos | 2d48b5a | 2014-05-29 13:56:25 -0700 | [diff] [blame] | 164 | |
Paul Soulos | 2fad98e | 2014-05-29 16:20:05 -0700 | [diff] [blame] | 165 | <!-- Margins for ExpandingEntryCardView --> |
Paul Soulos | d3229ff | 2014-09-09 11:02:59 -0700 | [diff] [blame] | 166 | <dimen name="expanding_entry_card_marginStartEnd">8dp</dimen> |
Brian Attwell | 8b8701f | 2014-06-24 16:23:07 -0700 | [diff] [blame] | 167 | <dimen name="expanding_entry_card_marginBottom">12dp</dimen> |
Brian Attwell | 4462dfd | 2014-06-23 21:15:42 -0700 | [diff] [blame] | 168 | <!-- Width of the grey border surrounding the expanding entry cards. If we ever add |
| 169 | a rounded corner to the expanding entry cards, than we will need to increase this value --> |
| 170 | <dimen name="expanding_entry_card_border_width">12dp</dimen> |
Brian Attwell | 8b8701f | 2014-06-24 16:23:07 -0700 | [diff] [blame] | 171 | |
| 172 | <!-- Top margin for the communication card, used to add space from header. --> |
Paul Soulos | a0c3508 | 2014-07-18 12:20:36 -0700 | [diff] [blame] | 173 | <dimen name="first_card_marginTop">12dp</dimen> |
Paul Soulos | 2fad98e | 2014-05-29 16:20:05 -0700 | [diff] [blame] | 174 | |
Brian Attwell | 019c71f | 2014-06-10 19:29:03 -0700 | [diff] [blame] | 175 | <!-- Elevation of an ExpandingEntryCard, for the sake of shadow casting --> |
Paul Soulos | ac9b316 | 2014-07-30 16:45:01 -0700 | [diff] [blame] | 176 | <dimen name="expanding_entry_card_elevation">2dp</dimen> |
Brian Attwell | 019c71f | 2014-06-10 19:29:03 -0700 | [diff] [blame] | 177 | <!-- Elevation of the QuickContact's Toolbar, for the sake of shadow casting --> |
Brian Attwell | 9b889e6 | 2014-06-23 18:25:32 -0700 | [diff] [blame] | 178 | <dimen name="quick_contact_toolbar_elevation">4.5dp</dimen> |
Paul Soulos | 2fad98e | 2014-05-29 16:20:05 -0700 | [diff] [blame] | 179 | |
Paul Soulos | 2d48b5a | 2014-05-29 13:56:25 -0700 | [diff] [blame] | 180 | <!-- Size of the title text for a ExpandingEntryCardView --> |
| 181 | <dimen name="expanding_entry_card_title_text_size">16sp</dimen> |
| 182 | <!-- Padding for the title text for a ExpandingEntryCardView --> |
| 183 | <dimen name="expanding_entry_card_title_padding">16dp</dimen> |
Paul Soulos | 1321736 | 2014-08-14 12:27:08 -0700 | [diff] [blame] | 184 | <!-- Extra top padding if the title is set to null --> |
| 185 | <dimen name="expanding_entry_card_null_title_top_extra_padding">2dp</dimen> |
Paul Soulos | 2d48b5a | 2014-05-29 13:56:25 -0700 | [diff] [blame] | 186 | |
Brian Attwell | daa2058 | 2014-11-25 20:45:44 -0800 | [diff] [blame] | 187 | <!-- Height of the separator between entries in an ExpandingEntryCardView and contact editor. --> |
| 188 | <dimen name="divider_line_height">1dp</dimen> |
| 189 | |
Paul Soulos | 2d48b5a | 2014-05-29 13:56:25 -0700 | [diff] [blame] | 190 | <!-- Dimensions for an entry in ExpandingEntryCardView --> |
Paul Soulos | a2fec38 | 2014-07-15 13:30:07 -0700 | [diff] [blame] | 191 | <dimen name="expanding_entry_card_item_padding_start">20dp</dimen> |
guanxiongliu | 3a580ba | 2016-03-11 11:13:19 -0800 | [diff] [blame] | 192 | <dimen name="expanding_entry_card_item_padding_end">8dp</dimen> |
Wenyi Wang | b82d0d1 | 2016-02-29 10:48:37 -0800 | [diff] [blame] | 193 | <dimen name="expanding_entry_card_item_padding_top">13dp</dimen> |
Paul Soulos | 2d48b5a | 2014-05-29 13:56:25 -0700 | [diff] [blame] | 194 | <dimen name="expanding_entry_card_item_padding_bottom">16dp</dimen> |
Paul Soulos | ac9b316 | 2014-07-30 16:45:01 -0700 | [diff] [blame] | 195 | <dimen name="expanding_entry_card_item_image_spacing">27dp</dimen> |
Paul Soulos | 2d48b5a | 2014-05-29 13:56:25 -0700 | [diff] [blame] | 196 | |
| 197 | <!-- Dimensions for a button in ExpandingEntryCardView --> |
Paul Soulos | ac9b316 | 2014-07-30 16:45:01 -0700 | [diff] [blame] | 198 | <dimen name="expanding_entry_card_button_padding_vertical">18dp</dimen> |
Paul Soulos | 2d48b5a | 2014-05-29 13:56:25 -0700 | [diff] [blame] | 199 | |
| 200 | <dimen name="expanding_entry_card_item_text_icon_margin_top">7dp</dimen> |
| 201 | <dimen name="expanding_entry_card_item_text_icon_margin_right">7dp</dimen> |
| 202 | <dimen name="expanding_entry_card_item_sub_header_icon_margin_right">4dp</dimen> |
| 203 | <dimen name="expanding_entry_card_item_sub_header_icon_margin_bottom">14dp</dimen> |
| 204 | |
guanxiongliu | 18bba66 | 2016-02-10 18:35:14 -0800 | [diff] [blame] | 205 | <dimen name="expanding_entry_card_item_icon_margin_top">12dp</dimen> |
guanxiongliu | 3a580ba | 2016-03-11 11:13:19 -0800 | [diff] [blame] | 206 | <dimen name="expanding_entry_card_item_icon_margin_bottom">12dp</dimen> |
| 207 | <dimen name="expanding_entry_card_item_icon_margin_left">12dp</dimen> |
| 208 | <dimen name="expanding_entry_card_item_icon_margin_right">12dp</dimen> |
Paul Soulos | ac9b316 | 2014-07-30 16:45:01 -0700 | [diff] [blame] | 209 | <dimen name="expanding_entry_card_item_header_only_margin_top">6dp</dimen> |
Paul Soulos | dd7419d | 2014-07-15 11:22:13 -0700 | [diff] [blame] | 210 | |
Paul Soulos | ac9b316 | 2014-07-30 16:45:01 -0700 | [diff] [blame] | 211 | <dimen name="expanding_entry_card_card_corner_radius">2dp</dimen> |
| 212 | <dimen name="expanding_entry_card_header_margin_bottom">2dp</dimen> |
| 213 | <!-- The top margin when the sub header and text views are both gone --> |
| 214 | <dimen name="expanding_entry_card_item_header_only_margin_bottom">2dp</dimen> |
Paul Soulos | edd44f0 | 2014-08-19 17:07:03 -0700 | [diff] [blame] | 215 | <dimen name="expanding_entry_card_item_no_icon_margin_top">6dp</dimen> |
Paul Soulos | 6b63289 | 2014-07-28 14:05:11 -0700 | [diff] [blame] | 216 | |
Wenyi Wang | 5368489 | 2015-10-23 11:11:16 -0700 | [diff] [blame] | 217 | <dimen name="quickcontact_suggestion_card_icon_height">40dp</dimen> |
| 218 | <dimen name="quickcontact_suggestion_card_icon_width">40dp</dimen> |
Tingting Wang | e3a7c4f | 2015-09-24 18:23:18 -0700 | [diff] [blame] | 219 | <dimen name="quickcontact_suggestion_card_image_spacing">20dp</dimen> |
| 220 | <dimen name="quickcontact_suggestion_card_layout_margin">8dp</dimen> |
| 221 | <dimen name="quickcontact_suggestion_card_checkbox_right_margin">16dp</dimen> |
Wenyi Wang | 5368489 | 2015-10-23 11:11:16 -0700 | [diff] [blame] | 222 | <dimen name="quickcontact_collapse_view_height">48dp</dimen> |
| 223 | <dimen name="quickcontact_collapse_icon_size">24dp</dimen> |
| 224 | <dimen name="quickcontact_collapse_text_padding">12dp</dimen> |
Tingting Wang | 4f5770c | 2015-11-02 12:16:32 -0800 | [diff] [blame] | 225 | <dimen name="quickcontact_collapse_image_padding">20dp</dimen> |
Wenyi Wang | 5368489 | 2015-10-23 11:11:16 -0700 | [diff] [blame] | 226 | <dimen name="quickcontact_expanding_help_text_size">14sp</dimen> |
| 227 | <dimen name="quickcontact_expanding_button_right_padding">16dp</dimen> |
| 228 | <dimen name="quickcontact_expanding_item_height">72dp</dimen> |
| 229 | <dimen name="quickcontact_expanding_item_padding">8dp</dimen> |
| 230 | <dimen name="quickcontact_expanding_item_image_padding">12dp</dimen> |
| 231 | <dimen name="quickcontact_expanding_button_section_height">48dp</dimen> |
| 232 | <dimen name="quickcontact_expanding_button_section_padding">8dp</dimen> |
Tingting Wang | e3a7c4f | 2015-09-24 18:23:18 -0700 | [diff] [blame] | 233 | |
Paul Soulos | e005566 | 2014-07-10 16:33:08 -0700 | [diff] [blame] | 234 | <dimen name="expanding_entry_card_item_icon_height">24dp</dimen> |
| 235 | <dimen name="expanding_entry_card_item_icon_width">24dp</dimen> |
Brian Attwell | 95d4636 | 2014-07-14 16:42:35 -0700 | [diff] [blame] | 236 | |
| 237 | <!-- Width of the box around a tab when the tab has focus --> |
| 238 | <dimen name="tab_focused_stroke_width">1dp</dimen> |
Brian Attwell | 7a3bd35 | 2014-09-08 13:44:18 -0700 | [diff] [blame] | 239 | |
guanxiongliu | da16146 | 2016-07-27 18:46:41 -0700 | [diff] [blame] | 240 | <dimen name="contact_browser_list_item_padding_top_or_bottom">7dp</dimen> |
Wenyi Wang | 1114fde | 2016-07-11 21:44:02 -0700 | [diff] [blame] | 241 | |
| 242 | <dimen name="contact_browser_list_item_height">56dp</dimen> |
Wenyi Wang | 409541c | 2015-10-15 20:12:56 -0700 | [diff] [blame] | 243 | |
Wenyi Wang | 9cfe1af | 2016-04-07 18:06:08 -0700 | [diff] [blame] | 244 | <!-- Navigation drawer header height, the same as the status bar in landscape and portrait modes --> |
| 245 | <dimen name="nav_header_height">24dp</dimen> |
Wenyi Wang | f568b30 | 2016-04-02 13:58:43 -0700 | [diff] [blame] | 246 | |
| 247 | <!-- Navigation drawer margins, per the Android Design guidelines. --> |
| 248 | <dimen name="nav_activity_horizontal_margin">16dp</dimen> |
| 249 | <dimen name="nav_activity_vertical_margin">16dp</dimen> |
| 250 | |
Sean Midford | dfd0b0d | 2016-11-01 15:05:33 -0700 | [diff] [blame] | 251 | <dimen name="nav_new_badge_corners">3dp</dimen> |
| 252 | <dimen name="nav_new_badge_vertical_pad">2dp</dimen> |
| 253 | <dimen name="nav_new_badge_horizontal_pad">5dp</dimen> |
| 254 | <dimen name="nav_new_badge_font_size">11sp</dimen> |
| 255 | |
yaolu | b504605 | 2016-07-28 15:34:02 -0700 | [diff] [blame] | 256 | <!-- Top padding for the image for empty group view --> |
yaolu | 6afd44d | 2016-07-27 15:45:55 -0700 | [diff] [blame] | 257 | <dimen name="empty_group_view_image_padding_top">8dp</dimen> |
| 258 | |
Wenyi Wang | f128ea8 | 2016-07-25 11:56:40 -0700 | [diff] [blame] | 259 | <!-- Height for the image for empty group and main view--> |
| 260 | <dimen name="empty_view_image_height">180dp</dimen> |
yaolu | 6afd44d | 2016-07-27 15:45:55 -0700 | [diff] [blame] | 261 | |
yaolu | b504605 | 2016-07-28 15:34:02 -0700 | [diff] [blame] | 262 | <!-- Top padding for the text for empty group view --> |
yaolu | d8effeb | 2016-06-29 14:42:38 -0700 | [diff] [blame] | 263 | <dimen name="empty_group_view_text_padding_top">32dp</dimen> |
yaolu | d8effeb | 2016-06-29 14:42:38 -0700 | [diff] [blame] | 264 | |
Wenyi Wang | f128ea8 | 2016-07-25 11:56:40 -0700 | [diff] [blame] | 265 | <!-- Top padding for the text for empty account view --> |
| 266 | <dimen name="empty_account_view_text_padding_top">24dp</dimen> |
| 267 | |
Wenyi Wang | db66269 | 2016-07-14 16:07:44 -0700 | [diff] [blame] | 268 | <!-- End margin of edit group title --> |
| 269 | <dimen name="edit_group_end_margin">72dp</dimen> |
yaolu | b95e55a | 2016-07-15 17:12:25 -0700 | [diff] [blame] | 270 | |
| 271 | <!-- Minimum height for group name EditText --> |
| 272 | <dimen name="group_name_edit_text_min_height">48dp</dimen> |
Xi Chen | 947c23d | 2016-06-30 20:23:52 -0700 | [diff] [blame] | 273 | |
| 274 | <!-- Distance to pull down before causing a refresh. --> |
| 275 | <dimen name="pull_to_refresh_distance">40dp</dimen> |
Wenyi Wang | cf07957 | 2016-07-27 18:06:27 -0700 | [diff] [blame] | 276 | |
Wenyi Wang | 81067f5 | 2016-07-26 18:18:11 -0700 | [diff] [blame] | 277 | <!-- Elevation of contact list header --> |
| 278 | <dimen name="contact_list_header_elevation">2dp</dimen> |
Wenyi Wang | f128ea8 | 2016-07-25 11:56:40 -0700 | [diff] [blame] | 279 | |
| 280 | <!-- Gap b/w image view and top of the screen in empty main view --> |
| 281 | <dimen name="empty_home_view_image_offset">210dp</dimen> |
| 282 | |
| 283 | <!-- Top padding for the text for empty main view --> |
| 284 | <dimen name="empty_home_view_text_padding_top">32dp</dimen> |
| 285 | |
| 286 | <!-- Extra margin above image in empty account view --> |
| 287 | <dimen name="empty_account_view_image_offset">30dp</dimen> |
yaolu | 189036a | 2016-07-29 15:50:28 -0700 | [diff] [blame] | 288 | |
| 289 | <!-- Margin offset b/w the image top and app bar bottom for no account empty view --> |
| 290 | <dimen name="contacts_no_account_empty_image_offset">230dp</dimen> |
| 291 | |
| 292 | <!-- Width for the image for contacts no account empty view --> |
| 293 | <dimen name="contacts_no_account_empty_image_width">180dp</dimen> |
| 294 | |
| 295 | <!-- Top padding for the text for no account empty view --> |
| 296 | <dimen name="contacts_no_account_empty_text_padding_top">32dp</dimen> |
| 297 | |
| 298 | <!-- Top padding for add account button for no account empty view --> |
| 299 | <dimen name="contacts_no_account_empty_button_padding_top">16dp</dimen> |
| 300 | |
| 301 | <!-- Margin b/w add account button and import contacts button for no account empty view --> |
| 302 | <dimen name="contacts_no_account_buttons_margin">8dp</dimen> |
Walter Jang | 13a9c33 | 2016-08-13 08:35:14 -0700 | [diff] [blame] | 303 | |
| 304 | <!-- Padding between the action bar's bottom edge and the first header |
| 305 | in contacts/group lists. --> |
| 306 | <dimen name="list_header_extra_top_padding">0dip</dimen> |
| 307 | |
| 308 | <dimen name="list_section_divider_min_height">32dip</dimen> |
| 309 | |
| 310 | <dimen name="directory_header_extra_top_padding">18dp</dimen> |
| 311 | <dimen name="directory_header_extra_bottom_padding">8dp</dimen> |
| 312 | <dimen name="directory_header_left_padding">16dp</dimen> |
| 313 | |
| 314 | <!-- Horizontal padding in between contact tiles --> |
| 315 | <dimen name="contact_tile_divider_padding">23dip</dimen> |
| 316 | <!-- Horizontal whitespace (both padding and margin) before the first tile and after the last tile --> |
| 317 | <dimen name="contact_tile_start_end_whitespace">16dip</dimen> |
| 318 | |
| 319 | <!-- Left and right padding for a contact detail item --> |
| 320 | <dimen name="detail_item_side_margin">16dip</dimen> |
| 321 | |
| 322 | <!-- ContactTile Layouts --> |
| 323 | <!-- |
| 324 | Use sp instead of dip so that the shadowbox heights can all scale uniformly |
| 325 | when the font size is scaled for accessibility purposes |
| 326 | --> |
| 327 | <dimen name="contact_tile_shadowbox_height">48sp</dimen> |
| 328 | |
| 329 | <!-- For contact filter setting screens --> |
| 330 | <dimen name="contact_filter_left_margin">8dp</dimen> |
| 331 | <dimen name="contact_filter_right_margin">16dip</dimen> |
| 332 | <dimen name="contact_filter_item_min_height">48dip</dimen> |
| 333 | <dimen name="contact_filter_icon_size">32dip</dimen> |
| 334 | <dimen name="contact_filter_list_item_height">56dp</dimen> |
| 335 | <dimen name="contact_filter_list_item_padding_start">16dp</dimen> |
| 336 | <!-- contact_filter_indicator is the arrow in expandable list view --> |
| 337 | <dimen name="contact_filter_indicator_padding_start">6dp</dimen> |
| 338 | <dimen name="contact_filter_indicator_padding_end">46dp</dimen> |
| 339 | <dimen name="contact_filter_action_button_width">72dp</dimen> |
| 340 | |
| 341 | <!-- Padding to be used between a visible scrollbar and the contact list --> |
| 342 | <dimen name="list_visible_scrollbar_padding">32dip</dimen> |
| 343 | |
| 344 | <dimen name="contact_browser_list_header_icon_left_margin">16dp</dimen> |
| 345 | <dimen name="contact_browser_list_header_icon_right_margin">14dp</dimen> |
| 346 | <dimen name="contact_browser_list_header_icon_left_margin_alt">18dp</dimen> |
| 347 | <dimen name="contact_browser_list_header_icon_right_margin_alt">16dp</dimen> |
| 348 | <dimen name="contact_browser_list_header_left_margin">16dip</dimen> |
| 349 | <dimen name="contact_browser_list_header_right_margin">@dimen/list_visible_scrollbar_padding</dimen> |
| 350 | <dimen name="contact_browser_list_item_text_indent">8dip</dimen> |
| 351 | <dimen name="contact_browser_list_header_height">48dp</dimen> |
| 352 | <dimen name="contact_browser_list_header_icon_size">24dp</dimen> |
| 353 | <dimen name="contact_browser_list_header_icon_size_alt">20dp</dimen> |
| 354 | <dimen name="contact_browser_list_header_text_margin">10dp</dimen> |
| 355 | <!-- Width of a contact list item section header. --> |
| 356 | <dimen name="contact_list_section_header_width">56dp</dimen> |
| 357 | |
| 358 | <!-- Size of the shortcut icon. 0dip means: use the system default --> |
| 359 | <dimen name="shortcut_icon_size">0dip</dimen> |
| 360 | |
| 361 | <!-- Text size of shortcut icon overlay text --> |
| 362 | <dimen name="shortcut_overlay_text_size">12dp</dimen> |
| 363 | |
| 364 | <!-- Extra vertical padding for darkened background behind shortcut icon overlay text --> |
| 365 | <dimen name="shortcut_overlay_text_background_padding">1dp</dimen> |
| 366 | |
| 367 | <!-- Width of height of an icon from a third-party app in the networks section of the contact card. --> |
| 368 | <dimen name="detail_network_icon_size">40dp</dimen> |
| 369 | |
| 370 | <!-- Empty message margins --> |
| 371 | <dimen name="empty_message_top_margin">48dip</dimen> |
| 372 | |
| 373 | <!-- contact browser list margins --> |
| 374 | <dimen name="contact_browser_list_item_text_size">16sp</dimen> |
| 375 | <dimen name="contact_browser_list_item_photo_size">40dp</dimen> |
| 376 | <dimen name="contact_browser_list_item_gap_between_image_and_text">15dp</dimen> |
| 377 | <dimen name="contact_browser_list_item_gap_between_indexer_and_image">16dp</dimen> |
| 378 | <dimen name="contact_browser_list_top_margin">12dp</dimen> |
| 379 | |
| 380 | <!-- Dimensions for "No contacts" string in PhoneFavoriteFragment for the All contacts |
| 381 | with phone numbers section |
| 382 | --> |
| 383 | <dimen name="contact_phone_list_empty_description_size">20sp</dimen> |
| 384 | <dimen name="contact_phone_list_empty_description_padding">10dip</dimen> |
| 385 | |
| 386 | <!-- Dimensions for contact letter tiles --> |
| 387 | <dimen name="tile_letter_font_size">40dp</dimen> |
| 388 | <dimen name="tile_letter_font_size_small">20dp</dimen> |
| 389 | <dimen name="tile_divider_width">1dp</dimen> |
| 390 | <item name="letter_to_tile_ratio" type="dimen">67%</item> |
| 391 | |
| 392 | <!-- Height of the floating action button --> |
| 393 | <dimen name="floating_action_button_height">56dp</dimen> |
| 394 | <!-- Width of the floating action button --> |
| 395 | <dimen name="floating_action_button_width">56dp</dimen> |
| 396 | <!-- Corner radius of the floating action button --> |
| 397 | <dimen name="floating_action_button_radius">28dp</dimen> |
| 398 | <!-- Z translation of the floating action button --> |
| 399 | <dimen name="floating_action_button_translation_z">8dp</dimen> |
| 400 | <!-- Padding to be applied to the bottom of lists to make space for the floating action |
| 401 | button --> |
| 402 | <dimen name="floating_action_button_list_bottom_padding">88dp</dimen> |
| 403 | <!-- Right margin of the floating action button --> |
| 404 | <dimen name="floating_action_button_margin_right">16dp</dimen> |
| 405 | <!-- Bottom margin of the floating action button --> |
| 406 | <dimen name="floating_action_button_margin_bottom">16dp</dimen> |
| 407 | <!-- Offset of bottom margin of the floating action button used when dialpad is up --> |
| 408 | <dimen name="floating_action_button_dialpad_margin_bottom_offset">4dp</dimen> |
| 409 | |
Walter Jang | 13a9c33 | 2016-08-13 08:35:14 -0700 | [diff] [blame] | 410 | <!-- Size of text in tabs. --> |
Walter Jang | 13a9c33 | 2016-08-13 08:35:14 -0700 | [diff] [blame] | 411 | <dimen name="tab_elevation">2dp</dimen> |
Walter Jang | 13a9c33 | 2016-08-13 08:35:14 -0700 | [diff] [blame] | 412 | |
| 413 | <!-- Padding around the icon in the search box. --> |
| 414 | <dimen name="search_box_icon_margin">4dp</dimen> |
| 415 | <!-- Size of the icon (voice search, back arrow) in the search box. --> |
| 416 | <dimen name="search_box_icon_size">56dp</dimen> |
| 417 | <!-- Size of the close icon.--> |
| 418 | <dimen name="search_box_close_icon_size">56dp</dimen> |
| 419 | <!-- Padding around the close button. It's visible size without padding is 24dp. --> |
| 420 | <dimen name="search_box_close_icon_padding">16dp</dimen> |
| 421 | <!-- End margin of the back arrow icon in the search box --> |
| 422 | <dimen name="search_box_navigation_icon_margin">8dp</dimen> |
| 423 | <!-- Left margin of the text field in the search box. --> |
| 424 | <dimen name="search_box_text_left_margin">8dp</dimen> |
| 425 | <!-- Search box text size --> |
| 426 | <dimen name="search_text_size">16sp</dimen> |
| 427 | |
| 428 | <item name="close_icon_alpha" format="float" type="dimen">0.54</item> |
| 429 | |
| 430 | <!-- Size of the close icon in selection bar.--> |
| 431 | <dimen name="selection_bar_close_icon_size">56dp</dimen> |
| 432 | |
| 433 | <!-- Top margin for the Frequently Contacted section title --> |
| 434 | <dimen name="frequently_contacted_title_top_margin_when_first_row">16dp</dimen> |
| 435 | <!-- Top margin for the Frequently Contacted section title, when the title is the first |
| 436 | item in the list --> |
| 437 | <dimen name="frequently_contacted_title_top_margin">57dp</dimen> |
| 438 | |
| 439 | <dimen name="frequently_contacted_title_text_size">24sp</dimen> |
| 440 | |
| 441 | <!-- Size of icon for contacts number shortcuts --> |
| 442 | <dimen name="search_shortcut_radius">40dp</dimen> |
| 443 | |
| 444 | <dimen name="contact_list_card_elevation">2dp</dimen> |
| 445 | |
| 446 | <!-- Padding used around the periphery of the call subject dialog, as well as in between the |
| 447 | items. --> |
| 448 | <dimen name="call_subject_dialog_margin">20dp</dimen> |
| 449 | <!-- Padding used between lines of text in the call subject dialog. --> |
| 450 | <dimen name="call_subject_dialog_between_line_margin">8dp</dimen> |
| 451 | <!-- Size of the contact photo in the call subject dialog. --> |
| 452 | <dimen name="call_subject_dialog_contact_photo_size">50dp</dimen> |
| 453 | <!-- Margin above the edit text in the call subject dialog. --> |
| 454 | <dimen name="call_subject_dialog_edit_spacing">60dp</dimen> |
| 455 | <!-- Size of primary text in the call subject dialog. --> |
| 456 | <dimen name="call_subject_dialog_primary_text_size">16sp</dimen> |
| 457 | <!-- Size of secondary text in the call subject dialog. --> |
| 458 | <dimen name="call_subject_dialog_secondary_text_size">14sp</dimen> |
| 459 | <!-- Row padding for call subject history items. --> |
| 460 | <dimen name="call_subject_history_item_padding">15dp</dimen> |
Jeff Sharkey | 73714ff | 2009-08-23 22:13:04 -0700 | [diff] [blame] | 461 | </resources> |