blob: f806c82688f16e37138f274dd12918ade1631f31 [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>
Yorke Lee3cefcc62014-01-16 11:26:46 -080018 <!--
19 Drag to remove view (in dp because it is used in conjunction with a statically
20 sized icon
21 -->
22 <dimen name="remove_text_size">16dp</dimen>
23
Chiao Cheng9d4f3b22012-09-05 16:00:16 -070024 <!-- Call Log -->
25 <dimen name="call_log_call_action_size">32dip</dimen>
Tyler Gunn66106e02014-03-12 10:01:29 -070026 <dimen name="call_log_call_action_width">54dp</dimen>
Chiao Cheng9d4f3b22012-09-05 16:00:16 -070027 <dimen name="call_log_icon_margin">4dip</dimen>
28 <dimen name="call_log_inner_margin">8dip</dimen>
Andrew Lee13f6fd02014-05-21 18:05:56 -070029 <dimen name="call_log_outer_margin">8dp</dimen>
Tyler Gunnf3f706a2014-05-22 16:36:14 -070030 <dimen name="call_log_start_margin">16dp</dimen>
Chiao Cheng9d4f3b22012-09-05 16:00:16 -070031 <dimen name="call_log_indent_margin">24dip</dimen>
Andrew Leec987e002014-05-29 13:07:53 -070032 <dimen name="call_log_name_margin_bottom">2dp</dimen>
Chiao Cheng9d4f3b22012-09-05 16:00:16 -070033 <dimen name="call_log_list_item_height">56dip</dimen>
Tyler Gunn18164c82014-06-09 10:20:57 -070034
35 <!-- Size of contact photos in the call log and call details. -->
36 <dimen name="contact_photo_size">40dp</dimen>
Chiao Cheng9d4f3b22012-09-05 16:00:16 -070037 <dimen name="call_detail_button_spacing">2dip</dimen>
Tyler Gunn18164c82014-06-09 10:20:57 -070038 <dimen name="call_detail_horizontal_margin">16dp</dimen>
39 <dimen name="call_detail_top_margin">36dp</dimen>
40 <dimen name="call_detail_bottom_margin">32dp</dimen>
41 <dimen name="call_detail_header_top_margin">24dp</dimen>
42 <dimen name="call_detail_translation_z">0.5dp</dimen>
Chiao Cheng9d4f3b22012-09-05 16:00:16 -070043
Nancy Chen87ba4892014-06-11 17:56:07 -070044 <!-- Size of call provider icon width and height -->
45 <dimen name="call_provider_small_icon_size">12dp</dimen>
46
Ihab Awad526c0b82014-02-27 12:55:36 -080047 <!-- Match call_button_height to Phone's dimens/in_call_end_button_height -->
48 <dimen name="call_button_height">74dp</dimen>
49
Yorke Lee14679932014-04-23 17:35:13 -070050 <!-- Dimensions for speed dial tiles -->
Yorke Leeee07c162014-04-09 15:04:17 -070051 <dimen name="contact_tile_divider_width">1dp</dimen>
Yorke Leed6a16d32013-07-30 08:43:12 -070052 <dimen name="contact_tile_info_button_height_and_width">36dp</dimen>
Andrew Leed4a57a92014-06-03 16:35:49 -070053 <item name="contact_tile_height_to_width_ratio" type="dimen">76%</item>
Andrew Lee06677262014-05-30 10:49:49 -070054 <dimen name="contact_tile_text_side_padding">12dp</dimen>
55 <dimen name="contact_tile_text_bottom_padding">9dp</dimen>
Andrew Leeb2687dd2014-06-06 14:13:21 -070056 <dimen name="favorites_row_top_padding">2dp</dimen>
Yorke Leeee07c162014-04-09 15:04:17 -070057 <dimen name="favorites_row_bottom_padding">0dp</dimen>
58 <dimen name="favorites_row_start_padding">1dp</dimen>
Yorke Lee14679932014-04-23 17:35:13 -070059
Yorke Leeefb2d9c2014-04-18 14:05:01 -070060 <!-- Padding from the last contact tile will provide the end padding. -->
61 <dimen name="favorites_row_end_padding">0dp</dimen>
Hongwei Wangaddd02e2013-09-05 14:21:54 -070062 <dimen name="favorites_row_undo_text_side_padding">32dp</dimen>
Yorke Lee14679932014-04-23 17:35:13 -070063
64 <!-- Dimensions for most recent call shortcut cards -->
Nancy Chenf40bd662014-06-03 15:04:21 -070065 <dimen name="recent_call_log_item_translation_z">1dp</dimen>
Andrew Leeb5189b32014-05-30 14:41:27 -070066 <dimen name="recent_call_log_item_margin_horizontal">8dp</dimen>
67 <dimen name="recent_call_log_item_margin_top">4dp</dimen>
Andrew Lee955393b2014-05-29 12:38:19 -070068 <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>
Andrew Leeb5189b32014-05-30 14:41:27 -070073 <dimen name="recent_call_log_item_padding_top">12dp</dimen>
74 <dimen name="recent_call_log_item_padding_bottom">11dp</dimen>
Yorke Lee14679932014-04-23 17:35:13 -070075
Andrew Lee099592e2014-04-18 11:33:46 -070076 <!-- Size of the star icon on the favorites tile. -->
Andrew Leea1c4ed42014-05-13 12:31:30 -070077 <dimen name="favorites_star_icon_size">12dp</dimen>
Christine Chen1f06f0a2013-10-03 14:59:11 -070078
79 <!-- Padding for the tooltip -->
80 <dimen name="dismiss_button_padding_start">20dip</dimen>
81 <dimen name="dismiss_button_padding_end">28dip</dimen>
Tyler Gunn9a066572014-02-19 15:58:26 -080082
Yorke Lee3443d4a2014-05-23 19:30:35 -070083 <!-- Height of the actionBar - this is 8dps bigger than the platform standard to give more
84 room to the search box-->
85 <dimen name="action_bar_height">64dp</dimen>
Andrew Lee0a4327e2014-06-10 15:09:46 -070086 <dimen name="tab_height">43dp</dimen>
87 <dimen name="tab_elevation">2dp</dimen>
88 <!-- actionbar height + tab height -->
89 <dimen name="actionbar_and_tab_height">107dp</dimen>
Yorke Lee3443d4a2014-05-23 19:30:35 -070090
Tyler Gunna8ff9752014-02-24 11:57:57 -080091 <!-- Margin to the left and right of the search box. -->
Andrew Lee64e3c6f2014-06-02 14:21:36 -070092 <dimen name="search_margin_horizontal">8dp</dimen>
Tyler Gunna8ff9752014-02-24 11:57:57 -080093 <!-- Margin above the search box. -->
Yorke Lee3443d4a2014-05-23 19:30:35 -070094 <dimen name="search_top_margin">8dp</dimen>
Tyler Gunna8ff9752014-02-24 11:57:57 -080095 <!-- Margin below the search box. -->
Yorke Lee3443d4a2014-05-23 19:30:35 -070096 <dimen name="search_bottom_margin">8dp</dimen>
Andrew Lee9da8fb42014-06-03 14:03:09 -070097 <dimen name="search_collapsed_text_size">14sp</dimen>
Tyler Gunna8ff9752014-02-24 11:57:57 -080098 <!-- Search box interior padding - left -->
Andrew Leed4cde832014-05-16 15:56:48 -070099 <dimen name="search_box_left_padding">8dp</dimen>
Tyler Gunna8ff9752014-02-24 11:57:57 -0800100 <!-- Search box interior padding - right -->
101 <dimen name="search_box_right_padding">8dp</dimen>
102 <!-- Padding around the icon in the search box. -->
Andrew Leed4cde832014-05-16 15:56:48 -0700103 <dimen name="search_box_icon_margin">4dp</dimen>
Andrew Lee70b7b602014-06-09 14:10:20 -0700104 <dimen name="search_box_search_icon_padding">2dp</dimen>
Andrew Leebcb91d92014-06-09 17:27:43 -0700105 <dimen name="search_box_collapsed_text_margin_left">22dp</dimen>
Andrew Lee9da8fb42014-06-03 14:03:09 -0700106 <dimen name="search_box_expanded_text_margin_left">26dp</dimen>
107 <!-- Size of the icon (voice search, close search) in the search box. -->
108 <dimen name="search_box_icon_size">28dp</dimen>
109 <dimen name="search_list_padding_top">8dp</dimen>
Nancy Chenf40bd662014-06-03 15:04:21 -0700110 <dimen name="search_box_elevation">2dp</dimen>
Andrew Leef037fd82014-05-07 17:26:54 -0700111
Tyler Gunn146a4cd2014-05-05 16:51:42 -0700112 <!-- Padding to the left and right of call log action buttons. -->
113 <dimen name="call_log_action_horizontal_padding">8dp</dimen>
114 <!-- Left-padding for the call log action buttons - ensures the buttons align with the text
115 to the right of the contact badge. Adjust when any of the following change:
116 call_log_action_horizontal_padding
117 call_log_list_contact_photo_size -->
Tyler Gunnf3f706a2014-05-22 16:36:14 -0700118 <dimen name="call_log_actions_left_padding">64dp</dimen>
Tyler Gunn146a4cd2014-05-05 16:51:42 -0700119 <dimen name="call_log_primary_text_size">16sp</dimen>
Tyler Gunn146a4cd2014-05-05 16:51:42 -0700120 <dimen name="call_log_secondary_text_size">14sp</dimen>
Andrew Leed3ca6c22014-05-30 13:39:32 -0700121 <dimen name="call_log_list_item_actions_text_size">12sp</dimen>
Tyler Gunn146a4cd2014-05-05 16:51:42 -0700122 <!-- Height of the call log actions section for each call log entry -->
Andrew Leed3ca6c22014-05-30 13:39:32 -0700123 <dimen name="call_log_action_height">44dp</dimen>
Andrew Lee13f6fd02014-05-21 18:05:56 -0700124 <!-- Z Translation of expanded call log items. -->
125 <dimen name="call_log_expanded_translation_z">4dp</dimen>
Andrew Lee64c45522014-06-11 18:04:14 -0700126 <dimen name="call_log_day_group_padding_top">15dp</dimen>
127 <dimen name="call_log_day_group_padding_bottom">9dp</dimen>
Nancy Chenbc4e8df2014-05-22 12:03:48 -0700128
129 <!-- Size of icon for contacts number shortcuts -->
130 <dimen name="search_shortcut_radius">40dp</dimen>
Sai Cheemalapati1e613802014-06-02 09:41:03 -0700131
132 <!-- Length of dialpad's shadows in dialer. -->
133 <dimen name="shadow_length">10dp</dimen>
Andrew Lee84666152014-06-11 10:26:49 -0700134
Andrew Lee0a4327e2014-06-10 15:09:46 -0700135 <dimen name="empty_list_message_text_size">16sp</dimen>
Chiao Cheng9d4f3b22012-09-05 16:00:16 -0700136</resources>