blob: ee47124beaa7848d1f2a4c556f2d5b79fe0191d9 [file] [log] [blame]
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -08001<?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>
Kenny Roote4330892010-12-13 16:23:57 -080018 <declare-styleable name="PercentageBarChart">
19 <!-- Background color -->
20 <attr name="emptyColor" format="color" />
Kenny Root42a92e82010-12-17 11:57:14 -080021 <!-- Minimum tick width for each slice in the bar chart. -->
22 <attr name="minTickWidth" format="dimension" />
Kenny Roote4330892010-12-13 16:23:57 -080023 </declare-styleable>
Jeff Sharkey52c3f442011-06-23 00:39:38 -070024
Jeff Sharkey54d0af52011-08-11 18:26:57 -070025 <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
Jeff Sharkey52c3f442011-06-23 00:39:38 -070032 <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>
Jeff Sharkeye2afc0f2011-08-01 15:29:30 -070038 <attr name="neighborMargin" format="dimension" />
Jeff Sharkeyec3be8a2011-07-09 01:02:56 -070039 <attr name="labelSize" format="dimension" />
40 <attr name="labelTemplate" format="reference" />
41 <attr name="labelColor" format="color" />
Jeff Sharkeyb6548462014-07-21 15:38:06 -070042 <attr name="safeRegion" format="dimension" />
Jeff Sharkey52c3f442011-06-23 00:39:38 -070043 </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" />
Jeff Sharkeyb6548462014-07-21 15:38:06 -070049 <attr name="android:textColor" />
50 <attr name="android:textAppearance" />
Jeff Sharkey52c3f442011-06-23 00:39:38 -070051 </declare-styleable>
52
Alan Viverette0f9a4052013-08-26 13:25:59 -070053 <attr name="apnPreferenceStyle" format="reference" />
Fabrice Di Meglio6f0739a2014-02-03 18:12:25 -080054
jackqdyuleicf6374e2018-12-10 13:27:25 -080055 <attr name="slicePreferenceStyle" format="reference" />
56
jackqdyulei6da5e322019-01-04 12:41:58 -080057 <attr name="cardPreferenceStyle" format="reference" />
58
Fan Zhangd35f90c2017-05-26 17:23:59 -070059 <declare-styleable name="FixedLineSummaryPreference">
60 <attr name="summaryLineCount" format="integer" />
61 </declare-styleable>
62
Fabrice Di Meglio6f0739a2014-02-03 18:12:25 -080063 <!-- For Search -->
64 <declare-styleable name="Preference">
Matthew Fritzea4a3dff2018-02-28 08:15:55 -080065 <!-- Synonyms for search results -->
Fabrice Di Meglio6f0739a2014-02-03 18:12:25 -080066 <attr name="keywords" format="string" />
Fan Zhanga79c3772018-08-14 16:25:54 -070067 <!-- Whether or not the preference is searchable, by default it's true. -->
68 <attr name="searchable" format="boolean" />
Matthew Fritzea4a3dff2018-02-28 08:15:55 -080069 <!-- Classname of a PreferenceController corresponding to the preference -->
Matthew Fritze7d2b4f52017-12-11 09:57:54 -080070 <attr name="controller" format="string" />
Raff Tsaif71db732019-12-02 10:55:29 +080071 <!-- Customized subtitle if it's an unavailable slice -->
Console Chence16d7a2018-12-19 18:01:09 +080072 <attr name="unavailableSliceSubtitle" format="string" />
Raff Tsaif71db732019-12-02 10:55:29 +080073 <!-- Whether or not the preference is for work profile, by default it's false. -->
74 <attr name="forWork" format="boolean" />
Fabrice Di Meglio6f0739a2014-02-03 18:12:25 -080075 </declare-styleable>
Fabrice Di Meglioda8baba2014-06-10 17:12:51 -070076
Salvador Martinez42e9d262018-12-04 14:13:10 -080077 <declare-styleable name="PreferenceScreen">
78 <!-- Determines if static preferences defined in addStaticPreferences are added before or after the radio buttons -->
79 <attr name="staticPreferenceLocation">
80 <enum name="prepend" value="0" />
81 <enum name="append" value="1" />
82 </attr>
83 </declare-styleable>
84
Noah Wang085028d2016-01-13 16:55:07 -080085 <!-- For DotsPageIndicator -->
86 <declare-styleable name="DotsPageIndicator">
87 <attr name="dotDiameter" format="dimension" />
88 <attr name="dotGap" format="dimension" />
89 <attr name="animationDuration" format="integer" />
90 <attr name="pageIndicatorColor" format="color" />
91 <attr name="currentPageIndicatorColor" format="color" />
92 </declare-styleable>
93
Noah Wangd51affa2016-02-04 19:11:33 -080094 <!-- For ConversationMessageView -->
95 <declare-styleable name="ConversationMessageView">
96 <attr name="incoming" format="boolean" />
97 <attr name="messageText" format="reference" />
98 <attr name="timestampText" format="reference" />
99 <attr name="iconText" format="reference" />
100 <attr name="iconTextColor" format="reference|color" />
101 <attr name="iconBackgroundColor" format="reference|color" />
102 </declare-styleable>
103
Fabrice Di Meglio1b186652014-07-15 16:02:09 -0700104 <attr name="switchBarTheme" format="reference" />
Fabrice Di Meglioda8baba2014-06-10 17:12:51 -0700105 <attr name="switchBarMarginStart" format="dimension" />
106 <attr name="switchBarMarginEnd" format="dimension" />
Anna Galusza0285c802016-01-29 17:32:19 -0800107 <attr name="switchBarBackgroundColor" format="color" />
Fan Zhang46b54742018-01-10 12:22:36 -0800108 <attr name="switchBarBackgroundActivatedColor" format="color" />
Philip P. Moltmanna5918a62018-08-30 11:07:33 -0700109 <attr name="switchBarRestrictionIcon" format="reference" />
Fabrice Di Meglioda8baba2014-06-10 17:12:51 -0700110
Fabrice Di Megliod40dd452014-07-18 15:20:34 -0700111 <attr name="preferenceBackgroundColor" format="color" />
Jorim Jaggi8a09b612015-04-06 17:47:18 -0700112
113 <!-- Confirm device credentials screen -->
114 <attr name="confirmDeviceCredentialsSideMargin" format="dimension" />
115 <attr name="confirmDeviceCredentialsTopMargin" format="dimension" />
Jason Monk91e2f892016-02-23 15:31:09 -0500116
Fan Zhang33b0d912016-11-09 11:35:10 -0800117 <declare-styleable name="VideoPreference">
118 <attr name="animation" format="reference" />
119 <attr name="preview" format="reference" />
Raff Tsai953da2e2019-10-31 14:03:34 +0800120 <attr name="vectorAnimation" format="reference" />
Fan Zhang33b0d912016-11-09 11:35:10 -0800121 </declare-styleable>
122
Doris Ling9a3cf772016-06-30 18:58:40 -0700123 <!-- For AspectRatioFrameLayout -->
124 <declare-styleable name="AspectRatioFrameLayout">
125 <attr name="aspectRatio" format="float" />
126 </declare-styleable>
127
Kazuya Ohshiroc4490482016-08-29 18:29:35 +0900128 <declare-styleable name="ListWithEntrySummaryPreference">
129 <!-- Summaries of entry -->
130 <attr name="entrySummaries" format="reference" />
131 </declare-styleable>
132
Alex Kuleszac6610982017-06-02 18:16:28 -0400133 <!-- For UsageView -->
134 <declare-styleable name="UsageView">
135 <attr name="android:colorAccent" />
136 <attr name="sideLabels" format="reference" />
137 <attr name="bottomLabels" format="reference" />
138 <attr name="textColor" format="color" />
139 <attr name="android:gravity" />
140 </declare-styleable>
141
Rajeev Kumareaceb192017-07-10 11:26:39 -0700142 <!-- For DonutView -->
143 <declare-styleable name="DonutView">
144 <attr name="meterBackgroundColor" format="color" />
145 <attr name="meterConsumedColor" format="color" />
146 <attr name="applyColorAccent" format="boolean" />
147 <attr name="showPercentString" format="boolean" />
148 <attr name="thickness" format="dimension" />
149 </declare-styleable>
jackqdyulei92757b22018-01-24 19:42:42 -0800150
Kevin Chyn2c8d7752018-12-17 12:26:30 -0800151 <!-- For Face enroll accessibility toggle -->
152 <declare-styleable name="FaceEnrollAccessibilityToggle">
153 <attr name="messageText" format="reference" />
154 </declare-styleable>
155
jackqdyulei92757b22018-01-24 19:42:42 -0800156 <!-- For TwoStatesButtonPreference -->
157 <declare-styleable name="TwoStateButtonPreference">
158 <attr name="textOn" format="reference" />
159 <attr name="textOff" format="reference" />
160 </declare-styleable>
161
Raff Tsai00c79ae2019-12-20 13:29:10 +0800162 <!-- For LabeledSeekBarPreference -->
163 <declare-styleable name="LabeledSeekBarPreference">
164 <attr name="textStart" format="reference" />
165 <attr name="textEnd" format="reference" />
166 </declare-styleable>
167
Amin Shaikh8335ce32019-04-05 08:06:38 -0400168 <declare-styleable name="TintDrawable">
169 <attr name="android:tint" />
170 <attr name="android:drawable" />
171 </declare-styleable>
172
jackqdyulei92757b22018-01-24 19:42:42 -0800173 <attr name="twoStateButtonPreferenceStyle" format="reference" />
Jyun LuoLaidbcc3d42018-03-28 17:45:44 +0800174
Fan Zhang612fc1e2018-07-16 12:33:36 -0700175 <attr name="fingerprint_layout_theme" format="reference" />
176 <attr name="face_layout_theme" format="reference" />
177 <attr name="ic_menu_moreoverflow" format="reference" />
178 <attr name="side_margin" format="reference|dimension" />
179 <attr name="wifi_signal_color" format="reference" />
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -0800180</resources>