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        <!-- Should this button play sound effects, default true -->
24        <attr name="playSound" format="boolean" />
25        <attr name="android:contentDescription" />
26    </declare-styleable>
27    <declare-styleable name="ToggleSliderView">
28        <attr name="text" format="string" />
29    </declare-styleable>
30    <declare-styleable name="NotificationLinearLayout">
31        <attr name="insetLeft" format="dimension" />
32    </declare-styleable>
33    <declare-styleable name="RecentsPanelView">
34        <attr name="recentItemLayout" format="reference" />
35        <!-- Style for the "Clear all" button. -->
36        <attr name="clearAllStyle" format="reference" />
37        <attr name="clearAllBackgroundColor" format="reference" />
38    </declare-styleable>
39    <declare-styleable name="DeadZone">
40        <attr name="minSize" format="dimension" />
41        <attr name="maxSize" format="dimension" />
42        <attr name="holdTime" format="integer" />
43        <attr name="decayTime" format="integer" />
44        <attr name="orientation" />
45    </declare-styleable>
46    <attr name="frameColor" format="color" />
47    <declare-styleable name="BatteryMeterView">
48        <attr name="frameColor" />
49    </declare-styleable>
50    <declare-styleable name="Clock">
51        <attr name="amPmStyle" format="enum">
52            <enum name="normal" value="0" />
53            <enum name="small" value="1" />
54            <enum name="gone" value="2" />
55        </attr>
56        <attr name="showDark" format="boolean" />
57    </declare-styleable>
58    <attr name="orientation">
59        <enum name="horizontal" value="0" />
60        <enum name="vertical" value="1" />
61    </attr>
62    <declare-styleable name="UserAvatarView">
63        <attr name="avatarPadding" format="dimension" />
64        <attr name="frameWidth" format="dimension" />
65        <attr name="framePadding" format="dimension" />
66        <!-- {@deprecated Use a statelist in frameColor instead.} -->
67        <attr name="activeFrameColor" format="color" />
68        <attr name="frameColor" />
69        <attr name="badgeDiameter" format="dimension" />
70        <attr name="badgeMargin" format="dimension" />
71    </declare-styleable>
72    <declare-styleable name="UserDetailItemView">
73        <attr name="regularFontFamily" format="string" />
74        <attr name="activatedFontFamily" format="string" />
75    </declare-styleable>
76    <declare-styleable name="DateView">
77        <attr name="datePattern" format="string" />
78    </declare-styleable>
79    <declare-styleable name="PseudoGridView">
80        <attr name="numColumns" format="integer" />
81        <attr name="verticalSpacing" format="dimension" />
82        <attr name="horizontalSpacing" format="dimension" />
83    </declare-styleable>
84
85    <!-- Theme for icons in the status bar (light/dark). background/fillColor is used for dual tone
86         icons like wifi and signal, and singleToneColor is used for icons with only one tone.
87         Contract: Pixel with fillColor blended over backgroundColor blended over translucent should
88         equal to singleToneColor blended over translucent. -->
89    <declare-styleable name="TonedIcon">
90        <attr name="backgroundColor" format="integer" />
91        <attr name="fillColor" format="integer" />
92        <attr name="singleToneColor" format="integer" />
93    </declare-styleable>
94
95    <declare-styleable name="StatusBarWindowView_Layout">
96        <attr name="ignoreRightInset" format="boolean" />
97    </declare-styleable>
98
99    <declare-styleable name="AnimatedImageView">
100        <attr name="hasOverlappingRendering" format="boolean" />
101    </declare-styleable>
102
103    <declare-styleable name="TunerSwitch">
104        <attr name="defValue" format="boolean" />
105        <attr name="metricsAction" format="integer" />
106    </declare-styleable>
107
108    <declare-styleable name="AutoReinflateContainer">
109        <attr name="android:layout" />
110    </declare-styleable>
111
112    <declare-styleable name="HybridNotificationTheme">
113        <attr name="hybridNotificationStyle" format="reference" />
114        <attr name="hybridNotificationTitleStyle" format="reference" />
115        <attr name="hybridNotificationTextStyle" format="reference" />
116    </declare-styleable>
117
118    <declare-styleable name="AutoSizingList">
119        <!-- Whether AutoSizingList will show only as many items as fit on screen and
120             remove extra items instead of scrolling. -->
121        <attr name="enableAutoSizing" format="boolean" />
122        <attr name="itemHeight" format="dimension" />
123    </declare-styleable>
124
125    <declare-styleable name="PluginInflateContainer">
126        <attr name="viewType" format="string" />
127    </declare-styleable>
128
129    <attr name="lightIconTheme" format="reference" />
130    <attr name="darkIconTheme" format="reference" />
131    <attr name="wallpaperTextColor" format="reference|color" />
132    <attr name="wallpaperTextColorSecondary" format="reference|color" />
133
134    <declare-styleable name="SmartReplyView">
135        <attr name="spacing" format="dimension" />
136        <attr name="singleLineButtonPaddingHorizontal" format="dimension" />
137        <attr name="doubleLineButtonPaddingHorizontal" format="dimension" />
138        <attr name="buttonStrokeWidth" format="dimension" />
139    </declare-styleable>
140
141    <!-- Used to style rotate suggestion button AVD animations -->
142    <attr name="rotateButtonStartAngle" format="float" />
143    <attr name="rotateButtonEndAngle" format="float" />
144    <attr name="rotateButtonScaleX" format="float" />
145
146</resources>
147
148