blob: a0085bc401617a501863b633f28bbfeb20cdf068 [file] [log] [blame]
The Android Open Source Project31dd5032009-03-03 19:32:27 -08001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/* Copyright 2008, The Android Open Source Project
4**
5** Licensed under the Apache License, Version 2.0 (the "License");
6** you may not use this file except in compliance with the License.
7** You may obtain a copy of the License at
8**
9** http://www.apache.org/licenses/LICENSE-2.0
10**
11** Unless required by applicable law or agreed to in writing, software
12** distributed under the License is distributed on an "AS IS" BASIS,
13** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14** See the License for the specific language governing permissions and
15** limitations under the License.
16*/
17-->
18
19<resources>
20 <!-- Orientation of a widget. -->
21 <attr name="direction">
22 <!-- Vertical widget. -->
23 <enum name="vertical" value="0" />
24 <!-- Horizontal widget. -->
25 <enum name="horizontal" value="1" />
26 </attr>
27
28 <skip />
29
30 <!-- Workspace specific attributes. These attributes are used to customize
31 the workspace in XML files. -->
32 <declare-styleable name="Workspace">
33 <!-- The first screen the workspace should display. -->
34 <attr name="defaultScreen" format="integer" />
35 </declare-styleable>
36
37 <!-- CellLayout specific attributes. These attributes are used to customize
38 a CellLayout view in XML files. -->
39 <declare-styleable name="CellLayout">
40 <!-- The width of a single cell -->
41 <attr name="cellWidth" format="dimension" />
42 <!-- The height of a single cell -->
43 <attr name="cellHeight" format="dimension" />
44 <!-- Padding to apply at the start of the long axis -->
45 <attr name="longAxisStartPadding" format="dimension" />
46 <!-- Padding to apply at the end of the long axis -->
47 <attr name="longAxisEndPadding" format="dimension" />
48 <!-- Padding to apply at the start of the short axis -->
49 <attr name="shortAxisStartPadding" format="dimension" />
50 <!-- Padding to apply at the end of the short axis -->
51 <attr name="shortAxisEndPadding" format="dimension" />
52 <!-- Number of cells on the short axis of the CellLayout -->
53 <attr name="shortAxisCells" format="integer" />
54 <!-- Number of cells on the long axis of the CellLayout -->
55 <attr name="longAxisCells" format="integer" />
56 </declare-styleable>
57
58 <!-- DeleteZone specific attributes. These attributes are used to customize
59 a DeleteZone view in XML files. -->
60 <declare-styleable name="DeleteZone">
61 <!-- Orientation of the delete zone. -->
62 <attr name="direction" />
63 </declare-styleable>
64
65 <!-- HandleView specific attributes. These attributes are used to customize
66 a HandleView view in XML files. -->
67 <declare-styleable name="HandleView">
68 <!-- Orientation of the handle. -->
69 <attr name="direction" />
70 </declare-styleable>
71
The Android Open Source Projectf96811c2009-03-18 17:39:48 -070072 <!-- XML attributes used by default_workspace.xml -->
73 <declare-styleable name="Favorite">
74 <attr name="className" format="string" />
75 <attr name="packageName" format="string" />
76 <attr name="screen" format="string" />
77 <attr name="x" format="string" />
78 <attr name="y" format="string" />
Mike Cleronb87bd162009-10-30 16:36:56 -070079 <attr name="spanX" format="string" />
80 <attr name="spanY" format="string" />
81 <attr name="icon" format="reference" />
82 <attr name="title" format="reference" />
83 <attr name="uri" format="string" />
The Android Open Source Projectf96811c2009-03-18 17:39:48 -070084 </declare-styleable>
The Android Open Source Project31dd5032009-03-03 19:32:27 -080085</resources>