Chiao Cheng | a44c591 | 2013-07-15 14:54:27 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | ~ Copyright (C) 2013 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 |
| 16 | --> |
| 17 | |
| 18 | <resources> |
| 19 | <!-- Dimensions for CallCard elements (the normal in-call UI) --> |
| 20 | |
| 21 | <!-- Height of the "call banner" overlay on top of the upper part of |
| 22 | the call info area. --> |
Andrew Lee | c2831f3 | 2014-06-04 12:57:53 -0700 | [diff] [blame] | 23 | <dimen name="call_banner_height">122dp</dimen> |
Chiao Cheng | a44c591 | 2013-07-15 14:54:27 -0700 | [diff] [blame] | 24 | |
| 25 | <!-- Margin between the bottom of the "call card" photo |
| 26 | and the top of the in-call button cluster. --> |
| 27 | <dimen name="in_call_touch_ui_upper_margin">2dp</dimen> |
| 28 | |
| 29 | <!-- Padding at the left and right edges of the "call banner". --> |
| 30 | <dimen name="call_banner_side_padding">24dp</dimen> |
Christine Chen | 6b2d72c | 2013-09-27 16:38:38 -0700 | [diff] [blame] | 31 | <!-- Padding at the right edges of the secondary call banner. --> |
Andrew Lee | e5c0d8b | 2014-05-19 17:13:32 -0700 | [diff] [blame] | 32 | <dimen name="secondary_call_banner_right_padding">24dp</dimen> |
Chiao Cheng | a44c591 | 2013-07-15 14:54:27 -0700 | [diff] [blame] | 33 | <!-- Padding at the top and bottom edges of the "call banner". --> |
Andrew Lee | c2831f3 | 2014-06-04 12:57:53 -0700 | [diff] [blame] | 34 | <dimen name="call_banner_primary_call_container_top_padding">16dp</dimen> |
Andrew Lee | b1c31cd | 2014-05-27 10:51:48 -0700 | [diff] [blame] | 35 | <dimen name="call_banner_secondary_call_top_bottom_padding">24dp</dimen> |
Chiao Cheng | a44c591 | 2013-07-15 14:54:27 -0700 | [diff] [blame] | 36 | |
| 37 | <!-- Padding at the top and bottom edges of the "provider information" --> |
| 38 | <dimen name="provider_info_top_bottom_padding">8dp</dimen> |
| 39 | |
Andrew Lee | 4f95873 | 2014-04-24 11:06:18 -0700 | [diff] [blame] | 40 | <!-- Text size for the name in the call info. --> |
Andrew Lee | 466618d | 2014-05-08 16:13:23 -0700 | [diff] [blame] | 41 | <dimen name="call_status_text_size">22sp</dimen> |
Sai Cheemalapati | d21e30f | 2014-06-23 11:26:58 -0700 | [diff] [blame^] | 42 | <dimen name="call_name_text_size">45sp</dimen> |
| 43 | <dimen name="call_name_text_min_size">34sp</dimen> |
Andrew Lee | 4f95873 | 2014-04-24 11:06:18 -0700 | [diff] [blame] | 44 | <dimen name="call_label_text_size">18sp</dimen> |
Chiao Cheng | a44c591 | 2013-07-15 14:54:27 -0700 | [diff] [blame] | 45 | <!-- Right padding for name and number fields in the call banner. |
| 46 | This padding is used to ensure that ultra-long names or |
| 47 | numbers won't overlap the elapsed time indication. --> |
| 48 | <dimen name="call_banner_name_number_right_padding">50sp</dimen> |
| 49 | |
Andrew Lee | 466618d | 2014-05-08 16:13:23 -0700 | [diff] [blame] | 50 | <!-- Height and width of the in-call buttons. --> |
| 51 | <dimen name="in_call_button_dimension">48dp</dimen> |
Chiao Cheng | a44c591 | 2013-07-15 14:54:27 -0700 | [diff] [blame] | 52 | |
Chiao Cheng | a44c591 | 2013-07-15 14:54:27 -0700 | [diff] [blame] | 53 | <!-- Width of buttons in the extra button row. --> |
| 54 | <dimen name="extra_row_button_width">56dp</dimen> |
| 55 | |
| 56 | <!-- Height of buttons in the extra button row. --> |
Andrew Lee | 466618d | 2014-05-08 16:13:23 -0700 | [diff] [blame] | 57 | <dimen name="extra_row_button_height">@dimen/in_call_button_dimension</dimen> |
Chiao Cheng | a44c591 | 2013-07-15 14:54:27 -0700 | [diff] [blame] | 58 | |
Andrew Lee | b1c31cd | 2014-05-27 10:51:48 -0700 | [diff] [blame] | 59 | <dimen name="primary_call_elevation">4dp</dimen> |
| 60 | <dimen name="secondary_call_elevation">4dp</dimen> |
Andrew Lee | ff16218 | 2014-05-02 13:58:18 -0700 | [diff] [blame] | 61 | |
| 62 | |
Chiao Cheng | a44c591 | 2013-07-15 14:54:27 -0700 | [diff] [blame] | 63 | <!-- Padding at the left and right edges of the incall_touch_ui button |
| 64 | cluster. This padding is necessary because we can't allow the |
| 65 | buttons to be very close to the edges of the screen, due to the |
| 66 | risk of false touches (from your finger wrapping around while |
| 67 | holding the phone, *before* moving it up to your face and having |
| 68 | the prox sensor kick in.) --> |
Andrew Lee | 70bab10 | 2014-05-07 11:29:41 -0700 | [diff] [blame] | 69 | <dimen name="button_cluster_horizontal_padding">20dp</dimen> |
Andrew Lee | 9be2029 | 2014-05-20 17:25:34 -0700 | [diff] [blame] | 70 | <dimen name="call_button_margin_vertical">8dp</dimen> |
| 71 | <dimen name="call_button_margin_horizontal">6dp</dimen> |
Chiao Cheng | a44c591 | 2013-07-15 14:54:27 -0700 | [diff] [blame] | 72 | |
Chiao Cheng | a44c591 | 2013-07-15 14:54:27 -0700 | [diff] [blame] | 73 | <!-- Dimensions for OTA Call Card --> |
| 74 | <dimen name="otaactivate_layout_marginTop">10dp</dimen> |
| 75 | <dimen name="otalistenprogress_layout_marginTop">5dp</dimen> |
| 76 | <dimen name="otasuccessfail_layout_marginTop">10dp</dimen> |
| 77 | |
Chiao Cheng | a44c591 | 2013-07-15 14:54:27 -0700 | [diff] [blame] | 78 | <!-- Dimension used to possibly down-scale high-res photo into what is suitable |
| 79 | for notification's large icon. --> |
| 80 | <dimen name="notification_icon_size">64dp</dimen> |
| 81 | |
| 82 | <!-- Circle size for incoming call widget's each item. --> |
Andrew Lee | 215a0b0 | 2014-05-09 14:44:00 -0700 | [diff] [blame] | 83 | <dimen name="incoming_call_widget_circle_size">56dp</dimen> |
Chiao Cheng | a44c591 | 2013-07-15 14:54:27 -0700 | [diff] [blame] | 84 | |
Chiao Cheng | a44c591 | 2013-07-15 14:54:27 -0700 | [diff] [blame] | 85 | <!-- Size of alarm alert outer ring. --> |
Andrew Lee | 215a0b0 | 2014-05-09 14:44:00 -0700 | [diff] [blame] | 86 | <dimen name="glowpadview_outerring_diameter">250dp</dimen> |
Chiao Cheng | a44c591 | 2013-07-15 14:54:27 -0700 | [diff] [blame] | 87 | <!-- Default target placement radius for GlowPadView. Should be 1/2 of outerring diameter. --> |
Andrew Lee | 215a0b0 | 2014-05-09 14:44:00 -0700 | [diff] [blame] | 88 | <dimen name="glowpadview_target_placement_radius">125dp</dimen> |
Chiao Cheng | a44c591 | 2013-07-15 14:54:27 -0700 | [diff] [blame] | 89 | |
| 90 | <!-- Default glow radius for GlowPadView --> |
Andrew Lee | 215a0b0 | 2014-05-09 14:44:00 -0700 | [diff] [blame] | 91 | <dimen name="glowpadview_glow_radius">70dip</dimen> |
Chiao Cheng | a44c591 | 2013-07-15 14:54:27 -0700 | [diff] [blame] | 92 | |
| 93 | <!-- Default distance beyond which GlowPadView snaps to the matching target --> |
| 94 | <dimen name="glowpadview_snap_margin">40dip</dimen> |
| 95 | |
| 96 | <!-- Default distance from each snap target that GlowPadView considers a "hit" --> |
| 97 | <dimen name="glowpadview_inner_radius">15dip</dimen> |
| 98 | |
Santos Cordon | e9e6f43 | 2013-08-27 19:02:12 -0700 | [diff] [blame] | 99 | <dimen name="glowpadview_margin_bottom">-48dip</dimen> |
Chiao Cheng | a44c591 | 2013-07-15 14:54:27 -0700 | [diff] [blame] | 100 | <dimen name="glowpadview_margin_right">0dip</dimen> |
Ihab Awad | 5510dea | 2014-03-03 14:12:57 -0800 | [diff] [blame] | 101 | <!-- Height of translucent shadow effect --> |
| 102 | <dimen name="translucent_shadow_height">2dp</dimen> |
Andrew Lee | ff16218 | 2014-05-02 13:58:18 -0700 | [diff] [blame] | 103 | |
Andrew Lee | b448b50 | 2014-05-07 15:42:06 -0700 | [diff] [blame] | 104 | <dimen name="end_call_button_margin_bottom">8dp</dimen> |
Sai Cheemalapati | afedca3 | 2014-06-04 16:36:29 -0700 | [diff] [blame] | 105 | <dimen name="end_call_button_hide_offset">70dp</dimen> |
Yorke Lee | e8645f3 | 2014-05-16 10:11:28 -0700 | [diff] [blame] | 106 | |
| 107 | <dimen name="call_card_anim_translate_y_offset">50dp</dimen> |
Chiao Cheng | a44c591 | 2013-07-15 14:54:27 -0700 | [diff] [blame] | 108 | </resources> |