2020-11-02 11:31:59 -06:00
|
|
|
<?xml version="1.0" encoding="utf-8"?><!--
|
2009-03-03 19:32:27 -08:00
|
|
|
/* Copyright 2008, The Android Open Source Project
|
|
|
|
|
**
|
|
|
|
|
** Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
** you may not use this file except in compliance with the License.
|
|
|
|
|
** You may obtain a copy of the License at
|
|
|
|
|
**
|
|
|
|
|
** http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
**
|
|
|
|
|
** Unless required by applicable law or agreed to in writing, software
|
|
|
|
|
** distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
|
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
|
** See the License for the specific language governing permissions and
|
|
|
|
|
** limitations under the License.
|
|
|
|
|
*/
|
|
|
|
|
-->
|
|
|
|
|
|
2017-04-26 22:34:49 -07:00
|
|
|
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
2009-03-03 19:32:27 -08:00
|
|
|
|
2017-05-24 13:19:15 -07:00
|
|
|
<!-- Attributes used for launcher theme -->
|
|
|
|
|
<attr name="allAppsScrimColor" format="color" />
|
2021-05-18 16:15:46 -05:00
|
|
|
<attr name="allappsHeaderProtectionColor" format="color" />
|
2017-08-18 01:02:20 -07:00
|
|
|
<attr name="allAppsNavBarScrimColor" format="color" />
|
2020-06-05 12:17:16 -07:00
|
|
|
<attr name="allAppsTheme" format="reference" />
|
2017-06-06 15:42:32 -07:00
|
|
|
<attr name="popupColorPrimary" format="color" />
|
|
|
|
|
<attr name="popupColorSecondary" format="color" />
|
|
|
|
|
<attr name="popupColorTertiary" format="color" />
|
2021-06-24 10:58:56 -07:00
|
|
|
<attr name="popupShadeFirst" format="color" />
|
|
|
|
|
<attr name="popupShadeSecond" format="color" />
|
|
|
|
|
<attr name="popupShadeThird" format="color" />
|
2017-05-31 14:48:19 -07:00
|
|
|
<attr name="isMainColorDark" format="boolean" />
|
|
|
|
|
<attr name="isWorkspaceDarkText" format="boolean" />
|
|
|
|
|
<attr name="workspaceTextColor" format="color" />
|
|
|
|
|
<attr name="workspaceShadowColor" format="color" />
|
2020-11-02 11:31:59 -06:00
|
|
|
<attr name="workspaceAmbientShadowColor" format="color" />
|
2017-05-31 14:48:19 -07:00
|
|
|
<attr name="workspaceKeyShadowColor" format="color" />
|
|
|
|
|
<attr name="workspaceStatusBarScrim" format="reference" />
|
2017-06-26 10:48:41 -07:00
|
|
|
<attr name="widgetsTheme" format="reference" />
|
2020-11-02 11:31:59 -06:00
|
|
|
<attr name="iconOnlyShortcutColor" format="color" />
|
|
|
|
|
<attr name="eduHalfSheetBGColor" format="color" />
|
2021-04-23 16:28:12 -07:00
|
|
|
<attr name="overviewScrimColor" format="color" />
|
2021-06-17 12:35:43 -07:00
|
|
|
<attr name="popupNotificationDotColor" format="color" />
|
2017-05-24 13:19:15 -07:00
|
|
|
|
2019-01-03 16:47:18 -08:00
|
|
|
<attr name="folderDotColor" format="color" />
|
2019-05-13 23:23:05 -07:00
|
|
|
<attr name="folderFillColor" format="color" />
|
2019-01-03 16:47:18 -08:00
|
|
|
<attr name="folderIconRadius" format="float" />
|
2019-02-05 14:45:31 -08:00
|
|
|
<attr name="folderIconBorderColor" format="color" />
|
2019-05-13 23:23:05 -07:00
|
|
|
<attr name="folderTextColor" format="color" />
|
2020-02-03 18:56:54 -08:00
|
|
|
<attr name="folderHintColor" format="color" />
|
2021-05-11 17:01:13 -07:00
|
|
|
<attr name="isFolderDarkText" format="boolean" />
|
2020-02-04 12:08:11 -08:00
|
|
|
<attr name="workProfileOverlayTextColor" format="color" />
|
2021-05-29 00:26:25 +01:00
|
|
|
<attr name="workspaceAccentColor" format="color" />
|
|
|
|
|
<attr name="dropTargetHoverTextColor" format="color" />
|
2019-01-03 16:47:18 -08:00
|
|
|
|
2015-03-02 11:51:23 -08:00
|
|
|
<!-- BubbleTextView specific attributes. -->
|
|
|
|
|
<declare-styleable name="BubbleTextView">
|
|
|
|
|
<attr name="layoutHorizontal" format="boolean" />
|
|
|
|
|
<attr name="iconSizeOverride" format="dimension" />
|
2015-05-11 16:30:44 -07:00
|
|
|
<attr name="iconDisplay" format="integer">
|
|
|
|
|
<enum name="workspace" value="0" />
|
|
|
|
|
<enum name="all_apps" value="1" />
|
2016-09-14 11:26:21 -07:00
|
|
|
<enum name="folder" value="2" />
|
|
|
|
|
<enum name="widget_section" value="3" />
|
2016-11-11 14:13:04 -08:00
|
|
|
<enum name="shortcut_popup" value="4" />
|
2021-06-03 21:20:18 -07:00
|
|
|
<enum name="taskbar" value="5" />
|
|
|
|
|
<enum name="search_result_tall" value="6" />
|
|
|
|
|
<enum name="search_result_small" value="7" />
|
2015-05-11 16:30:44 -07:00
|
|
|
</attr>
|
2016-07-18 17:18:02 -07:00
|
|
|
<attr name="centerVertically" format="boolean" />
|
2017-06-23 10:36:27 -07:00
|
|
|
</declare-styleable>
|
|
|
|
|
|
2019-02-05 14:45:31 -08:00
|
|
|
<!-- BubbleTextView specific attributes. -->
|
|
|
|
|
<declare-styleable name="FolderIconPreview">
|
2019-05-13 23:23:05 -07:00
|
|
|
<attr name="folderFillColor" />
|
2019-02-05 14:45:31 -08:00
|
|
|
<attr name="folderIconBorderColor" />
|
|
|
|
|
<attr name="folderDotColor" />
|
|
|
|
|
</declare-styleable>
|
|
|
|
|
|
2020-11-02 11:31:59 -06:00
|
|
|
<declare-styleable name="SearchResultSuggestion">
|
2020-10-06 18:37:46 -07:00
|
|
|
<attr name="customIcon" format="reference" />
|
|
|
|
|
<attr name="matchTextInsetWithQuery" format="boolean" />
|
|
|
|
|
</declare-styleable>
|
|
|
|
|
|
|
|
|
|
|
2017-06-23 10:36:27 -07:00
|
|
|
<declare-styleable name="ShadowInfo">
|
2017-05-31 14:48:19 -07:00
|
|
|
<attr name="ambientShadowColor" format="color" />
|
2017-06-23 10:36:27 -07:00
|
|
|
<attr name="ambientShadowBlur" format="dimension" />
|
2017-05-31 14:48:19 -07:00
|
|
|
<attr name="keyShadowColor" format="color" />
|
2017-06-23 10:36:27 -07:00
|
|
|
<attr name="keyShadowBlur" format="dimension" />
|
2021-04-16 21:33:39 +08:00
|
|
|
<attr name="keyShadowOffsetX" format="dimension" />
|
|
|
|
|
<attr name="keyShadowOffsetY" format="dimension" />
|
2015-03-02 11:51:23 -08:00
|
|
|
</declare-styleable>
|
|
|
|
|
|
2010-08-09 13:37:56 -07:00
|
|
|
<!-- PagedView specific attributes. These attributes are used to customize
|
|
|
|
|
a PagedView view in XML files. -->
|
|
|
|
|
<declare-styleable name="PagedView">
|
2013-07-16 11:11:32 -07:00
|
|
|
<!-- The page indicator for this workspace -->
|
|
|
|
|
<attr name="pageIndicator" format="reference" />
|
2010-08-09 13:37:56 -07:00
|
|
|
</declare-styleable>
|
|
|
|
|
|
2009-03-18 17:39:48 -07:00
|
|
|
<!-- XML attributes used by default_workspace.xml -->
|
|
|
|
|
<declare-styleable name="Favorite">
|
|
|
|
|
<attr name="className" format="string" />
|
|
|
|
|
<attr name="packageName" format="string" />
|
2011-07-13 17:25:49 -07:00
|
|
|
<attr name="container" format="string" />
|
2009-03-18 17:39:48 -07:00
|
|
|
<attr name="screen" format="string" />
|
|
|
|
|
<attr name="x" format="string" />
|
|
|
|
|
<attr name="y" format="string" />
|
2009-10-30 16:36:56 -07:00
|
|
|
<attr name="spanX" format="string" />
|
|
|
|
|
<attr name="spanY" format="string" />
|
2016-02-26 09:44:27 -08:00
|
|
|
<attr name="icon" format="reference" />
|
|
|
|
|
<attr name="title" format="string" />
|
2009-10-30 16:36:56 -07:00
|
|
|
<attr name="uri" format="string" />
|
2009-03-18 17:39:48 -07:00
|
|
|
</declare-styleable>
|
2014-10-16 09:49:52 -07:00
|
|
|
|
2012-05-01 10:19:14 -07:00
|
|
|
<declare-styleable name="Extra">
|
|
|
|
|
<attr name="key" format="string" />
|
|
|
|
|
<attr name="value" format="string" />
|
|
|
|
|
</declare-styleable>
|
2013-10-03 13:28:36 -04:00
|
|
|
<declare-styleable name="Include">
|
|
|
|
|
<attr name="workspace" format="reference" />
|
2014-10-16 09:49:52 -07:00
|
|
|
<attr name="folderItems" format="reference" />
|
2013-10-03 13:28:36 -04:00
|
|
|
</declare-styleable>
|
2012-05-23 15:14:34 -07:00
|
|
|
|
2014-10-24 16:45:59 -07:00
|
|
|
<declare-styleable name="InsettableFrameLayout_Layout">
|
|
|
|
|
<attr name="layout_ignoreInsets" format="boolean" />
|
|
|
|
|
</declare-styleable>
|
2016-03-24 17:28:25 -07:00
|
|
|
|
2018-11-29 10:33:47 -08:00
|
|
|
<declare-styleable name="GridDisplayOption">
|
2016-07-07 16:43:58 -07:00
|
|
|
<attr name="name" format="string" />
|
|
|
|
|
|
|
|
|
|
<attr name="numRows" format="integer" />
|
|
|
|
|
<attr name="numColumns" format="integer" />
|
|
|
|
|
<!-- numFolderRows & numFolderColumns defaults to numRows & numColumns, if not specified -->
|
|
|
|
|
<attr name="numFolderRows" format="integer" />
|
|
|
|
|
<attr name="numFolderColumns" format="integer" />
|
2021-04-22 10:12:54 -07:00
|
|
|
<!-- numAllAppsColumns defaults to numColumns, if not specified -->
|
|
|
|
|
<attr name="numAllAppsColumns" format="integer" />
|
|
|
|
|
<!-- Number of columns to use when extending the all-apps size,
|
|
|
|
|
defaults to 2 * numAllAppsColumns -->
|
|
|
|
|
<attr name="numExtendedAllAppsColumns" format="integer" />
|
|
|
|
|
|
2016-07-07 16:43:58 -07:00
|
|
|
<!-- numHotseatIcons defaults to numColumns, if not specified -->
|
|
|
|
|
<attr name="numHotseatIcons" format="integer" />
|
2021-04-22 10:12:54 -07:00
|
|
|
<!-- Number of icons to use when extending the hotseat size,
|
|
|
|
|
defaults to 2 * numHotseatIcons -->
|
|
|
|
|
<attr name="numExtendedHotseatIcons" format="integer" />
|
|
|
|
|
|
2020-01-27 13:44:06 -08:00
|
|
|
<attr name="dbFile" format="string" />
|
2018-11-29 10:33:47 -08:00
|
|
|
<attr name="defaultLayoutId" format="reference" />
|
|
|
|
|
<attr name="demoModeLayoutId" format="reference" />
|
2021-02-25 10:45:20 -05:00
|
|
|
<attr name="isScalable" format="boolean" />
|
2021-03-22 17:13:34 -04:00
|
|
|
<attr name="devicePaddingId" format="reference" />
|
2021-02-25 10:45:20 -05:00
|
|
|
|
2018-11-29 10:33:47 -08:00
|
|
|
</declare-styleable>
|
|
|
|
|
|
2021-02-09 11:05:00 -05:00
|
|
|
<declare-styleable name="DevicePadding">
|
|
|
|
|
<attr name="maxEmptySpace" format="dimension" />
|
|
|
|
|
</declare-styleable>
|
|
|
|
|
|
|
|
|
|
<declare-styleable name="DevicePaddingFormula">
|
|
|
|
|
<attr name="a" format="float|dimension" />
|
|
|
|
|
<attr name="b" format="float|dimension" />
|
|
|
|
|
<attr name="c" format="float|dimension" />
|
|
|
|
|
</declare-styleable>
|
|
|
|
|
|
2018-11-29 10:33:47 -08:00
|
|
|
<declare-styleable name="ProfileDisplayOption">
|
|
|
|
|
<attr name="name" />
|
|
|
|
|
<attr name="minWidthDps" format="float" />
|
|
|
|
|
<attr name="minHeightDps" format="float" />
|
2021-02-25 10:45:20 -05:00
|
|
|
|
|
|
|
|
<!-- These min cell values are only used if GridDisplayOption#isScalable is true-->
|
|
|
|
|
<attr name="minCellHeightDps" format="float" />
|
|
|
|
|
<attr name="minCellWidthDps" format="float" />
|
|
|
|
|
|
|
|
|
|
<attr name="borderSpacingDps" format="float" />
|
2018-11-29 10:33:47 -08:00
|
|
|
|
2019-03-28 17:01:07 -07:00
|
|
|
<attr name="iconImageSize" format="float" />
|
2017-06-20 10:58:36 -07:00
|
|
|
<!-- landscapeIconSize defaults to iconSize, if not specified -->
|
|
|
|
|
<attr name="landscapeIconSize" format="float" />
|
2016-07-07 16:43:58 -07:00
|
|
|
<attr name="iconTextSize" format="float" />
|
2021-04-07 13:45:17 +02:00
|
|
|
<!-- landscapeIconTextSize defaults to iconTextSize, if not specified -->
|
|
|
|
|
<attr name="landscapeIconTextSize" format="float" />
|
2021-04-22 10:12:54 -07:00
|
|
|
|
|
|
|
|
<!-- If set, this display option is used to determine the default grid -->
|
|
|
|
|
<attr name="canBeDefault" format="boolean|integer" >
|
|
|
|
|
<!-- The profile can be default on split display devices -->
|
|
|
|
|
<flag name="split_display" value="0x2" />
|
|
|
|
|
</attr>
|
2020-04-14 00:19:01 +00:00
|
|
|
|
|
|
|
|
<!-- The following values are only enabled if grid is supported. -->
|
|
|
|
|
<!-- allAppsIconSize defaults to iconSize, if not specified -->
|
|
|
|
|
<attr name="allAppsIconSize" format="float" />
|
|
|
|
|
<!-- allAppsIconTextSize defaults to iconTextSize, if not specified -->
|
|
|
|
|
<attr name="allAppsIconTextSize" format="float" />
|
2021-03-24 11:32:44 +00:00
|
|
|
|
2016-07-07 16:43:58 -07:00
|
|
|
</declare-styleable>
|
|
|
|
|
|
2016-11-18 23:44:48 -08:00
|
|
|
<declare-styleable name="CellLayout">
|
|
|
|
|
<attr name="containerType" format="integer">
|
|
|
|
|
<enum name="workspace" value="0" />
|
|
|
|
|
<enum name="hotseat" value="1" />
|
|
|
|
|
<enum name="folder" value="2" />
|
|
|
|
|
</attr>
|
|
|
|
|
</declare-styleable>
|
|
|
|
|
|
2017-04-26 22:34:49 -07:00
|
|
|
<declare-styleable name="ShadowDrawable">
|
|
|
|
|
<attr name="android:src" />
|
|
|
|
|
<attr name="android:shadowColor" />
|
2017-05-16 16:16:25 -07:00
|
|
|
<attr name="android:elevation" />
|
2020-11-02 11:31:59 -06:00
|
|
|
<attr name="darkTintColor" format="color" />
|
2017-04-26 22:34:49 -07:00
|
|
|
</declare-styleable>
|
2017-06-23 16:12:50 -07:00
|
|
|
|
|
|
|
|
<declare-styleable name="RecyclerViewFastScroller">
|
|
|
|
|
<attr name="canThumbDetach" format="boolean" />
|
|
|
|
|
</declare-styleable>
|
2017-08-16 04:59:08 -07:00
|
|
|
|
2020-10-13 13:37:28 -07:00
|
|
|
<declare-styleable name="LoggablePref">
|
|
|
|
|
<attr name="android:key" />
|
|
|
|
|
<attr name="android:defaultValue" />
|
|
|
|
|
<!-- Ground truth of this Pref integer can be found in StatsLogManager -->
|
|
|
|
|
<attr name="logIdOn" format="integer" />
|
|
|
|
|
<attr name="logIdOff" format="integer" />
|
|
|
|
|
</declare-styleable>
|
|
|
|
|
|
2018-11-21 14:12:00 -08:00
|
|
|
<declare-styleable name="PreviewFragment">
|
|
|
|
|
<attr name="android:name" />
|
|
|
|
|
<attr name="android:id" />
|
|
|
|
|
</declare-styleable>
|
2021-02-10 17:10:15 +00:00
|
|
|
|
|
|
|
|
<declare-styleable name="WidgetsListRowHeader">
|
|
|
|
|
<attr name="appIconSize" format="dimension" />
|
|
|
|
|
</declare-styleable>
|
2009-03-03 19:32:27 -08:00
|
|
|
</resources>
|