Samuel Fufa | 6e5efb0 | 2020-11-02 11:31:59 -0600 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?><!-- |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 2 | /* 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 Goyal | da1dfa3 | 2017-04-26 22:34:49 -0700 | [diff] [blame] | 18 | <resources xmlns:android="http://schemas.android.com/apk/res/android"> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 19 | |
Sunny Goyal | 368ae77 | 2017-05-24 13:19:15 -0700 | [diff] [blame] | 20 | <!-- Attributes used for launcher theme --> |
| 21 | <attr name="allAppsScrimColor" format="color" /> |
Samuel Fufa | 76b3340 | 2021-05-18 16:15:46 -0500 | [diff] [blame] | 22 | <attr name="allappsHeaderProtectionColor" format="color" /> |
Sunny Goyal | 81a70e5 | 2017-08-18 01:02:20 -0700 | [diff] [blame] | 23 | <attr name="allAppsNavBarScrimColor" format="color" /> |
Samuel Fufa | 61bc63a | 2020-06-05 12:17:16 -0700 | [diff] [blame] | 24 | <attr name="allAppsTheme" format="reference" /> |
Tony Wickham | 90038eb | 2017-06-06 15:42:32 -0700 | [diff] [blame] | 25 | <attr name="popupColorPrimary" format="color" /> |
| 26 | <attr name="popupColorSecondary" format="color" /> |
| 27 | <attr name="popupColorTertiary" format="color" /> |
Jon Miranda | 6a936e3 | 2021-06-24 10:58:56 -0700 | [diff] [blame] | 28 | <attr name="popupShadeFirst" format="color" /> |
| 29 | <attr name="popupShadeSecond" format="color" /> |
| 30 | <attr name="popupShadeThird" format="color" /> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 31 | <attr name="isMainColorDark" format="boolean" /> |
| 32 | <attr name="isWorkspaceDarkText" format="boolean" /> |
| 33 | <attr name="workspaceTextColor" format="color" /> |
| 34 | <attr name="workspaceShadowColor" format="color" /> |
Samuel Fufa | 6e5efb0 | 2020-11-02 11:31:59 -0600 | [diff] [blame] | 35 | <attr name="workspaceAmbientShadowColor" format="color" /> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 36 | <attr name="workspaceKeyShadowColor" format="color" /> |
| 37 | <attr name="workspaceStatusBarScrim" format="reference" /> |
Tony Wickham | 093c3ac | 2017-06-26 10:48:41 -0700 | [diff] [blame] | 38 | <attr name="widgetsTheme" format="reference" /> |
Samuel Fufa | 6e5efb0 | 2020-11-02 11:31:59 -0600 | [diff] [blame] | 39 | <attr name="iconOnlyShortcutColor" format="color" /> |
| 40 | <attr name="eduHalfSheetBGColor" format="color" /> |
Zak Cohen | 4d35ac3 | 2021-04-23 16:28:12 -0700 | [diff] [blame] | 41 | <attr name="overviewScrimColor" format="color" /> |
Jon Miranda | 313b2c2 | 2021-06-17 12:35:43 -0700 | [diff] [blame] | 42 | <attr name="popupNotificationDotColor" format="color" /> |
Sunny Goyal | 368ae77 | 2017-05-24 13:19:15 -0700 | [diff] [blame] | 43 | |
Sunny Goyal | 9fc5ae7 | 2019-01-03 16:47:18 -0800 | [diff] [blame] | 44 | <attr name="folderDotColor" format="color" /> |
Brian Isganitis | cbaf149 | 2021-08-04 21:45:15 -0400 | [diff] [blame] | 45 | <attr name="folderPaginationColor" format="color" /> |
Jon Miranda | b77878e | 2021-10-06 16:57:33 -0700 | [diff] [blame] | 46 | <attr name="folderPreviewColor" format="color" /> |
| 47 | <attr name="folderBackgroundColor" format="color" /> |
Sunny Goyal | 9fc5ae7 | 2019-01-03 16:47:18 -0800 | [diff] [blame] | 48 | <attr name="folderIconRadius" format="float" /> |
Sunny Goyal | bcadb7f | 2019-02-05 14:45:31 -0800 | [diff] [blame] | 49 | <attr name="folderIconBorderColor" format="color" /> |
Hyunyoung Song | e751d90 | 2019-05-13 23:23:05 -0700 | [diff] [blame] | 50 | <attr name="folderTextColor" format="color" /> |
Samuel Fufa | 7315bdd | 2020-02-03 18:56:54 -0800 | [diff] [blame] | 51 | <attr name="folderHintColor" format="color" /> |
Jon Miranda | 7bbd031 | 2021-05-11 17:01:13 -0700 | [diff] [blame] | 52 | <attr name="isFolderDarkText" format="boolean" /> |
Samuel Fufa | ea4dcf4 | 2020-02-04 12:08:11 -0800 | [diff] [blame] | 53 | <attr name="workProfileOverlayTextColor" format="color" /> |
Yogisha Dixit | c0ac1dd | 2021-05-29 00:26:25 +0100 | [diff] [blame] | 54 | <attr name="workspaceAccentColor" format="color" /> |
| 55 | <attr name="dropTargetHoverTextColor" format="color" /> |
Sunny Goyal | 9fc5ae7 | 2019-01-03 16:47:18 -0800 | [diff] [blame] | 56 | |
Jon Miranda | 48a2f7a | 2022-02-16 17:32:31 -0800 | [diff] [blame] | 57 | <attr name="allAppsButtonBgColor" format="color" /> |
| 58 | <attr name="allAppsButtonColor1" format="color" /> |
| 59 | <attr name="allAppsButtonColor2" format="color" /> |
| 60 | <attr name="allAppsButtonColor3" format="color" /> |
| 61 | <attr name="allAppsButtonColor4" format="color" /> |
| 62 | |
Winson Chung | b745afb | 2015-03-02 11:51:23 -0800 | [diff] [blame] | 63 | <!-- BubbleTextView specific attributes. --> |
| 64 | <declare-styleable name="BubbleTextView"> |
| 65 | <attr name="layoutHorizontal" format="boolean" /> |
| 66 | <attr name="iconSizeOverride" format="dimension" /> |
Sunny Goyal | dfaccf6 | 2015-05-11 16:30:44 -0700 | [diff] [blame] | 67 | <attr name="iconDisplay" format="integer"> |
| 68 | <enum name="workspace" value="0" /> |
| 69 | <enum name="all_apps" value="1" /> |
Sunny Goyal | baec6ff | 2016-09-14 11:26:21 -0700 | [diff] [blame] | 70 | <enum name="folder" value="2" /> |
| 71 | <enum name="widget_section" value="3" /> |
Jon Miranda | 93e1f04 | 2016-11-11 14:13:04 -0800 | [diff] [blame] | 72 | <enum name="shortcut_popup" value="4" /> |
Hyunyoung Song | e3d32b5 | 2021-06-03 21:20:18 -0700 | [diff] [blame] | 73 | <enum name="taskbar" value="5" /> |
| 74 | <enum name="search_result_tall" value="6" /> |
| 75 | <enum name="search_result_small" value="7" /> |
Sunny Goyal | dfaccf6 | 2015-05-11 16:30:44 -0700 | [diff] [blame] | 76 | </attr> |
Winson | 1f06427 | 2016-07-18 17:18:02 -0700 | [diff] [blame] | 77 | <attr name="centerVertically" format="boolean" /> |
Sunny Goyal | 9314b7c | 2017-06-23 10:36:27 -0700 | [diff] [blame] | 78 | </declare-styleable> |
| 79 | |
Sunny Goyal | bcadb7f | 2019-02-05 14:45:31 -0800 | [diff] [blame] | 80 | <!-- BubbleTextView specific attributes. --> |
| 81 | <declare-styleable name="FolderIconPreview"> |
Jon Miranda | b77878e | 2021-10-06 16:57:33 -0700 | [diff] [blame] | 82 | <attr name="folderPreviewColor" /> |
Sunny Goyal | bcadb7f | 2019-02-05 14:45:31 -0800 | [diff] [blame] | 83 | <attr name="folderIconBorderColor" /> |
| 84 | <attr name="folderDotColor" /> |
| 85 | </declare-styleable> |
| 86 | |
Samuel Fufa | 6e5efb0 | 2020-11-02 11:31:59 -0600 | [diff] [blame] | 87 | <declare-styleable name="SearchResultSuggestion"> |
Samuel Fufa | 4b7f38b | 2020-10-06 18:37:46 -0700 | [diff] [blame] | 88 | <attr name="customIcon" format="reference" /> |
| 89 | <attr name="matchTextInsetWithQuery" format="boolean" /> |
| 90 | </declare-styleable> |
| 91 | |
| 92 | |
Sunny Goyal | 9314b7c | 2017-06-23 10:36:27 -0700 | [diff] [blame] | 93 | <declare-styleable name="ShadowInfo"> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 94 | <attr name="ambientShadowColor" format="color" /> |
Sunny Goyal | 9314b7c | 2017-06-23 10:36:27 -0700 | [diff] [blame] | 95 | <attr name="ambientShadowBlur" format="dimension" /> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 96 | <attr name="keyShadowColor" format="color" /> |
Sunny Goyal | 9314b7c | 2017-06-23 10:36:27 -0700 | [diff] [blame] | 97 | <attr name="keyShadowBlur" format="dimension" /> |
Shan Huang | 5620c75 | 2021-04-16 21:33:39 +0800 | [diff] [blame] | 98 | <attr name="keyShadowOffsetX" format="dimension" /> |
| 99 | <attr name="keyShadowOffsetY" format="dimension" /> |
Winson Chung | b745afb | 2015-03-02 11:51:23 -0800 | [diff] [blame] | 100 | </declare-styleable> |
| 101 | |
Winson Chung | 321e9ee | 2010-08-09 13:37:56 -0700 | [diff] [blame] | 102 | <!-- PagedView specific attributes. These attributes are used to customize |
| 103 | a PagedView view in XML files. --> |
| 104 | <declare-styleable name="PagedView"> |
Winson Chung | d2be381 | 2013-07-16 11:11:32 -0700 | [diff] [blame] | 105 | <!-- The page indicator for this workspace --> |
| 106 | <attr name="pageIndicator" format="reference" /> |
Winson Chung | 321e9ee | 2010-08-09 13:37:56 -0700 | [diff] [blame] | 107 | </declare-styleable> |
| 108 | |
The Android Open Source Project | f96811c | 2009-03-18 17:39:48 -0700 | [diff] [blame] | 109 | <!-- XML attributes used by default_workspace.xml --> |
| 110 | <declare-styleable name="Favorite"> |
| 111 | <attr name="className" format="string" /> |
| 112 | <attr name="packageName" format="string" /> |
Winson Chung | 3d503fb | 2011-07-13 17:25:49 -0700 | [diff] [blame] | 113 | <attr name="container" format="string" /> |
The Android Open Source Project | f96811c | 2009-03-18 17:39:48 -0700 | [diff] [blame] | 114 | <attr name="screen" format="string" /> |
| 115 | <attr name="x" format="string" /> |
| 116 | <attr name="y" format="string" /> |
Mike Cleron | b87bd16 | 2009-10-30 16:36:56 -0700 | [diff] [blame] | 117 | <attr name="spanX" format="string" /> |
| 118 | <attr name="spanY" format="string" /> |
Sunny Goyal | eba87b1 | 2016-02-26 09:44:27 -0800 | [diff] [blame] | 119 | <attr name="icon" format="reference" /> |
| 120 | <attr name="title" format="string" /> |
Mike Cleron | b87bd16 | 2009-10-30 16:36:56 -0700 | [diff] [blame] | 121 | <attr name="uri" format="string" /> |
The Android Open Source Project | f96811c | 2009-03-18 17:39:48 -0700 | [diff] [blame] | 122 | </declare-styleable> |
Adam Cohen | cee8c66 | 2014-10-16 09:49:52 -0700 | [diff] [blame] | 123 | |
Winson Chung | b3302ae | 2012-05-01 10:19:14 -0700 | [diff] [blame] | 124 | <declare-styleable name="Extra"> |
| 125 | <attr name="key" format="string" /> |
| 126 | <attr name="value" format="string" /> |
| 127 | </declare-styleable> |
Daniel Sandler | 57dac26 | 2013-10-03 13:28:36 -0400 | [diff] [blame] | 128 | <declare-styleable name="Include"> |
| 129 | <attr name="workspace" format="reference" /> |
Adam Cohen | cee8c66 | 2014-10-16 09:49:52 -0700 | [diff] [blame] | 130 | <attr name="folderItems" format="reference" /> |
Daniel Sandler | 57dac26 | 2013-10-03 13:28:36 -0400 | [diff] [blame] | 131 | </declare-styleable> |
Winson Chung | 2816ca5 | 2012-05-23 15:14:34 -0700 | [diff] [blame] | 132 | |
Adam Cohen | be25822 | 2014-10-24 16:45:59 -0700 | [diff] [blame] | 133 | <declare-styleable name="InsettableFrameLayout_Layout"> |
| 134 | <attr name="layout_ignoreInsets" format="boolean" /> |
| 135 | </declare-styleable> |
Sunny Goyal | f37a214 | 2016-03-24 17:28:25 -0700 | [diff] [blame] | 136 | |
Sunny Goyal | 415f173 | 2018-11-29 10:33:47 -0800 | [diff] [blame] | 137 | <declare-styleable name="GridDisplayOption"> |
Sunny Goyal | 819e193 | 2016-07-07 16:43:58 -0700 | [diff] [blame] | 138 | <attr name="name" format="string" /> |
Sunny Goyal | 819e193 | 2016-07-07 16:43:58 -0700 | [diff] [blame] | 139 | |
| 140 | <attr name="numRows" format="integer" /> |
| 141 | <attr name="numColumns" format="integer" /> |
Alex Chau | 9fee3fd | 2021-12-01 18:43:10 +0000 | [diff] [blame] | 142 | <!-- numSearchContainerColumns defaults to numColumns, if not specified --> |
| 143 | <attr name="numSearchContainerColumns" format="integer" /> |
Sunny Goyal | 819e193 | 2016-07-07 16:43:58 -0700 | [diff] [blame] | 144 | <!-- numFolderRows & numFolderColumns defaults to numRows & numColumns, if not specified --> |
| 145 | <attr name="numFolderRows" format="integer" /> |
| 146 | <attr name="numFolderColumns" format="integer" /> |
Sunny Goyal | 19ff728 | 2021-04-22 10:12:54 -0700 | [diff] [blame] | 147 | <!-- numAllAppsColumns defaults to numColumns, if not specified --> |
| 148 | <attr name="numAllAppsColumns" format="integer" /> |
| 149 | <!-- Number of columns to use when extending the all-apps size, |
| 150 | defaults to 2 * numAllAppsColumns --> |
| 151 | <attr name="numExtendedAllAppsColumns" format="integer" /> |
| 152 | |
Sunny Goyal | 819e193 | 2016-07-07 16:43:58 -0700 | [diff] [blame] | 153 | <!-- numHotseatIcons defaults to numColumns, if not specified --> |
| 154 | <attr name="numHotseatIcons" format="integer" /> |
Alex Chau | 6ed408f | 2022-03-04 12:58:05 +0000 | [diff] [blame] | 155 | <!-- Number of icons to use when shrinking the hotseat size, |
| 156 | defaults to numHotseatIcons / 2 --> |
| 157 | <attr name="numShrunkenHotseatIcons" format="integer" /> |
Sunny Goyal | 19ff728 | 2021-04-22 10:12:54 -0700 | [diff] [blame] | 158 | <!-- Number of icons to use when extending the hotseat size, |
| 159 | defaults to 2 * numHotseatIcons --> |
| 160 | <attr name="numExtendedHotseatIcons" format="integer" /> |
| 161 | |
Tracy Zhou | 7df93d2 | 2020-01-27 13:44:06 -0800 | [diff] [blame] | 162 | <attr name="dbFile" format="string" /> |
Sunny Goyal | 415f173 | 2018-11-29 10:33:47 -0800 | [diff] [blame] | 163 | <attr name="defaultLayoutId" format="reference" /> |
Alex Chau | 1e44846 | 2021-08-13 21:48:35 +0100 | [diff] [blame] | 164 | <attr name="defaultSplitDisplayLayoutId" format="reference" /> |
Sunny Goyal | 415f173 | 2018-11-29 10:33:47 -0800 | [diff] [blame] | 165 | <attr name="demoModeLayoutId" format="reference" /> |
Jon Miranda | e126d72 | 2021-02-25 10:45:20 -0500 | [diff] [blame] | 166 | <attr name="isScalable" format="boolean" /> |
Jon Miranda | c9e69fa | 2021-03-22 17:13:34 -0400 | [diff] [blame] | 167 | <attr name="devicePaddingId" format="reference" /> |
Alex Chau | 1c883d8 | 2021-12-01 18:43:10 +0000 | [diff] [blame] | 168 | <!-- By default all categories are enabled --> |
| 169 | <attr name="deviceCategory" format="integer" > |
| 170 | <!-- Enable on phone only --> |
| 171 | <flag name="phone" value="1" /> |
| 172 | <!-- Enable on tablets only --> |
| 173 | <flag name="tablet" value="2" /> |
| 174 | <!-- Enable on multi display devices only --> |
| 175 | <flag name="multi_display" value="4" /> |
| 176 | </attr> |
Jon Miranda | e126d72 | 2021-02-25 10:45:20 -0500 | [diff] [blame] | 177 | |
Sunny Goyal | 415f173 | 2018-11-29 10:33:47 -0800 | [diff] [blame] | 178 | </declare-styleable> |
| 179 | |
Jon Miranda | 228877d | 2021-02-09 11:05:00 -0500 | [diff] [blame] | 180 | <declare-styleable name="DevicePadding"> |
| 181 | <attr name="maxEmptySpace" format="dimension" /> |
| 182 | </declare-styleable> |
| 183 | |
| 184 | <declare-styleable name="DevicePaddingFormula"> |
| 185 | <attr name="a" format="float|dimension" /> |
| 186 | <attr name="b" format="float|dimension" /> |
| 187 | <attr name="c" format="float|dimension" /> |
| 188 | </declare-styleable> |
| 189 | |
Sunny Goyal | 415f173 | 2018-11-29 10:33:47 -0800 | [diff] [blame] | 190 | <declare-styleable name="ProfileDisplayOption"> |
| 191 | <attr name="name" /> |
| 192 | <attr name="minWidthDps" format="float" /> |
| 193 | <attr name="minHeightDps" format="float" /> |
| 194 | |
Thales Lima | d90faab | 2021-09-21 17:18:47 +0100 | [diff] [blame] | 195 | <!-- These min cell values are only used if GridDisplayOption#isScalable is true --> |
Thales Lima | 85c942f | 2021-12-31 13:04:20 +0000 | [diff] [blame] | 196 | <attr name="minCellHeight" format="float" /> |
| 197 | <attr name="minCellWidth" format="float" /> |
| 198 | <!-- defaults to minCellHeight, if not specified --> |
Thales Lima | dd02734 | 2022-01-07 12:54:37 +0000 | [diff] [blame] | 199 | <attr name="minCellHeightLandscape" format="float" /> |
| 200 | <!-- defaults to minCellWidth, if not specified --> |
| 201 | <attr name="minCellWidthLandscape" format="float" /> |
| 202 | <!-- defaults to minCellHeight, if not specified --> |
Thales Lima | 85c942f | 2021-12-31 13:04:20 +0000 | [diff] [blame] | 203 | <attr name="minCellHeightTwoPanelPortrait" format="float" /> |
| 204 | <!-- defaults to minCellWidth, if not specified --> |
| 205 | <attr name="minCellWidthTwoPanelPortrait" format="float" /> |
| 206 | <!-- defaults to minCellHeight, if not specified --> |
| 207 | <attr name="minCellHeightTwoPanelLandscape" format="float" /> |
| 208 | <!-- defaults to minCellWidth, if not specified --> |
| 209 | <attr name="minCellWidthTwoPanelLandscape" format="float" /> |
Jon Miranda | e126d72 | 2021-02-25 10:45:20 -0500 | [diff] [blame] | 210 | |
Thales Lima | 78d00ad | 2021-09-30 11:29:06 +0100 | [diff] [blame] | 211 | <!-- These border spaces are only used if GridDisplayOption#isScalable is true --> |
| 212 | <!-- space to be used horizontally and vertically --> |
Thales Lima | 85c942f | 2021-12-31 13:04:20 +0000 | [diff] [blame] | 213 | <attr name="borderSpace" format="float" /> |
| 214 | <!-- space to the right of the cell, defaults to borderSpace if not specified --> |
| 215 | <attr name="borderSpaceHorizontal" format="float" /> |
| 216 | <!-- space below the cell, defaults to borderSpace if not specified --> |
| 217 | <attr name="borderSpaceVertical" format="float" /> |
Thales Lima | 44cc3a2 | 2022-03-18 14:28:24 +0000 | [diff] [blame] | 218 | <!-- space to be used horizontally and vertically, |
| 219 | defaults to borderSpace if not specified --> |
| 220 | <attr name="borderSpaceLandscape" format="float" /> |
| 221 | <!-- space to the right of the cell, defaults to borderSpaceLandscape if not specified --> |
| 222 | <attr name="borderSpaceLandscapeHorizontal" format="float" /> |
| 223 | <!-- space below the cell, defaults to borderSpaceLandscape if not specified --> |
| 224 | <attr name="borderSpaceLandscapeVertical" format="float" /> |
Thales Lima | 78d00ad | 2021-09-30 11:29:06 +0100 | [diff] [blame] | 225 | <!-- space to be used horizontally and vertically in two panels, |
Thales Lima | 85c942f | 2021-12-31 13:04:20 +0000 | [diff] [blame] | 226 | defaults to borderSpace if not specified --> |
| 227 | <attr name="borderSpaceTwoPanelPortrait" format="float" /> |
Thales Lima | 78d00ad | 2021-09-30 11:29:06 +0100 | [diff] [blame] | 228 | <!-- space to the right of the cell in two panels, defaults to |
Thales Lima | 85c942f | 2021-12-31 13:04:20 +0000 | [diff] [blame] | 229 | borderSpaceTwoPanelPortrait if not specified --> |
| 230 | <attr name="borderSpaceTwoPanelPortraitHorizontal" format="float" /> |
| 231 | <!-- space below the cell in two panels, defaults to borderSpaceTwoPanelPortrait |
Thales Lima | 78d00ad | 2021-09-30 11:29:06 +0100 | [diff] [blame] | 232 | if not specified --> |
Thales Lima | 85c942f | 2021-12-31 13:04:20 +0000 | [diff] [blame] | 233 | <attr name="borderSpaceTwoPanelPortraitVertical" format="float" /> |
Thales Lima | 78d00ad | 2021-09-30 11:29:06 +0100 | [diff] [blame] | 234 | <!-- space to be used horizontally and vertically in two panels, |
Thales Lima | 85c942f | 2021-12-31 13:04:20 +0000 | [diff] [blame] | 235 | defaults to borderSpace if not specified --> |
| 236 | <attr name="borderSpaceTwoPanelLandscape" format="float" /> |
Thales Lima | 78d00ad | 2021-09-30 11:29:06 +0100 | [diff] [blame] | 237 | <!-- space to the right of the cell in two panels, defaults to |
Thales Lima | 85c942f | 2021-12-31 13:04:20 +0000 | [diff] [blame] | 238 | borderSpaceTwoPanelLandscape if not specified --> |
| 239 | <attr name="borderSpaceTwoPanelLandscapeHorizontal" format="float" /> |
| 240 | <!-- space below the cell in two panels, defaults to borderSpaceTwoPanelLandscape |
Thales Lima | 78d00ad | 2021-09-30 11:29:06 +0100 | [diff] [blame] | 241 | if not specified --> |
Thales Lima | 85c942f | 2021-12-31 13:04:20 +0000 | [diff] [blame] | 242 | <attr name="borderSpaceTwoPanelLandscapeVertical" format="float" /> |
Thales Lima | 78d00ad | 2021-09-30 11:29:06 +0100 | [diff] [blame] | 243 | |
Thales Lima | b7ef569 | 2022-03-10 10:32:36 +0000 | [diff] [blame^] | 244 | <!-- These min cell values are only used if GridDisplayOption#isScalable is true --> |
| 245 | <!-- defaults to minCellHeight, if not specified --> |
| 246 | <attr name="allAppsCellHeight" format="float" /> |
| 247 | <!-- defaults to minCellWidth, if not specified --> |
| 248 | <attr name="allAppsCellWidth" format="float" /> |
| 249 | <!-- defaults to allAppsCellHeight, if not specified --> |
| 250 | <attr name="allAppsCellHeightLandscape" format="float" /> |
| 251 | <!-- defaults to allAppsCellWidth, if not specified --> |
| 252 | <attr name="allAppsCellWidthLandscape" format="float" /> |
| 253 | <!-- defaults to allAppsCellHeight, if not specified --> |
| 254 | <attr name="allAppsCellHeightTwoPanelPortrait" format="float" /> |
| 255 | <!-- defaults to allAppsCellWidth, if not specified --> |
| 256 | <attr name="allAppsCellWidthTwoPanelPortrait" format="float" /> |
| 257 | <!-- defaults to allAppsCellHeight, if not specified --> |
| 258 | <attr name="allAppsCellHeightTwoPanelLandscape" format="float" /> |
| 259 | <!-- defaults to allAppsCellWidth, if not specified --> |
| 260 | <attr name="allAppsCellWidthTwoPanelLandscape" format="float" /> |
Thales Lima | 85c942f | 2021-12-31 13:04:20 +0000 | [diff] [blame] | 261 | <!-- defaults to borderSpace, if not specified --> |
| 262 | <attr name="allAppsBorderSpace" format="float" /> |
Thales Lima | bb7d388 | 2021-12-22 12:56:29 +0000 | [diff] [blame] | 263 | <!-- defaults to allAppsBorderSpace, if not specified --> |
Thales Lima | b7ef569 | 2022-03-10 10:32:36 +0000 | [diff] [blame^] | 264 | <attr name="allAppsBorderSpaceLandscape" format="float" /> |
| 265 | <!-- defaults to allAppsBorderSpace, if not specified --> |
Thales Lima | bb7d388 | 2021-12-22 12:56:29 +0000 | [diff] [blame] | 266 | <attr name="allAppsBorderSpaceTwoPanelPortrait" format="float" /> |
| 267 | <!-- defaults to allAppsBorderSpace, if not specified --> |
| 268 | <attr name="allAppsBorderSpaceTwoPanelLandscape" format="float" /> |
Thales Lima | 83bedbf | 2021-10-05 17:47:39 +0100 | [diff] [blame] | 269 | <!-- The following values are only enabled if grid is supported. --> |
Thales Lima | 85c942f | 2021-12-31 13:04:20 +0000 | [diff] [blame] | 270 | <!-- defaults to iconImageSize, if not specified --> |
Thales Lima | 83bedbf | 2021-10-05 17:47:39 +0100 | [diff] [blame] | 271 | <attr name="allAppsIconSize" format="float" /> |
Thales Lima | bb7d388 | 2021-12-22 12:56:29 +0000 | [diff] [blame] | 272 | <!-- defaults to allAppsIconSize, if not specified --> |
| 273 | <attr name="allAppsIconSizeTwoPanelPortrait" format="float" /> |
| 274 | <!-- defaults to allAppsIconSize, if not specified --> |
| 275 | <attr name="allAppsIconSizeTwoPanelLandscape" format="float" /> |
Thales Lima | 85c942f | 2021-12-31 13:04:20 +0000 | [diff] [blame] | 276 | <!-- defaults to iconTextSize, if not specified --> |
Thales Lima | 83bedbf | 2021-10-05 17:47:39 +0100 | [diff] [blame] | 277 | <attr name="allAppsIconTextSize" format="float" /> |
Thales Lima | bb7d388 | 2021-12-22 12:56:29 +0000 | [diff] [blame] | 278 | <!-- defaults to allAppsIconTextSize, if not specified --> |
| 279 | <attr name="allAppsIconTextSizeTwoPanelPortrait" format="float" /> |
| 280 | <!-- defaults to allAppsIconTextSize, if not specified --> |
| 281 | <attr name="allAppsIconTextSizeTwoPanelLandscape" format="float" /> |
sfufa@google.com | de01329 | 2021-09-21 18:22:44 -0700 | [diff] [blame] | 282 | |
Thales Lima | 6e7f36c | 2022-01-04 12:14:11 +0000 | [diff] [blame] | 283 | <!-- defaults to borderSpaceDps, if not specified --> |
| 284 | <attr name="hotseatBorderSpace" format="float" /> |
| 285 | <!-- defaults to hotseatBorderSpace, if not specified --> |
Thales Lima | dd02734 | 2022-01-07 12:54:37 +0000 | [diff] [blame] | 286 | <attr name="hotseatBorderSpaceLandscape" format="float" /> |
| 287 | <!-- defaults to hotseatBorderSpace, if not specified --> |
Thales Lima | 6e7f36c | 2022-01-04 12:14:11 +0000 | [diff] [blame] | 288 | <attr name="hotseatBorderSpaceTwoPanelLandscape" format="float" /> |
| 289 | <!-- defaults to hotseatBorderSpace, if not specified --> |
| 290 | <attr name="hotseatBorderSpaceTwoPanelPortrait" format="float" /> |
| 291 | |
Ryan Mitchell | 01b8b68 | 2019-03-28 17:01:07 -0700 | [diff] [blame] | 292 | <attr name="iconImageSize" format="float" /> |
Thales Lima | 85c942f | 2021-12-31 13:04:20 +0000 | [diff] [blame] | 293 | <!-- defaults to iconImageSize, if not specified --> |
| 294 | <attr name="iconSizeLandscape" format="float" /> |
| 295 | <!-- defaults to iconSize, if not specified --> |
| 296 | <attr name="iconSizeTwoPanelPortrait" format="float" /> |
| 297 | <!-- defaults to iconSize, if not specified --> |
| 298 | <attr name="iconSizeTwoPanelLandscape" format="float" /> |
Andras Kloczl | 30fe915 | 2021-08-05 18:02:29 +0200 | [diff] [blame] | 299 | |
Sunny Goyal | 819e193 | 2016-07-07 16:43:58 -0700 | [diff] [blame] | 300 | <attr name="iconTextSize" format="float" /> |
Thales Lima | 85c942f | 2021-12-31 13:04:20 +0000 | [diff] [blame] | 301 | <!-- defaults to iconTextSize, if not specified --> |
| 302 | <attr name="iconTextSizeLandscape" format="float" /> |
| 303 | <!-- defaults to iconTextSize, if not specified --> |
| 304 | <attr name="iconTextSizeTwoPanelPortrait" format="float" /> |
| 305 | <!-- defaults to iconTextSize, if not specified --> |
| 306 | <attr name="iconTextSizeTwoPanelLandscape" format="float" /> |
Sunny Goyal | 19ff728 | 2021-04-22 10:12:54 -0700 | [diff] [blame] | 307 | |
| 308 | <!-- If set, this display option is used to determine the default grid --> |
Thales Lima | 1de4d55 | 2021-10-13 16:13:25 +0100 | [diff] [blame] | 309 | <attr name="canBeDefault" format="boolean" /> |
Sunny Goyal | ae190ff | 2020-04-14 00:19:01 +0000 | [diff] [blame] | 310 | |
Thales Lima | d90faab | 2021-09-21 17:18:47 +0100 | [diff] [blame] | 311 | <!-- Margin on left and right of the workspace when GridDisplayOption#isScalable is true --> |
| 312 | <attr name="horizontalMargin" format="float"/> |
Thales Lima | 85c942f | 2021-12-31 13:04:20 +0000 | [diff] [blame] | 313 | <!-- defaults to horizontalMargin if not specified --> |
Thales Lima | dd02734 | 2022-01-07 12:54:37 +0000 | [diff] [blame] | 314 | <attr name="horizontalMarginLandscape" format="float"/> |
| 315 | <!-- defaults to horizontalMargin if not specified --> |
Thales Lima | 85c942f | 2021-12-31 13:04:20 +0000 | [diff] [blame] | 316 | <attr name="horizontalMarginTwoPanelLandscape" format="float"/> |
| 317 | <!-- defaults to horizontalMargin if not specified --> |
| 318 | <attr name="horizontalMarginTwoPanelPortrait" format="float"/> |
Sunny Goyal | 819e193 | 2016-07-07 16:43:58 -0700 | [diff] [blame] | 319 | </declare-styleable> |
| 320 | |
Sunny Goyal | c13403c | 2016-11-18 23:44:48 -0800 | [diff] [blame] | 321 | <declare-styleable name="CellLayout"> |
| 322 | <attr name="containerType" format="integer"> |
| 323 | <enum name="workspace" value="0" /> |
| 324 | <enum name="hotseat" value="1" /> |
| 325 | <enum name="folder" value="2" /> |
| 326 | </attr> |
| 327 | </declare-styleable> |
| 328 | |
Sunny Goyal | da1dfa3 | 2017-04-26 22:34:49 -0700 | [diff] [blame] | 329 | <declare-styleable name="ShadowDrawable"> |
| 330 | <attr name="android:src" /> |
| 331 | <attr name="android:shadowColor" /> |
Sunny Goyal | 8b6ac00 | 2017-05-16 16:16:25 -0700 | [diff] [blame] | 332 | <attr name="android:elevation" /> |
Samuel Fufa | 6e5efb0 | 2020-11-02 11:31:59 -0600 | [diff] [blame] | 333 | <attr name="darkTintColor" format="color" /> |
Sunny Goyal | da1dfa3 | 2017-04-26 22:34:49 -0700 | [diff] [blame] | 334 | </declare-styleable> |
Sunny Goyal | 89d5c5a | 2017-06-23 16:12:50 -0700 | [diff] [blame] | 335 | |
| 336 | <declare-styleable name="RecyclerViewFastScroller"> |
| 337 | <attr name="canThumbDetach" format="boolean" /> |
| 338 | </declare-styleable> |
Sunny Goyal | 952e63d | 2017-08-16 04:59:08 -0700 | [diff] [blame] | 339 | |
Sunny Goyal | b694a69 | 2020-10-13 13:37:28 -0700 | [diff] [blame] | 340 | <declare-styleable name="LoggablePref"> |
| 341 | <attr name="android:key" /> |
| 342 | <attr name="android:defaultValue" /> |
| 343 | <!-- Ground truth of this Pref integer can be found in StatsLogManager --> |
| 344 | <attr name="logIdOn" format="integer" /> |
| 345 | <attr name="logIdOff" format="integer" /> |
| 346 | </declare-styleable> |
| 347 | |
Sunny Goyal | ef92b82 | 2018-11-21 14:12:00 -0800 | [diff] [blame] | 348 | <declare-styleable name="PreviewFragment"> |
| 349 | <attr name="android:name" /> |
| 350 | <attr name="android:id" /> |
| 351 | </declare-styleable> |
Steven Ng | e92bc55 | 2021-02-10 17:10:15 +0000 | [diff] [blame] | 352 | |
| 353 | <declare-styleable name="WidgetsListRowHeader"> |
| 354 | <attr name="appIconSize" format="dimension" /> |
| 355 | </declare-styleable> |
Steven Ng | 43859f1 | 2021-09-24 12:39:55 +0100 | [diff] [blame] | 356 | |
| 357 | <declare-styleable name="WidgetSections"> |
| 358 | <!-- Component name of an app widget provider. --> |
| 359 | <attr name="provider" format="string" /> |
| 360 | <!-- If true, keep the app widget under its app listing in addition to the widget category |
| 361 | in the widget picker. Defaults to false if not specified. --> |
| 362 | <attr name="alsoKeepInApp" format="boolean" /> |
| 363 | <!-- The category of an app widget provider. Defaults to -1 if not specified. --> |
| 364 | <attr name="category" format="integer" /> |
| 365 | <!-- The title name of a widget category. --> |
| 366 | <attr name="sectionTitle" format="reference" /> |
| 367 | <!-- The icon drawable of a widget category. --> |
| 368 | <attr name="sectionDrawable" format="reference" /> |
| 369 | </declare-styleable> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 370 | </resources> |