1 <?xml version="1.0" encoding="utf-8"?>
3 * Copyright (c) 2006, The Android Open Source Project
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
19 <!-- Margin at the edge of the screen to ignore touch events for in the windowshade. -->
20 <dimen name="status_bar_edge_ignore">5dp</dimen>
22 <!-- Recent Applications parameters -->
23 <!-- Upper width limit for application icon -->
24 <dimen name="status_bar_recents_app_icon_max_width">48dp</dimen>
25 <!-- Upper height limit for application icon -->
26 <dimen name="status_bar_recents_app_icon_max_height">48dp</dimen>
28 <!-- Size of application thumbnail -->
29 <dimen name="status_bar_recents_thumbnail_width">164dp</dimen>
30 <dimen name="status_bar_recents_thumbnail_height">145dp</dimen>
31 <dimen name="status_bar_recents_thumbnail_bg_padding">4dp</dimen>
33 <!-- Size of application label text -->
34 <dimen name="status_bar_recents_app_label_text_size">14dip</dimen>
35 <!-- Size of application description text -->
36 <dimen name="status_bar_recents_app_description_text_size">14dip</dimen>
37 <!-- Size of fading edge for text -->
38 <dimen name="status_bar_recents_text_fading_edge_length">20dip</dimen>
39 <!-- Size of fading edge for scrolling -->
40 <dimen name="status_bar_recents_scroll_fading_edge_length">10dip</dimen>
41 <!-- Margin between recents container and glow on the right -->
42 <dimen name="status_bar_recents_right_glow_margin">100dip</dimen>
43 <!-- How far the thumbnail for a recent app appears from left edge -->
44 <dimen name="status_bar_recents_thumbnail_left_margin">20dp</dimen>
45 <!-- Padding for text descriptions -->
46 <dimen name="status_bar_recents_text_description_padding">8dp</dimen>
47 <!-- Width of application label text -->
48 <dimen name="status_bar_recents_app_label_width">88dip</dimen>
49 <!-- Left margin of application label text -->
50 <dimen name="status_bar_recents_app_label_left_margin">0dip</dimen>
51 <!-- Padding between recents items -->
52 <dimen name="status_bar_recents_item_padding">0dip</dimen>
53 <!-- When recents first appears, how far the icon and label of the primary activity
55 <dimen name="status_bar_recents_app_icon_translate_distance">35dip</dimen>
57 <!-- Where to place the app icon over the thumbnail -->
58 <dimen name="status_bar_recents_app_icon_left_margin">0dp</dimen>
59 <dimen name="status_bar_recents_app_icon_top_margin">8dp</dimen>
61 <!-- Amount to offset bottom of notification peek window from top of status bar. -->
62 <dimen name="peek_window_y_offset">-12dp</dimen>
64 <!-- thickness (height) of the navigation bar on phones that require it -->
65 <dimen name="navigation_bar_size">@*android:dimen/navigation_bar_height</dimen>
67 <!-- thickness (height) of the dead zone at the top of the navigation bar,
68 reducing false presses on navbar buttons; approx 2mm -->
69 <dimen name="navigation_bar_deadzone_size">12dp</dimen>
70 <!-- size of the dead zone when touches have recently occurred elsewhere on screen -->
71 <dimen name="navigation_bar_deadzone_size_max">32dp</dimen>
73 <!-- Height of notification icons in the status bar -->
74 <dimen name="status_bar_icon_size">@*android:dimen/status_bar_icon_size</dimen>
76 <!-- Height of a small notification in the status bar -->
77 <dimen name="notification_min_height">64dp</dimen>
79 <!-- Height of a large notification in the status bar -->
80 <dimen name="notification_max_height">256dp</dimen>
82 <!-- Height of a medium notification in the status bar -->
83 <dimen name="notification_mid_height">128dp</dimen>
85 <!-- Height of a small notification in the status bar plus glow, padding, etc -->
86 <dimen name="notification_row_min_height">68dp</dimen>
88 <!-- Height of a large notification in the status bar plus glow, padding, etc -->
89 <dimen name="notification_row_max_height">260dp</dimen>
91 <!-- size at which Notification icons will be drawn in the status bar -->
92 <dimen name="status_bar_icon_drawing_size">18dip</dimen>
94 <!-- opacity at which Notification icons will be drawn in the status bar -->
95 <item type="dimen" name="status_bar_icon_drawing_alpha">75%</item>
97 <!-- gap on either side of status bar notification icons -->
98 <dimen name="status_bar_icon_padding">0dp</dimen>
100 <!-- half the distance between notifications in the panel -->
101 <dimen name="notification_divider_height">2dp</dimen>
103 <!-- Notification drawer tuning parameters (phone UI) -->
104 <!-- Initial velocity of the shade when expanding on its own -->
105 <dimen name="self_expand_velocity">2000dp</dimen>
106 <!-- Initial velocity of the shade when collapsing on its own -->
107 <dimen name="self_collapse_velocity">2000dp</dimen>
108 <!-- Minimum final velocity of gestures interpreted as expand requests -->
109 <dimen name="fling_expand_min_velocity">100dp</dimen>
110 <!-- Minimum final velocity of gestures interpreted as collapse requests -->
111 <dimen name="fling_collapse_min_velocity">100dp</dimen>
112 <!-- Cap on contribution of x dimension of gesture to overall velocity -->
113 <dimen name="fling_gesture_max_x_velocity">200dp</dimen>
114 <!-- Cap on overall resulting fling speed (s^-1) -->
115 <dimen name="fling_gesture_max_output_velocity">3000dp</dimen>
117 <!-- Minimum distance a fling must travel (anti-jitter) -->
118 <dimen name="fling_gesture_min_dist">20dp</dimen>
120 <!-- Minimum fraction of the display a gesture must travel, at any velocity, to qualify as a
122 <item type="dimen" name="collapse_min_display_fraction">10%</item>
123 <!-- Minimum fraction of the display a gesture must travel to qualify as an expand request -->
124 <item type="dimen" name="expand_min_display_fraction">50%</item>
126 <!-- Initial acceleration of an expand animation after fling -->
127 <dimen name="expand_accel">2000dp</dimen>
128 <!-- Initial acceleration of an collapse animation after fling -->
129 <dimen name="collapse_accel">2000dp</dimen>
131 <!-- The padding on the global screenshot background image -->
132 <dimen name="global_screenshot_bg_padding">20dp</dimen>
134 <!-- The width of the view containing non-menu status bar icons -->
135 <dimen name="navigation_key_width">80dip</dimen>
137 <!-- The width of the view containing the menu status bar icon -->
138 <dimen name="navigation_menu_key_width">40dip</dimen>
140 <!-- Default distance beyond which snaps to the matching target -->
141 <dimen name="navbar_search_snap_margin">40dip</dimen>
143 <!-- Diameter of outer shape drawable shown in navbar search-->
144 <dimen name="navbar_search_outerring_diameter">340dp</dimen>
146 <!-- Diameter of outer shape drawable shown in navbar search. Should be 1/2 of above value -->
147 <dimen name="navbar_search_outerring_radius">170dp</dimen>
149 <!-- Threshold for swipe-up gesture to activate search dialog -->
150 <dimen name="navbar_search_up_threshhold">40dip</dimen>
152 <!-- Height of search panel including navigation bar height -->
153 <dimen name="navbar_search_panel_height">230dip</dimen>
155 <!-- Height of the draggable handle at the bottom of the phone notification panel -->
156 <dimen name="close_handle_height">36dp</dimen>
158 <!-- Amount of close_handle that will NOT overlap the notification list -->
159 <dimen name="close_handle_underlap">32dp</dimen>
161 <!-- Height of the notification panel header bar -->
162 <dimen name="notification_panel_header_height">48dp</dimen>
164 <!-- Extra space above the panel -->
165 <dimen name="notification_panel_padding_top">0dp</dimen>
167 <!-- Extra space above the clock in the panel -->
168 <dimen name="notification_panel_header_padding_top">0dp</dimen>
170 <!-- Extra space above the panel holder -->
171 <dimen name="panel_holder_padding_top">0dp</dimen>
173 <!-- Layout parameters for the notification panel -->
174 <dimen name="notification_panel_margin_bottom">0dp</dimen>
175 <dimen name="notification_panel_margin_left">0dp</dimen>
177 <!-- Gravity for the notification & quick settings panels -->
178 <!-- 0x37 = fill_horizontal|top -->
179 <integer name="notification_panel_layout_gravity">0x37</integer>
180 <integer name="settings_panel_layout_gravity">0x37</integer>
182 <!-- Fraction of the status bar that, when dragged, will produce the quick settings panel
183 instead of the notification panel. See also @dimen/settings_panel_dragzone_min.
184 If zero, the settings panel will not be directly draggable from the status bar. -->
185 <item type="dimen" name="settings_panel_dragzone_fraction">0%</item>
187 <!-- Quick settings dragzone, if used, should be at least this big (may be zero). -->
188 <dimen name="settings_panel_dragzone_min">100dp</dimen>
190 <!-- Height of the carrier/wifi name label -->
191 <dimen name="carrier_label_height">24dp</dimen>
193 <!-- The distance you can pull a notification before it pops open -->
194 <dimen name="one_finger_pop_limit">32dp</dimen>
196 <!-- The fixed height of each tile -->
197 <dimen name="quick_settings_cell_height">110dp</dimen>
199 <!-- The padding between each tile within the QuickSettings layout -->
200 <dimen name="quick_settings_cell_gap">4dp</dimen>
202 <!-- Minimum fraction of the screen that should be taken up by the notification panel.
203 Not used at this screen size. -->
204 <item type="dimen" name="notification_panel_min_height_frac">0%</item>
206 <dimen name="blinds_pop_threshold">32dp</dimen>
208 <!-- The size of the gesture span needed to activate the "pull" notification expansion -->
209 <dimen name="pull_span_min">25dp</dimen>
211 <!-- How far to slide the panel out when you touch it -->
212 <!-- For phones, this is close_handle_height + header_height -->
213 <dimen name="peek_height">84dp</dimen>
215 <!-- Quick Settings tile geometry: top interior margin, above icon -->
216 <dimen name="qs_tile_margin_above_icon">27dp</dimen>
217 <!-- Quick Settings tile geometry: gap between icon and text -->
218 <dimen name="qs_tile_margin_below_icon">17dp</dimen>
219 <!-- Quick Settings tile geometry: icon size -->
220 <dimen name="qs_tile_icon_size">32dp</dimen>
221 <!-- Quick Settings CA Cert Warning tile geometry: gap between icon and text -->
222 <dimen name="qs_cawarn_tile_margin_below_icon">3dp</dimen>
224 <!-- The width of the notification panel window: match_parent below sw600dp -->
225 <dimen name="notification_panel_width">-1dp</dimen>
227 <!-- used by DessertCase -->
228 <dimen name="dessert_case_cell_size">192dp</dimen>
230 <!-- Default glow radius for GlowPadView -->
231 <dimen name="glowpadview_glow_radius">75dip</dimen>
233 <!-- Default distance from each snap target that GlowPadView considers a "hit" -->
234 <dimen name="glowpadview_inner_radius">15dip</dimen>
236 <!-- The size of the application icon in the recents task view. -->
237 <dimen name="recents_task_view_application_icon_size">60dp</dimen>
239 <!-- The size of the activity icon in the recents task view. -->
240 <dimen name="recents_task_view_activity_icon_size">60dp</dimen>
242 <!-- The radius of the rounded corners on a task view. -->
243 <dimen name="recents_task_view_rounded_corners_radius">2dp</dimen>
245 <!-- The amount of space a user has to scroll to dismiss any info panes. -->
246 <dimen name="recents_task_stack_scroll_dismiss_info_pane_distance">50dp</dimen>
248 <!-- Used to calculate the translation animation duration, the expected amount of movement
249 in dps over one second of time. -->
250 <dimen name="recents_animation_movement_in_dps_per_second">800dp</dimen>
252 <!-- Space below the notification stack -->
253 <dimen name="notification_stack_margin_bottom">0dp</dimen>
255 <!-- Space reserved for the cards behind the top card in the top stack -->
256 <dimen name="top_stack_peek_amount">24dp</dimen>
258 <!-- Space reserved for the cards behind the top card in the bottom stack -->
259 <dimen name="bottom_stack_peek_amount">18dp</dimen>
261 <!-- The side padding of the notifications-->
262 <dimen name="notification_side_padding">8dp</dimen>
264 <!-- Z distance between notifications if they are in the stack -->
265 <dimen name="z_distance_between_notifications">2dp</dimen>
267 <!-- Width of the zen mode interstitial dialog. -->
268 <dimen name="zen_mode_dialog_width">320dp</dimen>
270 <!-- Camera affordance drag distance -->
271 <dimen name="camera_drag_distance">100dp</dimen>