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 <attr name="loadingIconColor" format="color" /> 37 38 <attr name="folderDotColor" format="color" /> 39 <attr name="folderFillColor" format="color" /> 40 <attr name="folderIconRadius" format="float" /> 41 <attr name="folderIconBorderColor" format="color" /> 42 <attr name="folderTextColor" format="color" /> 43 44 <!-- BubbleTextView specific attributes. --> 45 <declare-styleable name="BubbleTextView"> 46 <attr name="layoutHorizontal" format="boolean" /> 47 <attr name="iconSizeOverride" format="dimension" /> 48 <attr name="iconDisplay" format="integer"> 49 <enum name="workspace" value="0" /> 50 <enum name="all_apps" value="1" /> 51 <enum name="folder" value="2" /> 52 <enum name="widget_section" value="3" /> 53 <enum name="shortcut_popup" value="4" /> 54 </attr> 55 <attr name="centerVertically" format="boolean" /> 56 </declare-styleable> 57 58 <!-- BubbleTextView specific attributes. --> 59 <declare-styleable name="FolderIconPreview"> 60 <attr name="folderFillColor" /> 61 <attr name="folderIconBorderColor" /> 62 <attr name="folderDotColor" /> 63 </declare-styleable> 64 65 <declare-styleable name="ShadowInfo"> 66 <attr name="ambientShadowColor" format="color" /> 67 <attr name="ambientShadowBlur" format="dimension" /> 68 <attr name="keyShadowColor" format="color" /> 69 <attr name="keyShadowBlur" format="dimension" /> 70 <attr name="keyShadowOffset" format="dimension" /> 71 </declare-styleable> 72 73 <!-- PagedView specific attributes. These attributes are used to customize 74 a PagedView view in XML files. --> 75 <declare-styleable name="PagedView"> 76 <!-- The page indicator for this workspace --> 77 <attr name="pageIndicator" format="reference" /> 78 </declare-styleable> 79 80 <!-- XML attributes used by default_workspace.xml --> 81 <declare-styleable name="Favorite"> 82 <attr name="className" format="string" /> 83 <attr name="packageName" format="string" /> 84 <attr name="container" format="string" /> 85 <attr name="screen" format="string" /> 86 <attr name="x" format="string" /> 87 <attr name="y" format="string" /> 88 <attr name="spanX" format="string" /> 89 <attr name="spanY" format="string" /> 90 <attr name="icon" format="reference" /> 91 <attr name="title" format="string" /> 92 <attr name="uri" format="string" /> 93 </declare-styleable> 94 95 <declare-styleable name="Extra"> 96 <attr name="key" format="string" /> 97 <attr name="value" format="string" /> 98 </declare-styleable> 99 <declare-styleable name="Include"> 100 <attr name="workspace" format="reference" /> 101 <attr name="folderItems" format="reference" /> 102 </declare-styleable> 103 104 <declare-styleable name="InsettableFrameLayout_Layout"> 105 <attr name="layout_ignoreInsets" format="boolean" /> 106 </declare-styleable> 107 108 <declare-styleable name="GridDisplayOption"> 109 <attr name="name" format="string" /> 110 111 <attr name="numRows" format="integer" /> 112 <attr name="numColumns" format="integer" /> 113 <!-- numFolderRows & numFolderColumns defaults to numRows & numColumns, if not specified --> 114 <attr name="numFolderRows" format="integer" /> 115 <attr name="numFolderColumns" format="integer" /> 116 <!-- numHotseatIcons defaults to numColumns, if not specified --> 117 <attr name="numHotseatIcons" format="integer" /> 118 <attr name="defaultLayoutId" format="reference" /> 119 <attr name="demoModeLayoutId" format="reference" /> 120 </declare-styleable> 121 122 <declare-styleable name="ProfileDisplayOption"> 123 <attr name="name" /> 124 <attr name="minWidthDps" format="float" /> 125 <attr name="minHeightDps" format="float" /> 126 127 <attr name="iconImageSize" format="float" /> 128 <!-- landscapeIconSize defaults to iconSize, if not specified --> 129 <attr name="landscapeIconSize" format="float" /> 130 <attr name="iconTextSize" format="float" /> 131 <!-- If true, this display option is used to determine the default grid --> 132 <attr name="canBeDefault" format="boolean" /> 133 </declare-styleable> 134 135 <declare-styleable name="CellLayout"> 136 <attr name="containerType" format="integer"> 137 <enum name="workspace" value="0" /> 138 <enum name="hotseat" value="1" /> 139 <enum name="folder" value="2" /> 140 </attr> 141 </declare-styleable> 142 143 <declare-styleable name="ShadowDrawable"> 144 <attr name="android:src" /> 145 <attr name="android:shadowColor" /> 146 <attr name="android:elevation" /> 147 <attr name="darkTintColor" format="color"/> 148 </declare-styleable> 149 150 <declare-styleable name="RecyclerViewFastScroller"> 151 <attr name="canThumbDetach" format="boolean" /> 152 </declare-styleable> 153 154 <declare-styleable name="PreviewFragment"> 155 <attr name="android:name" /> 156 <attr name="android:id" /> 157 </declare-styleable> 158</resources> 159