• 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="regularFontFamily" format="string" />
67        <attr name="activatedFontFamily" 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 bar (light/dark). background/fillColor is used for dual tone
79         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    </declare-styleable>
87
88    <declare-styleable name="StatusBarWindowView_Layout">
89        <attr name="ignoreRightInset" format="boolean" />
90    </declare-styleable>
91
92    <declare-styleable name="AnimatedImageView">
93        <attr name="hasOverlappingRendering" format="boolean" />
94    </declare-styleable>
95
96    <declare-styleable name="TunerSwitch">
97        <attr name="defValue" format="boolean" />
98        <attr name="metricsAction" format="integer" />
99    </declare-styleable>
100
101    <declare-styleable name="AutoReinflateContainer">
102        <attr name="android:layout" />
103    </declare-styleable>
104
105    <declare-styleable name="HybridNotificationTheme">
106        <attr name="hybridNotificationStyle" format="reference" />
107        <attr name="hybridNotificationTitleStyle" format="reference" />
108        <attr name="hybridNotificationTextStyle" format="reference" />
109    </declare-styleable>
110
111    <declare-styleable name="AutoSizingList">
112        <!-- Whether AutoSizingList will show only as many items as fit on screen and
113             remove extra items instead of scrolling. -->
114        <attr name="enableAutoSizing" format="boolean" />
115        <attr name="itemHeight" format="dimension" />
116    </declare-styleable>
117
118    <declare-styleable name="PluginInflateContainer">
119        <attr name="viewType" format="string" />
120    </declare-styleable>
121
122    <attr name="lightIconTheme" format="reference" />
123    <attr name="darkIconTheme" format="reference" />
124    <attr name="wallpaperTextColor" format="reference|color" />
125    <attr name="wallpaperTextColorSecondary" format="reference|color" />
126    <attr name="backgroundProtectedStyle" format="reference" />
127
128    <declare-styleable name="SmartReplyView">
129        <attr name="spacing" format="dimension" />
130        <attr name="singleLineButtonPaddingHorizontal" format="dimension" />
131        <attr name="doubleLineButtonPaddingHorizontal" format="dimension" />
132        <attr name="buttonStrokeWidth" format="dimension" />
133    </declare-styleable>
134
135    <!-- Used to style rotate suggestion button AVD animations -->
136    <attr name="rotateButtonStartAngle" format="float" />
137    <attr name="rotateButtonEndAngle" format="float" />
138    <attr name="rotateButtonScaleX" format="float" />
139
140    <!-- Used to style charging animation AVD animation -->
141    <attr name="chargingAnimColor" format="color" />
142
143    <!-- Size of shadows/elevations on keyguard -->
144    <attr name="shadowRadius" format="float" />
145
146    <!-- Used display CarrierText in Keyguard or QS Footer -->
147    <declare-styleable name="CarrierText">
148        <attr name="allCaps" format="boolean" />
149        <attr name="showMissingSim" format="boolean" />
150        <attr name="showAirplaneMode" format="boolean" />
151    </declare-styleable>
152
153    <declare-styleable name="CaptionsToggleImageButton">
154        <attr name="optedOut" format="boolean" />
155    </declare-styleable>
156
157    <!-- Theme attributes used to style the appearance of expanded Bubbles -->
158    <declare-styleable name="BubbleExpandedView">
159        <attr name="android:colorBackgroundFloating" />
160        <attr name="android:dialogCornerRadius" />
161    </declare-styleable>
162
163</resources>
164
165