blob: cb354b4b34dfe90c8777adb6d1f463488cf26916 [file] [log] [blame]
Jeffrey Sharkey7bd74a42009-03-31 18:25:03 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2009 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
17<resources>
Winson Chung1cad91e2011-05-25 17:41:01 -070018<!-- Workspace -->
Winson Chung3d503fb2011-07-13 17:25:49 -070019 <dimen name="qsb_bar_height">48dp</dimen>
Winson Chung4b825dcd2011-06-19 12:41:22 -070020 <dimen name="workspace_cell_width">80dp</dimen>
21 <dimen name="workspace_cell_height">80dp</dimen>
22 <dimen name="workspace_width_gap">-1dp</dimen>
23 <dimen name="workspace_height_gap">-1dp</dimen>
Winson Chung4afe9b32011-07-27 17:46:20 -070024 <dimen name="workspace_max_gap">16dp</dimen>
Adam Cohenf4bb1cd2011-07-22 14:36:03 -070025 <dimen name="folder_cell_width">74dp</dimen>
26 <dimen name="folder_cell_height">80dp</dimen>
Winson Chunga6427b12011-07-27 10:53:39 -070027 <dimen name="workspace_divider_padding_left">12dp</dimen>
28 <dimen name="workspace_divider_padding_right">12dp</dimen>
29 <dimen name="workspace_divider_padding_top">0dp</dimen>
30 <dimen name="workspace_divider_padding_bottom">0dp</dimen>
Winson Chung1cad91e2011-05-25 17:41:01 -070031
32<!-- QSB -->
Winson Chung649723c2011-07-06 20:41:23 -070033 <dimen name="toolbar_button_vertical_padding">0dip</dimen>
34 <dimen name="toolbar_button_horizontal_padding">12dip</dimen>
Winson Chung1cad91e2011-05-25 17:41:01 -070035
Winson Chung785d2eb2011-04-14 16:08:02 -070036<!-- AllApps/Customize/AppsCustomize -->
Winson Chung557d6ed2011-07-08 15:34:52 -070037 <dimen name="apps_customize_tab_bar_height">56dp</dimen>
Winson Chung4b825dcd2011-06-19 12:41:22 -070038 <dimen name="app_icon_size">56dp</dimen>
Winson Chung557d6ed2011-07-08 15:34:52 -070039 <!-- The width can be 72dp because we don't have L/R padding -->
Winson Chung4b825dcd2011-06-19 12:41:22 -070040 <dimen name="apps_customize_cell_width">72dp</dimen>
Winson Chung557d6ed2011-07-08 15:34:52 -070041 <dimen name="apps_customize_cell_height">80dp</dimen>
Winson Chungdb1138b2011-06-30 14:39:35 -070042 <dimen name="apps_customize_peek_width">0dp</dimen>
43 <dimen name="apps_customize_max_gap">18dp</dimen>
Winson Chungf0ea4d32011-06-06 14:27:16 -070044 <dimen name="apps_customize_widget_cell_width_gap">10dp</dimen>
45 <dimen name="apps_customize_widget_cell_height_gap">10dp</dimen>
Romain Guy442eda22010-02-04 15:59:37 -080046 <dimen name="title_texture_width">120px</dimen>
Daniel Sandlerc9b18772010-04-22 14:37:59 -040047
48 <!-- height of the bottom row of controls -->
Winson Chung3d503fb2011-07-13 17:25:49 -070049 <dimen name="button_bar_height">80dip</dimen>
Winson Chungf5f8cef2011-07-22 11:16:13 -070050 <!-- Because portal animations go beyond the bounds of an icon, we need
51 to make the dock layout slightly larger than the button_bar_height -->
52 <dimen name="button_bar_height_padding">8dp</dimen>
53 <dimen name="button_bar_height_plus_padding">88dp</dimen>
Daniel Sandlerc9b18772010-04-22 14:37:59 -040054
Winson Chunga62e9fd2011-07-11 15:20:48 -070055 <!-- Drag padding to add to the drop targets -->
Winson Chunga6427b12011-07-27 10:53:39 -070056 <dimen name="drop_target_drag_padding">40dp</dimen>
Winson Chunga62e9fd2011-07-11 15:20:48 -070057
Winson Chung785d2eb2011-04-14 16:08:02 -070058 <!-- extra horizontal spacing between mini screen thumbnails ie. in all
59 apps and in customization mode -->
60 <dimen name="smallScreenExtraSpacing">0dip</dimen>
61
62 <!-- Vertical spacing between edge of screen and mini cell layouts when they
63 are minimized to the bottom in all apps -->
64 <dimen name="allAppsSmallScreenVerticalMarginLandscape">30dip</dimen>
65 <dimen name="allAppsSmallScreenVerticalMarginPortrait">60dip</dimen>
66
Winson Chung785d2eb2011-04-14 16:08:02 -070067 <!-- padding between the delete zone drawable and text -->
68 <dimen name="delete_zone_drawable_padding">8dip</dimen>
69
Daniel Sandler86b40542010-06-01 14:48:12 -070070 <!-- roughly a status bar (for vertically centering the all apps
71 home icon in landscape) -->
72 <dimen name="status_bar_height">25dip</dimen>
73
Winson Chung785d2eb2011-04-14 16:08:02 -070074<!-- Dragging -->
Joe Onorato658db742010-09-29 11:40:39 -070075 <!-- the area at the edge of the screen that makes the workspace go left
76 or right while you're dragging. -->
77 <dimen name="scroll_zone">20dp</dimen>
Adam Cohen8878a322011-03-28 13:18:42 -070078
79 <!-- When dragging items on the workspace, the number of dps by which the position of
80 the drag view should be offset from the position of the original view. -->
81 <dimen name="dragViewOffsetX">0dp</dimen>
82 <dimen name="dragViewOffsetY">-8dp</dimen>
Adam Cohen2801caf2011-05-13 20:57:39 -070083
Adam Cohen41d5d6d2011-05-31 15:52:28 -070084 <!-- Padding applied to AppWidgets -->
85 <dimen name="app_widget_padding_left">0dp</dimen>
86 <dimen name="app_widget_padding_right">0dp</dimen>
87 <dimen name="app_widget_padding_top">0dp</dimen>
88 <dimen name="app_widget_padding_bottom">0dp</dimen>
Adam Cohen76fc0852011-06-17 13:26:23 -070089
90<!-- Folders -->
91 <!-- The size of the image which sits behind the preview of the folder contents -->
Winson Chung4b825dcd2011-06-19 12:41:22 -070092 <dimen name="folder_preview_size">64dp</dimen>
Adam Cohen76fc0852011-06-17 13:26:23 -070093 <!-- The amount that the preview contents are inset from the preview background -->
94 <dimen name="folder_preview_padding">4dp</dimen>
Adam Cohenc51934b2011-07-26 21:07:43 -070095 <dimen name="folder_content_name_gap">4dp</dimen>
Adam Cohen4ef610f2011-06-21 22:37:36 -070096 <dimen name="folder_width_gap">0dp</dimen>
97 <dimen name="folder_height_gap">0dp</dimen>
Jeffrey Sharkey7bd74a42009-03-31 18:25:03 -070098</resources>