1 <?xml version="1.0" encoding="utf-8"?>
3 /* Copyright 2008, The Android Open Source Project
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
9 ** http://www.apache.org/licenses/LICENSE-2.0
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.
21 <!-- BubbleTextView specific attributes. -->
22 <declare-styleable name="BubbleTextView">
23 <attr name="layoutHorizontal" format="boolean" />
24 <attr name="iconSizeOverride" format="dimension" />
25 <attr name="iconDisplay" format="integer">
26 <enum name="workspace" value="0" />
27 <enum name="all_apps" value="1" />
28 <enum name="widget_section" value="2" />
30 <attr name="deferShadowGeneration" format="boolean" />
31 <attr name="customShadows" format="boolean" />
34 <!-- Page Indicator specific attributes. -->
35 <declare-styleable name="PageIndicator">
36 <attr name="windowSize" format="integer" />
39 <!-- Workspace specific attributes. These attributes are used to customize
40 the workspace in XML files. -->
41 <declare-styleable name="Workspace">
42 <!-- The first screen the workspace should display. -->
43 <attr name="defaultScreen" format="integer" />
44 <!-- The number of horizontal cells in the CellLayout -->
45 <attr name="cellCountX" format="integer" />
46 <!-- The number of vertical cells in the CellLayout -->
47 <attr name="cellCountY" format="integer" />
50 <!-- Hotseat specific attributes. These attributes are used to customize
51 the hotseat in XML files. -->
52 <declare-styleable name="Hotseat">
53 <!-- The number of horizontal cells in the CellLayout -->
54 <attr name="cellCountX" />
55 <!-- The number of vertical cells in the CellLayout -->
56 <attr name="cellCountY" />
59 <!-- CellLayout specific attributes. These attributes are used to customize
60 a CellLayout view in XML files. -->
61 <declare-styleable name="CellLayout">
62 <!-- The width of a single cell -->
63 <attr name="cellWidth" format="dimension" />
64 <!-- The height of a single cell -->
65 <attr name="cellHeight" format="dimension" />
66 <!-- An override for the width and height gap to allow users to specify
67 a specific size for the page using spacing instead of resolving the
68 spacing from the width of the page -->
69 <attr name="widthGap" format="dimension" />
70 <attr name="heightGap" format="dimension" />
71 <!-- The max gap size for each dimension -->
72 <attr name="maxGap" format="dimension" />
75 <!-- PagedView specific attributes. These attributes are used to customize
76 a PagedView view in XML files. -->
77 <declare-styleable name="PagedView">
78 <!-- A spacing override for the icons within a page -->
79 <attr name="pageLayoutWidthGap" format="dimension" />
80 <attr name="pageLayoutHeightGap" format="dimension" />
82 <!-- The page indicator for this workspace -->
83 <attr name="pageIndicator" format="reference" />
86 <!-- XML attributes used by default_workspace.xml -->
87 <declare-styleable name="Favorite">
88 <attr name="className" format="string" />
89 <attr name="packageName" format="string" />
90 <attr name="container" format="string" />
91 <attr name="screen" format="string" />
92 <attr name="x" format="string" />
93 <attr name="y" format="string" />
94 <attr name="spanX" format="string" />
95 <attr name="spanY" format="string" />
96 <attr name="icon" format="reference" />
97 <attr name="title" format="reference" />
98 <attr name="uri" format="string" />
101 <declare-styleable name="Extra">
102 <attr name="key" format="string" />
103 <attr name="value" format="string" />
105 <declare-styleable name="Include">
106 <attr name="workspace" format="reference" />
107 <attr name="folderItems" format="reference" />
110 <declare-styleable name="PreloadIconDrawable">
111 <attr name="background" format="reference" />
112 <attr name="ringOutset" format="dimension" />
113 <attr name="indicatorSize" format="dimension" />
116 <declare-styleable name="InsettableFrameLayout_Layout">
117 <attr name="layout_ignoreInsets" format="boolean" />