dimens.xml revision 0d5d1b7e8cc06b4c62a863314debbb8b24554f1f
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">3</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 -->
36    <dimen name="system_bar_height">48dip</dimen>
37    <!-- Height of notification icons in the status bar -->
38    <dimen name="status_bar_icon_size">25dip</dimen>
39    <!-- Size of the giant number (unread count) in the notifications -->
40    <dimen name="status_bar_content_number_size">48sp</dimen>
41    <!-- Height of notification icons in the system bar -->
42    <dimen name="system_bar_icon_size">32dip</dimen>
43    <!-- Margin at the edge of the screen to ignore touch events for in the windowshade. -->
44    <dimen name="status_bar_edge_ignore">5dp</dimen>
45    <!-- Size of the fastscroll hint letter -->
46    <dimen name="fastscroll_overlay_size">104dp</dimen>
47    <!-- Width of the fastscroll thumb -->
48    <dimen name="fastscroll_thumb_width">64dp</dimen>
49    <!-- Height of the fastscroll thumb -->
50    <dimen name="fastscroll_thumb_height">52dp</dimen>
51    <!-- Min width for a tablet device -->
52    <dimen name="min_xlarge_screen_width">800dp</dimen>
53    <!-- Default height of a key in the password keyboard for alpha -->
54    <dimen name="password_keyboard_key_height_alpha">56dip</dimen>
55    <!-- Default height of a key in the password keyboard for numeric -->
56    <dimen name="password_keyboard_key_height_numeric">56dip</dimen>
57    <!-- Default correction for the space key in the password keyboard -->
58    <dimen name="password_keyboard_spacebar_vertical_correction">4dip</dimen>
59
60    <!-- Default target placement radius for MultiWaveView -->
61    <dimen name="multiwaveview_target_placement_radius">135dip</dimen>
62
63    <!-- Default distance beyond which MultiWaveView snaps to the target radius -->
64    <dimen name="multiwaveview_snap_margin">20dip</dimen>
65
66    <!-- Default distance from each snap target that MultiWaveView considers a "hit" -->
67    <dimen name="multiwaveview_hit_radius">60dip</dimen>
68
69    <!-- Preference activity side margins -->
70    <dimen name="preference_screen_side_margin">0dp</dimen>
71    <!-- Preference activity side margins negative-->
72    <dimen name="preference_screen_side_margin_negative">0dp</dimen>
73    <!-- Preference activity top margin -->
74    <dimen name="preference_screen_top_margin">0dp</dimen>
75    <!-- Preference activity bottom margin -->
76    <dimen name="preference_screen_bottom_margin">0dp</dimen>
77    <!-- Preference widget area width (to the left of the text) -->
78    <dimen name="preference_widget_width">48dp</dimen>
79    <!-- Preference fragment padding, bottom -->
80    <dimen name="preference_fragment_padding_bottom">0dp</dimen>
81    <!-- Preference fragment padding, sides -->
82    <dimen name="preference_fragment_padding_side">0dp</dimen>
83    <!-- Weight of the left pane in a multi-pane preference layout. -->
84    <integer name="preferences_left_pane_weight">4</integer>
85    <!-- Weight of the right pane in a multi-pane preference layout. So the split is 40:60 -->
86    <integer name="preferences_right_pane_weight">6</integer>
87    <!-- Padding to the left of the preference panel breadcrumb -->
88    <dimen name="preference_breadcrumb_paddingLeft">0dp</dimen>
89    <!-- Padding to the right of the preference panel breadcrumb -->
90    <dimen name="preference_breadcrumb_paddingRight">0dp</dimen>
91    <!-- Minimum space to allocate to the left of a preference item for an icon.
92        This helps in aligning titles when some items have icons and some don't. When space is
93        at a premium, we don't pre-allocate any space. -->
94    <dimen name="preference_icon_minWidth">0dp</dimen>
95    <!-- The platform's desired minimum size for a dialog's width when it
96         is along the major axis (that is the screen is landscape).  This may
97         be either a fraction or a dimension. -->
98    <item type="dimen" name="dialog_min_width_major">65%</item>
99
100    <!-- The platform's desired minimum size for a dialog's width when it
101         is along the minor axis (that is the screen is portrait).  This may
102         be either a fraction or a dimension. -->
103    <item type="dimen" name="dialog_min_width_minor">95%</item>
104
105    <!-- The width of the big icons in notifications. -->
106    <dimen name="notification_large_icon_width">64dp</dimen>
107    <!-- The width of the big icons in notifications. -->
108    <dimen name="notification_large_icon_height">64dp</dimen>
109
110    <!-- Minimum width of the search view text entry area. -->
111    <dimen name="search_view_text_min_width">160dip</dimen>
112
113    <!-- Dialog title height -->
114    <dimen name="alert_dialog_title_height">64dip</dimen>
115    <!-- Dialog button bar height -->
116    <dimen name="alert_dialog_button_bar_height">48dip</dimen>
117
118    <!-- Default height of an action bar. -->
119    <dimen name="action_bar_default_height">48dip</dimen>
120    <!-- Vertical padding around action bar icons. -->
121    <dimen name="action_bar_icon_vertical_padding">8dip</dimen>
122
123    <!-- Size of clock font in LockScreen on Unsecure unlock screen. -->
124    <dimen name="keyguard_lockscreen_clock_font_size">80sp</dimen>
125
126    <!-- Size of status line font on Unsecure unlock LockScreen. -->
127    <dimen name="keyguard_lockscreen_status_line_font_size">14sp</dimen>
128
129    <!-- Size of right margin on Unsecure unlock LockScreen -->
130    <dimen name="keyguard_lockscreen_status_line_font_right_margin">45dip</dimen>
131
132</resources>
133