Sai Cheemalapati | 13b8948 | 2014-06-19 12:33:34 -0700 | [diff] [blame] | 1 | <!-- |
| 2 | ~ Copyright (C) 2012 The Android Open Source Project |
| 3 | ~ |
| 4 | ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | ~ you may not use this file except in compliance with the License. |
| 6 | ~ You may obtain a copy of the License at |
| 7 | ~ |
| 8 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | ~ |
| 10 | ~ Unless required by applicable law or agreed to in writing, software |
| 11 | ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | ~ See the License for the specific language governing permissions and |
| 14 | ~ limitations under the License |
| 15 | --> |
| 16 | |
| 17 | <resources> |
| 18 | <!-- Text dimensions for dialpad keys --> |
Nancy Chen | 7c2619b | 2014-11-19 14:21:09 -0800 | [diff] [blame] | 19 | <dimen name="dialpad_key_numbers_size">@dimen/dialpad_key_numbers_default_size</dimen> |
| 20 | <dimen name="dialpad_key_numbers_default_size">36sp</dimen> |
Nancy Chen | cb6909f | 2014-07-29 12:04:52 -0700 | [diff] [blame] | 21 | <dimen name="dialpad_key_letters_size">12sp</dimen> |
Sai Cheemalapati | 13b8948 | 2014-06-19 12:33:34 -0700 | [diff] [blame] | 22 | <dimen name="dialpad_key_pound_size">23sp</dimen> |
Nancy Chen | cb6909f | 2014-07-29 12:04:52 -0700 | [diff] [blame] | 23 | <dimen name="dialpad_key_star_size">36sp</dimen> |
Sai Cheemalapati | 13b8948 | 2014-06-19 12:33:34 -0700 | [diff] [blame] | 24 | <dimen name="dialpad_key_height">64dp</dimen> |
Nancy Chen | 7c2619b | 2014-11-19 14:21:09 -0800 | [diff] [blame] | 25 | <dimen name="dialpad_key_number_margin_bottom">@dimen/dialpad_key_number_default_margin_bottom</dimen> |
| 26 | <dimen name="dialpad_key_number_default_margin_bottom">3dp</dimen> |
Nancy Chen | 9764a82 | 2014-07-29 14:34:52 -0700 | [diff] [blame] | 27 | <!-- Zero key should have less space between self and text because "+" is smaller --> |
Nancy Chen | 7c2619b | 2014-11-19 14:21:09 -0800 | [diff] [blame] | 28 | <dimen name="dialpad_zero_key_number_margin_bottom">@dimen/dialpad_zero_key_number_default_margin_bottom</dimen> |
| 29 | <dimen name="dialpad_zero_key_number_default_margin_bottom">1dp</dimen> |
Sai Cheemalapati | 13b8948 | 2014-06-19 12:33:34 -0700 | [diff] [blame] | 30 | <dimen name="dialpad_symbol_margin_bottom">13dp</dimen> |
| 31 | <!-- The bottom row of the dialpad is slightly taller to account for the dial button --> |
| 32 | <dimen name="dialpad_bottom_key_height">65dp</dimen> |
| 33 | <dimen name="dialpad_key_plus_size">18sp</dimen> |
| 34 | <dimen name="dialpad_horizontal_padding">5dp</dimen> |
Nancy Chen | cb6909f | 2014-07-29 12:04:52 -0700 | [diff] [blame] | 35 | <dimen name="dialpad_digits_text_size">34sp</dimen> |
Sai Cheemalapati | 9a17f0e | 2014-06-23 11:30:45 -0700 | [diff] [blame] | 36 | <dimen name="dialpad_digits_text_min_size">24sp</dimen> |
Yorke Lee | 3accf86 | 2014-10-25 17:37:31 -0700 | [diff] [blame] | 37 | <dimen name="dialpad_digits_height">60dp</dimen> |
Nancy Chen | 7c2619b | 2014-11-19 14:21:09 -0800 | [diff] [blame] | 38 | <!-- Provide adjustable dimensions so that different apps can use different dialpad sizes. --> |
| 39 | <dimen name="dialpad_digits_adjustable_text_size">@dimen/dialpad_digits_text_size</dimen> |
| 40 | <dimen name="dialpad_digits_adjustable_height">@dimen/dialpad_digits_height</dimen> |
Sai Cheemalapati | 13b8948 | 2014-06-19 12:33:34 -0700 | [diff] [blame] | 41 | <dimen name="dialpad_digits_padding">16dp</dimen> |
Nancy Chen | 9764a82 | 2014-07-29 14:34:52 -0700 | [diff] [blame] | 42 | <dimen name="dialpad_digits_menu_left_padding">8dp</dimen> |
Sai Cheemalapati | 13b8948 | 2014-06-19 12:33:34 -0700 | [diff] [blame] | 43 | <dimen name="dialpad_digits_menu_right_padding">10dp</dimen> |
| 44 | <dimen name="dialpad_center_margin">3dp</dimen> |
| 45 | <dimen name="dialpad_button_margin">2dp</dimen> |
| 46 | <dimen name="dialpad_voicemail_icon_padding_top">2dp</dimen> |
| 47 | <dimen name="dialpad_key_button_translate_y">100dp</dimen> |
Yorke Lee | 86cd19e | 2014-07-15 16:03:25 -0700 | [diff] [blame] | 48 | <dimen name="dialpad_overflow_margin">8dp</dimen> |
Brian Attwell | 1b8e8d7 | 2014-09-11 16:34:47 -0700 | [diff] [blame] | 49 | <dimen name="dialpad_space_above_keys">14dp</dimen> |
| 50 | |
Sai Cheemalapati | 13b8948 | 2014-06-19 12:33:34 -0700 | [diff] [blame] | 51 | <!-- Height of the floating action button --> |
| 52 | <dimen name="floating_action_button_height">56dp</dimen> |
| 53 | <!-- Width of the floating action button --> |
| 54 | <dimen name="floating_action_button_width">56dp</dimen> |
| 55 | <!-- Corner radius of the floating action button --> |
| 56 | <dimen name="floating_action_button_radius">28dp</dimen> |
| 57 | <!-- Z translation of the floating action button --> |
Brian Attwell | afecc57 | 2014-10-07 14:19:08 -0700 | [diff] [blame] | 58 | <dimen name="floating_action_button_translation_z">8dp</dimen> |
Sai Cheemalapati | 13b8948 | 2014-06-19 12:33:34 -0700 | [diff] [blame] | 59 | <!-- Padding to be applied to the bottom of lists to make space for the floating action |
| 60 | button --> |
| 61 | <dimen name="floating_action_button_list_bottom_padding">88dp</dimen> |
| 62 | <!-- Right margin of the floating action button --> |
| 63 | <dimen name="floating_action_button_margin_right">16dp</dimen> |
| 64 | <!-- Bottom margin of the floating action button --> |
| 65 | <dimen name="floating_action_button_margin_bottom">16dp</dimen> |
| 66 | <!-- Offset of bottom margin of the floating action button used when dialpad is up --> |
| 67 | <dimen name="floating_action_button_dialpad_margin_bottom_offset">4dp</dimen> |
Evan Charlton | 0830cf6 | 2014-11-18 13:20:04 -0800 | [diff] [blame] | 68 | |
| 69 | <!-- Top/Bottom padding around the ILD rate display box. --> |
| 70 | <dimen name="ild_margin_height">10dp</dimen> |
Sai Cheemalapati | 13b8948 | 2014-06-19 12:33:34 -0700 | [diff] [blame] | 71 | </resources> |