1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2008 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="PercentageBarChart">
19        <!-- Background color -->
20        <attr name="emptyColor" format="color" />
21        <!-- Minimum tick width for each slice in the bar chart. -->
22        <attr name="minTickWidth" format="dimension" />
23    </declare-styleable>
24
25    <declare-styleable name="ChartView">
26        <!-- optimal width of the chart -->
27        <attr name="optimalWidth" format="dimension" />
28        <!-- how to weight extra space beyond optimal width -->
29        <attr name="optimalWidthWeight" format="float" />
30    </declare-styleable>
31
32    <declare-styleable name="ChartSweepView">
33        <attr name="sweepDrawable" format="reference" />
34        <attr name="followAxis">
35            <enum name="horizontal" value="0" />
36            <enum name="vertical" value="1" />
37        </attr>
38        <attr name="neighborMargin" format="dimension" />
39        <attr name="labelSize" format="dimension" />
40        <attr name="labelTemplate" format="reference" />
41        <attr name="labelColor" format="color" />
42        <attr name="safeRegion" format="dimension" />
43    </declare-styleable>
44
45    <declare-styleable name="ChartGridView">
46        <attr name="primaryDrawable" format="reference" />
47        <attr name="secondaryDrawable" format="reference" />
48        <attr name="borderDrawable" format="reference" />
49        <attr name="android:textColor" />
50        <attr name="android:textAppearance" />
51    </declare-styleable>
52
53    <attr name="apnPreferenceStyle" format="reference" />
54
55    <attr name="slicePreferenceStyle" format="reference" />
56
57    <attr name="cardPreferenceStyle" format="reference" />
58
59    <declare-styleable name="FixedLineSummaryPreference">
60        <attr name="summaryLineCount" format="integer" />
61    </declare-styleable>
62
63    <!-- For Search -->
64    <declare-styleable name="Preference">
65        <!-- Synonyms for search results -->
66        <attr name="keywords" format="string" />
67        <!-- Whether or not the preference is searchable, by default it's true. -->
68        <attr name="searchable" format="boolean" />
69        <!-- Classname of a PreferenceController corresponding to the preference -->
70        <attr name="controller" format="string" />
71        <!-- Customized subtitle if it's an unavailable slice -->
72        <attr name="unavailableSliceSubtitle" format="string" />
73        <!-- Whether or not the preference is for work profile, by default it's false. -->
74        <attr name="forWork" format="boolean" />
75        <!-- Identifier for highlighting the menu preference on 2-pane -->
76        <attr name="highlightableMenuKey" format="string" />
77    </declare-styleable>
78
79    <declare-styleable name="PreferenceScreen">
80        <!-- Determines if static preferences defined in addStaticPreferences are added before or after the radio buttons -->
81        <attr name="staticPreferenceLocation">
82            <enum name="prepend" value="0" />
83            <enum name="append" value="1" />
84        </attr>
85    </declare-styleable>
86
87    <!-- For DotsPageIndicator -->
88    <declare-styleable name="DotsPageIndicator">
89        <attr name="dotDiameter" format="dimension" />
90        <attr name="dotGap" format="dimension" />
91        <attr name="animationDuration" format="integer" />
92        <attr name="pageIndicatorColor" format="color" />
93        <attr name="currentPageIndicatorColor" format="color" />
94    </declare-styleable>
95
96    <declare-styleable name="MessageView">
97        <attr name="messageText" format="reference" />
98    </declare-styleable>
99
100    <!-- For ConversationMessageView -->
101    <declare-styleable name="ConversationMessageView" parent="MessageView">
102        <attr name="incoming" format="boolean" />
103        <attr name="messageText" />
104        <attr name="timestampText" format="reference" />
105        <attr name="iconText" format="reference" />
106        <attr name="iconTextColor" format="reference|color" />
107        <attr name="iconBackgroundColor" format="reference|color" />
108    </declare-styleable>
109
110    <!-- For AppGridView -->
111    <declare-styleable name="AppGridView">
112        <attr name="appCount" format="integer" />
113    </declare-styleable>
114
115    <!-- TODO: Clean up this -->
116    <attr name="switchBarTheme" format="reference" />
117
118    <attr name="preferenceBackgroundColor" format="color" />
119
120    <!-- Confirm device credentials screen -->
121    <attr name="confirmDeviceCredentialsSideMargin" format="dimension" />
122    <attr name="confirmDeviceCredentialsTopMargin" format="dimension" />
123
124    <declare-styleable name="VideoPreference">
125        <attr name="animation" format="reference" />
126        <attr name="preview" format="reference" />
127        <attr name="vectorAnimation" format="reference" />
128    </declare-styleable>
129
130    <!-- For AspectRatioFrameLayout -->
131    <declare-styleable name="AspectRatioFrameLayout">
132        <attr name="aspectRatio" format="float" />
133    </declare-styleable>
134
135    <declare-styleable name="ListWithEntrySummaryPreference">
136        <!-- Summaries of entry -->
137        <attr name="entrySummaries" format="reference" />
138    </declare-styleable>
139
140    <!-- For UsageView -->
141    <declare-styleable name="UsageView">
142        <attr name="android:colorAccent" />
143        <attr name="sideLabels" format="reference" />
144        <attr name="bottomLabels" format="reference" />
145        <attr name="textColor" format="color" />
146        <attr name="android:gravity" />
147    </declare-styleable>
148
149    <!-- For Face enroll accessibility toggle -->
150    <declare-styleable name="FaceEnrollAccessibilityToggle" parent="MessageView">
151        <attr name="messageText" />
152    </declare-styleable>
153
154    <!-- For TwoStatesButtonPreference -->
155    <declare-styleable name="TwoStateButtonPreference">
156        <attr name="textOn" format="reference" />
157        <attr name="textOff" format="reference" />
158    </declare-styleable>
159
160    <!-- For LabeledSeekBarPreference -->
161    <declare-styleable name="LabeledSeekBarPreference">
162        <attr name="textStart" format="reference" />
163        <attr name="textEnd" format="reference" />
164        <attr name="tickMark" format="reference" />
165        <attr name="iconStart" format="reference" />
166        <attr name="iconEnd" format="reference" />
167        <attr name="iconStartContentDescription" format="reference" />
168        <attr name="iconEndContentDescription" format="reference" />
169    </declare-styleable>
170
171    <declare-styleable name="TintDrawable">
172        <attr name="android:tint" />
173        <attr name="android:drawable" />
174    </declare-styleable>
175
176    <attr name="twoStateButtonPreferenceStyle" format="reference" />
177
178    <attr name="fingerprint_layout_theme" format="reference" />
179    <attr name="face_layout_theme" format="reference" />
180    <attr name="ic_menu_moreoverflow" format="reference" />
181    <attr name="side_margin" format="reference|dimension" />
182    <attr name="wifi_signal_color" format="reference" />
183
184    <declare-styleable name="BiometricsEnrollView">
185        <attr name="biometricsEnrollStyle" format="reference" />
186        <attr name="biometricsEnrollIcon" format="reference|color" />
187        <attr name="biometricsMovingTargetFill" format="reference|color" />
188        <attr name="biometricsMovingTargetFillError" format="reference|color" />
189        <attr name="biometricsEnrollProgress" format="reference|color" />
190        <attr name="biometricsEnrollProgressHelp" format="reference|color" />
191        <attr name="biometricsEnrollProgressHelpWithTalkback" format="reference|color" />
192    </declare-styleable>
193
194    <attr name="notification_importance_button_background_color_unselected" format="color" />
195    <attr name="notification_importance_button_border_color_unselected" format="color" />
196    <attr name="notification_importance_button_foreground_color_unselected" format="color" />
197
198    <attr name="notification_importance_button_background_color_selected" format="color" />
199    <attr name="notification_importance_button_border_color_selected" format="color" />
200    <attr name="notification_importance_button_foreground_color_selected" format="color" />
201
202    <!-- For BackgroundPreference -->
203    <declare-styleable name="BackgroundPreference">
204        <attr name="background" format="reference" />
205    </declare-styleable>
206</resources>
207