Home | History | Annotate | Download | only in values-sw600dp
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 /* //device/apps/common/assets/res/any/dimens.xml
      4 **
      5 ** Copyright 2006, The Android Open Source Project
      6 **
      7 ** Licensed under the Apache License, Version 2.0 (the "License");
      8 ** you may not use this file except in compliance with the License.
      9 ** You may obtain a copy of the License at
     10 **
     11 **     http://www.apache.org/licenses/LICENSE-2.0
     12 **
     13 ** Unless required by applicable law or agreed to in writing, software
     14 ** distributed under the License is distributed on an "AS IS" BASIS,
     15 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     16 ** See the License for the specific language governing permissions and
     17 ** limitations under the License.
     18 */
     19 -->
     20 <resources>
     21     <!-- The width that is used when creating thumbnails of applications. -->
     22     <dimen name="thumbnail_width">200dp</dimen>
     23     <!-- The height that is used when creating thumbnails of applications. -->
     24     <dimen name="thumbnail_height">177dp</dimen>
     25     <!-- The maximum number of action buttons that should be permitted within
     26          an action bar/action mode. This will be used to determine how many
     27          showAsAction="ifRoom" items can fit. "always" items can override this. -->
     28     <integer name="max_action_buttons">5</integer>
     29     <!-- Default height of an action bar. -->
     30     <dimen name="action_bar_default_height">56dip</dimen>
     31     <!-- Vertical padding around action bar icons. -->
     32     <dimen name="action_bar_icon_vertical_padding">4dip</dimen>
     33     <!-- Text size for action bar titles -->
     34     <dimen name="action_bar_title_text_size">18dp</dimen>
     35     <!-- Text size for action bar subtitles -->
     36     <dimen name="action_bar_subtitle_text_size">14dp</dimen>
     37     <!-- Top margin for action bar subtitles -->
     38     <dimen name="action_bar_subtitle_top_margin">-3dp</dimen>
     39     <!-- Bottom margin for action bar subtitles -->
     40     <dimen name="action_bar_subtitle_bottom_margin">9dip</dimen>
     41 
     42     <!-- Size of clock font in LockScreen. -->
     43     <dimen name="keyguard_pattern_unlock_clock_font_size">112sp</dimen>
     44 
     45     <!-- Size of lockscreen outerring on unsecure unlock LockScreen -->
     46     <dimen name="keyguard_lockscreen_outerring_diameter">364dp</dimen>
     47 
     48     <!-- Height of FaceUnlock view in keyguard -->
     49     <dimen name="face_unlock_height">430dip</dimen>
     50 
     51     <!-- target placement radius for GlowPadView. Should be 1/2 of outerring diameter. -->
     52     <dimen name="glowpadview_target_placement_radius">182dip</dimen>
     53 
     54     <!-- Size of status line font in LockScreen. -->
     55     <dimen name="keyguard_pattern_unlock_status_line_font_size">14sp</dimen>
     56 
     57     <!-- Minimum width for an action button in the menu area of an action bar -->
     58     <dimen name="action_button_min_width">64dip</dimen>
     59 
     60     <!-- The platform's desired fixed width for a dialog along the major axis
     61          (the screen is in landscape). This may be either a fraction or a dimension.-->
     62     <item type="dimen" name="dialog_fixed_width_major">60%</item>
     63     <!-- The platform's desired fixed width for a dialog along the minor axis
     64          (the screen is in portrait). This may be either a fraction or a dimension.-->
     65     <item type="dimen" name="dialog_fixed_width_minor">90%</item>
     66     <!-- The platform's desired fixed height for a dialog along the major axis
     67          (the screen is in portrait). This may be either a fraction or a dimension.-->
     68     <item type="dimen" name="dialog_fixed_height_major">60%</item>
     69     <!-- The platform's desired fixed height for a dialog along the minor axis
     70          (the screen is in landscape). This may be either a fraction or a dimension.-->
     71     <item type="dimen" name="dialog_fixed_height_minor">90%</item>
     72 
     73     <!-- Height of the bottom navigation bar in portrait; on sw600dp devices
     74          this is a bit taller -->
     75     <dimen name="navigation_bar_height_portrait">56dp</dimen>
     76 
     77     <!-- Preference fragment padding, sides -->
     78     <dimen name="preference_fragment_padding_side">24dp</dimen>
     79     <dimen name="preference_screen_header_padding_side">24dip</dimen>
     80 
     81     <!-- Keyguard dimensions -->
     82     <!-- Size of the clock font in keyguard's status view -->
     83     <dimen name="kg_status_clock_font_size">141dp</dimen>
     84 
     85     <!-- Size of the date font in keyguard's status view  -->
     86     <dimen name="kg_status_date_font_size">25.5dp</dimen>
     87 
     88     <!-- Size of the generic status lines keyguard's status view  -->
     89     <dimen name="kg_status_line_font_size">16sp</dimen>
     90 
     91     <!-- Top margin for the clock view --> 
     92     <dimen name="kg_clock_top_margin">0dp</dimen>
     93 
     94     <!-- Size of margin on the right of keyguard's status view -->
     95     <dimen name="kg_status_line_font_right_margin">50dp</dimen>
     96 
     97     <!-- Horizontal padding for the widget pager -->
     98     <dimen name="kg_widget_pager_horizontal_padding">24dp</dimen>
     99 
    100     <!-- Top padding for the widget pager -->
    101     <dimen name="kg_widget_pager_top_padding">0dp</dimen>
    102 
    103     <!-- Bottom padding for the widget pager -->
    104     <dimen name="kg_widget_pager_bottom_padding">0dp</dimen>
    105 
    106     <!-- Top margin for the runway lights. We add a negative margin in large
    107         devices to account for the widget pager padding -->
    108     <dimen name="kg_runway_lights_top_margin">-10dp</dimen>
    109 
    110     <!-- Margin around the various security views -->
    111     <dimen name="keyguard_security_view_margin">12dp</dimen>
    112 
    113     <!-- Margin around the various security views -->
    114     <dimen name="keyguard_muliuser_selector_margin">12dp</dimen>
    115 
    116     <!-- width of ImmersiveModeConfirmation (-1 for match_parent) -->
    117     <dimen name="immersive_mode_cling_width">380dp</dimen>
    118 </resources>
    119