blob: c079a6b2be8c81421c7584df9f5dd3fe283a1b29 [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>
Daniel Lehmann20130582010-10-21 20:51:15 -070017 <dimen name="account_selector_popup_width">400dip</dimen>
Daniel Lehmann9442ef42010-11-09 17:35:53 -080018
Brian Attwellb7e43642014-06-02 14:33:04 -070019 <!-- Initial height of transparent space above QuickContacts -->
20 <dimen name="quickcontact_starting_empty_height">150dp</dimen>
Brian Attwell9b889e62014-06-23 18:25:32 -070021 <!-- Initial size of QuickContact's title size -->
22 <dimen name="quickcontact_maximum_title_size">36dp</dimen>
Brian Attwellbe48e0c2014-06-25 10:31:59 -070023 <!-- 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 Lehmannedb576a2011-07-27 16:45:13 -070025
Katherine Kuan1ebbd5b2011-08-05 14:39:34 -070026 <!-- Top padding of the entire contact editor -->
27 <dimen name="editor_padding_top">0dip</dimen>
28
Chiao Chengddd4e822012-12-06 12:18:01 -080029 <!-- 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 Attwell5cc21eb2014-06-03 21:08:01 -070038 <!-- 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 Chengddd4e822012-12-06 12:18:01 -080044 <!-- 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
50 <!-- Width of the Type-Label in the Editor -->
51 <dimen name="editor_type_label_width">100dip</dimen>
52
Katherine Kuan1ebbd5b2011-08-05 14:39:34 -070053 <!-- Left padding of the label in the add field button for the contact editor -->
54 <dimen name="editor_add_field_label_left_padding">16dip</dimen>
55
Katherine Kuan0d65df62011-09-01 19:30:02 -070056 <!-- Height of the shadow asset under the photo on the contact detail page -->
57 <dimen name="detail_contact_photo_shadow_height">10dip</dimen>
58
Katherine Kuan8f0f3342011-06-20 15:16:35 -070059 <!-- Margin around the contact's photo on the contact card -->
Katherine Kuanbe7a9d52011-09-05 17:05:51 -070060 <dimen name="detail_contact_photo_margin">8dip</dimen>
Katherine Kuan8f0f3342011-06-20 15:16:35 -070061
Katherine Kuan2eb969c2011-06-28 11:43:15 -070062 <!-- Width and height of the contact photo on the contact detail page -->
Maurice Chu13f6f262012-05-08 15:25:16 -070063 <dimen name="detail_contact_photo_size">128dip</dimen>
Katherine Kuan2eb969c2011-06-28 11:43:15 -070064
Maurice Chu2d4632c2012-05-09 18:29:54 -070065 <!-- Width and height of the expanded contact photo on the contact detail page -->
66 <dimen name="detail_contact_photo_expanded_size">400dip</dimen>
67
68 <!-- This is the minimum amount of space to leave underneath an expanded contact detail
69 photo -->
70 <dimen name="expanded_photo_height_offset">100dip</dimen>
71
72 <!-- Minimum width for the photo action popup options -->
73 <dimen name="photo_action_popup_min_width">300dip</dimen>
74
Katherine Kuan2719ab02011-05-02 17:18:04 -070075 <!-- Left and right padding for a contact detail item -->
Flavio Lerdaa533a342011-07-25 17:15:31 +010076 <dimen name="detail_item_icon_margin">8dip</dimen>
Katherine Kuan2719ab02011-05-02 17:18:04 -070077
Katherine Kuanf81e4c62011-07-01 21:46:08 -070078 <!-- Top and bottom padding for a contact detail item -->
Katherine Kuan5a7b5632011-08-08 17:11:44 -070079 <dimen name="detail_item_vertical_margin">8dip</dimen>
Katherine Kuan2719ab02011-05-02 17:18:04 -070080
Dmitri Plotnikovba3c2e52011-01-23 14:02:54 -080081 <!-- Minimum height of a row in the contact detail -->
82 <dimen name="detail_min_line_item_height">48dip</dimen>
83
Katherine Kuana2d4a962011-05-06 15:20:21 -070084 <!-- Font size for the display name in header of the contact detail page -->
Katherine Kuan9bd85b32011-07-23 18:10:54 -070085 <dimen name="detail_header_name_text_size">36sp</dimen>
Katherine Kuana2d4a962011-05-06 15:20:21 -070086
Daisuke Miyakawa54eb1ea2011-07-27 18:41:27 -070087 <!-- Vertical margin for vertical dividers existing between primary data
88 (phone number, email, etc.) and a secondary action button -->
89 <dimen name="detail_vertical_divider_vertical_margin">16dip</dimen>
90
Dmitri Plotnikov192a1382010-12-20 12:33:58 -080091 <!-- Font size used for the contact name in the widget -->
92 <dimen name="widget_text_size_name">14sp</dimen>
93
94 <!-- Font size used for the social status in the widget -->
95 <dimen name="widget_text_size_snippet">13sp</dimen>
Dmitri Plotnikovb18624f2011-01-21 19:10:43 -080096
Daniel Lehmann5e428382011-04-08 15:02:43 -070097 <!-- Height of list sections (A, B, C) that show the first character of the contacts -->
98 <dimen name="list_section_height">25dip</dimen>
Katherine Kuanbe18de02011-06-07 12:38:29 -070099
Mindy Pereirac0cba732011-08-25 09:00:43 -0700100 <!-- Account title left padding -->
101 <dimen name="account_container_left_padding">16dip</dimen>
102
103 <!-- Left padding for a group member list item -->
104 <dimen name="group_member_item_left_padding">4dip</dimen>
105
Katherine Kuan229eed42011-10-27 11:45:32 -0700106 <!-- Left and right padding for the group editor view -->
107 <dimen name="group_editor_side_padding">16dip</dimen>
108
Mindy Pereirac0cba732011-08-25 09:00:43 -0700109 <!-- Left margin for the group member list to match the built in margin in the autocomplete asset -->
110 <dimen name="group_editor_member_list_left_margin">4dip</dimen>
111
112 <!-- Right margin for the group member list to match the built in margin in the autocomplete asset -->
113 <dimen name="group_editor_member_list_right_margin">4dip</dimen>
114
115 <!-- Left padding of the auto complete field to line hint text up with member list -->
116 <dimen name="group_editor_autocomplete_left_padding">8dip</dimen>
117
Katherine Kuancd51c912011-08-07 19:30:47 -0700118 <!-- Border padding for the group detail fragment -->
Katherine Kuan34bafe02011-10-20 18:42:56 -0700119 <dimen name="group_detail_border_padding">0dip</dimen>
120
Katherine Kuan229eed42011-10-27 11:45:32 -0700121 <!-- Height of the quick contact photo container (for screens that are too large to use the screen width/height as a constraint)-->
Daniel Lehmann75e262b2012-03-27 21:27:18 -0700122 <dimen name="quick_contact_photo_container_height">180dip</dimen>
Katherine Kuan229eed42011-10-27 11:45:32 -0700123
Makoto Onuki4ba903c2011-07-07 16:55:17 -0700124 <!-- Width of search view in action bar. Use 0dip for MATCH_PARENT -->
125 <dimen name="search_view_width">0dip</dimen>
Isaac Katzenelson36b27c62011-07-20 12:06:01 -0700126
Daisuke Miyakawa594dc442011-10-26 16:21:44 -0700127 <!-- For join screen. Mainly for tablet. -->
128 <dimen name="join_header_left_margin">@dimen/contact_browser_list_header_left_margin</dimen>
129 <dimen name="join_header_right_margin">@dimen/contact_browser_list_header_right_margin</dimen>
130 <dimen name="join_header_top_margin">16dip</dimen>
131 <dimen name="join_header_bottom_margin">0dip</dimen>
Frank Sposaro595d6ea2011-07-20 11:03:26 -0700132
Isaac Katzenelsona1bbf612011-08-15 16:49:41 -0700133 <dimen name="no_accounts_message_margin">20dip</dimen>
Daisuke Miyakawa8f59c2b2011-08-04 13:22:19 -0700134
Daisuke Miyakawa8f59c2b2011-08-04 13:22:19 -0700135 <dimen name="contact_filter_header_min_height">24dip</dimen>
136
Katherine Kuand4000c62011-11-04 12:02:25 -0700137 <!-- Max width of the SearchView when the contact picker is a dialog (on wide
138 screen devices). -->
139 <dimen name="contact_picker_search_view_max_width">550dip</dimen>
140
141 <!-- Min height of the list of contacts when the contact picker is a dialog (on
142 wide screen devices). -->
143 <dimen name="contact_picker_contact_list_min_height">550dip</dimen>
Daisuke Miyakawa547c9172012-03-09 10:27:11 -0800144
Paul Soulos2d48b5a2014-05-29 13:56:25 -0700145
Paul Soulos2fad98e2014-05-29 16:20:05 -0700146 <!-- Margins for ExpandingEntryCardView -->
147 <dimen name="expanding_entry_card_marginStart">8dp</dimen>
148 <dimen name="expanding_entry_card_marginEnd">8dp</dimen>
149 <dimen name="expanding_entry_card_marginBottom">8dp</dimen>
150
Brian Attwell019c71f2014-06-10 19:29:03 -0700151 <!-- Elevation of an ExpandingEntryCard, for the sake of shadow casting -->
Brian Attwell9b889e62014-06-23 18:25:32 -0700152 <dimen name="expanding_entry_card_elevation">1dp</dimen>
Brian Attwell019c71f2014-06-10 19:29:03 -0700153 <!-- Elevation of the QuickContact's Toolbar, for the sake of shadow casting -->
Brian Attwell9b889e62014-06-23 18:25:32 -0700154 <dimen name="quick_contact_toolbar_elevation">4.5dp</dimen>
Paul Soulos2fad98e2014-05-29 16:20:05 -0700155
156 <!-- Top margin for the communication card, used to add space from header. -->
157 <dimen name="communication_card_marginTop">8dp</dimen>
158
159
Paul Soulos2d48b5a2014-05-29 13:56:25 -0700160 <!-- Size of the title text for a ExpandingEntryCardView -->
161 <dimen name="expanding_entry_card_title_text_size">16sp</dimen>
162 <!-- Padding for the title text for a ExpandingEntryCardView -->
163 <dimen name="expanding_entry_card_title_padding">16dp</dimen>
164
165 <!-- Height of the separator between entries in an ExpandingEntryCardView -->
166 <dimen name="expanding_entry_card_item_separator_height">1dp</dimen>
167 <!-- Dimensions for an entry in ExpandingEntryCardView -->
168 <dimen name="expanding_entry_card_item_padding_start">67dp</dimen>
169 <dimen name="expanding_entry_card_item_padding_with_image_start">20dp</dimen>
170 <dimen name="expanding_entry_card_item_padding_end">20dp</dimen>
171 <dimen name="expanding_entry_card_item_padding_top">16dp</dimen>
172 <dimen name="expanding_entry_card_item_padding_bottom">16dp</dimen>
173 <dimen name="expanding_entry_card_item_image_spacing">16dp</dimen>
174
175 <!-- Dimensions for a button in ExpandingEntryCardView -->
176 <dimen name="expanding_entry_card_button_padding_start">20dp</dimen>
177 <dimen name="expanding_entry_card_button_padding_vertical">16dp</dimen>
178 <dimen name="expanding_entry_card_button_drawable_padding">20dp</dimen>
179
180 <dimen name="expanding_entry_card_item_text_icon_margin_top">7dp</dimen>
181 <dimen name="expanding_entry_card_item_text_icon_margin_right">7dp</dimen>
182 <dimen name="expanding_entry_card_item_sub_header_icon_margin_right">4dp</dimen>
183 <dimen name="expanding_entry_card_item_sub_header_icon_margin_bottom">14dp</dimen>
184
Jeff Sharkey73714ff2009-08-23 22:13:04 -0700185</resources>