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    </declare-styleable>
38    <declare-styleable name="DeadZone">
39        <attr name="minSize" format="dimension" />
40        <attr name="maxSize" format="dimension" />
41        <attr name="holdTime" format="integer" />
42        <attr name="decayTime" format="integer" />
43        <attr name="orientation" />
44    </declare-styleable>
45    <attr name="frameColor" format="color" />
46    <declare-styleable name="BatteryMeterView">
47        <attr name="frameColor" />
48    </declare-styleable>
49    <declare-styleable name="Clock">
50        <attr name="amPmStyle" format="enum">
51            <enum name="normal" value="0" />
52            <enum name="small" value="1" />
53            <enum name="gone" value="2" />
54        </attr>
55        <attr name="showDark" format="boolean" />
56    </declare-styleable>
57    <attr name="orientation">
58        <enum name="horizontal" value="0" />
59        <enum name="vertical" value="1" />
60    </attr>
61    <declare-styleable name="UserAvatarView">
62        <attr name="avatarPadding" format="dimension" />
63        <attr name="frameWidth" format="dimension" />
64        <attr name="framePadding" format="dimension" />
65        <!-- {@deprecated Use a statelist in frameColor instead.} -->
66        <attr name="activeFrameColor" format="color" />
67        <attr name="frameColor" />
68        <attr name="badgeDiameter" format="dimension" />
69        <attr name="badgeMargin" format="dimension" />
70    </declare-styleable>
71    <declare-styleable name="UserDetailItemView">
72        <attr name="regularFontFamily" format="string" />
73        <attr name="activatedFontFamily" format="string" />
74    </declare-styleable>
75    <declare-styleable name="DateView">
76        <attr name="datePattern" format="string" />
77    </declare-styleable>
78    <declare-styleable name="PseudoGridView">
79        <attr name="numColumns" format="integer" />
80        <attr name="verticalSpacing" format="dimension" />
81        <attr name="horizontalSpacing" format="dimension" />
82    </declare-styleable>
83
84    <!-- Theme for icons in the status bar (light/dark). background/fillColor is used for dual tone
85         icons like wifi and signal, and singleToneColor is used for icons with only one tone.
86         Contract: Pixel with fillColor blended over backgroundColor blended over translucent should
87         equal to singleToneColor blended over translucent. -->
88    <declare-styleable name="TonedIcon">
89        <attr name="backgroundColor" format="integer" />
90        <attr name="fillColor" format="integer" />
91        <attr name="singleToneColor" format="integer" />
92    </declare-styleable>
93
94    <declare-styleable name="StatusBarWindowView_Layout">
95        <attr name="ignoreRightInset" format="boolean" />
96    </declare-styleable>
97
98    <declare-styleable name="AnimatedImageView">
99        <attr name="hasOverlappingRendering" format="boolean" />
100    </declare-styleable>
101
102    <declare-styleable name="TunerSwitch">
103        <attr name="defValue" format="boolean" />
104        <attr name="metricsAction" format="integer" />
105    </declare-styleable>
106
107    <declare-styleable name="AutoReinflateContainer">
108        <attr name="android:layout" />
109    </declare-styleable>
110
111    <declare-styleable name="HybridNotificationTheme">
112        <attr name="hybridNotificationStyle" format="reference" />
113        <attr name="hybridNotificationTitleStyle" format="reference" />
114        <attr name="hybridNotificationTextStyle" format="reference" />
115    </declare-styleable>
116
117    <declare-styleable name="AutoSizingList">
118        <!-- Whether AutoSizingList will show only as many items as fit on screen and
119             remove extra items instead of scrolling. -->
120        <attr name="enableAutoSizing" format="boolean" />
121        <attr name="itemHeight" format="dimension" />
122    </declare-styleable>
123
124    <declare-styleable name="PluginInflateContainer">
125        <attr name="viewType" format="string" />
126    </declare-styleable>
127    <declare-styleable name="ScrimView">
128        <!-- The initial color for the scrim. -->
129        <attr name="scrimColor" format="color" />
130    </declare-styleable>
131
132    <attr name="lightIconTheme" format="reference" />
133    <attr name="darkIconTheme" format="reference" />
134</resources>
135
136