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 --> |
| 22 | <dimen name="quickcontact_maximum_title_size">36dp</dimen> |
Brian Attwell | be48e0c | 2014-06-25 10:31:59 -0700 | [diff] [blame] | 23 | <!-- When QC is uncollapsed, the title has this much margin on its left, right and bottom --> |
| 24 | <dimen name="quickcontact_title_initial_margin">16dp</dimen> |
Daniel Lehmann | edb576a | 2011-07-27 16:45:13 -0700 | [diff] [blame] | 25 | |
Katherine Kuan | 1ebbd5b | 2011-08-05 14:39:34 -0700 | [diff] [blame] | 26 | <!-- Top padding of the entire contact editor --> |
| 27 | <dimen name="editor_padding_top">0dip</dimen> |
| 28 | |
Chiao Cheng | ddd4e82 | 2012-12-06 12:18:01 -0800 | [diff] [blame] | 29 | <!-- Padding of the rounded plus/minus/expand/collapse buttons in the editor --> |
| 30 | <dimen name="editor_round_button_padding_left">8dip</dimen> |
| 31 | <dimen name="editor_round_button_padding_right">8dip</dimen> |
| 32 | <dimen name="editor_round_button_padding_top">8dip</dimen> |
| 33 | <dimen name="editor_round_button_padding_bottom">8dip</dimen> |
| 34 | |
| 35 | <!-- Minimum height of a row in the Editor --> |
| 36 | <dimen name="editor_min_line_item_height">48dip</dimen> |
| 37 | |
Brian Attwell | 5cc21eb | 2014-06-03 21:08:01 -0700 | [diff] [blame] | 38 | <!-- Top padding of an EditText in the Editor --> |
| 39 | <dimen name="editor_text_field_top_padding">8dip</dimen> |
| 40 | |
| 41 | <!-- Bottom padding of an EditText in the Editor --> |
| 42 | <dimen name="editor_text_field_bottom_padding">7dip</dimen> |
| 43 | |
Chiao Cheng | ddd4e82 | 2012-12-06 12:18:01 -0800 | [diff] [blame] | 44 | <!-- Right padding of a field in the Editor --> |
| 45 | <dimen name="editor_field_right_padding">4dip</dimen> |
| 46 | |
| 47 | <!-- Left padding of a field in the Editor --> |
| 48 | <dimen name="editor_field_left_padding">4dip</dimen> |
| 49 | |
Brian Attwell | 7840c28 | 2014-08-14 14:00:37 -0700 | [diff] [blame] | 50 | <!-- End padding added to spinners in the editor. This separates the spinner text from the |
| 51 | spinner graphic when Button gravity is incorrectly set in RTL mode |
| 52 | (see framework bug b/17011078. In LTR mode this shouldn't have an observable affect. |
| 53 | We set paddingEnd instead of drawablePadding since the spinner graphic is not a normal |
| 54 | drawable. --> |
| 55 | <dimen name="editor_spinner_end_padding_workaround">24dip</dimen> |
| 56 | |
Chiao Cheng | ddd4e82 | 2012-12-06 12:18:01 -0800 | [diff] [blame] | 57 | <!-- Width of the Type-Label in the Editor --> |
| 58 | <dimen name="editor_type_label_width">100dip</dimen> |
| 59 | |
Katherine Kuan | 1ebbd5b | 2011-08-05 14:39:34 -0700 | [diff] [blame] | 60 | <!-- Left padding of the label in the add field button for the contact editor --> |
| 61 | <dimen name="editor_add_field_label_left_padding">16dip</dimen> |
| 62 | |
Maurice Chu | 2d4632c | 2012-05-09 18:29:54 -0700 | [diff] [blame] | 63 | <!-- Width and height of the expanded contact photo on the contact detail page --> |
| 64 | <dimen name="detail_contact_photo_expanded_size">400dip</dimen> |
| 65 | |
| 66 | <!-- This is the minimum amount of space to leave underneath an expanded contact detail |
| 67 | photo --> |
| 68 | <dimen name="expanded_photo_height_offset">100dip</dimen> |
| 69 | |
| 70 | <!-- Minimum width for the photo action popup options --> |
| 71 | <dimen name="photo_action_popup_min_width">300dip</dimen> |
| 72 | |
Katherine Kuan | f81e4c6 | 2011-07-01 21:46:08 -0700 | [diff] [blame] | 73 | <!-- Top and bottom padding for a contact detail item --> |
Katherine Kuan | 5a7b563 | 2011-08-08 17:11:44 -0700 | [diff] [blame] | 74 | <dimen name="detail_item_vertical_margin">8dip</dimen> |
Katherine Kuan | 2719ab0 | 2011-05-02 17:18:04 -0700 | [diff] [blame] | 75 | |
Dmitri Plotnikov | ba3c2e5 | 2011-01-23 14:02:54 -0800 | [diff] [blame] | 76 | <!-- Minimum height of a row in the contact detail --> |
| 77 | <dimen name="detail_min_line_item_height">48dip</dimen> |
| 78 | |
Dmitri Plotnikov | 192a138 | 2010-12-20 12:33:58 -0800 | [diff] [blame] | 79 | <!-- Font size used for the contact name in the widget --> |
| 80 | <dimen name="widget_text_size_name">14sp</dimen> |
| 81 | |
| 82 | <!-- Font size used for the social status in the widget --> |
| 83 | <dimen name="widget_text_size_snippet">13sp</dimen> |
Dmitri Plotnikov | b18624f | 2011-01-21 19:10:43 -0800 | [diff] [blame] | 84 | |
Daniel Lehmann | 5e42838 | 2011-04-08 15:02:43 -0700 | [diff] [blame] | 85 | <!-- Height of list sections (A, B, C) that show the first character of the contacts --> |
| 86 | <dimen name="list_section_height">25dip</dimen> |
Katherine Kuan | be18de0 | 2011-06-07 12:38:29 -0700 | [diff] [blame] | 87 | |
Mindy Pereira | c0cba73 | 2011-08-25 09:00:43 -0700 | [diff] [blame] | 88 | <!-- Account title left padding --> |
| 89 | <dimen name="account_container_left_padding">16dip</dimen> |
| 90 | |
| 91 | <!-- Left padding for a group member list item --> |
| 92 | <dimen name="group_member_item_left_padding">4dip</dimen> |
| 93 | |
Katherine Kuan | 229eed4 | 2011-10-27 11:45:32 -0700 | [diff] [blame] | 94 | <!-- Left and right padding for the group editor view --> |
| 95 | <dimen name="group_editor_side_padding">16dip</dimen> |
| 96 | |
Mindy Pereira | c0cba73 | 2011-08-25 09:00:43 -0700 | [diff] [blame] | 97 | <!-- Left margin for the group member list to match the built in margin in the autocomplete asset --> |
| 98 | <dimen name="group_editor_member_list_left_margin">4dip</dimen> |
| 99 | |
| 100 | <!-- Right margin for the group member list to match the built in margin in the autocomplete asset --> |
| 101 | <dimen name="group_editor_member_list_right_margin">4dip</dimen> |
| 102 | |
| 103 | <!-- Left padding of the auto complete field to line hint text up with member list --> |
| 104 | <dimen name="group_editor_autocomplete_left_padding">8dip</dimen> |
| 105 | |
Katherine Kuan | cd51c91 | 2011-08-07 19:30:47 -0700 | [diff] [blame] | 106 | <!-- Border padding for the group detail fragment --> |
Katherine Kuan | 34bafe0 | 2011-10-20 18:42:56 -0700 | [diff] [blame] | 107 | <dimen name="group_detail_border_padding">0dip</dimen> |
| 108 | |
Katherine Kuan | 229eed4 | 2011-10-27 11:45:32 -0700 | [diff] [blame] | 109 | <!-- 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] | 110 | <dimen name="quick_contact_photo_container_height">180dip</dimen> |
Katherine Kuan | 229eed4 | 2011-10-27 11:45:32 -0700 | [diff] [blame] | 111 | |
Makoto Onuki | 4ba903c | 2011-07-07 16:55:17 -0700 | [diff] [blame] | 112 | <!-- Width of search view in action bar. Use 0dip for MATCH_PARENT --> |
| 113 | <dimen name="search_view_width">0dip</dimen> |
Isaac Katzenelson | 36b27c6 | 2011-07-20 12:06:01 -0700 | [diff] [blame] | 114 | |
Daisuke Miyakawa | 594dc44 | 2011-10-26 16:21:44 -0700 | [diff] [blame] | 115 | <!-- For join screen. Mainly for tablet. --> |
| 116 | <dimen name="join_header_left_margin">@dimen/contact_browser_list_header_left_margin</dimen> |
| 117 | <dimen name="join_header_right_margin">@dimen/contact_browser_list_header_right_margin</dimen> |
| 118 | <dimen name="join_header_top_margin">16dip</dimen> |
| 119 | <dimen name="join_header_bottom_margin">0dip</dimen> |
Frank Sposaro | 595d6ea | 2011-07-20 11:03:26 -0700 | [diff] [blame] | 120 | |
Isaac Katzenelson | a1bbf61 | 2011-08-15 16:49:41 -0700 | [diff] [blame] | 121 | <dimen name="no_accounts_message_margin">20dip</dimen> |
Daisuke Miyakawa | 8f59c2b | 2011-08-04 13:22:19 -0700 | [diff] [blame] | 122 | |
Daisuke Miyakawa | 8f59c2b | 2011-08-04 13:22:19 -0700 | [diff] [blame] | 123 | <dimen name="contact_filter_header_min_height">24dip</dimen> |
| 124 | |
Katherine Kuan | d4000c6 | 2011-11-04 12:02:25 -0700 | [diff] [blame] | 125 | <!-- Max width of the SearchView when the contact picker is a dialog (on wide |
| 126 | screen devices). --> |
| 127 | <dimen name="contact_picker_search_view_max_width">550dip</dimen> |
| 128 | |
| 129 | <!-- Min height of the list of contacts when the contact picker is a dialog (on |
| 130 | wide screen devices). --> |
| 131 | <dimen name="contact_picker_contact_list_min_height">550dip</dimen> |
Daisuke Miyakawa | 547c917 | 2012-03-09 10:27:11 -0800 | [diff] [blame] | 132 | |
Paul Soulos | 2d48b5a | 2014-05-29 13:56:25 -0700 | [diff] [blame] | 133 | |
Paul Soulos | 2fad98e | 2014-05-29 16:20:05 -0700 | [diff] [blame] | 134 | <!-- Margins for ExpandingEntryCardView --> |
Paul Soulos | d3229ff | 2014-09-09 11:02:59 -0700 | [diff] [blame^] | 135 | <dimen name="expanding_entry_card_marginStartEnd">8dp</dimen> |
Brian Attwell | 8b8701f | 2014-06-24 16:23:07 -0700 | [diff] [blame] | 136 | <dimen name="expanding_entry_card_marginBottom">12dp</dimen> |
Brian Attwell | 4462dfd | 2014-06-23 21:15:42 -0700 | [diff] [blame] | 137 | <!-- Width of the grey border surrounding the expanding entry cards. If we ever add |
| 138 | a rounded corner to the expanding entry cards, than we will need to increase this value --> |
| 139 | <dimen name="expanding_entry_card_border_width">12dp</dimen> |
Brian Attwell | 8b8701f | 2014-06-24 16:23:07 -0700 | [diff] [blame] | 140 | |
| 141 | <!-- Top margin for the communication card, used to add space from header. --> |
Paul Soulos | a0c3508 | 2014-07-18 12:20:36 -0700 | [diff] [blame] | 142 | <dimen name="first_card_marginTop">12dp</dimen> |
Paul Soulos | 2fad98e | 2014-05-29 16:20:05 -0700 | [diff] [blame] | 143 | |
Brian Attwell | 019c71f | 2014-06-10 19:29:03 -0700 | [diff] [blame] | 144 | <!-- Elevation of an ExpandingEntryCard, for the sake of shadow casting --> |
Paul Soulos | ac9b316 | 2014-07-30 16:45:01 -0700 | [diff] [blame] | 145 | <dimen name="expanding_entry_card_elevation">2dp</dimen> |
Brian Attwell | 019c71f | 2014-06-10 19:29:03 -0700 | [diff] [blame] | 146 | <!-- Elevation of the QuickContact's Toolbar, for the sake of shadow casting --> |
Brian Attwell | 9b889e6 | 2014-06-23 18:25:32 -0700 | [diff] [blame] | 147 | <dimen name="quick_contact_toolbar_elevation">4.5dp</dimen> |
Paul Soulos | 2fad98e | 2014-05-29 16:20:05 -0700 | [diff] [blame] | 148 | |
Paul Soulos | 2d48b5a | 2014-05-29 13:56:25 -0700 | [diff] [blame] | 149 | <!-- Size of the title text for a ExpandingEntryCardView --> |
| 150 | <dimen name="expanding_entry_card_title_text_size">16sp</dimen> |
| 151 | <!-- Padding for the title text for a ExpandingEntryCardView --> |
| 152 | <dimen name="expanding_entry_card_title_padding">16dp</dimen> |
Paul Soulos | 1321736 | 2014-08-14 12:27:08 -0700 | [diff] [blame] | 153 | <!-- Extra top padding if the title is set to null --> |
| 154 | <dimen name="expanding_entry_card_null_title_top_extra_padding">2dp</dimen> |
Paul Soulos | 2d48b5a | 2014-05-29 13:56:25 -0700 | [diff] [blame] | 155 | |
| 156 | <!-- Height of the separator between entries in an ExpandingEntryCardView --> |
| 157 | <dimen name="expanding_entry_card_item_separator_height">1dp</dimen> |
| 158 | <!-- Dimensions for an entry in ExpandingEntryCardView --> |
Paul Soulos | a2fec38 | 2014-07-15 13:30:07 -0700 | [diff] [blame] | 159 | <dimen name="expanding_entry_card_item_padding_start">20dp</dimen> |
Paul Soulos | 2d48b5a | 2014-05-29 13:56:25 -0700 | [diff] [blame] | 160 | <dimen name="expanding_entry_card_item_padding_end">20dp</dimen> |
Paul Soulos | ac9b316 | 2014-07-30 16:45:01 -0700 | [diff] [blame] | 161 | <dimen name="expanding_entry_card_item_padding_top">18dp</dimen> |
Paul Soulos | 2d48b5a | 2014-05-29 13:56:25 -0700 | [diff] [blame] | 162 | <dimen name="expanding_entry_card_item_padding_bottom">16dp</dimen> |
Paul Soulos | ac9b316 | 2014-07-30 16:45:01 -0700 | [diff] [blame] | 163 | <dimen name="expanding_entry_card_item_image_spacing">27dp</dimen> |
Paul Soulos | 2d48b5a | 2014-05-29 13:56:25 -0700 | [diff] [blame] | 164 | |
| 165 | <!-- Dimensions for a button in ExpandingEntryCardView --> |
Paul Soulos | ac9b316 | 2014-07-30 16:45:01 -0700 | [diff] [blame] | 166 | <dimen name="expanding_entry_card_button_padding_vertical">18dp</dimen> |
Paul Soulos | 2d48b5a | 2014-05-29 13:56:25 -0700 | [diff] [blame] | 167 | |
| 168 | <dimen name="expanding_entry_card_item_text_icon_margin_top">7dp</dimen> |
| 169 | <dimen name="expanding_entry_card_item_text_icon_margin_right">7dp</dimen> |
| 170 | <dimen name="expanding_entry_card_item_sub_header_icon_margin_right">4dp</dimen> |
| 171 | <dimen name="expanding_entry_card_item_sub_header_icon_margin_bottom">14dp</dimen> |
| 172 | |
Paul Soulos | ac9b316 | 2014-07-30 16:45:01 -0700 | [diff] [blame] | 173 | <dimen name="expanding_entry_card_item_icon_margin_top">7dp</dimen> |
| 174 | <dimen name="expanding_entry_card_item_header_only_margin_top">6dp</dimen> |
Paul Soulos | 773125d | 2014-08-20 15:14:58 -0700 | [diff] [blame] | 175 | <dimen name="expanding_entry_card_item_alternate_icon_start_margin">16dp</dimen> |
Paul Soulos | dd7419d | 2014-07-15 11:22:13 -0700 | [diff] [blame] | 176 | <dimen name="expanding_entry_card_item_alternate_icon_margin_bottom">10dp</dimen> |
| 177 | |
Paul Soulos | 6b63289 | 2014-07-28 14:05:11 -0700 | [diff] [blame] | 178 | <dimen name="expanding_entry_card_badge_separator_margin">8dp</dimen> |
Paul Soulos | ac9b316 | 2014-07-30 16:45:01 -0700 | [diff] [blame] | 179 | <dimen name="expanding_entry_card_card_corner_radius">2dp</dimen> |
| 180 | <dimen name="expanding_entry_card_header_margin_bottom">2dp</dimen> |
| 181 | <!-- The top margin when the sub header and text views are both gone --> |
| 182 | <dimen name="expanding_entry_card_item_header_only_margin_bottom">2dp</dimen> |
Paul Soulos | edd44f0 | 2014-08-19 17:07:03 -0700 | [diff] [blame] | 183 | <dimen name="expanding_entry_card_item_no_icon_margin_top">6dp</dimen> |
Paul Soulos | 6b63289 | 2014-07-28 14:05:11 -0700 | [diff] [blame] | 184 | |
Brian Attwell | 3c763b3 | 2014-07-21 14:25:28 -0700 | [diff] [blame] | 185 | <!-- The width the that the tabs occupy in the ActionBar when in landscape mode. |
| 186 | 426dp is the height of a "small" screen. We should leave 240dp for |
| 187 | the title and menu items --> |
| 188 | <dimen name="people_activity_landscape_tabs_width">186dip</dimen> |
| 189 | <!-- The size of the text displayed in the ActionBar tabs in landscape mode. |
| 190 | Text in the tabs should must be width dependent, otherwise it won't fit in the tabs. |
| 191 | In portrait mode, the tabs look okay when overflowing their allocated space. |
| 192 | We have to be more careful in landscape. --> |
| 193 | <dimen name="people_activity_landscape_tabs_text_size">8dp</dimen> |
Sai Cheemalapati | 5b22108 | 2014-06-27 14:45:43 -0700 | [diff] [blame] | 194 | |
Paul Soulos | e005566 | 2014-07-10 16:33:08 -0700 | [diff] [blame] | 195 | <dimen name="expanding_entry_card_item_icon_height">24dp</dimen> |
| 196 | <dimen name="expanding_entry_card_item_icon_width">24dp</dimen> |
Brian Attwell | 95d4636 | 2014-07-14 16:42:35 -0700 | [diff] [blame] | 197 | |
| 198 | <!-- Width of the box around a tab when the tab has focus --> |
| 199 | <dimen name="tab_focused_stroke_width">1dp</dimen> |
Brian Attwell | 7a3bd35 | 2014-09-08 13:44:18 -0700 | [diff] [blame] | 200 | |
| 201 | <dimen name="contact_browser_list_item_padding_top_or_bottom">8dp</dimen> |
Jeff Sharkey | 73714ff | 2009-08-23 22:13:04 -0700 | [diff] [blame] | 202 | </resources> |