OSDN Git Service

Revert "Make settings themed apps have light nav"
[android-x86/frameworks-base.git] / core / res / res / values / attrs.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2006 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 <!-- Formatting note: terminate all comments with a period, to avoid breaking
18      the documentation output. To suppress comment lines from the documentation
19      output, insert an eat-comment element after the comment lines.
20 -->
21
22 <resources>
23     <!-- These are the standard attributes that make up a complete theme. -->
24     <declare-styleable name="Theme">
25         <!-- ============== -->
26         <!-- Generic styles -->
27         <!-- ============== -->
28         <eat-comment />
29
30         <!-- Specifies that a theme has a light background with dark text on top.  -->
31         <attr name="isLightTheme" format="boolean" />
32
33         <!-- Default color of foreground imagery. -->
34         <attr name="colorForeground" format="color" />
35         <!-- Default color of foreground imagery on an inverted background. -->
36         <attr name="colorForegroundInverse" format="color" />
37         <!-- Default color of background imagery, ex. full-screen windows. -->
38         <attr name="colorBackground" format="color" />
39         <!-- Default color of background imagery for floating components, ex. dialogs, popups, and cards. -->
40         <attr name="colorBackgroundFloating" format="color" />
41         <!-- This is a hint for a solid color that can be used for caching
42              rendered views.  This should be the color of the background when
43              there is a solid background color; it should be null when the
44              background is a texture or translucent.  When a device is able
45              to use accelerated drawing (thus setting state_accelerated), the
46              cache hint is ignored and always assumed to be transparent. -->
47         <attr name="colorBackgroundCacheHint" format="color" />
48
49         <!-- Default highlight color for items that are pressed. -->
50         <attr name="colorPressedHighlight" format="color" />
51         <!-- Default highlight color for items that are long-pressed. -->
52         <attr name="colorLongPressedHighlight" format="color" />
53         <!-- Default highlight color for items that are
54              focused. (Focused meaning cursor-based selection.) -->
55         <attr name="colorFocusedHighlight" format="color" />
56         <!-- Default highlight color for items that are
57              activated. (Activated meaning persistent selection.) -->
58         <attr name="colorActivatedHighlight" format="color" />
59         <!-- Default highlight color for items in multiple selection
60              mode. -->
61         <attr name="colorMultiSelectHighlight" format="color" />
62
63         <!-- Drawable to be drawn over the view to mark it as autofilled-->
64         <attr name="autofilledHighlight" format="reference" />
65
66         <!-- Max width of the autofill data set picker as a fraction of the screen width -->
67         <attr name="autofillDatasetPickerMaxWidth" format="reference" />
68
69         <!-- Max height of the autofill data set picker as a fraction of the screen height -->
70         <attr name="autofillDatasetPickerMaxHeight" format="reference" />
71
72         <!-- Max height of the the autofill save custom subtitle as a fraction of the screen width/height -->
73         <attr name="autofillSaveCustomSubtitleMaxHeight" format="reference" />
74
75         <!-- Default disabled alpha for widgets that set enabled/disabled alpha programmatically. -->
76         <attr name="disabledAlpha" format="float" />
77         <!-- The alpha applied to the foreground color to create the primary text color. -->
78         <attr name="primaryContentAlpha" format="float" />
79         <!-- The alpha applied to the foreground color to create the secondary text color. -->
80         <attr name="secondaryContentAlpha" format="float" />
81         <!-- Color used for error states and things that need to be drawn to
82              the users attention.. -->
83         <attr name="colorError" format="reference|color" />
84         <!-- Default background dim amount when a menu, dialog, or something similar pops up. -->
85         <attr name="backgroundDimAmount" format="float" />
86         <!-- Control whether dimming behind the window is enabled.  The default
87              theme does not set this value, meaning it is based on whether the
88              window is floating. -->
89         <attr name="backgroundDimEnabled" format="boolean" />
90
91         <!-- =========== -->
92         <!-- Text styles -->
93         <!-- =========== -->
94         <eat-comment />
95
96         <!-- Default appearance of text: color, typeface, size, and style. -->
97         <attr name="textAppearance" format="reference" />
98         <!-- Default appearance of text against an inverted background:
99              color, typeface, size, and style. -->
100         <attr name="textAppearanceInverse" format="reference" />
101
102         <!-- The most prominent text color.  -->
103         <attr name="textColorPrimary" format="reference|color" />
104         <!-- Secondary text color. -->
105         <attr name="textColorSecondary" format="reference|color" />
106         <!-- Tertiary text color. -->
107         <attr name="textColorTertiary" format="reference|color" />
108
109         <!-- Primary inverse text color, useful for inverted backgrounds. -->
110         <attr name="textColorPrimaryInverse" format="reference|color" />
111         <!-- Secondary inverse text color, useful for inverted backgrounds. -->
112         <attr name="textColorSecondaryInverse" format="reference|color" />
113         <!-- Tertiary inverse text color, useful for inverted backgrounds. -->
114         <attr name="textColorTertiaryInverse" format="reference|color" />
115
116         <!-- Inverse hint text color. -->
117         <attr name="textColorHintInverse" format="reference|color" />
118
119         <!-- Bright text color. Only differentiates based on the disabled state. -->
120         <attr name="textColorPrimaryDisableOnly" format="reference|color" />
121
122         <!-- Bright inverse text color. Only differentiates based on the disabled state. -->
123         <attr name="textColorPrimaryInverseDisableOnly" format="reference|color" />
124
125         <!-- Bright text color. This does not differentiate the disabled state. As an example,
126              buttons use this since they display the disabled state via the background and not the
127              foreground text color. -->
128         <attr name="textColorPrimaryNoDisable" format="reference|color" />
129         <!-- Dim text color. This does not differentiate the disabled state. -->
130         <attr name="textColorSecondaryNoDisable" format="reference|color" />
131
132         <!-- Bright inverse text color. This does not differentiate the disabled state. -->
133         <attr name="textColorPrimaryInverseNoDisable" format="reference|color" />
134         <!-- Dim inverse text color. This does not differentiate the disabled state. -->
135         <attr name="textColorSecondaryInverseNoDisable" format="reference|color" />
136
137         <!-- Bright text color for use over activated backgrounds. -->
138         <attr name="textColorPrimaryActivated" format="reference|color" />
139         <!-- Dim text color for use over activated backgrounds. -->
140         <attr name="textColorSecondaryActivated" format="reference|color" />
141
142         <!-- Text color for urls in search suggestions, used by things like global search and the browser. @hide -->
143         <attr name="textColorSearchUrl" format="reference|color" />
144
145         <!-- Color of highlighted text, when used in a light theme. -->
146         <attr name="textColorHighlightInverse" format="reference|color" />
147         <!-- Color of link text (URLs), when used in a light theme. -->
148         <attr name="textColorLinkInverse" format="reference|color" />
149
150         <!-- Color of list item text in alert dialogs. -->
151         <attr name="textColorAlertDialogListItem" format="reference|color" />
152
153         <!-- Search widget more corpus result item background. -->
154         <attr name="searchWidgetCorpusItemBackground" format="reference|color" />
155
156         <!-- Text color, typeface, size, and style for "large" text. Defaults to primary text color. -->
157         <attr name="textAppearanceLarge" format="reference" />
158         <!-- Text color, typeface, size, and style for "medium" text. Defaults to primary text color. -->
159         <attr name="textAppearanceMedium" format="reference" />
160         <!-- Text color, typeface, size, and style for "small" text. Defaults to secondary text color. -->
161         <attr name="textAppearanceSmall" format="reference" />
162
163         <!-- Text color, typeface, size, and style for "large" inverse text. Defaults to primary inverse text color. -->
164         <attr name="textAppearanceLargeInverse" format="reference" />
165         <!-- Text color, typeface, size, and style for "medium" inverse text. Defaults to primary inverse text color. -->
166         <attr name="textAppearanceMediumInverse" format="reference" />
167         <!-- Text color, typeface, size, and style for "small" inverse text. Defaults to secondary inverse text color. -->
168         <attr name="textAppearanceSmallInverse" format="reference" />
169
170         <!-- Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color. -->
171         <attr name="textAppearanceSearchResultTitle" format="reference" />
172         <!-- Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color. -->
173         <attr name="textAppearanceSearchResultSubtitle" format="reference" />
174
175         <!-- Text color, typeface, size, and style for the text inside of a button. -->
176         <attr name="textAppearanceButton" format="reference" />
177
178         <!-- Text color, typeface, size, and style for the text inside of a popup menu. -->
179         <attr name="textAppearanceLargePopupMenu" format="reference" />
180
181         <!-- Text color, typeface, size, and style for small text inside of a popup menu. -->
182         <attr name="textAppearanceSmallPopupMenu" format="reference" />
183
184         <!-- Text color, typeface, size, and style for header text inside of a popup menu. -->
185         <attr name="textAppearancePopupMenuHeader" format="reference" />
186
187         <!-- The underline color and thickness for easy correct suggestion -->
188         <attr name="textAppearanceEasyCorrectSuggestion" format="reference" />
189
190         <!-- The underline color and thickness for misspelled suggestion -->
191         <attr name="textAppearanceMisspelledSuggestion" format="reference" />
192
193         <!-- The underline color and thickness for auto correction suggestion -->
194         <attr name="textAppearanceAutoCorrectionSuggestion" format="reference" />
195
196         <!--  The underline color -->
197         <attr name="textUnderlineColor" format="reference|color" />
198         <!--  The underline thickness -->
199         <attr name="textUnderlineThickness" format="reference|dimension" />
200
201         <!-- EditText text foreground color. -->
202         <attr name="editTextColor" format="reference|color" />
203         <!-- EditText background drawable. -->
204         <attr name="editTextBackground" format="reference" />
205
206         <!-- Popup text displayed in TextView when setError is used. -->
207         <attr name="errorMessageBackground" format="reference" />
208         <!-- Background used instead of errorMessageBackground when the popup has to be above. -->
209         <attr name="errorMessageAboveBackground" format="reference" />
210
211         <!-- A styled string, specifying the style to be used for showing
212              inline candidate text when composing with an input method.  The
213              text itself will be ignored, but the style spans will be applied
214              to the candidate text as it is edited. -->
215         <attr name="candidatesTextStyleSpans" format="reference|string" />
216
217         <!-- Drawable to use for check marks. -->
218         <attr name="textCheckMark" format="reference" />
219         <attr name="textCheckMarkInverse" format="reference" />
220
221         <!-- Drawable to use for multiple choice indicators. -->
222         <attr name="listChoiceIndicatorMultiple" format="reference" />
223
224         <!-- Drawable to use for single choice indicators. -->
225         <attr name="listChoiceIndicatorSingle" format="reference" />
226
227         <!-- Drawable used as a background for selected list items. -->
228         <attr name="listChoiceBackgroundIndicator" format="reference" />
229
230         <!-- Drawable used as a background for activated items. -->
231         <attr name="activatedBackgroundIndicator" format="reference" />
232
233         <!-- ============= -->
234         <!-- Button styles -->
235         <!-- ============= -->
236         <eat-comment />
237
238         <!-- Normal Button style. -->
239         <attr name="buttonStyle" format="reference" />
240
241         <!-- Small Button style. -->
242         <attr name="buttonStyleSmall" format="reference" />
243
244         <!-- Button style to inset into an EditText. -->
245         <attr name="buttonStyleInset" format="reference" />
246
247         <!-- ToggleButton style. -->
248         <attr name="buttonStyleToggle" format="reference" />
249
250         <!-- ============== -->
251         <!-- Gallery styles -->
252         <!-- ============== -->
253         <eat-comment />
254
255         <!-- The preferred background for gallery items. This should be set
256              as the background of any Views you provide from the Adapter. -->
257         <attr name="galleryItemBackground" format="reference" />
258
259         <!-- =========== -->
260         <!-- List styles -->
261         <!-- =========== -->
262         <eat-comment />
263
264         <!-- The preferred list item height. -->
265         <attr name="listPreferredItemHeight" format="dimension" />
266         <!-- A smaller, sleeker list item height. -->
267         <attr name="listPreferredItemHeightSmall" format="dimension" />
268         <!-- A larger, more robust list item height. -->
269         <attr name="listPreferredItemHeightLarge" format="dimension" />
270         <!-- The list item height for search results. @hide -->
271         <attr name="searchResultListItemHeight" format="dimension" />
272
273         <!-- The preferred padding along the left edge of list items. -->
274         <attr name="listPreferredItemPaddingLeft" format="dimension" />
275         <!-- The preferred padding along the right edge of list items. -->
276         <attr name="listPreferredItemPaddingRight" format="dimension" />
277
278         <!-- The preferred TextAppearance for the primary text of list items. -->
279         <attr name="textAppearanceListItem" format="reference" />
280         <!-- The preferred TextAppearance for the secondary text of list items. -->
281         <attr name="textAppearanceListItemSecondary" format="reference" />
282         <!-- The preferred TextAppearance for the primary text of small list items. -->
283         <attr name="textAppearanceListItemSmall" format="reference" />
284
285         <!-- The drawable for the list divider. -->
286         <attr name="listDivider" format="reference" />
287         <!-- The list divider used in alert dialogs. -->
288         <attr name="listDividerAlertDialog" format="reference" />
289         <!-- TextView style for list separators. -->
290         <attr name="listSeparatorTextViewStyle" format="reference" />
291         <!-- The preferred left padding for an expandable list item (for child-specific layouts,
292              use expandableListPreferredChildPaddingLeft). This takes into account
293              the indicator that will be shown to next to the item. -->
294         <attr name="expandableListPreferredItemPaddingLeft" format="dimension" />
295         <!-- The preferred left padding for an expandable list item that is a child.
296              If this is not provided, it defaults to the expandableListPreferredItemPaddingLeft. -->
297         <attr name="expandableListPreferredChildPaddingLeft" format="dimension" />
298         <!-- The preferred left bound for an expandable list item's indicator. For a child-specific
299              indicator, use expandableListPreferredChildIndicatorLeft. -->
300         <attr name="expandableListPreferredItemIndicatorLeft" format="dimension" />
301         <!-- The preferred right bound for an expandable list item's indicator. For a child-specific
302              indicator, use expandableListPreferredChildIndicatorRight. -->
303         <attr name="expandableListPreferredItemIndicatorRight" format="dimension" />
304         <!-- The preferred left bound for an expandable list child's indicator. -->
305         <attr name="expandableListPreferredChildIndicatorLeft" format="dimension" />
306         <!-- The preferred right bound for an expandable list child's indicator. -->
307         <attr name="expandableListPreferredChildIndicatorRight" format="dimension" />
308
309         <!-- The preferred item height for dropdown lists. -->
310         <attr name="dropdownListPreferredItemHeight" format="dimension" />
311
312         <!-- The preferred padding along the start edge of list items. -->
313         <attr name="listPreferredItemPaddingStart" format="dimension" />
314         <!-- The preferred padding along the end edge of list items. -->
315         <attr name="listPreferredItemPaddingEnd" format="dimension" />
316
317         <!-- ============= -->
318         <!-- Window styles -->
319         <!-- ============= -->
320         <eat-comment />
321
322         <!-- Drawable to use as the overall window background.  As of
323              {@link android.os.Build.VERSION_CODES#HONEYCOMB}, this may
324              be a selector that uses state_accelerated to pick a non-solid
325              color when running on devices that can draw such a bitmap
326              with complex compositing on top at 60fps.
327
328              <p>There are a few special considerations to use when setting this
329              drawable:
330              <ul>
331              <li> This information will be used to infer the pixel format
332                   for your window's surface.  If the drawable has any
333                   non-opaque pixels, your window will be translucent
334                   (32 bpp).
335              <li> If you want to draw the entire background
336                   yourself, you should set this drawable to some solid
337                   color that closely matches that background (so the
338                   system's preview of your window will match), and
339                   then in code manually set your window's background to
340                   null so it will not be drawn.
341              </ul> -->
342         <attr name="windowBackground" format="reference" />
343         <!-- Drawable to draw selectively within the inset areas when the windowBackground
344              has been set to null. This protects against seeing visual garbage in the
345              surface when the app has not drawn any content into this area. One example is
346              when the user is resizing a window of an activity that has
347              {@link android.R.attr#resizeableActivity} set for multi-window mode. -->
348         <attr name="windowBackgroundFallback" format="reference" />
349         <!-- Drawable to use as a frame around the window. -->
350         <attr name="windowFrame" format="reference" />
351         <!-- Flag indicating whether there should be no title on this window. -->
352         <attr name="windowNoTitle" format="boolean" />
353         <!-- Flag indicating whether this window should fill the entire screen.  Corresponds
354              to {@link android.view.WindowManager.LayoutParams#FLAG_FULLSCREEN}. -->
355         <attr name="windowFullscreen" format="boolean" />
356         <!-- Flag indicating whether this window should extend into overscan region.  Corresponds
357              to {@link android.view.WindowManager.LayoutParams#FLAG_LAYOUT_IN_OVERSCAN}. -->
358         <attr name="windowOverscan" format="boolean" />
359         <!-- Flag indicating whether this is a floating window. -->
360         <attr name="windowIsFloating" format="boolean" />
361         <!-- Flag indicating whether this is a translucent window. If this attribute is unset (but
362              not if set to false), the window might still be considered translucent, if
363              windowSwipeToDismiss is set to true. -->
364         <attr name="windowIsTranslucent" format="boolean" />
365         <!-- Flag indicating that this window's background should be the
366              user's current wallpaper.  Corresponds
367              to {@link android.view.WindowManager.LayoutParams#FLAG_SHOW_WALLPAPER}. -->
368         <attr name="windowShowWallpaper" format="boolean" />
369         <!-- This Drawable is overlaid over the foreground of the Window's content area, usually
370              to place a shadow below the title.  -->
371         <attr name="windowContentOverlay" format="reference" />
372         <!-- The style resource to use for a window's title bar height. -->
373         <attr name="windowTitleSize" format="dimension" />
374         <!-- The style resource to use for a window's title text. -->
375         <attr name="windowTitleStyle" format="reference" />
376         <!-- The style resource to use for a window's title area. -->
377         <attr name="windowTitleBackgroundStyle" format="reference" />
378
379         <!-- Reference to a style resource holding
380              the set of window animations to use, which can be
381              any of the attributes defined by
382              {@link android.R.styleable#WindowAnimation}. -->
383         <attr name="windowAnimationStyle" format="reference" />
384
385         <!-- Flag indicating whether this window should have an Action Bar
386              in place of the usual title bar. -->
387         <attr name="windowActionBar" format="boolean" />
388
389         <!-- Flag indicating whether this window's Action Bar should overlay
390              application content. Does nothing if the window would not
391              have an Action Bar. -->
392         <attr name="windowActionBarOverlay" format="boolean" />
393
394         <!-- Flag indicating whether action modes should overlay window content
395              when there is not reserved space for their UI (such as an Action Bar). -->
396         <attr name="windowActionModeOverlay" format="boolean" />
397
398         <!-- Defines the default soft input state that this window would
399              like when it is displayed.  Corresponds
400              to {@link android.view.WindowManager.LayoutParams#softInputMode}. -->
401         <attr name="windowSoftInputMode">
402             <!-- Not specified, use what the system thinks is best.  This
403                  is the default. -->
404             <flag name="stateUnspecified" value="0" />
405             <!-- Leave the soft input window as-is, in whatever state it
406                  last was. -->
407             <flag name="stateUnchanged" value="1" />
408             <!-- Make the soft input area hidden when normally appropriate
409                  (when the user is navigating forward to your window). -->
410             <flag name="stateHidden" value="2" />
411             <!-- Always make the soft input area hidden when this window
412                  has input focus. -->
413             <flag name="stateAlwaysHidden" value="3" />
414             <!-- Make the soft input area visible when normally appropriate
415                  (when the user is navigating forward to your window). -->
416             <flag name="stateVisible" value="4" />
417             <!-- Always make the soft input area visible when this window
418                  has input focus. -->
419             <flag name="stateAlwaysVisible" value="5" />
420
421             <!-- The window resize/pan adjustment has not been specified,
422                  the system will automatically select between resize and pan
423                  modes, depending
424                  on whether the content of the window has any layout views
425                  that can scroll their contents.  If there is such a view,
426                  then the window will be resized, with the assumption being
427                  that the resizeable area can be reduced to make room for
428                  the input UI. -->
429             <flag name="adjustUnspecified" value="0x00" />
430             <!-- Always resize the window: the content area of the window is
431                  reduced to make room for the soft input area. -->
432             <flag name="adjustResize" value="0x10" />
433             <!-- Don't resize the window to make room for the soft input area;
434                  instead pan the contents of the window as focus moves inside
435                  of it so that the user can see what they are typing.  This is
436                  generally less desireable than panning because the user may
437                  need to close the input area to get at and interact with
438                  parts of the window. -->
439             <flag name="adjustPan" value="0x20" />
440             <!-- Don't resize <em>or</em> pan the window to make room for the
441                  soft input area; the window is never adjusted for it. -->
442             <flag name="adjustNothing" value="0x30" />
443         </attr>
444
445         <!-- Flag allowing you to disable the splash screen for a window. The default value is
446              false; if set to true, the system can never use the window's theme to show a splash
447              screen before your actual instance is shown to the user. -->
448         <attr name="windowDisablePreview" format="boolean" />
449
450         <!-- Flag indicating that this window should not be displayed at all.
451              The default value is false; if set to true, and this window is
452              the main window of an Activity, then it will never actually
453              be added to the window manager.  This means that your activity
454              must immediately quit without waiting for user interaction,
455              because there will be no such interaction coming. -->
456         <attr name="windowNoDisplay" format="boolean" />
457
458         <!-- Flag indicating that this window should allow touches to be split
459              across other windows that also support split touch.
460              The default value is true for applications with a targetSdkVersion
461              of Honeycomb or newer; false otherwise.
462              When this flag is false, the first pointer that goes down determines
463              the window to which all subsequent touches go until all pointers go up.
464              When this flag is true, each pointer (not necessarily the first) that
465              goes down determines the window to which all subsequent touches of that
466              pointer will go until that pointers go up thereby enabling touches
467              with multiple pointers to be split across multiple windows. -->
468         <attr name="windowEnableSplitTouch" format="boolean" />
469
470         <!-- Control whether a container should automatically close itself if
471              the user touches outside of it.  This only applies to activities
472              and dialogs.
473
474              <p>Note: this attribute will only be respected for applications
475              that are targeting {@link android.os.Build.VERSION_CODES#HONEYCOMB}
476              or later. -->
477         <attr name="windowCloseOnTouchOutside" format="boolean" />
478
479         <!-- Flag indicating whether this window requests a translucent status bar.  Corresponds
480              to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_STATUS}. -->
481         <attr name="windowTranslucentStatus" format="boolean" />
482
483         <!-- Flag indicating whether this window requests a translucent navigation bar.  Corresponds
484              to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_NAVIGATION}. -->
485         <attr name="windowTranslucentNavigation" format="boolean" />
486
487         <!-- Flag to indicate that a window can be swiped away to be dismissed.
488              Corresponds to {@link android.view.Window#FEATURE_SWIPE_TO_DISMISS}. It will also
489              dynamically change translucency of the window, if the windowIsTranslucent is not set.
490              If windowIsTranslucent is set (to either true or false) it will obey that setting. -->
491         <attr name="windowSwipeToDismiss" format="boolean" />
492
493         <!-- Flag indicating whether this window requests that content changes be performed
494              as scene changes with transitions. Corresponds to
495              {@link android.view.Window#FEATURE_CONTENT_TRANSITIONS}. -->
496         <attr name="windowContentTransitions" format="boolean" />
497
498         <!-- Reference to a TransitionManager XML resource defining the desired
499              transitions between different window content. -->
500         <attr name="windowContentTransitionManager" format="reference" />
501
502         <!-- Flag indicating whether this window allows Activity Transitions.
503              Corresponds to {@link android.view.Window#FEATURE_ACTIVITY_TRANSITIONS}. -->
504         <attr name="windowActivityTransitions" format="boolean" />
505
506         <!-- Reference to a Transition XML resource defining the desired Transition
507              used to move Views into the initial Window's content Scene. Corresponds to
508              {@link android.view.Window#setEnterTransition(android.transition.Transition)}. -->
509         <attr name="windowEnterTransition" format="reference"/>
510
511         <!-- Reference to a Transition XML resource defining the desired Transition
512              used to move Views out of the scene when the Window is
513              preparing to close. Corresponds to
514              {@link android.view.Window#setReturnTransition(android.transition.Transition)}. -->
515         <attr name="windowReturnTransition" format="reference"/>
516
517         <!-- Reference to a Transition XML resource defining the desired Transition
518              used to move Views out of the Window's content Scene when launching a new Activity.
519              Corresponds to
520              {@link android.view.Window#setExitTransition(android.transition.Transition)}. -->
521         <attr name="windowExitTransition" format="reference"/>
522
523         <!-- Reference to a Transition XML resource defining the desired Transition
524              used to move Views in to the scene when returning from a previously-started Activity.
525              Corresponds to
526              {@link android.view.Window#setReenterTransition(android.transition.Transition)}. -->
527         <attr name="windowReenterTransition" format="reference"/>
528
529         <!-- Reference to a Transition XML resource defining the desired Transition
530              used to move shared elements transferred into the Window's initial content Scene.
531              Corresponds to {@link android.view.Window#setSharedElementEnterTransition(
532              android.transition.Transition)}. -->
533         <attr name="windowSharedElementEnterTransition" format="reference"/>
534
535         <!-- Reference to a Transition XML resource defining the desired Transition
536              used to move shared elements transferred back to a calling Activity.
537              Corresponds to {@link android.view.Window#setSharedElementReturnTransition(
538              android.transition.Transition)}. -->
539         <attr name="windowSharedElementReturnTransition" format="reference"/>
540
541         <!-- Reference to a Transition XML resource defining the desired Transition
542              used when starting a new Activity to move shared elements prior to transferring
543              to the called Activity.
544              Corresponds to {@link android.view.Window#setSharedElementExitTransition(
545              android.transition.Transition)}. -->
546         <attr name="windowSharedElementExitTransition" format="reference"/>
547
548         <!-- Reference to a Transition XML resource defining the desired Transition
549              used for shared elements transferred back to a calling Activity.
550              Corresponds to {@link android.view.Window#setSharedElementReenterTransition(
551              android.transition.Transition)}. -->
552         <attr name="windowSharedElementReenterTransition" format="reference"/>
553
554         <!-- Flag indicating whether this Window's transition should overlap with
555              the exiting transition of the calling Activity. Corresponds to
556              {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}.
557              The default value is true. -->
558         <attr name="windowAllowEnterTransitionOverlap" format="boolean"/>
559
560         <!-- Flag indicating whether this Window's transition should overlap with
561              the exiting transition of the called Activity when the called Activity
562              finishes. Corresponds to
563              {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}.
564              The default value is true. -->
565         <attr name="windowAllowReturnTransitionOverlap" format="boolean"/>
566
567         <!-- Indicates whether or not shared elements should use an overlay
568              during transitions. The default value is true. -->
569         <attr name="windowSharedElementsUseOverlay" format="boolean"/>
570
571         <!-- Internal layout used internally for window decor -->
572         <attr name="windowActionBarFullscreenDecorLayout" format="reference" />
573
574         <!-- The duration, in milliseconds, of the window background fade duration
575              when transitioning into or away from an Activity when called with an
576              Activity Transition. Corresponds to
577              {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. -->
578         <attr name="windowTransitionBackgroundFadeDuration" format="integer"/>
579
580         <!-- ============ -->
581         <!-- Floating toolbar styles -->
582         <!-- ============ -->
583        <eat-comment />
584        <attr name="floatingToolbarCloseDrawable" format="reference" />
585        <attr name="floatingToolbarForegroundColor" format="reference|color" />
586        <attr name="floatingToolbarItemBackgroundBorderlessDrawable" format="reference" />
587        <attr name="floatingToolbarItemBackgroundDrawable" format="reference" />
588        <attr name="floatingToolbarOpenDrawable" format="reference" />
589        <attr name="floatingToolbarPopupBackgroundDrawable" format="reference" />
590        <attr name="floatingToolbarDividerColor" format="reference" />
591
592         <!-- ============ -->
593         <!-- Alert Dialog styles -->
594         <!-- ============ -->
595         <eat-comment />
596         <attr name="alertDialogStyle" format="reference" />
597         <attr name="alertDialogButtonGroupStyle" format="reference" />
598         <attr name="alertDialogCenterButtons" format="boolean" />
599
600         <!-- ============== -->
601         <!-- Image elements -->
602         <!-- ============== -->
603         <eat-comment />
604
605         <!-- Background that can be used behind parts of a UI that provide
606              details on data the user is selecting.  For example, this is
607              the background element of PreferenceActivity's embedded
608              preference fragment. -->
609         <attr name="detailsElementBackground" format="reference" />
610
611         <!-- Icon that should be used to indicate that an app is waiting for a fingerprint scan.
612              This should be used whenever an app is requesting the user to place a finger on the
613              fingerprint sensor. It can be combined with other drawables such as colored circles, so
614              the appearance matches the branding of the app requesting the fingerprint scan.-->
615         <attr name="fingerprintAuthDrawable" format="reference" />
616
617         <!-- ============ -->
618         <!-- Panel styles -->
619         <!-- ============ -->
620         <eat-comment />
621
622         <!-- The background of a panel when it is inset from the left and right edges of the screen. -->
623         <attr name="panelBackground" format="reference|color" />
624         <!-- The background of a panel when it extends to the left and right edges of the screen. -->
625         <attr name="panelFullBackground" format="reference|color" />
626         <!-- Default color of foreground panel imagery. -->
627         <attr name="panelColorForeground" format="reference|color" />
628         <!-- Color that matches (as closely as possible) the panel background. -->
629         <attr name="panelColorBackground" format="reference|color" />
630         <!-- Default appearance of panel text. -->
631         <attr name="panelTextAppearance" format="reference" />
632
633         <attr name="panelMenuIsCompact" format="boolean" />
634         <attr name="panelMenuListWidth" format="dimension" />
635         <attr name="panelMenuListTheme" format="reference" />
636
637         <!-- =================== -->
638         <!-- Other widget styles -->
639         <!-- =================== -->
640         <eat-comment />
641
642         <!-- Default AbsListView style. -->
643         <attr name="absListViewStyle" format="reference" />
644         <!-- Default AutoCompleteTextView style. -->
645         <attr name="autoCompleteTextViewStyle" format="reference" />
646         <!-- Default Checkbox style. -->
647         <attr name="checkboxStyle" format="reference" />
648         <!-- Default CheckedTextView style. -->
649         <attr name="checkedTextViewStyle" format="reference" />
650         <!-- Default ListView style for drop downs. -->
651         <attr name="dropDownListViewStyle" format="reference" />
652         <!-- Default EditText style. -->
653         <attr name="editTextStyle" format="reference" />
654         <!-- Default ExpandableListView style. -->
655         <attr name="expandableListViewStyle" format="reference" />
656         <!-- ExpandableListView with white background. -->
657         <attr name="expandableListViewWhiteStyle" format="reference" />
658         <!-- Default Gallery style. -->
659         <attr name="galleryStyle" format="reference" />
660         <!-- Default GestureOverlayView style. -->
661         <attr name="gestureOverlayViewStyle" format="reference" />
662         <!-- Default GridView style. -->
663         <attr name="gridViewStyle" format="reference" />
664         <!-- The style resource to use for an ImageButton. -->
665         <attr name="imageButtonStyle" format="reference" />
666         <!-- The style resource to use for an ImageButton that is an image well. -->
667         <attr name="imageWellStyle" format="reference" />
668         <!-- Default menu-style ListView style. -->
669         <attr name="listMenuViewStyle" format="reference" />
670         <!-- Default ListView style. -->
671         <attr name="listViewStyle" format="reference" />
672         <!-- ListView with white background. -->
673         <attr name="listViewWhiteStyle" format="reference" />
674         <!-- Default PopupWindow style. -->
675         <attr name="popupWindowStyle" format="reference" />
676         <!-- Default ProgressBar style. This is a medium circular progress bar. -->
677         <attr name="progressBarStyle" format="reference" />
678         <!-- Horizontal ProgressBar style. This is a horizontal progress bar. -->
679         <attr name="progressBarStyleHorizontal" format="reference" />
680         <!-- Small ProgressBar style. This is a small circular progress bar. -->
681         <attr name="progressBarStyleSmall" format="reference" />
682         <!-- Small ProgressBar in title style. This is a small circular progress bar that will be placed in title bars. -->
683         <attr name="progressBarStyleSmallTitle" format="reference" />
684         <!-- Large ProgressBar style. This is a large circular progress bar. -->
685         <attr name="progressBarStyleLarge" format="reference" />
686         <!-- Inverse ProgressBar style. This is a medium circular progress bar. -->
687         <attr name="progressBarStyleInverse" format="reference" />
688         <!-- Small inverse ProgressBar style. This is a small circular progress bar. -->
689         <attr name="progressBarStyleSmallInverse" format="reference" />
690         <!-- Large inverse ProgressBar style. This is a large circular progress bar. -->
691         <attr name="progressBarStyleLargeInverse" format="reference" />
692         <!-- Default SeekBar style. -->
693         <attr name="seekBarStyle" format="reference" />
694         <!-- Default RatingBar style. -->
695         <attr name="ratingBarStyle" format="reference" />
696         <!-- Indicator RatingBar style. -->
697         <attr name="ratingBarStyleIndicator" format="reference" />
698         <!-- Small indicator RatingBar style. -->
699         <attr name="ratingBarStyleSmall" format="reference" />
700         <!-- Default RadioButton style. -->
701         <attr name="radioButtonStyle" format="reference" />
702         <!-- Default ScrollView style. -->
703         <attr name="scrollViewStyle" format="reference" />
704         <!-- Default HorizontalScrollView style. -->
705         <attr name="horizontalScrollViewStyle" format="reference" />
706         <!-- Default Spinner style. -->
707         <attr name="spinnerStyle" format="reference" />
708         <!-- Default dropdown Spinner style. -->
709         <attr name="dropDownSpinnerStyle" format="reference" />
710         <!-- Default ActionBar dropdown style. -->
711         <attr name="actionDropDownStyle" format="reference" />
712         <!-- Default action button style. -->
713         <attr name="actionButtonStyle" format="reference" />
714         <!-- Default Star style. -->
715         <attr name="starStyle" format="reference" />
716         <!-- Default TabWidget style. -->
717         <attr name="tabWidgetStyle" format="reference" />
718         <!-- Default TextView style. -->
719         <attr name="textViewStyle" format="reference" />
720         <!-- Default WebTextView style. -->
721         <attr name="webTextViewStyle" format="reference" />
722         <!-- Default WebView style. -->
723         <attr name="webViewStyle" format="reference" />
724         <!-- Default style for drop down items. -->
725         <attr name="dropDownItemStyle" format="reference" />
726          <!-- Default style for spinner drop down items. -->
727         <attr name="spinnerDropDownItemStyle" format="reference" />
728         <!-- Default style for drop down hints. -->
729         <attr name="dropDownHintAppearance" format="reference" />
730         <!-- Default spinner item style. -->
731         <attr name="spinnerItemStyle" format="reference" />
732         <!-- Default MapView style. -->
733         <attr name="mapViewStyle" format="reference" />
734         <!-- Drawable used as an overlay on top of quickcontact photos. -->
735         <attr name="quickContactBadgeOverlay" format="reference" />
736         <!-- Default quickcontact badge style with small quickcontact window. -->
737         <attr name="quickContactBadgeStyleWindowSmall" format="reference" />
738         <!-- Default quickcontact badge style with medium quickcontact window. -->
739         <attr name="quickContactBadgeStyleWindowMedium" format="reference" />
740         <!-- Default quickcontact badge style with large quickcontact window. -->
741         <attr name="quickContactBadgeStyleWindowLarge" format="reference" />
742         <!-- Default quickcontact badge style with small quickcontact window. -->
743         <attr name="quickContactBadgeStyleSmallWindowSmall" format="reference" />
744         <!-- Default quickcontact badge style with medium quickcontact window. -->
745         <attr name="quickContactBadgeStyleSmallWindowMedium" format="reference" />
746         <!-- Default quickcontact badge style with large quickcontact window. -->
747         <attr name="quickContactBadgeStyleSmallWindowLarge" format="reference" />
748         <!-- Reference to a style that will be used for the window containing a text
749              selection anchor. -->
750         <attr name="textSelectHandleWindowStyle" format="reference" />
751         <!-- Reference to a style that will be used for the window containing a list of possible
752              text suggestions in an EditText. -->
753         <attr name="textSuggestionsWindowStyle" format="reference" />
754         <!-- Default ListPopupWindow style. -->
755         <attr name="listPopupWindowStyle" format="reference" />
756         <!-- Default PopupMenu style. -->
757         <attr name="popupMenuStyle" format="reference" />
758         <!-- Default context menu PopupMenu style. -->
759         <attr name="contextPopupMenuStyle" format="reference" />
760         <!-- Default StackView style. -->
761         <attr name="stackViewStyle" format="reference" />
762
763         <!-- Default style for the FragmentBreadCrumbs widget. This widget is deprecated
764              starting in API level 21 ({@link android.os.Build.VERSION_CODES#.L}). -->
765         <attr name="fragmentBreadCrumbsStyle" format="reference" />
766
767         <!-- NumberPicker style. -->
768         <attr name="numberPickerStyle" format="reference" />
769
770         <!-- The CalendarView style. -->
771         <attr name="calendarViewStyle" format="reference" />
772
773         <!-- The TimePicker style. -->
774         <attr name="timePickerStyle" format="reference" />
775
776         <!-- The TimePicker dialog theme. -->
777         <attr name="timePickerDialogTheme" format="reference" />
778
779         <!-- The DatePicker style. -->
780         <attr name="datePickerStyle" format="reference" />
781
782         <!-- The DatePicker dialog theme. -->
783         <attr name="datePickerDialogTheme" format="reference" />
784
785         <!-- Default ActivityChooserView style. -->
786         <attr name="activityChooserViewStyle" format="reference" />
787
788         <!-- Default Toolbar style. -->
789         <attr name="toolbarStyle" format="reference" />
790
791         <!-- Fast scroller styles -->
792         <eat-comment />
793
794         <!-- Drawable to use as the fast scroll thumb. -->
795         <attr name="fastScrollThumbDrawable" format="reference" />
796         <!-- Drawable to use as the fast scroll index preview window background
797              when shown on the right. -->
798         <attr name="fastScrollPreviewBackgroundRight" format="reference" />
799         <!-- Drawable to use as the fast scroll index preview window background
800              when shown on the left. -->
801         <attr name="fastScrollPreviewBackgroundLeft" format="reference" />
802         <!-- Drawable to use as the track for the fast scroll thumb.
803              This may be null. -->
804         <attr name="fastScrollTrackDrawable" format="reference" />
805         <!-- Position of the fast scroll index overlay window. -->
806         <attr name="fastScrollOverlayPosition">
807             <enum name="floating" value="0" />
808             <enum name="atThumb" value="1" />
809             <enum name="aboveThumb" value="2" />
810         </attr>
811         <!-- Text color for the fast scroll index overlay. Make sure it
812              plays nicely with fastScrollPreviewBackground[Left|Right]. -->
813         <attr name="fastScrollTextColor" format="color" />
814
815         <!-- =================== -->
816         <!-- Action bar styles   -->
817         <!-- =================== -->
818         <eat-comment />
819         <!-- Default style for tabs within an action bar. -->
820         <attr name="actionBarTabStyle" format="reference" />
821         <!-- Reference to a style for the Action Bar Tab Bar. -->
822         <attr name="actionBarTabBarStyle" format="reference" />
823         <!-- Reference to a style for the Action Bar Tab text. -->
824         <attr name="actionBarTabTextStyle" format="reference" />
825         <!-- Reference to a style for Action Bar overflow buttons. -->
826         <attr name="actionOverflowButtonStyle" format="reference" />
827         <!-- Reference to a style for the Action Bar menu. -->
828         <attr name="actionOverflowMenuStyle" format="reference" />
829         <!-- Reference to a theme that should be used to inflate popups
830              shown by widgets in the action bar. -->
831         <attr name="actionBarPopupTheme" format="reference" />
832         <!-- Reference to a style for the Action Bar. -->
833         <attr name="actionBarStyle" format="reference" />
834         <!-- Reference to a style for the split Action Bar. This style
835              controls the split component that holds the menu/action
836              buttons. actionBarStyle is still used for the primary
837              bar. -->
838         <attr name="actionBarSplitStyle" format="reference" />
839         <!-- Reference to a theme that should be used to inflate the
840              action bar. This will be inherited by any widget inflated
841              into the action bar. -->
842         <attr name="actionBarTheme" format="reference" />
843         <!-- Reference to a theme that should be used to inflate widgets
844              and layouts destined for the action bar. Most of the time
845              this will be a reference to the current theme, but when
846              the action bar has a significantly different contrast
847              profile than the rest of the activity the difference
848              can become important. If this is set to @null the current
849              theme will be used.-->
850         <attr name="actionBarWidgetTheme" format="reference" />
851         <!-- Size of the Action Bar, including the contextual
852              bar used to present Action Modes. -->
853         <attr name="actionBarSize" format="dimension" >
854             <enum name="wrap_content" value="0" />
855         </attr>
856         <!-- Custom divider drawable to use for elements in the action bar. -->
857         <attr name="actionBarDivider" format="reference" />
858         <!-- Custom item state list drawable background for action bar items. -->
859         <attr name="actionBarItemBackground" format="reference" />
860         <!-- TextAppearance style that will be applied to text that
861              appears within action menu items. -->
862         <attr name="actionMenuTextAppearance" format="reference" />
863         <!-- Color for text that appears within action menu items. -->
864         <attr name="actionMenuTextColor" format="color|reference" />
865
866         <!-- =================== -->
867         <!-- Action mode styles  -->
868         <!-- =================== -->
869         <eat-comment />
870         <!-- Reference to a style for the Action Mode. -->
871         <attr name="actionModeStyle" format="reference" />
872         <!-- Reference to a style for the Action Mode close button. -->
873         <attr name="actionModeCloseButtonStyle" format="reference" />
874         <!-- Background drawable to use for action mode UI. -->
875         <attr name="actionModeBackground" format="reference" />
876         <!-- Background drawable to use for action mode UI in the lower split bar. -->
877         <attr name="actionModeSplitBackground" format="reference" />
878         <!-- Drawable to use for the close action mode button. -->
879         <attr name="actionModeCloseDrawable" format="reference" />
880
881         <!-- Drawable to use for the Cut action button in Contextual Action Bar. -->
882         <attr name="actionModeCutDrawable" format="reference" />
883         <!-- Drawable to use for the Copy action button in Contextual Action Bar. -->
884         <attr name="actionModeCopyDrawable" format="reference" />
885         <!-- Drawable to use for the Paste action button in Contextual Action Bar. -->
886         <attr name="actionModePasteDrawable" format="reference" />
887         <!-- Drawable to use for the Select all action button in Contextual Action Bar. -->
888         <attr name="actionModeSelectAllDrawable" format="reference" />
889         <!-- Drawable to use for the Share action button in WebView selection action modes. -->
890         <attr name="actionModeShareDrawable" format="reference" />
891         <!-- Drawable to use for the Find action button in WebView selection action modes. -->
892         <attr name="actionModeFindDrawable" format="reference" />
893         <!-- Drawable to use for the Web Search action button in WebView selection action modes. -->
894         <attr name="actionModeWebSearchDrawable" format="reference" />
895
896         <!-- PopupWindow style to use for action modes when showing as a window overlay. -->
897         <attr name="actionModePopupWindowStyle" format="reference" />
898
899         <!-- =================== -->
900         <!-- Preference styles   -->
901         <!-- =================== -->
902         <eat-comment />
903
904         <!-- Default style for PreferenceScreen. -->
905         <attr name="preferenceScreenStyle" format="reference" />
906         <!-- Default style for the PreferenceActivity. -->
907         <attr name="preferenceActivityStyle" format="reference" />
908         <!-- Default style for Headers pane in PreferenceActivity. -->
909         <attr name="preferenceFragmentStyle" format="reference" />
910         <!-- Default style for PreferenceCategory. -->
911         <attr name="preferenceCategoryStyle" format="reference" />
912         <!-- Default style for Preference. -->
913         <attr name="preferenceStyle" format="reference" />
914         <!-- Default style for informational Preference. -->
915         <attr name="preferenceInformationStyle" format="reference" />
916         <!-- Default style for CheckBoxPreference. -->
917         <attr name="checkBoxPreferenceStyle" format="reference" />
918         <!-- Default style for YesNoPreference. -->
919         <attr name="yesNoPreferenceStyle" format="reference" />
920         <!-- Default style for DialogPreference. -->
921         <attr name="dialogPreferenceStyle" format="reference" />
922         <!-- Default style for EditTextPreference. -->
923         <attr name="editTextPreferenceStyle" format="reference" />
924         <!-- @hide Default style for SeekBarDialogPreference. -->
925         <attr name="seekBarDialogPreferenceStyle" format="reference" />
926         <!-- Default style for RingtonePreference. -->
927         <attr name="ringtonePreferenceStyle" format="reference" />
928         <!-- The preference layout that has the child/tabbed effect. -->
929         <attr name="preferenceLayoutChild" format="reference" />
930         <!-- Preference panel style -->
931         <attr name="preferencePanelStyle" format="reference" />
932         <!-- Preference headers panel style -->
933         <attr name="preferenceHeaderPanelStyle" format="reference" />
934         <!-- Preference list style -->
935         <attr name="preferenceListStyle" format="reference" />
936         <!-- Preference fragment list style -->
937         <attr name="preferenceFragmentListStyle" format="reference" />
938         <!-- Preference fragment padding side -->
939         <attr name="preferenceFragmentPaddingSide" format="dimension" />
940         <!-- Default style for switch preferences. -->
941         <attr name="switchPreferenceStyle" format="reference" />
942         <!-- Default style for seekbar preferences. -->
943         <attr name="seekBarPreferenceStyle" format="reference" />
944
945         <!-- ============================ -->
946         <!-- Text selection handle styles -->
947         <!-- ============================ -->
948         <eat-comment />
949
950         <!-- Reference to a drawable that will be used to display a text selection
951              anchor on the left side of a selection region. -->
952         <attr name="textSelectHandleLeft" format="reference" />
953         <!-- Reference to a drawable that will be used to display a text selection
954              anchor on the right side of a selection region. -->
955         <attr name="textSelectHandleRight" format="reference" />
956         <!-- Reference to a drawable that will be used to display a text selection
957              anchor for positioning the cursor within text. -->
958         <attr name="textSelectHandle" format="reference" />
959         <!-- The layout of the view that is displayed on top of the cursor to paste inside a
960              TextEdit field. -->
961         <attr name="textEditPasteWindowLayout" format="reference" />
962         <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. -->
963         <attr name="textEditNoPasteWindowLayout" format="reference" />
964         <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the
965              insertion cursor because it would be clipped if it were positioned on top. -->
966         <attr name="textEditSidePasteWindowLayout" format="reference" />
967         <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. -->
968         <attr name="textEditSideNoPasteWindowLayout" format="reference" />
969
970         <!-- Layout of the TextView item that will populate the suggestion popup window. -->
971         <attr name="textEditSuggestionItemLayout" format="reference" />
972         <!-- Layout of the container of the suggestion popup window. -->
973         <attr name="textEditSuggestionContainerLayout" format="reference" />
974         <!-- Text appearance of the focused words to be replaced by suggested word. -->
975         <attr name="textEditSuggestionHighlightStyle" format="reference" />
976
977         <!-- Theme to use for dialogs spawned from this theme. -->
978         <attr name="dialogTheme" format="reference" />
979         <!-- Window decor layout to use in dialog mode with icons. -->
980         <attr name="dialogTitleIconsDecorLayout" format="reference" />
981         <!-- Window decor layout to use in dialog mode with custom titles. -->
982         <attr name="dialogCustomTitleDecorLayout" format="reference" />
983         <!-- Window decor layout to use in dialog mode with title only. -->
984         <attr name="dialogTitleDecorLayout" format="reference" />
985         <!-- Preferred padding for dialog content. -->
986         <attr name="dialogPreferredPadding" format="dimension" />
987
988         <!-- Theme to use for alert dialogs spawned from this theme. -->
989         <attr name="alertDialogTheme" format="reference" />
990         <!-- Icon drawable to use for alerts. -->
991         <attr name="alertDialogIcon" format="reference" />
992
993         <!-- Theme to use for presentations spawned from this theme. -->
994         <attr name="presentationTheme" format="reference" />
995
996         <!-- Drawable to use for generic vertical dividers. -->
997         <attr name="dividerVertical" format="reference" />
998
999         <!-- Drawable to use for generic horizontal dividers. -->
1000         <attr name="dividerHorizontal" format="reference" />
1001
1002         <!-- Style for button bars. -->
1003         <attr name="buttonBarStyle" format="reference" />
1004
1005         <!-- Style for buttons within button bars. -->
1006         <attr name="buttonBarButtonStyle" format="reference" />
1007
1008         <!-- Style for the "positive" buttons within button bars. -->
1009         <attr name="buttonBarPositiveButtonStyle" format="reference" />
1010
1011         <!-- Style for the "negative" buttons within button bars. -->
1012         <attr name="buttonBarNegativeButtonStyle" format="reference" />
1013
1014         <!-- Style for the "neutral" buttons within button bars. -->
1015         <attr name="buttonBarNeutralButtonStyle" format="reference" />
1016
1017         <!-- Style for the search query widget. -->
1018         <attr name="searchViewStyle" format="reference" />
1019
1020         <!-- Style for segmented buttons - a container that houses several buttons
1021              with the appearance of a singel button broken into segments. -->
1022         <attr name="segmentedButtonStyle" format="reference" />
1023
1024         <!-- Background drawable for bordered standalone items that need focus/pressed states. -->
1025         <attr name="selectableItemBackground" format="reference" />
1026
1027         <!-- Background drawable for borderless standalone items that need focus/pressed states. -->
1028         <attr name="selectableItemBackgroundBorderless" format="reference" />
1029
1030         <!-- Style for buttons without an explicit border, often used in groups. -->
1031         <attr name="borderlessButtonStyle" format="reference" />
1032
1033         <!-- Background to use for toasts. -->
1034         <attr name="toastFrameBackground" format="reference" />
1035
1036         <!-- Background to use for tooltip popups. -->
1037         <attr name="tooltipFrameBackground" format="reference" />
1038
1039         <!-- Foreground color to use for tooltip popups. -->
1040         <attr name="tooltipForegroundColor" format="reference|color" />
1041
1042         <!-- Background color to use for tooltip popups. -->
1043         <attr name="tooltipBackgroundColor" format="reference|color" />
1044
1045         <!-- Theme to use for Search Dialogs. -->
1046         <attr name="searchDialogTheme" format="reference" />
1047
1048         <!-- Specifies a drawable to use for the 'home as up' indicator. -->
1049         <attr name="homeAsUpIndicator" format="reference" />
1050
1051         <!-- Preference frame layout styles. -->
1052         <attr name="preferenceFrameLayoutStyle" format="reference" />
1053
1054         <!-- Default style for the Switch widget. -->
1055         <attr name="switchStyle" format="reference" />
1056
1057         <!-- Default style for the MediaRouteButton widget. -->
1058         <attr name="mediaRouteButtonStyle" format="reference" />
1059
1060         <!-- ============== -->
1061         <!-- Pointer styles -->
1062         <!-- ============== -->
1063         <eat-comment />
1064
1065         <!-- The drawable for accessibility focused views. -->
1066         <attr name="accessibilityFocusedDrawable" format="reference" />
1067
1068         <!-- Drawable for WebView find-on-page dialogue's "next" button. @hide -->
1069         <attr name="findOnPageNextDrawable" format="reference" />
1070
1071         <!-- Drawable for WebView find-on-page dialogue's "previous" button. @hide -->
1072         <attr name="findOnPagePreviousDrawable" format="reference" />
1073
1074         <!-- ============= -->
1075         <!-- Color palette -->
1076         <!-- ============= -->
1077         <eat-comment />
1078
1079         <!-- The primary branding color for the app. By default, this is the color applied to the
1080              action bar background. -->
1081         <attr name="colorPrimary" format="color" />
1082
1083         <!-- Dark variant of the primary branding color. By default, this is the color applied to
1084              the status bar (via statusBarColor) and navigation bar (via navigationBarColor). -->
1085         <attr name="colorPrimaryDark" format="color" />
1086
1087         <!-- The secondary branding color for the app. -->
1088         <attr name="colorSecondary" format="color" />
1089
1090         <!-- Bright complement to the primary branding color. By default, this is the color applied
1091              to framework controls (via colorControlActivated). -->
1092         <attr name="colorAccent" format="color" />
1093
1094         <!-- The color applied to framework controls in their normal state. -->
1095         <attr name="colorControlNormal" format="color" />
1096
1097         <!-- The color applied to framework controls in their activated (ex. checked) state. -->
1098         <attr name="colorControlActivated" format="color" />
1099
1100         <!-- The color applied to framework control highlights (ex. ripples, list selectors). -->
1101         <attr name="colorControlHighlight" format="color" />
1102
1103         <!-- The color applied to framework buttons in their normal state. -->
1104         <attr name="colorButtonNormal" format="color" />
1105
1106         <!-- The color applied to framework switch thumbs in their normal state. -->
1107         <attr name="colorSwitchThumbNormal" format="color" />
1108
1109         <!-- The color applied to the edge effect on scrolling containers. -->
1110         <attr name="colorEdgeEffect" format="color" />
1111
1112         <!-- =================== -->
1113         <!-- Lighting properties -->
1114         <!-- =================== -->
1115         <eat-comment />
1116
1117         <!-- @hide The default Y position of the light used to project view shadows. -->
1118         <attr name="lightY" format="dimension" />
1119
1120         <!-- @hide The default Z position of the light used to project view shadows. -->
1121         <attr name="lightZ" format="dimension" />
1122
1123         <!-- @hide The default radius of the light used to project view shadows. -->
1124         <attr name="lightRadius" format="dimension" />
1125
1126         <!-- Alpha value of the ambient shadow projected by elevated views, between 0 and 1. -->
1127         <attr name="ambientShadowAlpha" format="float" />
1128
1129         <!-- Alpha value of the spot shadow projected by elevated views, between 0 and 1. -->
1130         <attr name="spotShadowAlpha" format="float" />
1131     </declare-styleable>
1132
1133     <!-- **************************************************************** -->
1134     <!-- Other non-theme attributes. -->
1135     <!-- **************************************************************** -->
1136     <eat-comment />
1137
1138     <!-- Size of text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp).
1139          Supported values include the following:<p/>
1140     <ul>
1141         <li><b>px</b> Pixels</li>
1142         <li><b>sp</b> Scaled pixels (scaled to relative pixel size on screen). See {@link android.util.DisplayMetrics} for more information.</li>
1143         <li><b>pt</b> Points</li>
1144         <li><b>dip</b> Device independent pixels. See {@link android.util.DisplayMetrics} for more information.</li>
1145     </ul>
1146         -->
1147     <attr name="textSize" format="dimension" />
1148
1149     <!-- Default font family. -->
1150     <attr name="fontFamily" format="string" />
1151
1152     <!-- Default text typeface. -->
1153     <attr name="typeface">
1154         <enum name="normal" value="0" />
1155         <enum name="sans" value="1" />
1156         <enum name="serif" value="2" />
1157         <enum name="monospace" value="3" />
1158     </attr>
1159
1160     <!-- Default text typeface style. -->
1161     <attr name="textStyle">
1162         <flag name="normal" value="0" />
1163         <flag name="bold" value="1" />
1164         <flag name="italic" value="2" />
1165     </attr>
1166
1167     <!-- Color of text (usually same as colorForeground). -->
1168     <attr name="textColor" format="reference|color" />
1169
1170     <!-- Color of highlighted text. -->
1171     <attr name="textColorHighlight" format="reference|color" />
1172
1173     <!-- Color of hint text (displayed when the field is empty). -->
1174     <attr name="textColorHint" format="reference|color" />
1175
1176     <!-- Color of link text (URLs). -->
1177     <attr name="textColorLink" format="reference|color" />
1178
1179     <!-- Reference to a drawable that will be drawn under the insertion cursor. -->
1180     <attr name="textCursorDrawable" format="reference" />
1181
1182     <!-- Indicates that the content of a non-editable TextView can be selected.
1183      Default value is false. EditText content is always selectable. -->
1184     <attr name="textIsSelectable" format="boolean" />
1185
1186     <!-- Where to ellipsize text. -->
1187     <attr name="ellipsize">
1188         <enum name="none" value="0" />
1189         <enum name="start" value="1" />
1190         <enum name="middle" value="2" />
1191         <enum name="end" value="3" />
1192         <enum name="marquee" value="4" />
1193     </attr>
1194
1195     <!-- The type of data being placed in a text field, used to help an
1196          input method decide how to let the user enter text.  The constants
1197          here correspond to those defined by
1198          {@link android.text.InputType}.  Generally you can select
1199          a single value, though some can be combined together as
1200          indicated.  Setting this attribute to anything besides
1201          <var>none</var> also implies that the text is editable. -->
1202     <attr name="inputType">
1203         <!-- There is no content type.  The text is not editable. -->
1204         <flag name="none" value="0x00000000" />
1205         <!-- Just plain old text.  Corresponds to
1206              {@link android.text.InputType#TYPE_CLASS_TEXT} |
1207              {@link android.text.InputType#TYPE_TEXT_VARIATION_NORMAL}. -->
1208         <flag name="text" value="0x00000001" />
1209         <!-- Can be combined with <var>text</var> and its variations to
1210              request capitalization of all characters.  Corresponds to
1211              {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_CHARACTERS}. -->
1212         <flag name="textCapCharacters" value="0x00001001" />
1213         <!-- Can be combined with <var>text</var> and its variations to
1214              request capitalization of the first character of every word.  Corresponds to
1215              {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_WORDS}. -->
1216         <flag name="textCapWords" value="0x00002001" />
1217         <!-- Can be combined with <var>text</var> and its variations to
1218              request capitalization of the first character of every sentence.  Corresponds to
1219              {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_SENTENCES}. -->
1220         <flag name="textCapSentences" value="0x00004001" />
1221         <!-- Can be combined with <var>text</var> and its variations to
1222              request auto-correction of text being input.  Corresponds to
1223              {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_CORRECT}. -->
1224         <flag name="textAutoCorrect" value="0x00008001" />
1225         <!-- Can be combined with <var>text</var> and its variations to
1226              specify that this field will be doing its own auto-completion and
1227              talking with the input method appropriately.  Corresponds to
1228              {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_COMPLETE}. -->
1229         <flag name="textAutoComplete" value="0x00010001" />
1230         <!-- Can be combined with <var>text</var> and its variations to
1231              allow multiple lines of text in the field.  If this flag is not set,
1232              the text field will be constrained to a single line.  Corresponds to
1233              {@link android.text.InputType#TYPE_TEXT_FLAG_MULTI_LINE}. -->
1234         <flag name="textMultiLine" value="0x00020001" />
1235         <!-- Can be combined with <var>text</var> and its variations to
1236              indicate that though the regular text view should not be multiple
1237              lines, the IME should provide multiple lines if it can.  Corresponds to
1238              {@link android.text.InputType#TYPE_TEXT_FLAG_IME_MULTI_LINE}. -->
1239         <flag name="textImeMultiLine" value="0x00040001" />
1240         <!-- Can be combined with <var>text</var> and its variations to
1241              indicate that the IME should not show any
1242              dictionary-based word suggestions.  Corresponds to
1243              {@link android.text.InputType#TYPE_TEXT_FLAG_NO_SUGGESTIONS}. -->
1244         <flag name="textNoSuggestions" value="0x00080001" />
1245         <!-- Text that will be used as a URI.  Corresponds to
1246              {@link android.text.InputType#TYPE_CLASS_TEXT} |
1247              {@link android.text.InputType#TYPE_TEXT_VARIATION_URI}. -->
1248         <flag name="textUri" value="0x00000011" />
1249         <!-- Text that will be used as an e-mail address.  Corresponds to
1250              {@link android.text.InputType#TYPE_CLASS_TEXT} |
1251              {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_ADDRESS}. -->
1252         <flag name="textEmailAddress" value="0x00000021" />
1253         <!-- Text that is being supplied as the subject of an e-mail.  Corresponds to
1254              {@link android.text.InputType#TYPE_CLASS_TEXT} |
1255              {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_SUBJECT}. -->
1256         <flag name="textEmailSubject" value="0x00000031" />
1257         <!-- Text that is the content of a short message.  Corresponds to
1258              {@link android.text.InputType#TYPE_CLASS_TEXT} |
1259              {@link android.text.InputType#TYPE_TEXT_VARIATION_SHORT_MESSAGE}. -->
1260         <flag name="textShortMessage" value="0x00000041" />
1261         <!-- Text that is the content of a long message.  Corresponds to
1262              {@link android.text.InputType#TYPE_CLASS_TEXT} |
1263              {@link android.text.InputType#TYPE_TEXT_VARIATION_LONG_MESSAGE}. -->
1264         <flag name="textLongMessage" value="0x00000051" />
1265         <!-- Text that is the name of a person.  Corresponds to
1266              {@link android.text.InputType#TYPE_CLASS_TEXT} |
1267              {@link android.text.InputType#TYPE_TEXT_VARIATION_PERSON_NAME}. -->
1268         <flag name="textPersonName" value="0x00000061" />
1269         <!-- Text that is being supplied as a postal mailing address.  Corresponds to
1270              {@link android.text.InputType#TYPE_CLASS_TEXT} |
1271              {@link android.text.InputType#TYPE_TEXT_VARIATION_POSTAL_ADDRESS}. -->
1272         <flag name="textPostalAddress" value="0x00000071" />
1273         <!-- Text that is a password.  Corresponds to
1274              {@link android.text.InputType#TYPE_CLASS_TEXT} |
1275              {@link android.text.InputType#TYPE_TEXT_VARIATION_PASSWORD}. -->
1276         <flag name="textPassword" value="0x00000081" />
1277         <!-- Text that is a password that should be visible.  Corresponds to
1278              {@link android.text.InputType#TYPE_CLASS_TEXT} |
1279              {@link android.text.InputType#TYPE_TEXT_VARIATION_VISIBLE_PASSWORD}. -->
1280         <flag name="textVisiblePassword" value="0x00000091" />
1281         <!-- Text that is being supplied as text in a web form.  Corresponds to
1282              {@link android.text.InputType#TYPE_CLASS_TEXT} |
1283              {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EDIT_TEXT}. -->
1284         <flag name="textWebEditText" value="0x000000a1" />
1285         <!-- Text that is filtering some other data.  Corresponds to
1286              {@link android.text.InputType#TYPE_CLASS_TEXT} |
1287              {@link android.text.InputType#TYPE_TEXT_VARIATION_FILTER}. -->
1288         <flag name="textFilter" value="0x000000b1" />
1289         <!-- Text that is for phonetic pronunciation, such as a phonetic name
1290              field in a contact entry.  Corresponds to
1291              {@link android.text.InputType#TYPE_CLASS_TEXT} |
1292              {@link android.text.InputType#TYPE_TEXT_VARIATION_PHONETIC}. -->
1293         <flag name="textPhonetic" value="0x000000c1" />
1294         <!-- Text that will be used as an e-mail address on a web form.  Corresponds to
1295              {@link android.text.InputType#TYPE_CLASS_TEXT} |
1296              {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS}. -->
1297         <flag name="textWebEmailAddress" value="0x000000d1" />
1298         <!-- Text that will be used as a password on a web form.  Corresponds to
1299              {@link android.text.InputType#TYPE_CLASS_TEXT} |
1300              {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_PASSWORD}. -->
1301         <flag name="textWebPassword" value="0x000000e1" />
1302         <!-- A numeric only field.  Corresponds to
1303              {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1304              {@link android.text.InputType#TYPE_NUMBER_VARIATION_NORMAL}. -->
1305         <flag name="number" value="0x00000002" />
1306         <!-- Can be combined with <var>number</var> and its other options to
1307              allow a signed number.  Corresponds to
1308              {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1309              {@link android.text.InputType#TYPE_NUMBER_FLAG_SIGNED}. -->
1310         <flag name="numberSigned" value="0x00001002" />
1311         <!-- Can be combined with <var>number</var> and its other options to
1312              allow a decimal (fractional) number.  Corresponds to
1313              {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1314              {@link android.text.InputType#TYPE_NUMBER_FLAG_DECIMAL}. -->
1315         <flag name="numberDecimal" value="0x00002002" />
1316         <!-- A numeric password field.  Corresponds to
1317              {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1318              {@link android.text.InputType#TYPE_NUMBER_VARIATION_PASSWORD}. -->
1319         <flag name="numberPassword" value="0x00000012" />
1320         <!-- For entering a phone number.  Corresponds to
1321              {@link android.text.InputType#TYPE_CLASS_PHONE}. -->
1322         <flag name="phone" value="0x00000003" />
1323         <!-- For entering a date and time.  Corresponds to
1324              {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1325              {@link android.text.InputType#TYPE_DATETIME_VARIATION_NORMAL}. -->
1326         <flag name="datetime" value="0x00000004" />
1327         <!-- For entering a date.  Corresponds to
1328              {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1329              {@link android.text.InputType#TYPE_DATETIME_VARIATION_DATE}. -->
1330         <flag name="date" value="0x00000014" />
1331         <!-- For entering a time.  Corresponds to
1332              {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1333              {@link android.text.InputType#TYPE_DATETIME_VARIATION_TIME}. -->
1334         <flag name="time" value="0x00000024" />
1335     </attr>
1336
1337     <!-- Additional features you can enable in an IME associated with an editor
1338          to improve the integration with your application.  The constants
1339          here correspond to those defined by
1340          {@link android.view.inputmethod.EditorInfo#imeOptions}. -->
1341     <attr name="imeOptions">
1342         <!-- There are no special semantics associated with this editor. -->
1343         <flag name="normal" value="0x00000000" />
1344         <!-- There is no specific action associated with this editor, let the
1345              editor come up with its own if it can.
1346              Corresponds to
1347              {@link android.view.inputmethod.EditorInfo#IME_NULL}. -->
1348         <flag name="actionUnspecified" value="0x00000000" />
1349         <!-- This editor has no action associated with it.
1350              Corresponds to
1351              {@link android.view.inputmethod.EditorInfo#IME_ACTION_NONE}. -->
1352         <flag name="actionNone" value="0x00000001" />
1353         <!-- The action key performs a "go"
1354              operation to take the user to the target of the text they typed.
1355              Typically used, for example, when entering a URL.
1356              Corresponds to
1357              {@link android.view.inputmethod.EditorInfo#IME_ACTION_GO}. -->
1358         <flag name="actionGo" value="0x00000002" />
1359         <!-- The action key performs a "search"
1360              operation, taking the user to the results of searching for the text
1361              the have typed (in whatever context is appropriate).
1362              Corresponds to
1363              {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEARCH}. -->
1364         <flag name="actionSearch" value="0x00000003" />
1365         <!-- The action key performs a "send"
1366              operation, delivering the text to its target.  This is typically used
1367              when composing a message.
1368              Corresponds to
1369              {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEND}. -->
1370         <flag name="actionSend" value="0x00000004" />
1371         <!-- The action key performs a "next"
1372              operation, taking the user to the next field that will accept text.
1373              Corresponds to
1374              {@link android.view.inputmethod.EditorInfo#IME_ACTION_NEXT}. -->
1375         <flag name="actionNext" value="0x00000005" />
1376         <!-- The action key performs a "done"
1377              operation, closing the soft input method.
1378              Corresponds to
1379              {@link android.view.inputmethod.EditorInfo#IME_ACTION_DONE}. -->
1380         <flag name="actionDone" value="0x00000006" />
1381         <!-- The action key performs a "previous"
1382              operation, taking the user to the previous field that will accept text.
1383              Corresponds to
1384              {@link android.view.inputmethod.EditorInfo#IME_ACTION_PREVIOUS}. -->
1385         <flag name="actionPrevious" value="0x00000007" />
1386         <!-- Used to request that the IME should not update any personalized data such as typing
1387              history and personalized language model based on what the user typed on this text
1388              editing object. Typical use cases are:
1389              <ul>
1390                  <li>When the application is in a special mode, where user's activities are expected
1391                  to be not recorded in the application's history. Some web browsers and chat
1392                  applications may have this kind of modes.</li>
1393                  <li>When storing typing history does not make much sense.  Specifying this flag in
1394                  typing games may help to avoid typing history from being filled up with words that
1395                  the user is less likely to type in their daily life.  Another example is that when
1396                  the application already knows that the expected input is not a valid word (e.g. a
1397                  promotion code that is not a valid word in any natural language).</li>
1398              </ul>
1399              <p>Applications need to be aware that the flag is not a guarantee, and some IMEs may
1400              not respect it.</p> -->
1401         <flag name="flagNoPersonalizedLearning" value="0x1000000" />
1402         <!-- Used to request that the IME never go
1403              into fullscreen mode.  Applications need to be aware that the flag is not
1404              a guarantee, and not all IMEs will respect it.
1405              <p>Corresponds to
1406              {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. -->
1407         <flag name="flagNoFullscreen" value="0x2000000" />
1408         <!-- Like flagNavigateNext, but
1409              specifies there is something interesting that a backward navigation
1410              can focus on.  If the user selects the IME's facility to backward
1411              navigate, this will show up in the application as an actionPrevious
1412              at {@link android.view.inputmethod.InputConnection#performEditorAction(int)
1413              InputConnection.performEditorAction(int)}.
1414              <p>Corresponds to
1415              {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. -->
1416         <flag name="flagNavigatePrevious" value="0x4000000" />
1417         <!-- Used to specify that there is something
1418              interesting that a forward navigation can focus on. This is like using
1419              actionNext, except allows the IME to be multiline (with
1420              an enter key) as well as provide forward navigation.  Note that some
1421              IMEs may not be able to do this, especially when running on a small
1422              screen where there is little space.  In that case it does not need to
1423              present a UI for this option.  Like actionNext, if the
1424              user selects the IME's facility to forward navigate, this will show up
1425              in the application at
1426              {@link android.view.inputmethod.InputConnection#performEditorAction(int)
1427              InputConnection.performEditorAction(int)}.
1428              <p>Corresponds to
1429              {@link android.view.inputmethod.EditorInfo#IME_FLAG_NAVIGATE_NEXT}. -->
1430         <flag name="flagNavigateNext" value="0x8000000" />
1431         <!-- Used to specify that the IME does not need
1432              to show its extracted text UI.  For input methods that may be fullscreen,
1433              often when in landscape mode, this allows them to be smaller and let part
1434              of the application be shown behind.  Though there will likely be limited
1435              access to the application available from the user, it can make the
1436              experience of a (mostly) fullscreen IME less jarring.  Note that when
1437              this flag is specified the IME may <em>not</em> be set up to be able
1438              to display text, so it should only be used in situations where this is
1439              not needed.
1440              <p>Corresponds to
1441              {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_EXTRACT_UI}. -->
1442         <flag name="flagNoExtractUi" value="0x10000000" />
1443         <!-- Used in conjunction with a custom action, this indicates that the
1444              action should not be available as an accessory button when the
1445              input method is full-screen.
1446              Note that by setting this flag, there can be cases where the action
1447              is simply never available to the user.  Setting this generally means
1448              that you think showing text being edited is more important than the
1449              action you have supplied.
1450              <p>Corresponds to
1451              {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ACCESSORY_ACTION}. -->
1452         <flag name="flagNoAccessoryAction" value="0x20000000" />
1453         <!-- Used in conjunction with a custom action,
1454              this indicates that the action should not be available in-line as
1455              a replacement for the "enter" key.  Typically this is
1456              because the action has such a significant impact or is not recoverable
1457              enough that accidentally hitting it should be avoided, such as sending
1458              a message.    Note that {@link android.widget.TextView} will
1459              automatically set this flag for you on multi-line text views.
1460              <p>Corresponds to
1461              {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ENTER_ACTION}. -->
1462         <flag name="flagNoEnterAction" value="0x40000000" />
1463         <!-- Used to request that the IME should be capable of inputting ASCII
1464              characters.  The intention of this flag is to ensure that the user
1465              can type Roman alphabet characters in a {@link android.widget.TextView}
1466              used for, typically, account ID or password input.  It is expected that IMEs
1467              normally are able to input ASCII even without being told so (such IMEs
1468              already respect this flag in a sense), but there could be some cases they
1469              aren't when, for instance, only non-ASCII input languagaes like Arabic,
1470              Greek, Hebrew, Russian are enabled in the IME.  Applications need to be
1471              aware that the flag is not a guarantee, and not all IMEs will respect it.
1472              However, it is strongly recommended for IME authors to respect this flag
1473              especially when their IME could end up with a state that has only non-ASCII
1474              input languages enabled.
1475              <p>Corresponds to
1476              {@link android.view.inputmethod.EditorInfo#IME_FLAG_FORCE_ASCII}. -->
1477         <flag name="flagForceAscii" value="0x80000000" />
1478     </attr>
1479
1480     <!-- A coordinate in the X dimension. -->
1481     <attr name="x" format="dimension" />
1482     <!-- A coordinate in the Y dimension. -->
1483     <attr name="y" format="dimension" />
1484
1485     <!-- Specifies how an object should position its content, on both the X and Y axes,
1486          within its own bounds.  -->
1487     <attr name="gravity">
1488         <!-- Push object to the top of its container, not changing its size. -->
1489         <flag name="top" value="0x30" />
1490         <!-- Push object to the bottom of its container, not changing its size. -->
1491         <flag name="bottom" value="0x50" />
1492         <!-- Push object to the left of its container, not changing its size. -->
1493         <flag name="left" value="0x03" />
1494         <!-- Push object to the right of its container, not changing its size. -->
1495         <flag name="right" value="0x05" />
1496         <!-- Place object in the vertical center of its container, not changing its size. -->
1497         <flag name="center_vertical" value="0x10" />
1498         <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
1499         <flag name="fill_vertical" value="0x70" />
1500         <!-- Place object in the horizontal center of its container, not changing its size. -->
1501         <flag name="center_horizontal" value="0x01" />
1502         <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
1503         <flag name="fill_horizontal" value="0x07" />
1504         <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
1505         <flag name="center" value="0x11" />
1506         <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
1507         <flag name="fill" value="0x77" />
1508         <!-- Additional option that can be set to have the top and/or bottom edges of
1509              the child clipped to its container's bounds.
1510              The clip will be based on the vertical gravity: a top gravity will clip the bottom
1511              edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
1512         <flag name="clip_vertical" value="0x80" />
1513         <!-- Additional option that can be set to have the left and/or right edges of
1514              the child clipped to its container's bounds.
1515              The clip will be based on the horizontal gravity: a left gravity will clip the right
1516              edge, a right gravity will clip the left edge, and neither will clip both edges. -->
1517         <flag name="clip_horizontal" value="0x08" />
1518         <!-- Push object to the beginning of its container, not changing its size. -->
1519         <flag name="start" value="0x00800003" />
1520         <!-- Push object to the end of its container, not changing its size. -->
1521         <flag name="end" value="0x00800005" />
1522     </attr>
1523
1524     <!-- Controls whether links such as urls and email addresses are
1525          automatically found and converted to clickable links.  The default
1526          value is "none", disabling this feature. -->
1527     <attr name="autoLink">
1528         <!-- Match no patterns (default). -->
1529         <flag name="none" value="0x00" />
1530         <!-- Match Web URLs. -->
1531         <flag name="web" value="0x01" />
1532         <!-- Match email addresses. -->
1533         <flag name="email" value="0x02" />
1534         <!-- Match phone numbers. -->
1535         <flag name="phone" value="0x04" />
1536         <!-- Match map addresses. -->
1537         <flag name="map" value="0x08" />
1538         <!-- Match all patterns (equivalent to web|email|phone|map). -->
1539         <flag name="all" value="0x0f" />
1540     </attr>
1541
1542     <!-- Reference to an array resource that will populate a list/adapter. -->
1543     <attr name="entries" format="reference" />
1544
1545     <!-- Standard gravity constant that a child supplies to its parent.
1546          Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout. -->
1547     <attr name="layout_gravity">
1548         <!-- Push object to the top of its container, not changing its size. -->
1549         <flag name="top" value="0x30" />
1550         <!-- Push object to the bottom of its container, not changing its size. -->
1551         <flag name="bottom" value="0x50" />
1552         <!-- Push object to the left of its container, not changing its size. -->
1553         <flag name="left" value="0x03" />
1554         <!-- Push object to the right of its container, not changing its size. -->
1555         <flag name="right" value="0x05" />
1556         <!-- Place object in the vertical center of its container, not changing its size. -->
1557         <flag name="center_vertical" value="0x10" />
1558         <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
1559         <flag name="fill_vertical" value="0x70" />
1560         <!-- Place object in the horizontal center of its container, not changing its size. -->
1561         <flag name="center_horizontal" value="0x01" />
1562         <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
1563         <flag name="fill_horizontal" value="0x07" />
1564         <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
1565         <flag name="center" value="0x11" />
1566         <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
1567         <flag name="fill" value="0x77" />
1568         <!-- Additional option that can be set to have the top and/or bottom edges of
1569              the child clipped to its container's bounds.
1570              The clip will be based on the vertical gravity: a top gravity will clip the bottom
1571              edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
1572         <flag name="clip_vertical" value="0x80" />
1573         <!-- Additional option that can be set to have the left and/or right edges of
1574              the child clipped to its container's bounds.
1575              The clip will be based on the horizontal gravity: a left gravity will clip the right
1576              edge, a right gravity will clip the left edge, and neither will clip both edges. -->
1577         <flag name="clip_horizontal" value="0x08" />
1578         <!-- Push object to the beginning of its container, not changing its size. -->
1579         <flag name="start" value="0x00800003" />
1580         <!-- Push object to the end of its container, not changing its size. -->
1581         <flag name="end" value="0x00800005" />
1582     </attr>
1583
1584     <!-- Standard orientation constant. -->
1585     <attr name="orientation">
1586         <!-- Defines an horizontal widget. -->
1587         <enum name="horizontal" value="0" />
1588         <!-- Defines a vertical widget. -->
1589         <enum name="vertical" value="1" />
1590     </attr>
1591
1592     <!-- Alignment constants. -->
1593     <attr name="alignmentMode">
1594         <!-- Align the bounds of the children.
1595         See {@link android.widget.GridLayout#ALIGN_BOUNDS}. -->
1596         <enum name="alignBounds" value="0" />
1597         <!-- Align the margins of the children.
1598         See {@link android.widget.GridLayout#ALIGN_MARGINS}. -->
1599         <enum name="alignMargins" value="1" />
1600     </attr>
1601
1602     <!-- ========================== -->
1603     <!-- Key Codes                  -->
1604     <!-- ========================== -->
1605     <eat-comment />
1606
1607     <!-- This enum provides the same keycode values as can be found in
1608         {@link android.view.KeyEvent}. -->
1609     <attr name="keycode">
1610         <enum name="KEYCODE_UNKNOWN" value="0" />
1611         <enum name="KEYCODE_SOFT_LEFT" value="1" />
1612         <enum name="KEYCODE_SOFT_RIGHT" value="2" />
1613         <enum name="KEYCODE_HOME" value="3" />
1614         <enum name="KEYCODE_BACK" value="4" />
1615         <enum name="KEYCODE_CALL" value="5" />
1616         <enum name="KEYCODE_ENDCALL" value="6" />
1617         <enum name="KEYCODE_0" value="7" />
1618         <enum name="KEYCODE_1" value="8" />
1619         <enum name="KEYCODE_2" value="9" />
1620         <enum name="KEYCODE_3" value="10" />
1621         <enum name="KEYCODE_4" value="11" />
1622         <enum name="KEYCODE_5" value="12" />
1623         <enum name="KEYCODE_6" value="13" />
1624         <enum name="KEYCODE_7" value="14" />
1625         <enum name="KEYCODE_8" value="15" />
1626         <enum name="KEYCODE_9" value="16" />
1627         <enum name="KEYCODE_STAR" value="17" />
1628         <enum name="KEYCODE_POUND" value="18" />
1629         <enum name="KEYCODE_DPAD_UP" value="19" />
1630         <enum name="KEYCODE_DPAD_DOWN" value="20" />
1631         <enum name="KEYCODE_DPAD_LEFT" value="21" />
1632         <enum name="KEYCODE_DPAD_RIGHT" value="22" />
1633         <enum name="KEYCODE_DPAD_CENTER" value="23" />
1634         <enum name="KEYCODE_VOLUME_UP" value="24" />
1635         <enum name="KEYCODE_VOLUME_DOWN" value="25" />
1636         <enum name="KEYCODE_POWER" value="26" />
1637         <enum name="KEYCODE_CAMERA" value="27" />
1638         <enum name="KEYCODE_CLEAR" value="28" />
1639         <enum name="KEYCODE_A" value="29" />
1640         <enum name="KEYCODE_B" value="30" />
1641         <enum name="KEYCODE_C" value="31" />
1642         <enum name="KEYCODE_D" value="32" />
1643         <enum name="KEYCODE_E" value="33" />
1644         <enum name="KEYCODE_F" value="34" />
1645         <enum name="KEYCODE_G" value="35" />
1646         <enum name="KEYCODE_H" value="36" />
1647         <enum name="KEYCODE_I" value="37" />
1648         <enum name="KEYCODE_J" value="38" />
1649         <enum name="KEYCODE_K" value="39" />
1650         <enum name="KEYCODE_L" value="40" />
1651         <enum name="KEYCODE_M" value="41" />
1652         <enum name="KEYCODE_N" value="42" />
1653         <enum name="KEYCODE_O" value="43" />
1654         <enum name="KEYCODE_P" value="44" />
1655         <enum name="KEYCODE_Q" value="45" />
1656         <enum name="KEYCODE_R" value="46" />
1657         <enum name="KEYCODE_S" value="47" />
1658         <enum name="KEYCODE_T" value="48" />
1659         <enum name="KEYCODE_U" value="49" />
1660         <enum name="KEYCODE_V" value="50" />
1661         <enum name="KEYCODE_W" value="51" />
1662         <enum name="KEYCODE_X" value="52" />
1663         <enum name="KEYCODE_Y" value="53" />
1664         <enum name="KEYCODE_Z" value="54" />
1665         <enum name="KEYCODE_COMMA" value="55" />
1666         <enum name="KEYCODE_PERIOD" value="56" />
1667         <enum name="KEYCODE_ALT_LEFT" value="57" />
1668         <enum name="KEYCODE_ALT_RIGHT" value="58" />
1669         <enum name="KEYCODE_SHIFT_LEFT" value="59" />
1670         <enum name="KEYCODE_SHIFT_RIGHT" value="60" />
1671         <enum name="KEYCODE_TAB" value="61" />
1672         <enum name="KEYCODE_SPACE" value="62" />
1673         <enum name="KEYCODE_SYM" value="63" />
1674         <enum name="KEYCODE_EXPLORER" value="64" />
1675         <enum name="KEYCODE_ENVELOPE" value="65" />
1676         <enum name="KEYCODE_ENTER" value="66" />
1677         <enum name="KEYCODE_DEL" value="67" />
1678         <enum name="KEYCODE_GRAVE" value="68" />
1679         <enum name="KEYCODE_MINUS" value="69" />
1680         <enum name="KEYCODE_EQUALS" value="70" />
1681         <enum name="KEYCODE_LEFT_BRACKET" value="71" />
1682         <enum name="KEYCODE_RIGHT_BRACKET" value="72" />
1683         <enum name="KEYCODE_BACKSLASH" value="73" />
1684         <enum name="KEYCODE_SEMICOLON" value="74" />
1685         <enum name="KEYCODE_APOSTROPHE" value="75" />
1686         <enum name="KEYCODE_SLASH" value="76" />
1687         <enum name="KEYCODE_AT" value="77" />
1688         <enum name="KEYCODE_NUM" value="78" />
1689         <enum name="KEYCODE_HEADSETHOOK" value="79" />
1690         <enum name="KEYCODE_FOCUS" value="80" />
1691         <enum name="KEYCODE_PLUS" value="81" />
1692         <enum name="KEYCODE_MENU" value="82" />
1693         <enum name="KEYCODE_NOTIFICATION" value="83" />
1694         <enum name="KEYCODE_SEARCH" value="84" />
1695         <enum name="KEYCODE_MEDIA_PLAY_PAUSE" value="85" />
1696         <enum name="KEYCODE_MEDIA_STOP" value="86" />
1697         <enum name="KEYCODE_MEDIA_NEXT" value="87" />
1698         <enum name="KEYCODE_MEDIA_PREVIOUS" value="88" />
1699         <enum name="KEYCODE_MEDIA_REWIND" value="89" />
1700         <enum name="KEYCODE_MEDIA_FAST_FORWARD" value="90" />
1701         <enum name="KEYCODE_MUTE" value="91" />
1702         <enum name="KEYCODE_PAGE_UP" value="92" />
1703         <enum name="KEYCODE_PAGE_DOWN" value="93" />
1704         <enum name="KEYCODE_PICTSYMBOLS" value="94" />
1705         <enum name="KEYCODE_SWITCH_CHARSET" value="95" />
1706         <enum name="KEYCODE_BUTTON_A" value="96" />
1707         <enum name="KEYCODE_BUTTON_B" value="97" />
1708         <enum name="KEYCODE_BUTTON_C" value="98" />
1709         <enum name="KEYCODE_BUTTON_X" value="99" />
1710         <enum name="KEYCODE_BUTTON_Y" value="100" />
1711         <enum name="KEYCODE_BUTTON_Z" value="101" />
1712         <enum name="KEYCODE_BUTTON_L1" value="102" />
1713         <enum name="KEYCODE_BUTTON_R1" value="103" />
1714         <enum name="KEYCODE_BUTTON_L2" value="104" />
1715         <enum name="KEYCODE_BUTTON_R2" value="105" />
1716         <enum name="KEYCODE_BUTTON_THUMBL" value="106" />
1717         <enum name="KEYCODE_BUTTON_THUMBR" value="107" />
1718         <enum name="KEYCODE_BUTTON_START" value="108" />
1719         <enum name="KEYCODE_BUTTON_SELECT" value="109" />
1720         <enum name="KEYCODE_BUTTON_MODE" value="110" />
1721         <enum name="KEYCODE_ESCAPE" value="111" />
1722         <enum name="KEYCODE_FORWARD_DEL" value="112" />
1723         <enum name="KEYCODE_CTRL_LEFT" value="113" />
1724         <enum name="KEYCODE_CTRL_RIGHT" value="114" />
1725         <enum name="KEYCODE_CAPS_LOCK" value="115" />
1726         <enum name="KEYCODE_SCROLL_LOCK" value="116" />
1727         <enum name="KEYCODE_META_LEFT" value="117" />
1728         <enum name="KEYCODE_META_RIGHT" value="118" />
1729         <enum name="KEYCODE_FUNCTION" value="119" />
1730         <enum name="KEYCODE_SYSRQ" value="120" />
1731         <enum name="KEYCODE_BREAK" value="121" />
1732         <enum name="KEYCODE_MOVE_HOME" value="122" />
1733         <enum name="KEYCODE_MOVE_END" value="123" />
1734         <enum name="KEYCODE_INSERT" value="124" />
1735         <enum name="KEYCODE_FORWARD" value="125" />
1736         <enum name="KEYCODE_MEDIA_PLAY" value="126" />
1737         <enum name="KEYCODE_MEDIA_PAUSE" value="127" />
1738         <enum name="KEYCODE_MEDIA_CLOSE" value="128" />
1739         <enum name="KEYCODE_MEDIA_EJECT" value="129" />
1740         <enum name="KEYCODE_MEDIA_RECORD" value="130" />
1741         <enum name="KEYCODE_F1" value="131" />
1742         <enum name="KEYCODE_F2" value="132" />
1743         <enum name="KEYCODE_F3" value="133" />
1744         <enum name="KEYCODE_F4" value="134" />
1745         <enum name="KEYCODE_F5" value="135" />
1746         <enum name="KEYCODE_F6" value="136" />
1747         <enum name="KEYCODE_F7" value="137" />
1748         <enum name="KEYCODE_F8" value="138" />
1749         <enum name="KEYCODE_F9" value="139" />
1750         <enum name="KEYCODE_F10" value="140" />
1751         <enum name="KEYCODE_F11" value="141" />
1752         <enum name="KEYCODE_F12" value="142" />
1753         <enum name="KEYCODE_NUM_LOCK" value="143" />
1754         <enum name="KEYCODE_NUMPAD_0" value="144" />
1755         <enum name="KEYCODE_NUMPAD_1" value="145" />
1756         <enum name="KEYCODE_NUMPAD_2" value="146" />
1757         <enum name="KEYCODE_NUMPAD_3" value="147" />
1758         <enum name="KEYCODE_NUMPAD_4" value="148" />
1759         <enum name="KEYCODE_NUMPAD_5" value="149" />
1760         <enum name="KEYCODE_NUMPAD_6" value="150" />
1761         <enum name="KEYCODE_NUMPAD_7" value="151" />
1762         <enum name="KEYCODE_NUMPAD_8" value="152" />
1763         <enum name="KEYCODE_NUMPAD_9" value="153" />
1764         <enum name="KEYCODE_NUMPAD_DIVIDE" value="154" />
1765         <enum name="KEYCODE_NUMPAD_MULTIPLY" value="155" />
1766         <enum name="KEYCODE_NUMPAD_SUBTRACT" value="156" />
1767         <enum name="KEYCODE_NUMPAD_ADD" value="157" />
1768         <enum name="KEYCODE_NUMPAD_DOT" value="158" />
1769         <enum name="KEYCODE_NUMPAD_COMMA" value="159" />
1770         <enum name="KEYCODE_NUMPAD_ENTER" value="160" />
1771         <enum name="KEYCODE_NUMPAD_EQUALS" value="161" />
1772         <enum name="KEYCODE_NUMPAD_LEFT_PAREN" value="162" />
1773         <enum name="KEYCODE_NUMPAD_RIGHT_PAREN" value="163" />
1774         <enum name="KEYCODE_VOLUME_MUTE" value="164" />
1775         <enum name="KEYCODE_INFO" value="165" />
1776         <enum name="KEYCODE_CHANNEL_UP" value="166" />
1777         <enum name="KEYCODE_CHANNEL_DOWN" value="167" />
1778         <enum name="KEYCODE_ZOOM_IN" value="168" />
1779         <enum name="KEYCODE_ZOOM_OUT" value="169" />
1780         <enum name="KEYCODE_TV" value="170" />
1781         <enum name="KEYCODE_WINDOW" value="171" />
1782         <enum name="KEYCODE_GUIDE" value="172" />
1783         <enum name="KEYCODE_DVR" value="173" />
1784         <enum name="KEYCODE_BOOKMARK" value="174" />
1785         <enum name="KEYCODE_CAPTIONS" value="175" />
1786         <enum name="KEYCODE_SETTINGS" value="176" />
1787         <enum name="KEYCODE_TV_POWER" value="177" />
1788         <enum name="KEYCODE_TV_INPUT" value="178" />
1789         <enum name="KEYCODE_STB_POWER" value="179" />
1790         <enum name="KEYCODE_STB_INPUT" value="180" />
1791         <enum name="KEYCODE_AVR_POWER" value="181" />
1792         <enum name="KEYCODE_AVR_INPUT" value="182" />
1793         <enum name="KEYCODE_PROG_GRED" value="183" />
1794         <enum name="KEYCODE_PROG_GREEN" value="184" />
1795         <enum name="KEYCODE_PROG_YELLOW" value="185" />
1796         <enum name="KEYCODE_PROG_BLUE" value="186" />
1797         <enum name="KEYCODE_APP_SWITCH" value="187" />
1798         <enum name="KEYCODE_BUTTON_1" value="188" />
1799         <enum name="KEYCODE_BUTTON_2" value="189" />
1800         <enum name="KEYCODE_BUTTON_3" value="190" />
1801         <enum name="KEYCODE_BUTTON_4" value="191" />
1802         <enum name="KEYCODE_BUTTON_5" value="192" />
1803         <enum name="KEYCODE_BUTTON_6" value="193" />
1804         <enum name="KEYCODE_BUTTON_7" value="194" />
1805         <enum name="KEYCODE_BUTTON_8" value="195" />
1806         <enum name="KEYCODE_BUTTON_9" value="196" />
1807         <enum name="KEYCODE_BUTTON_10" value="197" />
1808         <enum name="KEYCODE_BUTTON_11" value="198" />
1809         <enum name="KEYCODE_BUTTON_12" value="199" />
1810         <enum name="KEYCODE_BUTTON_13" value="200" />
1811         <enum name="KEYCODE_BUTTON_14" value="201" />
1812         <enum name="KEYCODE_BUTTON_15" value="202" />
1813         <enum name="KEYCODE_BUTTON_16" value="203" />
1814         <enum name="KEYCODE_LANGUAGE_SWITCH" value="204" />
1815         <enum name="KEYCODE_MANNER_MODE" value="205" />
1816         <enum name="KEYCODE_3D_MODE" value="206" />
1817         <enum name="KEYCODE_CONTACTS" value="207" />
1818         <enum name="KEYCODE_CALENDAR" value="208" />
1819         <enum name="KEYCODE_MUSIC" value="209" />
1820         <enum name="KEYCODE_CALCULATOR" value="210" />
1821         <enum name="KEYCODE_ZENKAKU_HANKAKU" value="211" />
1822         <enum name="KEYCODE_EISU" value="212" />
1823         <enum name="KEYCODE_MUHENKAN" value="213" />
1824         <enum name="KEYCODE_HENKAN" value="214" />
1825         <enum name="KEYCODE_KATAKANA_HIRAGANA" value="215" />
1826         <enum name="KEYCODE_YEN" value="216" />
1827         <enum name="KEYCODE_RO" value="217" />
1828         <enum name="KEYCODE_KANA" value="218" />
1829         <enum name="KEYCODE_ASSIST" value="219" />
1830         <enum name="KEYCODE_BRIGHTNESS_DOWN" value="220" />
1831         <enum name="KEYCODE_BRIGHTNESS_UP" value="221" />
1832         <enum name="KEYCODE_MEDIA_AUDIO_TRACK" value="222" />
1833         <enum name="KEYCODE_MEDIA_SLEEP" value="223" />
1834         <enum name="KEYCODE_MEDIA_WAKEUP" value="224" />
1835         <enum name="KEYCODE_PAIRING" value="225" />
1836         <enum name="KEYCODE_MEDIA_TOP_MENU" value="226" />
1837         <enum name="KEYCODE_11" value="227" />
1838         <enum name="KEYCODE_12" value="228" />
1839         <enum name="KEYCODE_LAST_CHANNEL" value="229" />
1840         <enum name="KEYCODE_TV_DATA_SERVICE" value="230" />
1841         <enum name="KEYCODE_VOICE_ASSIST" value="231" />
1842         <enum name="KEYCODE_TV_RADIO_SERVICE" value="232" />
1843         <enum name="KEYCODE_TV_TELETEXT" value="233" />
1844         <enum name="KEYCODE_TV_NUMBER_ENTRY" value="234" />
1845         <enum name="KEYCODE_TV_TERRESTRIAL_ANALOG" value="235" />
1846         <enum name="KEYCODE_TV_TERRESTRIAL_DIGITAL" value="236" />
1847         <enum name="KEYCODE_TV_SATELLITE" value="237" />
1848         <enum name="KEYCODE_TV_SATELLITE_BS" value="238" />
1849         <enum name="KEYCODE_TV_SATELLITE_CS" value="239" />
1850         <enum name="KEYCODE_TV_SATELLITE_SERVICE" value="240" />
1851         <enum name="KEYCODE_TV_NETWORK" value="241" />
1852         <enum name="KEYCODE_TV_ANTENNA_CABLE" value="242" />
1853         <enum name="KEYCODE_TV_INPUT_HDMI_1" value="243" />
1854         <enum name="KEYCODE_TV_INPUT_HDMI_2" value="244" />
1855         <enum name="KEYCODE_TV_INPUT_HDMI_3" value="245" />
1856         <enum name="KEYCODE_TV_INPUT_HDMI_4" value="246" />
1857         <enum name="KEYCODE_TV_INPUT_COMPOSITE_1" value="247" />
1858         <enum name="KEYCODE_TV_INPUT_COMPOSITE_2" value="248" />
1859         <enum name="KEYCODE_TV_INPUT_COMPONENT_1" value="249" />
1860         <enum name="KEYCODE_TV_INPUT_COMPONENT_2" value="250" />
1861         <enum name="KEYCODE_TV_INPUT_VGA_1" value="251" />
1862         <enum name="KEYCODE_TV_AUDIO_DESCRIPTION" value="252" />
1863         <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP" value="253" />
1864         <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN" value="254" />
1865         <enum name="KEYCODE_TV_ZOOM_MODE" value="255" />
1866         <enum name="KEYCODE_TV_CONTENTS_MENU" value="256" />
1867         <enum name="KEYCODE_TV_MEDIA_CONTEXT_MENU" value="257" />
1868         <enum name="KEYCODE_TV_TIMER_PROGRAMMING" value="258" />
1869         <enum name="KEYCODE_HELP" value="259" />
1870         <enum name="KEYCODE_NAVIGATE_PREVIOUS" value="260" />
1871         <enum name="KEYCODE_NAVIGATE_NEXT" value="261" />
1872         <enum name="KEYCODE_NAVIGATE_IN" value="262" />
1873         <enum name="KEYCODE_NAVIGATE_OUT" value="263" />
1874         <enum name="KEYCODE_STEM_PRIMARY" value="264" />
1875         <enum name="KEYCODE_STEM_1" value="265" />
1876         <enum name="KEYCODE_STEM_2" value="266" />
1877         <enum name="KEYCODE_STEM_3" value="267" />
1878         <enum name="KEYCODE_DPAD_UP_LEFT" value="268" />
1879         <enum name="KEYCODE_DPAD_DOWN_LEFT" value="269" />
1880         <enum name="KEYCODE_DPAD_UP_RIGHT" value="270" />
1881         <enum name="KEYCODE_DPAD_DOWN_RIGHT" value="271" />
1882         <enum name="KEYCODE_MEDIA_SKIP_FORWARD" value="272" />
1883         <enum name="KEYCODE_MEDIA_SKIP_BACKWARD" value="273" />
1884         <enum name="KEYCODE_MEDIA_STEP_FORWARD" value="274" />
1885         <enum name="KEYCODE_MEDIA_STEP_BACKWARD" value="275" />
1886         <enum name="KEYCODE_SOFT_SLEEP" value="276" />
1887         <enum name="KEYCODE_CUT" value="277" />
1888         <enum name="KEYCODE_COPY" value="278" />
1889         <enum name="KEYCODE_PASTE" value="279" />
1890         <enum name="KEYCODE_SYSTEM_NAVIGATION_UP" value="280" />
1891         <enum name="KEYCODE_SYSTEM_NAVIGATION_DOWN" value="281" />
1892         <enum name="KEYCODE_SYSTEM_NAVIGATION_LEFT" value="282" />
1893         <enum name="KEYCODE_SYSTEM_NAVIGATION_RIGHT" value="283" />
1894     </attr>
1895
1896     <!-- ***************************************************************** -->
1897     <!-- These define collections of attributes that can are with classes. -->
1898     <!-- ***************************************************************** -->
1899
1900     <!-- ========================== -->
1901     <!-- Special attribute classes. -->
1902     <!-- ========================== -->
1903     <eat-comment />
1904
1905     <!-- The set of attributes that describe a Windows's theme. -->
1906     <declare-styleable name="Window">
1907         <attr name="windowBackground" />
1908         <attr name="windowBackgroundFallback" />
1909         <attr name="windowContentOverlay" />
1910         <attr name="windowFrame" />
1911         <attr name="windowNoTitle" />
1912         <attr name="windowFullscreen" />
1913         <attr name="windowOverscan" />
1914         <attr name="windowIsFloating" />
1915         <attr name="windowIsTranslucent" />
1916         <attr name="windowShowWallpaper" />
1917         <attr name="windowAnimationStyle" />
1918         <attr name="windowSoftInputMode" />
1919         <attr name="windowDisablePreview" />
1920         <attr name="windowNoDisplay" />
1921         <attr name="textColor" />
1922         <attr name="backgroundDimEnabled" />
1923         <attr name="backgroundDimAmount" />
1924         <attr name="windowActionBar" />
1925         <attr name="windowActionModeOverlay" />
1926         <attr name="windowActionBarOverlay" />
1927         <attr name="windowEnableSplitTouch" />
1928         <attr name="windowCloseOnTouchOutside" />
1929         <attr name="windowTranslucentStatus" />
1930         <attr name="windowTranslucentNavigation" />
1931         <attr name="windowSwipeToDismiss" />
1932         <attr name="windowContentTransitions" />
1933         <attr name="windowActivityTransitions" />
1934         <attr name="windowContentTransitionManager" />
1935         <attr name="windowActionBarFullscreenDecorLayout" />
1936
1937         <!-- The minimum width the window is allowed to be, along the major
1938              axis of the screen.  That is, when in landscape.  Can be either
1939              an absolute dimension or a fraction of the screen size in that
1940              dimension. -->
1941         <attr name="windowMinWidthMajor" format="dimension|fraction" />
1942         <!-- The minimum width the window is allowed to be, along the minor
1943              axis of the screen.  That is, when in portrait.  Can be either
1944              an absolute dimension or a fraction of the screen size in that
1945              dimension. -->
1946         <attr name="windowMinWidthMinor" format="dimension|fraction" />
1947
1948         <!-- A fixed width for the window along the major axis of the screen,
1949              that is, when in landscape. Can be either an absolute dimension
1950              or a fraction of the screen size in that dimension. -->
1951         <attr name="windowFixedWidthMajor" format="dimension|fraction" />
1952         <!-- A fixed height for the window along the minor axis of the screen,
1953              that is, when in landscape. Can be either an absolute dimension
1954              or a fraction of the screen size in that dimension. -->
1955         <attr name="windowFixedHeightMinor" format="dimension|fraction" />
1956
1957         <!-- A fixed width for the window along the minor axis of the screen,
1958              that is, when in portrait. Can be either an absolute dimension
1959              or a fraction of the screen size in that dimension. -->
1960         <attr name="windowFixedWidthMinor" format="dimension|fraction" />
1961         <!-- A fixed height for the window along the major axis of the screen,
1962              that is, when in portrait. Can be either an absolute dimension
1963              or a fraction of the screen size in that dimension. -->
1964         <attr name="windowFixedHeightMajor" format="dimension|fraction" />
1965         <attr name="windowOutsetBottom" format="dimension" />
1966         <!-- Reference to a Transition XML resource defining the desired Transition
1967              used to move Views into the initial Window's content Scene. Corresponds to
1968              {@link android.view.Window#setEnterTransition(android.transition.Transition)}. -->
1969         <attr name="windowEnterTransition"/>
1970
1971         <!-- Reference to a Transition XML resource defining the desired Transition
1972              used to move Views out of the scene when the Window is
1973              preparing to close. Corresponds to
1974              {@link android.view.Window#setReturnTransition(android.transition.Transition)}. -->
1975         <attr name="windowReturnTransition"/>
1976
1977         <!-- Reference to a Transition XML resource defining the desired Transition
1978              used to move Views out of the Window's content Scene when launching a new Activity.
1979              Corresponds to
1980              {@link android.view.Window#setExitTransition(android.transition.Transition)}. -->
1981         <attr name="windowExitTransition"/>
1982
1983         <!-- Reference to a Transition XML resource defining the desired Transition
1984              used to move Views in to the scene when returning from a previously-started Activity.
1985              Corresponds to
1986              {@link android.view.Window#setReenterTransition(android.transition.Transition)}. -->
1987         <attr name="windowReenterTransition"/>
1988
1989         <!-- Reference to a Transition XML resource defining the desired Transition
1990              used to move shared elements transferred into the Window's initial content Scene.
1991              Corresponds to {@link android.view.Window#setSharedElementEnterTransition(
1992              android.transition.Transition)}. -->
1993         <attr name="windowSharedElementEnterTransition"/>
1994
1995         <!-- Reference to a Transition XML resource defining the desired Transition
1996              used to move shared elements transferred back to a calling Activity.
1997              Corresponds to {@link android.view.Window#setSharedElementReturnTransition(
1998              android.transition.Transition)}. -->
1999         <attr name="windowSharedElementReturnTransition"/>
2000
2001         <!-- Reference to a Transition XML resource defining the desired Transition
2002              used when starting a new Activity to move shared elements prior to transferring
2003              to the called Activity.
2004              Corresponds to {@link android.view.Window#setSharedElementExitTransition(
2005              android.transition.Transition)}. -->
2006         <attr name="windowSharedElementExitTransition"/>
2007
2008         <!-- Reference to a Transition XML resource defining the desired Transition
2009              used for shared elements transferred back to a calling Activity.
2010              Corresponds to {@link android.view.Window#setSharedElementReenterTransition(
2011              android.transition.Transition)}. -->
2012         <attr name="windowSharedElementReenterTransition"/>
2013
2014
2015         <!-- Flag indicating whether this Window's transition should overlap with
2016              the exiting transition of the calling Activity. Corresponds to
2017              {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. -->
2018         <attr name="windowAllowEnterTransitionOverlap"/>
2019
2020         <!-- Flag indicating whether this Window's transition should overlap with
2021              the exiting transition of the called Activity when the called Activity
2022              finishes. Corresponds to
2023              {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. -->
2024         <attr name="windowAllowReturnTransitionOverlap"/>
2025
2026         <!-- Indicates whether or not shared elements should use an overlay
2027              during transitions. The default value is true. -->
2028         <attr name="windowSharedElementsUseOverlay"/>
2029
2030         <!-- Flag indicating whether this Window is responsible for drawing the background for the
2031              system bars. If true and the window is not floating, the system bars are drawn with a
2032              transparent background and the corresponding areas in this window are filled with the
2033              colors specified in {@link android.R.attr#statusBarColor} and
2034              {@link android.R.attr#navigationBarColor}. Corresponds to
2035              {@link android.view.WindowManager.LayoutParams#FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS}. -->
2036         <attr name="windowDrawsSystemBarBackgrounds" format="boolean" />
2037
2038         <!-- The color for the status bar. If the color is not opaque, consider setting
2039              {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and
2040              {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN}.
2041              For this to take effect, the window must be drawing the system bar backgrounds with
2042              {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not
2043              have been requested to be translucent with
2044              {@link android.R.attr#windowTranslucentStatus}.
2045              Corresponds to {@link android.view.Window#setStatusBarColor(int)}. -->
2046         <attr name="statusBarColor" format="color" />
2047
2048         <!-- The color for the navigation bar. If the color is not opaque, consider setting
2049              {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and
2050              {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION}.
2051              For this to take effect, the window must be drawing the system bar backgrounds with
2052              {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not
2053              have been requested to be translucent with
2054              {@link android.R.attr#windowTranslucentNavigation}.
2055              Corresponds to {@link android.view.Window#setNavigationBarColor(int)}. -->
2056         <attr name="navigationBarColor" format="color" />
2057
2058         <!-- The duration, in milliseconds, of the window background fade duration
2059              when transitioning into or away from an Activity when called with an
2060              Activity Transition. Corresponds to
2061              {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. -->
2062         <attr name="windowTransitionBackgroundFadeDuration" />
2063
2064         <!-- Elevation to use for the window. -->
2065         <attr name="windowElevation" format="dimension" />
2066
2067         <!-- Whether to clip window content to the outline of the window background. -->
2068         <attr name="windowClipToOutline" format="boolean" />
2069
2070         <!-- If set, the status bar will be drawn such that it is compatible with a light
2071              status bar background.
2072              <p>For this to take effect, the window must be drawing the system bar backgrounds with
2073              {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not
2074              have been requested to be translucent with
2075              {@link android.R.attr#windowTranslucentStatus}.
2076              Corresponds to setting {@link android.view.View#SYSTEM_UI_FLAG_LIGHT_STATUS_BAR} on
2077              the decor view. -->
2078         <attr name="windowLightStatusBar" format="boolean" />
2079
2080         <!-- Reference to a drawable to be used as the splash screen content of the window. This
2081              drawable will be placed on top of the {@link android.R.attr#windowBackground} with its
2082              bounds inset by the system bars. If the drawable should not be inset by the system
2083              bars, use a fullscreen theme.
2084              <p>
2085              Note that even if no splashscreen content is set on the theme, the system may still
2086              show a splash screen using the other attributes on the theme, like the
2087              {@link android.R.attr#windowBackground}.
2088              -->
2089         <attr name="windowSplashscreenContent" format="reference" />
2090     </declare-styleable>
2091
2092     <!-- The set of attributes that describe a AlertDialog's theme. -->
2093     <declare-styleable name="AlertDialog">
2094         <attr name="fullDark" format="reference|color" />
2095         <attr name="topDark" format="reference|color" />
2096         <attr name="centerDark" format="reference|color" />
2097         <attr name="bottomDark" format="reference|color" />
2098         <attr name="fullBright" format="reference|color" />
2099         <attr name="topBright" format="reference|color" />
2100         <attr name="centerBright" format="reference|color" />
2101         <attr name="bottomBright" format="reference|color" />
2102         <attr name="bottomMedium" format="reference|color" />
2103         <attr name="centerMedium" format="reference|color" />
2104         <attr name="layout" />
2105         <attr name="buttonPanelSideLayout" format="reference" />
2106         <attr name="listLayout" format="reference" />
2107         <attr name="multiChoiceItemLayout" format="reference" />
2108         <attr name="singleChoiceItemLayout" format="reference" />
2109         <attr name="listItemLayout" format="reference" />
2110         <attr name="progressLayout" format="reference" />
2111         <attr name="horizontalProgressLayout" format="reference" />
2112         <!-- @hide Not ready for public use. -->
2113         <attr name="showTitle" format="boolean" />
2114         <!-- @hide Whether fullDark, etc. should use default values if null. -->
2115         <attr name="needsDefaultBackgrounds" format="boolean" />
2116         <!-- @hide Workaround until we replace AlertController with custom layout. -->
2117         <attr name="controllerType">
2118             <!-- The default controller. -->
2119             <enum name="normal" value="0" />
2120             <!-- Controller for micro specific layout. -->
2121             <enum name="micro" value="1" />
2122         </attr>
2123         <!-- @hide Offset when scrolling to a selection. -->
2124         <attr name="selectionScrollOffset" format="dimension" />
2125     </declare-styleable>
2126
2127     <!-- @hide -->
2128     <declare-styleable name="ButtonBarLayout">
2129         <!-- Whether to automatically stack the buttons when there is not
2130              enough space to lay them out side-by-side. -->
2131         <attr name="allowStacking" format="boolean" />
2132     </declare-styleable>
2133
2134     <!-- Fragment animation class attributes. -->
2135     <declare-styleable name="FragmentAnimation">
2136         <attr name="fragmentOpenEnterAnimation" format="reference" />
2137         <attr name="fragmentOpenExitAnimation" format="reference" />
2138         <attr name="fragmentCloseEnterAnimation" format="reference" />
2139         <attr name="fragmentCloseExitAnimation" format="reference" />
2140         <attr name="fragmentFadeEnterAnimation" format="reference" />
2141         <attr name="fragmentFadeExitAnimation" format="reference" />
2142     </declare-styleable>
2143
2144     <!-- Window animation class attributes. -->
2145     <declare-styleable name="WindowAnimation">
2146         <!-- The animation used when a window is being added. -->
2147         <attr name="windowEnterAnimation" format="reference" />
2148         <!-- The animation used when a window is being removed. -->
2149         <attr name="windowExitAnimation" format="reference" />
2150         <!-- The animation used when a window is going from INVISIBLE to VISIBLE. -->
2151         <attr name="windowShowAnimation" format="reference" />
2152         <!-- The animation used when a window is going from VISIBLE to INVISIBLE. -->
2153         <attr name="windowHideAnimation" format="reference" />
2154
2155         <!--  When opening a new activity, this is the animation that is
2156               run on the next activity (which is entering the screen). -->
2157         <attr name="activityOpenEnterAnimation" format="reference" />
2158         <!--  When opening a new activity, this is the animation that is
2159               run on the previous activity (which is exiting the screen). -->
2160         <attr name="activityOpenExitAnimation" format="reference" />
2161         <!--  When closing the current activity, this is the animation that is
2162               run on the next activity (which is entering the screen). -->
2163         <attr name="activityCloseEnterAnimation" format="reference" />
2164         <!--  When closing the current activity, this is the animation that is
2165               run on the current activity (which is exiting the screen). -->
2166         <attr name="activityCloseExitAnimation" format="reference" />
2167         <!--  When opening an activity in a new task, this is the animation that is
2168               run on the activity of the new task (which is entering the screen). -->
2169         <attr name="taskOpenEnterAnimation" format="reference" />
2170         <!--  When opening an activity in a new task, this is the animation that is
2171               run on the activity of the old task (which is exiting the screen). -->
2172         <attr name="taskOpenExitAnimation" format="reference" />
2173         <!--  When opening an activity in a new task using Intent/FLAG_ACTIVITY_LAUNCH_BEHIND,
2174               this is the animation that is run on the activity of the new task (which is
2175               entering the screen and then leaving). -->
2176         <attr name="launchTaskBehindTargetAnimation" format="reference" />
2177         <!--  When opening an activity in a new task using Intent.FLAG_ACTIVITY_LAUNCH_BEHIND,
2178               this is the animation that is run on the activity of the old task (which is
2179               already on the screen and then stays on). -->
2180         <attr name="launchTaskBehindSourceAnimation" format="reference" />
2181         <!--  When closing the last activity of a task, this is the animation that is
2182               run on the activity of the next task (which is entering the screen). -->
2183         <attr name="taskCloseEnterAnimation" format="reference" />
2184         <!--  When opening an activity in a new task, this is the animation that is
2185               run on the activity of the old task (which is exiting the screen). -->
2186         <attr name="taskCloseExitAnimation" format="reference" />
2187         <!--  When bringing an existing task to the foreground, this is the
2188               animation that is run on the top activity of the task being brought
2189               to the foreground (which is entering the screen). -->
2190         <attr name="taskToFrontEnterAnimation" format="reference" />
2191         <!--  When bringing an existing task to the foreground, this is the
2192               animation that is run on the current foreground activity
2193               (which is exiting the screen). -->
2194         <attr name="taskToFrontExitAnimation" format="reference" />
2195         <!--  When sending the current task to the background, this is the
2196               animation that is run on the top activity of the task behind
2197               it (which is entering the screen). -->
2198         <attr name="taskToBackEnterAnimation" format="reference" />
2199         <!--  When sending the current task to the background, this is the
2200               animation that is run on the top activity of the current task
2201               (which is exiting the screen). -->
2202         <attr name="taskToBackExitAnimation" format="reference" />
2203
2204         <!--  When opening a new activity that shows the wallpaper, while
2205               currently not showing the wallpaper, this is the animation that
2206               is run on the new wallpaper activity (which is entering the screen). -->
2207         <attr name="wallpaperOpenEnterAnimation" format="reference" />
2208         <!--  When opening a new activity that shows the wallpaper, while
2209               currently not showing the wallpaper, this is the animation that
2210               is run on the current activity (which is exiting the screen). -->
2211         <attr name="wallpaperOpenExitAnimation" format="reference" />
2212         <!--  When opening a new activity that hides the wallpaper, while
2213               currently showing the wallpaper, this is the animation that
2214               is run on the new activity (which is entering the screen). -->
2215         <attr name="wallpaperCloseEnterAnimation" format="reference" />
2216         <!--  When opening a new activity that hides the wallpaper, while
2217               currently showing the wallpaper, this is the animation that
2218               is run on the old wallpaper activity (which is exiting the screen). -->
2219         <attr name="wallpaperCloseExitAnimation" format="reference" />
2220
2221         <!--  When opening a new activity that is on top of the wallpaper
2222               when the current activity is also on top of the wallpaper,
2223               this is the animation that is run on the new activity
2224               (which is entering the screen).  The wallpaper remains
2225               static behind the animation. -->
2226         <attr name="wallpaperIntraOpenEnterAnimation" format="reference" />
2227         <!--  When opening a new activity that is on top of the wallpaper
2228               when the current activity is also on top of the wallpaper,
2229               this is the animation that is run on the current activity
2230               (which is exiting the screen).  The wallpaper remains
2231               static behind the animation. -->
2232         <attr name="wallpaperIntraOpenExitAnimation" format="reference" />
2233         <!--  When closing a foreround activity that is on top of the wallpaper
2234               when the previous activity is also on top of the wallpaper,
2235               this is the animation that is run on the previous activity
2236               (which is entering the screen).  The wallpaper remains
2237               static behind the animation. -->
2238         <attr name="wallpaperIntraCloseEnterAnimation" format="reference" />
2239         <!--  When closing a foreround activity that is on top of the wallpaper
2240               when the previous activity is also on top of the wallpaper,
2241               this is the animation that is run on the current activity
2242               (which is exiting the screen).  The wallpaper remains
2243               static behind the animation. -->
2244         <attr name="wallpaperIntraCloseExitAnimation" format="reference" />
2245
2246         <!--  When opening a new activity from a RemoteViews, this is the
2247               animation that is run on the next activity (which is entering the
2248               screen). Requires config_overrideRemoteViewsActivityTransition to
2249               be true. -->
2250         <attr name="activityOpenRemoteViewsEnterAnimation" format="reference" />
2251
2252     </declare-styleable>
2253
2254     <!-- ============================= -->
2255     <!-- View package class attributes -->
2256     <!-- ============================= -->
2257     <eat-comment />
2258
2259     <!-- Attributes that can be used with {@link android.view.View} or
2260          any of its subclasses.  Also see {@link #ViewGroup_Layout} for
2261          attributes that are processed by the view's parent. -->
2262     <declare-styleable name="View">
2263         <!-- Supply an identifier name for this view, to later retrieve it
2264              with {@link android.view.View#findViewById View.findViewById()} or
2265              {@link android.app.Activity#findViewById Activity.findViewById()}.
2266              This must be a
2267              resource reference; typically you set this using the
2268              <code>@+</code> syntax to create a new ID resources.
2269              For example: <code>android:id="@+id/my_id"</code> which
2270              allows you to later retrieve the view
2271              with <code>findViewById(R.id.my_id)</code>. -->
2272         <attr name="id" format="reference" />
2273
2274         <!-- Supply a tag for this view containing a String, to be retrieved
2275              later with {@link android.view.View#getTag View.getTag()} or
2276              searched for with {@link android.view.View#findViewWithTag
2277              View.findViewWithTag()}.  It is generally preferable to use
2278              IDs (through the android:id attribute) instead of tags because
2279              they are faster and allow for compile-time type checking. -->
2280         <attr name="tag" format="string" />
2281
2282         <!-- The initial horizontal scroll offset, in pixels.-->
2283         <attr name="scrollX" format="dimension" />
2284
2285         <!-- The initial vertical scroll offset, in pixels. -->
2286         <attr name="scrollY" format="dimension" />
2287
2288         <!-- A drawable to use as the background.  This can be either a reference
2289              to a full drawable resource (such as a PNG image, 9-patch,
2290              XML state list description, etc), or a solid color such as "#ff000000"
2291             (black). -->
2292         <attr name="background" format="reference|color" />
2293
2294         <!-- Sets the padding, in pixels, of all four edges. Padding is defined as
2295              space between the edges of the view and the view's content. This value will take
2296              precedence over any of the edge-specific values (paddingLeft, paddingTop,
2297              paddingRight, paddingBottom, paddingHorizontal and paddingVertical), but will
2298              not override paddingStart or paddingEnd, if set. A view's size
2299              will include its padding. If a {@link android.R.attr#background}
2300              is provided, the padding will initially be set to that (0 if the
2301              drawable does not have padding). Explicitly setting a padding value
2302              will override the corresponding padding found in the background. -->
2303         <attr name="padding" format="dimension" />
2304         <!-- Sets the padding, in pixels, of the left and right edges; see
2305              {@link android.R.attr#padding}. This value will take precedence over
2306              paddingLeft and paddingRight, but not paddingStart or paddingEnd (if set). -->
2307         <attr name="paddingHorizontal" format="dimension" />
2308         <!-- Sets the padding, in pixels, of the top and bottom edges; see
2309              {@link android.R.attr#padding}. This value will take precedence over
2310              paddingTop and paddingBottom, if set. -->
2311         <attr name="paddingVertical" format="dimension" />
2312         <!-- Sets the padding, in pixels, of the left edge; see {@link android.R.attr#padding}. -->
2313         <attr name="paddingLeft" format="dimension" />
2314         <!-- Sets the padding, in pixels, of the top edge; see {@link android.R.attr#padding}. -->
2315         <attr name="paddingTop" format="dimension" />
2316         <!-- Sets the padding, in pixels, of the right edge; see {@link android.R.attr#padding}. -->
2317         <attr name="paddingRight" format="dimension" />
2318         <!-- Sets the padding, in pixels, of the bottom edge; see {@link android.R.attr#padding}. -->
2319         <attr name="paddingBottom" format="dimension" />
2320         <!-- Sets the padding, in pixels, of the start edge; see {@link android.R.attr#padding}. -->
2321         <attr name="paddingStart" format="dimension" />
2322         <!-- Sets the padding, in pixels, of the end edge; see {@link android.R.attr#padding}. -->
2323         <attr name="paddingEnd" format="dimension" />
2324
2325         <!-- Controls whether a view can take focus.  By default, this is "auto" which lets the
2326              framework determine whether a user can move focus to a view.  By setting this attribute
2327              to true the view is allowed to take focus. By setting it to "false" the view will not
2328              take focus. This value does not impact the behavior of
2329              directly calling {@link android.view.View#requestFocus}, which will
2330              always request focus regardless of this view.  It only impacts where
2331              focus navigation will try to move focus. -->
2332         <attr name="focusable" format="boolean|enum">
2333             <enum name="auto" value="0x00000010" />
2334         </attr>
2335
2336         <attr name="__removed3" />
2337
2338         <!-- Describes the content of a view so that a autofill service can fill in the appropriate
2339              data. Multiple hints can be combined in a comma separated list or an array of strings
2340              to mean e.g. emailAddress or postalAddress. -->
2341         <attr name="autofillHints" format="string|reference" />
2342
2343         <!-- Hints the Android System whether the view node associated with this View should be
2344              included in a view structure used for autofill purposes. -->
2345         <attr name="importantForAutofill">
2346             <!-- Let the Android System use its heuristics to determine if the view is important for autofill. -->
2347             <flag name="auto" value="0" />
2348             <!-- Hint the Android System that this view is important for autofill,
2349                   and its children (if any) will be traversed.. -->
2350             <flag name="yes" value="0x1" />
2351             <!-- Hint the Android System that this view is *not* important for autofill,
2352                   but its children (if any) will be traversed.. -->
2353             <flag name="no" value="0x2" />
2354             <!-- Hint the Android System that this view is important for autofill,
2355                  but its children (if any) will not be traversed. -->
2356             <flag name="yesExcludeDescendants" value="0x4" />
2357             <!-- Hint the Android System that this view is *not* important for autofill,
2358                  and its children (if any) will not be traversed. -->
2359             <flag name="noExcludeDescendants" value="0x8" />
2360         </attr>
2361
2362         <!-- Boolean that controls whether a view can take focus while in touch mode.
2363              If this is true for a view, that view can gain focus when clicked on, and can keep
2364              focus if another view is clicked on that doesn't have this attribute set to true. -->
2365         <attr name="focusableInTouchMode" format="boolean" />
2366
2367         <!-- Controls the initial visibility of the view.  -->
2368         <attr name="visibility">
2369             <!-- Visible on screen; the default value. -->
2370             <enum name="visible" value="0" />
2371             <!-- Not displayed, but taken into account during layout (space is left for it). -->
2372             <enum name="invisible" value="1" />
2373             <!-- Completely hidden, as if the view had not been added. -->
2374             <enum name="gone" value="2" />
2375         </attr>
2376
2377         <!-- Boolean internal attribute to adjust view layout based on
2378              system windows such as the status bar.
2379              If true, adjusts the padding of this view to leave space for the system windows.
2380              Will only take effect if this view is in a non-embedded activity. -->
2381         <attr name="fitsSystemWindows" format="boolean" />
2382
2383         <!-- Defines which scrollbars should be displayed on scrolling or not. -->
2384         <attr name="scrollbars">
2385             <!-- No scrollbar is displayed. -->
2386             <flag name="none" value="0x00000000" />
2387             <!-- Displays horizontal scrollbar only. -->
2388             <flag name="horizontal" value="0x00000100" />
2389             <!-- Displays vertical scrollbar only. -->
2390             <flag name="vertical" value="0x00000200" />
2391         </attr>
2392
2393         <!-- Controls the scrollbar style and position. The scrollbars can be overlaid or
2394              inset. When inset, they add to the padding of the view. And the
2395              scrollbars can be drawn inside the padding area or on the edge of
2396              the view. For example, if a view has a background drawable and you
2397              want to draw the scrollbars inside the padding specified by the
2398              drawable, you can use insideOverlay or insideInset. If you want them
2399              to appear at the edge of the view, ignoring the padding, then you can
2400              use outsideOverlay or outsideInset.-->
2401         <attr name="scrollbarStyle">
2402             <!-- Inside the padding and overlaid. -->
2403             <enum name="insideOverlay" value="0x0" />
2404             <!-- Inside the padding and inset. -->
2405             <enum name="insideInset" value="0x01000000" />
2406             <!-- Edge of the view and overlaid. -->
2407             <enum name="outsideOverlay" value="0x02000000" />
2408             <!-- Edge of the view and inset. -->
2409             <enum name="outsideInset" value="0x03000000" />
2410         </attr>
2411
2412         <!-- Set this if the view will serve as a scrolling container, meaning
2413              that it can be resized to shrink its overall window so that there
2414              will be space for an input method.  If not set, the default
2415              value will be true if "scrollbars" has the vertical scrollbar
2416              set, else it will be false. -->
2417         <attr name="isScrollContainer" format="boolean" />
2418
2419           <!-- Defines whether to fade out scrollbars when they are not in use. -->
2420          <attr name="fadeScrollbars" format="boolean" />
2421          <!-- Defines the delay in milliseconds that a scrollbar takes to fade out. -->
2422          <attr name="scrollbarFadeDuration" format="integer" />
2423          <!-- Defines the delay in milliseconds that a scrollbar waits before fade out. -->
2424         <attr name="scrollbarDefaultDelayBeforeFade" format="integer" />
2425         <!-- Sets the width of vertical scrollbars and height of horizontal scrollbars. -->
2426         <attr name="scrollbarSize" format="dimension" />
2427         <!-- Defines the horizontal scrollbar thumb drawable. -->
2428         <attr name="scrollbarThumbHorizontal" format="reference" />
2429         <!-- Defines the vertical scrollbar thumb drawable. -->
2430         <attr name="scrollbarThumbVertical" format="reference" />
2431         <!-- Defines the horizontal scrollbar track drawable. -->
2432         <attr name="scrollbarTrackHorizontal" format="reference" />
2433         <!-- Defines the vertical scrollbar track drawable. -->
2434         <attr name="scrollbarTrackVertical" format="reference" />
2435         <!-- Defines whether the horizontal scrollbar track should always be drawn. -->
2436         <attr name="scrollbarAlwaysDrawHorizontalTrack" format="boolean" />
2437         <!-- Defines whether the vertical scrollbar track should always be drawn. -->
2438         <attr name="scrollbarAlwaysDrawVerticalTrack" format="boolean" />
2439
2440         <!-- This attribute is ignored in API level 14
2441              ({@link android.os.Build.VERSION_CODES#ICE_CREAM_SANDWICH}) and higher.
2442              Using fading edges may introduce noticeable performance
2443              degradations and should be used only when required by the application's
2444              visual design. To request fading edges with API level 14 and above,
2445              use the <code>android:requiresFadingEdge</code> attribute instead. -->
2446         <attr name="fadingEdge">
2447             <!-- No edge is faded. -->
2448             <flag name="none" value="0x00000000" />
2449             <!-- Fades horizontal edges only. -->
2450             <flag name="horizontal" value="0x00001000" />
2451             <!-- Fades vertical edges only. -->
2452             <flag name="vertical" value="0x00002000" />
2453         </attr>
2454         <!-- Defines which edges should be faded on scrolling. -->
2455         <attr name="requiresFadingEdge">
2456             <!-- No edge is faded. -->
2457             <flag name="none" value="0x00000000" />
2458             <!-- Fades horizontal edges only. -->
2459             <flag name="horizontal" value="0x00001000" />
2460             <!-- Fades vertical edges only. -->
2461             <flag name="vertical" value="0x00002000" />
2462         </attr>
2463         <!-- Defines the length of the fading edges. -->
2464         <attr name="fadingEdgeLength" format="dimension" />
2465
2466         <!-- Defines the next view to give focus to when the next focus is
2467              {@link android.view.View#FOCUS_LEFT}.
2468
2469              If the reference refers to a view that does not exist or is part
2470              of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2471              will result when the reference is accessed.-->
2472         <attr name="nextFocusLeft" format="reference"/>
2473
2474         <!-- Defines the next view to give focus to when the next focus is
2475              {@link android.view.View#FOCUS_RIGHT}
2476
2477              If the reference refers to a view that does not exist or is part
2478              of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2479              will result when the reference is accessed.-->
2480         <attr name="nextFocusRight" format="reference"/>
2481
2482         <!-- Defines the next view to give focus to when the next focus is
2483              {@link android.view.View#FOCUS_UP}
2484
2485              If the reference refers to a view that does not exist or is part
2486              of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2487              will result when the reference is accessed.-->
2488         <attr name="nextFocusUp" format="reference"/>
2489
2490         <!-- Defines the next view to give focus to when the next focus is
2491              {@link android.view.View#FOCUS_DOWN}
2492
2493              If the reference refers to a view that does not exist or is part
2494              of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2495              will result when the reference is accessed.-->
2496         <attr name="nextFocusDown" format="reference"/>
2497
2498         <!-- Defines the next view to give focus to when the next focus is
2499              {@link android.view.View#FOCUS_FORWARD}
2500
2501              If the reference refers to a view that does not exist or is part
2502              of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2503              will result when the reference is accessed.-->
2504         <attr name="nextFocusForward" format="reference"/>
2505
2506         <!-- Defines whether this view reacts to click events. -->
2507         <attr name="clickable" format="boolean" />
2508
2509         <!-- Defines whether this view reacts to long click events. -->
2510         <attr name="longClickable" format="boolean" />
2511
2512         <!--  Defines whether this view reacts to context click events. -->
2513         <attr name="contextClickable" format="boolean" />
2514
2515         <!-- If false, no state will be saved for this view when it is being
2516              frozen. The default is true, allowing the view to be saved
2517              (however it also must have an ID assigned to it for its
2518              state to be saved).  Setting this to false only disables the
2519              state for this view, not for its children which may still
2520              be saved. -->
2521         <attr name="saveEnabled" format="boolean" />
2522
2523         <!-- Specifies whether to filter touches when the view's window is obscured by
2524              another visible window.  When set to true, the view will not receive touches
2525              whenever a toast, dialog or other window appears above the view's window.
2526              Refer to the {@link android.view.View} security documentation for more details. -->
2527         <attr name="filterTouchesWhenObscured" format="boolean" />
2528
2529         <!-- Defines the quality of translucent drawing caches. This property is used
2530              only when the drawing cache is enabled and translucent. The default value is auto. -->
2531         <attr name="drawingCacheQuality">
2532             <!-- Lets the framework decide what quality level should be used
2533                  for the drawing cache. -->
2534             <enum name="auto" value="0" />
2535             <!-- Low quality. When set to low quality, the drawing cache uses a lower color
2536                  depth, thus losing precision in rendering gradients, but uses less memory. -->
2537             <enum name="low" value="1" />
2538             <!-- High quality. When set to high quality, the drawing cache uses a higher
2539                  color depth but uses more memory. -->
2540             <enum name="high" value="2" />
2541         </attr>
2542
2543         <!-- Controls whether the view's window should keep the screen on
2544              while visible. -->
2545         <attr name="keepScreenOn" format="boolean" />
2546
2547         <!-- When this attribute is set to true, the view gets its drawable state
2548              (focused, pressed, etc.) from its direct parent rather than from itself. -->
2549         <attr name="duplicateParentState" format="boolean" />
2550
2551         <!-- Defines the minimum height of the view. It is not guaranteed
2552              the view will be able to achieve this minimum height (for example,
2553              if its parent layout constrains it with less available height). -->
2554         <attr name="minHeight" />
2555
2556         <!-- Defines the minimum width of the view. It is not guaranteed
2557              the view will be able to achieve this minimum width (for example,
2558              if its parent layout constrains it with less available width). -->
2559         <attr name="minWidth" />
2560
2561         <!-- Boolean that controls whether a view should have sound effects
2562              enabled for events such as clicking and touching. -->
2563         <attr name="soundEffectsEnabled" format="boolean" />
2564
2565         <!-- Boolean that controls whether a view should have haptic feedback
2566              enabled for events such as long presses. -->
2567         <attr name="hapticFeedbackEnabled" format="boolean" />
2568
2569         <!-- Defines text that briefly describes content of the view. This property is used
2570              primarily for accessibility. Since some views do not have textual
2571              representation this attribute can be used for providing such. -->
2572         <attr name="contentDescription" format="string" localization="suggested" />
2573
2574         <!-- Sets the id of a view before which this one is visited in accessibility traversal.
2575              A screen-reader must visit the content of this view before the content of the one
2576              it precedes.
2577              {@see android.view.View#setAccessibilityTraversalBefore(int)} -->
2578         <attr name="accessibilityTraversalBefore" format="integer" />
2579
2580         <!-- Sets the id of a view after which this one is visited in accessibility traversal.
2581              A screen-reader must visit the content of the other view before the content of
2582              this one.
2583              {@see android.view.View#setAccessibilityTraversalAfter(int)} -->
2584         <attr name="accessibilityTraversalAfter" format="integer" />
2585
2586         <!-- Name of the method in this View's context to invoke when the view is
2587              clicked. This name must correspond to a public method that takes
2588              exactly one parameter of type View. For instance, if you specify
2589              <code>android:onClick="sayHello"</code>, you must declare a
2590              <code>public void sayHello(View v)</code> method of your context
2591              (typically, your Activity). -->
2592         <attr name="onClick" format="string" />
2593
2594         <!-- Defines over-scrolling behavior. This property is used only if the
2595              View is scrollable. Over-scrolling is the ability for the user to
2596              receive feedback when attempting to scroll beyond meaningful content. -->
2597         <attr name="overScrollMode">
2598             <!-- Always show over-scroll effects, even if the content fits entirely
2599                  within the available space. -->
2600             <enum name="always" value="0" />
2601             <!-- Only show over-scroll effects if the content is large
2602                  enough to meaningfully scroll. -->
2603             <enum name="ifContentScrolls" value="1" />
2604             <!-- Never show over-scroll effects. -->
2605             <enum name="never" value="2" />
2606         </attr>
2607
2608         <!-- alpha property of the view, as a value between 0 (completely transparent) and 1
2609              (completely opaque). -->
2610         <attr name="alpha" format="float" />
2611
2612         <!-- base z depth of the view. -->
2613         <attr name="elevation" format="dimension" />
2614
2615         <!-- translation in x of the view. This value is added post-layout to the left
2616              property of the view, which is set by its layout. -->
2617         <attr name="translationX" format="dimension" />
2618
2619         <!-- translation in y of the view. This value is added post-layout to the top
2620              property of the view, which is set by its layout. -->
2621         <attr name="translationY" format="dimension" />
2622
2623         <!-- translation in z of the view. This value is added to its elevation. -->
2624         <attr name="translationZ" format="dimension" />
2625
2626         <!-- x location of the pivot point around which the view will rotate and scale.
2627              This xml attribute sets the pivotX property of the View. -->
2628         <attr name="transformPivotX" format="dimension" />
2629
2630         <!-- y location of the pivot point around which the view will rotate and scale.
2631              This xml attribute sets the pivotY property of the View. -->
2632         <attr name="transformPivotY" format="dimension" />
2633
2634         <!-- rotation of the view, in degrees. -->
2635         <attr name="rotation" format="float" />
2636
2637         <!-- rotation of the view around the x axis, in degrees. -->
2638         <attr name="rotationX" format="float" />
2639
2640         <!-- rotation of the view around the y axis, in degrees. -->
2641         <attr name="rotationY" format="float" />
2642
2643         <!-- scale of the view in the x direction. -->
2644         <attr name="scaleX" format="float" />
2645
2646         <!-- scale of the view in the y direction. -->
2647         <attr name="scaleY" format="float" />
2648
2649         <!-- Determines which side the vertical scroll bar should be placed on. -->
2650         <attr name="verticalScrollbarPosition">
2651             <!-- Place the scroll bar wherever the system default determines. -->
2652             <enum name="defaultPosition" value="0" />
2653             <!-- Place the scroll bar on the left. -->
2654             <enum name="left" value="1" />
2655             <!-- Place the scroll bar on the right. -->
2656             <enum name="right" value="2" />
2657         </attr>
2658
2659         <!-- Specifies the type of layer backing this view. The default value is none.
2660              Refer to {@link android.view.View#setLayerType(int, android.graphics.Paint)}
2661              for more information.-->
2662         <attr name="layerType">
2663             <!-- Don't use a layer. -->
2664             <enum name="none" value="0" />
2665             <!-- Use a software layer. Refer to
2666                  {@link android.view.View#setLayerType(int, android.graphics.Paint)} for
2667                  more information. -->
2668             <enum name="software" value="1" />
2669             <!-- Use a hardware layer. Refer to
2670                  {@link android.view.View#setLayerType(int, android.graphics.Paint)} for
2671                  more information. -->
2672             <enum name="hardware" value="2" />
2673         </attr>
2674
2675         <!-- Defines the direction of layout drawing. This typically is associated with writing
2676              direction of the language script used. The possible values are "ltr" for Left-to-Right,
2677              "rtl" for Right-to-Left, "locale", and "inherit" from parent view. If there is nothing
2678              to inherit, "locale" is used. "locale" falls back to "en-US". "ltr" is the direction
2679              used in "en-US". The default for this attribute is "inherit". -->
2680         <attr name="layoutDirection">
2681             <!-- Left-to-Right. -->
2682             <enum name="ltr" value="0" />
2683             <!-- Right-to-Left. -->
2684             <enum name="rtl" value="1" />
2685             <!-- Inherit from parent. -->
2686             <enum name="inherit" value="2" />
2687             <!-- Locale. -->
2688             <enum name="locale" value="3" />
2689         </attr>
2690
2691         <!-- Defines the direction of the text. -->
2692          <attr name="textDirection" format="integer">
2693             <!-- Default. -->
2694             <enum name="inherit" value="0" />
2695             <!-- Default for the root view. The first strong directional character determines the
2696                  paragraph direction.  If there is no strong directional character, the paragraph
2697                  direction is the view’s resolved layout direction. -->
2698             <enum name="firstStrong" value="1" />
2699             <!-- The paragraph direction is RTL if it contains any strong RTL character, otherwise
2700                  it is LTR if it contains any strong LTR characters.  If there are neither, the
2701                  paragraph direction is the view’s resolved layout direction. -->
2702             <enum name="anyRtl" value="2" />
2703             <!-- The paragraph direction is left to right. -->
2704             <enum name="ltr" value="3" />
2705             <!-- The paragraph direction is right to left. -->
2706             <enum name="rtl" value="4" />
2707             <!-- The paragraph direction is coming from the system Locale. -->
2708             <enum name="locale" value="5" />
2709             <!-- The first strong directional character determines the paragraph direction. If
2710                  there is no strong directional character, the paragraph direction is LTR. -->
2711             <enum name="firstStrongLtr" value="6" />
2712             <!-- The first strong directional character determines the paragraph direction. If
2713                  there is no strong directional character, the paragraph direction is RTL. -->
2714             <enum name="firstStrongRtl" value="7" />
2715         </attr>
2716
2717         <!-- Defines the alignment of the text. -->
2718         <attr name="textAlignment" format="integer">
2719             <!-- Default. -->
2720             <enum name="inherit" value="0" />
2721             <!-- Default for the root view. The gravity determines the alignment, ALIGN_NORMAL,
2722                 ALIGN_CENTER, or ALIGN_OPPOSITE, which are relative to each paragraph’s
2723                 text direction. -->
2724             <enum name="gravity" value="1" />
2725             <!-- Align to the start of the paragraph, for example: ALIGN_NORMAL. -->
2726             <enum name="textStart" value="2" />
2727             <!-- Align to the end of the paragraph, for example: ALIGN_OPPOSITE. -->
2728             <enum name="textEnd" value="3" />
2729             <!-- Center the paragraph, for example: ALIGN_CENTER. -->
2730             <enum name="center" value="4" />
2731             <!-- Align to the start of the view, which is ALIGN_LEFT if the view’s resolved
2732                 layoutDirection is LTR, and ALIGN_RIGHT otherwise. -->
2733             <enum name="viewStart" value="5" />
2734             <!-- Align to the end of the view, which is ALIGN_RIGHT if the view’s resolved
2735                 layoutDirection is LTR, and ALIGN_LEFT otherwise. -->
2736             <enum name="viewEnd" value="6" />
2737         </attr>
2738
2739         <!-- Describes whether or not this view is important for accessibility.
2740              If it is important, the view fires accessibility events and is
2741              reported to accessibility services that query the screen. Note:
2742              While not recommended, an accessibility service may decide to
2743              ignore this attribute and operate on all views in the view tree. -->
2744         <attr name="importantForAccessibility" format="integer">
2745             <!-- The system determines whether the view is important for accessibility - default
2746                  (recommended). -->
2747             <enum name="auto" value="0" />
2748             <!-- The view is important for accessibility. -->
2749             <enum name="yes" value="1" />
2750             <!-- The view is not important for accessibility. -->
2751             <enum name="no" value="2" />
2752             <!-- The view is not important for accessibility, nor are any of its descendant
2753                  views. -->
2754             <enum name="noHideDescendants" value="4" />
2755         </attr>
2756
2757         <!-- Indicates to accessibility services whether the user should be notified when
2758              this view changes. -->
2759         <attr name="accessibilityLiveRegion" format="integer">
2760             <!-- Accessibility services should not announce changes to this view. -->
2761             <enum name="none" value="0" />
2762             <!-- Accessibility services should announce changes to this view. -->
2763             <enum name="polite" value="1" />
2764             <!-- Accessibility services should interrupt ongoing speech to immediately
2765                  announce changes to this view. -->
2766             <enum name="assertive" value="2" />
2767         </attr>
2768
2769         <!-- Specifies the id of a view for which this view serves as a label for
2770              accessibility purposes. For example, a TextView before an EditText in
2771              the UI usually specifies what infomation is contained in the EditText.
2772              Hence, the TextView is a label for the EditText. -->
2773         <attr name="labelFor" format="reference" />
2774
2775         <!-- Specifies a theme override for a view. When a theme override is set, the
2776              view will be inflated using a {@link android.content.Context} themed with
2777              the specified resource. During XML inflation, any child views under the
2778              view with a theme override will inherit the themed context. -->
2779         <attr name="theme" />
2780
2781         <!-- Names a View such that it can be identified for Transitions. Names should be
2782              unique in the View hierarchy. -->
2783         <attr name="transitionName" format="string" />
2784
2785         <!-- Specifies that this view should permit nested scrolling within a compatible
2786              ancestor view. -->
2787         <attr name="nestedScrollingEnabled" format="boolean" />
2788
2789         <!-- Sets the state-based animator for the View. -->
2790         <attr name="stateListAnimator" format="reference"/>
2791
2792         <!-- Tint to apply to the background. -->
2793         <attr name="backgroundTint" format="color" />
2794
2795         <!-- Blending mode used to apply the background tint. -->
2796         <attr name="backgroundTintMode">
2797             <!-- The tint is drawn on top of the drawable.
2798                  [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
2799             <enum name="src_over" value="3" />
2800             <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
2801                  color channels are thrown out. [Sa * Da, Sc * Da] -->
2802             <enum name="src_in" value="5" />
2803             <!-- The tint is drawn above the drawable, but with the drawable’s alpha
2804                  channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
2805             <enum name="src_atop" value="9" />
2806             <!-- Multiplies the color and alpha channels of the drawable with those of
2807                  the tint. [Sa * Da, Sc * Dc] -->
2808             <enum name="multiply" value="14" />
2809             <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
2810             <enum name="screen" value="15" />
2811             <!-- Combines the tint and drawable color and alpha channels, clamping the
2812                  result to valid color values. Saturate(S + D) -->
2813             <enum name="add" value="16" />
2814         </attr>
2815
2816         <!-- ViewOutlineProvider used to determine the View's Outline. -->
2817         <attr name="outlineProvider">
2818             <!-- Default, background drawable-driven outline. -->
2819             <enum name="background" value="0" />
2820             <!-- No outline provider. -->
2821             <enum name="none" value="1" />
2822             <!-- Generates an opaque outline for the bounds of the view. -->
2823             <enum name="bounds" value="2" />
2824             <!-- Generates an opaque outline for the padded bounds of the view. -->
2825             <enum name="paddedBounds" value="3" />
2826         </attr>
2827
2828         <!-- Defines the drawable to draw over the content. This can be used as an overlay.
2829              The foreground drawable participates in the padding of the content if the gravity
2830              is set to fill. -->
2831         <attr name="foreground" format="reference|color" />
2832         <!-- Defines the gravity to apply to the foreground drawable. The gravity defaults
2833              to fill. -->
2834         <attr name="foregroundGravity">
2835             <!-- Push object to the top of its container, not changing its size. -->
2836             <flag name="top" value="0x30" />
2837             <!-- Push object to the bottom of its container, not changing its size. -->
2838             <flag name="bottom" value="0x50" />
2839             <!-- Push object to the left of its container, not changing its size. -->
2840             <flag name="left" value="0x03" />
2841             <!-- Push object to the right of its container, not changing its size. -->
2842             <flag name="right" value="0x05" />
2843             <!-- Place object in the vertical center of its container, not changing its size. -->
2844             <flag name="center_vertical" value="0x10" />
2845             <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
2846             <flag name="fill_vertical" value="0x70" />
2847             <!-- Place object in the horizontal center of its container, not changing its size. -->
2848             <flag name="center_horizontal" value="0x01" />
2849             <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
2850             <flag name="fill_horizontal" value="0x07" />
2851             <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
2852             <flag name="center" value="0x11" />
2853             <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
2854             <flag name="fill" value="0x77" />
2855             <!-- Additional option that can be set to have the top and/or bottom edges of
2856                  the child clipped to its container's bounds.
2857                  The clip will be based on the vertical gravity: a top gravity will clip the bottom
2858                  edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
2859             <flag name="clip_vertical" value="0x80" />
2860             <!-- Additional option that can be set to have the left and/or right edges of
2861                  the child clipped to its container's bounds.
2862                  The clip will be based on the horizontal gravity: a left gravity will clip the right
2863                  edge, a right gravity will clip the left edge, and neither will clip both edges. -->
2864             <flag name="clip_horizontal" value="0x08" />
2865         </attr>
2866         <!-- Defines whether the foreground drawable should be drawn inside the padding.
2867              This property is turned on by default. -->
2868         <attr name="foregroundInsidePadding" format="boolean" />
2869         <!-- Tint to apply to the foreground. -->
2870         <attr name="foregroundTint" format="color" />
2871         <!-- Blending mode used to apply the foreground tint. -->
2872         <attr name="foregroundTintMode">
2873             <!-- The tint is drawn on top of the drawable.
2874                  [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
2875             <enum name="src_over" value="3" />
2876             <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
2877                  color channels are thrown out. [Sa * Da, Sc * Da] -->
2878             <enum name="src_in" value="5" />
2879             <!-- The tint is drawn above the drawable, but with the drawable’s alpha
2880                  channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
2881             <enum name="src_atop" value="9" />
2882             <!-- Multiplies the color and alpha channels of the drawable with those of
2883                  the tint. [Sa * Da, Sc * Dc] -->
2884             <enum name="multiply" value="14" />
2885             <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
2886             <enum name="screen" value="15" />
2887             <!-- Combines the tint and drawable color and alpha channels, clamping the
2888                  result to valid color values. Saturate(S + D) -->
2889             <enum name="add" value="16" />
2890         </attr>
2891
2892         <!-- Defines which scroll indicators should be displayed when the view
2893              can be scrolled. Multiple values may be combined using logical OR,
2894              for example "top|bottom". -->
2895         <attr name="scrollIndicators">
2896             <!-- No scroll indicators are displayed. -->
2897             <flag name="none" value="0x00" />
2898             <!-- Displays top scroll indicator when view can be scrolled up. -->
2899             <flag name="top" value="0x01" />
2900             <!-- Displays bottom scroll indicator when vew can be scrolled down. -->
2901             <flag name="bottom" value="0x02" />
2902             <!-- Displays left scroll indicator when vew can be scrolled left. -->
2903             <flag name="left" value="0x04" />
2904             <!-- Displays right scroll indicator when vew can be scrolled right. -->
2905             <flag name="right" value="0x08" />
2906             <!-- Displays right scroll indicator when vew can be scrolled in the
2907                  start direction. -->
2908             <flag name="start" value="0x10" />
2909             <!-- Displays right scroll indicator when vew can be scrolled in the
2910                  end direction. -->
2911             <flag name="end" value="0x20" />
2912         </attr>
2913
2914         <attr name="pointerIcon">
2915             <!-- Null icon, pointer becomes invisible. -->
2916             <enum name="none" value="0" />
2917             <!-- The default icon of arrow pointer. -->
2918             <enum name="arrow" value="1000" />
2919             <!-- Pointer icon indicating context-menu will appear. -->
2920             <enum name="context_menu" value="1001" />
2921             <!-- Pointer icon of a hand with the index finger. -->
2922             <enum name="hand" value="1002" />
2923             <!-- Pointer icon indicating help. -->
2924             <enum name="help" value="1003" />
2925             <!-- Pointer icon indicating something is going on and waiting. -->
2926             <enum name="wait" value="1004" />
2927             <!-- Pointer icon for cell and grid. -->
2928             <enum name="cell" value="1006" />
2929             <!-- Pointer icon of crosshair, indicating to spot a location. -->
2930             <enum name="crosshair" value="1007" />
2931             <!-- Pointer icon of I-beam, usually for text. -->
2932             <enum name="text" value="1008" />
2933             <!-- Pointer icon of I-beam with 90-degree rotated, for vertical text. -->
2934             <enum name="vertical_text" value="1009" />
2935             <!-- Pointer icon of 'alias', indicating an alias of/shortcut to something is to be
2936                  created. -->
2937             <enum name="alias" value="1010" />
2938             <!-- Pointer icon of 'copy', used for drag/drop. -->
2939             <enum name="copy" value="1011" />
2940             <!-- Pointer icon of 'no-drop', indicating the drop will not be accepted at the
2941                  current location. -->
2942             <enum name="no_drop" value="1012" />
2943             <!-- Pointer icon of four-way arrows, indicating scrolling all direction. -->
2944             <enum name="all_scroll" value="1013" />
2945             <!-- Pointer icon of horizontal double arrow, indicating horizontal resize. -->
2946             <enum name="horizontal_double_arrow" value="1014" />
2947             <!-- Pointer icon of vertical double arrow, indicating vertical resize. -->
2948             <enum name="vertical_double_arrow" value="1015" />
2949             <!-- Pointer icon of diagonal double arrow, starting from top-right to bottom-left.
2950                  Indicating freeform resize. -->
2951             <enum name="top_right_diagonal_double_arrow" value="1016" />
2952             <!-- Pointer icon of diagonal double arrow, starting from top-left to bottom-right.
2953                  Indicating freeform resize. -->
2954             <enum name="top_left_diagonal_double_arrow" value="1017" />
2955             <!-- Pointer icon indicating zoom-in. -->
2956             <enum name="zoom_in" value="1018" />
2957             <!-- Pointer icon indicating zoom-out. -->
2958             <enum name="zoom_out" value="1019" />
2959             <!-- Pointer icon of a hand sign to grab something. -->
2960             <enum name="grab" value="1020" />
2961             <!-- Pointer icon of a hand sign while grabbing something. -->
2962             <enum name="grabbing" value="1021" />
2963         </attr>
2964
2965         <!-- Whether this view has elements that may overlap when drawn. See
2966              {@link android.view.View#forceHasOverlappingRendering(boolean)}. -->
2967         <attr name="forceHasOverlappingRendering" format="boolean" />
2968
2969         <!-- Defines text displayed in a small popup window on hover or long press. -->
2970         <attr name="tooltipText" format="string" localization="suggested" />
2971
2972         <!-- Whether this view is a root of a keyboard navigation cluster.
2973              See {@link android.view.View#setKeyboardNavigationCluster(boolean)}. -->
2974         <attr name="keyboardNavigationCluster" format="boolean" />
2975
2976         <attr name="__removed0" format="boolean" />
2977
2978         <!-- Defines the next keyboard navigation cluster.
2979
2980              If the reference refers to a view that does not exist or is part
2981              of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2982              will result when the reference is accessed.-->
2983         <attr name="nextClusterForward" format="reference"/>
2984
2985         <attr name="__removed1" format="reference"/>
2986
2987         <!-- Whether this view is a default-focus view.
2988              Only one view per keyboard navigation cluster can have this attribute set to true.
2989              See {@link android.view.View#setFocusedByDefault(boolean)}. -->
2990         <attr name="focusedByDefault" format="boolean" />
2991
2992         <!-- Whether this View should use a default focus highlight when it gets focused but
2993              doesn't have {@link android.R.attr#state_focused} defined in its background. -->
2994         <attr name="defaultFocusHighlightEnabled" format="boolean" />
2995     </declare-styleable>
2996
2997     <!-- Attributes that can be assigned to a tag for a particular View. -->
2998     <declare-styleable name="ViewTag">
2999         <!-- Specifies the key identifying a tag. This must be a resource reference. -->
3000         <attr name="id" />
3001         <!-- Specifies the value with which to tag the view. -->
3002         <attr name="value" />
3003     </declare-styleable>
3004
3005     <!-- Attributes that can be assigned to an &lt;include&gt; tag.
3006          @hide -->
3007     <declare-styleable name="Include">
3008         <attr name="id" />
3009         <attr name="visibility" />
3010     </declare-styleable>
3011
3012     <!-- Attributes that can be used with a {@link android.view.ViewGroup} or any
3013          of its subclasses.  Also see {@link #ViewGroup_Layout} for
3014          attributes that this class processes in its children. -->
3015     <declare-styleable name="ViewGroup">
3016         <!-- Defines whether changes in layout (caused by adding and removing items) should
3017              cause a LayoutTransition to run. When this flag is set to true, a default
3018              LayoutTransition object will be set on the ViewGroup container and default
3019              animations will run when these layout changes occur.-->
3020         <attr name="animateLayoutChanges" format="boolean" />
3021         <!-- Defines whether a child is limited to draw inside of its bounds or not.
3022              This is useful with animations that scale the size of the children to more
3023              than 100% for instance. In such a case, this property should be set to false
3024              to allow the children to draw outside of their bounds. The default value of
3025              this property is true. -->
3026         <attr name="clipChildren" format="boolean" />
3027         <!-- Defines whether the ViewGroup will clip its children and resize (but not clip) any
3028              EdgeEffect to its padding, if padding is not zero. This property is set to true by
3029              default. -->
3030         <attr name="clipToPadding" format="boolean" />
3031         <!-- Defines the layout animation to use the first time the ViewGroup is laid out.
3032              Layout animations can also be started manually after the first layout. -->
3033         <attr name="layoutAnimation" format="reference" />
3034         <!-- Defines whether layout animations should create a drawing cache for their
3035              children. Enabling the animation cache consumes more memory and requires
3036              a longer initialization but provides better performance. The animation
3037              cache is enabled by default. -->
3038         <attr name="animationCache" format="boolean" />
3039         <!-- Defines the persistence of the drawing cache. The drawing cache might be
3040              enabled by a ViewGroup for all its children in specific situations (for
3041              instance during a scrolling.) This property lets you persist the cache
3042              in memory after its initial usage. Persisting the cache consumes more
3043              memory but may prevent frequent garbage collection is the cache is created
3044              over and over again. By default the persistence is set to scrolling. -->
3045         <attr name="persistentDrawingCache">
3046             <!-- The drawing cache is not persisted after use. -->
3047             <flag name="none" value="0x0" />
3048             <!-- The drawing cache is persisted after a layout animation. -->
3049             <flag name="animation" value="0x1" />
3050             <!-- The drawing cache is persisted after a scroll. -->
3051             <flag name="scrolling" value="0x2" />
3052             <!-- The drawing cache is always persisted. -->
3053             <flag name="all" value="0x3" />
3054         </attr>
3055         <!-- Defines whether the ViewGroup should always draw its children using their
3056              drawing cache or not. The default value is true. -->
3057         <attr name="alwaysDrawnWithCache" format="boolean" />
3058         <!-- Sets whether this ViewGroup's drawable states also include
3059              its children's drawable states.  This is used, for example, to
3060              make a group appear to be focused when its child EditText or button
3061              is focused. -->
3062         <attr name="addStatesFromChildren" format="boolean" />
3063
3064         <!-- Defines the relationship between the ViewGroup and its descendants
3065              when looking for a View to take focus. -->
3066         <attr name="descendantFocusability">
3067             <!-- The ViewGroup will get focus before any of its descendants. -->
3068             <enum name="beforeDescendants" value="0" />
3069             <!-- The ViewGroup will get focus only if none of its descendants want it. -->
3070             <enum name="afterDescendants" value="1" />
3071             <!-- The ViewGroup will block its descendants from receiving focus. -->
3072             <enum name="blocksDescendants" value="2" />
3073         </attr>
3074
3075         <!-- Set to true if this ViewGroup blocks focus in the presence of a touchscreen. -->
3076         <attr name="touchscreenBlocksFocus" format="boolean" />
3077
3078         <!-- Sets whether this ViewGroup should split MotionEvents
3079              to separate child views during touch event dispatch.
3080              If false (default), touch events will be dispatched to
3081              the child view where the first pointer went down until
3082              the last pointer goes up.
3083              If true, touch events may be dispatched to multiple children.
3084              MotionEvents for each pointer will be dispatched to the child
3085              view where the initial ACTION_DOWN event happened.
3086              See {@link android.view.ViewGroup#setMotionEventSplittingEnabled(boolean)}
3087              for more information. -->
3088         <attr name="splitMotionEvents" format="boolean" />
3089
3090         <!-- Defines the layout mode of this ViewGroup. -->
3091         <attr name="layoutMode">
3092             <!-- Use the children's clip bounds when laying out this container. -->
3093             <enum name="clipBounds" value="0" />
3094             <!-- Use the children's optical bounds when laying out this container. -->
3095             <enum name="opticalBounds" value="1" />
3096         </attr>
3097
3098         <!-- Sets whether or not this ViewGroup should be treated as a single entity
3099              when doing an Activity transition. Typically, the elements inside a
3100              ViewGroup are each transitioned from the scene individually. The default
3101              for a ViewGroup is false unless it has a background. See
3102              {@link android.app.ActivityOptions#makeSceneTransitionAnimation(android.app.Activity,
3103              android.view.View, String)} for more information. Corresponds to
3104              {@link android.view.ViewGroup#setTransitionGroup(boolean)}.-->
3105         <attr name="transitionGroup" format="boolean" />
3106     </declare-styleable>
3107
3108     <!-- A {@link android.view.ViewStub} lets you lazily include other XML layouts
3109          inside your application at runtime. -->
3110     <declare-styleable name="ViewStub">
3111         <!-- Supply an identifier name for this view. -->
3112         <attr name="id" />
3113         <!-- Supply an identifier for the layout resource to inflate when the ViewStub
3114              becomes visible or when forced to do so. The layout resource must be a
3115              valid reference to a layout. -->
3116         <attr name="layout" format="reference" />
3117         <!-- Overrides the id of the inflated View with this value. -->
3118         <attr name="inflatedId" format="reference" />
3119     </declare-styleable>
3120
3121     <!-- ===================================== -->
3122     <!-- View package parent layout attributes -->
3123     <!-- ===================================== -->
3124     <eat-comment />
3125
3126     <!-- This is the basic set of layout attributes that are common to all
3127          layout managers.  These attributes are specified with the rest of
3128          a view's normal attributes (such as {@link android.R.attr#background},
3129          but will be parsed by the view's parent and ignored by the child.
3130         <p>The values defined here correspond to the base layout attribute
3131         class {@link android.view.ViewGroup.LayoutParams}. -->
3132     <declare-styleable name="ViewGroup_Layout">
3133         <!-- Specifies the basic width of the view.  This is a required attribute
3134              for any view inside of a containing layout manager.  Its value may
3135              be a dimension (such as "12dip") for a constant width or one of
3136              the special constants. -->
3137         <attr name="layout_width" format="dimension">
3138             <!-- The view should be as big as its parent (minus padding).
3139                  This constant is deprecated starting from API Level 8 and
3140                  is replaced by {@code match_parent}. -->
3141             <enum name="fill_parent" value="-1" />
3142             <!-- The view should be as big as its parent (minus padding).
3143                  Introduced in API Level 8. -->
3144             <enum name="match_parent" value="-1" />
3145             <!-- The view should be only big enough to enclose its content (plus padding). -->
3146             <enum name="wrap_content" value="-2" />
3147         </attr>
3148
3149         <!-- Specifies the basic height of the view.  This is a required attribute
3150              for any view inside of a containing layout manager.  Its value may
3151              be a dimension (such as "12dip") for a constant height or one of
3152              the special constants. -->
3153         <attr name="layout_height" format="dimension">
3154             <!-- The view should be as big as its parent (minus padding).
3155                  This constant is deprecated starting from API Level 8 and
3156                  is replaced by {@code match_parent}. -->
3157             <enum name="fill_parent" value="-1" />
3158             <!-- The view should be as big as its parent (minus padding).
3159                  Introduced in API Level 8. -->
3160             <enum name="match_parent" value="-1" />
3161             <!-- The view should be only big enough to enclose its content (plus padding). -->
3162             <enum name="wrap_content" value="-2" />
3163         </attr>
3164     </declare-styleable>
3165
3166     <!-- This is the basic set of layout attributes for layout managers that
3167          wish to place margins around their child views.
3168          These attributes are specified with the rest of
3169          a view's normal attributes (such as {@link android.R.attr#background},
3170          but will be parsed by the view's parent and ignored by the child.
3171         <p>The values defined here correspond to the base layout attribute
3172         class {@link android.view.ViewGroup.MarginLayoutParams}. -->
3173     <declare-styleable name="ViewGroup_MarginLayout">
3174         <attr name="layout_width" />
3175         <attr name="layout_height" />
3176         <!--  Specifies extra space on the left, top, right and bottom
3177               sides of this view.  If both layout_margin and any of layout_marginLeft,
3178               layout_marginRight, layout_marginStart, layout_marginEnd,
3179               layout_marginTop, and layout_marginBottom are
3180               also specified, the layout_margin value will take precedence over the
3181               edge-specific values. This space is outside this view's bounds.
3182               Margin values should be positive. -->
3183         <attr name="layout_margin" format="dimension"  />
3184         <!--  Specifies extra space on the left side of this view.
3185               This space is outside this view's bounds.
3186               Margin values should be positive. -->
3187         <attr name="layout_marginLeft" format="dimension"  />
3188         <!--  Specifies extra space on the top side of this view.
3189               This space is outside this view's bounds.
3190               Margin values should be positive.-->
3191         <attr name="layout_marginTop" format="dimension" />
3192         <!--  Specifies extra space on the right side of this view.
3193               This space is outside this view's bounds.
3194               Margin values should be positive.-->
3195         <attr name="layout_marginRight" format="dimension"  />
3196         <!--  Specifies extra space on the bottom side of this view.
3197               This space is outside this view's bounds.
3198               Margin values should be positive.-->
3199         <attr name="layout_marginBottom" format="dimension"  />
3200         <!--  Specifies extra space on the start side of this view.
3201               This space is outside this view's bounds.
3202               Margin values should be positive.-->
3203         <attr name="layout_marginStart" format="dimension"  />
3204         <!--  Specifies extra space on the end side of this view.
3205               This space is outside this view's bounds.
3206               Margin values should be positive.-->
3207         <attr name="layout_marginEnd" format="dimension"  />
3208         <!--  Specifies extra space on the left and right sides of this view.
3209               Specifying layout_marginHorizontal is equivalent to specifying
3210               layout_marginLeft and layout_marginRight.
3211               If both layout_marginHorizontal and either/both of layout_marginLeft
3212               and layout_marginRight are also specified, the layout_marginHorizontal
3213               value will take precedence over the
3214               edge-specific values. Also, layout_margin will always take precedence over
3215               any of these values, including layout_marginHorizontal.
3216               This space is outside this view's bounds.
3217               Margin values should be positive.-->
3218         <attr name="layout_marginHorizontal" format="dimension"  />
3219         <!--  Specifies extra space on the top and bottom sides of this view.
3220               Specifying layout_marginVertical is equivalent to specifying
3221               layout_marginTop and layout_marginBottom with that same value.
3222               If both layout_marginVertical and either/both of layout_marginTop and
3223               layout_marginBottom are also specified, the layout_marginVertical value
3224               will take precedence over the edge-specific values.
3225               Also, layout_margin will always take precedence over
3226               any of these values, including layout_marginVertical.
3227               This space is outside this view's bounds.
3228               Margin values should be positive.-->
3229         <attr name="layout_marginVertical" format="dimension"  />
3230     </declare-styleable>
3231
3232     <!-- Use <code>input-method</code> as the root tag of the XML resource that
3233          describes an
3234          {@link android.view.inputmethod.InputMethod} service, which is
3235          referenced from its
3236          {@link android.view.inputmethod.InputMethod#SERVICE_META_DATA}
3237          meta-data entry.  Described here are the attributes that can be
3238          included in that tag. -->
3239     <declare-styleable name="InputMethod">
3240         <!-- Component name of an activity that allows the user to modify
3241              the settings for this service. -->
3242         <attr name="settingsActivity" format="string" />
3243         <!-- Set to true in all of the configurations for which this input
3244              method should be considered an option as the default. -->
3245         <attr name="isDefault" format="boolean" />
3246         <!-- Set to true if this input method supports ways to switch to
3247              a next input method (for example, a globe key.). When this is true and
3248              InputMethodManager#shouldOfferSwitchingToNextInputMethod() returns true,
3249              the IME has to offer ways to invoke InputMethodManager#switchToNextInputMethod()
3250              accordingly.
3251              <p> Note that the system determines the most appropriate next input method
3252              and subtype in order to provide the consistent user experience in switching
3253              between IMEs and subtypes. -->
3254         <attr name="supportsSwitchingToNextInputMethod" format="boolean" />
3255         <attr name="__removed2" format="boolean" />
3256     </declare-styleable>
3257
3258     <!-- This is the subtype of InputMethod. Subtype can describe locales (for example, en_US and
3259          fr_FR) and modes (for example, voice and keyboard), and is used for IME switch. This
3260          subtype allows the system to call the specified subtype of the IME directly. -->
3261     <declare-styleable name="InputMethod_Subtype">
3262         <!-- The name of the subtype. -->
3263         <attr name="label" />
3264         <!-- The icon of the subtype. -->
3265         <attr name="icon" />
3266         <!-- The locale of the subtype. This string should be a locale (for example en_US and fr_FR)
3267              and will be passed to the IME when the framework calls the IME
3268              with the subtype. This is also used by the framework to know the supported locales
3269              of the IME.  -->
3270         <attr name="imeSubtypeLocale" format="string" />
3271         <!-- The mode of the subtype. This string can be a mode (for example, voice and keyboard)
3272              and this string will be passed to the IME when the framework calls the IME with the
3273              subtype.  {@link android.view.inputmethod.InputMethodSubtype#getLocale()} returns the
3274              value specified in this attribute.  -->
3275         <attr name="imeSubtypeMode" format="string" />
3276         <!-- Set true if the subtype is auxiliary.  An auxiliary subtype won't be shown in the
3277              input method selection list in the settings app.
3278              InputMethodManager#switchToLastInputMethod will ignore auxiliary subtypes when it
3279              chooses a target subtype. -->
3280         <attr name="isAuxiliary" format="boolean" />
3281         <!-- Set true when this subtype should be selected by default if no other subtypes are
3282              selected explicitly. Note that a subtype with this parameter being true will
3283              not be shown in the subtypes list. -->
3284         <attr name="overridesImplicitlyEnabledSubtype" format="boolean" />
3285         <!-- The extra value of the subtype. This string can be any string and will be passed to
3286              the IME when the framework calls the IME with the subtype.  -->
3287         <attr name="imeSubtypeExtraValue" format="string" />
3288         <!-- The unique id for the subtype. The input method framework keeps track of enabled
3289              subtypes by ID. When the IME package gets upgraded, enabled IDs will stay enabled even
3290              if other attributes are different. If the ID is unspecified (by calling the other
3291              constructor or 0. Arrays.hashCode(new Object[] {locale, mode, extraValue,
3292              isAuxiliary, overridesImplicitlyEnabledSubtype}) will be used instead. -->
3293         <attr name="subtypeId" format="integer"/>
3294         <!-- Set to true if this subtype is ASCII capable. If the subtype is ASCII
3295              capable, it should guarantee that the user can input ASCII characters with
3296              this subtype. This is important because many password fields only allow
3297              ASCII-characters. -->
3298         <attr name="isAsciiCapable" format="boolean" />
3299         <!-- The BCP-47 Language Tag of the subtype.  This replaces
3300         {@link android.R.styleable#InputMethod_Subtype_imeSubtypeLocale}.  -->
3301         <attr name="languageTag" format="string" />
3302     </declare-styleable>
3303
3304     <!-- Use <code>spell-checker</code> as the root tag of the XML resource that
3305          describes an
3306          {@link android.service.textservice.SpellCheckerService} service, which is
3307          referenced from its
3308          {@link android.view.textservice.SpellCheckerSession#SERVICE_META_DATA}
3309          meta-data entry.  Described here are the attributes that can be
3310          included in that tag. -->
3311     <declare-styleable name="SpellChecker">
3312         <!-- The name of the spell checker. -->
3313         <attr name="label" />
3314         <!-- Component name of an activity that allows the user to modify
3315              the settings for this service. -->
3316         <attr name="settingsActivity"/>
3317     </declare-styleable>
3318
3319     <!-- This is the subtype of the spell checker. Subtype can describe locales (for example,
3320              en_US and fr_FR). -->
3321     <declare-styleable name="SpellChecker_Subtype">
3322         <!-- The name of the subtype. -->
3323         <attr name="label" />
3324         <!-- The locale of the subtype. This string should be a locale (for example, en_US and
3325              fr_FR). This is also used by the framework to know the supported locales
3326              of the spell checker. {@link android.view.textservice.SpellCheckerSubtype#getLocale()}
3327              returns the value specified in this attribute.  -->
3328         <attr name="subtypeLocale" format="string" />
3329         <!-- The extra value of the subtype. This string can be any string and will be passed to
3330              the SpellChecker.  -->
3331         <attr name="subtypeExtraValue" format="string" />
3332         <!-- The unique id for the subtype. The text service (spell checker) framework keeps track
3333              of enabled subtypes by ID. When the spell checker package gets upgraded, enabled IDs
3334              will stay enabled even if other attributes are different. If the ID is unspecified or
3335              explicitly specified to 0 in XML resources,
3336              {@code Arrays.hashCode(new Object[] {subtypeLocale, extraValue})} will be used instead.
3337               -->
3338         <attr name="subtypeId" />
3339         <!-- The BCP-47 Language Tag of the subtype.  This replaces
3340         {@link android.R.styleable#SpellChecker_Subtype_subtypeLocale}.  -->
3341         <attr name="languageTag" />
3342     </declare-styleable>
3343
3344     <!-- Use <code>accessibility-service</code> as the root tag of the XML resource that
3345          describes an {@link android.accessibilityservice.AccessibilityService} service,
3346          which is referenced from its
3347          {@link android.accessibilityservice.AccessibilityService#SERVICE_META_DATA}
3348          meta-data entry. -->
3349     <declare-styleable name="AccessibilityService">
3350         <!-- The event types this service would like to receive as specified in
3351              {@link android.view.accessibility.AccessibilityEvent}. This setting
3352              can be changed at runtime by calling
3353              {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3354              android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3355         <attr name="accessibilityEventTypes">
3356             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CLICKED} events.-->
3357             <flag name="typeViewClicked" value="0x00000001" />
3358             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_LONG_CLICKED} events. -->
3359             <flag name="typeViewLongClicked" value="0x00000002" />
3360             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SELECTED} events. -->
3361             <flag name="typeViewSelected" value="0x00000004" />
3362             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_FOCUSED} events. -->
3363             <flag name="typeViewFocused" value="0x00000008" />
3364             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_CHANGED} events. -->
3365             <flag name="typeViewTextChanged" value="0x00000010" />
3366             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_STATE_CHANGED} events. -->
3367             <flag name="typeWindowStateChanged" value="0x00000020" />
3368             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_NOTIFICATION_STATE_CHANGED} events. -->
3369             <flag name="typeNotificationStateChanged" value="0x00000040" />
3370             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_ENTER} events. -->
3371             <flag name="typeViewHoverEnter" value="0x00000080" />
3372             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_EXIT} events. -->
3373             <flag name="typeViewHoverExit" value="0x00000100" />
3374             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_START} events. -->
3375             <flag name="typeTouchExplorationGestureStart" value="0x00000200" />
3376             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_END} events. -->
3377             <flag name="typeTouchExplorationGestureEnd" value="0x00000400" />
3378             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_CONTENT_CHANGED} events. -->
3379             <flag name="typeWindowContentChanged" value="0x00000800" />
3380             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SCROLLED} events. -->
3381             <flag name="typeViewScrolled" value="0x000001000" />
3382             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_SELECTION_CHANGED} events. -->
3383             <flag name="typeViewTextSelectionChanged" value="0x000002000" />
3384             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ANNOUNCEMENT} events. -->
3385             <flag name="typeAnnouncement" value="0x00004000" />
3386             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUSED} events. -->
3387             <flag name="typeViewAccessibilityFocused" value="0x00008000" />
3388             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED} events. -->
3389             <flag name="typeViewAccessibilityFocusCleared" value="0x00010000" />
3390             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY} events. -->
3391             <flag name="typeViewTextTraversedAtMovementGranularity" value="0x00020000" />
3392             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_START} events. -->
3393             <flag name="typeGestureDetectionStart" value="0x00040000" />
3394             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_END} events. -->
3395             <flag name="typeGestureDetectionEnd" value="0x00080000" />
3396             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_START} events. -->
3397             <flag name="typeTouchInteractionStart" value="0x00100000" />
3398             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_END} events. -->
3399             <flag name="typeTouchInteractionEnd" value="0x00200000" />
3400             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOWS_CHANGED} events. -->
3401             <flag name="typeWindowsChanged" value="0x00400000" />
3402             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CONTEXT_CLICKED} events. -->
3403             <flag name="typeContextClicked" value="0x00800000" />
3404             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ASSIST_READING_CONTEXT} events. -->
3405             <flag name="typeAssistReadingContext" value="0x01000000" />
3406             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPES_ALL_MASK} i.e. all events. -->
3407             <flag name="typeAllMask" value="0xffffffff" />
3408         </attr>
3409         <!-- Comma separated package names from which this service would like to receive events (leave out for all packages).
3410              {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3411              android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3412         <attr name="packageNames" format="string" />
3413         <!-- The feedback types this service provides as specified in
3414              {@link android.accessibilityservice.AccessibilityServiceInfo}. This setting
3415              can be changed at runtime by calling
3416              {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3417              android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3418         <attr name="accessibilityFeedbackType">
3419             <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_SPOKEN} feedback. -->
3420             <flag name="feedbackSpoken" value="0x00000001" />
3421             <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_HAPTIC} feedback. -->
3422             <flag name="feedbackHaptic" value="0x00000002" />
3423             <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_AUDIBLE} feedback. -->
3424             <flag name="feedbackAudible" value="0x00000004" />
3425             <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_VISUAL} feedback. -->
3426             <flag name="feedbackVisual" value="0x00000008" />
3427             <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_GENERIC} feedback. -->
3428             <flag name="feedbackGeneric" value="0x00000010" />
3429             <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_ALL_MASK} feedback. -->
3430             <flag name="feedbackAllMask" value="0xffffffff" />
3431         </attr>
3432         <!-- The minimal period in milliseconds between two accessibility events of the same type
3433              are sent to this service. This setting can be changed at runtime by calling
3434              {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3435              android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3436         <attr name="notificationTimeout" format="integer" />
3437         <!-- Additional flags as specified in
3438              {@link android.accessibilityservice.AccessibilityServiceInfo}.
3439              This setting can be changed at runtime by calling
3440              {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3441              android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3442         <attr name="accessibilityFlags">
3443             <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#DEFAULT}. -->
3444             <flag name="flagDefault" value="0x00000001" />
3445             <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_INCLUDE_NOT_IMPORTANT_VIEWS}. -->
3446             <flag name="flagIncludeNotImportantViews" value="0x00000002" />
3447             <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE}. -->
3448             <flag name="flagRequestTouchExplorationMode" value="0x00000004" />
3449             <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY}.
3450                  Not used by the framework.
3451             -->
3452             <flag name="flagRequestEnhancedWebAccessibility" value="0x00000008" />
3453             <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REPORT_VIEW_IDS}. -->
3454             <flag name="flagReportViewIds" value="0x00000010" />
3455             <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS}. -->
3456             <flag name="flagRequestFilterKeyEvents" value="0x00000020" />
3457             <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_RETRIEVE_INTERACTIVE_WINDOWS}. -->
3458             <flag name="flagRetrieveInteractiveWindows" value="0x00000040" />
3459             <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_ENABLE_ACCESSIBILITY_VOLUME}. -->
3460             <flag name="flagEnableAccessibilityVolume" value="0x00000080" />
3461             <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ACCESSIBILITY_BUTTON}. -->
3462             <flag name="flagRequestAccessibilityButton" value="0x00000100" />
3463             <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FINGERPRINT_GESTURES}. -->
3464             <flag name="flagRequestFingerprintGestures" value="0x00000200" />
3465         </attr>
3466         <!-- Component name of an activity that allows the user to modify
3467              the settings for this service. This setting cannot be changed at runtime. -->
3468         <attr name="settingsActivity" />
3469         <!-- Attribute whether the accessibility service wants to be able to retrieve the
3470              active window content. This setting cannot be changed at runtime. -->
3471         <attr name="canRetrieveWindowContent" format="boolean" />
3472         <!-- Attribute whether the accessibility service wants to be able to request touch
3473              exploration mode in which touched items are spoken aloud and the UI can be
3474              explored via gestures.
3475              <p>
3476              Required to allow setting the {@link android.accessibilityservice
3477              #AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} flag.
3478              </p>
3479          -->
3480         <attr name="canRequestTouchExplorationMode" format="boolean" />
3481         <!-- Attribute whether the accessibility service wants to be able to request enhanced
3482              web accessibility enhancements.
3483              {@deprecated Not used by the framework}
3484          -->
3485         <attr name="canRequestEnhancedWebAccessibility" format="boolean" />
3486         <!-- Attribute whether the accessibility service wants to be able to request to
3487              filter key events.
3488              <p>
3489              Required to allow setting the {@link android.accessibilityservice
3490              #AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} flag.
3491              </p>
3492          -->
3493         <attr name="canRequestFilterKeyEvents" format="boolean" />
3494         <!-- Attribute whether the accessibility service wants to be able to control
3495              display magnification.
3496          -->
3497         <attr name="canControlMagnification" format="boolean" />
3498         <!-- Attribute whether the accessibility service wants to be able to perform gestures. -->
3499         <attr name="canPerformGestures" format="boolean" />
3500         <!-- Attribute whether the accessibility service wants to be able to capture gestures from
3501              the fingerprint sensor.
3502              <p>
3503              Required to allow setting the {@link android.accessibilityservice
3504              #AccessibilityServiceInfo#FLAG_REQUEST_FINGERPRINT_GESTURES} flag to have any effect.
3505              </p>
3506          -->
3507         <attr name="canRequestFingerprintGestures" format="boolean" />
3508         <!-- Short description of the accessibility service purpose or behavior.-->
3509         <attr name="description" />
3510         <!-- Brief summary of the accessibility service purpose or behavior. -->
3511         <attr name="summary" />
3512     </declare-styleable>
3513
3514     <!-- Use <code>print-service</code> as the root tag of the XML resource that
3515          describes an {@link android.printservice.PrintService} service, which is
3516          referenced from its {@link android.printservice.PrintService#SERVICE_META_DATA}
3517          meta-data entry. -->
3518     <declare-styleable name="PrintService">
3519         <!-- Fully qualified class name of an activity that allows the user to modify
3520              the settings for this service. -->
3521         <attr name="settingsActivity" />
3522         <!-- Fully qualified class name of an activity that allows the user to manually
3523              add printers to this print service. -->
3524         <attr name="addPrintersActivity" format="string"/>
3525         <!-- Fully qualified class name of an activity with advanced print options
3526              specific to this print service. -->
3527         <attr name="advancedPrintOptionsActivity" format="string"/>
3528         <!-- The vendor name if this print service is vendor specific. -->
3529         <attr name="vendor" format="string"/>
3530     </declare-styleable>
3531
3532     <!-- Use <code>host-apdu-service</code> as the root tag of the XML resource that
3533          describes an {@link android.nfc.cardemulation.HostApduService} service, which
3534          is referenced from its {@link android.nfc.cardemulation.HostApduService#SERVICE_META_DATA}
3535          entry. -->
3536     <declare-styleable name="HostApduService">
3537         <!-- Short description of the functionality the service implements. This attribute
3538              is mandatory.-->
3539         <attr name="description" />
3540         <!-- Whether the device must be unlocked before routing data to this service.
3541              The default is false.-->
3542         <attr name="requireDeviceUnlock" format="boolean"/>
3543         <!-- A drawable that can be rendered in Android's system UI for representing
3544              the service. -->
3545         <attr name="apduServiceBanner" format="reference"/>
3546         <!-- Component name of an activity that allows the user to modify
3547              the settings for this service. -->
3548         <attr name="settingsActivity"/>
3549     </declare-styleable>
3550
3551     <!-- Use <code>offhost-apdu-service</code> as the root tag of the XML resource that
3552          describes an {@link android.nfc.cardemulation.OffHostApduService}
3553          service, which is referenced from its
3554          {@link android.nfc.cardemulation.OffHostApduService#SERVICE_META_DATA} entry. -->
3555     <declare-styleable name="OffHostApduService">
3556         <!-- Short description of the functionality the service implements. This attribute
3557              is mandatory.-->
3558         <attr name="description" />
3559         <!-- A drawable that can be rendered in Android's system UI for representing
3560              the service. -->
3561         <attr name="apduServiceBanner"/>
3562         <!-- Component name of an activity that allows the user to modify
3563              the settings for this service. -->
3564         <attr name="settingsActivity"/>
3565     </declare-styleable>
3566
3567     <!-- Specify one or more <code>aid-group</code> elements inside a
3568          <code>host-apdu-service</code> or <code>offhost-apdu-service</code>
3569          element to define a group of ISO7816 Application ID (AIDs) that
3570          your service can handle.-->
3571     <declare-styleable name="AidGroup">
3572         <!-- Short description of what the AID group implements. This attribute is mandatory.-->
3573         <attr name="description" />
3574         <!-- The category attribute will be used by the Android platform to present
3575              multiple applications that register ISO 7816 Application IDs (AIDs) in the
3576              same category uniformly.
3577              Additionally, when a category is specified, Android will ensure that either
3578              all AIDs in this group are routed to this application, or none at all.
3579              This attribute is optional.-->
3580         <attr name="category" format="string" />
3581     </declare-styleable>
3582
3583     <!-- Specify one or more <code>aid-filter</code> elements inside a
3584          <code>aid-group</code> element to specify an ISO7816 Application ID (AID)
3585          your service can handle. -->
3586     <declare-styleable name="AidFilter">
3587         <!-- The ISO7816 Application ID. This attribute is mandatory. -->
3588         <attr name="name" />
3589     </declare-styleable>
3590
3591     <!-- Specify one or more <code>aid-prefix-filter</code> elements inside a
3592          <code>aid-group</code> element to specify an ISO7816 Application ID (AID)
3593          prefix your service can handle. -->
3594     <declare-styleable name="AidPrefixFilter">
3595         <!-- The ISO7816 Application ID. This attribute is mandatory. -->
3596         <attr name="name" />
3597     </declare-styleable>
3598
3599     <!-- Use <code>host-nfcf-service</code> as the root tag of the XML resource that
3600          describes an {@link android.nfc.cardemulation.HostNfcFService} service, which
3601          is referenced from its {@link android.nfc.cardemulation.HostNfcFService#SERVICE_META_DATA}
3602          entry. -->
3603     <declare-styleable name="HostNfcFService">
3604         <!-- Short description of the functionality the service implements. This attribute
3605              is mandatory.-->
3606         <attr name="description" />
3607     </declare-styleable>
3608
3609     <!-- Specify one or more <code>system-code-filter</code> elements inside a
3610          <code>host-nfcf-service</code> element to specify a System Code
3611          your service can handle. -->
3612     <declare-styleable name="SystemCodeFilter">
3613         <!-- The System Code. This attribute is mandatory. -->
3614         <attr name="name" />
3615     </declare-styleable>
3616
3617     <!-- Specify one or more <code>nfcid2-filter</code> elements inside a
3618          <code>host-nfcf-service</code> element to specify a NFCID2
3619          your service can handle. -->
3620     <declare-styleable name="Nfcid2Filter">
3621         <!-- The NFCID2. This attribute is mandatory. -->
3622         <attr name="name" />
3623     </declare-styleable>
3624
3625     <!-- Specify one or more <code>t3tPmm-filter</code> elements inside a
3626          <code>host-nfcf-service</code> element to specify a LF_T3T_PMM -->
3627     <declare-styleable name="T3tPmmFilter">
3628         <attr name="name" />
3629
3630     </declare-styleable>
3631
3632     <declare-styleable name="ActionMenuItemView">
3633         <attr name="minWidth" />
3634     </declare-styleable>
3635
3636     <!-- =============================== -->
3637     <!-- Widget package class attributes -->
3638     <!-- =============================== -->
3639     <eat-comment />
3640
3641     <declare-styleable name="AbsListView">
3642          <!-- Drawable used to indicate the currently selected item in the list. -->
3643         <attr name="listSelector" format="color|reference" />
3644         <!-- When set to true, the selector will be drawn over the selected item.
3645              Otherwise the selector is drawn behind the selected item. The default
3646              value is false. -->
3647         <attr name="drawSelectorOnTop" format="boolean" />
3648         <!-- Used by ListView and GridView to stack their content from the bottom. -->
3649         <attr name="stackFromBottom" format="boolean" />
3650         <!-- When set to true, the list uses a drawing cache during scrolling.
3651              This makes the rendering faster but uses more memory. The default
3652              value is true. -->
3653         <attr name="scrollingCache" format="boolean" />
3654         <!-- When set to true, the list will filter results as the user types. The
3655              List's adapter must support the Filterable interface for this to work. -->
3656         <attr name="textFilterEnabled" format="boolean" />
3657         <!-- Sets the transcript mode for the list. In transcript mode, the list
3658              scrolls to the bottom to make new items visible when they are added. -->
3659         <attr name="transcriptMode">
3660             <!-- Disables transcript mode. This is the default value. -->
3661             <enum name="disabled" value="0"/>
3662             <!-- The list will automatically scroll to the bottom when
3663                  a data set change notification is received and only if the last item is
3664                  already visible on screen. -->
3665             <enum name="normal" value="1" />
3666             <!-- The list will automatically scroll to the bottom, no matter what items
3667                  are currently visible. -->
3668             <enum name="alwaysScroll" value="2" />
3669         </attr>
3670         <!-- Indicates that this list will always be drawn on top of solid, single-color
3671              opaque background. This allows the list to optimize drawing. -->
3672         <attr name="cacheColorHint" format="color" />
3673         <!-- Enables the fast scroll thumb that can be dragged to quickly scroll through
3674              the list. -->
3675         <attr name="fastScrollEnabled" format="boolean" />
3676         <!-- Specifies the style of the fast scroll decorations. -->
3677         <attr name="fastScrollStyle" format="reference" />
3678         <!-- When set to true, the list will use a more refined calculation
3679              method based on the pixels height of the items visible on screen. This
3680              property is set to true by default but should be set to false if your adapter
3681              will display items of varying heights. When this property is set to true and
3682              your adapter displays items of varying heights, the scrollbar thumb will
3683              change size as the user scrolls through the list. When set to false, the list
3684              will use only the number of items in the adapter and the number of items visible
3685              on screen to determine the scrollbar's properties. -->
3686         <attr name="smoothScrollbar" format="boolean" />
3687         <!-- Defines the choice behavior for the view. By default, lists do not have
3688              any choice behavior. By setting the choiceMode to singleChoice, the list
3689              allows up to one item to be in a chosen state. By setting the choiceMode to
3690              multipleChoice, the list allows any number of items to be chosen.
3691              Finally, by setting the choiceMode to multipleChoiceModal the list allows
3692              any number of items to be chosen in a special selection mode.
3693              The application will supply a
3694              {@link android.widget.AbsListView.MultiChoiceModeListener} using
3695              {@link android.widget.AbsListView#setMultiChoiceModeListener} to control the
3696              selection mode. This uses the {@link android.view.ActionMode} API. -->
3697         <attr name="choiceMode">
3698             <!-- Normal list that does not indicate choices. -->
3699             <enum name="none" value="0" />
3700             <!-- The list allows up to one choice. -->
3701             <enum name="singleChoice" value="1" />
3702             <!-- The list allows multiple choices. -->
3703             <enum name="multipleChoice" value="2" />
3704             <!-- The list allows multiple choices in a custom selection mode. -->
3705             <enum name="multipleChoiceModal" value="3" />
3706         </attr>
3707
3708         <!-- When set to true, the list will always show the fast scroll interface.
3709              This setting implies fastScrollEnabled. -->
3710         <attr name="fastScrollAlwaysVisible" format="boolean" />
3711     </declare-styleable>
3712     <!-- @hide -->
3713     <declare-styleable name="RecycleListView">
3714         <!-- Bottom padding to use when no buttons are present. -->
3715         <attr name="paddingBottomNoButtons" format="dimension" />
3716         <!-- Top padding to use when no title is present. -->
3717         <attr name="paddingTopNoTitle" format="dimension" />
3718     </declare-styleable>
3719     <declare-styleable name="AbsSpinner">
3720         <!-- Reference to an array resource that will populate the Spinner.  For static content,
3721              this is simpler than populating the Spinner programmatically. -->
3722         <attr name="entries" />
3723     </declare-styleable>
3724     <declare-styleable name="AnalogClock">
3725         <attr name="dial" format="reference"/>
3726         <attr name="hand_hour" format="reference"/>
3727         <attr name="hand_minute" format="reference"/>
3728     </declare-styleable>
3729     <declare-styleable name="Button">
3730     </declare-styleable>
3731     <declare-styleable name="Chronometer">
3732         <!-- Format string: if specified, the Chronometer will display this
3733              string, with the first "%s" replaced by the current timer value
3734              in "MM:SS" or "H:MM:SS" form.
3735              If no format string is specified, the Chronometer will simply display
3736              "MM:SS" or "H:MM:SS". -->
3737         <attr name="format" format="string" localization="suggested" />
3738         <!-- Specifies whether this Chronometer counts down or counts up from the base.
3739               If not specified this is false and the Chronometer counts up. -->
3740         <attr name="countDown" format="boolean" />
3741     </declare-styleable>
3742     <declare-styleable name="CompoundButton">
3743         <!-- Indicates the initial checked state of this button. -->
3744         <attr name="checked" format="boolean" />
3745         <!-- Drawable used for the button graphic (for example, checkbox and radio button). -->
3746         <attr name="button" format="reference" />
3747         <!-- Tint to apply to the button graphic. -->
3748         <attr name="buttonTint" format="color" />
3749         <!-- Blending mode used to apply the button graphic tint. -->
3750         <attr name="buttonTintMode">
3751             <!-- The tint is drawn on top of the drawable.
3752                  [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3753             <enum name="src_over" value="3" />
3754             <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3755                  color channels are thrown out. [Sa * Da, Sc * Da] -->
3756             <enum name="src_in" value="5" />
3757             <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3758                  channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3759             <enum name="src_atop" value="9" />
3760             <!-- Multiplies the color and alpha channels of the drawable with those of
3761                  the tint. [Sa * Da, Sc * Dc] -->
3762             <enum name="multiply" value="14" />
3763             <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3764             <enum name="screen" value="15" />
3765             <!-- Combines the tint and drawable color and alpha channels, clamping the
3766                  result to valid color values. Saturate(S + D) -->
3767             <enum name="add" value="16" />
3768         </attr>
3769     </declare-styleable>
3770     <declare-styleable name="CheckedTextView">
3771         <!-- Indicates the initial checked state of this text. -->
3772         <attr name="checked" />
3773         <!-- Drawable used for the check mark graphic. -->
3774         <attr name="checkMark" format="reference"/>
3775         <!-- Tint to apply to the check mark. -->
3776         <attr name="checkMarkTint" format="color" />
3777         <!-- Blending mode used to apply the check mark tint. -->
3778         <attr name="checkMarkTintMode">
3779             <!-- The tint is drawn on top of the drawable.
3780                  [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3781             <enum name="src_over" value="3" />
3782             <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3783                  color channels are thrown out. [Sa * Da, Sc * Da] -->
3784             <enum name="src_in" value="5" />
3785             <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3786                  channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3787             <enum name="src_atop" value="9" />
3788             <!-- Multiplies the color and alpha channels of the drawable with those of
3789                  the tint. [Sa * Da, Sc * Dc] -->
3790             <enum name="multiply" value="14" />
3791             <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3792             <enum name="screen" value="15" />
3793             <!-- Combines the tint and drawable color and alpha channels, clamping the
3794                  result to valid color values. Saturate(S + D) -->
3795             <enum name="add" value="16" />
3796         </attr>
3797         <!-- Gravity for aligning a CheckedTextView's checkmark to one side or the other. -->
3798         <attr name="checkMarkGravity">
3799             <!-- Push object to the left of its container, not changing its size. -->
3800             <flag name="left" value="0x03" />
3801             <!-- Push object to the right of its container, not changing its size. -->
3802             <flag name="right" value="0x05" />
3803             <!-- Push object to the beginning of its container, not changing its size. -->
3804             <flag name="start" value="0x00800003" />
3805             <!-- Push object to the end of its container, not changing its size. -->
3806             <flag name="end" value="0x00800005" />
3807         </attr>
3808     </declare-styleable>
3809     <declare-styleable name="EditText">
3810     </declare-styleable>
3811     <declare-styleable name="FastScroll">
3812         <!-- Drawable used for the scroll bar thumb. -->
3813         <attr name="thumbDrawable" format="reference" />
3814         <!-- Minimum width of the thumb. -->
3815         <attr name="thumbMinWidth" format="dimension" />
3816         <!-- Minimum height of the thumb. -->
3817         <attr name="thumbMinHeight" format="dimension" />
3818         <!-- Drawable used for the scroll bar track. -->
3819         <attr name="trackDrawable" format="reference" />
3820         <!-- Drawable used for the section header preview when right-aligned. -->
3821         <attr name="backgroundRight" format="reference" />
3822         <!-- Drawable used for the section header preview when left-aligned. -->
3823         <attr name="backgroundLeft" format="reference" />
3824         <!-- Position of section header preview. -->
3825         <attr name="position">
3826             <!-- Floating at the top of the content. -->
3827             <enum name="floating" value="0" />
3828             <!-- Pinned to the thumb, vertically centered with the middle of the thumb. -->
3829             <enum name="atThumb" value="1" />
3830             <!-- Pinned to the thumb, vertically centered with the top edge of the thumb. -->
3831             <enum name="aboveThumb" value="2" />
3832         </attr>
3833         <attr name="textAppearance" />
3834         <attr name="textColor" />
3835         <attr name="textSize" />
3836         <!-- Minimum width of the section header preview. -->
3837         <attr name="minWidth" />
3838         <!-- Minimum height of the section header preview. -->
3839         <attr name="minHeight" />
3840         <!-- Padding for the section header preview. -->
3841         <attr name="padding" />
3842         <!-- Position of thumb in relation to the track. -->
3843         <attr name="thumbPosition">
3844             <!-- The thumb's midpoint is anchored to the track. At its
3845                  extremes, the thumb will extend half-way outside the
3846                  track. -->
3847             <enum name="midpoint" value="0" />
3848             <!-- The thumb is entirely inside the track. At its extremes,
3849                  the thumb will be contained entirely within the track. -->
3850             <enum name="inside" value="1" />
3851         </attr>
3852     </declare-styleable>
3853     <declare-styleable name="FrameLayout">
3854         <!-- Determines whether to measure all children or just those in
3855              the VISIBLE or INVISIBLE state when measuring. Defaults to false. -->
3856         <attr name="measureAllChildren" format="boolean" />
3857     </declare-styleable>
3858     <declare-styleable name="ExpandableListView">
3859         <!-- Indicator shown beside the group View. This can be a stateful Drawable. -->
3860         <attr name="groupIndicator" format="reference" />
3861         <!-- Indicator shown beside the child View. This can be a stateful Drawable. -->
3862         <attr name="childIndicator" format="reference" />
3863         <!-- The left bound for an item's indicator. To specify a left bound specific to children,
3864              use childIndicatorLeft. -->
3865         <attr name="indicatorLeft" format="dimension" />
3866         <!-- The right bound for an item's indicator. To specify a right bound specific to children,
3867              use childIndicatorRight. -->
3868         <attr name="indicatorRight" format="dimension" />
3869         <!-- The left bound for a child's indicator. -->
3870         <attr name="childIndicatorLeft" format="dimension" />
3871         <!-- The right bound for a child's indicator. -->
3872         <attr name="childIndicatorRight" format="dimension" />
3873         <!-- Drawable or color that is used as a divider for children. (It will drawn
3874              below and above child items.) The height of this will be the same as
3875              the height of the normal list item divider. -->
3876         <attr name="childDivider" format="reference|color" />
3877         <!-- The start bound for an item's indicator. To specify a start bound specific to children,
3878              use childIndicatorStart. -->
3879         <attr name="indicatorStart" format="dimension" />
3880         <!-- The end bound for an item's indicator. To specify a right bound specific to children,
3881              use childIndicatorEnd. -->
3882         <attr name="indicatorEnd" format="dimension" />
3883         <!-- The start bound for a child's indicator. -->
3884         <attr name="childIndicatorStart" format="dimension" />
3885         <!-- The end bound for a child's indicator. -->
3886         <attr name="childIndicatorEnd" format="dimension" />
3887     </declare-styleable>
3888     <declare-styleable name="Gallery">
3889         <attr name="gravity" />
3890         <!-- Sets how long a transition animation should run (in milliseconds)
3891              when layout has changed.  Only relevant if animation is turned on. -->
3892         <attr name="animationDuration" format="integer" min="0" />
3893         <attr name="spacing" format="dimension" />
3894         <!-- Sets the alpha on the items that are not selected. -->
3895         <attr name="unselectedAlpha" format="float" />
3896     </declare-styleable>
3897     <declare-styleable name="GridView">
3898         <!-- Defines the default horizontal spacing between columns. -->
3899         <attr name="horizontalSpacing" format="dimension" />
3900         <!-- Defines the default vertical spacing between rows. -->
3901         <attr name="verticalSpacing" format="dimension" />
3902         <!-- Defines how columns should stretch to fill the available empty space, if any. -->
3903         <attr name="stretchMode">
3904             <!-- Stretching is disabled. -->
3905             <enum name="none" value="0"/>
3906             <!-- The spacing between each column is stretched. -->
3907             <enum name="spacingWidth" value="1" />
3908             <!-- Each column is stretched equally. -->
3909             <enum name="columnWidth" value="2" />
3910             <!-- The spacing between each column is uniformly stretched.. -->
3911             <enum name="spacingWidthUniform" value="3" />
3912         </attr>
3913         <!-- Specifies the fixed width for each column. -->
3914         <attr name="columnWidth" format="dimension" />
3915         <!-- Defines how many columns to show. -->
3916         <attr name="numColumns" format="integer" min="0">
3917             <!-- Display as many columns as possible to fill the available space. -->
3918             <enum name="auto_fit" value="-1" />
3919         </attr>
3920         <!-- Specifies the gravity within each cell. -->
3921         <attr name="gravity" />
3922     </declare-styleable>
3923     <declare-styleable name="ImageSwitcher">
3924     </declare-styleable>
3925     <declare-styleable name="ImageView">
3926         <!-- Sets a drawable as the content of this ImageView. -->
3927         <attr name="src" format="reference|color" />
3928         <!-- Controls how the image should be resized or moved to match the size
3929              of this ImageView.  See {@link android.widget.ImageView.ScaleType} -->
3930         <attr name="scaleType">
3931             <!-- Scale using the image matrix when drawing. See
3932                  {@link android.widget.ImageView#setImageMatrix(Matrix)}. -->
3933             <enum name="matrix" value="0" />
3934             <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#FILL}. -->
3935             <enum name="fitXY" value="1" />
3936             <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#START}. -->
3937             <enum name="fitStart" value="2" />
3938             <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#CENTER}. -->
3939             <enum name="fitCenter" value="3" />
3940             <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#END}. -->
3941             <enum name="fitEnd" value="4" />
3942             <!-- Center the image in the view, but perform no scaling. -->
3943             <enum name="center" value="5" />
3944             <!-- Scale the image uniformly (maintain the image's aspect ratio) so both dimensions
3945                  (width and height) of the image will be equal to or larger than the corresponding
3946                  dimension of the view (minus padding). The image is then centered in the view. -->
3947             <enum name="centerCrop" value="6" />
3948             <!-- Scale the image uniformly (maintain the image's aspect ratio) so that both
3949                  dimensions (width and height) of the image will be equal to or less than the
3950                  corresponding dimension of the view (minus padding). The image is then centered in
3951                  the view. -->
3952             <enum name="centerInside" value="7" />
3953         </attr>
3954         <!-- Set this to true if you want the ImageView to adjust its bounds
3955              to preserve the aspect ratio of its drawable. -->
3956         <attr name="adjustViewBounds" format="boolean" />
3957         <!-- An optional argument to supply a maximum width for this view.
3958              See {see android.widget.ImageView#setMaxWidth} for details. -->
3959         <attr name="maxWidth" format="dimension" />
3960         <!-- An optional argument to supply a maximum height for this view.
3961              See {see android.widget.ImageView#setMaxHeight} for details. -->
3962         <attr name="maxHeight" format="dimension" />
3963         <!-- The tinting color for the image. By default, the tint will blend using SRC_ATOP mode.
3964              Please note that for compatibility reasons, this is NOT consistent with the default
3965              SRC_IN tint mode used by {@link android.widget.ImageView#setImageTintList} and by
3966              similar tint attributes on other views. -->
3967         <attr name="tint" format="color" />
3968         <!-- If true, the image view will be baseline aligned with based on its
3969              bottom edge. -->
3970         <attr name="baselineAlignBottom" format="boolean" />
3971          <!-- If true, the image will be cropped to fit within its padding. -->
3972         <attr name="cropToPadding" format="boolean" />
3973         <!-- The offset of the baseline within this view. See {see android.view.View#getBaseline}
3974              for details -->
3975         <attr name="baseline" format="dimension" />
3976         <!-- @hide The alpha value (0-255) set on the ImageView's drawable. Equivalent
3977              to calling ImageView.setAlpha(int), not the same as View.setAlpha(float). -->
3978         <attr name="drawableAlpha" format="integer" />
3979         <!-- Blending mode used to apply the image tint. -->
3980         <attr name="tintMode" />
3981     </declare-styleable>
3982     <declare-styleable name="ToggleButton">
3983         <!-- The text for the button when it is checked. -->
3984         <attr name="textOn" format="string" />
3985         <!-- The text for the button when it is not checked. -->
3986         <attr name="textOff" format="string" />
3987         <!-- The alpha to apply to the indicator when disabled. -->
3988         <attr name="disabledAlpha" />
3989     </declare-styleable>
3990     <declare-styleable name="RelativeLayout">
3991         <attr name="gravity" />
3992         <!-- Indicates what view should not be affected by gravity. -->
3993         <attr name="ignoreGravity" format="reference" />
3994     </declare-styleable>
3995     <declare-styleable name="LinearLayout">
3996         <!-- Should the layout be a column or a row?  Use "horizontal"
3997              for a row, "vertical" for a column.  The default is
3998              horizontal. -->
3999         <attr name="orientation" />
4000         <attr name="gravity" />
4001         <!-- When set to false, prevents the layout from aligning its children's
4002              baselines. This attribute is particularly useful when the children
4003              use different values for gravity. The default value is true. -->
4004         <attr name="baselineAligned" format="boolean" />
4005         <!-- When a linear layout is part of another layout that is baseline
4006           aligned, it can specify which of its children to baseline align to
4007           (that is, which child TextView).-->
4008         <attr name="baselineAlignedChildIndex" format="integer" min="0"/>
4009         <!-- Defines the maximum weight sum. If unspecified, the sum is computed
4010              by adding the layout_weight of all of the children. This can be
4011              used for instance to give a single child 50% of the total available
4012              space by giving it a layout_weight of 0.5 and setting the weightSum
4013              to 1.0. -->
4014         <attr name="weightSum" format="float" />
4015         <!-- When set to true, all children with a weight will be considered having
4016              the minimum size of the largest child. If false, all children are
4017              measured normally. -->
4018         <attr name="measureWithLargestChild" format="boolean" />
4019         <!-- Drawable to use as a vertical divider between buttons. -->
4020         <attr name="divider" />
4021         <!-- Setting for which dividers to show. -->
4022         <attr name="showDividers">
4023             <flag name="none" value="0" />
4024             <flag name="beginning" value="1" />
4025             <flag name="middle" value="2" />
4026             <flag name="end" value="4" />
4027         </attr>
4028         <!-- Size of padding on either end of a divider. -->
4029         <attr name="dividerPadding" format="dimension" />
4030     </declare-styleable>
4031     <declare-styleable name="GridLayout">
4032         <!-- The orientation property is not used during layout. It is only used to
4033         allocate row and column parameters when they are not specified by its children's
4034         layout paramters. GridLayout works like LinearLayout in this case;
4035         putting all the components either in a single row or in a single column -
4036         depending on the value of this flag. In the horizontal case, a columnCount
4037         property may be additionally supplied to force new rows to be created when a
4038         row is full. The rowCount attribute may be used similarly in the vertical case.
4039         The default is horizontal. -->
4040         <attr name="orientation" />
4041         <!-- The maxmimum number of rows to create when automatically positioning children. -->
4042         <attr name="rowCount" format="integer" />
4043         <!-- The maxmimum number of columns to create when automatically positioning children. -->
4044         <attr name="columnCount" format="integer" />
4045         <!-- When set to true, tells GridLayout to use default margins when none are specified
4046         in a view's layout parameters.
4047         The default value is false.
4048         See {@link android.widget.GridLayout#setUseDefaultMargins(boolean)}.-->
4049         <attr name="useDefaultMargins" format="boolean" />
4050         <!-- When set to alignMargins, causes alignment to take place between the outer
4051         boundary of a view, as defined by its margins. When set to alignBounds,
4052         causes alignment to take place between the edges of the view.
4053         The default is alignMargins.
4054         See {@link android.widget.GridLayout#setAlignmentMode(int)}.-->
4055         <attr name="alignmentMode" />
4056         <!-- When set to true, forces row boundaries to appear in the same order
4057         as row indices.
4058         The default is true.
4059         See {@link android.widget.GridLayout#setRowOrderPreserved(boolean)}.-->
4060         <attr name="rowOrderPreserved" format="boolean" />
4061         <!-- When set to true, forces column boundaries to appear in the same order
4062         as column indices.
4063         The default is true.
4064         See {@link android.widget.GridLayout#setColumnOrderPreserved(boolean)}.-->
4065         <attr name="columnOrderPreserved" format="boolean" />
4066     </declare-styleable>
4067     <declare-styleable name="ListView">
4068         <!-- Reference to an array resource that will populate the ListView.  For static content,
4069              this is simpler than populating the ListView programmatically. -->
4070         <attr name="entries" />
4071         <!-- Drawable or color to draw between list items. -->
4072         <attr name="divider" format="reference|color" />
4073         <!-- Height of the divider. Will use the intrinsic height of the divider if this
4074              is not specified. -->
4075         <attr name="dividerHeight" format="dimension" />
4076         <!-- When set to false, the ListView will not draw the divider after each header view.
4077              The default value is true. -->
4078         <attr name="headerDividersEnabled" format="boolean" />
4079         <!-- When set to false, the ListView will not draw the divider before each footer view.
4080              The default value is true. -->
4081         <attr name="footerDividersEnabled" format="boolean" />
4082         <!-- Drawable to draw above list content. -->
4083         <attr name="overScrollHeader" format="reference|color" />
4084         <!-- Drawable to draw below list content. -->
4085         <attr name="overScrollFooter" format="reference|color" />
4086     </declare-styleable>
4087     <declare-styleable name="PreferenceFrameLayout">
4088         <!-- Padding to use at the top of the prefs content. -->
4089         <attr name="borderTop" format="dimension" />
4090         <!-- Padding to use at the bottom of the prefs content. -->
4091         <attr name="borderBottom" format="dimension" />
4092         <!-- Padding to use at the left of the prefs content. -->
4093         <attr name="borderLeft" format="dimension" />
4094         <!-- Padding to use at the right of the prefs content. -->
4095         <attr name="borderRight" format="dimension" />
4096     </declare-styleable>
4097     <declare-styleable name="PreferenceFrameLayout_Layout">
4098         <!-- Padding to use at the top of the prefs content. -->
4099         <attr name="layout_removeBorders" format="boolean" />
4100     </declare-styleable>
4101     <declare-styleable name="MenuView">
4102         <!-- Default appearance of menu item text. -->
4103         <attr name="itemTextAppearance" format="reference" />
4104         <!-- Default horizontal divider between rows of menu items. -->
4105         <attr name="horizontalDivider" format="reference" />
4106         <!-- Default vertical divider between menu items. -->
4107         <attr name="verticalDivider" format="reference" />
4108         <!-- Default background for the menu header. -->
4109         <attr name="headerBackground" format="color|reference" />
4110         <!-- Default background for each menu item. -->
4111         <attr name="itemBackground" format="color|reference" />
4112         <!-- Default animations for the menu. -->
4113         <attr name="windowAnimationStyle" />
4114         <!-- Default disabled icon alpha for each menu item that shows an icon. -->
4115         <attr name="itemIconDisabledAlpha" format="float" />
4116         <!-- Whether space should be reserved in layout when an icon is missing. -->
4117         <attr name="preserveIconSpacing" format="boolean" />
4118         <!-- Drawable for the arrow icon indicating a particular item is a submenu. -->
4119         <attr name="subMenuArrow" format="reference" />
4120     </declare-styleable>
4121     <declare-styleable name="IconMenuView">
4122         <!-- Defines the height of each row. -->
4123         <attr name="rowHeight" format="dimension" />
4124         <!-- Defines the maximum number of rows displayed. -->
4125         <attr name="maxRows" format="integer" />
4126         <!-- Defines the maximum number of items per row. -->
4127         <attr name="maxItemsPerRow" format="integer" />
4128         <!-- Defines the maximum number of items to show. -->
4129         <attr name="maxItems" format="integer" />
4130         <!-- 'More' icon. -->
4131         <attr name="moreIcon" format="reference" />
4132     </declare-styleable>
4133
4134     <declare-styleable name="ProgressBar">
4135         <!-- Defines the minimum value. -->
4136         <attr name="min" format="integer" />
4137         <!-- Defines the maximum value. -->
4138         <attr name="max" format="integer" />
4139         <!-- Defines the default progress value, between 0 and max. -->
4140         <attr name="progress" format="integer" />
4141         <!-- Defines the secondary progress value, between 0 and max. This progress is drawn between
4142              the primary progress and the background.  It can be ideal for media scenarios such as
4143              showing the buffering progress while the default progress shows the play progress. -->
4144         <attr name="secondaryProgress" format="integer" />
4145         <!-- Allows to enable the indeterminate mode. In this mode the progress
4146          bar plays an infinite looping animation. -->
4147         <attr name="indeterminate" format="boolean" />
4148         <!-- Restricts to ONLY indeterminate mode (state-keeping progress mode will not work). -->
4149         <attr name="indeterminateOnly" format="boolean" />
4150         <!-- Drawable used for the indeterminate mode. -->
4151         <attr name="indeterminateDrawable" format="reference" />
4152         <!-- Drawable used for the progress mode. -->
4153         <attr name="progressDrawable" format="reference" />
4154         <!-- Duration of the indeterminate animation. -->
4155         <attr name="indeterminateDuration" format="integer" min="1" />
4156         <!-- Defines how the indeterminate mode should behave when the progress
4157         reaches max. -->
4158         <attr name="indeterminateBehavior">
4159             <!-- Progress starts over from 0. -->
4160             <enum name="repeat" value="1" />
4161             <!-- Progress keeps the current value and goes back to 0. -->
4162             <enum name="cycle" value="2" />
4163         </attr>
4164         <attr name="minWidth" format="dimension" />
4165         <attr name="maxWidth" />
4166         <attr name="minHeight" format="dimension" />
4167         <attr name="maxHeight" />
4168         <attr name="interpolator" format="reference" />
4169         <!-- Timeout between frames of animation in milliseconds.
4170              {@deprecated Not used by the framework}. -->
4171         <attr name="animationResolution" format="integer" />
4172         <!-- Defines if the associated drawables need to be mirrored when in RTL mode.
4173              Default is false. -->
4174         <attr name="mirrorForRtl" format="boolean" />
4175         <!-- Tint to apply to the progress indicator. -->
4176         <attr name="progressTint" format="color" />
4177         <!-- Blending mode used to apply the progress indicator tint. -->
4178         <attr name="progressTintMode">
4179             <!-- The tint is drawn on top of the drawable.
4180                  [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4181             <enum name="src_over" value="3" />
4182             <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4183                  color channels are thrown out. [Sa * Da, Sc * Da] -->
4184             <enum name="src_in" value="5" />
4185             <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4186                  channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4187             <enum name="src_atop" value="9" />
4188             <!-- Multiplies the color and alpha channels of the drawable with those of
4189                  the tint. [Sa * Da, Sc * Dc] -->
4190             <enum name="multiply" value="14" />
4191             <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4192             <enum name="screen" value="15" />
4193             <!-- Combines the tint and drawable color and alpha channels, clamping the
4194                  result to valid color values. Saturate(S + D) -->
4195             <enum name="add" value="16" />
4196         </attr>
4197         <!-- Tint to apply to the progress indicator background. -->
4198         <attr name="progressBackgroundTint" format="color" />
4199         <!-- Blending mode used to apply the progress indicator background tint. -->
4200         <attr name="progressBackgroundTintMode">
4201             <!-- The tint is drawn on top of the drawable.
4202                  [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4203             <enum name="src_over" value="3" />
4204             <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4205                  color channels are thrown out. [Sa * Da, Sc * Da] -->
4206             <enum name="src_in" value="5" />
4207             <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4208                  channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4209             <enum name="src_atop" value="9" />
4210             <!-- Multiplies the color and alpha channels of the drawable with those of
4211                  the tint. [Sa * Da, Sc * Dc] -->
4212             <enum name="multiply" value="14" />
4213             <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4214             <enum name="screen" value="15" />
4215             <!-- Combines the tint and drawable color and alpha channels, clamping the
4216                  result to valid color values. Saturate(S + D) -->
4217             <enum name="add" value="16" />
4218         </attr>
4219         <!-- Tint to apply to the secondary progress indicator. -->
4220         <attr name="secondaryProgressTint" format="color" />
4221         <!-- Blending mode used to apply the secondary progress indicator tint. -->
4222         <attr name="secondaryProgressTintMode">
4223             <!-- The tint is drawn on top of the drawable.
4224                  [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4225             <enum name="src_over" value="3" />
4226             <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4227                  color channels are thrown out. [Sa * Da, Sc * Da] -->
4228             <enum name="src_in" value="5" />
4229             <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4230                  channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4231             <enum name="src_atop" value="9" />
4232             <!-- Multiplies the color and alpha channels of the drawable with those of
4233                  the tint. [Sa * Da, Sc * Dc] -->
4234             <enum name="multiply" value="14" />
4235             <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4236             <enum name="screen" value="15" />
4237             <!-- Combines the tint and drawable color and alpha channels, clamping the
4238                  result to valid color values. Saturate(S + D) -->
4239             <enum name="add" value="16" />
4240         </attr>
4241         <!-- Tint to apply to the indeterminate progress indicator. -->
4242         <attr name="indeterminateTint" format="color" />
4243         <!-- Blending mode used to apply the indeterminate progress indicator tint. -->
4244         <attr name="indeterminateTintMode">
4245             <!-- The tint is drawn on top of the drawable.
4246                  [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4247             <enum name="src_over" value="3" />
4248             <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4249                  color channels are thrown out. [Sa * Da, Sc * Da] -->
4250             <enum name="src_in" value="5" />
4251             <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4252                  channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4253             <enum name="src_atop" value="9" />
4254             <!-- Multiplies the color and alpha channels of the drawable with those of
4255                  the tint. [Sa * Da, Sc * Dc] -->
4256             <enum name="multiply" value="14" />
4257             <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4258             <enum name="screen" value="15" />
4259             <!-- Combines the tint and drawable color and alpha channels, clamping the
4260                  result to valid color values. Saturate(S + D) -->
4261             <enum name="add" value="16" />
4262         </attr>
4263         <!-- Tint to apply to the background. -->
4264         <attr name="backgroundTint" />
4265         <!-- Blending mode used to apply the background tint. -->
4266         <attr name="backgroundTintMode" />
4267     </declare-styleable>
4268
4269     <declare-styleable name="SeekBar">
4270         <!-- Draws the thumb on a seekbar. -->
4271         <attr name="thumb" format="reference" />
4272         <!-- An offset for the thumb that allows it to extend out of the range of the track. -->
4273         <attr name="thumbOffset" format="dimension" />
4274         <!-- Whether to split the track and leave a gap for the thumb drawable. -->
4275         <attr name="splitTrack" format="boolean" />
4276         <!-- Whether to force the track's alpha to ?android:attr/disabledAlpha
4277              when disabled. This is required for Holo and Gingerbread, but
4278              should always be false for Material and  beyond.
4279              @hide Developers shouldn't need to change this. -->
4280         <attr name="useDisabledAlpha" format="boolean" />
4281         <!-- Tint to apply to the thumb drawable. -->
4282         <attr name="thumbTint" format="color" />
4283         <!-- Blending mode used to apply the thumb tint. -->
4284         <attr name="thumbTintMode">
4285             <!-- The tint is drawn on top of the drawable.
4286                  [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4287             <enum name="src_over" value="3" />
4288             <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4289                  color channels are thrown out. [Sa * Da, Sc * Da] -->
4290             <enum name="src_in" value="5" />
4291             <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4292                  channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4293             <enum name="src_atop" value="9" />
4294             <!-- Multiplies the color and alpha channels of the drawable with those of
4295                  the tint. [Sa * Da, Sc * Dc] -->
4296             <enum name="multiply" value="14" />
4297             <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4298             <enum name="screen" value="15" />
4299             <!-- Combines the tint and drawable color and alpha channels, clamping the
4300                  result to valid color values. Saturate(S + D) -->
4301             <enum name="add" value="16" />
4302         </attr>
4303         <!-- Drawable displayed at each progress position on a seekbar. -->
4304         <attr name="tickMark" format="reference" />
4305         <!-- Tint to apply to the tick mark drawable. -->
4306         <attr name="tickMarkTint" format="color" />
4307         <!-- Blending mode used to apply the tick mark tint. -->
4308         <attr name="tickMarkTintMode">
4309             <!-- The tint is drawn on top of the drawable.
4310                  [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4311             <enum name="src_over" value="3" />
4312             <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4313                  color channels are thrown out. [Sa * Da, Sc * Da] -->
4314             <enum name="src_in" value="5" />
4315             <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4316                  channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4317             <enum name="src_atop" value="9" />
4318             <!-- Multiplies the color and alpha channels of the drawable with those of
4319                  the tint. [Sa * Da, Sc * Dc] -->
4320             <enum name="multiply" value="14" />
4321             <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4322             <enum name="screen" value="15" />
4323             <!-- Combines the tint and drawable color and alpha channels, clamping the
4324                  result to valid color values. Saturate(S + D) -->
4325             <enum name="add" value="16" />
4326         </attr>
4327     </declare-styleable>
4328
4329     <declare-styleable name="StackView">
4330         <!-- Color of the res-out outline. -->
4331         <attr name="resOutColor" format="color" />
4332         <!-- Color of the outline of click feedback. -->
4333         <attr name="clickColor" format="color" />
4334     </declare-styleable>
4335
4336     <declare-styleable name="RatingBar">
4337         <!-- The number of stars (or rating items) to show. -->
4338         <attr name="numStars" format="integer" />
4339         <!-- The rating to set by default. -->
4340         <attr name="rating" format="float" />
4341         <!-- The step size of the rating. -->
4342         <attr name="stepSize" format="float" />
4343         <!-- Whether this rating bar is an indicator (and non-changeable by the user). -->
4344         <attr name="isIndicator" format="boolean" />
4345     </declare-styleable>
4346
4347     <declare-styleable name="RadioGroup">
4348         <!-- The id of the child radio button that should be checked by default
4349              within this radio group. -->
4350         <attr name="checkedButton" format="integer" />
4351         <!-- Should the radio group be a column or a row?  Use "horizontal"
4352              for a row, "vertical" for a column.  The default is
4353              vertical. -->
4354         <attr name="orientation" />
4355     </declare-styleable>
4356     <declare-styleable name="TableLayout">
4357         <!-- The zero-based index of the columns to stretch. The column indices
4358              must be separated by a comma: 1, 2, 5. Illegal and duplicate
4359              indices are ignored. You can stretch all columns by using the
4360              value "*" instead. Note that a column can be marked stretchable
4361              and shrinkable at the same time. -->
4362         <attr name="stretchColumns" format="string" />
4363        <!-- The zero-based index of the columns to shrink. The column indices
4364              must be separated by a comma: 1, 2, 5. Illegal and duplicate
4365              indices are ignored. You can shrink all columns by using the
4366              value "*" instead. Note that a column can be marked stretchable
4367              and shrinkable at the same time. -->
4368         <attr name="shrinkColumns" format="string" />
4369         <!-- The zero-based index of the columns to collapse. The column indices
4370              must be separated by a comma: 1, 2, 5. Illegal and duplicate
4371              indices are ignored. -->
4372         <attr name="collapseColumns" format="string" />
4373     </declare-styleable>
4374     <declare-styleable name="TableRow">
4375
4376     </declare-styleable>
4377     <declare-styleable name="TableRow_Cell">
4378         <!-- The index of the column in which this child should be. -->
4379         <attr name="layout_column" format="integer" />
4380         <!-- Defines how many columns this child should span.  Must be >= 1.-->
4381         <attr name="layout_span" format="integer" />
4382     </declare-styleable>
4383     <declare-styleable name="TabWidget">
4384         <!-- Drawable used to draw the divider between tabs. -->
4385         <attr name="divider" />
4386         <!-- Determines whether the strip under the tab indicators is drawn or not. -->
4387         <attr name="tabStripEnabled" format="boolean" />
4388         <!-- Drawable used to draw the left part of the strip underneath the tabs. -->
4389         <attr name="tabStripLeft" format="reference" />
4390         <!-- Drawable used to draw the right part of the strip underneath the tabs. -->
4391         <attr name="tabStripRight" format="reference" />
4392         <!-- Layout used to organize each tab's content. -->
4393         <attr name="tabLayout" format="reference" />
4394     </declare-styleable>
4395     <declare-styleable name="TextAppearance">
4396         <!-- Text color. -->
4397         <attr name="textColor" />
4398         <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
4399         <attr name="textSize" />
4400         <!-- Style (bold, italic, bolditalic) for the text. -->
4401         <attr name="textStyle" />
4402         <!-- Typeface (normal, sans, serif, monospace) for the text. -->
4403         <attr name="typeface" />
4404         <!-- Font family (named by string) for the text. -->
4405         <attr name="fontFamily" />
4406         <!-- Color of the text selection highlight. -->
4407         <attr name="textColorHighlight" />
4408         <!-- Color of the hint text. -->
4409         <attr name="textColorHint" />
4410         <!-- Color of the links. -->
4411         <attr name="textColorLink" />
4412         <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
4413         <attr name="textAllCaps" format="boolean" />
4414         <!-- Place a blurred shadow of text underneath the text, drawn with the
4415              specified color. The text shadow produced does not interact with
4416              properties on View that are responsible for real time shadows,
4417              {@link android.R.styleable#View_elevation elevation} and
4418              {@link android.R.styleable#View_translationZ translationZ}. -->
4419         <attr name="shadowColor" format="color" />
4420         <!-- Horizontal offset of the text shadow. -->
4421         <attr name="shadowDx" format="float" />
4422         <!-- Vertical offset of the text shadow. -->
4423         <attr name="shadowDy" format="float" />
4424         <!-- Blur radius of the text shadow. -->
4425         <attr name="shadowRadius" format="float" />
4426         <!-- Elegant text height, especially for less compacted complex script text. -->
4427         <attr name="elegantTextHeight" format="boolean" />
4428         <!-- Text letter-spacing. -->
4429         <attr name="letterSpacing" format="float" />
4430         <!-- Font feature settings. -->
4431         <attr name="fontFeatureSettings" format="string" />
4432     </declare-styleable>
4433     <declare-styleable name="TextClock">
4434         <!-- Specifies the formatting pattern used to show the time and/or date
4435              in 12-hour mode. Please refer to {@link android.text.format.DateFormat}
4436              for a complete description of accepted formatting patterns.
4437              The default pattern is a locale-appropriate equivalent of "h:mm a". -->
4438         <attr name="format12Hour" format="string"/>
4439         <!-- Specifies the formatting pattern used to show the time and/or date
4440              in 24-hour mode. Please refer to {@link android.text.format.DateFormat}
4441              for a complete description of accepted formatting patterns.
4442              The default pattern is a locale-appropriate equivalent of "H:mm". -->
4443         <attr name="format24Hour" format="string"/>
4444         <!-- Specifies the time zone to use. When this attribute is specified, the
4445              TextClock will ignore the time zone of the system. To use the user's
4446              time zone, do not specify this attribute. The default value is the
4447              user's time zone. Please refer to {@link java.util.TimeZone} for more
4448              information about time zone ids. -->
4449         <attr name="timeZone" format="string"/>
4450     </declare-styleable>
4451     <declare-styleable name="TextSwitcher">
4452     </declare-styleable>
4453     <declare-styleable name="TextView">
4454         <!-- Determines the minimum type that getText() will return.
4455              The default is "normal".
4456              Note that EditText and LogTextBox always return Editable,
4457              even if you specify something less powerful here. -->
4458         <attr name="bufferType">
4459             <!-- Can return any CharSequence, possibly a
4460              Spanned one if the source text was Spanned. -->
4461             <enum name="normal" value="0" />
4462             <!-- Can only return Spannable. -->
4463             <enum name="spannable" value="1" />
4464             <!-- Can only return Spannable and Editable. -->
4465             <enum name="editable" value="2" />
4466         </attr>
4467         <!-- Text to display. -->
4468         <attr name="text" format="string" localization="suggested" />
4469         <!-- Hint text to display when the text is empty. -->
4470         <attr name="hint" format="string" />
4471         <!-- Text color. -->
4472         <attr name="textColor" />
4473         <!-- Color of the text selection highlight. -->
4474         <attr name="textColorHighlight" />
4475         <!-- Color of the hint text. -->
4476         <attr name="textColorHint" />
4477         <!-- Base text color, typeface, size, and style. -->
4478         <attr name="textAppearance" />
4479         <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
4480         <attr name="textSize" />
4481         <!-- Sets the horizontal scaling factor for the text. -->
4482         <attr name="textScaleX" format="float" />
4483         <!-- Typeface (normal, sans, serif, monospace) for the text. -->
4484         <attr name="typeface" />
4485         <!-- Style (bold, italic, bolditalic) for the text. -->
4486         <attr name="textStyle" />
4487         <!-- Font family (named by string) for the text. -->
4488         <attr name="fontFamily" />
4489         <!-- Text color for links. -->
4490         <attr name="textColorLink" />
4491         <!-- Makes the cursor visible (the default) or invisible. -->
4492         <attr name="cursorVisible" format="boolean" />
4493         <!-- Makes the TextView be at most this many lines tall.
4494
4495         When used on an editable text, the <code>inputType</code> attribute's value must be
4496         combined with the <code>textMultiLine</code> flag for the maxLines attribute to apply. -->
4497         <attr name="maxLines" format="integer" min="0" />
4498         <!-- Makes the TextView be at most this many pixels tall. -->
4499         <attr name="maxHeight" />
4500         <!-- Makes the TextView be exactly this many lines tall. -->
4501         <attr name="lines" format="integer" min="0" />
4502         <!-- Makes the TextView be exactly this many pixels tall.
4503              You could get the same effect by specifying this number in the
4504              layout parameters. -->
4505         <attr name="height" format="dimension" />
4506         <!-- Makes the TextView be at least this many lines tall.
4507
4508         When used on an editable text, the <code>inputType</code> attribute's value must be
4509         combined with the <code>textMultiLine</code> flag for the minLines attribute to apply. -->
4510         <attr name="minLines" format="integer" min="0" />
4511         <!-- Makes the TextView be at least this many pixels tall. -->
4512         <attr name="minHeight" />
4513         <!-- Makes the TextView be at most this many ems wide. -->
4514         <attr name="maxEms" format="integer" min="0" />
4515         <!-- Makes the TextView be at most this many pixels wide. -->
4516         <attr name="maxWidth" />
4517         <!-- Makes the TextView be exactly this many ems wide. -->
4518         <attr name="ems" format="integer" min="0" />
4519         <!-- Makes the TextView be exactly this many pixels wide.
4520              You could get the same effect by specifying this number in the
4521              layout parameters. -->
4522         <attr name="width" format="dimension" />
4523         <!-- Makes the TextView be at least this many ems wide. -->
4524         <attr name="minEms" format="integer" min="0" />
4525         <!-- Makes the TextView be at least this many pixels wide. -->
4526         <attr name="minWidth" />
4527         <!-- Specifies how to align the text by the view's x- and/or y-axis
4528              when the text is smaller than the view. -->
4529         <attr name="gravity" />
4530         <!-- Whether the text is allowed to be wider than the view (and
4531              therefore can be scrolled horizontally). -->
4532         <attr name="scrollHorizontally" format="boolean" />
4533         <!-- Whether the characters of the field are displayed as
4534              password dots instead of themselves.
4535              {@deprecated Use inputType instead.} -->
4536         <attr name="password" format="boolean" />
4537         <!-- Constrains the text to a single horizontally scrolling line
4538              instead of letting it wrap onto multiple lines, and advances
4539              focus instead of inserting a newline when you press the
4540              enter key.
4541
4542              The default value is false (multi-line wrapped text mode) for non-editable text, but if
4543              you specify any value for inputType, the default is true (single-line input field mode).
4544
4545              {@deprecated This attribute is deprecated. Use <code>maxLines</code> instead to change
4546              the layout of a static text, and use the <code>textMultiLine</code> flag in the
4547              inputType attribute instead for editable text views (if both singleLine and inputType
4548              are supplied, the inputType flags will override the value of singleLine). } -->
4549         <attr name="singleLine" format="boolean" />
4550         <!-- Specifies whether the widget is enabled. The interpretation of the enabled state varies by subclass.
4551              For example, a non-enabled EditText prevents the user from editing the contained text, and
4552              a non-enabled Button prevents the user from tapping the button.
4553              The appearance of enabled and non-enabled widgets may differ, if the drawables referenced
4554              from evaluating state_enabled differ. -->
4555         <attr name="enabled" format="boolean" />
4556         <!-- If the text is selectable, select it all when the view takes
4557              focus. -->
4558         <attr name="selectAllOnFocus" format="boolean" />
4559         <!-- Leave enough room for ascenders and descenders instead of
4560              using the font ascent and descent strictly.  (Normally true). -->
4561         <attr name="includeFontPadding" format="boolean" />
4562         <!-- Set an input filter to constrain the text length to the
4563              specified number. -->
4564         <attr name="maxLength" format="integer" min="0" />
4565         <!-- Place a blurred shadow of text underneath the text, drawn with the
4566              specified color. The text shadow produced does not interact with
4567              properties on View that are responsible for real time shadows,
4568              {@link android.R.styleable#View_elevation elevation} and
4569              {@link android.R.styleable#View_translationZ translationZ}. -->
4570         <attr name="shadowColor" />
4571         <!-- Horizontal offset of the text shadow. -->
4572         <attr name="shadowDx" />
4573         <!-- Vertical offset of the text shadow. -->
4574         <attr name="shadowDy" />
4575         <!-- Blur radius of the text shadow. -->
4576         <attr name="shadowRadius" />
4577         <attr name="autoLink" />
4578         <!-- If set to false, keeps the movement method from being set
4579              to the link movement method even if autoLink causes links
4580              to be found. -->
4581         <attr name="linksClickable" format="boolean" />
4582         <!-- If set, specifies that this TextView has a numeric input method.
4583              The default is false.
4584              {@deprecated Use inputType instead.} -->
4585         <attr name="numeric">
4586             <!-- Input is numeric. -->
4587             <flag name="integer" value="0x01" />
4588             <!-- Input is numeric, with sign allowed. -->
4589             <flag name="signed" value="0x03" />
4590             <!-- Input is numeric, with decimals allowed. -->
4591             <flag name="decimal" value="0x05" />
4592         </attr>
4593         <!-- If set, specifies that this TextView has a numeric input method
4594              and that these specific characters are the ones that it will
4595              accept.
4596              If this is set, numeric is implied to be true.
4597              The default is false. -->
4598         <attr name="digits" format="string" />
4599         <!-- If set, specifies that this TextView has a phone number input
4600              method. The default is false.
4601              {@deprecated Use inputType instead.} -->
4602         <attr name="phoneNumber" format="boolean" />
4603         <!-- If set, specifies that this TextView should use the specified
4604              input method (specified by fully-qualified class name).
4605              {@deprecated Use inputType instead.} -->
4606         <attr name="inputMethod" format="string" />
4607         <!-- If set, specifies that this TextView has a textual input method
4608              and should automatically capitalize what the user types.
4609              The default is "none".
4610              {@deprecated Use inputType instead.} -->
4611         <attr name="capitalize">
4612             <!-- Don't automatically capitalize anything. -->
4613             <enum name="none" value="0" />
4614             <!-- Capitalize the first word of each sentence. -->
4615             <enum name="sentences" value="1" />
4616             <!-- Capitalize the first letter of every word. -->
4617             <enum name="words" value="2" />
4618             <!-- Capitalize every character. -->
4619             <enum name="characters" value="3" />
4620         </attr>
4621         <!-- If set, specifies that this TextView has a textual input method
4622              and automatically corrects some common spelling errors.
4623              The default is "false".
4624              {@deprecated Use inputType instead.} -->
4625         <attr name="autoText" format="boolean" />
4626         <!-- If set, specifies that this TextView has an input method.
4627              It will be a textual one unless it has otherwise been specified.
4628              For TextView, this is false by default.  For EditText, it is
4629              true by default.
4630              {@deprecated Use inputType instead.} -->
4631         <attr name="editable" format="boolean" />
4632         <!-- If set, the text view will include its current complete text
4633              inside of its frozen icicle in addition to meta-data such as
4634              the current cursor position.  By default this is disabled;
4635              it can be useful when the contents of a text view is not stored
4636              in a persistent place such as a content provider. For
4637              {@link android.widget.EditText} it is always enabled, regardless
4638              of the value of the attribute. -->
4639         <attr name="freezesText" format="boolean" />
4640         <!-- If set, causes words that are longer than the view is wide
4641              to be ellipsized instead of broken in the middle.
4642              You will often also want to set scrollHorizontally or singleLine
4643              as well so that the text as a whole is also constrained to
4644              a single line instead of still allowed to be broken onto
4645              multiple lines. -->
4646         <attr name="ellipsize" />
4647         <!-- The drawable to be drawn above the text. -->
4648         <attr name="drawableTop" format="reference|color" />
4649         <!-- The drawable to be drawn below the text. -->
4650         <attr name="drawableBottom" format="reference|color" />
4651         <!-- The drawable to be drawn to the left of the text. -->
4652         <attr name="drawableLeft" format="reference|color" />
4653         <!-- The drawable to be drawn to the right of the text. -->
4654         <attr name="drawableRight" format="reference|color" />
4655         <!-- The drawable to be drawn to the start of the text. -->
4656         <attr name="drawableStart" format="reference|color" />
4657         <!-- The drawable to be drawn to the end of the text. -->
4658         <attr name="drawableEnd" format="reference|color" />
4659         <!-- The padding between the drawables and the text. -->
4660         <attr name="drawablePadding" format="dimension" />
4661         <!-- Tint to apply to the compound (left, top, etc.) drawables. -->
4662         <attr name="drawableTint" format="color" />
4663         <!-- Blending mode used to apply the compound (left, top, etc.) drawables tint. -->
4664         <attr name="drawableTintMode">
4665             <!-- The tint is drawn on top of the drawable.
4666                  [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4667             <enum name="src_over" value="3" />
4668             <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4669                  color channels are thrown out. [Sa * Da, Sc * Da] -->
4670             <enum name="src_in" value="5" />
4671             <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4672                  channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4673             <enum name="src_atop" value="9" />
4674             <!-- Multiplies the color and alpha channels of the drawable with those of
4675                  the tint. [Sa * Da, Sc * Dc] -->
4676             <enum name="multiply" value="14" />
4677             <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4678             <enum name="screen" value="15" />
4679             <!-- Combines the tint and drawable color and alpha channels, clamping the
4680                  result to valid color values. Saturate(S + D) -->
4681             <enum name="add" value="16" />
4682         </attr>
4683         <!-- Extra spacing between lines of text. -->
4684         <attr name="lineSpacingExtra" format="dimension" />
4685         <!-- Extra spacing between lines of text, as a multiplier. -->
4686         <attr name="lineSpacingMultiplier" format="float" />
4687         <!-- The number of times to repeat the marquee animation. Only applied if the
4688              TextView has marquee enabled. -->
4689         <attr name="marqueeRepeatLimit" format="integer">
4690             <!-- Indicates that marquee should repeat indefinitely. -->
4691             <enum name="marquee_forever" value="-1" />
4692         </attr>
4693         <attr name="inputType" />
4694         <!-- Whether undo should be allowed for editable text. Defaults to true. -->
4695         <attr name="allowUndo" format="boolean" />
4696         <attr name="imeOptions" />
4697         <!-- An addition content type description to supply to the input
4698              method attached to the text view, which is private to the
4699              implementation of the input method.  This simply fills in
4700              the {@link android.view.inputmethod.EditorInfo#privateImeOptions
4701              EditorInfo.privateImeOptions} field when the input
4702              method is connected. -->
4703         <attr name="privateImeOptions" format="string" />
4704         <!-- Supply a value for
4705              {@link android.view.inputmethod.EditorInfo#actionLabel EditorInfo.actionLabel}
4706              used when an input method is connected to the text view. -->
4707         <attr name="imeActionLabel" format="string" />
4708         <!-- Supply a value for
4709              {@link android.view.inputmethod.EditorInfo#actionId EditorInfo.actionId}
4710              used when an input method is connected to the text view. -->
4711         <attr name="imeActionId" format="integer" />
4712         <!-- Reference to an
4713              {@link android.R.styleable#InputExtras &lt;input-extras&gt;}
4714              XML resource containing additional data to
4715              supply to an input method, which is private to the implementation
4716              of the input method.  This simply fills in
4717              the {@link android.view.inputmethod.EditorInfo#extras
4718              EditorInfo.extras} field when the input
4719              method is connected. -->
4720         <attr name="editorExtras" format="reference" />
4721
4722         <!-- Reference to a drawable that will be used to display a text selection
4723              anchor on the left side of a selection region. -->
4724         <attr name="textSelectHandleLeft" />
4725         <!-- Reference to a drawable that will be used to display a text selection
4726              anchor on the right side of a selection region. -->
4727         <attr name="textSelectHandleRight" />
4728         <!-- Reference to a drawable that will be used to display a text selection
4729              anchor for positioning the cursor within text. -->
4730         <attr name="textSelectHandle" />
4731         <!-- The layout of the view that is displayed on top of the cursor to paste inside a
4732              TextEdit field. -->
4733         <attr name="textEditPasteWindowLayout" />
4734         <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. -->
4735         <attr name="textEditNoPasteWindowLayout" />
4736         <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the
4737              insertion cursor because it would be clipped if it were positioned on top. -->
4738         <attr name="textEditSidePasteWindowLayout" />
4739         <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. -->
4740         <attr name="textEditSideNoPasteWindowLayout" />
4741
4742         <!-- Layout of the TextView item that will populate the suggestion popup window. -->
4743         <attr name="textEditSuggestionItemLayout" />
4744         <!-- Layout of the container of the suggestion popup window. -->
4745         <attr name="textEditSuggestionContainerLayout" />
4746         <!-- Style of the highlighted string in the suggestion popup window. -->
4747         <attr name="textEditSuggestionHighlightStyle" />
4748
4749
4750         <!-- Reference to a drawable that will be drawn under the insertion cursor. -->
4751         <attr name="textCursorDrawable" />
4752
4753         <!-- Indicates that the content of a non-editable text can be selected. -->
4754         <attr name="textIsSelectable" />
4755         <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
4756         <attr name="textAllCaps" />
4757         <!-- Elegant text height, especially for less compacted complex script text. -->
4758         <attr name="elegantTextHeight" />
4759         <!-- Text letter-spacing. -->
4760         <attr name="letterSpacing" />
4761         <!-- Font feature settings. -->
4762         <attr name="fontFeatureSettings" />
4763         <!-- Break strategy (control over paragraph layout). -->
4764         <attr name="breakStrategy">
4765             <!-- Line breaking uses simple strategy. -->
4766             <enum name="simple" value="0" />
4767             <!-- Line breaking uses high-quality strategy, including hyphenation. -->
4768             <enum name="high_quality" value="1" />
4769             <!-- Line breaking strategy balances line lengths. -->
4770             <enum name="balanced" value="2" />
4771         </attr>
4772         <!-- Frequency of automatic hyphenation. -->
4773         <attr name="hyphenationFrequency">
4774             <!-- No hyphenation. -->
4775             <enum name="none" value="0" />
4776             <!-- Less frequent hyphenation, useful for informal use cases, such
4777             as chat messages. -->
4778             <enum name="normal" value="1" />
4779             <!-- Standard amount of hyphenation, useful for running text and for
4780             screens with limited space for text. -->
4781             <enum name="full" value="2" />
4782         </attr>
4783         <!-- Specify the type of auto-size. Note that this feature is not supported by EditText,
4784         works only for TextView. -->
4785         <attr name="autoSizeTextType" format="enum">
4786             <!-- No auto-sizing (default). -->
4787             <enum name="none" value="0" />
4788             <!-- Uniform horizontal and vertical text size scaling to fit within the
4789             container. -->
4790             <enum name="uniform" value="1" />
4791         </attr>
4792         <!-- Specify the auto-size step size if <code>autoSizeTextType</code> is set to
4793         <code>uniform</code>. The default is 1px. Overwrites
4794         <code>autoSizePresetSizes</code> if set. -->
4795         <attr name="autoSizeStepGranularity" format="dimension" />
4796         <!-- Resource array of dimensions to be used in conjunction with
4797         <code>autoSizeTextType</code> set to <code>uniform</code>. Overrides
4798         <code>autoSizeStepGranularity</code> if set. -->
4799         <attr name="autoSizePresetSizes"/>
4800         <!-- The minimum text size constraint to be used when auto-sizing text. -->
4801         <attr name="autoSizeMinTextSize" format="dimension" />
4802         <!-- The maximum text size constraint to be used when auto-sizing text. -->
4803         <attr name="autoSizeMaxTextSize" format="dimension" />
4804         <!-- Mode for justification. -->
4805         <attr name="justificationMode">
4806             <!-- No justification. -->
4807             <enum name="none" value="0" />
4808             <!-- Justification by stretching word spacing. -->
4809             <enum name="inter_word" value = "1" />
4810         </attr>
4811     </declare-styleable>
4812     <declare-styleable name="TextViewAppearance">
4813         <!-- Base text color, typeface, size, and style. -->
4814         <attr name="textAppearance" />
4815     </declare-styleable>
4816     <declare-styleable name="SelectionModeDrawables">
4817         <attr name="actionModeSelectAllDrawable" />
4818         <attr name="actionModeCutDrawable" />
4819         <attr name="actionModeCopyDrawable" />
4820         <attr name="actionModePasteDrawable" />
4821     </declare-styleable>
4822     <declare-styleable name="SuggestionSpan">
4823         <attr name="textUnderlineColor" />
4824         <attr name="textUnderlineThickness" />
4825     </declare-styleable>
4826     <!-- An <code>input-extras</code> is a container for extra data to supply to
4827          an input method.  Contains
4828          one more more {@link #Extra <extra>} tags.  -->
4829     <declare-styleable name="InputExtras">
4830     </declare-styleable>
4831     <declare-styleable name="AutoCompleteTextView">
4832         <!-- Defines the hint displayed in the drop down menu. -->
4833         <attr name="completionHint" format="string" />
4834         <!-- Defines the hint view displayed in the drop down menu. -->
4835         <attr name="completionHintView" format="reference" />
4836         <!-- Defines the number of characters that the user must type before
4837          completion suggestions are displayed in a drop down menu. -->
4838         <attr name="completionThreshold" format="integer" min="1" />
4839         <!-- Selector in a drop down list. -->
4840         <attr name="dropDownSelector" format="reference|color" />
4841         <!-- View to anchor the auto-complete dropdown to. If not specified, the text view itself
4842              is used. -->
4843         <attr name="dropDownAnchor" format="reference" />
4844         <!-- Specifies the basic width of the dropdown. Its value may
4845              be a dimension (such as "12dip") for a constant width,
4846              fill_parent or match_parent to match the width of the
4847              screen, or wrap_content to match the width of
4848              the anchored view. -->
4849         <attr name="dropDownWidth" format="dimension">
4850             <!-- The dropdown should fill the width of the screen.
4851                  This constant is deprecated starting from API Level 8 and
4852                  is replaced by {@code match_parent}. -->
4853             <enum name="fill_parent" value="-1" />
4854             <!-- The dropdown should fit the width of the screen.
4855                  Introduced in API Level 8. -->
4856             <enum name="match_parent" value="-1" />
4857             <!-- The dropdown should fit the width of its anchor. -->
4858             <enum name="wrap_content" value="-2" />
4859         </attr>
4860         <!-- Specifies the basic height of the dropdown. Its value may
4861              be a dimension (such as "12dip") for a constant height,
4862              fill_parent or match_parent to fill the height of the
4863              screen, or wrap_content to match the height of
4864              the content of the drop down. -->
4865         <attr name="dropDownHeight" format="dimension">
4866             <!-- The dropdown should fit the height of the screen.
4867                  This constant is deprecated starting from API Level 8 and
4868                  is replaced by {@code match_parent}. -->
4869             <enum name="fill_parent" value="-1" />
4870             <!-- The dropdown should fit the height of the screen.
4871                  Introduced in API Level 8. -->
4872             <enum name="match_parent" value="-1" />
4873             <!-- The dropdown should fit the height of the content. -->
4874             <enum name="wrap_content" value="-2" />
4875         </attr>
4876         <attr name="inputType" />
4877         <!-- Theme to use for the completion popup window. -->
4878         <attr name="popupTheme" />
4879     </declare-styleable>
4880     <declare-styleable name="PopupWindow">
4881         <!-- The background to use for the popup window. -->
4882         <attr name="popupBackground" format="reference|color" />
4883         <!-- Window elevation to use for the popup window. -->
4884         <attr name="popupElevation" format="dimension" />
4885         <!-- The animation style to use for the popup window. -->
4886         <attr name="popupAnimationStyle" format="reference" />
4887         <!-- Whether the popup window should overlap its anchor view. -->
4888         <attr name="overlapAnchor" format="boolean" />
4889         <!-- Transition used to move views into the popup window. -->
4890         <attr name="popupEnterTransition" format="reference" />
4891         <!-- Transition used to move views out of the popup window. -->
4892         <attr name="popupExitTransition" format="reference" />
4893     </declare-styleable>
4894     <declare-styleable name="ListPopupWindow">
4895         <!-- Amount of pixels by which the drop down should be offset vertically. -->
4896         <attr name="dropDownVerticalOffset" format="dimension" />
4897         <!-- Amount of pixels by which the drop down should be offset horizontally. -->
4898         <attr name="dropDownHorizontalOffset" format="dimension" />
4899     </declare-styleable>
4900     <declare-styleable name="ViewAnimator">
4901         <!-- Identifier for the animation to use when a view is shown. -->
4902         <attr name="inAnimation" format="reference" />
4903         <!-- Identifier for the animation to use when a view is hidden. -->
4904         <attr name="outAnimation" format="reference" />
4905         <!-- Defines whether to animate the current View when the ViewAnimation
4906              is first displayed. -->
4907         <attr name="animateFirstView" format="boolean" />
4908     </declare-styleable>
4909     <declare-styleable name="ViewFlipper">
4910         <attr name="flipInterval" format="integer" min="0" />
4911         <!-- When true, automatically start animating. -->
4912         <attr name="autoStart" format="boolean" />
4913     </declare-styleable>
4914     <declare-styleable name="AdapterViewAnimator">
4915         <!-- Identifier for the animation to use when a view is shown. -->
4916         <attr name="inAnimation" />
4917         <!-- Identifier for the animation to use when a view is hidden. -->
4918         <attr name="outAnimation" />
4919         <!--Defines whether the animator loops to the first view once it
4920         has reached the end of the list. -->
4921         <attr name="loopViews" format="boolean" />
4922         <!-- Defines whether to animate the current View when the ViewAnimation
4923         is first displayed. -->
4924         <attr name="animateFirstView" />
4925     </declare-styleable>
4926     <declare-styleable name="AdapterViewFlipper">
4927         <attr name="flipInterval" />
4928         <!-- When true, automatically start animating. -->
4929         <attr name="autoStart" />
4930     </declare-styleable>
4931     <declare-styleable name="ViewSwitcher">
4932     </declare-styleable>
4933     <declare-styleable name="ScrollView">
4934         <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
4935         <attr name="fillViewport" format="boolean" />
4936     </declare-styleable>
4937     <declare-styleable name="HorizontalScrollView">
4938         <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
4939         <attr name="fillViewport" />
4940     </declare-styleable>
4941     <declare-styleable name="Spinner">
4942         <!-- The prompt to display when the spinner's dialog is shown. -->
4943         <attr name="prompt" format="reference" />
4944         <!-- Display mode for spinner options. -->
4945         <attr name="spinnerMode" format="enum">
4946             <!-- Spinner options will be presented to the user as a dialog window. -->
4947             <enum name="dialog" value="0" />
4948             <!-- Spinner options will be presented to the user as an inline dropdown
4949                  anchored to the spinner widget itself. -->
4950             <enum name="dropdown" value="1" />
4951         </attr>
4952         <!-- List selector to use for spinnerMode="dropdown" display. -->
4953         <attr name="dropDownSelector" />
4954         <!-- Theme to use for the drop-down or dialog popup window. -->
4955         <attr name="popupTheme" />
4956         <!-- Background drawable to use for the dropdown in spinnerMode="dropdown". -->
4957         <attr name="popupBackground" />
4958         <!-- Window elevation to use for the dropdown in spinnerMode="dropdown". -->
4959         <attr name="popupElevation" />
4960         <!-- Width of the dropdown in spinnerMode="dropdown". -->
4961         <attr name="dropDownWidth" />
4962         <!-- Reference to a layout to use for displaying a prompt in the dropdown for
4963              spinnerMode="dropdown". This layout must contain a TextView with the id
4964              {@code @android:id/text1} to be populated with the prompt text. -->
4965         <attr name="popupPromptView" format="reference" />
4966         <!-- Gravity setting for positioning the currently selected item. -->
4967         <attr name="gravity" />
4968         <!-- Whether this spinner should mark child views as enabled/disabled when
4969              the spinner itself is enabled/disabled. -->
4970         <attr name="disableChildrenWhenDisabled" format="boolean" />
4971     </declare-styleable>
4972
4973     <declare-styleable name="DatePicker">
4974         <!-- The first day of week according to {@link java.util.Calendar}. -->
4975         <attr name="firstDayOfWeek" />
4976         <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
4977         <attr name="minDate" format="string" />
4978         <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. -->
4979         <attr name="maxDate" format="string" />
4980
4981         <!-- Whether the spinners are shown. Only valid for "spinner" mode. -->
4982         <attr name="spinnersShown" format="boolean" />
4983         <!-- Whether the calendar view is shown. Only valid for "spinner" mode. -->
4984         <attr name="calendarViewShown" format="boolean" />
4985
4986         <!-- @hide The layout of the date picker. -->
4987         <attr name="internalLayout" format="reference"  />
4988         <!-- @hide The layout of the legacy DatePicker. -->
4989         <attr name="legacyLayout" />
4990
4991         <!-- The text color for the selected date header text, ex. "2014" or
4992              "Tue, Mar 18". This should be a color state list where the
4993              activated state will be used when the year picker or day picker is
4994              active.-->
4995         <attr name="headerTextColor" format="color" />
4996         <!-- The background for the selected date header. -->
4997         <attr name="headerBackground" />
4998
4999         <!-- The list year's text appearance in the list.
5000              {@deprecated Use yearListTextColor. }-->
5001         <attr name="yearListItemTextAppearance" format="reference" />
5002         <!-- @hide The list year's text appearance in the list when activated. -->
5003         <attr name="yearListItemActivatedTextAppearance" format="reference" />
5004         <!-- The text color list of the calendar. -->
5005         <attr name="calendarTextColor" format="color" />
5006
5007         <!-- Defines the look of the widget. Prior to the L release, the only choice was
5008              spinner. As of L, with the Material theme selected, the default layout is calendar,
5009              but this attribute can be used to force spinner to be used instead. -->
5010         <attr name="datePickerMode">
5011             <!-- Date picker with spinner controls to select the date. -->
5012             <enum name="spinner" value="1" />
5013             <!-- Date picker with calendar to select the date. -->
5014             <enum name="calendar" value="2" />
5015         </attr>
5016
5017         <!-- The first year (inclusive), for example "1940".
5018              {@deprecated Use minDate instead.} -->
5019         <attr name="startYear" format="integer" />
5020         <!-- The last year (inclusive), for example "2010".
5021              {@deprecated Use maxDate instead.} -->
5022         <attr name="endYear" format="integer" />
5023         <!-- The text appearance for the month (ex. May) in the selected date header.
5024              {@deprecated Use headerTextColor instead.} -->
5025         <attr name="headerMonthTextAppearance" format="reference" />
5026         <!-- The text appearance for the day of month (ex. 28) in the selected date header.
5027              {@deprecated Use headerTextColor instead.} -->
5028         <attr name="headerDayOfMonthTextAppearance" format="reference" />
5029         <!-- The text appearance for the year (ex. 2014) in the selected date header.
5030              {@deprecated Use headerTextColor instead.} -->
5031         <attr name="headerYearTextAppearance" format="reference" />
5032         <!-- The background color for the header's day of week.
5033              {@deprecated No longer displayed.} -->
5034         <attr name="dayOfWeekBackground" format="color" />
5035         <!-- The text color for the header's day of week.
5036              {@deprecated No longer displayed.} -->
5037         <attr name="dayOfWeekTextAppearance" format="reference" />
5038         <!-- The list year's selected circle color in the list.
5039              {@deprecated No longer displayed.} -->
5040         <attr name="yearListSelectorColor" format="color" />
5041
5042         <!-- @hide Whether this time picker is being displayed within a dialog,
5043              in which case it may ignore the requested time picker mode due to
5044              space considerations. -->
5045         <attr name="dialogMode" format="boolean" />
5046     </declare-styleable>
5047
5048     <declare-styleable name="TwoLineListItem">
5049         <attr name="mode">
5050             <!-- Always show only the first line. -->
5051             <enum name="oneLine" value="1" />
5052             <!-- When selected show both lines, otherwise show only the first line.
5053                  This is the default mode. -->
5054             <enum name="collapsing" value="2" />
5055             <!-- Always show both lines. -->
5056             <enum name="twoLine" value="3" />
5057         </attr>
5058     </declare-styleable>
5059
5060     <!-- SlidingDrawer specific attributes. These attributes are used to configure
5061          a SlidingDrawer from XML. -->
5062     <declare-styleable name="SlidingDrawer">
5063         <!-- Identifier for the child that represents the drawer's handle. -->
5064         <attr name="handle" format="reference" />
5065         <!-- Identifier for the child that represents the drawer's content. -->
5066         <attr name="content" format="reference" />
5067         <!-- Orientation of the SlidingDrawer. -->
5068         <attr name="orientation" />
5069         <!-- Extra offset for the handle at the bottom of the SlidingDrawer. -->
5070         <attr name="bottomOffset" format="dimension"  />
5071         <!-- Extra offset for the handle at the top of the SlidingDrawer. -->
5072         <attr name="topOffset" format="dimension"  />
5073         <!-- Indicates whether the drawer can be opened/closed by a single tap
5074              on the handle.  (If false, the user must drag or fling, or click
5075              using the trackball, to open/close the drawer.)  Default is true. -->
5076         <attr name="allowSingleTap" format="boolean" />
5077         <!-- Indicates whether the drawer should be opened/closed with an animation
5078              when the user clicks the handle. Default is true. -->
5079         <attr name="animateOnClick" format="boolean" />
5080     </declare-styleable>
5081
5082     <!-- GestureOverlayView specific attributes. These attributes are used to configure
5083          a GestureOverlayView from XML. -->
5084     <declare-styleable name="GestureOverlayView">
5085         <!-- Width of the stroke used to draw the gesture. -->
5086         <attr name="gestureStrokeWidth" format="float" />
5087         <!-- Color used to draw a gesture. -->
5088         <attr name="gestureColor" format="color" />
5089         <!-- Color used to draw the user's strokes until we are sure it's a gesture. -->
5090         <attr name="uncertainGestureColor" format="color" />
5091         <!-- Time, in milliseconds, to wait before the gesture fades out after the user
5092              is done drawing it. -->
5093         <attr name="fadeOffset" format="integer" />
5094         <!-- Duration, in milliseconds, of the fade out effect after the user is done
5095              drawing a gesture. -->
5096         <attr name="fadeDuration" format="integer" />
5097         <!-- Defines the type of strokes that define a gesture. -->
5098         <attr name="gestureStrokeType">
5099             <!-- A gesture is made of only one stroke. -->
5100             <enum name="single" value="0" />
5101             <!-- A gesture is made of multiple strokes. -->
5102             <enum name="multiple" value="1" />
5103         </attr>
5104         <!-- Minimum length of a stroke before it is recognized as a gesture. -->
5105         <attr name="gestureStrokeLengthThreshold" format="float" />
5106         <!-- Squareness threshold of a stroke before it is recognized as a gesture. -->
5107         <attr name="gestureStrokeSquarenessThreshold" format="float" />
5108         <!-- Minimum curve angle a stroke must contain before it is recognized as a gesture. -->
5109         <attr name="gestureStrokeAngleThreshold" format="float" />
5110         <!-- Defines whether the overlay should intercept the motion events when a gesture
5111              is recognized. -->
5112         <attr name="eventsInterceptionEnabled" format="boolean" />
5113         <!-- Defines whether the gesture will automatically fade out after being recognized. -->
5114         <attr name="fadeEnabled" format="boolean" />
5115         <!-- Indicates whether horizontal (when the orientation is vertical) or vertical
5116              (when orientation is horizontal) strokes automatically define a gesture. -->
5117         <attr name="orientation" />
5118     </declare-styleable>
5119
5120     <declare-styleable name="QuickContactBadge">
5121         <attr name="quickContactWindowSize">
5122             <enum name="modeSmall" value="1" />
5123             <enum name="modeMedium" value="2" />
5124             <enum name="modeLarge" value="3" />
5125         </attr>
5126     </declare-styleable>
5127
5128     <!-- ======================================= -->
5129     <!-- Widget package parent layout attributes -->
5130     <!-- ======================================= -->
5131     <eat-comment />
5132
5133     <declare-styleable name="AbsoluteLayout_Layout">
5134         <attr name="layout_x" format="dimension" />
5135         <attr name="layout_y" format="dimension" />
5136     </declare-styleable>
5137     <declare-styleable name="LinearLayout_Layout">
5138         <attr name="layout_width" />
5139         <attr name="layout_height" />
5140         <!-- Indicates how much of the extra space in the LinearLayout is
5141         allocated to the view associated with these LayoutParams. Specify
5142         0 if the view should not be stretched. Otherwise the extra pixels
5143         will be pro-rated among all views whose weight is greater than 0. -->
5144         <attr name="layout_weight" format="float" />
5145         <!-- Gravity specifies how a component should be placed in its group of cells.
5146         The default is {@link android.view.Gravity#TOP}.
5147         See {@link android.widget.LinearLayout#setGravity(int)}. -->
5148         <attr name="layout_gravity" />
5149     </declare-styleable>
5150     <declare-styleable name="GridLayout_Layout">
5151         <!-- The row boundary delimiting the top of the group of cells
5152         occupied by this view. -->
5153         <attr name="layout_row" format="integer" />
5154         <!-- The row span: the difference between the top and bottom
5155         boundaries delimiting the group of cells occupied by this view.
5156         The default is one.
5157         See {@link android.widget.GridLayout.Spec}. -->
5158         <attr name="layout_rowSpan" format="integer" min="1" />
5159         <!-- The relative proportion of vertical space that should be allocated to this view
5160         during excess space distribution. -->
5161         <attr name="layout_rowWeight" format="float" />
5162         <!-- The column boundary delimiting the left of the group of cells
5163         occupied by this view. -->
5164         <attr name="layout_column" />
5165         <!-- The column span: the difference between the right and left
5166         boundaries delimiting the group of cells occupied by this view.
5167         The default is one.
5168         See {@link android.widget.GridLayout.Spec}. -->
5169         <attr name="layout_columnSpan" format="integer" min="1" />
5170         <!-- The relative proportion of horizontal space that should be allocated to this view
5171         during excess space distribution. -->
5172         <attr name="layout_columnWeight" format="float" />
5173         <!-- Gravity specifies how a component should be placed in its group of cells.
5174         The default is LEFT | BASELINE.
5175         See {@link android.widget.GridLayout.LayoutParams#setGravity(int)}. -->
5176         <attr name="layout_gravity" />
5177     </declare-styleable>
5178     <declare-styleable name="FrameLayout_Layout">
5179         <attr name="layout_gravity" />
5180     </declare-styleable>
5181     <declare-styleable name="RelativeLayout_Layout">
5182         <!-- Positions the right edge of this view to the left of the given anchor view ID.
5183              Accommodates right margin of this view and left margin of anchor view. -->
5184         <attr name="layout_toLeftOf" format="reference" />
5185         <!-- Positions the left edge of this view to the right of the given anchor view ID.
5186             Accommodates left margin of this view and right margin of anchor view. -->
5187         <attr name="layout_toRightOf" format="reference" />
5188         <!-- Positions the bottom edge of this view above the given anchor view ID.
5189             Accommodates bottom margin of this view and top margin of anchor view. -->
5190         <attr name="layout_above" format="reference" />
5191         <!-- Positions the top edge of this view below the given anchor view ID.
5192             Accommodates top margin of this view and bottom margin of anchor view. -->
5193         <attr name="layout_below" format="reference" />
5194         <!-- Positions the baseline of this view on the baseline of the given anchor view ID. -->
5195         <attr name="layout_alignBaseline" format="reference" />
5196         <!-- Makes the left edge of this view match the left edge of the given anchor view ID.
5197             Accommodates left margin. -->
5198         <attr name="layout_alignLeft" format="reference" />
5199         <!-- Makes the top edge of this view match the top edge of the given anchor view ID.
5200             Accommodates top margin. -->
5201         <attr name="layout_alignTop" format="reference" />
5202         <!-- Makes the right edge of this view match the right edge of the given anchor view ID.
5203             Accommodates right margin. -->
5204         <attr name="layout_alignRight" format="reference" />
5205         <!-- Makes the bottom edge of this view match the bottom edge of the given anchor view ID.
5206             Accommodates bottom margin. -->
5207         <attr name="layout_alignBottom" format="reference" />
5208         <!-- If true, makes the left edge of this view match the left edge of the parent.
5209             Accommodates left margin. -->
5210         <attr name="layout_alignParentLeft" format="boolean" />
5211         <!-- If true, makes the top edge of this view match the top edge of the parent.
5212             Accommodates top margin. -->
5213         <attr name="layout_alignParentTop" format="boolean" />
5214         <!-- If true, makes the right edge of this view match the right edge of the parent.
5215             Accommodates right margin. -->
5216         <attr name="layout_alignParentRight" format="boolean" />
5217         <!-- If true, makes the bottom edge of this view match the bottom edge of the parent.
5218             Accommodates bottom margin. -->
5219         <attr name="layout_alignParentBottom" format="boolean" />
5220         <!-- If true, centers this child horizontally and vertically within its parent. -->
5221         <attr name="layout_centerInParent" format="boolean" />
5222         <!-- If true, centers this child horizontally within its parent. -->
5223         <attr name="layout_centerHorizontal" format="boolean" />
5224         <!-- If true, centers this child vertically within its parent. -->
5225         <attr name="layout_centerVertical" format="boolean" />
5226         <!-- If set to true, the parent will be used as the anchor when the anchor cannot be
5227              be found for layout_toLeftOf, layout_toRightOf, etc. -->
5228         <attr name="layout_alignWithParentIfMissing" format="boolean" />
5229         <!-- Positions the end edge of this view to the start of the given anchor view ID.
5230              Accommodates end margin of this view and start margin of anchor view. -->
5231         <attr name="layout_toStartOf" format="reference" />
5232         <!-- Positions the start edge of this view to the end of the given anchor view ID.
5233              Accommodates start margin of this view and end margin of anchor view. -->
5234         <attr name="layout_toEndOf" format="reference" />
5235         <!-- Makes the start edge of this view match the start edge of the given anchor view ID.
5236             Accommodates start margin. -->
5237         <attr name="layout_alignStart" format="reference" />
5238         <!-- Makes the end edge of this view match the end edge of the given anchor view ID.
5239             Accommodates end margin. -->
5240         <attr name="layout_alignEnd" format="reference" />
5241         <!-- If true, makes the start edge of this view match the start edge of the parent.
5242             Accommodates start margin. -->
5243         <attr name="layout_alignParentStart" format="boolean" />
5244         <!-- If true, makes the end edge of this view match the end edge of the parent.
5245             Accommodates end margin. -->
5246         <attr name="layout_alignParentEnd" format="boolean" />
5247     </declare-styleable>
5248     <declare-styleable name="VerticalSlider_Layout">
5249         <attr name="layout_scale" format="float" />
5250     </declare-styleable>
5251
5252     <!-- @hide -->
5253     <declare-styleable name="WeightedLinearLayout">
5254         <attr name="majorWeightMin" format="float" />
5255         <attr name="minorWeightMin" format="float" />
5256         <attr name="majorWeightMax" format="float" />
5257         <attr name="minorWeightMax" format="float" />
5258     </declare-styleable>
5259
5260     <declare-styleable name="CalendarView">
5261         <!-- The first day of week according to {@link java.util.Calendar}. -->
5262         <attr name="firstDayOfWeek" format="integer" />
5263         <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
5264         <attr name="minDate" />
5265         <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. -->
5266         <attr name="maxDate" />
5267         <!-- The text appearance for the month and year in the calendar header. -->
5268         <attr name="monthTextAppearance" format="reference" />
5269         <!-- The text appearance for the week day abbreviation in the calendar header. -->
5270         <attr name="weekDayTextAppearance" format="reference" />
5271         <!-- The text appearance for the day numbers in the calendar grid. -->
5272         <attr name="dateTextAppearance" format="reference" />
5273         <!-- @hide The background color used for the day selection indicator. -->
5274         <attr name="daySelectorColor" format="color" />
5275         <!-- @hide The background color used for the day highlight indicator. -->
5276         <attr name="dayHighlightColor" format="color" />
5277         <!-- @hide Which style of calendar delegate to use. -->
5278         <attr name="calendarViewMode">
5279             <enum name="holo" value="0" />
5280             <enum name="material" value="1" />
5281         </attr>
5282
5283         <!-- @deprecated Whether do show week numbers. -->
5284         <attr name="showWeekNumber" format="boolean" />
5285         <!-- @deprecated The number of weeks to be shown. -->
5286         <attr name="shownWeekCount" format="integer"/>
5287         <!-- @deprecated The background color for the selected week. -->
5288         <attr name="selectedWeekBackgroundColor" format="color|reference" />
5289         <!-- @deprecated The color for the dates of the focused month. -->
5290         <attr name="focusedMonthDateColor" format="color|reference" />
5291         <!-- @deprecated The color for the dates of an unfocused month. -->
5292         <attr name="unfocusedMonthDateColor" format="color|reference" />
5293         <!-- @deprecated The color for the week numbers. -->
5294         <attr name="weekNumberColor" format="color|reference" />
5295         <!-- @deprecated The color for the separator line between weeks. -->
5296         <attr name="weekSeparatorLineColor" format="color|reference" />
5297         <!-- @deprecated Drawable for the vertical bar shown at the beginning and at the end of the selected date. -->
5298         <attr name="selectedDateVerticalBar" format="reference" />
5299     </declare-styleable>
5300
5301     <declare-styleable name="NumberPicker">
5302         <!-- @hide Color for the solid color background if such for optimized rendering. -->
5303         <attr name="solidColor" format="color|reference" />
5304         <!-- @hide The divider for making the selection area. -->
5305         <attr name="selectionDivider" format="reference" />
5306         <!-- @hide The height of the selection divider. -->
5307         <attr name="selectionDividerHeight" format="dimension" />
5308         <!-- @hide The distance between the two selection dividers. -->
5309         <attr name="selectionDividersDistance" format="dimension" />
5310         <!-- @hide The min height of the NumberPicker. -->
5311         <attr name="internalMinHeight" format="dimension" />
5312         <!-- @hide The max height of the NumberPicker. -->
5313         <attr name="internalMaxHeight" format="dimension" />
5314         <!-- @hide The min width of the NumberPicker. -->
5315         <attr name="internalMinWidth" format="dimension" />
5316         <!-- @hide The max width of the NumberPicker. -->
5317         <attr name="internalMaxWidth" format="dimension" />
5318         <!-- @hide The layout of the number picker. -->
5319         <attr name="internalLayout" />
5320         <!-- @hide The drawable for pressed virtual (increment/decrement) buttons. -->
5321         <attr name="virtualButtonPressedDrawable" format="reference"/>
5322         <!-- @hide If true then the selector wheel is hidden until the picker has focus. -->
5323         <attr name="hideWheelUntilFocused" format="boolean"/>
5324     </declare-styleable>
5325
5326     <declare-styleable name="TimePicker">
5327         <!-- @hide The layout of the legacy time picker. -->
5328         <attr name="legacyLayout" format="reference" />
5329         <!-- @hide The layout of the time picker. -->
5330         <attr name="internalLayout" />
5331
5332         <!-- The text color for the selected time header text, ex. "12" or
5333              "PM". This should be a color state list where the activated state
5334              will be used when the minute picker or hour picker is active.-->
5335         <attr name="headerTextColor" />
5336         <!-- The background for the header containing the currently selected time. -->
5337         <attr name="headerBackground" />
5338
5339         <!-- The color for the hours/minutes numbers. This should be a color
5340              state list where the activated state will be used when the number
5341              is active.-->
5342         <attr name="numbersTextColor" format="color" />
5343         <!-- The color for the inner hours numbers used in 24-hour mode. This
5344              should be a color state list where the activated state will be
5345              used when the number is active.-->
5346         <attr name="numbersInnerTextColor" format="color" />
5347         <!-- The background color for the hours/minutes numbers. -->
5348         <attr name="numbersBackgroundColor" format="color" />
5349         <!-- The color for the hours/minutes selector. -->
5350         <attr name="numbersSelectorColor" format="color" />
5351
5352         <!-- Defines the look of the widget. Prior to the L release, the only choice was
5353              spinner. As of L, with the Material theme selected, the default layout is clock,
5354              but this attribute can be used to force spinner to be used instead. -->
5355         <attr name="timePickerMode">
5356             <!-- Time picker with spinner controls to select the time. -->
5357             <enum name="spinner" value="1" />
5358             <!-- Time picker with clock face to select the time. -->
5359             <enum name="clock" value="2" />
5360         </attr>
5361
5362         <!-- The text appearance for the AM/PM header.
5363              @deprecated Use headerTextColor instead. -->
5364         <attr name="headerAmPmTextAppearance" format="reference" />
5365         <!-- The text appearance for the time header.
5366              @deprecated Use headerTextColor instead. -->
5367         <attr name="headerTimeTextAppearance" format="reference" />
5368         <!-- The color for the AM/PM selectors.
5369              {@deprecated Use headerTextColor instead.}-->
5370         <attr name="amPmTextColor" format="color" />
5371         <!-- The background color state list for the AM/PM selectors.
5372              {@deprecated Use headerBackground instead.}-->
5373         <attr name="amPmBackgroundColor" format="color" />
5374
5375         <!-- @hide Whether this time picker is being displayed within a dialog,
5376              in which case it may ignore the requested time picker mode due to
5377              space considerations. -->
5378         <attr name="dialogMode" />
5379     </declare-styleable>
5380
5381     <!-- ========================= -->
5382     <!-- Drawable class attributes -->
5383     <!-- ========================= -->
5384     <eat-comment />
5385
5386     <!-- Base attributes that are available to all Drawable objects. -->
5387     <declare-styleable name="Drawable">
5388         <!-- Provides initial visibility state of the drawable; the default
5389              value is false.  See
5390              {@link android.graphics.drawable.Drawable#setVisible}. -->
5391         <attr name="visible" format="boolean" />
5392         <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5393              RTL (right-to-left).  See
5394              {@link android.graphics.drawable.Drawable#setAutoMirrored}. -->
5395         <attr name="autoMirrored" format="boolean" />
5396     </declare-styleable>
5397
5398     <!-- Drawable class used to wrap other drawables. -->
5399     <declare-styleable name="DrawableWrapper">
5400         <!-- The wrapped drawable. -->
5401         <attr name="drawable" />
5402     </declare-styleable>
5403
5404     <!-- Drawable used to render several states. Each state is represented by
5405          a child drawable. -->
5406     <declare-styleable name="StateListDrawable">
5407         <!-- Indicates whether the drawable should be initially visible. -->
5408         <attr name="visible" />
5409         <!-- If true, allows the drawable's padding to change based on the
5410              current state that is selected.  If false, the padding will
5411              stay the same (based on the maximum padding of all the states).
5412              Enabling this feature requires that the owner of the drawable
5413              deal with performing layout when the state changes, which is
5414              often not supported. -->
5415         <attr name="variablePadding" format="boolean" />
5416         <!-- If true, the drawable's reported internal size will remain
5417              constant as the state changes; the size is the maximum of all
5418              of the states.  If false, the size will vary based on the
5419              current state. -->
5420         <attr name="constantSize" format="boolean" />
5421         <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5422              same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5423              an RGB 565 screen). -->
5424         <attr name="dither" format="boolean" />
5425         <!-- Amount of time (in milliseconds) to fade in a new state drawable. -->
5426         <attr name="enterFadeDuration" format="integer" />
5427         <!-- Amount of time (in milliseconds) to fade out an old state drawable. -->
5428         <attr name="exitFadeDuration" format="integer" />
5429         <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5430              RTL (right-to-left). -->
5431         <attr name="autoMirrored"/>
5432     </declare-styleable>
5433
5434     <!-- Drawable used to render several states with animated transitions. Each state
5435          is represented by a child drawable with an optional keyframe ID. -->
5436     <declare-styleable name="AnimatedStateListDrawable">
5437         <!-- Indicates whether the drawable should be initially visible. -->
5438         <attr name="visible" />
5439         <!-- If true, allows the drawable's padding to change based on the
5440              current state that is selected.  If false, the padding will
5441              stay the same (based on the maximum padding of all the states).
5442              Enabling this feature requires that the owner of the drawable
5443              deal with performing layout when the state changes, which is
5444              often not supported. -->
5445         <attr name="variablePadding" />
5446         <!-- If true, the drawable's reported internal size will remain
5447              constant as the state changes; the size is the maximum of all
5448              of the states.  If false, the size will vary based on the
5449              current state. -->
5450         <attr name="constantSize" />
5451         <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5452              same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5453              an RGB 565 screen). -->
5454         <attr name="dither" />
5455         <!-- Amount of time (in milliseconds) to fade in a new state drawable. -->
5456         <attr name="enterFadeDuration" />
5457         <!-- Amount of time (in milliseconds) to fade out an old state drawable. -->
5458         <attr name="exitFadeDuration" />
5459         <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5460              RTL (right-to-left). -->
5461         <attr name="autoMirrored"/>
5462     </declare-styleable>
5463
5464     <!-- Represents a single state inside a StateListDrawable. -->
5465     <declare-styleable name="StateListDrawableItem">
5466         <!-- Reference to a drawable resource to use for the state. If not
5467              given, the drawable must be defined by the first child tag. -->
5468         <attr name="drawable" />
5469     </declare-styleable>
5470
5471     <!-- Transition used to animate between states with keyframe IDs. -->
5472     <declare-styleable name="AnimatedStateListDrawableItem">
5473         <!-- Reference to a drawable resource to use for the frame.  If not
5474              given, the drawable must be defined by the first child tag. -->
5475         <attr name="drawable" />
5476         <!-- Keyframe identifier for use in specifying transitions. -->
5477         <attr name="id" />
5478     </declare-styleable>
5479
5480     <!-- Transition used to animate between states with keyframe IDs. -->
5481     <declare-styleable name="AnimatedStateListDrawableTransition">
5482         <!-- Keyframe identifier for the starting state. -->
5483         <attr name="fromId" format="reference" />
5484         <!-- Keyframe identifier for the ending state. -->
5485         <attr name="toId" format="reference" />
5486         <!-- Reference to a animation drawable resource to use for the frame.  If not
5487              given, the animation drawable must be defined by the first child tag. -->
5488         <attr name="drawable" />
5489         <!-- Whether this transition is reversible. -->
5490         <attr name="reversible" format="boolean" />
5491     </declare-styleable>
5492
5493     <!-- Drawable used to render several animated frames. -->
5494     <declare-styleable name="AnimationDrawable">
5495         <attr name="visible" />
5496         <attr name="variablePadding" />
5497         <!-- If true, the animation will only run a single time and then
5498              stop.  If false (the default), it will continually run,
5499              restarting at the first frame after the last has finished. -->
5500         <attr name="oneshot" format="boolean" />
5501     </declare-styleable>
5502
5503     <!-- Represents a single frame inside an AnimationDrawable. -->
5504     <declare-styleable name="AnimationDrawableItem">
5505         <!-- Amount of time (in milliseconds) to display this frame. -->
5506         <attr name="duration" format="integer" />
5507         <!-- Reference to a drawable resource to use for the frame.  If not
5508              given, the drawable must be defined by the first child tag. -->
5509         <attr name="drawable" format="reference" />
5510     </declare-styleable>
5511
5512     <!-- Attributes that can be assigned to a StateListAnimator item. -->
5513     <declare-styleable name="StateListAnimatorItem">
5514         <attr name="animation"/>
5515     </declare-styleable>
5516
5517     <!-- Attributes that can be assigned to a ColorStateList item. -->
5518     <declare-styleable name="ColorStateListItem">
5519         <!-- Base color for this state. -->
5520         <attr name="color" />
5521         <!-- Alpha multiplier applied to the base color. -->
5522         <attr name="alpha" />
5523     </declare-styleable>
5524
5525     <!-- Drawable used to render according to the animation scale. Esp. when it is 0 due to battery
5526          saver mode. It should contain one animatable drawable and one static drawable.
5527          @hide -->
5528     <declare-styleable name="AnimationScaleListDrawable">
5529     </declare-styleable>
5530
5531     <!-- Attributes that can be assigned to a AnimationScaleListDrawable item.
5532          @hide -->
5533     <declare-styleable name="AnimationScaleListDrawableItem">
5534         <!-- Reference to a drawable resource to use for the state. If not
5535              given, the drawable must be defined by the first child tag. -->
5536         <attr name="drawable" />
5537     </declare-styleable>
5538
5539
5540     <!-- Drawable used to render a geometric shape, with a gradient or a solid color. -->
5541     <declare-styleable name="GradientDrawable">
5542         <!-- Indicates whether the drawable should intially be visible. -->
5543         <attr name="visible" />
5544         <!-- Enables or disables dithering. -->
5545         <attr name="dither" />
5546         <!-- Indicates what shape to fill with a gradient. -->
5547         <attr name="shape">
5548             <!-- Rectangle shape, with optional rounder corners. -->
5549             <enum name="rectangle" value="0" />
5550             <!-- Oval shape. -->
5551             <enum name="oval" value="1" />
5552             <!-- Line shape. -->
5553             <enum name="line" value="2" />
5554             <!-- Ring shape. -->
5555             <enum name="ring" value="3" />
5556         </attr>
5557         <!-- Inner radius of the ring expressed as a ratio of the ring's width. For instance,
5558              if innerRadiusRatio=9, then the inner radius equals the ring's width divided by 9.
5559              This value is ignored if innerRadius is defined. Default value is 9. -->
5560         <attr name="innerRadiusRatio" format="float" />
5561         <!-- Thickness of the ring expressed as a ratio of the ring's width. For instance,
5562              if thicknessRatio=3, then the thickness equals the ring's width divided by 3.
5563              This value is ignored if innerRadius is defined. Default value is 3. -->
5564         <attr name="thicknessRatio" format="float" />
5565         <!-- Inner radius of the ring. When defined, innerRadiusRatio is ignored. -->
5566         <attr name="innerRadius" format="dimension" />
5567         <!-- Thickness of the ring. When defined, thicknessRatio is ignored. -->
5568         <attr name="thickness" format="dimension" />
5569         <!-- Whether the drawable level value (see
5570              {@link android.graphics.drawable.Drawable#getLevel()}) is used to scale the shape.
5571              Scaling behavior depends on the shape type. For "ring", the angle is scaled from 0 to
5572              360. For all other types, there is no effect. The default value is true. -->
5573         <attr name="useLevel" />
5574         <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5575              no tint is applied. May be a color state list. -->
5576         <attr name="tint" />
5577         <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5578              default value is src_in, which treats the drawable as an alpha mask. -->
5579         <attr name="tintMode" />
5580         <!-- Left optical inset.
5581              @hide Until optical insets are fully supported. -->
5582         <attr name="opticalInsetLeft" />
5583         <!-- Top optical inset.
5584              @hide Until optical insets are fully supported. -->
5585         <attr name="opticalInsetTop" />
5586         <!-- Right optical inset.
5587              @hide Until optical insets are fully supported. -->
5588         <attr name="opticalInsetRight" />
5589         <!-- Bottom optical inset.
5590              @hide Until optical insets are fully supported. -->
5591         <attr name="opticalInsetBottom" />
5592     </declare-styleable>
5593
5594     <!-- Used to specify the size of the shape for GradientDrawable. -->
5595     <declare-styleable name="GradientDrawableSize">
5596         <!-- Width of the gradient shape. -->
5597         <attr name="width" />
5598         <!-- Height of the gradient shape. -->
5599         <attr name="height" />
5600     </declare-styleable>
5601
5602     <!-- Used to describe the gradient used to fill the shape of a GradientDrawable. -->
5603     <declare-styleable name="GradientDrawableGradient">
5604         <!-- Start color of the gradient. -->
5605         <attr name="startColor" format="color" />
5606         <!-- Optional center color. For linear gradients, use centerX or centerY to place the center
5607              color. -->
5608         <attr name="centerColor" format="color" />
5609         <!-- End color of the gradient. -->
5610         <attr name="endColor" format="color" />
5611         <!-- Whether the drawable level value (see
5612              {@link android.graphics.drawable.Drawable#getLevel()}) is used to scale the gradient.
5613              Scaling behavior varies based on gradient type. For "linear", adjusts the ending
5614              position along the gradient's axis of orientation. For "radial", adjusts the outer
5615              radius. For "sweep", adjusts the ending angle. The default value is false. -->
5616         <attr name="useLevel" format="boolean" />
5617         <!-- Angle of the gradient, used only with linear gradient. Must be a multiple of 45 in the
5618              range [0, 315]. -->
5619         <attr name="angle" format="float" />
5620         <!-- Type of gradient. The default type is linear. -->
5621         <attr name="type">
5622             <!-- Linear gradient extending across the center point. -->
5623             <enum name="linear" value="0" />
5624             <!-- Radial gradient extending from the center point outward. -->
5625             <enum name="radial" value="1" />
5626             <!-- Sweep (or angular) gradient sweeping counter-clockwise around the center point. -->
5627             <enum name="sweep"  value="2" />
5628         </attr>
5629         <!-- X-position of the center point of the gradient within the shape as a fraction of the
5630              width. The default value is 0.5. -->
5631         <attr name="centerX" format="float|fraction" />
5632         <!-- Y-position of the center point of the gradient within the shape as a fraction of the
5633              height. The default value is 0.5. -->
5634         <attr name="centerY" format="float|fraction" />
5635         <!-- Radius of the gradient, used only with radial gradient. May be an explicit dimension
5636              or a fractional value relative to the shape's minimum dimension. -->
5637         <attr name="gradientRadius" format="float|fraction|dimension" />
5638     </declare-styleable>
5639
5640     <!-- Used to fill the shape of GradientDrawable with a solid color. -->
5641     <declare-styleable name="GradientDrawableSolid">
5642         <!-- Solid color for the gradient shape. -->
5643         <attr name="color" format="color" />
5644     </declare-styleable>
5645
5646     <!-- Used to describe the optional stroke of a GradientDrawable. -->
5647     <declare-styleable name="GradientDrawableStroke">
5648         <!-- Width of the gradient shape's stroke. -->
5649         <attr name="width" />
5650         <!-- Color of the gradient shape's stroke. -->
5651         <attr name="color" />
5652         <!-- Length of a dash in the stroke. -->
5653         <attr name="dashWidth" format="dimension" />
5654         <!-- Gap between dashes in the stroke. -->
5655         <attr name="dashGap" format="dimension" />
5656     </declare-styleable>
5657
5658     <!-- Describes the corners for the rectangle shape of a GradientDrawable.
5659          This can be used to render rounded corners. -->
5660     <declare-styleable name="DrawableCorners">
5661         <!-- Defines the radius of the four corners. -->
5662         <attr name="radius" format="dimension" />
5663         <!-- Radius of the top left corner. -->
5664         <attr name="topLeftRadius" format="dimension" />
5665         <!-- Radius of the top right corner. -->
5666         <attr name="topRightRadius" format="dimension" />
5667         <!-- Radius of the bottom left corner. -->
5668         <attr name="bottomLeftRadius" format="dimension" />
5669         <!-- Radius of the bottom right corner. -->
5670         <attr name="bottomRightRadius" format="dimension" />
5671     </declare-styleable>
5672
5673     <!-- Used to specify the optional padding of a GradientDrawable. -->
5674     <declare-styleable name="GradientDrawablePadding">
5675         <!-- Amount of left padding inside the gradient shape. -->
5676         <attr name="left" format="dimension" />
5677         <!-- Amount of top padding inside the gradient shape. -->
5678         <attr name="top" format="dimension" />
5679         <!-- Amount of right padding inside the gradient shape. -->
5680         <attr name="right" format="dimension" />
5681         <!-- Amount of bottom padding inside the gradient shape. -->
5682         <attr name="bottom" format="dimension" />
5683     </declare-styleable>
5684
5685     <!-- Drawable used to render several drawables stacked on top of each other.
5686          Each child drawable can be controlled individually. -->
5687     <declare-styleable name="LayerDrawable">
5688         <!-- Indicates the opacity of the layer. This can be useful to allow the
5689               system to enable drawing optimizations. The default value is
5690               translucent. -->
5691         <attr name="opacity">
5692             <!-- Indicates that the layer is opaque and contains no transparent
5693                  nor translucent pixels. -->
5694             <enum name="opaque" value="-1" />
5695             <!-- The layer is completely transparent (no pixel will be drawn). -->
5696             <enum name="transparent" value="-2" />
5697             <!-- The layer has translucent pixels. -->
5698             <enum name="translucent" value="-3" />
5699         </attr>
5700         <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5701              RTL (right-to-left). -->
5702         <attr name="autoMirrored" />
5703         <!-- Indicates how layer padding should affect the bounds of subsequent layers.
5704              The default padding mode value is nest. -->
5705         <attr name="paddingMode">
5706             <!-- Nest each layer inside the padding of the previous layer. -->
5707             <enum name="nest" value="0" />
5708             <!-- Stack each layer directly atop the previous layer. -->
5709             <enum name="stack" value="1" />
5710         </attr>
5711         <!-- Explicit top padding. Overrides child padding. -->
5712         <attr name="paddingTop" />
5713         <!-- Explicit bottom padding. Overrides child padding. -->
5714         <attr name="paddingBottom" />
5715         <!-- Explicit left padding. Overrides child padding. -->
5716         <attr name="paddingLeft" />
5717         <!-- Explicit right padding. Overrides child padding. -->
5718         <attr name="paddingRight" />
5719         <!-- Explicit start padding. Overrides child padding. Takes precedence
5720              over absolute padding (for example, left when layout direction is LTR). -->
5721         <attr name="paddingStart" />
5722         <!-- Explicit end padding. Overrides child padding. Takes precedence
5723              over absolute padding (for example, right when layout direction is LTR). -->
5724         <attr name="paddingEnd" />
5725     </declare-styleable>
5726
5727     <!-- Describes an item (or child) of a LayerDrawable. -->
5728     <declare-styleable name="LayerDrawableItem">
5729         <!-- Left inset to apply to the layer. -->
5730         <attr name="left" />
5731         <!-- Top inset to apply to the layer. -->
5732         <attr name="top" />
5733         <!-- Right inset to apply to the layer. -->
5734         <attr name="right" />
5735         <!-- Bottom inset to apply to the layer. -->
5736         <attr name="bottom" />
5737         <!-- Start inset to apply to the layer. Overrides {@code left} or
5738              {@code right} depending on layout direction. -->
5739         <attr name="start" format="dimension" />
5740         <!-- End inset to apply to the layer. Overrides {@code left} or
5741              {@code right} depending on layout direction. -->
5742         <attr name="end" format="dimension" />
5743         <!-- Width of the layer. Defaults to the layer's intrinsic width. -->
5744         <attr name="width" />
5745         <!-- Height of the layer. Defaults to the layer's intrinsic height. -->
5746         <attr name="height" />
5747         <!-- Gravity used to align the layer within its container. If no value
5748              is specified, the default behavior depends on whether an explicit
5749              width or height has been set, If no dimension is set, gravity in
5750              that direction defaults to {@code fill_horizontal} or
5751              {@code fill_vertical}; otherwise, it defaults to {@code left} or
5752              {@code top}. -->
5753         <attr name="gravity" />
5754         <!-- Drawable used to render the layer. -->
5755         <attr name="drawable" />
5756         <!-- Identifier of the layer. This can be used to retrieve the layer
5757              from a drawable container. -->
5758         <attr name="id" />
5759     </declare-styleable>
5760
5761     <declare-styleable name="LevelListDrawableItem">
5762         <!-- The minimum level allowed for this item. -->
5763         <attr name="minLevel" format="integer" />
5764         <!-- The maximum level allowed for this item. -->
5765         <attr name="maxLevel" format="integer" />
5766         <attr name="drawable" />
5767     </declare-styleable>
5768
5769     <!-- Drawable used to rotate another drawable. -->
5770     <declare-styleable name="RotateDrawable">
5771         <attr name="visible" />
5772         <attr name="fromDegrees" format="float" />
5773         <attr name="toDegrees" format="float" />
5774         <attr name="pivotX" format="float|fraction" />
5775         <attr name="pivotY" format="float|fraction" />
5776         <attr name="drawable" />
5777     </declare-styleable>
5778
5779     <declare-styleable name="AnimatedRotateDrawable">
5780         <attr name="visible" />
5781         <attr name="frameDuration" format="integer" />
5782         <attr name="framesCount" format="integer" />
5783         <attr name="pivotX" />
5784         <attr name="pivotY" />
5785         <attr name="drawable" />
5786     </declare-styleable>
5787
5788     <!-- Drawable used to render the Material progress indicator. -->
5789     <declare-styleable name="MaterialProgressDrawable">
5790         <attr name="visible" />
5791         <attr name="thickness" />
5792         <attr name="innerRadius" />
5793         <attr name="width" />
5794         <attr name="height" />
5795         <attr name="color" />
5796     </declare-styleable>
5797
5798     <!-- Drawable used to wrap and inset another drawable. -->
5799     <declare-styleable name="InsetDrawable">
5800         <attr name="visible" />
5801         <attr name="drawable" />
5802         <attr name="inset"  format="fraction|dimension"/>
5803         <attr name="insetLeft" format="fraction|dimension" />
5804         <attr name="insetRight" format="fraction|dimension" />
5805         <attr name="insetTop" format="fraction|dimension" />
5806         <attr name="insetBottom" format="fraction|dimension" />
5807     </declare-styleable>
5808
5809     <!-- Drawable used to draw bitmaps. -->
5810     <declare-styleable name="BitmapDrawable">
5811         <!-- Identifier of the bitmap file. This attribute is mandatory. -->
5812         <attr name="src" />
5813         <!-- Enables or disables antialiasing. Antialiasing can be used to smooth the
5814              edges of a bitmap when rotated. Default value is false. -->
5815         <attr name="antialias" format="boolean" />
5816         <!-- Enables or disables bitmap filtering. Filtering is used when the bitmap is
5817              shrunk or stretched to smooth its apperance. Default value is true. -->
5818         <attr name="filter" format="boolean" />
5819         <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5820              same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5821              an RGB 565 screen). Default value is true. -->
5822         <attr name="dither" />
5823         <!-- Defines the gravity for the bitmap. The gravity indicates where to position
5824              the drawable in its container if the bitmap is smaller than the container. -->
5825         <attr name="gravity" />
5826         <!-- Defines the tile mode. When the tile mode is enabled, the bitmap is repeated.
5827              Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5828         <attr name="tileMode">
5829             <!-- Do not tile the bitmap. This is the default value. -->
5830             <enum name="disabled" value="-1" />
5831             <!-- Replicates the edge color. -->
5832             <enum name="clamp" value="0" />
5833             <!-- Repeats the bitmap in both direction. -->
5834             <enum name="repeat" value="1" />
5835             <!-- Repeats the shader's image horizontally and vertically, alternating
5836                  mirror images so that adjacent images always seam. -->
5837             <enum name="mirror" value="2" />
5838         </attr>
5839         <!-- Defines the horizontal tile mode. When the tile mode is enabled, the bitmap is repeated.
5840              Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5841         <attr name="tileModeX">
5842             <!-- Do not tile the bitmap. This is the default value. -->
5843             <enum name="disabled" value="-1" />
5844             <!-- Replicates the edge color. -->
5845             <enum name="clamp" value="0" />
5846             <!-- Repeats the bitmap horizontally. -->
5847             <enum name="repeat" value="1" />
5848             <!-- Repeats the shader's image horizontally, alternating
5849                  mirror images so that adjacent images always seam. -->
5850             <enum name="mirror" value="2" />
5851         </attr>
5852         <!-- Defines the vertical tile mode. When the tile mode is enabled, the bitmap is repeated.
5853              Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5854         <attr name="tileModeY">
5855             <!-- Do not tile the bitmap. This is the default value. -->
5856             <enum name="disabled" value="-1" />
5857             <!-- Replicates the edge color. -->
5858             <enum name="clamp" value="0" />
5859             <!-- Repeats the bitmap vertically. -->
5860             <enum name="repeat" value="1" />
5861             <!-- Repeats the shader's image vertically, alternating
5862                  mirror images so that adjacent images always seam. -->
5863             <enum name="mirror" value="2" />
5864         </attr>
5865         <!-- Enables or disables the mipmap hint. See
5866             {@link android.graphics.Bitmap#setHasMipMap(boolean)} for more information.
5867             Default value is false. -->
5868         <attr name="mipMap" format="boolean" />
5869         <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5870              RTL (right-to-left). -->
5871         <attr name="autoMirrored" />
5872         <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5873              no tint is applied. May be a color state list. -->
5874         <attr name="tint" />
5875         <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5876              default value is src_in, which treats the drawable as an alpha mask. -->
5877         <attr name="tintMode">
5878             <!-- The tint is drawn on top of the drawable.
5879                  [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
5880             <enum name="src_over" value="3" />
5881             <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
5882                  color channels are thrown out. [Sa * Da, Sc * Da] -->
5883             <enum name="src_in" value="5" />
5884             <!-- The tint is drawn above the drawable, but with the drawable’s alpha
5885                  channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
5886             <enum name="src_atop" value="9" />
5887             <!-- Multiplies the color and alpha channels of the drawable with those of
5888                  the tint. [Sa * Da, Sc * Dc] -->
5889             <enum name="multiply" value="14" />
5890             <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
5891             <enum name="screen" value="15" />
5892             <!-- Combines the tint and drawable color and alpha channels, clamping the
5893                  result to valid color values. Saturate(S + D) -->
5894             <enum name="add" value="16" />
5895         </attr>
5896         <!-- Specifies the alpha multiplier to apply to the base drawable. -->
5897         <attr name="alpha" />
5898     </declare-styleable>
5899
5900     <!-- Drawable used to draw 9-patches. -->
5901     <declare-styleable name="NinePatchDrawable">
5902         <!-- Identifier of the bitmap file. This attribute is mandatory. -->
5903         <attr name="src" />
5904         <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5905              same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5906              an RGB 565 screen). -->
5907         <attr name="dither" />
5908         <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5909              RTL (right-to-left). -->
5910         <attr name="autoMirrored" />
5911         <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5912              no tint is applied. May be a color state list. -->
5913         <attr name="tint" />
5914         <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5915              default value is src_in, which treats the drawable as an alpha mask. -->
5916         <attr name="tintMode" />
5917         <!-- Specifies the alpha multiplier to apply to the base drawable. -->
5918         <attr name="alpha" />
5919     </declare-styleable>
5920
5921     <!-- Drawable used to draw a single color. -->
5922     <declare-styleable name="ColorDrawable">
5923         <!-- The color to use. -->
5924         <attr name="color" />
5925     </declare-styleable>
5926
5927     <!-- Drawable used to draw adaptive icons with foreground and background layers. -->
5928     <declare-styleable name="AdaptiveIconDrawableLayer">
5929         <!-- The drawable to use for the layer. -->
5930         <attr name="drawable" />
5931      </declare-styleable>
5932
5933     <!-- Drawable used to show animated touch feedback. -->
5934     <declare-styleable name="RippleDrawable">
5935         <!-- The color to use for ripple effects. This attribute is required. -->
5936         <attr name="color" />
5937         <!-- The radius of the ripple when fully expanded. By default, the
5938              radius is computed based on the size of the ripple's container. -->
5939         <attr name="radius" />
5940     </declare-styleable>
5941
5942     <declare-styleable name="ScaleDrawable">
5943         <!-- Scale width, expressed as a percentage of the drawable's bound. The value's
5944              format is XX%. For instance: 100%, 12.5%, etc.-->
5945         <attr name="scaleWidth" format="string" />
5946         <!-- Scale height, expressed as a percentage of the drawable's bound. The value's
5947              format is XX%. For instance: 100%, 12.5%, etc.-->
5948         <attr name="scaleHeight" format="string" />
5949         <!-- Specifies where the drawable is positioned after scaling. The default value is
5950              left. -->
5951         <attr name="scaleGravity">
5952             <!-- Push object to the top of its container, not changing its size. -->
5953             <flag name="top" value="0x30" />
5954             <!-- Push object to the bottom of its container, not changing its size. -->
5955             <flag name="bottom" value="0x50" />
5956             <!-- Push object to the left of its container, not changing its size. -->
5957             <flag name="left" value="0x03" />
5958             <!-- Push object to the right of its container, not changing its size. -->
5959             <flag name="right" value="0x05" />
5960             <!-- Place object in the vertical center of its container, not changing its size. -->
5961             <flag name="center_vertical" value="0x10" />
5962             <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
5963             <flag name="fill_vertical" value="0x70" />
5964             <!-- Place object in the horizontal center of its container, not changing its size. -->
5965             <flag name="center_horizontal" value="0x01" />
5966             <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
5967             <flag name="fill_horizontal" value="0x07" />
5968             <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
5969             <flag name="center" value="0x11" />
5970             <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
5971             <flag name="fill" value="0x77" />
5972             <!-- Additional option that can be set to have the top and/or bottom edges of
5973                  the child clipped to its container's bounds.
5974                  The clip will be based on the vertical gravity: a top gravity will clip the bottom
5975                  edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
5976             <flag name="clip_vertical" value="0x80" />
5977             <!-- Additional option that can be set to have the left and/or right edges of
5978                  the child clipped to its container's bounds.
5979                  The clip will be based on the horizontal gravity: a left gravity will clip the right
5980                  edge, a right gravity will clip the left edge, and neither will clip both edges. -->
5981             <flag name="clip_horizontal" value="0x08" />
5982             <!-- Push object to the beginning of its container, not changing its size. -->
5983             <flag name="start" value="0x00800003" />
5984             <!-- Push object to the end of its container, not changing its size. -->
5985             <flag name="end" value="0x00800005" />
5986         </attr>
5987         <!-- Specifies the initial drawable level in the range 0 to 10000. -->
5988         <attr name="level" format="integer" />
5989         <!-- Reference to a drawable resource to draw with the specified scale. -->
5990         <attr name="drawable" />
5991         <!-- Use the drawable's intrinsic width and height as minimum size values.
5992              Useful if the target drawable is a 9-patch or otherwise should not be scaled
5993              down beyond a minimum size. -->
5994         <attr name="useIntrinsicSizeAsMinimum" format="boolean" />
5995     </declare-styleable>
5996
5997     <declare-styleable name="ClipDrawable">
5998         <!-- The orientation for the clip. -->
5999         <attr name="clipOrientation">
6000             <!-- Clip the drawable horizontally. -->
6001             <flag name="horizontal" value="1" />
6002             <!-- Clip the drawable vertically. -->
6003             <flag name="vertical" value="2" />
6004         </attr>
6005         <!-- Specifies where to clip within the drawable. The default value is
6006              left. -->
6007         <attr name="gravity" />
6008         <!-- Reference to a drawable resource to draw with the specified scale. -->
6009         <attr name="drawable" />
6010     </declare-styleable>
6011
6012     <!-- Defines the padding of a ShapeDrawable. -->
6013     <declare-styleable name="ShapeDrawablePadding">
6014         <!-- Left padding. -->
6015         <attr name="left" />
6016         <!-- Top padding. -->
6017         <attr name="top" />
6018         <!-- Right padding. -->
6019         <attr name="right" />
6020         <!-- Bottom padding. -->
6021         <attr name="bottom" />
6022     </declare-styleable>
6023
6024     <!-- Drawable used to draw shapes. -->
6025     <declare-styleable name="ShapeDrawable">
6026         <!-- Defines the color of the shape. -->
6027         <attr name="color" />
6028         <!-- Defines the width of the shape. -->
6029         <attr name="width" />
6030         <!-- Defines the height of the shape. -->
6031         <attr name="height" />
6032         <!-- Enables or disables dithering. -->
6033         <attr name="dither" />
6034         <!-- If set, specifies the color to apply to the drawable as a tint. By default,
6035              no tint is applied. May be a color state list. -->
6036         <attr name="tint" />
6037         <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
6038              default value is src_in, which treats the drawable as an alpha mask. -->
6039         <attr name="tintMode" />
6040     </declare-styleable>
6041
6042     <!-- ========================== -->
6043     <!--   VectorDrawable class   -->
6044     <!-- ========================== -->
6045     <eat-comment />
6046
6047     <!-- Drawable used to draw vector paths. -->
6048     <declare-styleable name="VectorDrawable">
6049         <!-- If set, specifies the color to apply to the drawable as a tint. By default,
6050              no tint is applied. May be a color state list. -->
6051         <attr name="tint" />
6052         <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
6053              default value is src_in, which treats the drawable as an alpha mask. -->
6054         <attr name="tintMode" />
6055         <!-- Indicates if the drawable needs to be mirrored when its layout direction is
6056              RTL (right-to-left). -->
6057         <attr name="autoMirrored" />
6058         <!-- The intrinsic width of the Vector Drawable. -->
6059         <attr name="width" />
6060         <!-- The intrinsic height of the Vector Drawable. -->
6061         <attr name="height" />
6062         <!-- The width of the canvas the drawing is on. -->
6063         <attr name="viewportWidth" format="float"/>
6064         <!-- The height of the canvas the drawing is on. -->
6065         <attr name="viewportHeight" format="float"/>
6066         <!-- The name of this vector drawable. -->
6067         <attr name="name" />
6068         <!-- The opacity of the whole vector drawable, as a value between 0
6069              (completely transparent) and 1 (completely opaque). -->
6070         <attr name="alpha" />
6071         <!-- Left optical inset.
6072              @hide Until optical insets are fully supported. -->
6073         <attr name="opticalInsetLeft" format="dimension" />
6074         <!-- Top optical inset.
6075              @hide Until optical insets are fully supported. -->
6076         <attr name="opticalInsetTop" format="dimension" />
6077         <!-- Right optical inset.
6078              @hide Until optical insets are fully supported. -->
6079         <attr name="opticalInsetRight" format="dimension" />
6080         <!-- Bottom optical inset.
6081              @hide Until optical insets are fully supported. -->
6082         <attr name="opticalInsetBottom" format="dimension" />
6083     </declare-styleable>
6084
6085     <!-- Defines the group used in VectorDrawables. -->
6086     <declare-styleable name="VectorDrawableGroup">
6087         <!-- The name of this group. -->
6088         <attr name="name" />
6089         <!-- The amount to rotate the group. -->
6090         <attr name="rotation" />
6091         <!-- The X coordinate of the center of rotation of a group. -->
6092         <attr name="pivotX" />
6093         <!-- The Y coordinate of the center of rotation of a group. -->
6094         <attr name="pivotY" />
6095         <!-- The amount to translate the group on X coordinate. -->
6096         <attr name="translateX" format="float"/>
6097         <!-- The amount to translate the group on Y coordinate. -->
6098         <attr name="translateY" format="float"/>
6099         <!-- The amount to scale the group on X coordinate. -->
6100         <attr name="scaleX" />
6101         <!-- The amount to scale the group on X coordinate. -->
6102         <attr name="scaleY" />
6103     </declare-styleable>
6104
6105     <!-- Defines the path used in VectorDrawables. -->
6106     <declare-styleable name="VectorDrawablePath">
6107         <!-- The name of this path. -->
6108         <attr name="name" />
6109         <!-- The width a path stroke. -->
6110         <attr name="strokeWidth" format="float" />
6111         <!-- The color to stroke the path if not defined implies no stroke. -->
6112         <attr name="strokeColor" format="color" />
6113         <!-- The opacity of a path stroke, as a value between 0 (completely transparent)
6114              and 1 (completely opaque). -->
6115         <attr name="strokeAlpha" format="float" />
6116         <!-- The color to fill the path if not defined implies no fill. -->
6117         <attr name="fillColor" format="color" />
6118         <!-- The alpha of the path fill, as a value between 0 (completely transparent)
6119              and 1 (completely opaque). -->
6120         <attr name="fillAlpha" format="float" />
6121         <!-- The specification of the operations that define the path. -->
6122         <attr name="pathData" format="string" />
6123         <!-- The fraction of the path to trim from the start from 0 to 1. -->
6124         <attr name="trimPathStart" format="float" />
6125         <!-- The fraction of the path to trim from the end from 0 to 1 . -->
6126         <attr name="trimPathEnd" format="float" />
6127         <!-- Shift trim region (allows visible region to include the start and end) from 0 to 1. -->
6128         <attr name="trimPathOffset" format="float" />
6129         <!-- sets the linecap for a stroked path. -->
6130         <attr name="strokeLineCap" format="enum">
6131             <enum name="butt" value="0"/>
6132             <enum name="round" value="1"/>
6133             <enum name="square" value="2"/>
6134         </attr>
6135         <!-- sets the lineJoin for a stroked path. -->
6136         <attr name="strokeLineJoin" format="enum">
6137             <enum name="miter" value="0"/>
6138             <enum name="round" value="1"/>
6139             <enum name="bevel" value="2"/>
6140         </attr>
6141         <!-- sets the Miter limit for a stroked path. -->
6142         <attr name="strokeMiterLimit" format="float"/>
6143         <!-- sets the fillType for a path. It is the same as SVG's "fill-rule" properties.
6144              For more details, see https://www.w3.org/TR/SVG/painting.html#FillRuleProperty. -->
6145         <attr name="fillType" format="enum">
6146             <enum name="nonZero" value="0"/>
6147             <enum name="evenOdd" value="1"/>
6148         </attr>
6149     </declare-styleable>
6150
6151     <!-- Defines the clip path used in VectorDrawables. -->
6152     <declare-styleable name="VectorDrawableClipPath">
6153         <!-- The Name of this path. -->
6154         <attr name="name" />
6155         <!-- The specification of the operations that define the path. -->
6156         <attr name="pathData"/>
6157     </declare-styleable>
6158
6159     <!-- ========================== -->
6160     <!--   AnimatedVectorDrawable class   -->
6161     <!-- ========================== -->
6162     <eat-comment />
6163
6164     <!-- Define the AnimatedVectorDrawable. -->
6165     <declare-styleable name="AnimatedVectorDrawable">
6166         <!-- The static vector drawable. -->
6167         <attr name="drawable" />
6168     </declare-styleable>
6169
6170     <!-- Defines the target used in the AnimatedVectorDrawable. -->
6171     <declare-styleable name="AnimatedVectorDrawableTarget">
6172         <!-- The name of the target path, group or vector drawable. -->
6173         <attr name="name" />
6174         <!-- The animation for the target path, group or vector drawable. -->
6175         <attr name="animation" />
6176     </declare-styleable>
6177
6178     <!-- ========================== -->
6179     <!-- Animation class attributes -->
6180     <!-- ========================== -->
6181     <eat-comment />
6182
6183     <declare-styleable name="Animation">
6184         <!-- Defines the interpolator used to smooth the animation movement in time. -->
6185         <attr name="interpolator" />
6186         <!-- When set to true, the value of fillBefore is taken into account. -->
6187         <attr name="fillEnabled" format="boolean" />
6188         <!-- When set to true or when fillEnabled is not set to true, the animation transformation
6189              is applied before the animation has started. The default value is true. -->
6190         <attr name="fillBefore" format="boolean" />
6191         <!-- When set to true, the animation transformation is applied after the animation is
6192              over. The default value is false. If fillEnabled is not set to true and the
6193              animation is not set on a View, fillAfter is assumed to be true.-->
6194         <attr name="fillAfter" format="boolean" />
6195         <!-- Amount of time (in milliseconds) for the animation to run. -->
6196         <attr name="duration" />
6197         <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
6198         <attr name="startOffset" format="integer" />
6199         <!-- Defines how many times the animation should repeat. The default value is 0. -->
6200         <attr name="repeatCount" format="integer">
6201             <enum name="infinite" value="-1" />
6202         </attr>
6203         <!-- Defines the animation behavior when it reaches the end and the repeat count is
6204              greater than 0 or infinite. The default value is restart. -->
6205         <attr name="repeatMode">
6206             <!-- The animation starts again from the beginning. -->
6207             <enum name="restart" value="1" />
6208             <!-- The animation plays backward. -->
6209             <enum name="reverse" value="2" />
6210         </attr>
6211         <!-- Allows for an adjustment of the Z ordering of the content being
6212              animated for the duration of the animation.  The default value is normal. -->
6213         <attr name="zAdjustment">
6214             <!-- The content being animated be kept in its current Z order. -->
6215             <enum name="normal" value="0" />
6216             <!-- The content being animated is forced on top of all other
6217                  content for the duration of the animation. -->
6218             <enum name="top" value="1" />
6219             <!-- The content being animated is forced under all other
6220                  content for the duration of the animation. -->
6221             <enum name="bottom" value="-1" />
6222         </attr>
6223         <!-- Special background behind animation.  Only for use with window
6224              animations.  Can only be a color, and only black.  If 0, the
6225              default, there is no background. -->
6226         <attr name="background" />
6227         <!-- Special option for window animations: if this window is on top
6228              of a wallpaper, don't animate the wallpaper with it. -->
6229         <attr name="detachWallpaper" format="boolean" />
6230     </declare-styleable>
6231
6232     <declare-styleable name="AnimationSet">
6233         <attr name="shareInterpolator" format="boolean" />
6234         <attr name="fillBefore" />
6235         <attr name="fillAfter" />
6236         <attr name="duration" />
6237         <attr name="startOffset" />
6238         <attr name="repeatMode" />
6239     </declare-styleable>
6240
6241     <declare-styleable name="RotateAnimation">
6242         <attr name="fromDegrees" />
6243         <attr name="toDegrees" />
6244         <attr name="pivotX" />
6245         <attr name="pivotY" />
6246     </declare-styleable>
6247
6248     <declare-styleable name="ScaleAnimation">
6249         <attr name="fromXScale" format="float|fraction|dimension" />
6250         <attr name="toXScale" format="float|fraction|dimension" />
6251         <attr name="fromYScale" format="float|fraction|dimension" />
6252         <attr name="toYScale" format="float|fraction|dimension" />
6253         <attr name="pivotX" />
6254         <attr name="pivotY" />
6255     </declare-styleable>
6256
6257     <declare-styleable name="TranslateAnimation">
6258         <attr name="fromXDelta" format="float|fraction" />
6259         <attr name="toXDelta" format="float|fraction" />
6260         <attr name="fromYDelta" format="float|fraction" />
6261         <attr name="toYDelta" format="float|fraction" />
6262     </declare-styleable>
6263
6264     <declare-styleable name="AlphaAnimation">
6265         <attr name="fromAlpha" format="float" />
6266         <attr name="toAlpha" format="float" />
6267     </declare-styleable>
6268
6269     <declare-styleable name="LayoutAnimation">
6270         <!-- Fraction of the animation duration used to delay the beginning of
6271          the animation of each child. -->
6272         <attr name="delay" format="float|fraction" />
6273         <!-- Animation to use on each child. -->
6274         <attr name="animation" format="reference" />
6275         <!-- The order in which the animations will be started. -->
6276         <attr name="animationOrder">
6277             <!-- Animations are started in the natural order. -->
6278             <enum name="normal" value="0" />
6279             <!-- Animations are started in the reverse order. -->
6280             <enum name="reverse" value="1" />
6281             <!-- Animations are started randomly. -->
6282             <enum name="random" value="2" />
6283         </attr>
6284         <!-- Interpolator used to interpolate the delay between the start of
6285          each animation. -->
6286         <attr name="interpolator" />
6287     </declare-styleable>
6288
6289     <declare-styleable name="GridLayoutAnimation">
6290         <!-- Fraction of the animation duration used to delay the beginning of
6291          the animation of each column. -->
6292         <attr name="columnDelay" format="float|fraction" />
6293         <!-- Fraction of the animation duration used to delay the beginning of
6294          the animation of each row. -->
6295         <attr name="rowDelay" format="float|fraction" />
6296         <!-- Direction of the animation in the grid. -->
6297         <attr name="direction">
6298             <!-- Animates columns from left to right. -->
6299             <flag name="left_to_right" value="0x0" />
6300             <!-- Animates columns from right to left. -->
6301             <flag name="right_to_left" value="0x1" />
6302             <!-- Animates rows from top to bottom. -->
6303             <flag name="top_to_bottom" value="0x0" />
6304             <!-- Animates rows from bottom to top. -->
6305             <flag name="bottom_to_top" value="0x2" />
6306         </attr>
6307         <!-- Priority of the rows and columns. When the priority is none,
6308          both rows and columns have the same priority. When the priority is
6309          column, the animations will be applied on the columns first. The same
6310          goes for rows. -->
6311         <attr name="directionPriority">
6312             <!-- Rows and columns are animated at the same time. -->
6313             <enum name="none"   value="0" />
6314             <!-- Columns are animated first. -->
6315             <enum name="column" value="1" />
6316             <!-- Rows are animated first. -->
6317             <enum name="row"    value="2" />
6318         </attr>
6319     </declare-styleable>
6320
6321     <declare-styleable name="AccelerateInterpolator">
6322         <!-- This is the amount of deceleration to add when easing in. -->
6323         <attr name="factor" format="float" />
6324     </declare-styleable>
6325
6326     <declare-styleable name="DecelerateInterpolator">
6327         <!-- This is the amount of acceleration to add when easing out. -->
6328         <attr name="factor" />
6329     </declare-styleable>
6330
6331     <declare-styleable name="CycleInterpolator">
6332         <attr name="cycles" format="float" />
6333     </declare-styleable>
6334
6335     <declare-styleable name="AnticipateInterpolator">
6336         <!-- This is the amount of tension. -->
6337         <attr name="tension" format="float" />
6338     </declare-styleable>
6339
6340     <declare-styleable name="OvershootInterpolator">
6341         <!-- This is the amount of tension. -->
6342         <attr name="tension" />
6343     </declare-styleable>
6344
6345     <declare-styleable name="AnticipateOvershootInterpolator">
6346         <!-- This is the amount of tension. -->
6347         <attr name="tension" />
6348         <!-- This is the amount by which to multiply the tension. -->
6349         <attr name="extraTension" format="float" />
6350     </declare-styleable>
6351
6352     <declare-styleable name="PathInterpolator">
6353         <!-- The x coordinate of the first control point of the cubic Bezier. -->
6354         <attr name="controlX1" format="float" />
6355         <!-- The y coordinate of the first control point of the cubic Bezier. -->
6356         <attr name="controlY1" format="float" />
6357         <!-- The x coordinate of the second control point of the cubic Bezier. -->
6358         <attr name="controlX2" format="float" />
6359         <!-- The y coordinate of the second control point of the cubic Bezier. -->
6360         <attr name="controlY2" format="float" />
6361         <!-- The control points defined as a path.
6362              When pathData is defined, then both of the control points of the
6363              cubic Bezier will be ignored. -->
6364         <attr name="pathData"/>
6365     </declare-styleable>
6366
6367     <!-- ========================== -->
6368     <!-- Transition attributes -->
6369     <!-- ========================== -->
6370     <eat-comment />
6371
6372     <!-- Use specific transition subclass names as the root tag of the XML resource that
6373          describes a {@link android.transition.Transition Transition},
6374          such as <code>changeBounds</code>, <code>fade</code>, and <code>transitionSet</code>. -->
6375     <declare-styleable name="Transition">
6376         <!-- Amount of time (in milliseconds) that the transition should run. -->
6377         <attr name="duration" />
6378         <!-- Delay in milliseconds before the transition starts. -->
6379         <attr name="startDelay" format="integer" />
6380         <!-- Interpolator to be used in the animations spawned by this transition. -->
6381         <attr name="interpolator" />
6382         <!-- The match order to use for the transition. This is a comma-separated
6383              list of values, containing one or more of the following:
6384              id, itemId, name, instance. These correspond to
6385              {@link android.transition.Transition#MATCH_ID},
6386              {@link android.transition.Transition#MATCH_ITEM_ID},
6387              {@link android.transition.Transition#MATCH_NAME}, and
6388              {@link android.transition.Transition#MATCH_INSTANCE}, respectively.
6389              This corresponds to {@link android.transition.Transition#setMatchOrder(int...)}. -->
6390         <attr name="matchOrder" format="string" />
6391     </declare-styleable>
6392
6393     <!-- @hide For internal use only. Use only as directed. -->
6394     <declare-styleable name="EpicenterTranslateClipReveal">
6395         <attr name="interpolatorX" format="reference" />
6396         <attr name="interpolatorY" format="reference" />
6397         <attr name="interpolatorZ" format="reference" />
6398     </declare-styleable>
6399
6400     <!-- Use <code>fade</code>as the root tag of the XML resource that
6401          describes a {@link android.transition.Fade Fade} transition.
6402          The attributes of the {@link android.R.styleable#Transition Transition}
6403          resource are available in addition to the specific attributes of Fade
6404          described here. -->
6405     <declare-styleable name="Fade">
6406         <!-- Equivalent to <code>transitionVisibilityMode</code>, fadingMode works only
6407              with the Fade transition. -->
6408         <attr name="fadingMode">
6409             <!-- Fade will only fade appearing items in. -->
6410             <enum name="fade_in" value="1" />
6411             <!-- Fade will only fade disappearing items out. -->
6412             <enum name="fade_out" value="2" />
6413             <!-- Fade will fade appearing items in and disappearing items out. -->
6414             <enum name="fade_in_out" value="3" />
6415         </attr>
6416     </declare-styleable>
6417
6418     <!-- Use <code>slide</code>as the root tag of the XML resource that
6419          describes a {@link android.transition.Slide Slide} transition.
6420          The attributes of the {@link android.R.styleable#Transition Transition}
6421          resource are available in addition to the specific attributes of Slide
6422          described here. -->
6423     <declare-styleable name="Slide">
6424         <attr name="slideEdge">
6425             <!-- Slide to and from the left edge of the Scene. -->
6426             <enum name="left" value="0x03" />
6427             <!-- Slide to and from the top edge of the Scene. -->
6428             <enum name="top" value="0x30" />
6429             <!-- Slide to and from the right edge of the Scene. -->
6430             <enum name="right" value="0x05" />
6431             <!-- Slide to and from the bottom edge of the Scene. -->
6432             <enum name="bottom" value="0x50" />
6433             <!-- Slide to and from the x-axis position at the start of the Scene root. -->
6434             <enum name="start" value="0x00800003"/>
6435             <!-- Slide to and from the x-axis position at the end of the Scene root. -->
6436             <enum name="end" value="0x00800005"/>
6437         </attr>
6438     </declare-styleable>
6439
6440     <!-- Use with {@link android.transition.Visibility} transitions, such as
6441          <code>slide</code>, <code>explode</code>, and <code>fade</code> to mark which
6442          views are supported. -->
6443     <declare-styleable name="VisibilityTransition">
6444         <!-- Changes whether the transition supports appearing and/or disappearing Views.
6445              Corresponds to {@link android.transition.Visibility#setMode(int)}. -->
6446         <attr name="transitionVisibilityMode">
6447             <!-- Only appearing Views will be supported. -->
6448             <flag name="mode_in" value="1" />
6449             <!-- Only disappearing Views will be supported. -->
6450             <flag name="mode_out" value="2" />
6451         </attr>
6452     </declare-styleable>
6453     <!-- Use <code>target</code> as the root tag of the XML resource that
6454      describes a {@link android.transition.Transition#addTarget(int)
6455      targetId} of a transition. There can be one or more targets inside
6456      a <code>targets</code> tag, which is itself inside an appropriate
6457      {@link android.R.styleable#Transition Transition} tag.
6458      -->
6459     <declare-styleable name="TransitionTarget">
6460         <!-- The id of a target on which this transition will animate changes. -->
6461         <attr name="targetId" format="reference" />
6462         <!-- The id of a target to exclude from this transition. -->
6463         <attr name="excludeId" format="reference" />
6464         <!-- The fully-qualified name of the Class to include in this transition. -->
6465         <attr name="targetClass" />
6466         <!-- The fully-qualified name of the Class to exclude from this transition. -->
6467         <attr name="excludeClass" format="string" />
6468         <!-- The transitionName of the target on which this transition will animation changes. -->
6469         <attr name="targetName" format="string" />
6470         <!-- The transitionName of the target to exclude from this transition. -->
6471         <attr name="excludeName" format="string" />
6472     </declare-styleable>
6473
6474     <!-- Use <code>set</code> as the root tag of the XML resource that
6475          describes a {@link android.transition.TransitionSet
6476          TransitionSet} transition. -->
6477     <declare-styleable name="TransitionSet">
6478         <attr name="transitionOrdering">
6479             <!-- child transitions should be played together. -->
6480             <enum name="together" value="0" />
6481             <!-- child transitions should be played sequentially, in the same order
6482             as the xml. -->
6483             <enum name="sequential" value="1" />
6484         </attr>
6485     </declare-styleable>
6486
6487     <!-- Use <code>changeTransform</code> as the root tag of the XML resource that
6488          describes a {@link android.transition.ChangeTransform} transition. -->
6489     <declare-styleable name="ChangeTransform">
6490         <!-- A parent change should use an overlay or affect the transform of the
6491              transitionining View. Default is true. Corresponds to
6492              {@link android.transition.ChangeTransform#setReparentWithOverlay(boolean)}. -->
6493         <attr name="reparentWithOverlay" format="boolean"/>
6494
6495         <!-- Tells ChangeTransform to track parent changes. Default is true. Corresponds to
6496              {@link android.transition.ChangeTransform#setReparent(boolean)}. -->
6497         <attr name="reparent" format="boolean"/>
6498     </declare-styleable>
6499
6500     <!-- Use <code>changeBounds</code>as the root tag of the XML resource that
6501          describes a {@link android.transition.ChangeBounds} transition.
6502          The attributes of the {@link android.R.styleable#Transition Transition}
6503          resource are available in addition to the specific attributes of ChangeBounds
6504          described here. -->
6505     <declare-styleable name="ChangeBounds">
6506         <!-- Resize the view by adjusting the clipBounds rather than changing the
6507              dimensions of the view itself. The default value is false. -->
6508         <attr name="resizeClip" format="boolean"/>
6509     </declare-styleable>
6510
6511     <!-- Use <code>transitionManager</code> as the root tag of the XML resource that
6512          describes a {@link android.transition.TransitionManager
6513          TransitionManager}. -->
6514     <declare-styleable name="TransitionManager">
6515         <!-- The id of a transition to be used in a particular scene change. -->
6516         <attr name="transition" format="reference" />
6517         <!-- The originating scene in this scene change. -->
6518         <attr name="fromScene" format="reference" />
6519         <!-- The destination scene in this scene change. -->
6520         <attr name="toScene" format="reference" />
6521     </declare-styleable>
6522
6523     <!-- Use <code>arcMotion</code> as the root tag of the XML resource that
6524          describes a {@link android.transition.ArcMotion}. This must be used
6525          within a transition with which the PathMotion should be associated. -->
6526     <declare-styleable name="ArcMotion">
6527         <!-- The minimum arc angle in degrees between the start and end points when
6528              they are close to horizontal. -->
6529         <attr name="minimumHorizontalAngle" format="float" />
6530         <!-- The minimum arc angle in degrees between the start and end points when
6531              they are close to vertical. -->
6532         <attr name="minimumVerticalAngle" format="float" />
6533         <!-- The maximum arc angle in degrees between the start and end points. -->
6534         <attr name="maximumAngle" format="float" />
6535     </declare-styleable>
6536
6537     <!-- Use <code>patternPathMotion</code> as the root tag of the XML resource that
6538          describes a {@link android.transition.PatternPathMotion}. This must be used
6539          within a transition with which the PathMotion should be associated. -->
6540     <declare-styleable name="PatternPathMotion">
6541         <!-- The path string describing the pattern to use for the PathPathMotion. -->
6542         <attr name="patternPathData" format="string" />
6543     </declare-styleable>
6544
6545     <!-- ========================== -->
6546     <!-- ValueAnimator class attributes -->
6547     <!-- ========================== -->
6548     <eat-comment />
6549
6550     <declare-styleable name="Animator">
6551         <!-- Defines the interpolator used to smooth the animation movement in time. -->
6552         <attr name="interpolator" />
6553         <!-- Amount of time (in milliseconds) for the animation to run. -->
6554         <attr name="duration" />
6555         <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
6556         <attr name="startOffset"/>
6557         <!-- Defines how many times the animation should repeat. The default value is 0. -->
6558         <attr name="repeatCount"/>
6559         <!-- Defines the animation behavior when it reaches the end and the repeat count is
6560              greater than 0 or infinite. The default value is restart. -->
6561         <attr name="repeatMode"/>
6562         <!-- Value the animation starts from. -->
6563         <attr name="valueFrom" format="float|integer|color|dimension|string"/>
6564         <!-- Value the animation animates to. -->
6565         <attr name="valueTo" format="float|integer|color|dimension|string"/>
6566         <!-- The type of valueFrom and valueTo. -->
6567         <attr name="valueType">
6568             <!-- The given values are floats. This is the default value if valueType is
6569                  unspecified. Note that if any value attribute has a color value
6570                  (beginning with "#"), then this attribute is ignored and the color values are
6571                  interpreted as integers. -->
6572             <enum name="floatType" value="0" />
6573             <!-- values are integers. -->
6574             <enum name="intType"   value="1" />
6575             <!-- values are paths defined as strings.
6576                  This type is used for path morphing in AnimatedVectorDrawable. -->
6577             <enum name="pathType"   value="2" />
6578             <!-- values are colors, which are integers starting with "#". -->
6579             <enum name="colorType"   value="3" />
6580         </attr>
6581         <!-- Placeholder for a deleted attribute. This should be removed before M release. -->
6582         <attr name="removeBeforeMRelease" format="integer" />
6583     </declare-styleable>
6584
6585     <declare-styleable name="PropertyValuesHolder">
6586         <attr name="valueType" />
6587         <attr name="propertyName" />
6588         <attr name="valueFrom" />
6589         <attr name="valueTo" />
6590     </declare-styleable>
6591
6592     <declare-styleable name="Keyframe">
6593         <attr name="valueType" />
6594         <attr name="value" />
6595         <attr name="fraction" format="float" />
6596         <!-- Defines a per-interval interpolator for this keyframe. This interpolator will be used
6597              to interpolate between this keyframe and the previous keyframe. -->
6598         <attr name="interpolator" />
6599     </declare-styleable>
6600
6601     <!-- ========================== -->
6602     <!-- ObjectAnimator class attributes -->
6603     <!-- ========================== -->
6604     <eat-comment />
6605
6606     <declare-styleable name="PropertyAnimator">
6607         <!-- Name of the property being animated. -->
6608         <attr name="propertyName" format="string"/>
6609         <!-- Name of the property being animated as the X coordinate of the pathData. -->
6610         <attr name="propertyXName" format="string"/>
6611         <!-- Name of the property being animated as the Y coordinate of the pathData. -->
6612         <attr name="propertyYName" format="string"/>
6613         <!-- The path used to animate the properties in the ObjectAnimator. -->
6614         <attr name="pathData"/>
6615     </declare-styleable>
6616
6617
6618     <!-- ========================== -->
6619     <!-- AnimatorSet class attributes -->
6620     <!-- ========================== -->
6621     <eat-comment />
6622
6623     <declare-styleable name="AnimatorSet">
6624         <!-- Name of the property being animated. -->
6625         <attr name="ordering">
6626             <!-- child animations should be played together. -->
6627             <enum name="together" value="0" />
6628             <!-- child animations should be played sequentially, in the same order as the xml. -->
6629             <enum name="sequentially" value="1" />
6630         </attr>
6631     </declare-styleable>
6632
6633     <!-- ========================== -->
6634     <!-- State attributes           -->
6635     <!-- ========================== -->
6636     <eat-comment />
6637
6638     <!-- Set of framework-provided states that may be specified on a Drawable. Actual usage of
6639          states may vary between view implementations, as documented on the individual state
6640          attributes. -->
6641     <declare-styleable name="DrawableStates">
6642         <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6643              set when a view has input focus. -->
6644         <attr name="state_focused" format="boolean" />
6645         <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6646              set when a view's window has input focus. -->
6647         <attr name="state_window_focused" format="boolean" />
6648         <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6649              set when a view is enabled. -->
6650         <attr name="state_enabled" format="boolean" />
6651         <!-- State identifier indicating that the object <var>may</var> display a check mark. See
6652              {@link android.R.attr#state_checked} for the identifier that indicates whether it is
6653              actually checked. -->
6654         <attr name="state_checkable" format="boolean"/>
6655         <!-- State identifier indicating that the object is currently checked.  See
6656              {@link android.R.attr#state_checkable} for an additional identifier that can indicate
6657              if any object may ever display a check, regardless of whether state_checked is
6658              currently set. -->
6659         <attr name="state_checked" format="boolean"/>
6660         <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6661              set when a view (or one of its parents) is currently selected. -->
6662         <attr name="state_selected" format="boolean" />
6663         <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6664              set when the user is pressing down in a view. -->
6665         <attr name="state_pressed" format="boolean" />
6666         <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6667              set when a view or its parent has been "activated" meaning the user has currently
6668              marked it as being of interest.  This is an alternative representation of
6669              state_checked for when the state should be propagated down the view hierarchy. -->
6670         <attr name="state_activated" format="boolean" />
6671         <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6672              set when a view or drawable is considered "active" by its host. Actual usage may vary
6673              between views. Consult the host view documentation for details. -->
6674         <attr name="state_active" format="boolean" />
6675         <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6676              set when a view or drawable is considered "single" by its host. Actual usage may vary
6677              between views. Consult the host view documentation for details. -->
6678         <attr name="state_single" format="boolean" />
6679         <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6680              set when a view or drawable is in the first position in an ordered set. Actual usage
6681              may vary between views. Consult the host view documentation for details. -->
6682         <attr name="state_first" format="boolean" />
6683         <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6684              set when a view or drawable is in the middle position in an ordered set. Actual usage
6685              may vary between views. Consult the host view documentation for details. -->
6686         <attr name="state_middle" format="boolean" />
6687         <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6688              set when a view or drawable is in the last position in an ordered set. Actual usage
6689              may vary between views. Consult the host view documentation for details. -->
6690         <attr name="state_last" format="boolean" />
6691         <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6692              indicating that the Drawable is in a view that is hardware accelerated.
6693              This means that the device can at least render a full-screen scaled
6694              bitmap with one layer of text and bitmaps composited on top of it
6695              at 60fps.  When this is set, the colorBackgroundCacheHint will be
6696              ignored even if it specifies a solid color, since that optimization
6697              is not needed. -->
6698         <attr name="state_accelerated" format="boolean" />
6699         <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6700              set when a pointer is hovering over the view. -->
6701         <attr name="state_hovered" format="boolean" />
6702         <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6703              indicating that the Drawable is in a view that is capable of accepting a drop of
6704              the content currently being manipulated in a drag-and-drop operation. -->
6705         <attr name="state_drag_can_accept" format="boolean" />
6706         <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6707              indicating that a drag operation (for which the Drawable's view is a valid recipient)
6708              is currently positioned over the Drawable. -->
6709         <attr name="state_drag_hovered" format="boolean" />
6710         <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6711              indicating that a View has accessibility focus. -->
6712         <attr name="state_accessibility_focused" format="boolean" />
6713     </declare-styleable>
6714     <declare-styleable name="ViewDrawableStates">
6715         <attr name="state_pressed" />
6716         <attr name="state_focused" />
6717         <attr name="state_selected" />
6718         <attr name="state_window_focused" />
6719         <attr name="state_enabled" />
6720         <attr name="state_activated" />
6721         <attr name="state_accelerated" />
6722         <attr name="state_hovered" />
6723         <attr name="state_drag_can_accept" />
6724         <attr name="state_drag_hovered" />
6725     </declare-styleable>
6726     <!-- State array representing a menu item that is currently checked. -->
6727     <declare-styleable name="MenuItemCheckedState">
6728         <attr name="state_checkable" />
6729         <attr name="state_checked" />
6730     </declare-styleable>
6731     <!-- State array representing a menu item that is checkable but is not currently checked. -->
6732     <declare-styleable name="MenuItemUncheckedState">
6733         <attr name="state_checkable" />
6734     </declare-styleable>
6735     <!-- State array representing a menu item that is currently focused and checked. -->
6736     <declare-styleable name="MenuItemCheckedFocusedState">
6737         <attr name="state_checkable" />
6738         <attr name="state_checked" />
6739         <attr name="state_focused" />
6740     </declare-styleable>
6741     <!-- State array representing a menu item that is focused and checkable but is not currently checked. -->
6742     <declare-styleable name="MenuItemUncheckedFocusedState">
6743         <attr name="state_checkable" />
6744         <attr name="state_focused" />
6745     </declare-styleable>
6746     <!-- State array representing an expandable list child's indicator. -->
6747     <declare-styleable name="ExpandableListChildIndicatorState">
6748         <!-- State identifier indicating the child is the last child within its group. -->
6749         <attr name="state_last" />
6750     </declare-styleable>
6751     <!-- State array representing an expandable list group's indicator. -->
6752     <declare-styleable name="ExpandableListGroupIndicatorState">
6753         <!-- State identifier indicating the group is expanded. -->
6754         <attr name="state_expanded" format="boolean" />
6755         <!-- State identifier indicating the group is empty (has no children). -->
6756         <attr name="state_empty" format="boolean" />
6757     </declare-styleable>
6758     <declare-styleable name="PopupWindowBackgroundState">
6759         <!-- State identifier indicating the popup will be above the anchor. -->
6760         <attr name="state_above_anchor" format="boolean" />
6761     </declare-styleable>
6762     <declare-styleable name="TextViewMultiLineBackgroundState">
6763         <!-- State identifier indicating a TextView has a multi-line layout. -->
6764         <attr name="state_multiline" format="boolean" />
6765     </declare-styleable>
6766
6767     <!-- ***************************************************************** -->
6768     <!-- Support for Searchable activities. -->
6769     <!-- ***************************************************************** -->
6770     <eat-comment />
6771
6772     <!-- Searchable activities and applications must provide search configuration information
6773         in an XML file, typically called searchable.xml.  This file is referenced in your manifest.
6774         For a more in-depth discussion of search configuration, please refer to
6775         {@link android.app.SearchManager}. -->
6776     <declare-styleable name="Searchable">
6777           <!--<strong>This is deprecated.</strong><br/>The default
6778               application icon is now always used, so this attribute is
6779               obsolete.-->
6780         <attr name="icon" />
6781         <!-- This is the user-displayed name of the searchable activity.  <i>Required
6782             attribute.</i> -->
6783         <attr name="label" />
6784         <!-- If supplied, this string will be displayed as a hint to the user.  <i>Optional
6785             attribute.</i> -->
6786         <attr name="hint" />
6787         <!-- If supplied, this string will be displayed as the text of the "Search" button.
6788           <i>Optional attribute.</i>
6789           {@deprecated This will create a non-standard UI appearance, because the search bar UI is
6790                        changing to use only icons for its buttons.}-->
6791         <attr name="searchButtonText" format="string" />
6792         <attr name="inputType" />
6793         <attr name="imeOptions" />
6794
6795         <!-- Additional features are controlled by mode bits in this field.  Omitting
6796             this field, or setting to zero, provides default behavior.  <i>Optional attribute.</i>
6797         -->
6798         <attr name="searchMode">
6799           <!-- If set, this flag enables the display of the search target (label) within the
6800                search bar.  If neither bad mode is selected, no badge will be shown. -->
6801           <flag name="showSearchLabelAsBadge" value="0x04" />
6802           <!--<strong>This is deprecated.</strong><br/>The default
6803               application icon is now always used, so this option is
6804               obsolete.-->
6805           <flag name="showSearchIconAsBadge" value="0x08" />
6806           <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_INTENT_DATA to
6807                be considered as the text for suggestion query rewriting.  This should only
6808                be used when the values in SUGGEST_COLUMN_INTENT_DATA are suitable for user
6809                inspection and editing - typically, HTTP/HTTPS Uri's. -->
6810           <flag name="queryRewriteFromData" value="0x10" />
6811           <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_TEXT_1 to
6812                be considered as the text for suggestion query rewriting.  This should be used
6813                for suggestions in which no query text is provided and the SUGGEST_COLUMN_INTENT_DATA
6814                values are not suitable for user inspection and editing. -->
6815           <flag name="queryRewriteFromText" value="0x20" />
6816         </attr>
6817
6818         <!-- Voice search features are controlled by mode bits in this field.  Omitting
6819             this field, or setting to zero, provides default behavior.
6820             If showVoiceSearchButton is set, then launchWebSearch or launchRecognizer must
6821             also be set.  <i>Optional attribute.</i>
6822         -->
6823         <attr name="voiceSearchMode">
6824           <!-- If set, display a voice search button.  This only takes effect if voice search is
6825                available on the device. -->
6826           <flag name="showVoiceSearchButton" value="0x01" />
6827           <!-- If set, the voice search button will take the user directly to a built-in
6828                voice web search activity.  Most applications will not use this flag, as it
6829                will take the user away from the activity in which search was invoked. -->
6830           <flag name="launchWebSearch" value="0x02" />
6831           <!-- If set, the voice search button will take the user directly to a built-in
6832                voice recording activity.  This activity will prompt the user to speak,
6833                transcribe the spoken text, and forward the resulting query
6834                text to the searchable activity, just as if the user had typed it into
6835                the search UI and clicked the search button. -->
6836           <flag name="launchRecognizer" value="0x04" />
6837         </attr>
6838
6839         <!-- If provided, this specifies the language model that should be used by the
6840              voice recognition system.  See
6841              {@link android.speech.RecognizerIntent#EXTRA_LANGUAGE_MODEL } for more information.
6842              If not provided, the default value
6843              {@link android.speech.RecognizerIntent#LANGUAGE_MODEL_FREE_FORM } will be used. -->
6844         <attr name="voiceLanguageModel" format="string" />
6845         <!-- If provided, this specifies a prompt that will be displayed during voice input. -->
6846         <attr name="voicePromptText" format="string" />
6847         <!-- If provided, this specifies the spoken language to be expected, and that it will be
6848              different than the one set in the {@link java.util.Locale#getDefault()}. -->
6849         <attr name="voiceLanguage" format="string" />
6850         <!-- If provided, enforces the maximum number of results to return, including the "best"
6851              result which will always be provided as the SEARCH intent's primary query.  Must be one
6852              or greater.  If not provided, the recognizer will choose how many results to return.
6853              -->
6854         <attr name="voiceMaxResults" format="integer" />
6855
6856         <!-- If provided, this is the trigger indicating that the searchable activity
6857             provides suggestions as well.  The value must be a fully-qualified content provider
6858             authority (for example, "com.example.android.apis.SuggestionProvider") and should match
6859             the "android:authorities" tag in your content provider's manifest entry.  <i>Optional
6860             attribute.</i> -->
6861         <attr name="searchSuggestAuthority" format="string" />
6862         <!-- If provided, this will be inserted in the suggestions query Uri, after the authority
6863             you have provide but before the standard suggestions path. <i>Optional attribute.</i>
6864             -->
6865         <attr name="searchSuggestPath" format="string" />
6866         <!-- If provided, suggestion queries will be passed into your query function
6867             as the <i>selection</i> parameter.  Typically this will be a WHERE clause for your
6868             database, and will contain a single question mark, which represents the actual query
6869             string that has been typed by the user.  If not provided, then the user query text
6870             will be appended to the query Uri (after an additional "/".)  <i>Optional
6871             attribute.</i> -->
6872         <attr name="searchSuggestSelection" format="string" />
6873
6874         <!-- If provided, and not overridden by an action in the selected suggestion, this
6875             string will be placed in the action field of the {@link android.content.Intent Intent}
6876             when the user clicks a suggestion.  <i>Optional attribute.</i> -->
6877         <attr name="searchSuggestIntentAction" format="string" />
6878         <!-- If provided, and not overridden by an action in the selected suggestion, this
6879             string will be placed in the data field of the {@link android.content.Intent Intent}
6880             when the user clicks a suggestion.  <i>Optional attribute.</i> -->
6881         <attr name="searchSuggestIntentData" format="string" />
6882
6883         <!-- If provided, this is the minimum number of characters needed to trigger
6884              search suggestions. The default value is 0. <i>Optional attribute.</i> -->
6885         <attr name="searchSuggestThreshold" format="integer" />
6886
6887         <!-- If provided and <code>true</code>, this searchable activity will be
6888              included in any global lists of search targets.
6889              The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6890         <attr name="includeInGlobalSearch" format="boolean" />
6891
6892         <!-- If provided and <code>true</code>, this searchable activity will be invoked for all
6893              queries in a particular session. If set to <code>false</code> and the activity
6894              returned zero results for a query, it will not be invoked again in that session for
6895              supersets of that zero-results query. For example, if the activity returned zero
6896              results for "bo", it would not be queried again for "bob".
6897              The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6898         <attr name="queryAfterZeroResults" format="boolean" />
6899         <!-- If provided, this string will be used to describe the searchable item in the
6900              searchable items settings within system search settings. <i>Optional
6901              attribute.</i> -->
6902         <attr name="searchSettingsDescription" format="string" />
6903
6904         <!-- If provided and <code>true</code>, URLs entered in the search dialog while searching
6905              within this activity would be detected and treated as URLs (show a 'go' button in the
6906              keyboard and invoke the browser directly when user launches the URL instead of passing
6907              the URL to the activity). If set to <code>false</code> any URLs entered are treated as
6908              normal query text.
6909              The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6910         <attr name="autoUrlDetect" format="boolean" />
6911
6912     </declare-styleable>
6913
6914     <!-- In order to process special action keys during search, you must define them using
6915             one or more "ActionKey" elements in your Searchable metadata.  For a more in-depth
6916             discussion of action code handling, please refer to {@link android.app.SearchManager}.
6917     -->
6918     <declare-styleable name="SearchableActionKey">
6919         <!-- This attribute denotes the action key you wish to respond to.  Note that not
6920             all action keys are actually supported using this mechanism, as many of them are
6921             used for typing, navigation, or system functions.  This will be added to the
6922             {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6923             searchable activity.  To examine the key code, use
6924             {@link android.content.Intent#getIntExtra getIntExtra(SearchManager.ACTION_KEY)}.
6925             <p>Note, in addition to the keycode, you must also provide one or more of the action
6926             specifier attributes.  <i>Required attribute.</i> -->
6927         <attr name="keycode" />
6928
6929         <!-- If you wish to handle an action key during normal search query entry, you
6930             must define an action string here.  This will be added to the
6931             {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6932             searchable activity.  To examine the string, use
6933             {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
6934             <i>Optional attribute.</i> -->
6935         <attr name="queryActionMsg"  format="string" />
6936
6937         <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
6938             selected</i>, there are two ways to handle this.  If <i>all</i> of your suggestions
6939             can handle the action key, you can simply define the action message using this
6940             attribute.  This will be added to the
6941             {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6942             searchable activity.  To examine the string, use
6943             {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
6944             <i>Optional attribute.</i> -->
6945         <attr name="suggestActionMsg"  format="string" />
6946
6947         <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
6948             selected</i>, but you do not wish to enable this action key for every suggestion,
6949             then you can use this attribute to control it on a suggestion-by-suggestion basis.
6950             First, you must define a column (and name it here) where your suggestions will include
6951             the action string.  Then, in your content provider, you must provide this column, and
6952             when desired, provide data in this column.
6953             The search manager will look at your suggestion cursor, using the string
6954             provided here in order to select a column, and will use that to select a string from
6955             the cursor.  That string will be added to the
6956             {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to
6957             your searchable activity.  To examine the string, use
6958             {@link android.content.Intent#getStringExtra
6959             getStringExtra(SearchManager.ACTION_MSG)}.  <i>If the data does not exist for the
6960             selection suggestion, the action key will be ignored.</i><i>Optional attribute.</i> -->
6961         <attr name="suggestActionMsgColumn" format="string" />
6962
6963     </declare-styleable>
6964
6965     <!-- ***************************************************************** -->
6966     <!-- Support for MapView. -->
6967     <!-- ***************************************************************** -->
6968     <eat-comment />
6969
6970     <!-- The set of attributes for a MapView. -->
6971     <declare-styleable name="MapView">
6972         <!-- Value is a string that specifies the Maps API Key to use. -->
6973         <attr name="apiKey" format="string" />
6974     </declare-styleable>
6975
6976     <!-- **************************************************************** -->
6977     <!-- Menu XML inflation. -->
6978     <!-- **************************************************************** -->
6979     <eat-comment />
6980
6981     <!-- Base attributes that are available to all Menu objects. -->
6982     <declare-styleable name="Menu">
6983     </declare-styleable>
6984
6985     <!-- Base attributes that are available to all groups. -->
6986     <declare-styleable name="MenuGroup">
6987
6988         <!-- The ID of the group. -->
6989         <attr name="id" />
6990
6991         <!-- The category applied to all items within this group.
6992              (This will be or'ed with the orderInCategory attribute.) -->
6993         <attr name="menuCategory">
6994             <!-- Items are part of a container. -->
6995             <enum name="container" value="0x00010000" />
6996             <!-- Items are provided by the system. -->
6997             <enum name="system" value="0x00020000" />
6998             <!-- Items are user-supplied secondary (infrequently used). -->
6999             <enum name="secondary" value="0x00030000" />
7000             <!-- Items are alternative actions. -->
7001             <enum name="alternative" value="0x00040000" />
7002         </attr>
7003
7004         <!-- The order within the category applied to all items within this group.
7005              (This will be or'ed with the category attribute.) -->
7006         <attr name="orderInCategory" format="integer" />
7007
7008         <!-- Whether the items are capable of displaying a check mark. -->
7009         <attr name="checkableBehavior">
7010             <!-- The items are not checkable. -->
7011             <enum name="none" value="0" />
7012             <!-- The items are all checkable. -->
7013             <enum name="all" value="1" />
7014             <!-- The items are checkable and there will only be a single checked item in
7015                  this group. -->
7016             <enum name="single" value="2" />
7017         </attr>
7018
7019         <!-- Whether the items are shown/visible. -->
7020         <attr name="visible" />
7021
7022         <!-- Whether the items are enabled. -->
7023         <attr name="enabled" />
7024
7025     </declare-styleable>
7026
7027     <!-- Base attributes that are available to all Item objects. -->
7028     <declare-styleable name="MenuItem">
7029
7030         <!-- The ID of the item. -->
7031         <attr name="id" />
7032
7033         <!-- The category applied to the item.
7034              (This will be or'ed with the orderInCategory attribute.) -->
7035         <attr name="menuCategory" />
7036
7037         <!-- The order within the category applied to the item.
7038              (This will be or'ed with the category attribute.) -->
7039         <attr name="orderInCategory" />
7040
7041         <!-- The title associated with the item. -->
7042         <attr name="title" format="string" />
7043
7044         <!-- The condensed title associated with the item.  This is used in situations where the
7045              normal title may be too long to be displayed. -->
7046         <attr name="titleCondensed" format="string" />
7047
7048         <!-- The icon associated with this item.  This icon will not always be shown, so
7049              the title should be sufficient in describing this item. -->
7050         <attr name="icon" />
7051
7052         <!-- Tint to apply to the icon. -->
7053         <attr name="iconTint" format="color" />
7054
7055         <!-- Blending mode used to apply the icon tint. -->
7056         <attr name="iconTintMode">
7057             <!-- The tint is drawn on top of the icon.
7058                  [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
7059             <enum name="src_over" value="3" />
7060             <!-- The tint is masked by the alpha channel of the icon. The icon’s
7061                  color channels are thrown out. [Sa * Da, Sc * Da] -->
7062             <enum name="src_in" value="5" />
7063             <!-- The tint is drawn above the icon, but with the icon’s alpha
7064                  channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
7065             <enum name="src_atop" value="9" />
7066             <!-- Multiplies the color and alpha channels of the icon with those of
7067                  the tint. [Sa * Da, Sc * Dc] -->
7068             <enum name="multiply" value="14" />
7069             <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
7070             <enum name="screen" value="15" />
7071             <!-- Combines the tint and icon color and alpha channels, clamping the
7072                  result to valid color values. Saturate(S + D) -->
7073             <enum name="add" value="16" />
7074         </attr>
7075
7076         <!-- The alphabetic shortcut key.  This is the shortcut when using a keyboard
7077              with alphabetic keys. -->
7078         <attr name="alphabeticShortcut" format="string" />
7079
7080         <!-- The alphabetic modifier key. This is the modifier when using a keyboard
7081              with alphabetic keys. The values should be kept in sync with KeyEvent -->
7082         <attr name="alphabeticModifiers">
7083             <flag name="META" value="0x10000" />
7084             <flag name="CTRL" value="0x1000" />
7085             <flag name="ALT" value="0x02" />
7086             <flag name="SHIFT" value="0x1" />
7087             <flag name="SYM" value="0x4" />
7088             <flag name="FUNCTION" value="0x8" />
7089         </attr>
7090
7091         <!-- The numeric shortcut key.  This is the shortcut when using a numeric (for example,
7092              12-key) keyboard. -->
7093         <attr name="numericShortcut" format="string" />
7094
7095         <!-- The numeric modifier key. This is the modifier when using a numeric (for example,
7096              12-key) keyboard. The values should be kept in sync with KeyEvent -->
7097         <attr name="numericModifiers">
7098             <flag name="META" value="0x10000" />
7099             <flag name="CTRL" value="0x1000" />
7100             <flag name="ALT" value="0x02" />
7101             <flag name="SHIFT" value="0x1" />
7102             <flag name="SYM" value="0x4" />
7103             <flag name="FUNCTION" value="0x8" />
7104         </attr>
7105
7106         <!-- Whether the item is capable of displaying a check mark. -->
7107         <attr name="checkable" format="boolean" />
7108
7109         <!-- Whether the item is checked.  Note that you must first have enabled checking with
7110              the checkable attribute or else the check mark will not appear. -->
7111         <attr name="checked" />
7112
7113         <!-- Whether the item is shown/visible. -->
7114         <attr name="visible" />
7115
7116         <!-- Whether the item is enabled. -->
7117         <attr name="enabled" />
7118
7119         <!-- Name of a method on the Context used to inflate the menu that will be
7120              called when the item is clicked. -->
7121         <attr name="onClick" />
7122
7123         <!-- How this item should display in the Action Bar, if present. -->
7124         <attr name="showAsAction">
7125             <!-- Never show this item in an action bar, show it in the overflow menu instead.
7126                  Mutually exclusive with "ifRoom" and "always". -->
7127             <flag name="never" value="0" />
7128             <!-- Show this item in an action bar if there is room for it as determined
7129                  by the system. Favor this option over "always" where possible.
7130                  Mutually exclusive with "never" and "always". -->
7131             <flag name="ifRoom" value="1" />
7132             <!-- Always show this item in an actionbar, even if it would override
7133                  the system's limits of how much stuff to put there. This may make
7134                  your action bar look bad on some screens. In most cases you should
7135                  use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never". -->
7136             <flag name="always" value="2" />
7137             <!-- When this item is shown as an action in the action bar, show a text
7138                  label with it even if it has an icon representation. -->
7139             <flag name="withText" value="4" />
7140             <!-- This item's action view collapses to a normal menu
7141                  item. When expanded, the action view takes over a
7142                  larger segment of its container. -->
7143             <flag name="collapseActionView" value="8" />
7144         </attr>
7145
7146         <!-- An optional layout to be used as an action view.
7147              See {@link android.view.MenuItem#setActionView(android.view.View)}
7148              for more info. -->
7149         <attr name="actionLayout" format="reference" />
7150
7151         <!-- The name of an optional View class to instantiate and use as an
7152              action view. See {@link android.view.MenuItem#setActionView(android.view.View)}
7153              for more info. -->
7154         <attr name="actionViewClass" format="string" />
7155
7156         <!-- The name of an optional ActionProvider class to instantiate an action view
7157              and perform operations such as default action for that menu item.
7158              See {@link android.view.MenuItem#setActionProvider(android.view.ActionProvider)}
7159              for more info. -->
7160         <attr name="actionProviderClass" format="string" />
7161
7162         <!-- The content description associated with the item. -->
7163         <attr name="contentDescription" format="string" />
7164
7165         <!-- The tooltip text associated with the item. -->
7166         <attr name="tooltipText" format="string" />
7167
7168     </declare-styleable>
7169
7170     <!-- Attrbitutes for a ActvityChooserView. -->
7171     <declare-styleable name="ActivityChooserView">
7172         <!-- The maximal number of items initially shown in the activity list. -->
7173         <attr name="initialActivityCount" format="string" />
7174         <!-- The drawable to show in the button for expanding the activities overflow popup.
7175              <strong>Note:</strong> Clients would like to set this drawable
7176              as a clue about the action the chosen activity will perform. For
7177              example, if share activity is to be chosen the drawable should
7178              give a clue that sharing is to be performed.
7179          -->
7180         <attr name="expandActivityOverflowButtonDrawable" format="reference" />
7181     </declare-styleable>
7182
7183     <!-- **************************************************************** -->
7184     <!-- Preferences framework. -->
7185     <!-- **************************************************************** -->
7186     <eat-comment />
7187
7188     <!-- Base attributes available to PreferenceGroup. -->
7189     <declare-styleable name="PreferenceGroup">
7190         <!-- Whether to order the Preference under this group as they appear in the XML file.
7191              If this is false, the ordering will follow the Preference order attribute and
7192              default to alphabetic for those without the order attribute. -->
7193         <attr name="orderingFromXml" format="boolean" />
7194     </declare-styleable>
7195
7196     <!-- Attribute for a header describing the item shown in the top-level list
7197          from which the selects the set of preference to dig in to. -->
7198     <declare-styleable name="PreferenceHeader">
7199         <!-- Identifier value for the header. -->
7200         <attr name="id" />
7201         <!-- The title of the item that is shown to the user. -->
7202         <attr name="title" />
7203         <!-- The summary for the item. -->
7204         <attr name="summary" format="string" />
7205         <!-- The title for the bread crumb of this item. -->
7206         <attr name="breadCrumbTitle" format="string" />
7207         <!-- The short title for the bread crumb of this item. -->
7208         <attr name="breadCrumbShortTitle" format="string" />
7209         <!-- An icon for the item. -->
7210         <attr name="icon" />
7211         <!-- The fragment that is displayed when the user selects this item. -->
7212         <attr name="fragment" format="string" />
7213     </declare-styleable>
7214
7215     <!-- WARNING:  If adding attributes to Preference, make sure it does not conflict
7216                    with a View's attributes.  Some subclasses (for example, EditTextPreference)
7217                    proxy all attributes to its EditText widget. -->
7218     <eat-comment />
7219
7220     <!-- Base attributes available to Preference. -->
7221     <declare-styleable name="Preference">
7222         <!-- The optional icon for the preference. -->
7223         <attr name="icon" />
7224         <!-- The key to store the Preference value. -->
7225         <attr name="key" format="string" />
7226         <!-- The title for the Preference. In API 25 and earlier, this value is read as a
7227          plain string with styling information stripped. -->
7228         <attr name="title" />
7229         <!-- The summary for the Preference. In API 25 and earlier, this value is read as a
7230          plain string with styling information stripped. -->
7231         <attr name="summary" />
7232         <!-- The order for the Preference (lower values are to be ordered first). If this is not
7233              specified, the default ordering will be alphabetic. -->
7234         <attr name="order" format="integer" />
7235         <!-- When used inside of a modern PreferenceActivity, this declares
7236              a new PreferenceFragment to be shown when the user selects this item. -->
7237         <attr name="fragment" />
7238         <!-- The layout for the Preference in a PreferenceActivity screen. This should
7239              rarely need to be changed, look at widgetLayout instead. -->
7240         <attr name="layout" />
7241         <!-- The layout for the controllable widget portion of a Preference. This is inflated
7242              into the layout for a Preference and should be used more frequently than
7243              the layout attribute. For example, a checkbox preference would specify
7244              a custom layout (consisting of just the CheckBox) here. -->
7245         <attr name="widgetLayout" format="reference" />
7246         <!-- Whether the Preference is enabled. -->
7247         <attr name="enabled" />
7248         <!-- Whether the Preference is selectable. -->
7249         <attr name="selectable" format="boolean" />
7250         <!-- The key of another Preference that this Preference will depend on.  If the other
7251              Preference is not set or is off, this Preference will be disabled. -->
7252         <attr name="dependency" format="string" />
7253         <!-- Whether the Preference stores its value to the storage. -->
7254         <attr name="persistent" />
7255         <!-- The default value for the preference, which will be set either if persistence
7256              is off or persistence is on and the preference is not found in the persistent
7257              storage.  -->
7258         <attr name="defaultValue" format="string|boolean|integer|reference|float" />
7259         <!-- Whether the view of this Preference should be disabled when
7260              this Preference is disabled. -->
7261         <attr name="shouldDisableView" format="boolean" />
7262         <!-- Whether the preference has enabled to have its view recycled when used in the list
7263              view. This is true by default. -->
7264         <attr name="recycleEnabled" format="boolean" />
7265         <!-- Whether to use single line for the preference title text. By default, preference title
7266              will be constrained to one line, so the default value of this attribute is true. -->
7267         <attr name="singleLineTitle" format="boolean" />
7268         <!-- Whether the space for the preference icon view will be reserved. By default, preference
7269              icon view visibility will be set to GONE when there is no icon provided, so the default
7270              value of this attribute is false. -->
7271         <attr name="iconSpaceReserved" format="boolean" />
7272     </declare-styleable>
7273
7274     <!-- Base attributes available to CheckBoxPreference. -->
7275     <declare-styleable name="CheckBoxPreference">
7276         <!-- The summary for the Preference in a PreferenceActivity screen when the
7277              CheckBoxPreference is checked. If separate on/off summaries are not
7278              needed, the summary attribute can be used instead. -->
7279         <attr name="summaryOn" format="string" />
7280         <!-- The summary for the Preference in a PreferenceActivity screen when the
7281              CheckBoxPreference is unchecked. If separate on/off summaries are not
7282              needed, the summary attribute can be used instead. -->
7283         <attr name="summaryOff" format="string" />
7284         <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
7285              dependents will be disabled when this is unchecked, so the value of this preference is false. -->
7286         <attr name="disableDependentsState" format="boolean" />
7287     </declare-styleable>
7288
7289     <!-- Base attributes available to DialogPreference. -->
7290     <declare-styleable name="DialogPreference">
7291         <!-- The title in the dialog. -->
7292         <attr name="dialogTitle" format="string" />
7293         <!-- The message in the dialog. If a dialogLayout is provided and contains
7294              a TextView with ID android:id/message, this message will be placed in there. -->
7295         <attr name="dialogMessage" format="string" />
7296         <!-- The icon for the dialog. -->
7297         <attr name="dialogIcon" format="reference" />
7298         <!-- The positive button text for the dialog. Set to @null to hide the positive button. -->
7299         <attr name="positiveButtonText" format="string" />
7300         <!-- The negative button text for the dialog. Set to @null to hide the negative button. -->
7301         <attr name="negativeButtonText" format="string" />
7302         <!-- A layout to be used as the content View for the dialog. By default, this shouldn't
7303              be needed. If a custom DialogPreference is required, this should be set. For example,
7304              the EditTextPreference uses a layout with an EditText as this attribute. -->
7305         <attr name="dialogLayout" format="reference" />
7306     </declare-styleable>
7307
7308     <!-- Base attributes available to ListPreference. -->
7309     <declare-styleable name="ListPreference">
7310         <!-- The human-readable array to present as a list. Each entry must have a corresponding
7311              index in entryValues. -->
7312         <attr name="entries" />
7313         <!-- The array to find the value to save for a preference when an entry from
7314              entries is selected. If a user clicks on the second item in entries, the
7315              second item in this array will be saved to the preference. -->
7316         <attr name="entryValues" format="reference" />
7317     </declare-styleable>
7318
7319     <declare-styleable name="MultiSelectListPreference">
7320         <!-- The human-readable array to present as a list. Each entry must have a corresponding
7321              index in entryValues. -->
7322         <attr name="entries" />
7323         <!-- The array to find the value to save for a preference when an entry from
7324              entries is selected. If a user clicks the second item in entries, the
7325              second item in this array will be saved to the preference. -->
7326         <attr name="entryValues" />
7327     </declare-styleable>
7328
7329     <!-- Base attributes available to RingtonePreference. -->
7330     <declare-styleable name="RingtonePreference">
7331         <!-- Which ringtone type(s) to show in the picker. -->
7332         <attr name="ringtoneType">
7333             <!-- Ringtones. -->
7334             <flag name="ringtone" value="1" />
7335             <!-- Notification sounds. -->
7336             <flag name="notification" value="2" />
7337             <!-- Alarm sounds. -->
7338             <flag name="alarm" value="4" />
7339             <!-- All available ringtone sounds. -->
7340             <flag name="all" value="7" />
7341         </attr>
7342         <!-- Whether to show an item for a default sound. -->
7343         <attr name="showDefault" format="boolean" />
7344         <!-- Whether to show an item for 'Silent'. -->
7345         <attr name="showSilent" format="boolean" />
7346     </declare-styleable>
7347
7348     <!-- Base attributes available to VolumePreference. -->
7349     <declare-styleable name="VolumePreference">
7350         <!-- Different audio stream types. -->
7351         <attr name="streamType">
7352             <enum name="voice" value="0" />
7353             <enum name="system" value="1" />
7354             <enum name="ring" value="2" />
7355             <enum name="music" value="3" />
7356             <enum name="alarm" value="4" />
7357         </attr>
7358     </declare-styleable>
7359
7360     <declare-styleable name="InputMethodService">
7361         <!-- Background to use for entire input method when it is being
7362              shown in fullscreen mode with the extract view, to ensure
7363              that it completely covers the application.  This allows,
7364              for example, the candidate view to be hidden
7365              while in fullscreen mode without having the application show through
7366              behind it.-->
7367         <attr name="imeFullscreenBackground" format="reference|color" />
7368         <!-- Animation to use when showing the fullscreen extract UI after
7369              it had previously been hidden. -->
7370         <attr name="imeExtractEnterAnimation" format="reference" />
7371         <!-- Animation to use when hiding the fullscreen extract UI after
7372              it had previously been shown. -->
7373         <attr name="imeExtractExitAnimation" format="reference" />
7374     </declare-styleable>
7375
7376     <declare-styleable name="VoiceInteractionSession">
7377     </declare-styleable>
7378
7379     <declare-styleable name="KeyboardView">
7380         <!-- Default KeyboardView style. -->
7381         <attr name="keyboardViewStyle" format="reference" />
7382
7383         <!-- Image for the key. This image needs to be a StateListDrawable, with the following
7384              possible states: normal, pressed, checkable, checkable+pressed, checkable+checked,
7385              checkable+checked+pressed. -->
7386         <attr name="keyBackground" format="reference" />
7387
7388         <!-- Size of the text for character keys. -->
7389         <attr name="keyTextSize" format="dimension" />
7390
7391         <!-- Size of the text for custom keys with some text and no icon. -->
7392         <attr name="labelTextSize" format="dimension" />
7393
7394         <!-- Color to use for the label in a key. -->
7395         <attr name="keyTextColor" format="color" />
7396
7397         <!-- Layout resource for key press feedback.-->
7398         <attr name="keyPreviewLayout" format="reference" />
7399
7400         <!-- Vertical offset of the key press feedback from the key. -->
7401         <attr name="keyPreviewOffset" format="dimension" />
7402
7403         <!-- Height of the key press feedback popup. -->
7404         <attr name="keyPreviewHeight" format="dimension" />
7405
7406         <!-- Amount to offset the touch Y coordinate by, for bias correction. -->
7407         <attr name="verticalCorrection" format="dimension" />
7408
7409         <!-- Layout resource for popup keyboards. -->
7410         <attr name="popupLayout" format="reference" />
7411
7412         <attr name="shadowColor" />
7413         <attr name="shadowRadius" />
7414     </declare-styleable>
7415
7416     <declare-styleable name="KeyboardViewPreviewState">
7417         <!-- State for {@link android.inputmethodservice.KeyboardView KeyboardView}
7418                 key preview background. -->
7419         <attr name="state_long_pressable" format="boolean" />
7420     </declare-styleable>
7421
7422     <declare-styleable name="Keyboard">
7423         <!-- Default width of a key, in pixels or percentage of display width. -->
7424         <attr name="keyWidth" format="dimension|fraction" />
7425         <!-- Default height of a key, in pixels or percentage of display width. -->
7426         <attr name="keyHeight" format="dimension|fraction" />
7427         <!-- Default horizontal gap between keys. -->
7428         <attr name="horizontalGap" format="dimension|fraction" />
7429         <!-- Default vertical gap between rows of keys. -->
7430         <attr name="verticalGap" format="dimension|fraction" />
7431     </declare-styleable>
7432
7433     <declare-styleable name="Keyboard_Row">
7434         <!-- Row edge flags. -->
7435         <attr name="rowEdgeFlags">
7436             <!-- Row is anchored to the top of the keyboard. -->
7437             <flag name="top" value="4" />
7438             <!-- Row is anchored to the bottom of the keyboard. -->
7439             <flag name="bottom" value="8" />
7440         </attr>
7441         <!-- Mode of the keyboard. If the mode doesn't match the
7442              requested keyboard mode, the row will be skipped. -->
7443         <attr name="keyboardMode" format="reference" />
7444     </declare-styleable>
7445
7446     <declare-styleable name="Keyboard_Key">
7447         <!-- The unicode value or comma-separated values that this key outputs. -->
7448         <attr name="codes" format="integer|string" />
7449         <!-- The XML keyboard layout of any popup keyboard. -->
7450         <attr name="popupKeyboard" format="reference" />
7451         <!-- The characters to display in the popup keyboard. -->
7452         <attr name="popupCharacters" format="string" />
7453         <!-- Key edge flags. -->
7454         <attr name="keyEdgeFlags">
7455             <!-- Key is anchored to the left of the keyboard. -->
7456             <flag name="left" value="1" />
7457             <!-- Key is anchored to the right of the keyboard. -->
7458             <flag name="right" value="2" />
7459         </attr>
7460         <!-- Whether this is a modifier key such as Alt or Shift. -->
7461         <attr name="isModifier" format="boolean" />
7462         <!-- Whether this is a toggle key. -->
7463         <attr name="isSticky" format="boolean" />
7464         <!-- Whether long-pressing on this key will make it repeat. -->
7465         <attr name="isRepeatable" format="boolean" />
7466         <!-- The icon to show in the popup preview. -->
7467         <attr name="iconPreview" format="reference" />
7468         <!-- The string of characters to output when this key is pressed. -->
7469         <attr name="keyOutputText" format="string" />
7470         <!-- The label to display on the key. -->
7471         <attr name="keyLabel" format="string" />
7472         <!-- The icon to display on the key instead of the label. -->
7473         <attr name="keyIcon" format="reference" />
7474         <!-- Mode of the keyboard. If the mode doesn't match the
7475              requested keyboard mode, the key will be skipped. -->
7476         <attr name="keyboardMode" />
7477     </declare-styleable>
7478
7479     <!-- =============================== -->
7480     <!-- AppWidget package class attributes -->
7481     <!-- =============================== -->
7482     <eat-comment />
7483
7484     <!-- Use <code>appwidget-provider</code> as the root tag of the XML resource that
7485          describes an AppWidget provider.  See {@link android.appwidget android.appwidget}
7486          package for more info.
7487      -->
7488     <declare-styleable name="AppWidgetProviderInfo">
7489         <!-- Minimum width of the AppWidget. -->
7490         <attr name="minWidth"/>
7491         <!-- Minimum height of the AppWidget. -->
7492         <attr name="minHeight"/>
7493         <!-- Minimum width that the AppWidget can be resized to. -->
7494         <attr name="minResizeWidth" format="dimension"/>
7495         <!-- Minimum height that the AppWidget can be resized to. -->
7496         <attr name="minResizeHeight" format="dimension"/>
7497         <!-- Update period in milliseconds, or 0 if the AppWidget will update itself. -->
7498         <attr name="updatePeriodMillis" format="integer" />
7499         <!-- A resource id of a layout. -->
7500         <attr name="initialLayout" format="reference" />
7501         <!-- A resource id of a layout. -->
7502         <attr name="initialKeyguardLayout" format="reference" />
7503         <!-- A class name in the AppWidget's package to be launched to configure.
7504              If not supplied, then no activity will be launched. -->
7505         <attr name="configure" format="string" />
7506         <!-- A preview of what the AppWidget will look like after it's configured.
7507               If not supplied, the AppWidget's icon will be used. -->
7508         <attr name="previewImage" format="reference" />
7509         <!-- The view id of the AppWidget subview which should be auto-advanced.
7510              by the widget's host. -->
7511         <attr name="autoAdvanceViewId" format="reference" />
7512         <!-- Optional parameter which indicates if and how this widget can be
7513              resized. Supports combined values using | operator. -->
7514         <attr name="resizeMode" format="integer">
7515             <flag name="none" value="0x0" />
7516             <flag name="horizontal" value="0x1" />
7517             <flag name="vertical" value="0x2" />
7518         </attr>
7519         <!-- Optional parameter which indicates where this widget can be shown,
7520              ie. home screen, keyguard, search bar or any combination thereof.
7521              Supports combined values using | operator. -->
7522         <attr name="widgetCategory" format="integer">
7523             <flag name="home_screen" value="0x1" />
7524             <flag name="keyguard" value="0x2" />
7525             <flag name="searchbox" value="0x4" />
7526         </attr>
7527     </declare-styleable>
7528
7529     <!-- =============================== -->
7530     <!-- Wallpaper preview attributes    -->
7531     <!-- =============================== -->
7532     <eat-comment />
7533
7534     <!-- Use <code>wallpaper-preview</code> as the root tag of the XML resource that
7535          describes a wallpaper preview. -->
7536     <declare-styleable name="WallpaperPreviewInfo">
7537         <!-- A resource id of a static drawable. -->
7538         <attr name="staticWallpaperPreview" format="reference" />
7539     </declare-styleable>
7540
7541     <!-- =============================== -->
7542     <!-- App package class attributes -->
7543     <!-- =============================== -->
7544     <eat-comment />
7545
7546     <!-- ============================= -->
7547     <!-- View package class attributes -->
7548     <!-- ============================= -->
7549     <eat-comment />
7550
7551     <!-- Attributes that can be used with <code>&lt;fragment&gt;</code>
7552          tags inside of the layout of an Activity.  This instantiates
7553          the given {@link android.app.Fragment} and inserts its content
7554          view into the current location in the layout. -->
7555     <declare-styleable name="Fragment">
7556         <!-- Supply the name of the fragment class to instantiate. -->
7557         <attr name="name" />
7558
7559         <!-- Supply an identifier name for the top-level view, to later retrieve it
7560              with {@link android.view.View#findViewById View.findViewById()} or
7561              {@link android.app.Activity#findViewById Activity.findViewById()}.
7562              This must be a
7563              resource reference; typically you set this using the
7564              <code>@+</code> syntax to create a new ID resources.
7565              For example: <code>android:id="@+id/my_id"</code> which
7566              allows you to later retrieve the view
7567              with <code>findViewById(R.id.my_id)</code>. -->
7568         <attr name="id" />
7569
7570         <!-- Supply a tag for the top-level view containing a String, to be retrieved
7571              later with {@link android.view.View#getTag View.getTag()} or
7572              searched for with {@link android.view.View#findViewWithTag
7573              View.findViewWithTag()}.  It is generally preferable to use
7574              IDs (through the android:id attribute) instead of tags because
7575              they are faster and allow for compile-time type checking. -->
7576         <attr name="tag" />
7577
7578         <!-- The Transition that will be used to move Views out of the scene when the
7579              fragment is removed, hidden, or detached when not popping the back stack.
7580              Corresponds to {@link android.app.Fragment#setExitTransition(
7581              android.transition.Transition)} -->
7582         <attr name="fragmentExitTransition" format="reference"/>
7583
7584         <!-- The Transition that will be used to move Views into the initial scene.
7585              Corresponds to {@link android.app.Fragment#setEnterTransition(
7586              android.transition.Transition)} -->
7587         <attr name="fragmentEnterTransition" format="reference"/>
7588
7589         <!-- The Transition that will be used for shared elements transferred into the content
7590              Scene.
7591              Corresponds to {@link android.app.Fragment#setSharedElementEnterTransition(
7592              android.transition.Transition)} -->
7593         <attr name="fragmentSharedElementEnterTransition" format="reference"/>
7594
7595         <!-- The Transition that will be used to move Views out of the scene when the Fragment is
7596              preparing to be removed, hidden, or detached because of popping the back stack.
7597              Corresponds to {@link android.app.Fragment#setReturnTransition(
7598              android.transition.Transition)} -->
7599         <attr name="fragmentReturnTransition" format="reference"/>
7600
7601         <!-- The Transition that will be used for shared elements transferred back during a
7602              pop of the back stack. This Transition acts in the leaving Fragment.
7603              Corresponds to {@link android.app.Fragment#setSharedElementReturnTransition(
7604              android.transition.Transition)} -->
7605         <attr name="fragmentSharedElementReturnTransition" format="reference"/>
7606
7607         <!-- The Transition that will be used to move Views in to the scene when returning due
7608              to popping a back stack.
7609              Corresponds to {@link android.app.Fragment#setReenterTransition(
7610              android.transition.Transition)} -->
7611         <attr name="fragmentReenterTransition" format="reference"/>
7612
7613         <!-- Sets whether the enter and exit transitions should overlap when transitioning
7614              forward.
7615              Corresponds to {@link android.app.Fragment#setAllowEnterTransitionOverlap(
7616              boolean)} -->
7617         <attr name="fragmentAllowEnterTransitionOverlap" format="reference"/>
7618
7619         <!-- Sets whether the enter and exit transitions should overlap when transitioning
7620              because of popping the back stack.
7621              Corresponds to {@link android.app.Fragment#setAllowReturnTransitionOverlap(
7622              boolean)} -->
7623         <attr name="fragmentAllowReturnTransitionOverlap" format="reference"/>
7624     </declare-styleable>
7625
7626     <!-- Use <code>device-admin</code> as the root tag of the XML resource that
7627          describes a
7628          {@link android.app.admin.DeviceAdminReceiver}, which is
7629          referenced from its
7630          {@link android.app.admin.DeviceAdminReceiver#DEVICE_ADMIN_META_DATA}
7631          meta-data entry.  Described here are the attributes that can be
7632          included in that tag. -->
7633     <declare-styleable name="DeviceAdmin">
7634         <!-- Control whether the admin is visible to the user, even when it
7635              is not enabled.  This is true by default.  You may want to make
7636              it false if your admin does not make sense to be turned on
7637              unless some explicit action happens in your app. -->
7638         <attr name="visible" />
7639     </declare-styleable>
7640
7641     <!-- Use <code>wallpaper</code> as the root tag of the XML resource that
7642          describes an
7643          {@link android.service.wallpaper.WallpaperService}, which is
7644          referenced from its
7645          {@link android.service.wallpaper.WallpaperService#SERVICE_META_DATA}
7646          meta-data entry.  Described here are the attributes that can be
7647          included in that tag. -->
7648     <declare-styleable name="Wallpaper">
7649         <attr name="settingsActivity" />
7650
7651         <!-- Reference to the wallpaper's thumbnail bitmap. -->
7652         <attr name="thumbnail" format="reference" />
7653
7654         <!-- Name of the author and/or source/collection of this component, for example,
7655              Art Collection, Picasso. -->
7656         <attr name="author" format="reference" />
7657
7658         <!-- Short description of the component's purpose or behavior. -->
7659         <attr name="description" />
7660
7661         <!-- Uri that specifies a link for further context of this wallpaper, for example,
7662              http://www.picasso.org. -->
7663         <attr name="contextUri" format="reference" />
7664
7665         <!-- Title of the uri that specifies a link for further context of this wallpaper,
7666              for example, Explore collection. -->
7667         <attr name="contextDescription" format="reference" />
7668
7669         <!-- Whether to show any metadata when previewing the wallpaper. If this value is
7670              set to true, any component that shows a preview of this live wallpaper should also show
7671              accompanying information like the title, the description, the author and the context
7672              description of this wallpaper so the user gets to know further information about this
7673              wallpaper. -->
7674         <attr name="showMetadataInPreview" format="boolean" />
7675
7676     </declare-styleable>
7677
7678     <!-- Use <code>dream</code> as the root tag of the XML resource that
7679          describes an
7680          {@link android.service.dreams.DreamService}, which is
7681          referenced from its
7682          {@link android.service.dreams.DreamService#DREAM_META_DATA}
7683          meta-data entry.  Described here are the attributes that can be
7684          included in that tag. -->
7685     <declare-styleable name="Dream">
7686         <!-- Component name of an activity that allows the user to modify
7687              the settings for this dream. -->
7688         <attr name="settingsActivity" />
7689     </declare-styleable>
7690
7691     <!-- @SystemApi Use <code>trust-agent</code> as the root tag of the XML resource that
7692          describes an {@link android.service.trust.TrustAgentService}, which is
7693          referenced from its {@link android.service.trust.TrustAgentService#TRUST_AGENT_META_DATA}
7694          meta-data entry.  Described here are the attributes that can be included in that tag.
7695          @hide -->
7696     <declare-styleable name="TrustAgent">
7697         <!-- @SystemApi Component name of an activity that allows the user to modify
7698              the settings for this trust agent. @hide -->
7699         <attr name="settingsActivity" />
7700         <!-- @SystemApi Title for a preference that allows that user to launch the
7701              activity to modify trust agent settings. @hide -->
7702         <attr name="title" />
7703         <!-- @SystemApi Summary for the same preference as the title. @hide -->
7704         <attr name="summary" />
7705         <!-- @SystemApi Whether trust agent can unlock a user profile @hide -->
7706         <attr name="unlockProfile" format="boolean"/>
7707     </declare-styleable>
7708
7709     <!-- =============================== -->
7710     <!-- Accounts package class attributes -->
7711     <!-- =============================== -->
7712     <eat-comment />
7713
7714     <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
7715          describes an account authenticator.
7716      -->
7717     <declare-styleable name="AccountAuthenticator">
7718         <!-- The account type this authenticator handles. -->
7719         <attr name="accountType" format="string"/>
7720         <!-- The user-visible name of the authenticator. -->
7721         <attr name="label"/>
7722         <!-- The icon of the authenticator. -->
7723         <attr name="icon"/>
7724         <!-- Smaller icon of the authenticator. -->
7725         <attr name="smallIcon" format="reference"/>
7726         <!-- A preferences.xml file for authenticator-specific settings. -->
7727         <attr name="accountPreferences" format="reference"/>
7728         <!-- Account handles its own token storage and permissions.
7729              Default to false
7730           -->
7731         <attr name="customTokens" format="boolean"/>
7732     </declare-styleable>
7733
7734     <!-- =============================== -->
7735     <!-- Accounts package class attributes -->
7736     <!-- =============================== -->
7737     <eat-comment />
7738
7739     <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
7740          describes an account authenticator.
7741      -->
7742     <declare-styleable name="SyncAdapter">
7743         <!-- the authority of a content provider. -->
7744         <attr name="contentAuthority" format="string"/>
7745         <attr name="accountType"/>
7746         <attr name="userVisible" format="boolean"/>
7747         <attr name="supportsUploading" format="boolean"/>
7748         <!-- Set to true to tell the SyncManager that this SyncAdapter supports
7749              multiple simultaneous syncs for the same account type and authority.
7750              Otherwise the SyncManager will be sure not to issue a start sync request
7751              to this SyncAdapter if the SyncAdapter is already syncing another account.
7752              Defaults to false.
7753              -->
7754         <attr name="allowParallelSyncs" format="boolean"/>
7755         <!-- Set to true to tell the SyncManager to automatically call setIsSyncable(..., ..., 1)
7756              for the SyncAdapter instead of issuaing an initialization sync to the SyncAdapter.
7757              Defaults to false.
7758              -->
7759         <attr name="isAlwaysSyncable" format="boolean"/>
7760         <!-- If provided, specifies the action of the settings
7761              activity for this SyncAdapter.
7762              -->
7763         <attr name="settingsActivity"/>
7764     </declare-styleable>
7765
7766     <!-- =============================== -->
7767     <!-- Autofill attributes -->
7768     <!-- =============================== -->
7769     <eat-comment />
7770
7771     <!-- Use <code>autofill-service</code> as the root tag of the XML resource that describes a
7772          {@link android.service.autofill.AutofillService}, which is referenced from its
7773          {@link android.service.autofill#SERVICE_META_DATA} meta-data entry.
7774     -->
7775     <declare-styleable name="AutofillService">
7776         <!-- Fully qualified class name of an activity that allows the user to modify
7777              the settings for this service. -->
7778         <attr name="settingsActivity" />
7779     </declare-styleable>
7780
7781     <!-- =============================== -->
7782     <!-- Contacts meta-data attributes -->
7783     <!-- =============================== -->
7784     <eat-comment />
7785
7786     <!-- TODO: remove this deprecated styleable. -->
7787     <eat-comment />
7788     <declare-styleable name="Icon">
7789         <attr name="icon" />
7790         <attr name="mimeType" />
7791     </declare-styleable>
7792
7793     <!-- TODO: remove this deprecated styleable -->
7794     <eat-comment />
7795     <declare-styleable name="IconDefault">
7796         <attr name="icon" />
7797     </declare-styleable>
7798
7799     <!-- Maps a specific contact data MIME-type to styling information. -->
7800     <declare-styleable name="ContactsDataKind">
7801         <!-- Mime-type handled by this mapping. -->
7802         <attr name="mimeType" />
7803         <!-- Icon used to represent data of this kind. -->
7804         <attr name="icon" />
7805         <!-- Column in data table that summarizes this data. -->
7806         <attr name="summaryColumn" format="string" />
7807         <!-- Column in data table that contains details for this data. -->
7808         <attr name="detailColumn" format="string" />
7809         <!-- Flag indicating that detail should be built from SocialProvider. -->
7810         <attr name="detailSocialSummary" format="boolean" />
7811         <!-- Resource representing the term "All Contacts" (for example, "All Friends" or
7812         "All connections"). Optional (Default is "All Contacts"). -->
7813         <attr name="allContactsName" format="string" />
7814     </declare-styleable>
7815
7816     <!-- =============================== -->
7817     <!-- TabSelector class attributes -->
7818     <!-- =============================== -->
7819     <eat-comment />
7820
7821     <declare-styleable name="SlidingTab">
7822         <!-- Use "horizontal" for a row, "vertical" for a column.  The default is horizontal. -->
7823         <attr name="orientation" />
7824     </declare-styleable>
7825
7826     <!-- =============================== -->
7827     <!-- GlowPadView class attributes -->
7828     <!-- =============================== -->
7829     <eat-comment />
7830     <declare-styleable name="GlowPadView">
7831         <!-- Reference to an array resource that be used as description for the targets around the circle.
7832              {@deprecated Removed.} -->
7833         <attr name="targetDescriptions" format="reference" />
7834
7835         <!-- Reference to an array resource that be used to announce the directions with targets around the circle.
7836              {@deprecated Removed.} -->
7837         <attr name="directionDescriptions" format="reference" />
7838     </declare-styleable>
7839
7840     <!-- =============================== -->
7841     <!-- Location package class attributes -->
7842     <!-- =============================== -->
7843     <eat-comment />
7844
7845     <!-- Use <code>injected-location-setting</code> as the root tag of the XML resource that
7846          describes an injected "Location services" setting. Note that the status value (subtitle)
7847          for the setting is specified dynamically by a subclass of SettingInjectorService.
7848      -->
7849     <declare-styleable name="SettingInjectorService">
7850         <!-- The title for the preference. -->
7851         <attr name="title"/>
7852         <!-- The icon for the preference, should refer to all apps covered by the setting. Typically
7853              a generic icon for the developer. -->
7854         <attr name="icon"/>
7855         <!-- The activity to launch when the setting is clicked on. -->
7856         <attr name="settingsActivity"/>
7857     </declare-styleable>
7858
7859     <!-- =============================== -->
7860     <!-- LockPatternView class attributes -->
7861     <!-- =============================== -->
7862     <eat-comment />
7863
7864     <declare-styleable name="LockPatternView">
7865         <!-- Aspect to use when drawing LockPatternView. Choices are "square"(default), "lock_width"
7866              or "lock_height" -->
7867         <attr name="aspect" format="string" />
7868         <!-- Color to use when drawing LockPatternView paths. -->
7869         <attr name="pathColor" format="color|reference" />
7870         <!-- The regular pattern color -->
7871         <attr name="regularColor" format="color|reference" />
7872         <!-- The error color -->
7873         <attr name="errorColor" format="color|reference" />
7874         <!-- The success color -->
7875         <attr name="successColor" format="color|reference"/>
7876     </declare-styleable>
7877
7878     <!-- Use <code>recognition-service</code> as the root tag of the XML resource that
7879          describes a {@link android.speech.RecognitionService}, which is referenced from
7880          its {@link android.speech.RecognitionService#SERVICE_META_DATA} meta-data entry.
7881          Described here are the attributes that can be included in that tag. -->
7882     <declare-styleable name="RecognitionService">
7883         <attr name="settingsActivity" />
7884     </declare-styleable>
7885
7886     <!-- Use <code>voice-interaction-service</code> as the root tag of the XML resource that
7887          describes a {@link android.service.voice.VoiceInteractionService}, which is referenced from
7888          its {@link android.service.voice.VoiceInteractionService#SERVICE_META_DATA} meta-data entry.
7889          Described here are the attributes that can be included in that tag. -->
7890     <declare-styleable name="VoiceInteractionService">
7891         <!-- The service that hosts active voice interaction sessions.  This is required. -->
7892         <attr name="sessionService" format="string" />
7893         <!-- The service that provides voice recognition.  This is required.  When the user
7894              selects this voice interaction service, they will also be implicitly selecting
7895              the component here for their recognition service. -->
7896         <attr name="recognitionService" format="string" />
7897         <attr name="settingsActivity" />
7898         <!-- Flag indicating whether this voice interaction service is capable of handling the
7899              assist action. -->
7900         <attr name="supportsAssist" format="boolean" />
7901         <!-- Flag indicating whether this voice interaction service is capable of being launched
7902              from the keyguard. -->
7903         <attr name="supportsLaunchVoiceAssistFromKeyguard" format="boolean" />
7904         <!-- Flag indicating whether this voice interaction service can handle local voice
7905              interaction requests from an Activity. This flag is new in
7906              {@link android.os.Build.VERSION_CODES#N} and not used in previous versions. -->
7907         <attr name="supportsLocalInteraction" format="boolean" />
7908     </declare-styleable>
7909
7910     <!-- Use <code>voice-enrollment-application</code>
7911          as the root tag of the XML resource that escribes the supported keyphrases (hotwords)
7912          by the enrollment application.
7913          Described here are the attributes that can be included in that tag.
7914          @hide
7915          @SystemApi -->
7916     <declare-styleable name="VoiceEnrollmentApplication">
7917         <!-- A globally unique ID for the keyphrase. @hide @SystemApi -->
7918         <attr name="searchKeyphraseId" format="integer" />
7919         <!-- The actual keyphrase/hint text, or empty if not keyphrase dependent. @hide @SystemApi -->
7920         <attr name="searchKeyphrase" format="string" />
7921         <!-- A comma separated list of BCP-47 language tag for locales that are supported
7922              for this keyphrase, or empty if not locale dependent. @hide @SystemApi -->
7923         <attr name="searchKeyphraseSupportedLocales" format="string" />
7924         <!-- Flags for supported recognition modes. @hide @SystemApi -->
7925         <attr name="searchKeyphraseRecognitionFlags">
7926             <flag name="none" value="0" />
7927             <flag name="voiceTrigger" value="0x1" />
7928             <flag name="userIdentification" value="0x2" />
7929         </attr>
7930     </declare-styleable>
7931
7932     <!-- Attributes used to style the Action Bar. -->
7933     <declare-styleable name="ActionBar">
7934         <!-- The type of navigation to use. -->
7935         <attr name="navigationMode">
7936             <!-- Normal static title text. -->
7937             <enum name="normal" value="0" />
7938             <!-- The action bar will use a selection list for navigation. -->
7939             <enum name="listMode" value="1" />
7940             <!-- The action bar will use a series of horizontal tabs for navigation. -->
7941             <enum name="tabMode" value="2" />
7942         </attr>
7943         <!-- Options affecting how the action bar is displayed. -->
7944         <attr name="displayOptions">
7945             <flag name="none" value="0" />
7946             <flag name="useLogo" value="0x1" />
7947             <flag name="showHome" value="0x2" />
7948             <flag name="homeAsUp" value="0x4" />
7949             <flag name="showTitle" value="0x8" />
7950             <flag name="showCustom" value="0x10" />
7951             <flag name="disableHome" value="0x20" />
7952         </attr>
7953         <!-- Specifies title text used for navigationMode="normal". -->
7954         <attr name="title" />
7955         <!-- Specifies subtitle text used for navigationMode="normal". -->
7956         <attr name="subtitle" format="string" />
7957         <!-- Specifies a style to use for title text. -->
7958         <attr name="titleTextStyle" format="reference" />
7959         <!-- Specifies a style to use for subtitle text. -->
7960         <attr name="subtitleTextStyle" format="reference" />
7961         <!-- Specifies the drawable used for the application icon. -->
7962         <attr name="icon" />
7963         <!-- Specifies the drawable used for the application logo. -->
7964         <attr name="logo" />
7965         <!-- Specifies the drawable used for item dividers. -->
7966         <attr name="divider" />
7967         <!-- Specifies a background drawable for the action bar. -->
7968         <attr name="background" />
7969         <!-- Specifies a background drawable for a second stacked row of the action bar. -->
7970         <attr name="backgroundStacked" format="reference|color" />
7971         <!-- Specifies a background drawable for the bottom component of a split action bar. -->
7972         <attr name="backgroundSplit" format="reference|color" />
7973         <!-- Specifies a layout for custom navigation. Overrides navigationMode. -->
7974         <attr name="customNavigationLayout" format="reference" />
7975         <!-- Specifies a fixed height. -->
7976         <attr name="height" />
7977         <!-- Specifies a layout to use for the "home" section of the action bar. -->
7978         <attr name="homeLayout" format="reference" />
7979         <!-- Specifies a style resource to use for an embedded progress bar. -->
7980         <attr name="progressBarStyle" />
7981         <!-- Specifies a style resource to use for an indeterminate progress spinner. -->
7982         <attr name="indeterminateProgressStyle" format="reference" />
7983         <!-- Specifies the horizontal padding on either end for an embedded progress bar. -->
7984         <attr name="progressBarPadding" format="dimension" />
7985         <!-- Up navigation glyph. -->
7986         <attr name="homeAsUpIndicator" />
7987         <!-- Specifies padding that should be applied to the left and right sides of
7988              system-provided items in the bar. -->
7989         <attr name="itemPadding" format="dimension" />
7990         <!-- Set true to hide the action bar on a vertical nested scroll of content. -->
7991         <attr name="hideOnContentScroll" format="boolean" />
7992         <!-- Minimum inset for content views within a bar. Navigation buttons and
7993              menu views are excepted. Only valid for some themes and configurations. -->
7994         <attr name="contentInsetStart" format="dimension" />
7995         <!-- Minimum inset for content views within a bar. Navigation buttons and
7996              menu views are excepted. Only valid for some themes and configurations. -->
7997         <attr name="contentInsetEnd" format="dimension" />
7998         <!-- Minimum inset for content views within a bar. Navigation buttons and
7999              menu views are excepted. Only valid for some themes and configurations. -->
8000         <attr name="contentInsetLeft" format="dimension" />
8001         <!-- Minimum inset for content views within a bar. Navigation buttons and
8002              menu views are excepted. Only valid for some themes and configurations. -->
8003         <attr name="contentInsetRight" format="dimension" />
8004         <!-- Minimum inset for content views within a bar when a navigation button
8005              is present, such as the Up button. Only valid for some themes and configurations. -->
8006         <attr name="contentInsetStartWithNavigation" format="dimension" />
8007         <!-- Minimum inset for content views within a bar when actions from a menu
8008              are present. Only valid for some themes and configurations. -->
8009         <attr name="contentInsetEndWithActions" format="dimension" />
8010         <!-- Elevation for the action bar itself. -->
8011         <attr name="elevation" />
8012         <!-- Reference to a theme that should be used to inflate popups
8013              shown by widgets in the action bar. -->
8014         <attr name="popupTheme" />
8015     </declare-styleable>
8016
8017     <declare-styleable name="ActionMode">
8018         <!-- Specifies a style to use for title text. -->
8019         <attr name="titleTextStyle" />
8020         <!-- Specifies a style to use for subtitle text. -->
8021         <attr name="subtitleTextStyle" />
8022         <!-- Specifies a background for the action mode bar. -->
8023         <attr name="background" />
8024         <!-- Specifies a background for the split action mode bar. -->
8025         <attr name="backgroundSplit" />
8026         <!-- Specifies a fixed height for the action mode bar. -->
8027         <attr name="height" />
8028         <!-- Specifies a layout to use for the "close" item at the starting edge. -->
8029         <attr name="closeItemLayout" format="reference" />
8030     </declare-styleable>
8031
8032     <declare-styleable name="SearchView">
8033         <!-- The layout to use for the search view. -->
8034         <attr name="layout" />
8035         <!-- The default state of the SearchView. If true, it will be iconified when not in
8036              use and expanded when clicked. -->
8037         <attr name="iconifiedByDefault" format="boolean" />
8038         <!-- An optional maximum width of the SearchView. -->
8039         <attr name="maxWidth" />
8040         <!-- An optional query hint string to be displayed in the empty query field. -->
8041         <attr name="queryHint" format="string" />
8042         <!-- Default query hint used when {@code queryHint} is undefined and
8043              the search view's {@code SearchableInfo} does not provide a hint.
8044              @hide -->
8045         <attr name="defaultQueryHint" format="string" />
8046         <!-- The IME options to set on the query text field. -->
8047         <attr name="imeOptions" />
8048         <!-- The input type to set on the query text field. -->
8049         <attr name="inputType" />
8050         <!-- Close button icon. -->
8051         <attr name="closeIcon" format="reference" />
8052         <!-- Go button icon. -->
8053         <attr name="goIcon" format="reference" />
8054         <!-- Search icon. -->
8055         <attr name="searchIcon" format="reference" />
8056         <!-- Search icon displayed as a text field hint. -->
8057         <attr name="searchHintIcon" format="reference" />
8058         <!-- Voice button icon. -->
8059         <attr name="voiceIcon" format="reference" />
8060         <!-- Commit icon shown in the query suggestion row. -->
8061         <attr name="commitIcon" format="reference" />
8062         <!-- Layout for query suggestion rows. -->
8063         <attr name="suggestionRowLayout" format="reference" />
8064         <!-- Background for the section containing the search query. -->
8065         <attr name="queryBackground" format="reference" />
8066         <!-- Background for the section containing the action (for example, voice search). -->
8067         <attr name="submitBackground" format="reference" />
8068     </declare-styleable>
8069
8070     <declare-styleable name="Switch">
8071         <!-- Drawable to use as the "thumb" that switches back and forth. -->
8072         <attr name="thumb" />
8073         <!-- Tint to apply to the thumb. -->
8074         <attr name="thumbTint" />
8075         <!-- Blending mode used to apply the thumb tint. -->
8076         <attr name="thumbTintMode" />
8077         <!-- Drawable to use as the "track" that the switch thumb slides within. -->
8078         <attr name="track" format="reference" />
8079         <!-- Tint to apply to the track. -->
8080         <attr name="trackTint" format="color" />
8081         <!-- Blending mode used to apply the track tint. -->
8082         <attr name="trackTintMode">
8083             <!-- The tint is drawn on top of the drawable.
8084                  [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
8085             <enum name="src_over" value="3" />
8086             <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
8087                  color channels are thrown out. [Sa * Da, Sc * Da] -->
8088             <enum name="src_in" value="5" />
8089             <!-- The tint is drawn above the drawable, but with the drawable’s alpha
8090                  channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
8091             <enum name="src_atop" value="9" />
8092             <!-- Multiplies the color and alpha channels of the drawable with those of
8093                  the tint. [Sa * Da, Sc * Dc] -->
8094             <enum name="multiply" value="14" />
8095             <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
8096             <enum name="screen" value="15" />
8097             <!-- Combines the tint and drawable color and alpha channels, clamping the
8098                  result to valid color values. Saturate(S + D) -->
8099             <enum name="add" value="16" />
8100         </attr>
8101         <!-- Text to use when the switch is in the checked/"on" state. -->
8102         <attr name="textOn" />
8103         <!-- Text to use when the switch is in the unchecked/"off" state. -->
8104         <attr name="textOff" />
8105         <!-- Amount of padding on either side of text within the switch thumb. -->
8106         <attr name="thumbTextPadding" format="dimension" />
8107         <!-- TextAppearance style for text displayed on the switch thumb. -->
8108         <attr name="switchTextAppearance" format="reference" />
8109         <!-- Minimum width for the switch component. -->
8110         <attr name="switchMinWidth" format="dimension" />
8111         <!-- Minimum space between the switch and caption text. -->
8112         <attr name="switchPadding" format="dimension" />
8113         <!-- Whether to split the track and leave a gap for the thumb drawable. -->
8114         <attr name="splitTrack" />
8115         <!-- Whether to draw on/off text. -->
8116         <attr name="showText" format="boolean" />
8117     </declare-styleable>
8118
8119     <declare-styleable name="Pointer">
8120         <!-- Reference to a pointer icon drawable with STYLE_ARROW. -->
8121         <attr name="pointerIconArrow" format="reference" />
8122         <!-- Reference to a pointer icon drawable with STYLE_SPOT_HOVER. -->
8123         <attr name="pointerIconSpotHover" format="reference" />
8124         <!-- Reference to a pointer icon drawable with STYLE_SPOT_TOUCH. -->
8125         <attr name="pointerIconSpotTouch" format="reference" />
8126         <!-- Reference to a pointer icon drawable with STYLE_SPOT_ANCHOR. -->
8127         <attr name="pointerIconSpotAnchor" format="reference" />
8128         <!-- Reference to a pointer drawable with STYLE_CONTEXT_MENU. -->
8129         <attr name="pointerIconContextMenu" format="reference"/>
8130         <!-- Reference to a pointer drawable with STYLE_HAND. -->
8131         <attr name="pointerIconHand" format="reference"/>
8132         <!-- Reference to a pointer drawable with STYLE_HELP. -->
8133         <attr name="pointerIconHelp" format="reference"/>
8134         <!-- Reference to a pointer drawable with STYLE_WAIT. -->
8135         <attr name="pointerIconWait" format="reference"/>
8136         <!-- Reference to a pointer drawable with STYLE_CELL. -->
8137         <attr name="pointerIconCell" format="reference"/>
8138         <!-- Reference to a pointer drawable with STYLE_CROSSHAIR. -->
8139         <attr name="pointerIconCrosshair" format="reference"/>
8140         <!-- Reference to a pointer drawable with STYLE_TEXT. -->
8141         <attr name="pointerIconText" format="reference"/>
8142         <!-- Reference to a pointer drawable with STYLE_VERTICAL_TEXT. -->
8143         <attr name="pointerIconVerticalText" format="reference"/>
8144         <!-- Reference to a pointer drawable with STYLE_ALIAS. -->
8145         <attr name="pointerIconAlias" format="reference"/>
8146         <!-- Reference to a pointer drawable with STYLE_COPY. -->
8147         <attr name="pointerIconCopy" format="reference"/>
8148         <!-- Reference to a pointer drawable with STYLE_NODROP. -->
8149         <attr name="pointerIconNodrop" format="reference"/>
8150         <!-- Reference to a pointer drawable with STYLE_ALL_SCROLL. -->
8151         <attr name="pointerIconAllScroll" format="reference"/>
8152         <!-- Reference to a pointer drawable with STYLE_HORIZONTAL_DOUBLE_ARROW. -->
8153         <attr name="pointerIconHorizontalDoubleArrow" format="reference"/>
8154         <!-- Reference to a pointer drawable with STYLE_VERTICAL_DOUBLE_ARROW. -->
8155         <attr name="pointerIconVerticalDoubleArrow" format="reference"/>
8156         <!-- Reference to a pointer drawable with STYLE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW. -->
8157         <attr name="pointerIconTopRightDiagonalDoubleArrow" format="reference"/>
8158         <!-- Reference to a pointer drawable with STYLE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW. -->
8159         <attr name="pointerIconTopLeftDiagonalDoubleArrow" format="reference"/>
8160         <!-- Reference to a pointer drawable with STYLE_ZOOM_IN. -->
8161         <attr name="pointerIconZoomIn" format="reference"/>
8162         <!-- Reference to a pointer drawable with STYLE_ZOOM_OUT. -->
8163         <attr name="pointerIconZoomOut" format="reference"/>
8164         <!-- Reference to a pointer drawable with STYLE_GRAB. -->
8165         <attr name="pointerIconGrab" format="reference"/>
8166         <!-- Reference to a pointer drawable with STYLE_GRABBING. -->
8167         <attr name="pointerIconGrabbing" format="reference"/>
8168     </declare-styleable>
8169
8170     <declare-styleable name="PointerIcon">
8171         <!-- Drawable to use as the icon bitmap. -->
8172         <attr name="bitmap" format="reference" />
8173         <!-- X coordinate of the icon hot spot. -->
8174         <attr name="hotSpotX" format="dimension" />
8175         <!-- Y coordinate of the icon hot spot. -->
8176         <attr name="hotSpotY" format="dimension" />
8177     </declare-styleable>
8178
8179     <declare-styleable name="Storage">
8180         <!-- path to mount point for the storage. -->
8181         <attr name="mountPoint" format="string" />
8182         <!-- user visible description of the storage. -->
8183         <attr name="storageDescription" format="string" />
8184         <!-- true if the storage is the primary external storage. -->
8185         <attr name="primary" format="boolean" />
8186         <!-- true if the storage is removable. -->
8187         <attr name="removable" format="boolean" />
8188         <!-- true if the storage is emulated via the FUSE sdcard daemon. -->
8189         <attr name="emulated" format="boolean" />
8190         <!-- number of megabytes of storage MTP should reserve for free storage
8191              (used for emulated storage that is shared with system's data partition). -->
8192         <attr name="mtpReserve" format="integer" />
8193         <!-- true if the storage can be shared via USB mass storage. -->
8194         <attr name="allowMassStorage" format="boolean" />
8195         <!-- maximum file size for the volume in megabytes, zero or unspecified if it is unbounded. -->
8196         <attr name="maxFileSize" format="integer" />
8197     </declare-styleable>
8198
8199     <declare-styleable name="SwitchPreference">
8200         <!-- The summary for the Preference in a PreferenceActivity screen when the
8201              SwitchPreference is checked. If separate on/off summaries are not
8202              needed, the summary attribute can be used instead. -->
8203         <attr name="summaryOn" />
8204         <!-- The summary for the Preference in a PreferenceActivity screen when the
8205              SwitchPreference is unchecked. If separate on/off summaries are not
8206              needed, the summary attribute can be used instead. -->
8207         <attr name="summaryOff" />
8208         <!-- The text used on the switch itself when in the "on" state.
8209              This should be a very SHORT string, as it appears in a small space. -->
8210         <attr name="switchTextOn" format="string" />
8211         <!-- The text used on the switch itself when in the "off" state.
8212              This should be a very SHORT string, as it appears in a small space. -->
8213         <attr name="switchTextOff" format="string" />
8214         <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
8215              dependents will be disabled when this is unchecked, so the value of this preference is false. -->
8216         <attr name="disableDependentsState" />
8217     </declare-styleable>
8218
8219     <declare-styleable name="SeekBarPreference">
8220         <attr name="layout" />
8221         <!-- Attribute indicating whether the slider within this preference can be adjusted, that is
8222         pressing left/right keys when this preference is focused will move the slider accordingly
8223         (for example, inline adjustable preferences). False, if the slider within the preference is
8224         read-only and cannot be adjusted. By default, the seekbar is adjustable. -->
8225         <attr name="adjustable" format="boolean" />
8226         <!-- Flag indicating whether the TextView next to the seekbar that shows the current seekbar value will be
8227         displayed. If true, the view is VISIBLE; if false, the view will be GONE. By default, this view is VISIBLE. -->
8228         <attr name="showSeekBarValue" format="boolean" />
8229     </declare-styleable>
8230
8231     <!-- Base attributes available to PreferenceFragment. -->
8232     <declare-styleable name="PreferenceFragment">
8233         <!-- The layout for the PreferenceFragment. This should rarely need to be changed. -->
8234         <attr name="layout" />
8235         <attr name="divider" />
8236     </declare-styleable>
8237
8238     <!-- Base attributes available to PreferenceScreen. -->
8239     <declare-styleable name="PreferenceScreen">
8240         <!-- The layout for the PreferenceScreen. This should rarely need to be changed. -->
8241         <attr name="screenLayout" format="reference" />
8242         <attr name="divider" />
8243     </declare-styleable>
8244
8245     <!-- Base attributes available to PreferenceActivity. -->
8246     <declare-styleable name="PreferenceActivity">
8247         <!-- The layout for the Preference Activity. This should rarely need to be changed. -->
8248         <attr name="layout" />
8249         <!-- The layout for the Preference Header. This should rarely need to be changed. -->
8250         <attr name="headerLayout" format="reference" />
8251         <!-- true if the Icon view will be removed when there is none and thus not showing
8252              the fixed margins. -->
8253         <attr name="headerRemoveIconIfEmpty" format="boolean" />
8254     </declare-styleable>
8255
8256     <!-- Use <code>tts-engine</code> as the root tag of the XML resource that
8257          describes a text to speech engine implemented as a subclass of
8258          {@link android.speech.tts.TextToSpeechService}.
8259
8260          The XML resource must be referenced from its
8261          {@link android.speech.tts.TextToSpeech.Engine#SERVICE_META_DATA} meta-data
8262          entry. -->
8263     <declare-styleable name="TextToSpeechEngine">
8264         <attr name="settingsActivity" />
8265     </declare-styleable>
8266
8267     <!-- Use <code>keyboard-layouts</code> as the root tag of the XML resource that
8268          describes a collection of keyboard layouts provided by an application.
8269          Each keyboard layout is declared by a <code>keyboard-layout</code> tag
8270          with these attributes.
8271
8272          The XML resource that contains the keyboard layouts must be referenced from its
8273          {@link android.hardware.input.InputManager#META_DATA_KEYBOARD_LAYOUTS}
8274          meta-data entry used with broadcast receivers for
8275          {@link android.hardware.input.InputManager#ACTION_QUERY_KEYBOARD_LAYOUTS}. -->
8276     <declare-styleable name="KeyboardLayout">
8277         <!-- The name of the keyboard layout, must be unique in the receiver. -->
8278         <attr name="name" />
8279         <!-- The display label of the keyboard layout. -->
8280         <attr name="label" />
8281         <!-- The key character map file resource. -->
8282         <attr name="keyboardLayout" format="reference" />
8283         <!-- The locales the given keyboard layout corresponds to. -->
8284         <attr name="locale" format="string" />
8285         <!-- The vendor ID of the hardware the given layout corresponds to. @hide -->
8286         <attr name="vendorId" format="integer" />
8287         <!-- The product ID of the hardware the given layout corresponds to. @hide -->
8288         <attr name="productId" format="integer" />
8289     </declare-styleable>
8290
8291     <declare-styleable name="MediaRouteButton">
8292         <!-- This drawable is a state list where the "activated" state
8293              indicates active media routing. Non-activated indicates
8294              that media is playing to the local device only.
8295              @hide -->
8296         <attr name="externalRouteEnabledDrawable" format="reference" />
8297
8298         <!-- The types of media routes the button and its resulting
8299              chooser will filter by. -->
8300         <attr name="mediaRouteTypes" format="integer">
8301             <!-- Allow selection of live audio routes. -->
8302             <enum name="liveAudio" value="0x1" />
8303             <!-- Allow selection of user (app-specified) routes. -->
8304             <enum name="user" value="0x800000" />
8305         </attr>
8306
8307         <attr name="minWidth" />
8308         <attr name="minHeight" />
8309     </declare-styleable>
8310
8311     <!-- PagedView specific attributes. These attributes are used to customize
8312          a PagedView view in XML files. -->
8313     <declare-styleable name="PagedView">
8314         <!-- The space between adjacent pages of the PagedView. -->
8315         <attr name="pageSpacing" format="dimension" />
8316         <!-- The padding for the scroll indicator area. -->
8317         <attr name="scrollIndicatorPaddingLeft" format="dimension" />
8318         <attr name="scrollIndicatorPaddingRight" format="dimension" />
8319     </declare-styleable>
8320
8321     <declare-styleable name="KeyguardGlowStripView">
8322         <attr name="dotSize" format="dimension" />
8323         <attr name="numDots" format="integer" />
8324         <attr name="glowDot" format="reference" />
8325         <attr name="leftToRight" format="boolean" />
8326     </declare-styleable>
8327
8328     <!-- Some child types have special behavior. -->
8329     <attr name="layout_childType">
8330         <!-- No special behavior. Layout will proceed as normal. -->
8331         <enum name="none" value="0" />
8332         <!-- Widget container.
8333              This will be resized in response to certain events. -->
8334         <enum name="widget" value="1" />
8335         <!-- Security challenge container.
8336              This will be dismissed/shown in response to certain events,
8337              possibly obscuring widget elements. -->
8338         <enum name="challenge" value="2" />
8339         <!-- User switcher.
8340              This will consume space from the total layout area. -->
8341         <enum name="userSwitcher" value="3" />
8342         <!-- Scrim. This will block access to child views that
8343              come before it in the child list in bouncer mode. -->
8344         <enum name="scrim" value="4" />
8345         <!-- The home for widgets. All widgets will be descendents of this. -->
8346         <enum name="widgets" value="5" />
8347         <!-- This is a handle that is used for expanding the
8348              security challenge container when it is collapsed. -->
8349         <enum name="expandChallengeHandle" value="6" />
8350         <!-- Delete drop target.  This will be the drop target to delete pages. -->
8351         <enum name="pageDeleteDropTarget" value="7" />
8352     </attr>
8353
8354     <!-- Attributes that can be used with <code>&lt;FragmentBreadCrumbs&gt;</code>
8355     tags. -->
8356     <declare-styleable name="FragmentBreadCrumbs">
8357         <attr name="gravity" />
8358         <attr name="itemLayout" format="reference" />
8359         <attr name="itemColor" format="color|reference" />
8360     </declare-styleable>
8361
8362     <declare-styleable name="Toolbar">
8363         <attr name="titleTextAppearance" format="reference" />
8364         <attr name="subtitleTextAppearance" format="reference" />
8365         <attr name="title" />
8366         <attr name="subtitle" />
8367         <attr name="gravity" />
8368         <!--  Specifies extra space on the left, start, right and end sides
8369               of the toolbar's title. Margin values should be positive. -->
8370         <attr name="titleMargin" format="dimension" />
8371         <!--  Specifies extra space on the start side of the toolbar's title.
8372               If both this attribute and titleMargin are specified, then this
8373               attribute takes precedence. Margin values should be positive. -->
8374         <attr name="titleMarginStart" format="dimension" />
8375         <!--  Specifies extra space on the end side of the toolbar's title.
8376               If both this attribute and titleMargin are specified, then this
8377               attribute takes precedence. Margin values should be positive. -->
8378         <attr name="titleMarginEnd" format="dimension" />
8379         <!--  Specifies extra space on the top side of the toolbar's title.
8380               If both this attribute and titleMargin are specified, then this
8381               attribute takes precedence. Margin values should be positive. -->
8382         <attr name="titleMarginTop" format="dimension" />
8383         <!--  Specifies extra space on the bottom side of the toolbar's title.
8384               If both this attribute and titleMargin are specified, then this
8385               attribute takes precedence. Margin values should be positive. -->
8386         <attr name="titleMarginBottom" format="dimension" />
8387         <attr name="contentInsetStart" />
8388         <attr name="contentInsetEnd" />
8389         <attr name="contentInsetLeft" />
8390         <attr name="contentInsetRight" />
8391         <attr name="contentInsetStartWithNavigation" />
8392         <attr name="contentInsetEndWithActions" />
8393         <attr name="maxButtonHeight" format="dimension" />
8394         <attr name="navigationButtonStyle" format="reference" />
8395         <attr name="buttonGravity">
8396             <!-- Push object to the top of its container, not changing its size. -->
8397             <flag name="top" value="0x30" />
8398             <!-- Push object to the bottom of its container, not changing its size. -->
8399             <flag name="bottom" value="0x50" />
8400         </attr>
8401         <!-- Icon drawable to use for the collapse button. -->
8402         <attr name="collapseIcon" format="reference" />
8403         <!-- Text to set as the content description for the collapse button. -->
8404         <attr name="collapseContentDescription" format="string" />
8405         <!-- Reference to a theme that should be used to inflate popups
8406              shown by widgets in the toolbar. -->
8407         <attr name="popupTheme" format="reference" />
8408         <!-- Icon drawable to use for the navigation button located at
8409              the start of the toolbar. -->
8410         <attr name="navigationIcon" format="reference" />
8411         <!-- Text to set as the content description for the navigation button
8412              located at the start of the toolbar. -->
8413         <attr name="navigationContentDescription" format="string" />
8414         <!-- Drawable to set as the logo that appears at the starting side of
8415              the Toolbar, just after the navigation button. -->
8416         <attr name="logo" />
8417         <!-- A content description string to describe the appearance of the
8418              associated logo image. -->
8419         <attr name="logoDescription" format="string" />
8420         <!-- A color to apply to the title string. -->
8421         <attr name="titleTextColor" format="color" />
8422         <!-- A color to apply to the subtitle string. -->
8423         <attr name="subtitleTextColor" format="color" />
8424     </declare-styleable>
8425
8426     <declare-styleable name="Toolbar_LayoutParams">
8427         <attr name="layout_gravity" />
8428     </declare-styleable>
8429
8430     <declare-styleable name="ActionBar_LayoutParams">
8431         <attr name="layout_gravity" />
8432     </declare-styleable>
8433
8434     <!-- Used as a filter array on the theme to pull out only the EdgeEffect-relevant bits. -->
8435     <declare-styleable name="EdgeEffect">
8436         <attr name="colorEdgeEffect" />
8437     </declare-styleable>
8438
8439     <!-- Use <code>tv-input</code> as the root tag of the XML resource that describes a
8440          {@link android.media.tv.TvInputService}, which is referenced from its
8441          {@link android.media.tv.TvInputService#SERVICE_META_DATA} meta-data entry.
8442          Described here are the attributes that can be included in that tag. -->
8443     <declare-styleable name="TvInputService">
8444         <!-- Component name of an activity that allows the user to set up this service. -->
8445         <attr name="setupActivity" format="string" />
8446         <!-- Component name of an activity that allows the user to modify the settings for this
8447              service.
8448              {@deprecated This value is deprecated and not used by the framework starting from API
8449                          level 26. Use setupActivity instead.} -->
8450         <attr name="settingsActivity" />
8451         <!-- Attribute whether the TV input service can record programs. This value can be changed
8452              at runtime by calling
8453              {@link android.media.tv.TvInputManager#updateTvInputInfo(android.media.tv.TvInputInfo)}. -->
8454         <attr name="canRecord" format="boolean" />
8455         <!-- The number of tuners that the TV input service is associated with. This value can be
8456              changed at runtime by calling
8457              {@link android.media.tv.TvInputManager#updateTvInputInfo(android.media.tv.TvInputInfo)}. -->
8458         <attr name="tunerCount" format="integer" />
8459     </declare-styleable>
8460
8461     <!-- Attributes that can be used with <code>rating-system-definition</code> tags inside of the
8462          XML resource that describes TV content rating of a {@link android.media.tv.TvInputService},
8463          which is referenced from its
8464          {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. -->
8465     <declare-styleable name="RatingSystemDefinition">
8466         <!-- The unique name of the content rating system. -->
8467         <attr name="name" />
8468         <!-- The title of the content rating system which is shown to the user. -->
8469         <attr name="title" />
8470         <!-- The short description of the content rating system. -->
8471         <attr name="description" />
8472         <!-- The country code associated with the content rating system, which consists of two
8473              uppercase letters that conform to the ISO 3166 standard. -->
8474         <attr name="country" format="string" />
8475     </declare-styleable>
8476
8477     <!-- Attributes that can be used with <code>rating-definition</code> tags inside of the XML
8478          resource that describes TV content rating of a {@link android.media.tv.TvInputService},
8479          which is referenced from its
8480          {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. -->
8481     <declare-styleable name="RatingDefinition">
8482         <!-- The unique name of the content rating. -->
8483         <attr name="name" />
8484         <!-- The title of the content rating which is shown to the user. -->
8485         <attr name="title" />
8486         <!-- The short description of the content rating. -->
8487         <attr name="description" />
8488         <!-- The age associated with the content rating. The content of this rating is suitable for
8489              people of this age or above. -->
8490         <attr name="contentAgeHint" format="integer" />
8491     </declare-styleable>
8492
8493     <declare-styleable name="ResolverDrawerLayout">
8494         <attr name="maxWidth" />
8495         <attr name="maxCollapsedHeight" format="dimension" />
8496         <attr name="maxCollapsedHeightSmall" format="dimension" />
8497     </declare-styleable>
8498
8499     <declare-styleable name="MessagingLinearLayout">
8500         <attr name="spacing" />
8501     </declare-styleable>
8502
8503     <declare-styleable name="DateTimeView">
8504         <attr name="showRelative" format="boolean" />
8505     </declare-styleable>
8506
8507     <declare-styleable name="ResolverDrawerLayout_LayoutParams">
8508         <attr name="layout_alwaysShow" format="boolean" />
8509         <attr name="layout_ignoreOffset" format="boolean" />
8510         <attr name="layout_gravity" />
8511         <attr name="layout_hasNestedScrollIndicator" format="boolean" />
8512     </declare-styleable>
8513
8514     <!-- @hide -->
8515     <declare-styleable name="Lighting">
8516         <attr name="lightY" />
8517         <attr name="lightZ" />
8518         <attr name="lightRadius" />
8519         <attr name="ambientShadowAlpha" />
8520         <attr name="spotShadowAlpha" />
8521     </declare-styleable>
8522
8523     <declare-styleable name="RestrictionEntry">
8524         <attr name="key" />
8525         <attr name="restrictionType">
8526             <enum name="hidden" value="0" />
8527             <enum name="bool" value="1" />
8528             <enum name="choice" value="2" />
8529             <enum name="multi-select" value="4" />
8530             <enum name="integer" value="5" />
8531             <enum name="string" value="6" />
8532             <enum name="bundle" value="7" />
8533             <enum name="bundle_array" value="8" />
8534         </attr>
8535         <attr name="title" />
8536         <attr name="description" />
8537         <attr name="defaultValue" />
8538         <attr name="entries" />
8539         <attr name="entryValues" />
8540     </declare-styleable>
8541
8542     <!-- Used to describe the gradient for fill or stroke in a path of VectorDrawable. -->
8543     <declare-styleable name="GradientColor">
8544         <!-- Start color of the gradient. -->
8545         <attr name="startColor" />
8546         <!-- Optional center color. -->
8547         <attr name="centerColor" />
8548         <!-- End color of the gradient. -->
8549         <attr name="endColor" />
8550         <!-- Type of gradient. The default type is linear. -->
8551         <attr name="type" />
8552
8553         <!-- Only applied to RadialGradient-->
8554         <!-- Radius of the gradient, used only with radial gradient. -->
8555         <attr name="gradientRadius" />
8556
8557         <!-- Only applied to SweepGradient / RadialGradient-->
8558         <!-- X coordinate of the center of the gradient within the path. -->
8559         <attr name="centerX" />
8560         <!-- Y coordinate of the center of the gradient within the path. -->
8561         <attr name="centerY" />
8562
8563         <!-- LinearGradient specific -->
8564         <!-- X coordinate of the start point origin of the gradient.
8565              Defined in same coordinates as the path itself -->
8566         <attr name="startX" format="float" />
8567         <!-- Y coordinate of the start point of the gradient within the shape.
8568              Defined in same coordinates as the path itself -->
8569         <attr name="startY" format="float" />
8570         <!-- X coordinate of the end point origin of the gradient.
8571              Defined in same coordinates as the path itself -->
8572         <attr name="endX" format="float" />
8573         <!-- Y coordinate of the end point of the gradient within the shape.
8574              Defined in same coordinates as the path itself -->
8575         <attr name="endY" format="float" />
8576
8577         <!-- Defines the tile mode of the gradient. SweepGradient don't support tiling. -->
8578         <attr name="tileMode"/>
8579     </declare-styleable>
8580
8581     <!-- Describes an item of a GradientColor. Minimally need 2 items to define the gradient
8582          Colors defined in <item> override the simple color attributes such as
8583          "startColor / centerColor / endColor" are ignored. -->
8584     <declare-styleable name="GradientColorItem">
8585         <!-- The offset (or ratio) of this current color item inside the gradient.
8586              The value is only meaningful when it is between 0 and 1. -->
8587         <attr name="offset" format="float" />
8588         <!-- The current color for the offset inside the gradient. -->
8589         <attr name="color" />
8590     </declare-styleable>
8591
8592     <!-- @hide Attributes which will be read by the Activity to intialize the
8593                base activity TaskDescription. -->
8594     <declare-styleable name="ActivityTaskDescription">
8595         <!-- @hide From Theme.colorPrimary, used for the TaskDescription primary
8596                    color. -->
8597         <attr name="colorPrimary" />
8598         <!-- @hide From Theme.colorBackground, used for the TaskDescription background
8599                    color. -->
8600         <attr name="colorBackground" />
8601         <!-- @hide From Theme.statusBarColor, used for the TaskDescription status bar color. -->
8602         <attr name="statusBarColor"/>
8603         <!-- @hide From Theme.navigationBarColor, used for the TaskDescription navigation bar
8604                    color. -->
8605         <attr name="navigationBarColor"/>
8606     </declare-styleable>
8607
8608     <declare-styleable name="Shortcut">
8609         <attr name="shortcutId" format="string" />
8610         <attr name="enabled" />
8611         <attr name="icon" />
8612         <attr name="shortcutShortLabel" format="reference" />
8613         <attr name="shortcutLongLabel" format="reference" />
8614         <attr name="shortcutDisabledMessage" format="reference" />
8615     </declare-styleable>
8616
8617     <declare-styleable name="ShortcutCategories">
8618         <attr name="name" />
8619     </declare-styleable>
8620
8621     <!-- Attributes that are read when parsing a <font> tag, which is a child of
8622          <font-family>. This represents an actual font file and its attributes. -->
8623     <declare-styleable name="FontFamilyFont">
8624         <!-- The style of the given font file. This will be used when the font is being loaded into
8625          the font stack and will override any style information in the font's header tables. If
8626          unspecified, the value in the font's header tables will be used. -->
8627         <attr name="fontStyle">
8628             <enum name="normal" value="0" />
8629             <enum name="italic" value="1" />
8630         </attr>
8631         <!-- The reference to the font file to be used. This should be a file in the res/font folder
8632          and should therefore have an R reference value. E.g. @font/myfont -->
8633         <attr name="font" format="reference" />
8634         <!-- The weight of the given font file. This will be used when the font is being loaded into
8635          the font stack and will override any weight information in the font's header tables. Must
8636          be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most
8637          common values are 400 for regular weight and 700 for bold weight. If unspecified, the value
8638          in the font's header tables will be used. -->
8639         <attr name="fontWeight" format="integer" />
8640     </declare-styleable>
8641
8642     <!-- Attributes that are read when parsing a <fontfamily> tag. -->
8643     <declare-styleable name="FontFamily">
8644         <!-- The authority of the Font Provider to be used for the request. -->
8645         <attr name="fontProviderAuthority" format="string" />
8646         <!-- The package for the Font Provider to be used for the request. This is used to verify
8647         the identity of the provider. -->
8648         <attr name="fontProviderPackage" format="string" />
8649         <!-- The query to be sent over to the provider. Refer to your font provider's documentation
8650         on the format of this string. -->
8651         <attr name="fontProviderQuery" format="string" />
8652         <!-- The sets of hashes for the certificates the provider should be signed with. This is
8653         used to verify the identity of the provider, and is only required if the provider is not
8654         part of the system image. This value may point to one list or a list of lists, where each
8655         individual list represents one collection of signature hashes. Refer to your font provider's
8656         documentation for these values. -->
8657         <attr name="fontProviderCerts" format="reference" />
8658     </declare-styleable>
8659
8660     <!-- @hide -->
8661     <declare-styleable name="RecyclerView">
8662         <attr name="layoutManager" format="string" />
8663         <attr name="orientation" />
8664         <attr name="descendantFocusability" />
8665         <attr name="spanCount" format="integer"/>
8666         <attr name="reverseLayout" format="boolean" />
8667         <attr name="stackFromEnd" format="boolean" />
8668     </declare-styleable>
8669
8670     <!-- @hide -->
8671     <declare-styleable name="NotificationTheme">
8672         <attr name="notificationHeaderStyle" format="reference" />
8673         <attr name="notificationHeaderTextAppearance" format="reference" />
8674         <attr name="notificationHeaderIconSize" format="dimension" />
8675     </declare-styleable>
8676
8677     <attr name="lockPatternStyle" format="reference" />
8678 </resources>