Home | History | Annotate | Download | only in values
      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     <!-- 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. -->
     23     <dimen name="call_banner_height">80dp</dimen>
     24 
     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>
     31     <!-- Padding at the right edges of the secondary call banner. -->
     32     <dimen name="secondary_call_banner_right_padding">100dp</dimen>
     33     <!-- Padding at the top and bottom edges of the "call banner". -->
     34     <dimen name="call_banner_top_bottom_padding">16dp</dimen>
     35 
     36     <!-- Padding at the top and bottom edges of the "provider information" -->
     37     <dimen name="provider_info_top_bottom_padding">8dp</dimen>
     38 
     39     <!-- Right padding for name and number fields in the call banner.
     40          This padding is used to ensure that ultra-long names or
     41          numbers won't overlap the elapsed time indication. -->
     42     <dimen name="call_banner_name_number_right_padding">50sp</dimen>
     43 
     44     <!-- Height of the main row of in-call buttons. -->
     45     <dimen name="in_call_button_height">76dp</dimen>
     46 
     47     <!-- Height of the in-call "End" button. Match with Contact's dimens/call_button_height -->
     48     <dimen name="in_call_end_button_height">74dp</dimen>
     49 
     50     <!-- Width of buttons in the extra button row. -->
     51     <dimen name="extra_row_button_width">56dp</dimen>
     52 
     53     <!-- Height of buttons in the extra button row. -->
     54     <dimen name="extra_row_button_height">@dimen/in_call_button_height</dimen>
     55 
     56     <!-- Padding at the left and right edges of the incall_touch_ui button
     57          cluster.  This padding is necessary because we can't allow the
     58          buttons to be very close to the edges of the screen, due to the
     59          risk of false touches (from your finger wrapping around while
     60          holding the phone, *before* moving it up to your face and having
     61          the prox sensor kick in.) -->
     62     <dimen name="button_cluster_side_padding">20dp</dimen>
     63 
     64 
     65     <!-- Dimensions for OTA Call Card -->
     66     <dimen name="otaactivate_layout_marginTop">10dp</dimen>
     67     <dimen name="otalistenprogress_layout_marginTop">5dp</dimen>
     68     <dimen name="otasuccessfail_layout_marginTop">10dp</dimen>
     69 
     70 
     71     <!-- Dimensions for Emergency Dialer and dialpad inside the in-call screen -->
     72     <dimen name="dialpad_horizontal_margin">4dp</dimen>
     73     <dimen name="dialpad_vertical_margin">2dp</dimen>
     74     <dimen name="dialpad_digits_text_size">35sp</dimen>
     75 
     76     <!-- Just used in landscape mode -->
     77     <dimen name="emergency_dialer_digits_height">0px</dimen>
     78     <dimen name="dialpad_center_margin">3dp</dimen>
     79     <dimen name="dialpad_button_margin">3dp</dimen>
     80 
     81 
     82     <!-- Layout weight values for dialpad screen. These layouts will be used in one
     83          LinearLayout (dialpad_fragment.xml), configuring dialpad screen's vertical
     84          ratio. -->
     85     <integer name="dialpad_layout_weight_digits">20</integer>
     86     <integer name="dialpad_layout_weight_dialpad">65</integer>
     87     <integer name="dialpad_layout_weight_additional_buttons">15</integer>
     88 
     89     <!-- Dimension used to possibly down-scale high-res photo into what is suitable
     90          for notification's large icon. -->
     91     <dimen name="notification_icon_size">64dp</dimen>
     92 
     93     <!-- Circle size for incoming call widget's each item. -->
     94     <dimen name="incoming_call_widget_circle_size">94dp</dimen>
     95     <!-- Margin used for incoming call widget's icon for each item.
     96          This should be same as "(incoming_call_widget_circle_size - icon_size)/2".
     97          Right now answer/decline/reject icons have 38dp width/height.
     98          So, (94 - 38)/2 ==> 28dp -->
     99     <dimen name="incoming_call_widget_asset_margin">28dp</dimen>
    100 
    101     <!-- Size of alarm alert outer ring. -->
    102     <dimen name="glowpadview_outerring_diameter">270dip</dimen>
    103 
    104     <!-- Default target placement radius for GlowPadView. Should be 1/2 of outerring diameter. -->
    105     <dimen name="glowpadview_target_placement_radius">135dip</dimen>
    106 
    107     <!-- Default glow radius for GlowPadView -->
    108     <dimen name="glowpadview_glow_radius">75dip</dimen>
    109 
    110     <!-- Default distance beyond which GlowPadView snaps to the matching target -->
    111     <dimen name="glowpadview_snap_margin">40dip</dimen>
    112 
    113     <!-- Default distance from each snap target that GlowPadView considers a "hit" -->
    114     <dimen name="glowpadview_inner_radius">15dip</dimen>
    115 
    116     <dimen name="glowpadview_margin_bottom">-48dip</dimen>
    117     <dimen name="glowpadview_margin_right">0dip</dimen>
    118 
    119 </resources>
    120