1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3/* Copyright 2008, The Android Open Source Project 4** 5** Licensed under the Apache License, Version 2.0 (the "License"); 6** you may not use this file except in compliance with the License. 7** You may obtain a copy of the License at 8** 9** http://www.apache.org/licenses/LICENSE-2.0 10** 11** Unless required by applicable law or agreed to in writing, software 12** distributed under the License is distributed on an "AS IS" BASIS, 13** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14** See the License for the specific language governing permissions and 15** limitations under the License. 16*/ 17--> 18 19<resources xmlns:android="http://schemas.android.com/apk/res/android"> 20 21 <!-- Attributes used for launcher theme --> 22 <attr name="allAppsScrimColor" format="color" /> 23 <attr name="allAppsInterimScrimAlpha" format="integer" /> 24 <attr name="allAppsNavBarScrimColor" format="color" /> 25 <attr name="popupColorPrimary" format="color" /> 26 <attr name="popupColorSecondary" format="color" /> 27 <attr name="popupColorTertiary" format="color" /> 28 <attr name="isMainColorDark" format="boolean" /> 29 <attr name="isWorkspaceDarkText" format="boolean" /> 30 <attr name="workspaceTextColor" format="color" /> 31 <attr name="workspaceShadowColor" format="color" /> 32 <attr name="workspaceAmbientShadowColor" format="color"/> 33 <attr name="workspaceKeyShadowColor" format="color" /> 34 <attr name="workspaceStatusBarScrim" format="reference" /> 35 <attr name="widgetsTheme" format="reference" /> 36 37 <!-- BubbleTextView specific attributes. --> 38 <declare-styleable name="BubbleTextView"> 39 <attr name="layoutHorizontal" format="boolean" /> 40 <attr name="iconSizeOverride" format="dimension" /> 41 <attr name="iconDisplay" format="integer"> 42 <enum name="workspace" value="0" /> 43 <enum name="all_apps" value="1" /> 44 <enum name="folder" value="2" /> 45 <enum name="widget_section" value="3" /> 46 <enum name="shortcut_popup" value="4" /> 47 </attr> 48 <attr name="centerVertically" format="boolean" /> 49 </declare-styleable> 50 51 <declare-styleable name="ShadowInfo"> 52 <attr name="ambientShadowColor" format="color" /> 53 <attr name="ambientShadowBlur" format="dimension" /> 54 <attr name="keyShadowColor" format="color" /> 55 <attr name="keyShadowBlur" format="dimension" /> 56 <attr name="keyShadowOffset" format="dimension" /> 57 </declare-styleable> 58 59 <!-- PagedView specific attributes. These attributes are used to customize 60 a PagedView view in XML files. --> 61 <declare-styleable name="PagedView"> 62 <!-- The page indicator for this workspace --> 63 <attr name="pageIndicator" format="reference" /> 64 </declare-styleable> 65 66 <!-- XML attributes used by default_workspace.xml --> 67 <declare-styleable name="Favorite"> 68 <attr name="className" format="string" /> 69 <attr name="packageName" format="string" /> 70 <attr name="container" format="string" /> 71 <attr name="screen" format="string" /> 72 <attr name="x" format="string" /> 73 <attr name="y" format="string" /> 74 <attr name="spanX" format="string" /> 75 <attr name="spanY" format="string" /> 76 <attr name="icon" format="reference" /> 77 <attr name="title" format="string" /> 78 <attr name="uri" format="string" /> 79 </declare-styleable> 80 81 <declare-styleable name="Extra"> 82 <attr name="key" format="string" /> 83 <attr name="value" format="string" /> 84 </declare-styleable> 85 <declare-styleable name="Include"> 86 <attr name="workspace" format="reference" /> 87 <attr name="folderItems" format="reference" /> 88 </declare-styleable> 89 90 <declare-styleable name="InsettableFrameLayout_Layout"> 91 <attr name="layout_ignoreInsets" format="boolean" /> 92 </declare-styleable> 93 94 <declare-styleable name="InvariantDeviceProfile"> 95 <attr name="name" format="string" /> 96 <attr name="minWidthDps" format="float" /> 97 <attr name="minHeightDps" format="float" /> 98 99 <attr name="numRows" format="integer" /> 100 <attr name="numColumns" format="integer" /> 101 <!-- numFolderRows & numFolderColumns defaults to numRows & numColumns, if not specified --> 102 <attr name="numFolderRows" format="integer" /> 103 <attr name="numFolderColumns" format="integer" /> 104 <!-- numHotseatIcons defaults to numColumns, if not specified --> 105 <attr name="numHotseatIcons" format="integer" /> 106 107 <attr name="iconSize" format="float" /> 108 <!-- landscapeIconSize defaults to iconSize, if not specified --> 109 <attr name="landscapeIconSize" format="float" /> 110 <attr name="iconTextSize" format="float" /> 111 112 <attr name="defaultLayoutId" format="reference" /> 113 <attr name="demoModeLayoutId" format="reference" /> 114 </declare-styleable> 115 116 <declare-styleable name="CellLayout"> 117 <attr name="containerType" format="integer"> 118 <enum name="workspace" value="0" /> 119 <enum name="hotseat" value="1" /> 120 <enum name="folder" value="2" /> 121 </attr> 122 </declare-styleable> 123 124 <declare-styleable name="ShadowDrawable"> 125 <attr name="android:src" /> 126 <attr name="android:shadowColor" /> 127 <attr name="android:elevation" /> 128 <attr name="darkTintColor" format="color"/> 129 </declare-styleable> 130 131 <declare-styleable name="RecyclerViewFastScroller"> 132 <attr name="canThumbDetach" format="boolean" /> 133 </declare-styleable> 134 135 <declare-styleable name="CustomAppWidgetProviderInfo"> 136 <attr name="providerId" format="integer" /> 137 138 <attr name="android:label" /> 139 <attr name="android:initialLayout" /> 140 <attr name="android:icon" /> 141 <attr name="android:previewImage" /> 142 <attr name="android:resizeMode" /> 143 144 <attr name="numRows" /> 145 <attr name="numColumns" /> 146 <attr name="numMinRows" format="integer" /> 147 <attr name="numMinColumns" format="integer" /> 148 </declare-styleable> 149</resources> 150