• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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="backgroundProtectedStyle" format="reference" />
128
129    <declare-styleable name="SmartReplyView">
130        <attr name="spacing" format="dimension" />
131        <attr name="singleLineButtonPaddingHorizontal" format="dimension" />
132        <attr name="doubleLineButtonPaddingHorizontal" format="dimension" />
133        <attr name="buttonStrokeWidth" format="dimension" />
134    </declare-styleable>
135
136    <!-- Used to style rotate suggestion button AVD animations -->
137    <attr name="rotateButtonStartAngle" format="float" />
138    <attr name="rotateButtonEndAngle" format="float" />
139    <attr name="rotateButtonScaleX" format="float" />
140
141    <!-- Used to style charging animation AVD animation -->
142    <attr name="chargingAnimColor" format="color" />
143
144    <!-- Size of shadows/elevations on keyguard -->
145    <attr name="shadowRadius" format="float" />
146
147    <!-- Used display CarrierText in Keyguard or QS Footer -->
148    <declare-styleable name="CarrierText">
149        <attr name="allCaps" format="boolean" />
150        <attr name="showMissingSim" format="boolean" />
151        <attr name="showAirplaneMode" format="boolean" />
152    </declare-styleable>
153
154    <declare-styleable name="CaptionsToggleImageButton">
155        <attr name="optedOut" format="boolean" />
156    </declare-styleable>
157
158    <declare-styleable name="IlluminationDrawable">
159        <attr name="highlight" format="integer" />
160        <attr name="cornerRadius" format="dimension" />
161        <attr name="rippleMinSize" format="dimension" />
162        <attr name="rippleMaxSize" format="dimension" />
163    </declare-styleable>
164</resources>
165
166