blob: e346c6a0e8691b7e2b2586f17d4a5fda0a31a4c3 [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>
Romain Guy442eda22010-02-04 15:59:37 -080018 <dimen name="title_texture_width">120px</dimen>
Daniel Sandlerc9b18772010-04-22 14:37:59 -040019
20 <!-- height of the bottom row of controls -->
Joe Onoratoc567acb2009-08-31 14:34:43 -070021 <dimen name="button_bar_height">56dip</dimen>
Daniel Sandlerc9b18772010-04-22 14:37:59 -040022
23 <!-- so we have access to this dimension in landscape mode even though
24 button_bar_height changes -->
25 <dimen name="button_bar_height_portrait">56dip</dimen>
26
Daniel Sandler86b40542010-06-01 14:48:12 -070027 <!-- roughly a status bar (for vertically centering the all apps
28 home icon in landscape) -->
29 <dimen name="status_bar_height">25dip</dimen>
30
Daniel Sandlerc9b18772010-04-22 14:37:59 -040031 <!-- roughly half a status bar (for vertically centering the right-hand
32 button cluster in landscape) -->
33 <dimen name="half_status_bar_height">12dip</dimen>
Daniel Sandlere1d923a2010-04-28 14:01:54 -040034
Michael Jurkac9a96192010-11-01 11:52:08 -070035 <!-- Size of icons in workspace -->
36 <dimen name="app_icon_size">50dp</dimen>
37
Daniel Sandlere1d923a2010-04-28 14:01:54 -040038 <!-- height & width of the drop rectangle for the trash icon -->
39 <dimen name="delete_zone_size">70dip</dimen>
40
41 <!-- delete_zone_size_full - button_bar_height_portrait -->
42 <dimen name="delete_zone_padding">14dip</dimen>
Joe Onorato658db742010-09-29 11:40:39 -070043
44 <!-- the area at the edge of the screen that makes the workspace go left
45 or right while you're dragging. -->
46 <dimen name="scroll_zone">20dp</dimen>
Adam Cohen8878a322011-03-28 13:18:42 -070047
48 <!-- When dragging items on the workspace, the number of dps by which the position of
49 the drag view should be offset from the position of the original view. -->
50 <dimen name="dragViewOffsetX">0dp</dimen>
51 <dimen name="dragViewOffsetY">-8dp</dimen>
Jeffrey Sharkey7bd74a42009-03-31 18:25:03 -070052</resources>