blob: 99b124097719908065e4a9609e8953eb2900eeff [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 Chung785d2eb2011-04-14 16:08:02 -070018<!-- AllApps/Customize/AppsCustomize -->
19 <!-- Size of icons in Workspace/AppsCustomize -->
20 <dimen name="app_icon_size">50dp</dimen>
21 <dimen name="apps_customize_cell_width">68dp</dimen>
22 <dimen name="apps_customize_cell_height">68dp</dimen>
Romain Guy442eda22010-02-04 15:59:37 -080023 <dimen name="title_texture_width">120px</dimen>
Daniel Sandlerc9b18772010-04-22 14:37:59 -040024
Winson Chung785d2eb2011-04-14 16:08:02 -070025 <!-- height of the tab bar in AppsCustomize -->
26 <dimen name="apps_customize_tab_bar_height">56dp</dimen>
27
Daniel Sandlerc9b18772010-04-22 14:37:59 -040028 <!-- height of the bottom row of controls -->
Joe Onoratoc567acb2009-08-31 14:34:43 -070029 <dimen name="button_bar_height">56dip</dimen>
Daniel Sandlerc9b18772010-04-22 14:37:59 -040030
31 <!-- so we have access to this dimension in landscape mode even though
32 button_bar_height changes -->
33 <dimen name="button_bar_height_portrait">56dip</dimen>
34
Winson Chung785d2eb2011-04-14 16:08:02 -070035 <!-- extra horizontal spacing between mini screen thumbnails ie. in all
36 apps and in customization mode -->
37 <dimen name="smallScreenExtraSpacing">0dip</dimen>
38
39 <!-- Vertical spacing between edge of screen and mini cell layouts when they
40 are minimized to the bottom in all apps -->
41 <dimen name="allAppsSmallScreenVerticalMarginLandscape">30dip</dimen>
42 <dimen name="allAppsSmallScreenVerticalMarginPortrait">60dip</dimen>
43
44 <!-- height & width of the drop rectangle for the trash icon -->
45 <dimen name="delete_zone_size">70dip</dimen>
46
47 <!-- delete_zone_size_full - button_bar_height_portrait -->
48 <dimen name="delete_zone_padding">14dip</dimen>
49
50 <!-- padding between the delete zone drawable and text -->
51 <dimen name="delete_zone_drawable_padding">8dip</dimen>
52
Daniel Sandler86b40542010-06-01 14:48:12 -070053 <!-- roughly a status bar (for vertically centering the all apps
54 home icon in landscape) -->
55 <dimen name="status_bar_height">25dip</dimen>
56
Daniel Sandlerc9b18772010-04-22 14:37:59 -040057 <!-- roughly half a status bar (for vertically centering the right-hand
58 button cluster in landscape) -->
59 <dimen name="half_status_bar_height">12dip</dimen>
Daniel Sandlere1d923a2010-04-28 14:01:54 -040060
Winson Chung785d2eb2011-04-14 16:08:02 -070061<!-- Dragging -->
Joe Onorato658db742010-09-29 11:40:39 -070062 <!-- the area at the edge of the screen that makes the workspace go left
63 or right while you're dragging. -->
64 <dimen name="scroll_zone">20dp</dimen>
Adam Cohen8878a322011-03-28 13:18:42 -070065
66 <!-- When dragging items on the workspace, the number of dps by which the position of
67 the drag view should be offset from the position of the original view. -->
68 <dimen name="dragViewOffsetX">0dp</dimen>
69 <dimen name="dragViewOffsetY">-8dp</dimen>
Adam Cohen2801caf2011-05-13 20:57:39 -070070
71 <!-- Width/height gap overrides for the workspace -->
72 <dimen name="workspace_width_gap">-1dp</dimen>
73 <dimen name="workspace_height_gap">-1dp</dimen>
Jeffrey Sharkey7bd74a42009-03-31 18:25:03 -070074</resources>