blob: 3a926b6935f7b79f0ae7f3db69b263378f755ec8 [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>
Nancy Chen82c77172016-02-11 17:52:33 -080019 <!-- Whether or not this layout displays a large photo. -->
20 <bool name="has_large_photo">false</bool>
21
Yorke Lee53485a52015-03-31 09:55:54 -070022 <!-- Whether or not the landscape mode layout is currently being used -->
23 <bool name="is_layout_landscape">false</bool>
24
Chiao Chenga44c5912013-07-15 14:54:27 -070025 <!-- Dimensions for CallCard elements (the normal in-call UI) -->
26
Nancy Chenc1d526c2016-02-11 13:35:07 -080027 <dimen name="call_banner_height">0dp</dimen>
28 <dimen name="call_banner_vertical_margin">20dp</dimen>
29
Andrew Lee3a7108a2014-08-25 12:19:35 -070030 <dimen name="incall_action_bar_elevation">3dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070031
32 <!-- Margin between the bottom of the "call card" photo
33 and the top of the in-call button cluster. -->
34 <dimen name="in_call_touch_ui_upper_margin">2dp</dimen>
35
36 <!-- Padding at the left and right edges of the "call banner". -->
37 <dimen name="call_banner_side_padding">24dp</dimen>
38 <!-- Padding at the top and bottom edges of the "call banner". -->
Andrew Leec2831f32014-06-04 12:57:53 -070039 <dimen name="call_banner_primary_call_container_top_padding">16dp</dimen>
Andrew Lee0b3c3502014-09-09 15:20:43 -070040 <dimen name="secondary_call_info_horizontal_padding">24dp</dimen>
41 <dimen name="secondary_call_info_vertical_padding">32dp</dimen>
42 <dimen name="secondary_call_info_text_size">16sp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070043
44 <!-- Padding at the top and bottom edges of the "provider information" -->
45 <dimen name="provider_info_top_bottom_padding">8dp</dimen>
46
Nancy Chen33ee1ef2014-11-19 14:15:17 -080047 <!-- Text sizes for information in the call card.
48 Note: These are the default sizes for small (<600dp height) devices: larger screen sizes
Andrew Leed814e232015-06-09 19:26:07 -070049 apply the values in values-sw360dp/dimens.xml. -->
Nancy Chen33ee1ef2014-11-19 14:15:17 -080050 <dimen name="call_status_text_size">16sp</dimen>
Andrew Leed814e232015-06-09 19:26:07 -070051 <dimen name="call_status_text_min_size">12sp</dimen>
Nancy Chen33ee1ef2014-11-19 14:15:17 -080052 <dimen name="call_name_text_size">34dp</dimen>
53 <dimen name="call_name_text_min_size">28sp</dimen>
54 <dimen name="call_label_text_size">16sp</dimen>
Mengjun Leng19fe3c82017-01-04 14:49:06 +080055 <dimen name="call_label_text_min_size">6sp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070056 <!-- Right padding for name and number fields in the call banner.
57 This padding is used to ensure that ultra-long names or
58 numbers won't overlap the elapsed time indication. -->
59 <dimen name="call_banner_name_number_right_padding">50sp</dimen>
60
Andrew Lee466618d2014-05-08 16:13:23 -070061 <!-- Height and width of the in-call buttons. -->
62 <dimen name="in_call_button_dimension">48dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070063
Nancy Chen82c77172016-02-11 17:52:33 -080064 <dimen name="primary_call_elevation">0dp</dimen>
Nancy Chen9710bb22016-02-11 17:24:42 -080065 <dimen name="dialpad_elevation">2dp</dimen>
Andrew Leeff162182014-05-02 13:58:18 -070066
Andalam Parthasarathie1daacd2016-08-29 16:55:37 +053067 <!-- layout height -->
68 <dimen name="in_call_layout_height">40dp</dimen>
69
Nancy Chen33ee1ef2014-11-19 14:15:17 -080070 <!-- The InCallUI dialpad will sometimes want digits sizes that are different from dialer.
71 Note: These are the default sizes for small (<600dp height) devices: larger screen sizes
72 apply the values in values-h600dp/dimens.xml. -->
73 <dimen name="dialpad_key_number_margin_bottom">1dp</dimen>
74 <!-- Zero key should have less space between self and text because "+" is smaller -->
75 <dimen name="dialpad_zero_key_number_margin_bottom">0dp</dimen>
76 <dimen name="dialpad_digits_adjustable_text_size">20sp</dimen>
77 <dimen name="dialpad_digits_adjustable_height">50dp</dimen>
78 <dimen name="dialpad_key_numbers_size">36dp</dimen>
79
Nancy Chenc1d526c2016-02-11 13:35:07 -080080 <dimen name="floating_action_button_vertical_offset">-10dp</dimen>
Andrew Leeff162182014-05-02 13:58:18 -070081
Andrew Lee9be20292014-05-20 17:25:34 -070082 <dimen name="call_button_margin_vertical">8dp</dimen>
83 <dimen name="call_button_margin_horizontal">6dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070084
Chiao Chenga44c5912013-07-15 14:54:27 -070085 <!-- Dimensions for OTA Call Card -->
86 <dimen name="otaactivate_layout_marginTop">10dp</dimen>
87 <dimen name="otalistenprogress_layout_marginTop">5dp</dimen>
88 <dimen name="otasuccessfail_layout_marginTop">10dp</dimen>
89
Chiao Chenga44c5912013-07-15 14:54:27 -070090 <!-- Dimension used to possibly down-scale high-res photo into what is suitable
91 for notification's large icon. -->
92 <dimen name="notification_icon_size">64dp</dimen>
93
94 <!-- Circle size for incoming call widget's each item. -->
Andrew Lee215a0b02014-05-09 14:44:00 -070095 <dimen name="incoming_call_widget_circle_size">56dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070096
Chiao Chenga44c5912013-07-15 14:54:27 -070097 <!-- Size of alarm alert outer ring. -->
Andrew Lee215a0b02014-05-09 14:44:00 -070098 <dimen name="glowpadview_outerring_diameter">250dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070099 <!-- Default target placement radius for GlowPadView. Should be 1/2 of outerring diameter. -->
Andrew Lee215a0b02014-05-09 14:44:00 -0700100 <dimen name="glowpadview_target_placement_radius">125dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -0700101
102 <!-- Default glow radius for GlowPadView -->
Andrew Lee215a0b02014-05-09 14:44:00 -0700103 <dimen name="glowpadview_glow_radius">70dip</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -0700104
105 <!-- Default distance beyond which GlowPadView snaps to the matching target -->
106 <dimen name="glowpadview_snap_margin">40dip</dimen>
107
108 <!-- Default distance from each snap target that GlowPadView considers a "hit" -->
109 <dimen name="glowpadview_inner_radius">15dip</dimen>
110
Santos Cordone9e6f432013-08-27 19:02:12 -0700111 <dimen name="glowpadview_margin_bottom">-48dip</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -0700112 <dimen name="glowpadview_margin_right">0dip</dimen>
Ihab Awad5510dea2014-03-03 14:12:57 -0800113 <!-- Height of translucent shadow effect -->
114 <dimen name="translucent_shadow_height">2dp</dimen>
Andrew Leeff162182014-05-02 13:58:18 -0700115
Nancy Chenc1d526c2016-02-11 13:35:07 -0800116 <dimen name="end_call_button_margin_bottom">2dp</dimen>
Yorke Leee8645f32014-05-16 10:11:28 -0700117
118 <dimen name="call_card_anim_translate_y_offset">50dp</dimen>
Tyler Gunn350fff52014-07-29 11:52:22 -0700119
120 <!-- The smaller dimension of the video preview. When in portrait orientation this is the
121 width of the preview. When in landscape, this is the height. -->
122 <dimen name="video_preview_small_dimension">90dp</dimen>
123
Nancy Chen9710bb22016-02-11 17:24:42 -0800124 <dimen name="video_preview_margin">0dp</dimen>
Andrew Lee45c00592014-08-14 17:47:48 -0700125
126 <dimen name="end_call_floating_action_button_diameter">72dp</dimen>
127 <dimen name="end_call_floating_action_button_small_diameter">56dp</dimen>
128
Andrew Lee3a7108a2014-08-25 12:19:35 -0700129 <dimen name="conference_call_manager_padding_top">64dp</dimen>
130 <dimen name="conference_call_manager_button_dimension">46dp</dimen>
Nancy Chen2c7266e2015-09-23 10:46:01 -0700131
Nancy Chende3ab882015-09-25 17:40:44 -0700132 <dimen name="contact_context_title_text_size">14sp</dimen>
Nancy Chen68739072015-10-12 20:45:44 -0700133 <dimen name="contact_context_title_image_size">19dp</dimen>
134 <dimen name="contact_context_title_image_side_padding">23dp</dimen>
Nancy Chende3ab882015-09-25 17:40:44 -0700135 <dimen name="contact_context_title_margin_bottom">13dp</dimen>
136 <dimen name="contact_context_list_item_padding">13dp</dimen>
Nancy Chen3f6253e2015-09-23 10:47:16 -0700137
Nancy Chende3ab882015-09-25 17:40:44 -0700138 <dimen name="person_contact_context_horizontal_padding">30dp</dimen>
139 <dimen name="person_contact_context_message_text_size">16sp</dimen>
140 <dimen name="person_contact_context_message_vertical_padding">7dp</dimen>
141 <dimen name="person_contact_context_message_horizontal_padding">12dp</dimen>
142 <dimen name="person_contact_context_message_background_main_radius">15dp</dimen>
143 <dimen name="person_contact_context_message_background_accent_radius">2dp</dimen>
144 <dimen name="person_contact_context_detail_padding_top">7dp</dimen>
145 <dimen name="person_contact_context_detail_text_size">14sp</dimen>
Nancy Chen3f6253e2015-09-23 10:47:16 -0700146
Nancy Chene838ba22015-10-02 10:51:50 -0700147 <dimen name="business_contact_context_end_padding">10dp</dimen>
Nancy Chende3ab882015-09-25 17:40:44 -0700148 <dimen name="business_contact_context_image_size">25dp</dimen>
149 <dimen name="business_contact_context_image_padding">20dp</dimen>
Nancy Chen68739072015-10-12 20:45:44 -0700150 <dimen name="business_contact_context_heading_font_size">16sp</dimen>
151 <dimen name="business_contact_context_detail_font_size">12sp</dimen>
152
Brandon Maxwell69d42ff2015-11-16 18:15:23 -0800153 <dimen name="contact_context_small_photo_size">40dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -0700154</resources>