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