summaryrefslogtreecommitdiffstats
path: root/res/values/dimens.xml
blob: fb74e97485eaa4adad900db78ef3f74081d3209e (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
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ 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>

    <!-- Height of edit text in dialpad fragment -->
    <dimen name="dialpad_horizontal_margin">0dip</dimen>
    <dimen name="dialpad_vertical_margin">2dip</dimen>
    <dimen name="dialpad_digits_text_size">35sp</dimen>

    <!-- Just used in landscape mode -->
    <dimen name="dialpad_digits_height">0px</dimen>
    <dimen name="dialpad_digits_margin_bottom">0px</dimen>
    <dimen name="dialpad_center_margin">3dp</dimen>
    <dimen name="dialpad_button_margin">2dp</dimen>
    <!-- Match call_button_height to Phone's dimens/in_call_end_button_height -->
    <dimen name="call_button_height">74dp</dimen>

    <!-- Search View -->
    <dimen name="search_text_size">14sp</dimen>

    <!--
          Drag to remove view (in dp because it is used in conjunction with a statically
          sized icon
    -->
    <dimen name="remove_text_size">16dp</dimen>

    <!-- Call Log -->
    <dimen name="call_log_call_action_size">32dip</dimen>
    <dimen name="call_log_call_action_width">48dip</dimen>
    <dimen name="call_log_icon_margin">4dip</dimen>
    <dimen name="call_log_inner_margin">8dip</dimen>
    <dimen name="call_log_outer_margin">8dip</dimen>
    <dimen name="call_log_indent_margin">24dip</dimen>
    <dimen name="call_log_list_item_height">56dip</dimen>
    <dimen name="call_log_list_contact_photo_size">64dip</dimen>
    <dimen name="call_detail_contact_name_margin">24dip</dimen>
    <dimen name="call_detail_button_spacing">2dip</dimen>
    <!-- Defines the vertical margin for the vertical separator between
         the main area of a call log entry and the secondary action button. -->
    <dimen name="call_log_list_item_vertical_divider_margin">8dp</dimen>

    <!-- Defines the width of the vertical separator between
         the main area of a call log entry and the secondary action button. -->
    <dimen name="call_log_list_item_vertical_divider_width">1dp</dimen>

    <!--
         Layout weight values for dialpad screen. These layouts will be used in one
         LinearLayout (dialpad_fragment.xml), configuring dialpad screen's vertical
         ratio.
    -->
    <integer name="dialpad_layout_weight_digits">15</integer>
    <integer name="dialpad_layout_weight_dialpad">65</integer>

    <!-- Text dimensions for dialpad keys -->
    <dimen name="dialpad_key_numbers_size">40dp</dimen>
    <dimen name="dialpad_key_letters_size">11dp</dimen>
    <dimen name="dialpad_key_plus_size">15dp</dimen>
    <dimen name="dialpad_key_special_characters_size">25dp</dimen>
    <dimen name="dialpad_key_letters_width">41dp</dimen>
    <dimen name="fake_action_bar_height">60dp</dimen>
    <!-- Min with of fake menu buttons, which should be same as ActionBar's one -->
    <dimen name="fake_menu_button_min_width">56dp</dimen>

    <!--  Favorites tile and recent call log padding -->
    <dimen name="contact_tile_divider_width">12dp</dimen>
    <!-- Favorites tile and recent call log padding -->
    <dimen name="contact_tile_divider_padding">3dp</dimen>
    <dimen name="contact_tile_info_button_height_and_width">36dp</dimen>
    <item name="contact_tile_height_to_width_ratio" type="dimen">67%</item>
    <dimen name="favorites_row_top_padding">6dp</dimen>
    <dimen name="favorites_row_bottom_padding">6dp</dimen>
    <dimen name="favorites_row_start_padding">8dp</dimen>
    <dimen name="favorites_row_end_padding">8dp</dimen>
    <dimen name="favorites_row_undo_text_side_padding">32dp</dimen>
    <dimen name="recent_call_log_item_padding">8dp</dimen>

    <!-- Padding for the tooltip -->
    <dimen name="dismiss_button_padding_start">20dip</dimen>
    <dimen name="dismiss_button_padding_end">28dip</dimen>

    <!-- Margin around the favorites menu. -->
    <dimen name="favorites_menu_margin">6dp</dimen>
    <!-- Padding within the favorites menu. -->
    <dimen name="favorites_menu_padding">4dp</dimen>
    <!-- Text size for the "speed dial" text in the favorites menu. -->
    <dimen name="favorites_menu_speed_dial_text_size">18sp</dimen>
    <!-- Height of the speed dial TextView in the favorites menu. -->
    <dimen name="favorites_menu_speed_dial_height">24dp</dimen>
    <!-- Text size for the "All Contacts" text in the favorites menu. -->
    <dimen name="favorites_menu_all_contacts_text_size">12sp</dimen>
    <!-- Height of the all contacts Button in the favorites menu. -->
    <dimen name="favorites_menu_all_contacts_height">24dp</dimen>
</resources>