1<!-- 2 ~ Copyright (C) 2012 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 17<resources> 18 19 <!-- Padding between the action bar's bottom edge and the first header 20 in contacts/group lists. --> 21 <dimen name="list_header_extra_top_padding">0dip</dimen> 22 23 <!-- Minimum height used with @drawable/list_section_divider_holo_custom. 24 Right now the drawable has implicit 32dip minimal height, which is confusing. 25 This value is for making the hidden configuration explicit in xml. --> 26 <dimen name="list_section_divider_min_height">32dip</dimen> 27 28 <dimen name="directory_header_extra_top_padding">18dp</dimen> 29 <dimen name="directory_header_extra_bottom_padding">8dp</dimen> 30 31 <!-- Horizontal padding in between contact tiles --> 32 <dimen name="contact_tile_divider_padding">23dip</dimen> 33 <!-- Horizontal whitespace (both padding and margin) before the first tile and after the last tile --> 34 <dimen name="contact_tile_start_end_whitespace">16dip</dimen> 35 36 <!-- Left and right padding for a contact detail item --> 37 <dimen name="detail_item_side_margin">16dip</dimen> 38 39 <!-- ContactTile Layouts --> 40 <!-- 41 Use sp instead of dip so that the shadowbox heights can all scale uniformly 42 when the font size is scaled for accessibility purposes 43 --> 44 <dimen name="contact_tile_shadowbox_height">48sp</dimen> 45 46 <!-- Top padding of the ListView in the contact tile list --> 47 <dimen name="contact_tile_list_padding_top">0dip</dimen> 48 49 <!-- For contact filter setting screens --> 50 <dimen name="contact_filter_left_margin">16dip</dimen> 51 <dimen name="contact_filter_right_margin">16dip</dimen> 52 <dimen name="contact_filter_item_min_height">48dip</dimen> 53 <dimen name="contact_filter_icon_size">32dip</dimen> 54 55 <!-- Padding to be used between a visible scrollbar and the contact list --> 56 <dimen name="list_visible_scrollbar_padding">32dip</dimen> 57 58 <dimen name="contact_browser_list_header_left_margin">16dip</dimen> 59 <dimen name="contact_browser_list_header_right_margin">@dimen/list_visible_scrollbar_padding</dimen> 60 <dimen name="contact_browser_list_item_text_indent">8dip</dimen> 61 <!-- Width of a contact list item section header. --> 62 <dimen name="contact_list_section_header_width">48dp</dimen> 63 64 <!-- Size of the shortcut icon. 0dip means: use the system default --> 65 <dimen name="shortcut_icon_size">0dip</dimen> 66 67 <!-- Text size of shortcut icon overlay text --> 68 <dimen name="shortcut_overlay_text_size">12dp</dimen> 69 70 <!-- Extra vertical padding for darkened background behind shortcut icon overlay text --> 71 <dimen name="shortcut_overlay_text_background_padding">1dp</dimen> 72 73 <!-- Width of height of an icon from a third-party app in the networks section of the contact card. --> 74 <dimen name="detail_network_icon_size">32dip</dimen> 75 76 <!-- Empty message margins --> 77 <dimen name="empty_message_top_margin">48dip</dimen> 78 79 <!-- contact browser list margins --> 80 <dimen name="contact_browser_list_item_text_size">16sp</dimen> 81 <dimen name="contact_browser_list_item_photo_size">40dp</dimen> 82 <dimen name="contact_browser_list_item_gap_between_image_and_text">15dp</dimen> 83 <dimen name="contact_browser_list_top_margin">12dp</dimen> 84 85 <!-- Dimensions for "No contacts" string in PhoneFavoriteFragment for the All contacts 86 with phone numbers section 87 --> 88 <dimen name="contact_phone_list_empty_description_size">20sp</dimen> 89 <dimen name="contact_phone_list_empty_description_padding">10dip</dimen> 90 91 <!-- Dimensions for contact letter tiles --> 92 <dimen name="tile_letter_font_size">40dp</dimen> 93 <dimen name="tile_letter_font_size_small">20dp</dimen> 94 <dimen name="tile_divider_width">1dp</dimen> 95 <item name="letter_to_tile_ratio" type="dimen">67%</item> 96 97 <!-- Height of the floating action button --> 98 <dimen name="floating_action_button_height">56dp</dimen> 99 <!-- Width of the floating action button --> 100 <dimen name="floating_action_button_width">56dp</dimen> 101 <!-- Corner radius of the floating action button --> 102 <dimen name="floating_action_button_radius">28dp</dimen> 103 <!-- Z translation of the floating action button --> 104 <dimen name="floating_action_button_translation_z">8dp</dimen> 105 <!-- Padding to be applied to the bottom of lists to make space for the floating action 106 button --> 107 <dimen name="floating_action_button_list_bottom_padding">88dp</dimen> 108 <!-- Right margin of the floating action button --> 109 <dimen name="floating_action_button_margin_right">16dp</dimen> 110 <!-- Bottom margin of the floating action button --> 111 <dimen name="floating_action_button_margin_bottom">16dp</dimen> 112 <!-- Offset of bottom margin of the floating action button used when dialpad is up --> 113 <dimen name="floating_action_button_dialpad_margin_bottom_offset">4dp</dimen> 114 115 <!-- Height of the selection indicator of a tab. --> 116 <dimen name="tab_selected_underline_height">2dp</dimen> 117 <!-- Size of text in tabs. --> 118 <dimen name="tab_text_size">14sp</dimen> 119 <dimen name="tab_elevation">2dp</dimen> 120 <dimen name="tab_unread_count_background_size">16dp</dimen> 121 <dimen name="tab_unread_count_background_radius">2dp</dimen> 122 <dimen name="tab_unread_count_margin_left">10dp</dimen> 123 <dimen name="tab_unread_count_margin_top">2dp</dimen> 124 <dimen name="tab_unread_count_text_size">12sp</dimen> 125 <dimen name="tab_unread_count_text_padding">2dp</dimen> 126 127 <!-- Padding around the icon in the search box. --> 128 <dimen name="search_box_icon_margin">4dp</dimen> 129 <!-- Size of the icon (voice search, back arrow) in the search box. --> 130 <dimen name="search_box_icon_size">36dp</dimen> 131 <!-- Size of the close icon.--> 132 <dimen name="search_box_close_icon_size">56dp</dimen> 133 <!-- Padding around the close button. It's visible size without padding is 24dp. --> 134 <dimen name="search_box_close_icon_padding">16dp</dimen> 135 <!-- Padding around back arrow icon in the search box --> 136 <dimen name="search_box_navigation_icon_margin">14dp</dimen> 137 <!-- Left margin of the text field in the search box. --> 138 <dimen name="search_box_text_left_margin">15dp</dimen> 139 <!-- Search box text size --> 140 <dimen name="search_text_size">20sp</dimen> 141 142 <!-- Top margin for the Frequently Contacted section title --> 143 <dimen name="frequently_contacted_title_top_margin_when_first_row">16dp</dimen> 144 <!-- Top margin for the Frequently Contacted section title, when the title is the first 145 item in the list --> 146 <dimen name="frequently_contacted_title_top_margin">57dp</dimen> 147 148 <dimen name="frequently_contacted_title_text_size">24sp</dimen> 149 150 <!-- Size of icon for contacts number shortcuts --> 151 <dimen name="search_shortcut_radius">40dp</dimen> 152 153 <dimen name="contact_list_card_elevation">2dp</dimen> 154 155 <!-- Padding used around the periphery of the call subject dialog, as well as in between the 156 items. --> 157 <dimen name="call_subject_dialog_margin">20dp</dimen> 158 <!-- Padding used between lines of text in the call subject dialog. --> 159 <dimen name="call_subject_dialog_between_line_margin">8dp</dimen> 160 <!-- Size of the contact photo in the call subject dialog. --> 161 <dimen name="call_subject_dialog_contact_photo_size">50dp</dimen> 162 <!-- Margin above the edit text in the call subject dialog. --> 163 <dimen name="call_subject_dialog_edit_spacing">60dp</dimen> 164 <!-- Size of primary text in the call subject dialog. --> 165 <dimen name="call_subject_dialog_primary_text_size">16sp</dimen> 166 <!-- Size of secondary text in the call subject dialog. --> 167 <dimen name="call_subject_dialog_secondary_text_size">14sp</dimen> 168 <!-- Row padding for call subject history items. --> 169 <dimen name="call_subject_history_item_padding">15dp</dimen> 170</resources> 171