The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 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> |
Kenny Root | e433089 | 2010-12-13 16:23:57 -0800 | [diff] [blame] | 18 | <declare-styleable name="PercentageBarChart"> |
| 19 | <!-- Background color --> |
| 20 | <attr name="emptyColor" format="color" /> |
Kenny Root | 42a92e8 | 2010-12-17 11:57:14 -0800 | [diff] [blame] | 21 | <!-- Minimum tick width for each slice in the bar chart. --> |
| 22 | <attr name="minTickWidth" format="dimension" /> |
Kenny Root | e433089 | 2010-12-13 16:23:57 -0800 | [diff] [blame] | 23 | </declare-styleable> |
Jeff Sharkey | 52c3f44 | 2011-06-23 00:39:38 -0700 | [diff] [blame] | 24 | |
Jeff Sharkey | 54d0af5 | 2011-08-11 18:26:57 -0700 | [diff] [blame] | 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 | |
Jeff Sharkey | 52c3f44 | 2011-06-23 00:39:38 -0700 | [diff] [blame] | 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> |
Jeff Sharkey | e2afc0f | 2011-08-01 15:29:30 -0700 | [diff] [blame] | 38 | <attr name="neighborMargin" format="dimension" /> |
Jeff Sharkey | ec3be8a | 2011-07-09 01:02:56 -0700 | [diff] [blame] | 39 | <attr name="labelSize" format="dimension" /> |
| 40 | <attr name="labelTemplate" format="reference" /> |
| 41 | <attr name="labelColor" format="color" /> |
Jeff Sharkey | b654846 | 2014-07-21 15:38:06 -0700 | [diff] [blame] | 42 | <attr name="safeRegion" format="dimension" /> |
Jeff Sharkey | 52c3f44 | 2011-06-23 00:39:38 -0700 | [diff] [blame] | 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" /> |
Jeff Sharkey | b654846 | 2014-07-21 15:38:06 -0700 | [diff] [blame] | 49 | <attr name="android:textColor" /> |
| 50 | <attr name="android:textAppearance" /> |
Jeff Sharkey | 52c3f44 | 2011-06-23 00:39:38 -0700 | [diff] [blame] | 51 | </declare-styleable> |
| 52 | |
jackqdyulei | cf6374e | 2018-12-10 13:27:25 -0800 | [diff] [blame] | 53 | <attr name="slicePreferenceStyle" format="reference" /> |
| 54 | |
jackqdyulei | 6da5e32 | 2019-01-04 12:41:58 -0800 | [diff] [blame] | 55 | <attr name="cardPreferenceStyle" format="reference" /> |
| 56 | |
Fan Zhang | d35f90c | 2017-05-26 17:23:59 -0700 | [diff] [blame] | 57 | <declare-styleable name="FixedLineSummaryPreference"> |
| 58 | <attr name="summaryLineCount" format="integer" /> |
| 59 | </declare-styleable> |
| 60 | |
Fabrice Di Meglio | 6f0739a | 2014-02-03 18:12:25 -0800 | [diff] [blame] | 61 | <!-- For Search --> |
| 62 | <declare-styleable name="Preference"> |
Matthew Fritze | a4a3dff | 2018-02-28 08:15:55 -0800 | [diff] [blame] | 63 | <!-- Synonyms for search results --> |
Fabrice Di Meglio | 6f0739a | 2014-02-03 18:12:25 -0800 | [diff] [blame] | 64 | <attr name="keywords" format="string" /> |
Fan Zhang | a79c377 | 2018-08-14 16:25:54 -0700 | [diff] [blame] | 65 | <!-- Whether or not the preference is searchable, by default it's true. --> |
| 66 | <attr name="searchable" format="boolean" /> |
Matthew Fritze | a4a3dff | 2018-02-28 08:15:55 -0800 | [diff] [blame] | 67 | <!-- Classname of a PreferenceController corresponding to the preference --> |
Matthew Fritze | 7d2b4f5 | 2017-12-11 09:57:54 -0800 | [diff] [blame] | 68 | <attr name="controller" format="string" /> |
Raff Tsai | f71db73 | 2019-12-02 10:55:29 +0800 | [diff] [blame] | 69 | <!-- Customized subtitle if it's an unavailable slice --> |
Console Chen | ce16d7a | 2018-12-19 18:01:09 +0800 | [diff] [blame] | 70 | <attr name="unavailableSliceSubtitle" format="string" /> |
Raff Tsai | f71db73 | 2019-12-02 10:55:29 +0800 | [diff] [blame] | 71 | <!-- Whether or not the preference is for work profile, by default it's false. --> |
| 72 | <attr name="forWork" format="boolean" /> |
Jason Chiu | 7426ab7 | 2021-09-06 15:39:17 +0800 | [diff] [blame] | 73 | <!-- Identifier for highlighting the menu preference on 2-pane --> |
| 74 | <attr name="highlightableMenuKey" format="string" /> |
Fabrice Di Meglio | 6f0739a | 2014-02-03 18:12:25 -0800 | [diff] [blame] | 75 | </declare-styleable> |
Fabrice Di Meglio | da8baba | 2014-06-10 17:12:51 -0700 | [diff] [blame] | 76 | |
Salvador Martinez | 42e9d26 | 2018-12-04 14:13:10 -0800 | [diff] [blame] | 77 | <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 Wang | 085028d | 2016-01-13 16:55:07 -0800 | [diff] [blame] | 85 | <!-- 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 | |
Chaohui Wang | 507e5f8 | 2022-10-16 14:14:02 +0800 | [diff] [blame] | 94 | <declare-styleable name="MessageView"> |
Noah Wang | d51affa | 2016-02-04 19:11:33 -0800 | [diff] [blame] | 95 | <attr name="messageText" format="reference" /> |
Chaohui Wang | 507e5f8 | 2022-10-16 14:14:02 +0800 | [diff] [blame] | 96 | </declare-styleable> |
| 97 | |
| 98 | <!-- For ConversationMessageView --> |
| 99 | <declare-styleable name="ConversationMessageView" parent="MessageView"> |
| 100 | <attr name="incoming" format="boolean" /> |
| 101 | <attr name="messageText" /> |
Noah Wang | d51affa | 2016-02-04 19:11:33 -0800 | [diff] [blame] | 102 | <attr name="timestampText" format="reference" /> |
| 103 | <attr name="iconText" format="reference" /> |
| 104 | <attr name="iconTextColor" format="reference|color" /> |
| 105 | <attr name="iconBackgroundColor" format="reference|color" /> |
| 106 | </declare-styleable> |
| 107 | |
Peter_Liang | 93668d6 | 2022-01-12 11:59:06 +0800 | [diff] [blame] | 108 | <!-- For AppGridView --> |
| 109 | <declare-styleable name="AppGridView"> |
| 110 | <attr name="appCount" format="integer" /> |
| 111 | </declare-styleable> |
| 112 | |
Chaohui Wang | e752f72 | 2023-10-25 10:37:20 +0800 | [diff] [blame] | 113 | <!-- TODO: Clean up this --> |
Fabrice Di Meglio | 1b18665 | 2014-07-15 16:02:09 -0700 | [diff] [blame] | 114 | <attr name="switchBarTheme" format="reference" /> |
Fabrice Di Meglio | da8baba | 2014-06-10 17:12:51 -0700 | [diff] [blame] | 115 | |
Fabrice Di Meglio | d40dd45 | 2014-07-18 15:20:34 -0700 | [diff] [blame] | 116 | <attr name="preferenceBackgroundColor" format="color" /> |
Jorim Jaggi | 8a09b61 | 2015-04-06 17:47:18 -0700 | [diff] [blame] | 117 | |
| 118 | <!-- Confirm device credentials screen --> |
| 119 | <attr name="confirmDeviceCredentialsSideMargin" format="dimension" /> |
| 120 | <attr name="confirmDeviceCredentialsTopMargin" format="dimension" /> |
Jason Monk | 91e2f89 | 2016-02-23 15:31:09 -0500 | [diff] [blame] | 121 | |
Fan Zhang | 33b0d91 | 2016-11-09 11:35:10 -0800 | [diff] [blame] | 122 | <declare-styleable name="VideoPreference"> |
| 123 | <attr name="animation" format="reference" /> |
| 124 | <attr name="preview" format="reference" /> |
Raff Tsai | 953da2e | 2019-10-31 14:03:34 +0800 | [diff] [blame] | 125 | <attr name="vectorAnimation" format="reference" /> |
Fan Zhang | 33b0d91 | 2016-11-09 11:35:10 -0800 | [diff] [blame] | 126 | </declare-styleable> |
| 127 | |
Doris Ling | 9a3cf77 | 2016-06-30 18:58:40 -0700 | [diff] [blame] | 128 | <!-- For AspectRatioFrameLayout --> |
| 129 | <declare-styleable name="AspectRatioFrameLayout"> |
| 130 | <attr name="aspectRatio" format="float" /> |
| 131 | </declare-styleable> |
| 132 | |
Kazuya Ohshiro | c449048 | 2016-08-29 18:29:35 +0900 | [diff] [blame] | 133 | <declare-styleable name="ListWithEntrySummaryPreference"> |
| 134 | <!-- Summaries of entry --> |
| 135 | <attr name="entrySummaries" format="reference" /> |
| 136 | </declare-styleable> |
| 137 | |
Alex Kulesza | c661098 | 2017-06-02 18:16:28 -0400 | [diff] [blame] | 138 | <!-- For UsageView --> |
| 139 | <declare-styleable name="UsageView"> |
| 140 | <attr name="android:colorAccent" /> |
| 141 | <attr name="sideLabels" format="reference" /> |
| 142 | <attr name="bottomLabels" format="reference" /> |
| 143 | <attr name="textColor" format="color" /> |
| 144 | <attr name="android:gravity" /> |
| 145 | </declare-styleable> |
| 146 | |
Kevin Chyn | 2c8d775 | 2018-12-17 12:26:30 -0800 | [diff] [blame] | 147 | <!-- For Face enroll accessibility toggle --> |
Chaohui Wang | 507e5f8 | 2022-10-16 14:14:02 +0800 | [diff] [blame] | 148 | <declare-styleable name="FaceEnrollAccessibilityToggle" parent="MessageView"> |
| 149 | <attr name="messageText" /> |
Kevin Chyn | 2c8d775 | 2018-12-17 12:26:30 -0800 | [diff] [blame] | 150 | </declare-styleable> |
| 151 | |
jackqdyulei | 92757b2 | 2018-01-24 19:42:42 -0800 | [diff] [blame] | 152 | <!-- For TwoStatesButtonPreference --> |
| 153 | <declare-styleable name="TwoStateButtonPreference"> |
| 154 | <attr name="textOn" format="reference" /> |
| 155 | <attr name="textOff" format="reference" /> |
| 156 | </declare-styleable> |
| 157 | |
Edgar Wang | cdff5c6 | 2021-06-08 09:10:41 +0000 | [diff] [blame] | 158 | <!-- For LabeledSeekBarPreference --> |
| 159 | <declare-styleable name="LabeledSeekBarPreference"> |
| 160 | <attr name="textStart" format="reference" /> |
| 161 | <attr name="textEnd" format="reference" /> |
| 162 | <attr name="tickMark" format="reference" /> |
Peter_Liang | cc5808c | 2022-01-19 21:41:17 +0800 | [diff] [blame] | 163 | <attr name="iconStart" format="reference" /> |
| 164 | <attr name="iconEnd" format="reference" /> |
| 165 | <attr name="iconStartContentDescription" format="reference" /> |
| 166 | <attr name="iconEndContentDescription" format="reference" /> |
Edgar Wang | cdff5c6 | 2021-06-08 09:10:41 +0000 | [diff] [blame] | 167 | </declare-styleable> |
| 168 | |
Amin Shaikh | 8335ce3 | 2019-04-05 08:06:38 -0400 | [diff] [blame] | 169 | <declare-styleable name="TintDrawable"> |
| 170 | <attr name="android:tint" /> |
| 171 | <attr name="android:drawable" /> |
| 172 | </declare-styleable> |
| 173 | |
jackqdyulei | 92757b2 | 2018-01-24 19:42:42 -0800 | [diff] [blame] | 174 | <attr name="twoStateButtonPreferenceStyle" format="reference" /> |
Jyun LuoLai | dbcc3d4 | 2018-03-28 17:45:44 +0800 | [diff] [blame] | 175 | |
Fan Zhang | 612fc1e | 2018-07-16 12:33:36 -0700 | [diff] [blame] | 176 | <attr name="fingerprint_layout_theme" format="reference" /> |
| 177 | <attr name="face_layout_theme" format="reference" /> |
| 178 | <attr name="ic_menu_moreoverflow" format="reference" /> |
| 179 | <attr name="side_margin" format="reference|dimension" /> |
| 180 | <attr name="wifi_signal_color" format="reference" /> |
Hao Dong | af35c7c | 2022-11-28 17:43:48 +0000 | [diff] [blame] | 181 | |
| 182 | <declare-styleable name="BiometricsEnrollView"> |
| 183 | <attr name="biometricsEnrollStyle" format="reference" /> |
| 184 | <attr name="biometricsEnrollIcon" format="reference|color" /> |
| 185 | <attr name="biometricsMovingTargetFill" format="reference|color" /> |
| 186 | <attr name="biometricsMovingTargetFillError" format="reference|color" /> |
| 187 | <attr name="biometricsEnrollProgress" format="reference|color" /> |
| 188 | <attr name="biometricsEnrollProgressHelp" format="reference|color" /> |
| 189 | <attr name="biometricsEnrollProgressHelpWithTalkback" format="reference|color" /> |
| 190 | </declare-styleable> |
Julia Tuttle | b231360 | 2023-06-09 13:30:25 -0400 | [diff] [blame] | 191 | |
| 192 | <attr name="notification_importance_button_background_color_unselected" format="color" /> |
| 193 | <attr name="notification_importance_button_border_color_unselected" format="color" /> |
| 194 | <attr name="notification_importance_button_foreground_color_unselected" format="color" /> |
| 195 | |
| 196 | <attr name="notification_importance_button_background_color_selected" format="color" /> |
| 197 | <attr name="notification_importance_button_border_color_selected" format="color" /> |
| 198 | <attr name="notification_importance_button_foreground_color_selected" format="color" /> |
jasonwshsu | 6dc0e30 | 2024-01-28 01:00:12 +0800 | [diff] [blame] | 199 | |
| 200 | <!-- For BackgroundPreference --> |
| 201 | <declare-styleable name="BackgroundPreference"> |
| 202 | <attr name="background" format="reference" /> |
| 203 | </declare-styleable> |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 204 | </resources> |