summaryrefslogtreecommitdiffstats
path: root/res/values/dimens.xml
blob: 8c41d2a6a179c40acd57ed5af118533426dd7993 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
<!--
  ~ Copyright (C) 2012 The Android Open Source Project
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~      http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License
  -->

<resources>

    <!-- Padding between the action bar's bottom edge and the first header
         in contacts/group lists. -->
    <dimen name="list_header_extra_top_padding">0dip</dimen>

    <!-- Minimum height used with @drawable/list_section_divider_holo_custom.
         Right now the drawable has implicit 32dip minimal height, which is confusing.
         This value is for making the hidden configuration explicit in xml. -->
    <dimen name="list_section_divider_min_height">32dip</dimen>

    <!--  Horizontal padding in between contact tiles -->
    <dimen name="contact_tile_divider_padding">23dip</dimen>
    <!--  Horizontal padding before the first tile and after the last tile -->
    <dimen name="contact_tile_start_end_padding">16dip</dimen>

    <!-- Left and right padding for a contact detail item -->
    <dimen name="detail_item_side_margin">16dip</dimen>

    <!-- ContactTile Layouts -->
    <!--
      Use sp instead of dip so that the shadowbox heights can all scale uniformly
      when the font size is scaled for accessibility purposes
    -->
    <dimen name="contact_tile_shadowbox_height">48sp</dimen>

    <!-- Top padding of the ListView in the contact tile list -->
    <dimen name="contact_tile_list_padding_top">0dip</dimen>

    <!-- For contact filter setting screens -->
    <dimen name="contact_filter_left_margin">16dip</dimen>
    <dimen name="contact_filter_right_margin">16dip</dimen>
    <dimen name="contact_filter_item_min_height">48dip</dimen>
    <dimen name="contact_filter_icon_size">32dip</dimen>

    <!-- Padding to be used between a visible scrollbar and the contact list -->
    <dimen name="list_visible_scrollbar_padding">32dip</dimen>

    <dimen name="contact_browser_list_header_left_margin">16dip</dimen>
    <dimen name="contact_browser_list_header_right_margin">@dimen/list_visible_scrollbar_padding</dimen>
    <dimen name="contact_browser_list_item_text_indent">8dip</dimen>
    <!-- Width of a contact list item section header. -->
    <dimen name="contact_list_section_header_width">48dp</dimen>

    <!-- Size of the shortcut icon. 0dip means: use the system default -->
    <dimen name="shortcut_icon_size">0dip</dimen>

    <!-- Width of darkened border for shortcut icon -->
    <dimen name="shortcut_icon_border_width">1dp</dimen>

    <!-- Text size of shortcut icon overlay text -->
    <dimen name="shortcut_overlay_text_size">12dp</dimen>

    <!-- Extra vertical padding for darkened background behind shortcut icon overlay text -->
    <dimen name="shortcut_overlay_text_background_padding">1dp</dimen>

    <!-- Width of height of an icon from a third-party app in the networks section of the contact card. -->
    <dimen name="detail_network_icon_size">32dip</dimen>

    <!-- Empty message margins -->
    <dimen name="empty_message_top_margin">48dip</dimen>

    <!-- contact browser list margins -->
    <dimen name="contact_browser_list_item_text_size">16sp</dimen>
    <dimen name="contact_browser_list_item_photo_size">40dp</dimen>
    <dimen name="contact_browser_list_top_margin">12dp</dimen>

    <!-- Dimensions for "No contacts" string in PhoneFavoriteFragment for the All contacts
         with phone numbers section
    -->
    <dimen name="contact_phone_list_empty_description_size">20sp</dimen>
    <dimen name="contact_phone_list_empty_description_padding">10dip</dimen>

    <!-- Dimensions for contact letter tiles -->
    <dimen name="tile_letter_font_size">40dp</dimen>
    <dimen name="tile_letter_font_size_small">20dp</dimen>
    <dimen name="tile_divider_width">1dp</dimen>
    <item name="letter_to_tile_ratio" type="dimen">67%</item>

    <!-- Height of the floating action button -->
    <dimen name="floating_action_button_height">56dp</dimen>
    <!-- Width of the floating action button -->
    <dimen name="floating_action_button_width">56dp</dimen>
    <!-- Corner radius of the floating action button -->
    <dimen name="floating_action_button_radius">28dp</dimen>
    <!-- Z translation of the floating action button -->
    <dimen name="floating_action_button_translation_z">3dp</dimen>
    <!-- Padding to be applied to the bottom of lists to make space for the floating action
         button -->
    <dimen name="floating_action_button_list_bottom_padding">88dp</dimen>
    <!-- Right margin of the floating action button -->
    <dimen name="floating_action_button_margin_right">16dp</dimen>
    <!-- Bottom margin of the floating action button -->
    <dimen name="floating_action_button_margin_bottom">16dp</dimen>
    <!-- Offset of bottom margin of the floating action button used when dialpad is up -->
    <dimen name="floating_action_button_dialpad_margin_bottom_offset">4dp</dimen>

    <!-- Height of the selection indicator of a tab. -->
    <dimen name="tab_selected_underline_height">3dp</dimen>
    <dimen name="tab_selected_underline_height_negative">-3dp</dimen>
    <!-- Size of text in tabs. -->
    <dimen name="tab_text_size">14sp</dimen>

    <!-- Text dimensions for dialpad keys -->
    <dimen name="dialpad_key_numbers_size">36sp</dimen>
    <dimen name="dialpad_key_letters_size">8sp</dimen>
    <dimen name="dialpad_key_pound_size">23sp</dimen>
    <dimen name="dialpad_key_star_size">28sp</dimen>
    <dimen name="dialpad_key_height">64dp</dimen>
    <dimen name="dialpad_key_number_margin_bottom">2dp</dimen>
    <dimen name="dialpad_symbol_margin_bottom">13dp</dimen>
    <!-- The bottom row of the dialpad is slightly taller to account for the dial button -->
    <dimen name="dialpad_bottom_key_height">65dp</dimen>
    <dimen name="dialpad_key_plus_size">18sp</dimen>
    <dimen name="dialpad_horizontal_padding">5dp</dimen>
    <dimen name="dialpad_digits_text_size">36dp</dimen>
    <dimen name="dialpad_digits_height">64dp</dimen>
    <dimen name="dialpad_digits_padding">16dp</dimen>
    <dimen name="dialpad_digits_menu_right_padding">10dp</dimen>
    <dimen name="dialpad_center_margin">3dp</dimen>
    <dimen name="dialpad_button_margin">2dp</dimen>
    <dimen name="dialpad_voicemail_icon_padding_top">2dp</dimen>


    <dimen name="dialpad_key_button_translate_y">100dp</dimen>

    <!-- Padding around the icon in the search box. -->
    <dimen name="search_box_icon_margin">4dp</dimen>
    <!-- Size of the icon (voice search, close search) in the search box. -->
    <dimen name="search_box_icon_size">28dp</dimen>
    <!-- Left margin of the text field in the search box. -->
    <dimen name="search_box_text_left_margin">27dp</dimen>
    <!-- Search box text size -->
    <dimen name="search_text_size">20sp</dimen>
</resources>