blob: 17dc87253b7a76e5213300ae596807a29754bca8 [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
21 <!-- Height of the "call banner" overlay on top of the upper part of
22 the call info area. -->
23 <dimen name="call_banner_height">80dp</dimen>
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 Chen6b2d72c2013-09-27 16:38:38 -070031 <!-- Padding at the right edges of the secondary call banner. -->
32 <dimen name="secondary_call_banner_right_padding">100dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070033 <!-- Padding at the top and bottom edges of the "call banner". -->
Andrew Lee4f958732014-04-24 11:06:18 -070034 <dimen name="call_banner_primary_call_top_padding">32dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070035 <dimen name="call_banner_top_bottom_padding">16dp</dimen>
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 Lee4f958732014-04-24 11:06:18 -070040 <!-- Text size for the name in the call info. -->
41 <dimen name="call_name_text_size">36sp</dimen>
42 <!-- Text size for the call info label and number. -->
43 <dimen name="call_label_text_size">18sp</dimen>
44
Chiao Chenga44c5912013-07-15 14:54:27 -070045 <!-- 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
50 <!-- Height of the main row of in-call buttons. -->
51 <dimen name="in_call_button_height">76dp</dimen>
52
Chiao Chenga44c5912013-07-15 14:54:27 -070053 <!-- 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. -->
57 <dimen name="extra_row_button_height">@dimen/in_call_button_height</dimen>
58
Andrew Lee24f01082014-04-24 15:41:26 -070059 <!-- Bottom margin for the end call button. -->
60 <dimen name="end_call_button_margin_bottom">30dp</dimen>
61
Chiao Chenga44c5912013-07-15 14:54:27 -070062 <!-- Padding at the left and right edges of the incall_touch_ui button
63 cluster. This padding is necessary because we can't allow the
64 buttons to be very close to the edges of the screen, due to the
65 risk of false touches (from your finger wrapping around while
66 holding the phone, *before* moving it up to your face and having
67 the prox sensor kick in.) -->
68 <dimen name="button_cluster_side_padding">20dp</dimen>
69
70
71 <!-- Dimensions for OTA Call Card -->
72 <dimen name="otaactivate_layout_marginTop">10dp</dimen>
73 <dimen name="otalistenprogress_layout_marginTop">5dp</dimen>
74 <dimen name="otasuccessfail_layout_marginTop">10dp</dimen>
75
76
77 <!-- Dimensions for Emergency Dialer and dialpad inside the in-call screen -->
78 <dimen name="dialpad_horizontal_margin">4dp</dimen>
79 <dimen name="dialpad_vertical_margin">2dp</dimen>
Ihab Awad5510dea2014-03-03 14:12:57 -080080 <dimen name="dialpad_digits_text_size">36sp</dimen>
81 <dimen name="dialpad_digits_height">47dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070082
83 <!-- Just used in landscape mode -->
84 <dimen name="emergency_dialer_digits_height">0px</dimen>
85 <dimen name="dialpad_center_margin">3dp</dimen>
86 <dimen name="dialpad_button_margin">3dp</dimen>
87
88
89 <!-- Layout weight values for dialpad screen. These layouts will be used in one
90 LinearLayout (dialpad_fragment.xml), configuring dialpad screen's vertical
91 ratio. -->
92 <integer name="dialpad_layout_weight_digits">20</integer>
93 <integer name="dialpad_layout_weight_dialpad">65</integer>
94 <integer name="dialpad_layout_weight_additional_buttons">15</integer>
95
96 <!-- Dimension used to possibly down-scale high-res photo into what is suitable
97 for notification's large icon. -->
98 <dimen name="notification_icon_size">64dp</dimen>
99
100 <!-- Circle size for incoming call widget's each item. -->
101 <dimen name="incoming_call_widget_circle_size">94dp</dimen>
102 <!-- Margin used for incoming call widget's icon for each item.
103 This should be same as "(incoming_call_widget_circle_size - icon_size)/2".
104 Right now answer/decline/reject icons have 38dp width/height.
105 So, (94 - 38)/2 ==> 28dp -->
106 <dimen name="incoming_call_widget_asset_margin">28dp</dimen>
107
Chiao Chenga44c5912013-07-15 14:54:27 -0700108 <!-- Size of alarm alert outer ring. -->
109 <dimen name="glowpadview_outerring_diameter">270dip</dimen>
110
111 <!-- Default target placement radius for GlowPadView. Should be 1/2 of outerring diameter. -->
112 <dimen name="glowpadview_target_placement_radius">135dip</dimen>
113
114 <!-- Default glow radius for GlowPadView -->
115 <dimen name="glowpadview_glow_radius">75dip</dimen>
116
117 <!-- Default distance beyond which GlowPadView snaps to the matching target -->
118 <dimen name="glowpadview_snap_margin">40dip</dimen>
119
120 <!-- Default distance from each snap target that GlowPadView considers a "hit" -->
121 <dimen name="glowpadview_inner_radius">15dip</dimen>
122
Santos Cordone9e6f432013-08-27 19:02:12 -0700123 <dimen name="glowpadview_margin_bottom">-48dip</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -0700124 <dimen name="glowpadview_margin_right">0dip</dimen>
125
Ihab Awad5510dea2014-03-03 14:12:57 -0800126 <!-- Text dimensions for dialpad keys -->
127 <dimen name="dialpad_key_numbers_size">40sp</dimen>
128 <dimen name="dialpad_key_letters_size">13sp</dimen>
Ihab Awadc8ec8d82014-03-21 14:55:48 -0700129 <dimen name="dialpad_key_star_size">26sp</dimen>
130 <dimen name="dialpad_key_pound_size">26sp</dimen>
Ihab Awad5510dea2014-03-03 14:12:57 -0800131 <dimen name="dialpad_key_numbers_width">30dp</dimen>
132 <dimen name="dialpad_key_letters_width">50dp</dimen>
133 <dimen name="dialpad_key_height">56dp</dimen>
134 <dimen name="dialpad_key_plus_size">18sp</dimen>
135 <dimen name="dialpad_number_to_letters_padding">11dp</dimen>
136 <dimen name="dialpad_horizontal_padding">5dp</dimen>
137
138 <!-- Height of translucent shadow effect -->
139 <dimen name="translucent_shadow_height">2dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -0700140</resources>