1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2010 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<resources> 18 <declare-styleable name="KeyButtonView"> 19 <!-- key code to send when pressed; if absent or 0, no key is sent --> 20 <attr name="keyCode" format="integer" /> 21 <!-- Should this button play sound effects, default true --> 22 <attr name="playSound" format="boolean" /> 23 <attr name="android:contentDescription" /> 24 </declare-styleable> 25 <declare-styleable name="ToggleSliderView"> 26 <attr name="text" format="string" /> 27 </declare-styleable> 28 <declare-styleable name="NotificationLinearLayout"> 29 <attr name="insetLeft" format="dimension" /> 30 </declare-styleable> 31 <declare-styleable name="DeadZone"> 32 <attr name="minSize" format="dimension" /> 33 <attr name="maxSize" format="dimension" /> 34 <attr name="holdTime" format="integer" /> 35 <attr name="decayTime" format="integer" /> 36 <attr name="orientation" /> 37 </declare-styleable> 38 <attr name="frameColor" format="color" /> 39 <declare-styleable name="BatteryMeterView"> 40 <attr name="frameColor" /> 41 <attr name="textAppearance" format="reference"/> 42 </declare-styleable> 43 <declare-styleable name="Clock"> 44 <attr name="amPmStyle" format="enum"> 45 <enum name="normal" value="0" /> 46 <enum name="small" value="1" /> 47 <enum name="gone" value="2" /> 48 </attr> 49 <attr name="showDark" format="boolean" /> 50 </declare-styleable> 51 <attr name="orientation"> 52 <enum name="horizontal" value="0" /> 53 <enum name="vertical" value="1" /> 54 </attr> 55 <declare-styleable name="UserAvatarView"> 56 <attr name="avatarPadding" format="dimension" /> 57 <attr name="frameWidth" format="dimension" /> 58 <attr name="framePadding" format="dimension" /> 59 <!-- {@deprecated Use a statelist in frameColor instead.} --> 60 <attr name="activeFrameColor" format="color" /> 61 <attr name="frameColor" /> 62 <attr name="badgeDiameter" format="dimension" /> 63 <attr name="badgeMargin" format="dimension" /> 64 </declare-styleable> 65 <declare-styleable name="UserDetailItemView"> 66 <attr name="regularTextAppearance" format="string" /> 67 <attr name="activatedTextAppearance" format="string" /> 68 </declare-styleable> 69 <declare-styleable name="DateView"> 70 <attr name="datePattern" format="string" /> 71 </declare-styleable> 72 <declare-styleable name="PseudoGridView"> 73 <attr name="numColumns" format="integer" /> 74 <attr name="verticalSpacing" format="dimension" /> 75 <attr name="horizontalSpacing" format="dimension" /> 76 </declare-styleable> 77 78 <!-- Theme for icons in the status/nav bar (light/dark). background/fillColor is used for dual 79 tone icons like wifi and signal, and singleToneColor is used for icons with only one tone. 80 Contract: Pixel with fillColor blended over backgroundColor blended over translucent should 81 equal to singleToneColor blended over translucent. --> 82 <declare-styleable name="TonedIcon"> 83 <attr name="backgroundColor" format="integer" /> 84 <attr name="fillColor" format="integer" /> 85 <attr name="singleToneColor" format="integer" /> 86 <attr name="homeHandleColor" format="integer" /> 87 </declare-styleable> 88 89 <declare-styleable name="StatusBarWindowView_Layout"> 90 <attr name="ignoreRightInset" format="boolean" /> 91 </declare-styleable> 92 93 <declare-styleable name="AnimatedImageView"> 94 <attr name="hasOverlappingRendering" format="boolean" /> 95 </declare-styleable> 96 97 <declare-styleable name="TunerSwitch"> 98 <attr name="defValue" format="boolean" /> 99 <attr name="metricsAction" format="integer" /> 100 </declare-styleable> 101 102 <declare-styleable name="AutoReinflateContainer"> 103 <attr name="android:layout" /> 104 </declare-styleable> 105 106 <declare-styleable name="HybridNotificationTheme"> 107 <attr name="hybridNotificationStyle" format="reference" /> 108 <attr name="hybridNotificationTitleStyle" format="reference" /> 109 <attr name="hybridNotificationTextStyle" format="reference" /> 110 </declare-styleable> 111 112 <declare-styleable name="AutoSizingList"> 113 <!-- Whether AutoSizingList will show only as many items as fit on screen and 114 remove extra items instead of scrolling. --> 115 <attr name="enableAutoSizing" format="boolean" /> 116 <attr name="itemHeight" format="dimension" /> 117 </declare-styleable> 118 119 <declare-styleable name="PluginInflateContainer"> 120 <attr name="viewType" format="string" /> 121 </declare-styleable> 122 123 <attr name="lightIconTheme" format="reference" /> 124 <attr name="darkIconTheme" format="reference" /> 125 <attr name="wallpaperTextColor" format="reference|color" /> 126 <attr name="wallpaperTextColorSecondary" format="reference|color" /> 127 <attr name="wallpaperTextColorAccent" format="reference|color" /> 128 <attr name="backgroundProtectedStyle" format="reference" /> 129 <attr name="offStateColor" format="reference|color" /> 130 <attr name="underSurfaceColor" format="reference|color" /> 131 132 <declare-styleable name="SmartReplyView"> 133 <attr name="spacing" format="dimension" /> 134 <attr name="buttonStrokeWidth" format="dimension" /> 135 </declare-styleable> 136 137 <!-- Used to style charging animation AVD animation --> 138 <attr name="chargingAnimColor" format="color" /> 139 140 <!-- Size of shadows/elevations on keyguard --> 141 <attr name="shadowRadius" format="float" /> 142 143 <attr name="handleThickness" format="dimension" /> 144 <attr name="handleColor" format="color" /> 145 <attr name="scrimColor" format="color" /> 146 <!-- Int [0,255] for the alpha to be applied to scrimColor --> 147 <attr name="scrimAlpha" format="integer" /> 148 <attr name="containerBackgroundColor" format="color" /> 149 150 <attr name="isVertical" format="boolean" /> 151 152 <!-- Used display CarrierText in Keyguard or QS Footer --> 153 <declare-styleable name="CarrierText"> 154 <attr name="allCaps" format="boolean" /> 155 <attr name="showMissingSim" format="boolean" /> 156 <attr name="showAirplaneMode" format="boolean" /> 157 </declare-styleable> 158 159 <declare-styleable name="CaptionsToggleImageButton"> 160 <attr name="optedOut" format="boolean" /> 161 </declare-styleable> 162 163 <declare-styleable name="IlluminationDrawable"> 164 <attr name="highlight" format="integer" /> 165 <attr name="cornerRadius" format="dimension" /> 166 <attr name="rippleMinSize" format="dimension" /> 167 <attr name="rippleMaxSize" format="dimension" /> 168 </declare-styleable> 169 170 <declare-styleable name="UdfpsView"> 171 <attr name="sensorPressureCoefficient" format="float"/> 172 <attr name="sensorTouchAreaCoefficient" format="float"/> 173 </declare-styleable> 174 175 <declare-styleable name="AlphaTintDrawableWrapper"> 176 <attr name="android:tint" /> 177 <attr name="android:alpha" /> 178 </declare-styleable> 179 180 <declare-styleable name="CropView"> 181 <attr name="handleThickness" /> 182 <attr name="handleColor" /> 183 <attr name="scrimColor" /> 184 <attr name="scrimAlpha" /> 185 <attr name="containerBackgroundColor" /> 186 </declare-styleable> 187 188 <declare-styleable name="MagnifierView"> 189 <attr name="handleThickness" /> 190 <attr name="handleColor" /> 191 <attr name="scrimColor" /> 192 <attr name="scrimAlpha" /> 193 <attr name="borderThickness" format="dimension" /> 194 <attr name="borderColor" format="color" /> 195 </declare-styleable> 196 197 <declare-styleable name="DualHeightHorizontalLinearLayout"> 198 <attr name="singleLineHeight" format="dimension" /> 199 <attr name="singleLineVerticalPadding" format="dimension" /> 200 <attr name="textViewId" format="reference" /> 201 </declare-styleable> 202</resources> 203 204