dimens.xml revision 6014527c350895383b99ba91d3d009a32b1d22a6
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">0dp</dimen> 23 <!-- The height that is used when creating thumbnails of applications. --> 24 <dimen name="thumbnail_height">0dp</dimen> 25 <!-- The standard size (both width and height) of an application icon that 26 will be displayed in the app launcher and elsewhere. --> 27 <dimen name="app_icon_size">48dip</dimen> 28 <!-- The maximum number of action buttons that should be permitted within 29 an action bar/action mode. This will be used to determine how many 30 showAsAction="ifRoom" items can fit. "always" items can override this. --> 31 <integer name="max_action_buttons">5</integer> 32 <dimen name="toast_y_offset">64dip</dimen> 33 <!-- Height of the status bar --> 34 <dimen name="status_bar_height">25dip</dimen> 35 <!-- Height of the status bar --> 36 <dimen name="status_bar_icon_size">25dip</dimen> 37 <!-- Margin at the edge of the screen to ignore touch events for in the windowshade. --> 38 <dimen name="status_bar_edge_ignore">5dp</dimen> 39 <!-- Margin for permanent screen decorations at the bottom. --> 40 <dimen name="screen_margin_bottom">0dip</dimen> 41 <!-- Size of the fastscroll hint letter --> 42 <dimen name="fastscroll_overlay_size">104dp</dimen> 43 <!-- Width of the fastscroll thumb --> 44 <dimen name="fastscroll_thumb_width">64dp</dimen> 45 <!-- Height of the fastscroll thumb --> 46 <dimen name="fastscroll_thumb_height">52dp</dimen> 47 <!-- Min width for a tablet device --> 48 <dimen name="min_xlarge_screen_width">800dp</dimen> 49 <!-- Default height of a key in the password keyboard for alpha --> 50 <dimen name="password_keyboard_key_height_alpha">56dip</dimen> 51 <!-- Default height of a key in the password keyboard for numeric --> 52 <dimen name="password_keyboard_key_height_numeric">56dip</dimen> 53 <!-- Default correction for the space key in the password keyboard --> 54 <dimen name="password_keyboard_spacebar_vertical_correction">4dip</dimen> 55 <!-- Preference activity side margins --> 56 <dimen name="preference_screen_side_margin">0dp</dimen> 57 <!-- Preference activity side margins negative--> 58 <dimen name="preference_screen_side_margin_negative">0dp</dimen> 59 <!-- Preference widget area width (to the left of the text) --> 60 <dimen name="preference_widget_width">56dp</dimen> 61 62 <!-- The platform's desired minimum size for a dialog's width when it 63 is along the major axis (that is the screen is landscape). This may 64 be either a fraction or a dimension. --> 65 <item type="dimen" name="dialog_min_width_major">65%</item> 66 67 <!-- The platform's desired minimum size for a dialog's width when it 68 is along the minor axis (that is the screen is portrait). This may 69 be either a fraction or a dimension. --> 70 <item type="dimen" name="dialog_min_width_minor">95%</item> 71</resources> 72