blob: 55f0c3e132bb14d04614572bd6ebd0c7c5a05b13 [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 Leec2831f32014-06-04 12:57:53 -070023 <dimen name="call_banner_height">122dp</dimen>
Andrew Lee3a7108a2014-08-25 12:19:35 -070024 <dimen name="incall_action_bar_elevation">3dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070025
26 <!-- Margin between the bottom of the "call card" photo
27 and the top of the in-call button cluster. -->
28 <dimen name="in_call_touch_ui_upper_margin">2dp</dimen>
29
30 <!-- Padding at the left and right edges of the "call banner". -->
31 <dimen name="call_banner_side_padding">24dp</dimen>
Christine Chen6b2d72c2013-09-27 16:38:38 -070032 <!-- Padding at the right edges of the secondary call banner. -->
Andrew Leee5c0d8b2014-05-19 17:13:32 -070033 <dimen name="secondary_call_banner_right_padding">24dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070034 <!-- Padding at the top and bottom edges of the "call banner". -->
Andrew Leec2831f32014-06-04 12:57:53 -070035 <dimen name="call_banner_primary_call_container_top_padding">16dp</dimen>
Andrew Leeb1c31cd2014-05-27 10:51:48 -070036 <dimen name="call_banner_secondary_call_top_bottom_padding">24dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070037
38 <!-- Padding at the top and bottom edges of the "provider information" -->
39 <dimen name="provider_info_top_bottom_padding">8dp</dimen>
40
Andrew Lee4f958732014-04-24 11:06:18 -070041 <!-- Text size for the name in the call info. -->
Andrew Lee466618d2014-05-08 16:13:23 -070042 <dimen name="call_status_text_size">22sp</dimen>
Yorke Lee70ffa5a2014-08-06 13:37:50 -070043 <dimen name="call_name_text_size">45dp</dimen>
Sai Cheemalapatid21e30f2014-06-23 11:26:58 -070044 <dimen name="call_name_text_min_size">34sp</dimen>
Andrew Lee4f958732014-04-24 11:06:18 -070045 <dimen name="call_label_text_size">18sp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070046 <!-- Right padding for name and number fields in the call banner.
47 This padding is used to ensure that ultra-long names or
48 numbers won't overlap the elapsed time indication. -->
49 <dimen name="call_banner_name_number_right_padding">50sp</dimen>
50
Andrew Lee466618d2014-05-08 16:13:23 -070051 <!-- Height and width of the in-call buttons. -->
52 <dimen name="in_call_button_dimension">48dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070053
Andrew Lee3a7108a2014-08-25 12:19:35 -070054 <dimen name="primary_call_elevation">5dp</dimen>
55 <dimen name="dialpad_elevation">2dp</dimen>
56 <dimen name="secondary_call_elevation">1dp</dimen>
Andrew Leeff162182014-05-02 13:58:18 -070057
Andrew Lee45c00592014-08-14 17:47:48 -070058 <dimen name="floating_action_bar_vertical_offset">-24dp</dimen>
Andrew Leeff162182014-05-02 13:58:18 -070059
Chiao Chenga44c5912013-07-15 14:54:27 -070060 <!-- Padding at the left and right edges of the incall_touch_ui button
61 cluster. This padding is necessary because we can't allow the
62 buttons to be very close to the edges of the screen, due to the
63 risk of false touches (from your finger wrapping around while
64 holding the phone, *before* moving it up to your face and having
65 the prox sensor kick in.) -->
Andrew Lee70bab102014-05-07 11:29:41 -070066 <dimen name="button_cluster_horizontal_padding">20dp</dimen>
Andrew Lee9be20292014-05-20 17:25:34 -070067 <dimen name="call_button_margin_vertical">8dp</dimen>
68 <dimen name="call_button_margin_horizontal">6dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070069
Chiao Chenga44c5912013-07-15 14:54:27 -070070 <!-- Dimensions for OTA Call Card -->
71 <dimen name="otaactivate_layout_marginTop">10dp</dimen>
72 <dimen name="otalistenprogress_layout_marginTop">5dp</dimen>
73 <dimen name="otasuccessfail_layout_marginTop">10dp</dimen>
74
Chiao Chenga44c5912013-07-15 14:54:27 -070075 <!-- Dimension used to possibly down-scale high-res photo into what is suitable
76 for notification's large icon. -->
77 <dimen name="notification_icon_size">64dp</dimen>
78
79 <!-- Circle size for incoming call widget's each item. -->
Andrew Lee215a0b02014-05-09 14:44:00 -070080 <dimen name="incoming_call_widget_circle_size">56dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070081
Chiao Chenga44c5912013-07-15 14:54:27 -070082 <!-- Size of alarm alert outer ring. -->
Andrew Lee215a0b02014-05-09 14:44:00 -070083 <dimen name="glowpadview_outerring_diameter">250dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070084 <!-- Default target placement radius for GlowPadView. Should be 1/2 of outerring diameter. -->
Andrew Lee215a0b02014-05-09 14:44:00 -070085 <dimen name="glowpadview_target_placement_radius">125dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070086
87 <!-- Default glow radius for GlowPadView -->
Andrew Lee215a0b02014-05-09 14:44:00 -070088 <dimen name="glowpadview_glow_radius">70dip</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070089
90 <!-- Default distance beyond which GlowPadView snaps to the matching target -->
91 <dimen name="glowpadview_snap_margin">40dip</dimen>
92
93 <!-- Default distance from each snap target that GlowPadView considers a "hit" -->
94 <dimen name="glowpadview_inner_radius">15dip</dimen>
95
Santos Cordone9e6f432013-08-27 19:02:12 -070096 <dimen name="glowpadview_margin_bottom">-48dip</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070097 <dimen name="glowpadview_margin_right">0dip</dimen>
Ihab Awad5510dea2014-03-03 14:12:57 -080098 <!-- Height of translucent shadow effect -->
99 <dimen name="translucent_shadow_height">2dp</dimen>
Andrew Leeff162182014-05-02 13:58:18 -0700100
Andrew Leeb448b502014-05-07 15:42:06 -0700101 <dimen name="end_call_button_margin_bottom">8dp</dimen>
Yorke Leee8645f32014-05-16 10:11:28 -0700102
103 <dimen name="call_card_anim_translate_y_offset">50dp</dimen>
Tyler Gunn350fff52014-07-29 11:52:22 -0700104
105 <!-- The smaller dimension of the video preview. When in portrait orientation this is the
106 width of the preview. When in landscape, this is the height. -->
107 <dimen name="video_preview_small_dimension">90dp</dimen>
108
109 <dimen name="video_preview_margin">20dp</dimen>
Andrew Lee45c00592014-08-14 17:47:48 -0700110
111 <dimen name="end_call_floating_action_button_diameter">72dp</dimen>
112 <dimen name="end_call_floating_action_button_small_diameter">56dp</dimen>
113
Andrew Lee3a7108a2014-08-25 12:19:35 -0700114 <dimen name="conference_call_manager_padding_top">64dp</dimen>
115 <dimen name="conference_call_manager_button_dimension">46dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -0700116</resources>