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" /> |
Andy Wickham | ccb3a5c | 2025-03-11 05:41:22 +0000 | [diff] [blame] | 22 | <attr name="allAppsScrimColorOverBlur" format="color" /> |
Samuel Fufa | 76b3340 | 2021-05-18 16:15:46 -0500 | [diff] [blame] | 23 | <attr name="allappsHeaderProtectionColor" format="color" /> |
Sunny Goyal | 81a70e5 | 2017-08-18 01:02:20 -0700 | [diff] [blame] | 24 | <attr name="allAppsNavBarScrimColor" format="color" /> |
Samuel Fufa | 61bc63a | 2020-06-05 12:17:16 -0700 | [diff] [blame] | 25 | <attr name="allAppsTheme" format="reference" /> |
Tony Wickham | 90038eb | 2017-06-06 15:42:32 -0700 | [diff] [blame] | 26 | <attr name="popupColorPrimary" format="color" /> |
| 27 | <attr name="popupColorSecondary" format="color" /> |
| 28 | <attr name="popupColorTertiary" format="color" /> |
fbaron | 1a76d5c | 2023-05-10 16:29:17 -0700 | [diff] [blame] | 29 | <attr name="popupTextColor" format="color" /> |
Jon Miranda | 6a936e3 | 2021-06-24 10:58:56 -0700 | [diff] [blame] | 30 | <attr name="popupShadeFirst" format="color" /> |
| 31 | <attr name="popupShadeSecond" format="color" /> |
| 32 | <attr name="popupShadeThird" format="color" /> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 33 | <attr name="isMainColorDark" format="boolean" /> |
| 34 | <attr name="isWorkspaceDarkText" format="boolean" /> |
| 35 | <attr name="workspaceTextColor" format="color" /> |
| 36 | <attr name="workspaceShadowColor" format="color" /> |
Samuel Fufa | 6e5efb0 | 2020-11-02 11:31:59 -0600 | [diff] [blame] | 37 | <attr name="workspaceAmbientShadowColor" format="color" /> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 38 | <attr name="workspaceKeyShadowColor" format="color" /> |
Tony Wickham | 093c3ac | 2017-06-26 10:48:41 -0700 | [diff] [blame] | 39 | <attr name="widgetsTheme" format="reference" /> |
Samuel Fufa | 6e5efb0 | 2020-11-02 11:31:59 -0600 | [diff] [blame] | 40 | <attr name="iconOnlyShortcutColor" format="color" /> |
| 41 | <attr name="eduHalfSheetBGColor" format="color" /> |
Zak Cohen | 4d35ac3 | 2021-04-23 16:28:12 -0700 | [diff] [blame] | 42 | <attr name="overviewScrimColor" format="color" /> |
vinayjoglekar | 7d27140 | 2025-03-24 16:39:59 +0530 | [diff] [blame] | 43 | <attr name="overviewScrimColorOverBlur" format="color" /> |
Jon Miranda | 313b2c2 | 2021-06-17 12:35:43 -0700 | [diff] [blame] | 44 | <attr name="popupNotificationDotColor" format="color" /> |
fbaron | 1406a0f | 2023-05-11 08:46:46 -0700 | [diff] [blame] | 45 | <attr name="notificationDotColor" format="color" /> |
helencheuk | 2691cdf | 2024-01-02 15:19:12 +0000 | [diff] [blame] | 46 | <attr name="focusOutlineColor" format="color" /> |
helencheuk | 7b83b8e | 2024-03-12 16:44:28 +0000 | [diff] [blame] | 47 | <attr name="focusInnerOutlineColor" format="color" /> |
Sunny Goyal | 368ae77 | 2017-05-24 13:19:15 -0700 | [diff] [blame] | 48 | |
Marcelo Arteiro | f38d98d | 2024-07-01 18:18:08 +0000 | [diff] [blame] | 49 | |
Shamali P | 34d1db7 | 2024-03-14 19:24:43 +0000 | [diff] [blame] | 50 | <attr name="pageIndicatorDotColor" format="color" /> |
Jon Miranda | b77878e | 2021-10-06 16:57:33 -0700 | [diff] [blame] | 51 | <attr name="folderPreviewColor" format="color" /> |
| 52 | <attr name="folderBackgroundColor" format="color" /> |
Sunny Goyal | 9fc5ae7 | 2019-01-03 16:47:18 -0800 | [diff] [blame] | 53 | <attr name="folderIconRadius" format="float" /> |
Sunny Goyal | bcadb7f | 2019-02-05 14:45:31 -0800 | [diff] [blame] | 54 | <attr name="folderIconBorderColor" format="color" /> |
Hyunyoung Song | e751d90 | 2019-05-13 23:23:05 -0700 | [diff] [blame] | 55 | <attr name="folderTextColor" format="color" /> |
fbaron | 8463f6a | 2023-05-12 13:41:07 -0700 | [diff] [blame] | 56 | <attr name="folderHintTextColor" format="color" /> |
Jeremy Sim | 05617cb | 2024-04-03 16:49:19 -0700 | [diff] [blame] | 57 | <attr name="appPairSurfaceInFolder" format="color" /> |
Jon Miranda | 7bbd031 | 2021-05-11 17:01:13 -0700 | [diff] [blame] | 58 | <attr name="isFolderDarkText" format="boolean" /> |
Yogisha Dixit | c0ac1dd | 2021-05-29 00:26:25 +0100 | [diff] [blame] | 59 | <attr name="workspaceAccentColor" format="color" /> |
fbaron | e8efdc4 | 2023-05-16 16:57:19 -0700 | [diff] [blame] | 60 | <attr name="workspaceSurfaceColor" format="color" /> |
Yogisha Dixit | c0ac1dd | 2021-05-29 00:26:25 +0100 | [diff] [blame] | 61 | <attr name="dropTargetHoverTextColor" format="color" /> |
fbaron | e8efdc4 | 2023-05-16 16:57:19 -0700 | [diff] [blame] | 62 | <attr name="dropTargetHoverButtonColor" format="color" /> |
Brian Isganitis | cd7cc29 | 2022-05-24 15:36:06 -0700 | [diff] [blame] | 63 | <attr name="preloadIconAccentColor" format="color" /> |
| 64 | <attr name="preloadIconBackgroundColor" format="color" /> |
fbaron | 328ca38 | 2023-04-13 20:17:15 -0700 | [diff] [blame] | 65 | <attr name="widgetPickerTitleColor" format="color"/> |
Shamali P | 96ebf67 | 2024-07-02 22:22:48 +0000 | [diff] [blame] | 66 | <attr name="widgetPickerDescriptionColor" format="color"/> |
Shamali P | 2e2d4ff | 2024-07-09 13:55:45 +0000 | [diff] [blame] | 67 | <attr name="widgetPickerWidgetOptionsMenuColor" format="color"/> |
fbaron | 328ca38 | 2023-04-13 20:17:15 -0700 | [diff] [blame] | 68 | <attr name="widgetPickerPrimarySurfaceColor" format="color"/> |
| 69 | <attr name="widgetPickerSecondarySurfaceColor" format="color"/> |
Federico Baron | e8217b3 | 2023-02-13 17:03:18 -0800 | [diff] [blame] | 70 | <attr name="widgetPickerHeaderAppTitleColor" format="color"/> |
| 71 | <attr name="widgetPickerHeaderAppSubtitleColor" format="color"/> |
fbaron | 328ca38 | 2023-04-13 20:17:15 -0700 | [diff] [blame] | 72 | <attr name="widgetPickerHeaderBackgroundColor" format="color"/> |
| 73 | <attr name="widgetPickerSuggestionsIconBackgroundColor" format="color"/> |
| 74 | <attr name="widgetPickerSuggestionsIconColor" format="color"/> |
| 75 | <attr name="widgetPickerTabBackgroundSelected" format="color"/> |
| 76 | <attr name="widgetPickerTabBackgroundUnselected" format="color"/> |
| 77 | <attr name="widgetPickerSearchTextColor" format="color"/> |
| 78 | <attr name="widgetPickerSelectedTabTextColor" format="color"/> |
| 79 | <attr name="widgetPickerUnselectedTabTextColor" format="color"/> |
| 80 | <attr name="widgetPickerCollapseHandleColor" format="color"/> |
Willie Koomson | cdc2695 | 2024-02-08 19:16:07 +0000 | [diff] [blame] | 81 | <attr name="widgetPickerAddButtonBackgroundColor" format="color"/> |
| 82 | <attr name="widgetPickerAddButtonTextColor" format="color"/> |
Shamali P | 1c173e9 | 2024-11-05 16:04:45 +0000 | [diff] [blame] | 83 | <attr name="widgetPickerExpandButtonBackgroundColor" format="color"/> |
| 84 | <attr name="widgetPickerExpandButtonTextColor" format="color"/> |
Willie Koomson | 61dc97e | 2024-04-30 21:46:10 +0000 | [diff] [blame] | 85 | <attr name="widgetCellTitleColor" format="color" /> |
| 86 | <attr name="widgetCellSubtitleColor" format="color" /> |
Sunny Goyal | 9fc5ae7 | 2019-01-03 16:47:18 -0800 | [diff] [blame] | 87 | |
Winson Chung | b745afb | 2015-03-02 11:51:23 -0800 | [diff] [blame] | 88 | <!-- BubbleTextView specific attributes. --> |
| 89 | <declare-styleable name="BubbleTextView"> |
| 90 | <attr name="layoutHorizontal" format="boolean" /> |
| 91 | <attr name="iconSizeOverride" format="dimension" /> |
Sunny Goyal | dfaccf6 | 2015-05-11 16:30:44 -0700 | [diff] [blame] | 92 | <attr name="iconDisplay" format="integer"> |
| 93 | <enum name="workspace" value="0" /> |
| 94 | <enum name="all_apps" value="1" /> |
Sunny Goyal | baec6ff | 2016-09-14 11:26:21 -0700 | [diff] [blame] | 95 | <enum name="folder" value="2" /> |
| 96 | <enum name="widget_section" value="3" /> |
Jon Miranda | 93e1f04 | 2016-11-11 14:13:04 -0800 | [diff] [blame] | 97 | <enum name="shortcut_popup" value="4" /> |
Hyunyoung Song | e3d32b5 | 2021-06-03 21:20:18 -0700 | [diff] [blame] | 98 | <enum name="taskbar" value="5" /> |
| 99 | <enum name="search_result_tall" value="6" /> |
| 100 | <enum name="search_result_small" value="7" /> |
Brandon Dayauon | f2ea399 | 2023-06-26 12:13:30 -0700 | [diff] [blame] | 101 | <enum name="prediction_row" value="8" /> |
Brandon Dayauon | 47000ae | 2023-09-11 15:28:11 -0700 | [diff] [blame] | 102 | <enum name="search_result_app_row" value="9" /> |
Sunny Goyal | dfaccf6 | 2015-05-11 16:30:44 -0700 | [diff] [blame] | 103 | </attr> |
Winson | 1f06427 | 2016-07-18 17:18:02 -0700 | [diff] [blame] | 104 | <attr name="centerVertically" format="boolean" /> |
Sunny Goyal | 9314b7c | 2017-06-23 10:36:27 -0700 | [diff] [blame] | 105 | </declare-styleable> |
| 106 | |
Sunny Goyal | bcadb7f | 2019-02-05 14:45:31 -0800 | [diff] [blame] | 107 | <!-- BubbleTextView specific attributes. --> |
| 108 | <declare-styleable name="FolderIconPreview"> |
Jon Miranda | b77878e | 2021-10-06 16:57:33 -0700 | [diff] [blame] | 109 | <attr name="folderPreviewColor" /> |
Sunny Goyal | bcadb7f | 2019-02-05 14:45:31 -0800 | [diff] [blame] | 110 | <attr name="folderIconBorderColor" /> |
Sunny Goyal | bcadb7f | 2019-02-05 14:45:31 -0800 | [diff] [blame] | 111 | </declare-styleable> |
| 112 | |
Samuel Fufa | 6e5efb0 | 2020-11-02 11:31:59 -0600 | [diff] [blame] | 113 | <declare-styleable name="SearchResultSuggestion"> |
Samuel Fufa | 4b7f38b | 2020-10-06 18:37:46 -0700 | [diff] [blame] | 114 | <attr name="customIcon" format="reference" /> |
| 115 | <attr name="matchTextInsetWithQuery" format="boolean" /> |
| 116 | </declare-styleable> |
| 117 | |
| 118 | |
Sunny Goyal | 9314b7c | 2017-06-23 10:36:27 -0700 | [diff] [blame] | 119 | <declare-styleable name="ShadowInfo"> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 120 | <attr name="ambientShadowColor" format="color" /> |
Sunny Goyal | 9314b7c | 2017-06-23 10:36:27 -0700 | [diff] [blame] | 121 | <attr name="ambientShadowBlur" format="dimension" /> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 122 | <attr name="keyShadowColor" format="color" /> |
Sunny Goyal | 9314b7c | 2017-06-23 10:36:27 -0700 | [diff] [blame] | 123 | <attr name="keyShadowBlur" format="dimension" /> |
Shan Huang | 5620c75 | 2021-04-16 21:33:39 +0800 | [diff] [blame] | 124 | <attr name="keyShadowOffsetX" format="dimension" /> |
| 125 | <attr name="keyShadowOffsetY" format="dimension" /> |
Winson Chung | b745afb | 2015-03-02 11:51:23 -0800 | [diff] [blame] | 126 | </declare-styleable> |
| 127 | |
Winson Chung | 321e9ee | 2010-08-09 13:37:56 -0700 | [diff] [blame] | 128 | <!-- PagedView specific attributes. These attributes are used to customize |
| 129 | a PagedView view in XML files. --> |
| 130 | <declare-styleable name="PagedView"> |
Winson Chung | d2be381 | 2013-07-16 11:11:32 -0700 | [diff] [blame] | 131 | <!-- The page indicator for this workspace --> |
| 132 | <attr name="pageIndicator" format="reference" /> |
Winson Chung | 321e9ee | 2010-08-09 13:37:56 -0700 | [diff] [blame] | 133 | </declare-styleable> |
| 134 | |
The Android Open Source Project | f96811c | 2009-03-18 17:39:48 -0700 | [diff] [blame] | 135 | <!-- XML attributes used by default_workspace.xml --> |
| 136 | <declare-styleable name="Favorite"> |
| 137 | <attr name="className" format="string" /> |
| 138 | <attr name="packageName" format="string" /> |
Winson Chung | 3d503fb | 2011-07-13 17:25:49 -0700 | [diff] [blame] | 139 | <attr name="container" format="string" /> |
The Android Open Source Project | f96811c | 2009-03-18 17:39:48 -0700 | [diff] [blame] | 140 | <attr name="screen" format="string" /> |
| 141 | <attr name="x" format="string" /> |
| 142 | <attr name="y" format="string" /> |
Mike Cleron | b87bd16 | 2009-10-30 16:36:56 -0700 | [diff] [blame] | 143 | <attr name="spanX" format="string" /> |
| 144 | <attr name="spanY" format="string" /> |
Sunny Goyal | eba87b1 | 2016-02-26 09:44:27 -0800 | [diff] [blame] | 145 | <attr name="icon" format="reference" /> |
| 146 | <attr name="title" format="string" /> |
Mike Cleron | b87bd16 | 2009-10-30 16:36:56 -0700 | [diff] [blame] | 147 | <attr name="uri" format="string" /> |
The Android Open Source Project | f96811c | 2009-03-18 17:39:48 -0700 | [diff] [blame] | 148 | </declare-styleable> |
Adam Cohen | cee8c66 | 2014-10-16 09:49:52 -0700 | [diff] [blame] | 149 | |
Winson Chung | b3302ae | 2012-05-01 10:19:14 -0700 | [diff] [blame] | 150 | <declare-styleable name="Extra"> |
| 151 | <attr name="key" format="string" /> |
| 152 | <attr name="value" format="string" /> |
| 153 | </declare-styleable> |
Daniel Sandler | 57dac26 | 2013-10-03 13:28:36 -0400 | [diff] [blame] | 154 | <declare-styleable name="Include"> |
| 155 | <attr name="workspace" format="reference" /> |
Adam Cohen | cee8c66 | 2014-10-16 09:49:52 -0700 | [diff] [blame] | 156 | <attr name="folderItems" format="reference" /> |
Daniel Sandler | 57dac26 | 2013-10-03 13:28:36 -0400 | [diff] [blame] | 157 | </declare-styleable> |
Winson Chung | 2816ca5 | 2012-05-23 15:14:34 -0700 | [diff] [blame] | 158 | |
Adam Cohen | be25822 | 2014-10-24 16:45:59 -0700 | [diff] [blame] | 159 | <declare-styleable name="InsettableFrameLayout_Layout"> |
| 160 | <attr name="layout_ignoreInsets" format="boolean" /> |
| 161 | </declare-styleable> |
Sunny Goyal | f37a214 | 2016-03-24 17:28:25 -0700 | [diff] [blame] | 162 | |
Sunny Goyal | 9b458a0 | 2022-06-27 15:48:41 -0700 | [diff] [blame] | 163 | <declare-styleable name="StickyScroller_Layout"> |
| 164 | <attr name="layout_sticky" format="boolean" /> |
| 165 | </declare-styleable> |
| 166 | |
fbaron | d1cd8c2 | 2024-11-26 10:13:36 -0800 | [diff] [blame] | 167 | <declare-styleable name="GridSize"> |
Sebastian Franco | f59d3de | 2025-01-03 17:19:17 -0800 | [diff] [blame] | 168 | <attr name="minDeviceWidthPx" format="float"/> |
| 169 | <attr name="minDeviceHeightPx" format="float"/> |
fbaron | d1cd8c2 | 2024-11-26 10:13:36 -0800 | [diff] [blame] | 170 | <attr name="numGridRows" format="integer"/> |
| 171 | <attr name="numGridColumns" format="integer"/> |
fbaron | ebc10c9 | 2024-09-03 12:51:41 -0700 | [diff] [blame] | 172 | <attr name="dbFile" /> |
fbaron | c1b68f4 | 2024-11-08 18:10:46 -0800 | [diff] [blame] | 173 | <attr name="defaultLayoutId"/> |
| 174 | <attr name="demoModeLayoutId"/> |
fbaron | ebc10c9 | 2024-09-03 12:51:41 -0700 | [diff] [blame] | 175 | </declare-styleable> |
| 176 | |
Sunny Goyal | 415f173 | 2018-11-29 10:33:47 -0800 | [diff] [blame] | 177 | <declare-styleable name="GridDisplayOption"> |
Sunny Goyal | 819e193 | 2016-07-07 16:43:58 -0700 | [diff] [blame] | 178 | <attr name="name" format="string" /> |
fbaron | 9ed02b8 | 2025-01-07 15:38:58 -0800 | [diff] [blame] | 179 | <attr name="gridTitle" format="string" /> |
| 180 | <attr name="gridIconId" format="reference"/> |
Sunny Goyal | 819e193 | 2016-07-07 16:43:58 -0700 | [diff] [blame] | 181 | |
| 182 | <attr name="numRows" format="integer" /> |
| 183 | <attr name="numColumns" format="integer" /> |
Alex Chau | 9fee3fd | 2021-12-01 18:43:10 +0000 | [diff] [blame] | 184 | <!-- numSearchContainerColumns defaults to numColumns, if not specified --> |
| 185 | <attr name="numSearchContainerColumns" format="integer" /> |
Thales Lima | b35faed | 2022-09-05 16:30:01 -0300 | [diff] [blame] | 186 | |
Thales Lima | d852d65 | 2023-01-17 14:01:13 +0000 | [diff] [blame] | 187 | <!-- Support attributes in CellStyle. defaults to CellStyleDefault --> |
| 188 | <attr name="cellStyle" format="reference" /> |
| 189 | |
Sunny Goyal | 819e193 | 2016-07-07 16:43:58 -0700 | [diff] [blame] | 190 | <!-- numFolderRows & numFolderColumns defaults to numRows & numColumns, if not specified --> |
| 191 | <attr name="numFolderRows" format="integer" /> |
Thales Lima | 1faa4ed | 2023-12-01 16:48:19 +0000 | [diff] [blame] | 192 | <!-- defaults to numFolderRows, if not specified --> |
| 193 | <attr name="numFolderRowsLandscape" format="integer" /> |
| 194 | <!-- defaults to numFolderRows, if not specified --> |
| 195 | <attr name="numFolderRowsTwoPanelLandscape" format="integer" /> |
| 196 | <!-- defaults to numFolderRows, if not specified --> |
| 197 | <attr name="numFolderRowsTwoPanelPortrait" format="integer" /> |
Sunny Goyal | 819e193 | 2016-07-07 16:43:58 -0700 | [diff] [blame] | 198 | <attr name="numFolderColumns" format="integer" /> |
Thales Lima | 1faa4ed | 2023-12-01 16:48:19 +0000 | [diff] [blame] | 199 | <!-- defaults to numFolderColumns, if not specified --> |
| 200 | <attr name="numFolderColumnsLandscape" format="integer" /> |
| 201 | <!-- defaults to numFolderColumns, if not specified --> |
| 202 | <attr name="numFolderColumnsTwoPanelLandscape" format="integer" /> |
| 203 | <!-- defaults to numFolderColumns, if not specified --> |
| 204 | <attr name="numFolderColumnsTwoPanelPortrait" format="integer" /> |
Thales Lima | d852d65 | 2023-01-17 14:01:13 +0000 | [diff] [blame] | 205 | <!-- Support attributes in FolderStyle --> |
Thales Lima | b35faed | 2022-09-05 16:30:01 -0300 | [diff] [blame] | 206 | <attr name="folderStyle" format="reference" /> |
| 207 | |
Thales Lima | e9273ea | 2023-01-26 12:33:52 +0000 | [diff] [blame] | 208 | <!-- Support attributes in AllAppsStyle. Defaults to AllAppsStyleDefault --> |
| 209 | <attr name="allAppsStyle" format="reference" /> |
| 210 | |
Sunny Goyal | 19ff728 | 2021-04-22 10:12:54 -0700 | [diff] [blame] | 211 | <!-- numAllAppsColumns defaults to numColumns, if not specified --> |
| 212 | <attr name="numAllAppsColumns" format="integer" /> |
| 213 | <!-- Number of columns to use when extending the all-apps size, |
| 214 | defaults to 2 * numAllAppsColumns --> |
| 215 | <attr name="numExtendedAllAppsColumns" format="integer" /> |
| 216 | |
Jordan Silva | 2de6a27 | 2024-01-04 14:44:20 -0300 | [diff] [blame] | 217 | <!-- Number of rows to calculate the cell height for all apps when it's necessary. |
| 218 | Defaults to numRows. Requires FeatureFlags.ENABLE_RESPONSIVE_WORKSPACE to be enabled. --> |
| 219 | <attr name="numAllAppsRowsForCellHeightCalculation" format="integer" /> |
| 220 | |
Sunny Goyal | 819e193 | 2016-07-07 16:43:58 -0700 | [diff] [blame] | 221 | <!-- numHotseatIcons defaults to numColumns, if not specified --> |
| 222 | <attr name="numHotseatIcons" format="integer" /> |
Sunny Goyal | 19ff728 | 2021-04-22 10:12:54 -0700 | [diff] [blame] | 223 | <!-- Number of icons to use when extending the hotseat size, |
| 224 | defaults to 2 * numHotseatIcons --> |
| 225 | <attr name="numExtendedHotseatIcons" format="integer" /> |
| 226 | |
Vinit Nayak | c729317 | 2022-07-18 16:41:50 -0700 | [diff] [blame] | 227 | <!-- Spacing to have at the end of the nav buttons in large screen 3 button nav, |
| 228 | defaults to @dimen/taskbar_button_margin_default --> |
| 229 | <attr name="inlineNavButtonsEndSpacing" format="reference" /> |
| 230 | |
fbaron | 49f7df0 | 2024-11-05 16:15:19 -0800 | [diff] [blame] | 231 | <!-- Grid flips row and column count when rotating the device --> |
| 232 | <attr name="isDualGrid" format="boolean" /> |
| 233 | |
Tracy Zhou | 7df93d2 | 2020-01-27 13:44:06 -0800 | [diff] [blame] | 234 | <attr name="dbFile" format="string" /> |
Sunny Goyal | 415f173 | 2018-11-29 10:33:47 -0800 | [diff] [blame] | 235 | <attr name="defaultLayoutId" format="reference" /> |
| 236 | <attr name="demoModeLayoutId" format="reference" /> |
Jon Miranda | e126d72 | 2021-02-25 10:45:20 -0500 | [diff] [blame] | 237 | <attr name="isScalable" format="boolean" /> |
Jon Miranda | c9e69fa | 2021-03-22 17:13:34 -0400 | [diff] [blame] | 238 | <attr name="devicePaddingId" format="reference" /> |
Thales Lima | f8bfb03 | 2023-07-24 15:08:05 +0100 | [diff] [blame] | 239 | |
Thales Lima | ec5abba | 2023-04-05 16:33:50 +0100 | [diff] [blame] | 240 | <!-- File that contains the specs for the workspace. |
| 241 | Needs FeatureFlags.ENABLE_RESPONSIVE_WORKSPACE enabled --> |
| 242 | <attr name="workspaceSpecsId" format="reference" /> |
Jordan Silva | d29f064 | 2024-01-10 15:11:26 -0300 | [diff] [blame] | 243 | <!-- defaults to workspaceSpecsId, if not specified --> |
Jordan Silva | 575c3bd | 2023-07-21 12:00:43 +0100 | [diff] [blame] | 244 | <attr name="workspaceSpecsTwoPanelId" format="reference" /> |
Thales Lima | abfe364 | 2023-05-24 18:08:53 +0100 | [diff] [blame] | 245 | <!-- File that contains the specs for all apps. |
| 246 | Needs FeatureFlags.ENABLE_RESPONSIVE_WORKSPACE enabled --> |
| 247 | <attr name="allAppsSpecsId" format="reference" /> |
Jordan Silva | d29f064 | 2024-01-10 15:11:26 -0300 | [diff] [blame] | 248 | <!-- defaults to allAppsSpecsId, if not specified --> |
Jordan Silva | 575c3bd | 2023-07-21 12:00:43 +0100 | [diff] [blame] | 249 | <attr name="allAppsSpecsTwoPanelId" format="reference" /> |
Jordan Silva | 637f4eb | 2023-06-13 11:21:53 +0100 | [diff] [blame] | 250 | <!-- File that contains the specs for the workspace. |
| 251 | Needs FeatureFlags.ENABLE_RESPONSIVE_WORKSPACE enabled --> |
| 252 | <attr name="folderSpecsId" format="reference" /> |
Jordan Silva | d29f064 | 2024-01-10 15:11:26 -0300 | [diff] [blame] | 253 | <!-- defaults to folderSpecsId, if not specified --> |
Jordan Silva | 575c3bd | 2023-07-21 12:00:43 +0100 | [diff] [blame] | 254 | <attr name="folderSpecsTwoPanelId" format="reference" /> |
Thales Lima | f8bfb03 | 2023-07-24 15:08:05 +0100 | [diff] [blame] | 255 | <!-- File that contains the specs for hotseat bar. |
| 256 | Needs FeatureFlags.ENABLE_RESPONSIVE_WORKSPACE enabled --> |
| 257 | <attr name="hotseatSpecsId" format="reference" /> |
Jordan Silva | d29f064 | 2024-01-10 15:11:26 -0300 | [diff] [blame] | 258 | <!-- defaults to hotseatSpecsId, if not specified --> |
Thales Lima | f8bfb03 | 2023-07-24 15:08:05 +0100 | [diff] [blame] | 259 | <attr name="hotseatSpecsTwoPanelId" format="reference" /> |
Jordan Silva | 999dd2a | 2023-11-17 19:31:43 +0000 | [diff] [blame] | 260 | <!-- File that contains the specs for workspace icon and text size. |
| 261 | Needs FeatureFlags.ENABLE_RESPONSIVE_WORKSPACE enabled --> |
| 262 | <attr name="workspaceCellSpecsId" format="reference" /> |
Jordan Silva | d29f064 | 2024-01-10 15:11:26 -0300 | [diff] [blame] | 263 | <!-- defaults to workspaceCellSpecsId, if not specified --> |
Jordan Silva | 999dd2a | 2023-11-17 19:31:43 +0000 | [diff] [blame] | 264 | <attr name="workspaceCellSpecsTwoPanelId" format="reference" /> |
| 265 | <!-- File that contains the specs for all apps icon and text size. |
| 266 | Needs FeatureFlags.ENABLE_RESPONSIVE_WORKSPACE enabled --> |
| 267 | <attr name="allAppsCellSpecsId" format="reference" /> |
fbaron | d1cd8c2 | 2024-11-26 10:13:36 -0800 | [diff] [blame] | 268 | <attr name="gridSizeSpecsId" format="reference" /> |
Jordan Silva | d29f064 | 2024-01-10 15:11:26 -0300 | [diff] [blame] | 269 | <!-- defaults to allAppsCellSpecsId, if not specified --> |
Jordan Silva | 999dd2a | 2023-11-17 19:31:43 +0000 | [diff] [blame] | 270 | <attr name="allAppsCellSpecsTwoPanelId" format="reference" /> |
Sebastian Franco | 9e4c99b | 2024-10-02 15:16:37 -0700 | [diff] [blame] | 271 | <!-- defaults to false, if not specified --> |
| 272 | <attr name="isFixedLandscape" format="boolean" /> |
Federico Baron | 72dc958 | 2025-02-07 20:23:50 +0000 | [diff] [blame] | 273 | <!-- By default all grid types are enabled --> |
| 274 | <attr name="gridType" format="integer"> |
| 275 | <!-- Enable on phone only --> |
| 276 | <flag name="one_grid" value="1" /> |
| 277 | <!-- Enable on tablets only --> |
| 278 | <flag name="non_one_grid" value="2" /> |
| 279 | </attr> |
Sebastian Franco | 9e4c99b | 2024-10-02 15:16:37 -0700 | [diff] [blame] | 280 | |
Alex Chau | 1c883d8 | 2021-12-01 18:43:10 +0000 | [diff] [blame] | 281 | <!-- By default all categories are enabled --> |
Thales Lima | 11af7bc | 2022-08-12 15:24:54 +0100 | [diff] [blame] | 282 | <attr name="deviceCategory" format="integer"> |
Alex Chau | 1c883d8 | 2021-12-01 18:43:10 +0000 | [diff] [blame] | 283 | <!-- Enable on phone only --> |
| 284 | <flag name="phone" value="1" /> |
| 285 | <!-- Enable on tablets only --> |
| 286 | <flag name="tablet" value="2" /> |
| 287 | <!-- Enable on multi display devices only --> |
| 288 | <flag name="multi_display" value="4" /> |
| 289 | </attr> |
Jon Miranda | e126d72 | 2021-02-25 10:45:20 -0500 | [diff] [blame] | 290 | |
Thales Lima | 11af7bc | 2022-08-12 15:24:54 +0100 | [diff] [blame] | 291 | <!-- By default all are false --> |
| 292 | <attr name="inlineQsb" format="integer"> |
| 293 | <!-- Enable on landscape only --> |
| 294 | <flag name="portrait" value="1" /> |
| 295 | <!-- Enable on portrait only --> |
| 296 | <flag name="landscape" value="2" /> |
| 297 | <!-- Enable on two panel portrait only --> |
| 298 | <flag name="twoPanelPortrait" value="4" /> |
| 299 | <!-- Enable on two panel landscape only --> |
| 300 | <flag name="twoPanelLandscape" value="8" /> |
| 301 | </attr> |
| 302 | |
Sunny Goyal | 415f173 | 2018-11-29 10:33:47 -0800 | [diff] [blame] | 303 | </declare-styleable> |
| 304 | |
Jon Miranda | 228877d | 2021-02-09 11:05:00 -0500 | [diff] [blame] | 305 | <declare-styleable name="DevicePadding"> |
| 306 | <attr name="maxEmptySpace" format="dimension" /> |
| 307 | </declare-styleable> |
| 308 | |
| 309 | <declare-styleable name="DevicePaddingFormula"> |
| 310 | <attr name="a" format="float|dimension" /> |
| 311 | <attr name="b" format="float|dimension" /> |
| 312 | <attr name="c" format="float|dimension" /> |
| 313 | </declare-styleable> |
| 314 | |
Sihua Ma | 60813a8 | 2022-12-07 15:04:04 -0800 | [diff] [blame] | 315 | <declare-styleable name="PersonalWorkSlidingTabStrip"> |
| 316 | <attr name="alignOnIcon" format="boolean" /> |
| 317 | </declare-styleable> |
| 318 | |
Thales Lima | 1a2d4bd | 2022-11-28 13:08:32 +0000 | [diff] [blame] | 319 | <!-- Responsive grids attributes --> |
Jordan Silva | 8bd7af2 | 2023-06-21 15:35:03 +0100 | [diff] [blame] | 320 | <declare-styleable name="ResponsiveSpec"> |
Jordan Silva | 8f7986a | 2023-11-08 12:11:25 +0000 | [diff] [blame] | 321 | <attr name="dimensionType" format="integer"> |
Thales Lima | 1a2d4bd | 2022-11-28 13:08:32 +0000 | [diff] [blame] | 322 | <enum name="height" value="0" /> |
| 323 | <enum name="width" value="1" /> |
| 324 | </attr> |
| 325 | <attr name="maxAvailableSize" format="dimension" /> |
| 326 | </declare-styleable> |
| 327 | |
Jordan Silva | f2402e2 | 2023-10-26 19:53:16 +0100 | [diff] [blame] | 328 | <declare-styleable name="ResponsiveSpecGroup"> |
| 329 | <attr name="maxAspectRatio" format="float" /> |
| 330 | </declare-styleable> |
| 331 | |
Jordan Silva | 8bd7af2 | 2023-06-21 15:35:03 +0100 | [diff] [blame] | 332 | <declare-styleable name="WorkspaceSpec"> |
Jordan Silva | 8f7986a | 2023-11-08 12:11:25 +0000 | [diff] [blame] | 333 | <attr name="dimensionType" /> |
Jordan Silva | 8bd7af2 | 2023-06-21 15:35:03 +0100 | [diff] [blame] | 334 | <attr name="maxAvailableSize" /> |
Thales Lima | 1a2d4bd | 2022-11-28 13:08:32 +0000 | [diff] [blame] | 335 | </declare-styleable> |
| 336 | |
Jordan Silva | 7ae9e3a | 2023-06-08 14:47:57 +0100 | [diff] [blame] | 337 | <declare-styleable name="FolderSpec"> |
Jordan Silva | 8f7986a | 2023-11-08 12:11:25 +0000 | [diff] [blame] | 338 | <attr name="dimensionType" /> |
Jordan Silva | 7ae9e3a | 2023-06-08 14:47:57 +0100 | [diff] [blame] | 339 | <attr name="maxAvailableSize" /> |
| 340 | </declare-styleable> |
| 341 | |
Thales Lima | 196e44b | 2023-06-08 15:34:09 +0100 | [diff] [blame] | 342 | <declare-styleable name="AllAppsSpec"> |
Jordan Silva | 8f7986a | 2023-11-08 12:11:25 +0000 | [diff] [blame] | 343 | <attr name="dimensionType" /> |
Thales Lima | 196e44b | 2023-06-08 15:34:09 +0100 | [diff] [blame] | 344 | <attr name="maxAvailableSize" /> |
| 345 | </declare-styleable> |
| 346 | |
Thales Lima | f8bfb03 | 2023-07-24 15:08:05 +0100 | [diff] [blame] | 347 | <declare-styleable name="HotseatSpec"> |
Jordan Silva | 8f7986a | 2023-11-08 12:11:25 +0000 | [diff] [blame] | 348 | <attr name="dimensionType" /> |
Thales Lima | f8bfb03 | 2023-07-24 15:08:05 +0100 | [diff] [blame] | 349 | <attr name="maxAvailableSize" /> |
| 350 | </declare-styleable> |
| 351 | |
Jordan Silva | 999dd2a | 2023-11-17 19:31:43 +0000 | [diff] [blame] | 352 | <declare-styleable name="CellSpec"> |
| 353 | <attr name="dimensionType" /> |
| 354 | <attr name="maxAvailableSize" /> |
| 355 | </declare-styleable> |
| 356 | |
Jordan Silva | 8bd7af2 | 2023-06-21 15:35:03 +0100 | [diff] [blame] | 357 | <declare-styleable name="SizeSpec"> |
| 358 | <attr name="fixedSize" format="dimension" /> |
| 359 | <attr name="ofAvailableSpace" format="float" /> |
| 360 | <attr name="ofRemainderSpace" format="float" /> |
| 361 | <attr name="matchWorkspace" format="boolean" /> |
| 362 | <attr name="maxSize" format="dimension" /> |
| 363 | </declare-styleable> |
| 364 | |
Sunny Goyal | 415f173 | 2018-11-29 10:33:47 -0800 | [diff] [blame] | 365 | <declare-styleable name="ProfileDisplayOption"> |
| 366 | <attr name="name" /> |
| 367 | <attr name="minWidthDps" format="float" /> |
| 368 | <attr name="minHeightDps" format="float" /> |
| 369 | |
Thales Lima | d90faab | 2021-09-21 17:18:47 +0100 | [diff] [blame] | 370 | <!-- These min cell values are only used if GridDisplayOption#isScalable is true --> |
Thales Lima | 85c942f | 2021-12-31 13:04:20 +0000 | [diff] [blame] | 371 | <attr name="minCellHeight" format="float" /> |
| 372 | <attr name="minCellWidth" format="float" /> |
| 373 | <!-- defaults to minCellHeight, if not specified --> |
Thales Lima | dd02734 | 2022-01-07 12:54:37 +0000 | [diff] [blame] | 374 | <attr name="minCellHeightLandscape" format="float" /> |
| 375 | <!-- defaults to minCellWidth, if not specified --> |
| 376 | <attr name="minCellWidthLandscape" format="float" /> |
| 377 | <!-- defaults to minCellHeight, if not specified --> |
Thales Lima | 85c942f | 2021-12-31 13:04:20 +0000 | [diff] [blame] | 378 | <attr name="minCellHeightTwoPanelPortrait" format="float" /> |
| 379 | <!-- defaults to minCellWidth, if not specified --> |
| 380 | <attr name="minCellWidthTwoPanelPortrait" format="float" /> |
| 381 | <!-- defaults to minCellHeight, if not specified --> |
| 382 | <attr name="minCellHeightTwoPanelLandscape" format="float" /> |
| 383 | <!-- defaults to minCellWidth, if not specified --> |
| 384 | <attr name="minCellWidthTwoPanelLandscape" format="float" /> |
Jon Miranda | e126d72 | 2021-02-25 10:45:20 -0500 | [diff] [blame] | 385 | |
Thales Lima | 78d00ad | 2021-09-30 11:29:06 +0100 | [diff] [blame] | 386 | <!-- These border spaces are only used if GridDisplayOption#isScalable is true --> |
| 387 | <!-- space to be used horizontally and vertically --> |
Thales Lima | 85c942f | 2021-12-31 13:04:20 +0000 | [diff] [blame] | 388 | <attr name="borderSpace" format="float" /> |
| 389 | <!-- space to the right of the cell, defaults to borderSpace if not specified --> |
| 390 | <attr name="borderSpaceHorizontal" format="float" /> |
| 391 | <!-- space below the cell, defaults to borderSpace if not specified --> |
| 392 | <attr name="borderSpaceVertical" format="float" /> |
Thales Lima | 44cc3a2 | 2022-03-18 14:28:24 +0000 | [diff] [blame] | 393 | <!-- space to be used horizontally and vertically, |
| 394 | defaults to borderSpace if not specified --> |
| 395 | <attr name="borderSpaceLandscape" format="float" /> |
| 396 | <!-- space to the right of the cell, defaults to borderSpaceLandscape if not specified --> |
| 397 | <attr name="borderSpaceLandscapeHorizontal" format="float" /> |
| 398 | <!-- space below the cell, defaults to borderSpaceLandscape if not specified --> |
| 399 | <attr name="borderSpaceLandscapeVertical" format="float" /> |
Thales Lima | 78d00ad | 2021-09-30 11:29:06 +0100 | [diff] [blame] | 400 | <!-- space to be used horizontally and vertically in two panels, |
Thales Lima | 85c942f | 2021-12-31 13:04:20 +0000 | [diff] [blame] | 401 | defaults to borderSpace if not specified --> |
| 402 | <attr name="borderSpaceTwoPanelPortrait" format="float" /> |
Thales Lima | 78d00ad | 2021-09-30 11:29:06 +0100 | [diff] [blame] | 403 | <!-- space to the right of the cell in two panels, defaults to |
Thales Lima | 85c942f | 2021-12-31 13:04:20 +0000 | [diff] [blame] | 404 | borderSpaceTwoPanelPortrait if not specified --> |
| 405 | <attr name="borderSpaceTwoPanelPortraitHorizontal" format="float" /> |
| 406 | <!-- space below the cell in two panels, defaults to borderSpaceTwoPanelPortrait |
Thales Lima | 78d00ad | 2021-09-30 11:29:06 +0100 | [diff] [blame] | 407 | if not specified --> |
Thales Lima | 85c942f | 2021-12-31 13:04:20 +0000 | [diff] [blame] | 408 | <attr name="borderSpaceTwoPanelPortraitVertical" format="float" /> |
Thales Lima | 78d00ad | 2021-09-30 11:29:06 +0100 | [diff] [blame] | 409 | <!-- space to be used horizontally and vertically in two panels, |
Thales Lima | 85c942f | 2021-12-31 13:04:20 +0000 | [diff] [blame] | 410 | defaults to borderSpace if not specified --> |
| 411 | <attr name="borderSpaceTwoPanelLandscape" format="float" /> |
Thales Lima | 78d00ad | 2021-09-30 11:29:06 +0100 | [diff] [blame] | 412 | <!-- space to the right of the cell in two panels, defaults to |
Thales Lima | 85c942f | 2021-12-31 13:04:20 +0000 | [diff] [blame] | 413 | borderSpaceTwoPanelLandscape if not specified --> |
| 414 | <attr name="borderSpaceTwoPanelLandscapeHorizontal" format="float" /> |
| 415 | <!-- space below the cell in two panels, defaults to borderSpaceTwoPanelLandscape |
Thales Lima | 78d00ad | 2021-09-30 11:29:06 +0100 | [diff] [blame] | 416 | if not specified --> |
Thales Lima | 85c942f | 2021-12-31 13:04:20 +0000 | [diff] [blame] | 417 | <attr name="borderSpaceTwoPanelLandscapeVertical" format="float" /> |
Thales Lima | 78d00ad | 2021-09-30 11:29:06 +0100 | [diff] [blame] | 418 | |
Brandon Dayauon | 7a8a9ed | 2022-06-06 14:32:22 -0700 | [diff] [blame] | 419 | <!-- defaults to minCellHeight if not specified when GridDisplayOption#isScalable is true. |
| 420 | Must be defined when GridDisplayOption#isScalable is false. --> |
Thales Lima | b7ef569 | 2022-03-10 10:32:36 +0000 | [diff] [blame] | 421 | <attr name="allAppsCellHeight" format="float" /> |
Brandon Dayauon | 7a8a9ed | 2022-06-06 14:32:22 -0700 | [diff] [blame] | 422 | <!-- These min cell values are only used if GridDisplayOption#isScalable is true --> |
Thales Lima | b7ef569 | 2022-03-10 10:32:36 +0000 | [diff] [blame] | 423 | <!-- defaults to minCellWidth, if not specified --> |
| 424 | <attr name="allAppsCellWidth" format="float" /> |
| 425 | <!-- defaults to allAppsCellHeight, if not specified --> |
| 426 | <attr name="allAppsCellHeightLandscape" format="float" /> |
| 427 | <!-- defaults to allAppsCellWidth, if not specified --> |
| 428 | <attr name="allAppsCellWidthLandscape" format="float" /> |
| 429 | <!-- defaults to allAppsCellHeight, if not specified --> |
| 430 | <attr name="allAppsCellHeightTwoPanelPortrait" format="float" /> |
| 431 | <!-- defaults to allAppsCellWidth, if not specified --> |
| 432 | <attr name="allAppsCellWidthTwoPanelPortrait" format="float" /> |
| 433 | <!-- defaults to allAppsCellHeight, if not specified --> |
| 434 | <attr name="allAppsCellHeightTwoPanelLandscape" format="float" /> |
| 435 | <!-- defaults to allAppsCellWidth, if not specified --> |
| 436 | <attr name="allAppsCellWidthTwoPanelLandscape" format="float" /> |
Thales Lima | 83bedbf | 2021-10-05 17:47:39 +0100 | [diff] [blame] | 437 | <!-- The following values are only enabled if grid is supported. --> |
Thales Lima | 85c942f | 2021-12-31 13:04:20 +0000 | [diff] [blame] | 438 | <!-- defaults to iconImageSize, if not specified --> |
Thales Lima | 83bedbf | 2021-10-05 17:47:39 +0100 | [diff] [blame] | 439 | <attr name="allAppsIconSize" format="float" /> |
Thales Lima | bb7d388 | 2021-12-22 12:56:29 +0000 | [diff] [blame] | 440 | <!-- defaults to allAppsIconSize, if not specified --> |
Thales Lima | 1fb075d | 2022-08-10 10:47:50 +0100 | [diff] [blame] | 441 | <attr name="allAppsIconSizeLandscape" format="float" /> |
| 442 | <!-- defaults to allAppsIconSize, if not specified --> |
Thales Lima | bb7d388 | 2021-12-22 12:56:29 +0000 | [diff] [blame] | 443 | <attr name="allAppsIconSizeTwoPanelPortrait" format="float" /> |
| 444 | <!-- defaults to allAppsIconSize, if not specified --> |
| 445 | <attr name="allAppsIconSizeTwoPanelLandscape" format="float" /> |
Thales Lima | 85c942f | 2021-12-31 13:04:20 +0000 | [diff] [blame] | 446 | <!-- defaults to iconTextSize, if not specified --> |
Thales Lima | 83bedbf | 2021-10-05 17:47:39 +0100 | [diff] [blame] | 447 | <attr name="allAppsIconTextSize" format="float" /> |
Thales Lima | bb7d388 | 2021-12-22 12:56:29 +0000 | [diff] [blame] | 448 | <!-- defaults to allAppsIconTextSize, if not specified --> |
| 449 | <attr name="allAppsIconTextSizeTwoPanelPortrait" format="float" /> |
| 450 | <!-- defaults to allAppsIconTextSize, if not specified --> |
| 451 | <attr name="allAppsIconTextSizeTwoPanelLandscape" format="float" /> |
sfufa@google.com | de01329 | 2021-09-21 18:22:44 -0700 | [diff] [blame] | 452 | |
Thales Lima | 080d890 | 2022-03-28 15:30:29 +0100 | [diff] [blame] | 453 | <!-- defaults to borderSpace, if not specified --> |
| 454 | <!-- space to be used horizontally and vertically --> |
| 455 | <attr name="allAppsBorderSpace" format="float" /> |
| 456 | <!-- space to the right of the cell, defaults to allAppsBorderSpace if not specified --> |
| 457 | <attr name="allAppsBorderSpaceHorizontal" format="float" /> |
| 458 | <!-- space below the cell, defaults to allAppsBorderSpace if not specified --> |
| 459 | <attr name="allAppsBorderSpaceVertical" format="float" /> |
| 460 | <!-- space to be used horizontally and vertically, |
| 461 | defaults to allAppsBorderSpace if not specified --> |
| 462 | <attr name="allAppsBorderSpaceLandscape" format="float" /> |
| 463 | <!-- space to the right of the cell, defaults to allAppsBorderSpaceLandscape |
| 464 | if not specified --> |
| 465 | <attr name="allAppsBorderSpaceLandscapeHorizontal" format="float" /> |
| 466 | <!-- space below the cell, defaults to allAppsBorderSpaceLandscape if not specified --> |
| 467 | <attr name="allAppsBorderSpaceLandscapeVertical" format="float" /> |
| 468 | <!-- space to be used horizontally and vertically in two panels, |
| 469 | defaults to allAppsBorderSpace if not specified --> |
| 470 | <attr name="allAppsBorderSpaceTwoPanelPortrait" format="float" /> |
| 471 | <!-- space to the right of the cell in two panels, defaults to |
| 472 | allAppsBorderSpaceTwoPanelPortrait if not specified --> |
| 473 | <attr name="allAppsBorderSpaceTwoPanelPortraitHorizontal" format="float" /> |
| 474 | <!-- space below the cell in two panels, defaults to allAppsBorderSpaceTwoPanelPortrait |
| 475 | if not specified --> |
| 476 | <attr name="allAppsBorderSpaceTwoPanelPortraitVertical" format="float" /> |
| 477 | <!-- space to be used horizontally and vertically in two panels, |
| 478 | defaults to allAppsBorderSpace if not specified --> |
| 479 | <attr name="allAppsBorderSpaceTwoPanelLandscape" format="float" /> |
| 480 | <!-- space to the right of the cell in two panels, defaults to |
| 481 | allAppsBorderSpaceTwoPanelLandscape if not specified --> |
| 482 | <attr name="allAppsBorderSpaceTwoPanelLandscapeHorizontal" format="float" /> |
| 483 | <!-- space below the cell in two panels, defaults to allAppsBorderSpaceTwoPanelLandscape |
| 484 | if not specified --> |
| 485 | <attr name="allAppsBorderSpaceTwoPanelLandscapeVertical" format="float" /> |
| 486 | |
Thales Lima | b8c0595 | 2022-05-23 16:58:38 +0100 | [diff] [blame] | 487 | <!-- defaults to res.hotseat_bar_bottom_space_default, if not specified --> |
| 488 | <attr name="hotseatBarBottomSpace" format="float" /> |
| 489 | <!-- defaults to hotseatBarBottomSpace, if not specified --> |
| 490 | <attr name="hotseatBarBottomSpaceLandscape" format="float" /> |
| 491 | <!-- defaults to hotseatBarBottomSpace, if not specified --> |
| 492 | <attr name="hotseatBarBottomSpaceTwoPanelLandscape" format="float" /> |
| 493 | <!-- defaults to hotseatBarBottomSpace, if not specified --> |
| 494 | <attr name="hotseatBarBottomSpaceTwoPanelPortrait" format="float" /> |
| 495 | |
| 496 | <!-- defaults to res.hotseat_qsb_space_default, if not specified --> |
| 497 | <attr name="hotseatQsbSpace" format="float" /> |
| 498 | <!-- defaults to hotseatQsbSpace, if not specified --> |
| 499 | <attr name="hotseatQsbSpaceLandscape" format="float" /> |
| 500 | <!-- defaults to hotseatQsbSpace, if not specified --> |
| 501 | <attr name="hotseatQsbSpaceTwoPanelLandscape" format="float" /> |
| 502 | <!-- defaults to hotseatQsbSpace, if not specified --> |
| 503 | <attr name="hotseatQsbSpaceTwoPanelPortrait" format="float" /> |
| 504 | |
Jon Miranda | 9c478b6 | 2023-03-23 21:38:49 -0700 | [diff] [blame] | 505 | <!-- defaults to res.taskbar_icon_size, if not specified --> |
| 506 | <attr name="transientTaskbarIconSize" format="float" /> |
| 507 | <!-- defaults to transientTaskbarIconSize, if not specified --> |
| 508 | <attr name="transientTaskbarIconSizeLandscape" format="float" /> |
| 509 | <!-- defaults to transientTaskbarIconSize, if not specified --> |
| 510 | <attr name="transientTaskbarIconSizeTwoPanelLandscape" format="float" /> |
| 511 | <!-- defaults to transientTaskbarIconSize, if not specified --> |
| 512 | <attr name="transientTaskbarIconSizeTwoPanelPortrait" format="float" /> |
| 513 | |
Ryan Mitchell | 01b8b68 | 2019-03-28 17:01:07 -0700 | [diff] [blame] | 514 | <attr name="iconImageSize" format="float" /> |
Thales Lima | 85c942f | 2021-12-31 13:04:20 +0000 | [diff] [blame] | 515 | <!-- defaults to iconImageSize, if not specified --> |
| 516 | <attr name="iconSizeLandscape" format="float" /> |
| 517 | <!-- defaults to iconSize, if not specified --> |
| 518 | <attr name="iconSizeTwoPanelPortrait" format="float" /> |
| 519 | <!-- defaults to iconSize, if not specified --> |
| 520 | <attr name="iconSizeTwoPanelLandscape" format="float" /> |
Andras Kloczl | 30fe915 | 2021-08-05 18:02:29 +0200 | [diff] [blame] | 521 | |
Sunny Goyal | 819e193 | 2016-07-07 16:43:58 -0700 | [diff] [blame] | 522 | <attr name="iconTextSize" format="float" /> |
Thales Lima | 85c942f | 2021-12-31 13:04:20 +0000 | [diff] [blame] | 523 | <!-- defaults to iconTextSize, if not specified --> |
| 524 | <attr name="iconTextSizeLandscape" format="float" /> |
| 525 | <!-- defaults to iconTextSize, if not specified --> |
| 526 | <attr name="iconTextSizeTwoPanelPortrait" format="float" /> |
| 527 | <!-- defaults to iconTextSize, if not specified --> |
| 528 | <attr name="iconTextSizeTwoPanelLandscape" format="float" /> |
Sunny Goyal | 19ff728 | 2021-04-22 10:12:54 -0700 | [diff] [blame] | 529 | |
Jon Miranda | 04f0510 | 2023-04-04 12:16:31 -0700 | [diff] [blame] | 530 | <!-- If true, used to layout taskbar in 3 button navigation mode. --> |
| 531 | <!-- defaults to false if not specified --> |
| 532 | <attr name="startAlignTaskbar" format="boolean" /> |
| 533 | <!-- defaults to startAlignTaskbar, if not specified --> |
| 534 | <attr name="startAlignTaskbarLandscape" format="boolean" /> |
| 535 | <!-- defaults to startAlignTaskbarLandscape, if not specified --> |
| 536 | <attr name="startAlignTaskbarTwoPanelLandscape" format="boolean" /> |
| 537 | <!-- defaults to startAlignTaskbar, if not specified --> |
| 538 | <attr name="startAlignTaskbarTwoPanelPortrait" format="boolean" /> |
| 539 | |
Sunny Goyal | 19ff728 | 2021-04-22 10:12:54 -0700 | [diff] [blame] | 540 | <!-- If set, this display option is used to determine the default grid --> |
Thales Lima | 1de4d55 | 2021-10-13 16:13:25 +0100 | [diff] [blame] | 541 | <attr name="canBeDefault" format="boolean" /> |
Sunny Goyal | ae190ff | 2020-04-14 00:19:01 +0000 | [diff] [blame] | 542 | |
Thales Lima | d90faab | 2021-09-21 17:18:47 +0100 | [diff] [blame] | 543 | <!-- Margin on left and right of the workspace when GridDisplayOption#isScalable is true --> |
| 544 | <attr name="horizontalMargin" format="float"/> |
Thales Lima | 85c942f | 2021-12-31 13:04:20 +0000 | [diff] [blame] | 545 | <!-- defaults to horizontalMargin if not specified --> |
Thales Lima | dd02734 | 2022-01-07 12:54:37 +0000 | [diff] [blame] | 546 | <attr name="horizontalMarginLandscape" format="float"/> |
| 547 | <!-- defaults to horizontalMargin if not specified --> |
Thales Lima | 85c942f | 2021-12-31 13:04:20 +0000 | [diff] [blame] | 548 | <attr name="horizontalMarginTwoPanelLandscape" format="float"/> |
| 549 | <!-- defaults to horizontalMargin if not specified --> |
| 550 | <attr name="horizontalMarginTwoPanelPortrait" format="float"/> |
Thales Lima | 12d0eff | 2022-03-25 17:06:11 +0000 | [diff] [blame] | 551 | |
Sunny Goyal | 819e193 | 2016-07-07 16:43:58 -0700 | [diff] [blame] | 552 | </declare-styleable> |
| 553 | |
Thales Lima | d852d65 | 2023-01-17 14:01:13 +0000 | [diff] [blame] | 554 | <declare-styleable name="FolderStyle"> |
Thales Lima | b35faed | 2022-09-05 16:30:01 -0300 | [diff] [blame] | 555 | <!-- defaults to minCellHeight if not specified |
| 556 | when GridDisplayOption#isScalable is true. --> |
| 557 | <attr name="folderCellHeight" format="dimension" /> |
| 558 | <!-- defaults to minCellWidth, if not specified --> |
| 559 | <attr name="folderCellWidth" format="dimension" /> |
| 560 | <!-- space to be used horizontally and vertically between icons, |
| 561 | and to the left and right of folder --> |
| 562 | <attr name="folderBorderSpace" format="dimension" /> |
| 563 | <!-- height of the footer of the folder --> |
| 564 | <attr name="folderFooterHeight" format="dimension" /> |
| 565 | <!-- padding on top of the folder --> |
| 566 | <attr name="folderTopPadding" format="dimension" /> |
| 567 | </declare-styleable> |
| 568 | |
Sunny Goyal | c13403c | 2016-11-18 23:44:48 -0800 | [diff] [blame] | 569 | <declare-styleable name="CellLayout"> |
| 570 | <attr name="containerType" format="integer"> |
| 571 | <enum name="workspace" value="0" /> |
| 572 | <enum name="hotseat" value="1" /> |
| 573 | <enum name="folder" value="2" /> |
| 574 | </attr> |
| 575 | </declare-styleable> |
| 576 | |
Thales Lima | d852d65 | 2023-01-17 14:01:13 +0000 | [diff] [blame] | 577 | <declare-styleable name="CellStyle"> |
| 578 | <attr name="iconDrawablePadding" format="dimension" /> |
| 579 | </declare-styleable> |
| 580 | |
Thales Lima | e9273ea | 2023-01-26 12:33:52 +0000 | [diff] [blame] | 581 | <declare-styleable name="AllAppsStyle"> |
| 582 | <attr name="horizontalPadding" format="dimension" /> |
| 583 | </declare-styleable> |
| 584 | |
Sunny Goyal | da1dfa3 | 2017-04-26 22:34:49 -0700 | [diff] [blame] | 585 | <declare-styleable name="ShadowDrawable"> |
| 586 | <attr name="android:src" /> |
| 587 | <attr name="android:shadowColor" /> |
Sunny Goyal | 8b6ac00 | 2017-05-16 16:16:25 -0700 | [diff] [blame] | 588 | <attr name="android:elevation" /> |
Samuel Fufa | 6e5efb0 | 2020-11-02 11:31:59 -0600 | [diff] [blame] | 589 | <attr name="darkTintColor" format="color" /> |
Sunny Goyal | da1dfa3 | 2017-04-26 22:34:49 -0700 | [diff] [blame] | 590 | </declare-styleable> |
Sunny Goyal | 89d5c5a | 2017-06-23 16:12:50 -0700 | [diff] [blame] | 591 | |
| 592 | <declare-styleable name="RecyclerViewFastScroller"> |
| 593 | <attr name="canThumbDetach" format="boolean" /> |
| 594 | </declare-styleable> |
Sunny Goyal | 952e63d | 2017-08-16 04:59:08 -0700 | [diff] [blame] | 595 | |
Sunny Goyal | b694a69 | 2020-10-13 13:37:28 -0700 | [diff] [blame] | 596 | <declare-styleable name="LoggablePref"> |
| 597 | <attr name="android:key" /> |
| 598 | <attr name="android:defaultValue" /> |
| 599 | <!-- Ground truth of this Pref integer can be found in StatsLogManager --> |
| 600 | <attr name="logIdOn" format="integer" /> |
| 601 | <attr name="logIdOff" format="integer" /> |
| 602 | </declare-styleable> |
| 603 | |
Sunny Goyal | ef92b82 | 2018-11-21 14:12:00 -0800 | [diff] [blame] | 604 | <declare-styleable name="PreviewFragment"> |
| 605 | <attr name="android:name" /> |
| 606 | <attr name="android:id" /> |
| 607 | </declare-styleable> |
Steven Ng | e92bc55 | 2021-02-10 17:10:15 +0000 | [diff] [blame] | 608 | |
| 609 | <declare-styleable name="WidgetsListRowHeader"> |
| 610 | <attr name="appIconSize" format="dimension" /> |
Shamali P | 55fded3 | 2024-02-06 17:49:37 +0000 | [diff] [blame] | 611 | <attr name="collapsable" format="boolean" /> |
Steven Ng | e92bc55 | 2021-02-10 17:10:15 +0000 | [diff] [blame] | 612 | </declare-styleable> |
Steven Ng | 43859f1 | 2021-09-24 12:39:55 +0100 | [diff] [blame] | 613 | |
| 614 | <declare-styleable name="WidgetSections"> |
| 615 | <!-- Component name of an app widget provider. --> |
| 616 | <attr name="provider" format="string" /> |
| 617 | <!-- If true, keep the app widget under its app listing in addition to the widget category |
| 618 | in the widget picker. Defaults to false if not specified. --> |
| 619 | <attr name="alsoKeepInApp" format="boolean" /> |
| 620 | <!-- The category of an app widget provider. Defaults to -1 if not specified. --> |
| 621 | <attr name="category" format="integer" /> |
| 622 | <!-- The title name of a widget category. --> |
| 623 | <attr name="sectionTitle" format="reference" /> |
| 624 | <!-- The icon drawable of a widget category. --> |
| 625 | <attr name="sectionDrawable" format="reference" /> |
| 626 | </declare-styleable> |
Pat Manning | 58b6145f | 2023-02-17 15:03:18 +0000 | [diff] [blame] | 627 | |
| 628 | <declare-styleable name="ArrowTipView"> |
| 629 | <attr name="arrowTipBackground" format="color" /> |
Pat Manning | da69661 | 2023-02-17 15:06:58 +0000 | [diff] [blame] | 630 | <attr name="arrowTipTextColor" format="color" /> |
Pat Manning | 58b6145f | 2023-02-17 15:03:18 +0000 | [diff] [blame] | 631 | </declare-styleable> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 632 | </resources> |