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