Xml文件  |  151行  |  7.12 KB

<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2013 The Android Open Source Project
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~      http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License
  -->

<resources>
    <!-- Whether or not this layout displays a large photo. -->
    <bool name="has_large_photo">false</bool>

    <!-- Whether or not the landscape mode layout is currently being used -->
    <bool name="is_layout_landscape">false</bool>

    <!-- Dimensions for CallCard elements (the normal in-call UI) -->

    <dimen name="call_banner_height">0dp</dimen>
    <dimen name="call_banner_vertical_margin">20dp</dimen>

    <dimen name="incall_action_bar_elevation">3dp</dimen>

    <!-- Margin between the bottom of the "call card" photo
         and the top of the in-call button cluster. -->
    <dimen name="in_call_touch_ui_upper_margin">2dp</dimen>

    <!-- Padding at the left and right edges of the "call banner". -->
    <dimen name="call_banner_side_padding">24dp</dimen>
    <!-- Padding at the top and bottom edges of the "call banner". -->
    <dimen name="call_banner_primary_call_container_top_padding">16dp</dimen>
    <dimen name="secondary_call_info_horizontal_padding">24dp</dimen>
    <dimen name="secondary_call_info_vertical_padding">32dp</dimen>
    <dimen name="secondary_call_info_text_size">16sp</dimen>

    <!-- Padding at the top and bottom edges of the "provider information" -->
    <dimen name="provider_info_top_bottom_padding">8dp</dimen>

    <!-- Text sizes for information in the call card.
         Note: These are the default sizes for small (<600dp height) devices: larger screen sizes
         apply the values in values-sw360dp/dimens.xml. -->
    <dimen name="call_status_text_size">16sp</dimen>
    <dimen name="call_status_text_min_size">12sp</dimen>
    <dimen name="call_name_text_size">34dp</dimen>
    <dimen name="call_name_text_min_size">28sp</dimen>
    <dimen name="call_label_text_size">16sp</dimen>
    <!-- Right padding for name and number fields in the call banner.
         This padding is used to ensure that ultra-long names or
         numbers won't overlap the elapsed time indication. -->
    <dimen name="call_banner_name_number_right_padding">50sp</dimen>

    <!-- Height and width of the in-call buttons. -->
    <dimen name="in_call_button_dimension">48dp</dimen>

    <dimen name="primary_call_elevation">0dp</dimen>
    <dimen name="dialpad_elevation">2dp</dimen>

    <!-- The InCallUI dialpad will sometimes want digits sizes that are different from dialer.
         Note: These are the default sizes for small (<600dp height) devices: larger screen sizes
         apply the values in values-h600dp/dimens.xml. -->
    <dimen name="dialpad_key_number_margin_bottom">1dp</dimen>
    <!-- Zero key should have less space between self and text because "+" is smaller -->
    <dimen name="dialpad_zero_key_number_margin_bottom">0dp</dimen>
    <dimen name="dialpad_digits_adjustable_text_size">20sp</dimen>
    <dimen name="dialpad_digits_adjustable_height">50dp</dimen>
    <dimen name="dialpad_key_numbers_size">36dp</dimen>

    <dimen name="floating_action_button_vertical_offset">-10dp</dimen>

    <dimen name="call_button_margin_vertical">8dp</dimen>
    <dimen name="call_button_margin_horizontal">6dp</dimen>

    <!-- Dimensions for OTA Call Card -->
    <dimen name="otaactivate_layout_marginTop">10dp</dimen>
    <dimen name="otalistenprogress_layout_marginTop">5dp</dimen>
    <dimen name="otasuccessfail_layout_marginTop">10dp</dimen>

    <!-- Dimension used to possibly down-scale high-res photo into what is suitable
         for notification's large icon. -->
    <dimen name="notification_icon_size">64dp</dimen>

    <!-- Circle size for incoming call widget's each item. -->
    <dimen name="incoming_call_widget_circle_size">56dp</dimen>

    <!-- Size of alarm alert outer ring. -->
    <dimen name="glowpadview_outerring_diameter">250dp</dimen>
    <!-- Default target placement radius for GlowPadView. Should be 1/2 of outerring diameter. -->
    <dimen name="glowpadview_target_placement_radius">125dp</dimen>

    <!-- Default glow radius for GlowPadView -->
    <dimen name="glowpadview_glow_radius">70dip</dimen>

    <!-- Default distance beyond which GlowPadView snaps to the matching target -->
    <dimen name="glowpadview_snap_margin">40dip</dimen>

    <!-- Default distance from each snap target that GlowPadView considers a "hit" -->
    <dimen name="glowpadview_inner_radius">15dip</dimen>

    <dimen name="glowpadview_margin_bottom">-48dip</dimen>
    <dimen name="glowpadview_margin_right">0dip</dimen>
    <!-- Height of translucent shadow effect -->
    <dimen name="translucent_shadow_height">2dp</dimen>

    <dimen name="end_call_button_margin_bottom">2dp</dimen>

    <dimen name="call_card_anim_translate_y_offset">50dp</dimen>

    <!-- The smaller dimension of the video preview.  When in portrait orientation this is the
         width of the preview.  When in landscape, this is the height. -->
    <dimen name="video_preview_small_dimension">90dp</dimen>

    <dimen name="video_preview_margin">0dp</dimen>

    <dimen name="end_call_floating_action_button_diameter">72dp</dimen>
    <dimen name="end_call_floating_action_button_small_diameter">56dp</dimen>

    <dimen name="conference_call_manager_padding_top">64dp</dimen>
    <dimen name="conference_call_manager_button_dimension">46dp</dimen>

    <dimen name="contact_context_title_text_size">14sp</dimen>
    <dimen name="contact_context_title_image_size">19dp</dimen>
    <dimen name="contact_context_title_image_side_padding">23dp</dimen>
    <dimen name="contact_context_title_margin_bottom">13dp</dimen>
    <dimen name="contact_context_list_item_padding">13dp</dimen>

    <dimen name="person_contact_context_horizontal_padding">30dp</dimen>
    <dimen name="person_contact_context_message_text_size">16sp</dimen>
    <dimen name="person_contact_context_message_vertical_padding">7dp</dimen>
    <dimen name="person_contact_context_message_horizontal_padding">12dp</dimen>
    <dimen name="person_contact_context_message_background_main_radius">15dp</dimen>
    <dimen name="person_contact_context_message_background_accent_radius">2dp</dimen>
    <dimen name="person_contact_context_detail_padding_top">7dp</dimen>
    <dimen name="person_contact_context_detail_text_size">14sp</dimen>

    <dimen name="business_contact_context_end_padding">10dp</dimen>
    <dimen name="business_contact_context_image_size">25dp</dimen>
    <dimen name="business_contact_context_image_padding">20dp</dimen>
    <dimen name="business_contact_context_heading_font_size">16sp</dimen>
    <dimen name="business_contact_context_detail_font_size">12sp</dimen>

    <dimen name="contact_context_small_photo_size">40dp</dimen>
</resources>