blob: 1beb8dd69d4d355095e4ec6967a4614171bc0dcb [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" />
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" />
Mario Bertschlera6936942017-05-31 14:48:19 -070028 <attr name="isMainColorDark" format="boolean" />
29 <attr name="isWorkspaceDarkText" format="boolean" />
30 <attr name="workspaceTextColor" format="color" />
31 <attr name="workspaceShadowColor" format="color" />
Samuel Fufa6e5efb02020-11-02 11:31:59 -060032 <attr name="workspaceAmbientShadowColor" format="color" />
Mario Bertschlera6936942017-05-31 14:48:19 -070033 <attr name="workspaceKeyShadowColor" format="color" />
34 <attr name="workspaceStatusBarScrim" format="reference" />
Tony Wickham093c3ac2017-06-26 10:48:41 -070035 <attr name="widgetsTheme" format="reference" />
Samuel Fufa6e5efb02020-11-02 11:31:59 -060036 <attr name="iconOnlyShortcutColor" format="color" />
37 <attr name="eduHalfSheetBGColor" format="color" />
Sunny Goyal368ae772017-05-24 13:19:15 -070038
Sunny Goyal9fc5ae72019-01-03 16:47:18 -080039 <attr name="folderDotColor" format="color" />
Hyunyoung Songe751d902019-05-13 23:23:05 -070040 <attr name="folderFillColor" format="color" />
Sunny Goyal9fc5ae72019-01-03 16:47:18 -080041 <attr name="folderIconRadius" format="float" />
Sunny Goyalbcadb7f2019-02-05 14:45:31 -080042 <attr name="folderIconBorderColor" format="color" />
Hyunyoung Songe751d902019-05-13 23:23:05 -070043 <attr name="folderTextColor" format="color" />
Samuel Fufa7315bdd2020-02-03 18:56:54 -080044 <attr name="folderHintColor" format="color" />
Samuel Fufaea4dcf42020-02-04 12:08:11 -080045 <attr name="workProfileOverlayTextColor" format="color" />
Adam Cohenf7ca3b42021-02-22 11:03:58 -080046 <attr name="gridColor" format="color" />
Sunny Goyal9fc5ae72019-01-03 16:47:18 -080047
Winson Chungb745afb2015-03-02 11:51:23 -080048 <!-- BubbleTextView specific attributes. -->
49 <declare-styleable name="BubbleTextView">
50 <attr name="layoutHorizontal" format="boolean" />
51 <attr name="iconSizeOverride" format="dimension" />
Sunny Goyaldfaccf62015-05-11 16:30:44 -070052 <attr name="iconDisplay" format="integer">
53 <enum name="workspace" value="0" />
54 <enum name="all_apps" value="1" />
Sunny Goyalbaec6ff2016-09-14 11:26:21 -070055 <enum name="folder" value="2" />
56 <enum name="widget_section" value="3" />
Jon Miranda93e1f042016-11-11 14:13:04 -080057 <enum name="shortcut_popup" value="4" />
Samuel Fufa4a53c702020-08-04 14:06:55 -070058 <enum name="hero_app" value="5" />
Tony Wickham794fe4f2021-01-11 14:54:23 -060059 <enum name="taskbar" value="6" />
Sunny Goyaldfaccf62015-05-11 16:30:44 -070060 </attr>
Winson1f064272016-07-18 17:18:02 -070061 <attr name="centerVertically" format="boolean" />
Sunny Goyal9314b7c2017-06-23 10:36:27 -070062 </declare-styleable>
63
Sunny Goyalbcadb7f2019-02-05 14:45:31 -080064 <!-- BubbleTextView specific attributes. -->
65 <declare-styleable name="FolderIconPreview">
Hyunyoung Songe751d902019-05-13 23:23:05 -070066 <attr name="folderFillColor" />
Sunny Goyalbcadb7f2019-02-05 14:45:31 -080067 <attr name="folderIconBorderColor" />
68 <attr name="folderDotColor" />
69 </declare-styleable>
70
Samuel Fufa6e5efb02020-11-02 11:31:59 -060071 <declare-styleable name="SearchResultSuggestion">
Samuel Fufa4b7f38b2020-10-06 18:37:46 -070072 <attr name="customIcon" format="reference" />
73 <attr name="matchTextInsetWithQuery" format="boolean" />
74 </declare-styleable>
75
76
Sunny Goyal9314b7c2017-06-23 10:36:27 -070077 <declare-styleable name="ShadowInfo">
Mario Bertschlera6936942017-05-31 14:48:19 -070078 <attr name="ambientShadowColor" format="color" />
Sunny Goyal9314b7c2017-06-23 10:36:27 -070079 <attr name="ambientShadowBlur" format="dimension" />
Mario Bertschlera6936942017-05-31 14:48:19 -070080 <attr name="keyShadowColor" format="color" />
Sunny Goyal9314b7c2017-06-23 10:36:27 -070081 <attr name="keyShadowBlur" format="dimension" />
Shan Huang5620c752021-04-16 21:33:39 +080082 <attr name="keyShadowOffsetX" format="dimension" />
83 <attr name="keyShadowOffsetY" format="dimension" />
Winson Chungb745afb2015-03-02 11:51:23 -080084 </declare-styleable>
85
Winson Chung321e9ee2010-08-09 13:37:56 -070086 <!-- PagedView specific attributes. These attributes are used to customize
87 a PagedView view in XML files. -->
88 <declare-styleable name="PagedView">
Winson Chungd2be3812013-07-16 11:11:32 -070089 <!-- The page indicator for this workspace -->
90 <attr name="pageIndicator" format="reference" />
Winson Chung321e9ee2010-08-09 13:37:56 -070091 </declare-styleable>
92
The Android Open Source Projectf96811c2009-03-18 17:39:48 -070093 <!-- XML attributes used by default_workspace.xml -->
94 <declare-styleable name="Favorite">
95 <attr name="className" format="string" />
96 <attr name="packageName" format="string" />
Winson Chung3d503fb2011-07-13 17:25:49 -070097 <attr name="container" format="string" />
The Android Open Source Projectf96811c2009-03-18 17:39:48 -070098 <attr name="screen" format="string" />
99 <attr name="x" format="string" />
100 <attr name="y" format="string" />
Mike Cleronb87bd162009-10-30 16:36:56 -0700101 <attr name="spanX" format="string" />
102 <attr name="spanY" format="string" />
Sunny Goyaleba87b12016-02-26 09:44:27 -0800103 <attr name="icon" format="reference" />
104 <attr name="title" format="string" />
Mike Cleronb87bd162009-10-30 16:36:56 -0700105 <attr name="uri" format="string" />
The Android Open Source Projectf96811c2009-03-18 17:39:48 -0700106 </declare-styleable>
Adam Cohencee8c662014-10-16 09:49:52 -0700107
Winson Chungb3302ae2012-05-01 10:19:14 -0700108 <declare-styleable name="Extra">
109 <attr name="key" format="string" />
110 <attr name="value" format="string" />
111 </declare-styleable>
Daniel Sandler57dac262013-10-03 13:28:36 -0400112 <declare-styleable name="Include">
113 <attr name="workspace" format="reference" />
Adam Cohencee8c662014-10-16 09:49:52 -0700114 <attr name="folderItems" format="reference" />
Daniel Sandler57dac262013-10-03 13:28:36 -0400115 </declare-styleable>
Winson Chung2816ca52012-05-23 15:14:34 -0700116
Adam Cohenbe258222014-10-24 16:45:59 -0700117 <declare-styleable name="InsettableFrameLayout_Layout">
118 <attr name="layout_ignoreInsets" format="boolean" />
119 </declare-styleable>
Sunny Goyalf37a2142016-03-24 17:28:25 -0700120
Sunny Goyal415f1732018-11-29 10:33:47 -0800121 <declare-styleable name="GridDisplayOption">
Sunny Goyal819e1932016-07-07 16:43:58 -0700122 <attr name="name" format="string" />
Sunny Goyal819e1932016-07-07 16:43:58 -0700123
124 <attr name="numRows" format="integer" />
125 <attr name="numColumns" format="integer" />
126 <!-- numFolderRows & numFolderColumns defaults to numRows & numColumns, if not specified -->
127 <attr name="numFolderRows" format="integer" />
128 <attr name="numFolderColumns" format="integer" />
Sunny Goyal819e1932016-07-07 16:43:58 -0700129 <!-- numHotseatIcons defaults to numColumns, if not specified -->
130 <attr name="numHotseatIcons" format="integer" />
Tracy Zhou7df93d22020-01-27 13:44:06 -0800131 <attr name="dbFile" format="string" />
Sunny Goyal415f1732018-11-29 10:33:47 -0800132 <attr name="defaultLayoutId" format="reference" />
133 <attr name="demoModeLayoutId" format="reference" />
Jon Mirandae126d722021-02-25 10:45:20 -0500134 <attr name="isScalable" format="boolean" />
Jon Mirandac9e69fa2021-03-22 17:13:34 -0400135 <attr name="devicePaddingId" format="reference" />
Jon Mirandae126d722021-02-25 10:45:20 -0500136
Jon Mirandaec1277e2021-03-25 10:41:54 -0400137 <!-- whether the grid option is shown to the user -->
138 <attr name="visible" format="boolean" />
139
Sunny Goyal415f1732018-11-29 10:33:47 -0800140 </declare-styleable>
141
Jon Miranda228877d2021-02-09 11:05:00 -0500142 <declare-styleable name="DevicePadding">
143 <attr name="maxEmptySpace" format="dimension" />
144 </declare-styleable>
145
146 <declare-styleable name="DevicePaddingFormula">
147 <attr name="a" format="float|dimension" />
148 <attr name="b" format="float|dimension" />
149 <attr name="c" format="float|dimension" />
150 </declare-styleable>
151
Sunny Goyal415f1732018-11-29 10:33:47 -0800152 <declare-styleable name="ProfileDisplayOption">
153 <attr name="name" />
154 <attr name="minWidthDps" format="float" />
155 <attr name="minHeightDps" format="float" />
156
Jon Mirandae126d722021-02-25 10:45:20 -0500157 <!-- These min cell values are only used if GridDisplayOption#isScalable is true-->
158 <attr name="minCellHeightDps" format="float" />
159 <attr name="minCellWidthDps" format="float" />
160
161 <attr name="borderSpacingDps" format="float" />
162
Ryan Mitchell01b8b682019-03-28 17:01:07 -0700163 <attr name="iconImageSize" format="float" />
Jon Mirandab28c4fc2017-06-20 10:58:36 -0700164 <!-- landscapeIconSize defaults to iconSize, if not specified -->
165 <attr name="landscapeIconSize" format="float" />
Sunny Goyal819e1932016-07-07 16:43:58 -0700166 <attr name="iconTextSize" format="float" />
Andras Kloczl6057cb92021-04-07 13:45:17 +0200167 <!-- landscapeIconTextSize defaults to iconTextSize, if not specified -->
168 <attr name="landscapeIconTextSize" format="float" />
Sunny Goyal415f1732018-11-29 10:33:47 -0800169 <!-- If true, this display option is used to determine the default grid -->
170 <attr name="canBeDefault" format="boolean" />
Sunny Goyalae190ff2020-04-14 00:19:01 +0000171
172 <!-- The following values are only enabled if grid is supported. -->
173 <!-- allAppsIconSize defaults to iconSize, if not specified -->
174 <attr name="allAppsIconSize" format="float" />
175 <!-- allAppsIconTextSize defaults to iconTextSize, if not specified -->
176 <attr name="allAppsIconTextSize" format="float" />
Alex Chau7c439722021-03-24 11:32:44 +0000177
178 <!-- numAllAppsColumns defaults to GridDisplayOption.numColumns, if not specified -->
179 <attr name="numAllAppsColumns" format="integer" />
Tony Wickhamb87f3cd2021-04-07 15:02:37 -0700180
181 <!-- numShownHotseatIcons defaults to GridDisplayOption.numHotseatIcons, if not specified -->
182 <attr name="numShownHotseatIcons" format="integer" />
Sunny Goyal819e1932016-07-07 16:43:58 -0700183 </declare-styleable>
184
Sunny Goyalc13403c2016-11-18 23:44:48 -0800185 <declare-styleable name="CellLayout">
186 <attr name="containerType" format="integer">
187 <enum name="workspace" value="0" />
188 <enum name="hotseat" value="1" />
189 <enum name="folder" value="2" />
190 </attr>
191 </declare-styleable>
192
Sunny Goyalda1dfa32017-04-26 22:34:49 -0700193 <declare-styleable name="ShadowDrawable">
194 <attr name="android:src" />
195 <attr name="android:shadowColor" />
Sunny Goyal8b6ac002017-05-16 16:16:25 -0700196 <attr name="android:elevation" />
Samuel Fufa6e5efb02020-11-02 11:31:59 -0600197 <attr name="darkTintColor" format="color" />
Sunny Goyalda1dfa32017-04-26 22:34:49 -0700198 </declare-styleable>
Sunny Goyal89d5c5a2017-06-23 16:12:50 -0700199
200 <declare-styleable name="RecyclerViewFastScroller">
201 <attr name="canThumbDetach" format="boolean" />
202 </declare-styleable>
Sunny Goyal952e63d2017-08-16 04:59:08 -0700203
Sunny Goyalb694a692020-10-13 13:37:28 -0700204 <declare-styleable name="LoggablePref">
205 <attr name="android:key" />
206 <attr name="android:defaultValue" />
207 <!-- Ground truth of this Pref integer can be found in StatsLogManager -->
208 <attr name="logIdOn" format="integer" />
209 <attr name="logIdOff" format="integer" />
210 </declare-styleable>
211
Sunny Goyalef92b822018-11-21 14:12:00 -0800212 <declare-styleable name="PreviewFragment">
213 <attr name="android:name" />
214 <attr name="android:id" />
215 </declare-styleable>
Steven Nge92bc552021-02-10 17:10:15 +0000216
217 <declare-styleable name="WidgetsListRowHeader">
218 <attr name="appIconSize" format="dimension" />
219 </declare-styleable>
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800220</resources>