blob: b428179c4acdd3132dfa835d2c412a8dbdd111b2 [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. -->
Andrew Lee43f80fa2014-04-24 17:47:46 -070023 <dimen name="call_banner_height">75dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070024
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 Lee43f80fa2014-04-24 17:47:46 -070034 <dimen name="call_banner_primary_call_top_padding">24dp</dimen>
35 <dimen name="call_banner_top_bottom_padding">8dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070036
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. -->
Andrew Lee70bab102014-05-07 11:29:41 -070051 <dimen name="in_call_button_height">48dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070052
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 Leeff162182014-05-02 13:58:18 -070059 <dimen name="primary_call_translation_z">8dp</dimen>
60
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.) -->
Andrew Lee70bab102014-05-07 11:29:41 -070068 <dimen name="button_cluster_horizontal_padding">20dp</dimen>
69 <dimen name="button_cluster_vertical_padding">4dp</dimen>
70 <dimen name="call_button_margin">4dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070071
Chiao Chenga44c5912013-07-15 14:54:27 -070072 <!-- Dimensions for OTA Call Card -->
73 <dimen name="otaactivate_layout_marginTop">10dp</dimen>
74 <dimen name="otalistenprogress_layout_marginTop">5dp</dimen>
75 <dimen name="otasuccessfail_layout_marginTop">10dp</dimen>
76
77
78 <!-- Dimensions for Emergency Dialer and dialpad inside the in-call screen -->
79 <dimen name="dialpad_horizontal_margin">4dp</dimen>
80 <dimen name="dialpad_vertical_margin">2dp</dimen>
Ihab Awad5510dea2014-03-03 14:12:57 -080081 <dimen name="dialpad_digits_text_size">36sp</dimen>
82 <dimen name="dialpad_digits_height">47dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070083
84 <!-- Just used in landscape mode -->
85 <dimen name="emergency_dialer_digits_height">0px</dimen>
86 <dimen name="dialpad_center_margin">3dp</dimen>
87 <dimen name="dialpad_button_margin">3dp</dimen>
88
89
90 <!-- Layout weight values for dialpad screen. These layouts will be used in one
91 LinearLayout (dialpad_fragment.xml), configuring dialpad screen's vertical
92 ratio. -->
93 <integer name="dialpad_layout_weight_digits">20</integer>
94 <integer name="dialpad_layout_weight_dialpad">65</integer>
95 <integer name="dialpad_layout_weight_additional_buttons">15</integer>
96
97 <!-- Dimension used to possibly down-scale high-res photo into what is suitable
98 for notification's large icon. -->
99 <dimen name="notification_icon_size">64dp</dimen>
100
101 <!-- Circle size for incoming call widget's each item. -->
102 <dimen name="incoming_call_widget_circle_size">94dp</dimen>
103 <!-- Margin used for incoming call widget's icon for each item.
104 This should be same as "(incoming_call_widget_circle_size - icon_size)/2".
105 Right now answer/decline/reject icons have 38dp width/height.
106 So, (94 - 38)/2 ==> 28dp -->
107 <dimen name="incoming_call_widget_asset_margin">28dp</dimen>
108
Chiao Chenga44c5912013-07-15 14:54:27 -0700109 <!-- Size of alarm alert outer ring. -->
110 <dimen name="glowpadview_outerring_diameter">270dip</dimen>
111
112 <!-- Default target placement radius for GlowPadView. Should be 1/2 of outerring diameter. -->
113 <dimen name="glowpadview_target_placement_radius">135dip</dimen>
114
115 <!-- Default glow radius for GlowPadView -->
116 <dimen name="glowpadview_glow_radius">75dip</dimen>
117
118 <!-- Default distance beyond which GlowPadView snaps to the matching target -->
119 <dimen name="glowpadview_snap_margin">40dip</dimen>
120
121 <!-- Default distance from each snap target that GlowPadView considers a "hit" -->
122 <dimen name="glowpadview_inner_radius">15dip</dimen>
123
Santos Cordone9e6f432013-08-27 19:02:12 -0700124 <dimen name="glowpadview_margin_bottom">-48dip</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -0700125 <dimen name="glowpadview_margin_right">0dip</dimen>
126
Ihab Awad5510dea2014-03-03 14:12:57 -0800127 <!-- Text dimensions for dialpad keys -->
128 <dimen name="dialpad_key_numbers_size">40sp</dimen>
129 <dimen name="dialpad_key_letters_size">13sp</dimen>
Ihab Awadc8ec8d82014-03-21 14:55:48 -0700130 <dimen name="dialpad_key_star_size">26sp</dimen>
131 <dimen name="dialpad_key_pound_size">26sp</dimen>
Ihab Awad5510dea2014-03-03 14:12:57 -0800132 <dimen name="dialpad_key_numbers_width">30dp</dimen>
133 <dimen name="dialpad_key_letters_width">50dp</dimen>
134 <dimen name="dialpad_key_height">56dp</dimen>
135 <dimen name="dialpad_key_plus_size">18sp</dimen>
136 <dimen name="dialpad_number_to_letters_padding">11dp</dimen>
Andrew Lee43f80fa2014-04-24 17:47:46 -0700137 <dimen name="dialpad_bottom_padding">90dp</dimen>
Ihab Awad5510dea2014-03-03 14:12:57 -0800138 <dimen name="dialpad_horizontal_padding">5dp</dimen>
139
140 <!-- Height of translucent shadow effect -->
141 <dimen name="translucent_shadow_height">2dp</dimen>
Andrew Leeff162182014-05-02 13:58:18 -0700142
143 <dimen name="end_call_button_margin_bottom">15dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -0700144</resources>