blob: adf0fda424559fb1fe33ce8dcaba409edb5c8427 [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>
Andrew Lee13f6fd02014-05-21 18:05:56 -070033 <dimen name="call_log_outer_margin">8dp</dimen>
Tyler Gunnf3f706a2014-05-22 16:36:14 -070034 <dimen name="call_log_start_margin">16dp</dimen>
Chiao Cheng9d4f3b22012-09-05 16:00:16 -070035 <dimen name="call_log_indent_margin">24dip</dimen>
Andrew Leec987e002014-05-29 13:07:53 -070036 <dimen name="call_log_name_margin_bottom">2dp</dimen>
Chiao Cheng9d4f3b22012-09-05 16:00:16 -070037 <dimen name="call_log_list_item_height">56dip</dimen>
Tyler Gunn146a4cd2014-05-05 16:51:42 -070038 <dimen name="call_log_list_contact_photo_size">40dip</dimen>
Chiao Cheng9d4f3b22012-09-05 16:00:16 -070039 <dimen name="call_detail_contact_name_margin">24dip</dimen>
40 <dimen name="call_detail_button_spacing">2dip</dimen>
41
Ihab Awad526c0b82014-02-27 12:55:36 -080042 <!-- Match call_button_height to Phone's dimens/in_call_end_button_height -->
43 <dimen name="call_button_height">74dp</dimen>
44
Yorke Leecc4660d2014-04-24 11:22:57 -070045 <!-- Right margin of the floating action button -->
Yorke Lee781ee242014-05-22 16:11:25 -070046 <dimen name="floating_action_button_margin_right">16dp</dimen>
Yorke Leea5d5cdf2014-04-22 17:20:00 -070047 <!-- Bottom margin of the floating action button -->
Yorke Lee781ee242014-05-22 16:11:25 -070048 <dimen name="floating_action_button_margin_bottom">16dp</dimen>
Andrew Lee2423a2f2014-05-29 14:14:45 -070049 <dimen name="floating_action_button_dialpad_margin_bottom">12dp</dimen>
Yorke Lee1be01782012-11-07 15:11:44 -080050
Yorke Lee14679932014-04-23 17:35:13 -070051 <!-- Dimensions for speed dial tiles -->
Yorke Leeee07c162014-04-09 15:04:17 -070052 <dimen name="contact_tile_divider_width">1dp</dimen>
Yorke Leed6a16d32013-07-30 08:43:12 -070053 <dimen name="contact_tile_info_button_height_and_width">36dp</dimen>
Andrew Lee06677262014-05-30 10:49:49 -070054 <item name="contact_tile_height_to_width_ratio" type="dimen">80%</item>
55 <dimen name="contact_tile_text_side_padding">12dp</dimen>
56 <dimen name="contact_tile_text_bottom_padding">9dp</dimen>
Yorke Leeee07c162014-04-09 15:04:17 -070057 <dimen name="favorites_row_top_padding">1dp</dimen>
58 <dimen name="favorites_row_bottom_padding">0dp</dimen>
59 <dimen name="favorites_row_start_padding">1dp</dimen>
Yorke Lee14679932014-04-23 17:35:13 -070060
Yorke Leeefb2d9c2014-04-18 14:05:01 -070061 <!-- Padding from the last contact tile will provide the end padding. -->
62 <dimen name="favorites_row_end_padding">0dp</dimen>
Hongwei Wangaddd02e2013-09-05 14:21:54 -070063 <dimen name="favorites_row_undo_text_side_padding">32dp</dimen>
Yorke Lee14679932014-04-23 17:35:13 -070064
65 <!-- Dimensions for most recent call shortcut cards -->
Yorke Lee9ada1572014-05-27 12:48:44 -070066 <dimen name="recent_call_log_item_translation_z">4dp</dimen>
Andrew Lee955393b2014-05-29 12:38:19 -070067 <dimen name="recent_call_log_item_margin">8dp</dimen>
68 <dimen name="recent_call_log_item_margin_bottom">6dp</dimen>
69
Yorke Lee649fc772014-05-22 18:03:17 -070070 <!-- The maximum amount to clip on the left and right of the recent call shortcut card -->
71 <dimen name="recent_call_log_item_horizontal_clip_limit">20dp</dimen>
Andrew Lee955393b2014-05-29 12:38:19 -070072 <dimen name="recent_call_log_item_padding_start">8dp</dimen>
73 <dimen name="recent_call_log_item_padding_bottom">7dp</dimen>
Yorke Lee14679932014-04-23 17:35:13 -070074
Andrew Lee099592e2014-04-18 11:33:46 -070075 <!-- Size of the star icon on the favorites tile. -->
Andrew Leea1c4ed42014-05-13 12:31:30 -070076 <dimen name="favorites_star_icon_size">12dp</dimen>
Christine Chen1f06f0a2013-10-03 14:59:11 -070077
78 <!-- Padding for the tooltip -->
79 <dimen name="dismiss_button_padding_start">20dip</dimen>
80 <dimen name="dismiss_button_padding_end">28dip</dimen>
Tyler Gunn9a066572014-02-19 15:58:26 -080081
Tyler Gunna8ff9752014-02-24 11:57:57 -080082 <!-- Padding above the favorites menu. -->
83 <dimen name="favorites_menu_padding_top">6dp</dimen>
84 <!-- Padding below the favorites menu.. -->
85 <dimen name="favorites_menu_padding_bottom">3dp</dimen>
86 <!-- Horizontal padding in the favorites menu. -->
87 <dimen name="favorites_menu_padding_horizontal">8dp</dimen>
Tyler Gunn9a066572014-02-19 15:58:26 -080088 <!-- Text size for the "speed dial" text in the favorites menu. -->
89 <dimen name="favorites_menu_speed_dial_text_size">18sp</dimen>
90 <!-- Height of the speed dial TextView in the favorites menu. -->
91 <dimen name="favorites_menu_speed_dial_height">24dp</dimen>
92 <!-- Text size for the "All Contacts" text in the favorites menu. -->
93 <dimen name="favorites_menu_all_contacts_text_size">12sp</dimen>
94 <!-- Height of the all contacts Button in the favorites menu. -->
95 <dimen name="favorites_menu_all_contacts_height">24dp</dimen>
Tyler Gunna8ff9752014-02-24 11:57:57 -080096
Yorke Lee3443d4a2014-05-23 19:30:35 -070097 <!-- Height of the actionBar - this is 8dps bigger than the platform standard to give more
98 room to the search box-->
99 <dimen name="action_bar_height">64dp</dimen>
100
Tyler Gunna8ff9752014-02-24 11:57:57 -0800101 <!-- Margin to the left and right of the search box. -->
102 <dimen name="search_margin_horizontal">7dp</dimen>
103 <!-- Margin above the search box. -->
Yorke Lee3443d4a2014-05-23 19:30:35 -0700104 <dimen name="search_top_margin">8dp</dimen>
Tyler Gunna8ff9752014-02-24 11:57:57 -0800105 <!-- Margin below the search box. -->
Yorke Lee3443d4a2014-05-23 19:30:35 -0700106 <dimen name="search_bottom_margin">8dp</dimen>
Tyler Gunna8ff9752014-02-24 11:57:57 -0800107 <!-- Search box text size -->
108 <dimen name="search_text_size">13.24sp</dimen>
109 <!-- Search box interior padding - left -->
Andrew Leed4cde832014-05-16 15:56:48 -0700110 <dimen name="search_box_left_padding">8dp</dimen>
Tyler Gunna8ff9752014-02-24 11:57:57 -0800111 <!-- Search box interior padding - right -->
112 <dimen name="search_box_right_padding">8dp</dimen>
113 <!-- Padding around the icon in the search box. -->
Andrew Leed4cde832014-05-16 15:56:48 -0700114 <dimen name="search_box_icon_margin">4dp</dimen>
115 <dimen name="search_box_search_icon_padding">4dp</dimen>
Tyler Gunna8ff9752014-02-24 11:57:57 -0800116 <!-- Left margin of the text field in the search box. -->
117 <dimen name="search_box_text_left_margin">8dp</dimen>
118 <!-- Size of the icon (voice search, close search) in the search box. -->
Andrew Leed4cde832014-05-16 15:56:48 -0700119 <dimen name="search_box_icon_size">28dp</dimen>
Yorke Lee75862682014-05-19 14:02:33 -0700120 <!-- Elevation of the search box -->
Yorke Lee9ada1572014-05-27 12:48:44 -0700121 <dimen name="search_box_elevation">4dp</dimen>
Andrew Leef037fd82014-05-07 17:26:54 -0700122
Tyler Gunna8ff9752014-02-24 11:57:57 -0800123 <!-- Size of text in tabs. -->
Andrew Leef037fd82014-05-07 17:26:54 -0700124 <dimen name="tab_height">43dp</dimen>
Andrew Leef037fd82014-05-07 17:26:54 -0700125
Tyler Gunn146a4cd2014-05-05 16:51:42 -0700126 <!-- Padding to the left and right of call log action buttons. -->
127 <dimen name="call_log_action_horizontal_padding">8dp</dimen>
128 <!-- Left-padding for the call log action buttons - ensures the buttons align with the text
129 to the right of the contact badge. Adjust when any of the following change:
130 call_log_action_horizontal_padding
131 call_log_list_contact_photo_size -->
Tyler Gunnf3f706a2014-05-22 16:36:14 -0700132 <dimen name="call_log_actions_left_padding">64dp</dimen>
Tyler Gunn146a4cd2014-05-05 16:51:42 -0700133 <dimen name="call_log_primary_text_size">16sp</dimen>
Tyler Gunn146a4cd2014-05-05 16:51:42 -0700134 <dimen name="call_log_secondary_text_size">14sp</dimen>
Andrew Leed3ca6c22014-05-30 13:39:32 -0700135 <dimen name="call_log_list_item_actions_text_size">12sp</dimen>
Tyler Gunn146a4cd2014-05-05 16:51:42 -0700136 <!-- Height of the call log actions section for each call log entry -->
Andrew Leed3ca6c22014-05-30 13:39:32 -0700137 <dimen name="call_log_action_height">44dp</dimen>
Andrew Lee13f6fd02014-05-21 18:05:56 -0700138 <!-- Z Translation of expanded call log items. -->
139 <dimen name="call_log_expanded_translation_z">4dp</dimen>
Andrew Leed3ca6c22014-05-30 13:39:32 -0700140 <dimen name="call_log_day_group_padding">15dp</dimen>
Nancy Chenbc4e8df2014-05-22 12:03:48 -0700141
142 <!-- Size of icon for contacts number shortcuts -->
143 <dimen name="search_shortcut_radius">40dp</dimen>
Chiao Cheng9d4f3b22012-09-05 16:00:16 -0700144</resources>