blob: 45e544a7ce5a82b2d882a39abb69c8c1401566a2 [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 Chung82f55532011-08-09 14:14:23 -070018<!-- Cling -->
19 <dimen name="clingPunchThroughGraphicCenterRadius">94dp</dimen>
Winson Chung93065f02011-10-05 16:37:26 -070020 <dimen name="folderClingMarginTop">20dp</dimen>
Winson Chungd0160152011-11-15 15:04:42 -080021 <!-- The offset for the text in the cling -->
22 <dimen name="cling_text_block_offset_x">0dp</dimen>
23 <dimen name="cling_text_block_offset_y">0dp</dimen>
Winson Chung82f55532011-08-09 14:14:23 -070024
Winson Chung1cad91e2011-05-25 17:41:01 -070025<!-- Workspace -->
Winson Chung9b0f23b2011-10-09 15:03:40 -070026 <!-- qsb_bar_height_inset represents qsb_bar_height minus the padding
27 that we put on each page for allowing folders to draw out of bounds -->
28 <dimen name="qsb_bar_height_inset">34dp</dimen>
Winson Chungea359c62011-08-03 17:06:35 -070029 <dimen name="qsb_bar_height">40dp</dimen>
Winson Chung18aacc32011-11-01 17:16:33 -070030 <dimen name="qsb_padding_left">0dp</dimen>
31 <dimen name="qsb_padding_right">0dp</dimen>
Winson Chung5966da22011-09-28 16:49:47 -070032 <dimen name="search_bar_height">40dp</dimen>
Winson Chung4b825dcd2011-06-19 12:41:22 -070033 <dimen name="workspace_cell_width">80dp</dimen>
Winson Chungea359c62011-08-03 17:06:35 -070034 <dimen name="workspace_cell_height">100dp</dimen>
Winson Chung4b825dcd2011-06-19 12:41:22 -070035 <dimen name="workspace_width_gap">-1dp</dimen>
36 <dimen name="workspace_height_gap">-1dp</dimen>
Winson Chung4afe9b32011-07-27 17:46:20 -070037 <dimen name="workspace_max_gap">16dp</dimen>
Adam Cohenf4bb1cd2011-07-22 14:36:03 -070038 <dimen name="folder_cell_width">74dp</dimen>
Adam Cohen32343bd2011-09-29 12:16:06 -070039 <dimen name="folder_cell_height">82dp</dimen>
Andrew Flynn0dca1ec2012-02-29 13:33:22 -080040 <dimen name="folder_icon_padding_top">2dp</dimen>
Winson Chung18aacc32011-11-01 17:16:33 -070041 <dimen name="workspace_divider_padding_left">3dp</dimen>
42 <dimen name="workspace_divider_padding_right">3dp</dimen>
Winson Chunga6427b12011-07-27 10:53:39 -070043 <dimen name="workspace_divider_padding_top">0dp</dimen>
44 <dimen name="workspace_divider_padding_bottom">0dp</dimen>
Winson Chung2b8e4452011-08-26 18:12:08 -070045 <dimen name="hotseat_cell_width">64dp</dimen>
46 <dimen name="hotseat_cell_height">64dp</dimen>
47 <dimen name="hotseat_width_gap">-1dp</dimen>
48 <dimen name="hotseat_height_gap">-1dp</dimen>
Adam Cohenb5ba0972011-09-07 18:02:31 -070049 <dimen name="workspace_overscroll_drawable_padding">0dp</dimen>
Andrew Flynnbc239a12012-03-06 11:39:49 -080050 <dimen name="workspace_icon_text_size">12sp</dimen>
Winson Chung1cad91e2011-05-25 17:41:01 -070051
Andrew Flynn0dca1ec2012-02-29 13:33:22 -080052 <dimen name="app_icon_drawable_padding">6dp</dimen>
Andrew Flynnbc239a12012-03-06 11:39:49 -080053 <dimen name="app_icon_drawable_padding_land">2dp</dimen>
Winson Chungb8c69f32011-10-19 21:36:08 -070054 <dimen name="app_icon_padding_top">8dp</dimen>
55
Winson Chung1cad91e2011-05-25 17:41:01 -070056<!-- QSB -->
Winson Chung649723c2011-07-06 20:41:23 -070057 <dimen name="toolbar_button_vertical_padding">0dip</dimen>
58 <dimen name="toolbar_button_horizontal_padding">12dip</dimen>
Winson Chung128bbcd2011-08-31 16:58:52 -070059 <!-- External toolbar icon size (for bounds) -->
60 <dimen name="toolbar_external_icon_width">36dp</dimen>
61 <dimen name="toolbar_external_icon_height">36dp</dimen>
Winson Chung1cad91e2011-05-25 17:41:01 -070062
Winson Chung785d2eb2011-04-14 16:08:02 -070063<!-- AllApps/Customize/AppsCustomize -->
Winson Chung6032e7e2011-11-08 15:47:17 -080064 <integer name="apps_customize_maxCellCountX">-1</integer>
65 <integer name="apps_customize_maxCellCountY">-1</integer>
Jeff Sharkey82aef762011-08-31 17:37:40 -070066 <!-- The height of the tab bar - if this changes, we should update the
Winson Chung128bbcd2011-08-31 16:58:52 -070067 external icon width/height above to compensate -->
Winson Chungd2c1f802011-10-14 12:26:54 -070068 <dimen name="apps_customize_tab_bar_height">52dp</dimen>
Winson Chung8ea7f6b2011-11-14 15:17:47 -080069 <dimen name="apps_customize_tab_bar_margin_top">0dp</dimen>
Michael Jurka931dc972011-08-05 15:08:15 -070070 <dimen name="app_icon_size">48dp</dimen>
Andrew Flynnbc239a12012-03-06 11:39:49 -080071 <integer name="app_icon_scale_percent">-1</integer>
Andrew Flynn0dca1ec2012-02-29 13:33:22 -080072 <integer name="app_icon_hotseat_scale_percent">-1</integer>
Winson Chung557d6ed2011-07-08 15:34:52 -070073 <!-- The width can be 72dp because we don't have L/R padding -->
Winson Chung5fc72b32011-10-11 17:53:58 -070074 <dimen name="apps_customize_cell_width">74dp</dimen>
75 <dimen name="apps_customize_cell_height">82dp</dimen>
Winson Chungdb1138b2011-06-30 14:39:35 -070076 <dimen name="apps_customize_max_gap">18dp</dimen>
Winson Chungf0ea4d32011-06-06 14:27:16 -070077 <dimen name="apps_customize_widget_cell_width_gap">10dp</dimen>
Winson Chung5fc72b32011-10-11 17:53:58 -070078 <dimen name="apps_customize_widget_cell_height_gap">8dp</dimen>
Daniel Sandlerc9b18772010-04-22 14:37:59 -040079
80 <!-- height of the bottom row of controls -->
Winson Chung18aacc32011-11-01 17:16:33 -070081 <dimen name="button_bar_height">62dip</dimen>
Winson Chungf5f8cef2011-07-22 11:16:13 -070082 <!-- Because portal animations go beyond the bounds of an icon, we need
83 to make the dock layout slightly larger than the button_bar_height -->
Winson Chung2b8e4452011-08-26 18:12:08 -070084 <dimen name="button_bar_height_top_padding">8dp</dimen>
85 <dimen name="button_bar_height_bottom_padding">0dp</dimen>
86 <dimen name="button_bar_width_left_padding">0dp</dimen>
87 <dimen name="button_bar_width_right_padding">0dp</dimen>
Winson Chung18aacc32011-11-01 17:16:33 -070088 <dimen name="button_bar_height_plus_padding">70dp</dimen>
Daniel Sandlerc9b18772010-04-22 14:37:59 -040089
Winson Chung3f4e1422011-11-17 14:58:51 -080090 <!-- Drag padding to add to the bottom of drop targets -->
91 <dimen name="drop_target_drag_padding">14dp</dimen>
92
Daniel Sandler86b40542010-06-01 14:48:12 -070093 <!-- roughly a status bar (for vertically centering the all apps
94 home icon in landscape) -->
95 <dimen name="status_bar_height">25dip</dimen>
96
Winson Chung785d2eb2011-04-14 16:08:02 -070097<!-- Dragging -->
Joe Onorato658db742010-09-29 11:40:39 -070098 <!-- the area at the edge of the screen that makes the workspace go left
99 or right while you're dragging. -->
100 <dimen name="scroll_zone">20dp</dimen>
Adam Cohen8878a322011-03-28 13:18:42 -0700101
102 <!-- When dragging items on the workspace, the number of dps by which the position of
103 the drag view should be offset from the position of the original view. -->
104 <dimen name="dragViewOffsetX">0dp</dimen>
Winson Chungeecf02d2012-03-02 17:14:58 -0800105 <dimen name="dragViewOffsetY">0dp</dimen>
Winson Chung7bd1bbb2012-02-13 18:29:29 -0800106 <!-- When dragging an item, how much bigger (fixed dps) the dragged view
107 should be. If 0, it will not be scaled at all. -->
Winson Chungeecf02d2012-03-02 17:14:58 -0800108 <dimen name="dragViewScale">12dp</dimen>
Adam Cohen2801caf2011-05-13 20:57:39 -0700109
Adam Cohen41d5d6d2011-05-31 15:52:28 -0700110 <!-- Padding applied to AppWidgets -->
Winson Chungb5e74c82011-10-28 16:39:20 -0700111 <dimen name="app_widget_preview_padding_left">8dp</dimen>
112 <dimen name="app_widget_preview_padding_top">8dp</dimen>
Adam Cohen76fc0852011-06-17 13:26:23 -0700113
114<!-- Folders -->
115 <!-- The size of the image which sits behind the preview of the folder contents -->
Winson Chung18aacc32011-11-01 17:16:33 -0700116 <dimen name="folder_preview_size">62dp</dimen>
Adam Cohen76fc0852011-06-17 13:26:23 -0700117 <!-- The amount that the preview contents are inset from the preview background -->
118 <dimen name="folder_preview_padding">4dp</dimen>
Adam Cohenfdd6c832011-08-24 14:00:54 -0700119 <dimen name="folder_name_padding">10dp</dimen>
Adam Cohen4ef610f2011-06-21 22:37:36 -0700120 <dimen name="folder_width_gap">0dp</dimen>
121 <dimen name="folder_height_gap">0dp</dimen>
Jeffrey Sharkey7bd74a42009-03-31 18:25:03 -0700122</resources>