dimens.xml revision 4a066c5c77109431f50806fc29179d28f1472871
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 maximum number of action buttons that should be permitted within 22 an action bar/action mode. This will be used to determine how many 23 showAsAction="ifRoom" items can fit. "always" items can override this. --> 24 <integer name="max_action_buttons">5</integer> 25 <!-- Default height of an action bar. --> 26 <dimen name="action_bar_default_height">56dip</dimen> 27 <!-- Vertical padding around action bar icons. --> 28 <dimen name="action_bar_icon_vertical_padding">4dip</dimen> 29 <!-- Text size for action bar titles --> 30 <dimen name="action_bar_title_text_size">18dp</dimen> 31 <!-- Text size for action bar subtitles --> 32 <dimen name="action_bar_subtitle_text_size">14dp</dimen> 33 <!-- Top margin for action bar subtitles --> 34 <dimen name="action_bar_subtitle_top_margin">-3dp</dimen> 35 <!-- Bottom margin for action bar subtitles --> 36 <dimen name="action_bar_subtitle_bottom_margin">9dip</dimen> 37 38 <!-- Size of clock font in LockScreen. --> 39 <dimen name="keyguard_pattern_unlock_clock_font_size">112sp</dimen> 40 41 <!-- Size of lockscreen outerring on unsecure unlock LockScreen --> 42 <dimen name="keyguard_lockscreen_outerring_diameter">364dp</dimen> 43 44 <!-- target placement radius for MultiWaveView --> 45 <dimen name="multiwaveview_target_placement_radius">182dip</dimen> 46 47 <!-- Size of status line font in LockScreen. --> 48 <dimen name="keyguard_pattern_unlock_status_line_font_size">14sp</dimen> 49 50 <!-- Preference activity, vertical padding for the header list --> 51 <dimen name="preference_screen_header_vertical_padding">32dp</dimen> 52 <dimen name="preference_screen_side_margin">0dp</dimen> 53 <!-- Compensate for double margin : preference_screen_side_margin + 4 (frame background shadow) = -preference_screen_side_margin_negative --> 54 <dimen name="preference_screen_side_margin_negative">-4dp</dimen> 55 56 <!-- Default padding to apply to AppWidgetHostViews containing widgets targeting API level 14 and up. --> 57 <dimen name="default_app_widget_padding_left">12dp</dimen> 58 <dimen name="default_app_widget_padding_top">4dp</dimen> 59 <dimen name="default_app_widget_padding_right">12dp</dimen> 60 <dimen name="default_app_widget_padding_bottom">20dp</dimen> 61 62 <!-- Minimum width for an action button in the menu area of an action bar --> 63 <dimen name="action_button_min_width">64dip</dimen> 64 65 <!-- The platform's desired fixed width for a dialog along the major axis 66 (the screen is in landscape). This may be either a fraction or a dimension.--> 67 <item type="dimen" name="dialog_fixed_width_major">50%</item> 68 <!-- The platform's desired fixed width for a dialog along the minor axis 69 (the screen is in portrait). This may be either a fraction or a dimension.--> 70 <item type="dimen" name="dialog_fixed_width_minor">70%</item> 71 <!-- The platform's desired fixed height for a dialog along the major axis 72 (the screen is in portrait). This may be either a fraction or a dimension.--> 73 <item type="dimen" name="dialog_fixed_height_major">60%</item> 74 <!-- The platform's desired fixed height for a dialog along the minor axis 75 (the screen is in landscape). This may be either a fraction or a dimension.--> 76 <item type="dimen" name="dialog_fixed_height_minor">90%</item> 77 78 <!-- Height of the bottom navigation bar in portrait; on sw600dp devices 79 this is a bit taller --> 80 <dimen name="navigation_bar_height_portrait">56dp</dimen> 81</resources> 82 83