Add version 25.0.2 of dx.jar to sdk/build-tools.
[android_tools.git] / sdk / platforms / android-27 / data / res / values / attrs.xml
blob9aca2dea00a0f5806fc6c5c71d10e7132df0414d
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2006 The Android Open Source Project
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
8           http://www.apache.org/licenses/LICENSE-2.0
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 -->
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 -->
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 />
30         <!-- Specifies that a theme has a light background with dark text on top.  -->
31         <attr name="isLightTheme" format="boolean" />
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" />
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" />
63         <!-- Drawable to be drawn over the view to mark it as autofilled-->
64         <attr name="autofilledHighlight" format="reference" />
66         <!-- Max width of the autofill data set picker as a fraction of the screen width -->
67         <attr name="autofillDatasetPickerMaxWidth" format="reference" />
69         <!-- Max height of the autofill data set picker as a fraction of the screen height -->
70         <attr name="autofillDatasetPickerMaxHeight" format="reference" />
72         <!-- Max height of the the autofill save custom subtitle as a fraction of the screen width/height -->
73         <attr name="autofillSaveCustomSubtitleMaxHeight" format="reference" />
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" />
91         <!-- =========== -->
92         <!-- Text styles -->
93         <!-- =========== -->
94         <eat-comment />
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" />
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" />
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" />
116         <!-- Inverse hint text color. -->
117         <attr name="textColorHintInverse" format="reference|color" />
119         <!-- Bright text color. Only differentiates based on the disabled state. -->
120         <attr name="textColorPrimaryDisableOnly" format="reference|color" />
122         <!-- Bright inverse text color. Only differentiates based on the disabled state. -->
123         <attr name="textColorPrimaryInverseDisableOnly" format="reference|color" />
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" />
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" />
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" />
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" />
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" />
150         <!-- Color of list item text in alert dialogs. -->
151         <attr name="textColorAlertDialogListItem" format="reference|color" />
153         <!-- Search widget more corpus result item background. -->
154         <attr name="searchWidgetCorpusItemBackground" format="reference|color" />
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" />
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" />
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" />
175         <!-- Text color, typeface, size, and style for the text inside of a button. -->
176         <attr name="textAppearanceButton" format="reference" />
178         <!-- Text color, typeface, size, and style for the text inside of a popup menu. -->
179         <attr name="textAppearanceLargePopupMenu" format="reference" />
181         <!-- Text color, typeface, size, and style for small text inside of a popup menu. -->
182         <attr name="textAppearanceSmallPopupMenu" format="reference" />
184         <!-- Text color, typeface, size, and style for header text inside of a popup menu. -->
185         <attr name="textAppearancePopupMenuHeader" format="reference" />
187         <!-- The underline color and thickness for easy correct suggestion -->
188         <attr name="textAppearanceEasyCorrectSuggestion" format="reference" />
190         <!-- The underline color and thickness for misspelled suggestion -->
191         <attr name="textAppearanceMisspelledSuggestion" format="reference" />
193         <!-- The underline color and thickness for auto correction suggestion -->
194         <attr name="textAppearanceAutoCorrectionSuggestion" format="reference" />
196         <!--  The underline color -->
197         <attr name="textUnderlineColor" format="reference|color" />
198         <!--  The underline thickness -->
199         <attr name="textUnderlineThickness" format="reference|dimension" />
201         <!-- EditText text foreground color. -->
202         <attr name="editTextColor" format="reference|color" />
203         <!-- EditText background drawable. -->
204         <attr name="editTextBackground" format="reference" />
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" />
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" />
217         <!-- Drawable to use for check marks. -->
218         <attr name="textCheckMark" format="reference" />
219         <attr name="textCheckMarkInverse" format="reference" />
221         <!-- Drawable to use for multiple choice indicators. -->
222         <attr name="listChoiceIndicatorMultiple" format="reference" />
224         <!-- Drawable to use for single choice indicators. -->
225         <attr name="listChoiceIndicatorSingle" format="reference" />
227         <!-- Drawable used as a background for selected list items. -->
228         <attr name="listChoiceBackgroundIndicator" format="reference" />
230         <!-- Drawable used as a background for activated items. -->
231         <attr name="activatedBackgroundIndicator" format="reference" />
233         <!-- ============= -->
234         <!-- Button styles -->
235         <!-- ============= -->
236         <eat-comment />
238         <!-- Normal Button style. -->
239         <attr name="buttonStyle" format="reference" />
241         <!-- Small Button style. -->
242         <attr name="buttonStyleSmall" format="reference" />
244         <!-- Button style to inset into an EditText. -->
245         <attr name="buttonStyleInset" format="reference" />
247         <!-- ToggleButton style. -->
248         <attr name="buttonStyleToggle" format="reference" />
250         <!-- ============== -->
251         <!-- Gallery styles -->
252         <!-- ============== -->
253         <eat-comment />
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" />
259         <!-- =========== -->
260         <!-- List styles -->
261         <!-- =========== -->
262         <eat-comment />
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" />
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" />
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" />
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" />
309         <!-- The preferred item height for dropdown lists. -->
310         <attr name="dropdownListPreferredItemHeight" format="dimension" />
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" />
317         <!-- ============= -->
318         <!-- Window styles -->
319         <!-- ============= -->
320         <eat-comment />
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.
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" />
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" />
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" />
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" />
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" />
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" />
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>
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" />
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" />
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" />
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.
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" />
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" />
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" />
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" />
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" />
498         <!-- Reference to a TransitionManager XML resource defining the desired
499              transitions between different window content. -->
500         <attr name="windowContentTransitionManager" format="reference" />
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" />
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"/>
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"/>
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"/>
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"/>
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"/>
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"/>
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"/>
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"/>
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"/>
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"/>
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"/>
571         <!-- Internal layout used internally for window decor -->
572         <attr name="windowActionBarFullscreenDecorLayout" format="reference" />
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"/>
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" />
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" />
600         <!-- ============== -->
601         <!-- Image elements -->
602         <!-- ============== -->
603         <eat-comment />
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" />
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" />
617         <!-- ============ -->
618         <!-- Panel styles -->
619         <!-- ============ -->
620         <eat-comment />
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" />
633         <attr name="panelMenuIsCompact" format="boolean" />
634         <attr name="panelMenuListWidth" format="dimension" />
635         <attr name="panelMenuListTheme" format="reference" />
637         <!-- =================== -->
638         <!-- Other widget styles -->
639         <!-- =================== -->
640         <eat-comment />
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" />
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" />
767         <!-- NumberPicker style. -->
768         <attr name="numberPickerStyle" format="reference" />
770         <!-- The CalendarView style. -->
771         <attr name="calendarViewStyle" format="reference" />
773         <!-- The TimePicker style. -->
774         <attr name="timePickerStyle" format="reference" />
776         <!-- The TimePicker dialog theme. -->
777         <attr name="timePickerDialogTheme" format="reference" />
779         <!-- The DatePicker style. -->
780         <attr name="datePickerStyle" format="reference" />
782         <!-- The DatePicker dialog theme. -->
783         <attr name="datePickerDialogTheme" format="reference" />
785         <!-- Default ActivityChooserView style. -->
786         <attr name="activityChooserViewStyle" format="reference" />
788         <!-- Default Toolbar style. -->
789         <attr name="toolbarStyle" format="reference" />
791         <!-- Fast scroller styles -->
792         <eat-comment />
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" />
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" />
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" />
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" />
896         <!-- PopupWindow style to use for action modes when showing as a window overlay. -->
897         <attr name="actionModePopupWindowStyle" format="reference" />
899         <!-- =================== -->
900         <!-- Preference styles   -->
901         <!-- =================== -->
902         <eat-comment />
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" />
945         <!-- ============================ -->
946         <!-- Text selection handle styles -->
947         <!-- ============================ -->
948         <eat-comment />
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" />
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" />
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" />
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" />
993         <!-- Theme to use for presentations spawned from this theme. -->
994         <attr name="presentationTheme" format="reference" />
996         <!-- Drawable to use for generic vertical dividers. -->
997         <attr name="dividerVertical" format="reference" />
999         <!-- Drawable to use for generic horizontal dividers. -->
1000         <attr name="dividerHorizontal" format="reference" />
1002         <!-- Style for button bars. -->
1003         <attr name="buttonBarStyle" format="reference" />
1005         <!-- Style for buttons within button bars. -->
1006         <attr name="buttonBarButtonStyle" format="reference" />
1008         <!-- Style for the "positive" buttons within button bars. -->
1009         <attr name="buttonBarPositiveButtonStyle" format="reference" />
1011         <!-- Style for the "negative" buttons within button bars. -->
1012         <attr name="buttonBarNegativeButtonStyle" format="reference" />
1014         <!-- Style for the "neutral" buttons within button bars. -->
1015         <attr name="buttonBarNeutralButtonStyle" format="reference" />
1017         <!-- Style for the search query widget. -->
1018         <attr name="searchViewStyle" format="reference" />
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" />
1024         <!-- Background drawable for bordered standalone items that need focus/pressed states. -->
1025         <attr name="selectableItemBackground" format="reference" />
1027         <!-- Background drawable for borderless standalone items that need focus/pressed states. -->
1028         <attr name="selectableItemBackgroundBorderless" format="reference" />
1030         <!-- Style for buttons without an explicit border, often used in groups. -->
1031         <attr name="borderlessButtonStyle" format="reference" />
1033         <!-- Background to use for toasts. -->
1034         <attr name="toastFrameBackground" format="reference" />
1036         <!-- Background to use for tooltip popups. -->
1037         <attr name="tooltipFrameBackground" format="reference" />
1039         <!-- Foreground color to use for tooltip popups. -->
1040         <attr name="tooltipForegroundColor" format="reference|color" />
1042         <!-- Background color to use for tooltip popups. -->
1043         <attr name="tooltipBackgroundColor" format="reference|color" />
1045         <!-- Theme to use for Search Dialogs. -->
1046         <attr name="searchDialogTheme" format="reference" />
1048         <!-- Specifies a drawable to use for the 'home as up' indicator. -->
1049         <attr name="homeAsUpIndicator" format="reference" />
1051         <!-- Preference frame layout styles. -->
1052         <attr name="preferenceFrameLayoutStyle" format="reference" />
1054         <!-- Default style for the Switch widget. -->
1055         <attr name="switchStyle" format="reference" />
1057         <!-- Default style for the MediaRouteButton widget. -->
1058         <attr name="mediaRouteButtonStyle" format="reference" />
1060         <!-- ============== -->
1061         <!-- Pointer styles -->
1062         <!-- ============== -->
1063         <eat-comment />
1065         <!-- The drawable for accessibility focused views. -->
1066         <attr name="accessibilityFocusedDrawable" format="reference" />
1068         <!-- Drawable for WebView find-on-page dialogue's "next" button. @hide -->
1069         <attr name="findOnPageNextDrawable" format="reference" />
1071         <!-- Drawable for WebView find-on-page dialogue's "previous" button. @hide -->
1072         <attr name="findOnPagePreviousDrawable" format="reference" />
1074         <!-- ============= -->
1075         <!-- Color palette -->
1076         <!-- ============= -->
1077         <eat-comment />
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" />
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" />
1087         <!-- The secondary branding color for the app. -->
1088         <attr name="colorSecondary" format="color" />
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" />
1094         <!-- The color applied to framework controls in their normal state. -->
1095         <attr name="colorControlNormal" format="color" />
1097         <!-- The color applied to framework controls in their activated (ex. checked) state. -->
1098         <attr name="colorControlActivated" format="color" />
1100         <!-- The color applied to framework control highlights (ex. ripples, list selectors). -->
1101         <attr name="colorControlHighlight" format="color" />
1103         <!-- The color applied to framework buttons in their normal state. -->
1104         <attr name="colorButtonNormal" format="color" />
1106         <!-- The color applied to framework switch thumbs in their normal state. -->
1107         <attr name="colorSwitchThumbNormal" format="color" />
1109         <!-- The color applied to the edge effect on scrolling containers. -->
1110         <attr name="colorEdgeEffect" format="color" />
1112         <!-- =================== -->
1113         <!-- Lighting properties -->
1114         <!-- =================== -->
1115         <eat-comment />
1117         <!-- @hide The default Y position of the light used to project view shadows. -->
1118         <attr name="lightY" format="dimension" />
1120         <!-- @hide The default Z position of the light used to project view shadows. -->
1121         <attr name="lightZ" format="dimension" />
1123         <!-- @hide The default radius of the light used to project view shadows. -->
1124         <attr name="lightRadius" format="dimension" />
1126         <!-- Alpha value of the ambient shadow projected by elevated views, between 0 and 1. -->
1127         <attr name="ambientShadowAlpha" format="float" />
1129         <!-- Alpha value of the spot shadow projected by elevated views, between 0 and 1. -->
1130         <attr name="spotShadowAlpha" format="float" />
1131     </declare-styleable>
1133     <!-- **************************************************************** -->
1134     <!-- Other non-theme attributes. -->
1135     <!-- **************************************************************** -->
1136     <eat-comment />
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" />
1149     <!-- Default font family. -->
1150     <attr name="fontFamily" format="string" />
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>
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>
1167     <!-- Color of text (usually same as colorForeground). -->
1168     <attr name="textColor" format="reference|color" />
1170     <!-- Color of highlighted text. -->
1171     <attr name="textColorHighlight" format="reference|color" />
1173     <!-- Color of hint text (displayed when the field is empty). -->
1174     <attr name="textColorHint" format="reference|color" />
1176     <!-- Color of link text (URLs). -->
1177     <attr name="textColorLink" format="reference|color" />
1179     <!-- Reference to a drawable that will be drawn under the insertion cursor. -->
1180     <attr name="textCursorDrawable" format="reference" />
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" />
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>
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>
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>
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" />
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>
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>
1542     <!-- Reference to an array resource that will populate a list/adapter. -->
1543     <attr name="entries" format="reference" />
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>
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>
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>
1602     <!-- ========================== -->
1603     <!-- Key Codes                  -->
1604     <!-- ========================== -->
1605     <eat-comment />
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         <enum name="KEYCODE_ALL_APPS" value="284" />
1895     </attr>
1897     <!-- ***************************************************************** -->
1898     <!-- These define collections of attributes that can are with classes. -->
1899     <!-- ***************************************************************** -->
1901     <!-- ========================== -->
1902     <!-- Special attribute classes. -->
1903     <!-- ========================== -->
1904     <eat-comment />
1906     <!-- The set of attributes that describe a Windows's theme. -->
1907     <declare-styleable name="Window">
1908         <attr name="windowBackground" />
1909         <attr name="windowBackgroundFallback" />
1910         <attr name="windowContentOverlay" />
1911         <attr name="windowFrame" />
1912         <attr name="windowNoTitle" />
1913         <attr name="windowFullscreen" />
1914         <attr name="windowOverscan" />
1915         <attr name="windowIsFloating" />
1916         <attr name="windowIsTranslucent" />
1917         <attr name="windowShowWallpaper" />
1918         <attr name="windowAnimationStyle" />
1919         <attr name="windowSoftInputMode" />
1920         <attr name="windowDisablePreview" />
1921         <attr name="windowNoDisplay" />
1922         <attr name="textColor" />
1923         <attr name="backgroundDimEnabled" />
1924         <attr name="backgroundDimAmount" />
1925         <attr name="windowActionBar" />
1926         <attr name="windowActionModeOverlay" />
1927         <attr name="windowActionBarOverlay" />
1928         <attr name="windowEnableSplitTouch" />
1929         <attr name="windowCloseOnTouchOutside" />
1930         <attr name="windowTranslucentStatus" />
1931         <attr name="windowTranslucentNavigation" />
1932         <attr name="windowSwipeToDismiss" />
1933         <attr name="windowContentTransitions" />
1934         <attr name="windowActivityTransitions" />
1935         <attr name="windowContentTransitionManager" />
1936         <attr name="windowActionBarFullscreenDecorLayout" />
1938         <!-- The minimum width the window is allowed to be, along the major
1939              axis of the screen.  That is, when in landscape.  Can be either
1940              an absolute dimension or a fraction of the screen size in that
1941              dimension. -->
1942         <attr name="windowMinWidthMajor" format="dimension|fraction" />
1943         <!-- The minimum width the window is allowed to be, along the minor
1944              axis of the screen.  That is, when in portrait.  Can be either
1945              an absolute dimension or a fraction of the screen size in that
1946              dimension. -->
1947         <attr name="windowMinWidthMinor" format="dimension|fraction" />
1949         <!-- A fixed width for the window along the major axis of the screen,
1950              that is, when in landscape. Can be either an absolute dimension
1951              or a fraction of the screen size in that dimension. -->
1952         <attr name="windowFixedWidthMajor" format="dimension|fraction" />
1953         <!-- A fixed height for the window along the minor axis of the screen,
1954              that is, when in landscape. Can be either an absolute dimension
1955              or a fraction of the screen size in that dimension. -->
1956         <attr name="windowFixedHeightMinor" format="dimension|fraction" />
1958         <!-- A fixed width for the window along the minor axis of the screen,
1959              that is, when in portrait. Can be either an absolute dimension
1960              or a fraction of the screen size in that dimension. -->
1961         <attr name="windowFixedWidthMinor" format="dimension|fraction" />
1962         <!-- A fixed height for the window along the major axis of the screen,
1963              that is, when in portrait. Can be either an absolute dimension
1964              or a fraction of the screen size in that dimension. -->
1965         <attr name="windowFixedHeightMajor" format="dimension|fraction" />
1966         <attr name="windowOutsetBottom" format="dimension" />
1967         <!-- Reference to a Transition XML resource defining the desired Transition
1968              used to move Views into the initial Window's content Scene. Corresponds to
1969              {@link android.view.Window#setEnterTransition(android.transition.Transition)}. -->
1970         <attr name="windowEnterTransition"/>
1972         <!-- Reference to a Transition XML resource defining the desired Transition
1973              used to move Views out of the scene when the Window is
1974              preparing to close. Corresponds to
1975              {@link android.view.Window#setReturnTransition(android.transition.Transition)}. -->
1976         <attr name="windowReturnTransition"/>
1978         <!-- Reference to a Transition XML resource defining the desired Transition
1979              used to move Views out of the Window's content Scene when launching a new Activity.
1980              Corresponds to
1981              {@link android.view.Window#setExitTransition(android.transition.Transition)}. -->
1982         <attr name="windowExitTransition"/>
1984         <!-- Reference to a Transition XML resource defining the desired Transition
1985              used to move Views in to the scene when returning from a previously-started Activity.
1986              Corresponds to
1987              {@link android.view.Window#setReenterTransition(android.transition.Transition)}. -->
1988         <attr name="windowReenterTransition"/>
1990         <!-- Reference to a Transition XML resource defining the desired Transition
1991              used to move shared elements transferred into the Window's initial content Scene.
1992              Corresponds to {@link android.view.Window#setSharedElementEnterTransition(
1993              android.transition.Transition)}. -->
1994         <attr name="windowSharedElementEnterTransition"/>
1996         <!-- Reference to a Transition XML resource defining the desired Transition
1997              used to move shared elements transferred back to a calling Activity.
1998              Corresponds to {@link android.view.Window#setSharedElementReturnTransition(
1999              android.transition.Transition)}. -->
2000         <attr name="windowSharedElementReturnTransition"/>
2002         <!-- Reference to a Transition XML resource defining the desired Transition
2003              used when starting a new Activity to move shared elements prior to transferring
2004              to the called Activity.
2005              Corresponds to {@link android.view.Window#setSharedElementExitTransition(
2006              android.transition.Transition)}. -->
2007         <attr name="windowSharedElementExitTransition"/>
2009         <!-- Reference to a Transition XML resource defining the desired Transition
2010              used for shared elements transferred back to a calling Activity.
2011              Corresponds to {@link android.view.Window#setSharedElementReenterTransition(
2012              android.transition.Transition)}. -->
2013         <attr name="windowSharedElementReenterTransition"/>
2016         <!-- Flag indicating whether this Window's transition should overlap with
2017              the exiting transition of the calling Activity. Corresponds to
2018              {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. -->
2019         <attr name="windowAllowEnterTransitionOverlap"/>
2021         <!-- Flag indicating whether this Window's transition should overlap with
2022              the exiting transition of the called Activity when the called Activity
2023              finishes. Corresponds to
2024              {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. -->
2025         <attr name="windowAllowReturnTransitionOverlap"/>
2027         <!-- Indicates whether or not shared elements should use an overlay
2028              during transitions. The default value is true. -->
2029         <attr name="windowSharedElementsUseOverlay"/>
2031         <!-- Flag indicating whether this Window is responsible for drawing the background for the
2032              system bars. If true and the window is not floating, the system bars are drawn with a
2033              transparent background and the corresponding areas in this window are filled with the
2034              colors specified in {@link android.R.attr#statusBarColor} and
2035              {@link android.R.attr#navigationBarColor}. Corresponds to
2036              {@link android.view.WindowManager.LayoutParams#FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS}. -->
2037         <attr name="windowDrawsSystemBarBackgrounds" format="boolean" />
2039         <!-- The color for the status bar. If the color is not opaque, consider setting
2040              {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and
2041              {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN}.
2042              For this to take effect, the window must be drawing the system bar backgrounds with
2043              {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not
2044              have been requested to be translucent with
2045              {@link android.R.attr#windowTranslucentStatus}.
2046              Corresponds to {@link android.view.Window#setStatusBarColor(int)}. -->
2047         <attr name="statusBarColor" format="color" />
2049         <!-- The color for the navigation bar. If the color is not opaque, consider setting
2050              {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and
2051              {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION}.
2052              For this to take effect, the window must be drawing the system bar backgrounds with
2053              {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not
2054              have been requested to be translucent with
2055              {@link android.R.attr#windowTranslucentNavigation}.
2056              Corresponds to {@link android.view.Window#setNavigationBarColor(int)}. -->
2057         <attr name="navigationBarColor" format="color" />
2059         <!-- Shows a thin line of the specified color between the navigation bar and the app
2060              content.
2061              <p>For this to take effect, the window must be drawing the system bar backgrounds with
2062              {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not
2063              have been requested to be translucent with
2064              {@link android.R.attr#windowTranslucentNavigation}. -->
2065         <attr name="navigationBarDividerColor" format="color" />
2067         <!-- The duration, in milliseconds, of the window background fade duration
2068              when transitioning into or away from an Activity when called with an
2069              Activity Transition. Corresponds to
2070              {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. -->
2071         <attr name="windowTransitionBackgroundFadeDuration" />
2073         <!-- Elevation to use for the window. -->
2074         <attr name="windowElevation" format="dimension" />
2076         <!-- Whether to clip window content to the outline of the window background. -->
2077         <attr name="windowClipToOutline" format="boolean" />
2079         <!-- If set, the status bar will be drawn such that it is compatible with a light
2080              status bar background.
2081              <p>For this to take effect, the window must be drawing the system bar backgrounds with
2082              {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not
2083              have been requested to be translucent with
2084              {@link android.R.attr#windowTranslucentStatus}.
2085              Corresponds to setting {@link android.view.View#SYSTEM_UI_FLAG_LIGHT_STATUS_BAR} on
2086              the decor view. -->
2087         <attr name="windowLightStatusBar" format="boolean" />
2089         <!-- Reference to a drawable to be used as the splash screen content of the window. This
2090              drawable will be placed on top of the {@link android.R.attr#windowBackground} with its
2091              bounds inset by the system bars. If the drawable should not be inset by the system
2092              bars, use a fullscreen theme.
2093              <p>
2094              Note that even if no splashscreen content is set on the theme, the system may still
2095              show a splash screen using the other attributes on the theme, like the
2096              {@link android.R.attr#windowBackground}.
2097              -->
2098         <attr name="windowSplashscreenContent" format="reference" />
2100         <!-- If set, the navigation bar will be drawn such that it is
2101              compatible with a light navigation bar background.
2102              <p>For this to take effect, the window must be drawing the system bar backgrounds with
2103              {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not
2104              have been requested to be translucent with
2105              {@link android.R.attr#windowTranslucentNavigation}.
2106              Corresponds to setting {@link android.view.View#SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR} on
2107              the decor view. -->
2108          <attr name="windowLightNavigationBar" format="boolean" />
2109     </declare-styleable>
2111     <!-- The set of attributes that describe a AlertDialog's theme. -->
2112     <declare-styleable name="AlertDialog">
2113         <attr name="fullDark" format="reference|color" />
2114         <attr name="topDark" format="reference|color" />
2115         <attr name="centerDark" format="reference|color" />
2116         <attr name="bottomDark" format="reference|color" />
2117         <attr name="fullBright" format="reference|color" />
2118         <attr name="topBright" format="reference|color" />
2119         <attr name="centerBright" format="reference|color" />
2120         <attr name="bottomBright" format="reference|color" />
2121         <attr name="bottomMedium" format="reference|color" />
2122         <attr name="centerMedium" format="reference|color" />
2123         <attr name="layout" />
2124         <attr name="buttonPanelSideLayout" format="reference" />
2125         <attr name="listLayout" format="reference" />
2126         <attr name="multiChoiceItemLayout" format="reference" />
2127         <attr name="singleChoiceItemLayout" format="reference" />
2128         <attr name="listItemLayout" format="reference" />
2129         <attr name="progressLayout" format="reference" />
2130         <attr name="horizontalProgressLayout" format="reference" />
2131         <!-- @hide Not ready for public use. -->
2132         <attr name="showTitle" format="boolean" />
2133         <!-- @hide Whether fullDark, etc. should use default values if null. -->
2134         <attr name="needsDefaultBackgrounds" format="boolean" />
2135         <!-- @hide Workaround until we replace AlertController with custom layout. -->
2136         <attr name="controllerType">
2137             <!-- The default controller. -->
2138             <enum name="normal" value="0" />
2139             <!-- Controller for micro specific layout. -->
2140             <enum name="micro" value="1" />
2141         </attr>
2142         <!-- @hide Offset when scrolling to a selection. -->
2143         <attr name="selectionScrollOffset" format="dimension" />
2144     </declare-styleable>
2146     <!-- @hide -->
2147     <declare-styleable name="ButtonBarLayout">
2148         <!-- Whether to automatically stack the buttons when there is not
2149              enough space to lay them out side-by-side. -->
2150         <attr name="allowStacking" format="boolean" />
2151     </declare-styleable>
2153     <!-- Fragment animation class attributes. -->
2154     <declare-styleable name="FragmentAnimation">
2155         <attr name="fragmentOpenEnterAnimation" format="reference" />
2156         <attr name="fragmentOpenExitAnimation" format="reference" />
2157         <attr name="fragmentCloseEnterAnimation" format="reference" />
2158         <attr name="fragmentCloseExitAnimation" format="reference" />
2159         <attr name="fragmentFadeEnterAnimation" format="reference" />
2160         <attr name="fragmentFadeExitAnimation" format="reference" />
2161     </declare-styleable>
2163     <!-- Window animation class attributes. -->
2164     <declare-styleable name="WindowAnimation">
2165         <!-- The animation used when a window is being added. -->
2166         <attr name="windowEnterAnimation" format="reference" />
2167         <!-- The animation used when a window is being removed. -->
2168         <attr name="windowExitAnimation" format="reference" />
2169         <!-- The animation used when a window is going from INVISIBLE to VISIBLE. -->
2170         <attr name="windowShowAnimation" format="reference" />
2171         <!-- The animation used when a window is going from VISIBLE to INVISIBLE. -->
2172         <attr name="windowHideAnimation" format="reference" />
2174         <!--  When opening a new activity, this is the animation that is
2175               run on the next activity (which is entering the screen). -->
2176         <attr name="activityOpenEnterAnimation" format="reference" />
2177         <!--  When opening a new activity, this is the animation that is
2178               run on the previous activity (which is exiting the screen). -->
2179         <attr name="activityOpenExitAnimation" format="reference" />
2180         <!--  When closing the current activity, this is the animation that is
2181               run on the next activity (which is entering the screen). -->
2182         <attr name="activityCloseEnterAnimation" format="reference" />
2183         <!--  When closing the current activity, this is the animation that is
2184               run on the current activity (which is exiting the screen). -->
2185         <attr name="activityCloseExitAnimation" format="reference" />
2186         <!--  When opening an activity in a new task, this is the animation that is
2187               run on the activity of the new task (which is entering the screen). -->
2188         <attr name="taskOpenEnterAnimation" format="reference" />
2189         <!--  When opening an activity in a new task, this is the animation that is
2190               run on the activity of the old task (which is exiting the screen). -->
2191         <attr name="taskOpenExitAnimation" format="reference" />
2192         <!--  When opening an activity in a new task using Intent/FLAG_ACTIVITY_LAUNCH_BEHIND,
2193               this is the animation that is run on the activity of the new task (which is
2194               entering the screen and then leaving). -->
2195         <attr name="launchTaskBehindTargetAnimation" format="reference" />
2196         <!--  When opening an activity in a new task using Intent.FLAG_ACTIVITY_LAUNCH_BEHIND,
2197               this is the animation that is run on the activity of the old task (which is
2198               already on the screen and then stays on). -->
2199         <attr name="launchTaskBehindSourceAnimation" format="reference" />
2200         <!--  When closing the last activity of a task, this is the animation that is
2201               run on the activity of the next task (which is entering the screen). -->
2202         <attr name="taskCloseEnterAnimation" format="reference" />
2203         <!--  When opening an activity in a new task, this is the animation that is
2204               run on the activity of the old task (which is exiting the screen). -->
2205         <attr name="taskCloseExitAnimation" format="reference" />
2206         <!--  When bringing an existing task to the foreground, this is the
2207               animation that is run on the top activity of the task being brought
2208               to the foreground (which is entering the screen). -->
2209         <attr name="taskToFrontEnterAnimation" format="reference" />
2210         <!--  When bringing an existing task to the foreground, this is the
2211               animation that is run on the current foreground activity
2212               (which is exiting the screen). -->
2213         <attr name="taskToFrontExitAnimation" format="reference" />
2214         <!--  When sending the current task to the background, this is the
2215               animation that is run on the top activity of the task behind
2216               it (which is entering the screen). -->
2217         <attr name="taskToBackEnterAnimation" format="reference" />
2218         <!--  When sending the current task to the background, this is the
2219               animation that is run on the top activity of the current task
2220               (which is exiting the screen). -->
2221         <attr name="taskToBackExitAnimation" format="reference" />
2223         <!--  When opening a new activity that shows the wallpaper, while
2224               currently not showing the wallpaper, this is the animation that
2225               is run on the new wallpaper activity (which is entering the screen). -->
2226         <attr name="wallpaperOpenEnterAnimation" format="reference" />
2227         <!--  When opening a new activity that shows the wallpaper, while
2228               currently not showing the wallpaper, this is the animation that
2229               is run on the current activity (which is exiting the screen). -->
2230         <attr name="wallpaperOpenExitAnimation" format="reference" />
2231         <!--  When opening a new activity that hides the wallpaper, while
2232               currently showing the wallpaper, this is the animation that
2233               is run on the new activity (which is entering the screen). -->
2234         <attr name="wallpaperCloseEnterAnimation" format="reference" />
2235         <!--  When opening a new activity that hides the wallpaper, while
2236               currently showing the wallpaper, this is the animation that
2237               is run on the old wallpaper activity (which is exiting the screen). -->
2238         <attr name="wallpaperCloseExitAnimation" format="reference" />
2240         <!--  When opening a new activity that is on top of the wallpaper
2241               when the current activity is also on top of the wallpaper,
2242               this is the animation that is run on the new activity
2243               (which is entering the screen).  The wallpaper remains
2244               static behind the animation. -->
2245         <attr name="wallpaperIntraOpenEnterAnimation" format="reference" />
2246         <!--  When opening a new activity that is on top of the wallpaper
2247               when the current activity is also on top of the wallpaper,
2248               this is the animation that is run on the current activity
2249               (which is exiting the screen).  The wallpaper remains
2250               static behind the animation. -->
2251         <attr name="wallpaperIntraOpenExitAnimation" format="reference" />
2252         <!--  When closing a foreround activity that is on top of the wallpaper
2253               when the previous activity is also on top of the wallpaper,
2254               this is the animation that is run on the previous activity
2255               (which is entering the screen).  The wallpaper remains
2256               static behind the animation. -->
2257         <attr name="wallpaperIntraCloseEnterAnimation" format="reference" />
2258         <!--  When closing a foreround activity that is on top of the wallpaper
2259               when the previous activity is also on top of the wallpaper,
2260               this is the animation that is run on the current activity
2261               (which is exiting the screen).  The wallpaper remains
2262               static behind the animation. -->
2263         <attr name="wallpaperIntraCloseExitAnimation" format="reference" />
2265         <!--  When opening a new activity from a RemoteViews, this is the
2266               animation that is run on the next activity (which is entering the
2267               screen). Requires config_overrideRemoteViewsActivityTransition to
2268               be true. -->
2269         <attr name="activityOpenRemoteViewsEnterAnimation" format="reference" />
2271     </declare-styleable>
2273     <!-- ============================= -->
2274     <!-- View package class attributes -->
2275     <!-- ============================= -->
2276     <eat-comment />
2278     <!-- Attributes that can be used with {@link android.view.View} or
2279          any of its subclasses.  Also see {@link #ViewGroup_Layout} for
2280          attributes that are processed by the view's parent. -->
2281     <declare-styleable name="View">
2282         <!-- Supply an identifier name for this view, to later retrieve it
2283              with {@link android.view.View#findViewById View.findViewById()} or
2284              {@link android.app.Activity#findViewById Activity.findViewById()}.
2285              This must be a
2286              resource reference; typically you set this using the
2287              <code>@+</code> syntax to create a new ID resources.
2288              For example: <code>android:id="@+id/my_id"</code> which
2289              allows you to later retrieve the view
2290              with <code>findViewById(R.id.my_id)</code>. -->
2291         <attr name="id" format="reference" />
2293         <!-- Supply a tag for this view containing a String, to be retrieved
2294              later with {@link android.view.View#getTag View.getTag()} or
2295              searched for with {@link android.view.View#findViewWithTag
2296              View.findViewWithTag()}.  It is generally preferable to use
2297              IDs (through the android:id attribute) instead of tags because
2298              they are faster and allow for compile-time type checking. -->
2299         <attr name="tag" format="string" />
2301         <!-- The initial horizontal scroll offset, in pixels.-->
2302         <attr name="scrollX" format="dimension" />
2304         <!-- The initial vertical scroll offset, in pixels. -->
2305         <attr name="scrollY" format="dimension" />
2307         <!-- A drawable to use as the background.  This can be either a reference
2308              to a full drawable resource (such as a PNG image, 9-patch,
2309              XML state list description, etc), or a solid color such as "#ff000000"
2310             (black). -->
2311         <attr name="background" format="reference|color" />
2313         <!-- Sets the padding, in pixels, of all four edges. Padding is defined as
2314              space between the edges of the view and the view's content. This value will take
2315              precedence over any of the edge-specific values (paddingLeft, paddingTop,
2316              paddingRight, paddingBottom, paddingHorizontal and paddingVertical), but will
2317              not override paddingStart or paddingEnd, if set. A view's size
2318              will include its padding. If a {@link android.R.attr#background}
2319              is provided, the padding will initially be set to that (0 if the
2320              drawable does not have padding). Explicitly setting a padding value
2321              will override the corresponding padding found in the background. -->
2322         <attr name="padding" format="dimension" />
2323         <!-- Sets the padding, in pixels, of the left and right edges; see
2324              {@link android.R.attr#padding}. This value will take precedence over
2325              paddingLeft and paddingRight, but not paddingStart or paddingEnd (if set). -->
2326         <attr name="paddingHorizontal" format="dimension" />
2327         <!-- Sets the padding, in pixels, of the top and bottom edges; see
2328              {@link android.R.attr#padding}. This value will take precedence over
2329              paddingTop and paddingBottom, if set. -->
2330         <attr name="paddingVertical" format="dimension" />
2331         <!-- Sets the padding, in pixels, of the left edge; see {@link android.R.attr#padding}. -->
2332         <attr name="paddingLeft" format="dimension" />
2333         <!-- Sets the padding, in pixels, of the top edge; see {@link android.R.attr#padding}. -->
2334         <attr name="paddingTop" format="dimension" />
2335         <!-- Sets the padding, in pixels, of the right edge; see {@link android.R.attr#padding}. -->
2336         <attr name="paddingRight" format="dimension" />
2337         <!-- Sets the padding, in pixels, of the bottom edge; see {@link android.R.attr#padding}. -->
2338         <attr name="paddingBottom" format="dimension" />
2339         <!-- Sets the padding, in pixels, of the start edge; see {@link android.R.attr#padding}. -->
2340         <attr name="paddingStart" format="dimension" />
2341         <!-- Sets the padding, in pixels, of the end edge; see {@link android.R.attr#padding}. -->
2342         <attr name="paddingEnd" format="dimension" />
2344         <!-- Controls whether a view can take focus.  By default, this is "auto" which lets the
2345              framework determine whether a user can move focus to a view.  By setting this attribute
2346              to true the view is allowed to take focus. By setting it to "false" the view will not
2347              take focus. This value does not impact the behavior of
2348              directly calling {@link android.view.View#requestFocus}, which will
2349              always request focus regardless of this view.  It only impacts where
2350              focus navigation will try to move focus. -->
2351         <attr name="focusable" format="boolean|enum">
2352             <enum name="auto" value="0x00000010" />
2353         </attr>
2355         <attr name="__removed3" />
2357         <!-- Describes the content of a view so that a autofill service can fill in the appropriate
2358              data. Multiple hints can be combined in a comma separated list or an array of strings
2359              to mean e.g. emailAddress or postalAddress. -->
2360         <attr name="autofillHints" format="string|reference" />
2362         <!-- Hints the Android System whether the view node associated with this View should be
2363              included in a view structure used for autofill purposes. -->
2364         <attr name="importantForAutofill">
2365             <!-- Let the Android System use its heuristics to determine if the view is important for autofill. -->
2366             <flag name="auto" value="0" />
2367             <!-- Hint the Android System that this view is important for autofill,
2368                   and its children (if any) will be traversed.. -->
2369             <flag name="yes" value="0x1" />
2370             <!-- Hint the Android System that this view is *not* important for autofill,
2371                   but its children (if any) will be traversed.. -->
2372             <flag name="no" value="0x2" />
2373             <!-- Hint the Android System that this view is important for autofill,
2374                  but its children (if any) will not be traversed. -->
2375             <flag name="yesExcludeDescendants" value="0x4" />
2376             <!-- Hint the Android System that this view is *not* important for autofill,
2377                  and its children (if any) will not be traversed. -->
2378             <flag name="noExcludeDescendants" value="0x8" />
2379         </attr>
2381         <!-- Boolean that controls whether a view can take focus while in touch mode.
2382              If this is true for a view, that view can gain focus when clicked on, and can keep
2383              focus if another view is clicked on that doesn't have this attribute set to true. -->
2384         <attr name="focusableInTouchMode" format="boolean" />
2386         <!-- Controls the initial visibility of the view.  -->
2387         <attr name="visibility">
2388             <!-- Visible on screen; the default value. -->
2389             <enum name="visible" value="0" />
2390             <!-- Not displayed, but taken into account during layout (space is left for it). -->
2391             <enum name="invisible" value="1" />
2392             <!-- Completely hidden, as if the view had not been added. -->
2393             <enum name="gone" value="2" />
2394         </attr>
2396         <!-- Boolean internal attribute to adjust view layout based on
2397              system windows such as the status bar.
2398              If true, adjusts the padding of this view to leave space for the system windows.
2399              Will only take effect if this view is in a non-embedded activity. -->
2400         <attr name="fitsSystemWindows" format="boolean" />
2402         <!-- Defines which scrollbars should be displayed on scrolling or not. -->
2403         <attr name="scrollbars">
2404             <!-- No scrollbar is displayed. -->
2405             <flag name="none" value="0x00000000" />
2406             <!-- Displays horizontal scrollbar only. -->
2407             <flag name="horizontal" value="0x00000100" />
2408             <!-- Displays vertical scrollbar only. -->
2409             <flag name="vertical" value="0x00000200" />
2410         </attr>
2412         <!-- Controls the scrollbar style and position. The scrollbars can be overlaid or
2413              inset. When inset, they add to the padding of the view. And the
2414              scrollbars can be drawn inside the padding area or on the edge of
2415              the view. For example, if a view has a background drawable and you
2416              want to draw the scrollbars inside the padding specified by the
2417              drawable, you can use insideOverlay or insideInset. If you want them
2418              to appear at the edge of the view, ignoring the padding, then you can
2419              use outsideOverlay or outsideInset.-->
2420         <attr name="scrollbarStyle">
2421             <!-- Inside the padding and overlaid. -->
2422             <enum name="insideOverlay" value="0x0" />
2423             <!-- Inside the padding and inset. -->
2424             <enum name="insideInset" value="0x01000000" />
2425             <!-- Edge of the view and overlaid. -->
2426             <enum name="outsideOverlay" value="0x02000000" />
2427             <!-- Edge of the view and inset. -->
2428             <enum name="outsideInset" value="0x03000000" />
2429         </attr>
2431         <!-- Set this if the view will serve as a scrolling container, meaning
2432              that it can be resized to shrink its overall window so that there
2433              will be space for an input method.  If not set, the default
2434              value will be true if "scrollbars" has the vertical scrollbar
2435              set, else it will be false. -->
2436         <attr name="isScrollContainer" format="boolean" />
2438           <!-- Defines whether to fade out scrollbars when they are not in use. -->
2439          <attr name="fadeScrollbars" format="boolean" />
2440          <!-- Defines the delay in milliseconds that a scrollbar takes to fade out. -->
2441          <attr name="scrollbarFadeDuration" format="integer" />
2442          <!-- Defines the delay in milliseconds that a scrollbar waits before fade out. -->
2443         <attr name="scrollbarDefaultDelayBeforeFade" format="integer" />
2444         <!-- Sets the width of vertical scrollbars and height of horizontal scrollbars. -->
2445         <attr name="scrollbarSize" format="dimension" />
2446         <!-- Defines the horizontal scrollbar thumb drawable. -->
2447         <attr name="scrollbarThumbHorizontal" format="reference" />
2448         <!-- Defines the vertical scrollbar thumb drawable. -->
2449         <attr name="scrollbarThumbVertical" format="reference" />
2450         <!-- Defines the horizontal scrollbar track drawable. -->
2451         <attr name="scrollbarTrackHorizontal" format="reference" />
2452         <!-- Defines the vertical scrollbar track drawable. -->
2453         <attr name="scrollbarTrackVertical" format="reference" />
2454         <!-- Defines whether the horizontal scrollbar track should always be drawn. -->
2455         <attr name="scrollbarAlwaysDrawHorizontalTrack" format="boolean" />
2456         <!-- Defines whether the vertical scrollbar track should always be drawn. -->
2457         <attr name="scrollbarAlwaysDrawVerticalTrack" format="boolean" />
2459         <!-- This attribute is ignored in API level 14
2460              ({@link android.os.Build.VERSION_CODES#ICE_CREAM_SANDWICH}) and higher.
2461              Using fading edges may introduce noticeable performance
2462              degradations and should be used only when required by the application's
2463              visual design. To request fading edges with API level 14 and above,
2464              use the <code>android:requiresFadingEdge</code> attribute instead. -->
2465         <attr name="fadingEdge">
2466             <!-- No edge is faded. -->
2467             <flag name="none" value="0x00000000" />
2468             <!-- Fades horizontal edges only. -->
2469             <flag name="horizontal" value="0x00001000" />
2470             <!-- Fades vertical edges only. -->
2471             <flag name="vertical" value="0x00002000" />
2472         </attr>
2473         <!-- Defines which edges should be faded on scrolling. -->
2474         <attr name="requiresFadingEdge">
2475             <!-- No edge is faded. -->
2476             <flag name="none" value="0x00000000" />
2477             <!-- Fades horizontal edges only. -->
2478             <flag name="horizontal" value="0x00001000" />
2479             <!-- Fades vertical edges only. -->
2480             <flag name="vertical" value="0x00002000" />
2481         </attr>
2482         <!-- Defines the length of the fading edges. -->
2483         <attr name="fadingEdgeLength" format="dimension" />
2485         <!-- Defines the next view to give focus to when the next focus is
2486              {@link android.view.View#FOCUS_LEFT}.
2488              If the reference refers to a view that does not exist or is part
2489              of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2490              will result when the reference is accessed.-->
2491         <attr name="nextFocusLeft" format="reference"/>
2493         <!-- Defines the next view to give focus to when the next focus is
2494              {@link android.view.View#FOCUS_RIGHT}
2496              If the reference refers to a view that does not exist or is part
2497              of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2498              will result when the reference is accessed.-->
2499         <attr name="nextFocusRight" format="reference"/>
2501         <!-- Defines the next view to give focus to when the next focus is
2502              {@link android.view.View#FOCUS_UP}
2504              If the reference refers to a view that does not exist or is part
2505              of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2506              will result when the reference is accessed.-->
2507         <attr name="nextFocusUp" format="reference"/>
2509         <!-- Defines the next view to give focus to when the next focus is
2510              {@link android.view.View#FOCUS_DOWN}
2512              If the reference refers to a view that does not exist or is part
2513              of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2514              will result when the reference is accessed.-->
2515         <attr name="nextFocusDown" format="reference"/>
2517         <!-- Defines the next view to give focus to when the next focus is
2518              {@link android.view.View#FOCUS_FORWARD}
2520              If the reference refers to a view that does not exist or is part
2521              of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2522              will result when the reference is accessed.-->
2523         <attr name="nextFocusForward" format="reference"/>
2525         <!-- Defines whether this view reacts to click events. -->
2526         <attr name="clickable" format="boolean" />
2528         <!-- Defines whether this view reacts to long click events. -->
2529         <attr name="longClickable" format="boolean" />
2531         <!--  Defines whether this view reacts to context click events. -->
2532         <attr name="contextClickable" format="boolean" />
2534         <!-- If false, no state will be saved for this view when it is being
2535              frozen. The default is true, allowing the view to be saved
2536              (however it also must have an ID assigned to it for its
2537              state to be saved).  Setting this to false only disables the
2538              state for this view, not for its children which may still
2539              be saved. -->
2540         <attr name="saveEnabled" format="boolean" />
2542         <!-- Specifies whether to filter touches when the view's window is obscured by
2543              another visible window.  When set to true, the view will not receive touches
2544              whenever a toast, dialog or other window appears above the view's window.
2545              Refer to the {@link android.view.View} security documentation for more details. -->
2546         <attr name="filterTouchesWhenObscured" format="boolean" />
2548         <!-- Defines the quality of translucent drawing caches. This property is used
2549              only when the drawing cache is enabled and translucent. The default value is auto. -->
2550         <attr name="drawingCacheQuality">
2551             <!-- Lets the framework decide what quality level should be used
2552                  for the drawing cache. -->
2553             <enum name="auto" value="0" />
2554             <!-- Low quality. When set to low quality, the drawing cache uses a lower color
2555                  depth, thus losing precision in rendering gradients, but uses less memory. -->
2556             <enum name="low" value="1" />
2557             <!-- High quality. When set to high quality, the drawing cache uses a higher
2558                  color depth but uses more memory. -->
2559             <enum name="high" value="2" />
2560         </attr>
2562         <!-- Controls whether the view's window should keep the screen on
2563              while visible. -->
2564         <attr name="keepScreenOn" format="boolean" />
2566         <!-- When this attribute is set to true, the view gets its drawable state
2567              (focused, pressed, etc.) from its direct parent rather than from itself. -->
2568         <attr name="duplicateParentState" format="boolean" />
2570         <!-- Defines the minimum height of the view. It is not guaranteed
2571              the view will be able to achieve this minimum height (for example,
2572              if its parent layout constrains it with less available height). -->
2573         <attr name="minHeight" />
2575         <!-- Defines the minimum width of the view. It is not guaranteed
2576              the view will be able to achieve this minimum width (for example,
2577              if its parent layout constrains it with less available width). -->
2578         <attr name="minWidth" />
2580         <!-- Boolean that controls whether a view should have sound effects
2581              enabled for events such as clicking and touching. -->
2582         <attr name="soundEffectsEnabled" format="boolean" />
2584         <!-- Boolean that controls whether a view should have haptic feedback
2585              enabled for events such as long presses. -->
2586         <attr name="hapticFeedbackEnabled" format="boolean" />
2588         <!-- Defines text that briefly describes content of the view. This property is used
2589              primarily for accessibility. Since some views do not have textual
2590              representation this attribute can be used for providing such. -->
2591         <attr name="contentDescription" format="string" localization="suggested" />
2593         <!-- Sets the id of a view before which this one is visited in accessibility traversal.
2594              A screen-reader must visit the content of this view before the content of the one
2595              it precedes.
2596              {@see android.view.View#setAccessibilityTraversalBefore(int)} -->
2597         <attr name="accessibilityTraversalBefore" format="integer" />
2599         <!-- Sets the id of a view after which this one is visited in accessibility traversal.
2600              A screen-reader must visit the content of the other view before the content of
2601              this one.
2602              {@see android.view.View#setAccessibilityTraversalAfter(int)} -->
2603         <attr name="accessibilityTraversalAfter" format="integer" />
2605         <!-- Name of the method in this View's context to invoke when the view is
2606              clicked. This name must correspond to a public method that takes
2607              exactly one parameter of type View. For instance, if you specify
2608              <code>android:onClick="sayHello"</code>, you must declare a
2609              <code>public void sayHello(View v)</code> method of your context
2610              (typically, your Activity). -->
2611         <attr name="onClick" format="string" />
2613         <!-- Defines over-scrolling behavior. This property is used only if the
2614              View is scrollable. Over-scrolling is the ability for the user to
2615              receive feedback when attempting to scroll beyond meaningful content. -->
2616         <attr name="overScrollMode">
2617             <!-- Always show over-scroll effects, even if the content fits entirely
2618                  within the available space. -->
2619             <enum name="always" value="0" />
2620             <!-- Only show over-scroll effects if the content is large
2621                  enough to meaningfully scroll. -->
2622             <enum name="ifContentScrolls" value="1" />
2623             <!-- Never show over-scroll effects. -->
2624             <enum name="never" value="2" />
2625         </attr>
2627         <!-- alpha property of the view, as a value between 0 (completely transparent) and 1
2628              (completely opaque). -->
2629         <attr name="alpha" format="float" />
2631         <!-- base z depth of the view. -->
2632         <attr name="elevation" format="dimension" />
2634         <!-- translation in x of the view. This value is added post-layout to the left
2635              property of the view, which is set by its layout. -->
2636         <attr name="translationX" format="dimension" />
2638         <!-- translation in y of the view. This value is added post-layout to the top
2639              property of the view, which is set by its layout. -->
2640         <attr name="translationY" format="dimension" />
2642         <!-- translation in z of the view. This value is added to its elevation. -->
2643         <attr name="translationZ" format="dimension" />
2645         <!-- x location of the pivot point around which the view will rotate and scale.
2646              This xml attribute sets the pivotX property of the View. -->
2647         <attr name="transformPivotX" format="dimension" />
2649         <!-- y location of the pivot point around which the view will rotate and scale.
2650              This xml attribute sets the pivotY property of the View. -->
2651         <attr name="transformPivotY" format="dimension" />
2653         <!-- rotation of the view, in degrees. -->
2654         <attr name="rotation" format="float" />
2656         <!-- rotation of the view around the x axis, in degrees. -->
2657         <attr name="rotationX" format="float" />
2659         <!-- rotation of the view around the y axis, in degrees. -->
2660         <attr name="rotationY" format="float" />
2662         <!-- scale of the view in the x direction. -->
2663         <attr name="scaleX" format="float" />
2665         <!-- scale of the view in the y direction. -->
2666         <attr name="scaleY" format="float" />
2668         <!-- Determines which side the vertical scroll bar should be placed on. -->
2669         <attr name="verticalScrollbarPosition">
2670             <!-- Place the scroll bar wherever the system default determines. -->
2671             <enum name="defaultPosition" value="0" />
2672             <!-- Place the scroll bar on the left. -->
2673             <enum name="left" value="1" />
2674             <!-- Place the scroll bar on the right. -->
2675             <enum name="right" value="2" />
2676         </attr>
2678         <!-- Specifies the type of layer backing this view. The default value is none.
2679              Refer to {@link android.view.View#setLayerType(int, android.graphics.Paint)}
2680              for more information.-->
2681         <attr name="layerType">
2682             <!-- Don't use a layer. -->
2683             <enum name="none" value="0" />
2684             <!-- Use a software layer. Refer to
2685                  {@link android.view.View#setLayerType(int, android.graphics.Paint)} for
2686                  more information. -->
2687             <enum name="software" value="1" />
2688             <!-- Use a hardware layer. Refer to
2689                  {@link android.view.View#setLayerType(int, android.graphics.Paint)} for
2690                  more information. -->
2691             <enum name="hardware" value="2" />
2692         </attr>
2694         <!-- Defines the direction of layout drawing. This typically is associated with writing
2695              direction of the language script used. The possible values are "ltr" for Left-to-Right,
2696              "rtl" for Right-to-Left, "locale", and "inherit" from parent view. If there is nothing
2697              to inherit, "locale" is used. "locale" falls back to "en-US". "ltr" is the direction
2698              used in "en-US". The default for this attribute is "inherit". -->
2699         <attr name="layoutDirection">
2700             <!-- Left-to-Right. -->
2701             <enum name="ltr" value="0" />
2702             <!-- Right-to-Left. -->
2703             <enum name="rtl" value="1" />
2704             <!-- Inherit from parent. -->
2705             <enum name="inherit" value="2" />
2706             <!-- Locale. -->
2707             <enum name="locale" value="3" />
2708         </attr>
2710         <!-- Defines the direction of the text. -->
2711          <attr name="textDirection" format="integer">
2712             <!-- Default. -->
2713             <enum name="inherit" value="0" />
2714             <!-- Default for the root view. The first strong directional character determines the
2715                  paragraph direction.  If there is no strong directional character, the paragraph
2716                  direction is the view’s resolved layout direction. -->
2717             <enum name="firstStrong" value="1" />
2718             <!-- The paragraph direction is RTL if it contains any strong RTL character, otherwise
2719                  it is LTR if it contains any strong LTR characters.  If there are neither, the
2720                  paragraph direction is the view’s resolved layout direction. -->
2721             <enum name="anyRtl" value="2" />
2722             <!-- The paragraph direction is left to right. -->
2723             <enum name="ltr" value="3" />
2724             <!-- The paragraph direction is right to left. -->
2725             <enum name="rtl" value="4" />
2726             <!-- The paragraph direction is coming from the system Locale. -->
2727             <enum name="locale" value="5" />
2728             <!-- The first strong directional character determines the paragraph direction. If
2729                  there is no strong directional character, the paragraph direction is LTR. -->
2730             <enum name="firstStrongLtr" value="6" />
2731             <!-- The first strong directional character determines the paragraph direction. If
2732                  there is no strong directional character, the paragraph direction is RTL. -->
2733             <enum name="firstStrongRtl" value="7" />
2734         </attr>
2736         <!-- Defines the alignment of the text. -->
2737         <attr name="textAlignment" format="integer">
2738             <!-- Default. -->
2739             <enum name="inherit" value="0" />
2740             <!-- Default for the root view. The gravity determines the alignment, ALIGN_NORMAL,
2741                 ALIGN_CENTER, or ALIGN_OPPOSITE, which are relative to each paragraph’s
2742                 text direction. -->
2743             <enum name="gravity" value="1" />
2744             <!-- Align to the start of the paragraph, for example: ALIGN_NORMAL. -->
2745             <enum name="textStart" value="2" />
2746             <!-- Align to the end of the paragraph, for example: ALIGN_OPPOSITE. -->
2747             <enum name="textEnd" value="3" />
2748             <!-- Center the paragraph, for example: ALIGN_CENTER. -->
2749             <enum name="center" value="4" />
2750             <!-- Align to the start of the view, which is ALIGN_LEFT if the view’s resolved
2751                 layoutDirection is LTR, and ALIGN_RIGHT otherwise. -->
2752             <enum name="viewStart" value="5" />
2753             <!-- Align to the end of the view, which is ALIGN_RIGHT if the view’s resolved
2754                 layoutDirection is LTR, and ALIGN_LEFT otherwise. -->
2755             <enum name="viewEnd" value="6" />
2756         </attr>
2758         <!-- Describes whether or not this view is important for accessibility.
2759              If it is important, the view fires accessibility events and is
2760              reported to accessibility services that query the screen. Note:
2761              While not recommended, an accessibility service may decide to
2762              ignore this attribute and operate on all views in the view tree. -->
2763         <attr name="importantForAccessibility" format="integer">
2764             <!-- The system determines whether the view is important for accessibility - default
2765                  (recommended). -->
2766             <enum name="auto" value="0" />
2767             <!-- The view is important for accessibility. -->
2768             <enum name="yes" value="1" />
2769             <!-- The view is not important for accessibility. -->
2770             <enum name="no" value="2" />
2771             <!-- The view is not important for accessibility, nor are any of its descendant
2772                  views. -->
2773             <enum name="noHideDescendants" value="4" />
2774         </attr>
2776         <!-- Indicates to accessibility services whether the user should be notified when
2777              this view changes. -->
2778         <attr name="accessibilityLiveRegion" format="integer">
2779             <!-- Accessibility services should not announce changes to this view. -->
2780             <enum name="none" value="0" />
2781             <!-- Accessibility services should announce changes to this view. -->
2782             <enum name="polite" value="1" />
2783             <!-- Accessibility services should interrupt ongoing speech to immediately
2784                  announce changes to this view. -->
2785             <enum name="assertive" value="2" />
2786         </attr>
2788         <!-- Specifies the id of a view for which this view serves as a label for
2789              accessibility purposes. For example, a TextView before an EditText in
2790              the UI usually specifies what infomation is contained in the EditText.
2791              Hence, the TextView is a label for the EditText. -->
2792         <attr name="labelFor" format="reference" />
2794         <!-- Specifies a theme override for a view. When a theme override is set, the
2795              view will be inflated using a {@link android.content.Context} themed with
2796              the specified resource. During XML inflation, any child views under the
2797              view with a theme override will inherit the themed context. -->
2798         <attr name="theme" />
2800         <!-- Names a View such that it can be identified for Transitions. Names should be
2801              unique in the View hierarchy. -->
2802         <attr name="transitionName" format="string" />
2804         <!-- Specifies that this view should permit nested scrolling within a compatible
2805              ancestor view. -->
2806         <attr name="nestedScrollingEnabled" format="boolean" />
2808         <!-- Sets the state-based animator for the View. -->
2809         <attr name="stateListAnimator" format="reference"/>
2811         <!-- Tint to apply to the background. -->
2812         <attr name="backgroundTint" format="color" />
2814         <!-- Blending mode used to apply the background tint. -->
2815         <attr name="backgroundTintMode">
2816             <!-- The tint is drawn on top of the drawable.
2817                  [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
2818             <enum name="src_over" value="3" />
2819             <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
2820                  color channels are thrown out. [Sa * Da, Sc * Da] -->
2821             <enum name="src_in" value="5" />
2822             <!-- The tint is drawn above the drawable, but with the drawable’s alpha
2823                  channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
2824             <enum name="src_atop" value="9" />
2825             <!-- Multiplies the color and alpha channels of the drawable with those of
2826                  the tint. [Sa * Da, Sc * Dc] -->
2827             <enum name="multiply" value="14" />
2828             <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
2829             <enum name="screen" value="15" />
2830             <!-- Combines the tint and drawable color and alpha channels, clamping the
2831                  result to valid color values. Saturate(S + D) -->
2832             <enum name="add" value="16" />
2833         </attr>
2835         <!-- ViewOutlineProvider used to determine the View's Outline. -->
2836         <attr name="outlineProvider">
2837             <!-- Default, background drawable-driven outline. -->
2838             <enum name="background" value="0" />
2839             <!-- No outline provider. -->
2840             <enum name="none" value="1" />
2841             <!-- Generates an opaque outline for the bounds of the view. -->
2842             <enum name="bounds" value="2" />
2843             <!-- Generates an opaque outline for the padded bounds of the view. -->
2844             <enum name="paddedBounds" value="3" />
2845         </attr>
2847         <!-- Defines the drawable to draw over the content. This can be used as an overlay.
2848              The foreground drawable participates in the padding of the content if the gravity
2849              is set to fill. -->
2850         <attr name="foreground" format="reference|color" />
2851         <!-- Defines the gravity to apply to the foreground drawable. The gravity defaults
2852              to fill. -->
2853         <attr name="foregroundGravity">
2854             <!-- Push object to the top of its container, not changing its size. -->
2855             <flag name="top" value="0x30" />
2856             <!-- Push object to the bottom of its container, not changing its size. -->
2857             <flag name="bottom" value="0x50" />
2858             <!-- Push object to the left of its container, not changing its size. -->
2859             <flag name="left" value="0x03" />
2860             <!-- Push object to the right of its container, not changing its size. -->
2861             <flag name="right" value="0x05" />
2862             <!-- Place object in the vertical center of its container, not changing its size. -->
2863             <flag name="center_vertical" value="0x10" />
2864             <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
2865             <flag name="fill_vertical" value="0x70" />
2866             <!-- Place object in the horizontal center of its container, not changing its size. -->
2867             <flag name="center_horizontal" value="0x01" />
2868             <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
2869             <flag name="fill_horizontal" value="0x07" />
2870             <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
2871             <flag name="center" value="0x11" />
2872             <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
2873             <flag name="fill" value="0x77" />
2874             <!-- Additional option that can be set to have the top and/or bottom edges of
2875                  the child clipped to its container's bounds.
2876                  The clip will be based on the vertical gravity: a top gravity will clip the bottom
2877                  edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
2878             <flag name="clip_vertical" value="0x80" />
2879             <!-- Additional option that can be set to have the left and/or right edges of
2880                  the child clipped to its container's bounds.
2881                  The clip will be based on the horizontal gravity: a left gravity will clip the right
2882                  edge, a right gravity will clip the left edge, and neither will clip both edges. -->
2883             <flag name="clip_horizontal" value="0x08" />
2884         </attr>
2885         <!-- Defines whether the foreground drawable should be drawn inside the padding.
2886              This property is turned on by default. -->
2887         <attr name="foregroundInsidePadding" format="boolean" />
2888         <!-- Tint to apply to the foreground. -->
2889         <attr name="foregroundTint" format="color" />
2890         <!-- Blending mode used to apply the foreground tint. -->
2891         <attr name="foregroundTintMode">
2892             <!-- The tint is drawn on top of the drawable.
2893                  [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
2894             <enum name="src_over" value="3" />
2895             <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
2896                  color channels are thrown out. [Sa * Da, Sc * Da] -->
2897             <enum name="src_in" value="5" />
2898             <!-- The tint is drawn above the drawable, but with the drawable’s alpha
2899                  channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
2900             <enum name="src_atop" value="9" />
2901             <!-- Multiplies the color and alpha channels of the drawable with those of
2902                  the tint. [Sa * Da, Sc * Dc] -->
2903             <enum name="multiply" value="14" />
2904             <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
2905             <enum name="screen" value="15" />
2906             <!-- Combines the tint and drawable color and alpha channels, clamping the
2907                  result to valid color values. Saturate(S + D) -->
2908             <enum name="add" value="16" />
2909         </attr>
2911         <!-- Defines which scroll indicators should be displayed when the view
2912              can be scrolled. Multiple values may be combined using logical OR,
2913              for example "top|bottom". -->
2914         <attr name="scrollIndicators">
2915             <!-- No scroll indicators are displayed. -->
2916             <flag name="none" value="0x00" />
2917             <!-- Displays top scroll indicator when view can be scrolled up. -->
2918             <flag name="top" value="0x01" />
2919             <!-- Displays bottom scroll indicator when vew can be scrolled down. -->
2920             <flag name="bottom" value="0x02" />
2921             <!-- Displays left scroll indicator when vew can be scrolled left. -->
2922             <flag name="left" value="0x04" />
2923             <!-- Displays right scroll indicator when vew can be scrolled right. -->
2924             <flag name="right" value="0x08" />
2925             <!-- Displays right scroll indicator when vew can be scrolled in the
2926                  start direction. -->
2927             <flag name="start" value="0x10" />
2928             <!-- Displays right scroll indicator when vew can be scrolled in the
2929                  end direction. -->
2930             <flag name="end" value="0x20" />
2931         </attr>
2933         <attr name="pointerIcon">
2934             <!-- Null icon, pointer becomes invisible. -->
2935             <enum name="none" value="0" />
2936             <!-- The default icon of arrow pointer. -->
2937             <enum name="arrow" value="1000" />
2938             <!-- Pointer icon indicating context-menu will appear. -->
2939             <enum name="context_menu" value="1001" />
2940             <!-- Pointer icon of a hand with the index finger. -->
2941             <enum name="hand" value="1002" />
2942             <!-- Pointer icon indicating help. -->
2943             <enum name="help" value="1003" />
2944             <!-- Pointer icon indicating something is going on and waiting. -->
2945             <enum name="wait" value="1004" />
2946             <!-- Pointer icon for cell and grid. -->
2947             <enum name="cell" value="1006" />
2948             <!-- Pointer icon of crosshair, indicating to spot a location. -->
2949             <enum name="crosshair" value="1007" />
2950             <!-- Pointer icon of I-beam, usually for text. -->
2951             <enum name="text" value="1008" />
2952             <!-- Pointer icon of I-beam with 90-degree rotated, for vertical text. -->
2953             <enum name="vertical_text" value="1009" />
2954             <!-- Pointer icon of 'alias', indicating an alias of/shortcut to something is to be
2955                  created. -->
2956             <enum name="alias" value="1010" />
2957             <!-- Pointer icon of 'copy', used for drag/drop. -->
2958             <enum name="copy" value="1011" />
2959             <!-- Pointer icon of 'no-drop', indicating the drop will not be accepted at the
2960                  current location. -->
2961             <enum name="no_drop" value="1012" />
2962             <!-- Pointer icon of four-way arrows, indicating scrolling all direction. -->
2963             <enum name="all_scroll" value="1013" />
2964             <!-- Pointer icon of horizontal double arrow, indicating horizontal resize. -->
2965             <enum name="horizontal_double_arrow" value="1014" />
2966             <!-- Pointer icon of vertical double arrow, indicating vertical resize. -->
2967             <enum name="vertical_double_arrow" value="1015" />
2968             <!-- Pointer icon of diagonal double arrow, starting from top-right to bottom-left.
2969                  Indicating freeform resize. -->
2970             <enum name="top_right_diagonal_double_arrow" value="1016" />
2971             <!-- Pointer icon of diagonal double arrow, starting from top-left to bottom-right.
2972                  Indicating freeform resize. -->
2973             <enum name="top_left_diagonal_double_arrow" value="1017" />
2974             <!-- Pointer icon indicating zoom-in. -->
2975             <enum name="zoom_in" value="1018" />
2976             <!-- Pointer icon indicating zoom-out. -->
2977             <enum name="zoom_out" value="1019" />
2978             <!-- Pointer icon of a hand sign to grab something. -->
2979             <enum name="grab" value="1020" />
2980             <!-- Pointer icon of a hand sign while grabbing something. -->
2981             <enum name="grabbing" value="1021" />
2982         </attr>
2984         <!-- Whether this view has elements that may overlap when drawn. See
2985              {@link android.view.View#forceHasOverlappingRendering(boolean)}. -->
2986         <attr name="forceHasOverlappingRendering" format="boolean" />
2988         <!-- Defines text displayed in a small popup window on hover or long press. -->
2989         <attr name="tooltipText" format="string" localization="suggested" />
2991         <!-- Whether this view is a root of a keyboard navigation cluster.
2992              See {@link android.view.View#setKeyboardNavigationCluster(boolean)}. -->
2993         <attr name="keyboardNavigationCluster" format="boolean" />
2995         <attr name="__removed0" format="boolean" />
2997         <!-- Defines the next keyboard navigation cluster.
2999              If the reference refers to a view that does not exist or is part
3000              of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
3001              will result when the reference is accessed.-->
3002         <attr name="nextClusterForward" format="reference"/>
3004         <attr name="__removed1" format="reference"/>
3006         <!-- Whether this view is a default-focus view.
3007              Only one view per keyboard navigation cluster can have this attribute set to true.
3008              See {@link android.view.View#setFocusedByDefault(boolean)}. -->
3009         <attr name="focusedByDefault" format="boolean" />
3011         <!-- Whether this View should use a default focus highlight when it gets focused but
3012              doesn't have {@link android.R.attr#state_focused} defined in its background. -->
3013         <attr name="defaultFocusHighlightEnabled" format="boolean" />
3014     </declare-styleable>
3016     <!-- Attributes that can be assigned to a tag for a particular View. -->
3017     <declare-styleable name="ViewTag">
3018         <!-- Specifies the key identifying a tag. This must be a resource reference. -->
3019         <attr name="id" />
3020         <!-- Specifies the value with which to tag the view. -->
3021         <attr name="value" />
3022     </declare-styleable>
3024     <!-- Attributes that can be assigned to an &lt;include&gt; tag.
3025          @hide -->
3026     <declare-styleable name="Include">
3027         <attr name="id" />
3028         <attr name="visibility" />
3029     </declare-styleable>
3031     <!-- Attributes that can be used with a {@link android.view.ViewGroup} or any
3032          of its subclasses.  Also see {@link #ViewGroup_Layout} for
3033          attributes that this class processes in its children. -->
3034     <declare-styleable name="ViewGroup">
3035         <!-- Defines whether changes in layout (caused by adding and removing items) should
3036              cause a LayoutTransition to run. When this flag is set to true, a default
3037              LayoutTransition object will be set on the ViewGroup container and default
3038              animations will run when these layout changes occur.-->
3039         <attr name="animateLayoutChanges" format="boolean" />
3040         <!-- Defines whether a child is limited to draw inside of its bounds or not.
3041              This is useful with animations that scale the size of the children to more
3042              than 100% for instance. In such a case, this property should be set to false
3043              to allow the children to draw outside of their bounds. The default value of
3044              this property is true. -->
3045         <attr name="clipChildren" format="boolean" />
3046         <!-- Defines whether the ViewGroup will clip its children and resize (but not clip) any
3047              EdgeEffect to its padding, if padding is not zero. This property is set to true by
3048              default. -->
3049         <attr name="clipToPadding" format="boolean" />
3050         <!-- Defines the layout animation to use the first time the ViewGroup is laid out.
3051              Layout animations can also be started manually after the first layout. -->
3052         <attr name="layoutAnimation" format="reference" />
3053         <!-- Defines whether layout animations should create a drawing cache for their
3054              children. Enabling the animation cache consumes more memory and requires
3055              a longer initialization but provides better performance. The animation
3056              cache is enabled by default. -->
3057         <attr name="animationCache" format="boolean" />
3058         <!-- Defines the persistence of the drawing cache. The drawing cache might be
3059              enabled by a ViewGroup for all its children in specific situations (for
3060              instance during a scrolling.) This property lets you persist the cache
3061              in memory after its initial usage. Persisting the cache consumes more
3062              memory but may prevent frequent garbage collection is the cache is created
3063              over and over again. By default the persistence is set to scrolling. -->
3064         <attr name="persistentDrawingCache">
3065             <!-- The drawing cache is not persisted after use. -->
3066             <flag name="none" value="0x0" />
3067             <!-- The drawing cache is persisted after a layout animation. -->
3068             <flag name="animation" value="0x1" />
3069             <!-- The drawing cache is persisted after a scroll. -->
3070             <flag name="scrolling" value="0x2" />
3071             <!-- The drawing cache is always persisted. -->
3072             <flag name="all" value="0x3" />
3073         </attr>
3074         <!-- Defines whether the ViewGroup should always draw its children using their
3075              drawing cache or not. The default value is true. -->
3076         <attr name="alwaysDrawnWithCache" format="boolean" />
3077         <!-- Sets whether this ViewGroup's drawable states also include
3078              its children's drawable states.  This is used, for example, to
3079              make a group appear to be focused when its child EditText or button
3080              is focused. -->
3081         <attr name="addStatesFromChildren" format="boolean" />
3083         <!-- Defines the relationship between the ViewGroup and its descendants
3084              when looking for a View to take focus. -->
3085         <attr name="descendantFocusability">
3086             <!-- The ViewGroup will get focus before any of its descendants. -->
3087             <enum name="beforeDescendants" value="0" />
3088             <!-- The ViewGroup will get focus only if none of its descendants want it. -->
3089             <enum name="afterDescendants" value="1" />
3090             <!-- The ViewGroup will block its descendants from receiving focus. -->
3091             <enum name="blocksDescendants" value="2" />
3092         </attr>
3094         <!-- Set to true if this ViewGroup blocks focus in the presence of a touchscreen. -->
3095         <attr name="touchscreenBlocksFocus" format="boolean" />
3097         <!-- Sets whether this ViewGroup should split MotionEvents
3098              to separate child views during touch event dispatch.
3099              If false (default), touch events will be dispatched to
3100              the child view where the first pointer went down until
3101              the last pointer goes up.
3102              If true, touch events may be dispatched to multiple children.
3103              MotionEvents for each pointer will be dispatched to the child
3104              view where the initial ACTION_DOWN event happened.
3105              See {@link android.view.ViewGroup#setMotionEventSplittingEnabled(boolean)}
3106              for more information. -->
3107         <attr name="splitMotionEvents" format="boolean" />
3109         <!-- Defines the layout mode of this ViewGroup. -->
3110         <attr name="layoutMode">
3111             <!-- Use the children's clip bounds when laying out this container. -->
3112             <enum name="clipBounds" value="0" />
3113             <!-- Use the children's optical bounds when laying out this container. -->
3114             <enum name="opticalBounds" value="1" />
3115         </attr>
3117         <!-- Sets whether or not this ViewGroup should be treated as a single entity
3118              when doing an Activity transition. Typically, the elements inside a
3119              ViewGroup are each transitioned from the scene individually. The default
3120              for a ViewGroup is false unless it has a background. See
3121              {@link android.app.ActivityOptions#makeSceneTransitionAnimation(android.app.Activity,
3122              android.view.View, String)} for more information. Corresponds to
3123              {@link android.view.ViewGroup#setTransitionGroup(boolean)}.-->
3124         <attr name="transitionGroup" format="boolean" />
3125     </declare-styleable>
3127     <!-- A {@link android.view.ViewStub} lets you lazily include other XML layouts
3128          inside your application at runtime. -->
3129     <declare-styleable name="ViewStub">
3130         <!-- Supply an identifier name for this view. -->
3131         <attr name="id" />
3132         <!-- Supply an identifier for the layout resource to inflate when the ViewStub
3133              becomes visible or when forced to do so. The layout resource must be a
3134              valid reference to a layout. -->
3135         <attr name="layout" format="reference" />
3136         <!-- Overrides the id of the inflated View with this value. -->
3137         <attr name="inflatedId" format="reference" />
3138     </declare-styleable>
3140     <!-- ===================================== -->
3141     <!-- View package parent layout attributes -->
3142     <!-- ===================================== -->
3143     <eat-comment />
3145     <!-- This is the basic set of layout attributes that are common to all
3146          layout managers.  These attributes are specified with the rest of
3147          a view's normal attributes (such as {@link android.R.attr#background},
3148          but will be parsed by the view's parent and ignored by the child.
3149         <p>The values defined here correspond to the base layout attribute
3150         class {@link android.view.ViewGroup.LayoutParams}. -->
3151     <declare-styleable name="ViewGroup_Layout">
3152         <!-- Specifies the basic width of the view.  This is a required attribute
3153              for any view inside of a containing layout manager.  Its value may
3154              be a dimension (such as "12dip") for a constant width or one of
3155              the special constants. -->
3156         <attr name="layout_width" format="dimension">
3157             <!-- The view should be as big as its parent (minus padding).
3158                  This constant is deprecated starting from API Level 8 and
3159                  is replaced by {@code match_parent}. -->
3160             <enum name="fill_parent" value="-1" />
3161             <!-- The view should be as big as its parent (minus padding).
3162                  Introduced in API Level 8. -->
3163             <enum name="match_parent" value="-1" />
3164             <!-- The view should be only big enough to enclose its content (plus padding). -->
3165             <enum name="wrap_content" value="-2" />
3166         </attr>
3168         <!-- Specifies the basic height of the view.  This is a required attribute
3169              for any view inside of a containing layout manager.  Its value may
3170              be a dimension (such as "12dip") for a constant height or one of
3171              the special constants. -->
3172         <attr name="layout_height" format="dimension">
3173             <!-- The view should be as big as its parent (minus padding).
3174                  This constant is deprecated starting from API Level 8 and
3175                  is replaced by {@code match_parent}. -->
3176             <enum name="fill_parent" value="-1" />
3177             <!-- The view should be as big as its parent (minus padding).
3178                  Introduced in API Level 8. -->
3179             <enum name="match_parent" value="-1" />
3180             <!-- The view should be only big enough to enclose its content (plus padding). -->
3181             <enum name="wrap_content" value="-2" />
3182         </attr>
3183     </declare-styleable>
3185     <!-- This is the basic set of layout attributes for layout managers that
3186          wish to place margins around their child views.
3187          These attributes are specified with the rest of
3188          a view's normal attributes (such as {@link android.R.attr#background},
3189          but will be parsed by the view's parent and ignored by the child.
3190         <p>The values defined here correspond to the base layout attribute
3191         class {@link android.view.ViewGroup.MarginLayoutParams}. -->
3192     <declare-styleable name="ViewGroup_MarginLayout">
3193         <attr name="layout_width" />
3194         <attr name="layout_height" />
3195         <!--  Specifies extra space on the left, top, right and bottom
3196               sides of this view.  If both layout_margin and any of layout_marginLeft,
3197               layout_marginRight, layout_marginStart, layout_marginEnd,
3198               layout_marginTop, and layout_marginBottom are
3199               also specified, the layout_margin value will take precedence over the
3200               edge-specific values. This space is outside this view's bounds.
3201               Margin values should be positive. -->
3202         <attr name="layout_margin" format="dimension"  />
3203         <!--  Specifies extra space on the left side of this view.
3204               This space is outside this view's bounds.
3205               Margin values should be positive. -->
3206         <attr name="layout_marginLeft" format="dimension"  />
3207         <!--  Specifies extra space on the top side of this view.
3208               This space is outside this view's bounds.
3209               Margin values should be positive.-->
3210         <attr name="layout_marginTop" format="dimension" />
3211         <!--  Specifies extra space on the right side of this view.
3212               This space is outside this view's bounds.
3213               Margin values should be positive.-->
3214         <attr name="layout_marginRight" format="dimension"  />
3215         <!--  Specifies extra space on the bottom side of this view.
3216               This space is outside this view's bounds.
3217               Margin values should be positive.-->
3218         <attr name="layout_marginBottom" format="dimension"  />
3219         <!--  Specifies extra space on the start side of this view.
3220               This space is outside this view's bounds.
3221               Margin values should be positive.-->
3222         <attr name="layout_marginStart" format="dimension"  />
3223         <!--  Specifies extra space on the end side of this view.
3224               This space is outside this view's bounds.
3225               Margin values should be positive.-->
3226         <attr name="layout_marginEnd" format="dimension"  />
3227         <!--  Specifies extra space on the left and right sides of this view.
3228               Specifying layout_marginHorizontal is equivalent to specifying
3229               layout_marginLeft and layout_marginRight.
3230               If both layout_marginHorizontal and either/both of layout_marginLeft
3231               and layout_marginRight are also specified, the layout_marginHorizontal
3232               value will take precedence over the
3233               edge-specific values. Also, layout_margin will always take precedence over
3234               any of these values, including layout_marginHorizontal.
3235               This space is outside this view's bounds.
3236               Margin values should be positive.-->
3237         <attr name="layout_marginHorizontal" format="dimension"  />
3238         <!--  Specifies extra space on the top and bottom sides of this view.
3239               Specifying layout_marginVertical is equivalent to specifying
3240               layout_marginTop and layout_marginBottom with that same value.
3241               If both layout_marginVertical and either/both of layout_marginTop and
3242               layout_marginBottom are also specified, the layout_marginVertical value
3243               will take precedence over the edge-specific values.
3244               Also, layout_margin will always take precedence over
3245               any of these values, including layout_marginVertical.
3246               This space is outside this view's bounds.
3247               Margin values should be positive.-->
3248         <attr name="layout_marginVertical" format="dimension"  />
3249     </declare-styleable>
3251     <!-- Use <code>input-method</code> as the root tag of the XML resource that
3252          describes an
3253          {@link android.view.inputmethod.InputMethod} service, which is
3254          referenced from its
3255          {@link android.view.inputmethod.InputMethod#SERVICE_META_DATA}
3256          meta-data entry.  Described here are the attributes that can be
3257          included in that tag. -->
3258     <declare-styleable name="InputMethod">
3259         <!-- Component name of an activity that allows the user to modify
3260              the settings for this service. -->
3261         <attr name="settingsActivity" format="string" />
3262         <!-- Set to true in all of the configurations for which this input
3263              method should be considered an option as the default. -->
3264         <attr name="isDefault" format="boolean" />
3265         <!-- Set to true if this input method supports ways to switch to
3266              a next input method (for example, a globe key.). When this is true and
3267              InputMethodManager#shouldOfferSwitchingToNextInputMethod() returns true,
3268              the IME has to offer ways to invoke InputMethodManager#switchToNextInputMethod()
3269              accordingly.
3270              <p> Note that the system determines the most appropriate next input method
3271              and subtype in order to provide the consistent user experience in switching
3272              between IMEs and subtypes. -->
3273         <attr name="supportsSwitchingToNextInputMethod" format="boolean" />
3274         <attr name="__removed2" format="boolean" />
3275     </declare-styleable>
3277     <!-- This is the subtype of InputMethod. Subtype can describe locales (for example, en_US and
3278          fr_FR) and modes (for example, voice and keyboard), and is used for IME switch. This
3279          subtype allows the system to call the specified subtype of the IME directly. -->
3280     <declare-styleable name="InputMethod_Subtype">
3281         <!-- The name of the subtype. -->
3282         <attr name="label" />
3283         <!-- The icon of the subtype. -->
3284         <attr name="icon" />
3285         <!-- The locale of the subtype. This string should be a locale (for example en_US and fr_FR)
3286              and will be passed to the IME when the framework calls the IME
3287              with the subtype. This is also used by the framework to know the supported locales
3288              of the IME.  -->
3289         <attr name="imeSubtypeLocale" format="string" />
3290         <!-- The mode of the subtype. This string can be a mode (for example, voice and keyboard)
3291              and this string will be passed to the IME when the framework calls the IME with the
3292              subtype.  {@link android.view.inputmethod.InputMethodSubtype#getLocale()} returns the
3293              value specified in this attribute.  -->
3294         <attr name="imeSubtypeMode" format="string" />
3295         <!-- Set true if the subtype is auxiliary.  An auxiliary subtype won't be shown in the
3296              input method selection list in the settings app.
3297              InputMethodManager#switchToLastInputMethod will ignore auxiliary subtypes when it
3298              chooses a target subtype. -->
3299         <attr name="isAuxiliary" format="boolean" />
3300         <!-- Set true when this subtype should be selected by default if no other subtypes are
3301              selected explicitly. Note that a subtype with this parameter being true will
3302              not be shown in the subtypes list. -->
3303         <attr name="overridesImplicitlyEnabledSubtype" format="boolean" />
3304         <!-- The extra value of the subtype. This string can be any string and will be passed to
3305              the IME when the framework calls the IME with the subtype.  -->
3306         <attr name="imeSubtypeExtraValue" format="string" />
3307         <!-- The unique id for the subtype. The input method framework keeps track of enabled
3308              subtypes by ID. When the IME package gets upgraded, enabled IDs will stay enabled even
3309              if other attributes are different. If the ID is unspecified (by calling the other
3310              constructor or 0. Arrays.hashCode(new Object[] {locale, mode, extraValue,
3311              isAuxiliary, overridesImplicitlyEnabledSubtype}) will be used instead. -->
3312         <attr name="subtypeId" format="integer"/>
3313         <!-- Set to true if this subtype is ASCII capable. If the subtype is ASCII
3314              capable, it should guarantee that the user can input ASCII characters with
3315              this subtype. This is important because many password fields only allow
3316              ASCII-characters. -->
3317         <attr name="isAsciiCapable" format="boolean" />
3318         <!-- The BCP-47 Language Tag of the subtype.  This replaces
3319         {@link android.R.styleable#InputMethod_Subtype_imeSubtypeLocale}.  -->
3320         <attr name="languageTag" format="string" />
3321     </declare-styleable>
3323     <!-- Use <code>spell-checker</code> as the root tag of the XML resource that
3324          describes an
3325          {@link android.service.textservice.SpellCheckerService} service, which is
3326          referenced from its
3327          {@link android.view.textservice.SpellCheckerSession#SERVICE_META_DATA}
3328          meta-data entry.  Described here are the attributes that can be
3329          included in that tag. -->
3330     <declare-styleable name="SpellChecker">
3331         <!-- The name of the spell checker. -->
3332         <attr name="label" />
3333         <!-- Component name of an activity that allows the user to modify
3334              the settings for this service. -->
3335         <attr name="settingsActivity"/>
3336     </declare-styleable>
3338     <!-- This is the subtype of the spell checker. Subtype can describe locales (for example,
3339              en_US and fr_FR). -->
3340     <declare-styleable name="SpellChecker_Subtype">
3341         <!-- The name of the subtype. -->
3342         <attr name="label" />
3343         <!-- The locale of the subtype. This string should be a locale (for example, en_US and
3344              fr_FR). This is also used by the framework to know the supported locales
3345              of the spell checker. {@link android.view.textservice.SpellCheckerSubtype#getLocale()}
3346              returns the value specified in this attribute.  -->
3347         <attr name="subtypeLocale" format="string" />
3348         <!-- The extra value of the subtype. This string can be any string and will be passed to
3349              the SpellChecker.  -->
3350         <attr name="subtypeExtraValue" format="string" />
3351         <!-- The unique id for the subtype. The text service (spell checker) framework keeps track
3352              of enabled subtypes by ID. When the spell checker package gets upgraded, enabled IDs
3353              will stay enabled even if other attributes are different. If the ID is unspecified or
3354              explicitly specified to 0 in XML resources,
3355              {@code Arrays.hashCode(new Object[] {subtypeLocale, extraValue})} will be used instead.
3356               -->
3357         <attr name="subtypeId" />
3358         <!-- The BCP-47 Language Tag of the subtype.  This replaces
3359         {@link android.R.styleable#SpellChecker_Subtype_subtypeLocale}.  -->
3360         <attr name="languageTag" />
3361     </declare-styleable>
3363     <!-- Use <code>accessibility-service</code> as the root tag of the XML resource that
3364          describes an {@link android.accessibilityservice.AccessibilityService} service,
3365          which is referenced from its
3366          {@link android.accessibilityservice.AccessibilityService#SERVICE_META_DATA}
3367          meta-data entry. -->
3368     <declare-styleable name="AccessibilityService">
3369         <!-- The event types this service would like to receive as specified in
3370              {@link android.view.accessibility.AccessibilityEvent}. This setting
3371              can be changed at runtime by calling
3372              {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3373              android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3374         <attr name="accessibilityEventTypes">
3375             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CLICKED} events.-->
3376             <flag name="typeViewClicked" value="0x00000001" />
3377             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_LONG_CLICKED} events. -->
3378             <flag name="typeViewLongClicked" value="0x00000002" />
3379             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SELECTED} events. -->
3380             <flag name="typeViewSelected" value="0x00000004" />
3381             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_FOCUSED} events. -->
3382             <flag name="typeViewFocused" value="0x00000008" />
3383             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_CHANGED} events. -->
3384             <flag name="typeViewTextChanged" value="0x00000010" />
3385             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_STATE_CHANGED} events. -->
3386             <flag name="typeWindowStateChanged" value="0x00000020" />
3387             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_NOTIFICATION_STATE_CHANGED} events. -->
3388             <flag name="typeNotificationStateChanged" value="0x00000040" />
3389             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_ENTER} events. -->
3390             <flag name="typeViewHoverEnter" value="0x00000080" />
3391             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_EXIT} events. -->
3392             <flag name="typeViewHoverExit" value="0x00000100" />
3393             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_START} events. -->
3394             <flag name="typeTouchExplorationGestureStart" value="0x00000200" />
3395             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_END} events. -->
3396             <flag name="typeTouchExplorationGestureEnd" value="0x00000400" />
3397             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_CONTENT_CHANGED} events. -->
3398             <flag name="typeWindowContentChanged" value="0x00000800" />
3399             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SCROLLED} events. -->
3400             <flag name="typeViewScrolled" value="0x000001000" />
3401             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_SELECTION_CHANGED} events. -->
3402             <flag name="typeViewTextSelectionChanged" value="0x000002000" />
3403             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ANNOUNCEMENT} events. -->
3404             <flag name="typeAnnouncement" value="0x00004000" />
3405             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUSED} events. -->
3406             <flag name="typeViewAccessibilityFocused" value="0x00008000" />
3407             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED} events. -->
3408             <flag name="typeViewAccessibilityFocusCleared" value="0x00010000" />
3409             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY} events. -->
3410             <flag name="typeViewTextTraversedAtMovementGranularity" value="0x00020000" />
3411             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_START} events. -->
3412             <flag name="typeGestureDetectionStart" value="0x00040000" />
3413             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_END} events. -->
3414             <flag name="typeGestureDetectionEnd" value="0x00080000" />
3415             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_START} events. -->
3416             <flag name="typeTouchInteractionStart" value="0x00100000" />
3417             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_END} events. -->
3418             <flag name="typeTouchInteractionEnd" value="0x00200000" />
3419             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOWS_CHANGED} events. -->
3420             <flag name="typeWindowsChanged" value="0x00400000" />
3421             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CONTEXT_CLICKED} events. -->
3422             <flag name="typeContextClicked" value="0x00800000" />
3423             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ASSIST_READING_CONTEXT} events. -->
3424             <flag name="typeAssistReadingContext" value="0x01000000" />
3425             <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPES_ALL_MASK} i.e. all events. -->
3426             <flag name="typeAllMask" value="0xffffffff" />
3427         </attr>
3428         <!-- Comma separated package names from which this service would like to receive events (leave out for all packages).
3429              {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3430              android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3431         <attr name="packageNames" format="string" />
3432         <!-- The feedback types this service provides as specified in
3433              {@link android.accessibilityservice.AccessibilityServiceInfo}. This setting
3434              can be changed at runtime by calling
3435              {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3436              android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3437         <attr name="accessibilityFeedbackType">
3438             <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_SPOKEN} feedback. -->
3439             <flag name="feedbackSpoken" value="0x00000001" />
3440             <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_HAPTIC} feedback. -->
3441             <flag name="feedbackHaptic" value="0x00000002" />
3442             <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_AUDIBLE} feedback. -->
3443             <flag name="feedbackAudible" value="0x00000004" />
3444             <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_VISUAL} feedback. -->
3445             <flag name="feedbackVisual" value="0x00000008" />
3446             <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_GENERIC} feedback. -->
3447             <flag name="feedbackGeneric" value="0x00000010" />
3448             <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_ALL_MASK} feedback. -->
3449             <flag name="feedbackAllMask" value="0xffffffff" />
3450         </attr>
3451         <!-- The minimal period in milliseconds between two accessibility events of the same type
3452              are sent to this service. This setting can be changed at runtime by calling
3453              {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3454              android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3455         <attr name="notificationTimeout" format="integer" />
3456         <!-- Additional flags as specified in
3457              {@link android.accessibilityservice.AccessibilityServiceInfo}.
3458              This setting can be changed at runtime by calling
3459              {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3460              android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3461         <attr name="accessibilityFlags">
3462             <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#DEFAULT}. -->
3463             <flag name="flagDefault" value="0x00000001" />
3464             <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_INCLUDE_NOT_IMPORTANT_VIEWS}. -->
3465             <flag name="flagIncludeNotImportantViews" value="0x00000002" />
3466             <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE}. -->
3467             <flag name="flagRequestTouchExplorationMode" value="0x00000004" />
3468             <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY}.
3469                  Not used by the framework.
3470             -->
3471             <flag name="flagRequestEnhancedWebAccessibility" value="0x00000008" />
3472             <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REPORT_VIEW_IDS}. -->
3473             <flag name="flagReportViewIds" value="0x00000010" />
3474             <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS}. -->
3475             <flag name="flagRequestFilterKeyEvents" value="0x00000020" />
3476             <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_RETRIEVE_INTERACTIVE_WINDOWS}. -->
3477             <flag name="flagRetrieveInteractiveWindows" value="0x00000040" />
3478             <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_ENABLE_ACCESSIBILITY_VOLUME}. -->
3479             <flag name="flagEnableAccessibilityVolume" value="0x00000080" />
3480             <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ACCESSIBILITY_BUTTON}. -->
3481             <flag name="flagRequestAccessibilityButton" value="0x00000100" />
3482             <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FINGERPRINT_GESTURES}. -->
3483             <flag name="flagRequestFingerprintGestures" value="0x00000200" />
3484         </attr>
3485         <!-- Component name of an activity that allows the user to modify
3486              the settings for this service. This setting cannot be changed at runtime. -->
3487         <attr name="settingsActivity" />
3488         <!-- Attribute whether the accessibility service wants to be able to retrieve the
3489              active window content. This setting cannot be changed at runtime. -->
3490         <attr name="canRetrieveWindowContent" format="boolean" />
3491         <!-- Attribute whether the accessibility service wants to be able to request touch
3492              exploration mode in which touched items are spoken aloud and the UI can be
3493              explored via gestures.
3494              <p>
3495              Required to allow setting the {@link android.accessibilityservice
3496              #AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} flag.
3497              </p>
3498          -->
3499         <attr name="canRequestTouchExplorationMode" format="boolean" />
3500         <!-- Attribute whether the accessibility service wants to be able to request enhanced
3501              web accessibility enhancements.
3502              {@deprecated Not used by the framework}
3503          -->
3504         <attr name="canRequestEnhancedWebAccessibility" format="boolean" />
3505         <!-- Attribute whether the accessibility service wants to be able to request to
3506              filter key events.
3507              <p>
3508              Required to allow setting the {@link android.accessibilityservice
3509              #AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} flag.
3510              </p>
3511          -->
3512         <attr name="canRequestFilterKeyEvents" format="boolean" />
3513         <!-- Attribute whether the accessibility service wants to be able to control
3514              display magnification.
3515          -->
3516         <attr name="canControlMagnification" format="boolean" />
3517         <!-- Attribute whether the accessibility service wants to be able to perform gestures. -->
3518         <attr name="canPerformGestures" format="boolean" />
3519         <!-- Attribute whether the accessibility service wants to be able to capture gestures from
3520              the fingerprint sensor.
3521              <p>
3522              Required to allow setting the {@link android.accessibilityservice
3523              #AccessibilityServiceInfo#FLAG_REQUEST_FINGERPRINT_GESTURES} flag to have any effect.
3524              </p>
3525          -->
3526         <attr name="canRequestFingerprintGestures" format="boolean" />
3527         <!-- Short description of the accessibility service purpose or behavior.-->
3528         <attr name="description" />
3529         <!-- Brief summary of the accessibility service purpose or behavior. -->
3530         <attr name="summary" />
3531     </declare-styleable>
3533     <!-- Use <code>print-service</code> as the root tag of the XML resource that
3534          describes an {@link android.printservice.PrintService} service, which is
3535          referenced from its {@link android.printservice.PrintService#SERVICE_META_DATA}
3536          meta-data entry. -->
3537     <declare-styleable name="PrintService">
3538         <!-- Fully qualified class name of an activity that allows the user to modify
3539              the settings for this service. -->
3540         <attr name="settingsActivity" />
3541         <!-- Fully qualified class name of an activity that allows the user to manually
3542              add printers to this print service. -->
3543         <attr name="addPrintersActivity" format="string"/>
3544         <!-- Fully qualified class name of an activity with advanced print options
3545              specific to this print service. -->
3546         <attr name="advancedPrintOptionsActivity" format="string"/>
3547         <!-- The vendor name if this print service is vendor specific. -->
3548         <attr name="vendor" format="string"/>
3549     </declare-styleable>
3551     <!-- Use <code>host-apdu-service</code> as the root tag of the XML resource that
3552          describes an {@link android.nfc.cardemulation.HostApduService} service, which
3553          is referenced from its {@link android.nfc.cardemulation.HostApduService#SERVICE_META_DATA}
3554          entry. -->
3555     <declare-styleable name="HostApduService">
3556         <!-- Short description of the functionality the service implements. This attribute
3557              is mandatory.-->
3558         <attr name="description" />
3559         <!-- Whether the device must be unlocked before routing data to this service.
3560              The default is false.-->
3561         <attr name="requireDeviceUnlock" format="boolean"/>
3562         <!-- A drawable that can be rendered in Android's system UI for representing
3563              the service. -->
3564         <attr name="apduServiceBanner" format="reference"/>
3565         <!-- Component name of an activity that allows the user to modify
3566              the settings for this service. -->
3567         <attr name="settingsActivity"/>
3568     </declare-styleable>
3570     <!-- Use <code>offhost-apdu-service</code> as the root tag of the XML resource that
3571          describes an {@link android.nfc.cardemulation.OffHostApduService}
3572          service, which is referenced from its
3573          {@link android.nfc.cardemulation.OffHostApduService#SERVICE_META_DATA} entry. -->
3574     <declare-styleable name="OffHostApduService">
3575         <!-- Short description of the functionality the service implements. This attribute
3576              is mandatory.-->
3577         <attr name="description" />
3578         <!-- A drawable that can be rendered in Android's system UI for representing
3579              the service. -->
3580         <attr name="apduServiceBanner"/>
3581         <!-- Component name of an activity that allows the user to modify
3582              the settings for this service. -->
3583         <attr name="settingsActivity"/>
3584     </declare-styleable>
3586     <!-- Specify one or more <code>aid-group</code> elements inside a
3587          <code>host-apdu-service</code> or <code>offhost-apdu-service</code>
3588          element to define a group of ISO7816 Application ID (AIDs) that
3589          your service can handle.-->
3590     <declare-styleable name="AidGroup">
3591         <!-- Short description of what the AID group implements. This attribute is mandatory.-->
3592         <attr name="description" />
3593         <!-- The category attribute will be used by the Android platform to present
3594              multiple applications that register ISO 7816 Application IDs (AIDs) in the
3595              same category uniformly.
3596              Additionally, when a category is specified, Android will ensure that either
3597              all AIDs in this group are routed to this application, or none at all.
3598              This attribute is optional.-->
3599         <attr name="category" format="string" />
3600     </declare-styleable>
3602     <!-- Specify one or more <code>aid-filter</code> elements inside a
3603          <code>aid-group</code> element to specify an ISO7816 Application ID (AID)
3604          your service can handle. -->
3605     <declare-styleable name="AidFilter">
3606         <!-- The ISO7816 Application ID. This attribute is mandatory. -->
3607         <attr name="name" />
3608     </declare-styleable>
3610     <!-- Specify one or more <code>aid-prefix-filter</code> elements inside a
3611          <code>aid-group</code> element to specify an ISO7816 Application ID (AID)
3612          prefix your service can handle. -->
3613     <declare-styleable name="AidPrefixFilter">
3614         <!-- The ISO7816 Application ID. This attribute is mandatory. -->
3615         <attr name="name" />
3616     </declare-styleable>
3618     <!-- Use <code>host-nfcf-service</code> as the root tag of the XML resource that
3619          describes an {@link android.nfc.cardemulation.HostNfcFService} service, which
3620          is referenced from its {@link android.nfc.cardemulation.HostNfcFService#SERVICE_META_DATA}
3621          entry. -->
3622     <declare-styleable name="HostNfcFService">
3623         <!-- Short description of the functionality the service implements. This attribute
3624              is mandatory.-->
3625         <attr name="description" />
3626     </declare-styleable>
3628     <!-- Specify one or more <code>system-code-filter</code> elements inside a
3629          <code>host-nfcf-service</code> element to specify a System Code
3630          your service can handle. -->
3631     <declare-styleable name="SystemCodeFilter">
3632         <!-- The System Code. This attribute is mandatory. -->
3633         <attr name="name" />
3634     </declare-styleable>
3636     <!-- Specify one or more <code>nfcid2-filter</code> elements inside a
3637          <code>host-nfcf-service</code> element to specify a NFCID2
3638          your service can handle. -->
3639     <declare-styleable name="Nfcid2Filter">
3640         <!-- The NFCID2. This attribute is mandatory. -->
3641         <attr name="name" />
3642     </declare-styleable>
3644     <!-- Specify one or more <code>t3tPmm-filter</code> elements inside a
3645          <code>host-nfcf-service</code> element to specify a LF_T3T_PMM -->
3646     <declare-styleable name="T3tPmmFilter">
3647         <attr name="name" />
3649     </declare-styleable>
3651     <declare-styleable name="ActionMenuItemView">
3652         <attr name="minWidth" />
3653     </declare-styleable>
3655     <!-- =============================== -->
3656     <!-- Widget package class attributes -->
3657     <!-- =============================== -->
3658     <eat-comment />
3660     <declare-styleable name="AbsListView">
3661          <!-- Drawable used to indicate the currently selected item in the list. -->
3662         <attr name="listSelector" format="color|reference" />
3663         <!-- When set to true, the selector will be drawn over the selected item.
3664              Otherwise the selector is drawn behind the selected item. The default
3665              value is false. -->
3666         <attr name="drawSelectorOnTop" format="boolean" />
3667         <!-- Used by ListView and GridView to stack their content from the bottom. -->
3668         <attr name="stackFromBottom" format="boolean" />
3669         <!-- When set to true, the list uses a drawing cache during scrolling.
3670              This makes the rendering faster but uses more memory. The default
3671              value is true. -->
3672         <attr name="scrollingCache" format="boolean" />
3673         <!-- When set to true, the list will filter results as the user types. The
3674              List's adapter must support the Filterable interface for this to work. -->
3675         <attr name="textFilterEnabled" format="boolean" />
3676         <!-- Sets the transcript mode for the list. In transcript mode, the list
3677              scrolls to the bottom to make new items visible when they are added. -->
3678         <attr name="transcriptMode">
3679             <!-- Disables transcript mode. This is the default value. -->
3680             <enum name="disabled" value="0"/>
3681             <!-- The list will automatically scroll to the bottom when
3682                  a data set change notification is received and only if the last item is
3683                  already visible on screen. -->
3684             <enum name="normal" value="1" />
3685             <!-- The list will automatically scroll to the bottom, no matter what items
3686                  are currently visible. -->
3687             <enum name="alwaysScroll" value="2" />
3688         </attr>
3689         <!-- Indicates that this list will always be drawn on top of solid, single-color
3690              opaque background. This allows the list to optimize drawing. -->
3691         <attr name="cacheColorHint" format="color" />
3692         <!-- Enables the fast scroll thumb that can be dragged to quickly scroll through
3693              the list. -->
3694         <attr name="fastScrollEnabled" format="boolean" />
3695         <!-- Specifies the style of the fast scroll decorations. -->
3696         <attr name="fastScrollStyle" format="reference" />
3697         <!-- When set to true, the list will use a more refined calculation
3698              method based on the pixels height of the items visible on screen. This
3699              property is set to true by default but should be set to false if your adapter
3700              will display items of varying heights. When this property is set to true and
3701              your adapter displays items of varying heights, the scrollbar thumb will
3702              change size as the user scrolls through the list. When set to false, the list
3703              will use only the number of items in the adapter and the number of items visible
3704              on screen to determine the scrollbar's properties. -->
3705         <attr name="smoothScrollbar" format="boolean" />
3706         <!-- Defines the choice behavior for the view. By default, lists do not have
3707              any choice behavior. By setting the choiceMode to singleChoice, the list
3708              allows up to one item to be in a chosen state. By setting the choiceMode to
3709              multipleChoice, the list allows any number of items to be chosen.
3710              Finally, by setting the choiceMode to multipleChoiceModal the list allows
3711              any number of items to be chosen in a special selection mode.
3712              The application will supply a
3713              {@link android.widget.AbsListView.MultiChoiceModeListener} using
3714              {@link android.widget.AbsListView#setMultiChoiceModeListener} to control the
3715              selection mode. This uses the {@link android.view.ActionMode} API. -->
3716         <attr name="choiceMode">
3717             <!-- Normal list that does not indicate choices. -->
3718             <enum name="none" value="0" />
3719             <!-- The list allows up to one choice. -->
3720             <enum name="singleChoice" value="1" />
3721             <!-- The list allows multiple choices. -->
3722             <enum name="multipleChoice" value="2" />
3723             <!-- The list allows multiple choices in a custom selection mode. -->
3724             <enum name="multipleChoiceModal" value="3" />
3725         </attr>
3727         <!-- When set to true, the list will always show the fast scroll interface.
3728              This setting implies fastScrollEnabled. -->
3729         <attr name="fastScrollAlwaysVisible" format="boolean" />
3730     </declare-styleable>
3731     <!-- @hide -->
3732     <declare-styleable name="RecycleListView">
3733         <!-- Bottom padding to use when no buttons are present. -->
3734         <attr name="paddingBottomNoButtons" format="dimension" />
3735         <!-- Top padding to use when no title is present. -->
3736         <attr name="paddingTopNoTitle" format="dimension" />
3737     </declare-styleable>
3738     <declare-styleable name="AbsSpinner">
3739         <!-- Reference to an array resource that will populate the Spinner.  For static content,
3740              this is simpler than populating the Spinner programmatically. -->
3741         <attr name="entries" />
3742     </declare-styleable>
3743     <declare-styleable name="AnalogClock">
3744         <attr name="dial" format="reference"/>
3745         <attr name="hand_hour" format="reference"/>
3746         <attr name="hand_minute" format="reference"/>
3747     </declare-styleable>
3748     <declare-styleable name="Button">
3749     </declare-styleable>
3750     <declare-styleable name="Chronometer">
3751         <!-- Format string: if specified, the Chronometer will display this
3752              string, with the first "%s" replaced by the current timer value
3753              in "MM:SS" or "H:MM:SS" form.
3754              If no format string is specified, the Chronometer will simply display
3755              "MM:SS" or "H:MM:SS". -->
3756         <attr name="format" format="string" localization="suggested" />
3757         <!-- Specifies whether this Chronometer counts down or counts up from the base.
3758               If not specified this is false and the Chronometer counts up. -->
3759         <attr name="countDown" format="boolean" />
3760     </declare-styleable>
3761     <declare-styleable name="CompoundButton">
3762         <!-- Indicates the initial checked state of this button. -->
3763         <attr name="checked" format="boolean" />
3764         <!-- Drawable used for the button graphic (for example, checkbox and radio button). -->
3765         <attr name="button" format="reference" />
3766         <!-- Tint to apply to the button graphic. -->
3767         <attr name="buttonTint" format="color" />
3768         <!-- Blending mode used to apply the button graphic tint. -->
3769         <attr name="buttonTintMode">
3770             <!-- The tint is drawn on top of the drawable.
3771                  [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3772             <enum name="src_over" value="3" />
3773             <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3774                  color channels are thrown out. [Sa * Da, Sc * Da] -->
3775             <enum name="src_in" value="5" />
3776             <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3777                  channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3778             <enum name="src_atop" value="9" />
3779             <!-- Multiplies the color and alpha channels of the drawable with those of
3780                  the tint. [Sa * Da, Sc * Dc] -->
3781             <enum name="multiply" value="14" />
3782             <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3783             <enum name="screen" value="15" />
3784             <!-- Combines the tint and drawable color and alpha channels, clamping the
3785                  result to valid color values. Saturate(S + D) -->
3786             <enum name="add" value="16" />
3787         </attr>
3788     </declare-styleable>
3789     <declare-styleable name="CheckedTextView">
3790         <!-- Indicates the initial checked state of this text. -->
3791         <attr name="checked" />
3792         <!-- Drawable used for the check mark graphic. -->
3793         <attr name="checkMark" format="reference"/>
3794         <!-- Tint to apply to the check mark. -->
3795         <attr name="checkMarkTint" format="color" />
3796         <!-- Blending mode used to apply the check mark tint. -->
3797         <attr name="checkMarkTintMode">
3798             <!-- The tint is drawn on top of the drawable.
3799                  [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3800             <enum name="src_over" value="3" />
3801             <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3802                  color channels are thrown out. [Sa * Da, Sc * Da] -->
3803             <enum name="src_in" value="5" />
3804             <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3805                  channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3806             <enum name="src_atop" value="9" />
3807             <!-- Multiplies the color and alpha channels of the drawable with those of
3808                  the tint. [Sa * Da, Sc * Dc] -->
3809             <enum name="multiply" value="14" />
3810             <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3811             <enum name="screen" value="15" />
3812             <!-- Combines the tint and drawable color and alpha channels, clamping the
3813                  result to valid color values. Saturate(S + D) -->
3814             <enum name="add" value="16" />
3815         </attr>
3816         <!-- Gravity for aligning a CheckedTextView's checkmark to one side or the other. -->
3817         <attr name="checkMarkGravity">
3818             <!-- Push object to the left of its container, not changing its size. -->
3819             <flag name="left" value="0x03" />
3820             <!-- Push object to the right of its container, not changing its size. -->
3821             <flag name="right" value="0x05" />
3822             <!-- Push object to the beginning of its container, not changing its size. -->
3823             <flag name="start" value="0x00800003" />
3824             <!-- Push object to the end of its container, not changing its size. -->
3825             <flag name="end" value="0x00800005" />
3826         </attr>
3827     </declare-styleable>
3828     <declare-styleable name="EditText">
3829     </declare-styleable>
3830     <declare-styleable name="FastScroll">
3831         <!-- Drawable used for the scroll bar thumb. -->
3832         <attr name="thumbDrawable" format="reference" />
3833         <!-- Minimum width of the thumb. -->
3834         <attr name="thumbMinWidth" format="dimension" />
3835         <!-- Minimum height of the thumb. -->
3836         <attr name="thumbMinHeight" format="dimension" />
3837         <!-- Drawable used for the scroll bar track. -->
3838         <attr name="trackDrawable" format="reference" />
3839         <!-- Drawable used for the section header preview when right-aligned. -->
3840         <attr name="backgroundRight" format="reference" />
3841         <!-- Drawable used for the section header preview when left-aligned. -->
3842         <attr name="backgroundLeft" format="reference" />
3843         <!-- Position of section header preview. -->
3844         <attr name="position">
3845             <!-- Floating at the top of the content. -->
3846             <enum name="floating" value="0" />
3847             <!-- Pinned to the thumb, vertically centered with the middle of the thumb. -->
3848             <enum name="atThumb" value="1" />
3849             <!-- Pinned to the thumb, vertically centered with the top edge of the thumb. -->
3850             <enum name="aboveThumb" value="2" />
3851         </attr>
3852         <attr name="textAppearance" />
3853         <attr name="textColor" />
3854         <attr name="textSize" />
3855         <!-- Minimum width of the section header preview. -->
3856         <attr name="minWidth" />
3857         <!-- Minimum height of the section header preview. -->
3858         <attr name="minHeight" />
3859         <!-- Padding for the section header preview. -->
3860         <attr name="padding" />
3861         <!-- Position of thumb in relation to the track. -->
3862         <attr name="thumbPosition">
3863             <!-- The thumb's midpoint is anchored to the track. At its
3864                  extremes, the thumb will extend half-way outside the
3865                  track. -->
3866             <enum name="midpoint" value="0" />
3867             <!-- The thumb is entirely inside the track. At its extremes,
3868                  the thumb will be contained entirely within the track. -->
3869             <enum name="inside" value="1" />
3870         </attr>
3871     </declare-styleable>
3872     <declare-styleable name="FrameLayout">
3873         <!-- Determines whether to measure all children or just those in
3874              the VISIBLE or INVISIBLE state when measuring. Defaults to false. -->
3875         <attr name="measureAllChildren" format="boolean" />
3876     </declare-styleable>
3877     <declare-styleable name="ExpandableListView">
3878         <!-- Indicator shown beside the group View. This can be a stateful Drawable. -->
3879         <attr name="groupIndicator" format="reference" />
3880         <!-- Indicator shown beside the child View. This can be a stateful Drawable. -->
3881         <attr name="childIndicator" format="reference" />
3882         <!-- The left bound for an item's indicator. To specify a left bound specific to children,
3883              use childIndicatorLeft. -->
3884         <attr name="indicatorLeft" format="dimension" />
3885         <!-- The right bound for an item's indicator. To specify a right bound specific to children,
3886              use childIndicatorRight. -->
3887         <attr name="indicatorRight" format="dimension" />
3888         <!-- The left bound for a child's indicator. -->
3889         <attr name="childIndicatorLeft" format="dimension" />
3890         <!-- The right bound for a child's indicator. -->
3891         <attr name="childIndicatorRight" format="dimension" />
3892         <!-- Drawable or color that is used as a divider for children. (It will drawn
3893              below and above child items.) The height of this will be the same as
3894              the height of the normal list item divider. -->
3895         <attr name="childDivider" format="reference|color" />
3896         <!-- The start bound for an item's indicator. To specify a start bound specific to children,
3897              use childIndicatorStart. -->
3898         <attr name="indicatorStart" format="dimension" />
3899         <!-- The end bound for an item's indicator. To specify a right bound specific to children,
3900              use childIndicatorEnd. -->
3901         <attr name="indicatorEnd" format="dimension" />
3902         <!-- The start bound for a child's indicator. -->
3903         <attr name="childIndicatorStart" format="dimension" />
3904         <!-- The end bound for a child's indicator. -->
3905         <attr name="childIndicatorEnd" format="dimension" />
3906     </declare-styleable>
3907     <declare-styleable name="Gallery">
3908         <attr name="gravity" />
3909         <!-- Sets how long a transition animation should run (in milliseconds)
3910              when layout has changed.  Only relevant if animation is turned on. -->
3911         <attr name="animationDuration" format="integer" min="0" />
3912         <attr name="spacing" format="dimension" />
3913         <!-- Sets the alpha on the items that are not selected. -->
3914         <attr name="unselectedAlpha" format="float" />
3915     </declare-styleable>
3916     <declare-styleable name="GridView">
3917         <!-- Defines the default horizontal spacing between columns. -->
3918         <attr name="horizontalSpacing" format="dimension" />
3919         <!-- Defines the default vertical spacing between rows. -->
3920         <attr name="verticalSpacing" format="dimension" />
3921         <!-- Defines how columns should stretch to fill the available empty space, if any. -->
3922         <attr name="stretchMode">
3923             <!-- Stretching is disabled. -->
3924             <enum name="none" value="0"/>
3925             <!-- The spacing between each column is stretched. -->
3926             <enum name="spacingWidth" value="1" />
3927             <!-- Each column is stretched equally. -->
3928             <enum name="columnWidth" value="2" />
3929             <!-- The spacing between each column is uniformly stretched.. -->
3930             <enum name="spacingWidthUniform" value="3" />
3931         </attr>
3932         <!-- Specifies the fixed width for each column. -->
3933         <attr name="columnWidth" format="dimension" />
3934         <!-- Defines how many columns to show. -->
3935         <attr name="numColumns" format="integer" min="0">
3936             <!-- Display as many columns as possible to fill the available space. -->
3937             <enum name="auto_fit" value="-1" />
3938         </attr>
3939         <!-- Specifies the gravity within each cell. -->
3940         <attr name="gravity" />
3941     </declare-styleable>
3942     <declare-styleable name="ImageSwitcher">
3943     </declare-styleable>
3944     <declare-styleable name="ImageView">
3945         <!-- Sets a drawable as the content of this ImageView. -->
3946         <attr name="src" format="reference|color" />
3947         <!-- Controls how the image should be resized or moved to match the size
3948              of this ImageView.  See {@link android.widget.ImageView.ScaleType} -->
3949         <attr name="scaleType">
3950             <!-- Scale using the image matrix when drawing. See
3951                  {@link android.widget.ImageView#setImageMatrix(Matrix)}. -->
3952             <enum name="matrix" value="0" />
3953             <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#FILL}. -->
3954             <enum name="fitXY" value="1" />
3955             <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#START}. -->
3956             <enum name="fitStart" value="2" />
3957             <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#CENTER}. -->
3958             <enum name="fitCenter" value="3" />
3959             <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#END}. -->
3960             <enum name="fitEnd" value="4" />
3961             <!-- Center the image in the view, but perform no scaling. -->
3962             <enum name="center" value="5" />
3963             <!-- Scale the image uniformly (maintain the image's aspect ratio) so both dimensions
3964                  (width and height) of the image will be equal to or larger than the corresponding
3965                  dimension of the view (minus padding). The image is then centered in the view. -->
3966             <enum name="centerCrop" value="6" />
3967             <!-- Scale the image uniformly (maintain the image's aspect ratio) so that both
3968                  dimensions (width and height) of the image will be equal to or less than the
3969                  corresponding dimension of the view (minus padding). The image is then centered in
3970                  the view. -->
3971             <enum name="centerInside" value="7" />
3972         </attr>
3973         <!-- Set this to true if you want the ImageView to adjust its bounds
3974              to preserve the aspect ratio of its drawable. -->
3975         <attr name="adjustViewBounds" format="boolean" />
3976         <!-- An optional argument to supply a maximum width for this view.
3977              See {see android.widget.ImageView#setMaxWidth} for details. -->
3978         <attr name="maxWidth" format="dimension" />
3979         <!-- An optional argument to supply a maximum height for this view.
3980              See {see android.widget.ImageView#setMaxHeight} for details. -->
3981         <attr name="maxHeight" format="dimension" />
3982         <!-- The tinting color for the image. By default, the tint will blend using SRC_ATOP mode.
3983              Please note that for compatibility reasons, this is NOT consistent with the default
3984              SRC_IN tint mode used by {@link android.widget.ImageView#setImageTintList} and by
3985              similar tint attributes on other views. -->
3986         <attr name="tint" format="color" />
3987         <!-- If true, the image view will be baseline aligned with based on its
3988              bottom edge. -->
3989         <attr name="baselineAlignBottom" format="boolean" />
3990          <!-- If true, the image will be cropped to fit within its padding. -->
3991         <attr name="cropToPadding" format="boolean" />
3992         <!-- The offset of the baseline within this view. See {see android.view.View#getBaseline}
3993              for details -->
3994         <attr name="baseline" format="dimension" />
3995         <!-- @hide The alpha value (0-255) set on the ImageView's drawable. Equivalent
3996              to calling ImageView.setAlpha(int), not the same as View.setAlpha(float). -->
3997         <attr name="drawableAlpha" format="integer" />
3998         <!-- Blending mode used to apply the image tint. -->
3999         <attr name="tintMode" />
4000     </declare-styleable>
4001     <declare-styleable name="ToggleButton">
4002         <!-- The text for the button when it is checked. -->
4003         <attr name="textOn" format="string" />
4004         <!-- The text for the button when it is not checked. -->
4005         <attr name="textOff" format="string" />
4006         <!-- The alpha to apply to the indicator when disabled. -->
4007         <attr name="disabledAlpha" />
4008     </declare-styleable>
4009     <declare-styleable name="RelativeLayout">
4010         <attr name="gravity" />
4011         <!-- Indicates what view should not be affected by gravity. -->
4012         <attr name="ignoreGravity" format="reference" />
4013     </declare-styleable>
4014     <declare-styleable name="LinearLayout">
4015         <!-- Should the layout be a column or a row?  Use "horizontal"
4016              for a row, "vertical" for a column.  The default is
4017              horizontal. -->
4018         <attr name="orientation" />
4019         <attr name="gravity" />
4020         <!-- When set to false, prevents the layout from aligning its children's
4021              baselines. This attribute is particularly useful when the children
4022              use different values for gravity. The default value is true. -->
4023         <attr name="baselineAligned" format="boolean" />
4024         <!-- When a linear layout is part of another layout that is baseline
4025           aligned, it can specify which of its children to baseline align to
4026           (that is, which child TextView).-->
4027         <attr name="baselineAlignedChildIndex" format="integer" min="0"/>
4028         <!-- Defines the maximum weight sum. If unspecified, the sum is computed
4029              by adding the layout_weight of all of the children. This can be
4030              used for instance to give a single child 50% of the total available
4031              space by giving it a layout_weight of 0.5 and setting the weightSum
4032              to 1.0. -->
4033         <attr name="weightSum" format="float" />
4034         <!-- When set to true, all children with a weight will be considered having
4035              the minimum size of the largest child. If false, all children are
4036              measured normally. -->
4037         <attr name="measureWithLargestChild" format="boolean" />
4038         <!-- Drawable to use as a vertical divider between buttons. -->
4039         <attr name="divider" />
4040         <!-- Setting for which dividers to show. -->
4041         <attr name="showDividers">
4042             <flag name="none" value="0" />
4043             <flag name="beginning" value="1" />
4044             <flag name="middle" value="2" />
4045             <flag name="end" value="4" />
4046         </attr>
4047         <!-- Size of padding on either end of a divider. -->
4048         <attr name="dividerPadding" format="dimension" />
4049     </declare-styleable>
4050     <declare-styleable name="GridLayout">
4051         <!-- The orientation property is not used during layout. It is only used to
4052         allocate row and column parameters when they are not specified by its children's
4053         layout paramters. GridLayout works like LinearLayout in this case;
4054         putting all the components either in a single row or in a single column -
4055         depending on the value of this flag. In the horizontal case, a columnCount
4056         property may be additionally supplied to force new rows to be created when a
4057         row is full. The rowCount attribute may be used similarly in the vertical case.
4058         The default is horizontal. -->
4059         <attr name="orientation" />
4060         <!-- The maxmimum number of rows to create when automatically positioning children. -->
4061         <attr name="rowCount" format="integer" />
4062         <!-- The maxmimum number of columns to create when automatically positioning children. -->
4063         <attr name="columnCount" format="integer" />
4064         <!-- When set to true, tells GridLayout to use default margins when none are specified
4065         in a view's layout parameters.
4066         The default value is false.
4067         See {@link android.widget.GridLayout#setUseDefaultMargins(boolean)}.-->
4068         <attr name="useDefaultMargins" format="boolean" />
4069         <!-- When set to alignMargins, causes alignment to take place between the outer
4070         boundary of a view, as defined by its margins. When set to alignBounds,
4071         causes alignment to take place between the edges of the view.
4072         The default is alignMargins.
4073         See {@link android.widget.GridLayout#setAlignmentMode(int)}.-->
4074         <attr name="alignmentMode" />
4075         <!-- When set to true, forces row boundaries to appear in the same order
4076         as row indices.
4077         The default is true.
4078         See {@link android.widget.GridLayout#setRowOrderPreserved(boolean)}.-->
4079         <attr name="rowOrderPreserved" format="boolean" />
4080         <!-- When set to true, forces column boundaries to appear in the same order
4081         as column indices.
4082         The default is true.
4083         See {@link android.widget.GridLayout#setColumnOrderPreserved(boolean)}.-->
4084         <attr name="columnOrderPreserved" format="boolean" />
4085     </declare-styleable>
4086     <declare-styleable name="ListView">
4087         <!-- Reference to an array resource that will populate the ListView.  For static content,
4088              this is simpler than populating the ListView programmatically. -->
4089         <attr name="entries" />
4090         <!-- Drawable or color to draw between list items. -->
4091         <attr name="divider" format="reference|color" />
4092         <!-- Height of the divider. Will use the intrinsic height of the divider if this
4093              is not specified. -->
4094         <attr name="dividerHeight" format="dimension" />
4095         <!-- When set to false, the ListView will not draw the divider after each header view.
4096              The default value is true. -->
4097         <attr name="headerDividersEnabled" format="boolean" />
4098         <!-- When set to false, the ListView will not draw the divider before each footer view.
4099              The default value is true. -->
4100         <attr name="footerDividersEnabled" format="boolean" />
4101         <!-- Drawable to draw above list content. -->
4102         <attr name="overScrollHeader" format="reference|color" />
4103         <!-- Drawable to draw below list content. -->
4104         <attr name="overScrollFooter" format="reference|color" />
4105     </declare-styleable>
4106     <declare-styleable name="PreferenceFrameLayout">
4107         <!-- Padding to use at the top of the prefs content. -->
4108         <attr name="borderTop" format="dimension" />
4109         <!-- Padding to use at the bottom of the prefs content. -->
4110         <attr name="borderBottom" format="dimension" />
4111         <!-- Padding to use at the left of the prefs content. -->
4112         <attr name="borderLeft" format="dimension" />
4113         <!-- Padding to use at the right of the prefs content. -->
4114         <attr name="borderRight" format="dimension" />
4115     </declare-styleable>
4116     <declare-styleable name="PreferenceFrameLayout_Layout">
4117         <!-- Padding to use at the top of the prefs content. -->
4118         <attr name="layout_removeBorders" format="boolean" />
4119     </declare-styleable>
4120     <declare-styleable name="MenuView">
4121         <!-- Default appearance of menu item text. -->
4122         <attr name="itemTextAppearance" format="reference" />
4123         <!-- Default horizontal divider between rows of menu items. -->
4124         <attr name="horizontalDivider" format="reference" />
4125         <!-- Default vertical divider between menu items. -->
4126         <attr name="verticalDivider" format="reference" />
4127         <!-- Default background for the menu header. -->
4128         <attr name="headerBackground" format="color|reference" />
4129         <!-- Default background for each menu item. -->
4130         <attr name="itemBackground" format="color|reference" />
4131         <!-- Default animations for the menu. -->
4132         <attr name="windowAnimationStyle" />
4133         <!-- Default disabled icon alpha for each menu item that shows an icon. -->
4134         <attr name="itemIconDisabledAlpha" format="float" />
4135         <!-- Whether space should be reserved in layout when an icon is missing. -->
4136         <attr name="preserveIconSpacing" format="boolean" />
4137         <!-- Drawable for the arrow icon indicating a particular item is a submenu. -->
4138         <attr name="subMenuArrow" format="reference" />
4139     </declare-styleable>
4140     <declare-styleable name="IconMenuView">
4141         <!-- Defines the height of each row. -->
4142         <attr name="rowHeight" format="dimension" />
4143         <!-- Defines the maximum number of rows displayed. -->
4144         <attr name="maxRows" format="integer" />
4145         <!-- Defines the maximum number of items per row. -->
4146         <attr name="maxItemsPerRow" format="integer" />
4147         <!-- Defines the maximum number of items to show. -->
4148         <attr name="maxItems" format="integer" />
4149         <!-- 'More' icon. -->
4150         <attr name="moreIcon" format="reference" />
4151     </declare-styleable>
4153     <declare-styleable name="ProgressBar">
4154         <!-- Defines the minimum value. -->
4155         <attr name="min" format="integer" />
4156         <!-- Defines the maximum value. -->
4157         <attr name="max" format="integer" />
4158         <!-- Defines the default progress value, between 0 and max. -->
4159         <attr name="progress" format="integer" />
4160         <!-- Defines the secondary progress value, between 0 and max. This progress is drawn between
4161              the primary progress and the background.  It can be ideal for media scenarios such as
4162              showing the buffering progress while the default progress shows the play progress. -->
4163         <attr name="secondaryProgress" format="integer" />
4164         <!-- Allows to enable the indeterminate mode. In this mode the progress
4165          bar plays an infinite looping animation. -->
4166         <attr name="indeterminate" format="boolean" />
4167         <!-- Restricts to ONLY indeterminate mode (state-keeping progress mode will not work). -->
4168         <attr name="indeterminateOnly" format="boolean" />
4169         <!-- Drawable used for the indeterminate mode. -->
4170         <attr name="indeterminateDrawable" format="reference" />
4171         <!-- Drawable used for the progress mode. -->
4172         <attr name="progressDrawable" format="reference" />
4173         <!-- Duration of the indeterminate animation. -->
4174         <attr name="indeterminateDuration" format="integer" min="1" />
4175         <!-- Defines how the indeterminate mode should behave when the progress
4176         reaches max. -->
4177         <attr name="indeterminateBehavior">
4178             <!-- Progress starts over from 0. -->
4179             <enum name="repeat" value="1" />
4180             <!-- Progress keeps the current value and goes back to 0. -->
4181             <enum name="cycle" value="2" />
4182         </attr>
4183         <attr name="minWidth" format="dimension" />
4184         <attr name="maxWidth" />
4185         <attr name="minHeight" format="dimension" />
4186         <attr name="maxHeight" />
4187         <attr name="interpolator" format="reference" />
4188         <!-- Timeout between frames of animation in milliseconds.
4189              {@deprecated Not used by the framework}. -->
4190         <attr name="animationResolution" format="integer" />
4191         <!-- Defines if the associated drawables need to be mirrored when in RTL mode.
4192              Default is false. -->
4193         <attr name="mirrorForRtl" format="boolean" />
4194         <!-- Tint to apply to the progress indicator. -->
4195         <attr name="progressTint" format="color" />
4196         <!-- Blending mode used to apply the progress indicator tint. -->
4197         <attr name="progressTintMode">
4198             <!-- The tint is drawn on top of the drawable.
4199                  [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4200             <enum name="src_over" value="3" />
4201             <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4202                  color channels are thrown out. [Sa * Da, Sc * Da] -->
4203             <enum name="src_in" value="5" />
4204             <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4205                  channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4206             <enum name="src_atop" value="9" />
4207             <!-- Multiplies the color and alpha channels of the drawable with those of
4208                  the tint. [Sa * Da, Sc * Dc] -->
4209             <enum name="multiply" value="14" />
4210             <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4211             <enum name="screen" value="15" />
4212             <!-- Combines the tint and drawable color and alpha channels, clamping the
4213                  result to valid color values. Saturate(S + D) -->
4214             <enum name="add" value="16" />
4215         </attr>
4216         <!-- Tint to apply to the progress indicator background. -->
4217         <attr name="progressBackgroundTint" format="color" />
4218         <!-- Blending mode used to apply the progress indicator background tint. -->
4219         <attr name="progressBackgroundTintMode">
4220             <!-- The tint is drawn on top of the drawable.
4221                  [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4222             <enum name="src_over" value="3" />
4223             <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4224                  color channels are thrown out. [Sa * Da, Sc * Da] -->
4225             <enum name="src_in" value="5" />
4226             <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4227                  channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4228             <enum name="src_atop" value="9" />
4229             <!-- Multiplies the color and alpha channels of the drawable with those of
4230                  the tint. [Sa * Da, Sc * Dc] -->
4231             <enum name="multiply" value="14" />
4232             <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4233             <enum name="screen" value="15" />
4234             <!-- Combines the tint and drawable color and alpha channels, clamping the
4235                  result to valid color values. Saturate(S + D) -->
4236             <enum name="add" value="16" />
4237         </attr>
4238         <!-- Tint to apply to the secondary progress indicator. -->
4239         <attr name="secondaryProgressTint" format="color" />
4240         <!-- Blending mode used to apply the secondary progress indicator tint. -->
4241         <attr name="secondaryProgressTintMode">
4242             <!-- The tint is drawn on top of the drawable.
4243                  [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4244             <enum name="src_over" value="3" />
4245             <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4246                  color channels are thrown out. [Sa * Da, Sc * Da] -->
4247             <enum name="src_in" value="5" />
4248             <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4249                  channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4250             <enum name="src_atop" value="9" />
4251             <!-- Multiplies the color and alpha channels of the drawable with those of
4252                  the tint. [Sa * Da, Sc * Dc] -->
4253             <enum name="multiply" value="14" />
4254             <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4255             <enum name="screen" value="15" />
4256             <!-- Combines the tint and drawable color and alpha channels, clamping the
4257                  result to valid color values. Saturate(S + D) -->
4258             <enum name="add" value="16" />
4259         </attr>
4260         <!-- Tint to apply to the indeterminate progress indicator. -->
4261         <attr name="indeterminateTint" format="color" />
4262         <!-- Blending mode used to apply the indeterminate progress indicator tint. -->
4263         <attr name="indeterminateTintMode">
4264             <!-- The tint is drawn on top of the drawable.
4265                  [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4266             <enum name="src_over" value="3" />
4267             <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4268                  color channels are thrown out. [Sa * Da, Sc * Da] -->
4269             <enum name="src_in" value="5" />
4270             <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4271                  channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4272             <enum name="src_atop" value="9" />
4273             <!-- Multiplies the color and alpha channels of the drawable with those of
4274                  the tint. [Sa * Da, Sc * Dc] -->
4275             <enum name="multiply" value="14" />
4276             <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4277             <enum name="screen" value="15" />
4278             <!-- Combines the tint and drawable color and alpha channels, clamping the
4279                  result to valid color values. Saturate(S + D) -->
4280             <enum name="add" value="16" />
4281         </attr>
4282         <!-- Tint to apply to the background. -->
4283         <attr name="backgroundTint" />
4284         <!-- Blending mode used to apply the background tint. -->
4285         <attr name="backgroundTintMode" />
4286     </declare-styleable>
4288     <declare-styleable name="SeekBar">
4289         <!-- Draws the thumb on a seekbar. -->
4290         <attr name="thumb" format="reference" />
4291         <!-- An offset for the thumb that allows it to extend out of the range of the track. -->
4292         <attr name="thumbOffset" format="dimension" />
4293         <!-- Whether to split the track and leave a gap for the thumb drawable. -->
4294         <attr name="splitTrack" format="boolean" />
4295         <!-- Whether to force the track's alpha to ?android:attr/disabledAlpha
4296              when disabled. This is required for Holo and Gingerbread, but
4297              should always be false for Material and  beyond.
4298              @hide Developers shouldn't need to change this. -->
4299         <attr name="useDisabledAlpha" format="boolean" />
4300         <!-- Tint to apply to the thumb drawable. -->
4301         <attr name="thumbTint" format="color" />
4302         <!-- Blending mode used to apply the thumb tint. -->
4303         <attr name="thumbTintMode">
4304             <!-- The tint is drawn on top of the drawable.
4305                  [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4306             <enum name="src_over" value="3" />
4307             <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4308                  color channels are thrown out. [Sa * Da, Sc * Da] -->
4309             <enum name="src_in" value="5" />
4310             <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4311                  channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4312             <enum name="src_atop" value="9" />
4313             <!-- Multiplies the color and alpha channels of the drawable with those of
4314                  the tint. [Sa * Da, Sc * Dc] -->
4315             <enum name="multiply" value="14" />
4316             <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4317             <enum name="screen" value="15" />
4318             <!-- Combines the tint and drawable color and alpha channels, clamping the
4319                  result to valid color values. Saturate(S + D) -->
4320             <enum name="add" value="16" />
4321         </attr>
4322         <!-- Drawable displayed at each progress position on a seekbar. -->
4323         <attr name="tickMark" format="reference" />
4324         <!-- Tint to apply to the tick mark drawable. -->
4325         <attr name="tickMarkTint" format="color" />
4326         <!-- Blending mode used to apply the tick mark tint. -->
4327         <attr name="tickMarkTintMode">
4328             <!-- The tint is drawn on top of the drawable.
4329                  [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4330             <enum name="src_over" value="3" />
4331             <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4332                  color channels are thrown out. [Sa * Da, Sc * Da] -->
4333             <enum name="src_in" value="5" />
4334             <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4335                  channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4336             <enum name="src_atop" value="9" />
4337             <!-- Multiplies the color and alpha channels of the drawable with those of
4338                  the tint. [Sa * Da, Sc * Dc] -->
4339             <enum name="multiply" value="14" />
4340             <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4341             <enum name="screen" value="15" />
4342             <!-- Combines the tint and drawable color and alpha channels, clamping the
4343                  result to valid color values. Saturate(S + D) -->
4344             <enum name="add" value="16" />
4345         </attr>
4346     </declare-styleable>
4348     <declare-styleable name="StackView">
4349         <!-- Color of the res-out outline. -->
4350         <attr name="resOutColor" format="color" />
4351         <!-- Color of the outline of click feedback. -->
4352         <attr name="clickColor" format="color" />
4353     </declare-styleable>
4355     <declare-styleable name="RatingBar">
4356         <!-- The number of stars (or rating items) to show. -->
4357         <attr name="numStars" format="integer" />
4358         <!-- The rating to set by default. -->
4359         <attr name="rating" format="float" />
4360         <!-- The step size of the rating. -->
4361         <attr name="stepSize" format="float" />
4362         <!-- Whether this rating bar is an indicator (and non-changeable by the user). -->
4363         <attr name="isIndicator" format="boolean" />
4364     </declare-styleable>
4366     <declare-styleable name="RadioGroup">
4367         <!-- The id of the child radio button that should be checked by default
4368              within this radio group. -->
4369         <attr name="checkedButton" format="integer" />
4370         <!-- Should the radio group be a column or a row?  Use "horizontal"
4371              for a row, "vertical" for a column.  The default is
4372              vertical. -->
4373         <attr name="orientation" />
4374     </declare-styleable>
4375     <declare-styleable name="TableLayout">
4376         <!-- The zero-based index of the columns to stretch. The column indices
4377              must be separated by a comma: 1, 2, 5. Illegal and duplicate
4378              indices are ignored. You can stretch all columns by using the
4379              value "*" instead. Note that a column can be marked stretchable
4380              and shrinkable at the same time. -->
4381         <attr name="stretchColumns" format="string" />
4382        <!-- The zero-based index of the columns to shrink. The column indices
4383              must be separated by a comma: 1, 2, 5. Illegal and duplicate
4384              indices are ignored. You can shrink all columns by using the
4385              value "*" instead. Note that a column can be marked stretchable
4386              and shrinkable at the same time. -->
4387         <attr name="shrinkColumns" format="string" />
4388         <!-- The zero-based index of the columns to collapse. The column indices
4389              must be separated by a comma: 1, 2, 5. Illegal and duplicate
4390              indices are ignored. -->
4391         <attr name="collapseColumns" format="string" />
4392     </declare-styleable>
4393     <declare-styleable name="TableRow">
4395     </declare-styleable>
4396     <declare-styleable name="TableRow_Cell">
4397         <!-- The index of the column in which this child should be. -->
4398         <attr name="layout_column" format="integer" />
4399         <!-- Defines how many columns this child should span.  Must be >= 1.-->
4400         <attr name="layout_span" format="integer" />
4401     </declare-styleable>
4402     <declare-styleable name="TabWidget">
4403         <!-- Drawable used to draw the divider between tabs. -->
4404         <attr name="divider" />
4405         <!-- Determines whether the strip under the tab indicators is drawn or not. -->
4406         <attr name="tabStripEnabled" format="boolean" />
4407         <!-- Drawable used to draw the left part of the strip underneath the tabs. -->
4408         <attr name="tabStripLeft" format="reference" />
4409         <!-- Drawable used to draw the right part of the strip underneath the tabs. -->
4410         <attr name="tabStripRight" format="reference" />
4411         <!-- Layout used to organize each tab's content. -->
4412         <attr name="tabLayout" format="reference" />
4413     </declare-styleable>
4414     <declare-styleable name="TextAppearance">
4415         <!-- Text color. -->
4416         <attr name="textColor" />
4417         <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
4418         <attr name="textSize" />
4419         <!-- Style (bold, italic, bolditalic) for the text. -->
4420         <attr name="textStyle" />
4421         <!-- Typeface (normal, sans, serif, monospace) for the text. -->
4422         <attr name="typeface" />
4423         <!-- Font family (named by string) for the text. -->
4424         <attr name="fontFamily" />
4425         <!-- Color of the text selection highlight. -->
4426         <attr name="textColorHighlight" />
4427         <!-- Color of the hint text. -->
4428         <attr name="textColorHint" />
4429         <!-- Color of the links. -->
4430         <attr name="textColorLink" />
4431         <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
4432         <attr name="textAllCaps" format="boolean" />
4433         <!-- Place a blurred shadow of text underneath the text, drawn with the
4434              specified color. The text shadow produced does not interact with
4435              properties on View that are responsible for real time shadows,
4436              {@link android.R.styleable#View_elevation elevation} and
4437              {@link android.R.styleable#View_translationZ translationZ}. -->
4438         <attr name="shadowColor" format="color" />
4439         <!-- Horizontal offset of the text shadow. -->
4440         <attr name="shadowDx" format="float" />
4441         <!-- Vertical offset of the text shadow. -->
4442         <attr name="shadowDy" format="float" />
4443         <!-- Blur radius of the text shadow. -->
4444         <attr name="shadowRadius" format="float" />
4445         <!-- Elegant text height, especially for less compacted complex script text. -->
4446         <attr name="elegantTextHeight" format="boolean" />
4447         <!-- Text letter-spacing. -->
4448         <attr name="letterSpacing" format="float" />
4449         <!-- Font feature settings. -->
4450         <attr name="fontFeatureSettings" format="string" />
4451     </declare-styleable>
4452     <declare-styleable name="TextClock">
4453         <!-- Specifies the formatting pattern used to show the time and/or date
4454              in 12-hour mode. Please refer to {@link android.text.format.DateFormat}
4455              for a complete description of accepted formatting patterns.
4456              The default pattern is a locale-appropriate equivalent of "h:mm a". -->
4457         <attr name="format12Hour" format="string"/>
4458         <!-- Specifies the formatting pattern used to show the time and/or date
4459              in 24-hour mode. Please refer to {@link android.text.format.DateFormat}
4460              for a complete description of accepted formatting patterns.
4461              The default pattern is a locale-appropriate equivalent of "H:mm". -->
4462         <attr name="format24Hour" format="string"/>
4463         <!-- Specifies the time zone to use. When this attribute is specified, the
4464              TextClock will ignore the time zone of the system. To use the user's
4465              time zone, do not specify this attribute. The default value is the
4466              user's time zone. Please refer to {@link java.util.TimeZone} for more
4467              information about time zone ids. -->
4468         <attr name="timeZone" format="string"/>
4469     </declare-styleable>
4470     <declare-styleable name="TextSwitcher">
4471     </declare-styleable>
4472     <declare-styleable name="TextView">
4473         <!-- Determines the minimum type that getText() will return.
4474              The default is "normal".
4475              Note that EditText and LogTextBox always return Editable,
4476              even if you specify something less powerful here. -->
4477         <attr name="bufferType">
4478             <!-- Can return any CharSequence, possibly a
4479              Spanned one if the source text was Spanned. -->
4480             <enum name="normal" value="0" />
4481             <!-- Can only return Spannable. -->
4482             <enum name="spannable" value="1" />
4483             <!-- Can only return Spannable and Editable. -->
4484             <enum name="editable" value="2" />
4485         </attr>
4486         <!-- Text to display. -->
4487         <attr name="text" format="string" localization="suggested" />
4488         <!-- Hint text to display when the text is empty. -->
4489         <attr name="hint" format="string" />
4490         <!-- Text color. -->
4491         <attr name="textColor" />
4492         <!-- Color of the text selection highlight. -->
4493         <attr name="textColorHighlight" />
4494         <!-- Color of the hint text. -->
4495         <attr name="textColorHint" />
4496         <!-- Base text color, typeface, size, and style. -->
4497         <attr name="textAppearance" />
4498         <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
4499         <attr name="textSize" />
4500         <!-- Sets the horizontal scaling factor for the text. -->
4501         <attr name="textScaleX" format="float" />
4502         <!-- Typeface (normal, sans, serif, monospace) for the text. -->
4503         <attr name="typeface" />
4504         <!-- Style (bold, italic, bolditalic) for the text. -->
4505         <attr name="textStyle" />
4506         <!-- Font family (named by string) for the text. -->
4507         <attr name="fontFamily" />
4508         <!-- Text color for links. -->
4509         <attr name="textColorLink" />
4510         <!-- Makes the cursor visible (the default) or invisible. -->
4511         <attr name="cursorVisible" format="boolean" />
4512         <!-- Makes the TextView be at most this many lines tall.
4514         When used on an editable text, the <code>inputType</code> attribute's value must be
4515         combined with the <code>textMultiLine</code> flag for the maxLines attribute to apply. -->
4516         <attr name="maxLines" format="integer" min="0" />
4517         <!-- Makes the TextView be at most this many pixels tall. -->
4518         <attr name="maxHeight" />
4519         <!-- Makes the TextView be exactly this many lines tall. -->
4520         <attr name="lines" format="integer" min="0" />
4521         <!-- Makes the TextView be exactly this many pixels tall.
4522              You could get the same effect by specifying this number in the
4523              layout parameters. -->
4524         <attr name="height" format="dimension" />
4525         <!-- Makes the TextView be at least this many lines tall.
4527         When used on an editable text, the <code>inputType</code> attribute's value must be
4528         combined with the <code>textMultiLine</code> flag for the minLines attribute to apply. -->
4529         <attr name="minLines" format="integer" min="0" />
4530         <!-- Makes the TextView be at least this many pixels tall. -->
4531         <attr name="minHeight" />
4532         <!-- Makes the TextView be at most this many ems wide. -->
4533         <attr name="maxEms" format="integer" min="0" />
4534         <!-- Makes the TextView be at most this many pixels wide. -->
4535         <attr name="maxWidth" />
4536         <!-- Makes the TextView be exactly this many ems wide. -->
4537         <attr name="ems" format="integer" min="0" />
4538         <!-- Makes the TextView be exactly this many pixels wide.
4539              You could get the same effect by specifying this number in the
4540              layout parameters. -->
4541         <attr name="width" format="dimension" />
4542         <!-- Makes the TextView be at least this many ems wide. -->
4543         <attr name="minEms" format="integer" min="0" />
4544         <!-- Makes the TextView be at least this many pixels wide. -->
4545         <attr name="minWidth" />
4546         <!-- Specifies how to align the text by the view's x- and/or y-axis
4547              when the text is smaller than the view. -->
4548         <attr name="gravity" />
4549         <!-- Whether the text is allowed to be wider than the view (and
4550              therefore can be scrolled horizontally). -->
4551         <attr name="scrollHorizontally" format="boolean" />
4552         <!-- Whether the characters of the field are displayed as
4553              password dots instead of themselves.
4554              {@deprecated Use inputType instead.} -->
4555         <attr name="password" format="boolean" />
4556         <!-- Constrains the text to a single horizontally scrolling line
4557              instead of letting it wrap onto multiple lines, and advances
4558              focus instead of inserting a newline when you press the
4559              enter key.
4561              The default value is false (multi-line wrapped text mode) for non-editable text, but if
4562              you specify any value for inputType, the default is true (single-line input field mode).
4564              {@deprecated This attribute is deprecated. Use <code>maxLines</code> instead to change
4565              the layout of a static text, and use the <code>textMultiLine</code> flag in the
4566              inputType attribute instead for editable text views (if both singleLine and inputType
4567              are supplied, the inputType flags will override the value of singleLine). } -->
4568         <attr name="singleLine" format="boolean" />
4569         <!-- Specifies whether the widget is enabled. The interpretation of the enabled state varies by subclass.
4570              For example, a non-enabled EditText prevents the user from editing the contained text, and
4571              a non-enabled Button prevents the user from tapping the button.
4572              The appearance of enabled and non-enabled widgets may differ, if the drawables referenced
4573              from evaluating state_enabled differ. -->
4574         <attr name="enabled" format="boolean" />
4575         <!-- If the text is selectable, select it all when the view takes
4576              focus. -->
4577         <attr name="selectAllOnFocus" format="boolean" />
4578         <!-- Leave enough room for ascenders and descenders instead of
4579              using the font ascent and descent strictly.  (Normally true). -->
4580         <attr name="includeFontPadding" format="boolean" />
4581         <!-- Set an input filter to constrain the text length to the
4582              specified number. -->
4583         <attr name="maxLength" format="integer" min="0" />
4584         <!-- Place a blurred shadow of text underneath the text, drawn with the
4585              specified color. The text shadow produced does not interact with
4586              properties on View that are responsible for real time shadows,
4587              {@link android.R.styleable#View_elevation elevation} and
4588              {@link android.R.styleable#View_translationZ translationZ}. -->
4589         <attr name="shadowColor" />
4590         <!-- Horizontal offset of the text shadow. -->
4591         <attr name="shadowDx" />
4592         <!-- Vertical offset of the text shadow. -->
4593         <attr name="shadowDy" />
4594         <!-- Blur radius of the text shadow. -->
4595         <attr name="shadowRadius" />
4596         <attr name="autoLink" />
4597         <!-- If set to false, keeps the movement method from being set
4598              to the link movement method even if autoLink causes links
4599              to be found. -->
4600         <attr name="linksClickable" format="boolean" />
4601         <!-- If set, specifies that this TextView has a numeric input method.
4602              The default is false.
4603              {@deprecated Use inputType instead.} -->
4604         <attr name="numeric">
4605             <!-- Input is numeric. -->
4606             <flag name="integer" value="0x01" />
4607             <!-- Input is numeric, with sign allowed. -->
4608             <flag name="signed" value="0x03" />
4609             <!-- Input is numeric, with decimals allowed. -->
4610             <flag name="decimal" value="0x05" />
4611         </attr>
4612         <!-- If set, specifies that this TextView has a numeric input method
4613              and that these specific characters are the ones that it will
4614              accept.
4615              If this is set, numeric is implied to be true.
4616              The default is false. -->
4617         <attr name="digits" format="string" />
4618         <!-- If set, specifies that this TextView has a phone number input
4619              method. The default is false.
4620              {@deprecated Use inputType instead.} -->
4621         <attr name="phoneNumber" format="boolean" />
4622         <!-- If set, specifies that this TextView should use the specified
4623              input method (specified by fully-qualified class name).
4624              {@deprecated Use inputType instead.} -->
4625         <attr name="inputMethod" format="string" />
4626         <!-- If set, specifies that this TextView has a textual input method
4627              and should automatically capitalize what the user types.
4628              The default is "none".
4629              {@deprecated Use inputType instead.} -->
4630         <attr name="capitalize">
4631             <!-- Don't automatically capitalize anything. -->
4632             <enum name="none" value="0" />
4633             <!-- Capitalize the first word of each sentence. -->
4634             <enum name="sentences" value="1" />
4635             <!-- Capitalize the first letter of every word. -->
4636             <enum name="words" value="2" />
4637             <!-- Capitalize every character. -->
4638             <enum name="characters" value="3" />
4639         </attr>
4640         <!-- If set, specifies that this TextView has a textual input method
4641              and automatically corrects some common spelling errors.
4642              The default is "false".
4643              {@deprecated Use inputType instead.} -->
4644         <attr name="autoText" format="boolean" />
4645         <!-- If set, specifies that this TextView has an input method.
4646              It will be a textual one unless it has otherwise been specified.
4647              For TextView, this is false by default.  For EditText, it is
4648              true by default.
4649              {@deprecated Use inputType instead.} -->
4650         <attr name="editable" format="boolean" />
4651         <!-- If set, the text view will include its current complete text
4652              inside of its frozen icicle in addition to meta-data such as
4653              the current cursor position.  By default this is disabled;
4654              it can be useful when the contents of a text view is not stored
4655              in a persistent place such as a content provider. For
4656              {@link android.widget.EditText} it is always enabled, regardless
4657              of the value of the attribute. -->
4658         <attr name="freezesText" format="boolean" />
4659         <!-- If set, causes words that are longer than the view is wide
4660              to be ellipsized instead of broken in the middle.
4661              You will often also want to set scrollHorizontally or singleLine
4662              as well so that the text as a whole is also constrained to
4663              a single line instead of still allowed to be broken onto
4664              multiple lines. -->
4665         <attr name="ellipsize" />
4666         <!-- The drawable to be drawn above the text. -->
4667         <attr name="drawableTop" format="reference|color" />
4668         <!-- The drawable to be drawn below the text. -->
4669         <attr name="drawableBottom" format="reference|color" />
4670         <!-- The drawable to be drawn to the left of the text. -->
4671         <attr name="drawableLeft" format="reference|color" />
4672         <!-- The drawable to be drawn to the right of the text. -->
4673         <attr name="drawableRight" format="reference|color" />
4674         <!-- The drawable to be drawn to the start of the text. -->
4675         <attr name="drawableStart" format="reference|color" />
4676         <!-- The drawable to be drawn to the end of the text. -->
4677         <attr name="drawableEnd" format="reference|color" />
4678         <!-- The padding between the drawables and the text. -->
4679         <attr name="drawablePadding" format="dimension" />
4680         <!-- Tint to apply to the compound (left, top, etc.) drawables. -->
4681         <attr name="drawableTint" format="color" />
4682         <!-- Blending mode used to apply the compound (left, top, etc.) drawables tint. -->
4683         <attr name="drawableTintMode">
4684             <!-- The tint is drawn on top of the drawable.
4685                  [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4686             <enum name="src_over" value="3" />
4687             <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4688                  color channels are thrown out. [Sa * Da, Sc * Da] -->
4689             <enum name="src_in" value="5" />
4690             <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4691                  channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4692             <enum name="src_atop" value="9" />
4693             <!-- Multiplies the color and alpha channels of the drawable with those of
4694                  the tint. [Sa * Da, Sc * Dc] -->
4695             <enum name="multiply" value="14" />
4696             <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4697             <enum name="screen" value="15" />
4698             <!-- Combines the tint and drawable color and alpha channels, clamping the
4699                  result to valid color values. Saturate(S + D) -->
4700             <enum name="add" value="16" />
4701         </attr>
4702         <!-- Extra spacing between lines of text. -->
4703         <attr name="lineSpacingExtra" format="dimension" />
4704         <!-- Extra spacing between lines of text, as a multiplier. -->
4705         <attr name="lineSpacingMultiplier" format="float" />
4706         <!-- The number of times to repeat the marquee animation. Only applied if the
4707              TextView has marquee enabled. -->
4708         <attr name="marqueeRepeatLimit" format="integer">
4709             <!-- Indicates that marquee should repeat indefinitely. -->
4710             <enum name="marquee_forever" value="-1" />
4711         </attr>
4712         <attr name="inputType" />
4713         <!-- Whether undo should be allowed for editable text. Defaults to true. -->
4714         <attr name="allowUndo" format="boolean" />
4715         <attr name="imeOptions" />
4716         <!-- An addition content type description to supply to the input
4717              method attached to the text view, which is private to the
4718              implementation of the input method.  This simply fills in
4719              the {@link android.view.inputmethod.EditorInfo#privateImeOptions
4720              EditorInfo.privateImeOptions} field when the input
4721              method is connected. -->
4722         <attr name="privateImeOptions" format="string" />
4723         <!-- Supply a value for
4724              {@link android.view.inputmethod.EditorInfo#actionLabel EditorInfo.actionLabel}
4725              used when an input method is connected to the text view. -->
4726         <attr name="imeActionLabel" format="string" />
4727         <!-- Supply a value for
4728              {@link android.view.inputmethod.EditorInfo#actionId EditorInfo.actionId}
4729              used when an input method is connected to the text view. -->
4730         <attr name="imeActionId" format="integer" />
4731         <!-- Reference to an
4732              {@link android.R.styleable#InputExtras &lt;input-extras&gt;}
4733              XML resource containing additional data to
4734              supply to an input method, which is private to the implementation
4735              of the input method.  This simply fills in
4736              the {@link android.view.inputmethod.EditorInfo#extras
4737              EditorInfo.extras} field when the input
4738              method is connected. -->
4739         <attr name="editorExtras" format="reference" />
4741         <!-- Reference to a drawable that will be used to display a text selection
4742              anchor on the left side of a selection region. -->
4743         <attr name="textSelectHandleLeft" />
4744         <!-- Reference to a drawable that will be used to display a text selection
4745              anchor on the right side of a selection region. -->
4746         <attr name="textSelectHandleRight" />
4747         <!-- Reference to a drawable that will be used to display a text selection
4748              anchor for positioning the cursor within text. -->
4749         <attr name="textSelectHandle" />
4750         <!-- The layout of the view that is displayed on top of the cursor to paste inside a
4751              TextEdit field. -->
4752         <attr name="textEditPasteWindowLayout" />
4753         <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. -->
4754         <attr name="textEditNoPasteWindowLayout" />
4755         <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the
4756              insertion cursor because it would be clipped if it were positioned on top. -->
4757         <attr name="textEditSidePasteWindowLayout" />
4758         <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. -->
4759         <attr name="textEditSideNoPasteWindowLayout" />
4761         <!-- Layout of the TextView item that will populate the suggestion popup window. -->
4762         <attr name="textEditSuggestionItemLayout" />
4763         <!-- Layout of the container of the suggestion popup window. -->
4764         <attr name="textEditSuggestionContainerLayout" />
4765         <!-- Style of the highlighted string in the suggestion popup window. -->
4766         <attr name="textEditSuggestionHighlightStyle" />
4769         <!-- Reference to a drawable that will be drawn under the insertion cursor. -->
4770         <attr name="textCursorDrawable" />
4772         <!-- Indicates that the content of a non-editable text can be selected. -->
4773         <attr name="textIsSelectable" />
4774         <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
4775         <attr name="textAllCaps" />
4776         <!-- Elegant text height, especially for less compacted complex script text. -->
4777         <attr name="elegantTextHeight" />
4778         <!-- Text letter-spacing. -->
4779         <attr name="letterSpacing" />
4780         <!-- Font feature settings. -->
4781         <attr name="fontFeatureSettings" />
4782         <!-- Break strategy (control over paragraph layout). -->
4783         <attr name="breakStrategy">
4784             <!-- Line breaking uses simple strategy. -->
4785             <enum name="simple" value="0" />
4786             <!-- Line breaking uses high-quality strategy, including hyphenation. -->
4787             <enum name="high_quality" value="1" />
4788             <!-- Line breaking strategy balances line lengths. -->
4789             <enum name="balanced" value="2" />
4790         </attr>
4791         <!-- Frequency of automatic hyphenation. -->
4792         <attr name="hyphenationFrequency">
4793             <!-- No hyphenation. -->
4794             <enum name="none" value="0" />
4795             <!-- Less frequent hyphenation, useful for informal use cases, such
4796             as chat messages. -->
4797             <enum name="normal" value="1" />
4798             <!-- Standard amount of hyphenation, useful for running text and for
4799             screens with limited space for text. -->
4800             <enum name="full" value="2" />
4801         </attr>
4802         <!-- Specify the type of auto-size. Note that this feature is not supported by EditText,
4803         works only for TextView. -->
4804         <attr name="autoSizeTextType" format="enum">
4805             <!-- No auto-sizing (default). -->
4806             <enum name="none" value="0" />
4807             <!-- Uniform horizontal and vertical text size scaling to fit within the
4808             container. -->
4809             <enum name="uniform" value="1" />
4810         </attr>
4811         <!-- Specify the auto-size step size if <code>autoSizeTextType</code> is set to
4812         <code>uniform</code>. The default is 1px. Overwrites
4813         <code>autoSizePresetSizes</code> if set. -->
4814         <attr name="autoSizeStepGranularity" format="dimension" />
4815         <!-- Resource array of dimensions to be used in conjunction with
4816         <code>autoSizeTextType</code> set to <code>uniform</code>. Overrides
4817         <code>autoSizeStepGranularity</code> if set. -->
4818         <attr name="autoSizePresetSizes"/>
4819         <!-- The minimum text size constraint to be used when auto-sizing text. -->
4820         <attr name="autoSizeMinTextSize" format="dimension" />
4821         <!-- The maximum text size constraint to be used when auto-sizing text. -->
4822         <attr name="autoSizeMaxTextSize" format="dimension" />
4823         <!-- Mode for justification. -->
4824         <attr name="justificationMode">
4825             <!-- No justification. -->
4826             <enum name="none" value="0" />
4827             <!-- Justification by stretching word spacing. -->
4828             <enum name="inter_word" value = "1" />
4829         </attr>
4830     </declare-styleable>
4831     <declare-styleable name="TextViewAppearance">
4832         <!-- Base text color, typeface, size, and style. -->
4833         <attr name="textAppearance" />
4834     </declare-styleable>
4835     <declare-styleable name="SelectionModeDrawables">
4836         <attr name="actionModeSelectAllDrawable" />
4837         <attr name="actionModeCutDrawable" />
4838         <attr name="actionModeCopyDrawable" />
4839         <attr name="actionModePasteDrawable" />
4840     </declare-styleable>
4841     <declare-styleable name="SuggestionSpan">
4842         <attr name="textUnderlineColor" />
4843         <attr name="textUnderlineThickness" />
4844     </declare-styleable>
4845     <!-- An <code>input-extras</code> is a container for extra data to supply to
4846          an input method.  Contains
4847          one more more {@link #Extra <extra>} tags.  -->
4848     <declare-styleable name="InputExtras">
4849     </declare-styleable>
4850     <declare-styleable name="AutoCompleteTextView">
4851         <!-- Defines the hint displayed in the drop down menu. -->
4852         <attr name="completionHint" format="string" />
4853         <!-- Defines the hint view displayed in the drop down menu. -->
4854         <attr name="completionHintView" format="reference" />
4855         <!-- Defines the number of characters that the user must type before
4856          completion suggestions are displayed in a drop down menu. -->
4857         <attr name="completionThreshold" format="integer" min="1" />
4858         <!-- Selector in a drop down list. -->
4859         <attr name="dropDownSelector" format="reference|color" />
4860         <!-- View to anchor the auto-complete dropdown to. If not specified, the text view itself
4861              is used. -->
4862         <attr name="dropDownAnchor" format="reference" />
4863         <!-- Specifies the basic width of the dropdown. Its value may
4864              be a dimension (such as "12dip") for a constant width,
4865              fill_parent or match_parent to match the width of the
4866              screen, or wrap_content to match the width of
4867              the anchored view. -->
4868         <attr name="dropDownWidth" format="dimension">
4869             <!-- The dropdown should fill the width of the screen.
4870                  This constant is deprecated starting from API Level 8 and
4871                  is replaced by {@code match_parent}. -->
4872             <enum name="fill_parent" value="-1" />
4873             <!-- The dropdown should fit the width of the screen.
4874                  Introduced in API Level 8. -->
4875             <enum name="match_parent" value="-1" />
4876             <!-- The dropdown should fit the width of its anchor. -->
4877             <enum name="wrap_content" value="-2" />
4878         </attr>
4879         <!-- Specifies the basic height of the dropdown. Its value may
4880              be a dimension (such as "12dip") for a constant height,
4881              fill_parent or match_parent to fill the height of the
4882              screen, or wrap_content to match the height of
4883              the content of the drop down. -->
4884         <attr name="dropDownHeight" format="dimension">
4885             <!-- The dropdown should fit the height of the screen.
4886                  This constant is deprecated starting from API Level 8 and
4887                  is replaced by {@code match_parent}. -->
4888             <enum name="fill_parent" value="-1" />
4889             <!-- The dropdown should fit the height of the screen.
4890                  Introduced in API Level 8. -->
4891             <enum name="match_parent" value="-1" />
4892             <!-- The dropdown should fit the height of the content. -->
4893             <enum name="wrap_content" value="-2" />
4894         </attr>
4895         <attr name="inputType" />
4896         <!-- Theme to use for the completion popup window. -->
4897         <attr name="popupTheme" />
4898     </declare-styleable>
4899     <declare-styleable name="PopupWindow">
4900         <!-- The background to use for the popup window. -->
4901         <attr name="popupBackground" format="reference|color" />
4902         <!-- Window elevation to use for the popup window. -->
4903         <attr name="popupElevation" format="dimension" />
4904         <!-- The animation style to use for the popup window. -->
4905         <attr name="popupAnimationStyle" format="reference" />
4906         <!-- Whether the popup window should overlap its anchor view. -->
4907         <attr name="overlapAnchor" format="boolean" />
4908         <!-- Transition used to move views into the popup window. -->
4909         <attr name="popupEnterTransition" format="reference" />
4910         <!-- Transition used to move views out of the popup window. -->
4911         <attr name="popupExitTransition" format="reference" />
4912     </declare-styleable>
4913     <declare-styleable name="ListPopupWindow">
4914         <!-- Amount of pixels by which the drop down should be offset vertically. -->
4915         <attr name="dropDownVerticalOffset" format="dimension" />
4916         <!-- Amount of pixels by which the drop down should be offset horizontally. -->
4917         <attr name="dropDownHorizontalOffset" format="dimension" />
4918     </declare-styleable>
4919     <declare-styleable name="ViewAnimator">
4920         <!-- Identifier for the animation to use when a view is shown. -->
4921         <attr name="inAnimation" format="reference" />
4922         <!-- Identifier for the animation to use when a view is hidden. -->
4923         <attr name="outAnimation" format="reference" />
4924         <!-- Defines whether to animate the current View when the ViewAnimation
4925              is first displayed. -->
4926         <attr name="animateFirstView" format="boolean" />
4927     </declare-styleable>
4928     <declare-styleable name="ViewFlipper">
4929         <attr name="flipInterval" format="integer" min="0" />
4930         <!-- When true, automatically start animating. -->
4931         <attr name="autoStart" format="boolean" />
4932     </declare-styleable>
4933     <declare-styleable name="AdapterViewAnimator">
4934         <!-- Identifier for the animation to use when a view is shown. -->
4935         <attr name="inAnimation" />
4936         <!-- Identifier for the animation to use when a view is hidden. -->
4937         <attr name="outAnimation" />
4938         <!--Defines whether the animator loops to the first view once it
4939         has reached the end of the list. -->
4940         <attr name="loopViews" format="boolean" />
4941         <!-- Defines whether to animate the current View when the ViewAnimation
4942         is first displayed. -->
4943         <attr name="animateFirstView" />
4944     </declare-styleable>
4945     <declare-styleable name="AdapterViewFlipper">
4946         <attr name="flipInterval" />
4947         <!-- When true, automatically start animating. -->
4948         <attr name="autoStart" />
4949     </declare-styleable>
4950     <declare-styleable name="ViewSwitcher">
4951     </declare-styleable>
4952     <declare-styleable name="ScrollView">
4953         <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
4954         <attr name="fillViewport" format="boolean" />
4955     </declare-styleable>
4956     <declare-styleable name="HorizontalScrollView">
4957         <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
4958         <attr name="fillViewport" />
4959     </declare-styleable>
4960     <declare-styleable name="Spinner">
4961         <!-- The prompt to display when the spinner's dialog is shown. -->
4962         <attr name="prompt" format="reference" />
4963         <!-- Display mode for spinner options. -->
4964         <attr name="spinnerMode" format="enum">
4965             <!-- Spinner options will be presented to the user as a dialog window. -->
4966             <enum name="dialog" value="0" />
4967             <!-- Spinner options will be presented to the user as an inline dropdown
4968                  anchored to the spinner widget itself. -->
4969             <enum name="dropdown" value="1" />
4970         </attr>
4971         <!-- List selector to use for spinnerMode="dropdown" display. -->
4972         <attr name="dropDownSelector" />
4973         <!-- Theme to use for the drop-down or dialog popup window. -->
4974         <attr name="popupTheme" />
4975         <!-- Background drawable to use for the dropdown in spinnerMode="dropdown". -->
4976         <attr name="popupBackground" />
4977         <!-- Window elevation to use for the dropdown in spinnerMode="dropdown". -->
4978         <attr name="popupElevation" />
4979         <!-- Width of the dropdown in spinnerMode="dropdown". -->
4980         <attr name="dropDownWidth" />
4981         <!-- Reference to a layout to use for displaying a prompt in the dropdown for
4982              spinnerMode="dropdown". This layout must contain a TextView with the id
4983              {@code @android:id/text1} to be populated with the prompt text. -->
4984         <attr name="popupPromptView" format="reference" />
4985         <!-- Gravity setting for positioning the currently selected item. -->
4986         <attr name="gravity" />
4987         <!-- Whether this spinner should mark child views as enabled/disabled when
4988              the spinner itself is enabled/disabled. -->
4989         <attr name="disableChildrenWhenDisabled" format="boolean" />
4990     </declare-styleable>
4992     <declare-styleable name="DatePicker">
4993         <!-- The first day of week according to {@link java.util.Calendar}. -->
4994         <attr name="firstDayOfWeek" />
4995         <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
4996         <attr name="minDate" format="string" />
4997         <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. -->
4998         <attr name="maxDate" format="string" />
5000         <!-- Whether the spinners are shown. Only valid for "spinner" mode. -->
5001         <attr name="spinnersShown" format="boolean" />
5002         <!-- Whether the calendar view is shown. Only valid for "spinner" mode. -->
5003         <attr name="calendarViewShown" format="boolean" />
5005         <!-- @hide The layout of the date picker. -->
5006         <attr name="internalLayout" format="reference"  />
5007         <!-- @hide The layout of the legacy DatePicker. -->
5008         <attr name="legacyLayout" />
5010         <!-- The text color for the selected date header text, ex. "2014" or
5011              "Tue, Mar 18". This should be a color state list where the
5012              activated state will be used when the year picker or day picker is
5013              active.-->
5014         <attr name="headerTextColor" format="color" />
5015         <!-- The background for the selected date header. -->
5016         <attr name="headerBackground" />
5018         <!-- The list year's text appearance in the list.
5019              {@deprecated Use yearListTextColor. }-->
5020         <attr name="yearListItemTextAppearance" format="reference" />
5021         <!-- @hide The list year's text appearance in the list when activated. -->
5022         <attr name="yearListItemActivatedTextAppearance" format="reference" />
5023         <!-- The text color list of the calendar. -->
5024         <attr name="calendarTextColor" format="color" />
5026         <!-- Defines the look of the widget. Prior to the L release, the only choice was
5027              spinner. As of L, with the Material theme selected, the default layout is calendar,
5028              but this attribute can be used to force spinner to be used instead. -->
5029         <attr name="datePickerMode">
5030             <!-- Date picker with spinner controls to select the date. -->
5031             <enum name="spinner" value="1" />
5032             <!-- Date picker with calendar to select the date. -->
5033             <enum name="calendar" value="2" />
5034         </attr>
5036         <!-- The first year (inclusive), for example "1940".
5037              {@deprecated Use minDate instead.} -->
5038         <attr name="startYear" format="integer" />
5039         <!-- The last year (inclusive), for example "2010".
5040              {@deprecated Use maxDate instead.} -->
5041         <attr name="endYear" format="integer" />
5042         <!-- The text appearance for the month (ex. May) in the selected date header.
5043              {@deprecated Use headerTextColor instead.} -->
5044         <attr name="headerMonthTextAppearance" format="reference" />
5045         <!-- The text appearance for the day of month (ex. 28) in the selected date header.
5046              {@deprecated Use headerTextColor instead.} -->
5047         <attr name="headerDayOfMonthTextAppearance" format="reference" />
5048         <!-- The text appearance for the year (ex. 2014) in the selected date header.
5049              {@deprecated Use headerTextColor instead.} -->
5050         <attr name="headerYearTextAppearance" format="reference" />
5051         <!-- The background color for the header's day of week.
5052              {@deprecated No longer displayed.} -->
5053         <attr name="dayOfWeekBackground" format="color" />
5054         <!-- The text color for the header's day of week.
5055              {@deprecated No longer displayed.} -->
5056         <attr name="dayOfWeekTextAppearance" format="reference" />
5057         <!-- The list year's selected circle color in the list.
5058              {@deprecated No longer displayed.} -->
5059         <attr name="yearListSelectorColor" format="color" />
5061         <!-- @hide Whether this time picker is being displayed within a dialog,
5062              in which case it may ignore the requested time picker mode due to
5063              space considerations. -->
5064         <attr name="dialogMode" format="boolean" />
5065     </declare-styleable>
5067     <declare-styleable name="TwoLineListItem">
5068         <attr name="mode">
5069             <!-- Always show only the first line. -->
5070             <enum name="oneLine" value="1" />
5071             <!-- When selected show both lines, otherwise show only the first line.
5072                  This is the default mode. -->
5073             <enum name="collapsing" value="2" />
5074             <!-- Always show both lines. -->
5075             <enum name="twoLine" value="3" />
5076         </attr>
5077     </declare-styleable>
5079     <!-- SlidingDrawer specific attributes. These attributes are used to configure
5080          a SlidingDrawer from XML. -->
5081     <declare-styleable name="SlidingDrawer">
5082         <!-- Identifier for the child that represents the drawer's handle. -->
5083         <attr name="handle" format="reference" />
5084         <!-- Identifier for the child that represents the drawer's content. -->
5085         <attr name="content" format="reference" />
5086         <!-- Orientation of the SlidingDrawer. -->
5087         <attr name="orientation" />
5088         <!-- Extra offset for the handle at the bottom of the SlidingDrawer. -->
5089         <attr name="bottomOffset" format="dimension"  />
5090         <!-- Extra offset for the handle at the top of the SlidingDrawer. -->
5091         <attr name="topOffset" format="dimension"  />
5092         <!-- Indicates whether the drawer can be opened/closed by a single tap
5093              on the handle.  (If false, the user must drag or fling, or click
5094              using the trackball, to open/close the drawer.)  Default is true. -->
5095         <attr name="allowSingleTap" format="boolean" />
5096         <!-- Indicates whether the drawer should be opened/closed with an animation
5097              when the user clicks the handle. Default is true. -->
5098         <attr name="animateOnClick" format="boolean" />
5099     </declare-styleable>
5101     <!-- GestureOverlayView specific attributes. These attributes are used to configure
5102          a GestureOverlayView from XML. -->
5103     <declare-styleable name="GestureOverlayView">
5104         <!-- Width of the stroke used to draw the gesture. -->
5105         <attr name="gestureStrokeWidth" format="float" />
5106         <!-- Color used to draw a gesture. -->
5107         <attr name="gestureColor" format="color" />
5108         <!-- Color used to draw the user's strokes until we are sure it's a gesture. -->
5109         <attr name="uncertainGestureColor" format="color" />
5110         <!-- Time, in milliseconds, to wait before the gesture fades out after the user
5111              is done drawing it. -->
5112         <attr name="fadeOffset" format="integer" />
5113         <!-- Duration, in milliseconds, of the fade out effect after the user is done
5114              drawing a gesture. -->
5115         <attr name="fadeDuration" format="integer" />
5116         <!-- Defines the type of strokes that define a gesture. -->
5117         <attr name="gestureStrokeType">
5118             <!-- A gesture is made of only one stroke. -->
5119             <enum name="single" value="0" />
5120             <!-- A gesture is made of multiple strokes. -->
5121             <enum name="multiple" value="1" />
5122         </attr>
5123         <!-- Minimum length of a stroke before it is recognized as a gesture. -->
5124         <attr name="gestureStrokeLengthThreshold" format="float" />
5125         <!-- Squareness threshold of a stroke before it is recognized as a gesture. -->
5126         <attr name="gestureStrokeSquarenessThreshold" format="float" />
5127         <!-- Minimum curve angle a stroke must contain before it is recognized as a gesture. -->
5128         <attr name="gestureStrokeAngleThreshold" format="float" />
5129         <!-- Defines whether the overlay should intercept the motion events when a gesture
5130              is recognized. -->
5131         <attr name="eventsInterceptionEnabled" format="boolean" />
5132         <!-- Defines whether the gesture will automatically fade out after being recognized. -->
5133         <attr name="fadeEnabled" format="boolean" />
5134         <!-- Indicates whether horizontal (when the orientation is vertical) or vertical
5135              (when orientation is horizontal) strokes automatically define a gesture. -->
5136         <attr name="orientation" />
5137     </declare-styleable>
5139     <declare-styleable name="QuickContactBadge">
5140         <attr name="quickContactWindowSize">
5141             <enum name="modeSmall" value="1" />
5142             <enum name="modeMedium" value="2" />
5143             <enum name="modeLarge" value="3" />
5144         </attr>
5145     </declare-styleable>
5147     <!-- ======================================= -->
5148     <!-- Widget package parent layout attributes -->
5149     <!-- ======================================= -->
5150     <eat-comment />
5152     <declare-styleable name="AbsoluteLayout_Layout">
5153         <attr name="layout_x" format="dimension" />
5154         <attr name="layout_y" format="dimension" />
5155     </declare-styleable>
5156     <declare-styleable name="LinearLayout_Layout">
5157         <attr name="layout_width" />
5158         <attr name="layout_height" />
5159         <!-- Indicates how much of the extra space in the LinearLayout is
5160         allocated to the view associated with these LayoutParams. Specify
5161         0 if the view should not be stretched. Otherwise the extra pixels
5162         will be pro-rated among all views whose weight is greater than 0. -->
5163         <attr name="layout_weight" format="float" />
5164         <!-- Gravity specifies how a component should be placed in its group of cells.
5165         The default is {@link android.view.Gravity#TOP}.
5166         See {@link android.widget.LinearLayout#setGravity(int)}. -->
5167         <attr name="layout_gravity" />
5168     </declare-styleable>
5169     <declare-styleable name="GridLayout_Layout">
5170         <!-- The row boundary delimiting the top of the group of cells
5171         occupied by this view. -->
5172         <attr name="layout_row" format="integer" />
5173         <!-- The row span: the difference between the top and bottom
5174         boundaries delimiting the group of cells occupied by this view.
5175         The default is one.
5176         See {@link android.widget.GridLayout.Spec}. -->
5177         <attr name="layout_rowSpan" format="integer" min="1" />
5178         <!-- The relative proportion of vertical space that should be allocated to this view
5179         during excess space distribution. -->
5180         <attr name="layout_rowWeight" format="float" />
5181         <!-- The column boundary delimiting the left of the group of cells
5182         occupied by this view. -->
5183         <attr name="layout_column" />
5184         <!-- The column span: the difference between the right and left
5185         boundaries delimiting the group of cells occupied by this view.
5186         The default is one.
5187         See {@link android.widget.GridLayout.Spec}. -->
5188         <attr name="layout_columnSpan" format="integer" min="1" />
5189         <!-- The relative proportion of horizontal space that should be allocated to this view
5190         during excess space distribution. -->
5191         <attr name="layout_columnWeight" format="float" />
5192         <!-- Gravity specifies how a component should be placed in its group of cells.
5193         The default is LEFT | BASELINE.
5194         See {@link android.widget.GridLayout.LayoutParams#setGravity(int)}. -->
5195         <attr name="layout_gravity" />
5196     </declare-styleable>
5197     <declare-styleable name="FrameLayout_Layout">
5198         <attr name="layout_gravity" />
5199     </declare-styleable>
5200     <declare-styleable name="RelativeLayout_Layout">
5201         <!-- Positions the right edge of this view to the left of the given anchor view ID.
5202              Accommodates right margin of this view and left margin of anchor view. -->
5203         <attr name="layout_toLeftOf" format="reference" />
5204         <!-- Positions the left edge of this view to the right of the given anchor view ID.
5205             Accommodates left margin of this view and right margin of anchor view. -->
5206         <attr name="layout_toRightOf" format="reference" />
5207         <!-- Positions the bottom edge of this view above the given anchor view ID.
5208             Accommodates bottom margin of this view and top margin of anchor view. -->
5209         <attr name="layout_above" format="reference" />
5210         <!-- Positions the top edge of this view below the given anchor view ID.
5211             Accommodates top margin of this view and bottom margin of anchor view. -->
5212         <attr name="layout_below" format="reference" />
5213         <!-- Positions the baseline of this view on the baseline of the given anchor view ID. -->
5214         <attr name="layout_alignBaseline" format="reference" />
5215         <!-- Makes the left edge of this view match the left edge of the given anchor view ID.
5216             Accommodates left margin. -->
5217         <attr name="layout_alignLeft" format="reference" />
5218         <!-- Makes the top edge of this view match the top edge of the given anchor view ID.
5219             Accommodates top margin. -->
5220         <attr name="layout_alignTop" format="reference" />
5221         <!-- Makes the right edge of this view match the right edge of the given anchor view ID.
5222             Accommodates right margin. -->
5223         <attr name="layout_alignRight" format="reference" />
5224         <!-- Makes the bottom edge of this view match the bottom edge of the given anchor view ID.
5225             Accommodates bottom margin. -->
5226         <attr name="layout_alignBottom" format="reference" />
5227         <!-- If true, makes the left edge of this view match the left edge of the parent.
5228             Accommodates left margin. -->
5229         <attr name="layout_alignParentLeft" format="boolean" />
5230         <!-- If true, makes the top edge of this view match the top edge of the parent.
5231             Accommodates top margin. -->
5232         <attr name="layout_alignParentTop" format="boolean" />
5233         <!-- If true, makes the right edge of this view match the right edge of the parent.
5234             Accommodates right margin. -->
5235         <attr name="layout_alignParentRight" format="boolean" />
5236         <!-- If true, makes the bottom edge of this view match the bottom edge of the parent.
5237             Accommodates bottom margin. -->
5238         <attr name="layout_alignParentBottom" format="boolean" />
5239         <!-- If true, centers this child horizontally and vertically within its parent. -->
5240         <attr name="layout_centerInParent" format="boolean" />
5241         <!-- If true, centers this child horizontally within its parent. -->
5242         <attr name="layout_centerHorizontal" format="boolean" />
5243         <!-- If true, centers this child vertically within its parent. -->
5244         <attr name="layout_centerVertical" format="boolean" />
5245         <!-- If set to true, the parent will be used as the anchor when the anchor cannot be
5246              be found for layout_toLeftOf, layout_toRightOf, etc. -->
5247         <attr name="layout_alignWithParentIfMissing" format="boolean" />
5248         <!-- Positions the end edge of this view to the start of the given anchor view ID.
5249              Accommodates end margin of this view and start margin of anchor view. -->
5250         <attr name="layout_toStartOf" format="reference" />
5251         <!-- Positions the start edge of this view to the end of the given anchor view ID.
5252              Accommodates start margin of this view and end margin of anchor view. -->
5253         <attr name="layout_toEndOf" format="reference" />
5254         <!-- Makes the start edge of this view match the start edge of the given anchor view ID.
5255             Accommodates start margin. -->
5256         <attr name="layout_alignStart" format="reference" />
5257         <!-- Makes the end edge of this view match the end edge of the given anchor view ID.
5258             Accommodates end margin. -->
5259         <attr name="layout_alignEnd" format="reference" />
5260         <!-- If true, makes the start edge of this view match the start edge of the parent.
5261             Accommodates start margin. -->
5262         <attr name="layout_alignParentStart" format="boolean" />
5263         <!-- If true, makes the end edge of this view match the end edge of the parent.
5264             Accommodates end margin. -->
5265         <attr name="layout_alignParentEnd" format="boolean" />
5266     </declare-styleable>
5267     <declare-styleable name="VerticalSlider_Layout">
5268         <attr name="layout_scale" format="float" />
5269     </declare-styleable>
5271     <!-- @hide -->
5272     <declare-styleable name="WeightedLinearLayout">
5273         <attr name="majorWeightMin" format="float" />
5274         <attr name="minorWeightMin" format="float" />
5275         <attr name="majorWeightMax" format="float" />
5276         <attr name="minorWeightMax" format="float" />
5277     </declare-styleable>
5279     <declare-styleable name="CalendarView">
5280         <!-- The first day of week according to {@link java.util.Calendar}. -->
5281         <attr name="firstDayOfWeek" format="integer" />
5282         <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
5283         <attr name="minDate" />
5284         <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. -->
5285         <attr name="maxDate" />
5286         <!-- The text appearance for the month and year in the calendar header. -->
5287         <attr name="monthTextAppearance" format="reference" />
5288         <!-- The text appearance for the week day abbreviation in the calendar header. -->
5289         <attr name="weekDayTextAppearance" format="reference" />
5290         <!-- The text appearance for the day numbers in the calendar grid. -->
5291         <attr name="dateTextAppearance" format="reference" />
5292         <!-- @hide The background color used for the day selection indicator. -->
5293         <attr name="daySelectorColor" format="color" />
5294         <!-- @hide The background color used for the day highlight indicator. -->
5295         <attr name="dayHighlightColor" format="color" />
5296         <!-- @hide Which style of calendar delegate to use. -->
5297         <attr name="calendarViewMode">
5298             <enum name="holo" value="0" />
5299             <enum name="material" value="1" />
5300         </attr>
5302         <!-- @deprecated Whether do show week numbers. -->
5303         <attr name="showWeekNumber" format="boolean" />
5304         <!-- @deprecated The number of weeks to be shown. -->
5305         <attr name="shownWeekCount" format="integer"/>
5306         <!-- @deprecated The background color for the selected week. -->
5307         <attr name="selectedWeekBackgroundColor" format="color|reference" />
5308         <!-- @deprecated The color for the dates of the focused month. -->
5309         <attr name="focusedMonthDateColor" format="color|reference" />
5310         <!-- @deprecated The color for the dates of an unfocused month. -->
5311         <attr name="unfocusedMonthDateColor" format="color|reference" />
5312         <!-- @deprecated The color for the week numbers. -->
5313         <attr name="weekNumberColor" format="color|reference" />
5314         <!-- @deprecated The color for the separator line between weeks. -->
5315         <attr name="weekSeparatorLineColor" format="color|reference" />
5316         <!-- @deprecated Drawable for the vertical bar shown at the beginning and at the end of the selected date. -->
5317         <attr name="selectedDateVerticalBar" format="reference" />
5318     </declare-styleable>
5320     <declare-styleable name="NumberPicker">
5321         <!-- @hide Color for the solid color background if such for optimized rendering. -->
5322         <attr name="solidColor" format="color|reference" />
5323         <!-- @hide The divider for making the selection area. -->
5324         <attr name="selectionDivider" format="reference" />
5325         <!-- @hide The height of the selection divider. -->
5326         <attr name="selectionDividerHeight" format="dimension" />
5327         <!-- @hide The distance between the two selection dividers. -->
5328         <attr name="selectionDividersDistance" format="dimension" />
5329         <!-- @hide The min height of the NumberPicker. -->
5330         <attr name="internalMinHeight" format="dimension" />
5331         <!-- @hide The max height of the NumberPicker. -->
5332         <attr name="internalMaxHeight" format="dimension" />
5333         <!-- @hide The min width of the NumberPicker. -->
5334         <attr name="internalMinWidth" format="dimension" />
5335         <!-- @hide The max width of the NumberPicker. -->
5336         <attr name="internalMaxWidth" format="dimension" />
5337         <!-- @hide The layout of the number picker. -->
5338         <attr name="internalLayout" />
5339         <!-- @hide The drawable for pressed virtual (increment/decrement) buttons. -->
5340         <attr name="virtualButtonPressedDrawable" format="reference"/>
5341         <!-- @hide If true then the selector wheel is hidden until the picker has focus. -->
5342         <attr name="hideWheelUntilFocused" format="boolean"/>
5343     </declare-styleable>
5345     <declare-styleable name="TimePicker">
5346         <!-- @hide The layout of the legacy time picker. -->
5347         <attr name="legacyLayout" format="reference" />
5348         <!-- @hide The layout of the time picker. -->
5349         <attr name="internalLayout" />
5351         <!-- The text color for the selected time header text, ex. "12" or
5352              "PM". This should be a color state list where the activated state
5353              will be used when the minute picker or hour picker is active.-->
5354         <attr name="headerTextColor" />
5355         <!-- The background for the header containing the currently selected time. -->
5356         <attr name="headerBackground" />
5358         <!-- The color for the hours/minutes numbers. This should be a color
5359              state list where the activated state will be used when the number
5360              is active.-->
5361         <attr name="numbersTextColor" format="color" />
5362         <!-- The color for the inner hours numbers used in 24-hour mode. This
5363              should be a color state list where the activated state will be
5364              used when the number is active.-->
5365         <attr name="numbersInnerTextColor" format="color" />
5366         <!-- The background color for the hours/minutes numbers. -->
5367         <attr name="numbersBackgroundColor" format="color" />
5368         <!-- The color for the hours/minutes selector. -->
5369         <attr name="numbersSelectorColor" format="color" />
5371         <!-- Defines the look of the widget. Prior to the L release, the only choice was
5372              spinner. As of L, with the Material theme selected, the default layout is clock,
5373              but this attribute can be used to force spinner to be used instead. -->
5374         <attr name="timePickerMode">
5375             <!-- Time picker with spinner controls to select the time. -->
5376             <enum name="spinner" value="1" />
5377             <!-- Time picker with clock face to select the time. -->
5378             <enum name="clock" value="2" />
5379         </attr>
5381         <!-- The text appearance for the AM/PM header.
5382              @deprecated Use headerTextColor instead. -->
5383         <attr name="headerAmPmTextAppearance" format="reference" />
5384         <!-- The text appearance for the time header.
5385              @deprecated Use headerTextColor instead. -->
5386         <attr name="headerTimeTextAppearance" format="reference" />
5387         <!-- The color for the AM/PM selectors.
5388              {@deprecated Use headerTextColor instead.}-->
5389         <attr name="amPmTextColor" format="color" />
5390         <!-- The background color state list for the AM/PM selectors.
5391              {@deprecated Use headerBackground instead.}-->
5392         <attr name="amPmBackgroundColor" format="color" />
5394         <!-- @hide Whether this time picker is being displayed within a dialog,
5395              in which case it may ignore the requested time picker mode due to
5396              space considerations. -->
5397         <attr name="dialogMode" />
5398     </declare-styleable>
5400     <!-- ========================= -->
5401     <!-- Drawable class attributes -->
5402     <!-- ========================= -->
5403     <eat-comment />
5405     <!-- Base attributes that are available to all Drawable objects. -->
5406     <declare-styleable name="Drawable">
5407         <!-- Provides initial visibility state of the drawable; the default
5408              value is false.  See
5409              {@link android.graphics.drawable.Drawable#setVisible}. -->
5410         <attr name="visible" format="boolean" />
5411         <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5412              RTL (right-to-left).  See
5413              {@link android.graphics.drawable.Drawable#setAutoMirrored}. -->
5414         <attr name="autoMirrored" format="boolean" />
5415     </declare-styleable>
5417     <!-- Drawable class used to wrap other drawables. -->
5418     <declare-styleable name="DrawableWrapper">
5419         <!-- The wrapped drawable. -->
5420         <attr name="drawable" />
5421     </declare-styleable>
5423     <!-- Drawable used to render several states. Each state is represented by
5424          a child drawable. -->
5425     <declare-styleable name="StateListDrawable">
5426         <!-- Indicates whether the drawable should be initially visible. -->
5427         <attr name="visible" />
5428         <!-- If true, allows the drawable's padding to change based on the
5429              current state that is selected.  If false, the padding will
5430              stay the same (based on the maximum padding of all the states).
5431              Enabling this feature requires that the owner of the drawable
5432              deal with performing layout when the state changes, which is
5433              often not supported. -->
5434         <attr name="variablePadding" format="boolean" />
5435         <!-- If true, the drawable's reported internal size will remain
5436              constant as the state changes; the size is the maximum of all
5437              of the states.  If false, the size will vary based on the
5438              current state. -->
5439         <attr name="constantSize" format="boolean" />
5440         <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5441              same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5442              an RGB 565 screen). -->
5443         <attr name="dither" format="boolean" />
5444         <!-- Amount of time (in milliseconds) to fade in a new state drawable. -->
5445         <attr name="enterFadeDuration" format="integer" />
5446         <!-- Amount of time (in milliseconds) to fade out an old state drawable. -->
5447         <attr name="exitFadeDuration" format="integer" />
5448         <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5449              RTL (right-to-left). -->
5450         <attr name="autoMirrored"/>
5451     </declare-styleable>
5453     <!-- Drawable used to render several states with animated transitions. Each state
5454          is represented by a child drawable with an optional keyframe ID. -->
5455     <declare-styleable name="AnimatedStateListDrawable">
5456         <!-- Indicates whether the drawable should be initially visible. -->
5457         <attr name="visible" />
5458         <!-- If true, allows the drawable's padding to change based on the
5459              current state that is selected.  If false, the padding will
5460              stay the same (based on the maximum padding of all the states).
5461              Enabling this feature requires that the owner of the drawable
5462              deal with performing layout when the state changes, which is
5463              often not supported. -->
5464         <attr name="variablePadding" />
5465         <!-- If true, the drawable's reported internal size will remain
5466              constant as the state changes; the size is the maximum of all
5467              of the states.  If false, the size will vary based on the
5468              current state. -->
5469         <attr name="constantSize" />
5470         <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5471              same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5472              an RGB 565 screen). -->
5473         <attr name="dither" />
5474         <!-- Amount of time (in milliseconds) to fade in a new state drawable. -->
5475         <attr name="enterFadeDuration" />
5476         <!-- Amount of time (in milliseconds) to fade out an old state drawable. -->
5477         <attr name="exitFadeDuration" />
5478         <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5479              RTL (right-to-left). -->
5480         <attr name="autoMirrored"/>
5481     </declare-styleable>
5483     <!-- Represents a single state inside a StateListDrawable. -->
5484     <declare-styleable name="StateListDrawableItem">
5485         <!-- Reference to a drawable resource to use for the state. If not
5486              given, the drawable must be defined by the first child tag. -->
5487         <attr name="drawable" />
5488     </declare-styleable>
5490     <!-- Transition used to animate between states with keyframe IDs. -->
5491     <declare-styleable name="AnimatedStateListDrawableItem">
5492         <!-- Reference to a drawable resource to use for the frame.  If not
5493              given, the drawable must be defined by the first child tag. -->
5494         <attr name="drawable" />
5495         <!-- Keyframe identifier for use in specifying transitions. -->
5496         <attr name="id" />
5497     </declare-styleable>
5499     <!-- Transition used to animate between states with keyframe IDs. -->
5500     <declare-styleable name="AnimatedStateListDrawableTransition">
5501         <!-- Keyframe identifier for the starting state. -->
5502         <attr name="fromId" format="reference" />
5503         <!-- Keyframe identifier for the ending state. -->
5504         <attr name="toId" format="reference" />
5505         <!-- Reference to a animation drawable resource to use for the frame.  If not
5506              given, the animation drawable must be defined by the first child tag. -->
5507         <attr name="drawable" />
5508         <!-- Whether this transition is reversible. -->
5509         <attr name="reversible" format="boolean" />
5510     </declare-styleable>
5512     <!-- Drawable used to render several animated frames. -->
5513     <declare-styleable name="AnimationDrawable">
5514         <attr name="visible" />
5515         <attr name="variablePadding" />
5516         <!-- If true, the animation will only run a single time and then
5517              stop.  If false (the default), it will continually run,
5518              restarting at the first frame after the last has finished. -->
5519         <attr name="oneshot" format="boolean" />
5520     </declare-styleable>
5522     <!-- Represents a single frame inside an AnimationDrawable. -->
5523     <declare-styleable name="AnimationDrawableItem">
5524         <!-- Amount of time (in milliseconds) to display this frame. -->
5525         <attr name="duration" format="integer" />
5526         <!-- Reference to a drawable resource to use for the frame.  If not
5527              given, the drawable must be defined by the first child tag. -->
5528         <attr name="drawable" format="reference" />
5529     </declare-styleable>
5531     <!-- Attributes that can be assigned to a StateListAnimator item. -->
5532     <declare-styleable name="StateListAnimatorItem">
5533         <attr name="animation"/>
5534     </declare-styleable>
5536     <!-- Attributes that can be assigned to a ColorStateList item. -->
5537     <declare-styleable name="ColorStateListItem">
5538         <!-- Base color for this state. -->
5539         <attr name="color" />
5540         <!-- Alpha multiplier applied to the base color. -->
5541         <attr name="alpha" />
5542     </declare-styleable>
5544     <!-- Drawable used to render according to the animation scale. Esp. when it is 0 due to battery
5545          saver mode. It should contain one animatable drawable and one static drawable.
5546          @hide -->
5547     <declare-styleable name="AnimationScaleListDrawable">
5548     </declare-styleable>
5550     <!-- Attributes that can be assigned to a AnimationScaleListDrawable item.
5551          @hide -->
5552     <declare-styleable name="AnimationScaleListDrawableItem">
5553         <!-- Reference to a drawable resource to use for the state. If not
5554              given, the drawable must be defined by the first child tag. -->
5555         <attr name="drawable" />
5556     </declare-styleable>
5559     <!-- Drawable used to render a geometric shape, with a gradient or a solid color. -->
5560     <declare-styleable name="GradientDrawable">
5561         <!-- Indicates whether the drawable should intially be visible. -->
5562         <attr name="visible" />
5563         <!-- Enables or disables dithering. -->
5564         <attr name="dither" />
5565         <!-- Indicates what shape to fill with a gradient. -->
5566         <attr name="shape">
5567             <!-- Rectangle shape, with optional rounder corners. -->
5568             <enum name="rectangle" value="0" />
5569             <!-- Oval shape. -->
5570             <enum name="oval" value="1" />
5571             <!-- Line shape. -->
5572             <enum name="line" value="2" />
5573             <!-- Ring shape. -->
5574             <enum name="ring" value="3" />
5575         </attr>
5576         <!-- Inner radius of the ring expressed as a ratio of the ring's width. For instance,
5577              if innerRadiusRatio=9, then the inner radius equals the ring's width divided by 9.
5578              This value is ignored if innerRadius is defined. Default value is 9. -->
5579         <attr name="innerRadiusRatio" format="float" />
5580         <!-- Thickness of the ring expressed as a ratio of the ring's width. For instance,
5581              if thicknessRatio=3, then the thickness equals the ring's width divided by 3.
5582              This value is ignored if innerRadius is defined. Default value is 3. -->
5583         <attr name="thicknessRatio" format="float" />
5584         <!-- Inner radius of the ring. When defined, innerRadiusRatio is ignored. -->
5585         <attr name="innerRadius" format="dimension" />
5586         <!-- Thickness of the ring. When defined, thicknessRatio is ignored. -->
5587         <attr name="thickness" format="dimension" />
5588         <!-- Whether the drawable level value (see
5589              {@link android.graphics.drawable.Drawable#getLevel()}) is used to scale the shape.
5590              Scaling behavior depends on the shape type. For "ring", the angle is scaled from 0 to
5591              360. For all other types, there is no effect. The default value is true. -->
5592         <attr name="useLevel" />
5593         <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5594              no tint is applied. May be a color state list. -->
5595         <attr name="tint" />
5596         <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5597              default value is src_in, which treats the drawable as an alpha mask. -->
5598         <attr name="tintMode" />
5599         <!-- Left optical inset.
5600              @hide Until optical insets are fully supported. -->
5601         <attr name="opticalInsetLeft" />
5602         <!-- Top optical inset.
5603              @hide Until optical insets are fully supported. -->
5604         <attr name="opticalInsetTop" />
5605         <!-- Right optical inset.
5606              @hide Until optical insets are fully supported. -->
5607         <attr name="opticalInsetRight" />
5608         <!-- Bottom optical inset.
5609              @hide Until optical insets are fully supported. -->
5610         <attr name="opticalInsetBottom" />
5611     </declare-styleable>
5613     <!-- Used to specify the size of the shape for GradientDrawable. -->
5614     <declare-styleable name="GradientDrawableSize">
5615         <!-- Width of the gradient shape. -->
5616         <attr name="width" />
5617         <!-- Height of the gradient shape. -->
5618         <attr name="height" />
5619     </declare-styleable>
5621     <!-- Used to describe the gradient used to fill the shape of a GradientDrawable. -->
5622     <declare-styleable name="GradientDrawableGradient">
5623         <!-- Start color of the gradient. -->
5624         <attr name="startColor" format="color" />
5625         <!-- Optional center color. For linear gradients, use centerX or centerY to place the center
5626              color. -->
5627         <attr name="centerColor" format="color" />
5628         <!-- End color of the gradient. -->
5629         <attr name="endColor" format="color" />
5630         <!-- Whether the drawable level value (see
5631              {@link android.graphics.drawable.Drawable#getLevel()}) is used to scale the gradient.
5632              Scaling behavior varies based on gradient type. For "linear", adjusts the ending
5633              position along the gradient's axis of orientation. For "radial", adjusts the outer
5634              radius. For "sweep", adjusts the ending angle. The default value is false. -->
5635         <attr name="useLevel" format="boolean" />
5636         <!-- Angle of the gradient, used only with linear gradient. Must be a multiple of 45 in the
5637              range [0, 315]. -->
5638         <attr name="angle" format="float" />
5639         <!-- Type of gradient. The default type is linear. -->
5640         <attr name="type">
5641             <!-- Linear gradient extending across the center point. -->
5642             <enum name="linear" value="0" />
5643             <!-- Radial gradient extending from the center point outward. -->
5644             <enum name="radial" value="1" />
5645             <!-- Sweep (or angular) gradient sweeping counter-clockwise around the center point. -->
5646             <enum name="sweep"  value="2" />
5647         </attr>
5648         <!-- X-position of the center point of the gradient within the shape as a fraction of the
5649              width. The default value is 0.5. -->
5650         <attr name="centerX" format="float|fraction" />
5651         <!-- Y-position of the center point of the gradient within the shape as a fraction of the
5652              height. The default value is 0.5. -->
5653         <attr name="centerY" format="float|fraction" />
5654         <!-- Radius of the gradient, used only with radial gradient. May be an explicit dimension
5655              or a fractional value relative to the shape's minimum dimension. -->
5656         <attr name="gradientRadius" format="float|fraction|dimension" />
5657     </declare-styleable>
5659     <!-- Used to fill the shape of GradientDrawable with a solid color. -->
5660     <declare-styleable name="GradientDrawableSolid">
5661         <!-- Solid color for the gradient shape. -->
5662         <attr name="color" format="color" />
5663     </declare-styleable>
5665     <!-- Used to describe the optional stroke of a GradientDrawable. -->
5666     <declare-styleable name="GradientDrawableStroke">
5667         <!-- Width of the gradient shape's stroke. -->
5668         <attr name="width" />
5669         <!-- Color of the gradient shape's stroke. -->
5670         <attr name="color" />
5671         <!-- Length of a dash in the stroke. -->
5672         <attr name="dashWidth" format="dimension" />
5673         <!-- Gap between dashes in the stroke. -->
5674         <attr name="dashGap" format="dimension" />
5675     </declare-styleable>
5677     <!-- Describes the corners for the rectangle shape of a GradientDrawable.
5678          This can be used to render rounded corners. -->
5679     <declare-styleable name="DrawableCorners">
5680         <!-- Defines the radius of the four corners. -->
5681         <attr name="radius" format="dimension" />
5682         <!-- Radius of the top left corner. -->
5683         <attr name="topLeftRadius" format="dimension" />
5684         <!-- Radius of the top right corner. -->
5685         <attr name="topRightRadius" format="dimension" />
5686         <!-- Radius of the bottom left corner. -->
5687         <attr name="bottomLeftRadius" format="dimension" />
5688         <!-- Radius of the bottom right corner. -->
5689         <attr name="bottomRightRadius" format="dimension" />
5690     </declare-styleable>
5692     <!-- Used to specify the optional padding of a GradientDrawable. -->
5693     <declare-styleable name="GradientDrawablePadding">
5694         <!-- Amount of left padding inside the gradient shape. -->
5695         <attr name="left" format="dimension" />
5696         <!-- Amount of top padding inside the gradient shape. -->
5697         <attr name="top" format="dimension" />
5698         <!-- Amount of right padding inside the gradient shape. -->
5699         <attr name="right" format="dimension" />
5700         <!-- Amount of bottom padding inside the gradient shape. -->
5701         <attr name="bottom" format="dimension" />
5702     </declare-styleable>
5704     <!-- Drawable used to render several drawables stacked on top of each other.
5705          Each child drawable can be controlled individually. -->
5706     <declare-styleable name="LayerDrawable">
5707         <!-- Indicates the opacity of the layer. This can be useful to allow the
5708               system to enable drawing optimizations. The default value is
5709               translucent. -->
5710         <attr name="opacity">
5711             <!-- Indicates that the layer is opaque and contains no transparent
5712                  nor translucent pixels. -->
5713             <enum name="opaque" value="-1" />
5714             <!-- The layer is completely transparent (no pixel will be drawn). -->
5715             <enum name="transparent" value="-2" />
5716             <!-- The layer has translucent pixels. -->
5717             <enum name="translucent" value="-3" />
5718         </attr>
5719         <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5720              RTL (right-to-left). -->
5721         <attr name="autoMirrored" />
5722         <!-- Indicates how layer padding should affect the bounds of subsequent layers.
5723              The default padding mode value is nest. -->
5724         <attr name="paddingMode">
5725             <!-- Nest each layer inside the padding of the previous layer. -->
5726             <enum name="nest" value="0" />
5727             <!-- Stack each layer directly atop the previous layer. -->
5728             <enum name="stack" value="1" />
5729         </attr>
5730         <!-- Explicit top padding. Overrides child padding. -->
5731         <attr name="paddingTop" />
5732         <!-- Explicit bottom padding. Overrides child padding. -->
5733         <attr name="paddingBottom" />
5734         <!-- Explicit left padding. Overrides child padding. -->
5735         <attr name="paddingLeft" />
5736         <!-- Explicit right padding. Overrides child padding. -->
5737         <attr name="paddingRight" />
5738         <!-- Explicit start padding. Overrides child padding. Takes precedence
5739              over absolute padding (for example, left when layout direction is LTR). -->
5740         <attr name="paddingStart" />
5741         <!-- Explicit end padding. Overrides child padding. Takes precedence
5742              over absolute padding (for example, right when layout direction is LTR). -->
5743         <attr name="paddingEnd" />
5744     </declare-styleable>
5746     <!-- Describes an item (or child) of a LayerDrawable. -->
5747     <declare-styleable name="LayerDrawableItem">
5748         <!-- Left inset to apply to the layer. -->
5749         <attr name="left" />
5750         <!-- Top inset to apply to the layer. -->
5751         <attr name="top" />
5752         <!-- Right inset to apply to the layer. -->
5753         <attr name="right" />
5754         <!-- Bottom inset to apply to the layer. -->
5755         <attr name="bottom" />
5756         <!-- Start inset to apply to the layer. Overrides {@code left} or
5757              {@code right} depending on layout direction. -->
5758         <attr name="start" format="dimension" />
5759         <!-- End inset to apply to the layer. Overrides {@code left} or
5760              {@code right} depending on layout direction. -->
5761         <attr name="end" format="dimension" />
5762         <!-- Width of the layer. Defaults to the layer's intrinsic width. -->
5763         <attr name="width" />
5764         <!-- Height of the layer. Defaults to the layer's intrinsic height. -->
5765         <attr name="height" />
5766         <!-- Gravity used to align the layer within its container. If no value
5767              is specified, the default behavior depends on whether an explicit
5768              width or height has been set, If no dimension is set, gravity in
5769              that direction defaults to {@code fill_horizontal} or
5770              {@code fill_vertical}; otherwise, it defaults to {@code left} or
5771              {@code top}. -->
5772         <attr name="gravity" />
5773         <!-- Drawable used to render the layer. -->
5774         <attr name="drawable" />
5775         <!-- Identifier of the layer. This can be used to retrieve the layer
5776              from a drawable container. -->
5777         <attr name="id" />
5778     </declare-styleable>
5780     <declare-styleable name="LevelListDrawableItem">
5781         <!-- The minimum level allowed for this item. -->
5782         <attr name="minLevel" format="integer" />
5783         <!-- The maximum level allowed for this item. -->
5784         <attr name="maxLevel" format="integer" />
5785         <attr name="drawable" />
5786     </declare-styleable>
5788     <!-- Drawable used to rotate another drawable. -->
5789     <declare-styleable name="RotateDrawable">
5790         <attr name="visible" />
5791         <attr name="fromDegrees" format="float" />
5792         <attr name="toDegrees" format="float" />
5793         <attr name="pivotX" format="float|fraction" />
5794         <attr name="pivotY" format="float|fraction" />
5795         <attr name="drawable" />
5796     </declare-styleable>
5798     <declare-styleable name="AnimatedRotateDrawable">
5799         <attr name="visible" />
5800         <attr name="frameDuration" format="integer" />
5801         <attr name="framesCount" format="integer" />
5802         <attr name="pivotX" />
5803         <attr name="pivotY" />
5804         <attr name="drawable" />
5805     </declare-styleable>
5807     <!-- Drawable used to render the Material progress indicator. -->
5808     <declare-styleable name="MaterialProgressDrawable">
5809         <attr name="visible" />
5810         <attr name="thickness" />
5811         <attr name="innerRadius" />
5812         <attr name="width" />
5813         <attr name="height" />
5814         <attr name="color" />
5815     </declare-styleable>
5817     <!-- Drawable used to wrap and inset another drawable. -->
5818     <declare-styleable name="InsetDrawable">
5819         <attr name="visible" />
5820         <attr name="drawable" />
5821         <attr name="inset"  format="fraction|dimension"/>
5822         <attr name="insetLeft" format="fraction|dimension" />
5823         <attr name="insetRight" format="fraction|dimension" />
5824         <attr name="insetTop" format="fraction|dimension" />
5825         <attr name="insetBottom" format="fraction|dimension" />
5826     </declare-styleable>
5828     <!-- Drawable used to draw bitmaps. -->
5829     <declare-styleable name="BitmapDrawable">
5830         <!-- Identifier of the bitmap file. This attribute is mandatory. -->
5831         <attr name="src" />
5832         <!-- Enables or disables antialiasing. Antialiasing can be used to smooth the
5833              edges of a bitmap when rotated. Default value is false. -->
5834         <attr name="antialias" format="boolean" />
5835         <!-- Enables or disables bitmap filtering. Filtering is used when the bitmap is
5836              shrunk or stretched to smooth its apperance. Default value is true. -->
5837         <attr name="filter" format="boolean" />
5838         <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5839              same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5840              an RGB 565 screen). Default value is true. -->
5841         <attr name="dither" />
5842         <!-- Defines the gravity for the bitmap. The gravity indicates where to position
5843              the drawable in its container if the bitmap is smaller than the container. -->
5844         <attr name="gravity" />
5845         <!-- Defines the tile mode. When the tile mode is enabled, the bitmap is repeated.
5846              Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5847         <attr name="tileMode">
5848             <!-- Do not tile the bitmap. This is the default value. -->
5849             <enum name="disabled" value="-1" />
5850             <!-- Replicates the edge color. -->
5851             <enum name="clamp" value="0" />
5852             <!-- Repeats the bitmap in both direction. -->
5853             <enum name="repeat" value="1" />
5854             <!-- Repeats the shader's image horizontally and vertically, alternating
5855                  mirror images so that adjacent images always seam. -->
5856             <enum name="mirror" value="2" />
5857         </attr>
5858         <!-- Defines the horizontal tile mode. When the tile mode is enabled, the bitmap is repeated.
5859              Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5860         <attr name="tileModeX">
5861             <!-- Do not tile the bitmap. This is the default value. -->
5862             <enum name="disabled" value="-1" />
5863             <!-- Replicates the edge color. -->
5864             <enum name="clamp" value="0" />
5865             <!-- Repeats the bitmap horizontally. -->
5866             <enum name="repeat" value="1" />
5867             <!-- Repeats the shader's image horizontally, alternating
5868                  mirror images so that adjacent images always seam. -->
5869             <enum name="mirror" value="2" />
5870         </attr>
5871         <!-- Defines the vertical tile mode. When the tile mode is enabled, the bitmap is repeated.
5872              Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5873         <attr name="tileModeY">
5874             <!-- Do not tile the bitmap. This is the default value. -->
5875             <enum name="disabled" value="-1" />
5876             <!-- Replicates the edge color. -->
5877             <enum name="clamp" value="0" />
5878             <!-- Repeats the bitmap vertically. -->
5879             <enum name="repeat" value="1" />
5880             <!-- Repeats the shader's image vertically, alternating
5881                  mirror images so that adjacent images always seam. -->
5882             <enum name="mirror" value="2" />
5883         </attr>
5884         <!-- Enables or disables the mipmap hint. See
5885             {@link android.graphics.Bitmap#setHasMipMap(boolean)} for more information.
5886             Default value is false. -->
5887         <attr name="mipMap" format="boolean" />
5888         <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5889              RTL (right-to-left). -->
5890         <attr name="autoMirrored" />
5891         <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5892              no tint is applied. May be a color state list. -->
5893         <attr name="tint" />
5894         <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5895              default value is src_in, which treats the drawable as an alpha mask. -->
5896         <attr name="tintMode">
5897             <!-- The tint is drawn on top of the drawable.
5898                  [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
5899             <enum name="src_over" value="3" />
5900             <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
5901                  color channels are thrown out. [Sa * Da, Sc * Da] -->
5902             <enum name="src_in" value="5" />
5903             <!-- The tint is drawn above the drawable, but with the drawable’s alpha
5904                  channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
5905             <enum name="src_atop" value="9" />
5906             <!-- Multiplies the color and alpha channels of the drawable with those of
5907                  the tint. [Sa * Da, Sc * Dc] -->
5908             <enum name="multiply" value="14" />
5909             <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
5910             <enum name="screen" value="15" />
5911             <!-- Combines the tint and drawable color and alpha channels, clamping the
5912                  result to valid color values. Saturate(S + D) -->
5913             <enum name="add" value="16" />
5914         </attr>
5915         <!-- Specifies the alpha multiplier to apply to the base drawable. -->
5916         <attr name="alpha" />
5917     </declare-styleable>
5919     <!-- Drawable used to draw 9-patches. -->
5920     <declare-styleable name="NinePatchDrawable">
5921         <!-- Identifier of the bitmap file. This attribute is mandatory. -->
5922         <attr name="src" />
5923         <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5924              same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5925              an RGB 565 screen). -->
5926         <attr name="dither" />
5927         <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5928              RTL (right-to-left). -->
5929         <attr name="autoMirrored" />
5930         <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5931              no tint is applied. May be a color state list. -->
5932         <attr name="tint" />
5933         <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5934              default value is src_in, which treats the drawable as an alpha mask. -->
5935         <attr name="tintMode" />
5936         <!-- Specifies the alpha multiplier to apply to the base drawable. -->
5937         <attr name="alpha" />
5938     </declare-styleable>
5940     <!-- Drawable used to draw a single color. -->
5941     <declare-styleable name="ColorDrawable">
5942         <!-- The color to use. -->
5943         <attr name="color" />
5944     </declare-styleable>
5946     <!-- Drawable used to draw adaptive icons with foreground and background layers. -->
5947     <declare-styleable name="AdaptiveIconDrawableLayer">
5948         <!-- The drawable to use for the layer. -->
5949         <attr name="drawable" />
5950      </declare-styleable>
5952     <!-- Drawable used to show animated touch feedback. -->
5953     <declare-styleable name="RippleDrawable">
5954         <!-- The color to use for ripple effects. This attribute is required. -->
5955         <attr name="color" />
5956         <!-- The radius of the ripple when fully expanded. By default, the
5957              radius is computed based on the size of the ripple's container. -->
5958         <attr name="radius" />
5959     </declare-styleable>
5961     <declare-styleable name="ScaleDrawable">
5962         <!-- Scale width, expressed as a percentage of the drawable's bound. The value's
5963              format is XX%. For instance: 100%, 12.5%, etc.-->
5964         <attr name="scaleWidth" format="string" />
5965         <!-- Scale height, expressed as a percentage of the drawable's bound. The value's
5966              format is XX%. For instance: 100%, 12.5%, etc.-->
5967         <attr name="scaleHeight" format="string" />
5968         <!-- Specifies where the drawable is positioned after scaling. The default value is
5969              left. -->
5970         <attr name="scaleGravity">
5971             <!-- Push object to the top of its container, not changing its size. -->
5972             <flag name="top" value="0x30" />
5973             <!-- Push object to the bottom of its container, not changing its size. -->
5974             <flag name="bottom" value="0x50" />
5975             <!-- Push object to the left of its container, not changing its size. -->
5976             <flag name="left" value="0x03" />
5977             <!-- Push object to the right of its container, not changing its size. -->
5978             <flag name="right" value="0x05" />
5979             <!-- Place object in the vertical center of its container, not changing its size. -->
5980             <flag name="center_vertical" value="0x10" />
5981             <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
5982             <flag name="fill_vertical" value="0x70" />
5983             <!-- Place object in the horizontal center of its container, not changing its size. -->
5984             <flag name="center_horizontal" value="0x01" />
5985             <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
5986             <flag name="fill_horizontal" value="0x07" />
5987             <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
5988             <flag name="center" value="0x11" />
5989             <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
5990             <flag name="fill" value="0x77" />
5991             <!-- Additional option that can be set to have the top and/or bottom edges of
5992                  the child clipped to its container's bounds.
5993                  The clip will be based on the vertical gravity: a top gravity will clip the bottom
5994                  edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
5995             <flag name="clip_vertical" value="0x80" />
5996             <!-- Additional option that can be set to have the left and/or right edges of
5997                  the child clipped to its container's bounds.
5998                  The clip will be based on the horizontal gravity: a left gravity will clip the right
5999                  edge, a right gravity will clip the left edge, and neither will clip both edges. -->
6000             <flag name="clip_horizontal" value="0x08" />
6001             <!-- Push object to the beginning of its container, not changing its size. -->
6002             <flag name="start" value="0x00800003" />
6003             <!-- Push object to the end of its container, not changing its size. -->
6004             <flag name="end" value="0x00800005" />
6005         </attr>
6006         <!-- Specifies the initial drawable level in the range 0 to 10000. -->
6007         <attr name="level" format="integer" />
6008         <!-- Reference to a drawable resource to draw with the specified scale. -->
6009         <attr name="drawable" />
6010         <!-- Use the drawable's intrinsic width and height as minimum size values.
6011              Useful if the target drawable is a 9-patch or otherwise should not be scaled
6012              down beyond a minimum size. -->
6013         <attr name="useIntrinsicSizeAsMinimum" format="boolean" />
6014     </declare-styleable>
6016     <declare-styleable name="ClipDrawable">
6017         <!-- The orientation for the clip. -->
6018         <attr name="clipOrientation">
6019             <!-- Clip the drawable horizontally. -->
6020             <flag name="horizontal" value="1" />
6021             <!-- Clip the drawable vertically. -->
6022             <flag name="vertical" value="2" />
6023         </attr>
6024         <!-- Specifies where to clip within the drawable. The default value is
6025              left. -->
6026         <attr name="gravity" />
6027         <!-- Reference to a drawable resource to draw with the specified scale. -->
6028         <attr name="drawable" />
6029     </declare-styleable>
6031     <!-- Defines the padding of a ShapeDrawable. -->
6032     <declare-styleable name="ShapeDrawablePadding">
6033         <!-- Left padding. -->
6034         <attr name="left" />
6035         <!-- Top padding. -->
6036         <attr name="top" />
6037         <!-- Right padding. -->
6038         <attr name="right" />
6039         <!-- Bottom padding. -->
6040         <attr name="bottom" />
6041     </declare-styleable>
6043     <!-- Drawable used to draw shapes. -->
6044     <declare-styleable name="ShapeDrawable">
6045         <!-- Defines the color of the shape. -->
6046         <attr name="color" />
6047         <!-- Defines the width of the shape. -->
6048         <attr name="width" />
6049         <!-- Defines the height of the shape. -->
6050         <attr name="height" />
6051         <!-- Enables or disables dithering. -->
6052         <attr name="dither" />
6053         <!-- If set, specifies the color to apply to the drawable as a tint. By default,
6054              no tint is applied. May be a color state list. -->
6055         <attr name="tint" />
6056         <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
6057              default value is src_in, which treats the drawable as an alpha mask. -->
6058         <attr name="tintMode" />
6059     </declare-styleable>
6061     <!-- ========================== -->
6062     <!--   VectorDrawable class   -->
6063     <!-- ========================== -->
6064     <eat-comment />
6066     <!-- Drawable used to draw vector paths. -->
6067     <declare-styleable name="VectorDrawable">
6068         <!-- If set, specifies the color to apply to the drawable as a tint. By default,
6069              no tint is applied. May be a color state list. -->
6070         <attr name="tint" />
6071         <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
6072              default value is src_in, which treats the drawable as an alpha mask. -->
6073         <attr name="tintMode" />
6074         <!-- Indicates if the drawable needs to be mirrored when its layout direction is
6075              RTL (right-to-left). -->
6076         <attr name="autoMirrored" />
6077         <!-- The intrinsic width of the Vector Drawable. -->
6078         <attr name="width" />
6079         <!-- The intrinsic height of the Vector Drawable. -->
6080         <attr name="height" />
6081         <!-- The width of the canvas the drawing is on. -->
6082         <attr name="viewportWidth" format="float"/>
6083         <!-- The height of the canvas the drawing is on. -->
6084         <attr name="viewportHeight" format="float"/>
6085         <!-- The name of this vector drawable. -->
6086         <attr name="name" />
6087         <!-- The opacity of the whole vector drawable, as a value between 0
6088              (completely transparent) and 1 (completely opaque). -->
6089         <attr name="alpha" />
6090         <!-- Left optical inset.
6091              @hide Until optical insets are fully supported. -->
6092         <attr name="opticalInsetLeft" format="dimension" />
6093         <!-- Top optical inset.
6094              @hide Until optical insets are fully supported. -->
6095         <attr name="opticalInsetTop" format="dimension" />
6096         <!-- Right optical inset.
6097              @hide Until optical insets are fully supported. -->
6098         <attr name="opticalInsetRight" format="dimension" />
6099         <!-- Bottom optical inset.
6100              @hide Until optical insets are fully supported. -->
6101         <attr name="opticalInsetBottom" format="dimension" />
6102     </declare-styleable>
6104     <!-- Defines the group used in VectorDrawables. -->
6105     <declare-styleable name="VectorDrawableGroup">
6106         <!-- The name of this group. -->
6107         <attr name="name" />
6108         <!-- The amount to rotate the group. -->
6109         <attr name="rotation" />
6110         <!-- The X coordinate of the center of rotation of a group. -->
6111         <attr name="pivotX" />
6112         <!-- The Y coordinate of the center of rotation of a group. -->
6113         <attr name="pivotY" />
6114         <!-- The amount to translate the group on X coordinate. -->
6115         <attr name="translateX" format="float"/>
6116         <!-- The amount to translate the group on Y coordinate. -->
6117         <attr name="translateY" format="float"/>
6118         <!-- The amount to scale the group on X coordinate. -->
6119         <attr name="scaleX" />
6120         <!-- The amount to scale the group on X coordinate. -->
6121         <attr name="scaleY" />
6122     </declare-styleable>
6124     <!-- Defines the path used in VectorDrawables. -->
6125     <declare-styleable name="VectorDrawablePath">
6126         <!-- The name of this path. -->
6127         <attr name="name" />
6128         <!-- The width a path stroke. -->
6129         <attr name="strokeWidth" format="float" />
6130         <!-- The color to stroke the path if not defined implies no stroke. -->
6131         <attr name="strokeColor" format="color" />
6132         <!-- The opacity of a path stroke, as a value between 0 (completely transparent)
6133              and 1 (completely opaque). -->
6134         <attr name="strokeAlpha" format="float" />
6135         <!-- The color to fill the path if not defined implies no fill. -->
6136         <attr name="fillColor" format="color" />
6137         <!-- The alpha of the path fill, as a value between 0 (completely transparent)
6138              and 1 (completely opaque). -->
6139         <attr name="fillAlpha" format="float" />
6140         <!-- The specification of the operations that define the path. -->
6141         <attr name="pathData" format="string" />
6142         <!-- The fraction of the path to trim from the start from 0 to 1. -->
6143         <attr name="trimPathStart" format="float" />
6144         <!-- The fraction of the path to trim from the end from 0 to 1 . -->
6145         <attr name="trimPathEnd" format="float" />
6146         <!-- Shift trim region (allows visible region to include the start and end) from 0 to 1. -->
6147         <attr name="trimPathOffset" format="float" />
6148         <!-- sets the linecap for a stroked path. -->
6149         <attr name="strokeLineCap" format="enum">
6150             <enum name="butt" value="0"/>
6151             <enum name="round" value="1"/>
6152             <enum name="square" value="2"/>
6153         </attr>
6154         <!-- sets the lineJoin for a stroked path. -->
6155         <attr name="strokeLineJoin" format="enum">
6156             <enum name="miter" value="0"/>
6157             <enum name="round" value="1"/>
6158             <enum name="bevel" value="2"/>
6159         </attr>
6160         <!-- sets the Miter limit for a stroked path. -->
6161         <attr name="strokeMiterLimit" format="float"/>
6162         <!-- sets the fillType for a path. It is the same as SVG's "fill-rule" properties.
6163              For more details, see https://www.w3.org/TR/SVG/painting.html#FillRuleProperty. -->
6164         <attr name="fillType" format="enum">
6165             <enum name="nonZero" value="0"/>
6166             <enum name="evenOdd" value="1"/>
6167         </attr>
6168     </declare-styleable>
6170     <!-- Defines the clip path used in VectorDrawables. -->
6171     <declare-styleable name="VectorDrawableClipPath">
6172         <!-- The Name of this path. -->
6173         <attr name="name" />
6174         <!-- The specification of the operations that define the path. -->
6175         <attr name="pathData"/>
6176     </declare-styleable>
6178     <!-- ========================== -->
6179     <!--   AnimatedVectorDrawable class   -->
6180     <!-- ========================== -->
6181     <eat-comment />
6183     <!-- Define the AnimatedVectorDrawable. -->
6184     <declare-styleable name="AnimatedVectorDrawable">
6185         <!-- The static vector drawable. -->
6186         <attr name="drawable" />
6187     </declare-styleable>
6189     <!-- Defines the target used in the AnimatedVectorDrawable. -->
6190     <declare-styleable name="AnimatedVectorDrawableTarget">
6191         <!-- The name of the target path, group or vector drawable. -->
6192         <attr name="name" />
6193         <!-- The animation for the target path, group or vector drawable. -->
6194         <attr name="animation" />
6195     </declare-styleable>
6197     <!-- ========================== -->
6198     <!-- Animation class attributes -->
6199     <!-- ========================== -->
6200     <eat-comment />
6202     <declare-styleable name="Animation">
6203         <!-- Defines the interpolator used to smooth the animation movement in time. -->
6204         <attr name="interpolator" />
6205         <!-- When set to true, the value of fillBefore is taken into account. -->
6206         <attr name="fillEnabled" format="boolean" />
6207         <!-- When set to true or when fillEnabled is not set to true, the animation transformation
6208              is applied before the animation has started. The default value is true. -->
6209         <attr name="fillBefore" format="boolean" />
6210         <!-- When set to true, the animation transformation is applied after the animation is
6211              over. The default value is false. If fillEnabled is not set to true and the
6212              animation is not set on a View, fillAfter is assumed to be true.-->
6213         <attr name="fillAfter" format="boolean" />
6214         <!-- Amount of time (in milliseconds) for the animation to run. -->
6215         <attr name="duration" />
6216         <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
6217         <attr name="startOffset" format="integer" />
6218         <!-- Defines how many times the animation should repeat. The default value is 0. -->
6219         <attr name="repeatCount" format="integer">
6220             <enum name="infinite" value="-1" />
6221         </attr>
6222         <!-- Defines the animation behavior when it reaches the end and the repeat count is
6223              greater than 0 or infinite. The default value is restart. -->
6224         <attr name="repeatMode">
6225             <!-- The animation starts again from the beginning. -->
6226             <enum name="restart" value="1" />
6227             <!-- The animation plays backward. -->
6228             <enum name="reverse" value="2" />
6229         </attr>
6230         <!-- Allows for an adjustment of the Z ordering of the content being
6231              animated for the duration of the animation.  The default value is normal. -->
6232         <attr name="zAdjustment">
6233             <!-- The content being animated be kept in its current Z order. -->
6234             <enum name="normal" value="0" />
6235             <!-- The content being animated is forced on top of all other
6236                  content for the duration of the animation. -->
6237             <enum name="top" value="1" />
6238             <!-- The content being animated is forced under all other
6239                  content for the duration of the animation. -->
6240             <enum name="bottom" value="-1" />
6241         </attr>
6242         <!-- Special background behind animation.  Only for use with window
6243              animations.  Can only be a color, and only black.  If 0, the
6244              default, there is no background. -->
6245         <attr name="background" />
6246         <!-- Special option for window animations: if this window is on top
6247              of a wallpaper, don't animate the wallpaper with it. -->
6248         <attr name="detachWallpaper" format="boolean" />
6249     </declare-styleable>
6251     <declare-styleable name="AnimationSet">
6252         <attr name="shareInterpolator" format="boolean" />
6253         <attr name="fillBefore" />
6254         <attr name="fillAfter" />
6255         <attr name="duration" />
6256         <attr name="startOffset" />
6257         <attr name="repeatMode" />
6258     </declare-styleable>
6260     <declare-styleable name="RotateAnimation">
6261         <attr name="fromDegrees" />
6262         <attr name="toDegrees" />
6263         <attr name="pivotX" />
6264         <attr name="pivotY" />
6265     </declare-styleable>
6267     <declare-styleable name="ScaleAnimation">
6268         <attr name="fromXScale" format="float|fraction|dimension" />
6269         <attr name="toXScale" format="float|fraction|dimension" />
6270         <attr name="fromYScale" format="float|fraction|dimension" />
6271         <attr name="toYScale" format="float|fraction|dimension" />
6272         <attr name="pivotX" />
6273         <attr name="pivotY" />
6274     </declare-styleable>
6276     <declare-styleable name="TranslateAnimation">
6277         <attr name="fromXDelta" format="float|fraction" />
6278         <attr name="toXDelta" format="float|fraction" />
6279         <attr name="fromYDelta" format="float|fraction" />
6280         <attr name="toYDelta" format="float|fraction" />
6281     </declare-styleable>
6283     <declare-styleable name="AlphaAnimation">
6284         <attr name="fromAlpha" format="float" />
6285         <attr name="toAlpha" format="float" />
6286     </declare-styleable>
6288     <declare-styleable name="LayoutAnimation">
6289         <!-- Fraction of the animation duration used to delay the beginning of
6290          the animation of each child. -->
6291         <attr name="delay" format="float|fraction" />
6292         <!-- Animation to use on each child. -->
6293         <attr name="animation" format="reference" />
6294         <!-- The order in which the animations will be started. -->
6295         <attr name="animationOrder">
6296             <!-- Animations are started in the natural order. -->
6297             <enum name="normal" value="0" />
6298             <!-- Animations are started in the reverse order. -->
6299             <enum name="reverse" value="1" />
6300             <!-- Animations are started randomly. -->
6301             <enum name="random" value="2" />
6302         </attr>
6303         <!-- Interpolator used to interpolate the delay between the start of
6304          each animation. -->
6305         <attr name="interpolator" />
6306     </declare-styleable>
6308     <declare-styleable name="GridLayoutAnimation">
6309         <!-- Fraction of the animation duration used to delay the beginning of
6310          the animation of each column. -->
6311         <attr name="columnDelay" format="float|fraction" />
6312         <!-- Fraction of the animation duration used to delay the beginning of
6313          the animation of each row. -->
6314         <attr name="rowDelay" format="float|fraction" />
6315         <!-- Direction of the animation in the grid. -->
6316         <attr name="direction">
6317             <!-- Animates columns from left to right. -->
6318             <flag name="left_to_right" value="0x0" />
6319             <!-- Animates columns from right to left. -->
6320             <flag name="right_to_left" value="0x1" />
6321             <!-- Animates rows from top to bottom. -->
6322             <flag name="top_to_bottom" value="0x0" />
6323             <!-- Animates rows from bottom to top. -->
6324             <flag name="bottom_to_top" value="0x2" />
6325         </attr>
6326         <!-- Priority of the rows and columns. When the priority is none,
6327          both rows and columns have the same priority. When the priority is
6328          column, the animations will be applied on the columns first. The same
6329          goes for rows. -->
6330         <attr name="directionPriority">
6331             <!-- Rows and columns are animated at the same time. -->
6332             <enum name="none"   value="0" />
6333             <!-- Columns are animated first. -->
6334             <enum name="column" value="1" />
6335             <!-- Rows are animated first. -->
6336             <enum name="row"    value="2" />
6337         </attr>
6338     </declare-styleable>
6340     <declare-styleable name="AccelerateInterpolator">
6341         <!-- This is the amount of deceleration to add when easing in. -->
6342         <attr name="factor" format="float" />
6343     </declare-styleable>
6345     <declare-styleable name="DecelerateInterpolator">
6346         <!-- This is the amount of acceleration to add when easing out. -->
6347         <attr name="factor" />
6348     </declare-styleable>
6350     <declare-styleable name="CycleInterpolator">
6351         <attr name="cycles" format="float" />
6352     </declare-styleable>
6354     <declare-styleable name="AnticipateInterpolator">
6355         <!-- This is the amount of tension. -->
6356         <attr name="tension" format="float" />
6357     </declare-styleable>
6359     <declare-styleable name="OvershootInterpolator">
6360         <!-- This is the amount of tension. -->
6361         <attr name="tension" />
6362     </declare-styleable>
6364     <declare-styleable name="AnticipateOvershootInterpolator">
6365         <!-- This is the amount of tension. -->
6366         <attr name="tension" />
6367         <!-- This is the amount by which to multiply the tension. -->
6368         <attr name="extraTension" format="float" />
6369     </declare-styleable>
6371     <declare-styleable name="PathInterpolator">
6372         <!-- The x coordinate of the first control point of the cubic Bezier. -->
6373         <attr name="controlX1" format="float" />
6374         <!-- The y coordinate of the first control point of the cubic Bezier. -->
6375         <attr name="controlY1" format="float" />
6376         <!-- The x coordinate of the second control point of the cubic Bezier. -->
6377         <attr name="controlX2" format="float" />
6378         <!-- The y coordinate of the second control point of the cubic Bezier. -->
6379         <attr name="controlY2" format="float" />
6380         <!-- The control points defined as a path.
6381              When pathData is defined, then both of the control points of the
6382              cubic Bezier will be ignored. -->
6383         <attr name="pathData"/>
6384     </declare-styleable>
6386     <!-- ========================== -->
6387     <!-- Transition attributes -->
6388     <!-- ========================== -->
6389     <eat-comment />
6391     <!-- Use specific transition subclass names as the root tag of the XML resource that
6392          describes a {@link android.transition.Transition Transition},
6393          such as <code>changeBounds</code>, <code>fade</code>, and <code>transitionSet</code>. -->
6394     <declare-styleable name="Transition">
6395         <!-- Amount of time (in milliseconds) that the transition should run. -->
6396         <attr name="duration" />
6397         <!-- Delay in milliseconds before the transition starts. -->
6398         <attr name="startDelay" format="integer" />
6399         <!-- Interpolator to be used in the animations spawned by this transition. -->
6400         <attr name="interpolator" />
6401         <!-- The match order to use for the transition. This is a comma-separated
6402              list of values, containing one or more of the following:
6403              id, itemId, name, instance. These correspond to
6404              {@link android.transition.Transition#MATCH_ID},
6405              {@link android.transition.Transition#MATCH_ITEM_ID},
6406              {@link android.transition.Transition#MATCH_NAME}, and
6407              {@link android.transition.Transition#MATCH_INSTANCE}, respectively.
6408              This corresponds to {@link android.transition.Transition#setMatchOrder(int...)}. -->
6409         <attr name="matchOrder" format="string" />
6410     </declare-styleable>
6412     <!-- @hide For internal use only. Use only as directed. -->
6413     <declare-styleable name="EpicenterTranslateClipReveal">
6414         <attr name="interpolatorX" format="reference" />
6415         <attr name="interpolatorY" format="reference" />
6416         <attr name="interpolatorZ" format="reference" />
6417     </declare-styleable>
6419     <!-- Use <code>fade</code>as the root tag of the XML resource that
6420          describes a {@link android.transition.Fade Fade} transition.
6421          The attributes of the {@link android.R.styleable#Transition Transition}
6422          resource are available in addition to the specific attributes of Fade
6423          described here. -->
6424     <declare-styleable name="Fade">
6425         <!-- Equivalent to <code>transitionVisibilityMode</code>, fadingMode works only
6426              with the Fade transition. -->
6427         <attr name="fadingMode">
6428             <!-- Fade will only fade appearing items in. -->
6429             <enum name="fade_in" value="1" />
6430             <!-- Fade will only fade disappearing items out. -->
6431             <enum name="fade_out" value="2" />
6432             <!-- Fade will fade appearing items in and disappearing items out. -->
6433             <enum name="fade_in_out" value="3" />
6434         </attr>
6435     </declare-styleable>
6437     <!-- Use <code>slide</code>as the root tag of the XML resource that
6438          describes a {@link android.transition.Slide Slide} transition.
6439          The attributes of the {@link android.R.styleable#Transition Transition}
6440          resource are available in addition to the specific attributes of Slide
6441          described here. -->
6442     <declare-styleable name="Slide">
6443         <attr name="slideEdge">
6444             <!-- Slide to and from the left edge of the Scene. -->
6445             <enum name="left" value="0x03" />
6446             <!-- Slide to and from the top edge of the Scene. -->
6447             <enum name="top" value="0x30" />
6448             <!-- Slide to and from the right edge of the Scene. -->
6449             <enum name="right" value="0x05" />
6450             <!-- Slide to and from the bottom edge of the Scene. -->
6451             <enum name="bottom" value="0x50" />
6452             <!-- Slide to and from the x-axis position at the start of the Scene root. -->
6453             <enum name="start" value="0x00800003"/>
6454             <!-- Slide to and from the x-axis position at the end of the Scene root. -->
6455             <enum name="end" value="0x00800005"/>
6456         </attr>
6457     </declare-styleable>
6459     <!-- Use with {@link android.transition.Visibility} transitions, such as
6460          <code>slide</code>, <code>explode</code>, and <code>fade</code> to mark which
6461          views are supported. -->
6462     <declare-styleable name="VisibilityTransition">
6463         <!-- Changes whether the transition supports appearing and/or disappearing Views.
6464              Corresponds to {@link android.transition.Visibility#setMode(int)}. -->
6465         <attr name="transitionVisibilityMode">
6466             <!-- Only appearing Views will be supported. -->
6467             <flag name="mode_in" value="1" />
6468             <!-- Only disappearing Views will be supported. -->
6469             <flag name="mode_out" value="2" />
6470         </attr>
6471     </declare-styleable>
6472     <!-- Use <code>target</code> as the root tag of the XML resource that
6473      describes a {@link android.transition.Transition#addTarget(int)
6474      targetId} of a transition. There can be one or more targets inside
6475      a <code>targets</code> tag, which is itself inside an appropriate
6476      {@link android.R.styleable#Transition Transition} tag.
6477      -->
6478     <declare-styleable name="TransitionTarget">
6479         <!-- The id of a target on which this transition will animate changes. -->
6480         <attr name="targetId" format="reference" />
6481         <!-- The id of a target to exclude from this transition. -->
6482         <attr name="excludeId" format="reference" />
6483         <!-- The fully-qualified name of the Class to include in this transition. -->
6484         <attr name="targetClass" />
6485         <!-- The fully-qualified name of the Class to exclude from this transition. -->
6486         <attr name="excludeClass" format="string" />
6487         <!-- The transitionName of the target on which this transition will animation changes. -->
6488         <attr name="targetName" format="string" />
6489         <!-- The transitionName of the target to exclude from this transition. -->
6490         <attr name="excludeName" format="string" />
6491     </declare-styleable>
6493     <!-- Use <code>set</code> as the root tag of the XML resource that
6494          describes a {@link android.transition.TransitionSet
6495          TransitionSet} transition. -->
6496     <declare-styleable name="TransitionSet">
6497         <attr name="transitionOrdering">
6498             <!-- child transitions should be played together. -->
6499             <enum name="together" value="0" />
6500             <!-- child transitions should be played sequentially, in the same order
6501             as the xml. -->
6502             <enum name="sequential" value="1" />
6503         </attr>
6504     </declare-styleable>
6506     <!-- Use <code>changeTransform</code> as the root tag of the XML resource that
6507          describes a {@link android.transition.ChangeTransform} transition. -->
6508     <declare-styleable name="ChangeTransform">
6509         <!-- A parent change should use an overlay or affect the transform of the
6510              transitionining View. Default is true. Corresponds to
6511              {@link android.transition.ChangeTransform#setReparentWithOverlay(boolean)}. -->
6512         <attr name="reparentWithOverlay" format="boolean"/>
6514         <!-- Tells ChangeTransform to track parent changes. Default is true. Corresponds to
6515              {@link android.transition.ChangeTransform#setReparent(boolean)}. -->
6516         <attr name="reparent" format="boolean"/>
6517     </declare-styleable>
6519     <!-- Use <code>changeBounds</code>as the root tag of the XML resource that
6520          describes a {@link android.transition.ChangeBounds} transition.
6521          The attributes of the {@link android.R.styleable#Transition Transition}
6522          resource are available in addition to the specific attributes of ChangeBounds
6523          described here. -->
6524     <declare-styleable name="ChangeBounds">
6525         <!-- Resize the view by adjusting the clipBounds rather than changing the
6526              dimensions of the view itself. The default value is false. -->
6527         <attr name="resizeClip" format="boolean"/>
6528     </declare-styleable>
6530     <!-- Use <code>transitionManager</code> as the root tag of the XML resource that
6531          describes a {@link android.transition.TransitionManager
6532          TransitionManager}. -->
6533     <declare-styleable name="TransitionManager">
6534         <!-- The id of a transition to be used in a particular scene change. -->
6535         <attr name="transition" format="reference" />
6536         <!-- The originating scene in this scene change. -->
6537         <attr name="fromScene" format="reference" />
6538         <!-- The destination scene in this scene change. -->
6539         <attr name="toScene" format="reference" />
6540     </declare-styleable>
6542     <!-- Use <code>arcMotion</code> as the root tag of the XML resource that
6543          describes a {@link android.transition.ArcMotion}. This must be used
6544          within a transition with which the PathMotion should be associated. -->
6545     <declare-styleable name="ArcMotion">
6546         <!-- The minimum arc angle in degrees between the start and end points when
6547              they are close to horizontal. -->
6548         <attr name="minimumHorizontalAngle" format="float" />
6549         <!-- The minimum arc angle in degrees between the start and end points when
6550              they are close to vertical. -->
6551         <attr name="minimumVerticalAngle" format="float" />
6552         <!-- The maximum arc angle in degrees between the start and end points. -->
6553         <attr name="maximumAngle" format="float" />
6554     </declare-styleable>
6556     <!-- Use <code>patternPathMotion</code> as the root tag of the XML resource that
6557          describes a {@link android.transition.PatternPathMotion}. This must be used
6558          within a transition with which the PathMotion should be associated. -->
6559     <declare-styleable name="PatternPathMotion">
6560         <!-- The path string describing the pattern to use for the PathPathMotion. -->
6561         <attr name="patternPathData" format="string" />
6562     </declare-styleable>
6564     <!-- ========================== -->
6565     <!-- ValueAnimator class attributes -->
6566     <!-- ========================== -->
6567     <eat-comment />
6569     <declare-styleable name="Animator">
6570         <!-- Defines the interpolator used to smooth the animation movement in time. -->
6571         <attr name="interpolator" />
6572         <!-- Amount of time (in milliseconds) for the animation to run. -->
6573         <attr name="duration" />
6574         <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
6575         <attr name="startOffset"/>
6576         <!-- Defines how many times the animation should repeat. The default value is 0. -->
6577         <attr name="repeatCount"/>
6578         <!-- Defines the animation behavior when it reaches the end and the repeat count is
6579              greater than 0 or infinite. The default value is restart. -->
6580         <attr name="repeatMode"/>
6581         <!-- Value the animation starts from. -->
6582         <attr name="valueFrom" format="float|integer|color|dimension|string"/>
6583         <!-- Value the animation animates to. -->
6584         <attr name="valueTo" format="float|integer|color|dimension|string"/>
6585         <!-- The type of valueFrom and valueTo. -->
6586         <attr name="valueType">
6587             <!-- The given values are floats. This is the default value if valueType is
6588                  unspecified. Note that if any value attribute has a color value
6589                  (beginning with "#"), then this attribute is ignored and the color values are
6590                  interpreted as integers. -->
6591             <enum name="floatType" value="0" />
6592             <!-- values are integers. -->
6593             <enum name="intType"   value="1" />
6594             <!-- values are paths defined as strings.
6595                  This type is used for path morphing in AnimatedVectorDrawable. -->
6596             <enum name="pathType"   value="2" />
6597             <!-- values are colors, which are integers starting with "#". -->
6598             <enum name="colorType"   value="3" />
6599         </attr>
6600         <!-- Placeholder for a deleted attribute. This should be removed before M release. -->
6601         <attr name="removeBeforeMRelease" format="integer" />
6602     </declare-styleable>
6604     <declare-styleable name="PropertyValuesHolder">
6605         <attr name="valueType" />
6606         <attr name="propertyName" />
6607         <attr name="valueFrom" />
6608         <attr name="valueTo" />
6609     </declare-styleable>
6611     <declare-styleable name="Keyframe">
6612         <attr name="valueType" />
6613         <attr name="value" />
6614         <attr name="fraction" format="float" />
6615         <!-- Defines a per-interval interpolator for this keyframe. This interpolator will be used
6616              to interpolate between this keyframe and the previous keyframe. -->
6617         <attr name="interpolator" />
6618     </declare-styleable>
6620     <!-- ========================== -->
6621     <!-- ObjectAnimator class attributes -->
6622     <!-- ========================== -->
6623     <eat-comment />
6625     <declare-styleable name="PropertyAnimator">
6626         <!-- Name of the property being animated. -->
6627         <attr name="propertyName" format="string"/>
6628         <!-- Name of the property being animated as the X coordinate of the pathData. -->
6629         <attr name="propertyXName" format="string"/>
6630         <!-- Name of the property being animated as the Y coordinate of the pathData. -->
6631         <attr name="propertyYName" format="string"/>
6632         <!-- The path used to animate the properties in the ObjectAnimator. -->
6633         <attr name="pathData"/>
6634     </declare-styleable>
6637     <!-- ========================== -->
6638     <!-- AnimatorSet class attributes -->
6639     <!-- ========================== -->
6640     <eat-comment />
6642     <declare-styleable name="AnimatorSet">
6643         <!-- Name of the property being animated. -->
6644         <attr name="ordering">
6645             <!-- child animations should be played together. -->
6646             <enum name="together" value="0" />
6647             <!-- child animations should be played sequentially, in the same order as the xml. -->
6648             <enum name="sequentially" value="1" />
6649         </attr>
6650     </declare-styleable>
6652     <!-- ========================== -->
6653     <!-- State attributes           -->
6654     <!-- ========================== -->
6655     <eat-comment />
6657     <!-- Set of framework-provided states that may be specified on a Drawable. Actual usage of
6658          states may vary between view implementations, as documented on the individual state
6659          attributes. -->
6660     <declare-styleable name="DrawableStates">
6661         <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6662              set when a view has input focus. -->
6663         <attr name="state_focused" format="boolean" />
6664         <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6665              set when a view's window has input focus. -->
6666         <attr name="state_window_focused" format="boolean" />
6667         <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6668              set when a view is enabled. -->
6669         <attr name="state_enabled" format="boolean" />
6670         <!-- State identifier indicating that the object <var>may</var> display a check mark. See
6671              {@link android.R.attr#state_checked} for the identifier that indicates whether it is
6672              actually checked. -->
6673         <attr name="state_checkable" format="boolean"/>
6674         <!-- State identifier indicating that the object is currently checked.  See
6675              {@link android.R.attr#state_checkable} for an additional identifier that can indicate
6676              if any object may ever display a check, regardless of whether state_checked is
6677              currently set. -->
6678         <attr name="state_checked" format="boolean"/>
6679         <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6680              set when a view (or one of its parents) is currently selected. -->
6681         <attr name="state_selected" format="boolean" />
6682         <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6683              set when the user is pressing down in a view. -->
6684         <attr name="state_pressed" format="boolean" />
6685         <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6686              set when a view or its parent has been "activated" meaning the user has currently
6687              marked it as being of interest.  This is an alternative representation of
6688              state_checked for when the state should be propagated down the view hierarchy. -->
6689         <attr name="state_activated" format="boolean" />
6690         <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6691              set when a view or drawable is considered "active" by its host. Actual usage may vary
6692              between views. Consult the host view documentation for details. -->
6693         <attr name="state_active" format="boolean" />
6694         <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6695              set when a view or drawable is considered "single" by its host. Actual usage may vary
6696              between views. Consult the host view documentation for details. -->
6697         <attr name="state_single" format="boolean" />
6698         <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6699              set when a view or drawable is in the first position in an ordered set. Actual usage
6700              may vary between views. Consult the host view documentation for details. -->
6701         <attr name="state_first" format="boolean" />
6702         <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6703              set when a view or drawable is in the middle position in an ordered set. Actual usage
6704              may vary between views. Consult the host view documentation for details. -->
6705         <attr name="state_middle" format="boolean" />
6706         <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6707              set when a view or drawable is in the last position in an ordered set. Actual usage
6708              may vary between views. Consult the host view documentation for details. -->
6709         <attr name="state_last" format="boolean" />
6710         <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6711              indicating that the Drawable is in a view that is hardware accelerated.
6712              This means that the device can at least render a full-screen scaled
6713              bitmap with one layer of text and bitmaps composited on top of it
6714              at 60fps.  When this is set, the colorBackgroundCacheHint will be
6715              ignored even if it specifies a solid color, since that optimization
6716              is not needed. -->
6717         <attr name="state_accelerated" format="boolean" />
6718         <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6719              set when a pointer is hovering over the view. -->
6720         <attr name="state_hovered" format="boolean" />
6721         <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6722              indicating that the Drawable is in a view that is capable of accepting a drop of
6723              the content currently being manipulated in a drag-and-drop operation. -->
6724         <attr name="state_drag_can_accept" format="boolean" />
6725         <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6726              indicating that a drag operation (for which the Drawable's view is a valid recipient)
6727              is currently positioned over the Drawable. -->
6728         <attr name="state_drag_hovered" format="boolean" />
6729         <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6730              indicating that a View has accessibility focus. -->
6731         <attr name="state_accessibility_focused" format="boolean" />
6732     </declare-styleable>
6733     <declare-styleable name="ViewDrawableStates">
6734         <attr name="state_pressed" />
6735         <attr name="state_focused" />
6736         <attr name="state_selected" />
6737         <attr name="state_window_focused" />
6738         <attr name="state_enabled" />
6739         <attr name="state_activated" />
6740         <attr name="state_accelerated" />
6741         <attr name="state_hovered" />
6742         <attr name="state_drag_can_accept" />
6743         <attr name="state_drag_hovered" />
6744     </declare-styleable>
6745     <!-- State array representing a menu item that is currently checked. -->
6746     <declare-styleable name="MenuItemCheckedState">
6747         <attr name="state_checkable" />
6748         <attr name="state_checked" />
6749     </declare-styleable>
6750     <!-- State array representing a menu item that is checkable but is not currently checked. -->
6751     <declare-styleable name="MenuItemUncheckedState">
6752         <attr name="state_checkable" />
6753     </declare-styleable>
6754     <!-- State array representing a menu item that is currently focused and checked. -->
6755     <declare-styleable name="MenuItemCheckedFocusedState">
6756         <attr name="state_checkable" />
6757         <attr name="state_checked" />
6758         <attr name="state_focused" />
6759     </declare-styleable>
6760     <!-- State array representing a menu item that is focused and checkable but is not currently checked. -->
6761     <declare-styleable name="MenuItemUncheckedFocusedState">
6762         <attr name="state_checkable" />
6763         <attr name="state_focused" />
6764     </declare-styleable>
6765     <!-- State array representing an expandable list child's indicator. -->
6766     <declare-styleable name="ExpandableListChildIndicatorState">
6767         <!-- State identifier indicating the child is the last child within its group. -->
6768         <attr name="state_last" />
6769     </declare-styleable>
6770     <!-- State array representing an expandable list group's indicator. -->
6771     <declare-styleable name="ExpandableListGroupIndicatorState">
6772         <!-- State identifier indicating the group is expanded. -->
6773         <attr name="state_expanded" format="boolean" />
6774         <!-- State identifier indicating the group is empty (has no children). -->
6775         <attr name="state_empty" format="boolean" />
6776     </declare-styleable>
6777     <declare-styleable name="PopupWindowBackgroundState">
6778         <!-- State identifier indicating the popup will be above the anchor. -->
6779         <attr name="state_above_anchor" format="boolean" />
6780     </declare-styleable>
6781     <declare-styleable name="TextViewMultiLineBackgroundState">
6782         <!-- State identifier indicating a TextView has a multi-line layout. -->
6783         <attr name="state_multiline" format="boolean" />
6784     </declare-styleable>
6786     <!-- ***************************************************************** -->
6787     <!-- Support for Searchable activities. -->
6788     <!-- ***************************************************************** -->
6789     <eat-comment />
6791     <!-- Searchable activities and applications must provide search configuration information
6792         in an XML file, typically called searchable.xml.  This file is referenced in your manifest.
6793         For a more in-depth discussion of search configuration, please refer to
6794         {@link android.app.SearchManager}. -->
6795     <declare-styleable name="Searchable">
6796           <!--<strong>This is deprecated.</strong><br/>The default
6797               application icon is now always used, so this attribute is
6798               obsolete.-->
6799         <attr name="icon" />
6800         <!-- This is the user-displayed name of the searchable activity.  <i>Required
6801             attribute.</i> -->
6802         <attr name="label" />
6803         <!-- If supplied, this string will be displayed as a hint to the user.  <i>Optional
6804             attribute.</i> -->
6805         <attr name="hint" />
6806         <!-- If supplied, this string will be displayed as the text of the "Search" button.
6807           <i>Optional attribute.</i>
6808           {@deprecated This will create a non-standard UI appearance, because the search bar UI is
6809                        changing to use only icons for its buttons.}-->
6810         <attr name="searchButtonText" format="string" />
6811         <attr name="inputType" />
6812         <attr name="imeOptions" />
6814         <!-- Additional features are controlled by mode bits in this field.  Omitting
6815             this field, or setting to zero, provides default behavior.  <i>Optional attribute.</i>
6816         -->
6817         <attr name="searchMode">
6818           <!-- If set, this flag enables the display of the search target (label) within the
6819                search bar.  If neither bad mode is selected, no badge will be shown. -->
6820           <flag name="showSearchLabelAsBadge" value="0x04" />
6821           <!--<strong>This is deprecated.</strong><br/>The default
6822               application icon is now always used, so this option is
6823               obsolete.-->
6824           <flag name="showSearchIconAsBadge" value="0x08" />
6825           <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_INTENT_DATA to
6826                be considered as the text for suggestion query rewriting.  This should only
6827                be used when the values in SUGGEST_COLUMN_INTENT_DATA are suitable for user
6828                inspection and editing - typically, HTTP/HTTPS Uri's. -->
6829           <flag name="queryRewriteFromData" value="0x10" />
6830           <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_TEXT_1 to
6831                be considered as the text for suggestion query rewriting.  This should be used
6832                for suggestions in which no query text is provided and the SUGGEST_COLUMN_INTENT_DATA
6833                values are not suitable for user inspection and editing. -->
6834           <flag name="queryRewriteFromText" value="0x20" />
6835         </attr>
6837         <!-- Voice search features are controlled by mode bits in this field.  Omitting
6838             this field, or setting to zero, provides default behavior.
6839             If showVoiceSearchButton is set, then launchWebSearch or launchRecognizer must
6840             also be set.  <i>Optional attribute.</i>
6841         -->
6842         <attr name="voiceSearchMode">
6843           <!-- If set, display a voice search button.  This only takes effect if voice search is
6844                available on the device. -->
6845           <flag name="showVoiceSearchButton" value="0x01" />
6846           <!-- If set, the voice search button will take the user directly to a built-in
6847                voice web search activity.  Most applications will not use this flag, as it
6848                will take the user away from the activity in which search was invoked. -->
6849           <flag name="launchWebSearch" value="0x02" />
6850           <!-- If set, the voice search button will take the user directly to a built-in
6851                voice recording activity.  This activity will prompt the user to speak,
6852                transcribe the spoken text, and forward the resulting query
6853                text to the searchable activity, just as if the user had typed it into
6854                the search UI and clicked the search button. -->
6855           <flag name="launchRecognizer" value="0x04" />
6856         </attr>
6858         <!-- If provided, this specifies the language model that should be used by the
6859              voice recognition system.  See
6860              {@link android.speech.RecognizerIntent#EXTRA_LANGUAGE_MODEL } for more information.
6861              If not provided, the default value
6862              {@link android.speech.RecognizerIntent#LANGUAGE_MODEL_FREE_FORM } will be used. -->
6863         <attr name="voiceLanguageModel" format="string" />
6864         <!-- If provided, this specifies a prompt that will be displayed during voice input. -->
6865         <attr name="voicePromptText" format="string" />
6866         <!-- If provided, this specifies the spoken language to be expected, and that it will be
6867              different than the one set in the {@link java.util.Locale#getDefault()}. -->
6868         <attr name="voiceLanguage" format="string" />
6869         <!-- If provided, enforces the maximum number of results to return, including the "best"
6870              result which will always be provided as the SEARCH intent's primary query.  Must be one
6871              or greater.  If not provided, the recognizer will choose how many results to return.
6872              -->
6873         <attr name="voiceMaxResults" format="integer" />
6875         <!-- If provided, this is the trigger indicating that the searchable activity
6876             provides suggestions as well.  The value must be a fully-qualified content provider
6877             authority (for example, "com.example.android.apis.SuggestionProvider") and should match
6878             the "android:authorities" tag in your content provider's manifest entry.  <i>Optional
6879             attribute.</i> -->
6880         <attr name="searchSuggestAuthority" format="string" />
6881         <!-- If provided, this will be inserted in the suggestions query Uri, after the authority
6882             you have provide but before the standard suggestions path. <i>Optional attribute.</i>
6883             -->
6884         <attr name="searchSuggestPath" format="string" />
6885         <!-- If provided, suggestion queries will be passed into your query function
6886             as the <i>selection</i> parameter.  Typically this will be a WHERE clause for your
6887             database, and will contain a single question mark, which represents the actual query
6888             string that has been typed by the user.  If not provided, then the user query text
6889             will be appended to the query Uri (after an additional "/".)  <i>Optional
6890             attribute.</i> -->
6891         <attr name="searchSuggestSelection" format="string" />
6893         <!-- If provided, and not overridden by an action in the selected suggestion, this
6894             string will be placed in the action field of the {@link android.content.Intent Intent}
6895             when the user clicks a suggestion.  <i>Optional attribute.</i> -->
6896         <attr name="searchSuggestIntentAction" format="string" />
6897         <!-- If provided, and not overridden by an action in the selected suggestion, this
6898             string will be placed in the data field of the {@link android.content.Intent Intent}
6899             when the user clicks a suggestion.  <i>Optional attribute.</i> -->
6900         <attr name="searchSuggestIntentData" format="string" />
6902         <!-- If provided, this is the minimum number of characters needed to trigger
6903              search suggestions. The default value is 0. <i>Optional attribute.</i> -->
6904         <attr name="searchSuggestThreshold" format="integer" />
6906         <!-- If provided and <code>true</code>, this searchable activity will be
6907              included in any global lists of search targets.
6908              The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6909         <attr name="includeInGlobalSearch" format="boolean" />
6911         <!-- If provided and <code>true</code>, this searchable activity will be invoked for all
6912              queries in a particular session. If set to <code>false</code> and the activity
6913              returned zero results for a query, it will not be invoked again in that session for
6914              supersets of that zero-results query. For example, if the activity returned zero
6915              results for "bo", it would not be queried again for "bob".
6916              The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6917         <attr name="queryAfterZeroResults" format="boolean" />
6918         <!-- If provided, this string will be used to describe the searchable item in the
6919              searchable items settings within system search settings. <i>Optional
6920              attribute.</i> -->
6921         <attr name="searchSettingsDescription" format="string" />
6923         <!-- If provided and <code>true</code>, URLs entered in the search dialog while searching
6924              within this activity would be detected and treated as URLs (show a 'go' button in the
6925              keyboard and invoke the browser directly when user launches the URL instead of passing
6926              the URL to the activity). If set to <code>false</code> any URLs entered are treated as
6927              normal query text.
6928              The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6929         <attr name="autoUrlDetect" format="boolean" />
6931     </declare-styleable>
6933     <!-- In order to process special action keys during search, you must define them using
6934             one or more "ActionKey" elements in your Searchable metadata.  For a more in-depth
6935             discussion of action code handling, please refer to {@link android.app.SearchManager}.
6936     -->
6937     <declare-styleable name="SearchableActionKey">
6938         <!-- This attribute denotes the action key you wish to respond to.  Note that not
6939             all action keys are actually supported using this mechanism, as many of them are
6940             used for typing, navigation, or system functions.  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 key code, use
6943             {@link android.content.Intent#getIntExtra getIntExtra(SearchManager.ACTION_KEY)}.
6944             <p>Note, in addition to the keycode, you must also provide one or more of the action
6945             specifier attributes.  <i>Required attribute.</i> -->
6946         <attr name="keycode" />
6948         <!-- If you wish to handle an action key during normal search query entry, you
6949             must define an action string here.  This will be added to the
6950             {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6951             searchable activity.  To examine the string, use
6952             {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
6953             <i>Optional attribute.</i> -->
6954         <attr name="queryActionMsg"  format="string" />
6956         <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
6957             selected</i>, there are two ways to handle this.  If <i>all</i> of your suggestions
6958             can handle the action key, you can simply define the action message using this
6959             attribute.  This will be added to the
6960             {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6961             searchable activity.  To examine the string, use
6962             {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
6963             <i>Optional attribute.</i> -->
6964         <attr name="suggestActionMsg"  format="string" />
6966         <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
6967             selected</i>, but you do not wish to enable this action key for every suggestion,
6968             then you can use this attribute to control it on a suggestion-by-suggestion basis.
6969             First, you must define a column (and name it here) where your suggestions will include
6970             the action string.  Then, in your content provider, you must provide this column, and
6971             when desired, provide data in this column.
6972             The search manager will look at your suggestion cursor, using the string
6973             provided here in order to select a column, and will use that to select a string from
6974             the cursor.  That string will be added to the
6975             {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to
6976             your searchable activity.  To examine the string, use
6977             {@link android.content.Intent#getStringExtra
6978             getStringExtra(SearchManager.ACTION_MSG)}.  <i>If the data does not exist for the
6979             selection suggestion, the action key will be ignored.</i><i>Optional attribute.</i> -->
6980         <attr name="suggestActionMsgColumn" format="string" />
6982     </declare-styleable>
6984     <!-- ***************************************************************** -->
6985     <!-- Support for MapView. -->
6986     <!-- ***************************************************************** -->
6987     <eat-comment />
6989     <!-- The set of attributes for a MapView. -->
6990     <declare-styleable name="MapView">
6991         <!-- Value is a string that specifies the Maps API Key to use. -->
6992         <attr name="apiKey" format="string" />
6993     </declare-styleable>
6995     <!-- **************************************************************** -->
6996     <!-- Menu XML inflation. -->
6997     <!-- **************************************************************** -->
6998     <eat-comment />
7000     <!-- Base attributes that are available to all Menu objects. -->
7001     <declare-styleable name="Menu">
7002     </declare-styleable>
7004     <!-- Base attributes that are available to all groups. -->
7005     <declare-styleable name="MenuGroup">
7007         <!-- The ID of the group. -->
7008         <attr name="id" />
7010         <!-- The category applied to all items within this group.
7011              (This will be or'ed with the orderInCategory attribute.) -->
7012         <attr name="menuCategory">
7013             <!-- Items are part of a container. -->
7014             <enum name="container" value="0x00010000" />
7015             <!-- Items are provided by the system. -->
7016             <enum name="system" value="0x00020000" />
7017             <!-- Items are user-supplied secondary (infrequently used). -->
7018             <enum name="secondary" value="0x00030000" />
7019             <!-- Items are alternative actions. -->
7020             <enum name="alternative" value="0x00040000" />
7021         </attr>
7023         <!-- The order within the category applied to all items within this group.
7024              (This will be or'ed with the category attribute.) -->
7025         <attr name="orderInCategory" format="integer" />
7027         <!-- Whether the items are capable of displaying a check mark. -->
7028         <attr name="checkableBehavior">
7029             <!-- The items are not checkable. -->
7030             <enum name="none" value="0" />
7031             <!-- The items are all checkable. -->
7032             <enum name="all" value="1" />
7033             <!-- The items are checkable and there will only be a single checked item in
7034                  this group. -->
7035             <enum name="single" value="2" />
7036         </attr>
7038         <!-- Whether the items are shown/visible. -->
7039         <attr name="visible" />
7041         <!-- Whether the items are enabled. -->
7042         <attr name="enabled" />
7044     </declare-styleable>
7046     <!-- Base attributes that are available to all Item objects. -->
7047     <declare-styleable name="MenuItem">
7049         <!-- The ID of the item. -->
7050         <attr name="id" />
7052         <!-- The category applied to the item.
7053              (This will be or'ed with the orderInCategory attribute.) -->
7054         <attr name="menuCategory" />
7056         <!-- The order within the category applied to the item.
7057              (This will be or'ed with the category attribute.) -->
7058         <attr name="orderInCategory" />
7060         <!-- The title associated with the item. -->
7061         <attr name="title" format="string" />
7063         <!-- The condensed title associated with the item.  This is used in situations where the
7064              normal title may be too long to be displayed. -->
7065         <attr name="titleCondensed" format="string" />
7067         <!-- The icon associated with this item.  This icon will not always be shown, so
7068              the title should be sufficient in describing this item. -->
7069         <attr name="icon" />
7071         <!-- Tint to apply to the icon. -->
7072         <attr name="iconTint" format="color" />
7074         <!-- Blending mode used to apply the icon tint. -->
7075         <attr name="iconTintMode">
7076             <!-- The tint is drawn on top of the icon.
7077                  [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
7078             <enum name="src_over" value="3" />
7079             <!-- The tint is masked by the alpha channel of the icon. The icon’s
7080                  color channels are thrown out. [Sa * Da, Sc * Da] -->
7081             <enum name="src_in" value="5" />
7082             <!-- The tint is drawn above the icon, but with the icon’s alpha
7083                  channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
7084             <enum name="src_atop" value="9" />
7085             <!-- Multiplies the color and alpha channels of the icon with those of
7086                  the tint. [Sa * Da, Sc * Dc] -->
7087             <enum name="multiply" value="14" />
7088             <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
7089             <enum name="screen" value="15" />
7090             <!-- Combines the tint and icon color and alpha channels, clamping the
7091                  result to valid color values. Saturate(S + D) -->
7092             <enum name="add" value="16" />
7093         </attr>
7095         <!-- The alphabetic shortcut key.  This is the shortcut when using a keyboard
7096              with alphabetic keys. -->
7097         <attr name="alphabeticShortcut" format="string" />
7099         <!-- The alphabetic modifier key. This is the modifier when using a keyboard
7100              with alphabetic keys. The values should be kept in sync with KeyEvent -->
7101         <attr name="alphabeticModifiers">
7102             <flag name="META" value="0x10000" />
7103             <flag name="CTRL" value="0x1000" />
7104             <flag name="ALT" value="0x02" />
7105             <flag name="SHIFT" value="0x1" />
7106             <flag name="SYM" value="0x4" />
7107             <flag name="FUNCTION" value="0x8" />
7108         </attr>
7110         <!-- The numeric shortcut key.  This is the shortcut when using a numeric (for example,
7111              12-key) keyboard. -->
7112         <attr name="numericShortcut" format="string" />
7114         <!-- The numeric modifier key. This is the modifier when using a numeric (for example,
7115              12-key) keyboard. The values should be kept in sync with KeyEvent -->
7116         <attr name="numericModifiers">
7117             <flag name="META" value="0x10000" />
7118             <flag name="CTRL" value="0x1000" />
7119             <flag name="ALT" value="0x02" />
7120             <flag name="SHIFT" value="0x1" />
7121             <flag name="SYM" value="0x4" />
7122             <flag name="FUNCTION" value="0x8" />
7123         </attr>
7125         <!-- Whether the item is capable of displaying a check mark. -->
7126         <attr name="checkable" format="boolean" />
7128         <!-- Whether the item is checked.  Note that you must first have enabled checking with
7129              the checkable attribute or else the check mark will not appear. -->
7130         <attr name="checked" />
7132         <!-- Whether the item is shown/visible. -->
7133         <attr name="visible" />
7135         <!-- Whether the item is enabled. -->
7136         <attr name="enabled" />
7138         <!-- Name of a method on the Context used to inflate the menu that will be
7139              called when the item is clicked. -->
7140         <attr name="onClick" />
7142         <!-- How this item should display in the Action Bar, if present. -->
7143         <attr name="showAsAction">
7144             <!-- Never show this item in an action bar, show it in the overflow menu instead.
7145                  Mutually exclusive with "ifRoom" and "always". -->
7146             <flag name="never" value="0" />
7147             <!-- Show this item in an action bar if there is room for it as determined
7148                  by the system. Favor this option over "always" where possible.
7149                  Mutually exclusive with "never" and "always". -->
7150             <flag name="ifRoom" value="1" />
7151             <!-- Always show this item in an actionbar, even if it would override
7152                  the system's limits of how much stuff to put there. This may make
7153                  your action bar look bad on some screens. In most cases you should
7154                  use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never". -->
7155             <flag name="always" value="2" />
7156             <!-- When this item is shown as an action in the action bar, show a text
7157                  label with it even if it has an icon representation. -->
7158             <flag name="withText" value="4" />
7159             <!-- This item's action view collapses to a normal menu
7160                  item. When expanded, the action view takes over a
7161                  larger segment of its container. -->
7162             <flag name="collapseActionView" value="8" />
7163         </attr>
7165         <!-- An optional layout to be used as an action view.
7166              See {@link android.view.MenuItem#setActionView(android.view.View)}
7167              for more info. -->
7168         <attr name="actionLayout" format="reference" />
7170         <!-- The name of an optional View class to instantiate and use as an
7171              action view. See {@link android.view.MenuItem#setActionView(android.view.View)}
7172              for more info. -->
7173         <attr name="actionViewClass" format="string" />
7175         <!-- The name of an optional ActionProvider class to instantiate an action view
7176              and perform operations such as default action for that menu item.
7177              See {@link android.view.MenuItem#setActionProvider(android.view.ActionProvider)}
7178              for more info. -->
7179         <attr name="actionProviderClass" format="string" />
7181         <!-- The content description associated with the item. -->
7182         <attr name="contentDescription" format="string" />
7184         <!-- The tooltip text associated with the item. -->
7185         <attr name="tooltipText" format="string" />
7187     </declare-styleable>
7189     <!-- Attrbitutes for a ActvityChooserView. -->
7190     <declare-styleable name="ActivityChooserView">
7191         <!-- The maximal number of items initially shown in the activity list. -->
7192         <attr name="initialActivityCount" format="string" />
7193         <!-- The drawable to show in the button for expanding the activities overflow popup.
7194              <strong>Note:</strong> Clients would like to set this drawable
7195              as a clue about the action the chosen activity will perform. For
7196              example, if share activity is to be chosen the drawable should
7197              give a clue that sharing is to be performed.
7198          -->
7199         <attr name="expandActivityOverflowButtonDrawable" format="reference" />
7200     </declare-styleable>
7202     <!-- **************************************************************** -->
7203     <!-- Preferences framework. -->
7204     <!-- **************************************************************** -->
7205     <eat-comment />
7207     <!-- Base attributes available to PreferenceGroup. -->
7208     <declare-styleable name="PreferenceGroup">
7209         <!-- Whether to order the Preference under this group as they appear in the XML file.
7210              If this is false, the ordering will follow the Preference order attribute and
7211              default to alphabetic for those without the order attribute. -->
7212         <attr name="orderingFromXml" format="boolean" />
7213     </declare-styleable>
7215     <!-- Attribute for a header describing the item shown in the top-level list
7216          from which the selects the set of preference to dig in to. -->
7217     <declare-styleable name="PreferenceHeader">
7218         <!-- Identifier value for the header. -->
7219         <attr name="id" />
7220         <!-- The title of the item that is shown to the user. -->
7221         <attr name="title" />
7222         <!-- The summary for the item. -->
7223         <attr name="summary" format="string" />
7224         <!-- The title for the bread crumb of this item. -->
7225         <attr name="breadCrumbTitle" format="string" />
7226         <!-- The short title for the bread crumb of this item. -->
7227         <attr name="breadCrumbShortTitle" format="string" />
7228         <!-- An icon for the item. -->
7229         <attr name="icon" />
7230         <!-- The fragment that is displayed when the user selects this item. -->
7231         <attr name="fragment" format="string" />
7232     </declare-styleable>
7234     <!-- WARNING:  If adding attributes to Preference, make sure it does not conflict
7235                    with a View's attributes.  Some subclasses (for example, EditTextPreference)
7236                    proxy all attributes to its EditText widget. -->
7237     <eat-comment />
7239     <!-- Base attributes available to Preference. -->
7240     <declare-styleable name="Preference">
7241         <!-- The optional icon for the preference. -->
7242         <attr name="icon" />
7243         <!-- The key to store the Preference value. -->
7244         <attr name="key" format="string" />
7245         <!-- The title for the Preference. In API 25 and earlier, this value is read as a
7246          plain string with styling information stripped. -->
7247         <attr name="title" />
7248         <!-- The summary for the Preference. In API 25 and earlier, this value is read as a
7249          plain string with styling information stripped. -->
7250         <attr name="summary" />
7251         <!-- The order for the Preference (lower values are to be ordered first). If this is not
7252              specified, the default ordering will be alphabetic. -->
7253         <attr name="order" format="integer" />
7254         <!-- When used inside of a modern PreferenceActivity, this declares
7255              a new PreferenceFragment to be shown when the user selects this item. -->
7256         <attr name="fragment" />
7257         <!-- The layout for the Preference in a PreferenceActivity screen. This should
7258              rarely need to be changed, look at widgetLayout instead. -->
7259         <attr name="layout" />
7260         <!-- The layout for the controllable widget portion of a Preference. This is inflated
7261              into the layout for a Preference and should be used more frequently than
7262              the layout attribute. For example, a checkbox preference would specify
7263              a custom layout (consisting of just the CheckBox) here. -->
7264         <attr name="widgetLayout" format="reference" />
7265         <!-- Whether the Preference is enabled. -->
7266         <attr name="enabled" />
7267         <!-- Whether the Preference is selectable. -->
7268         <attr name="selectable" format="boolean" />
7269         <!-- The key of another Preference that this Preference will depend on.  If the other
7270              Preference is not set or is off, this Preference will be disabled. -->
7271         <attr name="dependency" format="string" />
7272         <!-- Whether the Preference stores its value to the storage. -->
7273         <attr name="persistent" />
7274         <!-- The default value for the preference, which will be set either if persistence
7275              is off or persistence is on and the preference is not found in the persistent
7276              storage.  -->
7277         <attr name="defaultValue" format="string|boolean|integer|reference|float" />
7278         <!-- Whether the view of this Preference should be disabled when
7279              this Preference is disabled. -->
7280         <attr name="shouldDisableView" format="boolean" />
7281         <!-- Whether the preference has enabled to have its view recycled when used in the list
7282              view. This is true by default. -->
7283         <attr name="recycleEnabled" format="boolean" />
7284         <!-- Whether to use single line for the preference title text. By default, preference title
7285              will be constrained to one line, so the default value of this attribute is true. -->
7286         <attr name="singleLineTitle" format="boolean" />
7287         <!-- Whether the space for the preference icon view will be reserved. By default, preference
7288              icon view visibility will be set to GONE when there is no icon provided, so the default
7289              value of this attribute is false. -->
7290         <attr name="iconSpaceReserved" format="boolean" />
7291     </declare-styleable>
7293     <!-- Base attributes available to CheckBoxPreference. -->
7294     <declare-styleable name="CheckBoxPreference">
7295         <!-- The summary for the Preference in a PreferenceActivity screen when the
7296              CheckBoxPreference is checked. If separate on/off summaries are not
7297              needed, the summary attribute can be used instead. -->
7298         <attr name="summaryOn" format="string" />
7299         <!-- The summary for the Preference in a PreferenceActivity screen when the
7300              CheckBoxPreference is unchecked. If separate on/off summaries are not
7301              needed, the summary attribute can be used instead. -->
7302         <attr name="summaryOff" format="string" />
7303         <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
7304              dependents will be disabled when this is unchecked, so the value of this preference is false. -->
7305         <attr name="disableDependentsState" format="boolean" />
7306     </declare-styleable>
7308     <!-- Base attributes available to DialogPreference. -->
7309     <declare-styleable name="DialogPreference">
7310         <!-- The title in the dialog. -->
7311         <attr name="dialogTitle" format="string" />
7312         <!-- The message in the dialog. If a dialogLayout is provided and contains
7313              a TextView with ID android:id/message, this message will be placed in there. -->
7314         <attr name="dialogMessage" format="string" />
7315         <!-- The icon for the dialog. -->
7316         <attr name="dialogIcon" format="reference" />
7317         <!-- The positive button text for the dialog. Set to @null to hide the positive button. -->
7318         <attr name="positiveButtonText" format="string" />
7319         <!-- The negative button text for the dialog. Set to @null to hide the negative button. -->
7320         <attr name="negativeButtonText" format="string" />
7321         <!-- A layout to be used as the content View for the dialog. By default, this shouldn't
7322              be needed. If a custom DialogPreference is required, this should be set. For example,
7323              the EditTextPreference uses a layout with an EditText as this attribute. -->
7324         <attr name="dialogLayout" format="reference" />
7325     </declare-styleable>
7327     <!-- Base attributes available to ListPreference. -->
7328     <declare-styleable name="ListPreference">
7329         <!-- The human-readable array to present as a list. Each entry must have a corresponding
7330              index in entryValues. -->
7331         <attr name="entries" />
7332         <!-- The array to find the value to save for a preference when an entry from
7333              entries is selected. If a user clicks on the second item in entries, the
7334              second item in this array will be saved to the preference. -->
7335         <attr name="entryValues" format="reference" />
7336     </declare-styleable>
7338     <declare-styleable name="MultiSelectListPreference">
7339         <!-- The human-readable array to present as a list. Each entry must have a corresponding
7340              index in entryValues. -->
7341         <attr name="entries" />
7342         <!-- The array to find the value to save for a preference when an entry from
7343              entries is selected. If a user clicks the second item in entries, the
7344              second item in this array will be saved to the preference. -->
7345         <attr name="entryValues" />
7346     </declare-styleable>
7348     <!-- Base attributes available to RingtonePreference. -->
7349     <declare-styleable name="RingtonePreference">
7350         <!-- Which ringtone type(s) to show in the picker. -->
7351         <attr name="ringtoneType">
7352             <!-- Ringtones. -->
7353             <flag name="ringtone" value="1" />
7354             <!-- Notification sounds. -->
7355             <flag name="notification" value="2" />
7356             <!-- Alarm sounds. -->
7357             <flag name="alarm" value="4" />
7358             <!-- All available ringtone sounds. -->
7359             <flag name="all" value="7" />
7360         </attr>
7361         <!-- Whether to show an item for a default sound. -->
7362         <attr name="showDefault" format="boolean" />
7363         <!-- Whether to show an item for 'Silent'. -->
7364         <attr name="showSilent" format="boolean" />
7365     </declare-styleable>
7367     <!-- Base attributes available to VolumePreference. -->
7368     <declare-styleable name="VolumePreference">
7369         <!-- Different audio stream types. -->
7370         <attr name="streamType">
7371             <enum name="voice" value="0" />
7372             <enum name="system" value="1" />
7373             <enum name="ring" value="2" />
7374             <enum name="music" value="3" />
7375             <enum name="alarm" value="4" />
7376         </attr>
7377     </declare-styleable>
7379     <declare-styleable name="InputMethodService">
7380         <!-- Background to use for entire input method when it is being
7381              shown in fullscreen mode with the extract view, to ensure
7382              that it completely covers the application.  This allows,
7383              for example, the candidate view to be hidden
7384              while in fullscreen mode without having the application show through
7385              behind it.-->
7386         <attr name="imeFullscreenBackground" format="reference|color" />
7387         <!-- Animation to use when showing the fullscreen extract UI after
7388              it had previously been hidden. -->
7389         <attr name="imeExtractEnterAnimation" format="reference" />
7390         <!-- Animation to use when hiding the fullscreen extract UI after
7391              it had previously been shown. -->
7392         <attr name="imeExtractExitAnimation" format="reference" />
7393     </declare-styleable>
7395     <declare-styleable name="VoiceInteractionSession">
7396     </declare-styleable>
7398     <declare-styleable name="KeyboardView">
7399         <!-- Default KeyboardView style. -->
7400         <attr name="keyboardViewStyle" format="reference" />
7402         <!-- Image for the key. This image needs to be a StateListDrawable, with the following
7403              possible states: normal, pressed, checkable, checkable+pressed, checkable+checked,
7404              checkable+checked+pressed. -->
7405         <attr name="keyBackground" format="reference" />
7407         <!-- Size of the text for character keys. -->
7408         <attr name="keyTextSize" format="dimension" />
7410         <!-- Size of the text for custom keys with some text and no icon. -->
7411         <attr name="labelTextSize" format="dimension" />
7413         <!-- Color to use for the label in a key. -->
7414         <attr name="keyTextColor" format="color" />
7416         <!-- Layout resource for key press feedback.-->
7417         <attr name="keyPreviewLayout" format="reference" />
7419         <!-- Vertical offset of the key press feedback from the key. -->
7420         <attr name="keyPreviewOffset" format="dimension" />
7422         <!-- Height of the key press feedback popup. -->
7423         <attr name="keyPreviewHeight" format="dimension" />
7425         <!-- Amount to offset the touch Y coordinate by, for bias correction. -->
7426         <attr name="verticalCorrection" format="dimension" />
7428         <!-- Layout resource for popup keyboards. -->
7429         <attr name="popupLayout" format="reference" />
7431         <attr name="shadowColor" />
7432         <attr name="shadowRadius" />
7433     </declare-styleable>
7435     <declare-styleable name="KeyboardViewPreviewState">
7436         <!-- State for {@link android.inputmethodservice.KeyboardView KeyboardView}
7437                 key preview background. -->
7438         <attr name="state_long_pressable" format="boolean" />
7439     </declare-styleable>
7441     <declare-styleable name="Keyboard">
7442         <!-- Default width of a key, in pixels or percentage of display width. -->
7443         <attr name="keyWidth" format="dimension|fraction" />
7444         <!-- Default height of a key, in pixels or percentage of display width. -->
7445         <attr name="keyHeight" format="dimension|fraction" />
7446         <!-- Default horizontal gap between keys. -->
7447         <attr name="horizontalGap" format="dimension|fraction" />
7448         <!-- Default vertical gap between rows of keys. -->
7449         <attr name="verticalGap" format="dimension|fraction" />
7450     </declare-styleable>
7452     <declare-styleable name="Keyboard_Row">
7453         <!-- Row edge flags. -->
7454         <attr name="rowEdgeFlags">
7455             <!-- Row is anchored to the top of the keyboard. -->
7456             <flag name="top" value="4" />
7457             <!-- Row is anchored to the bottom of the keyboard. -->
7458             <flag name="bottom" value="8" />
7459         </attr>
7460         <!-- Mode of the keyboard. If the mode doesn't match the
7461              requested keyboard mode, the row will be skipped. -->
7462         <attr name="keyboardMode" format="reference" />
7463     </declare-styleable>
7465     <declare-styleable name="Keyboard_Key">
7466         <!-- The unicode value or comma-separated values that this key outputs. -->
7467         <attr name="codes" format="integer|string" />
7468         <!-- The XML keyboard layout of any popup keyboard. -->
7469         <attr name="popupKeyboard" format="reference" />
7470         <!-- The characters to display in the popup keyboard. -->
7471         <attr name="popupCharacters" format="string" />
7472         <!-- Key edge flags. -->
7473         <attr name="keyEdgeFlags">
7474             <!-- Key is anchored to the left of the keyboard. -->
7475             <flag name="left" value="1" />
7476             <!-- Key is anchored to the right of the keyboard. -->
7477             <flag name="right" value="2" />
7478         </attr>
7479         <!-- Whether this is a modifier key such as Alt or Shift. -->
7480         <attr name="isModifier" format="boolean" />
7481         <!-- Whether this is a toggle key. -->
7482         <attr name="isSticky" format="boolean" />
7483         <!-- Whether long-pressing on this key will make it repeat. -->
7484         <attr name="isRepeatable" format="boolean" />
7485         <!-- The icon to show in the popup preview. -->
7486         <attr name="iconPreview" format="reference" />
7487         <!-- The string of characters to output when this key is pressed. -->
7488         <attr name="keyOutputText" format="string" />
7489         <!-- The label to display on the key. -->
7490         <attr name="keyLabel" format="string" />
7491         <!-- The icon to display on the key instead of the label. -->
7492         <attr name="keyIcon" format="reference" />
7493         <!-- Mode of the keyboard. If the mode doesn't match the
7494              requested keyboard mode, the key will be skipped. -->
7495         <attr name="keyboardMode" />
7496     </declare-styleable>
7498     <!-- =============================== -->
7499     <!-- AppWidget package class attributes -->
7500     <!-- =============================== -->
7501     <eat-comment />
7503     <!-- Use <code>appwidget-provider</code> as the root tag of the XML resource that
7504          describes an AppWidget provider.  See {@link android.appwidget android.appwidget}
7505          package for more info.
7506      -->
7507     <declare-styleable name="AppWidgetProviderInfo">
7508         <!-- Minimum width of the AppWidget. -->
7509         <attr name="minWidth"/>
7510         <!-- Minimum height of the AppWidget. -->
7511         <attr name="minHeight"/>
7512         <!-- Minimum width that the AppWidget can be resized to. -->
7513         <attr name="minResizeWidth" format="dimension"/>
7514         <!-- Minimum height that the AppWidget can be resized to. -->
7515         <attr name="minResizeHeight" format="dimension"/>
7516         <!-- Update period in milliseconds, or 0 if the AppWidget will update itself. -->
7517         <attr name="updatePeriodMillis" format="integer" />
7518         <!-- A resource id of a layout. -->
7519         <attr name="initialLayout" format="reference" />
7520         <!-- A resource id of a layout. -->
7521         <attr name="initialKeyguardLayout" format="reference" />
7522         <!-- A class name in the AppWidget's package to be launched to configure.
7523              If not supplied, then no activity will be launched. -->
7524         <attr name="configure" format="string" />
7525         <!-- A preview of what the AppWidget will look like after it's configured.
7526               If not supplied, the AppWidget's icon will be used. -->
7527         <attr name="previewImage" format="reference" />
7528         <!-- The view id of the AppWidget subview which should be auto-advanced.
7529              by the widget's host. -->
7530         <attr name="autoAdvanceViewId" format="reference" />
7531         <!-- Optional parameter which indicates if and how this widget can be
7532              resized. Supports combined values using | operator. -->
7533         <attr name="resizeMode" format="integer">
7534             <flag name="none" value="0x0" />
7535             <flag name="horizontal" value="0x1" />
7536             <flag name="vertical" value="0x2" />
7537         </attr>
7538         <!-- Optional parameter which indicates where this widget can be shown,
7539              ie. home screen, keyguard, search bar or any combination thereof.
7540              Supports combined values using | operator. -->
7541         <attr name="widgetCategory" format="integer">
7542             <flag name="home_screen" value="0x1" />
7543             <flag name="keyguard" value="0x2" />
7544             <flag name="searchbox" value="0x4" />
7545         </attr>
7546     </declare-styleable>
7548     <!-- =============================== -->
7549     <!-- Wallpaper preview attributes    -->
7550     <!-- =============================== -->
7551     <eat-comment />
7553     <!-- Use <code>wallpaper-preview</code> as the root tag of the XML resource that
7554          describes a wallpaper preview. -->
7555     <declare-styleable name="WallpaperPreviewInfo">
7556         <!-- A resource id of a static drawable. -->
7557         <attr name="staticWallpaperPreview" format="reference" />
7558     </declare-styleable>
7560     <!-- =============================== -->
7561     <!-- App package class attributes -->
7562     <!-- =============================== -->
7563     <eat-comment />
7565     <!-- ============================= -->
7566     <!-- View package class attributes -->
7567     <!-- ============================= -->
7568     <eat-comment />
7570     <!-- Attributes that can be used with <code>&lt;fragment&gt;</code>
7571          tags inside of the layout of an Activity.  This instantiates
7572          the given {@link android.app.Fragment} and inserts its content
7573          view into the current location in the layout. -->
7574     <declare-styleable name="Fragment">
7575         <!-- Supply the name of the fragment class to instantiate. -->
7576         <attr name="name" />
7578         <!-- Supply an identifier name for the top-level view, to later retrieve it
7579              with {@link android.view.View#findViewById View.findViewById()} or
7580              {@link android.app.Activity#findViewById Activity.findViewById()}.
7581              This must be a
7582              resource reference; typically you set this using the
7583              <code>@+</code> syntax to create a new ID resources.
7584              For example: <code>android:id="@+id/my_id"</code> which
7585              allows you to later retrieve the view
7586              with <code>findViewById(R.id.my_id)</code>. -->
7587         <attr name="id" />
7589         <!-- Supply a tag for the top-level view containing a String, to be retrieved
7590              later with {@link android.view.View#getTag View.getTag()} or
7591              searched for with {@link android.view.View#findViewWithTag
7592              View.findViewWithTag()}.  It is generally preferable to use
7593              IDs (through the android:id attribute) instead of tags because
7594              they are faster and allow for compile-time type checking. -->
7595         <attr name="tag" />
7597         <!-- The Transition that will be used to move Views out of the scene when the
7598              fragment is removed, hidden, or detached when not popping the back stack.
7599              Corresponds to {@link android.app.Fragment#setExitTransition(
7600              android.transition.Transition)} -->
7601         <attr name="fragmentExitTransition" format="reference"/>
7603         <!-- The Transition that will be used to move Views into the initial scene.
7604              Corresponds to {@link android.app.Fragment#setEnterTransition(
7605              android.transition.Transition)} -->
7606         <attr name="fragmentEnterTransition" format="reference"/>
7608         <!-- The Transition that will be used for shared elements transferred into the content
7609              Scene.
7610              Corresponds to {@link android.app.Fragment#setSharedElementEnterTransition(
7611              android.transition.Transition)} -->
7612         <attr name="fragmentSharedElementEnterTransition" format="reference"/>
7614         <!-- The Transition that will be used to move Views out of the scene when the Fragment is
7615              preparing to be removed, hidden, or detached because of popping the back stack.
7616              Corresponds to {@link android.app.Fragment#setReturnTransition(
7617              android.transition.Transition)} -->
7618         <attr name="fragmentReturnTransition" format="reference"/>
7620         <!-- The Transition that will be used for shared elements transferred back during a
7621              pop of the back stack. This Transition acts in the leaving Fragment.
7622              Corresponds to {@link android.app.Fragment#setSharedElementReturnTransition(
7623              android.transition.Transition)} -->
7624         <attr name="fragmentSharedElementReturnTransition" format="reference"/>
7626         <!-- The Transition that will be used to move Views in to the scene when returning due
7627              to popping a back stack.
7628              Corresponds to {@link android.app.Fragment#setReenterTransition(
7629              android.transition.Transition)} -->
7630         <attr name="fragmentReenterTransition" format="reference"/>
7632         <!-- Sets whether the enter and exit transitions should overlap when transitioning
7633              forward.
7634              Corresponds to {@link android.app.Fragment#setAllowEnterTransitionOverlap(
7635              boolean)} -->
7636         <attr name="fragmentAllowEnterTransitionOverlap" format="reference"/>
7638         <!-- Sets whether the enter and exit transitions should overlap when transitioning
7639              because of popping the back stack.
7640              Corresponds to {@link android.app.Fragment#setAllowReturnTransitionOverlap(
7641              boolean)} -->
7642         <attr name="fragmentAllowReturnTransitionOverlap" format="reference"/>
7643     </declare-styleable>
7645     <!-- Use <code>device-admin</code> as the root tag of the XML resource that
7646          describes a
7647          {@link android.app.admin.DeviceAdminReceiver}, which is
7648          referenced from its
7649          {@link android.app.admin.DeviceAdminReceiver#DEVICE_ADMIN_META_DATA}
7650          meta-data entry.  Described here are the attributes that can be
7651          included in that tag. -->
7652     <declare-styleable name="DeviceAdmin">
7653         <!-- Control whether the admin is visible to the user, even when it
7654              is not enabled.  This is true by default.  You may want to make
7655              it false if your admin does not make sense to be turned on
7656              unless some explicit action happens in your app. -->
7657         <attr name="visible" />
7658     </declare-styleable>
7660     <!-- Use <code>wallpaper</code> as the root tag of the XML resource that
7661          describes an
7662          {@link android.service.wallpaper.WallpaperService}, which is
7663          referenced from its
7664          {@link android.service.wallpaper.WallpaperService#SERVICE_META_DATA}
7665          meta-data entry.  Described here are the attributes that can be
7666          included in that tag. -->
7667     <declare-styleable name="Wallpaper">
7668         <attr name="settingsActivity" />
7670         <!-- Reference to the wallpaper's thumbnail bitmap. -->
7671         <attr name="thumbnail" format="reference" />
7673         <!-- Name of the author and/or source/collection of this component, for example,
7674              Art Collection, Picasso. -->
7675         <attr name="author" format="reference" />
7677         <!-- Short description of the component's purpose or behavior. -->
7678         <attr name="description" />
7680         <!-- Uri that specifies a link for further context of this wallpaper, for example,
7681              http://www.picasso.org. -->
7682         <attr name="contextUri" format="reference" />
7684         <!-- Title of the uri that specifies a link for further context of this wallpaper,
7685              for example, Explore collection. -->
7686         <attr name="contextDescription" format="reference" />
7688         <!-- Whether to show any metadata when previewing the wallpaper. If this value is
7689              set to true, any component that shows a preview of this live wallpaper should also show
7690              accompanying information like the title, the description, the author and the context
7691              description of this wallpaper so the user gets to know further information about this
7692              wallpaper. -->
7693         <attr name="showMetadataInPreview" format="boolean" />
7695     </declare-styleable>
7697     <!-- Use <code>dream</code> as the root tag of the XML resource that
7698          describes an
7699          {@link android.service.dreams.DreamService}, which is
7700          referenced from its
7701          {@link android.service.dreams.DreamService#DREAM_META_DATA}
7702          meta-data entry.  Described here are the attributes that can be
7703          included in that tag. -->
7704     <declare-styleable name="Dream">
7705         <!-- Component name of an activity that allows the user to modify
7706              the settings for this dream. -->
7707         <attr name="settingsActivity" />
7708     </declare-styleable>
7710     <!-- @SystemApi Use <code>trust-agent</code> as the root tag of the XML resource that
7711          describes an {@link android.service.trust.TrustAgentService}, which is
7712          referenced from its {@link android.service.trust.TrustAgentService#TRUST_AGENT_META_DATA}
7713          meta-data entry.  Described here are the attributes that can be included in that tag.
7714          @hide -->
7715     <declare-styleable name="TrustAgent">
7716         <!-- @SystemApi Component name of an activity that allows the user to modify
7717              the settings for this trust agent. @hide -->
7718         <attr name="settingsActivity" />
7719         <!-- @SystemApi Title for a preference that allows that user to launch the
7720              activity to modify trust agent settings. @hide -->
7721         <attr name="title" />
7722         <!-- @SystemApi Summary for the same preference as the title. @hide -->
7723         <attr name="summary" />
7724         <!-- @SystemApi Whether trust agent can unlock a user profile @hide -->
7725         <attr name="unlockProfile" format="boolean"/>
7726     </declare-styleable>
7728     <!-- =============================== -->
7729     <!-- Accounts package class attributes -->
7730     <!-- =============================== -->
7731     <eat-comment />
7733     <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
7734          describes an account authenticator.
7735      -->
7736     <declare-styleable name="AccountAuthenticator">
7737         <!-- The account type this authenticator handles. -->
7738         <attr name="accountType" format="string"/>
7739         <!-- The user-visible name of the authenticator. -->
7740         <attr name="label"/>
7741         <!-- The icon of the authenticator. -->
7742         <attr name="icon"/>
7743         <!-- Smaller icon of the authenticator. -->
7744         <attr name="smallIcon" format="reference"/>
7745         <!-- A preferences.xml file for authenticator-specific settings. -->
7746         <attr name="accountPreferences" format="reference"/>
7747         <!-- Account handles its own token storage and permissions.
7748              Default to false
7749           -->
7750         <attr name="customTokens" format="boolean"/>
7751     </declare-styleable>
7753     <!-- =============================== -->
7754     <!-- Accounts package class attributes -->
7755     <!-- =============================== -->
7756     <eat-comment />
7758     <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
7759          describes an account authenticator.
7760      -->
7761     <declare-styleable name="SyncAdapter">
7762         <!-- the authority of a content provider. -->
7763         <attr name="contentAuthority" format="string"/>
7764         <attr name="accountType"/>
7765         <attr name="userVisible" format="boolean"/>
7766         <attr name="supportsUploading" format="boolean"/>
7767         <!-- Set to true to tell the SyncManager that this SyncAdapter supports
7768              multiple simultaneous syncs for the same account type and authority.
7769              Otherwise the SyncManager will be sure not to issue a start sync request
7770              to this SyncAdapter if the SyncAdapter is already syncing another account.
7771              Defaults to false.
7772              -->
7773         <attr name="allowParallelSyncs" format="boolean"/>
7774         <!-- Set to true to tell the SyncManager to automatically call setIsSyncable(..., ..., 1)
7775              for the SyncAdapter instead of issuaing an initialization sync to the SyncAdapter.
7776              Defaults to false.
7777              -->
7778         <attr name="isAlwaysSyncable" format="boolean"/>
7779         <!-- If provided, specifies the action of the settings
7780              activity for this SyncAdapter.
7781              -->
7782         <attr name="settingsActivity"/>
7783     </declare-styleable>
7785     <!-- =============================== -->
7786     <!-- Autofill attributes -->
7787     <!-- =============================== -->
7788     <eat-comment />
7790     <!-- Use <code>autofill-service</code> as the root tag of the XML resource that describes a
7791          {@link android.service.autofill.AutofillService}, which is referenced from its
7792          {@link android.service.autofill#SERVICE_META_DATA} meta-data entry.
7793     -->
7794     <declare-styleable name="AutofillService">
7795         <!-- Fully qualified class name of an activity that allows the user to modify
7796              the settings for this service. -->
7797         <attr name="settingsActivity" />
7798     </declare-styleable>
7800     <!-- =============================== -->
7801     <!-- Contacts meta-data attributes -->
7802     <!-- =============================== -->
7803     <eat-comment />
7805     <!-- TODO: remove this deprecated styleable. -->
7806     <eat-comment />
7807     <declare-styleable name="Icon">
7808         <attr name="icon" />
7809         <attr name="mimeType" />
7810     </declare-styleable>
7812     <!-- TODO: remove this deprecated styleable -->
7813     <eat-comment />
7814     <declare-styleable name="IconDefault">
7815         <attr name="icon" />
7816     </declare-styleable>
7818     <!-- Maps a specific contact data MIME-type to styling information. -->
7819     <declare-styleable name="ContactsDataKind">
7820         <!-- Mime-type handled by this mapping. -->
7821         <attr name="mimeType" />
7822         <!-- Icon used to represent data of this kind. -->
7823         <attr name="icon" />
7824         <!-- Column in data table that summarizes this data. -->
7825         <attr name="summaryColumn" format="string" />
7826         <!-- Column in data table that contains details for this data. -->
7827         <attr name="detailColumn" format="string" />
7828         <!-- Flag indicating that detail should be built from SocialProvider. -->
7829         <attr name="detailSocialSummary" format="boolean" />
7830         <!-- Resource representing the term "All Contacts" (for example, "All Friends" or
7831         "All connections"). Optional (Default is "All Contacts"). -->
7832         <attr name="allContactsName" format="string" />
7833     </declare-styleable>
7835     <!-- =============================== -->
7836     <!-- TabSelector class attributes -->
7837     <!-- =============================== -->
7838     <eat-comment />
7840     <declare-styleable name="SlidingTab">
7841         <!-- Use "horizontal" for a row, "vertical" for a column.  The default is horizontal. -->
7842         <attr name="orientation" />
7843     </declare-styleable>
7845     <!-- =============================== -->
7846     <!-- GlowPadView class attributes -->
7847     <!-- =============================== -->
7848     <eat-comment />
7849     <declare-styleable name="GlowPadView">
7850         <!-- Reference to an array resource that be used as description for the targets around the circle.
7851              {@deprecated Removed.} -->
7852         <attr name="targetDescriptions" format="reference" />
7854         <!-- Reference to an array resource that be used to announce the directions with targets around the circle.
7855              {@deprecated Removed.} -->
7856         <attr name="directionDescriptions" format="reference" />
7857     </declare-styleable>
7859     <!-- =============================== -->
7860     <!-- Location package class attributes -->
7861     <!-- =============================== -->
7862     <eat-comment />
7864     <!-- Use <code>injected-location-setting</code> as the root tag of the XML resource that
7865          describes an injected "Location services" setting. Note that the status value (subtitle)
7866          for the setting is specified dynamically by a subclass of SettingInjectorService.
7867      -->
7868     <declare-styleable name="SettingInjectorService">
7869         <!-- The title for the preference. -->
7870         <attr name="title"/>
7871         <!-- The icon for the preference, should refer to all apps covered by the setting. Typically
7872              a generic icon for the developer. -->
7873         <attr name="icon"/>
7874         <!-- The activity to launch when the setting is clicked on. -->
7875         <attr name="settingsActivity"/>
7876     </declare-styleable>
7878     <!-- =============================== -->
7879     <!-- LockPatternView class attributes -->
7880     <!-- =============================== -->
7881     <eat-comment />
7883     <declare-styleable name="LockPatternView">
7884         <!-- Aspect to use when drawing LockPatternView. Choices are "square"(default), "lock_width"
7885              or "lock_height" -->
7886         <attr name="aspect" format="string" />
7887         <!-- Color to use when drawing LockPatternView paths. -->
7888         <attr name="pathColor" format="color|reference" />
7889         <!-- The regular pattern color -->
7890         <attr name="regularColor" format="color|reference" />
7891         <!-- The error color -->
7892         <attr name="errorColor" format="color|reference" />
7893         <!-- The success color -->
7894         <attr name="successColor" format="color|reference"/>
7895     </declare-styleable>
7897     <!-- Use <code>recognition-service</code> as the root tag of the XML resource that
7898          describes a {@link android.speech.RecognitionService}, which is referenced from
7899          its {@link android.speech.RecognitionService#SERVICE_META_DATA} meta-data entry.
7900          Described here are the attributes that can be included in that tag. -->
7901     <declare-styleable name="RecognitionService">
7902         <attr name="settingsActivity" />
7903     </declare-styleable>
7905     <!-- Use <code>voice-interaction-service</code> as the root tag of the XML resource that
7906          describes a {@link android.service.voice.VoiceInteractionService}, which is referenced from
7907          its {@link android.service.voice.VoiceInteractionService#SERVICE_META_DATA} meta-data entry.
7908          Described here are the attributes that can be included in that tag. -->
7909     <declare-styleable name="VoiceInteractionService">
7910         <!-- The service that hosts active voice interaction sessions.  This is required. -->
7911         <attr name="sessionService" format="string" />
7912         <!-- The service that provides voice recognition.  This is required.  When the user
7913              selects this voice interaction service, they will also be implicitly selecting
7914              the component here for their recognition service. -->
7915         <attr name="recognitionService" format="string" />
7916         <attr name="settingsActivity" />
7917         <!-- Flag indicating whether this voice interaction service is capable of handling the
7918              assist action. -->
7919         <attr name="supportsAssist" format="boolean" />
7920         <!-- Flag indicating whether this voice interaction service is capable of being launched
7921              from the keyguard. -->
7922         <attr name="supportsLaunchVoiceAssistFromKeyguard" format="boolean" />
7923         <!-- Flag indicating whether this voice interaction service can handle local voice
7924              interaction requests from an Activity. This flag is new in
7925              {@link android.os.Build.VERSION_CODES#N} and not used in previous versions. -->
7926         <attr name="supportsLocalInteraction" format="boolean" />
7927     </declare-styleable>
7929     <!-- Use <code>voice-enrollment-application</code>
7930          as the root tag of the XML resource that escribes the supported keyphrases (hotwords)
7931          by the enrollment application.
7932          Described here are the attributes that can be included in that tag.
7933          @hide
7934          @SystemApi -->
7935     <declare-styleable name="VoiceEnrollmentApplication">
7936         <!-- A globally unique ID for the keyphrase. @hide @SystemApi -->
7937         <attr name="searchKeyphraseId" format="integer" />
7938         <!-- The actual keyphrase/hint text, or empty if not keyphrase dependent. @hide @SystemApi -->
7939         <attr name="searchKeyphrase" format="string" />
7940         <!-- A comma separated list of BCP-47 language tag for locales that are supported
7941              for this keyphrase, or empty if not locale dependent. @hide @SystemApi -->
7942         <attr name="searchKeyphraseSupportedLocales" format="string" />
7943         <!-- Flags for supported recognition modes. @hide @SystemApi -->
7944         <attr name="searchKeyphraseRecognitionFlags">
7945             <flag name="none" value="0" />
7946             <flag name="voiceTrigger" value="0x1" />
7947             <flag name="userIdentification" value="0x2" />
7948         </attr>
7949     </declare-styleable>
7951     <!-- Attributes used to style the Action Bar. -->
7952     <declare-styleable name="ActionBar">
7953         <!-- The type of navigation to use. -->
7954         <attr name="navigationMode">
7955             <!-- Normal static title text. -->
7956             <enum name="normal" value="0" />
7957             <!-- The action bar will use a selection list for navigation. -->
7958             <enum name="listMode" value="1" />
7959             <!-- The action bar will use a series of horizontal tabs for navigation. -->
7960             <enum name="tabMode" value="2" />
7961         </attr>
7962         <!-- Options affecting how the action bar is displayed. -->
7963         <attr name="displayOptions">
7964             <flag name="none" value="0" />
7965             <flag name="useLogo" value="0x1" />
7966             <flag name="showHome" value="0x2" />
7967             <flag name="homeAsUp" value="0x4" />
7968             <flag name="showTitle" value="0x8" />
7969             <flag name="showCustom" value="0x10" />
7970             <flag name="disableHome" value="0x20" />
7971         </attr>
7972         <!-- Specifies title text used for navigationMode="normal". -->
7973         <attr name="title" />
7974         <!-- Specifies subtitle text used for navigationMode="normal". -->
7975         <attr name="subtitle" format="string" />
7976         <!-- Specifies a style to use for title text. -->
7977         <attr name="titleTextStyle" format="reference" />
7978         <!-- Specifies a style to use for subtitle text. -->
7979         <attr name="subtitleTextStyle" format="reference" />
7980         <!-- Specifies the drawable used for the application icon. -->
7981         <attr name="icon" />
7982         <!-- Specifies the drawable used for the application logo. -->
7983         <attr name="logo" />
7984         <!-- Specifies the drawable used for item dividers. -->
7985         <attr name="divider" />
7986         <!-- Specifies a background drawable for the action bar. -->
7987         <attr name="background" />
7988         <!-- Specifies a background drawable for a second stacked row of the action bar. -->
7989         <attr name="backgroundStacked" format="reference|color" />
7990         <!-- Specifies a background drawable for the bottom component of a split action bar. -->
7991         <attr name="backgroundSplit" format="reference|color" />
7992         <!-- Specifies a layout for custom navigation. Overrides navigationMode. -->
7993         <attr name="customNavigationLayout" format="reference" />
7994         <!-- Specifies a fixed height. -->
7995         <attr name="height" />
7996         <!-- Specifies a layout to use for the "home" section of the action bar. -->
7997         <attr name="homeLayout" format="reference" />
7998         <!-- Specifies a style resource to use for an embedded progress bar. -->
7999         <attr name="progressBarStyle" />
8000         <!-- Specifies a style resource to use for an indeterminate progress spinner. -->
8001         <attr name="indeterminateProgressStyle" format="reference" />
8002         <!-- Specifies the horizontal padding on either end for an embedded progress bar. -->
8003         <attr name="progressBarPadding" format="dimension" />
8004         <!-- Up navigation glyph. -->
8005         <attr name="homeAsUpIndicator" />
8006         <!-- Specifies padding that should be applied to the left and right sides of
8007              system-provided items in the bar. -->
8008         <attr name="itemPadding" format="dimension" />
8009         <!-- Set true to hide the action bar on a vertical nested scroll of content. -->
8010         <attr name="hideOnContentScroll" format="boolean" />
8011         <!-- Minimum inset for content views within a bar. Navigation buttons and
8012              menu views are excepted. Only valid for some themes and configurations. -->
8013         <attr name="contentInsetStart" format="dimension" />
8014         <!-- Minimum inset for content views within a bar. Navigation buttons and
8015              menu views are excepted. Only valid for some themes and configurations. -->
8016         <attr name="contentInsetEnd" format="dimension" />
8017         <!-- Minimum inset for content views within a bar. Navigation buttons and
8018              menu views are excepted. Only valid for some themes and configurations. -->
8019         <attr name="contentInsetLeft" format="dimension" />
8020         <!-- Minimum inset for content views within a bar. Navigation buttons and
8021              menu views are excepted. Only valid for some themes and configurations. -->
8022         <attr name="contentInsetRight" format="dimension" />
8023         <!-- Minimum inset for content views within a bar when a navigation button
8024              is present, such as the Up button. Only valid for some themes and configurations. -->
8025         <attr name="contentInsetStartWithNavigation" format="dimension" />
8026         <!-- Minimum inset for content views within a bar when actions from a menu
8027              are present. Only valid for some themes and configurations. -->
8028         <attr name="contentInsetEndWithActions" format="dimension" />
8029         <!-- Elevation for the action bar itself. -->
8030         <attr name="elevation" />
8031         <!-- Reference to a theme that should be used to inflate popups
8032              shown by widgets in the action bar. -->
8033         <attr name="popupTheme" />
8034     </declare-styleable>
8036     <declare-styleable name="ActionMode">
8037         <!-- Specifies a style to use for title text. -->
8038         <attr name="titleTextStyle" />
8039         <!-- Specifies a style to use for subtitle text. -->
8040         <attr name="subtitleTextStyle" />
8041         <!-- Specifies a background for the action mode bar. -->
8042         <attr name="background" />
8043         <!-- Specifies a background for the split action mode bar. -->
8044         <attr name="backgroundSplit" />
8045         <!-- Specifies a fixed height for the action mode bar. -->
8046         <attr name="height" />
8047         <!-- Specifies a layout to use for the "close" item at the starting edge. -->
8048         <attr name="closeItemLayout" format="reference" />
8049     </declare-styleable>
8051     <declare-styleable name="SearchView">
8052         <!-- The layout to use for the search view. -->
8053         <attr name="layout" />
8054         <!-- The default state of the SearchView. If true, it will be iconified when not in
8055              use and expanded when clicked. -->
8056         <attr name="iconifiedByDefault" format="boolean" />
8057         <!-- An optional maximum width of the SearchView. -->
8058         <attr name="maxWidth" />
8059         <!-- An optional query hint string to be displayed in the empty query field. -->
8060         <attr name="queryHint" format="string" />
8061         <!-- Default query hint used when {@code queryHint} is undefined and
8062              the search view's {@code SearchableInfo} does not provide a hint.
8063              @hide -->
8064         <attr name="defaultQueryHint" format="string" />
8065         <!-- The IME options to set on the query text field. -->
8066         <attr name="imeOptions" />
8067         <!-- The input type to set on the query text field. -->
8068         <attr name="inputType" />
8069         <!-- Close button icon. -->
8070         <attr name="closeIcon" format="reference" />
8071         <!-- Go button icon. -->
8072         <attr name="goIcon" format="reference" />
8073         <!-- Search icon. -->
8074         <attr name="searchIcon" format="reference" />
8075         <!-- Search icon displayed as a text field hint. -->
8076         <attr name="searchHintIcon" format="reference" />
8077         <!-- Voice button icon. -->
8078         <attr name="voiceIcon" format="reference" />
8079         <!-- Commit icon shown in the query suggestion row. -->
8080         <attr name="commitIcon" format="reference" />
8081         <!-- Layout for query suggestion rows. -->
8082         <attr name="suggestionRowLayout" format="reference" />
8083         <!-- Background for the section containing the search query. -->
8084         <attr name="queryBackground" format="reference" />
8085         <!-- Background for the section containing the action (for example, voice search). -->
8086         <attr name="submitBackground" format="reference" />
8087     </declare-styleable>
8089     <declare-styleable name="Switch">
8090         <!-- Drawable to use as the "thumb" that switches back and forth. -->
8091         <attr name="thumb" />
8092         <!-- Tint to apply to the thumb. -->
8093         <attr name="thumbTint" />
8094         <!-- Blending mode used to apply the thumb tint. -->
8095         <attr name="thumbTintMode" />
8096         <!-- Drawable to use as the "track" that the switch thumb slides within. -->
8097         <attr name="track" format="reference" />
8098         <!-- Tint to apply to the track. -->
8099         <attr name="trackTint" format="color" />
8100         <!-- Blending mode used to apply the track tint. -->
8101         <attr name="trackTintMode">
8102             <!-- The tint is drawn on top of the drawable.
8103                  [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
8104             <enum name="src_over" value="3" />
8105             <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
8106                  color channels are thrown out. [Sa * Da, Sc * Da] -->
8107             <enum name="src_in" value="5" />
8108             <!-- The tint is drawn above the drawable, but with the drawable’s alpha
8109                  channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
8110             <enum name="src_atop" value="9" />
8111             <!-- Multiplies the color and alpha channels of the drawable with those of
8112                  the tint. [Sa * Da, Sc * Dc] -->
8113             <enum name="multiply" value="14" />
8114             <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
8115             <enum name="screen" value="15" />
8116             <!-- Combines the tint and drawable color and alpha channels, clamping the
8117                  result to valid color values. Saturate(S + D) -->
8118             <enum name="add" value="16" />
8119         </attr>
8120         <!-- Text to use when the switch is in the checked/"on" state. -->
8121         <attr name="textOn" />
8122         <!-- Text to use when the switch is in the unchecked/"off" state. -->
8123         <attr name="textOff" />
8124         <!-- Amount of padding on either side of text within the switch thumb. -->
8125         <attr name="thumbTextPadding" format="dimension" />
8126         <!-- TextAppearance style for text displayed on the switch thumb. -->
8127         <attr name="switchTextAppearance" format="reference" />
8128         <!-- Minimum width for the switch component. -->
8129         <attr name="switchMinWidth" format="dimension" />
8130         <!-- Minimum space between the switch and caption text. -->
8131         <attr name="switchPadding" format="dimension" />
8132         <!-- Whether to split the track and leave a gap for the thumb drawable. -->
8133         <attr name="splitTrack" />
8134         <!-- Whether to draw on/off text. -->
8135         <attr name="showText" format="boolean" />
8136     </declare-styleable>
8138     <declare-styleable name="Pointer">
8139         <!-- Reference to a pointer icon drawable with STYLE_ARROW. -->
8140         <attr name="pointerIconArrow" format="reference" />
8141         <!-- Reference to a pointer icon drawable with STYLE_SPOT_HOVER. -->
8142         <attr name="pointerIconSpotHover" format="reference" />
8143         <!-- Reference to a pointer icon drawable with STYLE_SPOT_TOUCH. -->
8144         <attr name="pointerIconSpotTouch" format="reference" />
8145         <!-- Reference to a pointer icon drawable with STYLE_SPOT_ANCHOR. -->
8146         <attr name="pointerIconSpotAnchor" format="reference" />
8147         <!-- Reference to a pointer drawable with STYLE_CONTEXT_MENU. -->
8148         <attr name="pointerIconContextMenu" format="reference"/>
8149         <!-- Reference to a pointer drawable with STYLE_HAND. -->
8150         <attr name="pointerIconHand" format="reference"/>
8151         <!-- Reference to a pointer drawable with STYLE_HELP. -->
8152         <attr name="pointerIconHelp" format="reference"/>
8153         <!-- Reference to a pointer drawable with STYLE_WAIT. -->
8154         <attr name="pointerIconWait" format="reference"/>
8155         <!-- Reference to a pointer drawable with STYLE_CELL. -->
8156         <attr name="pointerIconCell" format="reference"/>
8157         <!-- Reference to a pointer drawable with STYLE_CROSSHAIR. -->
8158         <attr name="pointerIconCrosshair" format="reference"/>
8159         <!-- Reference to a pointer drawable with STYLE_TEXT. -->
8160         <attr name="pointerIconText" format="reference"/>
8161         <!-- Reference to a pointer drawable with STYLE_VERTICAL_TEXT. -->
8162         <attr name="pointerIconVerticalText" format="reference"/>
8163         <!-- Reference to a pointer drawable with STYLE_ALIAS. -->
8164         <attr name="pointerIconAlias" format="reference"/>
8165         <!-- Reference to a pointer drawable with STYLE_COPY. -->
8166         <attr name="pointerIconCopy" format="reference"/>
8167         <!-- Reference to a pointer drawable with STYLE_NODROP. -->
8168         <attr name="pointerIconNodrop" format="reference"/>
8169         <!-- Reference to a pointer drawable with STYLE_ALL_SCROLL. -->
8170         <attr name="pointerIconAllScroll" format="reference"/>
8171         <!-- Reference to a pointer drawable with STYLE_HORIZONTAL_DOUBLE_ARROW. -->
8172         <attr name="pointerIconHorizontalDoubleArrow" format="reference"/>
8173         <!-- Reference to a pointer drawable with STYLE_VERTICAL_DOUBLE_ARROW. -->
8174         <attr name="pointerIconVerticalDoubleArrow" format="reference"/>
8175         <!-- Reference to a pointer drawable with STYLE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW. -->
8176         <attr name="pointerIconTopRightDiagonalDoubleArrow" format="reference"/>
8177         <!-- Reference to a pointer drawable with STYLE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW. -->
8178         <attr name="pointerIconTopLeftDiagonalDoubleArrow" format="reference"/>
8179         <!-- Reference to a pointer drawable with STYLE_ZOOM_IN. -->
8180         <attr name="pointerIconZoomIn" format="reference"/>
8181         <!-- Reference to a pointer drawable with STYLE_ZOOM_OUT. -->
8182         <attr name="pointerIconZoomOut" format="reference"/>
8183         <!-- Reference to a pointer drawable with STYLE_GRAB. -->
8184         <attr name="pointerIconGrab" format="reference"/>
8185         <!-- Reference to a pointer drawable with STYLE_GRABBING. -->
8186         <attr name="pointerIconGrabbing" format="reference"/>
8187     </declare-styleable>
8189     <declare-styleable name="PointerIcon">
8190         <!-- Drawable to use as the icon bitmap. -->
8191         <attr name="bitmap" format="reference" />
8192         <!-- X coordinate of the icon hot spot. -->
8193         <attr name="hotSpotX" format="dimension" />
8194         <!-- Y coordinate of the icon hot spot. -->
8195         <attr name="hotSpotY" format="dimension" />
8196     </declare-styleable>
8198     <declare-styleable name="Storage">
8199         <!-- path to mount point for the storage. -->
8200         <attr name="mountPoint" format="string" />
8201         <!-- user visible description of the storage. -->
8202         <attr name="storageDescription" format="string" />
8203         <!-- true if the storage is the primary external storage. -->
8204         <attr name="primary" format="boolean" />
8205         <!-- true if the storage is removable. -->
8206         <attr name="removable" format="boolean" />
8207         <!-- true if the storage is emulated via the FUSE sdcard daemon. -->
8208         <attr name="emulated" format="boolean" />
8209         <!-- number of megabytes of storage MTP should reserve for free storage
8210              (used for emulated storage that is shared with system's data partition). -->
8211         <attr name="mtpReserve" format="integer" />
8212         <!-- true if the storage can be shared via USB mass storage. -->
8213         <attr name="allowMassStorage" format="boolean" />
8214         <!-- maximum file size for the volume in megabytes, zero or unspecified if it is unbounded. -->
8215         <attr name="maxFileSize" format="integer" />
8216     </declare-styleable>
8218     <declare-styleable name="SwitchPreference">
8219         <!-- The summary for the Preference in a PreferenceActivity screen when the
8220              SwitchPreference is checked. If separate on/off summaries are not
8221              needed, the summary attribute can be used instead. -->
8222         <attr name="summaryOn" />
8223         <!-- The summary for the Preference in a PreferenceActivity screen when the
8224              SwitchPreference is unchecked. If separate on/off summaries are not
8225              needed, the summary attribute can be used instead. -->
8226         <attr name="summaryOff" />
8227         <!-- The text used on the switch itself when in the "on" state.
8228              This should be a very SHORT string, as it appears in a small space. -->
8229         <attr name="switchTextOn" format="string" />
8230         <!-- The text used on the switch itself when in the "off" state.
8231              This should be a very SHORT string, as it appears in a small space. -->
8232         <attr name="switchTextOff" format="string" />
8233         <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
8234              dependents will be disabled when this is unchecked, so the value of this preference is false. -->
8235         <attr name="disableDependentsState" />
8236     </declare-styleable>
8238     <declare-styleable name="SeekBarPreference">
8239         <attr name="layout" />
8240         <!-- Attribute indicating whether the slider within this preference can be adjusted, that is
8241         pressing left/right keys when this preference is focused will move the slider accordingly
8242         (for example, inline adjustable preferences). False, if the slider within the preference is
8243         read-only and cannot be adjusted. By default, the seekbar is adjustable. -->
8244         <attr name="adjustable" format="boolean" />
8245         <!-- Flag indicating whether the TextView next to the seekbar that shows the current seekbar value will be
8246         displayed. If true, the view is VISIBLE; if false, the view will be GONE. By default, this view is VISIBLE. -->
8247         <attr name="showSeekBarValue" format="boolean" />
8248     </declare-styleable>
8250     <!-- Base attributes available to PreferenceFragment. -->
8251     <declare-styleable name="PreferenceFragment">
8252         <!-- The layout for the PreferenceFragment. This should rarely need to be changed. -->
8253         <attr name="layout" />
8254         <attr name="divider" />
8255     </declare-styleable>
8257     <!-- Base attributes available to PreferenceScreen. -->
8258     <declare-styleable name="PreferenceScreen">
8259         <!-- The layout for the PreferenceScreen. This should rarely need to be changed. -->
8260         <attr name="screenLayout" format="reference" />
8261         <attr name="divider" />
8262     </declare-styleable>
8264     <!-- Base attributes available to PreferenceActivity. -->
8265     <declare-styleable name="PreferenceActivity">
8266         <!-- The layout for the Preference Activity. This should rarely need to be changed. -->
8267         <attr name="layout" />
8268         <!-- The layout for the Preference Header. This should rarely need to be changed. -->
8269         <attr name="headerLayout" format="reference" />
8270         <!-- true if the Icon view will be removed when there is none and thus not showing
8271              the fixed margins. -->
8272         <attr name="headerRemoveIconIfEmpty" format="boolean" />
8273     </declare-styleable>
8275     <!-- Use <code>tts-engine</code> as the root tag of the XML resource that
8276          describes a text to speech engine implemented as a subclass of
8277          {@link android.speech.tts.TextToSpeechService}.
8279          The XML resource must be referenced from its
8280          {@link android.speech.tts.TextToSpeech.Engine#SERVICE_META_DATA} meta-data
8281          entry. -->
8282     <declare-styleable name="TextToSpeechEngine">
8283         <attr name="settingsActivity" />
8284     </declare-styleable>
8286     <!-- Use <code>keyboard-layouts</code> as the root tag of the XML resource that
8287          describes a collection of keyboard layouts provided by an application.
8288          Each keyboard layout is declared by a <code>keyboard-layout</code> tag
8289          with these attributes.
8291          The XML resource that contains the keyboard layouts must be referenced from its
8292          {@link android.hardware.input.InputManager#META_DATA_KEYBOARD_LAYOUTS}
8293          meta-data entry used with broadcast receivers for
8294          {@link android.hardware.input.InputManager#ACTION_QUERY_KEYBOARD_LAYOUTS}. -->
8295     <declare-styleable name="KeyboardLayout">
8296         <!-- The name of the keyboard layout, must be unique in the receiver. -->
8297         <attr name="name" />
8298         <!-- The display label of the keyboard layout. -->
8299         <attr name="label" />
8300         <!-- The key character map file resource. -->
8301         <attr name="keyboardLayout" format="reference" />
8302         <!-- The locales the given keyboard layout corresponds to. -->
8303         <attr name="locale" format="string" />
8304         <!-- The vendor ID of the hardware the given layout corresponds to. @hide -->
8305         <attr name="vendorId" format="integer" />
8306         <!-- The product ID of the hardware the given layout corresponds to. @hide -->
8307         <attr name="productId" format="integer" />
8308     </declare-styleable>
8310     <declare-styleable name="MediaRouteButton">
8311         <!-- This drawable is a state list where the "activated" state
8312              indicates active media routing. Non-activated indicates
8313              that media is playing to the local device only.
8314              @hide -->
8315         <attr name="externalRouteEnabledDrawable" format="reference" />
8317         <!-- The types of media routes the button and its resulting
8318              chooser will filter by. -->
8319         <attr name="mediaRouteTypes" format="integer">
8320             <!-- Allow selection of live audio routes. -->
8321             <enum name="liveAudio" value="0x1" />
8322             <!-- Allow selection of user (app-specified) routes. -->
8323             <enum name="user" value="0x800000" />
8324         </attr>
8326         <attr name="minWidth" />
8327         <attr name="minHeight" />
8328     </declare-styleable>
8330     <!-- PagedView specific attributes. These attributes are used to customize
8331          a PagedView view in XML files. -->
8332     <declare-styleable name="PagedView">
8333         <!-- The space between adjacent pages of the PagedView. -->
8334         <attr name="pageSpacing" format="dimension" />
8335         <!-- The padding for the scroll indicator area. -->
8336         <attr name="scrollIndicatorPaddingLeft" format="dimension" />
8337         <attr name="scrollIndicatorPaddingRight" format="dimension" />
8338     </declare-styleable>
8340     <declare-styleable name="KeyguardGlowStripView">
8341         <attr name="dotSize" format="dimension" />
8342         <attr name="numDots" format="integer" />
8343         <attr name="glowDot" format="reference" />
8344         <attr name="leftToRight" format="boolean" />
8345     </declare-styleable>
8347     <!-- Some child types have special behavior. -->
8348     <attr name="layout_childType">
8349         <!-- No special behavior. Layout will proceed as normal. -->
8350         <enum name="none" value="0" />
8351         <!-- Widget container.
8352              This will be resized in response to certain events. -->
8353         <enum name="widget" value="1" />
8354         <!-- Security challenge container.
8355              This will be dismissed/shown in response to certain events,
8356              possibly obscuring widget elements. -->
8357         <enum name="challenge" value="2" />
8358         <!-- User switcher.
8359              This will consume space from the total layout area. -->
8360         <enum name="userSwitcher" value="3" />
8361         <!-- Scrim. This will block access to child views that
8362              come before it in the child list in bouncer mode. -->
8363         <enum name="scrim" value="4" />
8364         <!-- The home for widgets. All widgets will be descendents of this. -->
8365         <enum name="widgets" value="5" />
8366         <!-- This is a handle that is used for expanding the
8367              security challenge container when it is collapsed. -->
8368         <enum name="expandChallengeHandle" value="6" />
8369         <!-- Delete drop target.  This will be the drop target to delete pages. -->
8370         <enum name="pageDeleteDropTarget" value="7" />
8371     </attr>
8373     <!-- Attributes that can be used with <code>&lt;FragmentBreadCrumbs&gt;</code>
8374     tags. -->
8375     <declare-styleable name="FragmentBreadCrumbs">
8376         <attr name="gravity" />
8377         <attr name="itemLayout" format="reference" />
8378         <attr name="itemColor" format="color|reference" />
8379     </declare-styleable>
8381     <declare-styleable name="Toolbar">
8382         <attr name="titleTextAppearance" format="reference" />
8383         <attr name="subtitleTextAppearance" format="reference" />
8384         <attr name="title" />
8385         <attr name="subtitle" />
8386         <attr name="gravity" />
8387         <!--  Specifies extra space on the left, start, right and end sides
8388               of the toolbar's title. Margin values should be positive. -->
8389         <attr name="titleMargin" format="dimension" />
8390         <!--  Specifies extra space on the start side of the toolbar's title.
8391               If both this attribute and titleMargin are specified, then this
8392               attribute takes precedence. Margin values should be positive. -->
8393         <attr name="titleMarginStart" format="dimension" />
8394         <!--  Specifies extra space on the end side of the toolbar's title.
8395               If both this attribute and titleMargin are specified, then this
8396               attribute takes precedence. Margin values should be positive. -->
8397         <attr name="titleMarginEnd" format="dimension" />
8398         <!--  Specifies extra space on the top side of the toolbar's title.
8399               If both this attribute and titleMargin are specified, then this
8400               attribute takes precedence. Margin values should be positive. -->
8401         <attr name="titleMarginTop" format="dimension" />
8402         <!--  Specifies extra space on the bottom side of the toolbar's title.
8403               If both this attribute and titleMargin are specified, then this
8404               attribute takes precedence. Margin values should be positive. -->
8405         <attr name="titleMarginBottom" format="dimension" />
8406         <attr name="contentInsetStart" />
8407         <attr name="contentInsetEnd" />
8408         <attr name="contentInsetLeft" />
8409         <attr name="contentInsetRight" />
8410         <attr name="contentInsetStartWithNavigation" />
8411         <attr name="contentInsetEndWithActions" />
8412         <attr name="maxButtonHeight" format="dimension" />
8413         <attr name="navigationButtonStyle" format="reference" />
8414         <attr name="buttonGravity">
8415             <!-- Push object to the top of its container, not changing its size. -->
8416             <flag name="top" value="0x30" />
8417             <!-- Push object to the bottom of its container, not changing its size. -->
8418             <flag name="bottom" value="0x50" />
8419         </attr>
8420         <!-- Icon drawable to use for the collapse button. -->
8421         <attr name="collapseIcon" format="reference" />
8422         <!-- Text to set as the content description for the collapse button. -->
8423         <attr name="collapseContentDescription" format="string" />
8424         <!-- Reference to a theme that should be used to inflate popups
8425              shown by widgets in the toolbar. -->
8426         <attr name="popupTheme" format="reference" />
8427         <!-- Icon drawable to use for the navigation button located at
8428              the start of the toolbar. -->
8429         <attr name="navigationIcon" format="reference" />
8430         <!-- Text to set as the content description for the navigation button
8431              located at the start of the toolbar. -->
8432         <attr name="navigationContentDescription" format="string" />
8433         <!-- Drawable to set as the logo that appears at the starting side of
8434              the Toolbar, just after the navigation button. -->
8435         <attr name="logo" />
8436         <!-- A content description string to describe the appearance of the
8437              associated logo image. -->
8438         <attr name="logoDescription" format="string" />
8439         <!-- A color to apply to the title string. -->
8440         <attr name="titleTextColor" format="color" />
8441         <!-- A color to apply to the subtitle string. -->
8442         <attr name="subtitleTextColor" format="color" />
8443     </declare-styleable>
8445     <declare-styleable name="Toolbar_LayoutParams">
8446         <attr name="layout_gravity" />
8447     </declare-styleable>
8449     <declare-styleable name="ActionBar_LayoutParams">
8450         <attr name="layout_gravity" />
8451     </declare-styleable>
8453     <!-- Used as a filter array on the theme to pull out only the EdgeEffect-relevant bits. -->
8454     <declare-styleable name="EdgeEffect">
8455         <attr name="colorEdgeEffect" />
8456     </declare-styleable>
8458     <!-- Use <code>tv-input</code> as the root tag of the XML resource that describes a
8459          {@link android.media.tv.TvInputService}, which is referenced from its
8460          {@link android.media.tv.TvInputService#SERVICE_META_DATA} meta-data entry.
8461          Described here are the attributes that can be included in that tag. -->
8462     <declare-styleable name="TvInputService">
8463         <!-- Component name of an activity that allows the user to set up this service. -->
8464         <attr name="setupActivity" format="string" />
8465         <!-- Component name of an activity that allows the user to modify the settings for this
8466              service.
8467              {@deprecated This value is deprecated and not used by the framework starting from API
8468                          level 26. Use setupActivity instead.} -->
8469         <attr name="settingsActivity" />
8470         <!-- Attribute whether the TV input service can record programs. This value can be changed
8471              at runtime by calling
8472              {@link android.media.tv.TvInputManager#updateTvInputInfo(android.media.tv.TvInputInfo)}. -->
8473         <attr name="canRecord" format="boolean" />
8474         <!-- The number of tuners that the TV input service is associated with. This value can be
8475              changed at runtime by calling
8476              {@link android.media.tv.TvInputManager#updateTvInputInfo(android.media.tv.TvInputInfo)}. -->
8477         <attr name="tunerCount" format="integer" />
8478     </declare-styleable>
8480     <!-- Attributes that can be used with <code>rating-system-definition</code> tags inside of the
8481          XML resource that describes TV content rating of a {@link android.media.tv.TvInputService},
8482          which is referenced from its
8483          {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. -->
8484     <declare-styleable name="RatingSystemDefinition">
8485         <!-- The unique name of the content rating system. -->
8486         <attr name="name" />
8487         <!-- The title of the content rating system which is shown to the user. -->
8488         <attr name="title" />
8489         <!-- The short description of the content rating system. -->
8490         <attr name="description" />
8491         <!-- The country code associated with the content rating system, which consists of two
8492              uppercase letters that conform to the ISO 3166 standard. -->
8493         <attr name="country" format="string" />
8494     </declare-styleable>
8496     <!-- Attributes that can be used with <code>rating-definition</code> tags inside of the XML
8497          resource that describes TV content rating of a {@link android.media.tv.TvInputService},
8498          which is referenced from its
8499          {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. -->
8500     <declare-styleable name="RatingDefinition">
8501         <!-- The unique name of the content rating. -->
8502         <attr name="name" />
8503         <!-- The title of the content rating which is shown to the user. -->
8504         <attr name="title" />
8505         <!-- The short description of the content rating. -->
8506         <attr name="description" />
8507         <!-- The age associated with the content rating. The content of this rating is suitable for
8508              people of this age or above. -->
8509         <attr name="contentAgeHint" format="integer" />
8510     </declare-styleable>
8512     <declare-styleable name="ResolverDrawerLayout">
8513         <attr name="maxWidth" />
8514         <attr name="maxCollapsedHeight" format="dimension" />
8515         <attr name="maxCollapsedHeightSmall" format="dimension" />
8516     </declare-styleable>
8518     <declare-styleable name="MessagingLinearLayout">
8519         <attr name="spacing" />
8520     </declare-styleable>
8522     <declare-styleable name="DateTimeView">
8523         <attr name="showRelative" format="boolean" />
8524     </declare-styleable>
8526     <declare-styleable name="ResolverDrawerLayout_LayoutParams">
8527         <attr name="layout_alwaysShow" format="boolean" />
8528         <attr name="layout_ignoreOffset" format="boolean" />
8529         <attr name="layout_gravity" />
8530         <attr name="layout_hasNestedScrollIndicator" format="boolean" />
8531     </declare-styleable>
8533     <!-- @hide -->
8534     <declare-styleable name="Lighting">
8535         <attr name="lightY" />
8536         <attr name="lightZ" />
8537         <attr name="lightRadius" />
8538         <attr name="ambientShadowAlpha" />
8539         <attr name="spotShadowAlpha" />
8540     </declare-styleable>
8542     <declare-styleable name="RestrictionEntry">
8543         <attr name="key" />
8544         <attr name="restrictionType">
8545             <enum name="hidden" value="0" />
8546             <enum name="bool" value="1" />
8547             <enum name="choice" value="2" />
8548             <enum name="multi-select" value="4" />
8549             <enum name="integer" value="5" />
8550             <enum name="string" value="6" />
8551             <enum name="bundle" value="7" />
8552             <enum name="bundle_array" value="8" />
8553         </attr>
8554         <attr name="title" />
8555         <attr name="description" />
8556         <attr name="defaultValue" />
8557         <attr name="entries" />
8558         <attr name="entryValues" />
8559     </declare-styleable>
8561     <!-- Used to describe the gradient for fill or stroke in a path of VectorDrawable. -->
8562     <declare-styleable name="GradientColor">
8563         <!-- Start color of the gradient. -->
8564         <attr name="startColor" />
8565         <!-- Optional center color. -->
8566         <attr name="centerColor" />
8567         <!-- End color of the gradient. -->
8568         <attr name="endColor" />
8569         <!-- Type of gradient. The default type is linear. -->
8570         <attr name="type" />
8572         <!-- Only applied to RadialGradient-->
8573         <!-- Radius of the gradient, used only with radial gradient. -->
8574         <attr name="gradientRadius" />
8576         <!-- Only applied to SweepGradient / RadialGradient-->
8577         <!-- X coordinate of the center of the gradient within the path. -->
8578         <attr name="centerX" />
8579         <!-- Y coordinate of the center of the gradient within the path. -->
8580         <attr name="centerY" />
8582         <!-- LinearGradient specific -->
8583         <!-- X coordinate of the start point origin of the gradient.
8584              Defined in same coordinates as the path itself -->
8585         <attr name="startX" format="float" />
8586         <!-- Y coordinate of the start point of the gradient within the shape.
8587              Defined in same coordinates as the path itself -->
8588         <attr name="startY" format="float" />
8589         <!-- X coordinate of the end point origin of the gradient.
8590              Defined in same coordinates as the path itself -->
8591         <attr name="endX" format="float" />
8592         <!-- Y coordinate of the end point of the gradient within the shape.
8593              Defined in same coordinates as the path itself -->
8594         <attr name="endY" format="float" />
8596         <!-- Defines the tile mode of the gradient. SweepGradient don't support tiling. -->
8597         <attr name="tileMode"/>
8598     </declare-styleable>
8600     <!-- Describes an item of a GradientColor. Minimally need 2 items to define the gradient
8601          Colors defined in <item> override the simple color attributes such as
8602          "startColor / centerColor / endColor" are ignored. -->
8603     <declare-styleable name="GradientColorItem">
8604         <!-- The offset (or ratio) of this current color item inside the gradient.
8605              The value is only meaningful when it is between 0 and 1. -->
8606         <attr name="offset" format="float" />
8607         <!-- The current color for the offset inside the gradient. -->
8608         <attr name="color" />
8609     </declare-styleable>
8611     <!-- @hide Attributes which will be read by the Activity to intialize the
8612                base activity TaskDescription. -->
8613     <declare-styleable name="ActivityTaskDescription">
8614         <!-- @hide From Theme.colorPrimary, used for the TaskDescription primary
8615                    color. -->
8616         <attr name="colorPrimary" />
8617         <!-- @hide From Theme.colorBackground, used for the TaskDescription background
8618                    color. -->
8619         <attr name="colorBackground" />
8620         <!-- @hide From Theme.statusBarColor, used for the TaskDescription status bar color. -->
8621         <attr name="statusBarColor"/>
8622         <!-- @hide From Theme.navigationBarColor, used for the TaskDescription navigation bar
8623                    color. -->
8624         <attr name="navigationBarColor"/>
8625     </declare-styleable>
8627     <declare-styleable name="Shortcut">
8628         <attr name="shortcutId" format="string" />
8629         <attr name="enabled" />
8630         <attr name="icon" />
8631         <attr name="shortcutShortLabel" format="reference" />
8632         <attr name="shortcutLongLabel" format="reference" />
8633         <attr name="shortcutDisabledMessage" format="reference" />
8634     </declare-styleable>
8636     <declare-styleable name="ShortcutCategories">
8637         <attr name="name" />
8638     </declare-styleable>
8640     <!-- Attributes that are read when parsing a <font> tag, which is a child of
8641          <font-family>. This represents an actual font file and its attributes. -->
8642     <declare-styleable name="FontFamilyFont">
8643         <!-- The style of the given font file. This will be used when the font is being loaded into
8644          the font stack and will override any style information in the font's header tables. If
8645          unspecified, the value in the font's header tables will be used. -->
8646         <attr name="fontStyle">
8647             <enum name="normal" value="0" />
8648             <enum name="italic" value="1" />
8649         </attr>
8650         <!-- The reference to the font file to be used. This should be a file in the res/font folder
8651          and should therefore have an R reference value. E.g. @font/myfont -->
8652         <attr name="font" format="reference" />
8653         <!-- The weight of the given font file. This will be used when the font is being loaded into
8654          the font stack and will override any weight information in the font's header tables. Must
8655          be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most
8656          common values are 400 for regular weight and 700 for bold weight. If unspecified, the value
8657          in the font's header tables will be used. -->
8658         <attr name="fontWeight" format="integer" />
8659     </declare-styleable>
8661     <!-- Attributes that are read when parsing a <fontfamily> tag. -->
8662     <declare-styleable name="FontFamily">
8663         <!-- The authority of the Font Provider to be used for the request. -->
8664         <attr name="fontProviderAuthority" format="string" />
8665         <!-- The package for the Font Provider to be used for the request. This is used to verify
8666         the identity of the provider. -->
8667         <attr name="fontProviderPackage" format="string" />
8668         <!-- The query to be sent over to the provider. Refer to your font provider's documentation
8669         on the format of this string. -->
8670         <attr name="fontProviderQuery" format="string" />
8671         <!-- The sets of hashes for the certificates the provider should be signed with. This is
8672         used to verify the identity of the provider, and is only required if the provider is not
8673         part of the system image. This value may point to one list or a list of lists, where each
8674         individual list represents one collection of signature hashes. Refer to your font provider's
8675         documentation for these values. -->
8676         <attr name="fontProviderCerts" format="reference" />
8677     </declare-styleable>
8679     <!-- @hide -->
8680     <declare-styleable name="RecyclerView">
8681         <attr name="layoutManager" format="string" />
8682         <attr name="orientation" />
8683         <attr name="descendantFocusability" />
8684         <attr name="spanCount" format="integer"/>
8685         <attr name="reverseLayout" format="boolean" />
8686         <attr name="stackFromEnd" format="boolean" />
8687     </declare-styleable>
8689     <!-- @hide -->
8690     <declare-styleable name="NotificationTheme">
8691         <attr name="notificationHeaderStyle" format="reference" />
8692         <attr name="notificationHeaderTextAppearance" format="reference" />
8693         <attr name="notificationHeaderIconSize" format="dimension" />
8694     </declare-styleable>
8696     <attr name="lockPatternStyle" format="reference" />
8697 </resources>