1 <?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 <!-- Whether or not this layout displays a large photo. --> 20 <bool name="has_large_photo">false</bool> 21 22 <!-- Whether or not the landscape mode layout is currently being used --> 23 <bool name="is_layout_landscape">false</bool> 24 25 <!-- Dimensions for CallCard elements (the normal in-call UI) --> 26 27 <dimen name="call_banner_height">0dp</dimen> 28 <dimen name="call_banner_vertical_margin">20dp</dimen> 29 30 <dimen name="incall_action_bar_elevation">3dp</dimen> 31 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". --> 39 <dimen name="call_banner_primary_call_container_top_padding">16dp</dimen> 40 <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> 43 44 <!-- Padding at the top and bottom edges of the "provider information" --> 45 <dimen name="provider_info_top_bottom_padding">8dp</dimen> 46 47 <!-- Text sizes for information in the call card. 48 Note: These are the default sizes for small (<600dp height) devices: larger screen sizes 49 apply the values in values-sw360dp/dimens.xml. --> 50 <dimen name="call_status_text_size">16sp</dimen> 51 <dimen name="call_status_text_min_size">12sp</dimen> 52 <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> 55 <!-- Right padding for name and number fields in the call banner. 56 This padding is used to ensure that ultra-long names or 57 numbers won't overlap the elapsed time indication. --> 58 <dimen name="call_banner_name_number_right_padding">50sp</dimen> 59 60 <!-- Height and width of the in-call buttons. --> 61 <dimen name="in_call_button_dimension">48dp</dimen> 62 63 <dimen name="primary_call_elevation">0dp</dimen> 64 <dimen name="dialpad_elevation">2dp</dimen> 65 66 <!-- The InCallUI dialpad will sometimes want digits sizes that are different from dialer. 67 Note: These are the default sizes for small (<600dp height) devices: larger screen sizes 68 apply the values in values-h600dp/dimens.xml. --> 69 <dimen name="dialpad_key_number_margin_bottom">1dp</dimen> 70 <!-- Zero key should have less space between self and text because "+" is smaller --> 71 <dimen name="dialpad_zero_key_number_margin_bottom">0dp</dimen> 72 <dimen name="dialpad_digits_adjustable_text_size">20sp</dimen> 73 <dimen name="dialpad_digits_adjustable_height">50dp</dimen> 74 <dimen name="dialpad_key_numbers_size">36dp</dimen> 75 76 <dimen name="floating_action_button_vertical_offset">-10dp</dimen> 77 78 <dimen name="call_button_margin_vertical">8dp</dimen> 79 <dimen name="call_button_margin_horizontal">6dp</dimen> 80 81 <!-- Dimensions for OTA Call Card --> 82 <dimen name="otaactivate_layout_marginTop">10dp</dimen> 83 <dimen name="otalistenprogress_layout_marginTop">5dp</dimen> 84 <dimen name="otasuccessfail_layout_marginTop">10dp</dimen> 85 86 <!-- Dimension used to possibly down-scale high-res photo into what is suitable 87 for notification's large icon. --> 88 <dimen name="notification_icon_size">64dp</dimen> 89 90 <!-- Circle size for incoming call widget's each item. --> 91 <dimen name="incoming_call_widget_circle_size">56dp</dimen> 92 93 <!-- Size of alarm alert outer ring. --> 94 <dimen name="glowpadview_outerring_diameter">250dp</dimen> 95 <!-- Default target placement radius for GlowPadView. Should be 1/2 of outerring diameter. --> 96 <dimen name="glowpadview_target_placement_radius">125dp</dimen> 97 98 <!-- Default glow radius for GlowPadView --> 99 <dimen name="glowpadview_glow_radius">70dip</dimen> 100 101 <!-- Default distance beyond which GlowPadView snaps to the matching target --> 102 <dimen name="glowpadview_snap_margin">40dip</dimen> 103 104 <!-- Default distance from each snap target that GlowPadView considers a "hit" --> 105 <dimen name="glowpadview_inner_radius">15dip</dimen> 106 107 <dimen name="glowpadview_margin_bottom">-48dip</dimen> 108 <dimen name="glowpadview_margin_right">0dip</dimen> 109 <!-- Height of translucent shadow effect --> 110 <dimen name="translucent_shadow_height">2dp</dimen> 111 112 <dimen name="end_call_button_margin_bottom">2dp</dimen> 113 114 <dimen name="call_card_anim_translate_y_offset">50dp</dimen> 115 116 <!-- The smaller dimension of the video preview. When in portrait orientation this is the 117 width of the preview. When in landscape, this is the height. --> 118 <dimen name="video_preview_small_dimension">90dp</dimen> 119 120 <dimen name="video_preview_margin">0dp</dimen> 121 122 <dimen name="end_call_floating_action_button_diameter">72dp</dimen> 123 <dimen name="end_call_floating_action_button_small_diameter">56dp</dimen> 124 125 <dimen name="conference_call_manager_padding_top">64dp</dimen> 126 <dimen name="conference_call_manager_button_dimension">46dp</dimen> 127 128 <dimen name="contact_context_title_text_size">14sp</dimen> 129 <dimen name="contact_context_title_image_size">19dp</dimen> 130 <dimen name="contact_context_title_image_side_padding">23dp</dimen> 131 <dimen name="contact_context_title_margin_bottom">13dp</dimen> 132 <dimen name="contact_context_list_item_padding">13dp</dimen> 133 134 <dimen name="person_contact_context_horizontal_padding">30dp</dimen> 135 <dimen name="person_contact_context_message_text_size">16sp</dimen> 136 <dimen name="person_contact_context_message_vertical_padding">7dp</dimen> 137 <dimen name="person_contact_context_message_horizontal_padding">12dp</dimen> 138 <dimen name="person_contact_context_message_background_main_radius">15dp</dimen> 139 <dimen name="person_contact_context_message_background_accent_radius">2dp</dimen> 140 <dimen name="person_contact_context_detail_padding_top">7dp</dimen> 141 <dimen name="person_contact_context_detail_text_size">14sp</dimen> 142 143 <dimen name="business_contact_context_end_padding">10dp</dimen> 144 <dimen name="business_contact_context_image_size">25dp</dimen> 145 <dimen name="business_contact_context_image_padding">20dp</dimen> 146 <dimen name="business_contact_context_heading_font_size">16sp</dimen> 147 <dimen name="business_contact_context_detail_font_size">12sp</dimen> 148 149 <dimen name="contact_context_small_photo_size">40dp</dimen> 150 </resources> 151