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--> 16<resources> 17 <dimen name="account_selector_popup_width">400dip</dimen> 18 19 <!-- Account info left margin in Compact editor. --> 20 <dimen name="compact_editor_account_left_margin">4dp</dimen> 21 22 <!-- Initial height of transparent space above QuickContacts --> 23 <dimen name="quickcontact_starting_empty_height">150dp</dimen> 24 <!-- Initial size of QuickContact's title size --> 25 <dimen name="quickcontact_maximum_title_size">32dp</dimen> 26 <!-- Initial size of QuickContact's phonetic name size --> 27 <dimen name="quickcontact_maximum_phonetic_name_size">28dp</dimen> 28 <!-- When QC is uncollapsed, the title has this much margin on its left and right. --> 29 <dimen name="quickcontact_title_initial_margin">16dp</dimen> 30 <!-- When QC is uncollapsed, the title has this much margin on its bottom --> 31 <dimen name="quickcontact_title_initial_bottom_margin">8dp</dimen> 32 <!-- The ratio of width:height for the contact's photo in landscape --> 33 <item name="quickcontact_landscape_photo_ratio" type="dimen" format="float">0.7</item> 34 <!-- How far QuickContacts can be dragged and released from the top of the window before we dismiss it. --> 35 <dimen name="quickcontact_dismiss_distance_on_release">40dp</dimen> 36 <!-- How far QuickContacts can be dragged from the top of the window before we dismiss it. --> 37 <dimen name="quickcontact_dismiss_distance_on_scroll">100dp</dimen> 38 <!-- When first flinging QuickContacts towards the top of the window if the fling is 39 predicted to scroll past the window top by less than this amount, then QuickContacts 40 snaps to the top of the window. --> 41 <dimen name="quickcontact_snap_to_top_slop_height">33dp</dimen> 42 43 <!-- The ratio of width:height (360:184) for the compact editor contact photo in portrait --> 44 <item name="editor_portrait_photo_ratio" type="dimen" format="float">1.96</item> 45 46 <!-- Padding of the rounded plus/minus/expand/collapse buttons in the editor --> 47 <dimen name="editor_round_button_padding_left">16dip</dimen> 48 <dimen name="editor_round_button_padding_right">16dip</dimen> 49 <dimen name="editor_round_button_padding_top">16dip</dimen> 50 <dimen name="editor_round_button_padding_bottom">16dip</dimen> 51 52 <!-- Minimum height of a row in the Editor. This is the target height for editor "rows", 53 including the "More fields" button/row. --> 54 <dimen name="editor_min_line_item_height">54dp</dimen> 55 56 <!-- Width of the delete button (X) in the raw contact editor --> 57 <dimen name="editor_delete_button_width">48dp</dimen> 58 59 <!-- The height and width of the delete button should be the same size as an editor row --> 60 <dimen name="editor_delete_button_size">@dimen/editor_min_line_item_height</dimen> 61 62 <!-- Top margin applied to mime-type icons inside the editor. This is needed to give the 63 appearance that the icons are top aligned with the text, since visible text doesn't 64 start at the very top of TextViews. --> 65 <dimen name="editor_kind_icon_top_margin">14dp</dimen> 66 67 <!-- RHS padding added to spinners in the editor. This separates the spinner text from the 68 spinner graphic since b/18194928 causes the spinner to always be on the RHS. 69 In LTR mode this shouldn't have an observable affect. We set paddingRight instead of 70 drawablePadding since the spinner graphic is not a normal drawable. --> 71 <dimen name="editor_spinner_right_padding_workaround">24dip</dimen> 72 73 <!-- RHS padding added to spinners for L devices --> 74 <dimen name="editor_spinner_right_padding">40dip</dimen> 75 76 <!-- Size of input form text inside the contact editor --> 77 <dimen name="editor_form_text_size">16sp</dimen> 78 79 <!-- Width and height of the mime-type icons inside the editor --> 80 <dimen name="editor_kind_icon_size">24dp</dimen> 81 82 <!-- Total width of data-kind icon, including its start and end padding --> 83 <dimen name="editor_kind_icon_total_width">68dp</dimen> 84 85 <!-- Padding below every editor view, such as LabeledEditorView. This value is chosen 86 to give 19dp of apparent padding between EditText's in the Raw Contact Editor. --> 87 <dimen name="editor_padding_between_editor_views">2dp</dimen> 88 89 <!-- Padding below every readonly editor view. This value is chosen to give 19dp of apparent 90 padding between TextView's in the readonly Raw Contact Editor. --> 91 <dimen name="editor_padding_between_read_only_editor_views">9dp</dimen> 92 93 <!-- Padding above and below the photo editor. This value is chosen to give 19dp of apparent 94 padding between TextView's and the photo's ImageView. --> 95 <dimen name="editor_padding_around_read_only_photo_editor">15dp</dimen> 96 97 <!-- Padding below the photo editor. This value is larger than 98 editor_padding_between_editor_views, since ImageView's don't have space between the bottom 99 of their visual bottom, like an EditText does. --> 100 <dimen name="editor_padding_below_photo">9dp</dimen> 101 102 <!-- Width of the Type-Label in the Editor --> 103 <dimen name="editor_type_label_width">150dip</dimen> 104 105 <!-- Width of the drop down that appears when you click on the Type-Label spinner in the editor --> 106 <dimen name="editor_type_label_dropdown_width">150dp</dimen> 107 108 <!-- Left padding of the label in the add field button for the contact editor --> 109 <dimen name="editor_add_field_label_left_padding">16dip</dimen> 110 111 <!-- Top margin for the first field of the compact contact editor --> 112 <dimen name="editor_compact_first_field_padding">10dp</dimen> 113 114 <!-- Top and bottom padding for the two text views in editor account header expandable --> 115 <dimen name="editor_account_header_expandable_top_bottom_padding">24dp</dimen> 116 117 <!-- left padding for the two text views in editor account header expandable --> 118 <dimen name="editor_account_header_expandable_left_padding">4dp</dimen> 119 120 <!-- Width and height of the expanded contact photo on the contact detail page --> 121 <dimen name="detail_contact_photo_expanded_size">400dip</dimen> 122 123 <!-- This is the minimum amount of space to leave underneath an expanded contact detail 124 photo --> 125 <dimen name="expanded_photo_height_offset">100dip</dimen> 126 127 <!-- Minimum width for the photo action popup options --> 128 <dimen name="photo_action_popup_min_width">300dip</dimen> 129 130 <!-- Top and bottom padding for a contact detail item --> 131 <dimen name="detail_item_vertical_margin">8dip</dimen> 132 133 <!-- Minimum height of a row in the contact detail --> 134 <dimen name="detail_min_line_item_height">48dip</dimen> 135 136 <!-- Font size used for the contact name in the widget --> 137 <dimen name="widget_text_size_name">14sp</dimen> 138 139 <!-- Font size used for the social status in the widget --> 140 <dimen name="widget_text_size_snippet">13sp</dimen> 141 142 <!-- Height of list sections (A, B, C) that show the first character of the contacts --> 143 <dimen name="list_section_height">25dip</dimen> 144 145 <!-- Account title left padding --> 146 <dimen name="account_container_left_padding">16dip</dimen> 147 148 <!-- Left padding for a group member list item --> 149 <dimen name="group_member_item_left_padding">4dip</dimen> 150 151 <!-- Left and right padding for the group editor view --> 152 <dimen name="group_editor_side_padding">16dip</dimen> 153 154 <!-- Left margin for the group member list to match the built in margin in the autocomplete asset --> 155 <dimen name="group_editor_member_list_left_margin">4dip</dimen> 156 157 <!-- Right margin for the group member list to match the built in margin in the autocomplete asset --> 158 <dimen name="group_editor_member_list_right_margin">4dip</dimen> 159 160 <!-- Left padding of the auto complete field to line hint text up with member list --> 161 <dimen name="group_editor_autocomplete_left_padding">8dip</dimen> 162 163 <!-- Border padding for the group detail fragment --> 164 <dimen name="group_detail_border_padding">0dip</dimen> 165 166 <!-- Height of the quick contact photo container (for screens that are too large to use the screen width/height as a constraint)--> 167 <dimen name="quick_contact_photo_container_height">180dip</dimen> 168 169 <!-- Width of search view in action bar. Use 0dip for MATCH_PARENT --> 170 <dimen name="search_view_width">0dip</dimen> 171 172 <!-- For join screen. Mainly for tablet. --> 173 <dimen name="join_header_left_margin">@dimen/contact_browser_list_header_left_margin</dimen> 174 <dimen name="join_header_right_margin">@dimen/contact_browser_list_header_right_margin</dimen> 175 <dimen name="join_header_top_margin">16dip</dimen> 176 <dimen name="join_header_bottom_margin">0dip</dimen> 177 178 <dimen name="no_accounts_message_margin">20dip</dimen> 179 180 <dimen name="contact_filter_header_min_height">24dip</dimen> 181 182 <!-- Max width of the SearchView when the contact picker is a dialog (on wide 183 screen devices). --> 184 <dimen name="contact_picker_search_view_max_width">550dip</dimen> 185 186 <!-- Min height of the list of contacts when the contact picker is a dialog (on 187 wide screen devices). --> 188 <dimen name="contact_picker_contact_list_min_height">550dip</dimen> 189 190 191 <!-- Margins for ExpandingEntryCardView --> 192 <dimen name="expanding_entry_card_marginStartEnd">8dp</dimen> 193 <dimen name="expanding_entry_card_marginBottom">12dp</dimen> 194 <!-- Width of the grey border surrounding the expanding entry cards. If we ever add 195 a rounded corner to the expanding entry cards, than we will need to increase this value --> 196 <dimen name="expanding_entry_card_border_width">12dp</dimen> 197 198 <!-- Top margin for the communication card, used to add space from header. --> 199 <dimen name="first_card_marginTop">12dp</dimen> 200 201 <!-- Elevation of an ExpandingEntryCard, for the sake of shadow casting --> 202 <dimen name="expanding_entry_card_elevation">2dp</dimen> 203 <!-- Elevation of the QuickContact's Toolbar, for the sake of shadow casting --> 204 <dimen name="quick_contact_toolbar_elevation">4.5dp</dimen> 205 206 <!-- Size of the title text for a ExpandingEntryCardView --> 207 <dimen name="expanding_entry_card_title_text_size">16sp</dimen> 208 <!-- Padding for the title text for a ExpandingEntryCardView --> 209 <dimen name="expanding_entry_card_title_padding">16dp</dimen> 210 <!-- Extra top padding if the title is set to null --> 211 <dimen name="expanding_entry_card_null_title_top_extra_padding">2dp</dimen> 212 213 <!-- Height of the separator between entries in an ExpandingEntryCardView and contact editor. --> 214 <dimen name="divider_line_height">1dp</dimen> 215 216 <!-- Dimensions for an entry in ExpandingEntryCardView --> 217 <dimen name="expanding_entry_card_item_padding_start">20dp</dimen> 218 <dimen name="expanding_entry_card_item_padding_end">8dp</dimen> 219 <dimen name="expanding_entry_card_item_padding_top">13dp</dimen> 220 <dimen name="expanding_entry_card_item_padding_bottom">16dp</dimen> 221 <dimen name="expanding_entry_card_item_image_spacing">27dp</dimen> 222 223 <!-- Dimensions for a button in ExpandingEntryCardView --> 224 <dimen name="expanding_entry_card_button_padding_vertical">18dp</dimen> 225 226 <dimen name="expanding_entry_card_item_text_icon_margin_top">7dp</dimen> 227 <dimen name="expanding_entry_card_item_text_icon_margin_right">7dp</dimen> 228 <dimen name="expanding_entry_card_item_sub_header_icon_margin_right">4dp</dimen> 229 <dimen name="expanding_entry_card_item_sub_header_icon_margin_bottom">14dp</dimen> 230 231 <dimen name="expanding_entry_card_item_icon_margin_top">12dp</dimen> 232 <dimen name="expanding_entry_card_item_icon_margin_bottom">12dp</dimen> 233 <dimen name="expanding_entry_card_item_icon_margin_left">12dp</dimen> 234 <dimen name="expanding_entry_card_item_icon_margin_right">12dp</dimen> 235 <dimen name="expanding_entry_card_item_header_only_margin_top">6dp</dimen> 236 237 <dimen name="expanding_entry_card_badge_separator_margin">8dp</dimen> 238 <dimen name="expanding_entry_card_card_corner_radius">2dp</dimen> 239 <dimen name="expanding_entry_card_header_margin_bottom">2dp</dimen> 240 <!-- The top margin when the sub header and text views are both gone --> 241 <dimen name="expanding_entry_card_item_header_only_margin_bottom">2dp</dimen> 242 <dimen name="expanding_entry_card_item_no_icon_margin_top">6dp</dimen> 243 244 <dimen name="quickcontact_suggestion_card_icon_height">40dp</dimen> 245 <dimen name="quickcontact_suggestion_card_icon_width">40dp</dimen> 246 <dimen name="quickcontact_suggestion_card_image_spacing">20dp</dimen> 247 <dimen name="quickcontact_suggestion_card_layout_margin">8dp</dimen> 248 <dimen name="quickcontact_suggestion_card_checkbox_right_margin">16dp</dimen> 249 <dimen name="quickcontact_collapse_view_height">48dp</dimen> 250 <dimen name="quickcontact_collapse_icon_size">24dp</dimen> 251 <dimen name="quickcontact_collapse_text_padding">12dp</dimen> 252 <dimen name="quickcontact_collapse_image_padding">20dp</dimen> 253 <dimen name="quickcontact_expanding_help_text_size">14sp</dimen> 254 <dimen name="quickcontact_expanding_button_right_padding">16dp</dimen> 255 <dimen name="quickcontact_expanding_item_height">72dp</dimen> 256 <dimen name="quickcontact_expanding_item_padding">8dp</dimen> 257 <dimen name="quickcontact_expanding_item_image_padding">12dp</dimen> 258 <dimen name="quickcontact_expanding_button_section_height">48dp</dimen> 259 <dimen name="quickcontact_expanding_button_section_padding">8dp</dimen> 260 261 <!-- The width the that the tabs occupy in the ActionBar when in landscape mode. 262 426dp is the height of a "small" screen. We should leave 240dp for 263 the title and menu items --> 264 <dimen name="people_activity_landscape_tabs_width">186dip</dimen> 265 <!-- The size of the text displayed in the ActionBar tabs in landscape mode. 266 Text in the tabs should must be width dependent, otherwise it won't fit in the tabs. 267 In portrait mode, the tabs look okay when overflowing their allocated space. 268 We have to be more careful in landscape. --> 269 <dimen name="people_activity_landscape_tabs_text_size">8dp</dimen> 270 271 <dimen name="update_contact_list_top_margin">120dp</dimen> 272 273 <dimen name="expanding_entry_card_item_icon_height">24dp</dimen> 274 <dimen name="expanding_entry_card_item_icon_width">24dp</dimen> 275 276 <!-- Width of the box around a tab when the tab has focus --> 277 <dimen name="tab_focused_stroke_width">1dp</dimen> 278 279 <!-- This value should be kept at (?android:attr/listPreferredItemHeight - 280 @dimen/contact_browser_list_item_photo_size) / 2 or greater. Otherwise, this padding 281 will never take affect inside list items. As a result, the padding at the very top 282 of ListView's will not match the padding inside list items --> 283 <dimen name="contact_browser_list_item_padding_top_or_bottom">12dp</dimen> 284 285 <!-- Ideal item width in photo picker --> 286 <dimen name="photo_picker_item_ideal_width">135dp</dimen> 287 288 <!-- Margin between name field and whatever fields are above it. --> 289 <dimen name="compact_editor_name_top_margin">8dp</dimen> 290 291 <!-- Top margin for "Saving to" account header text field. --> 292 <dimen name="compact_editor_account_header_top_margin">3dp</dimen> 293 294</resources> 295