1 <?xml version="1.0" encoding="utf-8"?>
3 /* //device/apps/common/assets/res/any/dimens.xml
5 ** Copyright 2006, The Android Open Source Project
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
11 ** http://www.apache.org/licenses/LICENSE-2.0
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.
21 <!-- The width that is used when creating thumbnails of applications. -->
22 <dimen name="thumbnail_width">360dp</dimen>
23 <!-- The height that is used when creating thumbnails of applications. -->
24 <dimen name="thumbnail_height">360dp</dimen>
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>
38 <!-- Size of clock font in LockScreen. -->
39 <dimen name="keyguard_pattern_unlock_clock_font_size">112sp</dimen>
41 <!-- Size of lockscreen outerring on unsecure unlock LockScreen -->
42 <dimen name="keyguard_lockscreen_outerring_diameter">364dp</dimen>
44 <!-- Height of FaceUnlock view in keyguard -->
45 <dimen name="face_unlock_height">430dip</dimen>
47 <!-- target placement radius for GlowPadView. Should be 1/2 of outerring diameter. -->
48 <dimen name="glowpadview_target_placement_radius">182dip</dimen>
50 <!-- Size of status line font in LockScreen. -->
51 <dimen name="keyguard_pattern_unlock_status_line_font_size">14sp</dimen>
53 <!-- Minimum width for an action button in the menu area of an action bar -->
54 <dimen name="action_button_min_width">64dip</dimen>
56 <!-- The platform's desired fixed width for a dialog along the major axis
57 (the screen is in landscape). This may be either a fraction or a dimension.-->
58 <item type="dimen" name="dialog_fixed_width_major">60%</item>
59 <!-- The platform's desired fixed width for a dialog along the minor axis
60 (the screen is in portrait). This may be either a fraction or a dimension.-->
61 <item type="dimen" name="dialog_fixed_width_minor">90%</item>
62 <!-- The platform's desired fixed height for a dialog along the major axis
63 (the screen is in portrait). This may be either a fraction or a dimension.-->
64 <item type="dimen" name="dialog_fixed_height_major">60%</item>
65 <!-- The platform's desired fixed height for a dialog along the minor axis
66 (the screen is in landscape). This may be either a fraction or a dimension.-->
67 <item type="dimen" name="dialog_fixed_height_minor">90%</item>
69 <!-- Height of the bottom navigation bar in portrait; on sw600dp devices
70 this is a bit taller -->
71 <dimen name="navigation_bar_height_portrait">56dp</dimen>
73 <!-- Preference fragment padding, sides -->
74 <dimen name="preference_fragment_padding_side">24dp</dimen>
75 <dimen name="preference_screen_header_padding_side">24dip</dimen>
77 <!-- Keyguard dimensions -->
78 <!-- Size of the clock font in keyguard's status view -->
79 <dimen name="kg_status_clock_font_size">141dp</dimen>
81 <!-- Size of the date font in keyguard's status view -->
82 <dimen name="kg_status_date_font_size">25.5dp</dimen>
84 <!-- Size of the generic status lines keyguard's status view -->
85 <dimen name="kg_status_line_font_size">16sp</dimen>
87 <!-- Top margin for the clock view -->
88 <dimen name="kg_clock_top_margin">0dp</dimen>
90 <!-- Size of margin on the right of keyguard's status view -->
91 <dimen name="kg_status_line_font_right_margin">50dp</dimen>
93 <!-- Horizontal padding for the widget pager -->
94 <dimen name="kg_widget_pager_horizontal_padding">24dp</dimen>
96 <!-- Top padding for the widget pager -->
97 <dimen name="kg_widget_pager_top_padding">0dp</dimen>
99 <!-- Bottom padding for the widget pager -->
100 <dimen name="kg_widget_pager_bottom_padding">0dp</dimen>
102 <!-- Top margin for the runway lights. We add a negative margin in large
103 devices to account for the widget pager padding -->
104 <dimen name="kg_runway_lights_top_margin">-10dp</dimen>
106 <!-- Margin around the various security views -->
107 <dimen name="keyguard_security_view_margin">12dp</dimen>
109 <!-- Margin around the various security views -->
110 <dimen name="keyguard_muliuser_selector_margin">12dp</dimen>
112 <!-- width of ImmersiveModeConfirmation (-1 for match_parent) -->
113 <dimen name="immersive_mode_cling_width">380dp</dimen>
115 <dimen name="floating_toolbar_preferred_width">544dp</dimen>