1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2011 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<resources>
18    <!-- Dimensions for CallCard elements (the normal in-call UI) -->
19
20    <!-- Height of the "call banner" overlay on top of the upper part of
21         the call info area. -->
22    <dimen name="call_banner_height">80dp</dimen>
23
24    <!-- Margin between the bottom of the "call card" photo
25         and the top of the in-call button cluster. -->
26    <dimen name="in_call_touch_ui_upper_margin">2dp</dimen>
27
28    <!-- Padding at the left and right edges of the "call banner". -->
29    <dimen name="call_banner_side_padding">24dp</dimen>
30    <!-- Padding at the top and bottom edges of the "call banner". -->
31    <dimen name="call_banner_top_bottom_padding">16dp</dimen>
32
33    <!-- Padding at the top and bottom edges of the "provider information" -->
34    <dimen name="provider_info_top_bottom_padding">8dp</dimen>
35
36    <!-- Right padding for name and number fields in the call banner.
37         This padding is used to ensure that ultra-long names or
38         numbers won't overlap the elapsed time indication. -->
39    <dimen name="call_banner_name_number_right_padding">50sp</dimen>
40
41    <!-- Height of the main row of in-call buttons. -->
42    <dimen name="in_call_button_height">76dp</dimen>
43
44    <!-- Height of the in-call "End" button. Match with Contact's dimens/call_button_height -->
45    <dimen name="in_call_end_button_height">74dp</dimen>
46
47    <!-- Width of buttons in the extra button row. -->
48    <dimen name="extra_row_button_width">56dp</dimen>
49
50    <!-- Height of buttons in the extra button row. -->
51    <dimen name="extra_row_button_height">@dimen/in_call_button_height</dimen>
52
53    <!-- Padding at the left and right edges of the incall_touch_ui button
54         cluster.  This padding is necessary because we can't allow the
55         buttons to be very close to the edges of the screen, due to the
56         risk of false touches (from your finger wrapping around while
57         holding the phone, *before* moving it up to your face and having
58         the prox sensor kick in.) -->
59    <dimen name="button_cluster_side_padding">20dp</dimen>
60
61
62    <!-- Dimensions for OTA Call Card -->
63    <dimen name="otaactivate_layout_marginTop">10dp</dimen>
64    <dimen name="otalistenprogress_layout_marginTop">5dp</dimen>
65    <dimen name="otasuccessfail_layout_marginTop">10dp</dimen>
66
67
68    <!-- Dimensions for Emergency Dialer and dialpad inside the in-call screen -->
69    <dimen name="dialpad_horizontal_margin">4dp</dimen>
70    <dimen name="dialpad_vertical_margin">2dp</dimen>
71    <dimen name="dialpad_digits_text_size">35sp</dimen>
72    <dimen name="dialpad_space_above_keys">29dp</dimen>
73    <dimen name="dialpad_bottom_key_height">113dp</dimen>
74
75    <!-- Just used in landscape mode -->
76    <dimen name="emergency_dialer_digits_height">0px</dimen>
77    <dimen name="dialpad_center_margin">3dp</dimen>
78    <dimen name="dialpad_button_margin">3dp</dimen>
79
80
81    <!-- Layout weight values for dialpad screen. These layouts will be used in one
82         LinearLayout (dialpad_fragment.xml), configuring dialpad screen's vertical
83         ratio. -->
84    <integer name="dialpad_layout_weight_digits">20</integer>
85    <integer name="dialpad_layout_weight_dialpad">65</integer>
86    <integer name="dialpad_layout_weight_additional_buttons">15</integer>
87
88    <!-- Dimension used to possibly down-scale high-res photo into what is suitable
89         for notification's large icon. -->
90    <dimen name="notification_icon_size">64dp</dimen>
91
92    <!-- Circle size for incoming call widget's each item. -->
93    <dimen name="incoming_call_widget_circle_size">94dp</dimen>
94    <!-- Margin used for incoming call widget's icon for each item.
95         This should be same as "(incoming_call_widget_circle_size - icon_size)/2".
96         Right now answer/decline/reject icons have 38dp width/height.
97         So, (94 - 38)/2 ==> 28dp -->
98    <dimen name="incoming_call_widget_asset_margin">28dp</dimen>
99    <!-- Action bar dimensions.  Keep in sync with same value in Dialer. -->
100    <dimen name="action_bar_height">56dp</dimen>
101    <dimen name="action_bar_elevation">2dp</dimen>
102    <dimen name="actionbar_contentInsetStart">72dp</dimen>
103
104    <!-- Width, height and bottom margin for the floating action button. These values are
105         intentionally larger than the values used inside Dialer, since the dialpad is larger
106         inside the Emergency Dialer than the regular Dialer. -->
107    <dimen name="floating_action_button_width">67dp</dimen>
108    <dimen name="floating_action_button_height">67dp</dimen>
109    <dimen name="floating_action_button_margin_bottom">26dp</dimen>
110</resources>
111