blob: ee33dd09f4f72c7190726a8d522713c725207ff5 [file] [log] [blame]
Samuel Fufa6e5efb02020-11-02 11:31:59 -06001<?xml version="1.0" encoding="utf-8"?><!--
The Android Open Source Project31dd5032009-03-03 19:32:27 -08002/* Copyright 2008, The Android Open Source Project
3**
4** Licensed under the Apache License, Version 2.0 (the "License");
5** you may not use this file except in compliance with the License.
6** You may obtain a copy of the License at
7**
8** http://www.apache.org/licenses/LICENSE-2.0
9**
10** Unless required by applicable law or agreed to in writing, software
11** distributed under the License is distributed on an "AS IS" BASIS,
12** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13** See the License for the specific language governing permissions and
14** limitations under the License.
15*/
16-->
17
Sunny Goyalda1dfa32017-04-26 22:34:49 -070018<resources xmlns:android="http://schemas.android.com/apk/res/android">
The Android Open Source Project31dd5032009-03-03 19:32:27 -080019
Sunny Goyal368ae772017-05-24 13:19:15 -070020 <!-- Attributes used for launcher theme -->
21 <attr name="allAppsScrimColor" format="color" />
Samuel Fufa76b33402021-05-18 16:15:46 -050022 <attr name="allappsHeaderProtectionColor" format="color" />
Sunny Goyal81a70e52017-08-18 01:02:20 -070023 <attr name="allAppsNavBarScrimColor" format="color" />
Samuel Fufa61bc63a2020-06-05 12:17:16 -070024 <attr name="allAppsTheme" format="reference" />
Tony Wickham90038eb2017-06-06 15:42:32 -070025 <attr name="popupColorPrimary" format="color" />
26 <attr name="popupColorSecondary" format="color" />
27 <attr name="popupColorTertiary" format="color" />
Jon Miranda6a936e32021-06-24 10:58:56 -070028 <attr name="popupShadeFirst" format="color" />
29 <attr name="popupShadeSecond" format="color" />
30 <attr name="popupShadeThird" format="color" />
Mario Bertschlera6936942017-05-31 14:48:19 -070031 <attr name="isMainColorDark" format="boolean" />
32 <attr name="isWorkspaceDarkText" format="boolean" />
33 <attr name="workspaceTextColor" format="color" />
34 <attr name="workspaceShadowColor" format="color" />
Samuel Fufa6e5efb02020-11-02 11:31:59 -060035 <attr name="workspaceAmbientShadowColor" format="color" />
Mario Bertschlera6936942017-05-31 14:48:19 -070036 <attr name="workspaceKeyShadowColor" format="color" />
37 <attr name="workspaceStatusBarScrim" format="reference" />
Tony Wickham093c3ac2017-06-26 10:48:41 -070038 <attr name="widgetsTheme" format="reference" />
Samuel Fufa6e5efb02020-11-02 11:31:59 -060039 <attr name="iconOnlyShortcutColor" format="color" />
40 <attr name="eduHalfSheetBGColor" format="color" />
Zak Cohen4d35ac32021-04-23 16:28:12 -070041 <attr name="overviewScrimColor" format="color" />
Jon Miranda313b2c22021-06-17 12:35:43 -070042 <attr name="popupNotificationDotColor" format="color" />
fbaron1406a0f2023-05-11 08:46:46 -070043 <attr name="notificationDotColor" format="color" />
Sunny Goyal368ae772017-05-24 13:19:15 -070044
Sunny Goyal5cd1b192023-04-06 22:33:11 +000045 <attr name="folderPaginationColor" format="color" />
Jon Mirandab77878e2021-10-06 16:57:33 -070046 <attr name="folderPreviewColor" format="color" />
47 <attr name="folderBackgroundColor" format="color" />
Sunny Goyal9fc5ae72019-01-03 16:47:18 -080048 <attr name="folderIconRadius" format="float" />
Sunny Goyalbcadb7f2019-02-05 14:45:31 -080049 <attr name="folderIconBorderColor" format="color" />
Hyunyoung Songe751d902019-05-13 23:23:05 -070050 <attr name="folderTextColor" format="color" />
Samuel Fufa7315bdd2020-02-03 18:56:54 -080051 <attr name="folderHintColor" format="color" />
Jon Miranda7bbd0312021-05-11 17:01:13 -070052 <attr name="isFolderDarkText" format="boolean" />
Yogisha Dixitc0ac1dd2021-05-29 00:26:25 +010053 <attr name="workspaceAccentColor" format="color" />
54 <attr name="dropTargetHoverTextColor" format="color" />
Brian Isganitiscd7cc292022-05-24 15:36:06 -070055 <attr name="preloadIconAccentColor" format="color" />
56 <attr name="preloadIconBackgroundColor" format="color" />
fbaron328ca382023-04-13 20:17:15 -070057 <attr name="widgetPickerTitleColor" format="color"/>
58 <attr name="widgetPickerPrimarySurfaceColor" format="color"/>
59 <attr name="widgetPickerSecondarySurfaceColor" format="color"/>
Federico Barone8217b32023-02-13 17:03:18 -080060 <attr name="widgetPickerHeaderAppTitleColor" format="color"/>
61 <attr name="widgetPickerHeaderAppSubtitleColor" format="color"/>
fbaron328ca382023-04-13 20:17:15 -070062 <attr name="widgetPickerHeaderBackgroundColor" format="color"/>
63 <attr name="widgetPickerSuggestionsIconBackgroundColor" format="color"/>
64 <attr name="widgetPickerSuggestionsIconColor" format="color"/>
65 <attr name="widgetPickerTabBackgroundSelected" format="color"/>
66 <attr name="widgetPickerTabBackgroundUnselected" format="color"/>
67 <attr name="widgetPickerSearchTextColor" format="color"/>
68 <attr name="widgetPickerSelectedTabTextColor" format="color"/>
69 <attr name="widgetPickerUnselectedTabTextColor" format="color"/>
70 <attr name="widgetPickerCollapseHandleColor" format="color"/>
Sunny Goyal9fc5ae72019-01-03 16:47:18 -080071
Winson Chungb745afb2015-03-02 11:51:23 -080072 <!-- BubbleTextView specific attributes. -->
73 <declare-styleable name="BubbleTextView">
74 <attr name="layoutHorizontal" format="boolean" />
75 <attr name="iconSizeOverride" format="dimension" />
Sunny Goyaldfaccf62015-05-11 16:30:44 -070076 <attr name="iconDisplay" format="integer">
77 <enum name="workspace" value="0" />
78 <enum name="all_apps" value="1" />
Sunny Goyalbaec6ff2016-09-14 11:26:21 -070079 <enum name="folder" value="2" />
80 <enum name="widget_section" value="3" />
Jon Miranda93e1f042016-11-11 14:13:04 -080081 <enum name="shortcut_popup" value="4" />
Hyunyoung Songe3d32b52021-06-03 21:20:18 -070082 <enum name="taskbar" value="5" />
83 <enum name="search_result_tall" value="6" />
84 <enum name="search_result_small" value="7" />
Sunny Goyaldfaccf62015-05-11 16:30:44 -070085 </attr>
Winson1f064272016-07-18 17:18:02 -070086 <attr name="centerVertically" format="boolean" />
Sunny Goyal9314b7c2017-06-23 10:36:27 -070087 </declare-styleable>
88
Sunny Goyalbcadb7f2019-02-05 14:45:31 -080089 <!-- BubbleTextView specific attributes. -->
90 <declare-styleable name="FolderIconPreview">
Jon Mirandab77878e2021-10-06 16:57:33 -070091 <attr name="folderPreviewColor" />
Sunny Goyalbcadb7f2019-02-05 14:45:31 -080092 <attr name="folderIconBorderColor" />
Sunny Goyalbcadb7f2019-02-05 14:45:31 -080093 </declare-styleable>
94
Samuel Fufa6e5efb02020-11-02 11:31:59 -060095 <declare-styleable name="SearchResultSuggestion">
Samuel Fufa4b7f38b2020-10-06 18:37:46 -070096 <attr name="customIcon" format="reference" />
97 <attr name="matchTextInsetWithQuery" format="boolean" />
98 </declare-styleable>
99
100
Sunny Goyal9314b7c2017-06-23 10:36:27 -0700101 <declare-styleable name="ShadowInfo">
Mario Bertschlera6936942017-05-31 14:48:19 -0700102 <attr name="ambientShadowColor" format="color" />
Sunny Goyal9314b7c2017-06-23 10:36:27 -0700103 <attr name="ambientShadowBlur" format="dimension" />
Mario Bertschlera6936942017-05-31 14:48:19 -0700104 <attr name="keyShadowColor" format="color" />
Sunny Goyal9314b7c2017-06-23 10:36:27 -0700105 <attr name="keyShadowBlur" format="dimension" />
Shan Huang5620c752021-04-16 21:33:39 +0800106 <attr name="keyShadowOffsetX" format="dimension" />
107 <attr name="keyShadowOffsetY" format="dimension" />
Winson Chungb745afb2015-03-02 11:51:23 -0800108 </declare-styleable>
109
Winson Chung321e9ee2010-08-09 13:37:56 -0700110 <!-- PagedView specific attributes. These attributes are used to customize
111 a PagedView view in XML files. -->
112 <declare-styleable name="PagedView">
Winson Chungd2be3812013-07-16 11:11:32 -0700113 <!-- The page indicator for this workspace -->
114 <attr name="pageIndicator" format="reference" />
Winson Chung321e9ee2010-08-09 13:37:56 -0700115 </declare-styleable>
116
The Android Open Source Projectf96811c2009-03-18 17:39:48 -0700117 <!-- XML attributes used by default_workspace.xml -->
118 <declare-styleable name="Favorite">
119 <attr name="className" format="string" />
120 <attr name="packageName" format="string" />
Winson Chung3d503fb2011-07-13 17:25:49 -0700121 <attr name="container" format="string" />
The Android Open Source Projectf96811c2009-03-18 17:39:48 -0700122 <attr name="screen" format="string" />
123 <attr name="x" format="string" />
124 <attr name="y" format="string" />
Mike Cleronb87bd162009-10-30 16:36:56 -0700125 <attr name="spanX" format="string" />
126 <attr name="spanY" format="string" />
Sunny Goyaleba87b12016-02-26 09:44:27 -0800127 <attr name="icon" format="reference" />
128 <attr name="title" format="string" />
Mike Cleronb87bd162009-10-30 16:36:56 -0700129 <attr name="uri" format="string" />
The Android Open Source Projectf96811c2009-03-18 17:39:48 -0700130 </declare-styleable>
Adam Cohencee8c662014-10-16 09:49:52 -0700131
Winson Chungb3302ae2012-05-01 10:19:14 -0700132 <declare-styleable name="Extra">
133 <attr name="key" format="string" />
134 <attr name="value" format="string" />
135 </declare-styleable>
Daniel Sandler57dac262013-10-03 13:28:36 -0400136 <declare-styleable name="Include">
137 <attr name="workspace" format="reference" />
Adam Cohencee8c662014-10-16 09:49:52 -0700138 <attr name="folderItems" format="reference" />
Daniel Sandler57dac262013-10-03 13:28:36 -0400139 </declare-styleable>
Winson Chung2816ca52012-05-23 15:14:34 -0700140
Adam Cohenbe258222014-10-24 16:45:59 -0700141 <declare-styleable name="InsettableFrameLayout_Layout">
142 <attr name="layout_ignoreInsets" format="boolean" />
143 </declare-styleable>
Sunny Goyalf37a2142016-03-24 17:28:25 -0700144
Sunny Goyal9b458a02022-06-27 15:48:41 -0700145 <declare-styleable name="StickyScroller_Layout">
146 <attr name="layout_sticky" format="boolean" />
147 </declare-styleable>
148
Sunny Goyal415f1732018-11-29 10:33:47 -0800149 <declare-styleable name="GridDisplayOption">
Sunny Goyal819e1932016-07-07 16:43:58 -0700150 <attr name="name" format="string" />
Sunny Goyal819e1932016-07-07 16:43:58 -0700151
152 <attr name="numRows" format="integer" />
153 <attr name="numColumns" format="integer" />
Alex Chau9fee3fd2021-12-01 18:43:10 +0000154 <!-- numSearchContainerColumns defaults to numColumns, if not specified -->
155 <attr name="numSearchContainerColumns" format="integer" />
Thales Limab35faed2022-09-05 16:30:01 -0300156
Thales Limad852d652023-01-17 14:01:13 +0000157 <!-- Support attributes in CellStyle. defaults to CellStyleDefault -->
158 <attr name="cellStyle" format="reference" />
159
Sunny Goyal819e1932016-07-07 16:43:58 -0700160 <!-- numFolderRows & numFolderColumns defaults to numRows & numColumns, if not specified -->
161 <attr name="numFolderRows" format="integer" />
162 <attr name="numFolderColumns" format="integer" />
Thales Limad852d652023-01-17 14:01:13 +0000163 <!-- Support attributes in FolderStyle -->
Thales Limab35faed2022-09-05 16:30:01 -0300164 <attr name="folderStyle" format="reference" />
165
Thales Limae9273ea2023-01-26 12:33:52 +0000166 <!-- Support attributes in AllAppsStyle. Defaults to AllAppsStyleDefault -->
167 <attr name="allAppsStyle" format="reference" />
168
Sunny Goyal19ff7282021-04-22 10:12:54 -0700169 <!-- numAllAppsColumns defaults to numColumns, if not specified -->
170 <attr name="numAllAppsColumns" format="integer" />
171 <!-- Number of columns to use when extending the all-apps size,
172 defaults to 2 * numAllAppsColumns -->
173 <attr name="numExtendedAllAppsColumns" format="integer" />
174
Sunny Goyal819e1932016-07-07 16:43:58 -0700175 <!-- numHotseatIcons defaults to numColumns, if not specified -->
176 <attr name="numHotseatIcons" format="integer" />
Sunny Goyal19ff7282021-04-22 10:12:54 -0700177 <!-- Number of icons to use when extending the hotseat size,
178 defaults to 2 * numHotseatIcons -->
179 <attr name="numExtendedHotseatIcons" format="integer" />
180
Thales Lima425f6822022-05-10 13:44:58 -0300181 <!-- alignment of hotseat to the grid.
182 Not applicable for 3 button mode when taskbar is enabled -->
183 <!-- defaults to numColumns, if not specified -->
184 <attr name="hotseatColumnSpan" format="integer" />
185 <!-- defaults to numColumns, if not specified -->
186 <attr name="hotseatColumnSpanLandscape" format="integer" />
187 <!-- defaults to numColumns, if not specified -->
188 <attr name="hotseatColumnSpanTwoPanelLandscape" format="integer" />
189 <!-- defaults to numColumns, if not specified -->
190 <attr name="hotseatColumnSpanTwoPanelPortrait" format="integer" />
191
Vinit Nayakc7293172022-07-18 16:41:50 -0700192 <!-- Spacing to have at the end of the nav buttons in large screen 3 button nav,
193 defaults to @dimen/taskbar_button_margin_default -->
194 <attr name="inlineNavButtonsEndSpacing" format="reference" />
195
Tracy Zhou7df93d22020-01-27 13:44:06 -0800196 <attr name="dbFile" format="string" />
Sunny Goyal415f1732018-11-29 10:33:47 -0800197 <attr name="defaultLayoutId" format="reference" />
198 <attr name="demoModeLayoutId" format="reference" />
Jon Mirandae126d722021-02-25 10:45:20 -0500199 <attr name="isScalable" format="boolean" />
Jon Mirandac9e69fa2021-03-22 17:13:34 -0400200 <attr name="devicePaddingId" format="reference" />
Alex Chau1c883d82021-12-01 18:43:10 +0000201 <!-- By default all categories are enabled -->
Thales Lima11af7bc2022-08-12 15:24:54 +0100202 <attr name="deviceCategory" format="integer">
Alex Chau1c883d82021-12-01 18:43:10 +0000203 <!-- Enable on phone only -->
204 <flag name="phone" value="1" />
205 <!-- Enable on tablets only -->
206 <flag name="tablet" value="2" />
207 <!-- Enable on multi display devices only -->
208 <flag name="multi_display" value="4" />
209 </attr>
Jon Mirandae126d722021-02-25 10:45:20 -0500210
Thales Lima11af7bc2022-08-12 15:24:54 +0100211 <!-- By default all are false -->
212 <attr name="inlineQsb" format="integer">
213 <!-- Enable on landscape only -->
214 <flag name="portrait" value="1" />
215 <!-- Enable on portrait only -->
216 <flag name="landscape" value="2" />
217 <!-- Enable on two panel portrait only -->
218 <flag name="twoPanelPortrait" value="4" />
219 <!-- Enable on two panel landscape only -->
220 <flag name="twoPanelLandscape" value="8" />
221 </attr>
222
Sunny Goyal415f1732018-11-29 10:33:47 -0800223 </declare-styleable>
224
Jon Miranda228877d2021-02-09 11:05:00 -0500225 <declare-styleable name="DevicePadding">
226 <attr name="maxEmptySpace" format="dimension" />
227 </declare-styleable>
228
229 <declare-styleable name="DevicePaddingFormula">
230 <attr name="a" format="float|dimension" />
231 <attr name="b" format="float|dimension" />
232 <attr name="c" format="float|dimension" />
233 </declare-styleable>
234
Sihua Ma60813a82022-12-07 15:04:04 -0800235 <declare-styleable name="PersonalWorkSlidingTabStrip">
236 <attr name="alignOnIcon" format="boolean" />
237 </declare-styleable>
238
Thales Lima1a2d4bd2022-11-28 13:08:32 +0000239 <!-- Responsive grids attributes -->
240 <declare-styleable name="WorkspaceSpec">
241 <attr name="specType" format="integer">
242 <enum name="height" value="0" />
243 <enum name="width" value="1" />
244 </attr>
245 <attr name="maxAvailableSize" format="dimension" />
246 </declare-styleable>
247
248 <declare-styleable name="SpecSize">
249 <attr name="fixedSize" format="dimension" />
250 <attr name="ofAvailableSpace" format="float" />
251 <attr name="ofRemainderSpace" format="float" />
252 </declare-styleable>
253
Sunny Goyal415f1732018-11-29 10:33:47 -0800254 <declare-styleable name="ProfileDisplayOption">
255 <attr name="name" />
256 <attr name="minWidthDps" format="float" />
257 <attr name="minHeightDps" format="float" />
258
Thales Limad90faab2021-09-21 17:18:47 +0100259 <!-- These min cell values are only used if GridDisplayOption#isScalable is true -->
Thales Lima85c942f2021-12-31 13:04:20 +0000260 <attr name="minCellHeight" format="float" />
261 <attr name="minCellWidth" format="float" />
262 <!-- defaults to minCellHeight, if not specified -->
Thales Limadd027342022-01-07 12:54:37 +0000263 <attr name="minCellHeightLandscape" format="float" />
264 <!-- defaults to minCellWidth, if not specified -->
265 <attr name="minCellWidthLandscape" format="float" />
266 <!-- defaults to minCellHeight, if not specified -->
Thales Lima85c942f2021-12-31 13:04:20 +0000267 <attr name="minCellHeightTwoPanelPortrait" format="float" />
268 <!-- defaults to minCellWidth, if not specified -->
269 <attr name="minCellWidthTwoPanelPortrait" format="float" />
270 <!-- defaults to minCellHeight, if not specified -->
271 <attr name="minCellHeightTwoPanelLandscape" format="float" />
272 <!-- defaults to minCellWidth, if not specified -->
273 <attr name="minCellWidthTwoPanelLandscape" format="float" />
Jon Mirandae126d722021-02-25 10:45:20 -0500274
Thales Lima78d00ad2021-09-30 11:29:06 +0100275 <!-- These border spaces are only used if GridDisplayOption#isScalable is true -->
276 <!-- space to be used horizontally and vertically -->
Thales Lima85c942f2021-12-31 13:04:20 +0000277 <attr name="borderSpace" format="float" />
278 <!-- space to the right of the cell, defaults to borderSpace if not specified -->
279 <attr name="borderSpaceHorizontal" format="float" />
280 <!-- space below the cell, defaults to borderSpace if not specified -->
281 <attr name="borderSpaceVertical" format="float" />
Thales Lima44cc3a22022-03-18 14:28:24 +0000282 <!-- space to be used horizontally and vertically,
283 defaults to borderSpace if not specified -->
284 <attr name="borderSpaceLandscape" format="float" />
285 <!-- space to the right of the cell, defaults to borderSpaceLandscape if not specified -->
286 <attr name="borderSpaceLandscapeHorizontal" format="float" />
287 <!-- space below the cell, defaults to borderSpaceLandscape if not specified -->
288 <attr name="borderSpaceLandscapeVertical" format="float" />
Thales Lima78d00ad2021-09-30 11:29:06 +0100289 <!-- space to be used horizontally and vertically in two panels,
Thales Lima85c942f2021-12-31 13:04:20 +0000290 defaults to borderSpace if not specified -->
291 <attr name="borderSpaceTwoPanelPortrait" format="float" />
Thales Lima78d00ad2021-09-30 11:29:06 +0100292 <!-- space to the right of the cell in two panels, defaults to
Thales Lima85c942f2021-12-31 13:04:20 +0000293 borderSpaceTwoPanelPortrait if not specified -->
294 <attr name="borderSpaceTwoPanelPortraitHorizontal" format="float" />
295 <!-- space below the cell in two panels, defaults to borderSpaceTwoPanelPortrait
Thales Lima78d00ad2021-09-30 11:29:06 +0100296 if not specified -->
Thales Lima85c942f2021-12-31 13:04:20 +0000297 <attr name="borderSpaceTwoPanelPortraitVertical" format="float" />
Thales Lima78d00ad2021-09-30 11:29:06 +0100298 <!-- space to be used horizontally and vertically in two panels,
Thales Lima85c942f2021-12-31 13:04:20 +0000299 defaults to borderSpace if not specified -->
300 <attr name="borderSpaceTwoPanelLandscape" format="float" />
Thales Lima78d00ad2021-09-30 11:29:06 +0100301 <!-- space to the right of the cell in two panels, defaults to
Thales Lima85c942f2021-12-31 13:04:20 +0000302 borderSpaceTwoPanelLandscape if not specified -->
303 <attr name="borderSpaceTwoPanelLandscapeHorizontal" format="float" />
304 <!-- space below the cell in two panels, defaults to borderSpaceTwoPanelLandscape
Thales Lima78d00ad2021-09-30 11:29:06 +0100305 if not specified -->
Thales Lima85c942f2021-12-31 13:04:20 +0000306 <attr name="borderSpaceTwoPanelLandscapeVertical" format="float" />
Thales Lima78d00ad2021-09-30 11:29:06 +0100307
Brandon Dayauon7a8a9ed2022-06-06 14:32:22 -0700308 <!-- defaults to minCellHeight if not specified when GridDisplayOption#isScalable is true.
309 Must be defined when GridDisplayOption#isScalable is false. -->
Thales Limab7ef5692022-03-10 10:32:36 +0000310 <attr name="allAppsCellHeight" format="float" />
Brandon Dayauon7a8a9ed2022-06-06 14:32:22 -0700311 <!-- These min cell values are only used if GridDisplayOption#isScalable is true -->
Thales Limab7ef5692022-03-10 10:32:36 +0000312 <!-- defaults to minCellWidth, if not specified -->
313 <attr name="allAppsCellWidth" format="float" />
314 <!-- defaults to allAppsCellHeight, if not specified -->
315 <attr name="allAppsCellHeightLandscape" format="float" />
316 <!-- defaults to allAppsCellWidth, if not specified -->
317 <attr name="allAppsCellWidthLandscape" format="float" />
318 <!-- defaults to allAppsCellHeight, if not specified -->
319 <attr name="allAppsCellHeightTwoPanelPortrait" format="float" />
320 <!-- defaults to allAppsCellWidth, if not specified -->
321 <attr name="allAppsCellWidthTwoPanelPortrait" format="float" />
322 <!-- defaults to allAppsCellHeight, if not specified -->
323 <attr name="allAppsCellHeightTwoPanelLandscape" format="float" />
324 <!-- defaults to allAppsCellWidth, if not specified -->
325 <attr name="allAppsCellWidthTwoPanelLandscape" format="float" />
Thales Lima83bedbf2021-10-05 17:47:39 +0100326 <!-- The following values are only enabled if grid is supported. -->
Thales Lima85c942f2021-12-31 13:04:20 +0000327 <!-- defaults to iconImageSize, if not specified -->
Thales Lima83bedbf2021-10-05 17:47:39 +0100328 <attr name="allAppsIconSize" format="float" />
Thales Limabb7d3882021-12-22 12:56:29 +0000329 <!-- defaults to allAppsIconSize, if not specified -->
Thales Lima1fb075d2022-08-10 10:47:50 +0100330 <attr name="allAppsIconSizeLandscape" format="float" />
331 <!-- defaults to allAppsIconSize, if not specified -->
Thales Limabb7d3882021-12-22 12:56:29 +0000332 <attr name="allAppsIconSizeTwoPanelPortrait" format="float" />
333 <!-- defaults to allAppsIconSize, if not specified -->
334 <attr name="allAppsIconSizeTwoPanelLandscape" format="float" />
Thales Lima85c942f2021-12-31 13:04:20 +0000335 <!-- defaults to iconTextSize, if not specified -->
Thales Lima83bedbf2021-10-05 17:47:39 +0100336 <attr name="allAppsIconTextSize" format="float" />
Thales Limabb7d3882021-12-22 12:56:29 +0000337 <!-- defaults to allAppsIconTextSize, if not specified -->
338 <attr name="allAppsIconTextSizeTwoPanelPortrait" format="float" />
339 <!-- defaults to allAppsIconTextSize, if not specified -->
340 <attr name="allAppsIconTextSizeTwoPanelLandscape" format="float" />
sfufa@google.comde013292021-09-21 18:22:44 -0700341
Thales Lima080d8902022-03-28 15:30:29 +0100342 <!-- defaults to borderSpace, if not specified -->
343 <!-- space to be used horizontally and vertically -->
344 <attr name="allAppsBorderSpace" format="float" />
345 <!-- space to the right of the cell, defaults to allAppsBorderSpace if not specified -->
346 <attr name="allAppsBorderSpaceHorizontal" format="float" />
347 <!-- space below the cell, defaults to allAppsBorderSpace if not specified -->
348 <attr name="allAppsBorderSpaceVertical" format="float" />
349 <!-- space to be used horizontally and vertically,
350 defaults to allAppsBorderSpace if not specified -->
351 <attr name="allAppsBorderSpaceLandscape" format="float" />
352 <!-- space to the right of the cell, defaults to allAppsBorderSpaceLandscape
353 if not specified -->
354 <attr name="allAppsBorderSpaceLandscapeHorizontal" format="float" />
355 <!-- space below the cell, defaults to allAppsBorderSpaceLandscape if not specified -->
356 <attr name="allAppsBorderSpaceLandscapeVertical" format="float" />
357 <!-- space to be used horizontally and vertically in two panels,
358 defaults to allAppsBorderSpace if not specified -->
359 <attr name="allAppsBorderSpaceTwoPanelPortrait" format="float" />
360 <!-- space to the right of the cell in two panels, defaults to
361 allAppsBorderSpaceTwoPanelPortrait if not specified -->
362 <attr name="allAppsBorderSpaceTwoPanelPortraitHorizontal" format="float" />
363 <!-- space below the cell in two panels, defaults to allAppsBorderSpaceTwoPanelPortrait
364 if not specified -->
365 <attr name="allAppsBorderSpaceTwoPanelPortraitVertical" format="float" />
366 <!-- space to be used horizontally and vertically in two panels,
367 defaults to allAppsBorderSpace if not specified -->
368 <attr name="allAppsBorderSpaceTwoPanelLandscape" format="float" />
369 <!-- space to the right of the cell in two panels, defaults to
370 allAppsBorderSpaceTwoPanelLandscape if not specified -->
371 <attr name="allAppsBorderSpaceTwoPanelLandscapeHorizontal" format="float" />
372 <!-- space below the cell in two panels, defaults to allAppsBorderSpaceTwoPanelLandscape
373 if not specified -->
374 <attr name="allAppsBorderSpaceTwoPanelLandscapeVertical" format="float" />
375
Thales Limab8c05952022-05-23 16:58:38 +0100376 <!-- defaults to res.hotseat_bar_bottom_space_default, if not specified -->
377 <attr name="hotseatBarBottomSpace" format="float" />
378 <!-- defaults to hotseatBarBottomSpace, if not specified -->
379 <attr name="hotseatBarBottomSpaceLandscape" format="float" />
380 <!-- defaults to hotseatBarBottomSpace, if not specified -->
381 <attr name="hotseatBarBottomSpaceTwoPanelLandscape" format="float" />
382 <!-- defaults to hotseatBarBottomSpace, if not specified -->
383 <attr name="hotseatBarBottomSpaceTwoPanelPortrait" format="float" />
384
385 <!-- defaults to res.hotseat_qsb_space_default, if not specified -->
386 <attr name="hotseatQsbSpace" format="float" />
387 <!-- defaults to hotseatQsbSpace, if not specified -->
388 <attr name="hotseatQsbSpaceLandscape" format="float" />
389 <!-- defaults to hotseatQsbSpace, if not specified -->
390 <attr name="hotseatQsbSpaceTwoPanelLandscape" format="float" />
391 <!-- defaults to hotseatQsbSpace, if not specified -->
392 <attr name="hotseatQsbSpaceTwoPanelPortrait" format="float" />
393
Jon Miranda9c478b62023-03-23 21:38:49 -0700394 <!-- defaults to res.taskbar_icon_size, if not specified -->
395 <attr name="transientTaskbarIconSize" format="float" />
396 <!-- defaults to transientTaskbarIconSize, if not specified -->
397 <attr name="transientTaskbarIconSizeLandscape" format="float" />
398 <!-- defaults to transientTaskbarIconSize, if not specified -->
399 <attr name="transientTaskbarIconSizeTwoPanelLandscape" format="float" />
400 <!-- defaults to transientTaskbarIconSize, if not specified -->
401 <attr name="transientTaskbarIconSizeTwoPanelPortrait" format="float" />
402
Ryan Mitchell01b8b682019-03-28 17:01:07 -0700403 <attr name="iconImageSize" format="float" />
Thales Lima85c942f2021-12-31 13:04:20 +0000404 <!-- defaults to iconImageSize, if not specified -->
405 <attr name="iconSizeLandscape" format="float" />
406 <!-- defaults to iconSize, if not specified -->
407 <attr name="iconSizeTwoPanelPortrait" format="float" />
408 <!-- defaults to iconSize, if not specified -->
409 <attr name="iconSizeTwoPanelLandscape" format="float" />
Andras Kloczl30fe9152021-08-05 18:02:29 +0200410
Sunny Goyal819e1932016-07-07 16:43:58 -0700411 <attr name="iconTextSize" format="float" />
Thales Lima85c942f2021-12-31 13:04:20 +0000412 <!-- defaults to iconTextSize, if not specified -->
413 <attr name="iconTextSizeLandscape" format="float" />
414 <!-- defaults to iconTextSize, if not specified -->
415 <attr name="iconTextSizeTwoPanelPortrait" format="float" />
416 <!-- defaults to iconTextSize, if not specified -->
417 <attr name="iconTextSizeTwoPanelLandscape" format="float" />
Sunny Goyal19ff7282021-04-22 10:12:54 -0700418
Jon Miranda04f05102023-04-04 12:16:31 -0700419 <!-- If true, used to layout taskbar in 3 button navigation mode. -->
420 <!-- defaults to false if not specified -->
421 <attr name="startAlignTaskbar" format="boolean" />
422 <!-- defaults to startAlignTaskbar, if not specified -->
423 <attr name="startAlignTaskbarLandscape" format="boolean" />
424 <!-- defaults to startAlignTaskbarLandscape, if not specified -->
425 <attr name="startAlignTaskbarTwoPanelLandscape" format="boolean" />
426 <!-- defaults to startAlignTaskbar, if not specified -->
427 <attr name="startAlignTaskbarTwoPanelPortrait" format="boolean" />
428
Sunny Goyal19ff7282021-04-22 10:12:54 -0700429 <!-- If set, this display option is used to determine the default grid -->
Thales Lima1de4d552021-10-13 16:13:25 +0100430 <attr name="canBeDefault" format="boolean" />
Sunny Goyalae190ff2020-04-14 00:19:01 +0000431
Thales Limad90faab2021-09-21 17:18:47 +0100432 <!-- Margin on left and right of the workspace when GridDisplayOption#isScalable is true -->
433 <attr name="horizontalMargin" format="float"/>
Thales Lima85c942f2021-12-31 13:04:20 +0000434 <!-- defaults to horizontalMargin if not specified -->
Thales Limadd027342022-01-07 12:54:37 +0000435 <attr name="horizontalMarginLandscape" format="float"/>
436 <!-- defaults to horizontalMargin if not specified -->
Thales Lima85c942f2021-12-31 13:04:20 +0000437 <attr name="horizontalMarginTwoPanelLandscape" format="float"/>
438 <!-- defaults to horizontalMargin if not specified -->
439 <attr name="horizontalMarginTwoPanelPortrait" format="float"/>
Thales Lima12d0eff2022-03-25 17:06:11 +0000440
Sunny Goyal819e1932016-07-07 16:43:58 -0700441 </declare-styleable>
442
Thales Limad852d652023-01-17 14:01:13 +0000443 <declare-styleable name="FolderStyle">
Thales Limab35faed2022-09-05 16:30:01 -0300444 <!-- defaults to minCellHeight if not specified
445 when GridDisplayOption#isScalable is true. -->
446 <attr name="folderCellHeight" format="dimension" />
447 <!-- defaults to minCellWidth, if not specified -->
448 <attr name="folderCellWidth" format="dimension" />
449 <!-- space to be used horizontally and vertically between icons,
450 and to the left and right of folder -->
451 <attr name="folderBorderSpace" format="dimension" />
452 <!-- height of the footer of the folder -->
453 <attr name="folderFooterHeight" format="dimension" />
454 <!-- padding on top of the folder -->
455 <attr name="folderTopPadding" format="dimension" />
456 </declare-styleable>
457
Sunny Goyalc13403c2016-11-18 23:44:48 -0800458 <declare-styleable name="CellLayout">
459 <attr name="containerType" format="integer">
460 <enum name="workspace" value="0" />
461 <enum name="hotseat" value="1" />
462 <enum name="folder" value="2" />
463 </attr>
464 </declare-styleable>
465
Thales Limad852d652023-01-17 14:01:13 +0000466 <declare-styleable name="CellStyle">
467 <attr name="iconDrawablePadding" format="dimension" />
468 </declare-styleable>
469
Thales Limae9273ea2023-01-26 12:33:52 +0000470 <declare-styleable name="AllAppsStyle">
471 <attr name="horizontalPadding" format="dimension" />
472 </declare-styleable>
473
Sunny Goyalda1dfa32017-04-26 22:34:49 -0700474 <declare-styleable name="ShadowDrawable">
475 <attr name="android:src" />
476 <attr name="android:shadowColor" />
Sunny Goyal8b6ac002017-05-16 16:16:25 -0700477 <attr name="android:elevation" />
Samuel Fufa6e5efb02020-11-02 11:31:59 -0600478 <attr name="darkTintColor" format="color" />
Sunny Goyalda1dfa32017-04-26 22:34:49 -0700479 </declare-styleable>
Sunny Goyal89d5c5a2017-06-23 16:12:50 -0700480
481 <declare-styleable name="RecyclerViewFastScroller">
482 <attr name="canThumbDetach" format="boolean" />
483 </declare-styleable>
Sunny Goyal952e63d2017-08-16 04:59:08 -0700484
Sunny Goyalb694a692020-10-13 13:37:28 -0700485 <declare-styleable name="LoggablePref">
486 <attr name="android:key" />
487 <attr name="android:defaultValue" />
488 <!-- Ground truth of this Pref integer can be found in StatsLogManager -->
489 <attr name="logIdOn" format="integer" />
490 <attr name="logIdOff" format="integer" />
491 </declare-styleable>
492
Sunny Goyalef92b822018-11-21 14:12:00 -0800493 <declare-styleable name="PreviewFragment">
494 <attr name="android:name" />
495 <attr name="android:id" />
496 </declare-styleable>
Steven Nge92bc552021-02-10 17:10:15 +0000497
498 <declare-styleable name="WidgetsListRowHeader">
499 <attr name="appIconSize" format="dimension" />
500 </declare-styleable>
Steven Ng43859f12021-09-24 12:39:55 +0100501
502 <declare-styleable name="WidgetSections">
503 <!-- Component name of an app widget provider. -->
504 <attr name="provider" format="string" />
505 <!-- If true, keep the app widget under its app listing in addition to the widget category
506 in the widget picker. Defaults to false if not specified. -->
507 <attr name="alsoKeepInApp" format="boolean" />
508 <!-- The category of an app widget provider. Defaults to -1 if not specified. -->
509 <attr name="category" format="integer" />
510 <!-- The title name of a widget category. -->
511 <attr name="sectionTitle" format="reference" />
512 <!-- The icon drawable of a widget category. -->
513 <attr name="sectionDrawable" format="reference" />
514 </declare-styleable>
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800515</resources>