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 xmlns:android="http://schemas.android.com/apk/res/android">
20
21    <!-- Attributes used for launcher theme -->
22    <attr name="allAppsScrimColor" format="color" />
23    <attr name="allAppsInterimScrimAlpha" format="integer" />
24    <attr name="allAppsNavBarScrimColor" format="color" />
25    <attr name="allAppsTheme" format="reference" />
26    <attr name="popupColorPrimary" format="color" />
27    <attr name="popupColorSecondary" format="color" />
28    <attr name="popupColorTertiary" format="color" />
29    <attr name="isMainColorDark" format="boolean" />
30    <attr name="isWorkspaceDarkText" format="boolean" />
31    <attr name="workspaceTextColor" format="color" />
32    <attr name="workspaceShadowColor" format="color" />
33    <attr name="workspaceAmbientShadowColor" format="color"/>
34    <attr name="workspaceKeyShadowColor" format="color" />
35    <attr name="workspaceStatusBarScrim" format="reference" />
36    <attr name="widgetsTheme" format="reference" />
37    <attr name="loadingIconColor" format="color" />
38    <attr name="iconOnlyShortcutColor" format="color"/>
39    <attr name="eduHalfSheetBGColor" format="color"/>
40
41    <attr name="folderDotColor" format="color" />
42    <attr name="folderFillColor" format="color" />
43    <attr name="folderIconRadius" format="float" />
44    <attr name="folderIconBorderColor" format="color" />
45    <attr name="folderTextColor" format="color" />
46    <attr name="folderHintColor" format="color" />
47    <attr name="workProfileOverlayTextColor" format="color" />
48    <attr name="disabledIconAlpha" format="float" />
49
50    <!-- BubbleTextView specific attributes. -->
51    <declare-styleable name="BubbleTextView">
52        <attr name="layoutHorizontal" format="boolean" />
53        <attr name="iconSizeOverride" format="dimension" />
54        <attr name="iconDisplay" format="integer">
55            <enum name="workspace" value="0" />
56            <enum name="all_apps" value="1" />
57            <enum name="folder" value="2" />
58            <enum name="widget_section" value="3" />
59            <enum name="shortcut_popup" value="4" />
60        </attr>
61        <attr name="centerVertically" format="boolean" />
62    </declare-styleable>
63
64    <!-- BubbleTextView specific attributes. -->
65    <declare-styleable name="FolderIconPreview">
66        <attr name="folderFillColor" />
67        <attr name="folderIconBorderColor" />
68        <attr name="folderDotColor" />
69    </declare-styleable>
70
71    <declare-styleable name="ShadowInfo">
72        <attr name="ambientShadowColor" format="color" />
73        <attr name="ambientShadowBlur" format="dimension" />
74        <attr name="keyShadowColor" format="color" />
75        <attr name="keyShadowBlur" format="dimension" />
76        <attr name="keyShadowOffset" format="dimension" />
77    </declare-styleable>
78
79    <!-- PagedView specific attributes. These attributes are used to customize
80         a PagedView view in XML files. -->
81    <declare-styleable name="PagedView">
82        <!-- The page indicator for this workspace -->
83        <attr name="pageIndicator" format="reference" />
84    </declare-styleable>
85
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="string" />
98        <attr name="uri" format="string" />
99    </declare-styleable>
100
101    <declare-styleable name="Extra">
102        <attr name="key" format="string" />
103        <attr name="value" format="string" />
104    </declare-styleable>
105    <declare-styleable name="Include">
106        <attr name="workspace" format="reference" />
107        <attr name="folderItems" format="reference" />
108    </declare-styleable>
109
110    <declare-styleable name="InsettableFrameLayout_Layout">
111        <attr name="layout_ignoreInsets" format="boolean" />
112    </declare-styleable>
113
114    <declare-styleable name="GridDisplayOption">
115        <attr name="name" format="string" />
116
117        <attr name="numRows" format="integer" />
118        <attr name="numColumns" format="integer" />
119        <!-- numFolderRows & numFolderColumns defaults to numRows & numColumns, if not specified -->
120        <attr name="numFolderRows" format="integer" />
121        <attr name="numFolderColumns" format="integer" />
122        <!-- numHotseatIcons defaults to numColumns, if not specified -->
123        <attr name="numHotseatIcons" format="integer" />
124        <attr name="dbFile" format="string" />
125        <!-- numAllAppsColumns defaults to numColumns, if not specified -->
126        <attr name="numAllAppsColumns" format="integer" />
127        <attr name="defaultLayoutId" format="reference" />
128        <attr name="demoModeLayoutId" format="reference" />
129    </declare-styleable>
130
131    <declare-styleable name="ProfileDisplayOption">
132        <attr name="name" />
133        <attr name="minWidthDps" format="float" />
134        <attr name="minHeightDps" format="float" />
135
136        <attr name="iconImageSize" format="float" />
137        <!-- landscapeIconSize defaults to iconSize, if not specified -->
138        <attr name="landscapeIconSize" format="float" />
139        <attr name="iconTextSize" format="float" />
140        <!-- If true, this display option is used to determine the default grid -->
141        <attr name="canBeDefault" format="boolean" />
142
143        <!-- The following values are only enabled if grid is supported. -->
144        <!-- allAppsIconSize defaults to iconSize, if not specified -->
145        <attr name="allAppsIconSize" format="float" />
146        <!-- allAppsIconTextSize defaults to iconTextSize, if not specified -->
147        <attr name="allAppsIconTextSize" format="float" />
148    </declare-styleable>
149
150    <declare-styleable name="CellLayout">
151        <attr name="containerType" format="integer">
152            <enum name="workspace" value="0" />
153            <enum name="hotseat" value="1" />
154            <enum name="folder" value="2" />
155        </attr>
156    </declare-styleable>
157
158    <declare-styleable name="ShadowDrawable">
159        <attr name="android:src" />
160        <attr name="android:shadowColor" />
161        <attr name="android:elevation" />
162        <attr name="darkTintColor" format="color"/>
163    </declare-styleable>
164
165    <declare-styleable name="RecyclerViewFastScroller">
166        <attr name="canThumbDetach" format="boolean" />
167    </declare-styleable>
168
169    <declare-styleable name="PreviewFragment">
170        <attr name="android:name" />
171        <attr name="android:id" />
172    </declare-styleable>
173</resources>
174