summaryrefslogtreecommitdiff
path: root/java/com/android/contacts/common/res/values/dimens.xml
blob: 1ad9b30b03f8f5ae2a2584bf11a7d43cc6f0cd01 (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
<!--
  ~ 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 xmlns:tools="http://schemas.android.com/tools">

  <!-- 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>

  <dimen name="directory_header_extra_top_padding">18dp</dimen>
  <dimen name="directory_header_extra_bottom_padding">8dp</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">56dp</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_item_gap_between_image_and_text">15dp</dimen>

  <!-- 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>
  <!-- Z translation of the floating action button -->
  <dimen name="floating_action_button_translation_z">8dp</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>

  <!-- Height of the selection indicator of a tab. -->
  <dimen name="tab_selected_underline_height">2dp</dimen>
  <!-- Size of text in tabs. -->
  <dimen name="tab_text_size">14sp</dimen>
  <dimen name="tab_elevation">0dp</dimen>
  <dimen name="tab_unread_count_background_size">16dp</dimen>
  <dimen name="tab_unread_count_background_radius">2dp</dimen>
  <dimen name="tab_unread_count_margin_left">0dp</dimen>
  <dimen name="tab_unread_count_margin_top">2dp</dimen>
  <dimen name="tab_unread_count_text_size">12sp</dimen>
  <dimen name="tab_unread_count_text_padding">2dp</dimen>

  <!-- Size of the icon (voice search, back arrow) in the search box. -->
  <dimen name="search_box_icon_size">48dp</dimen>
  <!-- Size of the close icon.-->
  <dimen name="search_box_close_icon_size">56dp</dimen>
  <!-- Padding around the close button. It's visible size without padding is 24dp. -->
  <dimen name="search_box_close_icon_padding">16dp</dimen>
  <!-- Padding around back arrow icon in the search box -->
  <dimen name="search_box_navigation_icon_margin">14dp</dimen>
  <!-- Left margin of the text field in the search box. -->
  <dimen name="search_box_text_left_margin">15dp</dimen>
  <!-- Search box text size -->
  <dimen name="search_text_size">16sp</dimen>

  <dimen name="contact_list_card_elevation">2dp</dimen>

  <!-- Padding used around the periphery of the call subject dialog, as well as in between the
       items. -->
  <dimen name="call_subject_dialog_margin">20dp</dimen>
  <!-- Padding used between lines of text in the call subject dialog. -->
  <dimen name="call_subject_dialog_between_line_margin">8dp</dimen>
  <!-- Size of the contact photo in the call subject dialog. -->
  <dimen name="call_subject_dialog_contact_photo_size">50dp</dimen>
  <!-- Margin above the edit text in the call subject dialog. -->
  <dimen name="call_subject_dialog_edit_spacing">60dp</dimen>
  <!-- Size of primary text in the call subject dialog. -->
  <dimen name="call_subject_dialog_primary_text_size">16sp</dimen>
  <!-- Size of secondary text in the call subject dialog. -->
  <dimen name="call_subject_dialog_secondary_text_size">14sp</dimen>
  <!-- Row padding for call subject history items. -->
  <dimen name="call_subject_history_item_padding">15dp</dimen>
</resources>