blob: 24ee2e03753a502010993358042bde208e6db712 [file] [log] [blame]
Chiao Cheng9d4f3b22012-09-05 16:00:16 -07001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 ~ Copyright (C) 2012 The Android Open Source Project
4 ~
5 ~ Licensed under the Apache License, Version 2.0 (the "License");
6 ~ you may not use this file except in compliance with the License.
7 ~ You may obtain a copy of the License at
8 ~
9 ~ http://www.apache.org/licenses/LICENSE-2.0
10 ~
11 ~ Unless required by applicable law or agreed to in writing, software
12 ~ distributed under the License is distributed on an "AS IS" BASIS,
13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 ~ See the License for the specific language governing permissions and
15 ~ limitations under the License
Yorke Leed5b5d0a2014-01-16 11:26:46 -080016-->
Chiao Cheng9d4f3b22012-09-05 16:00:16 -070017<resources>
18
19 <!-- Height of edit text in dialpad fragment -->
20 <dimen name="dialpad_horizontal_margin">0dip</dimen>
21 <dimen name="dialpad_vertical_margin">2dip</dimen>
22 <dimen name="dialpad_digits_text_size">35sp</dimen>
23
24 <!-- Just used in landscape mode -->
25 <dimen name="dialpad_digits_height">0px</dimen>
26 <dimen name="dialpad_digits_margin_bottom">0px</dimen>
27 <dimen name="dialpad_center_margin">3dp</dimen>
28 <dimen name="dialpad_button_margin">2dp</dimen>
29 <!-- Match call_button_height to Phone's dimens/in_call_end_button_height -->
30 <dimen name="call_button_height">74dp</dimen>
31
Yorke Leed5b5d0a2014-01-16 11:26:46 -080032 <!--
33 Drag to remove view (in dp because it is used in conjunction with a statically
34 sized icon
35 -->
36 <dimen name="remove_text_size">16dp</dimen>
37
Chiao Cheng9d4f3b22012-09-05 16:00:16 -070038 <!-- Call Log -->
39 <dimen name="call_log_call_action_size">32dip</dimen>
40 <dimen name="call_log_call_action_width">48dip</dimen>
41 <dimen name="call_log_icon_margin">4dip</dimen>
42 <dimen name="call_log_inner_margin">8dip</dimen>
Yorke Lee9502a162013-07-29 19:05:20 -070043 <dimen name="call_log_outer_margin">8dip</dimen>
Chiao Cheng9d4f3b22012-09-05 16:00:16 -070044 <dimen name="call_log_indent_margin">24dip</dimen>
45 <dimen name="call_log_list_item_height">56dip</dimen>
46 <dimen name="call_log_list_contact_photo_size">64dip</dimen>
47 <dimen name="call_detail_contact_name_margin">24dip</dimen>
48 <dimen name="call_detail_button_spacing">2dip</dimen>
Tyler Gunn27c57f52014-02-03 08:31:10 -080049 <!-- Defines the vertical margin for the vertical separator between
50 the main area of a call log entry and the secondary action button. -->
51 <dimen name="call_log_list_item_vertical_divider_margin">8dp</dimen>
52
53 <!-- Defines the width of the vertical separator between
54 the main area of a call log entry and the secondary action button. -->
55 <dimen name="call_log_list_item_vertical_divider_width">1dp</dimen>
Chiao Cheng9d4f3b22012-09-05 16:00:16 -070056
Yorke Leed5b5d0a2014-01-16 11:26:46 -080057 <!--
58 Layout weight values for dialpad screen. These layouts will be used in one
Chiao Cheng9d4f3b22012-09-05 16:00:16 -070059 LinearLayout (dialpad_fragment.xml), configuring dialpad screen's vertical
Yorke Leed5b5d0a2014-01-16 11:26:46 -080060 ratio.
61 -->
Yorke Lee85c09462013-10-07 17:30:49 -070062 <integer name="dialpad_layout_weight_digits">15</integer>
Chiao Cheng9d4f3b22012-09-05 16:00:16 -070063 <integer name="dialpad_layout_weight_dialpad">65</integer>
Chiao Cheng9d4f3b22012-09-05 16:00:16 -070064
Yorke Lee8e2a0682013-07-30 11:14:25 -070065 <!-- Text dimensions for dialpad keys -->
66 <dimen name="dialpad_key_numbers_size">40dp</dimen>
67 <dimen name="dialpad_key_letters_size">11dp</dimen>
Yorke Lee77840872013-09-06 12:08:08 -070068 <dimen name="dialpad_key_plus_size">15dp</dimen>
Yorke Lee8e2a0682013-07-30 11:14:25 -070069 <dimen name="dialpad_key_special_characters_size">25dp</dimen>
Yorke Lee77840872013-09-06 12:08:08 -070070 <dimen name="dialpad_key_letters_width">41dp</dimen>
Yorke Lee85c09462013-10-07 17:30:49 -070071 <dimen name="fake_action_bar_height">60dp</dimen>
Chiao Cheng9d4f3b22012-09-05 16:00:16 -070072 <!-- Min with of fake menu buttons, which should be same as ActionBar's one -->
Yorke Lee714d6c72013-07-26 16:11:39 -070073 <dimen name="fake_menu_button_min_width">56dp</dimen>
Yorke Lee1be01782012-11-07 15:11:44 -080074
Yorke Lee481994f2013-07-23 16:53:36 -070075 <!-- Favorites tile and recent call log padding -->
Yorke Lee3ce60182014-02-10 16:09:12 -080076 <dimen name="contact_tile_divider_width">12dp</dimen>
Yorke Leed5b5d0a2014-01-16 11:26:46 -080077 <!-- Favorites tile and recent call log padding -->
78 <dimen name="contact_tile_divider_padding">3dp</dimen>
Yorke Leed6a16d32013-07-30 08:43:12 -070079 <dimen name="contact_tile_info_button_height_and_width">36dp</dimen>
Yorke Lee3ce60182014-02-10 16:09:12 -080080 <item name="contact_tile_height_to_width_ratio" type="dimen">67%</item>
81 <dimen name="favorites_row_top_padding">6dp</dimen>
82 <dimen name="favorites_row_bottom_padding">6dp</dimen>
Yorke Leed9999322013-07-19 09:22:03 -070083 <dimen name="favorites_row_start_padding">8dp</dimen>
84 <dimen name="favorites_row_end_padding">8dp</dimen>
Hongwei Wangaddd02e2013-09-05 14:21:54 -070085 <dimen name="favorites_row_undo_text_side_padding">32dp</dimen>
Yorke Lee481994f2013-07-23 16:53:36 -070086 <dimen name="recent_call_log_item_padding">8dp</dimen>
Christine Chen1f06f0a2013-10-03 14:59:11 -070087
88 <!-- Padding for the tooltip -->
89 <dimen name="dismiss_button_padding_start">20dip</dimen>
90 <dimen name="dismiss_button_padding_end">28dip</dimen>
Tyler Gunn1a31e342014-02-19 15:58:26 -080091
Tyler Gunnf2e6bb62014-02-24 11:57:57 -080092 <!-- Padding above the favorites menu. -->
93 <dimen name="favorites_menu_padding_top">6dp</dimen>
94 <!-- Padding below the favorites menu.. -->
95 <dimen name="favorites_menu_padding_bottom">3dp</dimen>
96 <!-- Horizontal padding in the favorites menu. -->
97 <dimen name="favorites_menu_padding_horizontal">8dp</dimen>
Tyler Gunn1a31e342014-02-19 15:58:26 -080098 <!-- Text size for the "speed dial" text in the favorites menu. -->
99 <dimen name="favorites_menu_speed_dial_text_size">18sp</dimen>
100 <!-- Height of the speed dial TextView in the favorites menu. -->
101 <dimen name="favorites_menu_speed_dial_height">24dp</dimen>
102 <!-- Text size for the "All Contacts" text in the favorites menu. -->
103 <dimen name="favorites_menu_all_contacts_text_size">12sp</dimen>
104 <!-- Height of the all contacts Button in the favorites menu. -->
105 <dimen name="favorites_menu_all_contacts_height">24dp</dimen>
Tyler Gunnf2e6bb62014-02-24 11:57:57 -0800106
107 <!-- Margin to the left and right of the search box. -->
108 <dimen name="search_margin_horizontal">7dp</dimen>
109 <!-- Margin above the search box. -->
110 <dimen name="search_top_margin">10dp</dimen>
111 <!-- Margin below the search box. -->
112 <dimen name="search_bottom_margin">4dp</dimen>
113 <!-- Height of the search box. -->
114 <dimen name="search_box_height">41dp</dimen>
115 <!-- Search box text size -->
116 <dimen name="search_text_size">13.24sp</dimen>
117 <!-- Search box interior padding - left -->
118 <dimen name="search_box_left_padding">16dp</dimen>
119 <!-- Search box interior padding - right -->
120 <dimen name="search_box_right_padding">8dp</dimen>
121 <!-- Padding around the icon in the search box. -->
122 <dimen name="search_box_icon_padding">3dp</dimen>
123 <!-- Left margin of the text field in the search box. -->
124 <dimen name="search_box_text_left_margin">8dp</dimen>
125 <!-- Size of the icon (voice search, close search) in the search box. -->
126 <dimen name="search_box_icon_size">37dp</dimen>
127
128 <!-- Height of the underline of a tab. -->
129 <dimen name="tab_underline_height">2dp</dimen>
130 <!-- Height of the selection indicator of a tab. -->
131 <dimen name="tab_selection_height">7.7dp</dimen>
132 <!-- Padding above and below the divider line of a tab. -->
133 <dimen name="tab_divider_padding">12dp</dimen>
134 <!-- Size of text in tabs. -->
135 <dimen name="tab_text_size">12sp</dimen>
Chiao Cheng9d4f3b22012-09-05 16:00:16 -0700136</resources>