Home | History | Annotate | Download | only in values
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3   ~ Copyright (C) 2012 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 <resources>
     18     <!--
     19           Drag to remove view (in dp because it is used in conjunction with a statically
     20           sized icon
     21     -->
     22     <dimen name="remove_text_size">16dp</dimen>
     23 
     24     <!-- Call Log -->
     25     <dimen name="call_log_call_action_size">32dip</dimen>
     26     <dimen name="call_log_call_action_width">54dp</dimen>
     27     <dimen name="call_log_icon_margin">4dip</dimen>
     28     <dimen name="call_log_inner_margin">13dip</dimen>
     29     <dimen name="call_log_outer_margin">8dp</dimen>
     30     <dimen name="call_log_start_margin">16dp</dimen>
     31     <dimen name="call_log_indent_margin">24dip</dimen>
     32     <dimen name="call_log_name_margin_bottom">2dp</dimen>
     33     <dimen name="call_log_list_item_height">56dip</dimen>
     34 
     35     <!-- Size of contact photos in the call log and call details. -->
     36     <dimen name="contact_photo_size">40dp</dimen>
     37     <dimen name="call_detail_button_spacing">2dip</dimen>
     38     <dimen name="call_detail_horizontal_margin">16dp</dimen>
     39     <dimen name="call_detail_top_margin">36dp</dimen>
     40     <dimen name="call_detail_bottom_margin">32dp</dimen>
     41     <dimen name="call_detail_header_top_margin">20dp</dimen>
     42     <dimen name="call_detail_header_bottom_margin">9dp</dimen>
     43     <dimen name="call_detail_translation_z">0.5dp</dimen>
     44     <dimen name="transcription_top_margin">18dp</dimen>
     45     <dimen name="transcription_bottom_margin">18dp</dimen>
     46 
     47     <!-- Size of call provider icon width and height -->
     48     <dimen name="call_provider_small_icon_size">12dp</dimen>
     49 
     50     <!-- Match call_button_height to Phone's dimens/in_call_end_button_height -->
     51     <dimen name="call_button_height">74dp</dimen>
     52 
     53     <!-- Dimensions for speed dial tiles -->
     54     <dimen name="contact_tile_divider_width">1dp</dimen>
     55     <dimen name="contact_tile_info_button_height_and_width">36dp</dimen>
     56     <item name="contact_tile_height_to_width_ratio" type="dimen">76%</item>
     57     <dimen name="contact_tile_text_side_padding">12dp</dimen>
     58     <dimen name="contact_tile_text_bottom_padding">9dp</dimen>
     59     <dimen name="favorites_row_top_padding">2dp</dimen>
     60     <dimen name="favorites_row_bottom_padding">0dp</dimen>
     61     <dimen name="favorites_row_start_padding">1dp</dimen>
     62 
     63     <!-- Padding from the last contact tile will provide the end padding. -->
     64     <dimen name="favorites_row_end_padding">0dp</dimen>
     65     <dimen name="favorites_row_undo_text_side_padding">32dp</dimen>
     66 
     67     <!-- Dimensions for most recent call shortcut cards -->
     68     <dimen name="recent_call_log_item_translation_z">3dp</dimen>
     69     <dimen name="recent_call_log_item_margin_horizontal">8dp</dimen>
     70     <dimen name="recent_call_log_item_margin_top">4dp</dimen>
     71     <dimen name="recent_call_log_item_margin_bottom">6dp</dimen>
     72 
     73     <!-- The maximum amount to clip on the left and right of the recent call shortcut card -->
     74     <dimen name="recent_call_log_item_horizontal_clip_limit">20dp</dimen>
     75     <dimen name="recent_call_log_item_padding_start">8dp</dimen>
     76     <dimen name="recent_call_log_item_padding_top">12dp</dimen>
     77     <dimen name="recent_call_log_item_padding_bottom">11dp</dimen>
     78 
     79     <dimen name="call_log_item_extra_padding_vertical">4dp</dimen>
     80 
     81 
     82     <!-- Size of the star icon on the favorites tile. -->
     83     <dimen name="favorites_star_icon_size">12dp</dimen>
     84 
     85     <!-- Padding for the tooltip -->
     86     <dimen name="dismiss_button_padding_start">20dip</dimen>
     87     <dimen name="dismiss_button_padding_end">28dip</dimen>
     88 
     89     <!-- Height of the actionBar - this is 8dps bigger than the platform standard to give more
     90     room to the search box-->
     91     <dimen name="action_bar_height">56dp</dimen>
     92     <dimen name="action_bar_height_large">64dp</dimen>
     93     <dimen name="action_bar_elevation">2dp</dimen>
     94     <dimen name="tab_height">43dp</dimen>
     95     <!-- actionbar height + tab height -->
     96     <dimen name="actionbar_and_tab_height">107dp</dimen>
     97     <dimen name="actionbar_contentInsetStart">72dp</dimen>
     98 
     99     <!-- Margin to the left and right of the search box. -->
    100     <dimen name="search_margin_horizontal">8dp</dimen>
    101     <!-- Margin above the search box. -->
    102     <dimen name="search_top_margin">8dp</dimen>
    103     <!-- Margin below the search box. -->
    104     <dimen name="search_bottom_margin">8dp</dimen>
    105     <dimen name="search_collapsed_text_size">14sp</dimen>
    106     <!-- Search box interior padding - left -->
    107     <dimen name="search_box_left_padding">8dp</dimen>
    108     <!-- Search box interior padding - right -->
    109     <dimen name="search_box_right_padding">8dp</dimen>
    110     <!-- Padding around the icon in the search box. -->
    111     <dimen name="search_box_icon_margin">4dp</dimen>
    112     <dimen name="search_box_search_icon_padding">2dp</dimen>
    113     <dimen name="search_box_collapsed_text_margin_left">22dp</dimen>
    114     <dimen name="search_list_padding_top">16dp</dimen>
    115     <dimen name="search_box_elevation">3dp</dimen>
    116 
    117     <!-- Padding to the left and right of call log action buttons. -->
    118     <dimen name="call_log_action_horizontal_padding">8dp</dimen>
    119     <!-- Left-padding for the call log action buttons - ensures the buttons align with the text
    120          to the right of the contact badge.  Adjust when any of the following change:
    121          call_log_action_horizontal_padding
    122          call_log_list_contact_photo_size  -->
    123     <dimen name="call_log_actions_left_padding">64dp</dimen>
    124     <dimen name="call_log_primary_text_size">16sp</dimen>
    125     <dimen name="call_log_secondary_text_size">14sp</dimen>
    126     <dimen name="call_log_list_item_actions_text_size">12sp</dimen>
    127     <!-- Height of the call log actions section for each call log entry -->
    128     <dimen name="call_log_action_height">44dp</dimen>
    129     <!-- Z Translation of expanded call log items. -->
    130     <dimen name="call_log_expanded_translation_z">2dp</dimen>
    131     <dimen name="call_log_day_group_padding_top">15dp</dimen>
    132     <dimen name="call_log_day_group_padding_bottom">9dp</dimen>
    133 
    134     <!-- Padding for icons to increase their touch target. Icons are typically 24 dps in size
    135          so this extra padding makes the entire touch target 40dp -->
    136     <dimen name="icon_padding">8dp</dimen>
    137 
    138     <!-- Length of dialpad's shadows in dialer. -->
    139     <dimen name="shadow_length">10dp</dimen>
    140 
    141     <dimen name="empty_list_message_top_padding">20dp</dimen>
    142     <dimen name="empty_list_message_text_size">16sp</dimen>
    143 
    144     <!-- Dimensions for individual preference cards -->
    145     <dimen name="preference_padding_top">16dp</dimen>
    146     <dimen name="preference_padding_bottom">16dp</dimen>
    147     <dimen name="preference_side_margin">16dp</dimen>
    148     <dimen name="preference_summary_line_spacing_extra">4dp</dimen>
    149 </resources>
    150