Home | History | Annotate | Download | only in values
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2012 The Android Open Source Project
      3 
      4      Licensed under the Apache License, Version 2.0 (the "License");
      5      you may not use this file except in compliance with the License.
      6      You may obtain a copy of the License at
      7 
      8           http://www.apache.org/licenses/LICENSE-2.0
      9 
     10      Unless required by applicable law or agreed to in writing, software
     11      distributed under the License is distributed on an "AS IS" BASIS,
     12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13      See the License for the specific language governing permissions and
     14      limitations under the License.
     15 -->
     16 
     17 <resources>
     18     <!-- Maximum width for a stacked action bar tab. This prevents
     19          action bar tabs from becoming too wide on a wide screen when only
     20          a few are present. -->
     21     <dimen name="abc_action_bar_stacked_tab_max_width">180dp</dimen>
     22 
     23     <!-- Maximum height for a stacked tab bar as part of an action bar -->
     24     <dimen name="abc_action_bar_stacked_max_height">48dp</dimen>
     25     <!-- Size of the indeterminate Progress Bar -->
     26     <dimen name="abc_action_bar_progress_bar_size">40dp</dimen>
     27 
     28     <dimen name="abc_panel_menu_list_width">296dp</dimen>
     29 
     30     <!-- Preferred width of the search view. -->
     31     <dimen name="abc_search_view_preferred_width">320dip</dimen>
     32     <dimen name="abc_search_view_preferred_height">48dip</dimen>
     33 
     34     <!-- Text padding for dropdown items -->
     35     <dimen name="abc_dropdownitem_text_padding_left">8dip</dimen>
     36     <dimen name="abc_dropdownitem_text_padding_right">8dip</dimen>
     37     <!-- Width of the icon in a dropdown list -->
     38     <dimen name="abc_dropdownitem_icon_width">32dip</dimen>
     39 
     40     <!-- The platform's desired fixed width for a dialog along the major axis
     41          (the screen is in landscape). This may be either a fraction or a dimension.-->
     42     <item type="dimen" name="abc_dialog_fixed_width_major">320dp</item>
     43     <!-- The platform's desired fixed width for a dialog along the minor axis
     44          (the screen is in portrait). This may be either a fraction or a dimension.-->
     45     <item type="dimen" name="abc_dialog_fixed_width_minor">320dp</item>
     46     <!-- The platform's desired fixed height for a dialog along the major axis
     47          (the screen is in portrait). This may be either a fraction or a dimension.-->
     48     <item type="dimen" name="abc_dialog_fixed_height_major">80%</item>
     49     <!-- The platform's desired fixed height for a dialog along the minor axis
     50          (the screen is in landscape). This may be either a fraction or a dimension.-->
     51     <item type="dimen" name="abc_dialog_fixed_height_minor">100%</item>
     52 
     53     <dimen name="abc_button_inset_vertical_material">6dp</dimen>
     54     <dimen name="abc_button_inset_horizontal_material">@dimen/abc_control_inset_material</dimen>
     55     <!-- Default inner padding within buttons -->
     56     <dimen name="abc_button_padding_vertical_material">@dimen/abc_control_padding_material</dimen>
     57     <dimen name="abc_button_padding_horizontal_material">8dp</dimen>
     58 
     59     <!-- Default insets (outer padding) around controls -->
     60     <dimen name="abc_control_inset_material">4dp</dimen>
     61     <!-- Default inner padding within controls -->
     62     <dimen name="abc_control_padding_material">4dp</dimen>
     63     <!-- Default rounded corner for controls -->
     64     <dimen name="abc_control_corner_material">2dp</dimen>
     65 
     66     <dimen name="abc_edit_text_inset_horizontal_material">4dp</dimen>
     67     <dimen name="abc_edit_text_inset_top_material">10dp</dimen>
     68     <dimen name="abc_edit_text_inset_bottom_material">7dp</dimen>
     69 
     70     <!-- Since optical insets are not available pre-v18, we add a small amount of padding -->
     71     <dimen name="abc_switch_padding">3dp</dimen>
     72 
     73     <dimen name="abc_dialog_padding_material">24dp</dimen>
     74     <dimen name="abc_dialog_padding_top_material">18dp</dimen>
     75 
     76     <!-- Dialog button bar height -->
     77     <dimen name="abc_alert_dialog_button_bar_height">48dp</dimen>
     78 
     79     <!-- Padding above and below selection dialog lists. -->
     80     <dimen name="abc_dialog_list_padding_vertical_material">8dp</dimen>
     81 
     82     <!-- Dialog padding minus control padding, used to fix alignment. -->
     83     <dimen name="abc_select_dialog_padding_start_material">20dp</dimen>
     84 
     85     <!-- The platform's desired minimum size for a dialog's width when it
     86          is along the major axis (that is the screen is landscape).  This may
     87          be either a fraction or a dimension. -->
     88     <item type="dimen" name="abc_dialog_min_width_major">65%</item>
     89 
     90     <!-- The platform's desired minimum size for a dialog's width when it
     91          is along the minor axis (that is the screen is portrait).  This may
     92          be either a fraction or a dimension. -->
     93     <item type="dimen" name="abc_dialog_min_width_minor">95%</item>
     94 
     95     <!-- Minimum "smallest width" of the display for cascading menus to be enabled. -->
     96     <dimen name="abc_cascading_menus_min_smallest_width">720dp</dimen>
     97 
     98     <!-- The width of the big icons in notifications. -->
     99     <dimen name="notification_large_icon_width">64dp</dimen>
    100 
    101     <!-- The width of the big icons in notifications. -->
    102     <dimen name="notification_large_icon_height">64dp</dimen>
    103 
    104     <!-- Size of smaller notification text (see TextAppearance.StatusBar.EventContent.Line2, Info,
    105          Time) -->
    106     <dimen name="notification_subtext_size">13sp</dimen>
    107 
    108     <!-- Size of notification action text -->
    109     <dimen name="notification_action_text_size">13sp</dimen>
    110 
    111     <!-- Top padding for notifications in the standard layout. -->
    112     <dimen name="notification_top_pad">10dp</dimen>
    113 
    114     <!-- Top padding for notification when text is large -->
    115     <dimen name="notification_top_pad_large_text">5dp</dimen>
    116 
    117     <!-- The size of the action icons -->
    118     <dimen name="notification_action_icon_size">32dp</dimen>
    119 
    120     <!-- the size of the small icon on the right of the largeIcon -->
    121     <dimen name="notification_right_icon_size">16dp</dimen>
    122 
    123     <!-- the padding of the small icon to the circle -->
    124     <dimen name="notification_small_icon_background_padding">3dp</dimen>
    125 
    126     <!-- the side margin of the big notification circle -->
    127     <dimen name="notification_big_circle_margin">12dp</dimen>
    128 
    129     <!-- small icon size when placed as large icon -->
    130     <dimen name="notification_small_icon_size_as_large">24dp</dimen>
    131 
    132     <!-- the margin at the beginning of the notification content -->
    133     <dimen name="notification_content_margin_start">8dp</dimen>
    134 
    135     <!-- image margin on the large icon in the narrow media template -->
    136     <dimen name="notification_media_narrow_margin">@dimen/notification_content_margin_start</dimen>
    137 
    138     <!-- the top padding of the notification content -->
    139     <dimen name="notification_main_column_padding_top">10dp</dimen>
    140 
    141     <!-- the paddingtop on the right side of the notification (for time etc.) -->
    142     <dimen name="notification_right_side_padding_top">2dp</dimen>
    143 </resources>
    144