• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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  <!-- Padding to be used between a visible scrollbar and the contact list -->
50  <dimen name="list_visible_scrollbar_padding">32dip</dimen>
51
52  <dimen name="contact_browser_list_header_left_margin">16dip</dimen>
53  <dimen name="contact_browser_list_header_right_margin">@dimen/list_visible_scrollbar_padding
54  </dimen>
55  <dimen name="contact_browser_list_item_text_indent">8dip</dimen>
56  <!-- Width of a contact list item section header. -->
57  <dimen name="contact_list_section_header_width">56dp</dimen>
58
59  <!-- Size of the shortcut icon. 0dip means: use the system default -->
60  <dimen name="shortcut_icon_size">0dip</dimen>
61
62  <!-- Text size of shortcut icon overlay text -->
63  <dimen name="shortcut_overlay_text_size">12dp</dimen>
64
65  <!-- Extra vertical padding for darkened background behind shortcut icon overlay text -->
66  <dimen name="shortcut_overlay_text_background_padding">1dp</dimen>
67
68  <!-- Width of height of an icon from a third-party app in the networks section of the contact card. -->
69  <dimen name="detail_network_icon_size">32dip</dimen>
70
71  <!-- Empty message margins -->
72  <dimen name="empty_message_top_margin">48dip</dimen>
73
74  <!-- contact browser list margins -->
75  <dimen name="contact_browser_list_item_text_size">16sp</dimen>
76  <dimen name="contact_browser_list_item_photo_size">40dp</dimen>
77  <dimen name="contact_browser_list_item_gap_between_image_and_text">15dp</dimen>
78  <dimen name="contact_browser_list_top_margin">12dp</dimen>
79
80  <!-- Dimensions for "No contacts" string in PhoneFavoriteFragment for the All contacts
81       with phone numbers section
82  -->
83  <dimen name="contact_phone_list_empty_description_size">20sp</dimen>
84  <dimen name="contact_phone_list_empty_description_padding">10dip</dimen>
85
86  <!-- Dimensions for contact letter tiles -->
87  <dimen name="tile_letter_font_size">40dp</dimen>
88  <dimen name="tile_letter_font_size_small">20dp</dimen>
89  <dimen name="tile_divider_width">1dp</dimen>
90  <item name="letter_to_tile_ratio" type="dimen">67%</item>
91
92  <!-- Height of the floating action button -->
93  <dimen name="floating_action_button_height">56dp</dimen>
94  <!-- Width of the floating action button -->
95  <dimen name="floating_action_button_width">56dp</dimen>
96  <!-- Z translation of the floating action button -->
97  <dimen name="floating_action_button_translation_z">8dp</dimen>
98  <!-- Padding to be applied to the bottom of lists to make space for the floating action
99       button -->
100  <dimen name="floating_action_button_list_bottom_padding">88dp</dimen>
101  <!-- Right margin of the floating action button -->
102  <dimen name="floating_action_button_margin_right">16dp</dimen>
103  <!-- Bottom margin of the floating action button -->
104  <dimen name="floating_action_button_margin_bottom">16dp</dimen>
105
106  <!-- Height of the selection indicator of a tab. -->
107  <dimen name="tab_selected_underline_height">2dp</dimen>
108  <!-- Size of text in tabs. -->
109  <dimen name="tab_text_size">14sp</dimen>
110  <dimen name="tab_elevation">2dp</dimen>
111  <dimen name="tab_unread_count_background_size">16dp</dimen>
112  <dimen name="tab_unread_count_background_radius">2dp</dimen>
113  <dimen name="tab_unread_count_margin_left">0dp</dimen>
114  <dimen name="tab_unread_count_margin_top">2dp</dimen>
115  <dimen name="tab_unread_count_text_size">12sp</dimen>
116  <dimen name="tab_unread_count_text_padding">2dp</dimen>
117
118  <!-- Padding around the icon in the search box. -->
119  <dimen name="search_box_icon_margin">4dp</dimen>
120  <!-- Size of the icon (voice search, back arrow) in the search box. -->
121  <dimen name="search_box_icon_size">48dp</dimen>
122  <!-- Size of the close icon.-->
123  <dimen name="search_box_close_icon_size">56dp</dimen>
124  <!-- Padding around the close button. It's visible size without padding is 24dp. -->
125  <dimen name="search_box_close_icon_padding">16dp</dimen>
126  <!-- Padding around back arrow icon in the search box -->
127  <dimen name="search_box_navigation_icon_margin">14dp</dimen>
128  <!-- Left margin of the text field in the search box. -->
129  <dimen name="search_box_text_left_margin">15dp</dimen>
130  <!-- Search box text size -->
131  <dimen name="search_text_size">20sp</dimen>
132
133  <!-- Top margin for the Frequently Contacted section title -->
134  <dimen name="frequently_contacted_title_top_margin_when_first_row">16dp</dimen>
135  <!-- Top margin for the Frequently Contacted section title, when the title is the first
136       item in the list -->
137  <dimen name="frequently_contacted_title_top_margin">57dp</dimen>
138
139  <dimen name="frequently_contacted_title_text_size">24sp</dimen>
140
141  <!-- Size of icon for contacts number shortcuts -->
142  <dimen name="search_shortcut_radius">40dp</dimen>
143
144  <dimen name="contact_list_card_elevation">2dp</dimen>
145
146  <!-- Padding used around the periphery of the call subject dialog, as well as in between the
147       items. -->
148  <dimen name="call_subject_dialog_margin">20dp</dimen>
149  <!-- Padding used between lines of text in the call subject dialog. -->
150  <dimen name="call_subject_dialog_between_line_margin">8dp</dimen>
151  <!-- Size of the contact photo in the call subject dialog. -->
152  <dimen name="call_subject_dialog_contact_photo_size">50dp</dimen>
153  <!-- Margin above the edit text in the call subject dialog. -->
154  <dimen name="call_subject_dialog_edit_spacing">60dp</dimen>
155  <!-- Size of primary text in the call subject dialog. -->
156  <dimen name="call_subject_dialog_primary_text_size">16sp</dimen>
157  <!-- Size of secondary text in the call subject dialog. -->
158  <dimen name="call_subject_dialog_secondary_text_size">14sp</dimen>
159  <!-- Row padding for call subject history items. -->
160  <dimen name="call_subject_history_item_padding">15dp</dimen>
161</resources>
162