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     <dimen name="button_horizontal_padding">16dp</dimen>
     19     <dimen name="divider_line_thickness">1dp</dimen>
     20 
     21     <!--
     22           Drag to remove view (in dp because it is used in conjunction with a statically
     23           sized icon
     24     -->
     25     <dimen name="remove_text_size">16dp</dimen>
     26 
     27     <!-- Call Log -->
     28     <dimen name="call_log_horizontal_margin">8dp</dimen>
     29     <dimen name="call_log_call_action_size">32dp</dimen>
     30     <dimen name="call_log_call_action_width">54dp</dimen>
     31     <dimen name="call_log_icon_margin">4dp</dimen>
     32     <dimen name="call_log_inner_margin">13dp</dimen>
     33     <dimen name="call_log_outer_margin">8dp</dimen>
     34     <dimen name="call_log_start_margin">8dp</dimen>
     35     <dimen name="call_log_indent_margin">24dp</dimen>
     36     <dimen name="call_log_name_margin_bottom">2dp</dimen>
     37     <dimen name="call_log_call_account_margin_bottom">2dp</dimen>
     38     <dimen name="call_log_vertical_padding">12dp</dimen>
     39     <dimen name="call_log_list_item_height">56dp</dimen>
     40     <dimen name="call_log_list_item_info_margin_start">16dp</dimen>
     41     <dimen name="show_call_history_list_item_height">72dp</dimen>
     42 
     43     <!-- Size of contact photos in the call log and call details. -->
     44     <dimen name="contact_photo_size">40dp</dimen>
     45     <dimen name="call_detail_button_spacing">2dip</dimen>
     46     <dimen name="call_detail_horizontal_margin">20dp</dimen>
     47     <dimen name="call_detail_top_margin">16dp</dimen>
     48     <dimen name="call_detail_bottom_margin">16dp</dimen>
     49     <dimen name="call_detail_header_top_margin">20dp</dimen>
     50     <dimen name="call_detail_header_bottom_margin">9dp</dimen>
     51     <dimen name="call_detail_elevation">0.5dp</dimen>
     52     <dimen name="call_detail_action_item_padding_horizontal">28dp</dimen>
     53     <dimen name="call_detail_action_item_padding_vertical">16dp</dimen>
     54     <dimen name="call_detail_action_item_drawable_padding">28dp</dimen>
     55     <dimen name="call_detail_action_item_text_size">16sp</dimen>
     56     <dimen name="transcription_top_margin">18dp</dimen>
     57     <dimen name="transcription_bottom_margin">18dp</dimen>
     58 
     59     <!-- Size of call provider icon width and height -->
     60     <dimen name="call_provider_small_icon_size">12dp</dimen>
     61 
     62     <!-- Match call_button_height to Phone's dimens/in_call_end_button_height -->
     63     <dimen name="call_button_height">74dp</dimen>
     64 
     65     <!-- Dimensions for speed dial tiles -->
     66     <dimen name="contact_tile_divider_width">1dp</dimen>
     67     <dimen name="contact_tile_info_button_height_and_width">36dp</dimen>
     68     <item name="contact_tile_height_to_width_ratio" type="dimen">76%</item>
     69     <dimen name="contact_tile_text_side_padding">12dp</dimen>
     70     <dimen name="contact_tile_text_bottom_padding">9dp</dimen>
     71     <dimen name="favorites_row_top_padding">2dp</dimen>
     72     <dimen name="favorites_row_bottom_padding">0dp</dimen>
     73     <dimen name="favorites_row_start_padding">1dp</dimen>
     74 
     75     <!-- Padding from the last contact tile will provide the end padding. -->
     76     <dimen name="favorites_row_end_padding">0dp</dimen>
     77     <dimen name="favorites_row_undo_text_side_padding">32dp</dimen>
     78 
     79     <!-- Size of the star icon on the favorites tile. -->
     80     <dimen name="favorites_star_icon_size">12dp</dimen>
     81 
     82     <!-- Padding for the tooltip -->
     83     <dimen name="dismiss_button_padding_start">20dip</dimen>
     84     <dimen name="dismiss_button_padding_end">28dip</dimen>
     85 
     86     <!-- Height of the actionBar - this is 8dps bigger than the platform standard to give more
     87     room to the search box-->
     88     <dimen name="action_bar_height">56dp</dimen>
     89     <dimen name="action_bar_height_large">64dp</dimen>
     90     <dimen name="action_bar_elevation">3dp</dimen>
     91     <dimen name="tab_height">43dp</dimen>
     92     <!-- actionbar height + tab height -->
     93     <dimen name="actionbar_and_tab_height">107dp</dimen>
     94     <dimen name="actionbar_contentInsetStart">72dp</dimen>
     95 
     96     <!-- Margin to the left and right of the search box. -->
     97     <dimen name="search_margin_horizontal">8dp</dimen>
     98     <!-- Margin above the search box. -->
     99     <dimen name="search_top_margin">8dp</dimen>
    100     <!-- Margin below the search box. -->
    101     <dimen name="search_bottom_margin">8dp</dimen>
    102     <dimen name="search_collapsed_text_size">14sp</dimen>
    103     <!-- Search box interior padding - left -->
    104     <dimen name="search_box_left_padding">8dp</dimen>
    105     <!-- Search box interior padding - right -->
    106     <dimen name="search_box_right_padding">8dp</dimen>
    107     <dimen name="search_box_search_icon_padding">2dp</dimen>
    108     <dimen name="search_box_collapsed_text_margin_left">22dp</dimen>
    109     <dimen name="search_list_padding_top">16dp</dimen>
    110     <dimen name="search_box_elevation">3dp</dimen>
    111 
    112     <dimen name="call_log_action_icon_margin_start">16dp</dimen>
    113     <dimen name="call_log_action_icon_dimen">24dp</dimen>
    114     <dimen name="call_log_action_horizontal_padding">24dp</dimen>
    115 
    116     <dimen name="call_log_actions_left_padding">64dp</dimen>
    117     <dimen name="call_log_actions_top_padding">8dp</dimen>
    118     <dimen name="call_log_actions_bottom_padding">8dp</dimen>
    119     <dimen name="call_log_primary_text_size">16sp</dimen>
    120     <dimen name="call_log_detail_text_size">12sp</dimen>
    121     <dimen name="call_log_day_group_heading_size">14sp</dimen>
    122     <dimen name="call_log_voicemail_transcription_text_size">14sp</dimen>
    123     <!-- Height of the call log actions section for each call log entry -->
    124     <dimen name="call_log_action_height">48dp</dimen>
    125     <dimen name="call_log_day_group_padding_top">15dp</dimen>
    126     <dimen name="call_log_day_group_padding_bottom">9dp</dimen>
    127 
    128     <!-- Padding for icons to increase their touch target. Icons are typically 24 dps in size
    129          so this extra padding makes the entire touch target 40dp -->
    130     <dimen name="icon_padding">8dp</dimen>
    131 
    132     <!-- Length of dialpad's shadows in dialer. -->
    133     <dimen name="shadow_length">10dp</dimen>
    134 
    135     <dimen name="empty_list_message_top_padding">20dp</dimen>
    136     <dimen name="empty_list_message_text_size">16sp</dimen>
    137 
    138     <!-- Dimensions for individual preference cards -->
    139     <dimen name="preference_padding_top">16dp</dimen>
    140     <dimen name="preference_padding_bottom">16dp</dimen>
    141     <dimen name="preference_side_margin">16dp</dimen>
    142     <dimen name="preference_summary_line_spacing_extra">4dp</dimen>
    143 
    144     <dimen name="call_log_list_item_primary_action_dimen">36dp</dimen>
    145 
    146     <!-- Dimensions for promo cards -->
    147     <dimen name="promo_card_icon_size">24dp</dimen>
    148     <dimen name="promo_card_start_padding">16dp</dimen>
    149     <dimen name="promo_card_top_padding">21dp</dimen>
    150     <dimen name="promo_card_main_padding">24dp</dimen>
    151     <dimen name="promo_card_title_padding">12dp</dimen>
    152     <dimen name="promo_card_action_vertical_padding">4dp</dimen>
    153     <dimen name="promo_card_action_end_padding">4dp</dimen>
    154     <dimen name="promo_card_action_between_padding">11dp</dimen>
    155     <dimen name="promo_card_line_spacing">4dp</dimen>
    156 
    157     <dimen name="voicemail_playback_top_padding">12dp</dimen>
    158 
    159     <!-- Size of entries in blocked numbers list -->
    160     <dimen name="blocked_number_container_padding">16dp</dimen>
    161     <dimen name="blocked_number_horizontal_margin">16dp</dimen>
    162     <dimen name="blocked_number_top_margin">16dp</dimen>
    163     <dimen name="blocked_number_bottom_margin">16dp</dimen>
    164     <dimen name="blocked_number_add_top_margin">8dp</dimen>
    165     <dimen name="blocked_number_add_bottom_margin">8dp</dimen>
    166     <dimen name="blocked_number_primary_text_size">16sp</dimen>
    167     <dimen name="blocked_number_secondary_text_size">12sp</dimen>
    168     <dimen name="blocked_number_delete_icon_size">32dp</dimen>
    169     <dimen name="blocked_number_search_text_size">14sp</dimen>
    170     <dimen name="blocked_number_settings_description_text_size">14sp</dimen>
    171     <dimen name="blocked_number_header_height">48dp</dimen>
    172 
    173     <dimen name="call_type_icon_size">12dp</dimen>
    174 
    175     <dimen name="tab_unread_count_margin_left">0dp</dimen>
    176 </resources>
    177