Chiao Cheng | 9d4f3b2 | 2012-09-05 16:00:16 -0700 | [diff] [blame] | 1 | <?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 Lee | 3cefcc6 | 2014-01-16 11:26:46 -0800 | [diff] [blame] | 16 | --> |
Chiao Cheng | 9d4f3b2 | 2012-09-05 16:00:16 -0700 | [diff] [blame] | 17 | <resources> |
| 18 | |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 19 | <!-- Search View --> |
| 20 | <dimen name="search_text_size">14sp</dimen> |
Chiao Cheng | 9d4f3b2 | 2012-09-05 16:00:16 -0700 | [diff] [blame] | 21 | |
Yorke Lee | 3cefcc6 | 2014-01-16 11:26:46 -0800 | [diff] [blame] | 22 | <!-- |
| 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 Cheng | 9d4f3b2 | 2012-09-05 16:00:16 -0700 | [diff] [blame] | 28 | <!-- Call Log --> |
| 29 | <dimen name="call_log_call_action_size">32dip</dimen> |
Tyler Gunn | 66106e0 | 2014-03-12 10:01:29 -0700 | [diff] [blame] | 30 | <dimen name="call_log_call_action_width">54dp</dimen> |
Chiao Cheng | 9d4f3b2 | 2012-09-05 16:00:16 -0700 | [diff] [blame] | 31 | <dimen name="call_log_icon_margin">4dip</dimen> |
| 32 | <dimen name="call_log_inner_margin">8dip</dimen> |
Yorke Lee | 9502a16 | 2013-07-29 19:05:20 -0700 | [diff] [blame] | 33 | <dimen name="call_log_outer_margin">8dip</dimen> |
Chiao Cheng | 9d4f3b2 | 2012-09-05 16:00:16 -0700 | [diff] [blame] | 34 | <dimen name="call_log_indent_margin">24dip</dimen> |
| 35 | <dimen name="call_log_list_item_height">56dip</dimen> |
Tyler Gunn | 146a4cd | 2014-05-05 16:51:42 -0700 | [diff] [blame] | 36 | <dimen name="call_log_list_contact_photo_size">40dip</dimen> |
Chiao Cheng | 9d4f3b2 | 2012-09-05 16:00:16 -0700 | [diff] [blame] | 37 | <dimen name="call_detail_contact_name_margin">24dip</dimen> |
| 38 | <dimen name="call_detail_button_spacing">2dip</dimen> |
Tyler Gunn | 45ed3b5 | 2014-02-03 08:31:10 -0800 | [diff] [blame] | 39 | <!-- Defines the vertical margin for the vertical separator between |
| 40 | the main area of a call log entry and the secondary action button. --> |
Tyler Gunn | 66106e0 | 2014-03-12 10:01:29 -0700 | [diff] [blame] | 41 | <dimen name="call_log_list_item_vertical_divider_margin">17dp</dimen> |
Tyler Gunn | 45ed3b5 | 2014-02-03 08:31:10 -0800 | [diff] [blame] | 42 | |
| 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 Cheng | 9d4f3b2 | 2012-09-05 16:00:16 -0700 | [diff] [blame] | 46 | |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 47 | <!-- Match call_button_height to Phone's dimens/in_call_end_button_height --> |
| 48 | <dimen name="call_button_height">74dp</dimen> |
| 49 | |
Yorke Lee | cc4660d | 2014-04-24 11:22:57 -0700 | [diff] [blame] | 50 | <!-- Right margin of the floating action button --> |
| 51 | <dimen name="floating_action_button_margin_right">10dp</dimen> |
Yorke Lee | a5d5cdf | 2014-04-22 17:20:00 -0700 | [diff] [blame] | 52 | <!-- Bottom margin of the floating action button --> |
| 53 | <dimen name="floating_action_button_margin_bottom">10dp</dimen> |
Yorke Lee | 1be0178 | 2012-11-07 15:11:44 -0800 | [diff] [blame] | 54 | |
Yorke Lee | 1467993 | 2014-04-23 17:35:13 -0700 | [diff] [blame] | 55 | <!-- Dimensions for speed dial tiles --> |
Yorke Lee | ee07c16 | 2014-04-09 15:04:17 -0700 | [diff] [blame] | 56 | <dimen name="contact_tile_divider_width">1dp</dimen> |
Yorke Lee | d6a16d3 | 2013-07-30 08:43:12 -0700 | [diff] [blame] | 57 | <dimen name="contact_tile_info_button_height_and_width">36dp</dimen> |
Yorke Lee | 765734c | 2014-02-10 16:09:12 -0800 | [diff] [blame] | 58 | <item name="contact_tile_height_to_width_ratio" type="dimen">67%</item> |
Yorke Lee | 8165cb1 | 2014-03-12 12:07:40 -0700 | [diff] [blame] | 59 | <dimen name="contact_tile_text_side_padding">10dp</dimen> |
Yorke Lee | f3db08a | 2014-03-18 12:03:35 -0700 | [diff] [blame] | 60 | <dimen name="contact_tile_text_bottom_padding">8dp</dimen> |
Yorke Lee | ee07c16 | 2014-04-09 15:04:17 -0700 | [diff] [blame] | 61 | <dimen name="favorites_row_top_padding">1dp</dimen> |
| 62 | <dimen name="favorites_row_bottom_padding">0dp</dimen> |
| 63 | <dimen name="favorites_row_start_padding">1dp</dimen> |
Yorke Lee | 1467993 | 2014-04-23 17:35:13 -0700 | [diff] [blame] | 64 | |
Yorke Lee | efb2d9c | 2014-04-18 14:05:01 -0700 | [diff] [blame] | 65 | <!-- Padding from the last contact tile will provide the end padding. --> |
| 66 | <dimen name="favorites_row_end_padding">0dp</dimen> |
Hongwei Wang | addd02e | 2013-09-05 14:21:54 -0700 | [diff] [blame] | 67 | <dimen name="favorites_row_undo_text_side_padding">32dp</dimen> |
Yorke Lee | 1467993 | 2014-04-23 17:35:13 -0700 | [diff] [blame] | 68 | |
| 69 | <!-- Dimensions for most recent call shortcut cards --> |
| 70 | <dimen name="recent_call_log_item_translation_z">5dp</dimen> |
Yorke Lee | 481994f | 2013-07-23 16:53:36 -0700 | [diff] [blame] | 71 | <dimen name="recent_call_log_item_padding">8dp</dimen> |
Yorke Lee | 1467993 | 2014-04-23 17:35:13 -0700 | [diff] [blame] | 72 | |
Andrew Lee | 099592e | 2014-04-18 11:33:46 -0700 | [diff] [blame] | 73 | <!-- Size of the star icon on the favorites tile. --> |
Andrew Lee | a1c4ed4 | 2014-05-13 12:31:30 -0700 | [diff] [blame] | 74 | <dimen name="favorites_star_icon_size">12dp</dimen> |
Christine Chen | 1f06f0a | 2013-10-03 14:59:11 -0700 | [diff] [blame] | 75 | |
| 76 | <!-- Padding for the tooltip --> |
| 77 | <dimen name="dismiss_button_padding_start">20dip</dimen> |
| 78 | <dimen name="dismiss_button_padding_end">28dip</dimen> |
Tyler Gunn | 9a06657 | 2014-02-19 15:58:26 -0800 | [diff] [blame] | 79 | |
Tyler Gunn | a8ff975 | 2014-02-24 11:57:57 -0800 | [diff] [blame] | 80 | <!-- Padding above the favorites menu. --> |
| 81 | <dimen name="favorites_menu_padding_top">6dp</dimen> |
| 82 | <!-- Padding below the favorites menu.. --> |
| 83 | <dimen name="favorites_menu_padding_bottom">3dp</dimen> |
| 84 | <!-- Horizontal padding in the favorites menu. --> |
| 85 | <dimen name="favorites_menu_padding_horizontal">8dp</dimen> |
Tyler Gunn | 9a06657 | 2014-02-19 15:58:26 -0800 | [diff] [blame] | 86 | <!-- Text size for the "speed dial" text in the favorites menu. --> |
| 87 | <dimen name="favorites_menu_speed_dial_text_size">18sp</dimen> |
| 88 | <!-- Height of the speed dial TextView in the favorites menu. --> |
| 89 | <dimen name="favorites_menu_speed_dial_height">24dp</dimen> |
| 90 | <!-- Text size for the "All Contacts" text in the favorites menu. --> |
| 91 | <dimen name="favorites_menu_all_contacts_text_size">12sp</dimen> |
| 92 | <!-- Height of the all contacts Button in the favorites menu. --> |
| 93 | <dimen name="favorites_menu_all_contacts_height">24dp</dimen> |
Tyler Gunn | a8ff975 | 2014-02-24 11:57:57 -0800 | [diff] [blame] | 94 | |
| 95 | <!-- Margin to the left and right of the search box. --> |
| 96 | <dimen name="search_margin_horizontal">7dp</dimen> |
| 97 | <!-- Margin above the search box. --> |
Yorke Lee | 53a2230 | 2014-04-29 18:13:46 -0700 | [diff] [blame] | 98 | <dimen name="search_top_margin">4dp</dimen> |
Tyler Gunn | a8ff975 | 2014-02-24 11:57:57 -0800 | [diff] [blame] | 99 | <!-- Margin below the search box. --> |
| 100 | <dimen name="search_bottom_margin">4dp</dimen> |
Tyler Gunn | a8ff975 | 2014-02-24 11:57:57 -0800 | [diff] [blame] | 101 | <!-- Search box text size --> |
| 102 | <dimen name="search_text_size">13.24sp</dimen> |
| 103 | <!-- Search box interior padding - left --> |
Andrew Lee | d4cde83 | 2014-05-16 15:56:48 -0700 | [diff] [blame] | 104 | <dimen name="search_box_left_padding">8dp</dimen> |
Tyler Gunn | a8ff975 | 2014-02-24 11:57:57 -0800 | [diff] [blame] | 105 | <!-- Search box interior padding - right --> |
| 106 | <dimen name="search_box_right_padding">8dp</dimen> |
| 107 | <!-- Padding around the icon in the search box. --> |
Andrew Lee | d4cde83 | 2014-05-16 15:56:48 -0700 | [diff] [blame] | 108 | <dimen name="search_box_icon_margin">4dp</dimen> |
| 109 | <dimen name="search_box_search_icon_padding">4dp</dimen> |
Tyler Gunn | a8ff975 | 2014-02-24 11:57:57 -0800 | [diff] [blame] | 110 | <!-- Left margin of the text field in the search box. --> |
| 111 | <dimen name="search_box_text_left_margin">8dp</dimen> |
| 112 | <!-- Size of the icon (voice search, close search) in the search box. --> |
Andrew Lee | d4cde83 | 2014-05-16 15:56:48 -0700 | [diff] [blame] | 113 | <dimen name="search_box_icon_size">28dp</dimen> |
Yorke Lee | 7586268 | 2014-05-19 14:02:33 -0700 | [diff] [blame] | 114 | <!-- Elevation of the search box --> |
| 115 | <dimen name="search_box_elevation">10dp</dimen> |
Andrew Lee | f037fd8 | 2014-05-07 17:26:54 -0700 | [diff] [blame] | 116 | |
Tyler Gunn | a8ff975 | 2014-02-24 11:57:57 -0800 | [diff] [blame] | 117 | <!-- Size of text in tabs. --> |
Andrew Lee | f037fd8 | 2014-05-07 17:26:54 -0700 | [diff] [blame] | 118 | <dimen name="tab_height">43dp</dimen> |
Andrew Lee | f037fd8 | 2014-05-07 17:26:54 -0700 | [diff] [blame] | 119 | |
Tyler Gunn | 146a4cd | 2014-05-05 16:51:42 -0700 | [diff] [blame] | 120 | <!-- Padding to the left and right of call log action buttons. --> |
| 121 | <dimen name="call_log_action_horizontal_padding">8dp</dimen> |
| 122 | <!-- Left-padding for the call log action buttons - ensures the buttons align with the text |
| 123 | to the right of the contact badge. Adjust when any of the following change: |
| 124 | call_log_action_horizontal_padding |
| 125 | call_log_list_contact_photo_size --> |
| 126 | <dimen name="call_log_actions_left_padding">48dp</dimen> |
| 127 | <!-- Text size for primary call log text --> |
| 128 | <dimen name="call_log_primary_text_size">16sp</dimen> |
| 129 | <!-- Text size for secondary call log text --> |
| 130 | <dimen name="call_log_secondary_text_size">14sp</dimen> |
| 131 | <!-- Height of the call log actions section for each call log entry --> |
| 132 | <dimen name="call_log_action_height">48dp</dimen> |
Tyler Gunn | 6b2221c | 2014-05-07 16:05:08 -0700 | [diff] [blame] | 133 | <!-- Elevation of expanded call log items. --> |
| 134 | <dimen name="call_log_expanded_elevation">4dp</dimen> |
Tyler Gunn | 4dfd712 | 2014-05-14 15:12:42 -0700 | [diff] [blame] | 135 | <!-- Padding above call log day group headers. --> |
| 136 | <dimen name="call_log_day_group_padding">16dp</dimen> |
Chiao Cheng | 9d4f3b2 | 2012-09-05 16:00:16 -0700 | [diff] [blame] | 137 | </resources> |