blob: 915cdb4ec1a96f82cc16b42862b9071bc67ad7a8 [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" />
Michael Bestasd3a22c02022-01-19 23:24:39 +020024 <attr name="allAppsSearchTextColor" format="color"/>
Samuel Fufa61bc63a2020-06-05 12:17:16 -070025 <attr name="allAppsTheme" format="reference" />
Tony Wickham90038eb2017-06-06 15:42:32 -070026 <attr name="popupColorPrimary" format="color" />
27 <attr name="popupColorSecondary" format="color" />
28 <attr name="popupColorTertiary" format="color" />
fbaron1a76d5c2023-05-10 16:29:17 -070029 <attr name="popupColorBackground" format="color" />
30 <attr name="popupTextColor" format="color" />
Jon Miranda6a936e32021-06-24 10:58:56 -070031 <attr name="popupShadeFirst" format="color" />
32 <attr name="popupShadeSecond" format="color" />
33 <attr name="popupShadeThird" format="color" />
Mario Bertschlera6936942017-05-31 14:48:19 -070034 <attr name="isMainColorDark" format="boolean" />
35 <attr name="isWorkspaceDarkText" format="boolean" />
36 <attr name="workspaceTextColor" format="color" />
37 <attr name="workspaceShadowColor" format="color" />
Samuel Fufa6e5efb02020-11-02 11:31:59 -060038 <attr name="workspaceAmbientShadowColor" format="color" />
Mario Bertschlera6936942017-05-31 14:48:19 -070039 <attr name="workspaceKeyShadowColor" format="color" />
Tony Wickham093c3ac2017-06-26 10:48:41 -070040 <attr name="widgetsTheme" format="reference" />
Samuel Fufa6e5efb02020-11-02 11:31:59 -060041 <attr name="iconOnlyShortcutColor" format="color" />
42 <attr name="eduHalfSheetBGColor" format="color" />
Zak Cohen4d35ac32021-04-23 16:28:12 -070043 <attr name="overviewScrimColor" format="color" />
Jon Miranda313b2c22021-06-17 12:35:43 -070044 <attr name="popupNotificationDotColor" format="color" />
fbaron1406a0f2023-05-11 08:46:46 -070045 <attr name="notificationDotColor" format="color" />
Sunny Goyal368ae772017-05-24 13:19:15 -070046
Sunny Goyal5cd1b192023-04-06 22:33:11 +000047 <attr name="folderPaginationColor" format="color" />
Jon Mirandab77878e2021-10-06 16:57:33 -070048 <attr name="folderPreviewColor" format="color" />
49 <attr name="folderBackgroundColor" format="color" />
Sunny Goyal9fc5ae72019-01-03 16:47:18 -080050 <attr name="folderIconRadius" format="float" />
Sunny Goyalbcadb7f2019-02-05 14:45:31 -080051 <attr name="folderIconBorderColor" format="color" />
Hyunyoung Songe751d902019-05-13 23:23:05 -070052 <attr name="folderTextColor" format="color" />
fbaron8463f6a2023-05-12 13:41:07 -070053 <attr name="folderHintTextColor" format="color" />
Jon Miranda7bbd0312021-05-11 17:01:13 -070054 <attr name="isFolderDarkText" format="boolean" />
Yogisha Dixitc0ac1dd2021-05-29 00:26:25 +010055 <attr name="workspaceAccentColor" format="color" />
fbarone8efdc42023-05-16 16:57:19 -070056 <attr name="workspaceSurfaceColor" format="color" />
Yogisha Dixitc0ac1dd2021-05-29 00:26:25 +010057 <attr name="dropTargetHoverTextColor" format="color" />
fbarone8efdc42023-05-16 16:57:19 -070058 <attr name="dropTargetHoverButtonColor" format="color" />
Brian Isganitiscd7cc292022-05-24 15:36:06 -070059 <attr name="preloadIconAccentColor" format="color" />
60 <attr name="preloadIconBackgroundColor" format="color" />
fbaron328ca382023-04-13 20:17:15 -070061 <attr name="widgetPickerTitleColor" format="color"/>
62 <attr name="widgetPickerPrimarySurfaceColor" format="color"/>
63 <attr name="widgetPickerSecondarySurfaceColor" format="color"/>
Federico Barone8217b32023-02-13 17:03:18 -080064 <attr name="widgetPickerHeaderAppTitleColor" format="color"/>
65 <attr name="widgetPickerHeaderAppSubtitleColor" format="color"/>
fbaron328ca382023-04-13 20:17:15 -070066 <attr name="widgetPickerHeaderBackgroundColor" format="color"/>
67 <attr name="widgetPickerSuggestionsIconBackgroundColor" format="color"/>
68 <attr name="widgetPickerSuggestionsIconColor" format="color"/>
69 <attr name="widgetPickerTabBackgroundSelected" format="color"/>
70 <attr name="widgetPickerTabBackgroundUnselected" format="color"/>
71 <attr name="widgetPickerSearchTextColor" format="color"/>
72 <attr name="widgetPickerSelectedTabTextColor" format="color"/>
73 <attr name="widgetPickerUnselectedTabTextColor" format="color"/>
74 <attr name="widgetPickerCollapseHandleColor" format="color"/>
Sunny Goyal9fc5ae72019-01-03 16:47:18 -080075
Winson Chungb745afb2015-03-02 11:51:23 -080076 <!-- BubbleTextView specific attributes. -->
77 <declare-styleable name="BubbleTextView">
78 <attr name="layoutHorizontal" format="boolean" />
79 <attr name="iconSizeOverride" format="dimension" />
Sunny Goyaldfaccf62015-05-11 16:30:44 -070080 <attr name="iconDisplay" format="integer">
81 <enum name="workspace" value="0" />
82 <enum name="all_apps" value="1" />
Sunny Goyalbaec6ff2016-09-14 11:26:21 -070083 <enum name="folder" value="2" />
84 <enum name="widget_section" value="3" />
Jon Miranda93e1f042016-11-11 14:13:04 -080085 <enum name="shortcut_popup" value="4" />
Hyunyoung Songe3d32b52021-06-03 21:20:18 -070086 <enum name="taskbar" value="5" />
87 <enum name="search_result_tall" value="6" />
88 <enum name="search_result_small" value="7" />
Sunny Goyaldfaccf62015-05-11 16:30:44 -070089 </attr>
Winson1f064272016-07-18 17:18:02 -070090 <attr name="centerVertically" format="boolean" />
Sunny Goyal9314b7c2017-06-23 10:36:27 -070091 </declare-styleable>
92
Sunny Goyalbcadb7f2019-02-05 14:45:31 -080093 <!-- BubbleTextView specific attributes. -->
94 <declare-styleable name="FolderIconPreview">
Jon Mirandab77878e2021-10-06 16:57:33 -070095 <attr name="folderPreviewColor" />
Sunny Goyalbcadb7f2019-02-05 14:45:31 -080096 <attr name="folderIconBorderColor" />
Sunny Goyalbcadb7f2019-02-05 14:45:31 -080097 </declare-styleable>
98
Samuel Fufa6e5efb02020-11-02 11:31:59 -060099 <declare-styleable name="SearchResultSuggestion">
Samuel Fufa4b7f38b2020-10-06 18:37:46 -0700100 <attr name="customIcon" format="reference" />
101 <attr name="matchTextInsetWithQuery" format="boolean" />
102 </declare-styleable>
103
104
Sunny Goyal9314b7c2017-06-23 10:36:27 -0700105 <declare-styleable name="ShadowInfo">
Mario Bertschlera6936942017-05-31 14:48:19 -0700106 <attr name="ambientShadowColor" format="color" />
Sunny Goyal9314b7c2017-06-23 10:36:27 -0700107 <attr name="ambientShadowBlur" format="dimension" />
Mario Bertschlera6936942017-05-31 14:48:19 -0700108 <attr name="keyShadowColor" format="color" />
Sunny Goyal9314b7c2017-06-23 10:36:27 -0700109 <attr name="keyShadowBlur" format="dimension" />
Shan Huang5620c752021-04-16 21:33:39 +0800110 <attr name="keyShadowOffsetX" format="dimension" />
111 <attr name="keyShadowOffsetY" format="dimension" />
Winson Chungb745afb2015-03-02 11:51:23 -0800112 </declare-styleable>
113
Winson Chung321e9ee2010-08-09 13:37:56 -0700114 <!-- PagedView specific attributes. These attributes are used to customize
115 a PagedView view in XML files. -->
116 <declare-styleable name="PagedView">
Winson Chungd2be3812013-07-16 11:11:32 -0700117 <!-- The page indicator for this workspace -->
118 <attr name="pageIndicator" format="reference" />
Winson Chung321e9ee2010-08-09 13:37:56 -0700119 </declare-styleable>
120
The Android Open Source Projectf96811c2009-03-18 17:39:48 -0700121 <!-- XML attributes used by default_workspace.xml -->
122 <declare-styleable name="Favorite">
123 <attr name="className" format="string" />
124 <attr name="packageName" format="string" />
Winson Chung3d503fb2011-07-13 17:25:49 -0700125 <attr name="container" format="string" />
The Android Open Source Projectf96811c2009-03-18 17:39:48 -0700126 <attr name="screen" format="string" />
127 <attr name="x" format="string" />
128 <attr name="y" format="string" />
Mike Cleronb87bd162009-10-30 16:36:56 -0700129 <attr name="spanX" format="string" />
130 <attr name="spanY" format="string" />
Sunny Goyaleba87b12016-02-26 09:44:27 -0800131 <attr name="icon" format="reference" />
132 <attr name="title" format="string" />
Mike Cleronb87bd162009-10-30 16:36:56 -0700133 <attr name="uri" format="string" />
The Android Open Source Projectf96811c2009-03-18 17:39:48 -0700134 </declare-styleable>
Adam Cohencee8c662014-10-16 09:49:52 -0700135
Winson Chungb3302ae2012-05-01 10:19:14 -0700136 <declare-styleable name="Extra">
137 <attr name="key" format="string" />
138 <attr name="value" format="string" />
139 </declare-styleable>
Daniel Sandler57dac262013-10-03 13:28:36 -0400140 <declare-styleable name="Include">
141 <attr name="workspace" format="reference" />
Adam Cohencee8c662014-10-16 09:49:52 -0700142 <attr name="folderItems" format="reference" />
Daniel Sandler57dac262013-10-03 13:28:36 -0400143 </declare-styleable>
Winson Chung2816ca52012-05-23 15:14:34 -0700144
Adam Cohenbe258222014-10-24 16:45:59 -0700145 <declare-styleable name="InsettableFrameLayout_Layout">
146 <attr name="layout_ignoreInsets" format="boolean" />
147 </declare-styleable>
Sunny Goyalf37a2142016-03-24 17:28:25 -0700148
Sunny Goyal9b458a02022-06-27 15:48:41 -0700149 <declare-styleable name="StickyScroller_Layout">
150 <attr name="layout_sticky" format="boolean" />
151 </declare-styleable>
152
Sunny Goyal415f1732018-11-29 10:33:47 -0800153 <declare-styleable name="GridDisplayOption">
Sunny Goyal819e1932016-07-07 16:43:58 -0700154 <attr name="name" format="string" />
Sunny Goyal819e1932016-07-07 16:43:58 -0700155
156 <attr name="numRows" format="integer" />
157 <attr name="numColumns" format="integer" />
Alex Chau9fee3fd2021-12-01 18:43:10 +0000158 <!-- numSearchContainerColumns defaults to numColumns, if not specified -->
159 <attr name="numSearchContainerColumns" format="integer" />
Thales Limab35faed2022-09-05 16:30:01 -0300160
Thales Limad852d652023-01-17 14:01:13 +0000161 <!-- Support attributes in CellStyle. defaults to CellStyleDefault -->
162 <attr name="cellStyle" format="reference" />
163
Sunny Goyal819e1932016-07-07 16:43:58 -0700164 <!-- numFolderRows & numFolderColumns defaults to numRows & numColumns, if not specified -->
165 <attr name="numFolderRows" format="integer" />
166 <attr name="numFolderColumns" format="integer" />
Thales Limad852d652023-01-17 14:01:13 +0000167 <!-- Support attributes in FolderStyle -->
Thales Limab35faed2022-09-05 16:30:01 -0300168 <attr name="folderStyle" format="reference" />
169
Thales Limae9273ea2023-01-26 12:33:52 +0000170 <!-- Support attributes in AllAppsStyle. Defaults to AllAppsStyleDefault -->
171 <attr name="allAppsStyle" format="reference" />
172
Sunny Goyal19ff7282021-04-22 10:12:54 -0700173 <!-- numAllAppsColumns defaults to numColumns, if not specified -->
174 <attr name="numAllAppsColumns" format="integer" />
175 <!-- Number of columns to use when extending the all-apps size,
176 defaults to 2 * numAllAppsColumns -->
177 <attr name="numExtendedAllAppsColumns" format="integer" />
178
Sunny Goyal819e1932016-07-07 16:43:58 -0700179 <!-- numHotseatIcons defaults to numColumns, if not specified -->
180 <attr name="numHotseatIcons" format="integer" />
Sunny Goyal19ff7282021-04-22 10:12:54 -0700181 <!-- Number of icons to use when extending the hotseat size,
182 defaults to 2 * numHotseatIcons -->
183 <attr name="numExtendedHotseatIcons" format="integer" />
184
Thales Lima425f6822022-05-10 13:44:58 -0300185 <!-- alignment of hotseat to the grid.
186 Not applicable for 3 button mode when taskbar is enabled -->
187 <!-- defaults to numColumns, if not specified -->
188 <attr name="hotseatColumnSpan" format="integer" />
189 <!-- defaults to numColumns, if not specified -->
190 <attr name="hotseatColumnSpanLandscape" format="integer" />
191 <!-- defaults to numColumns, if not specified -->
192 <attr name="hotseatColumnSpanTwoPanelLandscape" format="integer" />
193 <!-- defaults to numColumns, if not specified -->
194 <attr name="hotseatColumnSpanTwoPanelPortrait" format="integer" />
195
Vinit Nayakc7293172022-07-18 16:41:50 -0700196 <!-- Spacing to have at the end of the nav buttons in large screen 3 button nav,
197 defaults to @dimen/taskbar_button_margin_default -->
198 <attr name="inlineNavButtonsEndSpacing" format="reference" />
199
Tracy Zhou7df93d22020-01-27 13:44:06 -0800200 <attr name="dbFile" format="string" />
Sunny Goyal415f1732018-11-29 10:33:47 -0800201 <attr name="defaultLayoutId" format="reference" />
202 <attr name="demoModeLayoutId" format="reference" />
Jon Mirandae126d722021-02-25 10:45:20 -0500203 <attr name="isScalable" format="boolean" />
Jon Mirandac9e69fa2021-03-22 17:13:34 -0400204 <attr name="devicePaddingId" format="reference" />
Thales Limaec5abba2023-04-05 16:33:50 +0100205 <!-- File that contains the specs for the workspace.
206 Needs FeatureFlags.ENABLE_RESPONSIVE_WORKSPACE enabled -->
207 <attr name="workspaceSpecsId" format="reference" />
Alex Chau1c883d82021-12-01 18:43:10 +0000208 <!-- By default all categories are enabled -->
Thales Lima11af7bc2022-08-12 15:24:54 +0100209 <attr name="deviceCategory" format="integer">
Alex Chau1c883d82021-12-01 18:43:10 +0000210 <!-- Enable on phone only -->
211 <flag name="phone" value="1" />
212 <!-- Enable on tablets only -->
213 <flag name="tablet" value="2" />
214 <!-- Enable on multi display devices only -->
215 <flag name="multi_display" value="4" />
216 </attr>
Jon Mirandae126d722021-02-25 10:45:20 -0500217
Thales Lima11af7bc2022-08-12 15:24:54 +0100218 <!-- By default all are false -->
219 <attr name="inlineQsb" format="integer">
220 <!-- Enable on landscape only -->
221 <flag name="portrait" value="1" />
222 <!-- Enable on portrait only -->
223 <flag name="landscape" value="2" />
224 <!-- Enable on two panel portrait only -->
225 <flag name="twoPanelPortrait" value="4" />
226 <!-- Enable on two panel landscape only -->
227 <flag name="twoPanelLandscape" value="8" />
228 </attr>
229
Sunny Goyal415f1732018-11-29 10:33:47 -0800230 </declare-styleable>
231
Jon Miranda228877d2021-02-09 11:05:00 -0500232 <declare-styleable name="DevicePadding">
233 <attr name="maxEmptySpace" format="dimension" />
234 </declare-styleable>
235
236 <declare-styleable name="DevicePaddingFormula">
237 <attr name="a" format="float|dimension" />
238 <attr name="b" format="float|dimension" />
239 <attr name="c" format="float|dimension" />
240 </declare-styleable>
241
Sihua Ma60813a82022-12-07 15:04:04 -0800242 <declare-styleable name="PersonalWorkSlidingTabStrip">
243 <attr name="alignOnIcon" format="boolean" />
244 </declare-styleable>
245
Thales Lima1a2d4bd2022-11-28 13:08:32 +0000246 <!-- Responsive grids attributes -->
247 <declare-styleable name="WorkspaceSpec">
248 <attr name="specType" format="integer">
249 <enum name="height" value="0" />
250 <enum name="width" value="1" />
251 </attr>
252 <attr name="maxAvailableSize" format="dimension" />
253 </declare-styleable>
254
255 <declare-styleable name="SpecSize">
256 <attr name="fixedSize" format="dimension" />
257 <attr name="ofAvailableSpace" format="float" />
258 <attr name="ofRemainderSpace" format="float" />
259 </declare-styleable>
260
Sunny Goyal415f1732018-11-29 10:33:47 -0800261 <declare-styleable name="ProfileDisplayOption">
262 <attr name="name" />
263 <attr name="minWidthDps" format="float" />
264 <attr name="minHeightDps" format="float" />
265
Thales Limad90faab2021-09-21 17:18:47 +0100266 <!-- These min cell values are only used if GridDisplayOption#isScalable is true -->
Thales Lima85c942f2021-12-31 13:04:20 +0000267 <attr name="minCellHeight" format="float" />
268 <attr name="minCellWidth" format="float" />
269 <!-- defaults to minCellHeight, if not specified -->
Thales Limadd027342022-01-07 12:54:37 +0000270 <attr name="minCellHeightLandscape" format="float" />
271 <!-- defaults to minCellWidth, if not specified -->
272 <attr name="minCellWidthLandscape" format="float" />
273 <!-- defaults to minCellHeight, if not specified -->
Thales Lima85c942f2021-12-31 13:04:20 +0000274 <attr name="minCellHeightTwoPanelPortrait" format="float" />
275 <!-- defaults to minCellWidth, if not specified -->
276 <attr name="minCellWidthTwoPanelPortrait" format="float" />
277 <!-- defaults to minCellHeight, if not specified -->
278 <attr name="minCellHeightTwoPanelLandscape" format="float" />
279 <!-- defaults to minCellWidth, if not specified -->
280 <attr name="minCellWidthTwoPanelLandscape" format="float" />
Jon Mirandae126d722021-02-25 10:45:20 -0500281
Thales Lima78d00ad2021-09-30 11:29:06 +0100282 <!-- These border spaces are only used if GridDisplayOption#isScalable is true -->
283 <!-- space to be used horizontally and vertically -->
Thales Lima85c942f2021-12-31 13:04:20 +0000284 <attr name="borderSpace" format="float" />
285 <!-- space to the right of the cell, defaults to borderSpace if not specified -->
286 <attr name="borderSpaceHorizontal" format="float" />
287 <!-- space below the cell, defaults to borderSpace if not specified -->
288 <attr name="borderSpaceVertical" format="float" />
Thales Lima44cc3a22022-03-18 14:28:24 +0000289 <!-- space to be used horizontally and vertically,
290 defaults to borderSpace if not specified -->
291 <attr name="borderSpaceLandscape" format="float" />
292 <!-- space to the right of the cell, defaults to borderSpaceLandscape if not specified -->
293 <attr name="borderSpaceLandscapeHorizontal" format="float" />
294 <!-- space below the cell, defaults to borderSpaceLandscape if not specified -->
295 <attr name="borderSpaceLandscapeVertical" format="float" />
Thales Lima78d00ad2021-09-30 11:29:06 +0100296 <!-- space to be used horizontally and vertically in two panels,
Thales Lima85c942f2021-12-31 13:04:20 +0000297 defaults to borderSpace if not specified -->
298 <attr name="borderSpaceTwoPanelPortrait" format="float" />
Thales Lima78d00ad2021-09-30 11:29:06 +0100299 <!-- space to the right of the cell in two panels, defaults to
Thales Lima85c942f2021-12-31 13:04:20 +0000300 borderSpaceTwoPanelPortrait if not specified -->
301 <attr name="borderSpaceTwoPanelPortraitHorizontal" format="float" />
302 <!-- space below the cell in two panels, defaults to borderSpaceTwoPanelPortrait
Thales Lima78d00ad2021-09-30 11:29:06 +0100303 if not specified -->
Thales Lima85c942f2021-12-31 13:04:20 +0000304 <attr name="borderSpaceTwoPanelPortraitVertical" format="float" />
Thales Lima78d00ad2021-09-30 11:29:06 +0100305 <!-- space to be used horizontally and vertically in two panels,
Thales Lima85c942f2021-12-31 13:04:20 +0000306 defaults to borderSpace if not specified -->
307 <attr name="borderSpaceTwoPanelLandscape" format="float" />
Thales Lima78d00ad2021-09-30 11:29:06 +0100308 <!-- space to the right of the cell in two panels, defaults to
Thales Lima85c942f2021-12-31 13:04:20 +0000309 borderSpaceTwoPanelLandscape if not specified -->
310 <attr name="borderSpaceTwoPanelLandscapeHorizontal" format="float" />
311 <!-- space below the cell in two panels, defaults to borderSpaceTwoPanelLandscape
Thales Lima78d00ad2021-09-30 11:29:06 +0100312 if not specified -->
Thales Lima85c942f2021-12-31 13:04:20 +0000313 <attr name="borderSpaceTwoPanelLandscapeVertical" format="float" />
Thales Lima78d00ad2021-09-30 11:29:06 +0100314
Brandon Dayauon7a8a9ed2022-06-06 14:32:22 -0700315 <!-- defaults to minCellHeight if not specified when GridDisplayOption#isScalable is true.
316 Must be defined when GridDisplayOption#isScalable is false. -->
Thales Limab7ef5692022-03-10 10:32:36 +0000317 <attr name="allAppsCellHeight" format="float" />
Brandon Dayauon7a8a9ed2022-06-06 14:32:22 -0700318 <!-- These min cell values are only used if GridDisplayOption#isScalable is true -->
Thales Limab7ef5692022-03-10 10:32:36 +0000319 <!-- defaults to minCellWidth, if not specified -->
320 <attr name="allAppsCellWidth" format="float" />
321 <!-- defaults to allAppsCellHeight, if not specified -->
322 <attr name="allAppsCellHeightLandscape" format="float" />
323 <!-- defaults to allAppsCellWidth, if not specified -->
324 <attr name="allAppsCellWidthLandscape" format="float" />
325 <!-- defaults to allAppsCellHeight, if not specified -->
326 <attr name="allAppsCellHeightTwoPanelPortrait" format="float" />
327 <!-- defaults to allAppsCellWidth, if not specified -->
328 <attr name="allAppsCellWidthTwoPanelPortrait" format="float" />
329 <!-- defaults to allAppsCellHeight, if not specified -->
330 <attr name="allAppsCellHeightTwoPanelLandscape" format="float" />
331 <!-- defaults to allAppsCellWidth, if not specified -->
332 <attr name="allAppsCellWidthTwoPanelLandscape" format="float" />
Thales Lima83bedbf2021-10-05 17:47:39 +0100333 <!-- The following values are only enabled if grid is supported. -->
Thales Lima85c942f2021-12-31 13:04:20 +0000334 <!-- defaults to iconImageSize, if not specified -->
Thales Lima83bedbf2021-10-05 17:47:39 +0100335 <attr name="allAppsIconSize" format="float" />
Thales Limabb7d3882021-12-22 12:56:29 +0000336 <!-- defaults to allAppsIconSize, if not specified -->
Thales Lima1fb075d2022-08-10 10:47:50 +0100337 <attr name="allAppsIconSizeLandscape" format="float" />
338 <!-- defaults to allAppsIconSize, if not specified -->
Thales Limabb7d3882021-12-22 12:56:29 +0000339 <attr name="allAppsIconSizeTwoPanelPortrait" format="float" />
340 <!-- defaults to allAppsIconSize, if not specified -->
341 <attr name="allAppsIconSizeTwoPanelLandscape" format="float" />
Thales Lima85c942f2021-12-31 13:04:20 +0000342 <!-- defaults to iconTextSize, if not specified -->
Thales Lima83bedbf2021-10-05 17:47:39 +0100343 <attr name="allAppsIconTextSize" format="float" />
Thales Limabb7d3882021-12-22 12:56:29 +0000344 <!-- defaults to allAppsIconTextSize, if not specified -->
345 <attr name="allAppsIconTextSizeTwoPanelPortrait" format="float" />
346 <!-- defaults to allAppsIconTextSize, if not specified -->
347 <attr name="allAppsIconTextSizeTwoPanelLandscape" format="float" />
sfufa@google.comde013292021-09-21 18:22:44 -0700348
Thales Lima080d8902022-03-28 15:30:29 +0100349 <!-- defaults to borderSpace, if not specified -->
350 <!-- space to be used horizontally and vertically -->
351 <attr name="allAppsBorderSpace" format="float" />
352 <!-- space to the right of the cell, defaults to allAppsBorderSpace if not specified -->
353 <attr name="allAppsBorderSpaceHorizontal" format="float" />
354 <!-- space below the cell, defaults to allAppsBorderSpace if not specified -->
355 <attr name="allAppsBorderSpaceVertical" format="float" />
356 <!-- space to be used horizontally and vertically,
357 defaults to allAppsBorderSpace if not specified -->
358 <attr name="allAppsBorderSpaceLandscape" format="float" />
359 <!-- space to the right of the cell, defaults to allAppsBorderSpaceLandscape
360 if not specified -->
361 <attr name="allAppsBorderSpaceLandscapeHorizontal" format="float" />
362 <!-- space below the cell, defaults to allAppsBorderSpaceLandscape if not specified -->
363 <attr name="allAppsBorderSpaceLandscapeVertical" format="float" />
364 <!-- space to be used horizontally and vertically in two panels,
365 defaults to allAppsBorderSpace if not specified -->
366 <attr name="allAppsBorderSpaceTwoPanelPortrait" format="float" />
367 <!-- space to the right of the cell in two panels, defaults to
368 allAppsBorderSpaceTwoPanelPortrait if not specified -->
369 <attr name="allAppsBorderSpaceTwoPanelPortraitHorizontal" format="float" />
370 <!-- space below the cell in two panels, defaults to allAppsBorderSpaceTwoPanelPortrait
371 if not specified -->
372 <attr name="allAppsBorderSpaceTwoPanelPortraitVertical" format="float" />
373 <!-- space to be used horizontally and vertically in two panels,
374 defaults to allAppsBorderSpace if not specified -->
375 <attr name="allAppsBorderSpaceTwoPanelLandscape" format="float" />
376 <!-- space to the right of the cell in two panels, defaults to
377 allAppsBorderSpaceTwoPanelLandscape if not specified -->
378 <attr name="allAppsBorderSpaceTwoPanelLandscapeHorizontal" format="float" />
379 <!-- space below the cell in two panels, defaults to allAppsBorderSpaceTwoPanelLandscape
380 if not specified -->
381 <attr name="allAppsBorderSpaceTwoPanelLandscapeVertical" format="float" />
382
Thales Limab8c05952022-05-23 16:58:38 +0100383 <!-- defaults to res.hotseat_bar_bottom_space_default, if not specified -->
384 <attr name="hotseatBarBottomSpace" format="float" />
385 <!-- defaults to hotseatBarBottomSpace, if not specified -->
386 <attr name="hotseatBarBottomSpaceLandscape" format="float" />
387 <!-- defaults to hotseatBarBottomSpace, if not specified -->
388 <attr name="hotseatBarBottomSpaceTwoPanelLandscape" format="float" />
389 <!-- defaults to hotseatBarBottomSpace, if not specified -->
390 <attr name="hotseatBarBottomSpaceTwoPanelPortrait" format="float" />
391
392 <!-- defaults to res.hotseat_qsb_space_default, if not specified -->
393 <attr name="hotseatQsbSpace" format="float" />
394 <!-- defaults to hotseatQsbSpace, if not specified -->
395 <attr name="hotseatQsbSpaceLandscape" format="float" />
396 <!-- defaults to hotseatQsbSpace, if not specified -->
397 <attr name="hotseatQsbSpaceTwoPanelLandscape" format="float" />
398 <!-- defaults to hotseatQsbSpace, if not specified -->
399 <attr name="hotseatQsbSpaceTwoPanelPortrait" format="float" />
400
Jon Miranda9c478b62023-03-23 21:38:49 -0700401 <!-- defaults to res.taskbar_icon_size, if not specified -->
402 <attr name="transientTaskbarIconSize" format="float" />
403 <!-- defaults to transientTaskbarIconSize, if not specified -->
404 <attr name="transientTaskbarIconSizeLandscape" format="float" />
405 <!-- defaults to transientTaskbarIconSize, if not specified -->
406 <attr name="transientTaskbarIconSizeTwoPanelLandscape" format="float" />
407 <!-- defaults to transientTaskbarIconSize, if not specified -->
408 <attr name="transientTaskbarIconSizeTwoPanelPortrait" format="float" />
409
Ryan Mitchell01b8b682019-03-28 17:01:07 -0700410 <attr name="iconImageSize" format="float" />
Thales Lima85c942f2021-12-31 13:04:20 +0000411 <!-- defaults to iconImageSize, if not specified -->
412 <attr name="iconSizeLandscape" format="float" />
413 <!-- defaults to iconSize, if not specified -->
414 <attr name="iconSizeTwoPanelPortrait" format="float" />
415 <!-- defaults to iconSize, if not specified -->
416 <attr name="iconSizeTwoPanelLandscape" format="float" />
Andras Kloczl30fe9152021-08-05 18:02:29 +0200417
Sunny Goyal819e1932016-07-07 16:43:58 -0700418 <attr name="iconTextSize" format="float" />
Thales Lima85c942f2021-12-31 13:04:20 +0000419 <!-- defaults to iconTextSize, if not specified -->
420 <attr name="iconTextSizeLandscape" format="float" />
421 <!-- defaults to iconTextSize, if not specified -->
422 <attr name="iconTextSizeTwoPanelPortrait" format="float" />
423 <!-- defaults to iconTextSize, if not specified -->
424 <attr name="iconTextSizeTwoPanelLandscape" format="float" />
Sunny Goyal19ff7282021-04-22 10:12:54 -0700425
Jon Miranda04f05102023-04-04 12:16:31 -0700426 <!-- If true, used to layout taskbar in 3 button navigation mode. -->
427 <!-- defaults to false if not specified -->
428 <attr name="startAlignTaskbar" format="boolean" />
429 <!-- defaults to startAlignTaskbar, if not specified -->
430 <attr name="startAlignTaskbarLandscape" format="boolean" />
431 <!-- defaults to startAlignTaskbarLandscape, if not specified -->
432 <attr name="startAlignTaskbarTwoPanelLandscape" format="boolean" />
433 <!-- defaults to startAlignTaskbar, if not specified -->
434 <attr name="startAlignTaskbarTwoPanelPortrait" format="boolean" />
435
Sunny Goyal19ff7282021-04-22 10:12:54 -0700436 <!-- If set, this display option is used to determine the default grid -->
Thales Lima1de4d552021-10-13 16:13:25 +0100437 <attr name="canBeDefault" format="boolean" />
Sunny Goyalae190ff2020-04-14 00:19:01 +0000438
Thales Limad90faab2021-09-21 17:18:47 +0100439 <!-- Margin on left and right of the workspace when GridDisplayOption#isScalable is true -->
440 <attr name="horizontalMargin" format="float"/>
Thales Lima85c942f2021-12-31 13:04:20 +0000441 <!-- defaults to horizontalMargin if not specified -->
Thales Limadd027342022-01-07 12:54:37 +0000442 <attr name="horizontalMarginLandscape" format="float"/>
443 <!-- defaults to horizontalMargin if not specified -->
Thales Lima85c942f2021-12-31 13:04:20 +0000444 <attr name="horizontalMarginTwoPanelLandscape" format="float"/>
445 <!-- defaults to horizontalMargin if not specified -->
446 <attr name="horizontalMarginTwoPanelPortrait" format="float"/>
Thales Lima12d0eff2022-03-25 17:06:11 +0000447
Sunny Goyal819e1932016-07-07 16:43:58 -0700448 </declare-styleable>
449
Thales Limad852d652023-01-17 14:01:13 +0000450 <declare-styleable name="FolderStyle">
Thales Limab35faed2022-09-05 16:30:01 -0300451 <!-- defaults to minCellHeight if not specified
452 when GridDisplayOption#isScalable is true. -->
453 <attr name="folderCellHeight" format="dimension" />
454 <!-- defaults to minCellWidth, if not specified -->
455 <attr name="folderCellWidth" format="dimension" />
456 <!-- space to be used horizontally and vertically between icons,
457 and to the left and right of folder -->
458 <attr name="folderBorderSpace" format="dimension" />
459 <!-- height of the footer of the folder -->
460 <attr name="folderFooterHeight" format="dimension" />
461 <!-- padding on top of the folder -->
462 <attr name="folderTopPadding" format="dimension" />
463 </declare-styleable>
464
Sunny Goyalc13403c2016-11-18 23:44:48 -0800465 <declare-styleable name="CellLayout">
466 <attr name="containerType" format="integer">
467 <enum name="workspace" value="0" />
468 <enum name="hotseat" value="1" />
469 <enum name="folder" value="2" />
470 </attr>
471 </declare-styleable>
472
Thales Limad852d652023-01-17 14:01:13 +0000473 <declare-styleable name="CellStyle">
474 <attr name="iconDrawablePadding" format="dimension" />
475 </declare-styleable>
476
Thales Limae9273ea2023-01-26 12:33:52 +0000477 <declare-styleable name="AllAppsStyle">
478 <attr name="horizontalPadding" format="dimension" />
479 </declare-styleable>
480
Sunny Goyalda1dfa32017-04-26 22:34:49 -0700481 <declare-styleable name="ShadowDrawable">
482 <attr name="android:src" />
483 <attr name="android:shadowColor" />
Sunny Goyal8b6ac002017-05-16 16:16:25 -0700484 <attr name="android:elevation" />
Samuel Fufa6e5efb02020-11-02 11:31:59 -0600485 <attr name="darkTintColor" format="color" />
Sunny Goyalda1dfa32017-04-26 22:34:49 -0700486 </declare-styleable>
Sunny Goyal89d5c5a2017-06-23 16:12:50 -0700487
488 <declare-styleable name="RecyclerViewFastScroller">
489 <attr name="canThumbDetach" format="boolean" />
490 </declare-styleable>
Sunny Goyal952e63d2017-08-16 04:59:08 -0700491
Sunny Goyalb694a692020-10-13 13:37:28 -0700492 <declare-styleable name="LoggablePref">
493 <attr name="android:key" />
494 <attr name="android:defaultValue" />
495 <!-- Ground truth of this Pref integer can be found in StatsLogManager -->
496 <attr name="logIdOn" format="integer" />
497 <attr name="logIdOff" format="integer" />
498 </declare-styleable>
499
Sunny Goyalef92b822018-11-21 14:12:00 -0800500 <declare-styleable name="PreviewFragment">
501 <attr name="android:name" />
502 <attr name="android:id" />
503 </declare-styleable>
Steven Nge92bc552021-02-10 17:10:15 +0000504
505 <declare-styleable name="WidgetsListRowHeader">
506 <attr name="appIconSize" format="dimension" />
507 </declare-styleable>
Steven Ng43859f12021-09-24 12:39:55 +0100508
Marcelo Arteiroecff4b52023-05-09 13:48:38 +0000509 <attr name="materialColorOnSecondaryFixedVariant" format="color" />
510 <attr name="materialColorOnTertiaryFixedVariant" format="color" />
511 <attr name="materialColorSurfaceContainerLowest" format="color" />
512 <attr name="materialColorOnPrimaryFixedVariant" format="color" />
513 <attr name="materialColorOnSecondaryContainer" format="color" />
514 <attr name="materialColorOnTertiaryContainer" format="color" />
515 <attr name="materialColorSurfaceContainerLow" format="color" />
516 <attr name="materialColorOnPrimaryContainer" format="color" />
517 <attr name="materialColorSecondaryFixedDim" format="color" />
518 <attr name="materialColorOnErrorContainer" format="color" />
519 <attr name="materialColorOnSecondaryFixed" format="color" />
520 <attr name="materialColorOnSurfaceInverse" format="color" />
521 <attr name="materialColorTertiaryFixedDim" format="color" />
522 <attr name="materialColorOnTertiaryFixed" format="color" />
523 <attr name="materialColorPrimaryFixedDim" format="color" />
524 <attr name="materialColorSecondaryContainer" format="color" />
525 <attr name="materialColorErrorContainer" format="color" />
526 <attr name="materialColorOnPrimaryFixed" format="color" />
527 <attr name="materialColorPrimaryInverse" format="color" />
528 <attr name="materialColorSecondaryFixed" format="color" />
529 <attr name="materialColorTertiaryContainer" format="color" />
530 <attr name="materialColorTertiaryFixed" format="color" />
531 <attr name="materialColorPrimaryContainer" format="color" />
532 <attr name="materialColorOnBackground" format="color" />
533 <attr name="materialColorPrimaryFixed" format="color" />
534 <attr name="materialColorOnSecondary" format="color" />
535 <attr name="materialColorOnTertiary" format="color" />
536 <attr name="materialColorOnError" format="color" />
537 <attr name="materialColorOnSurfaceVariant" format="color" />
538 <attr name="materialColorOutline" format="color" />
539 <attr name="materialColorOutlineVariant" format="color" />
540 <attr name="materialColorOnPrimary" format="color" />
541 <attr name="materialColorOnSurface" format="color" />
542 <attr name="materialColorPrimary" format="color" />
543 <attr name="materialColorSecondary" format="color" />
544 <attr name="materialColorTertiary" format="color" />
545 <attr name="materialColorSurfaceInverse" format="color" />
546 <attr name="materialColorSurfaceVariant" format="color" />
547 <attr name="materialColorSurfaceDim" format="color" />
548 <attr name="materialColorSurfaceBright" format="color" />
549 <attr name="materialColorSurface" format="color" />
550 <attr name="materialColorSurfaceContainerHigh" format="color" />
551 <attr name="materialColorSurfaceContainerHighest" format="color" />
552 <attr name="materialColorSurfaceContainer" format="color" />
553
Steven Ng43859f12021-09-24 12:39:55 +0100554 <declare-styleable name="WidgetSections">
555 <!-- Component name of an app widget provider. -->
556 <attr name="provider" format="string" />
557 <!-- If true, keep the app widget under its app listing in addition to the widget category
558 in the widget picker. Defaults to false if not specified. -->
559 <attr name="alsoKeepInApp" format="boolean" />
560 <!-- The category of an app widget provider. Defaults to -1 if not specified. -->
561 <attr name="category" format="integer" />
562 <!-- The title name of a widget category. -->
563 <attr name="sectionTitle" format="reference" />
564 <!-- The icon drawable of a widget category. -->
565 <attr name="sectionDrawable" format="reference" />
566 </declare-styleable>
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800567</resources>