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 <!-- does this button generate longpress / repeat events? --> 22 <attr name="keyRepeat" format="boolean" /> 23 </declare-styleable> 24 <declare-styleable name="ToggleSlider"> 25 <attr name="text" format="string" /> 26 </declare-styleable> 27 <declare-styleable name="NotificationLinearLayout"> 28 <attr name="insetLeft" format="dimension" /> 29 </declare-styleable> 30 <declare-styleable name="NotificationRowLayout"> 31 <attr name="rowHeight" format="dimension" /> 32 </declare-styleable> 33 <declare-styleable name="RecentsPanelView"> 34 <attr name="recentItemLayout" format="reference" /> 35 </declare-styleable> 36 <declare-styleable name="DeadZone"> 37 <attr name="minSize" format="dimension" /> 38 <attr name="maxSize" format="dimension" /> 39 <attr name="holdTime" format="integer" /> 40 <attr name="decayTime" format="integer" /> 41 <attr name="orientation" /> 42 </declare-styleable> 43 <declare-styleable name="BatteryMeterView"> 44 <attr name="frameColor" format="color" /> 45 </declare-styleable> 46 <declare-styleable name="Clock"> 47 <attr name="amPmStyle" format="enum"> 48 <enum name="normal" value="0" /> 49 <enum name="small" value="1" /> 50 <enum name="gone" value="2" /> 51 </attr> 52 </declare-styleable> 53 <attr name="orientation"> 54 <enum name="horizontal" value="0" /> 55 <enum name="vertical" value="1" /> 56 </attr> 57 <declare-styleable name="UserAvatarView"> 58 <attr name="frameWidth" format="dimension" /> 59 <attr name="framePadding" format="dimension" /> 60 <attr name="activeFrameColor" format="color" /> 61 <attr name="frameColor" /> 62 </declare-styleable> 63 <declare-styleable name="UserDetailItemView"> 64 <attr name="regularFontFamily" format="string" /> 65 <attr name="activatedFontFamily" format="string" /> 66 </declare-styleable> 67 <declare-styleable name="DateView"> 68 <attr name="datePattern" format="string" /> 69 </declare-styleable> 70 <declare-styleable name="PseudoGridView"> 71 <attr name="numColumns" format="integer" /> 72 <attr name="verticalSpacing" format="dimension" /> 73 <attr name="horizontalSpacing" format="dimension" /> 74 </declare-styleable> 75 76 <!-- Theme for icons in the status bar (light/dark). background/fillColor is used for dual tone 77 icons like wifi and signal, and singleToneColor is used for icons with only one tone. 78 Contract: Pixel with fillColor blended over backgroundColor blended over translucent should 79 equal to singleToneColor blended over translucent. --> 80 <declare-styleable name="TonedIcon"> 81 <attr name="backgroundColor" format="integer" /> 82 <attr name="fillColor" format="integer" /> 83 <attr name="singleToneColor" format="integer" /> 84 </declare-styleable> 85 86 <declare-styleable name="StatusBarWindowView_Layout"> 87 <attr name="ignoreRightInset" format="boolean" /> 88 </declare-styleable> 89 90 <declare-styleable name="AlphaOptimizedImageView"> 91 <attr name="hasOverlappingRendering" format="boolean" /> 92 </declare-styleable> 93</resources> 94 95