dimens.xml revision 692bb13352b9ad5166adc0dd55ae693d9181f611
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3**
4** Copyright 2012, The Android Open Source Project
5**
6** Licensed under the Apache License, Version 2.0 (the "License");
7** you may not use this file except in compliance with the License.
8** You may obtain a copy of the License at
9**
10**     http://www.apache.org/licenses/LICENSE-2.0
11**
12** Unless required by applicable law or agreed to in writing, software
13** distributed under the License is distributed on an "AS IS" BASIS,
14** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15** See the License for the specific language governing permissions and
16** limitations under the License.
17*/
18-->
19<resources>
20    <!-- Height of the bottom navigation bar in portrait; on sw720dp devices
21         this is the same as the height in landscape -->
22    <dimen name="navigation_bar_height_portrait">@dimen/navigation_bar_height</dimen>
23
24    <!-- The platform's desired fixed width for a dialog along the major axis
25         (the screen is in landscape). This may be either a fraction or a dimension.-->
26    <item type="dimen" name="dialog_fixed_width_major">50%</item>
27    <!-- The platform's desired fixed width for a dialog along the minor axis
28         (the screen is in portrait). This may be either a fraction or a dimension.-->
29    <item type="dimen" name="dialog_fixed_width_minor">70%</item>
30    <!-- The platform's desired fixed height for a dialog along the major axis
31         (the screen is in portrait). This may be either a fraction or a dimension.-->
32    <item type="dimen" name="dialog_fixed_height_major">60%</item>
33    <!-- The platform's desired fixed height for a dialog along the minor axis
34         (the screen is in landscape). This may be either a fraction or a dimension.-->
35    <item type="dimen" name="dialog_fixed_height_minor">90%</item>
36
37    <!-- The width that is used when creating thumbnails of applications. -->
38    <dimen name="thumbnail_width">230dp</dimen>
39    <!-- The height that is used when creating thumbnails of applications. -->
40    <dimen name="thumbnail_height">135dp</dimen>
41
42    <!-- Preference activity, vertical padding for the header list -->
43    <dimen name="preference_screen_header_vertical_padding">32dp</dimen>
44    <dimen name="preference_screen_side_margin">0dp</dimen>
45    <!-- Compensate for double margin : preference_screen_side_margin + 4 (frame background shadow) = -preference_screen_side_margin_negative -->
46    <dimen name="preference_screen_side_margin_negative">-4dp</dimen>
47
48    <!-- Preference fragment padding, bottom -->
49    <dimen name="preference_fragment_padding_bottom">16dp</dimen>
50    <dimen name="preference_screen_header_padding_side">0dip</dimen>
51    <integer name="preference_screen_header_scrollbarStyle">0x0</integer> <!-- insideOverlay -->
52
53    <!-- Default padding to apply to AppWidgetHostViews containing widgets targeting API level 14 and up. -->
54    <dimen name="default_app_widget_padding_left">12dp</dimen>
55    <dimen name="default_app_widget_padding_top">4dp</dimen>
56    <dimen name="default_app_widget_padding_right">12dp</dimen>
57    <dimen name="default_app_widget_padding_bottom">20dp</dimen>
58
59    <!-- Preference fragment padding, sides -->
60    <dimen name="preference_fragment_padding_side">32dp</dimen>
61    <!-- Padding to the left of the preference panel breadcrumb -->
62    <dimen name="preference_breadcrumb_paddingLeft">32dp</dimen>
63    <!-- Padding to the right of the preference panel breadcrumb -->
64    <dimen name="preference_breadcrumb_paddingRight">32dp</dimen>
65    <!-- Weight of the left pane in a multi-pane preference layout. -->
66    <integer name="preferences_left_pane_weight">1</integer>
67    <!-- Weight of the right pane in a multi-pane preference layout. So the split is 1:2 -->
68    <integer name="preferences_right_pane_weight">2</integer>
69    <!-- Minimum space to allocate to the left of a preference item for an icon.
70        This helps in aligning titles when some items have icons and some don't. When space is
71        at a premium, we don't pre-allocate any space. -->
72    <dimen name="preference_icon_minWidth">56dp</dimen>
73
74    <!-- Keyguard dimensions -->
75    <!-- Size of the clock font in keyguard's status view -->
76    <dimen name="kg_status_clock_font_size">188dp</dimen>
77
78    <!-- Size of the date font in keyguard's status view  -->
79    <dimen name="kg_status_date_font_size">34dp</dimen>
80
81    <!-- Size of the generic status lines keyguard's status view  -->
82    <dimen name="kg_status_line_font_size">19sp</dimen>
83
84    <!-- Top margin for the clock view --> 
85    <dimen name="kg_clock_top_margin">0dp</dimen>
86
87    <!-- Size of margin on the right of keyguard's status view -->
88    <dimen name="kg_status_line_font_right_margin">32dp</dimen>
89
90    <!-- Horizontal padding for the widget pager -->
91    <dimen name="kg_widget_pager_horizontal_padding">80dp</dimen>
92
93    <!-- Top padding for the widget pager -->
94    <dimen name="kg_widget_pager_top_padding">32dp</dimen>
95
96    <!-- Bottom padding for the widget pager -->
97    <dimen name="kg_widget_pager_bottom_padding">36dp</dimen>
98
99    <!-- Top margin for the runway lights. We add a negative margin in large
100        devices to account for the widget pager padding -->
101    <dimen name="kg_runway_lights_top_margin">-30dp</dimen>
102
103    <!-- Margin around the various security views -->
104    <dimen name="keyguard_security_view_margin">100dp</dimen>
105
106    <!-- Stroke width of the frame for the circular avatars. -->
107    <dimen name="keyguard_avatar_frame_stroke_width">3dp</dimen>
108
109    <!-- Size of the avator on the multiuser lockscreen. -->
110    <dimen name="keyguard_avatar_size">88dp</dimen>
111
112    <!-- Size of the text under the avator on the multiuser lockscreen. -->
113    <dimen name="keyguard_avatar_name_size">12sp</dimen>
114
115</resources>
116