blob: 43307e8db99b389780daf64c4c95e5327acab6c2 [file] [log] [blame]
Chiao Chenga44c5912013-07-15 14:54:27 -07001<?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
Nancy Chen33ee1ef2014-11-19 14:15:17 -080021 <!-- Height of the "call banner" overlay on top of the upper part of the call info area.
22 Note: This is the default size for small (<600dp height) devices: larger screen sizes apply
23 the values in values-h600dp/dimens.xml. -->
24 <dimen name="call_banner_height">90dp</dimen>
Andrew Lee3a7108a2014-08-25 12:19:35 -070025 <dimen name="incall_action_bar_elevation">3dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070026
27 <!-- Margin between the bottom of the "call card" photo
28 and the top of the in-call button cluster. -->
29 <dimen name="in_call_touch_ui_upper_margin">2dp</dimen>
30
31 <!-- Padding at the left and right edges of the "call banner". -->
32 <dimen name="call_banner_side_padding">24dp</dimen>
33 <!-- Padding at the top and bottom edges of the "call banner". -->
Andrew Leec2831f32014-06-04 12:57:53 -070034 <dimen name="call_banner_primary_call_container_top_padding">16dp</dimen>
Andrew Lee0b3c3502014-09-09 15:20:43 -070035 <dimen name="secondary_call_info_horizontal_padding">24dp</dimen>
36 <dimen name="secondary_call_info_vertical_padding">32dp</dimen>
37 <dimen name="secondary_call_info_text_size">16sp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070038
39 <!-- Padding at the top and bottom edges of the "provider information" -->
40 <dimen name="provider_info_top_bottom_padding">8dp</dimen>
41
Nancy Chen33ee1ef2014-11-19 14:15:17 -080042 <!-- Text sizes for information in the call card.
43 Note: These are the default sizes for small (<600dp height) devices: larger screen sizes
44 apply the values in values-h600dp/dimens.xml. -->
45 <dimen name="call_status_text_size">16sp</dimen>
46 <dimen name="call_name_text_size">34dp</dimen>
47 <dimen name="call_name_text_min_size">28sp</dimen>
48 <dimen name="call_label_text_size">16sp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070049 <!-- Right padding for name and number fields in the call banner.
50 This padding is used to ensure that ultra-long names or
51 numbers won't overlap the elapsed time indication. -->
52 <dimen name="call_banner_name_number_right_padding">50sp</dimen>
53
Andrew Lee466618d2014-05-08 16:13:23 -070054 <!-- Height and width of the in-call buttons. -->
55 <dimen name="in_call_button_dimension">48dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070056
Andrew Lee3a7108a2014-08-25 12:19:35 -070057 <dimen name="primary_call_elevation">5dp</dimen>
58 <dimen name="dialpad_elevation">2dp</dimen>
Andrew Leeff162182014-05-02 13:58:18 -070059
Nancy Chen33ee1ef2014-11-19 14:15:17 -080060 <!-- The InCallUI dialpad will sometimes want digits sizes that are different from dialer.
61 Note: These are the default sizes for small (<600dp height) devices: larger screen sizes
62 apply the values in values-h600dp/dimens.xml. -->
63 <dimen name="dialpad_key_number_margin_bottom">1dp</dimen>
64 <!-- Zero key should have less space between self and text because "+" is smaller -->
65 <dimen name="dialpad_zero_key_number_margin_bottom">0dp</dimen>
66 <dimen name="dialpad_digits_adjustable_text_size">20sp</dimen>
67 <dimen name="dialpad_digits_adjustable_height">50dp</dimen>
68 <dimen name="dialpad_key_numbers_size">36dp</dimen>
69
Andrew Lee45c00592014-08-14 17:47:48 -070070 <dimen name="floating_action_bar_vertical_offset">-24dp</dimen>
Andrew Leeff162182014-05-02 13:58:18 -070071
Andrew Lee9be20292014-05-20 17:25:34 -070072 <dimen name="call_button_margin_vertical">8dp</dimen>
73 <dimen name="call_button_margin_horizontal">6dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070074
Chiao Chenga44c5912013-07-15 14:54:27 -070075 <!-- Dimensions for OTA Call Card -->
76 <dimen name="otaactivate_layout_marginTop">10dp</dimen>
77 <dimen name="otalistenprogress_layout_marginTop">5dp</dimen>
78 <dimen name="otasuccessfail_layout_marginTop">10dp</dimen>
79
Chiao Chenga44c5912013-07-15 14:54:27 -070080 <!-- Dimension used to possibly down-scale high-res photo into what is suitable
81 for notification's large icon. -->
82 <dimen name="notification_icon_size">64dp</dimen>
83
84 <!-- Circle size for incoming call widget's each item. -->
Andrew Lee215a0b02014-05-09 14:44:00 -070085 <dimen name="incoming_call_widget_circle_size">56dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070086
Chiao Chenga44c5912013-07-15 14:54:27 -070087 <!-- Size of alarm alert outer ring. -->
Andrew Lee215a0b02014-05-09 14:44:00 -070088 <dimen name="glowpadview_outerring_diameter">250dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070089 <!-- Default target placement radius for GlowPadView. Should be 1/2 of outerring diameter. -->
Andrew Lee215a0b02014-05-09 14:44:00 -070090 <dimen name="glowpadview_target_placement_radius">125dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070091
92 <!-- Default glow radius for GlowPadView -->
Andrew Lee215a0b02014-05-09 14:44:00 -070093 <dimen name="glowpadview_glow_radius">70dip</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070094
95 <!-- Default distance beyond which GlowPadView snaps to the matching target -->
96 <dimen name="glowpadview_snap_margin">40dip</dimen>
97
98 <!-- Default distance from each snap target that GlowPadView considers a "hit" -->
99 <dimen name="glowpadview_inner_radius">15dip</dimen>
100
Santos Cordone9e6f432013-08-27 19:02:12 -0700101 <dimen name="glowpadview_margin_bottom">-48dip</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -0700102 <dimen name="glowpadview_margin_right">0dip</dimen>
Ihab Awad5510dea2014-03-03 14:12:57 -0800103 <!-- Height of translucent shadow effect -->
104 <dimen name="translucent_shadow_height">2dp</dimen>
Andrew Leeff162182014-05-02 13:58:18 -0700105
Andrew Leeb448b502014-05-07 15:42:06 -0700106 <dimen name="end_call_button_margin_bottom">8dp</dimen>
Yorke Leee8645f32014-05-16 10:11:28 -0700107
108 <dimen name="call_card_anim_translate_y_offset">50dp</dimen>
Tyler Gunn350fff52014-07-29 11:52:22 -0700109
110 <!-- The smaller dimension of the video preview. When in portrait orientation this is the
111 width of the preview. When in landscape, this is the height. -->
112 <dimen name="video_preview_small_dimension">90dp</dimen>
113
114 <dimen name="video_preview_margin">20dp</dimen>
Andrew Lee45c00592014-08-14 17:47:48 -0700115
116 <dimen name="end_call_floating_action_button_diameter">72dp</dimen>
117 <dimen name="end_call_floating_action_button_small_diameter">56dp</dimen>
118
Andrew Lee3a7108a2014-08-25 12:19:35 -0700119 <dimen name="conference_call_manager_padding_top">64dp</dimen>
120 <dimen name="conference_call_manager_button_dimension">46dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -0700121</resources>