blob: 5095cddbe98dc9588a84e64dda5948b4e22d29a0 [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 Lee3cefcc62014-01-16 11:26:46 -080016-->
Chiao Cheng9d4f3b22012-09-05 16:00:16 -070017<resources>
18
Ihab Awad526c0b82014-02-27 12:55:36 -080019 <!-- Search View -->
20 <dimen name="search_text_size">14sp</dimen>
Chiao Cheng9d4f3b22012-09-05 16:00:16 -070021
Yorke Lee3cefcc62014-01-16 11:26:46 -080022 <!--
23 Drag to remove view (in dp because it is used in conjunction with a statically
24 sized icon
25 -->
26 <dimen name="remove_text_size">16dp</dimen>
27
Chiao Cheng9d4f3b22012-09-05 16:00:16 -070028 <!-- Call Log -->
29 <dimen name="call_log_call_action_size">32dip</dimen>
Tyler Gunn66106e02014-03-12 10:01:29 -070030 <dimen name="call_log_call_action_width">54dp</dimen>
Chiao Cheng9d4f3b22012-09-05 16:00:16 -070031 <dimen name="call_log_icon_margin">4dip</dimen>
32 <dimen name="call_log_inner_margin">8dip</dimen>
Yorke Lee9502a162013-07-29 19:05:20 -070033 <dimen name="call_log_outer_margin">8dip</dimen>
Chiao Cheng9d4f3b22012-09-05 16:00:16 -070034 <dimen name="call_log_indent_margin">24dip</dimen>
35 <dimen name="call_log_list_item_height">56dip</dimen>
36 <dimen name="call_log_list_contact_photo_size">64dip</dimen>
37 <dimen name="call_detail_contact_name_margin">24dip</dimen>
38 <dimen name="call_detail_button_spacing">2dip</dimen>
Tyler Gunn45ed3b52014-02-03 08:31:10 -080039 <!-- Defines the vertical margin for the vertical separator between
40 the main area of a call log entry and the secondary action button. -->
Tyler Gunn66106e02014-03-12 10:01:29 -070041 <dimen name="call_log_list_item_vertical_divider_margin">17dp</dimen>
Tyler Gunn45ed3b52014-02-03 08:31:10 -080042
43 <!-- Defines the width of the vertical separator between
44 the main area of a call log entry and the secondary action button. -->
45 <dimen name="call_log_list_item_vertical_divider_width">1dp</dimen>
Chiao Cheng9d4f3b22012-09-05 16:00:16 -070046
Yorke Lee8e2a0682013-07-30 11:14:25 -070047 <!-- Text dimensions for dialpad keys -->
Ihab Awad526c0b82014-02-27 12:55:36 -080048 <dimen name="dialpad_key_numbers_size">40sp</dimen>
49 <dimen name="dialpad_key_letters_size">13sp</dimen>
50 <dimen name="dialpad_key_star_pound_size">26sp</dimen>
51 <dimen name="dialpad_key_numbers_width">30dp</dimen>
52 <dimen name="dialpad_key_letters_width">50dp</dimen>
Yorke Lee5a60cf42014-04-30 17:00:00 -070053 <dimen name="dialpad_key_height">56sp</dimen>
Yorke Leea5d5cdf2014-04-22 17:20:00 -070054 <!-- The bottom row of the dialpad is slightly taller to account for the dial button -->
55 <dimen name="dialpad_bottom_key_height">70dp</dimen>
Ihab Awad526c0b82014-02-27 12:55:36 -080056 <dimen name="dialpad_key_plus_size">18sp</dimen>
57 <dimen name="dialpad_number_to_letters_padding">11dp</dimen>
58 <dimen name="dialpad_horizontal_padding">5dp</dimen>
Yorke Leea5d5cdf2014-04-22 17:20:00 -070059 <dimen name="dialpad_digits_text_size">33sp</dimen>
60 <dimen name="dialpad_digits_height">55dp</dimen>
Ihab Awad526c0b82014-02-27 12:55:36 -080061 <dimen name="dialpad_digits_padding">16dp</dimen>
62 <dimen name="dialpad_digits_margin_bottom">0px</dimen>
63 <dimen name="dialpad_center_margin">3dp</dimen>
64 <dimen name="dialpad_button_margin">2dp</dimen>
65 <!-- Match call_button_height to Phone's dimens/in_call_end_button_height -->
66 <dimen name="call_button_height">74dp</dimen>
67
Yorke Leecc4660d2014-04-24 11:22:57 -070068 <!-- Right margin of the floating action button -->
69 <dimen name="floating_action_button_margin_right">10dp</dimen>
Yorke Leea5d5cdf2014-04-22 17:20:00 -070070 <!-- Bottom margin of the floating action button -->
71 <dimen name="floating_action_button_margin_bottom">10dp</dimen>
Yorke Lee1be01782012-11-07 15:11:44 -080072
Yorke Lee14679932014-04-23 17:35:13 -070073 <!-- Dimensions for speed dial tiles -->
Yorke Leeee07c162014-04-09 15:04:17 -070074 <dimen name="contact_tile_divider_width">1dp</dimen>
Yorke Leed6a16d32013-07-30 08:43:12 -070075 <dimen name="contact_tile_info_button_height_and_width">36dp</dimen>
Yorke Lee765734c2014-02-10 16:09:12 -080076 <item name="contact_tile_height_to_width_ratio" type="dimen">67%</item>
Yorke Lee8165cb12014-03-12 12:07:40 -070077 <dimen name="contact_tile_text_side_padding">10dp</dimen>
Yorke Leef3db08a2014-03-18 12:03:35 -070078 <dimen name="contact_tile_text_bottom_padding">8dp</dimen>
Yorke Leeee07c162014-04-09 15:04:17 -070079 <dimen name="favorites_row_top_padding">1dp</dimen>
80 <dimen name="favorites_row_bottom_padding">0dp</dimen>
81 <dimen name="favorites_row_start_padding">1dp</dimen>
Yorke Lee14679932014-04-23 17:35:13 -070082
Yorke Leeefb2d9c2014-04-18 14:05:01 -070083 <!-- Padding from the last contact tile will provide the end padding. -->
84 <dimen name="favorites_row_end_padding">0dp</dimen>
Hongwei Wangaddd02e2013-09-05 14:21:54 -070085 <dimen name="favorites_row_undo_text_side_padding">32dp</dimen>
Yorke Lee14679932014-04-23 17:35:13 -070086
87 <!-- Dimensions for most recent call shortcut cards -->
88 <dimen name="recent_call_log_item_translation_z">5dp</dimen>
Yorke Lee481994f2013-07-23 16:53:36 -070089 <dimen name="recent_call_log_item_padding">8dp</dimen>
Yorke Lee14679932014-04-23 17:35:13 -070090
Andrew Lee099592e2014-04-18 11:33:46 -070091 <!-- Size of the star icon on the favorites tile. -->
92 <dimen name="favorites_star_icon_size">20dp</dimen>
Christine Chen1f06f0a2013-10-03 14:59:11 -070093
94 <!-- Padding for the tooltip -->
95 <dimen name="dismiss_button_padding_start">20dip</dimen>
96 <dimen name="dismiss_button_padding_end">28dip</dimen>
Tyler Gunn9a066572014-02-19 15:58:26 -080097
Tyler Gunna8ff9752014-02-24 11:57:57 -080098 <!-- Padding above the favorites menu. -->
99 <dimen name="favorites_menu_padding_top">6dp</dimen>
100 <!-- Padding below the favorites menu.. -->
101 <dimen name="favorites_menu_padding_bottom">3dp</dimen>
102 <!-- Horizontal padding in the favorites menu. -->
103 <dimen name="favorites_menu_padding_horizontal">8dp</dimen>
Tyler Gunn9a066572014-02-19 15:58:26 -0800104 <!-- Text size for the "speed dial" text in the favorites menu. -->
105 <dimen name="favorites_menu_speed_dial_text_size">18sp</dimen>
106 <!-- Height of the speed dial TextView in the favorites menu. -->
107 <dimen name="favorites_menu_speed_dial_height">24dp</dimen>
108 <!-- Text size for the "All Contacts" text in the favorites menu. -->
109 <dimen name="favorites_menu_all_contacts_text_size">12sp</dimen>
110 <!-- Height of the all contacts Button in the favorites menu. -->
111 <dimen name="favorites_menu_all_contacts_height">24dp</dimen>
Tyler Gunna8ff9752014-02-24 11:57:57 -0800112
113 <!-- Margin to the left and right of the search box. -->
114 <dimen name="search_margin_horizontal">7dp</dimen>
115 <!-- Margin above the search box. -->
Yorke Lee53a22302014-04-29 18:13:46 -0700116 <dimen name="search_top_margin">4dp</dimen>
Tyler Gunna8ff9752014-02-24 11:57:57 -0800117 <!-- Margin below the search box. -->
118 <dimen name="search_bottom_margin">4dp</dimen>
Tyler Gunna8ff9752014-02-24 11:57:57 -0800119 <!-- Search box text size -->
120 <dimen name="search_text_size">13.24sp</dimen>
121 <!-- Search box interior padding - left -->
122 <dimen name="search_box_left_padding">16dp</dimen>
123 <!-- Search box interior padding - right -->
124 <dimen name="search_box_right_padding">8dp</dimen>
125 <!-- Padding around the icon in the search box. -->
126 <dimen name="search_box_icon_padding">3dp</dimen>
127 <!-- Left margin of the text field in the search box. -->
128 <dimen name="search_box_text_left_margin">8dp</dimen>
129 <!-- Size of the icon (voice search, close search) in the search box. -->
130 <dimen name="search_box_icon_size">37dp</dimen>
131
Tyler Gunna8ff9752014-02-24 11:57:57 -0800132 <!-- Size of text in tabs. -->
Andrew Lee6a750eb2014-04-15 18:58:07 -0700133 <dimen name="tab_text_size">13sp</dimen>
Chiao Cheng9d4f3b22012-09-05 16:00:16 -0700134</resources>