blob: 9de20f310d593e169db9760e2531d16c72c6b475 [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>
Nancy Chen19702632014-07-25 13:23:16 -070028 <dimen name="call_log_inner_margin">13dip</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>
Nancy Chen19702632014-07-25 13:23:16 -070041 <dimen name="call_detail_header_top_margin">20dp</dimen>
42 <dimen name="call_detail_header_bottom_margin">9dp</dimen>
Tyler Gunn18164c82014-06-09 10:20:57 -070043 <dimen name="call_detail_translation_z">0.5dp</dimen>
Yorke Lee8cd94232014-07-23 14:05:31 -070044 <dimen name="transcription_top_margin">18dp</dimen>
45 <dimen name="transcription_bottom_margin">18dp</dimen>
Chiao Cheng9d4f3b22012-09-05 16:00:16 -070046
Nancy Chen87ba4892014-06-11 17:56:07 -070047 <!-- Size of call provider icon width and height -->
48 <dimen name="call_provider_small_icon_size">12dp</dimen>
49
Ihab Awad526c0b82014-02-27 12:55:36 -080050 <!-- Match call_button_height to Phone's dimens/in_call_end_button_height -->
51 <dimen name="call_button_height">74dp</dimen>
52
Yorke Lee14679932014-04-23 17:35:13 -070053 <!-- Dimensions for speed dial tiles -->
Yorke Leeee07c162014-04-09 15:04:17 -070054 <dimen name="contact_tile_divider_width">1dp</dimen>
Yorke Leed6a16d32013-07-30 08:43:12 -070055 <dimen name="contact_tile_info_button_height_and_width">36dp</dimen>
Andrew Leed4a57a92014-06-03 16:35:49 -070056 <item name="contact_tile_height_to_width_ratio" type="dimen">76%</item>
Andrew Lee06677262014-05-30 10:49:49 -070057 <dimen name="contact_tile_text_side_padding">12dp</dimen>
58 <dimen name="contact_tile_text_bottom_padding">9dp</dimen>
Andrew Leeb2687dd2014-06-06 14:13:21 -070059 <dimen name="favorites_row_top_padding">2dp</dimen>
Yorke Leeee07c162014-04-09 15:04:17 -070060 <dimen name="favorites_row_bottom_padding">0dp</dimen>
61 <dimen name="favorites_row_start_padding">1dp</dimen>
Yorke Lee14679932014-04-23 17:35:13 -070062
Yorke Leeefb2d9c2014-04-18 14:05:01 -070063 <!-- Padding from the last contact tile will provide the end padding. -->
64 <dimen name="favorites_row_end_padding">0dp</dimen>
Hongwei Wangaddd02e2013-09-05 14:21:54 -070065 <dimen name="favorites_row_undo_text_side_padding">32dp</dimen>
Yorke Lee14679932014-04-23 17:35:13 -070066
Andrew Lee099592e2014-04-18 11:33:46 -070067 <!-- Size of the star icon on the favorites tile. -->
Andrew Leea1c4ed42014-05-13 12:31:30 -070068 <dimen name="favorites_star_icon_size">12dp</dimen>
Christine Chen1f06f0a2013-10-03 14:59:11 -070069
70 <!-- Padding for the tooltip -->
71 <dimen name="dismiss_button_padding_start">20dip</dimen>
72 <dimen name="dismiss_button_padding_end">28dip</dimen>
Tyler Gunn9a066572014-02-19 15:58:26 -080073
Yorke Lee3443d4a2014-05-23 19:30:35 -070074 <!-- Height of the actionBar - this is 8dps bigger than the platform standard to give more
75 room to the search box-->
Nancy Chenb8170de2014-07-28 10:41:08 -070076 <dimen name="action_bar_height">56dp</dimen>
77 <dimen name="action_bar_height_large">64dp</dimen>
Yorke Lee8fd67242014-08-05 18:43:45 -070078 <dimen name="action_bar_elevation">2dp</dimen>
Andrew Lee0a4327e2014-06-10 15:09:46 -070079 <dimen name="tab_height">43dp</dimen>
Andrew Lee0a4327e2014-06-10 15:09:46 -070080 <!-- actionbar height + tab height -->
81 <dimen name="actionbar_and_tab_height">107dp</dimen>
Nancy Chen5d5b6042014-07-28 16:34:59 -070082 <dimen name="actionbar_contentInsetStart">72dp</dimen>
Yorke Lee3443d4a2014-05-23 19:30:35 -070083
Tyler Gunna8ff9752014-02-24 11:57:57 -080084 <!-- Margin to the left and right of the search box. -->
Andrew Lee64e3c6f2014-06-02 14:21:36 -070085 <dimen name="search_margin_horizontal">8dp</dimen>
Tyler Gunna8ff9752014-02-24 11:57:57 -080086 <!-- Margin above the search box. -->
Yorke Lee3443d4a2014-05-23 19:30:35 -070087 <dimen name="search_top_margin">8dp</dimen>
Tyler Gunna8ff9752014-02-24 11:57:57 -080088 <!-- Margin below the search box. -->
Yorke Lee3443d4a2014-05-23 19:30:35 -070089 <dimen name="search_bottom_margin">8dp</dimen>
Andrew Lee9da8fb42014-06-03 14:03:09 -070090 <dimen name="search_collapsed_text_size">14sp</dimen>
Tyler Gunna8ff9752014-02-24 11:57:57 -080091 <!-- Search box interior padding - left -->
Andrew Leed4cde832014-05-16 15:56:48 -070092 <dimen name="search_box_left_padding">8dp</dimen>
Tyler Gunna8ff9752014-02-24 11:57:57 -080093 <!-- Search box interior padding - right -->
94 <dimen name="search_box_right_padding">8dp</dimen>
95 <!-- Padding around the icon in the search box. -->
Andrew Leed4cde832014-05-16 15:56:48 -070096 <dimen name="search_box_icon_margin">4dp</dimen>
Andrew Lee70b7b602014-06-09 14:10:20 -070097 <dimen name="search_box_search_icon_padding">2dp</dimen>
Andrew Leebcb91d92014-06-09 17:27:43 -070098 <dimen name="search_box_collapsed_text_margin_left">22dp</dimen>
Nancy Chencd735582014-08-05 14:45:47 -070099 <dimen name="search_list_padding_top">16dp</dimen>
Yorke Lee8fd67242014-08-05 18:43:45 -0700100 <dimen name="search_box_elevation">3dp</dimen>
Andrew Leef037fd82014-05-07 17:26:54 -0700101
Tyler Gunn146a4cd2014-05-05 16:51:42 -0700102 <!-- Padding to the left and right of call log action buttons. -->
103 <dimen name="call_log_action_horizontal_padding">8dp</dimen>
104 <!-- Left-padding for the call log action buttons - ensures the buttons align with the text
105 to the right of the contact badge. Adjust when any of the following change:
106 call_log_action_horizontal_padding
107 call_log_list_contact_photo_size -->
Tyler Gunnf3f706a2014-05-22 16:36:14 -0700108 <dimen name="call_log_actions_left_padding">64dp</dimen>
Tyler Gunn146a4cd2014-05-05 16:51:42 -0700109 <dimen name="call_log_primary_text_size">16sp</dimen>
Tyler Gunn146a4cd2014-05-05 16:51:42 -0700110 <dimen name="call_log_secondary_text_size">14sp</dimen>
Andrew Leed3ca6c22014-05-30 13:39:32 -0700111 <dimen name="call_log_list_item_actions_text_size">12sp</dimen>
Tyler Gunn146a4cd2014-05-05 16:51:42 -0700112 <!-- Height of the call log actions section for each call log entry -->
Andrew Leed3ca6c22014-05-30 13:39:32 -0700113 <dimen name="call_log_action_height">44dp</dimen>
Andrew Lee13f6fd02014-05-21 18:05:56 -0700114 <!-- Z Translation of expanded call log items. -->
Andrew Leef3e07852014-07-21 13:53:03 -0700115 <dimen name="call_log_expanded_translation_z">2dp</dimen>
Andrew Lee64c45522014-06-11 18:04:14 -0700116 <dimen name="call_log_day_group_padding_top">15dp</dimen>
117 <dimen name="call_log_day_group_padding_bottom">9dp</dimen>
Nancy Chenbc4e8df2014-05-22 12:03:48 -0700118
Yorke Lee28325332014-10-14 16:09:14 -0700119 <!-- Padding for icons to increase their touch target. Icons are typically 24 dps in size
120 so this extra padding makes the entire touch target 40dp -->
121 <dimen name="icon_padding">8dp</dimen>
122
Sai Cheemalapati1e613802014-06-02 09:41:03 -0700123 <!-- Length of dialpad's shadows in dialer. -->
124 <dimen name="shadow_length">10dp</dimen>
Andrew Lee84666152014-06-11 10:26:49 -0700125
Yorke Leeb6f9f4a2014-11-14 14:19:33 -0800126 <dimen name="empty_list_message_top_padding">20dp</dimen>
Andrew Lee0a4327e2014-06-10 15:09:46 -0700127 <dimen name="empty_list_message_text_size">16sp</dimen>
Nancy Chenbbde5652014-07-21 15:19:35 -0700128
129 <!-- Dimensions for individual preference cards -->
Nancy Chen495e70b2014-09-25 11:40:55 -0700130 <dimen name="preference_padding_top">16dp</dimen>
Nancy Chenbbde5652014-07-21 15:19:35 -0700131 <dimen name="preference_padding_bottom">16dp</dimen>
132 <dimen name="preference_side_margin">16dp</dimen>
Nancy Chenbbde5652014-07-21 15:19:35 -0700133 <dimen name="preference_summary_line_spacing_extra">4dp</dimen>
Chiao Cheng9d4f3b22012-09-05 16:00:16 -0700134</resources>