blob: df42828cf90faa27cff9e0963e5f99a0862d068a [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" />
Sunny Goyal337fcb72018-05-30 12:00:43 -070022 <attr name="allAppsInterimScrimAlpha" format="integer" />
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" />
Jon Mirandaa3c86622021-04-26 17:35:28 -040025 <attr name="popupColorNeutral" format="color" />
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" />
Mario Bertschlera6936942017-05-31 14:48:19 -070029 <attr name="isMainColorDark" format="boolean" />
30 <attr name="isWorkspaceDarkText" format="boolean" />
31 <attr name="workspaceTextColor" format="color" />
32 <attr name="workspaceShadowColor" format="color" />
Samuel Fufa6e5efb02020-11-02 11:31:59 -060033 <attr name="workspaceAmbientShadowColor" format="color" />
Mario Bertschlera6936942017-05-31 14:48:19 -070034 <attr name="workspaceKeyShadowColor" format="color" />
35 <attr name="workspaceStatusBarScrim" format="reference" />
Tony Wickham093c3ac2017-06-26 10:48:41 -070036 <attr name="widgetsTheme" format="reference" />
Samuel Fufa6e5efb02020-11-02 11:31:59 -060037 <attr name="iconOnlyShortcutColor" format="color" />
38 <attr name="eduHalfSheetBGColor" format="color" />
Zak Cohen4d35ac32021-04-23 16:28:12 -070039 <attr name="overviewScrimColor" format="color" />
Sunny Goyal368ae772017-05-24 13:19:15 -070040
Sunny Goyal9fc5ae72019-01-03 16:47:18 -080041 <attr name="folderDotColor" format="color" />
Hyunyoung Songe751d902019-05-13 23:23:05 -070042 <attr name="folderFillColor" format="color" />
Sunny Goyal9fc5ae72019-01-03 16:47:18 -080043 <attr name="folderIconRadius" format="float" />
Sunny Goyalbcadb7f2019-02-05 14:45:31 -080044 <attr name="folderIconBorderColor" format="color" />
Hyunyoung Songe751d902019-05-13 23:23:05 -070045 <attr name="folderTextColor" format="color" />
Samuel Fufa7315bdd2020-02-03 18:56:54 -080046 <attr name="folderHintColor" format="color" />
Samuel Fufaea4dcf42020-02-04 12:08:11 -080047 <attr name="workProfileOverlayTextColor" format="color" />
Adam Cohenf7ca3b42021-02-22 11:03:58 -080048 <attr name="gridColor" format="color" />
Sunny Goyal9fc5ae72019-01-03 16:47:18 -080049
Winson Chungb745afb2015-03-02 11:51:23 -080050 <!-- BubbleTextView specific attributes. -->
51 <declare-styleable name="BubbleTextView">
52 <attr name="layoutHorizontal" format="boolean" />
53 <attr name="iconSizeOverride" format="dimension" />
Sunny Goyaldfaccf62015-05-11 16:30:44 -070054 <attr name="iconDisplay" format="integer">
55 <enum name="workspace" value="0" />
56 <enum name="all_apps" value="1" />
Sunny Goyalbaec6ff2016-09-14 11:26:21 -070057 <enum name="folder" value="2" />
58 <enum name="widget_section" value="3" />
Jon Miranda93e1f042016-11-11 14:13:04 -080059 <enum name="shortcut_popup" value="4" />
Samuel Fufa4a53c702020-08-04 14:06:55 -070060 <enum name="hero_app" value="5" />
Tony Wickham794fe4f2021-01-11 14:54:23 -060061 <enum name="taskbar" value="6" />
Sunny Goyaldfaccf62015-05-11 16:30:44 -070062 </attr>
Winson1f064272016-07-18 17:18:02 -070063 <attr name="centerVertically" format="boolean" />
Sunny Goyal9314b7c2017-06-23 10:36:27 -070064 </declare-styleable>
65
Sunny Goyalbcadb7f2019-02-05 14:45:31 -080066 <!-- BubbleTextView specific attributes. -->
67 <declare-styleable name="FolderIconPreview">
Hyunyoung Songe751d902019-05-13 23:23:05 -070068 <attr name="folderFillColor" />
Sunny Goyalbcadb7f2019-02-05 14:45:31 -080069 <attr name="folderIconBorderColor" />
70 <attr name="folderDotColor" />
71 </declare-styleable>
72
Samuel Fufa6e5efb02020-11-02 11:31:59 -060073 <declare-styleable name="SearchResultSuggestion">
Samuel Fufa4b7f38b2020-10-06 18:37:46 -070074 <attr name="customIcon" format="reference" />
75 <attr name="matchTextInsetWithQuery" format="boolean" />
76 </declare-styleable>
77
78
Sunny Goyal9314b7c2017-06-23 10:36:27 -070079 <declare-styleable name="ShadowInfo">
Mario Bertschlera6936942017-05-31 14:48:19 -070080 <attr name="ambientShadowColor" format="color" />
Sunny Goyal9314b7c2017-06-23 10:36:27 -070081 <attr name="ambientShadowBlur" format="dimension" />
Mario Bertschlera6936942017-05-31 14:48:19 -070082 <attr name="keyShadowColor" format="color" />
Sunny Goyal9314b7c2017-06-23 10:36:27 -070083 <attr name="keyShadowBlur" format="dimension" />
84 <attr name="keyShadowOffset" format="dimension" />
Winson Chungb745afb2015-03-02 11:51:23 -080085 </declare-styleable>
86
Winson Chung321e9ee2010-08-09 13:37:56 -070087 <!-- PagedView specific attributes. These attributes are used to customize
88 a PagedView view in XML files. -->
89 <declare-styleable name="PagedView">
Winson Chungd2be3812013-07-16 11:11:32 -070090 <!-- The page indicator for this workspace -->
91 <attr name="pageIndicator" format="reference" />
Winson Chung321e9ee2010-08-09 13:37:56 -070092 </declare-styleable>
93
The Android Open Source Projectf96811c2009-03-18 17:39:48 -070094 <!-- XML attributes used by default_workspace.xml -->
95 <declare-styleable name="Favorite">
96 <attr name="className" format="string" />
97 <attr name="packageName" format="string" />
Winson Chung3d503fb2011-07-13 17:25:49 -070098 <attr name="container" format="string" />
The Android Open Source Projectf96811c2009-03-18 17:39:48 -070099 <attr name="screen" format="string" />
100 <attr name="x" format="string" />
101 <attr name="y" format="string" />
Mike Cleronb87bd162009-10-30 16:36:56 -0700102 <attr name="spanX" format="string" />
103 <attr name="spanY" format="string" />
Sunny Goyaleba87b12016-02-26 09:44:27 -0800104 <attr name="icon" format="reference" />
105 <attr name="title" format="string" />
Mike Cleronb87bd162009-10-30 16:36:56 -0700106 <attr name="uri" format="string" />
The Android Open Source Projectf96811c2009-03-18 17:39:48 -0700107 </declare-styleable>
Adam Cohencee8c662014-10-16 09:49:52 -0700108
Winson Chungb3302ae2012-05-01 10:19:14 -0700109 <declare-styleable name="Extra">
110 <attr name="key" format="string" />
111 <attr name="value" format="string" />
112 </declare-styleable>
Daniel Sandler57dac262013-10-03 13:28:36 -0400113 <declare-styleable name="Include">
114 <attr name="workspace" format="reference" />
Adam Cohencee8c662014-10-16 09:49:52 -0700115 <attr name="folderItems" format="reference" />
Daniel Sandler57dac262013-10-03 13:28:36 -0400116 </declare-styleable>
Winson Chung2816ca52012-05-23 15:14:34 -0700117
Adam Cohenbe258222014-10-24 16:45:59 -0700118 <declare-styleable name="InsettableFrameLayout_Layout">
119 <attr name="layout_ignoreInsets" format="boolean" />
120 </declare-styleable>
Sunny Goyalf37a2142016-03-24 17:28:25 -0700121
Sunny Goyal415f1732018-11-29 10:33:47 -0800122 <declare-styleable name="GridDisplayOption">
Sunny Goyal819e1932016-07-07 16:43:58 -0700123 <attr name="name" format="string" />
Sunny Goyal819e1932016-07-07 16:43:58 -0700124
125 <attr name="numRows" format="integer" />
126 <attr name="numColumns" format="integer" />
127 <!-- numFolderRows & numFolderColumns defaults to numRows & numColumns, if not specified -->
128 <attr name="numFolderRows" format="integer" />
129 <attr name="numFolderColumns" format="integer" />
Sunny Goyal819e1932016-07-07 16:43:58 -0700130 <!-- numHotseatIcons defaults to numColumns, if not specified -->
131 <attr name="numHotseatIcons" format="integer" />
Tracy Zhou7df93d22020-01-27 13:44:06 -0800132 <attr name="dbFile" format="string" />
Sunny Goyal415f1732018-11-29 10:33:47 -0800133 <attr name="defaultLayoutId" format="reference" />
134 <attr name="demoModeLayoutId" format="reference" />
Jon Mirandae126d722021-02-25 10:45:20 -0500135 <attr name="isScalable" format="boolean" />
Jon Mirandac9e69fa2021-03-22 17:13:34 -0400136 <attr name="devicePaddingId" format="reference" />
Jon Mirandae126d722021-02-25 10:45:20 -0500137
Jon Mirandaec1277e2021-03-25 10:41:54 -0400138 <!-- whether the grid option is shown to the user -->
139 <attr name="visible" format="boolean" />
140
Sunny Goyal415f1732018-11-29 10:33:47 -0800141 </declare-styleable>
142
Jon Miranda228877d2021-02-09 11:05:00 -0500143 <declare-styleable name="DevicePadding">
144 <attr name="maxEmptySpace" format="dimension" />
145 </declare-styleable>
146
147 <declare-styleable name="DevicePaddingFormula">
148 <attr name="a" format="float|dimension" />
149 <attr name="b" format="float|dimension" />
150 <attr name="c" format="float|dimension" />
151 </declare-styleable>
152
Sunny Goyal415f1732018-11-29 10:33:47 -0800153 <declare-styleable name="ProfileDisplayOption">
154 <attr name="name" />
155 <attr name="minWidthDps" format="float" />
156 <attr name="minHeightDps" format="float" />
157
Jon Mirandae126d722021-02-25 10:45:20 -0500158 <!-- These min cell values are only used if GridDisplayOption#isScalable is true-->
159 <attr name="minCellHeightDps" format="float" />
160 <attr name="minCellWidthDps" format="float" />
161
162 <attr name="borderSpacingDps" format="float" />
163
Ryan Mitchell01b8b682019-03-28 17:01:07 -0700164 <attr name="iconImageSize" format="float" />
Jon Mirandab28c4fc2017-06-20 10:58:36 -0700165 <!-- landscapeIconSize defaults to iconSize, if not specified -->
166 <attr name="landscapeIconSize" format="float" />
Sunny Goyal819e1932016-07-07 16:43:58 -0700167 <attr name="iconTextSize" format="float" />
Andras Kloczl6057cb92021-04-07 13:45:17 +0200168 <!-- landscapeIconTextSize defaults to iconTextSize, if not specified -->
169 <attr name="landscapeIconTextSize" format="float" />
Sunny Goyal415f1732018-11-29 10:33:47 -0800170 <!-- If true, this display option is used to determine the default grid -->
171 <attr name="canBeDefault" format="boolean" />
Sunny Goyalae190ff2020-04-14 00:19:01 +0000172
173 <!-- The following values are only enabled if grid is supported. -->
174 <!-- allAppsIconSize defaults to iconSize, if not specified -->
175 <attr name="allAppsIconSize" format="float" />
176 <!-- allAppsIconTextSize defaults to iconTextSize, if not specified -->
177 <attr name="allAppsIconTextSize" format="float" />
Alex Chau7c439722021-03-24 11:32:44 +0000178
179 <!-- numAllAppsColumns defaults to GridDisplayOption.numColumns, if not specified -->
180 <attr name="numAllAppsColumns" format="integer" />
Tony Wickhamb87f3cd2021-04-07 15:02:37 -0700181
182 <!-- numShownHotseatIcons defaults to GridDisplayOption.numHotseatIcons, if not specified -->
183 <attr name="numShownHotseatIcons" format="integer" />
Sunny Goyal819e1932016-07-07 16:43:58 -0700184 </declare-styleable>
185
Sunny Goyalc13403c2016-11-18 23:44:48 -0800186 <declare-styleable name="CellLayout">
187 <attr name="containerType" format="integer">
188 <enum name="workspace" value="0" />
189 <enum name="hotseat" value="1" />
190 <enum name="folder" value="2" />
191 </attr>
192 </declare-styleable>
193
Sunny Goyalda1dfa32017-04-26 22:34:49 -0700194 <declare-styleable name="ShadowDrawable">
195 <attr name="android:src" />
196 <attr name="android:shadowColor" />
Sunny Goyal8b6ac002017-05-16 16:16:25 -0700197 <attr name="android:elevation" />
Samuel Fufa6e5efb02020-11-02 11:31:59 -0600198 <attr name="darkTintColor" format="color" />
Sunny Goyalda1dfa32017-04-26 22:34:49 -0700199 </declare-styleable>
Sunny Goyal89d5c5a2017-06-23 16:12:50 -0700200
201 <declare-styleable name="RecyclerViewFastScroller">
202 <attr name="canThumbDetach" format="boolean" />
203 </declare-styleable>
Sunny Goyal952e63d2017-08-16 04:59:08 -0700204
Sunny Goyalb694a692020-10-13 13:37:28 -0700205 <declare-styleable name="LoggablePref">
206 <attr name="android:key" />
207 <attr name="android:defaultValue" />
208 <!-- Ground truth of this Pref integer can be found in StatsLogManager -->
209 <attr name="logIdOn" format="integer" />
210 <attr name="logIdOff" format="integer" />
211 </declare-styleable>
212
Sunny Goyalef92b822018-11-21 14:12:00 -0800213 <declare-styleable name="PreviewFragment">
214 <attr name="android:name" />
215 <attr name="android:id" />
216 </declare-styleable>
Steven Nge92bc552021-02-10 17:10:15 +0000217
218 <declare-styleable name="WidgetsListRowHeader">
219 <attr name="appIconSize" format="dimension" />
220 </declare-styleable>
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800221</resources>