1<?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    <!-- DrawableStateProxyView specific attributes. These attributes are used to customize
31         a DrawableStateProxyView view in XML files. -->
32    <declare-styleable name="DrawableStateProxyView">
33        <!-- The source view to delegate touch presses events to. -->
34        <attr name="sourceViewId" format="integer" />
35    </declare-styleable>
36
37    <!-- Cling specific attributes. These attributes are used to customize
38         the cling in XML files. -->
39    <declare-styleable name="Cling">
40        <!-- Used to identify how to draw the cling bg -->
41        <attr name="drawIdentifier" format="string"  />
42    </declare-styleable>
43
44    <!-- Workspace specific attributes. These attributes are used to customize
45         the workspace in XML files. -->
46    <declare-styleable name="Workspace">
47        <!-- The first screen the workspace should display. -->
48        <attr name="defaultScreen" format="integer"  />
49        <!-- The number of horizontal cells in the CellLayout -->
50        <attr name="cellCountX" format="integer"  />
51        <!-- The number of vertical cells in the CellLayout -->
52        <attr name="cellCountY" format="integer"  />
53    </declare-styleable>
54
55    <!-- Hotseat specific attributes. These attributes are used to customize
56         the hotseat in XML files. -->
57    <declare-styleable name="Hotseat">
58        <!-- The number of horizontal cells in the CellLayout -->
59        <attr name="cellCountX" />
60        <!-- The number of vertical cells in the CellLayout -->
61        <attr name="cellCountY" />
62    </declare-styleable>
63
64    <!-- CellLayout specific attributes. These attributes are used to customize
65         a CellLayout view in XML files. -->
66    <declare-styleable name="CellLayout">
67        <!-- The width of a single cell -->
68        <attr name="cellWidth" format="dimension"  />
69        <!-- The height of a single cell -->
70        <attr name="cellHeight" format="dimension"  />
71        <!-- An override for the width and height gap to allow users to specify
72             a specific size for the page using spacing instead of resolving the
73             spacing from the width of the page -->
74        <attr name="widthGap" format="dimension" />
75        <attr name="heightGap" format="dimension" />
76        <!-- The max gap size for each dimension -->
77        <attr name="maxGap" format="dimension" />
78    </declare-styleable>
79
80    <!-- StrokedTextView specific attributes. -->
81    <declare-styleable name="StrokedTextView">
82        <!-- The color of the stroke outline -->
83        <attr name="strokeColor" format="color" />
84        <!-- The color of the text -->
85        <attr name="strokeTextColor" format="color" />
86        <!-- The width of the stroke -->
87        <attr name="strokeWidth" format="float" />
88    </declare-styleable>
89
90    <!-- HolographicLinearLayout specific attributes. -->
91    <declare-styleable name="HolographicLinearLayout">
92        <!-- The source view to generate and apply the drawable states to/from -->
93        <attr name="sourceImageViewId" format="integer" />
94    </declare-styleable>
95
96    <!-- PagedView specific attributes. These attributes are used to customize
97         a PagedView view in XML files. -->
98    <declare-styleable name="PagedView">
99        <!-- A spacing override for the icons within a page -->
100        <attr name="pageLayoutWidthGap" format="dimension" />
101        <attr name="pageLayoutHeightGap" format="dimension" />
102        <!-- The padding of the pages that are dynamically created per page -->
103        <attr name="pageLayoutPaddingTop" format="dimension" />
104        <attr name="pageLayoutPaddingBottom" format="dimension" />
105        <attr name="pageLayoutPaddingLeft" format="dimension" />
106        <attr name="pageLayoutPaddingRight" format="dimension" />
107        <!-- The space between adjacent pages of the PagedView. -->
108        <attr name="pageSpacing" format="dimension" />
109        <!-- The padding for the scroll indicator area -->
110        <attr name="scrollIndicatorPaddingLeft" format="dimension" />
111        <attr name="scrollIndicatorPaddingRight" format="dimension" />
112    </declare-styleable>
113
114    <!-- AppsCustomizePagedView specific attributes.  These attributes are used to
115         customize an AppsCustomizePagedView in xml files. -->
116    <declare-styleable name="AppsCustomizePagedView">
117        <!-- Max number of cells of applications horizontally -->
118        <attr name="maxAppCellCountX" format="integer" />
119        <!-- Max number of cells of applications vertically -->
120        <attr name="maxAppCellCountY" format="integer" />
121        <!-- Horizontal spacing between widgets and wallpapers -->
122        <attr name="widgetCellWidthGap" format="dimension" />
123        <!-- Vertical spacing between widgets -->
124        <attr name="widgetCellHeightGap" format="dimension" />
125        <!-- Number of widgets horizontally -->
126        <attr name="widgetCountX" format="integer" />
127        <!-- Number of widgets vertically -->
128        <attr name="widgetCountY" format="integer" />
129        <!-- The x index of the item to be focused in the cling -->
130        <attr name="clingFocusedX" format="integer" />
131        <!-- The y index of the item to be focused in the cling -->
132        <attr name="clingFocusedY" format="integer" />
133    </declare-styleable>
134
135    <!-- HandleView specific attributes. These attributes are used to customize
136         a HandleView view in XML files. -->
137    <declare-styleable name="HandleView">
138        <!-- Orientation of the handle. -->
139        <attr name="direction" />
140    </declare-styleable>
141
142    <!-- XML attributes used by default_workspace.xml -->
143    <declare-styleable name="Favorite">
144        <attr name="className" format="string" />
145        <attr name="packageName" format="string" />
146        <attr name="container" format="string" />
147        <attr name="screen" format="string" />
148        <attr name="x" format="string" />
149        <attr name="y" format="string" />
150        <attr name="spanX" format="string" />
151        <attr name="spanY" format="string" />
152        <attr name="icon" format="reference" />
153        <attr name="title" format="reference" />
154        <attr name="uri" format="string" />
155    </declare-styleable>
156    <declare-styleable name="Extra">
157        <attr name="key" format="string" />
158        <attr name="value" format="string" />
159    </declare-styleable>
160
161    <!-- Only used in the device overlays -->
162    <declare-styleable name="CustomClingTitleText">
163    </declare-styleable>
164    <declare-styleable name="CustomClingText">
165    </declare-styleable>
166</resources>
167