blob: 6e2448147c2cb95c3012096af1278efac7e1f35b [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 Chung5f8afe62013-08-12 16:19:28 -070018<!-- Dynamic Grid -->
19 <dimen name="dynamic_grid_edge_margin">6dp</dimen>
20 <dimen name="dynamic_grid_search_bar_max_width">500dp</dimen>
21 <dimen name="dynamic_grid_search_bar_height">48dp</dimen>
22 <dimen name="dynamic_grid_page_indicator_height">24dp</dimen>
23
Winson Chung82f55532011-08-09 14:14:23 -070024<!-- Cling -->
25 <dimen name="clingPunchThroughGraphicCenterRadius">94dp</dimen>
Winson Chung93065f02011-10-05 16:37:26 -070026 <dimen name="folderClingMarginTop">20dp</dimen>
Winson Chungd0160152011-11-15 15:04:42 -080027 <!-- The offset for the text in the cling -->
28 <dimen name="cling_text_block_offset_x">0dp</dimen>
29 <dimen name="cling_text_block_offset_y">0dp</dimen>
Michael Jurka45355c42012-10-08 13:21:35 +020030 <!-- entries for custom clings, will be set in overlays -->
31 <add-resource type="dimen" name="custom_cling_margin_top" />
32 <add-resource type="dimen" name="custom_cling_margin_right" />
Michael Jurkab86d5162012-10-10 22:20:47 +020033 <add-resource type="dimen" name="custom_cling_margin_left" />
Winson Chung82f55532011-08-09 14:14:23 -070034
Winson Chung1cad91e2011-05-25 17:41:01 -070035<!-- Workspace -->
Winson Chung4afe9b32011-07-27 17:46:20 -070036 <dimen name="workspace_max_gap">16dp</dimen>
Adam Cohenb5ba0972011-09-07 18:02:31 -070037 <dimen name="workspace_overscroll_drawable_padding">0dp</dimen>
Winson Chung8aad6102012-05-11 16:27:49 -070038 <dimen name="workspace_spring_loaded_page_spacing">15dp</dimen>
Adam Cohenf358a4b2013-07-23 16:47:31 -070039 <dimen name="overview_panel_bottom_padding">50dp</dimen>
40 <dimen name="overview_panel_buttonSpacing">40dp</dimen>
Winson Chung1cad91e2011-05-25 17:41:01 -070041
42<!-- QSB -->
Winson Chungb301f3f2013-04-12 12:36:56 -070043 <dimen name="toolbar_button_vertical_padding">4dip</dimen>
Winson Chung649723c2011-07-06 20:41:23 -070044 <dimen name="toolbar_button_horizontal_padding">12dip</dimen>
Winson Chung128bbcd2011-08-31 16:58:52 -070045 <!-- External toolbar icon size (for bounds) -->
46 <dimen name="toolbar_external_icon_width">36dp</dimen>
47 <dimen name="toolbar_external_icon_height">36dp</dimen>
Winson Chung1cad91e2011-05-25 17:41:01 -070048
Winson Chung785d2eb2011-04-14 16:08:02 -070049<!-- AllApps/Customize/AppsCustomize -->
Winson Chung6032e7e2011-11-08 15:47:17 -080050 <integer name="apps_customize_maxCellCountX">-1</integer>
51 <integer name="apps_customize_maxCellCountY">-1</integer>
Jeff Sharkey82aef762011-08-31 17:37:40 -070052 <!-- The height of the tab bar - if this changes, we should update the
Winson Chung128bbcd2011-08-31 16:58:52 -070053 external icon width/height above to compensate -->
Winson Chungd2c1f802011-10-14 12:26:54 -070054 <dimen name="apps_customize_tab_bar_height">52dp</dimen>
Winson Chung8ea7f6b2011-11-14 15:17:47 -080055 <dimen name="apps_customize_tab_bar_margin_top">0dp</dimen>
Michael Jurka931dc972011-08-05 15:08:15 -070056 <dimen name="app_icon_size">48dp</dimen>
Winson Chung557d6ed2011-07-08 15:34:52 -070057 <!-- The width can be 72dp because we don't have L/R padding -->
Winson Chung5fc72b32011-10-11 17:53:58 -070058 <dimen name="apps_customize_cell_width">74dp</dimen>
59 <dimen name="apps_customize_cell_height">82dp</dimen>
Winson Chungdb1138b2011-06-30 14:39:35 -070060 <dimen name="apps_customize_max_gap">18dp</dimen>
Winson Chungf0ea4d32011-06-06 14:27:16 -070061 <dimen name="apps_customize_widget_cell_width_gap">10dp</dimen>
Winson Chung5fc72b32011-10-11 17:53:58 -070062 <dimen name="apps_customize_widget_cell_height_gap">8dp</dimen>
Daniel Sandlerc9b18772010-04-22 14:37:59 -040063
Winson Chungd2be3812013-07-16 11:11:32 -070064 <!-- The AppsCustomize page indicator -->
65 <dimen name="apps_customize_page_indicator_height">12dp</dimen>
66 <dimen name="apps_customize_page_indicator_margin">4dp</dimen>
67
Winson Chung3f4e1422011-11-17 14:58:51 -080068 <!-- Drag padding to add to the bottom of drop targets -->
69 <dimen name="drop_target_drag_padding">14dp</dimen>
70
Winson Chung785d2eb2011-04-14 16:08:02 -070071<!-- Dragging -->
Joe Onorato658db742010-09-29 11:40:39 -070072 <!-- the area at the edge of the screen that makes the workspace go left
73 or right while you're dragging. -->
74 <dimen name="scroll_zone">20dp</dimen>
Adam Cohen8878a322011-03-28 13:18:42 -070075
76 <!-- When dragging items on the workspace, the number of dps by which the position of
77 the drag view should be offset from the position of the original view. -->
78 <dimen name="dragViewOffsetX">0dp</dimen>
Winson Chungeecf02d2012-03-02 17:14:58 -080079 <dimen name="dragViewOffsetY">0dp</dimen>
Winson Chung7bd1bbb2012-02-13 18:29:29 -080080 <!-- When dragging an item, how much bigger (fixed dps) the dragged view
81 should be. If 0, it will not be scaled at all. -->
Winson Chungeecf02d2012-03-02 17:14:58 -080082 <dimen name="dragViewScale">12dp</dimen>
Adam Cohen2801caf2011-05-13 20:57:39 -070083
Michael Jurkadac85912012-05-18 15:04:49 -070084 <!-- Padding applied to AppWidget previews -->
85 <dimen name="app_widget_preview_padding_left">16dp</dimen>
86 <dimen name="app_widget_preview_padding_right">16dp</dimen>
87 <dimen name="app_widget_preview_padding_top">32dp</dimen>
88 <dimen name="app_widget_preview_label_margin_top">4dp</dimen>
89 <dimen name="app_widget_preview_label_margin_left">2dp</dimen>
90 <dimen name="app_widget_preview_label_margin_right">2dp</dimen>
91
92 <!-- Padding applied to shortcut previews -->
93 <dimen name="shortcut_preview_padding_left">0dp</dimen>
94 <dimen name="shortcut_preview_padding_right">0dp</dimen>
95 <dimen name="shortcut_preview_padding_top">0dp</dimen>
Adam Cohen76fc0852011-06-17 13:26:23 -070096
97<!-- Folders -->
Adam Cohen76fc0852011-06-17 13:26:23 -070098 <!-- The amount that the preview contents are inset from the preview background -->
99 <dimen name="folder_preview_padding">4dp</dimen>
Adam Cohenfdd6c832011-08-24 14:00:54 -0700100 <dimen name="folder_name_padding">10dp</dimen>
Jeffrey Sharkey7bd74a42009-03-31 18:25:03 -0700101</resources>