dimens.xml revision 5750b1ffb7ce853b7b53c9522cd8666e2a4c6575
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">120dp</dimen> 23 <!-- The height that is used when creating thumbnails of applications. --> 24 <dimen name="thumbnail_height">120dp</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">2</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 system bar (combined status + navigation, used on large screens) --> 36 <dimen name="system_bar_height">48dip</dimen> 37 <!-- Height of the horizontal navigation bar on devices that require it --> 38 <dimen name="navigation_bar_height">48dp</dimen> 39 <!-- Width of the vertical navigation bar on devices that require it --> 40 <dimen name="navigation_bar_width">42dp</dimen> 41 <!-- Height of notification icons in the status bar --> 42 <dimen name="status_bar_icon_size">24dip</dimen> 43 <!-- Size of the giant number (unread count) in the notifications --> 44 <dimen name="status_bar_content_number_size">48sp</dimen> 45 <!-- Height of notification icons in the system bar --> 46 <dimen name="system_bar_icon_size">32dip</dimen> 47 <!-- Margin at the edge of the screen to ignore touch events for in the windowshade. --> 48 <dimen name="status_bar_edge_ignore">5dp</dimen> 49 <!-- Size of the fastscroll hint letter --> 50 <dimen name="fastscroll_overlay_size">104dp</dimen> 51 <!-- Width of the fastscroll thumb --> 52 <dimen name="fastscroll_thumb_width">64dp</dimen> 53 <!-- Height of the fastscroll thumb --> 54 <dimen name="fastscroll_thumb_height">52dp</dimen> 55 <!-- Min width for a tablet device --> 56 <dimen name="min_xlarge_screen_width">800dp</dimen> 57 58 <!-- Default height of a key in the password keyboard for alpha (used by keyguard) --> 59 <dimen name="password_keyboard_key_height_alpha">56dip</dimen> 60 <!-- Default height of a key in the password keyboard for numeric (used by keyguard) --> 61 <dimen name="password_keyboard_key_height_numeric">56dip</dimen> 62 <!-- Default correction for the space key in the password keyboard (used by keyguard) --> 63 <dimen name="password_keyboard_spacebar_vertical_correction">4dip</dimen> 64 <!-- Default horizontal gap between keys in the password keyboard (used by keyguard) --> 65 <dimen name="password_keyboard_horizontalGap">3dip</dimen> 66 <!-- Default vertical gap between keys in the password keyboard (used by keyguard) --> 67 <dimen name="password_keyboard_verticalGap">9dip</dimen> 68 69 <!-- Default target placement radius for MultiWaveView --> 70 <dimen name="multiwaveview_target_placement_radius">135dip</dimen> 71 72 <!-- Default distance beyond which MultiWaveView snaps to the target radius --> 73 <dimen name="multiwaveview_snap_margin">20dip</dimen> 74 75 <!-- Default distance from each snap target that MultiWaveView considers a "hit" --> 76 <dimen name="multiwaveview_hit_radius">60dip</dimen> 77 78 <!-- Preference activity side margins --> 79 <dimen name="preference_screen_side_margin">0dp</dimen> 80 <!-- Preference activity side margins negative--> 81 <dimen name="preference_screen_side_margin_negative">0dp</dimen> 82 <!-- Preference activity top margin --> 83 <dimen name="preference_screen_top_margin">0dp</dimen> 84 <!-- Preference activity bottom margin --> 85 <dimen name="preference_screen_bottom_margin">0dp</dimen> 86 <!-- Preference widget area width (to the left of the text) --> 87 <dimen name="preference_widget_width">48dp</dimen> 88 <!-- Preference fragment padding, bottom --> 89 <dimen name="preference_fragment_padding_bottom">0dp</dimen> 90 <!-- Preference fragment padding, sides --> 91 <dimen name="preference_fragment_padding_side">16dp</dimen> 92 <!-- Weight of the left pane in a multi-pane preference layout. --> 93 <integer name="preferences_left_pane_weight">4</integer> 94 <!-- Weight of the right pane in a multi-pane preference layout. So the split is 40:60 --> 95 <integer name="preferences_right_pane_weight">6</integer> 96 <!-- Padding to the left of the preference panel breadcrumb --> 97 <dimen name="preference_breadcrumb_paddingLeft">0dp</dimen> 98 <!-- Padding to the right of the preference panel breadcrumb --> 99 <dimen name="preference_breadcrumb_paddingRight">0dp</dimen> 100 <!-- Minimum space to allocate to the left of a preference item for an icon. 101 This helps in aligning titles when some items have icons and some don't. When space is 102 at a premium, we don't pre-allocate any space. --> 103 <dimen name="preference_icon_minWidth">0dp</dimen> 104 <!-- The platform's desired minimum size for a dialog's width when it 105 is along the major axis (that is the screen is landscape). This may 106 be either a fraction or a dimension. --> 107 <item type="dimen" name="dialog_min_width_major">65%</item> 108 <!-- Preference activity, vertical padding for the header list --> 109 <dimen name="preference_screen_header_vertical_padding">0dp</dimen> 110 111 <dimen name="preference_screen_header_padding_side">16dip</dimen> 112 <integer name="preference_screen_header_scrollbarStyle">0x02000000</integer> <!-- outsideOverlay --> 113 114 <integer name="preference_fragment_scrollbarStyle">0x02000000</integer> <!-- outsideOverlay --> 115 116 <dimen name="preference_item_padding_side">8dip</dimen> 117 <dimen name="preference_item_padding_inner">8dip</dimen> 118 <dimen name="preference_child_padding_side">16dip</dimen> 119 120 <!-- The platform's desired minimum size for a dialog's width when it 121 is along the minor axis (that is the screen is portrait). This may 122 be either a fraction or a dimension. --> 123 <item type="dimen" name="dialog_min_width_minor">95%</item> 124 125 <!-- The width of the big icons in notifications. --> 126 <dimen name="notification_large_icon_width">64dp</dimen> 127 <!-- The width of the big icons in notifications. --> 128 <dimen name="notification_large_icon_height">64dp</dimen> 129 130 <!-- Minimum width of the search view text entry area. --> 131 <dimen name="search_view_text_min_width">160dip</dimen> 132 133 <!-- Preferred width of the search view. --> 134 <dimen name="search_view_preferred_width">320dip</dimen> 135 136 <!-- Dialog title height --> 137 <dimen name="alert_dialog_title_height">64dip</dimen> 138 <!-- Dialog button bar height --> 139 <dimen name="alert_dialog_button_bar_height">48dip</dimen> 140 141 <!-- Default height of an action bar. --> 142 <dimen name="action_bar_default_height">48dip</dimen> 143 <!-- Vertical padding around action bar icons. --> 144 <dimen name="action_bar_icon_vertical_padding">8dip</dimen> 145 <!-- Text size for action bar titles --> 146 <dimen name="action_bar_title_text_size">18dp</dimen> 147 <!-- Text size for action bar subtitles --> 148 <dimen name="action_bar_subtitle_text_size">14dp</dimen> 149 <!-- Top margin for action bar subtitles --> 150 <dimen name="action_bar_subtitle_top_margin">-3dp</dimen> 151 <!-- Bottom margin for action bar subtitles --> 152 <dimen name="action_bar_subtitle_bottom_margin">5dip</dimen> 153 154 <!-- Size of clock font in LockScreen on Unsecure unlock screen. --> 155 <dimen name="keyguard_lockscreen_clock_font_size">80dip</dimen> 156 157 <!-- Size of status line font on Unsecure unlock LockScreen. --> 158 <dimen name="keyguard_lockscreen_status_line_font_size">14dip</dimen> 159 160 <!-- Size of right margin on Unsecure unlock LockScreen --> 161 <dimen name="keyguard_lockscreen_status_line_font_right_margin">42dip</dimen> 162 163 <!-- Size of top margin on Clock font to edge on unlock LockScreen --> 164 <dimen name="keyguard_lockscreen_status_line_clockfont_top_margin">22dip</dimen> 165 166 <!-- Size of top margin on Clock font to edge on unlock LockScreen --> 167 <dimen name="keyguard_lockscreen_status_line_clockfont_bottom_margin">12dip</dimen> 168 169 <!-- Minimum popup width for selecting an activity in ActivityChooserDialog/ActivityChooserView. --> 170 <dimen name="activity_chooser_popup_min_width">200dip</dimen> 171 172 <!-- The default gap between components in a layout. --> 173 <dimen name="default_gap">16dip</dimen> 174 175 <!-- Text padding for dropdown items --> 176 <dimen name="dropdownitem_text_padding_left">8dip</dimen> 177 178 <!-- Text padding for dropdown items --> 179 <dimen name="dropdownitem_text_padding_right">8dip</dimen> 180 181 <!-- Width of the icon in a dropdown list --> 182 <dimen name="dropdownitem_icon_width">32dip</dimen> 183 184 <!-- Default width for a textview error popup --> 185 <dimen name="textview_error_popup_default_width">240dip</dimen> 186 187 <!-- Volume panel y offset --> 188 <dimen name="volume_panel_top">80dp</dimen> 189 190 <!-- Default padding to apply to AppWidgetHostViews containing widgets targeting API level 14 and up. --> 191 <dimen name="default_app_widget_padding_left">8dp</dimen> 192 <dimen name="default_app_widget_padding_top">8dp</dimen> 193 <dimen name="default_app_widget_padding_right">8dp</dimen> 194 <dimen name="default_app_widget_padding_bottom">8dp</dimen> 195</resources> 196