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     <!--  Search View -->
     20     <dimen name="search_text_size">14sp</dimen>
     21 
     22     <!--
     23           Drag to remove view (in dp because it is used in conjunction with a statically
     24           sized icon
     25     -->
     26     <dimen name="remove_text_size">16dp</dimen>
     27 
     28     <!-- Call Log -->
     29     <dimen name="call_log_call_action_size">32dip</dimen>
     30     <dimen name="call_log_call_action_width">54dp</dimen>
     31     <dimen name="call_log_icon_margin">4dip</dimen>
     32     <dimen name="call_log_inner_margin">8dip</dimen>
     33     <dimen name="call_log_outer_margin">8dip</dimen>
     34     <dimen name="call_log_indent_margin">24dip</dimen>
     35     <dimen name="call_log_list_item_height">56dip</dimen>
     36     <dimen name="call_log_list_contact_photo_size">64dip</dimen>
     37     <dimen name="call_detail_contact_name_margin">24dip</dimen>
     38     <dimen name="call_detail_button_spacing">2dip</dimen>
     39     <!-- Defines the vertical margin for the vertical separator between
     40          the main area of a call log entry and the secondary action button. -->
     41     <dimen name="call_log_list_item_vertical_divider_margin">17dp</dimen>
     42 
     43     <!-- Defines the width of the vertical separator between
     44          the main area of a call log entry and the secondary action button. -->
     45     <dimen name="call_log_list_item_vertical_divider_width">1dp</dimen>
     46 
     47     <!-- Text dimensions for dialpad keys -->
     48     <dimen name="dialpad_key_numbers_size">40sp</dimen>
     49     <dimen name="dialpad_key_letters_size">13sp</dimen>
     50     <dimen name="dialpad_key_star_pound_size">26sp</dimen>
     51     <dimen name="dialpad_key_numbers_width">30dp</dimen>
     52     <dimen name="dialpad_key_letters_width">50dp</dimen>
     53     <dimen name="dialpad_key_height">56dp</dimen>
     54     <dimen name="dialpad_key_plus_size">18sp</dimen>
     55     <dimen name="dialpad_number_to_letters_padding">11dp</dimen>
     56     <dimen name="dialpad_horizontal_padding">5dp</dimen>
     57     <dimen name="dialpad_digits_text_size">36sp</dimen>
     58     <dimen name="dialpad_digits_height">47dp</dimen>
     59     <dimen name="dialpad_digits_padding">16dp</dimen>
     60     <dimen name="dialpad_digits_margin_bottom">0px</dimen>
     61     <dimen name="dialpad_center_margin">3dp</dimen>
     62     <dimen name="dialpad_button_margin">2dp</dimen>
     63     <!-- Match call_button_height to Phone's dimens/in_call_end_button_height -->
     64     <dimen name="call_button_height">74dp</dimen>
     65 
     66     <dimen name="fake_action_bar_height">60dp</dimen>
     67     <!-- Min with of fake menu buttons, which should be same as ActionBar's one -->
     68     <dimen name="fake_menu_button_min_width">56dp</dimen>
     69 
     70     <!--  Favorites tile and recent call log padding -->
     71     <dimen name="contact_tile_divider_width">12dp</dimen>
     72     <!-- Favorites tile and recent call log padding -->
     73     <dimen name="contact_tile_divider_padding">3dp</dimen>
     74     <dimen name="contact_tile_info_button_height_and_width">36dp</dimen>
     75     <item name="contact_tile_height_to_width_ratio" type="dimen">67%</item>
     76     <dimen name="contact_tile_text_side_padding">10dp</dimen>
     77     <dimen name="contact_tile_text_bottom_padding">8dp</dimen>
     78     <dimen name="favorites_row_top_padding">6dp</dimen>
     79     <dimen name="favorites_row_bottom_padding">6dp</dimen>
     80     <dimen name="favorites_row_start_padding">8dp</dimen>
     81     <dimen name="favorites_row_end_padding">8dp</dimen>
     82     <dimen name="favorites_row_undo_text_side_padding">32dp</dimen>
     83     <dimen name="recent_call_log_item_padding">8dp</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     <!-- Padding above the favorites menu. -->
     90     <dimen name="favorites_menu_padding_top">6dp</dimen>
     91     <!-- Padding below the favorites menu.. -->
     92     <dimen name="favorites_menu_padding_bottom">3dp</dimen>
     93     <!-- Horizontal padding in the favorites menu. -->
     94     <dimen name="favorites_menu_padding_horizontal">8dp</dimen>
     95     <!-- Text size for the "speed dial" text in the favorites menu. -->
     96     <dimen name="favorites_menu_speed_dial_text_size">18sp</dimen>
     97     <!-- Height of the speed dial TextView in the favorites menu. -->
     98     <dimen name="favorites_menu_speed_dial_height">24dp</dimen>
     99     <!-- Text size for the "All Contacts" text in the favorites menu. -->
    100     <dimen name="favorites_menu_all_contacts_text_size">12sp</dimen>
    101     <!-- Height of the all contacts Button in the favorites menu. -->
    102     <dimen name="favorites_menu_all_contacts_height">24dp</dimen>
    103 
    104     <!-- Margin to the left and right of the search box. -->
    105     <dimen name="search_margin_horizontal">7dp</dimen>
    106     <!-- Margin above the search box. -->
    107     <dimen name="search_top_margin">10dp</dimen>
    108     <!-- Margin below the search box. -->
    109     <dimen name="search_bottom_margin">4dp</dimen>
    110     <!-- Height of the search box. -->
    111     <dimen name="search_box_height">41dp</dimen>
    112     <!-- Search box text size -->
    113     <dimen name="search_text_size">13.24sp</dimen>
    114     <!-- Search box interior padding - left -->
    115     <dimen name="search_box_left_padding">16dp</dimen>
    116     <!-- Search box interior padding - right -->
    117     <dimen name="search_box_right_padding">8dp</dimen>
    118     <!-- Padding around the icon in the search box. -->
    119     <dimen name="search_box_icon_padding">3dp</dimen>
    120     <!-- Left margin of the text field in the search box. -->
    121     <dimen name="search_box_text_left_margin">8dp</dimen>
    122     <!-- Size of the icon (voice search, close search) in the search box. -->
    123     <dimen name="search_box_icon_size">37dp</dimen>
    124 
    125     <!-- Height of the underline of a tab. -->
    126     <dimen name="tab_underline_height">2dp</dimen>
    127     <!-- Height of the selection indicator of a tab. -->
    128     <dimen name="tab_selection_height">7.7dp</dimen>
    129     <!-- Padding above and below the divider line of a tab. -->
    130     <dimen name="tab_divider_padding">12dp</dimen>
    131     <!-- Size of text in tabs. -->
    132     <dimen name="tab_text_size">12sp</dimen>
    133 </resources>
    134