attrs.xml revision f5e4bfd856f3bae3c885a9f97831abd9a287e3ad
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2006 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<!-- Formatting note: terminate all comments with a period, to avoid breaking
18     the documentation output. To suppress comment lines from the documentation
19     output, insert an eat-comment element after the comment lines.
20-->
21
22<resources>
23    <!-- These are the standard attributes that make up a complete theme. -->
24    <declare-styleable name="Theme">
25        <!-- ============== -->
26        <!-- Generic styles -->
27        <!-- ============== -->
28        <eat-comment />
29
30        <!-- Specifies that a theme has a light background with dark text on top.  -->
31        <attr name="isLightTheme" format="boolean" />
32
33        <!-- Default color of foreground imagery. -->
34        <attr name="colorForeground" format="color" />
35        <!-- Default color of foreground imagery on an inverted background. -->
36        <attr name="colorForegroundInverse" format="color" />
37        <!-- Default color of background imagery, ex. full-screen windows. -->
38        <attr name="colorBackground" format="color" />
39        <!-- Default color of background imagery for floating components, ex. dialogs, popups, and cards. -->
40        <attr name="colorBackgroundFloating" format="color" />
41        <!-- This is a hint for a solid color that can be used for caching
42             rendered views.  This should be the color of the background when
43             there is a solid background color; it should be null when the
44             background is a texture or translucent.  When a device is able
45             to use accelerated drawing (thus setting state_accelerated), the
46             cache hint is ignored and always assumed to be transparent. -->
47        <attr name="colorBackgroundCacheHint" format="color" />
48
49        <!-- Default highlight color for items that are pressed. -->
50        <attr name="colorPressedHighlight" format="color" />
51        <!-- Default highlight color for items that are long-pressed. -->
52        <attr name="colorLongPressedHighlight" format="color" />
53        <!-- Default highlight color for items that are
54             focused. (Focused meaning cursor-based selection.) -->
55        <attr name="colorFocusedHighlight" format="color" />
56        <!-- Default highlight color for items that are
57             activated. (Activated meaning persistent selection.) -->
58        <attr name="colorActivatedHighlight" format="color" />
59        <!-- Default highlight color for items in multiple selection
60             mode. -->
61        <attr name="colorMultiSelectHighlight" format="color" />
62
63        <!-- Drawable to be drawn over the view to mark it as autofilled-->
64        <attr name="autofilledHighlight" format="reference" />
65
66        <!-- Default disabled alpha for widgets that set enabled/disabled alpha programmatically. -->
67        <attr name="disabledAlpha" format="float" />
68        <!-- The alpha applied to the foreground color to create the primary text color. -->
69        <attr name="primaryContentAlpha" format="float" />
70        <!-- The alpha applied to the foreground color to create the secondary text color. -->
71        <attr name="secondaryContentAlpha" format="float" />
72        <!-- Color used for error states and things that need to be drawn to
73             the users attention.. -->
74        <attr name="colorError" format="reference|color" />
75        <!-- Default background dim amount when a menu, dialog, or something similar pops up. -->
76        <attr name="backgroundDimAmount" format="float" />
77        <!-- Control whether dimming behind the window is enabled.  The default
78             theme does not set this value, meaning it is based on whether the
79             window is floating. -->
80        <attr name="backgroundDimEnabled" format="boolean" />
81
82        <!-- =========== -->
83        <!-- Text styles -->
84        <!-- =========== -->
85        <eat-comment />
86
87        <!-- Default appearance of text: color, typeface, size, and style. -->
88        <attr name="textAppearance" format="reference" />
89        <!-- Default appearance of text against an inverted background:
90             color, typeface, size, and style. -->
91        <attr name="textAppearanceInverse" format="reference" />
92
93        <!-- The most prominent text color.  -->
94        <attr name="textColorPrimary" format="reference|color" />
95        <!-- Secondary text color. -->
96        <attr name="textColorSecondary" format="reference|color" />
97        <!-- Tertiary text color. -->
98        <attr name="textColorTertiary" format="reference|color" />
99
100        <!-- Primary inverse text color, useful for inverted backgrounds. -->
101        <attr name="textColorPrimaryInverse" format="reference|color" />
102        <!-- Secondary inverse text color, useful for inverted backgrounds. -->
103        <attr name="textColorSecondaryInverse" format="reference|color" />
104        <!-- Tertiary inverse text color, useful for inverted backgrounds. -->
105        <attr name="textColorTertiaryInverse" format="reference|color" />
106
107        <!-- Inverse hint text color. -->
108        <attr name="textColorHintInverse" format="reference|color" />
109
110        <!-- Bright text color. Only differentiates based on the disabled state. -->
111        <attr name="textColorPrimaryDisableOnly" format="reference|color" />
112
113        <!-- Bright inverse text color. Only differentiates based on the disabled state. -->
114        <attr name="textColorPrimaryInverseDisableOnly" format="reference|color" />
115
116        <!-- Bright text color. This does not differentiate the disabled state. As an example,
117             buttons use this since they display the disabled state via the background and not the
118             foreground text color. -->
119        <attr name="textColorPrimaryNoDisable" format="reference|color" />
120        <!-- Dim text color. This does not differentiate the disabled state. -->
121        <attr name="textColorSecondaryNoDisable" format="reference|color" />
122
123        <!-- Bright inverse text color. This does not differentiate the disabled state. -->
124        <attr name="textColorPrimaryInverseNoDisable" format="reference|color" />
125        <!-- Dim inverse text color. This does not differentiate the disabled state. -->
126        <attr name="textColorSecondaryInverseNoDisable" format="reference|color" />
127
128        <!-- Bright text color for use over activated backgrounds. -->
129        <attr name="textColorPrimaryActivated" format="reference|color" />
130        <!-- Dim text color for use over activated backgrounds. -->
131        <attr name="textColorSecondaryActivated" format="reference|color" />
132
133        <!-- Text color for urls in search suggestions, used by things like global search and the browser. @hide -->
134        <attr name="textColorSearchUrl" format="reference|color" />
135
136        <!-- Color of highlighted text, when used in a light theme. -->
137        <attr name="textColorHighlightInverse" format="reference|color" />
138        <!-- Color of link text (URLs), when used in a light theme. -->
139        <attr name="textColorLinkInverse" format="reference|color" />
140
141        <!-- Color of list item text in alert dialogs. -->
142        <attr name="textColorAlertDialogListItem" format="reference|color" />
143
144        <!-- Search widget more corpus result item background. -->
145        <attr name="searchWidgetCorpusItemBackground" format="reference|color" />
146
147        <!-- Text color, typeface, size, and style for "large" text. Defaults to primary text color. -->
148        <attr name="textAppearanceLarge" format="reference" />
149        <!-- Text color, typeface, size, and style for "medium" text. Defaults to primary text color. -->
150        <attr name="textAppearanceMedium" format="reference" />
151        <!-- Text color, typeface, size, and style for "small" text. Defaults to secondary text color. -->
152        <attr name="textAppearanceSmall" format="reference" />
153
154        <!-- Text color, typeface, size, and style for "large" inverse text. Defaults to primary inverse text color. -->
155        <attr name="textAppearanceLargeInverse" format="reference" />
156        <!-- Text color, typeface, size, and style for "medium" inverse text. Defaults to primary inverse text color. -->
157        <attr name="textAppearanceMediumInverse" format="reference" />
158        <!-- Text color, typeface, size, and style for "small" inverse text. Defaults to secondary inverse text color. -->
159        <attr name="textAppearanceSmallInverse" format="reference" />
160
161        <!-- Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color. -->
162        <attr name="textAppearanceSearchResultTitle" format="reference" />
163        <!-- Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color. -->
164        <attr name="textAppearanceSearchResultSubtitle" format="reference" />
165
166        <!-- Text color, typeface, size, and style for the text inside of a button. -->
167        <attr name="textAppearanceButton" format="reference" />
168
169        <!-- Text color, typeface, size, and style for the text inside of a popup menu. -->
170        <attr name="textAppearanceLargePopupMenu" format="reference" />
171
172        <!-- Text color, typeface, size, and style for small text inside of a popup menu. -->
173        <attr name="textAppearanceSmallPopupMenu" format="reference" />
174
175        <!-- Text color, typeface, size, and style for header text inside of a popup menu. -->
176        <attr name="textAppearancePopupMenuHeader" format="reference" />
177
178        <!-- The underline color and thickness for easy correct suggestion -->
179        <attr name="textAppearanceEasyCorrectSuggestion" format="reference" />
180
181        <!-- The underline color and thickness for misspelled suggestion -->
182        <attr name="textAppearanceMisspelledSuggestion" format="reference" />
183
184        <!-- The underline color and thickness for auto correction suggestion -->
185        <attr name="textAppearanceAutoCorrectionSuggestion" format="reference" />
186
187        <!--  The underline color -->
188        <attr name="textUnderlineColor" format="reference|color" />
189        <!--  The underline thickness -->
190        <attr name="textUnderlineThickness" format="reference|dimension" />
191
192        <!-- EditText text foreground color. -->
193        <attr name="editTextColor" format="reference|color" />
194        <!-- EditText background drawable. -->
195        <attr name="editTextBackground" format="reference" />
196
197        <!-- Popup text displayed in TextView when setError is used. -->
198        <attr name="errorMessageBackground" format="reference" />
199        <!-- Background used instead of errorMessageBackground when the popup has to be above. -->
200        <attr name="errorMessageAboveBackground" format="reference" />
201
202        <!-- A styled string, specifying the style to be used for showing
203             inline candidate text when composing with an input method.  The
204             text itself will be ignored, but the style spans will be applied
205             to the candidate text as it is edited. -->
206        <attr name="candidatesTextStyleSpans" format="reference|string" />
207
208        <!-- Drawable to use for check marks. -->
209        <attr name="textCheckMark" format="reference" />
210        <attr name="textCheckMarkInverse" format="reference" />
211
212        <!-- Drawable to use for multiple choice indicators. -->
213        <attr name="listChoiceIndicatorMultiple" format="reference" />
214
215        <!-- Drawable to use for single choice indicators. -->
216        <attr name="listChoiceIndicatorSingle" format="reference" />
217
218        <!-- Drawable used as a background for selected list items. -->
219        <attr name="listChoiceBackgroundIndicator" format="reference" />
220
221        <!-- Drawable used as a background for activated items. -->
222        <attr name="activatedBackgroundIndicator" format="reference" />
223
224        <!-- ============= -->
225        <!-- Button styles -->
226        <!-- ============= -->
227        <eat-comment />
228
229        <!-- Normal Button style. -->
230        <attr name="buttonStyle" format="reference" />
231
232        <!-- Small Button style. -->
233        <attr name="buttonStyleSmall" format="reference" />
234
235        <!-- Button style to inset into an EditText. -->
236        <attr name="buttonStyleInset" format="reference" />
237
238        <!-- ToggleButton style. -->
239        <attr name="buttonStyleToggle" format="reference" />
240
241        <!-- ============== -->
242        <!-- Gallery styles -->
243        <!-- ============== -->
244        <eat-comment />
245
246        <!-- The preferred background for gallery items. This should be set
247             as the background of any Views you provide from the Adapter. -->
248        <attr name="galleryItemBackground" format="reference" />
249
250        <!-- =========== -->
251        <!-- List styles -->
252        <!-- =========== -->
253        <eat-comment />
254
255        <!-- The preferred list item height. -->
256        <attr name="listPreferredItemHeight" format="dimension" />
257        <!-- A smaller, sleeker list item height. -->
258        <attr name="listPreferredItemHeightSmall" format="dimension" />
259        <!-- A larger, more robust list item height. -->
260        <attr name="listPreferredItemHeightLarge" format="dimension" />
261        <!-- The list item height for search results. @hide -->
262        <attr name="searchResultListItemHeight" format="dimension" />
263
264        <!-- The preferred padding along the left edge of list items. -->
265        <attr name="listPreferredItemPaddingLeft" format="dimension" />
266        <!-- The preferred padding along the right edge of list items. -->
267        <attr name="listPreferredItemPaddingRight" format="dimension" />
268
269        <!-- The preferred TextAppearance for the primary text of list items. -->
270        <attr name="textAppearanceListItem" format="reference" />
271        <!-- The preferred TextAppearance for the secondary text of list items. -->
272        <attr name="textAppearanceListItemSecondary" format="reference" />
273        <!-- The preferred TextAppearance for the primary text of small list items. -->
274        <attr name="textAppearanceListItemSmall" format="reference" />
275
276        <!-- The drawable for the list divider. -->
277        <attr name="listDivider" format="reference" />
278        <!-- The list divider used in alert dialogs. -->
279        <attr name="listDividerAlertDialog" format="reference" />
280        <!-- TextView style for list separators. -->
281        <attr name="listSeparatorTextViewStyle" format="reference" />
282        <!-- The preferred left padding for an expandable list item (for child-specific layouts,
283             use expandableListPreferredChildPaddingLeft). This takes into account
284             the indicator that will be shown to next to the item. -->
285        <attr name="expandableListPreferredItemPaddingLeft" format="dimension" />
286        <!-- The preferred left padding for an expandable list item that is a child.
287             If this is not provided, it defaults to the expandableListPreferredItemPaddingLeft. -->
288        <attr name="expandableListPreferredChildPaddingLeft" format="dimension" />
289        <!-- The preferred left bound for an expandable list item's indicator. For a child-specific
290             indicator, use expandableListPreferredChildIndicatorLeft. -->
291        <attr name="expandableListPreferredItemIndicatorLeft" format="dimension" />
292        <!-- The preferred right bound for an expandable list item's indicator. For a child-specific
293             indicator, use expandableListPreferredChildIndicatorRight. -->
294        <attr name="expandableListPreferredItemIndicatorRight" format="dimension" />
295        <!-- The preferred left bound for an expandable list child's indicator. -->
296        <attr name="expandableListPreferredChildIndicatorLeft" format="dimension" />
297        <!-- The preferred right bound for an expandable list child's indicator. -->
298        <attr name="expandableListPreferredChildIndicatorRight" format="dimension" />
299
300        <!-- The preferred item height for dropdown lists. -->
301        <attr name="dropdownListPreferredItemHeight" format="dimension" />
302
303        <!-- The preferred padding along the start edge of list items. -->
304        <attr name="listPreferredItemPaddingStart" format="dimension" />
305        <!-- The preferred padding along the end edge of list items. -->
306        <attr name="listPreferredItemPaddingEnd" format="dimension" />
307
308        <!-- ============= -->
309        <!-- Window styles -->
310        <!-- ============= -->
311        <eat-comment />
312
313        <!-- Drawable to use as the overall window background.  As of
314             {@link android.os.Build.VERSION_CODES#HONEYCOMB}, this may
315             be a selector that uses state_accelerated to pick a non-solid
316             color when running on devices that can draw such a bitmap
317             with complex compositing on top at 60fps.
318
319             <p>There are a few special considerations to use when setting this
320             drawable:
321             <ul>
322             <li> This information will be used to infer the pixel format
323                  for your window's surface.  If the drawable has any
324                  non-opaque pixels, your window will be translucent
325                  (32 bpp).
326             <li> If you want to draw the entire background
327                  yourself, you should set this drawable to some solid
328                  color that closely matches that background (so the
329                  system's preview of your window will match), and
330                  then in code manually set your window's background to
331                  null so it will not be drawn.
332             </ul> -->
333        <attr name="windowBackground" format="reference" />
334        <!-- Drawable to draw selectively within the inset areas when the windowBackground
335             has been set to null. This protects against seeing visual garbage in the
336             surface when the app has not drawn any content into this area. One example is
337             when the user is resizing a window of an activity that has
338             {@link android.R.attr#resizeableActivity} set for multi-window mode. -->
339        <attr name="windowBackgroundFallback" format="reference" />
340        <!-- Drawable to use as a frame around the window. -->
341        <attr name="windowFrame" format="reference" />
342        <!-- Flag indicating whether there should be no title on this window. -->
343        <attr name="windowNoTitle" format="boolean" />
344        <!-- Flag indicating whether this window should fill the entire screen.  Corresponds
345             to {@link android.view.WindowManager.LayoutParams#FLAG_FULLSCREEN}. -->
346        <attr name="windowFullscreen" format="boolean" />
347        <!-- Flag indicating whether this window should extend into overscan region.  Corresponds
348             to {@link android.view.WindowManager.LayoutParams#FLAG_LAYOUT_IN_OVERSCAN}. -->
349        <attr name="windowOverscan" format="boolean" />
350        <!-- Flag indicating whether this is a floating window. -->
351        <attr name="windowIsFloating" format="boolean" />
352        <!-- Flag indicating whether this is a translucent window. If this attribute is unset (but
353             not if set to false), the window might still be considered translucent, if
354             windowSwipeToDismiss is set to true. -->
355        <attr name="windowIsTranslucent" format="boolean" />
356        <!-- Flag indicating that this window's background should be the
357             user's current wallpaper.  Corresponds
358             to {@link android.view.WindowManager.LayoutParams#FLAG_SHOW_WALLPAPER}. -->
359        <attr name="windowShowWallpaper" format="boolean" />
360        <!-- This Drawable is overlaid over the foreground of the Window's content area, usually
361             to place a shadow below the title.  -->
362        <attr name="windowContentOverlay" format="reference" />
363        <!-- The style resource to use for a window's title bar height. -->
364        <attr name="windowTitleSize" format="dimension" />
365        <!-- The style resource to use for a window's title text. -->
366        <attr name="windowTitleStyle" format="reference" />
367        <!-- The style resource to use for a window's title area. -->
368        <attr name="windowTitleBackgroundStyle" format="reference" />
369
370        <!-- Reference to a style resource holding
371             the set of window animations to use, which can be
372             any of the attributes defined by
373             {@link android.R.styleable#WindowAnimation}. -->
374        <attr name="windowAnimationStyle" format="reference" />
375
376        <!-- Flag indicating whether this window should have an Action Bar
377             in place of the usual title bar. -->
378        <attr name="windowActionBar" format="boolean" />
379
380        <!-- Flag indicating whether this window's Action Bar should overlay
381             application content. Does nothing if the window would not
382             have an Action Bar. -->
383        <attr name="windowActionBarOverlay" format="boolean" />
384
385        <!-- Flag indicating whether action modes should overlay window content
386             when there is not reserved space for their UI (such as an Action Bar). -->
387        <attr name="windowActionModeOverlay" format="boolean" />
388
389        <!-- Defines the default soft input state that this window would
390             like when it is displayed.  Corresponds
391             to {@link android.view.WindowManager.LayoutParams#softInputMode}. -->
392        <attr name="windowSoftInputMode">
393            <!-- Not specified, use what the system thinks is best.  This
394                 is the default. -->
395            <flag name="stateUnspecified" value="0" />
396            <!-- Leave the soft input window as-is, in whatever state it
397                 last was. -->
398            <flag name="stateUnchanged" value="1" />
399            <!-- Make the soft input area hidden when normally appropriate
400                 (when the user is navigating forward to your window). -->
401            <flag name="stateHidden" value="2" />
402            <!-- Always make the soft input area hidden when this window
403                 has input focus. -->
404            <flag name="stateAlwaysHidden" value="3" />
405            <!-- Make the soft input area visible when normally appropriate
406                 (when the user is navigating forward to your window). -->
407            <flag name="stateVisible" value="4" />
408            <!-- Always make the soft input area visible when this window
409                 has input focus. -->
410            <flag name="stateAlwaysVisible" value="5" />
411
412            <!-- The window resize/pan adjustment has not been specified,
413                 the system will automatically select between resize and pan
414                 modes, depending
415                 on whether the content of the window has any layout views
416                 that can scroll their contents.  If there is such a view,
417                 then the window will be resized, with the assumption being
418                 that the resizeable area can be reduced to make room for
419                 the input UI. -->
420            <flag name="adjustUnspecified" value="0x00" />
421            <!-- Always resize the window: the content area of the window is
422                 reduced to make room for the soft input area. -->
423            <flag name="adjustResize" value="0x10" />
424            <!-- Don't resize the window to make room for the soft input area;
425                 instead pan the contents of the window as focus moves inside
426                 of it so that the user can see what they are typing.  This is
427                 generally less desireable than panning because the user may
428                 need to close the input area to get at and interact with
429                 parts of the window. -->
430            <flag name="adjustPan" value="0x20" />
431            <!-- Don't resize <em>or</em> pan the window to make room for the
432                 soft input area; the window is never adjusted for it. -->
433            <flag name="adjustNothing" value="0x30" />
434        </attr>
435
436        <!-- Flag allowing you to disable the splash screen for a window. The default value is
437             false; if set to true, the system can never use the window's theme to show a splash
438             screen before your actual instance is shown to the user. -->
439        <attr name="windowDisablePreview" format="boolean" />
440
441        <!-- Flag indicating that this window should not be displayed at all.
442             The default value is false; if set to true, and this window is
443             the main window of an Activity, then it will never actually
444             be added to the window manager.  This means that your activity
445             must immediately quit without waiting for user interaction,
446             because there will be no such interaction coming. -->
447        <attr name="windowNoDisplay" format="boolean" />
448
449        <!-- Flag indicating that this window should allow touches to be split
450             across other windows that also support split touch.
451             The default value is true for applications with a targetSdkVersion
452             of Honeycomb or newer; false otherwise.
453             When this flag is false, the first pointer that goes down determines
454             the window to which all subsequent touches go until all pointers go up.
455             When this flag is true, each pointer (not necessarily the first) that
456             goes down determines the window to which all subsequent touches of that
457             pointer will go until that pointers go up thereby enabling touches
458             with multiple pointers to be split across multiple windows. -->
459        <attr name="windowEnableSplitTouch" format="boolean" />
460
461        <!-- Control whether a container should automatically close itself if
462             the user touches outside of it.  This only applies to activities
463             and dialogs.
464
465             <p>Note: this attribute will only be respected for applications
466             that are targeting {@link android.os.Build.VERSION_CODES#HONEYCOMB}
467             or later. -->
468        <attr name="windowCloseOnTouchOutside" format="boolean" />
469
470        <!-- Flag indicating whether this window requests a translucent status bar.  Corresponds
471             to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_STATUS}. -->
472        <attr name="windowTranslucentStatus" format="boolean" />
473
474        <!-- Flag indicating whether this window requests a translucent navigation bar.  Corresponds
475             to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_NAVIGATION}. -->
476        <attr name="windowTranslucentNavigation" format="boolean" />
477
478        <!-- Flag to indicate that a window can be swiped away to be dismissed.
479             Corresponds to {@link android.view.Window#FEATURE_SWIPE_TO_DISMISS}. It will also
480             dynamically change translucency of the window, if the windowIsTranslucent is not set.
481             If windowIsTranslucent is set (to either true or false) it will obey that setting. -->
482        <attr name="windowSwipeToDismiss" format="boolean" />
483
484        <!-- Flag indicating whether this window requests that content changes be performed
485             as scene changes with transitions. Corresponds to
486             {@link android.view.Window#FEATURE_CONTENT_TRANSITIONS}. -->
487        <attr name="windowContentTransitions" format="boolean" />
488
489        <!-- Reference to a TransitionManager XML resource defining the desired
490             transitions between different window content. -->
491        <attr name="windowContentTransitionManager" format="reference" />
492
493        <!-- Flag indicating whether this window allows Activity Transitions.
494             Corresponds to {@link android.view.Window#FEATURE_ACTIVITY_TRANSITIONS}. -->
495        <attr name="windowActivityTransitions" format="boolean" />
496
497        <!-- Reference to a Transition XML resource defining the desired Transition
498             used to move Views into the initial Window's content Scene. Corresponds to
499             {@link android.view.Window#setEnterTransition(android.transition.Transition)}. -->
500        <attr name="windowEnterTransition" format="reference"/>
501
502        <!-- Reference to a Transition XML resource defining the desired Transition
503             used to move Views out of the scene when the Window is
504             preparing to close. Corresponds to
505             {@link android.view.Window#setReturnTransition(android.transition.Transition)}. -->
506        <attr name="windowReturnTransition" format="reference"/>
507
508        <!-- Reference to a Transition XML resource defining the desired Transition
509             used to move Views out of the Window's content Scene when launching a new Activity.
510             Corresponds to
511             {@link android.view.Window#setExitTransition(android.transition.Transition)}. -->
512        <attr name="windowExitTransition" format="reference"/>
513
514        <!-- Reference to a Transition XML resource defining the desired Transition
515             used to move Views in to the scene when returning from a previously-started Activity.
516             Corresponds to
517             {@link android.view.Window#setReenterTransition(android.transition.Transition)}. -->
518        <attr name="windowReenterTransition" format="reference"/>
519
520        <!-- Reference to a Transition XML resource defining the desired Transition
521             used to move shared elements transferred into the Window's initial content Scene.
522             Corresponds to {@link android.view.Window#setSharedElementEnterTransition(
523             android.transition.Transition)}. -->
524        <attr name="windowSharedElementEnterTransition" format="reference"/>
525
526        <!-- Reference to a Transition XML resource defining the desired Transition
527             used to move shared elements transferred back to a calling Activity.
528             Corresponds to {@link android.view.Window#setSharedElementReturnTransition(
529             android.transition.Transition)}. -->
530        <attr name="windowSharedElementReturnTransition" format="reference"/>
531
532        <!-- Reference to a Transition XML resource defining the desired Transition
533             used when starting a new Activity to move shared elements prior to transferring
534             to the called Activity.
535             Corresponds to {@link android.view.Window#setSharedElementExitTransition(
536             android.transition.Transition)}. -->
537        <attr name="windowSharedElementExitTransition" format="reference"/>
538
539        <!-- Reference to a Transition XML resource defining the desired Transition
540             used for shared elements transferred back to a calling Activity.
541             Corresponds to {@link android.view.Window#setSharedElementReenterTransition(
542             android.transition.Transition)}. -->
543        <attr name="windowSharedElementReenterTransition" format="reference"/>
544
545        <!-- Flag indicating whether this Window's transition should overlap with
546             the exiting transition of the calling Activity. Corresponds to
547             {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}.
548             The default value is true. -->
549        <attr name="windowAllowEnterTransitionOverlap" format="boolean"/>
550
551        <!-- Flag indicating whether this Window's transition should overlap with
552             the exiting transition of the called Activity when the called Activity
553             finishes. Corresponds to
554             {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}.
555             The default value is true. -->
556        <attr name="windowAllowReturnTransitionOverlap" format="boolean"/>
557
558        <!-- Indicates whether or not shared elements should use an overlay
559             during transitions. The default value is true. -->
560        <attr name="windowSharedElementsUseOverlay" format="boolean"/>
561
562        <!-- Internal layout used internally for window decor -->
563        <attr name="windowActionBarFullscreenDecorLayout" format="reference" />
564
565        <!-- The duration, in milliseconds, of the window background fade duration
566             when transitioning into or away from an Activity when called with an
567             Activity Transition. Corresponds to
568             {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. -->
569        <attr name="windowTransitionBackgroundFadeDuration" format="integer"/>
570
571        <!-- ============ -->
572        <!-- Floating toolbar styles -->
573        <!-- ============ -->
574       <eat-comment />
575       <attr name="floatingToolbarCloseDrawable" format="reference" />
576       <attr name="floatingToolbarForegroundColor" format="reference|color" />
577       <attr name="floatingToolbarItemBackgroundBorderlessDrawable" format="reference" />
578       <attr name="floatingToolbarItemBackgroundDrawable" format="reference" />
579       <attr name="floatingToolbarOpenDrawable" format="reference" />
580       <attr name="floatingToolbarPopupBackgroundDrawable" format="reference" />
581       <attr name="floatingToolbarDividerColor" format="reference" />
582
583        <!-- ============ -->
584        <!-- Alert Dialog styles -->
585        <!-- ============ -->
586        <eat-comment />
587        <attr name="alertDialogStyle" format="reference" />
588        <attr name="alertDialogButtonGroupStyle" format="reference" />
589        <attr name="alertDialogCenterButtons" format="boolean" />
590
591        <!-- ============== -->
592        <!-- Image elements -->
593        <!-- ============== -->
594        <eat-comment />
595
596        <!-- Background that can be used behind parts of a UI that provide
597             details on data the user is selecting.  For example, this is
598             the background element of PreferenceActivity's embedded
599             preference fragment. -->
600        <attr name="detailsElementBackground" format="reference" />
601
602        <!-- Icon that should be used to indicate that an app is waiting for a fingerprint scan.
603             This should be used whenever an app is requesting the user to place a finger on the
604             fingerprint sensor. It can be combined with other drawables such as colored circles, so
605             the appearance matches the branding of the app requesting the fingerprint scan.-->
606        <attr name="fingerprintAuthDrawable" format="reference" />
607
608        <!-- ============ -->
609        <!-- Panel styles -->
610        <!-- ============ -->
611        <eat-comment />
612
613        <!-- The background of a panel when it is inset from the left and right edges of the screen. -->
614        <attr name="panelBackground" format="reference|color" />
615        <!-- The background of a panel when it extends to the left and right edges of the screen. -->
616        <attr name="panelFullBackground" format="reference|color" />
617        <!-- Default color of foreground panel imagery. -->
618        <attr name="panelColorForeground" format="reference|color" />
619        <!-- Color that matches (as closely as possible) the panel background. -->
620        <attr name="panelColorBackground" format="reference|color" />
621        <!-- Default appearance of panel text. -->
622        <attr name="panelTextAppearance" format="reference" />
623
624        <attr name="panelMenuIsCompact" format="boolean" />
625        <attr name="panelMenuListWidth" format="dimension" />
626        <attr name="panelMenuListTheme" format="reference" />
627
628        <!-- =================== -->
629        <!-- Other widget styles -->
630        <!-- =================== -->
631        <eat-comment />
632
633        <!-- Default AbsListView style. -->
634        <attr name="absListViewStyle" format="reference" />
635        <!-- Default AutoCompleteTextView style. -->
636        <attr name="autoCompleteTextViewStyle" format="reference" />
637        <!-- Default Checkbox style. -->
638        <attr name="checkboxStyle" format="reference" />
639        <!-- Default CheckedTextView style. -->
640        <attr name="checkedTextViewStyle" format="reference" />
641        <!-- Default ListView style for drop downs. -->
642        <attr name="dropDownListViewStyle" format="reference" />
643        <!-- Default EditText style. -->
644        <attr name="editTextStyle" format="reference" />
645        <!-- Default ExpandableListView style. -->
646        <attr name="expandableListViewStyle" format="reference" />
647        <!-- ExpandableListView with white background. -->
648        <attr name="expandableListViewWhiteStyle" format="reference" />
649        <!-- Default Gallery style. -->
650        <attr name="galleryStyle" format="reference" />
651        <!-- Default GestureOverlayView style. -->
652        <attr name="gestureOverlayViewStyle" format="reference" />
653        <!-- Default GridView style. -->
654        <attr name="gridViewStyle" format="reference" />
655        <!-- The style resource to use for an ImageButton. -->
656        <attr name="imageButtonStyle" format="reference" />
657        <!-- The style resource to use for an ImageButton that is an image well. -->
658        <attr name="imageWellStyle" format="reference" />
659        <!-- Default menu-style ListView style. -->
660        <attr name="listMenuViewStyle" format="reference" />
661        <!-- Default ListView style. -->
662        <attr name="listViewStyle" format="reference" />
663        <!-- ListView with white background. -->
664        <attr name="listViewWhiteStyle" format="reference" />
665        <!-- Default PopupWindow style. -->
666        <attr name="popupWindowStyle" format="reference" />
667        <!-- Default ProgressBar style. This is a medium circular progress bar. -->
668        <attr name="progressBarStyle" format="reference" />
669        <!-- Horizontal ProgressBar style. This is a horizontal progress bar. -->
670        <attr name="progressBarStyleHorizontal" format="reference" />
671        <!-- Small ProgressBar style. This is a small circular progress bar. -->
672        <attr name="progressBarStyleSmall" format="reference" />
673        <!-- Small ProgressBar in title style. This is a small circular progress bar that will be placed in title bars. -->
674        <attr name="progressBarStyleSmallTitle" format="reference" />
675        <!-- Large ProgressBar style. This is a large circular progress bar. -->
676        <attr name="progressBarStyleLarge" format="reference" />
677        <!-- Inverse ProgressBar style. This is a medium circular progress bar. -->
678        <attr name="progressBarStyleInverse" format="reference" />
679        <!-- Small inverse ProgressBar style. This is a small circular progress bar. -->
680        <attr name="progressBarStyleSmallInverse" format="reference" />
681        <!-- Large inverse ProgressBar style. This is a large circular progress bar. -->
682        <attr name="progressBarStyleLargeInverse" format="reference" />
683        <!-- Default SeekBar style. -->
684        <attr name="seekBarStyle" format="reference" />
685        <!-- Default RatingBar style. -->
686        <attr name="ratingBarStyle" format="reference" />
687        <!-- Indicator RatingBar style. -->
688        <attr name="ratingBarStyleIndicator" format="reference" />
689        <!-- Small indicator RatingBar style. -->
690        <attr name="ratingBarStyleSmall" format="reference" />
691        <!-- Default RadioButton style. -->
692        <attr name="radioButtonStyle" format="reference" />
693        <!-- Default ScrollView style. -->
694        <attr name="scrollViewStyle" format="reference" />
695        <!-- Default HorizontalScrollView style. -->
696        <attr name="horizontalScrollViewStyle" format="reference" />
697        <!-- Default Spinner style. -->
698        <attr name="spinnerStyle" format="reference" />
699        <!-- Default dropdown Spinner style. -->
700        <attr name="dropDownSpinnerStyle" format="reference" />
701        <!-- Default ActionBar dropdown style. -->
702        <attr name="actionDropDownStyle" format="reference" />
703        <!-- Default action button style. -->
704        <attr name="actionButtonStyle" format="reference" />
705        <!-- Default Star style. -->
706        <attr name="starStyle" format="reference" />
707        <!-- Default TabWidget style. -->
708        <attr name="tabWidgetStyle" format="reference" />
709        <!-- Default TextView style. -->
710        <attr name="textViewStyle" format="reference" />
711        <!-- Default WebTextView style. -->
712        <attr name="webTextViewStyle" format="reference" />
713        <!-- Default WebView style. -->
714        <attr name="webViewStyle" format="reference" />
715        <!-- Default style for drop down items. -->
716        <attr name="dropDownItemStyle" format="reference" />
717         <!-- Default style for spinner drop down items. -->
718        <attr name="spinnerDropDownItemStyle" format="reference" />
719        <!-- Default style for drop down hints. -->
720        <attr name="dropDownHintAppearance" format="reference" />
721        <!-- Default spinner item style. -->
722        <attr name="spinnerItemStyle" format="reference" />
723        <!-- Default MapView style. -->
724        <attr name="mapViewStyle" format="reference" />
725        <!-- Drawable used as an overlay on top of quickcontact photos. -->
726        <attr name="quickContactBadgeOverlay" format="reference" />
727        <!-- Default quickcontact badge style with small quickcontact window. -->
728        <attr name="quickContactBadgeStyleWindowSmall" format="reference" />
729        <!-- Default quickcontact badge style with medium quickcontact window. -->
730        <attr name="quickContactBadgeStyleWindowMedium" format="reference" />
731        <!-- Default quickcontact badge style with large quickcontact window. -->
732        <attr name="quickContactBadgeStyleWindowLarge" format="reference" />
733        <!-- Default quickcontact badge style with small quickcontact window. -->
734        <attr name="quickContactBadgeStyleSmallWindowSmall" format="reference" />
735        <!-- Default quickcontact badge style with medium quickcontact window. -->
736        <attr name="quickContactBadgeStyleSmallWindowMedium" format="reference" />
737        <!-- Default quickcontact badge style with large quickcontact window. -->
738        <attr name="quickContactBadgeStyleSmallWindowLarge" format="reference" />
739        <!-- Reference to a style that will be used for the window containing a text
740             selection anchor. -->
741        <attr name="textSelectHandleWindowStyle" format="reference" />
742        <!-- Reference to a style that will be used for the window containing a list of possible
743             text suggestions in an EditText. -->
744        <attr name="textSuggestionsWindowStyle" format="reference" />
745        <!-- Default ListPopupWindow style. -->
746        <attr name="listPopupWindowStyle" format="reference" />
747        <!-- Default PopupMenu style. -->
748        <attr name="popupMenuStyle" format="reference" />
749        <!-- Default context menu PopupMenu style. -->
750        <attr name="contextPopupMenuStyle" format="reference" />
751        <!-- Default StackView style. -->
752        <attr name="stackViewStyle" format="reference" />
753
754        <!-- Default style for the FragmentBreadCrumbs widget. This widget is deprecated
755             starting in API level 21 ({@link android.os.Build.VERSION_CODES#.L}). -->
756        <attr name="fragmentBreadCrumbsStyle" format="reference" />
757
758        <!-- NumberPicker style. -->
759        <attr name="numberPickerStyle" format="reference" />
760
761        <!-- The CalendarView style. -->
762        <attr name="calendarViewStyle" format="reference" />
763
764        <!-- The TimePicker style. -->
765        <attr name="timePickerStyle" format="reference" />
766
767        <!-- The TimePicker dialog theme. -->
768        <attr name="timePickerDialogTheme" format="reference" />
769
770        <!-- The DatePicker style. -->
771        <attr name="datePickerStyle" format="reference" />
772
773        <!-- The DatePicker dialog theme. -->
774        <attr name="datePickerDialogTheme" format="reference" />
775
776        <!-- Default ActivityChooserView style. -->
777        <attr name="activityChooserViewStyle" format="reference" />
778
779        <!-- Default Toolbar style. -->
780        <attr name="toolbarStyle" format="reference" />
781
782        <!-- Fast scroller styles -->
783        <eat-comment />
784
785        <!-- Drawable to use as the fast scroll thumb. -->
786        <attr name="fastScrollThumbDrawable" format="reference" />
787        <!-- Drawable to use as the fast scroll index preview window background
788             when shown on the right. -->
789        <attr name="fastScrollPreviewBackgroundRight" format="reference" />
790        <!-- Drawable to use as the fast scroll index preview window background
791             when shown on the left. -->
792        <attr name="fastScrollPreviewBackgroundLeft" format="reference" />
793        <!-- Drawable to use as the track for the fast scroll thumb.
794             This may be null. -->
795        <attr name="fastScrollTrackDrawable" format="reference" />
796        <!-- Position of the fast scroll index overlay window. -->
797        <attr name="fastScrollOverlayPosition">
798            <enum name="floating" value="0" />
799            <enum name="atThumb" value="1" />
800            <enum name="aboveThumb" value="2" />
801        </attr>
802        <!-- Text color for the fast scroll index overlay. Make sure it
803             plays nicely with fastScrollPreviewBackground[Left|Right]. -->
804        <attr name="fastScrollTextColor" format="color" />
805
806        <!-- =================== -->
807        <!-- Action bar styles   -->
808        <!-- =================== -->
809        <eat-comment />
810        <!-- Default style for tabs within an action bar. -->
811        <attr name="actionBarTabStyle" format="reference" />
812        <!-- Reference to a style for the Action Bar Tab Bar. -->
813        <attr name="actionBarTabBarStyle" format="reference" />
814        <!-- Reference to a style for the Action Bar Tab text. -->
815        <attr name="actionBarTabTextStyle" format="reference" />
816        <!-- Reference to a style for Action Bar overflow buttons. -->
817        <attr name="actionOverflowButtonStyle" format="reference" />
818        <!-- Reference to a style for the Action Bar menu. -->
819        <attr name="actionOverflowMenuStyle" format="reference" />
820        <!-- Reference to a theme that should be used to inflate popups
821             shown by widgets in the action bar. -->
822        <attr name="actionBarPopupTheme" format="reference" />
823        <!-- Reference to a style for the Action Bar. -->
824        <attr name="actionBarStyle" format="reference" />
825        <!-- Reference to a style for the split Action Bar. This style
826             controls the split component that holds the menu/action
827             buttons. actionBarStyle is still used for the primary
828             bar. -->
829        <attr name="actionBarSplitStyle" format="reference" />
830        <!-- Reference to a theme that should be used to inflate the
831             action bar. This will be inherited by any widget inflated
832             into the action bar. -->
833        <attr name="actionBarTheme" format="reference" />
834        <!-- Reference to a theme that should be used to inflate widgets
835             and layouts destined for the action bar. Most of the time
836             this will be a reference to the current theme, but when
837             the action bar has a significantly different contrast
838             profile than the rest of the activity the difference
839             can become important. If this is set to @null the current
840             theme will be used.-->
841        <attr name="actionBarWidgetTheme" format="reference" />
842        <!-- Size of the Action Bar, including the contextual
843             bar used to present Action Modes. -->
844        <attr name="actionBarSize" format="dimension" >
845            <enum name="wrap_content" value="0" />
846        </attr>
847        <!-- Custom divider drawable to use for elements in the action bar. -->
848        <attr name="actionBarDivider" format="reference" />
849        <!-- Custom item state list drawable background for action bar items. -->
850        <attr name="actionBarItemBackground" format="reference" />
851        <!-- TextAppearance style that will be applied to text that
852             appears within action menu items. -->
853        <attr name="actionMenuTextAppearance" format="reference" />
854        <!-- Color for text that appears within action menu items. -->
855        <attr name="actionMenuTextColor" format="color|reference" />
856
857        <!-- =================== -->
858        <!-- Action mode styles  -->
859        <!-- =================== -->
860        <eat-comment />
861        <!-- Reference to a style for the Action Mode. -->
862        <attr name="actionModeStyle" format="reference" />
863        <!-- Reference to a style for the Action Mode close button. -->
864        <attr name="actionModeCloseButtonStyle" format="reference" />
865        <!-- Background drawable to use for action mode UI. -->
866        <attr name="actionModeBackground" format="reference" />
867        <!-- Background drawable to use for action mode UI in the lower split bar. -->
868        <attr name="actionModeSplitBackground" format="reference" />
869        <!-- Drawable to use for the close action mode button. -->
870        <attr name="actionModeCloseDrawable" format="reference" />
871
872        <!-- Drawable to use for the Cut action button in Contextual Action Bar. -->
873        <attr name="actionModeCutDrawable" format="reference" />
874        <!-- Drawable to use for the Copy action button in Contextual Action Bar. -->
875        <attr name="actionModeCopyDrawable" format="reference" />
876        <!-- Drawable to use for the Paste action button in Contextual Action Bar. -->
877        <attr name="actionModePasteDrawable" format="reference" />
878        <!-- Drawable to use for the Select all action button in Contextual Action Bar. -->
879        <attr name="actionModeSelectAllDrawable" format="reference" />
880        <!-- Drawable to use for the Share action button in WebView selection action modes. -->
881        <attr name="actionModeShareDrawable" format="reference" />
882        <!-- Drawable to use for the Find action button in WebView selection action modes. -->
883        <attr name="actionModeFindDrawable" format="reference" />
884        <!-- Drawable to use for the Web Search action button in WebView selection action modes. -->
885        <attr name="actionModeWebSearchDrawable" format="reference" />
886
887        <!-- PopupWindow style to use for action modes when showing as a window overlay. -->
888        <attr name="actionModePopupWindowStyle" format="reference" />
889
890        <!-- =================== -->
891        <!-- Preference styles   -->
892        <!-- =================== -->
893        <eat-comment />
894
895        <!-- Default style for PreferenceScreen. -->
896        <attr name="preferenceScreenStyle" format="reference" />
897        <!-- Default style for the PreferenceActivity. -->
898        <attr name="preferenceActivityStyle" format="reference" />
899        <!-- Default style for Headers pane in PreferenceActivity. -->
900        <attr name="preferenceFragmentStyle" format="reference" />
901        <!-- Default style for PreferenceCategory. -->
902        <attr name="preferenceCategoryStyle" format="reference" />
903        <!-- Default style for Preference. -->
904        <attr name="preferenceStyle" format="reference" />
905        <!-- Default style for informational Preference. -->
906        <attr name="preferenceInformationStyle" format="reference" />
907        <!-- Default style for CheckBoxPreference. -->
908        <attr name="checkBoxPreferenceStyle" format="reference" />
909        <!-- Default style for YesNoPreference. -->
910        <attr name="yesNoPreferenceStyle" format="reference" />
911        <!-- Default style for DialogPreference. -->
912        <attr name="dialogPreferenceStyle" format="reference" />
913        <!-- Default style for EditTextPreference. -->
914        <attr name="editTextPreferenceStyle" format="reference" />
915        <!-- @hide Default style for SeekBarDialogPreference. -->
916        <attr name="seekBarDialogPreferenceStyle" format="reference" />
917        <!-- Default style for RingtonePreference. -->
918        <attr name="ringtonePreferenceStyle" format="reference" />
919        <!-- The preference layout that has the child/tabbed effect. -->
920        <attr name="preferenceLayoutChild" format="reference" />
921        <!-- Preference panel style -->
922        <attr name="preferencePanelStyle" format="reference" />
923        <!-- Preference headers panel style -->
924        <attr name="preferenceHeaderPanelStyle" format="reference" />
925        <!-- Preference list style -->
926        <attr name="preferenceListStyle" format="reference" />
927        <!-- Preference fragment list style -->
928        <attr name="preferenceFragmentListStyle" format="reference" />
929        <!-- Preference fragment padding side -->
930        <attr name="preferenceFragmentPaddingSide" format="dimension" />
931        <!-- Default style for switch preferences. -->
932        <attr name="switchPreferenceStyle" format="reference" />
933        <!-- Default style for seekbar preferences. -->
934        <attr name="seekBarPreferenceStyle" format="reference" />
935
936        <!-- ============================ -->
937        <!-- Text selection handle styles -->
938        <!-- ============================ -->
939        <eat-comment />
940
941        <!-- Reference to a drawable that will be used to display a text selection
942             anchor on the left side of a selection region. -->
943        <attr name="textSelectHandleLeft" format="reference" />
944        <!-- Reference to a drawable that will be used to display a text selection
945             anchor on the right side of a selection region. -->
946        <attr name="textSelectHandleRight" format="reference" />
947        <!-- Reference to a drawable that will be used to display a text selection
948             anchor for positioning the cursor within text. -->
949        <attr name="textSelectHandle" format="reference" />
950        <!-- The layout of the view that is displayed on top of the cursor to paste inside a
951             TextEdit field. -->
952        <attr name="textEditPasteWindowLayout" format="reference" />
953        <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. -->
954        <attr name="textEditNoPasteWindowLayout" format="reference" />
955        <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the
956             insertion cursor because it would be clipped if it were positioned on top. -->
957        <attr name="textEditSidePasteWindowLayout" format="reference" />
958        <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. -->
959        <attr name="textEditSideNoPasteWindowLayout" format="reference" />
960
961        <!-- Layout of the TextView item that will populate the suggestion popup window. -->
962        <attr name="textEditSuggestionItemLayout" format="reference" />
963        <!-- Layout of the container of the suggestion popup window. -->
964        <attr name="textEditSuggestionContainerLayout" format="reference" />
965        <!-- Text appearance of the focused words to be replaced by suggested word. -->
966        <attr name="textEditSuggestionHighlightStyle" format="reference" />
967
968        <!-- Theme to use for dialogs spawned from this theme. -->
969        <attr name="dialogTheme" format="reference" />
970        <!-- Window decor layout to use in dialog mode with icons. -->
971        <attr name="dialogTitleIconsDecorLayout" format="reference" />
972        <!-- Window decor layout to use in dialog mode with custom titles. -->
973        <attr name="dialogCustomTitleDecorLayout" format="reference" />
974        <!-- Window decor layout to use in dialog mode with title only. -->
975        <attr name="dialogTitleDecorLayout" format="reference" />
976        <!-- Preferred padding for dialog content. -->
977        <attr name="dialogPreferredPadding" format="dimension" />
978
979        <!-- Theme to use for alert dialogs spawned from this theme. -->
980        <attr name="alertDialogTheme" format="reference" />
981        <!-- Icon drawable to use for alerts. -->
982        <attr name="alertDialogIcon" format="reference" />
983
984        <!-- Theme to use for presentations spawned from this theme. -->
985        <attr name="presentationTheme" format="reference" />
986
987        <!-- Drawable to use for generic vertical dividers. -->
988        <attr name="dividerVertical" format="reference" />
989
990        <!-- Drawable to use for generic horizontal dividers. -->
991        <attr name="dividerHorizontal" format="reference" />
992
993        <!-- Style for button bars. -->
994        <attr name="buttonBarStyle" format="reference" />
995
996        <!-- Style for buttons within button bars. -->
997        <attr name="buttonBarButtonStyle" format="reference" />
998
999        <!-- Style for the "positive" buttons within button bars. -->
1000        <attr name="buttonBarPositiveButtonStyle" format="reference" />
1001
1002        <!-- Style for the "negative" buttons within button bars. -->
1003        <attr name="buttonBarNegativeButtonStyle" format="reference" />
1004
1005        <!-- Style for the "neutral" buttons within button bars. -->
1006        <attr name="buttonBarNeutralButtonStyle" format="reference" />
1007
1008        <!-- Style for the search query widget. -->
1009        <attr name="searchViewStyle" format="reference" />
1010
1011        <!-- Style for segmented buttons - a container that houses several buttons
1012             with the appearance of a singel button broken into segments. -->
1013        <attr name="segmentedButtonStyle" format="reference" />
1014
1015        <!-- Background drawable for bordered standalone items that need focus/pressed states. -->
1016        <attr name="selectableItemBackground" format="reference" />
1017
1018        <!-- Background drawable for borderless standalone items that need focus/pressed states. -->
1019        <attr name="selectableItemBackgroundBorderless" format="reference" />
1020
1021        <!-- Style for buttons without an explicit border, often used in groups. -->
1022        <attr name="borderlessButtonStyle" format="reference" />
1023
1024        <!-- Background to use for toasts. -->
1025        <attr name="toastFrameBackground" format="reference" />
1026
1027        <!-- Background to use for tooltip popups. -->
1028        <attr name="tooltipFrameBackground" format="reference" />
1029
1030        <!-- Foreground color to use for tooltip popups. -->
1031        <attr name="tooltipForegroundColor" format="reference|color" />
1032
1033        <!-- Background color to use for tooltip popups. -->
1034        <attr name="tooltipBackgroundColor" format="reference|color" />
1035
1036        <!-- Theme to use for Search Dialogs. -->
1037        <attr name="searchDialogTheme" format="reference" />
1038
1039        <!-- Specifies a drawable to use for the 'home as up' indicator. -->
1040        <attr name="homeAsUpIndicator" format="reference" />
1041
1042        <!-- Preference frame layout styles. -->
1043        <attr name="preferenceFrameLayoutStyle" format="reference" />
1044
1045        <!-- Default style for the Switch widget. -->
1046        <attr name="switchStyle" format="reference" />
1047
1048        <!-- Default style for the MediaRouteButton widget. -->
1049        <attr name="mediaRouteButtonStyle" format="reference" />
1050
1051        <!-- ============== -->
1052        <!-- Pointer styles -->
1053        <!-- ============== -->
1054        <eat-comment />
1055
1056        <!-- The drawable for accessibility focused views. -->
1057        <attr name="accessibilityFocusedDrawable" format="reference" />
1058
1059        <!-- Drawable for WebView find-on-page dialogue's "next" button. @hide -->
1060        <attr name="findOnPageNextDrawable" format="reference" />
1061
1062        <!-- Drawable for WebView find-on-page dialogue's "previous" button. @hide -->
1063        <attr name="findOnPagePreviousDrawable" format="reference" />
1064
1065        <!-- ============= -->
1066        <!-- Color palette -->
1067        <!-- ============= -->
1068        <eat-comment />
1069
1070        <!-- The primary branding color for the app. By default, this is the color applied to the
1071             action bar background. -->
1072        <attr name="colorPrimary" format="color" />
1073
1074        <!-- Dark variant of the primary branding color. By default, this is the color applied to
1075             the status bar (via statusBarColor) and navigation bar (via navigationBarColor). -->
1076        <attr name="colorPrimaryDark" format="color" />
1077
1078        <!-- The secondary branding color for the app. -->
1079        <attr name="colorSecondary" format="color" />
1080
1081        <!-- Bright complement to the primary branding color. By default, this is the color applied
1082             to framework controls (via colorControlActivated). -->
1083        <attr name="colorAccent" format="color" />
1084
1085        <!-- The color applied to framework controls in their normal state. -->
1086        <attr name="colorControlNormal" format="color" />
1087
1088        <!-- The color applied to framework controls in their activated (ex. checked) state. -->
1089        <attr name="colorControlActivated" format="color" />
1090
1091        <!-- The color applied to framework control highlights (ex. ripples, list selectors). -->
1092        <attr name="colorControlHighlight" format="color" />
1093
1094        <!-- The color applied to framework buttons in their normal state. -->
1095        <attr name="colorButtonNormal" format="color" />
1096
1097        <!-- The color applied to framework switch thumbs in their normal state. -->
1098        <attr name="colorSwitchThumbNormal" format="color" />
1099
1100        <!-- The color applied to the edge effect on scrolling containers. -->
1101        <attr name="colorEdgeEffect" format="color" />
1102
1103        <!-- =================== -->
1104        <!-- Lighting properties -->
1105        <!-- =================== -->
1106        <eat-comment />
1107
1108        <!-- @hide The default Y position of the light used to project view shadows. -->
1109        <attr name="lightY" format="dimension" />
1110
1111        <!-- @hide The default Z position of the light used to project view shadows. -->
1112        <attr name="lightZ" format="dimension" />
1113
1114        <!-- @hide The default radius of the light used to project view shadows. -->
1115        <attr name="lightRadius" format="dimension" />
1116
1117        <!-- Alpha value of the ambient shadow projected by elevated views, between 0 and 1. -->
1118        <attr name="ambientShadowAlpha" format="float" />
1119
1120        <!-- Alpha value of the spot shadow projected by elevated views, between 0 and 1. -->
1121        <attr name="spotShadowAlpha" format="float" />
1122    </declare-styleable>
1123
1124    <!-- **************************************************************** -->
1125    <!-- Other non-theme attributes. -->
1126    <!-- **************************************************************** -->
1127    <eat-comment />
1128
1129    <!-- Size of text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp).
1130         Supported values include the following:<p/>
1131    <ul>
1132        <li><b>px</b> Pixels</li>
1133        <li><b>sp</b> Scaled pixels (scaled to relative pixel size on screen). See {@link android.util.DisplayMetrics} for more information.</li>
1134        <li><b>pt</b> Points</li>
1135        <li><b>dip</b> Device independent pixels. See {@link android.util.DisplayMetrics} for more information.</li>
1136    </ul>
1137        -->
1138    <attr name="textSize" format="dimension" />
1139
1140    <!-- Default font family. -->
1141    <attr name="fontFamily" format="string" />
1142
1143    <!-- Default text typeface. -->
1144    <attr name="typeface">
1145        <enum name="normal" value="0" />
1146        <enum name="sans" value="1" />
1147        <enum name="serif" value="2" />
1148        <enum name="monospace" value="3" />
1149    </attr>
1150
1151    <!-- Default text typeface style. -->
1152    <attr name="textStyle">
1153        <flag name="normal" value="0" />
1154        <flag name="bold" value="1" />
1155        <flag name="italic" value="2" />
1156    </attr>
1157
1158    <!-- Color of text (usually same as colorForeground). -->
1159    <attr name="textColor" format="reference|color" />
1160
1161    <!-- Color of highlighted text. -->
1162    <attr name="textColorHighlight" format="reference|color" />
1163
1164    <!-- Color of hint text (displayed when the field is empty). -->
1165    <attr name="textColorHint" format="reference|color" />
1166
1167    <!-- Color of link text (URLs). -->
1168    <attr name="textColorLink" format="reference|color" />
1169
1170    <!-- Reference to a drawable that will be drawn under the insertion cursor. -->
1171    <attr name="textCursorDrawable" format="reference" />
1172
1173    <!-- Indicates that the content of a non-editable TextView can be selected.
1174     Default value is false. EditText content is always selectable. -->
1175    <attr name="textIsSelectable" format="boolean" />
1176
1177    <!-- Where to ellipsize text. -->
1178    <attr name="ellipsize">
1179        <enum name="none" value="0" />
1180        <enum name="start" value="1" />
1181        <enum name="middle" value="2" />
1182        <enum name="end" value="3" />
1183        <enum name="marquee" value="4" />
1184    </attr>
1185
1186    <!-- The type of data being placed in a text field, used to help an
1187         input method decide how to let the user enter text.  The constants
1188         here correspond to those defined by
1189         {@link android.text.InputType}.  Generally you can select
1190         a single value, though some can be combined together as
1191         indicated.  Setting this attribute to anything besides
1192         <var>none</var> also implies that the text is editable. -->
1193    <attr name="inputType">
1194        <!-- There is no content type.  The text is not editable. -->
1195        <flag name="none" value="0x00000000" />
1196        <!-- Just plain old text.  Corresponds to
1197             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1198             {@link android.text.InputType#TYPE_TEXT_VARIATION_NORMAL}. -->
1199        <flag name="text" value="0x00000001" />
1200        <!-- Can be combined with <var>text</var> and its variations to
1201             request capitalization of all characters.  Corresponds to
1202             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_CHARACTERS}. -->
1203        <flag name="textCapCharacters" value="0x00001001" />
1204        <!-- Can be combined with <var>text</var> and its variations to
1205             request capitalization of the first character of every word.  Corresponds to
1206             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_WORDS}. -->
1207        <flag name="textCapWords" value="0x00002001" />
1208        <!-- Can be combined with <var>text</var> and its variations to
1209             request capitalization of the first character of every sentence.  Corresponds to
1210             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_SENTENCES}. -->
1211        <flag name="textCapSentences" value="0x00004001" />
1212        <!-- Can be combined with <var>text</var> and its variations to
1213             request auto-correction of text being input.  Corresponds to
1214             {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_CORRECT}. -->
1215        <flag name="textAutoCorrect" value="0x00008001" />
1216        <!-- Can be combined with <var>text</var> and its variations to
1217             specify that this field will be doing its own auto-completion and
1218             talking with the input method appropriately.  Corresponds to
1219             {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_COMPLETE}. -->
1220        <flag name="textAutoComplete" value="0x00010001" />
1221        <!-- Can be combined with <var>text</var> and its variations to
1222             allow multiple lines of text in the field.  If this flag is not set,
1223             the text field will be constrained to a single line.  Corresponds to
1224             {@link android.text.InputType#TYPE_TEXT_FLAG_MULTI_LINE}. -->
1225        <flag name="textMultiLine" value="0x00020001" />
1226        <!-- Can be combined with <var>text</var> and its variations to
1227             indicate that though the regular text view should not be multiple
1228             lines, the IME should provide multiple lines if it can.  Corresponds to
1229             {@link android.text.InputType#TYPE_TEXT_FLAG_IME_MULTI_LINE}. -->
1230        <flag name="textImeMultiLine" value="0x00040001" />
1231        <!-- Can be combined with <var>text</var> and its variations to
1232             indicate that the IME should not show any
1233             dictionary-based word suggestions.  Corresponds to
1234             {@link android.text.InputType#TYPE_TEXT_FLAG_NO_SUGGESTIONS}. -->
1235        <flag name="textNoSuggestions" value="0x00080001" />
1236        <!-- Text that will be used as a URI.  Corresponds to
1237             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1238             {@link android.text.InputType#TYPE_TEXT_VARIATION_URI}. -->
1239        <flag name="textUri" value="0x00000011" />
1240        <!-- Text that will be used as an e-mail address.  Corresponds to
1241             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1242             {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_ADDRESS}. -->
1243        <flag name="textEmailAddress" value="0x00000021" />
1244        <!-- Text that is being supplied as the subject of an e-mail.  Corresponds to
1245             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1246             {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_SUBJECT}. -->
1247        <flag name="textEmailSubject" value="0x00000031" />
1248        <!-- Text that is the content of a short message.  Corresponds to
1249             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1250             {@link android.text.InputType#TYPE_TEXT_VARIATION_SHORT_MESSAGE}. -->
1251        <flag name="textShortMessage" value="0x00000041" />
1252        <!-- Text that is the content of a long message.  Corresponds to
1253             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1254             {@link android.text.InputType#TYPE_TEXT_VARIATION_LONG_MESSAGE}. -->
1255        <flag name="textLongMessage" value="0x00000051" />
1256        <!-- Text that is the name of a person.  Corresponds to
1257             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1258             {@link android.text.InputType#TYPE_TEXT_VARIATION_PERSON_NAME}. -->
1259        <flag name="textPersonName" value="0x00000061" />
1260        <!-- Text that is being supplied as a postal mailing address.  Corresponds to
1261             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1262             {@link android.text.InputType#TYPE_TEXT_VARIATION_POSTAL_ADDRESS}. -->
1263        <flag name="textPostalAddress" value="0x00000071" />
1264        <!-- Text that is a password.  Corresponds to
1265             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1266             {@link android.text.InputType#TYPE_TEXT_VARIATION_PASSWORD}. -->
1267        <flag name="textPassword" value="0x00000081" />
1268        <!-- Text that is a password that should be visible.  Corresponds to
1269             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1270             {@link android.text.InputType#TYPE_TEXT_VARIATION_VISIBLE_PASSWORD}. -->
1271        <flag name="textVisiblePassword" value="0x00000091" />
1272        <!-- Text that is being supplied as text in a web form.  Corresponds to
1273             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1274             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EDIT_TEXT}. -->
1275        <flag name="textWebEditText" value="0x000000a1" />
1276        <!-- Text that is filtering some other data.  Corresponds to
1277             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1278             {@link android.text.InputType#TYPE_TEXT_VARIATION_FILTER}. -->
1279        <flag name="textFilter" value="0x000000b1" />
1280        <!-- Text that is for phonetic pronunciation, such as a phonetic name
1281             field in a contact entry.  Corresponds to
1282             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1283             {@link android.text.InputType#TYPE_TEXT_VARIATION_PHONETIC}. -->
1284        <flag name="textPhonetic" value="0x000000c1" />
1285        <!-- Text that will be used as an e-mail address on a web form.  Corresponds to
1286             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1287             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS}. -->
1288        <flag name="textWebEmailAddress" value="0x000000d1" />
1289        <!-- Text that will be used as a password on a web form.  Corresponds to
1290             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1291             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_PASSWORD}. -->
1292        <flag name="textWebPassword" value="0x000000e1" />
1293        <!-- A numeric only field.  Corresponds to
1294             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1295             {@link android.text.InputType#TYPE_NUMBER_VARIATION_NORMAL}. -->
1296        <flag name="number" value="0x00000002" />
1297        <!-- Can be combined with <var>number</var> and its other options to
1298             allow a signed number.  Corresponds to
1299             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1300             {@link android.text.InputType#TYPE_NUMBER_FLAG_SIGNED}. -->
1301        <flag name="numberSigned" value="0x00001002" />
1302        <!-- Can be combined with <var>number</var> and its other options to
1303             allow a decimal (fractional) number.  Corresponds to
1304             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1305             {@link android.text.InputType#TYPE_NUMBER_FLAG_DECIMAL}. -->
1306        <flag name="numberDecimal" value="0x00002002" />
1307        <!-- A numeric password field.  Corresponds to
1308             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1309             {@link android.text.InputType#TYPE_NUMBER_VARIATION_PASSWORD}. -->
1310        <flag name="numberPassword" value="0x00000012" />
1311        <!-- For entering a phone number.  Corresponds to
1312             {@link android.text.InputType#TYPE_CLASS_PHONE}. -->
1313        <flag name="phone" value="0x00000003" />
1314        <!-- For entering a date and time.  Corresponds to
1315             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1316             {@link android.text.InputType#TYPE_DATETIME_VARIATION_NORMAL}. -->
1317        <flag name="datetime" value="0x00000004" />
1318        <!-- For entering a date.  Corresponds to
1319             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1320             {@link android.text.InputType#TYPE_DATETIME_VARIATION_DATE}. -->
1321        <flag name="date" value="0x00000014" />
1322        <!-- For entering a time.  Corresponds to
1323             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1324             {@link android.text.InputType#TYPE_DATETIME_VARIATION_TIME}. -->
1325        <flag name="time" value="0x00000024" />
1326    </attr>
1327
1328    <!-- Additional features you can enable in an IME associated with an editor
1329         to improve the integration with your application.  The constants
1330         here correspond to those defined by
1331         {@link android.view.inputmethod.EditorInfo#imeOptions}. -->
1332    <attr name="imeOptions">
1333        <!-- There are no special semantics associated with this editor. -->
1334        <flag name="normal" value="0x00000000" />
1335        <!-- There is no specific action associated with this editor, let the
1336             editor come up with its own if it can.
1337             Corresponds to
1338             {@link android.view.inputmethod.EditorInfo#IME_NULL}. -->
1339        <flag name="actionUnspecified" value="0x00000000" />
1340        <!-- This editor has no action associated with it.
1341             Corresponds to
1342             {@link android.view.inputmethod.EditorInfo#IME_ACTION_NONE}. -->
1343        <flag name="actionNone" value="0x00000001" />
1344        <!-- The action key performs a "go"
1345             operation to take the user to the target of the text they typed.
1346             Typically used, for example, when entering a URL.
1347             Corresponds to
1348             {@link android.view.inputmethod.EditorInfo#IME_ACTION_GO}. -->
1349        <flag name="actionGo" value="0x00000002" />
1350        <!-- The action key performs a "search"
1351             operation, taking the user to the results of searching for the text
1352             the have typed (in whatever context is appropriate).
1353             Corresponds to
1354             {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEARCH}. -->
1355        <flag name="actionSearch" value="0x00000003" />
1356        <!-- The action key performs a "send"
1357             operation, delivering the text to its target.  This is typically used
1358             when composing a message.
1359             Corresponds to
1360             {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEND}. -->
1361        <flag name="actionSend" value="0x00000004" />
1362        <!-- The action key performs a "next"
1363             operation, taking the user to the next field that will accept text.
1364             Corresponds to
1365             {@link android.view.inputmethod.EditorInfo#IME_ACTION_NEXT}. -->
1366        <flag name="actionNext" value="0x00000005" />
1367        <!-- The action key performs a "done"
1368             operation, closing the soft input method.
1369             Corresponds to
1370             {@link android.view.inputmethod.EditorInfo#IME_ACTION_DONE}. -->
1371        <flag name="actionDone" value="0x00000006" />
1372        <!-- The action key performs a "previous"
1373             operation, taking the user to the previous field that will accept text.
1374             Corresponds to
1375             {@link android.view.inputmethod.EditorInfo#IME_ACTION_PREVIOUS}. -->
1376        <flag name="actionPrevious" value="0x00000007" />
1377        <!-- Used to request that the IME should not update any personalized data such as typing
1378             history and personalized language model based on what the user typed on this text
1379             editing object. Typical use cases are:
1380             <ul>
1381                 <li>When the application is in a special mode, where user's activities are expected
1382                 to be not recorded in the application's history. Some web browsers and chat
1383                 applications may have this kind of modes.</li>
1384                 <li>When storing typing history does not make much sense.  Specifying this flag in
1385                 typing games may help to avoid typing history from being filled up with words that
1386                 the user is less likely to type in their daily life.  Another example is that when
1387                 the application already knows that the expected input is not a valid word (e.g. a
1388                 promotion code that is not a valid word in any natural language).</li>
1389             </ul>
1390             <p>Applications need to be aware that the flag is not a guarantee, and some IMEs may
1391             not respect it.</p> -->
1392        <flag name="flagNoPersonalizedLearning" value="0x1000000" />
1393        <!-- Used to request that the IME never go
1394             into fullscreen mode.  Applications need to be aware that the flag is not
1395             a guarantee, and not all IMEs will respect it.
1396             <p>Corresponds to
1397             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. -->
1398        <flag name="flagNoFullscreen" value="0x2000000" />
1399        <!-- Like flagNavigateNext, but
1400             specifies there is something interesting that a backward navigation
1401             can focus on.  If the user selects the IME's facility to backward
1402             navigate, this will show up in the application as an actionPrevious
1403             at {@link android.view.inputmethod.InputConnection#performEditorAction(int)
1404             InputConnection.performEditorAction(int)}.
1405             <p>Corresponds to
1406             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. -->
1407        <flag name="flagNavigatePrevious" value="0x4000000" />
1408        <!-- Used to specify that there is something
1409             interesting that a forward navigation can focus on. This is like using
1410             actionNext, except allows the IME to be multiline (with
1411             an enter key) as well as provide forward navigation.  Note that some
1412             IMEs may not be able to do this, especially when running on a small
1413             screen where there is little space.  In that case it does not need to
1414             present a UI for this option.  Like actionNext, if the
1415             user selects the IME's facility to forward navigate, this will show up
1416             in the application at
1417             {@link android.view.inputmethod.InputConnection#performEditorAction(int)
1418             InputConnection.performEditorAction(int)}.
1419             <p>Corresponds to
1420             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NAVIGATE_NEXT}. -->
1421        <flag name="flagNavigateNext" value="0x8000000" />
1422        <!-- Used to specify that the IME does not need
1423             to show its extracted text UI.  For input methods that may be fullscreen,
1424             often when in landscape mode, this allows them to be smaller and let part
1425             of the application be shown behind.  Though there will likely be limited
1426             access to the application available from the user, it can make the
1427             experience of a (mostly) fullscreen IME less jarring.  Note that when
1428             this flag is specified the IME may <em>not</em> be set up to be able
1429             to display text, so it should only be used in situations where this is
1430             not needed.
1431             <p>Corresponds to
1432             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_EXTRACT_UI}. -->
1433        <flag name="flagNoExtractUi" value="0x10000000" />
1434        <!-- Used in conjunction with a custom action, this indicates that the
1435             action should not be available as an accessory button when the
1436             input method is full-screen.
1437             Note that by setting this flag, there can be cases where the action
1438             is simply never available to the user.  Setting this generally means
1439             that you think showing text being edited is more important than the
1440             action you have supplied.
1441             <p>Corresponds to
1442             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ACCESSORY_ACTION}. -->
1443        <flag name="flagNoAccessoryAction" value="0x20000000" />
1444        <!-- Used in conjunction with a custom action,
1445             this indicates that the action should not be available in-line as
1446             a replacement for the "enter" key.  Typically this is
1447             because the action has such a significant impact or is not recoverable
1448             enough that accidentally hitting it should be avoided, such as sending
1449             a message.    Note that {@link android.widget.TextView} will
1450             automatically set this flag for you on multi-line text views.
1451             <p>Corresponds to
1452             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ENTER_ACTION}. -->
1453        <flag name="flagNoEnterAction" value="0x40000000" />
1454        <!-- Used to request that the IME should be capable of inputting ASCII
1455             characters.  The intention of this flag is to ensure that the user
1456             can type Roman alphabet characters in a {@link android.widget.TextView}
1457             used for, typically, account ID or password input.  It is expected that IMEs
1458             normally are able to input ASCII even without being told so (such IMEs
1459             already respect this flag in a sense), but there could be some cases they
1460             aren't when, for instance, only non-ASCII input languagaes like Arabic,
1461             Greek, Hebrew, Russian are enabled in the IME.  Applications need to be
1462             aware that the flag is not a guarantee, and not all IMEs will respect it.
1463             However, it is strongly recommended for IME authors to respect this flag
1464             especially when their IME could end up with a state that has only non-ASCII
1465             input languages enabled.
1466             <p>Corresponds to
1467             {@link android.view.inputmethod.EditorInfo#IME_FLAG_FORCE_ASCII}. -->
1468        <flag name="flagForceAscii" value="0x80000000" />
1469    </attr>
1470
1471    <!-- A coordinate in the X dimension. -->
1472    <attr name="x" format="dimension" />
1473    <!-- A coordinate in the Y dimension. -->
1474    <attr name="y" format="dimension" />
1475
1476    <!-- Specifies how an object should position its content, on both the X and Y axes,
1477         within its own bounds.  -->
1478    <attr name="gravity">
1479        <!-- Push object to the top of its container, not changing its size. -->
1480        <flag name="top" value="0x30" />
1481        <!-- Push object to the bottom of its container, not changing its size. -->
1482        <flag name="bottom" value="0x50" />
1483        <!-- Push object to the left of its container, not changing its size. -->
1484        <flag name="left" value="0x03" />
1485        <!-- Push object to the right of its container, not changing its size. -->
1486        <flag name="right" value="0x05" />
1487        <!-- Place object in the vertical center of its container, not changing its size. -->
1488        <flag name="center_vertical" value="0x10" />
1489        <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
1490        <flag name="fill_vertical" value="0x70" />
1491        <!-- Place object in the horizontal center of its container, not changing its size. -->
1492        <flag name="center_horizontal" value="0x01" />
1493        <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
1494        <flag name="fill_horizontal" value="0x07" />
1495        <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
1496        <flag name="center" value="0x11" />
1497        <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
1498        <flag name="fill" value="0x77" />
1499        <!-- Additional option that can be set to have the top and/or bottom edges of
1500             the child clipped to its container's bounds.
1501             The clip will be based on the vertical gravity: a top gravity will clip the bottom
1502             edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
1503        <flag name="clip_vertical" value="0x80" />
1504        <!-- Additional option that can be set to have the left and/or right edges of
1505             the child clipped to its container's bounds.
1506             The clip will be based on the horizontal gravity: a left gravity will clip the right
1507             edge, a right gravity will clip the left edge, and neither will clip both edges. -->
1508        <flag name="clip_horizontal" value="0x08" />
1509        <!-- Push object to the beginning of its container, not changing its size. -->
1510        <flag name="start" value="0x00800003" />
1511        <!-- Push object to the end of its container, not changing its size. -->
1512        <flag name="end" value="0x00800005" />
1513    </attr>
1514
1515    <!-- Controls whether links such as urls and email addresses are
1516         automatically found and converted to clickable links.  The default
1517         value is "none", disabling this feature. -->
1518    <attr name="autoLink">
1519        <!-- Match no patterns (default). -->
1520        <flag name="none" value="0x00" />
1521        <!-- Match Web URLs. -->
1522        <flag name="web" value="0x01" />
1523        <!-- Match email addresses. -->
1524        <flag name="email" value="0x02" />
1525        <!-- Match phone numbers. -->
1526        <flag name="phone" value="0x04" />
1527        <!-- Match map addresses. -->
1528        <flag name="map" value="0x08" />
1529        <!-- Match all patterns (equivalent to web|email|phone|map). -->
1530        <flag name="all" value="0x0f" />
1531    </attr>
1532
1533    <!-- Reference to an array resource that will populate a list/adapter. -->
1534    <attr name="entries" format="reference" />
1535
1536    <!-- Standard gravity constant that a child supplies to its parent.
1537         Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout. -->
1538    <attr name="layout_gravity">
1539        <!-- Push object to the top of its container, not changing its size. -->
1540        <flag name="top" value="0x30" />
1541        <!-- Push object to the bottom of its container, not changing its size. -->
1542        <flag name="bottom" value="0x50" />
1543        <!-- Push object to the left of its container, not changing its size. -->
1544        <flag name="left" value="0x03" />
1545        <!-- Push object to the right of its container, not changing its size. -->
1546        <flag name="right" value="0x05" />
1547        <!-- Place object in the vertical center of its container, not changing its size. -->
1548        <flag name="center_vertical" value="0x10" />
1549        <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
1550        <flag name="fill_vertical" value="0x70" />
1551        <!-- Place object in the horizontal center of its container, not changing its size. -->
1552        <flag name="center_horizontal" value="0x01" />
1553        <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
1554        <flag name="fill_horizontal" value="0x07" />
1555        <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
1556        <flag name="center" value="0x11" />
1557        <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
1558        <flag name="fill" value="0x77" />
1559        <!-- Additional option that can be set to have the top and/or bottom edges of
1560             the child clipped to its container's bounds.
1561             The clip will be based on the vertical gravity: a top gravity will clip the bottom
1562             edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
1563        <flag name="clip_vertical" value="0x80" />
1564        <!-- Additional option that can be set to have the left and/or right edges of
1565             the child clipped to its container's bounds.
1566             The clip will be based on the horizontal gravity: a left gravity will clip the right
1567             edge, a right gravity will clip the left edge, and neither will clip both edges. -->
1568        <flag name="clip_horizontal" value="0x08" />
1569        <!-- Push object to the beginning of its container, not changing its size. -->
1570        <flag name="start" value="0x00800003" />
1571        <!-- Push object to the end of its container, not changing its size. -->
1572        <flag name="end" value="0x00800005" />
1573    </attr>
1574
1575    <!-- Standard orientation constant. -->
1576    <attr name="orientation">
1577        <!-- Defines an horizontal widget. -->
1578        <enum name="horizontal" value="0" />
1579        <!-- Defines a vertical widget. -->
1580        <enum name="vertical" value="1" />
1581    </attr>
1582
1583    <!-- Alignment constants. -->
1584    <attr name="alignmentMode">
1585        <!-- Align the bounds of the children.
1586        See {@link android.widget.GridLayout#ALIGN_BOUNDS}. -->
1587        <enum name="alignBounds" value="0" />
1588        <!-- Align the margins of the children.
1589        See {@link android.widget.GridLayout#ALIGN_MARGINS}. -->
1590        <enum name="alignMargins" value="1" />
1591    </attr>
1592
1593    <!-- ========================== -->
1594    <!-- Key Codes                  -->
1595    <!-- ========================== -->
1596    <eat-comment />
1597
1598    <!-- This enum provides the same keycode values as can be found in
1599        {@link android.view.KeyEvent}. -->
1600    <attr name="keycode">
1601        <enum name="KEYCODE_UNKNOWN" value="0" />
1602        <enum name="KEYCODE_SOFT_LEFT" value="1" />
1603        <enum name="KEYCODE_SOFT_RIGHT" value="2" />
1604        <enum name="KEYCODE_HOME" value="3" />
1605        <enum name="KEYCODE_BACK" value="4" />
1606        <enum name="KEYCODE_CALL" value="5" />
1607        <enum name="KEYCODE_ENDCALL" value="6" />
1608        <enum name="KEYCODE_0" value="7" />
1609        <enum name="KEYCODE_1" value="8" />
1610        <enum name="KEYCODE_2" value="9" />
1611        <enum name="KEYCODE_3" value="10" />
1612        <enum name="KEYCODE_4" value="11" />
1613        <enum name="KEYCODE_5" value="12" />
1614        <enum name="KEYCODE_6" value="13" />
1615        <enum name="KEYCODE_7" value="14" />
1616        <enum name="KEYCODE_8" value="15" />
1617        <enum name="KEYCODE_9" value="16" />
1618        <enum name="KEYCODE_STAR" value="17" />
1619        <enum name="KEYCODE_POUND" value="18" />
1620        <enum name="KEYCODE_DPAD_UP" value="19" />
1621        <enum name="KEYCODE_DPAD_DOWN" value="20" />
1622        <enum name="KEYCODE_DPAD_LEFT" value="21" />
1623        <enum name="KEYCODE_DPAD_RIGHT" value="22" />
1624        <enum name="KEYCODE_DPAD_CENTER" value="23" />
1625        <enum name="KEYCODE_VOLUME_UP" value="24" />
1626        <enum name="KEYCODE_VOLUME_DOWN" value="25" />
1627        <enum name="KEYCODE_POWER" value="26" />
1628        <enum name="KEYCODE_CAMERA" value="27" />
1629        <enum name="KEYCODE_CLEAR" value="28" />
1630        <enum name="KEYCODE_A" value="29" />
1631        <enum name="KEYCODE_B" value="30" />
1632        <enum name="KEYCODE_C" value="31" />
1633        <enum name="KEYCODE_D" value="32" />
1634        <enum name="KEYCODE_E" value="33" />
1635        <enum name="KEYCODE_F" value="34" />
1636        <enum name="KEYCODE_G" value="35" />
1637        <enum name="KEYCODE_H" value="36" />
1638        <enum name="KEYCODE_I" value="37" />
1639        <enum name="KEYCODE_J" value="38" />
1640        <enum name="KEYCODE_K" value="39" />
1641        <enum name="KEYCODE_L" value="40" />
1642        <enum name="KEYCODE_M" value="41" />
1643        <enum name="KEYCODE_N" value="42" />
1644        <enum name="KEYCODE_O" value="43" />
1645        <enum name="KEYCODE_P" value="44" />
1646        <enum name="KEYCODE_Q" value="45" />
1647        <enum name="KEYCODE_R" value="46" />
1648        <enum name="KEYCODE_S" value="47" />
1649        <enum name="KEYCODE_T" value="48" />
1650        <enum name="KEYCODE_U" value="49" />
1651        <enum name="KEYCODE_V" value="50" />
1652        <enum name="KEYCODE_W" value="51" />
1653        <enum name="KEYCODE_X" value="52" />
1654        <enum name="KEYCODE_Y" value="53" />
1655        <enum name="KEYCODE_Z" value="54" />
1656        <enum name="KEYCODE_COMMA" value="55" />
1657        <enum name="KEYCODE_PERIOD" value="56" />
1658        <enum name="KEYCODE_ALT_LEFT" value="57" />
1659        <enum name="KEYCODE_ALT_RIGHT" value="58" />
1660        <enum name="KEYCODE_SHIFT_LEFT" value="59" />
1661        <enum name="KEYCODE_SHIFT_RIGHT" value="60" />
1662        <enum name="KEYCODE_TAB" value="61" />
1663        <enum name="KEYCODE_SPACE" value="62" />
1664        <enum name="KEYCODE_SYM" value="63" />
1665        <enum name="KEYCODE_EXPLORER" value="64" />
1666        <enum name="KEYCODE_ENVELOPE" value="65" />
1667        <enum name="KEYCODE_ENTER" value="66" />
1668        <enum name="KEYCODE_DEL" value="67" />
1669        <enum name="KEYCODE_GRAVE" value="68" />
1670        <enum name="KEYCODE_MINUS" value="69" />
1671        <enum name="KEYCODE_EQUALS" value="70" />
1672        <enum name="KEYCODE_LEFT_BRACKET" value="71" />
1673        <enum name="KEYCODE_RIGHT_BRACKET" value="72" />
1674        <enum name="KEYCODE_BACKSLASH" value="73" />
1675        <enum name="KEYCODE_SEMICOLON" value="74" />
1676        <enum name="KEYCODE_APOSTROPHE" value="75" />
1677        <enum name="KEYCODE_SLASH" value="76" />
1678        <enum name="KEYCODE_AT" value="77" />
1679        <enum name="KEYCODE_NUM" value="78" />
1680        <enum name="KEYCODE_HEADSETHOOK" value="79" />
1681        <enum name="KEYCODE_FOCUS" value="80" />
1682        <enum name="KEYCODE_PLUS" value="81" />
1683        <enum name="KEYCODE_MENU" value="82" />
1684        <enum name="KEYCODE_NOTIFICATION" value="83" />
1685        <enum name="KEYCODE_SEARCH" value="84" />
1686        <enum name="KEYCODE_MEDIA_PLAY_PAUSE" value="85" />
1687        <enum name="KEYCODE_MEDIA_STOP" value="86" />
1688        <enum name="KEYCODE_MEDIA_NEXT" value="87" />
1689        <enum name="KEYCODE_MEDIA_PREVIOUS" value="88" />
1690        <enum name="KEYCODE_MEDIA_REWIND" value="89" />
1691        <enum name="KEYCODE_MEDIA_FAST_FORWARD" value="90" />
1692        <enum name="KEYCODE_MUTE" value="91" />
1693        <enum name="KEYCODE_PAGE_UP" value="92" />
1694        <enum name="KEYCODE_PAGE_DOWN" value="93" />
1695        <enum name="KEYCODE_PICTSYMBOLS" value="94" />
1696        <enum name="KEYCODE_SWITCH_CHARSET" value="95" />
1697        <enum name="KEYCODE_BUTTON_A" value="96" />
1698        <enum name="KEYCODE_BUTTON_B" value="97" />
1699        <enum name="KEYCODE_BUTTON_C" value="98" />
1700        <enum name="KEYCODE_BUTTON_X" value="99" />
1701        <enum name="KEYCODE_BUTTON_Y" value="100" />
1702        <enum name="KEYCODE_BUTTON_Z" value="101" />
1703        <enum name="KEYCODE_BUTTON_L1" value="102" />
1704        <enum name="KEYCODE_BUTTON_R1" value="103" />
1705        <enum name="KEYCODE_BUTTON_L2" value="104" />
1706        <enum name="KEYCODE_BUTTON_R2" value="105" />
1707        <enum name="KEYCODE_BUTTON_THUMBL" value="106" />
1708        <enum name="KEYCODE_BUTTON_THUMBR" value="107" />
1709        <enum name="KEYCODE_BUTTON_START" value="108" />
1710        <enum name="KEYCODE_BUTTON_SELECT" value="109" />
1711        <enum name="KEYCODE_BUTTON_MODE" value="110" />
1712        <enum name="KEYCODE_ESCAPE" value="111" />
1713        <enum name="KEYCODE_FORWARD_DEL" value="112" />
1714        <enum name="KEYCODE_CTRL_LEFT" value="113" />
1715        <enum name="KEYCODE_CTRL_RIGHT" value="114" />
1716        <enum name="KEYCODE_CAPS_LOCK" value="115" />
1717        <enum name="KEYCODE_SCROLL_LOCK" value="116" />
1718        <enum name="KEYCODE_META_LEFT" value="117" />
1719        <enum name="KEYCODE_META_RIGHT" value="118" />
1720        <enum name="KEYCODE_FUNCTION" value="119" />
1721        <enum name="KEYCODE_SYSRQ" value="120" />
1722        <enum name="KEYCODE_BREAK" value="121" />
1723        <enum name="KEYCODE_MOVE_HOME" value="122" />
1724        <enum name="KEYCODE_MOVE_END" value="123" />
1725        <enum name="KEYCODE_INSERT" value="124" />
1726        <enum name="KEYCODE_FORWARD" value="125" />
1727        <enum name="KEYCODE_MEDIA_PLAY" value="126" />
1728        <enum name="KEYCODE_MEDIA_PAUSE" value="127" />
1729        <enum name="KEYCODE_MEDIA_CLOSE" value="128" />
1730        <enum name="KEYCODE_MEDIA_EJECT" value="129" />
1731        <enum name="KEYCODE_MEDIA_RECORD" value="130" />
1732        <enum name="KEYCODE_F1" value="131" />
1733        <enum name="KEYCODE_F2" value="132" />
1734        <enum name="KEYCODE_F3" value="133" />
1735        <enum name="KEYCODE_F4" value="134" />
1736        <enum name="KEYCODE_F5" value="135" />
1737        <enum name="KEYCODE_F6" value="136" />
1738        <enum name="KEYCODE_F7" value="137" />
1739        <enum name="KEYCODE_F8" value="138" />
1740        <enum name="KEYCODE_F9" value="139" />
1741        <enum name="KEYCODE_F10" value="140" />
1742        <enum name="KEYCODE_F11" value="141" />
1743        <enum name="KEYCODE_F12" value="142" />
1744        <enum name="KEYCODE_NUM_LOCK" value="143" />
1745        <enum name="KEYCODE_NUMPAD_0" value="144" />
1746        <enum name="KEYCODE_NUMPAD_1" value="145" />
1747        <enum name="KEYCODE_NUMPAD_2" value="146" />
1748        <enum name="KEYCODE_NUMPAD_3" value="147" />
1749        <enum name="KEYCODE_NUMPAD_4" value="148" />
1750        <enum name="KEYCODE_NUMPAD_5" value="149" />
1751        <enum name="KEYCODE_NUMPAD_6" value="150" />
1752        <enum name="KEYCODE_NUMPAD_7" value="151" />
1753        <enum name="KEYCODE_NUMPAD_8" value="152" />
1754        <enum name="KEYCODE_NUMPAD_9" value="153" />
1755        <enum name="KEYCODE_NUMPAD_DIVIDE" value="154" />
1756        <enum name="KEYCODE_NUMPAD_MULTIPLY" value="155" />
1757        <enum name="KEYCODE_NUMPAD_SUBTRACT" value="156" />
1758        <enum name="KEYCODE_NUMPAD_ADD" value="157" />
1759        <enum name="KEYCODE_NUMPAD_DOT" value="158" />
1760        <enum name="KEYCODE_NUMPAD_COMMA" value="159" />
1761        <enum name="KEYCODE_NUMPAD_ENTER" value="160" />
1762        <enum name="KEYCODE_NUMPAD_EQUALS" value="161" />
1763        <enum name="KEYCODE_NUMPAD_LEFT_PAREN" value="162" />
1764        <enum name="KEYCODE_NUMPAD_RIGHT_PAREN" value="163" />
1765        <enum name="KEYCODE_VOLUME_MUTE" value="164" />
1766        <enum name="KEYCODE_INFO" value="165" />
1767        <enum name="KEYCODE_CHANNEL_UP" value="166" />
1768        <enum name="KEYCODE_CHANNEL_DOWN" value="167" />
1769        <enum name="KEYCODE_ZOOM_IN" value="168" />
1770        <enum name="KEYCODE_ZOOM_OUT" value="169" />
1771        <enum name="KEYCODE_TV" value="170" />
1772        <enum name="KEYCODE_WINDOW" value="171" />
1773        <enum name="KEYCODE_GUIDE" value="172" />
1774        <enum name="KEYCODE_DVR" value="173" />
1775        <enum name="KEYCODE_BOOKMARK" value="174" />
1776        <enum name="KEYCODE_CAPTIONS" value="175" />
1777        <enum name="KEYCODE_SETTINGS" value="176" />
1778        <enum name="KEYCODE_TV_POWER" value="177" />
1779        <enum name="KEYCODE_TV_INPUT" value="178" />
1780        <enum name="KEYCODE_STB_POWER" value="179" />
1781        <enum name="KEYCODE_STB_INPUT" value="180" />
1782        <enum name="KEYCODE_AVR_POWER" value="181" />
1783        <enum name="KEYCODE_AVR_INPUT" value="182" />
1784        <enum name="KEYCODE_PROG_GRED" value="183" />
1785        <enum name="KEYCODE_PROG_GREEN" value="184" />
1786        <enum name="KEYCODE_PROG_YELLOW" value="185" />
1787        <enum name="KEYCODE_PROG_BLUE" value="186" />
1788        <enum name="KEYCODE_APP_SWITCH" value="187" />
1789        <enum name="KEYCODE_BUTTON_1" value="188" />
1790        <enum name="KEYCODE_BUTTON_2" value="189" />
1791        <enum name="KEYCODE_BUTTON_3" value="190" />
1792        <enum name="KEYCODE_BUTTON_4" value="191" />
1793        <enum name="KEYCODE_BUTTON_5" value="192" />
1794        <enum name="KEYCODE_BUTTON_6" value="193" />
1795        <enum name="KEYCODE_BUTTON_7" value="194" />
1796        <enum name="KEYCODE_BUTTON_8" value="195" />
1797        <enum name="KEYCODE_BUTTON_9" value="196" />
1798        <enum name="KEYCODE_BUTTON_10" value="197" />
1799        <enum name="KEYCODE_BUTTON_11" value="198" />
1800        <enum name="KEYCODE_BUTTON_12" value="199" />
1801        <enum name="KEYCODE_BUTTON_13" value="200" />
1802        <enum name="KEYCODE_BUTTON_14" value="201" />
1803        <enum name="KEYCODE_BUTTON_15" value="202" />
1804        <enum name="KEYCODE_BUTTON_16" value="203" />
1805        <enum name="KEYCODE_LANGUAGE_SWITCH" value="204" />
1806        <enum name="KEYCODE_MANNER_MODE" value="205" />
1807        <enum name="KEYCODE_3D_MODE" value="206" />
1808        <enum name="KEYCODE_CONTACTS" value="207" />
1809        <enum name="KEYCODE_CALENDAR" value="208" />
1810        <enum name="KEYCODE_MUSIC" value="209" />
1811        <enum name="KEYCODE_CALCULATOR" value="210" />
1812        <enum name="KEYCODE_ZENKAKU_HANKAKU" value="211" />
1813        <enum name="KEYCODE_EISU" value="212" />
1814        <enum name="KEYCODE_MUHENKAN" value="213" />
1815        <enum name="KEYCODE_HENKAN" value="214" />
1816        <enum name="KEYCODE_KATAKANA_HIRAGANA" value="215" />
1817        <enum name="KEYCODE_YEN" value="216" />
1818        <enum name="KEYCODE_RO" value="217" />
1819        <enum name="KEYCODE_KANA" value="218" />
1820        <enum name="KEYCODE_ASSIST" value="219" />
1821        <enum name="KEYCODE_BRIGHTNESS_DOWN" value="220" />
1822        <enum name="KEYCODE_BRIGHTNESS_UP" value="221" />
1823        <enum name="KEYCODE_MEDIA_AUDIO_TRACK" value="222" />
1824        <enum name="KEYCODE_MEDIA_SLEEP" value="223" />
1825        <enum name="KEYCODE_MEDIA_WAKEUP" value="224" />
1826        <enum name="KEYCODE_PAIRING" value="225" />
1827        <enum name="KEYCODE_MEDIA_TOP_MENU" value="226" />
1828        <enum name="KEYCODE_11" value="227" />
1829        <enum name="KEYCODE_12" value="228" />
1830        <enum name="KEYCODE_LAST_CHANNEL" value="229" />
1831        <enum name="KEYCODE_TV_DATA_SERVICE" value="230" />
1832        <enum name="KEYCODE_VOICE_ASSIST" value="231" />
1833        <enum name="KEYCODE_TV_RADIO_SERVICE" value="232" />
1834        <enum name="KEYCODE_TV_TELETEXT" value="233" />
1835        <enum name="KEYCODE_TV_NUMBER_ENTRY" value="234" />
1836        <enum name="KEYCODE_TV_TERRESTRIAL_ANALOG" value="235" />
1837        <enum name="KEYCODE_TV_TERRESTRIAL_DIGITAL" value="236" />
1838        <enum name="KEYCODE_TV_SATELLITE" value="237" />
1839        <enum name="KEYCODE_TV_SATELLITE_BS" value="238" />
1840        <enum name="KEYCODE_TV_SATELLITE_CS" value="239" />
1841        <enum name="KEYCODE_TV_SATELLITE_SERVICE" value="240" />
1842        <enum name="KEYCODE_TV_NETWORK" value="241" />
1843        <enum name="KEYCODE_TV_ANTENNA_CABLE" value="242" />
1844        <enum name="KEYCODE_TV_INPUT_HDMI_1" value="243" />
1845        <enum name="KEYCODE_TV_INPUT_HDMI_2" value="244" />
1846        <enum name="KEYCODE_TV_INPUT_HDMI_3" value="245" />
1847        <enum name="KEYCODE_TV_INPUT_HDMI_4" value="246" />
1848        <enum name="KEYCODE_TV_INPUT_COMPOSITE_1" value="247" />
1849        <enum name="KEYCODE_TV_INPUT_COMPOSITE_2" value="248" />
1850        <enum name="KEYCODE_TV_INPUT_COMPONENT_1" value="249" />
1851        <enum name="KEYCODE_TV_INPUT_COMPONENT_2" value="250" />
1852        <enum name="KEYCODE_TV_INPUT_VGA_1" value="251" />
1853        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION" value="252" />
1854        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP" value="253" />
1855        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN" value="254" />
1856        <enum name="KEYCODE_TV_ZOOM_MODE" value="255" />
1857        <enum name="KEYCODE_TV_CONTENTS_MENU" value="256" />
1858        <enum name="KEYCODE_TV_MEDIA_CONTEXT_MENU" value="257" />
1859        <enum name="KEYCODE_TV_TIMER_PROGRAMMING" value="258" />
1860        <enum name="KEYCODE_HELP" value="259" />
1861        <enum name="KEYCODE_NAVIGATE_PREVIOUS" value="260" />
1862        <enum name="KEYCODE_NAVIGATE_NEXT" value="261" />
1863        <enum name="KEYCODE_NAVIGATE_IN" value="262" />
1864        <enum name="KEYCODE_NAVIGATE_OUT" value="263" />
1865        <enum name="KEYCODE_STEM_PRIMARY" value="264" />
1866        <enum name="KEYCODE_STEM_1" value="265" />
1867        <enum name="KEYCODE_STEM_2" value="266" />
1868        <enum name="KEYCODE_STEM_3" value="267" />
1869        <enum name="KEYCODE_DPAD_UP_LEFT" value="268" />
1870        <enum name="KEYCODE_DPAD_DOWN_LEFT" value="269" />
1871        <enum name="KEYCODE_DPAD_UP_RIGHT" value="270" />
1872        <enum name="KEYCODE_DPAD_DOWN_RIGHT" value="271" />
1873        <enum name="KEYCODE_MEDIA_SKIP_FORWARD" value="272" />
1874        <enum name="KEYCODE_MEDIA_SKIP_BACKWARD" value="273" />
1875        <enum name="KEYCODE_MEDIA_STEP_FORWARD" value="274" />
1876        <enum name="KEYCODE_MEDIA_STEP_BACKWARD" value="275" />
1877        <enum name="KEYCODE_SOFT_SLEEP" value="276" />
1878        <enum name="KEYCODE_CUT" value="277" />
1879        <enum name="KEYCODE_COPY" value="278" />
1880        <enum name="KEYCODE_PASTE" value="279" />
1881        <enum name="KEYCODE_SYSTEM_NAVIGATION_UP" value="280" />
1882        <enum name="KEYCODE_SYSTEM_NAVIGATION_DOWN" value="281" />
1883        <enum name="KEYCODE_SYSTEM_NAVIGATION_LEFT" value="282" />
1884        <enum name="KEYCODE_SYSTEM_NAVIGATION_RIGHT" value="283" />
1885    </attr>
1886
1887    <!-- ***************************************************************** -->
1888    <!-- These define collections of attributes that can are with classes. -->
1889    <!-- ***************************************************************** -->
1890
1891    <!-- ========================== -->
1892    <!-- Special attribute classes. -->
1893    <!-- ========================== -->
1894    <eat-comment />
1895
1896    <!-- The set of attributes that describe a Windows's theme. -->
1897    <declare-styleable name="Window">
1898        <attr name="windowBackground" />
1899        <attr name="windowBackgroundFallback" />
1900        <attr name="windowContentOverlay" />
1901        <attr name="windowFrame" />
1902        <attr name="windowNoTitle" />
1903        <attr name="windowFullscreen" />
1904        <attr name="windowOverscan" />
1905        <attr name="windowIsFloating" />
1906        <attr name="windowIsTranslucent" />
1907        <attr name="windowShowWallpaper" />
1908        <attr name="windowAnimationStyle" />
1909        <attr name="windowSoftInputMode" />
1910        <attr name="windowDisablePreview" />
1911        <attr name="windowNoDisplay" />
1912        <attr name="textColor" />
1913        <attr name="backgroundDimEnabled" />
1914        <attr name="backgroundDimAmount" />
1915        <attr name="windowActionBar" />
1916        <attr name="windowActionModeOverlay" />
1917        <attr name="windowActionBarOverlay" />
1918        <attr name="windowEnableSplitTouch" />
1919        <attr name="windowCloseOnTouchOutside" />
1920        <attr name="windowTranslucentStatus" />
1921        <attr name="windowTranslucentNavigation" />
1922        <attr name="windowSwipeToDismiss" />
1923        <attr name="windowContentTransitions" />
1924        <attr name="windowActivityTransitions" />
1925        <attr name="windowContentTransitionManager" />
1926        <attr name="windowActionBarFullscreenDecorLayout" />
1927
1928        <!-- The minimum width the window is allowed to be, along the major
1929             axis of the screen.  That is, when in landscape.  Can be either
1930             an absolute dimension or a fraction of the screen size in that
1931             dimension. -->
1932        <attr name="windowMinWidthMajor" format="dimension|fraction" />
1933        <!-- The minimum width the window is allowed to be, along the minor
1934             axis of the screen.  That is, when in portrait.  Can be either
1935             an absolute dimension or a fraction of the screen size in that
1936             dimension. -->
1937        <attr name="windowMinWidthMinor" format="dimension|fraction" />
1938
1939        <!-- A fixed width for the window along the major axis of the screen,
1940             that is, when in landscape. Can be either an absolute dimension
1941             or a fraction of the screen size in that dimension. -->
1942        <attr name="windowFixedWidthMajor" format="dimension|fraction" />
1943        <!-- A fixed height for the window along the minor axis of the screen,
1944             that is, when in landscape. Can be either an absolute dimension
1945             or a fraction of the screen size in that dimension. -->
1946        <attr name="windowFixedHeightMinor" format="dimension|fraction" />
1947
1948        <!-- A fixed width for the window along the minor axis of the screen,
1949             that is, when in portrait. Can be either an absolute dimension
1950             or a fraction of the screen size in that dimension. -->
1951        <attr name="windowFixedWidthMinor" format="dimension|fraction" />
1952        <!-- A fixed height for the window along the major axis of the screen,
1953             that is, when in portrait. Can be either an absolute dimension
1954             or a fraction of the screen size in that dimension. -->
1955        <attr name="windowFixedHeightMajor" format="dimension|fraction" />
1956        <attr name="windowOutsetBottom" format="dimension" />
1957        <!-- Reference to a Transition XML resource defining the desired Transition
1958             used to move Views into the initial Window's content Scene. Corresponds to
1959             {@link android.view.Window#setEnterTransition(android.transition.Transition)}. -->
1960        <attr name="windowEnterTransition"/>
1961
1962        <!-- Reference to a Transition XML resource defining the desired Transition
1963             used to move Views out of the scene when the Window is
1964             preparing to close. Corresponds to
1965             {@link android.view.Window#setReturnTransition(android.transition.Transition)}. -->
1966        <attr name="windowReturnTransition"/>
1967
1968        <!-- Reference to a Transition XML resource defining the desired Transition
1969             used to move Views out of the Window's content Scene when launching a new Activity.
1970             Corresponds to
1971             {@link android.view.Window#setExitTransition(android.transition.Transition)}. -->
1972        <attr name="windowExitTransition"/>
1973
1974        <!-- Reference to a Transition XML resource defining the desired Transition
1975             used to move Views in to the scene when returning from a previously-started Activity.
1976             Corresponds to
1977             {@link android.view.Window#setReenterTransition(android.transition.Transition)}. -->
1978        <attr name="windowReenterTransition"/>
1979
1980        <!-- Reference to a Transition XML resource defining the desired Transition
1981             used to move shared elements transferred into the Window's initial content Scene.
1982             Corresponds to {@link android.view.Window#setSharedElementEnterTransition(
1983             android.transition.Transition)}. -->
1984        <attr name="windowSharedElementEnterTransition"/>
1985
1986        <!-- Reference to a Transition XML resource defining the desired Transition
1987             used to move shared elements transferred back to a calling Activity.
1988             Corresponds to {@link android.view.Window#setSharedElementReturnTransition(
1989             android.transition.Transition)}. -->
1990        <attr name="windowSharedElementReturnTransition"/>
1991
1992        <!-- Reference to a Transition XML resource defining the desired Transition
1993             used when starting a new Activity to move shared elements prior to transferring
1994             to the called Activity.
1995             Corresponds to {@link android.view.Window#setSharedElementExitTransition(
1996             android.transition.Transition)}. -->
1997        <attr name="windowSharedElementExitTransition"/>
1998
1999        <!-- Reference to a Transition XML resource defining the desired Transition
2000             used for shared elements transferred back to a calling Activity.
2001             Corresponds to {@link android.view.Window#setSharedElementReenterTransition(
2002             android.transition.Transition)}. -->
2003        <attr name="windowSharedElementReenterTransition"/>
2004
2005
2006        <!-- Flag indicating whether this Window's transition should overlap with
2007             the exiting transition of the calling Activity. Corresponds to
2008             {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. -->
2009        <attr name="windowAllowEnterTransitionOverlap"/>
2010
2011        <!-- Flag indicating whether this Window's transition should overlap with
2012             the exiting transition of the called Activity when the called Activity
2013             finishes. Corresponds to
2014             {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. -->
2015        <attr name="windowAllowReturnTransitionOverlap"/>
2016
2017        <!-- Indicates whether or not shared elements should use an overlay
2018             during transitions. The default value is true. -->
2019        <attr name="windowSharedElementsUseOverlay"/>
2020
2021        <!-- Flag indicating whether this Window is responsible for drawing the background for the
2022             system bars. If true and the window is not floating, the system bars are drawn with a
2023             transparent background and the corresponding areas in this window are filled with the
2024             colors specified in {@link android.R.attr#statusBarColor} and
2025             {@link android.R.attr#navigationBarColor}. Corresponds to
2026             {@link android.view.WindowManager.LayoutParams#FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS}. -->
2027        <attr name="windowDrawsSystemBarBackgrounds" format="boolean" />
2028
2029        <!-- The color for the status bar. If the color is not opaque, consider setting
2030             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and
2031             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN}.
2032             For this to take effect, the window must be drawing the system bar backgrounds with
2033             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not
2034             have been requested to be translucent with
2035             {@link android.R.attr#windowTranslucentStatus}.
2036             Corresponds to {@link android.view.Window#setStatusBarColor(int)}. -->
2037        <attr name="statusBarColor" format="color" />
2038
2039        <!-- The color for the navigation 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_HIDE_NAVIGATION}.
2042             For this to take effect, the window must be drawing the system bar backgrounds with
2043             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not
2044             have been requested to be translucent with
2045             {@link android.R.attr#windowTranslucentNavigation}.
2046             Corresponds to {@link android.view.Window#setNavigationBarColor(int)}. -->
2047        <attr name="navigationBarColor" format="color" />
2048
2049        <!-- The duration, in milliseconds, of the window background fade duration
2050             when transitioning into or away from an Activity when called with an
2051             Activity Transition. Corresponds to
2052             {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. -->
2053        <attr name="windowTransitionBackgroundFadeDuration" />
2054
2055        <!-- Elevation to use for the window. -->
2056        <attr name="windowElevation" format="dimension" />
2057
2058        <!-- Whether to clip window content to the outline of the window background. -->
2059        <attr name="windowClipToOutline" format="boolean" />
2060
2061        <!-- If set, the status bar will be drawn such that it is compatible with a light
2062             status bar background.
2063             <p>For this to take effect, the window must be drawing the system bar backgrounds with
2064             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not
2065             have been requested to be translucent with
2066             {@link android.R.attr#windowTranslucentStatus}.
2067             Corresponds to setting {@link android.view.View#SYSTEM_UI_FLAG_LIGHT_STATUS_BAR} on
2068             the decor view. -->
2069        <attr name="windowLightStatusBar" format="boolean" />
2070
2071        <!-- Reference to a drawable to be used as the splash screen content of the window. This
2072             drawable will be placed on top of the {@link android.R.attr#windowBackground} with its
2073             bounds inset by the system bars. If the drawable should not be inset by the system
2074             bars, use a fullscreen theme.
2075             <p>
2076             Note that even if no splashscreen content is set on the theme, the system may still
2077             show a splash screen using the other attributes on the theme, like the
2078             {@link android.R.attr#windowBackground}.
2079             -->
2080        <attr name="windowSplashscreenContent" format="reference" />
2081    </declare-styleable>
2082
2083    <!-- The set of attributes that describe a AlertDialog's theme. -->
2084    <declare-styleable name="AlertDialog">
2085        <attr name="fullDark" format="reference|color" />
2086        <attr name="topDark" format="reference|color" />
2087        <attr name="centerDark" format="reference|color" />
2088        <attr name="bottomDark" format="reference|color" />
2089        <attr name="fullBright" format="reference|color" />
2090        <attr name="topBright" format="reference|color" />
2091        <attr name="centerBright" format="reference|color" />
2092        <attr name="bottomBright" format="reference|color" />
2093        <attr name="bottomMedium" format="reference|color" />
2094        <attr name="centerMedium" format="reference|color" />
2095        <attr name="layout" />
2096        <attr name="buttonPanelSideLayout" format="reference" />
2097        <attr name="listLayout" format="reference" />
2098        <attr name="multiChoiceItemLayout" format="reference" />
2099        <attr name="singleChoiceItemLayout" format="reference" />
2100        <attr name="listItemLayout" format="reference" />
2101        <attr name="progressLayout" format="reference" />
2102        <attr name="horizontalProgressLayout" format="reference" />
2103        <!-- @hide Not ready for public use. -->
2104        <attr name="showTitle" format="boolean" />
2105        <!-- @hide Whether fullDark, etc. should use default values if null. -->
2106        <attr name="needsDefaultBackgrounds" format="boolean" />
2107        <!-- @hide Workaround until we replace AlertController with custom layout. -->
2108        <attr name="controllerType">
2109            <!-- The default controller. -->
2110            <enum name="normal" value="0" />
2111            <!-- Controller for micro specific layout. -->
2112            <enum name="micro" value="1" />
2113        </attr>
2114        <!-- @hide Offset when scrolling to a selection. -->
2115        <attr name="selectionScrollOffset" format="dimension" />
2116    </declare-styleable>
2117
2118    <!-- @hide -->
2119    <declare-styleable name="ButtonBarLayout">
2120        <!-- Whether to automatically stack the buttons when there is not
2121             enough space to lay them out side-by-side. -->
2122        <attr name="allowStacking" format="boolean" />
2123    </declare-styleable>
2124
2125    <!-- Fragment animation class attributes. -->
2126    <declare-styleable name="FragmentAnimation">
2127        <attr name="fragmentOpenEnterAnimation" format="reference" />
2128        <attr name="fragmentOpenExitAnimation" format="reference" />
2129        <attr name="fragmentCloseEnterAnimation" format="reference" />
2130        <attr name="fragmentCloseExitAnimation" format="reference" />
2131        <attr name="fragmentFadeEnterAnimation" format="reference" />
2132        <attr name="fragmentFadeExitAnimation" format="reference" />
2133    </declare-styleable>
2134
2135    <!-- Window animation class attributes. -->
2136    <declare-styleable name="WindowAnimation">
2137        <!-- The animation used when a window is being added. -->
2138        <attr name="windowEnterAnimation" format="reference" />
2139        <!-- The animation used when a window is being removed. -->
2140        <attr name="windowExitAnimation" format="reference" />
2141        <!-- The animation used when a window is going from INVISIBLE to VISIBLE. -->
2142        <attr name="windowShowAnimation" format="reference" />
2143        <!-- The animation used when a window is going from VISIBLE to INVISIBLE. -->
2144        <attr name="windowHideAnimation" format="reference" />
2145
2146        <!--  When opening a new activity, this is the animation that is
2147              run on the next activity (which is entering the screen). -->
2148        <attr name="activityOpenEnterAnimation" format="reference" />
2149        <!--  When opening a new activity, this is the animation that is
2150              run on the previous activity (which is exiting the screen). -->
2151        <attr name="activityOpenExitAnimation" format="reference" />
2152        <!--  When closing the current activity, this is the animation that is
2153              run on the next activity (which is entering the screen). -->
2154        <attr name="activityCloseEnterAnimation" format="reference" />
2155        <!--  When closing the current activity, this is the animation that is
2156              run on the current activity (which is exiting the screen). -->
2157        <attr name="activityCloseExitAnimation" format="reference" />
2158        <!--  When opening an activity in a new task, this is the animation that is
2159              run on the activity of the new task (which is entering the screen). -->
2160        <attr name="taskOpenEnterAnimation" format="reference" />
2161        <!--  When opening an activity in a new task, this is the animation that is
2162              run on the activity of the old task (which is exiting the screen). -->
2163        <attr name="taskOpenExitAnimation" format="reference" />
2164        <!--  When opening an activity in a new task using Intent/FLAG_ACTIVITY_LAUNCH_BEHIND,
2165              this is the animation that is run on the activity of the new task (which is
2166              entering the screen and then leaving). -->
2167        <attr name="launchTaskBehindTargetAnimation" format="reference" />
2168        <!--  When opening an activity in a new task using Intent.FLAG_ACTIVITY_LAUNCH_BEHIND,
2169              this is the animation that is run on the activity of the old task (which is
2170              already on the screen and then stays on). -->
2171        <attr name="launchTaskBehindSourceAnimation" format="reference" />
2172        <!--  When closing the last activity of a task, this is the animation that is
2173              run on the activity of the next task (which is entering the screen). -->
2174        <attr name="taskCloseEnterAnimation" format="reference" />
2175        <!--  When opening an activity in a new task, this is the animation that is
2176              run on the activity of the old task (which is exiting the screen). -->
2177        <attr name="taskCloseExitAnimation" format="reference" />
2178        <!--  When bringing an existing task to the foreground, this is the
2179              animation that is run on the top activity of the task being brought
2180              to the foreground (which is entering the screen). -->
2181        <attr name="taskToFrontEnterAnimation" format="reference" />
2182        <!--  When bringing an existing task to the foreground, this is the
2183              animation that is run on the current foreground activity
2184              (which is exiting the screen). -->
2185        <attr name="taskToFrontExitAnimation" format="reference" />
2186        <!--  When sending the current task to the background, this is the
2187              animation that is run on the top activity of the task behind
2188              it (which is entering the screen). -->
2189        <attr name="taskToBackEnterAnimation" format="reference" />
2190        <!--  When sending the current task to the background, this is the
2191              animation that is run on the top activity of the current task
2192              (which is exiting the screen). -->
2193        <attr name="taskToBackExitAnimation" format="reference" />
2194
2195        <!--  When opening a new activity that shows the wallpaper, while
2196              currently not showing the wallpaper, this is the animation that
2197              is run on the new wallpaper activity (which is entering the screen). -->
2198        <attr name="wallpaperOpenEnterAnimation" format="reference" />
2199        <!--  When opening a new activity that shows the wallpaper, while
2200              currently not showing the wallpaper, this is the animation that
2201              is run on the current activity (which is exiting the screen). -->
2202        <attr name="wallpaperOpenExitAnimation" format="reference" />
2203        <!--  When opening a new activity that hides the wallpaper, while
2204              currently showing the wallpaper, this is the animation that
2205              is run on the new activity (which is entering the screen). -->
2206        <attr name="wallpaperCloseEnterAnimation" format="reference" />
2207        <!--  When opening a new activity that hides the wallpaper, while
2208              currently showing the wallpaper, this is the animation that
2209              is run on the old wallpaper activity (which is exiting the screen). -->
2210        <attr name="wallpaperCloseExitAnimation" format="reference" />
2211
2212        <!--  When opening a new activity that is on top of the wallpaper
2213              when the current activity is also on top of the wallpaper,
2214              this is the animation that is run on the new activity
2215              (which is entering the screen).  The wallpaper remains
2216              static behind the animation. -->
2217        <attr name="wallpaperIntraOpenEnterAnimation" format="reference" />
2218        <!--  When opening a new activity that is on top of the wallpaper
2219              when the current activity is also on top of the wallpaper,
2220              this is the animation that is run on the current activity
2221              (which is exiting the screen).  The wallpaper remains
2222              static behind the animation. -->
2223        <attr name="wallpaperIntraOpenExitAnimation" format="reference" />
2224        <!--  When closing a foreround activity that is on top of the wallpaper
2225              when the previous activity is also on top of the wallpaper,
2226              this is the animation that is run on the previous activity
2227              (which is entering the screen).  The wallpaper remains
2228              static behind the animation. -->
2229        <attr name="wallpaperIntraCloseEnterAnimation" format="reference" />
2230        <!--  When closing a foreround activity that is on top of the wallpaper
2231              when the previous activity is also on top of the wallpaper,
2232              this is the animation that is run on the current activity
2233              (which is exiting the screen).  The wallpaper remains
2234              static behind the animation. -->
2235        <attr name="wallpaperIntraCloseExitAnimation" format="reference" />
2236
2237        <!--  When opening a new activity from a RemoteViews, this is the
2238              animation that is run on the next activity (which is entering the
2239              screen). Requires config_overrideRemoteViewsActivityTransition to
2240              be true. -->
2241        <attr name="activityOpenRemoteViewsEnterAnimation" format="reference" />
2242
2243    </declare-styleable>
2244
2245    <!-- ============================= -->
2246    <!-- View package class attributes -->
2247    <!-- ============================= -->
2248    <eat-comment />
2249
2250    <!-- Attributes that can be used with {@link android.view.View} or
2251         any of its subclasses.  Also see {@link #ViewGroup_Layout} for
2252         attributes that are processed by the view's parent. -->
2253    <declare-styleable name="View">
2254        <!-- Supply an identifier name for this view, to later retrieve it
2255             with {@link android.view.View#findViewById View.findViewById()} or
2256             {@link android.app.Activity#findViewById Activity.findViewById()}.
2257             This must be a
2258             resource reference; typically you set this using the
2259             <code>@+</code> syntax to create a new ID resources.
2260             For example: <code>android:id="@+id/my_id"</code> which
2261             allows you to later retrieve the view
2262             with <code>findViewById(R.id.my_id)</code>. -->
2263        <attr name="id" format="reference" />
2264
2265        <!-- Supply a tag for this view containing a String, to be retrieved
2266             later with {@link android.view.View#getTag View.getTag()} or
2267             searched for with {@link android.view.View#findViewWithTag
2268             View.findViewWithTag()}.  It is generally preferable to use
2269             IDs (through the android:id attribute) instead of tags because
2270             they are faster and allow for compile-time type checking. -->
2271        <attr name="tag" format="string" />
2272
2273        <!-- The initial horizontal scroll offset, in pixels.-->
2274        <attr name="scrollX" format="dimension" />
2275
2276        <!-- The initial vertical scroll offset, in pixels. -->
2277        <attr name="scrollY" format="dimension" />
2278
2279        <!-- A drawable to use as the background.  This can be either a reference
2280             to a full drawable resource (such as a PNG image, 9-patch,
2281             XML state list description, etc), or a solid color such as "#ff000000"
2282            (black). -->
2283        <attr name="background" format="reference|color" />
2284
2285        <!-- Sets the padding, in pixels, of all four edges. Padding is defined as
2286             space between the edges of the view and the view's content. This value will take
2287             precedence over any of the edge-specific values, including
2288             paddingHorizontal and paddingVertical, if set. A view's size
2289             will include its padding. If a {@link android.R.attr#background}
2290             is provided, the padding will initially be set to that (0 if the
2291             drawable does not have padding). Explicitly setting a padding value
2292             will override the corresponding padding found in the background. -->
2293        <attr name="padding" format="dimension" />
2294        <!-- Sets the padding, in pixels, of the left and right edges; see
2295             {@link android.R.attr#padding}. This value will take precedence over
2296             paddingLeft, paddingRight, paddingStart, and paddingEnd, if set. -->
2297        <attr name="paddingHorizontal" format="dimension" />
2298        <!-- Sets the padding, in pixels, of the top and bottom edges; see
2299             {@link android.R.attr#padding}. This value will take precedence over
2300             paddingTop and paddingBottom, if set. -->
2301        <attr name="paddingVertical" format="dimension" />
2302        <!-- Sets the padding, in pixels, of the left edge; see {@link android.R.attr#padding}. -->
2303        <attr name="paddingLeft" format="dimension" />
2304        <!-- Sets the padding, in pixels, of the top edge; see {@link android.R.attr#padding}. -->
2305        <attr name="paddingTop" format="dimension" />
2306        <!-- Sets the padding, in pixels, of the right edge; see {@link android.R.attr#padding}. -->
2307        <attr name="paddingRight" format="dimension" />
2308        <!-- Sets the padding, in pixels, of the bottom edge; see {@link android.R.attr#padding}. -->
2309        <attr name="paddingBottom" format="dimension" />
2310        <!-- Sets the padding, in pixels, of the start edge; see {@link android.R.attr#padding}. -->
2311        <attr name="paddingStart" format="dimension" />
2312        <!-- Sets the padding, in pixels, of the end edge; see {@link android.R.attr#padding}. -->
2313        <attr name="paddingEnd" format="dimension" />
2314
2315        <!-- Controls whether a view can take focus.  By default, this is "auto" which lets the
2316             framework determine whether a user can move focus to a view.  By setting this attribute
2317             to true the view is allowed to take focus. By setting it to "false" the view will not
2318             take focus. This value does not impact the behavior of
2319             directly calling {@link android.view.View#requestFocus}, which will
2320             always request focus regardless of this view.  It only impacts where
2321             focus navigation will try to move focus. -->
2322        <attr name="focusable" format="boolean|enum">
2323            <enum name="auto" value="0x00000010" />
2324        </attr>
2325
2326        <attr name="__removed3" />
2327
2328        <!-- Describes the content of a view so that a autofill service can fill in the appropriate
2329             data. Multiple hints can be combined in a comma separated list or an array of strings
2330             to mean e.g. emailAddress or postalAddress. -->
2331        <attr name="autofillHints" format="string|reference" />
2332
2333        <!-- Hints the Android System whether the view node associated with this View should be
2334             included in a view structure used for autofill purposes. -->
2335        <attr name="importantForAutofill">
2336            <!-- Let the Android System use its heuristics to determine if the view is important for autofill. -->
2337            <flag name="auto" value="0" />
2338            <!-- Hint the Android System that this view is important for autofill,
2339                  and its children (if any) will be traversed.. -->
2340            <flag name="yes" value="0x1" />
2341            <!-- Hint the Android System that this view is *not* important for autofill,
2342                  but its children (if any) will be traversed.. -->
2343            <flag name="no" value="0x2" />
2344            <!-- Hint the Android System that this view is important for autofill,
2345                 but its children (if any) will not be traversed. -->
2346            <flag name="yesExcludeDescendants" value="0x4" />
2347            <!-- Hint the Android System that this view is *not* important for autofill,
2348                 and its children (if any) will not be traversed. -->
2349            <flag name="noExcludeDescendants" value="0x8" />
2350        </attr>
2351
2352        <!-- Boolean that controls whether a view can take focus while in touch mode.
2353             If this is true for a view, that view can gain focus when clicked on, and can keep
2354             focus if another view is clicked on that doesn't have this attribute set to true. -->
2355        <attr name="focusableInTouchMode" format="boolean" />
2356
2357        <!-- Controls the initial visibility of the view.  -->
2358        <attr name="visibility">
2359            <!-- Visible on screen; the default value. -->
2360            <enum name="visible" value="0" />
2361            <!-- Not displayed, but taken into account during layout (space is left for it). -->
2362            <enum name="invisible" value="1" />
2363            <!-- Completely hidden, as if the view had not been added. -->
2364            <enum name="gone" value="2" />
2365        </attr>
2366
2367        <!-- Boolean internal attribute to adjust view layout based on
2368             system windows such as the status bar.
2369             If true, adjusts the padding of this view to leave space for the system windows.
2370             Will only take effect if this view is in a non-embedded activity. -->
2371        <attr name="fitsSystemWindows" format="boolean" />
2372
2373        <!-- Defines which scrollbars should be displayed on scrolling or not. -->
2374        <attr name="scrollbars">
2375            <!-- No scrollbar is displayed. -->
2376            <flag name="none" value="0x00000000" />
2377            <!-- Displays horizontal scrollbar only. -->
2378            <flag name="horizontal" value="0x00000100" />
2379            <!-- Displays vertical scrollbar only. -->
2380            <flag name="vertical" value="0x00000200" />
2381        </attr>
2382
2383        <!-- Controls the scrollbar style and position. The scrollbars can be overlaid or
2384             inset. When inset, they add to the padding of the view. And the
2385             scrollbars can be drawn inside the padding area or on the edge of
2386             the view. For example, if a view has a background drawable and you
2387             want to draw the scrollbars inside the padding specified by the
2388             drawable, you can use insideOverlay or insideInset. If you want them
2389             to appear at the edge of the view, ignoring the padding, then you can
2390             use outsideOverlay or outsideInset.-->
2391        <attr name="scrollbarStyle">
2392            <!-- Inside the padding and overlaid. -->
2393            <enum name="insideOverlay" value="0x0" />
2394            <!-- Inside the padding and inset. -->
2395            <enum name="insideInset" value="0x01000000" />
2396            <!-- Edge of the view and overlaid. -->
2397            <enum name="outsideOverlay" value="0x02000000" />
2398            <!-- Edge of the view and inset. -->
2399            <enum name="outsideInset" value="0x03000000" />
2400        </attr>
2401
2402        <!-- Set this if the view will serve as a scrolling container, meaning
2403             that it can be resized to shrink its overall window so that there
2404             will be space for an input method.  If not set, the default
2405             value will be true if "scrollbars" has the vertical scrollbar
2406             set, else it will be false. -->
2407        <attr name="isScrollContainer" format="boolean" />
2408
2409          <!-- Defines whether to fade out scrollbars when they are not in use. -->
2410         <attr name="fadeScrollbars" format="boolean" />
2411         <!-- Defines the delay in milliseconds that a scrollbar takes to fade out. -->
2412         <attr name="scrollbarFadeDuration" format="integer" />
2413         <!-- Defines the delay in milliseconds that a scrollbar waits before fade out. -->
2414        <attr name="scrollbarDefaultDelayBeforeFade" format="integer" />
2415        <!-- Sets the width of vertical scrollbars and height of horizontal scrollbars. -->
2416        <attr name="scrollbarSize" format="dimension" />
2417        <!-- Defines the horizontal scrollbar thumb drawable. -->
2418        <attr name="scrollbarThumbHorizontal" format="reference" />
2419        <!-- Defines the vertical scrollbar thumb drawable. -->
2420        <attr name="scrollbarThumbVertical" format="reference" />
2421        <!-- Defines the horizontal scrollbar track drawable. -->
2422        <attr name="scrollbarTrackHorizontal" format="reference" />
2423        <!-- Defines the vertical scrollbar track drawable. -->
2424        <attr name="scrollbarTrackVertical" format="reference" />
2425        <!-- Defines whether the horizontal scrollbar track should always be drawn. -->
2426        <attr name="scrollbarAlwaysDrawHorizontalTrack" format="boolean" />
2427        <!-- Defines whether the vertical scrollbar track should always be drawn. -->
2428        <attr name="scrollbarAlwaysDrawVerticalTrack" format="boolean" />
2429
2430        <!-- This attribute is ignored in API level 14
2431             ({@link android.os.Build.VERSION_CODES#ICE_CREAM_SANDWICH}) and higher.
2432             Using fading edges may introduce noticeable performance
2433             degradations and should be used only when required by the application's
2434             visual design. To request fading edges with API level 14 and above,
2435             use the <code>android:requiresFadingEdge</code> attribute instead. -->
2436        <attr name="fadingEdge">
2437            <!-- No edge is faded. -->
2438            <flag name="none" value="0x00000000" />
2439            <!-- Fades horizontal edges only. -->
2440            <flag name="horizontal" value="0x00001000" />
2441            <!-- Fades vertical edges only. -->
2442            <flag name="vertical" value="0x00002000" />
2443        </attr>
2444        <!-- Defines which edges should be faded on scrolling. -->
2445        <attr name="requiresFadingEdge">
2446            <!-- No edge is faded. -->
2447            <flag name="none" value="0x00000000" />
2448            <!-- Fades horizontal edges only. -->
2449            <flag name="horizontal" value="0x00001000" />
2450            <!-- Fades vertical edges only. -->
2451            <flag name="vertical" value="0x00002000" />
2452        </attr>
2453        <!-- Defines the length of the fading edges. -->
2454        <attr name="fadingEdgeLength" format="dimension" />
2455
2456        <!-- Defines the next view to give focus to when the next focus is
2457             {@link android.view.View#FOCUS_LEFT}.
2458
2459             If the reference refers to a view that does not exist or is part
2460             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2461             will result when the reference is accessed.-->
2462        <attr name="nextFocusLeft" format="reference"/>
2463
2464        <!-- Defines the next view to give focus to when the next focus is
2465             {@link android.view.View#FOCUS_RIGHT}
2466
2467             If the reference refers to a view that does not exist or is part
2468             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2469             will result when the reference is accessed.-->
2470        <attr name="nextFocusRight" format="reference"/>
2471
2472        <!-- Defines the next view to give focus to when the next focus is
2473             {@link android.view.View#FOCUS_UP}
2474
2475             If the reference refers to a view that does not exist or is part
2476             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2477             will result when the reference is accessed.-->
2478        <attr name="nextFocusUp" format="reference"/>
2479
2480        <!-- Defines the next view to give focus to when the next focus is
2481             {@link android.view.View#FOCUS_DOWN}
2482
2483             If the reference refers to a view that does not exist or is part
2484             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2485             will result when the reference is accessed.-->
2486        <attr name="nextFocusDown" format="reference"/>
2487
2488        <!-- Defines the next view to give focus to when the next focus is
2489             {@link android.view.View#FOCUS_FORWARD}
2490
2491             If the reference refers to a view that does not exist or is part
2492             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2493             will result when the reference is accessed.-->
2494        <attr name="nextFocusForward" format="reference"/>
2495
2496        <!-- Defines whether this view reacts to click events. -->
2497        <attr name="clickable" format="boolean" />
2498
2499        <!-- Defines whether this view reacts to long click events. -->
2500        <attr name="longClickable" format="boolean" />
2501
2502        <!--  Defines whether this view reacts to context click events. -->
2503        <attr name="contextClickable" format="boolean" />
2504
2505        <!-- If false, no state will be saved for this view when it is being
2506             frozen. The default is true, allowing the view to be saved
2507             (however it also must have an ID assigned to it for its
2508             state to be saved).  Setting this to false only disables the
2509             state for this view, not for its children which may still
2510             be saved. -->
2511        <attr name="saveEnabled" format="boolean" />
2512
2513        <!-- Specifies whether to filter touches when the view's window is obscured by
2514             another visible window.  When set to true, the view will not receive touches
2515             whenever a toast, dialog or other window appears above the view's window.
2516             Refer to the {@link android.view.View} security documentation for more details. -->
2517        <attr name="filterTouchesWhenObscured" format="boolean" />
2518
2519        <!-- Defines the quality of translucent drawing caches. This property is used
2520             only when the drawing cache is enabled and translucent. The default value is auto. -->
2521        <attr name="drawingCacheQuality">
2522            <!-- Lets the framework decide what quality level should be used
2523                 for the drawing cache. -->
2524            <enum name="auto" value="0" />
2525            <!-- Low quality. When set to low quality, the drawing cache uses a lower color
2526                 depth, thus losing precision in rendering gradients, but uses less memory. -->
2527            <enum name="low" value="1" />
2528            <!-- High quality. When set to high quality, the drawing cache uses a higher
2529                 color depth but uses more memory. -->
2530            <enum name="high" value="2" />
2531        </attr>
2532
2533        <!-- Controls whether the view's window should keep the screen on
2534             while visible. -->
2535        <attr name="keepScreenOn" format="boolean" />
2536
2537        <!-- When this attribute is set to true, the view gets its drawable state
2538             (focused, pressed, etc.) from its direct parent rather than from itself. -->
2539        <attr name="duplicateParentState" format="boolean" />
2540
2541        <!-- Defines the minimum height of the view. It is not guaranteed
2542             the view will be able to achieve this minimum height (for example,
2543             if its parent layout constrains it with less available height). -->
2544        <attr name="minHeight" />
2545
2546        <!-- Defines the minimum width of the view. It is not guaranteed
2547             the view will be able to achieve this minimum width (for example,
2548             if its parent layout constrains it with less available width). -->
2549        <attr name="minWidth" />
2550
2551        <!-- Boolean that controls whether a view should have sound effects
2552             enabled for events such as clicking and touching. -->
2553        <attr name="soundEffectsEnabled" format="boolean" />
2554
2555        <!-- Boolean that controls whether a view should have haptic feedback
2556             enabled for events such as long presses. -->
2557        <attr name="hapticFeedbackEnabled" format="boolean" />
2558
2559        <!-- Defines text that briefly describes content of the view. This property is used
2560             primarily for accessibility. Since some views do not have textual
2561             representation this attribute can be used for providing such. -->
2562        <attr name="contentDescription" format="string" localization="suggested" />
2563
2564        <!-- Sets the id of a view before which this one is visited in accessibility traversal.
2565             A screen-reader must visit the content of this view before the content of the one
2566             it precedes.
2567             {@see android.view.View#setAccessibilityTraversalBefore(int)} -->
2568        <attr name="accessibilityTraversalBefore" format="integer" />
2569
2570        <!-- Sets the id of a view after which this one is visited in accessibility traversal.
2571             A screen-reader must visit the content of the other view before the content of
2572             this one.
2573             {@see android.view.View#setAccessibilityTraversalAfter(int)} -->
2574        <attr name="accessibilityTraversalAfter" format="integer" />
2575
2576        <!-- Name of the method in this View's context to invoke when the view is
2577             clicked. This name must correspond to a public method that takes
2578             exactly one parameter of type View. For instance, if you specify
2579             <code>android:onClick="sayHello"</code>, you must declare a
2580             <code>public void sayHello(View v)</code> method of your context
2581             (typically, your Activity). -->
2582        <attr name="onClick" format="string" />
2583
2584        <!-- Defines over-scrolling behavior. This property is used only if the
2585             View is scrollable. Over-scrolling is the ability for the user to
2586             receive feedback when attempting to scroll beyond meaningful content. -->
2587        <attr name="overScrollMode">
2588            <!-- Always show over-scroll effects, even if the content fits entirely
2589                 within the available space. -->
2590            <enum name="always" value="0" />
2591            <!-- Only show over-scroll effects if the content is large
2592                 enough to meaningfully scroll. -->
2593            <enum name="ifContentScrolls" value="1" />
2594            <!-- Never show over-scroll effects. -->
2595            <enum name="never" value="2" />
2596        </attr>
2597
2598        <!-- alpha property of the view, as a value between 0 (completely transparent) and 1
2599             (completely opaque). -->
2600        <attr name="alpha" format="float" />
2601
2602        <!-- base z depth of the view. -->
2603        <attr name="elevation" format="dimension" />
2604
2605        <!-- translation in x of the view. This value is added post-layout to the left
2606             property of the view, which is set by its layout. -->
2607        <attr name="translationX" format="dimension" />
2608
2609        <!-- translation in y of the view. This value is added post-layout to the top
2610             property of the view, which is set by its layout. -->
2611        <attr name="translationY" format="dimension" />
2612
2613        <!-- translation in z of the view. This value is added to its elevation. -->
2614        <attr name="translationZ" format="dimension" />
2615
2616        <!-- x location of the pivot point around which the view will rotate and scale.
2617             This xml attribute sets the pivotX property of the View. -->
2618        <attr name="transformPivotX" format="dimension" />
2619
2620        <!-- y location of the pivot point around which the view will rotate and scale.
2621             This xml attribute sets the pivotY property of the View. -->
2622        <attr name="transformPivotY" format="dimension" />
2623
2624        <!-- rotation of the view, in degrees. -->
2625        <attr name="rotation" format="float" />
2626
2627        <!-- rotation of the view around the x axis, in degrees. -->
2628        <attr name="rotationX" format="float" />
2629
2630        <!-- rotation of the view around the y axis, in degrees. -->
2631        <attr name="rotationY" format="float" />
2632
2633        <!-- scale of the view in the x direction. -->
2634        <attr name="scaleX" format="float" />
2635
2636        <!-- scale of the view in the y direction. -->
2637        <attr name="scaleY" format="float" />
2638
2639        <!-- Determines which side the vertical scroll bar should be placed on. -->
2640        <attr name="verticalScrollbarPosition">
2641            <!-- Place the scroll bar wherever the system default determines. -->
2642            <enum name="defaultPosition" value="0" />
2643            <!-- Place the scroll bar on the left. -->
2644            <enum name="left" value="1" />
2645            <!-- Place the scroll bar on the right. -->
2646            <enum name="right" value="2" />
2647        </attr>
2648
2649        <!-- Specifies the type of layer backing this view. The default value is none.
2650             Refer to {@link android.view.View#setLayerType(int, android.graphics.Paint)}
2651             for more information.-->
2652        <attr name="layerType">
2653            <!-- Don't use a layer. -->
2654            <enum name="none" value="0" />
2655            <!-- Use a software layer. Refer to
2656                 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for
2657                 more information. -->
2658            <enum name="software" value="1" />
2659            <!-- Use a hardware layer. Refer to
2660                 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for
2661                 more information. -->
2662            <enum name="hardware" value="2" />
2663        </attr>
2664
2665        <!-- Defines the direction of layout drawing. This typically is associated with writing
2666             direction of the language script used. The possible values are "ltr" for Left-to-Right,
2667             "rtl" for Right-to-Left, "locale", and "inherit" from parent view. If there is nothing
2668             to inherit, "locale" is used. "locale" falls back to "en-US". "ltr" is the direction
2669             used in "en-US". The default for this attribute is "inherit". -->
2670        <attr name="layoutDirection">
2671            <!-- Left-to-Right. -->
2672            <enum name="ltr" value="0" />
2673            <!-- Right-to-Left. -->
2674            <enum name="rtl" value="1" />
2675            <!-- Inherit from parent. -->
2676            <enum name="inherit" value="2" />
2677            <!-- Locale. -->
2678            <enum name="locale" value="3" />
2679        </attr>
2680
2681        <!-- Defines the direction of the text. -->
2682         <attr name="textDirection" format="integer">
2683            <!-- Default. -->
2684            <enum name="inherit" value="0" />
2685            <!-- Default for the root view. The first strong directional character determines the
2686                 paragraph direction.  If there is no strong directional character, the paragraph
2687                 direction is the view’s resolved layout direction. -->
2688            <enum name="firstStrong" value="1" />
2689            <!-- The paragraph direction is RTL if it contains any strong RTL character, otherwise
2690                 it is LTR if it contains any strong LTR characters.  If there are neither, the
2691                 paragraph direction is the view’s resolved layout direction. -->
2692            <enum name="anyRtl" value="2" />
2693            <!-- The paragraph direction is left to right. -->
2694            <enum name="ltr" value="3" />
2695            <!-- The paragraph direction is right to left. -->
2696            <enum name="rtl" value="4" />
2697            <!-- The paragraph direction is coming from the system Locale. -->
2698            <enum name="locale" value="5" />
2699            <!-- The first strong directional character determines the paragraph direction. If
2700                 there is no strong directional character, the paragraph direction is LTR. -->
2701            <enum name="firstStrongLtr" value="6" />
2702            <!-- The first strong directional character determines the paragraph direction. If
2703                 there is no strong directional character, the paragraph direction is RTL. -->
2704            <enum name="firstStrongRtl" value="7" />
2705        </attr>
2706
2707        <!-- Defines the alignment of the text. -->
2708        <attr name="textAlignment" format="integer">
2709            <!-- Default. -->
2710            <enum name="inherit" value="0" />
2711            <!-- Default for the root view. The gravity determines the alignment, ALIGN_NORMAL,
2712                ALIGN_CENTER, or ALIGN_OPPOSITE, which are relative to each paragraph’s
2713                text direction. -->
2714            <enum name="gravity" value="1" />
2715            <!-- Align to the start of the paragraph, for example: ALIGN_NORMAL. -->
2716            <enum name="textStart" value="2" />
2717            <!-- Align to the end of the paragraph, for example: ALIGN_OPPOSITE. -->
2718            <enum name="textEnd" value="3" />
2719            <!-- Center the paragraph, for example: ALIGN_CENTER. -->
2720            <enum name="center" value="4" />
2721            <!-- Align to the start of the view, which is ALIGN_LEFT if the view’s resolved
2722                layoutDirection is LTR, and ALIGN_RIGHT otherwise. -->
2723            <enum name="viewStart" value="5" />
2724            <!-- Align to the end of the view, which is ALIGN_RIGHT if the view’s resolved
2725                layoutDirection is LTR, and ALIGN_LEFT otherwise. -->
2726            <enum name="viewEnd" value="6" />
2727        </attr>
2728
2729        <!-- Describes whether or not this view is important for accessibility.
2730             If it is important, the view fires accessibility events and is
2731             reported to accessibility services that query the screen. Note:
2732             While not recommended, an accessibility service may decide to
2733             ignore this attribute and operate on all views in the view tree. -->
2734        <attr name="importantForAccessibility" format="integer">
2735            <!-- The system determines whether the view is important for accessibility - default
2736                 (recommended). -->
2737            <enum name="auto" value="0" />
2738            <!-- The view is important for accessibility. -->
2739            <enum name="yes" value="1" />
2740            <!-- The view is not important for accessibility. -->
2741            <enum name="no" value="2" />
2742            <!-- The view is not important for accessibility, nor are any of its descendant
2743                 views. -->
2744            <enum name="noHideDescendants" value="4" />
2745        </attr>
2746
2747        <!-- Indicates to accessibility services whether the user should be notified when
2748             this view changes. -->
2749        <attr name="accessibilityLiveRegion" format="integer">
2750            <!-- Accessibility services should not announce changes to this view. -->
2751            <enum name="none" value="0" />
2752            <!-- Accessibility services should announce changes to this view. -->
2753            <enum name="polite" value="1" />
2754            <!-- Accessibility services should interrupt ongoing speech to immediately
2755                 announce changes to this view. -->
2756            <enum name="assertive" value="2" />
2757        </attr>
2758
2759        <!-- Specifies the id of a view for which this view serves as a label for
2760             accessibility purposes. For example, a TextView before an EditText in
2761             the UI usually specifies what infomation is contained in the EditText.
2762             Hence, the TextView is a label for the EditText. -->
2763        <attr name="labelFor" format="reference" />
2764
2765        <!-- Specifies a theme override for a view. When a theme override is set, the
2766             view will be inflated using a {@link android.content.Context} themed with
2767             the specified resource. During XML inflation, any child views under the
2768             view with a theme override will inherit the themed context. -->
2769        <attr name="theme" />
2770
2771        <!-- Names a View such that it can be identified for Transitions. Names should be
2772             unique in the View hierarchy. -->
2773        <attr name="transitionName" format="string" />
2774
2775        <!-- Specifies that this view should permit nested scrolling within a compatible
2776             ancestor view. -->
2777        <attr name="nestedScrollingEnabled" format="boolean" />
2778
2779        <!-- Sets the state-based animator for the View. -->
2780        <attr name="stateListAnimator" format="reference"/>
2781
2782        <!-- Tint to apply to the background. -->
2783        <attr name="backgroundTint" format="color" />
2784
2785        <!-- Blending mode used to apply the background tint. -->
2786        <attr name="backgroundTintMode">
2787            <!-- The tint is drawn on top of the drawable.
2788                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
2789            <enum name="src_over" value="3" />
2790            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
2791                 color channels are thrown out. [Sa * Da, Sc * Da] -->
2792            <enum name="src_in" value="5" />
2793            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
2794                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
2795            <enum name="src_atop" value="9" />
2796            <!-- Multiplies the color and alpha channels of the drawable with those of
2797                 the tint. [Sa * Da, Sc * Dc] -->
2798            <enum name="multiply" value="14" />
2799            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
2800            <enum name="screen" value="15" />
2801            <!-- Combines the tint and drawable color and alpha channels, clamping the
2802                 result to valid color values. Saturate(S + D) -->
2803            <enum name="add" value="16" />
2804        </attr>
2805
2806        <!-- ViewOutlineProvider used to determine the View's Outline. -->
2807        <attr name="outlineProvider">
2808            <!-- Default, background drawable-driven outline. -->
2809            <enum name="background" value="0" />
2810            <!-- No outline provider. -->
2811            <enum name="none" value="1" />
2812            <!-- Generates an opaque outline for the bounds of the view. -->
2813            <enum name="bounds" value="2" />
2814            <!-- Generates an opaque outline for the padded bounds of the view. -->
2815            <enum name="paddedBounds" value="3" />
2816        </attr>
2817
2818        <!-- Defines the drawable to draw over the content. This can be used as an overlay.
2819             The foreground drawable participates in the padding of the content if the gravity
2820             is set to fill. -->
2821        <attr name="foreground" format="reference|color" />
2822        <!-- Defines the gravity to apply to the foreground drawable. The gravity defaults
2823             to fill. -->
2824        <attr name="foregroundGravity">
2825            <!-- Push object to the top of its container, not changing its size. -->
2826            <flag name="top" value="0x30" />
2827            <!-- Push object to the bottom of its container, not changing its size. -->
2828            <flag name="bottom" value="0x50" />
2829            <!-- Push object to the left of its container, not changing its size. -->
2830            <flag name="left" value="0x03" />
2831            <!-- Push object to the right of its container, not changing its size. -->
2832            <flag name="right" value="0x05" />
2833            <!-- Place object in the vertical center of its container, not changing its size. -->
2834            <flag name="center_vertical" value="0x10" />
2835            <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
2836            <flag name="fill_vertical" value="0x70" />
2837            <!-- Place object in the horizontal center of its container, not changing its size. -->
2838            <flag name="center_horizontal" value="0x01" />
2839            <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
2840            <flag name="fill_horizontal" value="0x07" />
2841            <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
2842            <flag name="center" value="0x11" />
2843            <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
2844            <flag name="fill" value="0x77" />
2845            <!-- Additional option that can be set to have the top and/or bottom edges of
2846                 the child clipped to its container's bounds.
2847                 The clip will be based on the vertical gravity: a top gravity will clip the bottom
2848                 edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
2849            <flag name="clip_vertical" value="0x80" />
2850            <!-- Additional option that can be set to have the left and/or right edges of
2851                 the child clipped to its container's bounds.
2852                 The clip will be based on the horizontal gravity: a left gravity will clip the right
2853                 edge, a right gravity will clip the left edge, and neither will clip both edges. -->
2854            <flag name="clip_horizontal" value="0x08" />
2855        </attr>
2856        <!-- Defines whether the foreground drawable should be drawn inside the padding.
2857             This property is turned on by default. -->
2858        <attr name="foregroundInsidePadding" format="boolean" />
2859        <!-- Tint to apply to the foreground. -->
2860        <attr name="foregroundTint" format="color" />
2861        <!-- Blending mode used to apply the foreground tint. -->
2862        <attr name="foregroundTintMode">
2863            <!-- The tint is drawn on top of the drawable.
2864                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
2865            <enum name="src_over" value="3" />
2866            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
2867                 color channels are thrown out. [Sa * Da, Sc * Da] -->
2868            <enum name="src_in" value="5" />
2869            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
2870                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
2871            <enum name="src_atop" value="9" />
2872            <!-- Multiplies the color and alpha channels of the drawable with those of
2873                 the tint. [Sa * Da, Sc * Dc] -->
2874            <enum name="multiply" value="14" />
2875            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
2876            <enum name="screen" value="15" />
2877            <!-- Combines the tint and drawable color and alpha channels, clamping the
2878                 result to valid color values. Saturate(S + D) -->
2879            <enum name="add" value="16" />
2880        </attr>
2881
2882        <!-- Defines which scroll indicators should be displayed when the view
2883             can be scrolled. Multiple values may be combined using logical OR,
2884             for example "top|bottom". -->
2885        <attr name="scrollIndicators">
2886            <!-- No scroll indicators are displayed. -->
2887            <flag name="none" value="0x00" />
2888            <!-- Displays top scroll indicator when view can be scrolled up. -->
2889            <flag name="top" value="0x01" />
2890            <!-- Displays bottom scroll indicator when vew can be scrolled down. -->
2891            <flag name="bottom" value="0x02" />
2892            <!-- Displays left scroll indicator when vew can be scrolled left. -->
2893            <flag name="left" value="0x04" />
2894            <!-- Displays right scroll indicator when vew can be scrolled right. -->
2895            <flag name="right" value="0x08" />
2896            <!-- Displays right scroll indicator when vew can be scrolled in the
2897                 start direction. -->
2898            <flag name="start" value="0x10" />
2899            <!-- Displays right scroll indicator when vew can be scrolled in the
2900                 end direction. -->
2901            <flag name="end" value="0x20" />
2902        </attr>
2903
2904        <attr name="pointerIcon">
2905            <!-- Null icon, pointer becomes invisible. -->
2906            <enum name="none" value="0" />
2907            <!-- The default icon of arrow pointer. -->
2908            <enum name="arrow" value="1000" />
2909            <!-- Pointer icon indicating context-menu will appear. -->
2910            <enum name="context_menu" value="1001" />
2911            <!-- Pointer icon of a hand with the index finger. -->
2912            <enum name="hand" value="1002" />
2913            <!-- Pointer icon indicating help. -->
2914            <enum name="help" value="1003" />
2915            <!-- Pointer icon indicating something is going on and waiting. -->
2916            <enum name="wait" value="1004" />
2917            <!-- Pointer icon for cell and grid. -->
2918            <enum name="cell" value="1006" />
2919            <!-- Pointer icon of crosshair, indicating to spot a location. -->
2920            <enum name="crosshair" value="1007" />
2921            <!-- Pointer icon of I-beam, usually for text. -->
2922            <enum name="text" value="1008" />
2923            <!-- Pointer icon of I-beam with 90-degree rotated, for vertical text. -->
2924            <enum name="vertical_text" value="1009" />
2925            <!-- Pointer icon of 'alias', indicating an alias of/shortcut to something is to be
2926                 created. -->
2927            <enum name="alias" value="1010" />
2928            <!-- Pointer icon of 'copy', used for drag/drop. -->
2929            <enum name="copy" value="1011" />
2930            <!-- Pointer icon of 'no-drop', indicating the drop will not be accepted at the
2931                 current location. -->
2932            <enum name="no_drop" value="1012" />
2933            <!-- Pointer icon of four-way arrows, indicating scrolling all direction. -->
2934            <enum name="all_scroll" value="1013" />
2935            <!-- Pointer icon of horizontal double arrow, indicating horizontal resize. -->
2936            <enum name="horizontal_double_arrow" value="1014" />
2937            <!-- Pointer icon of vertical double arrow, indicating vertical resize. -->
2938            <enum name="vertical_double_arrow" value="1015" />
2939            <!-- Pointer icon of diagonal double arrow, starting from top-right to bottom-left.
2940                 Indicating freeform resize. -->
2941            <enum name="top_right_diagonal_double_arrow" value="1016" />
2942            <!-- Pointer icon of diagonal double arrow, starting from top-left to bottom-right.
2943                 Indicating freeform resize. -->
2944            <enum name="top_left_diagonal_double_arrow" value="1017" />
2945            <!-- Pointer icon indicating zoom-in. -->
2946            <enum name="zoom_in" value="1018" />
2947            <!-- Pointer icon indicating zoom-out. -->
2948            <enum name="zoom_out" value="1019" />
2949            <!-- Pointer icon of a hand sign to grab something. -->
2950            <enum name="grab" value="1020" />
2951            <!-- Pointer icon of a hand sign while grabbing something. -->
2952            <enum name="grabbing" value="1021" />
2953        </attr>
2954
2955        <!-- Whether this view has elements that may overlap when drawn. See
2956             {@link android.view.View#forceHasOverlappingRendering(boolean)}. -->
2957        <attr name="forceHasOverlappingRendering" format="boolean" />
2958
2959        <!-- Defines text displayed in a small popup window on hover or long press. -->
2960        <attr name="tooltipText" format="string" localization="suggested" />
2961
2962        <!-- Whether this view is a root of a keyboard navigation cluster.
2963             See {@link android.view.View#setKeyboardNavigationCluster(boolean)}. -->
2964        <attr name="keyboardNavigationCluster" format="boolean" />
2965
2966        <attr name="__removed0" format="boolean" />
2967
2968        <!-- Defines the next keyboard navigation cluster.
2969
2970             If the reference refers to a view that does not exist or is part
2971             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2972             will result when the reference is accessed.-->
2973        <attr name="nextClusterForward" format="reference"/>
2974
2975        <attr name="__removed1" format="reference"/>
2976
2977        <!-- Whether this view is a default-focus view.
2978             Only one view per keyboard navigation cluster can have this attribute set to true.
2979             See {@link android.view.View#setFocusedByDefault(boolean)}. -->
2980        <attr name="focusedByDefault" format="boolean" />
2981
2982        <!-- Whether this View should use a default focus highlight when it gets focused but
2983             doesn't have {@link android.R.attr#state_focused} defined in its background. -->
2984        <attr name="defaultFocusHighlightEnabled" format="boolean" />
2985    </declare-styleable>
2986
2987    <!-- Attributes that can be assigned to a tag for a particular View. -->
2988    <declare-styleable name="ViewTag">
2989        <!-- Specifies the key identifying a tag. This must be a resource reference. -->
2990        <attr name="id" />
2991        <!-- Specifies the value with which to tag the view. -->
2992        <attr name="value" />
2993    </declare-styleable>
2994
2995    <!-- Attributes that can be assigned to an &lt;include&gt; tag.
2996         @hide -->
2997    <declare-styleable name="Include">
2998        <attr name="id" />
2999        <attr name="visibility" />
3000    </declare-styleable>
3001
3002    <!-- Attributes that can be used with a {@link android.view.ViewGroup} or any
3003         of its subclasses.  Also see {@link #ViewGroup_Layout} for
3004         attributes that this class processes in its children. -->
3005    <declare-styleable name="ViewGroup">
3006        <!-- Defines whether changes in layout (caused by adding and removing items) should
3007             cause a LayoutTransition to run. When this flag is set to true, a default
3008             LayoutTransition object will be set on the ViewGroup container and default
3009             animations will run when these layout changes occur.-->
3010        <attr name="animateLayoutChanges" format="boolean" />
3011        <!-- Defines whether a child is limited to draw inside of its bounds or not.
3012             This is useful with animations that scale the size of the children to more
3013             than 100% for instance. In such a case, this property should be set to false
3014             to allow the children to draw outside of their bounds. The default value of
3015             this property is true. -->
3016        <attr name="clipChildren" format="boolean" />
3017        <!-- Defines whether the ViewGroup will clip its children and resize (but not clip) any
3018             EdgeEffect to its padding, if padding is not zero. This property is set to true by
3019             default. -->
3020        <attr name="clipToPadding" format="boolean" />
3021        <!-- Defines the layout animation to use the first time the ViewGroup is laid out.
3022             Layout animations can also be started manually after the first layout. -->
3023        <attr name="layoutAnimation" format="reference" />
3024        <!-- Defines whether layout animations should create a drawing cache for their
3025             children. Enabling the animation cache consumes more memory and requires
3026             a longer initialization but provides better performance. The animation
3027             cache is enabled by default. -->
3028        <attr name="animationCache" format="boolean" />
3029        <!-- Defines the persistence of the drawing cache. The drawing cache might be
3030             enabled by a ViewGroup for all its children in specific situations (for
3031             instance during a scrolling.) This property lets you persist the cache
3032             in memory after its initial usage. Persisting the cache consumes more
3033             memory but may prevent frequent garbage collection is the cache is created
3034             over and over again. By default the persistence is set to scrolling. -->
3035        <attr name="persistentDrawingCache">
3036            <!-- The drawing cache is not persisted after use. -->
3037            <flag name="none" value="0x0" />
3038            <!-- The drawing cache is persisted after a layout animation. -->
3039            <flag name="animation" value="0x1" />
3040            <!-- The drawing cache is persisted after a scroll. -->
3041            <flag name="scrolling" value="0x2" />
3042            <!-- The drawing cache is always persisted. -->
3043            <flag name="all" value="0x3" />
3044        </attr>
3045        <!-- Defines whether the ViewGroup should always draw its children using their
3046             drawing cache or not. The default value is true. -->
3047        <attr name="alwaysDrawnWithCache" format="boolean" />
3048        <!-- Sets whether this ViewGroup's drawable states also include
3049             its children's drawable states.  This is used, for example, to
3050             make a group appear to be focused when its child EditText or button
3051             is focused. -->
3052        <attr name="addStatesFromChildren" format="boolean" />
3053
3054        <!-- Defines the relationship between the ViewGroup and its descendants
3055             when looking for a View to take focus. -->
3056        <attr name="descendantFocusability">
3057            <!-- The ViewGroup will get focus before any of its descendants. -->
3058            <enum name="beforeDescendants" value="0" />
3059            <!-- The ViewGroup will get focus only if none of its descendants want it. -->
3060            <enum name="afterDescendants" value="1" />
3061            <!-- The ViewGroup will block its descendants from receiving focus. -->
3062            <enum name="blocksDescendants" value="2" />
3063        </attr>
3064
3065        <!-- Set to true if this ViewGroup blocks focus in the presence of a touchscreen. -->
3066        <attr name="touchscreenBlocksFocus" format="boolean" />
3067
3068        <!-- Sets whether this ViewGroup should split MotionEvents
3069             to separate child views during touch event dispatch.
3070             If false (default), touch events will be dispatched to
3071             the child view where the first pointer went down until
3072             the last pointer goes up.
3073             If true, touch events may be dispatched to multiple children.
3074             MotionEvents for each pointer will be dispatched to the child
3075             view where the initial ACTION_DOWN event happened.
3076             See {@link android.view.ViewGroup#setMotionEventSplittingEnabled(boolean)}
3077             for more information. -->
3078        <attr name="splitMotionEvents" format="boolean" />
3079
3080        <!-- Defines the layout mode of this ViewGroup. -->
3081        <attr name="layoutMode">
3082            <!-- Use the children's clip bounds when laying out this container. -->
3083            <enum name="clipBounds" value="0" />
3084            <!-- Use the children's optical bounds when laying out this container. -->
3085            <enum name="opticalBounds" value="1" />
3086        </attr>
3087
3088        <!-- Sets whether or not this ViewGroup should be treated as a single entity
3089             when doing an Activity transition. Typically, the elements inside a
3090             ViewGroup are each transitioned from the scene individually. The default
3091             for a ViewGroup is false unless it has a background. See
3092             {@link android.app.ActivityOptions#makeSceneTransitionAnimation(android.app.Activity,
3093             android.view.View, String)} for more information. Corresponds to
3094             {@link android.view.ViewGroup#setTransitionGroup(boolean)}.-->
3095        <attr name="transitionGroup" format="boolean" />
3096    </declare-styleable>
3097
3098    <!-- A {@link android.view.ViewStub} lets you lazily include other XML layouts
3099         inside your application at runtime. -->
3100    <declare-styleable name="ViewStub">
3101        <!-- Supply an identifier name for this view. -->
3102        <attr name="id" />
3103        <!-- Supply an identifier for the layout resource to inflate when the ViewStub
3104             becomes visible or when forced to do so. The layout resource must be a
3105             valid reference to a layout. -->
3106        <attr name="layout" format="reference" />
3107        <!-- Overrides the id of the inflated View with this value. -->
3108        <attr name="inflatedId" format="reference" />
3109    </declare-styleable>
3110
3111    <!-- ===================================== -->
3112    <!-- View package parent layout attributes -->
3113    <!-- ===================================== -->
3114    <eat-comment />
3115
3116    <!-- This is the basic set of layout attributes that are common to all
3117         layout managers.  These attributes are specified with the rest of
3118         a view's normal attributes (such as {@link android.R.attr#background},
3119         but will be parsed by the view's parent and ignored by the child.
3120        <p>The values defined here correspond to the base layout attribute
3121        class {@link android.view.ViewGroup.LayoutParams}. -->
3122    <declare-styleable name="ViewGroup_Layout">
3123        <!-- Specifies the basic width of the view.  This is a required attribute
3124             for any view inside of a containing layout manager.  Its value may
3125             be a dimension (such as "12dip") for a constant width or one of
3126             the special constants. -->
3127        <attr name="layout_width" format="dimension">
3128            <!-- The view should be as big as its parent (minus padding).
3129                 This constant is deprecated starting from API Level 8 and
3130                 is replaced by {@code match_parent}. -->
3131            <enum name="fill_parent" value="-1" />
3132            <!-- The view should be as big as its parent (minus padding).
3133                 Introduced in API Level 8. -->
3134            <enum name="match_parent" value="-1" />
3135            <!-- The view should be only big enough to enclose its content (plus padding). -->
3136            <enum name="wrap_content" value="-2" />
3137        </attr>
3138
3139        <!-- Specifies the basic height of the view.  This is a required attribute
3140             for any view inside of a containing layout manager.  Its value may
3141             be a dimension (such as "12dip") for a constant height or one of
3142             the special constants. -->
3143        <attr name="layout_height" format="dimension">
3144            <!-- The view should be as big as its parent (minus padding).
3145                 This constant is deprecated starting from API Level 8 and
3146                 is replaced by {@code match_parent}. -->
3147            <enum name="fill_parent" value="-1" />
3148            <!-- The view should be as big as its parent (minus padding).
3149                 Introduced in API Level 8. -->
3150            <enum name="match_parent" value="-1" />
3151            <!-- The view should be only big enough to enclose its content (plus padding). -->
3152            <enum name="wrap_content" value="-2" />
3153        </attr>
3154    </declare-styleable>
3155
3156    <!-- This is the basic set of layout attributes for layout managers that
3157         wish to place margins around their child views.
3158         These attributes are specified with the rest of
3159         a view's normal attributes (such as {@link android.R.attr#background},
3160         but will be parsed by the view's parent and ignored by the child.
3161        <p>The values defined here correspond to the base layout attribute
3162        class {@link android.view.ViewGroup.MarginLayoutParams}. -->
3163    <declare-styleable name="ViewGroup_MarginLayout">
3164        <attr name="layout_width" />
3165        <attr name="layout_height" />
3166        <!--  Specifies extra space on the left, top, right and bottom
3167              sides of this view.  If both layout_margin and any of layout_marginLeft,
3168              layout_marginRight, layout_marginStart, layout_marginEnd,
3169              layout_marginTop, and layout_marginBottom are
3170              also specified, the layout_margin value will take precedence over the
3171              edge-specific values. This space is outside this view's bounds.
3172              Margin values should be positive. -->
3173        <attr name="layout_margin" format="dimension"  />
3174        <!--  Specifies extra space on the left side of this view.
3175              This space is outside this view's bounds.
3176              Margin values should be positive. -->
3177        <attr name="layout_marginLeft" format="dimension"  />
3178        <!--  Specifies extra space on the top side of this view.
3179              This space is outside this view's bounds.
3180              Margin values should be positive.-->
3181        <attr name="layout_marginTop" format="dimension" />
3182        <!--  Specifies extra space on the right side of this view.
3183              This space is outside this view's bounds.
3184              Margin values should be positive.-->
3185        <attr name="layout_marginRight" format="dimension"  />
3186        <!--  Specifies extra space on the bottom side of this view.
3187              This space is outside this view's bounds.
3188              Margin values should be positive.-->
3189        <attr name="layout_marginBottom" format="dimension"  />
3190        <!--  Specifies extra space on the start side of this view.
3191              This space is outside this view's bounds.
3192              Margin values should be positive.-->
3193        <attr name="layout_marginStart" format="dimension"  />
3194        <!--  Specifies extra space on the end side of this view.
3195              This space is outside this view's bounds.
3196              Margin values should be positive.-->
3197        <attr name="layout_marginEnd" format="dimension"  />
3198        <!--  Specifies extra space on the left and right sides of this view.
3199              Specifying layout_marginHorizontal is equivalent to specifying
3200              either layout_marginLeft and layout_marginRight or
3201              layout_marginStart and layout_marginEnd with that same value.
3202              If both layout_marginHorizontal and any of layout_marginLeft,
3203              layout_marginRight, layout_marginStart, and layout_marginEnd are
3204              also specified, the layout_marginHorizontal value will take precedence over the
3205              edge-specific values. Also, layout_margin will always take precedence over
3206              any of these values, including layout_marginHorizontal.
3207              This space is outside this view's bounds.
3208              Margin values should be positive.-->
3209        <attr name="layout_marginHorizontal" format="dimension"  />
3210        <!--  Specifies extra space on the top and bottom sides of this view.
3211              Specifying layout_marginVertical is equivalent to specifying
3212              layout_marginTop and layout_marginBottom with that same value.
3213              If both layout_marginVertical and either/both layout_marginTop and
3214              layout_marginBottom are also specified, the layout_marginVertical value
3215              will take precedence over the edge-specific values.
3216              Also, layout_margin will always take precedence over
3217              any of these values, including layout_marginVertical.
3218              This space is outside this view's bounds.
3219              Margin values should be positive.-->
3220        <attr name="layout_marginVertical" format="dimension"  />
3221    </declare-styleable>
3222
3223    <!-- Use <code>input-method</code> as the root tag of the XML resource that
3224         describes an
3225         {@link android.view.inputmethod.InputMethod} service, which is
3226         referenced from its
3227         {@link android.view.inputmethod.InputMethod#SERVICE_META_DATA}
3228         meta-data entry.  Described here are the attributes that can be
3229         included in that tag. -->
3230    <declare-styleable name="InputMethod">
3231        <!-- Component name of an activity that allows the user to modify
3232             the settings for this service. -->
3233        <attr name="settingsActivity" format="string" />
3234        <!-- Set to true in all of the configurations for which this input
3235             method should be considered an option as the default. -->
3236        <attr name="isDefault" format="boolean" />
3237        <!-- Set to true if this input method supports ways to switch to
3238             a next input method (for example, a globe key.). When this is true and
3239             InputMethodManager#shouldOfferSwitchingToNextInputMethod() returns true,
3240             the IME has to offer ways to invoke InputMethodManager#switchToNextInputMethod()
3241             accordingly.
3242             <p> Note that the system determines the most appropriate next input method
3243             and subtype in order to provide the consistent user experience in switching
3244             between IMEs and subtypes. -->
3245        <attr name="supportsSwitchingToNextInputMethod" format="boolean" />
3246        <attr name="__removed2" format="boolean" />
3247    </declare-styleable>
3248
3249    <!-- This is the subtype of InputMethod. Subtype can describe locales (for example, en_US and
3250         fr_FR) and modes (for example, voice and keyboard), and is used for IME switch. This
3251         subtype allows the system to call the specified subtype of the IME directly. -->
3252    <declare-styleable name="InputMethod_Subtype">
3253        <!-- The name of the subtype. -->
3254        <attr name="label" />
3255        <!-- The icon of the subtype. -->
3256        <attr name="icon" />
3257        <!-- The locale of the subtype. This string should be a locale (for example en_US and fr_FR)
3258             and will be passed to the IME when the framework calls the IME
3259             with the subtype. This is also used by the framework to know the supported locales
3260             of the IME.  -->
3261        <attr name="imeSubtypeLocale" format="string" />
3262        <!-- The mode of the subtype. This string can be a mode (for example, voice and keyboard)
3263             and this string will be passed to the IME when the framework calls the IME with the
3264             subtype.  {@link android.view.inputmethod.InputMethodSubtype#getLocale()} returns the
3265             value specified in this attribute.  -->
3266        <attr name="imeSubtypeMode" format="string" />
3267        <!-- Set true if the subtype is auxiliary.  An auxiliary subtype won't be shown in the
3268             input method selection list in the settings app.
3269             InputMethodManager#switchToLastInputMethod will ignore auxiliary subtypes when it
3270             chooses a target subtype. -->
3271        <attr name="isAuxiliary" format="boolean" />
3272        <!-- Set true when this subtype should be selected by default if no other subtypes are
3273             selected explicitly. Note that a subtype with this parameter being true will
3274             not be shown in the subtypes list. -->
3275        <attr name="overridesImplicitlyEnabledSubtype" format="boolean" />
3276        <!-- The extra value of the subtype. This string can be any string and will be passed to
3277             the IME when the framework calls the IME with the subtype.  -->
3278        <attr name="imeSubtypeExtraValue" format="string" />
3279        <!-- The unique id for the subtype. The input method framework keeps track of enabled
3280             subtypes by ID. When the IME package gets upgraded, enabled IDs will stay enabled even
3281             if other attributes are different. If the ID is unspecified (by calling the other
3282             constructor or 0. Arrays.hashCode(new Object[] {locale, mode, extraValue,
3283             isAuxiliary, overridesImplicitlyEnabledSubtype}) will be used instead. -->
3284        <attr name="subtypeId" format="integer"/>
3285        <!-- Set to true if this subtype is ASCII capable. If the subtype is ASCII
3286             capable, it should guarantee that the user can input ASCII characters with
3287             this subtype. This is important because many password fields only allow
3288             ASCII-characters. -->
3289        <attr name="isAsciiCapable" format="boolean" />
3290        <!-- The BCP-47 Language Tag of the subtype.  This replaces
3291        {@link android.R.styleable#InputMethod_Subtype_imeSubtypeLocale}.  -->
3292        <attr name="languageTag" format="string" />
3293    </declare-styleable>
3294
3295    <!-- Use <code>spell-checker</code> as the root tag of the XML resource that
3296         describes an
3297         {@link android.service.textservice.SpellCheckerService} service, which is
3298         referenced from its
3299         {@link android.view.textservice.SpellCheckerSession#SERVICE_META_DATA}
3300         meta-data entry.  Described here are the attributes that can be
3301         included in that tag. -->
3302    <declare-styleable name="SpellChecker">
3303        <!-- The name of the spell checker. -->
3304        <attr name="label" />
3305        <!-- Component name of an activity that allows the user to modify
3306             the settings for this service. -->
3307        <attr name="settingsActivity"/>
3308    </declare-styleable>
3309
3310    <!-- This is the subtype of the spell checker. Subtype can describe locales (for example,
3311             en_US and fr_FR). -->
3312    <declare-styleable name="SpellChecker_Subtype">
3313        <!-- The name of the subtype. -->
3314        <attr name="label" />
3315        <!-- The locale of the subtype. This string should be a locale (for example, en_US and
3316             fr_FR). This is also used by the framework to know the supported locales
3317             of the spell checker. {@link android.view.textservice.SpellCheckerSubtype#getLocale()}
3318             returns the value specified in this attribute.  -->
3319        <attr name="subtypeLocale" format="string" />
3320        <!-- The extra value of the subtype. This string can be any string and will be passed to
3321             the SpellChecker.  -->
3322        <attr name="subtypeExtraValue" format="string" />
3323        <!-- The unique id for the subtype. The text service (spell checker) framework keeps track
3324             of enabled subtypes by ID. When the spell checker package gets upgraded, enabled IDs
3325             will stay enabled even if other attributes are different. If the ID is unspecified or
3326             explicitly specified to 0 in XML resources,
3327             {@code Arrays.hashCode(new Object[] {subtypeLocale, extraValue})} will be used instead.
3328              -->
3329        <attr name="subtypeId" />
3330        <!-- The BCP-47 Language Tag of the subtype.  This replaces
3331        {@link android.R.styleable#SpellChecker_Subtype_subtypeLocale}.  -->
3332        <attr name="languageTag" />
3333    </declare-styleable>
3334
3335    <!-- Use <code>accessibility-service</code> as the root tag of the XML resource that
3336         describes an {@link android.accessibilityservice.AccessibilityService} service,
3337         which is referenced from its
3338         {@link android.accessibilityservice.AccessibilityService#SERVICE_META_DATA}
3339         meta-data entry. -->
3340    <declare-styleable name="AccessibilityService">
3341        <!-- The event types this service would like to receive as specified in
3342             {@link android.view.accessibility.AccessibilityEvent}. This setting
3343             can be changed at runtime by calling
3344             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3345             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3346        <attr name="accessibilityEventTypes">
3347            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CLICKED} events.-->
3348            <flag name="typeViewClicked" value="0x00000001" />
3349            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_LONG_CLICKED} events. -->
3350            <flag name="typeViewLongClicked" value="0x00000002" />
3351            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SELECTED} events. -->
3352            <flag name="typeViewSelected" value="0x00000004" />
3353            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_FOCUSED} events. -->
3354            <flag name="typeViewFocused" value="0x00000008" />
3355            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_CHANGED} events. -->
3356            <flag name="typeViewTextChanged" value="0x00000010" />
3357            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_STATE_CHANGED} events. -->
3358            <flag name="typeWindowStateChanged" value="0x00000020" />
3359            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_NOTIFICATION_STATE_CHANGED} events. -->
3360            <flag name="typeNotificationStateChanged" value="0x00000040" />
3361            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_ENTER} events. -->
3362            <flag name="typeViewHoverEnter" value="0x00000080" />
3363            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_EXIT} events. -->
3364            <flag name="typeViewHoverExit" value="0x00000100" />
3365            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_START} events. -->
3366            <flag name="typeTouchExplorationGestureStart" value="0x00000200" />
3367            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_END} events. -->
3368            <flag name="typeTouchExplorationGestureEnd" value="0x00000400" />
3369            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_CONTENT_CHANGED} events. -->
3370            <flag name="typeWindowContentChanged" value="0x00000800" />
3371            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SCROLLED} events. -->
3372            <flag name="typeViewScrolled" value="0x000001000" />
3373            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_SELECTION_CHANGED} events. -->
3374            <flag name="typeViewTextSelectionChanged" value="0x000002000" />
3375            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ANNOUNCEMENT} events. -->
3376            <flag name="typeAnnouncement" value="0x00004000" />
3377            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUSED} events. -->
3378            <flag name="typeViewAccessibilityFocused" value="0x00008000" />
3379            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED} events. -->
3380            <flag name="typeViewAccessibilityFocusCleared" value="0x00010000" />
3381            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY} events. -->
3382            <flag name="typeViewTextTraversedAtMovementGranularity" value="0x00020000" />
3383            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_START} events. -->
3384            <flag name="typeGestureDetectionStart" value="0x00040000" />
3385            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_END} events. -->
3386            <flag name="typeGestureDetectionEnd" value="0x00080000" />
3387            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_START} events. -->
3388            <flag name="typeTouchInteractionStart" value="0x00100000" />
3389            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_END} events. -->
3390            <flag name="typeTouchInteractionEnd" value="0x00200000" />
3391            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOWS_CHANGED} events. -->
3392            <flag name="typeWindowsChanged" value="0x00400000" />
3393            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CONTEXT_CLICKED} events. -->
3394            <flag name="typeContextClicked" value="0x00800000" />
3395            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ASSIST_READING_CONTEXT} events. -->
3396            <flag name="typeAssistReadingContext" value="0x01000000" />
3397            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPES_ALL_MASK} i.e. all events. -->
3398            <flag name="typeAllMask" value="0xffffffff" />
3399        </attr>
3400        <!-- Comma separated package names from which this service would like to receive events (leave out for all packages).
3401             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3402             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3403        <attr name="packageNames" format="string" />
3404        <!-- The feedback types this service provides as specified in
3405             {@link android.accessibilityservice.AccessibilityServiceInfo}. This setting
3406             can be changed at runtime by calling
3407             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3408             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3409        <attr name="accessibilityFeedbackType">
3410            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_SPOKEN} feedback. -->
3411            <flag name="feedbackSpoken" value="0x00000001" />
3412            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_HAPTIC} feedback. -->
3413            <flag name="feedbackHaptic" value="0x00000002" />
3414            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_AUDIBLE} feedback. -->
3415            <flag name="feedbackAudible" value="0x00000004" />
3416            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_VISUAL} feedback. -->
3417            <flag name="feedbackVisual" value="0x00000008" />
3418            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_GENERIC} feedback. -->
3419            <flag name="feedbackGeneric" value="0x00000010" />
3420            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_ALL_MASK} feedback. -->
3421            <flag name="feedbackAllMask" value="0xffffffff" />
3422        </attr>
3423        <!-- The minimal period in milliseconds between two accessibility events of the same type
3424             are sent to this service. This setting can be changed at runtime by calling
3425             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3426             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3427        <attr name="notificationTimeout" format="integer" />
3428        <!-- Additional flags as specified in
3429             {@link android.accessibilityservice.AccessibilityServiceInfo}.
3430             This setting can be changed at runtime by calling
3431             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3432             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3433        <attr name="accessibilityFlags">
3434            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#DEFAULT}. -->
3435            <flag name="flagDefault" value="0x00000001" />
3436            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_INCLUDE_NOT_IMPORTANT_VIEWS}. -->
3437            <flag name="flagIncludeNotImportantViews" value="0x00000002" />
3438            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE}. -->
3439            <flag name="flagRequestTouchExplorationMode" value="0x00000004" />
3440            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY}.
3441                 Not used by the framework.
3442            -->
3443            <flag name="flagRequestEnhancedWebAccessibility" value="0x00000008" />
3444            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REPORT_VIEW_IDS}. -->
3445            <flag name="flagReportViewIds" value="0x00000010" />
3446            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS}. -->
3447            <flag name="flagRequestFilterKeyEvents" value="0x00000020" />
3448            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_RETRIEVE_INTERACTIVE_WINDOWS}. -->
3449            <flag name="flagRetrieveInteractiveWindows" value="0x00000040" />
3450            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_ENABLE_ACCESSIBILITY_VOLUME}. -->
3451            <flag name="flagEnableAccessibilityVolume" value="0x00000080" />
3452            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ACCESSIBILITY_BUTTON}. -->
3453            <flag name="flagRequestAccessibilityButton" value="0x00000100" />
3454            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_CAPTURE_FINGERPRINT_GESTURES}. -->
3455            <flag name="flagCaptureFingerprintGestures" value="0x00000200" />
3456        </attr>
3457        <!-- Component name of an activity that allows the user to modify
3458             the settings for this service. This setting cannot be changed at runtime. -->
3459        <attr name="settingsActivity" />
3460        <!-- Attribute whether the accessibility service wants to be able to retrieve the
3461             active window content. This setting cannot be changed at runtime. -->
3462        <attr name="canRetrieveWindowContent" format="boolean" />
3463        <!-- Attribute whether the accessibility service wants to be able to request touch
3464             exploration mode in which touched items are spoken aloud and the UI can be
3465             explored via gestures.
3466             <p>
3467             Required to allow setting the {@link android.accessibilityservice
3468             #AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} flag.
3469             </p>
3470         -->
3471        <attr name="canRequestTouchExplorationMode" format="boolean" />
3472        <!-- Attribute whether the accessibility service wants to be able to request enhanced
3473             web accessibility enhancements.
3474             {@deprecated Not used by the framework}
3475         -->
3476        <attr name="canRequestEnhancedWebAccessibility" format="boolean" />
3477        <!-- Attribute whether the accessibility service wants to be able to request to
3478             filter key events.
3479             <p>
3480             Required to allow setting the {@link android.accessibilityservice
3481             #AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} flag.
3482             </p>
3483         -->
3484        <attr name="canRequestFilterKeyEvents" format="boolean" />
3485        <!-- Attribute whether the accessibility service wants to be able to control
3486             display magnification.
3487         -->
3488        <attr name="canControlMagnification" format="boolean" />
3489        <!-- Attribute whether the accessibility service wants to be able to perform gestures. -->
3490        <attr name="canPerformGestures" format="boolean" />
3491        <!-- Attribute whether the accessibility service wants to be able to capture gestures from
3492             the fingerprint sensor.
3493             <p>
3494             Required to allow setting the {@link android.accessibilityservice
3495             #AccessibilityServiceInfo#FLAG_CAN_CAPTURE_FINGERPRINT_GESTURES} flag.
3496             </p>
3497         -->
3498        <attr name="canCaptureFingerprintGestures" format="boolean" />
3499        <!-- Short description of the accessibility service purpose or behavior.-->
3500        <attr name="description" />
3501        <!-- Brief summary of the accessibility service purpose or behavior. -->
3502        <attr name="summary" />
3503    </declare-styleable>
3504
3505    <!-- Use <code>print-service</code> as the root tag of the XML resource that
3506         describes an {@link android.printservice.PrintService} service, which is
3507         referenced from its {@link android.printservice.PrintService#SERVICE_META_DATA}
3508         meta-data entry. -->
3509    <declare-styleable name="PrintService">
3510        <!-- Fully qualified class name of an activity that allows the user to modify
3511             the settings for this service. -->
3512        <attr name="settingsActivity" />
3513        <!-- Fully qualified class name of an activity that allows the user to manually
3514             add printers to this print service. -->
3515        <attr name="addPrintersActivity" format="string"/>
3516        <!-- Fully qualified class name of an activity with advanced print options
3517             specific to this print service. -->
3518        <attr name="advancedPrintOptionsActivity" format="string"/>
3519        <!-- The vendor name if this print service is vendor specific. -->
3520        <attr name="vendor" format="string"/>
3521    </declare-styleable>
3522
3523    <!-- Use <code>host-apdu-service</code> as the root tag of the XML resource that
3524         describes an {@link android.nfc.cardemulation.HostApduService} service, which
3525         is referenced from its {@link android.nfc.cardemulation.HostApduService#SERVICE_META_DATA}
3526         entry. -->
3527    <declare-styleable name="HostApduService">
3528        <!-- Short description of the functionality the service implements. This attribute
3529             is mandatory.-->
3530        <attr name="description" />
3531        <!-- Whether the device must be unlocked before routing data to this service.
3532             The default is false.-->
3533        <attr name="requireDeviceUnlock" format="boolean"/>
3534        <!-- A drawable that can be rendered in Android's system UI for representing
3535             the service. -->
3536        <attr name="apduServiceBanner" format="reference"/>
3537        <!-- Component name of an activity that allows the user to modify
3538             the settings for this service. -->
3539        <attr name="settingsActivity"/>
3540    </declare-styleable>
3541
3542    <!-- Use <code>offhost-apdu-service</code> as the root tag of the XML resource that
3543         describes an {@link android.nfc.cardemulation.OffHostApduService}
3544         service, which is referenced from its
3545         {@link android.nfc.cardemulation.OffHostApduService#SERVICE_META_DATA} entry. -->
3546    <declare-styleable name="OffHostApduService">
3547        <!-- Short description of the functionality the service implements. This attribute
3548             is mandatory.-->
3549        <attr name="description" />
3550        <!-- A drawable that can be rendered in Android's system UI for representing
3551             the service. -->
3552        <attr name="apduServiceBanner"/>
3553        <!-- Component name of an activity that allows the user to modify
3554             the settings for this service. -->
3555        <attr name="settingsActivity"/>
3556    </declare-styleable>
3557
3558    <!-- Specify one or more <code>aid-group</code> elements inside a
3559         <code>host-apdu-service</code> or <code>offhost-apdu-service</code>
3560         element to define a group of ISO7816 Application ID (AIDs) that
3561         your service can handle.-->
3562    <declare-styleable name="AidGroup">
3563        <!-- Short description of what the AID group implements. This attribute is mandatory.-->
3564        <attr name="description" />
3565        <!-- The category attribute will be used by the Android platform to present
3566             multiple applications that register ISO 7816 Application IDs (AIDs) in the
3567             same category uniformly.
3568             Additionally, when a category is specified, Android will ensure that either
3569             all AIDs in this group are routed to this application, or none at all.
3570             This attribute is optional.-->
3571        <attr name="category" format="string" />
3572    </declare-styleable>
3573
3574    <!-- Specify one or more <code>aid-filter</code> elements inside a
3575         <code>aid-group</code> element to specify an ISO7816 Application ID (AID)
3576         your service can handle. -->
3577    <declare-styleable name="AidFilter">
3578        <!-- The ISO7816 Application ID. This attribute is mandatory. -->
3579        <attr name="name" />
3580    </declare-styleable>
3581
3582    <!-- Specify one or more <code>aid-prefix-filter</code> elements inside a
3583         <code>aid-group</code> element to specify an ISO7816 Application ID (AID)
3584         prefix your service can handle. -->
3585    <declare-styleable name="AidPrefixFilter">
3586        <!-- The ISO7816 Application ID. This attribute is mandatory. -->
3587        <attr name="name" />
3588    </declare-styleable>
3589
3590    <!-- Use <code>host-nfcf-service</code> as the root tag of the XML resource that
3591         describes an {@link android.nfc.cardemulation.HostNfcFService} service, which
3592         is referenced from its {@link android.nfc.cardemulation.HostNfcFService#SERVICE_META_DATA}
3593         entry. -->
3594    <declare-styleable name="HostNfcFService">
3595        <!-- Short description of the functionality the service implements. This attribute
3596             is mandatory.-->
3597        <attr name="description" />
3598    </declare-styleable>
3599
3600    <!-- Specify one or more <code>system-code-filter</code> elements inside a
3601         <code>host-nfcf-service</code> element to specify a System Code
3602         your service can handle. -->
3603    <declare-styleable name="SystemCodeFilter">
3604        <!-- The System Code. This attribute is mandatory. -->
3605        <attr name="name" />
3606    </declare-styleable>
3607
3608    <!-- Specify one or more <code>nfcid2-filter</code> elements inside a
3609         <code>host-nfcf-service</code> element to specify a NFCID2
3610         your service can handle. -->
3611    <declare-styleable name="Nfcid2Filter">
3612        <!-- The NFCID2. This attribute is mandatory. -->
3613        <attr name="name" />
3614    </declare-styleable>
3615
3616    <declare-styleable name="ActionMenuItemView">
3617        <attr name="minWidth" />
3618    </declare-styleable>
3619
3620    <!-- =============================== -->
3621    <!-- Widget package class attributes -->
3622    <!-- =============================== -->
3623    <eat-comment />
3624
3625    <declare-styleable name="AbsListView">
3626         <!-- Drawable used to indicate the currently selected item in the list. -->
3627        <attr name="listSelector" format="color|reference" />
3628        <!-- When set to true, the selector will be drawn over the selected item.
3629             Otherwise the selector is drawn behind the selected item. The default
3630             value is false. -->
3631        <attr name="drawSelectorOnTop" format="boolean" />
3632        <!-- Used by ListView and GridView to stack their content from the bottom. -->
3633        <attr name="stackFromBottom" format="boolean" />
3634        <!-- When set to true, the list uses a drawing cache during scrolling.
3635             This makes the rendering faster but uses more memory. The default
3636             value is true. -->
3637        <attr name="scrollingCache" format="boolean" />
3638        <!-- When set to true, the list will filter results as the user types. The
3639             List's adapter must support the Filterable interface for this to work. -->
3640        <attr name="textFilterEnabled" format="boolean" />
3641        <!-- Sets the transcript mode for the list. In transcript mode, the list
3642             scrolls to the bottom to make new items visible when they are added. -->
3643        <attr name="transcriptMode">
3644            <!-- Disables transcript mode. This is the default value. -->
3645            <enum name="disabled" value="0"/>
3646            <!-- The list will automatically scroll to the bottom when
3647                 a data set change notification is received and only if the last item is
3648                 already visible on screen. -->
3649            <enum name="normal" value="1" />
3650            <!-- The list will automatically scroll to the bottom, no matter what items
3651                 are currently visible. -->
3652            <enum name="alwaysScroll" value="2" />
3653        </attr>
3654        <!-- Indicates that this list will always be drawn on top of solid, single-color
3655             opaque background. This allows the list to optimize drawing. -->
3656        <attr name="cacheColorHint" format="color" />
3657        <!-- Enables the fast scroll thumb that can be dragged to quickly scroll through
3658             the list. -->
3659        <attr name="fastScrollEnabled" format="boolean" />
3660        <!-- Specifies the style of the fast scroll decorations. -->
3661        <attr name="fastScrollStyle" format="reference" />
3662        <!-- When set to true, the list will use a more refined calculation
3663             method based on the pixels height of the items visible on screen. This
3664             property is set to true by default but should be set to false if your adapter
3665             will display items of varying heights. When this property is set to true and
3666             your adapter displays items of varying heights, the scrollbar thumb will
3667             change size as the user scrolls through the list. When set to false, the list
3668             will use only the number of items in the adapter and the number of items visible
3669             on screen to determine the scrollbar's properties. -->
3670        <attr name="smoothScrollbar" format="boolean" />
3671        <!-- Defines the choice behavior for the view. By default, lists do not have
3672             any choice behavior. By setting the choiceMode to singleChoice, the list
3673             allows up to one item to be in a chosen state. By setting the choiceMode to
3674             multipleChoice, the list allows any number of items to be chosen.
3675             Finally, by setting the choiceMode to multipleChoiceModal the list allows
3676             any number of items to be chosen in a special selection mode.
3677             The application will supply a
3678             {@link android.widget.AbsListView.MultiChoiceModeListener} using
3679             {@link android.widget.AbsListView#setMultiChoiceModeListener} to control the
3680             selection mode. This uses the {@link android.view.ActionMode} API. -->
3681        <attr name="choiceMode">
3682            <!-- Normal list that does not indicate choices. -->
3683            <enum name="none" value="0" />
3684            <!-- The list allows up to one choice. -->
3685            <enum name="singleChoice" value="1" />
3686            <!-- The list allows multiple choices. -->
3687            <enum name="multipleChoice" value="2" />
3688            <!-- The list allows multiple choices in a custom selection mode. -->
3689            <enum name="multipleChoiceModal" value="3" />
3690        </attr>
3691
3692        <!-- When set to true, the list will always show the fast scroll interface.
3693             This setting implies fastScrollEnabled. -->
3694        <attr name="fastScrollAlwaysVisible" format="boolean" />
3695    </declare-styleable>
3696    <!-- @hide -->
3697    <declare-styleable name="RecycleListView">
3698        <!-- Bottom padding to use when no buttons are present. -->
3699        <attr name="paddingBottomNoButtons" format="dimension" />
3700        <!-- Top padding to use when no title is present. -->
3701        <attr name="paddingTopNoTitle" format="dimension" />
3702    </declare-styleable>
3703    <declare-styleable name="AbsSpinner">
3704        <!-- Reference to an array resource that will populate the Spinner.  For static content,
3705             this is simpler than populating the Spinner programmatically. -->
3706        <attr name="entries" />
3707    </declare-styleable>
3708    <declare-styleable name="AnalogClock">
3709        <attr name="dial" format="reference"/>
3710        <attr name="hand_hour" format="reference"/>
3711        <attr name="hand_minute" format="reference"/>
3712    </declare-styleable>
3713    <declare-styleable name="Button">
3714    </declare-styleable>
3715    <declare-styleable name="Chronometer">
3716        <!-- Format string: if specified, the Chronometer will display this
3717             string, with the first "%s" replaced by the current timer value
3718             in "MM:SS" or "H:MM:SS" form.
3719             If no format string is specified, the Chronometer will simply display
3720             "MM:SS" or "H:MM:SS". -->
3721        <attr name="format" format="string" localization="suggested" />
3722        <!-- Specifies whether this Chronometer counts down or counts up from the base.
3723              If not specified this is false and the Chronometer counts up. -->
3724        <attr name="countDown" format="boolean" />
3725    </declare-styleable>
3726    <declare-styleable name="CompoundButton">
3727        <!-- Indicates the initial checked state of this button. -->
3728        <attr name="checked" format="boolean" />
3729        <!-- Drawable used for the button graphic (for example, checkbox and radio button). -->
3730        <attr name="button" format="reference" />
3731        <!-- Tint to apply to the button graphic. -->
3732        <attr name="buttonTint" format="color" />
3733        <!-- Blending mode used to apply the button graphic tint. -->
3734        <attr name="buttonTintMode">
3735            <!-- The tint is drawn on top of the drawable.
3736                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3737            <enum name="src_over" value="3" />
3738            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3739                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3740            <enum name="src_in" value="5" />
3741            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3742                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3743            <enum name="src_atop" value="9" />
3744            <!-- Multiplies the color and alpha channels of the drawable with those of
3745                 the tint. [Sa * Da, Sc * Dc] -->
3746            <enum name="multiply" value="14" />
3747            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3748            <enum name="screen" value="15" />
3749            <!-- Combines the tint and drawable color and alpha channels, clamping the
3750                 result to valid color values. Saturate(S + D) -->
3751            <enum name="add" value="16" />
3752        </attr>
3753    </declare-styleable>
3754    <declare-styleable name="CheckedTextView">
3755        <!-- Indicates the initial checked state of this text. -->
3756        <attr name="checked" />
3757        <!-- Drawable used for the check mark graphic. -->
3758        <attr name="checkMark" format="reference"/>
3759        <!-- Tint to apply to the check mark. -->
3760        <attr name="checkMarkTint" format="color" />
3761        <!-- Blending mode used to apply the check mark tint. -->
3762        <attr name="checkMarkTintMode">
3763            <!-- The tint is drawn on top of the drawable.
3764                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3765            <enum name="src_over" value="3" />
3766            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3767                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3768            <enum name="src_in" value="5" />
3769            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3770                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3771            <enum name="src_atop" value="9" />
3772            <!-- Multiplies the color and alpha channels of the drawable with those of
3773                 the tint. [Sa * Da, Sc * Dc] -->
3774            <enum name="multiply" value="14" />
3775            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3776            <enum name="screen" value="15" />
3777            <!-- Combines the tint and drawable color and alpha channels, clamping the
3778                 result to valid color values. Saturate(S + D) -->
3779            <enum name="add" value="16" />
3780        </attr>
3781        <!-- Gravity for aligning a CheckedTextView's checkmark to one side or the other. -->
3782        <attr name="checkMarkGravity">
3783            <!-- Push object to the left of its container, not changing its size. -->
3784            <flag name="left" value="0x03" />
3785            <!-- Push object to the right of its container, not changing its size. -->
3786            <flag name="right" value="0x05" />
3787            <!-- Push object to the beginning of its container, not changing its size. -->
3788            <flag name="start" value="0x00800003" />
3789            <!-- Push object to the end of its container, not changing its size. -->
3790            <flag name="end" value="0x00800005" />
3791        </attr>
3792    </declare-styleable>
3793    <declare-styleable name="EditText">
3794    </declare-styleable>
3795    <declare-styleable name="FastScroll">
3796        <!-- Drawable used for the scroll bar thumb. -->
3797        <attr name="thumbDrawable" format="reference" />
3798        <!-- Minimum width of the thumb. -->
3799        <attr name="thumbMinWidth" format="dimension" />
3800        <!-- Minimum height of the thumb. -->
3801        <attr name="thumbMinHeight" format="dimension" />
3802        <!-- Drawable used for the scroll bar track. -->
3803        <attr name="trackDrawable" format="reference" />
3804        <!-- Drawable used for the section header preview when right-aligned. -->
3805        <attr name="backgroundRight" format="reference" />
3806        <!-- Drawable used for the section header preview when left-aligned. -->
3807        <attr name="backgroundLeft" format="reference" />
3808        <!-- Position of section header preview. -->
3809        <attr name="position">
3810            <!-- Floating at the top of the content. -->
3811            <enum name="floating" value="0" />
3812            <!-- Pinned to the thumb, vertically centered with the middle of the thumb. -->
3813            <enum name="atThumb" value="1" />
3814            <!-- Pinned to the thumb, vertically centered with the top edge of the thumb. -->
3815            <enum name="aboveThumb" value="2" />
3816        </attr>
3817        <attr name="textAppearance" />
3818        <attr name="textColor" />
3819        <attr name="textSize" />
3820        <!-- Minimum width of the section header preview. -->
3821        <attr name="minWidth" />
3822        <!-- Minimum height of the section header preview. -->
3823        <attr name="minHeight" />
3824        <!-- Padding for the section header preview. -->
3825        <attr name="padding" />
3826        <!-- Position of thumb in relation to the track. -->
3827        <attr name="thumbPosition">
3828            <!-- The thumb's midpoint is anchored to the track. At its
3829                 extremes, the thumb will extend half-way outside the
3830                 track. -->
3831            <enum name="midpoint" value="0" />
3832            <!-- The thumb is entirely inside the track. At its extremes,
3833                 the thumb will be contained entirely within the track. -->
3834            <enum name="inside" value="1" />
3835        </attr>
3836    </declare-styleable>
3837    <declare-styleable name="FrameLayout">
3838        <!-- Determines whether to measure all children or just those in
3839             the VISIBLE or INVISIBLE state when measuring. Defaults to false. -->
3840        <attr name="measureAllChildren" format="boolean" />
3841    </declare-styleable>
3842    <declare-styleable name="ExpandableListView">
3843        <!-- Indicator shown beside the group View. This can be a stateful Drawable. -->
3844        <attr name="groupIndicator" format="reference" />
3845        <!-- Indicator shown beside the child View. This can be a stateful Drawable. -->
3846        <attr name="childIndicator" format="reference" />
3847        <!-- The left bound for an item's indicator. To specify a left bound specific to children,
3848             use childIndicatorLeft. -->
3849        <attr name="indicatorLeft" format="dimension" />
3850        <!-- The right bound for an item's indicator. To specify a right bound specific to children,
3851             use childIndicatorRight. -->
3852        <attr name="indicatorRight" format="dimension" />
3853        <!-- The left bound for a child's indicator. -->
3854        <attr name="childIndicatorLeft" format="dimension" />
3855        <!-- The right bound for a child's indicator. -->
3856        <attr name="childIndicatorRight" format="dimension" />
3857        <!-- Drawable or color that is used as a divider for children. (It will drawn
3858             below and above child items.) The height of this will be the same as
3859             the height of the normal list item divider. -->
3860        <attr name="childDivider" format="reference|color" />
3861        <!-- The start bound for an item's indicator. To specify a start bound specific to children,
3862             use childIndicatorStart. -->
3863        <attr name="indicatorStart" format="dimension" />
3864        <!-- The end bound for an item's indicator. To specify a right bound specific to children,
3865             use childIndicatorEnd. -->
3866        <attr name="indicatorEnd" format="dimension" />
3867        <!-- The start bound for a child's indicator. -->
3868        <attr name="childIndicatorStart" format="dimension" />
3869        <!-- The end bound for a child's indicator. -->
3870        <attr name="childIndicatorEnd" format="dimension" />
3871    </declare-styleable>
3872    <declare-styleable name="Gallery">
3873        <attr name="gravity" />
3874        <!-- Sets how long a transition animation should run (in milliseconds)
3875             when layout has changed.  Only relevant if animation is turned on. -->
3876        <attr name="animationDuration" format="integer" min="0" />
3877        <attr name="spacing" format="dimension" />
3878        <!-- Sets the alpha on the items that are not selected. -->
3879        <attr name="unselectedAlpha" format="float" />
3880    </declare-styleable>
3881    <declare-styleable name="GridView">
3882        <!-- Defines the default horizontal spacing between columns. -->
3883        <attr name="horizontalSpacing" format="dimension" />
3884        <!-- Defines the default vertical spacing between rows. -->
3885        <attr name="verticalSpacing" format="dimension" />
3886        <!-- Defines how columns should stretch to fill the available empty space, if any. -->
3887        <attr name="stretchMode">
3888            <!-- Stretching is disabled. -->
3889            <enum name="none" value="0"/>
3890            <!-- The spacing between each column is stretched. -->
3891            <enum name="spacingWidth" value="1" />
3892            <!-- Each column is stretched equally. -->
3893            <enum name="columnWidth" value="2" />
3894            <!-- The spacing between each column is uniformly stretched.. -->
3895            <enum name="spacingWidthUniform" value="3" />
3896        </attr>
3897        <!-- Specifies the fixed width for each column. -->
3898        <attr name="columnWidth" format="dimension" />
3899        <!-- Defines how many columns to show. -->
3900        <attr name="numColumns" format="integer" min="0">
3901            <!-- Display as many columns as possible to fill the available space. -->
3902            <enum name="auto_fit" value="-1" />
3903        </attr>
3904        <!-- Specifies the gravity within each cell. -->
3905        <attr name="gravity" />
3906    </declare-styleable>
3907    <declare-styleable name="ImageSwitcher">
3908    </declare-styleable>
3909    <declare-styleable name="ImageView">
3910        <!-- Sets a drawable as the content of this ImageView. -->
3911        <attr name="src" format="reference|color" />
3912        <!-- Controls how the image should be resized or moved to match the size
3913             of this ImageView.  See {@link android.widget.ImageView.ScaleType} -->
3914        <attr name="scaleType">
3915            <!-- Scale using the image matrix when drawing. See
3916                 {@link android.widget.ImageView#setImageMatrix(Matrix)}. -->
3917            <enum name="matrix" value="0" />
3918            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#FILL}. -->
3919            <enum name="fitXY" value="1" />
3920            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#START}. -->
3921            <enum name="fitStart" value="2" />
3922            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#CENTER}. -->
3923            <enum name="fitCenter" value="3" />
3924            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#END}. -->
3925            <enum name="fitEnd" value="4" />
3926            <!-- Center the image in the view, but perform no scaling. -->
3927            <enum name="center" value="5" />
3928            <!-- Scale the image uniformly (maintain the image's aspect ratio) so both dimensions
3929                 (width and height) of the image will be equal to or larger than the corresponding
3930                 dimension of the view (minus padding). The image is then centered in the view. -->
3931            <enum name="centerCrop" value="6" />
3932            <!-- Scale the image uniformly (maintain the image's aspect ratio) so that both
3933                 dimensions (width and height) of the image will be equal to or less than the
3934                 corresponding dimension of the view (minus padding). The image is then centered in
3935                 the view. -->
3936            <enum name="centerInside" value="7" />
3937        </attr>
3938        <!-- Set this to true if you want the ImageView to adjust its bounds
3939             to preserve the aspect ratio of its drawable. -->
3940        <attr name="adjustViewBounds" format="boolean" />
3941        <!-- An optional argument to supply a maximum width for this view.
3942             See {see android.widget.ImageView#setMaxWidth} for details. -->
3943        <attr name="maxWidth" format="dimension" />
3944        <!-- An optional argument to supply a maximum height for this view.
3945             See {see android.widget.ImageView#setMaxHeight} for details. -->
3946        <attr name="maxHeight" format="dimension" />
3947        <!-- The tinting color for the image. By default, the tint will blend using SRC_ATOP mode.
3948             Please note that for compatibility reasons, this is NOT consistent with the default
3949             SRC_IN tint mode used by {@link android.widget.ImageView#setImageTintList} and by
3950             similar tint attributes on other views. -->
3951        <attr name="tint" format="color" />
3952        <!-- If true, the image view will be baseline aligned with based on its
3953             bottom edge. -->
3954        <attr name="baselineAlignBottom" format="boolean" />
3955         <!-- If true, the image will be cropped to fit within its padding. -->
3956        <attr name="cropToPadding" format="boolean" />
3957        <!-- The offset of the baseline within this view. See {see android.view.View#getBaseline}
3958             for details -->
3959        <attr name="baseline" format="dimension" />
3960        <!-- @hide The alpha value (0-255) set on the ImageView's drawable. Equivalent
3961             to calling ImageView.setAlpha(int), not the same as View.setAlpha(float). -->
3962        <attr name="drawableAlpha" format="integer" />
3963        <!-- Blending mode used to apply the image tint. -->
3964        <attr name="tintMode" />
3965    </declare-styleable>
3966    <declare-styleable name="ToggleButton">
3967        <!-- The text for the button when it is checked. -->
3968        <attr name="textOn" format="string" />
3969        <!-- The text for the button when it is not checked. -->
3970        <attr name="textOff" format="string" />
3971        <!-- The alpha to apply to the indicator when disabled. -->
3972        <attr name="disabledAlpha" />
3973    </declare-styleable>
3974    <declare-styleable name="RelativeLayout">
3975        <attr name="gravity" />
3976        <!-- Indicates what view should not be affected by gravity. -->
3977        <attr name="ignoreGravity" format="reference" />
3978    </declare-styleable>
3979    <declare-styleable name="LinearLayout">
3980        <!-- Should the layout be a column or a row?  Use "horizontal"
3981             for a row, "vertical" for a column.  The default is
3982             horizontal. -->
3983        <attr name="orientation" />
3984        <attr name="gravity" />
3985        <!-- When set to false, prevents the layout from aligning its children's
3986             baselines. This attribute is particularly useful when the children
3987             use different values for gravity. The default value is true. -->
3988        <attr name="baselineAligned" format="boolean" />
3989        <!-- When a linear layout is part of another layout that is baseline
3990          aligned, it can specify which of its children to baseline align to
3991          (that is, which child TextView).-->
3992        <attr name="baselineAlignedChildIndex" format="integer" min="0"/>
3993        <!-- Defines the maximum weight sum. If unspecified, the sum is computed
3994             by adding the layout_weight of all of the children. This can be
3995             used for instance to give a single child 50% of the total available
3996             space by giving it a layout_weight of 0.5 and setting the weightSum
3997             to 1.0. -->
3998        <attr name="weightSum" format="float" />
3999        <!-- When set to true, all children with a weight will be considered having
4000             the minimum size of the largest child. If false, all children are
4001             measured normally. -->
4002        <attr name="measureWithLargestChild" format="boolean" />
4003        <!-- Drawable to use as a vertical divider between buttons. -->
4004        <attr name="divider" />
4005        <!-- Setting for which dividers to show. -->
4006        <attr name="showDividers">
4007            <flag name="none" value="0" />
4008            <flag name="beginning" value="1" />
4009            <flag name="middle" value="2" />
4010            <flag name="end" value="4" />
4011        </attr>
4012        <!-- Size of padding on either end of a divider. -->
4013        <attr name="dividerPadding" format="dimension" />
4014    </declare-styleable>
4015    <declare-styleable name="GridLayout">
4016        <!-- The orientation property is not used during layout. It is only used to
4017        allocate row and column parameters when they are not specified by its children's
4018        layout paramters. GridLayout works like LinearLayout in this case;
4019        putting all the components either in a single row or in a single column -
4020        depending on the value of this flag. In the horizontal case, a columnCount
4021        property may be additionally supplied to force new rows to be created when a
4022        row is full. The rowCount attribute may be used similarly in the vertical case.
4023        The default is horizontal. -->
4024        <attr name="orientation" />
4025        <!-- The maxmimum number of rows to create when automatically positioning children. -->
4026        <attr name="rowCount" format="integer" />
4027        <!-- The maxmimum number of columns to create when automatically positioning children. -->
4028        <attr name="columnCount" format="integer" />
4029        <!-- When set to true, tells GridLayout to use default margins when none are specified
4030        in a view's layout parameters.
4031        The default value is false.
4032        See {@link android.widget.GridLayout#setUseDefaultMargins(boolean)}.-->
4033        <attr name="useDefaultMargins" format="boolean" />
4034        <!-- When set to alignMargins, causes alignment to take place between the outer
4035        boundary of a view, as defined by its margins. When set to alignBounds,
4036        causes alignment to take place between the edges of the view.
4037        The default is alignMargins.
4038        See {@link android.widget.GridLayout#setAlignmentMode(int)}.-->
4039        <attr name="alignmentMode" />
4040        <!-- When set to true, forces row boundaries to appear in the same order
4041        as row indices.
4042        The default is true.
4043        See {@link android.widget.GridLayout#setRowOrderPreserved(boolean)}.-->
4044        <attr name="rowOrderPreserved" format="boolean" />
4045        <!-- When set to true, forces column boundaries to appear in the same order
4046        as column indices.
4047        The default is true.
4048        See {@link android.widget.GridLayout#setColumnOrderPreserved(boolean)}.-->
4049        <attr name="columnOrderPreserved" format="boolean" />
4050    </declare-styleable>
4051    <declare-styleable name="ListView">
4052        <!-- Reference to an array resource that will populate the ListView.  For static content,
4053             this is simpler than populating the ListView programmatically. -->
4054        <attr name="entries" />
4055        <!-- Drawable or color to draw between list items. -->
4056        <attr name="divider" format="reference|color" />
4057        <!-- Height of the divider. Will use the intrinsic height of the divider if this
4058             is not specified. -->
4059        <attr name="dividerHeight" format="dimension" />
4060        <!-- When set to false, the ListView will not draw the divider after each header view.
4061             The default value is true. -->
4062        <attr name="headerDividersEnabled" format="boolean" />
4063        <!-- When set to false, the ListView will not draw the divider before each footer view.
4064             The default value is true. -->
4065        <attr name="footerDividersEnabled" format="boolean" />
4066        <!-- Drawable to draw above list content. -->
4067        <attr name="overScrollHeader" format="reference|color" />
4068        <!-- Drawable to draw below list content. -->
4069        <attr name="overScrollFooter" format="reference|color" />
4070    </declare-styleable>
4071    <declare-styleable name="PreferenceFrameLayout">
4072        <!-- Padding to use at the top of the prefs content. -->
4073        <attr name="borderTop" format="dimension" />
4074        <!-- Padding to use at the bottom of the prefs content. -->
4075        <attr name="borderBottom" format="dimension" />
4076        <!-- Padding to use at the left of the prefs content. -->
4077        <attr name="borderLeft" format="dimension" />
4078        <!-- Padding to use at the right of the prefs content. -->
4079        <attr name="borderRight" format="dimension" />
4080    </declare-styleable>
4081    <declare-styleable name="PreferenceFrameLayout_Layout">
4082        <!-- Padding to use at the top of the prefs content. -->
4083        <attr name="layout_removeBorders" format="boolean" />
4084    </declare-styleable>
4085    <declare-styleable name="MenuView">
4086        <!-- Default appearance of menu item text. -->
4087        <attr name="itemTextAppearance" format="reference" />
4088        <!-- Default horizontal divider between rows of menu items. -->
4089        <attr name="horizontalDivider" format="reference" />
4090        <!-- Default vertical divider between menu items. -->
4091        <attr name="verticalDivider" format="reference" />
4092        <!-- Default background for the menu header. -->
4093        <attr name="headerBackground" format="color|reference" />
4094        <!-- Default background for each menu item. -->
4095        <attr name="itemBackground" format="color|reference" />
4096        <!-- Default animations for the menu. -->
4097        <attr name="windowAnimationStyle" />
4098        <!-- Default disabled icon alpha for each menu item that shows an icon. -->
4099        <attr name="itemIconDisabledAlpha" format="float" />
4100        <!-- Whether space should be reserved in layout when an icon is missing. -->
4101        <attr name="preserveIconSpacing" format="boolean" />
4102        <!-- Drawable for the arrow icon indicating a particular item is a submenu. -->
4103        <attr name="subMenuArrow" format="reference" />
4104    </declare-styleable>
4105    <declare-styleable name="IconMenuView">
4106        <!-- Defines the height of each row. -->
4107        <attr name="rowHeight" format="dimension" />
4108        <!-- Defines the maximum number of rows displayed. -->
4109        <attr name="maxRows" format="integer" />
4110        <!-- Defines the maximum number of items per row. -->
4111        <attr name="maxItemsPerRow" format="integer" />
4112        <!-- Defines the maximum number of items to show. -->
4113        <attr name="maxItems" format="integer" />
4114        <!-- 'More' icon. -->
4115        <attr name="moreIcon" format="reference" />
4116    </declare-styleable>
4117
4118    <declare-styleable name="ProgressBar">
4119        <!-- Defines the minimum value. -->
4120        <attr name="min" format="integer" />
4121        <!-- Defines the maximum value. -->
4122        <attr name="max" format="integer" />
4123        <!-- Defines the default progress value, between 0 and max. -->
4124        <attr name="progress" format="integer" />
4125        <!-- Defines the secondary progress value, between 0 and max. This progress is drawn between
4126             the primary progress and the background.  It can be ideal for media scenarios such as
4127             showing the buffering progress while the default progress shows the play progress. -->
4128        <attr name="secondaryProgress" format="integer" />
4129        <!-- Allows to enable the indeterminate mode. In this mode the progress
4130         bar plays an infinite looping animation. -->
4131        <attr name="indeterminate" format="boolean" />
4132        <!-- Restricts to ONLY indeterminate mode (state-keeping progress mode will not work). -->
4133        <attr name="indeterminateOnly" format="boolean" />
4134        <!-- Drawable used for the indeterminate mode. -->
4135        <attr name="indeterminateDrawable" format="reference" />
4136        <!-- Drawable used for the progress mode. -->
4137        <attr name="progressDrawable" format="reference" />
4138        <!-- Duration of the indeterminate animation. -->
4139        <attr name="indeterminateDuration" format="integer" min="1" />
4140        <!-- Defines how the indeterminate mode should behave when the progress
4141        reaches max. -->
4142        <attr name="indeterminateBehavior">
4143            <!-- Progress starts over from 0. -->
4144            <enum name="repeat" value="1" />
4145            <!-- Progress keeps the current value and goes back to 0. -->
4146            <enum name="cycle" value="2" />
4147        </attr>
4148        <attr name="minWidth" format="dimension" />
4149        <attr name="maxWidth" />
4150        <attr name="minHeight" format="dimension" />
4151        <attr name="maxHeight" />
4152        <attr name="interpolator" format="reference" />
4153        <!-- Timeout between frames of animation in milliseconds.
4154             {@deprecated Not used by the framework}. -->
4155        <attr name="animationResolution" format="integer" />
4156        <!-- Defines if the associated drawables need to be mirrored when in RTL mode.
4157             Default is false. -->
4158        <attr name="mirrorForRtl" format="boolean" />
4159        <!-- Tint to apply to the progress indicator. -->
4160        <attr name="progressTint" format="color" />
4161        <!-- Blending mode used to apply the progress indicator tint. -->
4162        <attr name="progressTintMode">
4163            <!-- The tint is drawn on top of the drawable.
4164                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4165            <enum name="src_over" value="3" />
4166            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4167                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4168            <enum name="src_in" value="5" />
4169            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4170                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4171            <enum name="src_atop" value="9" />
4172            <!-- Multiplies the color and alpha channels of the drawable with those of
4173                 the tint. [Sa * Da, Sc * Dc] -->
4174            <enum name="multiply" value="14" />
4175            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4176            <enum name="screen" value="15" />
4177            <!-- Combines the tint and drawable color and alpha channels, clamping the
4178                 result to valid color values. Saturate(S + D) -->
4179            <enum name="add" value="16" />
4180        </attr>
4181        <!-- Tint to apply to the progress indicator background. -->
4182        <attr name="progressBackgroundTint" format="color" />
4183        <!-- Blending mode used to apply the progress indicator background tint. -->
4184        <attr name="progressBackgroundTintMode">
4185            <!-- The tint is drawn on top of the drawable.
4186                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4187            <enum name="src_over" value="3" />
4188            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4189                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4190            <enum name="src_in" value="5" />
4191            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4192                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4193            <enum name="src_atop" value="9" />
4194            <!-- Multiplies the color and alpha channels of the drawable with those of
4195                 the tint. [Sa * Da, Sc * Dc] -->
4196            <enum name="multiply" value="14" />
4197            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4198            <enum name="screen" value="15" />
4199            <!-- Combines the tint and drawable color and alpha channels, clamping the
4200                 result to valid color values. Saturate(S + D) -->
4201            <enum name="add" value="16" />
4202        </attr>
4203        <!-- Tint to apply to the secondary progress indicator. -->
4204        <attr name="secondaryProgressTint" format="color" />
4205        <!-- Blending mode used to apply the secondary progress indicator tint. -->
4206        <attr name="secondaryProgressTintMode">
4207            <!-- The tint is drawn on top of the drawable.
4208                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4209            <enum name="src_over" value="3" />
4210            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4211                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4212            <enum name="src_in" value="5" />
4213            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4214                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4215            <enum name="src_atop" value="9" />
4216            <!-- Multiplies the color and alpha channels of the drawable with those of
4217                 the tint. [Sa * Da, Sc * Dc] -->
4218            <enum name="multiply" value="14" />
4219            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4220            <enum name="screen" value="15" />
4221            <!-- Combines the tint and drawable color and alpha channels, clamping the
4222                 result to valid color values. Saturate(S + D) -->
4223            <enum name="add" value="16" />
4224        </attr>
4225        <!-- Tint to apply to the indeterminate progress indicator. -->
4226        <attr name="indeterminateTint" format="color" />
4227        <!-- Blending mode used to apply the indeterminate progress indicator tint. -->
4228        <attr name="indeterminateTintMode">
4229            <!-- The tint is drawn on top of the drawable.
4230                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4231            <enum name="src_over" value="3" />
4232            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4233                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4234            <enum name="src_in" value="5" />
4235            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4236                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4237            <enum name="src_atop" value="9" />
4238            <!-- Multiplies the color and alpha channels of the drawable with those of
4239                 the tint. [Sa * Da, Sc * Dc] -->
4240            <enum name="multiply" value="14" />
4241            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4242            <enum name="screen" value="15" />
4243            <!-- Combines the tint and drawable color and alpha channels, clamping the
4244                 result to valid color values. Saturate(S + D) -->
4245            <enum name="add" value="16" />
4246        </attr>
4247        <!-- Tint to apply to the background. -->
4248        <attr name="backgroundTint" />
4249        <!-- Blending mode used to apply the background tint. -->
4250        <attr name="backgroundTintMode" />
4251    </declare-styleable>
4252
4253    <declare-styleable name="SeekBar">
4254        <!-- Draws the thumb on a seekbar. -->
4255        <attr name="thumb" format="reference" />
4256        <!-- An offset for the thumb that allows it to extend out of the range of the track. -->
4257        <attr name="thumbOffset" format="dimension" />
4258        <!-- Whether to split the track and leave a gap for the thumb drawable. -->
4259        <attr name="splitTrack" format="boolean" />
4260        <!-- Whether to force the track's alpha to ?android:attr/disabledAlpha
4261             when disabled. This is required for Holo and Gingerbread, but
4262             should always be false for Material and  beyond.
4263             @hide Developers shouldn't need to change this. -->
4264        <attr name="useDisabledAlpha" format="boolean" />
4265        <!-- Tint to apply to the thumb drawable. -->
4266        <attr name="thumbTint" format="color" />
4267        <!-- Blending mode used to apply the thumb tint. -->
4268        <attr name="thumbTintMode">
4269            <!-- The tint is drawn on top of the drawable.
4270                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4271            <enum name="src_over" value="3" />
4272            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4273                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4274            <enum name="src_in" value="5" />
4275            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4276                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4277            <enum name="src_atop" value="9" />
4278            <!-- Multiplies the color and alpha channels of the drawable with those of
4279                 the tint. [Sa * Da, Sc * Dc] -->
4280            <enum name="multiply" value="14" />
4281            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4282            <enum name="screen" value="15" />
4283            <!-- Combines the tint and drawable color and alpha channels, clamping the
4284                 result to valid color values. Saturate(S + D) -->
4285            <enum name="add" value="16" />
4286        </attr>
4287        <!-- Drawable displayed at each progress position on a seekbar. -->
4288        <attr name="tickMark" format="reference" />
4289        <!-- Tint to apply to the tick mark drawable. -->
4290        <attr name="tickMarkTint" format="color" />
4291        <!-- Blending mode used to apply the tick mark tint. -->
4292        <attr name="tickMarkTintMode">
4293            <!-- The tint is drawn on top of the drawable.
4294                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4295            <enum name="src_over" value="3" />
4296            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4297                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4298            <enum name="src_in" value="5" />
4299            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4300                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4301            <enum name="src_atop" value="9" />
4302            <!-- Multiplies the color and alpha channels of the drawable with those of
4303                 the tint. [Sa * Da, Sc * Dc] -->
4304            <enum name="multiply" value="14" />
4305            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4306            <enum name="screen" value="15" />
4307            <!-- Combines the tint and drawable color and alpha channels, clamping the
4308                 result to valid color values. Saturate(S + D) -->
4309            <enum name="add" value="16" />
4310        </attr>
4311    </declare-styleable>
4312
4313    <declare-styleable name="StackView">
4314        <!-- Color of the res-out outline. -->
4315        <attr name="resOutColor" format="color" />
4316        <!-- Color of the outline of click feedback. -->
4317        <attr name="clickColor" format="color" />
4318    </declare-styleable>
4319
4320    <declare-styleable name="RatingBar">
4321        <!-- The number of stars (or rating items) to show. -->
4322        <attr name="numStars" format="integer" />
4323        <!-- The rating to set by default. -->
4324        <attr name="rating" format="float" />
4325        <!-- The step size of the rating. -->
4326        <attr name="stepSize" format="float" />
4327        <!-- Whether this rating bar is an indicator (and non-changeable by the user). -->
4328        <attr name="isIndicator" format="boolean" />
4329    </declare-styleable>
4330
4331    <declare-styleable name="RadioGroup">
4332        <!-- The id of the child radio button that should be checked by default
4333             within this radio group. -->
4334        <attr name="checkedButton" format="integer" />
4335        <!-- Should the radio group be a column or a row?  Use "horizontal"
4336             for a row, "vertical" for a column.  The default is
4337             vertical. -->
4338        <attr name="orientation" />
4339    </declare-styleable>
4340    <declare-styleable name="TableLayout">
4341        <!-- The zero-based index of the columns to stretch. The column indices
4342             must be separated by a comma: 1, 2, 5. Illegal and duplicate
4343             indices are ignored. You can stretch all columns by using the
4344             value "*" instead. Note that a column can be marked stretchable
4345             and shrinkable at the same time. -->
4346        <attr name="stretchColumns" format="string" />
4347       <!-- The zero-based index of the columns to shrink. The column indices
4348             must be separated by a comma: 1, 2, 5. Illegal and duplicate
4349             indices are ignored. You can shrink all columns by using the
4350             value "*" instead. Note that a column can be marked stretchable
4351             and shrinkable at the same time. -->
4352        <attr name="shrinkColumns" format="string" />
4353        <!-- The zero-based index of the columns to collapse. The column indices
4354             must be separated by a comma: 1, 2, 5. Illegal and duplicate
4355             indices are ignored. -->
4356        <attr name="collapseColumns" format="string" />
4357    </declare-styleable>
4358    <declare-styleable name="TableRow">
4359
4360    </declare-styleable>
4361    <declare-styleable name="TableRow_Cell">
4362        <!-- The index of the column in which this child should be. -->
4363        <attr name="layout_column" format="integer" />
4364        <!-- Defines how many columns this child should span.  Must be >= 1.-->
4365        <attr name="layout_span" format="integer" />
4366    </declare-styleable>
4367    <declare-styleable name="TabWidget">
4368        <!-- Drawable used to draw the divider between tabs. -->
4369        <attr name="divider" />
4370        <!-- Determines whether the strip under the tab indicators is drawn or not. -->
4371        <attr name="tabStripEnabled" format="boolean" />
4372        <!-- Drawable used to draw the left part of the strip underneath the tabs. -->
4373        <attr name="tabStripLeft" format="reference" />
4374        <!-- Drawable used to draw the right part of the strip underneath the tabs. -->
4375        <attr name="tabStripRight" format="reference" />
4376        <!-- Layout used to organize each tab's content. -->
4377        <attr name="tabLayout" format="reference" />
4378    </declare-styleable>
4379    <declare-styleable name="TextAppearance">
4380        <!-- Text color. -->
4381        <attr name="textColor" />
4382        <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
4383        <attr name="textSize" />
4384        <!-- Style (bold, italic, bolditalic) for the text. -->
4385        <attr name="textStyle" />
4386        <!-- Typeface (normal, sans, serif, monospace) for the text. -->
4387        <attr name="typeface" />
4388        <!-- Font family (named by string) for the text. -->
4389        <attr name="fontFamily" />
4390        <!-- Color of the text selection highlight. -->
4391        <attr name="textColorHighlight" />
4392        <!-- Color of the hint text. -->
4393        <attr name="textColorHint" />
4394        <!-- Color of the links. -->
4395        <attr name="textColorLink" />
4396        <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
4397        <attr name="textAllCaps" format="boolean" />
4398        <!-- Place a blurred shadow of text underneath the text, drawn with the
4399             specified color. The text shadow produced does not interact with
4400             properties on View that are responsible for real time shadows,
4401             {@link android.R.styleable#View_elevation elevation} and
4402             {@link android.R.styleable#View_translationZ translationZ}. -->
4403        <attr name="shadowColor" format="color" />
4404        <!-- Horizontal offset of the text shadow. -->
4405        <attr name="shadowDx" format="float" />
4406        <!-- Vertical offset of the text shadow. -->
4407        <attr name="shadowDy" format="float" />
4408        <!-- Blur radius of the text shadow. -->
4409        <attr name="shadowRadius" format="float" />
4410        <!-- Elegant text height, especially for less compacted complex script text. -->
4411        <attr name="elegantTextHeight" format="boolean" />
4412        <!-- Text letter-spacing. -->
4413        <attr name="letterSpacing" format="float" />
4414        <!-- Font feature settings. -->
4415        <attr name="fontFeatureSettings" format="string" />
4416    </declare-styleable>
4417    <declare-styleable name="TextClock">
4418        <!-- Specifies the formatting pattern used to show the time and/or date
4419             in 12-hour mode. Please refer to {@link android.text.format.DateFormat}
4420             for a complete description of accepted formatting patterns.
4421             The default pattern is a locale-appropriate equivalent of "h:mm a". -->
4422        <attr name="format12Hour" format="string"/>
4423        <!-- Specifies the formatting pattern used to show the time and/or date
4424             in 24-hour mode. Please refer to {@link android.text.format.DateFormat}
4425             for a complete description of accepted formatting patterns.
4426             The default pattern is a locale-appropriate equivalent of "H:mm". -->
4427        <attr name="format24Hour" format="string"/>
4428        <!-- Specifies the time zone to use. When this attribute is specified, the
4429             TextClock will ignore the time zone of the system. To use the user's
4430             time zone, do not specify this attribute. The default value is the
4431             user's time zone. Please refer to {@link java.util.TimeZone} for more
4432             information about time zone ids. -->
4433        <attr name="timeZone" format="string"/>
4434    </declare-styleable>
4435    <declare-styleable name="TextSwitcher">
4436    </declare-styleable>
4437    <declare-styleable name="TextView">
4438        <!-- Determines the minimum type that getText() will return.
4439             The default is "normal".
4440             Note that EditText and LogTextBox always return Editable,
4441             even if you specify something less powerful here. -->
4442        <attr name="bufferType">
4443            <!-- Can return any CharSequence, possibly a
4444             Spanned one if the source text was Spanned. -->
4445            <enum name="normal" value="0" />
4446            <!-- Can only return Spannable. -->
4447            <enum name="spannable" value="1" />
4448            <!-- Can only return Spannable and Editable. -->
4449            <enum name="editable" value="2" />
4450        </attr>
4451        <!-- Text to display. -->
4452        <attr name="text" format="string" localization="suggested" />
4453        <!-- Hint text to display when the text is empty. -->
4454        <attr name="hint" format="string" />
4455        <!-- Text color. -->
4456        <attr name="textColor" />
4457        <!-- Color of the text selection highlight. -->
4458        <attr name="textColorHighlight" />
4459        <!-- Color of the hint text. -->
4460        <attr name="textColorHint" />
4461        <!-- Base text color, typeface, size, and style. -->
4462        <attr name="textAppearance" />
4463        <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
4464        <attr name="textSize" />
4465        <!-- Sets the horizontal scaling factor for the text. -->
4466        <attr name="textScaleX" format="float" />
4467        <!-- Typeface (normal, sans, serif, monospace) for the text. -->
4468        <attr name="typeface" />
4469        <!-- Style (bold, italic, bolditalic) for the text. -->
4470        <attr name="textStyle" />
4471        <!-- Font family (named by string) for the text. -->
4472        <attr name="fontFamily" />
4473        <!-- Text color for links. -->
4474        <attr name="textColorLink" />
4475        <!-- Makes the cursor visible (the default) or invisible. -->
4476        <attr name="cursorVisible" format="boolean" />
4477        <!-- Makes the TextView be at most this many lines tall.
4478
4479        When used on an editable text, the <code>inputType</code> attribute's value must be
4480        combined with the <code>textMultiLine</code> flag for the maxLines attribute to apply. -->
4481        <attr name="maxLines" format="integer" min="0" />
4482        <!-- Makes the TextView be at most this many pixels tall. -->
4483        <attr name="maxHeight" />
4484        <!-- Makes the TextView be exactly this many lines tall. -->
4485        <attr name="lines" format="integer" min="0" />
4486        <!-- Makes the TextView be exactly this many pixels tall.
4487             You could get the same effect by specifying this number in the
4488             layout parameters. -->
4489        <attr name="height" format="dimension" />
4490        <!-- Makes the TextView be at least this many lines tall.
4491
4492        When used on an editable text, the <code>inputType</code> attribute's value must be
4493        combined with the <code>textMultiLine</code> flag for the minLines attribute to apply. -->
4494        <attr name="minLines" format="integer" min="0" />
4495        <!-- Makes the TextView be at least this many pixels tall. -->
4496        <attr name="minHeight" />
4497        <!-- Makes the TextView be at most this many ems wide. -->
4498        <attr name="maxEms" format="integer" min="0" />
4499        <!-- Makes the TextView be at most this many pixels wide. -->
4500        <attr name="maxWidth" />
4501        <!-- Makes the TextView be exactly this many ems wide. -->
4502        <attr name="ems" format="integer" min="0" />
4503        <!-- Makes the TextView be exactly this many pixels wide.
4504             You could get the same effect by specifying this number in the
4505             layout parameters. -->
4506        <attr name="width" format="dimension" />
4507        <!-- Makes the TextView be at least this many ems wide. -->
4508        <attr name="minEms" format="integer" min="0" />
4509        <!-- Makes the TextView be at least this many pixels wide. -->
4510        <attr name="minWidth" />
4511        <!-- Specifies how to align the text by the view's x- and/or y-axis
4512             when the text is smaller than the view. -->
4513        <attr name="gravity" />
4514        <!-- Whether the text is allowed to be wider than the view (and
4515             therefore can be scrolled horizontally). -->
4516        <attr name="scrollHorizontally" format="boolean" />
4517        <!-- Whether the characters of the field are displayed as
4518             password dots instead of themselves.
4519             {@deprecated Use inputType instead.} -->
4520        <attr name="password" format="boolean" />
4521        <!-- Constrains the text to a single horizontally scrolling line
4522             instead of letting it wrap onto multiple lines, and advances
4523             focus instead of inserting a newline when you press the
4524             enter key.
4525
4526             The default value is false (multi-line wrapped text mode) for non-editable text, but if
4527             you specify any value for inputType, the default is true (single-line input field mode).
4528
4529             {@deprecated This attribute is deprecated. Use <code>maxLines</code> instead to change
4530             the layout of a static text, and use the <code>textMultiLine</code> flag in the
4531             inputType attribute instead for editable text views (if both singleLine and inputType
4532             are supplied, the inputType flags will override the value of singleLine). } -->
4533        <attr name="singleLine" format="boolean" />
4534        <!-- Specifies whether the widget is enabled. The interpretation of the enabled state varies by subclass.
4535             For example, a non-enabled EditText prevents the user from editing the contained text, and
4536             a non-enabled Button prevents the user from tapping the button.
4537             The appearance of enabled and non-enabled widgets may differ, if the drawables referenced
4538             from evaluating state_enabled differ. -->
4539        <attr name="enabled" format="boolean" />
4540        <!-- If the text is selectable, select it all when the view takes
4541             focus. -->
4542        <attr name="selectAllOnFocus" format="boolean" />
4543        <!-- Leave enough room for ascenders and descenders instead of
4544             using the font ascent and descent strictly.  (Normally true). -->
4545        <attr name="includeFontPadding" format="boolean" />
4546        <!-- Set an input filter to constrain the text length to the
4547             specified number. -->
4548        <attr name="maxLength" format="integer" min="0" />
4549        <!-- Place a blurred shadow of text underneath the text, drawn with the
4550             specified color. The text shadow produced does not interact with
4551             properties on View that are responsible for real time shadows,
4552             {@link android.R.styleable#View_elevation elevation} and
4553             {@link android.R.styleable#View_translationZ translationZ}. -->
4554        <attr name="shadowColor" />
4555        <!-- Horizontal offset of the text shadow. -->
4556        <attr name="shadowDx" />
4557        <!-- Vertical offset of the text shadow. -->
4558        <attr name="shadowDy" />
4559        <!-- Blur radius of the text shadow. -->
4560        <attr name="shadowRadius" />
4561        <attr name="autoLink" />
4562        <!-- If set to false, keeps the movement method from being set
4563             to the link movement method even if autoLink causes links
4564             to be found. -->
4565        <attr name="linksClickable" format="boolean" />
4566        <!-- If set, specifies that this TextView has a numeric input method.
4567             The default is false.
4568             {@deprecated Use inputType instead.} -->
4569        <attr name="numeric">
4570            <!-- Input is numeric. -->
4571            <flag name="integer" value="0x01" />
4572            <!-- Input is numeric, with sign allowed. -->
4573            <flag name="signed" value="0x03" />
4574            <!-- Input is numeric, with decimals allowed. -->
4575            <flag name="decimal" value="0x05" />
4576        </attr>
4577        <!-- If set, specifies that this TextView has a numeric input method
4578             and that these specific characters are the ones that it will
4579             accept.
4580             If this is set, numeric is implied to be true.
4581             The default is false. -->
4582        <attr name="digits" format="string" />
4583        <!-- If set, specifies that this TextView has a phone number input
4584             method. The default is false.
4585             {@deprecated Use inputType instead.} -->
4586        <attr name="phoneNumber" format="boolean" />
4587        <!-- If set, specifies that this TextView should use the specified
4588             input method (specified by fully-qualified class name).
4589             {@deprecated Use inputType instead.} -->
4590        <attr name="inputMethod" format="string" />
4591        <!-- If set, specifies that this TextView has a textual input method
4592             and should automatically capitalize what the user types.
4593             The default is "none".
4594             {@deprecated Use inputType instead.} -->
4595        <attr name="capitalize">
4596            <!-- Don't automatically capitalize anything. -->
4597            <enum name="none" value="0" />
4598            <!-- Capitalize the first word of each sentence. -->
4599            <enum name="sentences" value="1" />
4600            <!-- Capitalize the first letter of every word. -->
4601            <enum name="words" value="2" />
4602            <!-- Capitalize every character. -->
4603            <enum name="characters" value="3" />
4604        </attr>
4605        <!-- If set, specifies that this TextView has a textual input method
4606             and automatically corrects some common spelling errors.
4607             The default is "false".
4608             {@deprecated Use inputType instead.} -->
4609        <attr name="autoText" format="boolean" />
4610        <!-- If set, specifies that this TextView has an input method.
4611             It will be a textual one unless it has otherwise been specified.
4612             For TextView, this is false by default.  For EditText, it is
4613             true by default.
4614             {@deprecated Use inputType instead.} -->
4615        <attr name="editable" format="boolean" />
4616        <!-- If set, the text view will include its current complete text
4617             inside of its frozen icicle in addition to meta-data such as
4618             the current cursor position.  By default this is disabled;
4619             it can be useful when the contents of a text view is not stored
4620             in a persistent place such as a content provider. For
4621             {@link android.widget.EditText} it is always enabled, regardless
4622             of the value of the attribute. -->
4623        <attr name="freezesText" format="boolean" />
4624        <!-- If set, causes words that are longer than the view is wide
4625             to be ellipsized instead of broken in the middle.
4626             You will often also want to set scrollHorizontally or singleLine
4627             as well so that the text as a whole is also constrained to
4628             a single line instead of still allowed to be broken onto
4629             multiple lines. -->
4630        <attr name="ellipsize" />
4631        <!-- The drawable to be drawn above the text. -->
4632        <attr name="drawableTop" format="reference|color" />
4633        <!-- The drawable to be drawn below the text. -->
4634        <attr name="drawableBottom" format="reference|color" />
4635        <!-- The drawable to be drawn to the left of the text. -->
4636        <attr name="drawableLeft" format="reference|color" />
4637        <!-- The drawable to be drawn to the right of the text. -->
4638        <attr name="drawableRight" format="reference|color" />
4639        <!-- The drawable to be drawn to the start of the text. -->
4640        <attr name="drawableStart" format="reference|color" />
4641        <!-- The drawable to be drawn to the end of the text. -->
4642        <attr name="drawableEnd" format="reference|color" />
4643        <!-- The padding between the drawables and the text. -->
4644        <attr name="drawablePadding" format="dimension" />
4645        <!-- Tint to apply to the compound (left, top, etc.) drawables. -->
4646        <attr name="drawableTint" format="color" />
4647        <!-- Blending mode used to apply the compound (left, top, etc.) drawables tint. -->
4648        <attr name="drawableTintMode">
4649            <!-- The tint is drawn on top of the drawable.
4650                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4651            <enum name="src_over" value="3" />
4652            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4653                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4654            <enum name="src_in" value="5" />
4655            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4656                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4657            <enum name="src_atop" value="9" />
4658            <!-- Multiplies the color and alpha channels of the drawable with those of
4659                 the tint. [Sa * Da, Sc * Dc] -->
4660            <enum name="multiply" value="14" />
4661            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4662            <enum name="screen" value="15" />
4663            <!-- Combines the tint and drawable color and alpha channels, clamping the
4664                 result to valid color values. Saturate(S + D) -->
4665            <enum name="add" value="16" />
4666        </attr>
4667        <!-- Extra spacing between lines of text. -->
4668        <attr name="lineSpacingExtra" format="dimension" />
4669        <!-- Extra spacing between lines of text, as a multiplier. -->
4670        <attr name="lineSpacingMultiplier" format="float" />
4671        <!-- The number of times to repeat the marquee animation. Only applied if the
4672             TextView has marquee enabled. -->
4673        <attr name="marqueeRepeatLimit" format="integer">
4674            <!-- Indicates that marquee should repeat indefinitely. -->
4675            <enum name="marquee_forever" value="-1" />
4676        </attr>
4677        <attr name="inputType" />
4678        <!-- Whether undo should be allowed for editable text. Defaults to true. -->
4679        <attr name="allowUndo" format="boolean" />
4680        <attr name="imeOptions" />
4681        <!-- An addition content type description to supply to the input
4682             method attached to the text view, which is private to the
4683             implementation of the input method.  This simply fills in
4684             the {@link android.view.inputmethod.EditorInfo#privateImeOptions
4685             EditorInfo.privateImeOptions} field when the input
4686             method is connected. -->
4687        <attr name="privateImeOptions" format="string" />
4688        <!-- Supply a value for
4689             {@link android.view.inputmethod.EditorInfo#actionLabel EditorInfo.actionLabel}
4690             used when an input method is connected to the text view. -->
4691        <attr name="imeActionLabel" format="string" />
4692        <!-- Supply a value for
4693             {@link android.view.inputmethod.EditorInfo#actionId EditorInfo.actionId}
4694             used when an input method is connected to the text view. -->
4695        <attr name="imeActionId" format="integer" />
4696        <!-- Reference to an
4697             {@link android.R.styleable#InputExtras &lt;input-extras&gt;}
4698             XML resource containing additional data to
4699             supply to an input method, which is private to the implementation
4700             of the input method.  This simply fills in
4701             the {@link android.view.inputmethod.EditorInfo#extras
4702             EditorInfo.extras} field when the input
4703             method is connected. -->
4704        <attr name="editorExtras" format="reference" />
4705
4706        <!-- Reference to a drawable that will be used to display a text selection
4707             anchor on the left side of a selection region. -->
4708        <attr name="textSelectHandleLeft" />
4709        <!-- Reference to a drawable that will be used to display a text selection
4710             anchor on the right side of a selection region. -->
4711        <attr name="textSelectHandleRight" />
4712        <!-- Reference to a drawable that will be used to display a text selection
4713             anchor for positioning the cursor within text. -->
4714        <attr name="textSelectHandle" />
4715        <!-- The layout of the view that is displayed on top of the cursor to paste inside a
4716             TextEdit field. -->
4717        <attr name="textEditPasteWindowLayout" />
4718        <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. -->
4719        <attr name="textEditNoPasteWindowLayout" />
4720        <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the
4721             insertion cursor because it would be clipped if it were positioned on top. -->
4722        <attr name="textEditSidePasteWindowLayout" />
4723        <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. -->
4724        <attr name="textEditSideNoPasteWindowLayout" />
4725
4726        <!-- Layout of the TextView item that will populate the suggestion popup window. -->
4727        <attr name="textEditSuggestionItemLayout" />
4728        <!-- Layout of the container of the suggestion popup window. -->
4729        <attr name="textEditSuggestionContainerLayout" />
4730        <!-- Style of the highlighted string in the suggestion popup window. -->
4731        <attr name="textEditSuggestionHighlightStyle" />
4732
4733
4734        <!-- Reference to a drawable that will be drawn under the insertion cursor. -->
4735        <attr name="textCursorDrawable" />
4736
4737        <!-- Indicates that the content of a non-editable text can be selected. -->
4738        <attr name="textIsSelectable" />
4739        <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
4740        <attr name="textAllCaps" />
4741        <!-- Elegant text height, especially for less compacted complex script text. -->
4742        <attr name="elegantTextHeight" />
4743        <!-- Text letter-spacing. -->
4744        <attr name="letterSpacing" />
4745        <!-- Font feature settings. -->
4746        <attr name="fontFeatureSettings" />
4747        <!-- Break strategy (control over paragraph layout). -->
4748        <attr name="breakStrategy">
4749            <!-- Line breaking uses simple strategy. -->
4750            <enum name="simple" value="0" />
4751            <!-- Line breaking uses high-quality strategy, including hyphenation. -->
4752            <enum name="high_quality" value="1" />
4753            <!-- Line breaking strategy balances line lengths. -->
4754            <enum name="balanced" value="2" />
4755        </attr>
4756        <!-- Frequency of automatic hyphenation. -->
4757        <attr name="hyphenationFrequency">
4758            <!-- No hyphenation. -->
4759            <enum name="none" value="0" />
4760            <!-- Less frequent hyphenation, useful for informal use cases, such
4761            as chat messages. -->
4762            <enum name="normal" value="1" />
4763            <!-- Standard amount of hyphenation, useful for running text and for
4764            screens with limited space for text. -->
4765            <enum name="full" value="2" />
4766        </attr>
4767        <!-- Specify the type of auto-size. Note that this feature is not supported by EditText,
4768        works only for TextView. -->
4769        <attr name="autoSizeTextType" format="enum">
4770            <!-- No auto-sizing (default). -->
4771            <enum name="none" value="0" />
4772            <!-- Uniform horizontal and vertical text size scaling to fit within the
4773            container. -->
4774            <enum name="uniform" value="1" />
4775        </attr>
4776        <!-- Specify the auto-size step size if <code>autoSizeTextType</code> is set to
4777        <code>uniform</code>. The default is 1px. Overwrites
4778        <code>autoSizePresetSizes</code> if set. -->
4779        <attr name="autoSizeStepGranularity" format="dimension" />
4780        <!-- Resource array of dimensions to be used in conjunction with
4781        <code>autoSizeTextType</code> set to <code>uniform</code>. Overrides
4782        <code>autoSizeStepGranularity</code> if set. -->
4783        <attr name="autoSizePresetSizes"/>
4784        <!-- The minimum text size constraint to be used when auto-sizing text. -->
4785        <attr name="autoSizeMinTextSize" format="dimension" />
4786        <!-- The maximum text size constraint to be used when auto-sizing text. -->
4787        <attr name="autoSizeMaxTextSize" format="dimension" />
4788        <!-- Mode for justification. -->
4789        <attr name="justificationMode">
4790            <!-- No justification. -->
4791            <enum name="none" value="0" />
4792            <!-- Justification by stretching word spacing. -->
4793            <enum name="inter_word" value = "1" />
4794        </attr>
4795    </declare-styleable>
4796    <declare-styleable name="TextViewAppearance">
4797        <!-- Base text color, typeface, size, and style. -->
4798        <attr name="textAppearance" />
4799    </declare-styleable>
4800    <declare-styleable name="SelectionModeDrawables">
4801        <attr name="actionModeSelectAllDrawable" />
4802        <attr name="actionModeCutDrawable" />
4803        <attr name="actionModeCopyDrawable" />
4804        <attr name="actionModePasteDrawable" />
4805    </declare-styleable>
4806    <declare-styleable name="SuggestionSpan">
4807        <attr name="textUnderlineColor" />
4808        <attr name="textUnderlineThickness" />
4809    </declare-styleable>
4810    <!-- An <code>input-extras</code> is a container for extra data to supply to
4811         an input method.  Contains
4812         one more more {@link #Extra <extra>} tags.  -->
4813    <declare-styleable name="InputExtras">
4814    </declare-styleable>
4815    <declare-styleable name="AutoCompleteTextView">
4816        <!-- Defines the hint displayed in the drop down menu. -->
4817        <attr name="completionHint" format="string" />
4818        <!-- Defines the hint view displayed in the drop down menu. -->
4819        <attr name="completionHintView" format="reference" />
4820        <!-- Defines the number of characters that the user must type before
4821         completion suggestions are displayed in a drop down menu. -->
4822        <attr name="completionThreshold" format="integer" min="1" />
4823        <!-- Selector in a drop down list. -->
4824        <attr name="dropDownSelector" format="reference|color" />
4825        <!-- View to anchor the auto-complete dropdown to. If not specified, the text view itself
4826             is used. -->
4827        <attr name="dropDownAnchor" format="reference" />
4828        <!-- Specifies the basic width of the dropdown. Its value may
4829             be a dimension (such as "12dip") for a constant width,
4830             fill_parent or match_parent to match the width of the
4831             screen, or wrap_content to match the width of
4832             the anchored view. -->
4833        <attr name="dropDownWidth" format="dimension">
4834            <!-- The dropdown should fill the width of the screen.
4835                 This constant is deprecated starting from API Level 8 and
4836                 is replaced by {@code match_parent}. -->
4837            <enum name="fill_parent" value="-1" />
4838            <!-- The dropdown should fit the width of the screen.
4839                 Introduced in API Level 8. -->
4840            <enum name="match_parent" value="-1" />
4841            <!-- The dropdown should fit the width of its anchor. -->
4842            <enum name="wrap_content" value="-2" />
4843        </attr>
4844        <!-- Specifies the basic height of the dropdown. Its value may
4845             be a dimension (such as "12dip") for a constant height,
4846             fill_parent or match_parent to fill the height of the
4847             screen, or wrap_content to match the height of
4848             the content of the drop down. -->
4849        <attr name="dropDownHeight" format="dimension">
4850            <!-- The dropdown should fit the height of the screen.
4851                 This constant is deprecated starting from API Level 8 and
4852                 is replaced by {@code match_parent}. -->
4853            <enum name="fill_parent" value="-1" />
4854            <!-- The dropdown should fit the height of the screen.
4855                 Introduced in API Level 8. -->
4856            <enum name="match_parent" value="-1" />
4857            <!-- The dropdown should fit the height of the content. -->
4858            <enum name="wrap_content" value="-2" />
4859        </attr>
4860        <attr name="inputType" />
4861        <!-- Theme to use for the completion popup window. -->
4862        <attr name="popupTheme" />
4863    </declare-styleable>
4864    <declare-styleable name="PopupWindow">
4865        <!-- The background to use for the popup window. -->
4866        <attr name="popupBackground" format="reference|color" />
4867        <!-- Window elevation to use for the popup window. -->
4868        <attr name="popupElevation" format="dimension" />
4869        <!-- The animation style to use for the popup window. -->
4870        <attr name="popupAnimationStyle" format="reference" />
4871        <!-- Whether the popup window should overlap its anchor view. -->
4872        <attr name="overlapAnchor" format="boolean" />
4873        <!-- Transition used to move views into the popup window. -->
4874        <attr name="popupEnterTransition" format="reference" />
4875        <!-- Transition used to move views out of the popup window. -->
4876        <attr name="popupExitTransition" format="reference" />
4877    </declare-styleable>
4878    <declare-styleable name="ListPopupWindow">
4879        <!-- Amount of pixels by which the drop down should be offset vertically. -->
4880        <attr name="dropDownVerticalOffset" format="dimension" />
4881        <!-- Amount of pixels by which the drop down should be offset horizontally. -->
4882        <attr name="dropDownHorizontalOffset" format="dimension" />
4883    </declare-styleable>
4884    <declare-styleable name="ViewAnimator">
4885        <!-- Identifier for the animation to use when a view is shown. -->
4886        <attr name="inAnimation" format="reference" />
4887        <!-- Identifier for the animation to use when a view is hidden. -->
4888        <attr name="outAnimation" format="reference" />
4889        <!-- Defines whether to animate the current View when the ViewAnimation
4890             is first displayed. -->
4891        <attr name="animateFirstView" format="boolean" />
4892    </declare-styleable>
4893    <declare-styleable name="ViewFlipper">
4894        <attr name="flipInterval" format="integer" min="0" />
4895        <!-- When true, automatically start animating. -->
4896        <attr name="autoStart" format="boolean" />
4897    </declare-styleable>
4898    <declare-styleable name="AdapterViewAnimator">
4899        <!-- Identifier for the animation to use when a view is shown. -->
4900        <attr name="inAnimation" />
4901        <!-- Identifier for the animation to use when a view is hidden. -->
4902        <attr name="outAnimation" />
4903        <!--Defines whether the animator loops to the first view once it
4904        has reached the end of the list. -->
4905        <attr name="loopViews" format="boolean" />
4906        <!-- Defines whether to animate the current View when the ViewAnimation
4907        is first displayed. -->
4908        <attr name="animateFirstView" />
4909    </declare-styleable>
4910    <declare-styleable name="AdapterViewFlipper">
4911        <attr name="flipInterval" />
4912        <!-- When true, automatically start animating. -->
4913        <attr name="autoStart" />
4914    </declare-styleable>
4915    <declare-styleable name="ViewSwitcher">
4916    </declare-styleable>
4917    <declare-styleable name="ScrollView">
4918        <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
4919        <attr name="fillViewport" format="boolean" />
4920    </declare-styleable>
4921    <declare-styleable name="HorizontalScrollView">
4922        <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
4923        <attr name="fillViewport" />
4924    </declare-styleable>
4925    <declare-styleable name="Spinner">
4926        <!-- The prompt to display when the spinner's dialog is shown. -->
4927        <attr name="prompt" format="reference" />
4928        <!-- Display mode for spinner options. -->
4929        <attr name="spinnerMode" format="enum">
4930            <!-- Spinner options will be presented to the user as a dialog window. -->
4931            <enum name="dialog" value="0" />
4932            <!-- Spinner options will be presented to the user as an inline dropdown
4933                 anchored to the spinner widget itself. -->
4934            <enum name="dropdown" value="1" />
4935        </attr>
4936        <!-- List selector to use for spinnerMode="dropdown" display. -->
4937        <attr name="dropDownSelector" />
4938        <!-- Theme to use for the drop-down or dialog popup window. -->
4939        <attr name="popupTheme" />
4940        <!-- Background drawable to use for the dropdown in spinnerMode="dropdown". -->
4941        <attr name="popupBackground" />
4942        <!-- Window elevation to use for the dropdown in spinnerMode="dropdown". -->
4943        <attr name="popupElevation" />
4944        <!-- Width of the dropdown in spinnerMode="dropdown". -->
4945        <attr name="dropDownWidth" />
4946        <!-- Reference to a layout to use for displaying a prompt in the dropdown for
4947             spinnerMode="dropdown". This layout must contain a TextView with the id
4948             {@code @android:id/text1} to be populated with the prompt text. -->
4949        <attr name="popupPromptView" format="reference" />
4950        <!-- Gravity setting for positioning the currently selected item. -->
4951        <attr name="gravity" />
4952        <!-- Whether this spinner should mark child views as enabled/disabled when
4953             the spinner itself is enabled/disabled. -->
4954        <attr name="disableChildrenWhenDisabled" format="boolean" />
4955    </declare-styleable>
4956
4957    <declare-styleable name="DatePicker">
4958        <!-- The first day of week according to {@link java.util.Calendar}. -->
4959        <attr name="firstDayOfWeek" />
4960        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
4961        <attr name="minDate" format="string" />
4962        <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. -->
4963        <attr name="maxDate" format="string" />
4964
4965        <!-- Whether the spinners are shown. Only valid for "spinner" mode. -->
4966        <attr name="spinnersShown" format="boolean" />
4967        <!-- Whether the calendar view is shown. Only valid for "spinner" mode. -->
4968        <attr name="calendarViewShown" format="boolean" />
4969
4970        <!-- @hide The layout of the date picker. -->
4971        <attr name="internalLayout" format="reference"  />
4972        <!-- @hide The layout of the legacy DatePicker. -->
4973        <attr name="legacyLayout" />
4974
4975        <!-- The text color for the selected date header text, ex. "2014" or
4976             "Tue, Mar 18". This should be a color state list where the
4977             activated state will be used when the year picker or day picker is
4978             active.-->
4979        <attr name="headerTextColor" format="color" />
4980        <!-- The background for the selected date header. -->
4981        <attr name="headerBackground" />
4982
4983        <!-- The list year's text appearance in the list.
4984             {@deprecated Use yearListTextColor. }-->
4985        <attr name="yearListItemTextAppearance" format="reference" />
4986        <!-- @hide The list year's text appearance in the list when activated. -->
4987        <attr name="yearListItemActivatedTextAppearance" format="reference" />
4988        <!-- The text color list of the calendar. -->
4989        <attr name="calendarTextColor" format="color" />
4990
4991        <!-- Defines the look of the widget. Prior to the L release, the only choice was
4992             spinner. As of L, with the Material theme selected, the default layout is calendar,
4993             but this attribute can be used to force spinner to be used instead. -->
4994        <attr name="datePickerMode">
4995            <!-- Date picker with spinner controls to select the date. -->
4996            <enum name="spinner" value="1" />
4997            <!-- Date picker with calendar to select the date. -->
4998            <enum name="calendar" value="2" />
4999        </attr>
5000
5001        <!-- The first year (inclusive), for example "1940".
5002             {@deprecated Use minDate instead.} -->
5003        <attr name="startYear" format="integer" />
5004        <!-- The last year (inclusive), for example "2010".
5005             {@deprecated Use maxDate instead.} -->
5006        <attr name="endYear" format="integer" />
5007        <!-- The text appearance for the month (ex. May) in the selected date header.
5008             {@deprecated Use headerTextColor instead.} -->
5009        <attr name="headerMonthTextAppearance" format="reference" />
5010        <!-- The text appearance for the day of month (ex. 28) in the selected date header.
5011             {@deprecated Use headerTextColor instead.} -->
5012        <attr name="headerDayOfMonthTextAppearance" format="reference" />
5013        <!-- The text appearance for the year (ex. 2014) in the selected date header.
5014             {@deprecated Use headerTextColor instead.} -->
5015        <attr name="headerYearTextAppearance" format="reference" />
5016        <!-- The background color for the header's day of week.
5017             {@deprecated No longer displayed.} -->
5018        <attr name="dayOfWeekBackground" format="color" />
5019        <!-- The text color for the header's day of week.
5020             {@deprecated No longer displayed.} -->
5021        <attr name="dayOfWeekTextAppearance" format="reference" />
5022        <!-- The list year's selected circle color in the list.
5023             {@deprecated No longer displayed.} -->
5024        <attr name="yearListSelectorColor" format="color" />
5025
5026        <!-- @hide Whether this time picker is being displayed within a dialog,
5027             in which case it may ignore the requested time picker mode due to
5028             space considerations. -->
5029        <attr name="dialogMode" format="boolean" />
5030    </declare-styleable>
5031
5032    <declare-styleable name="TwoLineListItem">
5033        <attr name="mode">
5034            <!-- Always show only the first line. -->
5035            <enum name="oneLine" value="1" />
5036            <!-- When selected show both lines, otherwise show only the first line.
5037                 This is the default mode. -->
5038            <enum name="collapsing" value="2" />
5039            <!-- Always show both lines. -->
5040            <enum name="twoLine" value="3" />
5041        </attr>
5042    </declare-styleable>
5043
5044    <!-- SlidingDrawer specific attributes. These attributes are used to configure
5045         a SlidingDrawer from XML. -->
5046    <declare-styleable name="SlidingDrawer">
5047        <!-- Identifier for the child that represents the drawer's handle. -->
5048        <attr name="handle" format="reference" />
5049        <!-- Identifier for the child that represents the drawer's content. -->
5050        <attr name="content" format="reference" />
5051        <!-- Orientation of the SlidingDrawer. -->
5052        <attr name="orientation" />
5053        <!-- Extra offset for the handle at the bottom of the SlidingDrawer. -->
5054        <attr name="bottomOffset" format="dimension"  />
5055        <!-- Extra offset for the handle at the top of the SlidingDrawer. -->
5056        <attr name="topOffset" format="dimension"  />
5057        <!-- Indicates whether the drawer can be opened/closed by a single tap
5058             on the handle.  (If false, the user must drag or fling, or click
5059             using the trackball, to open/close the drawer.)  Default is true. -->
5060        <attr name="allowSingleTap" format="boolean" />
5061        <!-- Indicates whether the drawer should be opened/closed with an animation
5062             when the user clicks the handle. Default is true. -->
5063        <attr name="animateOnClick" format="boolean" />
5064    </declare-styleable>
5065
5066    <!-- GestureOverlayView specific attributes. These attributes are used to configure
5067         a GestureOverlayView from XML. -->
5068    <declare-styleable name="GestureOverlayView">
5069        <!-- Width of the stroke used to draw the gesture. -->
5070        <attr name="gestureStrokeWidth" format="float" />
5071        <!-- Color used to draw a gesture. -->
5072        <attr name="gestureColor" format="color" />
5073        <!-- Color used to draw the user's strokes until we are sure it's a gesture. -->
5074        <attr name="uncertainGestureColor" format="color" />
5075        <!-- Time, in milliseconds, to wait before the gesture fades out after the user
5076             is done drawing it. -->
5077        <attr name="fadeOffset" format="integer" />
5078        <!-- Duration, in milliseconds, of the fade out effect after the user is done
5079             drawing a gesture. -->
5080        <attr name="fadeDuration" format="integer" />
5081        <!-- Defines the type of strokes that define a gesture. -->
5082        <attr name="gestureStrokeType">
5083            <!-- A gesture is made of only one stroke. -->
5084            <enum name="single" value="0" />
5085            <!-- A gesture is made of multiple strokes. -->
5086            <enum name="multiple" value="1" />
5087        </attr>
5088        <!-- Minimum length of a stroke before it is recognized as a gesture. -->
5089        <attr name="gestureStrokeLengthThreshold" format="float" />
5090        <!-- Squareness threshold of a stroke before it is recognized as a gesture. -->
5091        <attr name="gestureStrokeSquarenessThreshold" format="float" />
5092        <!-- Minimum curve angle a stroke must contain before it is recognized as a gesture. -->
5093        <attr name="gestureStrokeAngleThreshold" format="float" />
5094        <!-- Defines whether the overlay should intercept the motion events when a gesture
5095             is recognized. -->
5096        <attr name="eventsInterceptionEnabled" format="boolean" />
5097        <!-- Defines whether the gesture will automatically fade out after being recognized. -->
5098        <attr name="fadeEnabled" format="boolean" />
5099        <!-- Indicates whether horizontal (when the orientation is vertical) or vertical
5100             (when orientation is horizontal) strokes automatically define a gesture. -->
5101        <attr name="orientation" />
5102    </declare-styleable>
5103
5104    <declare-styleable name="QuickContactBadge">
5105        <attr name="quickContactWindowSize">
5106            <enum name="modeSmall" value="1" />
5107            <enum name="modeMedium" value="2" />
5108            <enum name="modeLarge" value="3" />
5109        </attr>
5110    </declare-styleable>
5111
5112    <!-- ======================================= -->
5113    <!-- Widget package parent layout attributes -->
5114    <!-- ======================================= -->
5115    <eat-comment />
5116
5117    <declare-styleable name="AbsoluteLayout_Layout">
5118        <attr name="layout_x" format="dimension" />
5119        <attr name="layout_y" format="dimension" />
5120    </declare-styleable>
5121    <declare-styleable name="LinearLayout_Layout">
5122        <attr name="layout_width" />
5123        <attr name="layout_height" />
5124        <!-- Indicates how much of the extra space in the LinearLayout is
5125        allocated to the view associated with these LayoutParams. Specify
5126        0 if the view should not be stretched. Otherwise the extra pixels
5127        will be pro-rated among all views whose weight is greater than 0. -->
5128        <attr name="layout_weight" format="float" />
5129        <!-- Gravity specifies how a component should be placed in its group of cells.
5130        The default is {@link android.view.Gravity#TOP}.
5131        See {@link android.widget.LinearLayout#setGravity(int)}. -->
5132        <attr name="layout_gravity" />
5133    </declare-styleable>
5134    <declare-styleable name="GridLayout_Layout">
5135        <!-- The row boundary delimiting the top of the group of cells
5136        occupied by this view. -->
5137        <attr name="layout_row" format="integer" />
5138        <!-- The row span: the difference between the top and bottom
5139        boundaries delimiting the group of cells occupied by this view.
5140        The default is one.
5141        See {@link android.widget.GridLayout.Spec}. -->
5142        <attr name="layout_rowSpan" format="integer" min="1" />
5143        <!-- The relative proportion of vertical space that should be allocated to this view
5144        during excess space distribution. -->
5145        <attr name="layout_rowWeight" format="float" />
5146        <!-- The column boundary delimiting the left of the group of cells
5147        occupied by this view. -->
5148        <attr name="layout_column" />
5149        <!-- The column span: the difference between the right and left
5150        boundaries delimiting the group of cells occupied by this view.
5151        The default is one.
5152        See {@link android.widget.GridLayout.Spec}. -->
5153        <attr name="layout_columnSpan" format="integer" min="1" />
5154        <!-- The relative proportion of horizontal space that should be allocated to this view
5155        during excess space distribution. -->
5156        <attr name="layout_columnWeight" format="float" />
5157        <!-- Gravity specifies how a component should be placed in its group of cells.
5158        The default is LEFT | BASELINE.
5159        See {@link android.widget.GridLayout.LayoutParams#setGravity(int)}. -->
5160        <attr name="layout_gravity" />
5161    </declare-styleable>
5162    <declare-styleable name="FrameLayout_Layout">
5163        <attr name="layout_gravity" />
5164    </declare-styleable>
5165    <declare-styleable name="RelativeLayout_Layout">
5166        <!-- Positions the right edge of this view to the left of the given anchor view ID.
5167             Accommodates right margin of this view and left margin of anchor view. -->
5168        <attr name="layout_toLeftOf" format="reference" />
5169        <!-- Positions the left edge of this view to the right of the given anchor view ID.
5170            Accommodates left margin of this view and right margin of anchor view. -->
5171        <attr name="layout_toRightOf" format="reference" />
5172        <!-- Positions the bottom edge of this view above the given anchor view ID.
5173            Accommodates bottom margin of this view and top margin of anchor view. -->
5174        <attr name="layout_above" format="reference" />
5175        <!-- Positions the top edge of this view below the given anchor view ID.
5176            Accommodates top margin of this view and bottom margin of anchor view. -->
5177        <attr name="layout_below" format="reference" />
5178        <!-- Positions the baseline of this view on the baseline of the given anchor view ID. -->
5179        <attr name="layout_alignBaseline" format="reference" />
5180        <!-- Makes the left edge of this view match the left edge of the given anchor view ID.
5181            Accommodates left margin. -->
5182        <attr name="layout_alignLeft" format="reference" />
5183        <!-- Makes the top edge of this view match the top edge of the given anchor view ID.
5184            Accommodates top margin. -->
5185        <attr name="layout_alignTop" format="reference" />
5186        <!-- Makes the right edge of this view match the right edge of the given anchor view ID.
5187            Accommodates right margin. -->
5188        <attr name="layout_alignRight" format="reference" />
5189        <!-- Makes the bottom edge of this view match the bottom edge of the given anchor view ID.
5190            Accommodates bottom margin. -->
5191        <attr name="layout_alignBottom" format="reference" />
5192        <!-- If true, makes the left edge of this view match the left edge of the parent.
5193            Accommodates left margin. -->
5194        <attr name="layout_alignParentLeft" format="boolean" />
5195        <!-- If true, makes the top edge of this view match the top edge of the parent.
5196            Accommodates top margin. -->
5197        <attr name="layout_alignParentTop" format="boolean" />
5198        <!-- If true, makes the right edge of this view match the right edge of the parent.
5199            Accommodates right margin. -->
5200        <attr name="layout_alignParentRight" format="boolean" />
5201        <!-- If true, makes the bottom edge of this view match the bottom edge of the parent.
5202            Accommodates bottom margin. -->
5203        <attr name="layout_alignParentBottom" format="boolean" />
5204        <!-- If true, centers this child horizontally and vertically within its parent. -->
5205        <attr name="layout_centerInParent" format="boolean" />
5206        <!-- If true, centers this child horizontally within its parent. -->
5207        <attr name="layout_centerHorizontal" format="boolean" />
5208        <!-- If true, centers this child vertically within its parent. -->
5209        <attr name="layout_centerVertical" format="boolean" />
5210        <!-- If set to true, the parent will be used as the anchor when the anchor cannot be
5211             be found for layout_toLeftOf, layout_toRightOf, etc. -->
5212        <attr name="layout_alignWithParentIfMissing" format="boolean" />
5213        <!-- Positions the end edge of this view to the start of the given anchor view ID.
5214             Accommodates end margin of this view and start margin of anchor view. -->
5215        <attr name="layout_toStartOf" format="reference" />
5216        <!-- Positions the start edge of this view to the end of the given anchor view ID.
5217             Accommodates start margin of this view and end margin of anchor view. -->
5218        <attr name="layout_toEndOf" format="reference" />
5219        <!-- Makes the start edge of this view match the start edge of the given anchor view ID.
5220            Accommodates start margin. -->
5221        <attr name="layout_alignStart" format="reference" />
5222        <!-- Makes the end edge of this view match the end edge of the given anchor view ID.
5223            Accommodates end margin. -->
5224        <attr name="layout_alignEnd" format="reference" />
5225        <!-- If true, makes the start edge of this view match the start edge of the parent.
5226            Accommodates start margin. -->
5227        <attr name="layout_alignParentStart" format="boolean" />
5228        <!-- If true, makes the end edge of this view match the end edge of the parent.
5229            Accommodates end margin. -->
5230        <attr name="layout_alignParentEnd" format="boolean" />
5231    </declare-styleable>
5232    <declare-styleable name="VerticalSlider_Layout">
5233        <attr name="layout_scale" format="float" />
5234    </declare-styleable>
5235
5236    <!-- @hide -->
5237    <declare-styleable name="WeightedLinearLayout">
5238        <attr name="majorWeightMin" format="float" />
5239        <attr name="minorWeightMin" format="float" />
5240        <attr name="majorWeightMax" format="float" />
5241        <attr name="minorWeightMax" format="float" />
5242    </declare-styleable>
5243
5244    <declare-styleable name="CalendarView">
5245        <!-- The first day of week according to {@link java.util.Calendar}. -->
5246        <attr name="firstDayOfWeek" format="integer" />
5247        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
5248        <attr name="minDate" />
5249        <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. -->
5250        <attr name="maxDate" />
5251        <!-- The text appearance for the month and year in the calendar header. -->
5252        <attr name="monthTextAppearance" format="reference" />
5253        <!-- The text appearance for the week day abbreviation in the calendar header. -->
5254        <attr name="weekDayTextAppearance" format="reference" />
5255        <!-- The text appearance for the day numbers in the calendar grid. -->
5256        <attr name="dateTextAppearance" format="reference" />
5257        <!-- @hide The background color used for the day selection indicator. -->
5258        <attr name="daySelectorColor" format="color" />
5259        <!-- @hide The background color used for the day highlight indicator. -->
5260        <attr name="dayHighlightColor" format="color" />
5261        <!-- @hide Which style of calendar delegate to use. -->
5262        <attr name="calendarViewMode">
5263            <enum name="holo" value="0" />
5264            <enum name="material" value="1" />
5265        </attr>
5266
5267        <!-- @deprecated Whether do show week numbers. -->
5268        <attr name="showWeekNumber" format="boolean" />
5269        <!-- @deprecated The number of weeks to be shown. -->
5270        <attr name="shownWeekCount" format="integer"/>
5271        <!-- @deprecated The background color for the selected week. -->
5272        <attr name="selectedWeekBackgroundColor" format="color|reference" />
5273        <!-- @deprecated The color for the dates of the focused month. -->
5274        <attr name="focusedMonthDateColor" format="color|reference" />
5275        <!-- @deprecated The color for the dates of an unfocused month. -->
5276        <attr name="unfocusedMonthDateColor" format="color|reference" />
5277        <!-- @deprecated The color for the week numbers. -->
5278        <attr name="weekNumberColor" format="color|reference" />
5279        <!-- @deprecated The color for the separator line between weeks. -->
5280        <attr name="weekSeparatorLineColor" format="color|reference" />
5281        <!-- @deprecated Drawable for the vertical bar shown at the beginning and at the end of the selected date. -->
5282        <attr name="selectedDateVerticalBar" format="reference" />
5283    </declare-styleable>
5284
5285    <declare-styleable name="NumberPicker">
5286        <!-- @hide Color for the solid color background if such for optimized rendering. -->
5287        <attr name="solidColor" format="color|reference" />
5288        <!-- @hide The divider for making the selection area. -->
5289        <attr name="selectionDivider" format="reference" />
5290        <!-- @hide The height of the selection divider. -->
5291        <attr name="selectionDividerHeight" format="dimension" />
5292        <!-- @hide The distance between the two selection dividers. -->
5293        <attr name="selectionDividersDistance" format="dimension" />
5294        <!-- @hide The min height of the NumberPicker. -->
5295        <attr name="internalMinHeight" format="dimension" />
5296        <!-- @hide The max height of the NumberPicker. -->
5297        <attr name="internalMaxHeight" format="dimension" />
5298        <!-- @hide The min width of the NumberPicker. -->
5299        <attr name="internalMinWidth" format="dimension" />
5300        <!-- @hide The max width of the NumberPicker. -->
5301        <attr name="internalMaxWidth" format="dimension" />
5302        <!-- @hide The layout of the number picker. -->
5303        <attr name="internalLayout" />
5304        <!-- @hide The drawable for pressed virtual (increment/decrement) buttons. -->
5305        <attr name="virtualButtonPressedDrawable" format="reference"/>
5306        <!-- @hide If true then the selector wheel is hidden until the picker has focus. -->
5307        <attr name="hideWheelUntilFocused" format="boolean"/>
5308    </declare-styleable>
5309
5310    <declare-styleable name="TimePicker">
5311        <!-- @hide The layout of the legacy time picker. -->
5312        <attr name="legacyLayout" format="reference" />
5313        <!-- @hide The layout of the time picker. -->
5314        <attr name="internalLayout" />
5315
5316        <!-- The text color for the selected time header text, ex. "12" or
5317             "PM". This should be a color state list where the activated state
5318             will be used when the minute picker or hour picker is active.-->
5319        <attr name="headerTextColor" />
5320        <!-- The background for the header containing the currently selected time. -->
5321        <attr name="headerBackground" />
5322
5323        <!-- The color for the hours/minutes numbers. This should be a color
5324             state list where the activated state will be used when the number
5325             is active.-->
5326        <attr name="numbersTextColor" format="color" />
5327        <!-- The color for the inner hours numbers used in 24-hour mode. This
5328             should be a color state list where the activated state will be
5329             used when the number is active.-->
5330        <attr name="numbersInnerTextColor" format="color" />
5331        <!-- The background color for the hours/minutes numbers. -->
5332        <attr name="numbersBackgroundColor" format="color" />
5333        <!-- The color for the hours/minutes selector. -->
5334        <attr name="numbersSelectorColor" format="color" />
5335
5336        <!-- Defines the look of the widget. Prior to the L release, the only choice was
5337             spinner. As of L, with the Material theme selected, the default layout is clock,
5338             but this attribute can be used to force spinner to be used instead. -->
5339        <attr name="timePickerMode">
5340            <!-- Time picker with spinner controls to select the time. -->
5341            <enum name="spinner" value="1" />
5342            <!-- Time picker with clock face to select the time. -->
5343            <enum name="clock" value="2" />
5344        </attr>
5345
5346        <!-- The text appearance for the AM/PM header.
5347             @deprecated Use headerTextColor instead. -->
5348        <attr name="headerAmPmTextAppearance" format="reference" />
5349        <!-- The text appearance for the time header.
5350             @deprecated Use headerTextColor instead. -->
5351        <attr name="headerTimeTextAppearance" format="reference" />
5352        <!-- The color for the AM/PM selectors.
5353             {@deprecated Use headerTextColor instead.}-->
5354        <attr name="amPmTextColor" format="color" />
5355        <!-- The background color state list for the AM/PM selectors.
5356             {@deprecated Use headerBackground instead.}-->
5357        <attr name="amPmBackgroundColor" format="color" />
5358
5359        <!-- @hide Whether this time picker is being displayed within a dialog,
5360             in which case it may ignore the requested time picker mode due to
5361             space considerations. -->
5362        <attr name="dialogMode" />
5363    </declare-styleable>
5364
5365    <!-- ========================= -->
5366    <!-- Drawable class attributes -->
5367    <!-- ========================= -->
5368    <eat-comment />
5369
5370    <!-- Base attributes that are available to all Drawable objects. -->
5371    <declare-styleable name="Drawable">
5372        <!-- Provides initial visibility state of the drawable; the default
5373             value is false.  See
5374             {@link android.graphics.drawable.Drawable#setVisible}. -->
5375        <attr name="visible" format="boolean" />
5376        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5377             RTL (right-to-left).  See
5378             {@link android.graphics.drawable.Drawable#setAutoMirrored}. -->
5379        <attr name="autoMirrored" format="boolean" />
5380    </declare-styleable>
5381
5382    <!-- Drawable class used to wrap other drawables. -->
5383    <declare-styleable name="DrawableWrapper">
5384        <!-- The wrapped drawable. -->
5385        <attr name="drawable" />
5386    </declare-styleable>
5387
5388    <!-- Drawable used to render several states. Each state is represented by
5389         a child drawable. -->
5390    <declare-styleable name="StateListDrawable">
5391        <!-- Indicates whether the drawable should be initially visible. -->
5392        <attr name="visible" />
5393        <!-- If true, allows the drawable's padding to change based on the
5394             current state that is selected.  If false, the padding will
5395             stay the same (based on the maximum padding of all the states).
5396             Enabling this feature requires that the owner of the drawable
5397             deal with performing layout when the state changes, which is
5398             often not supported. -->
5399        <attr name="variablePadding" format="boolean" />
5400        <!-- If true, the drawable's reported internal size will remain
5401             constant as the state changes; the size is the maximum of all
5402             of the states.  If false, the size will vary based on the
5403             current state. -->
5404        <attr name="constantSize" format="boolean" />
5405        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5406             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5407             an RGB 565 screen). -->
5408        <attr name="dither" format="boolean" />
5409        <!-- Amount of time (in milliseconds) to fade in a new state drawable. -->
5410        <attr name="enterFadeDuration" format="integer" />
5411        <!-- Amount of time (in milliseconds) to fade out an old state drawable. -->
5412        <attr name="exitFadeDuration" format="integer" />
5413        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5414             RTL (right-to-left). -->
5415        <attr name="autoMirrored"/>
5416    </declare-styleable>
5417
5418    <!-- Drawable used to render several states with animated transitions. Each state
5419         is represented by a child drawable with an optional keyframe ID. -->
5420    <declare-styleable name="AnimatedStateListDrawable">
5421        <!-- Indicates whether the drawable should be initially visible. -->
5422        <attr name="visible" />
5423        <!-- If true, allows the drawable's padding to change based on the
5424             current state that is selected.  If false, the padding will
5425             stay the same (based on the maximum padding of all the states).
5426             Enabling this feature requires that the owner of the drawable
5427             deal with performing layout when the state changes, which is
5428             often not supported. -->
5429        <attr name="variablePadding" />
5430        <!-- If true, the drawable's reported internal size will remain
5431             constant as the state changes; the size is the maximum of all
5432             of the states.  If false, the size will vary based on the
5433             current state. -->
5434        <attr name="constantSize" />
5435        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5436             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5437             an RGB 565 screen). -->
5438        <attr name="dither" />
5439        <!-- Amount of time (in milliseconds) to fade in a new state drawable. -->
5440        <attr name="enterFadeDuration" />
5441        <!-- Amount of time (in milliseconds) to fade out an old state drawable. -->
5442        <attr name="exitFadeDuration" />
5443        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5444             RTL (right-to-left). -->
5445        <attr name="autoMirrored"/>
5446    </declare-styleable>
5447
5448    <!-- Represents a single state inside a StateListDrawable. -->
5449    <declare-styleable name="StateListDrawableItem">
5450        <!-- Reference to a drawable resource to use for the state. If not
5451             given, the drawable must be defined by the first child tag. -->
5452        <attr name="drawable" />
5453    </declare-styleable>
5454
5455    <!-- Transition used to animate between states with keyframe IDs. -->
5456    <declare-styleable name="AnimatedStateListDrawableItem">
5457        <!-- Reference to a drawable resource to use for the frame.  If not
5458             given, the drawable must be defined by the first child tag. -->
5459        <attr name="drawable" />
5460        <!-- Keyframe identifier for use in specifying transitions. -->
5461        <attr name="id" />
5462    </declare-styleable>
5463
5464    <!-- Transition used to animate between states with keyframe IDs. -->
5465    <declare-styleable name="AnimatedStateListDrawableTransition">
5466        <!-- Keyframe identifier for the starting state. -->
5467        <attr name="fromId" format="reference" />
5468        <!-- Keyframe identifier for the ending state. -->
5469        <attr name="toId" format="reference" />
5470        <!-- Reference to a animation drawable resource to use for the frame.  If not
5471             given, the animation drawable must be defined by the first child tag. -->
5472        <attr name="drawable" />
5473        <!-- Whether this transition is reversible. -->
5474        <attr name="reversible" format="boolean" />
5475    </declare-styleable>
5476
5477    <!-- Drawable used to render several animated frames. -->
5478    <declare-styleable name="AnimationDrawable">
5479        <attr name="visible" />
5480        <attr name="variablePadding" />
5481        <!-- If true, the animation will only run a single time and then
5482             stop.  If false (the default), it will continually run,
5483             restarting at the first frame after the last has finished. -->
5484        <attr name="oneshot" format="boolean" />
5485    </declare-styleable>
5486
5487    <!-- Represents a single frame inside an AnimationDrawable. -->
5488    <declare-styleable name="AnimationDrawableItem">
5489        <!-- Amount of time (in milliseconds) to display this frame. -->
5490        <attr name="duration" format="integer" />
5491        <!-- Reference to a drawable resource to use for the frame.  If not
5492             given, the drawable must be defined by the first child tag. -->
5493        <attr name="drawable" format="reference" />
5494    </declare-styleable>
5495
5496    <!-- Attributes that can be assigned to a StateListAnimator item. -->
5497    <declare-styleable name="StateListAnimatorItem">
5498        <attr name="animation"/>
5499    </declare-styleable>
5500
5501    <!-- Attributes that can be assigned to a ColorStateList item. -->
5502    <declare-styleable name="ColorStateListItem">
5503        <!-- Base color for this state. -->
5504        <attr name="color" />
5505        <!-- Alpha multiplier applied to the base color. -->
5506        <attr name="alpha" />
5507    </declare-styleable>
5508
5509    <!-- Drawable used to render according to the animation scale. Esp. when it is 0 due to battery
5510         saver mode. It should contain one animatable drawable and one static drawable.
5511         @hide -->
5512    <declare-styleable name="AnimationScaleListDrawable">
5513    </declare-styleable>
5514
5515    <!-- Attributes that can be assigned to a AnimationScaleListDrawable item.
5516         @hide -->
5517    <declare-styleable name="AnimationScaleListDrawableItem">
5518        <!-- Reference to a drawable resource to use for the state. If not
5519             given, the drawable must be defined by the first child tag. -->
5520        <attr name="drawable" />
5521    </declare-styleable>
5522
5523
5524    <!-- Drawable used to render a geometric shape, with a gradient or a solid color. -->
5525    <declare-styleable name="GradientDrawable">
5526        <!-- Indicates whether the drawable should intially be visible. -->
5527        <attr name="visible" />
5528        <!-- Enables or disables dithering. -->
5529        <attr name="dither" />
5530        <!-- Indicates what shape to fill with a gradient. -->
5531        <attr name="shape">
5532            <!-- Rectangle shape, with optional rounder corners. -->
5533            <enum name="rectangle" value="0" />
5534            <!-- Oval shape. -->
5535            <enum name="oval" value="1" />
5536            <!-- Line shape. -->
5537            <enum name="line" value="2" />
5538            <!-- Ring shape. -->
5539            <enum name="ring" value="3" />
5540        </attr>
5541        <!-- Inner radius of the ring expressed as a ratio of the ring's width. For instance,
5542             if innerRadiusRatio=9, then the inner radius equals the ring's width divided by 9.
5543             This value is ignored if innerRadius is defined. Default value is 9. -->
5544        <attr name="innerRadiusRatio" format="float" />
5545        <!-- Thickness of the ring expressed as a ratio of the ring's width. For instance,
5546             if thicknessRatio=3, then the thickness equals the ring's width divided by 3.
5547             This value is ignored if innerRadius is defined. Default value is 3. -->
5548        <attr name="thicknessRatio" format="float" />
5549        <!-- Inner radius of the ring. When defined, innerRadiusRatio is ignored. -->
5550        <attr name="innerRadius" format="dimension" />
5551        <!-- Thickness of the ring. When defined, thicknessRatio is ignored. -->
5552        <attr name="thickness" format="dimension" />
5553        <!-- Whether the drawable level value (see
5554             {@link android.graphics.drawable.Drawable#getLevel()}) is used to scale the shape.
5555             Scaling behavior depends on the shape type. For "ring", the angle is scaled from 0 to
5556             360. For all other types, there is no effect. The default value is true. -->
5557        <attr name="useLevel" />
5558        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5559             no tint is applied. May be a color state list. -->
5560        <attr name="tint" />
5561        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5562             default value is src_in, which treats the drawable as an alpha mask. -->
5563        <attr name="tintMode" />
5564        <!-- Left optical inset.
5565             @hide Until optical insets are fully supported. -->
5566        <attr name="opticalInsetLeft" />
5567        <!-- Top optical inset.
5568             @hide Until optical insets are fully supported. -->
5569        <attr name="opticalInsetTop" />
5570        <!-- Right optical inset.
5571             @hide Until optical insets are fully supported. -->
5572        <attr name="opticalInsetRight" />
5573        <!-- Bottom optical inset.
5574             @hide Until optical insets are fully supported. -->
5575        <attr name="opticalInsetBottom" />
5576    </declare-styleable>
5577
5578    <!-- Used to specify the size of the shape for GradientDrawable. -->
5579    <declare-styleable name="GradientDrawableSize">
5580        <!-- Width of the gradient shape. -->
5581        <attr name="width" />
5582        <!-- Height of the gradient shape. -->
5583        <attr name="height" />
5584    </declare-styleable>
5585
5586    <!-- Used to describe the gradient used to fill the shape of a GradientDrawable. -->
5587    <declare-styleable name="GradientDrawableGradient">
5588        <!-- Start color of the gradient. -->
5589        <attr name="startColor" format="color" />
5590        <!-- Optional center color. For linear gradients, use centerX or centerY to place the center
5591             color. -->
5592        <attr name="centerColor" format="color" />
5593        <!-- End color of the gradient. -->
5594        <attr name="endColor" format="color" />
5595        <!-- Whether the drawable level value (see
5596             {@link android.graphics.drawable.Drawable#getLevel()}) is used to scale the gradient.
5597             Scaling behavior varies based on gradient type. For "linear", adjusts the ending
5598             position along the gradient's axis of orientation. For "radial", adjusts the outer
5599             radius. For "sweep", adjusts the ending angle. The default value is false. -->
5600        <attr name="useLevel" format="boolean" />
5601        <!-- Angle of the gradient, used only with linear gradient. Must be a multiple of 45 in the
5602             range [0, 315]. -->
5603        <attr name="angle" format="float" />
5604        <!-- Type of gradient. The default type is linear. -->
5605        <attr name="type">
5606            <!-- Linear gradient extending across the center point. -->
5607            <enum name="linear" value="0" />
5608            <!-- Radial gradient extending from the center point outward. -->
5609            <enum name="radial" value="1" />
5610            <!-- Sweep (or angular) gradient sweeping counter-clockwise around the center point. -->
5611            <enum name="sweep"  value="2" />
5612        </attr>
5613        <!-- X-position of the center point of the gradient within the shape as a fraction of the
5614             width. The default value is 0.5. -->
5615        <attr name="centerX" format="float|fraction" />
5616        <!-- Y-position of the center point of the gradient within the shape as a fraction of the
5617             height. The default value is 0.5. -->
5618        <attr name="centerY" format="float|fraction" />
5619        <!-- Radius of the gradient, used only with radial gradient. May be an explicit dimension
5620             or a fractional value relative to the shape's minimum dimension. -->
5621        <attr name="gradientRadius" format="float|fraction|dimension" />
5622    </declare-styleable>
5623
5624    <!-- Used to fill the shape of GradientDrawable with a solid color. -->
5625    <declare-styleable name="GradientDrawableSolid">
5626        <!-- Solid color for the gradient shape. -->
5627        <attr name="color" format="color" />
5628    </declare-styleable>
5629
5630    <!-- Used to describe the optional stroke of a GradientDrawable. -->
5631    <declare-styleable name="GradientDrawableStroke">
5632        <!-- Width of the gradient shape's stroke. -->
5633        <attr name="width" />
5634        <!-- Color of the gradient shape's stroke. -->
5635        <attr name="color" />
5636        <!-- Length of a dash in the stroke. -->
5637        <attr name="dashWidth" format="dimension" />
5638        <!-- Gap between dashes in the stroke. -->
5639        <attr name="dashGap" format="dimension" />
5640    </declare-styleable>
5641
5642    <!-- Describes the corners for the rectangle shape of a GradientDrawable.
5643         This can be used to render rounded corners. -->
5644    <declare-styleable name="DrawableCorners">
5645        <!-- Defines the radius of the four corners. -->
5646        <attr name="radius" format="dimension" />
5647        <!-- Radius of the top left corner. -->
5648        <attr name="topLeftRadius" format="dimension" />
5649        <!-- Radius of the top right corner. -->
5650        <attr name="topRightRadius" format="dimension" />
5651        <!-- Radius of the bottom left corner. -->
5652        <attr name="bottomLeftRadius" format="dimension" />
5653        <!-- Radius of the bottom right corner. -->
5654        <attr name="bottomRightRadius" format="dimension" />
5655    </declare-styleable>
5656
5657    <!-- Used to specify the optional padding of a GradientDrawable. -->
5658    <declare-styleable name="GradientDrawablePadding">
5659        <!-- Amount of left padding inside the gradient shape. -->
5660        <attr name="left" format="dimension" />
5661        <!-- Amount of top padding inside the gradient shape. -->
5662        <attr name="top" format="dimension" />
5663        <!-- Amount of right padding inside the gradient shape. -->
5664        <attr name="right" format="dimension" />
5665        <!-- Amount of bottom padding inside the gradient shape. -->
5666        <attr name="bottom" format="dimension" />
5667    </declare-styleable>
5668
5669    <!-- Drawable used to render several drawables stacked on top of each other.
5670         Each child drawable can be controlled individually. -->
5671    <declare-styleable name="LayerDrawable">
5672        <!-- Indicates the opacity of the layer. This can be useful to allow the
5673              system to enable drawing optimizations. The default value is
5674              translucent. -->
5675        <attr name="opacity">
5676            <!-- Indicates that the layer is opaque and contains no transparent
5677                 nor translucent pixels. -->
5678            <enum name="opaque" value="-1" />
5679            <!-- The layer is completely transparent (no pixel will be drawn). -->
5680            <enum name="transparent" value="-2" />
5681            <!-- The layer has translucent pixels. -->
5682            <enum name="translucent" value="-3" />
5683        </attr>
5684        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5685             RTL (right-to-left). -->
5686        <attr name="autoMirrored" />
5687        <!-- Indicates how layer padding should affect the bounds of subsequent layers.
5688             The default padding mode value is nest. -->
5689        <attr name="paddingMode">
5690            <!-- Nest each layer inside the padding of the previous layer. -->
5691            <enum name="nest" value="0" />
5692            <!-- Stack each layer directly atop the previous layer. -->
5693            <enum name="stack" value="1" />
5694        </attr>
5695        <!-- Explicit top padding. Overrides child padding. -->
5696        <attr name="paddingTop" />
5697        <!-- Explicit bottom padding. Overrides child padding. -->
5698        <attr name="paddingBottom" />
5699        <!-- Explicit left padding. Overrides child padding. -->
5700        <attr name="paddingLeft" />
5701        <!-- Explicit right padding. Overrides child padding. -->
5702        <attr name="paddingRight" />
5703        <!-- Explicit start padding. Overrides child padding. Takes precedence
5704             over absolute padding (for example, left when layout direction is LTR). -->
5705        <attr name="paddingStart" />
5706        <!-- Explicit end padding. Overrides child padding. Takes precedence
5707             over absolute padding (for example, right when layout direction is LTR). -->
5708        <attr name="paddingEnd" />
5709    </declare-styleable>
5710
5711    <!-- Describes an item (or child) of a LayerDrawable. -->
5712    <declare-styleable name="LayerDrawableItem">
5713        <!-- Left inset to apply to the layer. -->
5714        <attr name="left" />
5715        <!-- Top inset to apply to the layer. -->
5716        <attr name="top" />
5717        <!-- Right inset to apply to the layer. -->
5718        <attr name="right" />
5719        <!-- Bottom inset to apply to the layer. -->
5720        <attr name="bottom" />
5721        <!-- Start inset to apply to the layer. Overrides {@code left} or
5722             {@code right} depending on layout direction. -->
5723        <attr name="start" format="dimension" />
5724        <!-- End inset to apply to the layer. Overrides {@code left} or
5725             {@code right} depending on layout direction. -->
5726        <attr name="end" format="dimension" />
5727        <!-- Width of the layer. Defaults to the layer's intrinsic width. -->
5728        <attr name="width" />
5729        <!-- Height of the layer. Defaults to the layer's intrinsic height. -->
5730        <attr name="height" />
5731        <!-- Gravity used to align the layer within its container. If no value
5732             is specified, the default behavior depends on whether an explicit
5733             width or height has been set, If no dimension is set, gravity in
5734             that direction defaults to {@code fill_horizontal} or
5735             {@code fill_vertical}; otherwise, it defaults to {@code left} or
5736             {@code top}. -->
5737        <attr name="gravity" />
5738        <!-- Drawable used to render the layer. -->
5739        <attr name="drawable" />
5740        <!-- Identifier of the layer. This can be used to retrieve the layer
5741             from a drawable container. -->
5742        <attr name="id" />
5743    </declare-styleable>
5744
5745    <declare-styleable name="LevelListDrawableItem">
5746        <!-- The minimum level allowed for this item. -->
5747        <attr name="minLevel" format="integer" />
5748        <!-- The maximum level allowed for this item. -->
5749        <attr name="maxLevel" format="integer" />
5750        <attr name="drawable" />
5751    </declare-styleable>
5752
5753    <!-- Drawable used to rotate another drawable. -->
5754    <declare-styleable name="RotateDrawable">
5755        <attr name="visible" />
5756        <attr name="fromDegrees" format="float" />
5757        <attr name="toDegrees" format="float" />
5758        <attr name="pivotX" format="float|fraction" />
5759        <attr name="pivotY" format="float|fraction" />
5760        <attr name="drawable" />
5761    </declare-styleable>
5762
5763    <declare-styleable name="AnimatedRotateDrawable">
5764        <attr name="visible" />
5765        <attr name="frameDuration" format="integer" />
5766        <attr name="framesCount" format="integer" />
5767        <attr name="pivotX" />
5768        <attr name="pivotY" />
5769        <attr name="drawable" />
5770    </declare-styleable>
5771
5772    <!-- Drawable used to render the Material progress indicator. -->
5773    <declare-styleable name="MaterialProgressDrawable">
5774        <attr name="visible" />
5775        <attr name="thickness" />
5776        <attr name="innerRadius" />
5777        <attr name="width" />
5778        <attr name="height" />
5779        <attr name="color" />
5780    </declare-styleable>
5781
5782    <!-- Drawable used to wrap and inset another drawable. -->
5783    <declare-styleable name="InsetDrawable">
5784        <attr name="visible" />
5785        <attr name="drawable" />
5786        <attr name="inset"  format="fraction|dimension"/>
5787        <attr name="insetLeft" format="fraction|dimension" />
5788        <attr name="insetRight" format="fraction|dimension" />
5789        <attr name="insetTop" format="fraction|dimension" />
5790        <attr name="insetBottom" format="fraction|dimension" />
5791    </declare-styleable>
5792
5793    <!-- Drawable used to draw bitmaps. -->
5794    <declare-styleable name="BitmapDrawable">
5795        <!-- Identifier of the bitmap file. This attribute is mandatory. -->
5796        <attr name="src" />
5797        <!-- Enables or disables antialiasing. Antialiasing can be used to smooth the
5798             edges of a bitmap when rotated. Default value is false. -->
5799        <attr name="antialias" format="boolean" />
5800        <!-- Enables or disables bitmap filtering. Filtering is used when the bitmap is
5801             shrunk or stretched to smooth its apperance. Default value is true. -->
5802        <attr name="filter" format="boolean" />
5803        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5804             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5805             an RGB 565 screen). Default value is true. -->
5806        <attr name="dither" />
5807        <!-- Defines the gravity for the bitmap. The gravity indicates where to position
5808             the drawable in its container if the bitmap is smaller than the container. -->
5809        <attr name="gravity" />
5810        <!-- Defines the tile mode. When the tile mode is enabled, the bitmap is repeated.
5811             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5812        <attr name="tileMode">
5813            <!-- Do not tile the bitmap. This is the default value. -->
5814            <enum name="disabled" value="-1" />
5815            <!-- Replicates the edge color. -->
5816            <enum name="clamp" value="0" />
5817            <!-- Repeats the bitmap in both direction. -->
5818            <enum name="repeat" value="1" />
5819            <!-- Repeats the shader's image horizontally and vertically, alternating
5820                 mirror images so that adjacent images always seam. -->
5821            <enum name="mirror" value="2" />
5822        </attr>
5823        <!-- Defines the horizontal tile mode. When the tile mode is enabled, the bitmap is repeated.
5824             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5825        <attr name="tileModeX">
5826            <!-- Do not tile the bitmap. This is the default value. -->
5827            <enum name="disabled" value="-1" />
5828            <!-- Replicates the edge color. -->
5829            <enum name="clamp" value="0" />
5830            <!-- Repeats the bitmap horizontally. -->
5831            <enum name="repeat" value="1" />
5832            <!-- Repeats the shader's image horizontally, alternating
5833                 mirror images so that adjacent images always seam. -->
5834            <enum name="mirror" value="2" />
5835        </attr>
5836        <!-- Defines the vertical tile mode. When the tile mode is enabled, the bitmap is repeated.
5837             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5838        <attr name="tileModeY">
5839            <!-- Do not tile the bitmap. This is the default value. -->
5840            <enum name="disabled" value="-1" />
5841            <!-- Replicates the edge color. -->
5842            <enum name="clamp" value="0" />
5843            <!-- Repeats the bitmap vertically. -->
5844            <enum name="repeat" value="1" />
5845            <!-- Repeats the shader's image vertically, alternating
5846                 mirror images so that adjacent images always seam. -->
5847            <enum name="mirror" value="2" />
5848        </attr>
5849        <!-- Enables or disables the mipmap hint. See
5850            {@link android.graphics.Bitmap#setHasMipMap(boolean)} for more information.
5851            Default value is false. -->
5852        <attr name="mipMap" format="boolean" />
5853        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5854             RTL (right-to-left). -->
5855        <attr name="autoMirrored" />
5856        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5857             no tint is applied. May be a color state list. -->
5858        <attr name="tint" />
5859        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5860             default value is src_in, which treats the drawable as an alpha mask. -->
5861        <attr name="tintMode">
5862            <!-- The tint is drawn on top of the drawable.
5863                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
5864            <enum name="src_over" value="3" />
5865            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
5866                 color channels are thrown out. [Sa * Da, Sc * Da] -->
5867            <enum name="src_in" value="5" />
5868            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
5869                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
5870            <enum name="src_atop" value="9" />
5871            <!-- Multiplies the color and alpha channels of the drawable with those of
5872                 the tint. [Sa * Da, Sc * Dc] -->
5873            <enum name="multiply" value="14" />
5874            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
5875            <enum name="screen" value="15" />
5876            <!-- Combines the tint and drawable color and alpha channels, clamping the
5877                 result to valid color values. Saturate(S + D) -->
5878            <enum name="add" value="16" />
5879        </attr>
5880        <!-- Specifies the alpha multiplier to apply to the base drawable. -->
5881        <attr name="alpha" />
5882    </declare-styleable>
5883
5884    <!-- Drawable used to draw 9-patches. -->
5885    <declare-styleable name="NinePatchDrawable">
5886        <!-- Identifier of the bitmap file. This attribute is mandatory. -->
5887        <attr name="src" />
5888        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5889             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5890             an RGB 565 screen). -->
5891        <attr name="dither" />
5892        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5893             RTL (right-to-left). -->
5894        <attr name="autoMirrored" />
5895        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5896             no tint is applied. May be a color state list. -->
5897        <attr name="tint" />
5898        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5899             default value is src_in, which treats the drawable as an alpha mask. -->
5900        <attr name="tintMode" />
5901        <!-- Specifies the alpha multiplier to apply to the base drawable. -->
5902        <attr name="alpha" />
5903    </declare-styleable>
5904
5905    <!-- Drawable used to draw a single color. -->
5906    <declare-styleable name="ColorDrawable">
5907        <!-- The color to use. -->
5908        <attr name="color" />
5909    </declare-styleable>
5910
5911    <!-- Drawable used to draw adaptive icons with foreground and background layers. -->
5912    <declare-styleable name="AdaptiveIconDrawableLayer">
5913        <!-- The drawable to use for the layer. -->
5914        <attr name="drawable" />
5915     </declare-styleable>
5916
5917    <!-- Drawable used to show animated touch feedback. -->
5918    <declare-styleable name="RippleDrawable">
5919        <!-- The color to use for ripple effects. This attribute is required. -->
5920        <attr name="color" />
5921        <!-- The radius of the ripple when fully expanded. By default, the
5922             radius is computed based on the size of the ripple's container. -->
5923        <attr name="radius" />
5924    </declare-styleable>
5925
5926    <declare-styleable name="ScaleDrawable">
5927        <!-- Scale width, expressed as a percentage of the drawable's bound. The value's
5928             format is XX%. For instance: 100%, 12.5%, etc.-->
5929        <attr name="scaleWidth" format="string" />
5930        <!-- Scale height, expressed as a percentage of the drawable's bound. The value's
5931             format is XX%. For instance: 100%, 12.5%, etc.-->
5932        <attr name="scaleHeight" format="string" />
5933        <!-- Specifies where the drawable is positioned after scaling. The default value is
5934             left. -->
5935        <attr name="scaleGravity">
5936            <!-- Push object to the top of its container, not changing its size. -->
5937            <flag name="top" value="0x30" />
5938            <!-- Push object to the bottom of its container, not changing its size. -->
5939            <flag name="bottom" value="0x50" />
5940            <!-- Push object to the left of its container, not changing its size. -->
5941            <flag name="left" value="0x03" />
5942            <!-- Push object to the right of its container, not changing its size. -->
5943            <flag name="right" value="0x05" />
5944            <!-- Place object in the vertical center of its container, not changing its size. -->
5945            <flag name="center_vertical" value="0x10" />
5946            <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
5947            <flag name="fill_vertical" value="0x70" />
5948            <!-- Place object in the horizontal center of its container, not changing its size. -->
5949            <flag name="center_horizontal" value="0x01" />
5950            <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
5951            <flag name="fill_horizontal" value="0x07" />
5952            <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
5953            <flag name="center" value="0x11" />
5954            <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
5955            <flag name="fill" value="0x77" />
5956            <!-- Additional option that can be set to have the top and/or bottom edges of
5957                 the child clipped to its container's bounds.
5958                 The clip will be based on the vertical gravity: a top gravity will clip the bottom
5959                 edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
5960            <flag name="clip_vertical" value="0x80" />
5961            <!-- Additional option that can be set to have the left and/or right edges of
5962                 the child clipped to its container's bounds.
5963                 The clip will be based on the horizontal gravity: a left gravity will clip the right
5964                 edge, a right gravity will clip the left edge, and neither will clip both edges. -->
5965            <flag name="clip_horizontal" value="0x08" />
5966            <!-- Push object to the beginning of its container, not changing its size. -->
5967            <flag name="start" value="0x00800003" />
5968            <!-- Push object to the end of its container, not changing its size. -->
5969            <flag name="end" value="0x00800005" />
5970        </attr>
5971        <!-- Specifies the initial drawable level in the range 0 to 10000. -->
5972        <attr name="level" format="integer" />
5973        <!-- Reference to a drawable resource to draw with the specified scale. -->
5974        <attr name="drawable" />
5975        <!-- Use the drawable's intrinsic width and height as minimum size values.
5976             Useful if the target drawable is a 9-patch or otherwise should not be scaled
5977             down beyond a minimum size. -->
5978        <attr name="useIntrinsicSizeAsMinimum" format="boolean" />
5979    </declare-styleable>
5980
5981    <declare-styleable name="ClipDrawable">
5982        <!-- The orientation for the clip. -->
5983        <attr name="clipOrientation">
5984            <!-- Clip the drawable horizontally. -->
5985            <flag name="horizontal" value="1" />
5986            <!-- Clip the drawable vertically. -->
5987            <flag name="vertical" value="2" />
5988        </attr>
5989        <!-- Specifies where to clip within the drawable. The default value is
5990             left. -->
5991        <attr name="gravity" />
5992        <!-- Reference to a drawable resource to draw with the specified scale. -->
5993        <attr name="drawable" />
5994    </declare-styleable>
5995
5996    <!-- Defines the padding of a ShapeDrawable. -->
5997    <declare-styleable name="ShapeDrawablePadding">
5998        <!-- Left padding. -->
5999        <attr name="left" />
6000        <!-- Top padding. -->
6001        <attr name="top" />
6002        <!-- Right padding. -->
6003        <attr name="right" />
6004        <!-- Bottom padding. -->
6005        <attr name="bottom" />
6006    </declare-styleable>
6007
6008    <!-- Drawable used to draw shapes. -->
6009    <declare-styleable name="ShapeDrawable">
6010        <!-- Defines the color of the shape. -->
6011        <attr name="color" />
6012        <!-- Defines the width of the shape. -->
6013        <attr name="width" />
6014        <!-- Defines the height of the shape. -->
6015        <attr name="height" />
6016        <!-- Enables or disables dithering. -->
6017        <attr name="dither" />
6018        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
6019             no tint is applied. May be a color state list. -->
6020        <attr name="tint" />
6021        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
6022             default value is src_in, which treats the drawable as an alpha mask. -->
6023        <attr name="tintMode" />
6024    </declare-styleable>
6025
6026    <!-- ========================== -->
6027    <!--   VectorDrawable class   -->
6028    <!-- ========================== -->
6029    <eat-comment />
6030
6031    <!-- Drawable used to draw vector paths. -->
6032    <declare-styleable name="VectorDrawable">
6033        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
6034             no tint is applied. May be a color state list. -->
6035        <attr name="tint" />
6036        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
6037             default value is src_in, which treats the drawable as an alpha mask. -->
6038        <attr name="tintMode" />
6039        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
6040             RTL (right-to-left). -->
6041        <attr name="autoMirrored" />
6042        <!-- The intrinsic width of the Vector Drawable. -->
6043        <attr name="width" />
6044        <!-- The intrinsic height of the Vector Drawable. -->
6045        <attr name="height" />
6046        <!-- The width of the canvas the drawing is on. -->
6047        <attr name="viewportWidth" format="float"/>
6048        <!-- The height of the canvas the drawing is on. -->
6049        <attr name="viewportHeight" format="float"/>
6050        <!-- The name of this vector drawable. -->
6051        <attr name="name" />
6052        <!-- The opacity of the whole vector drawable, as a value between 0
6053             (completely transparent) and 1 (completely opaque). -->
6054        <attr name="alpha" />
6055        <!-- Left optical inset.
6056             @hide Until optical insets are fully supported. -->
6057        <attr name="opticalInsetLeft" format="dimension" />
6058        <!-- Top optical inset.
6059             @hide Until optical insets are fully supported. -->
6060        <attr name="opticalInsetTop" format="dimension" />
6061        <!-- Right optical inset.
6062             @hide Until optical insets are fully supported. -->
6063        <attr name="opticalInsetRight" format="dimension" />
6064        <!-- Bottom optical inset.
6065             @hide Until optical insets are fully supported. -->
6066        <attr name="opticalInsetBottom" format="dimension" />
6067    </declare-styleable>
6068
6069    <!-- Defines the group used in VectorDrawables. -->
6070    <declare-styleable name="VectorDrawableGroup">
6071        <!-- The name of this group. -->
6072        <attr name="name" />
6073        <!-- The amount to rotate the group. -->
6074        <attr name="rotation" />
6075        <!-- The X coordinate of the center of rotation of a group. -->
6076        <attr name="pivotX" />
6077        <!-- The Y coordinate of the center of rotation of a group. -->
6078        <attr name="pivotY" />
6079        <!-- The amount to translate the group on X coordinate. -->
6080        <attr name="translateX" format="float"/>
6081        <!-- The amount to translate the group on Y coordinate. -->
6082        <attr name="translateY" format="float"/>
6083        <!-- The amount to scale the group on X coordinate. -->
6084        <attr name="scaleX" />
6085        <!-- The amount to scale the group on X coordinate. -->
6086        <attr name="scaleY" />
6087    </declare-styleable>
6088
6089    <!-- Defines the path used in VectorDrawables. -->
6090    <declare-styleable name="VectorDrawablePath">
6091        <!-- The name of this path. -->
6092        <attr name="name" />
6093        <!-- The width a path stroke. -->
6094        <attr name="strokeWidth" format="float" />
6095        <!-- The color to stroke the path if not defined implies no stroke. -->
6096        <attr name="strokeColor" format="color" />
6097        <!-- The opacity of a path stroke, as a value between 0 (completely transparent)
6098             and 1 (completely opaque). -->
6099        <attr name="strokeAlpha" format="float" />
6100        <!-- The color to fill the path if not defined implies no fill. -->
6101        <attr name="fillColor" format="color" />
6102        <!-- The alpha of the path fill, as a value between 0 (completely transparent)
6103             and 1 (completely opaque). -->
6104        <attr name="fillAlpha" format="float" />
6105        <!-- The specification of the operations that define the path. -->
6106        <attr name="pathData" format="string" />
6107        <!-- The fraction of the path to trim from the start from 0 to 1. -->
6108        <attr name="trimPathStart" format="float" />
6109        <!-- The fraction of the path to trim from the end from 0 to 1 . -->
6110        <attr name="trimPathEnd" format="float" />
6111        <!-- Shift trim region (allows visible region to include the start and end) from 0 to 1. -->
6112        <attr name="trimPathOffset" format="float" />
6113        <!-- sets the linecap for a stroked path. -->
6114        <attr name="strokeLineCap" format="enum">
6115            <enum name="butt" value="0"/>
6116            <enum name="round" value="1"/>
6117            <enum name="square" value="2"/>
6118        </attr>
6119        <!-- sets the lineJoin for a stroked path. -->
6120        <attr name="strokeLineJoin" format="enum">
6121            <enum name="miter" value="0"/>
6122            <enum name="round" value="1"/>
6123            <enum name="bevel" value="2"/>
6124        </attr>
6125        <!-- sets the Miter limit for a stroked path. -->
6126        <attr name="strokeMiterLimit" format="float"/>
6127        <!-- sets the fillType for a path. It is the same as SVG's "fill-rule" properties.
6128             For more details, see https://www.w3.org/TR/SVG/painting.html#FillRuleProperty. -->
6129        <attr name="fillType" format="enum">
6130            <enum name="nonZero" value="0"/>
6131            <enum name="evenOdd" value="1"/>
6132        </attr>
6133    </declare-styleable>
6134
6135    <!-- Defines the clip path used in VectorDrawables. -->
6136    <declare-styleable name="VectorDrawableClipPath">
6137        <!-- The Name of this path. -->
6138        <attr name="name" />
6139        <!-- The specification of the operations that define the path. -->
6140        <attr name="pathData"/>
6141    </declare-styleable>
6142
6143    <!-- ========================== -->
6144    <!--   AnimatedVectorDrawable class   -->
6145    <!-- ========================== -->
6146    <eat-comment />
6147
6148    <!-- Define the AnimatedVectorDrawable. -->
6149    <declare-styleable name="AnimatedVectorDrawable">
6150        <!-- The static vector drawable. -->
6151        <attr name="drawable" />
6152    </declare-styleable>
6153
6154    <!-- Defines the target used in the AnimatedVectorDrawable. -->
6155    <declare-styleable name="AnimatedVectorDrawableTarget">
6156        <!-- The name of the target path, group or vector drawable. -->
6157        <attr name="name" />
6158        <!-- The animation for the target path, group or vector drawable. -->
6159        <attr name="animation" />
6160    </declare-styleable>
6161
6162    <!-- ========================== -->
6163    <!-- Animation class attributes -->
6164    <!-- ========================== -->
6165    <eat-comment />
6166
6167    <declare-styleable name="Animation">
6168        <!-- Defines the interpolator used to smooth the animation movement in time. -->
6169        <attr name="interpolator" />
6170        <!-- When set to true, the value of fillBefore is taken into account. -->
6171        <attr name="fillEnabled" format="boolean" />
6172        <!-- When set to true or when fillEnabled is not set to true, the animation transformation
6173             is applied before the animation has started. The default value is true. -->
6174        <attr name="fillBefore" format="boolean" />
6175        <!-- When set to true, the animation transformation is applied after the animation is
6176             over. The default value is false. If fillEnabled is not set to true and the
6177             animation is not set on a View, fillAfter is assumed to be true.-->
6178        <attr name="fillAfter" format="boolean" />
6179        <!-- Amount of time (in milliseconds) for the animation to run. -->
6180        <attr name="duration" />
6181        <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
6182        <attr name="startOffset" format="integer" />
6183        <!-- Defines how many times the animation should repeat. The default value is 0. -->
6184        <attr name="repeatCount" format="integer">
6185            <enum name="infinite" value="-1" />
6186        </attr>
6187        <!-- Defines the animation behavior when it reaches the end and the repeat count is
6188             greater than 0 or infinite. The default value is restart. -->
6189        <attr name="repeatMode">
6190            <!-- The animation starts again from the beginning. -->
6191            <enum name="restart" value="1" />
6192            <!-- The animation plays backward. -->
6193            <enum name="reverse" value="2" />
6194        </attr>
6195        <!-- Allows for an adjustment of the Z ordering of the content being
6196             animated for the duration of the animation.  The default value is normal. -->
6197        <attr name="zAdjustment">
6198            <!-- The content being animated be kept in its current Z order. -->
6199            <enum name="normal" value="0" />
6200            <!-- The content being animated is forced on top of all other
6201                 content for the duration of the animation. -->
6202            <enum name="top" value="1" />
6203            <!-- The content being animated is forced under all other
6204                 content for the duration of the animation. -->
6205            <enum name="bottom" value="-1" />
6206        </attr>
6207        <!-- Special background behind animation.  Only for use with window
6208             animations.  Can only be a color, and only black.  If 0, the
6209             default, there is no background. -->
6210        <attr name="background" />
6211        <!-- Special option for window animations: if this window is on top
6212             of a wallpaper, don't animate the wallpaper with it. -->
6213        <attr name="detachWallpaper" format="boolean" />
6214    </declare-styleable>
6215
6216    <declare-styleable name="AnimationSet">
6217        <attr name="shareInterpolator" format="boolean" />
6218        <attr name="fillBefore" />
6219        <attr name="fillAfter" />
6220        <attr name="duration" />
6221        <attr name="startOffset" />
6222        <attr name="repeatMode" />
6223    </declare-styleable>
6224
6225    <declare-styleable name="RotateAnimation">
6226        <attr name="fromDegrees" />
6227        <attr name="toDegrees" />
6228        <attr name="pivotX" />
6229        <attr name="pivotY" />
6230    </declare-styleable>
6231
6232    <declare-styleable name="ScaleAnimation">
6233        <attr name="fromXScale" format="float|fraction|dimension" />
6234        <attr name="toXScale" format="float|fraction|dimension" />
6235        <attr name="fromYScale" format="float|fraction|dimension" />
6236        <attr name="toYScale" format="float|fraction|dimension" />
6237        <attr name="pivotX" />
6238        <attr name="pivotY" />
6239    </declare-styleable>
6240
6241    <declare-styleable name="TranslateAnimation">
6242        <attr name="fromXDelta" format="float|fraction" />
6243        <attr name="toXDelta" format="float|fraction" />
6244        <attr name="fromYDelta" format="float|fraction" />
6245        <attr name="toYDelta" format="float|fraction" />
6246    </declare-styleable>
6247
6248    <declare-styleable name="AlphaAnimation">
6249        <attr name="fromAlpha" format="float" />
6250        <attr name="toAlpha" format="float" />
6251    </declare-styleable>
6252
6253    <declare-styleable name="LayoutAnimation">
6254        <!-- Fraction of the animation duration used to delay the beginning of
6255         the animation of each child. -->
6256        <attr name="delay" format="float|fraction" />
6257        <!-- Animation to use on each child. -->
6258        <attr name="animation" format="reference" />
6259        <!-- The order in which the animations will be started. -->
6260        <attr name="animationOrder">
6261            <!-- Animations are started in the natural order. -->
6262            <enum name="normal" value="0" />
6263            <!-- Animations are started in the reverse order. -->
6264            <enum name="reverse" value="1" />
6265            <!-- Animations are started randomly. -->
6266            <enum name="random" value="2" />
6267        </attr>
6268        <!-- Interpolator used to interpolate the delay between the start of
6269         each animation. -->
6270        <attr name="interpolator" />
6271    </declare-styleable>
6272
6273    <declare-styleable name="GridLayoutAnimation">
6274        <!-- Fraction of the animation duration used to delay the beginning of
6275         the animation of each column. -->
6276        <attr name="columnDelay" format="float|fraction" />
6277        <!-- Fraction of the animation duration used to delay the beginning of
6278         the animation of each row. -->
6279        <attr name="rowDelay" format="float|fraction" />
6280        <!-- Direction of the animation in the grid. -->
6281        <attr name="direction">
6282            <!-- Animates columns from left to right. -->
6283            <flag name="left_to_right" value="0x0" />
6284            <!-- Animates columns from right to left. -->
6285            <flag name="right_to_left" value="0x1" />
6286            <!-- Animates rows from top to bottom. -->
6287            <flag name="top_to_bottom" value="0x0" />
6288            <!-- Animates rows from bottom to top. -->
6289            <flag name="bottom_to_top" value="0x2" />
6290        </attr>
6291        <!-- Priority of the rows and columns. When the priority is none,
6292         both rows and columns have the same priority. When the priority is
6293         column, the animations will be applied on the columns first. The same
6294         goes for rows. -->
6295        <attr name="directionPriority">
6296            <!-- Rows and columns are animated at the same time. -->
6297            <enum name="none"   value="0" />
6298            <!-- Columns are animated first. -->
6299            <enum name="column" value="1" />
6300            <!-- Rows are animated first. -->
6301            <enum name="row"    value="2" />
6302        </attr>
6303    </declare-styleable>
6304
6305    <declare-styleable name="AccelerateInterpolator">
6306        <!-- This is the amount of deceleration to add when easing in. -->
6307        <attr name="factor" format="float" />
6308    </declare-styleable>
6309
6310    <declare-styleable name="DecelerateInterpolator">
6311        <!-- This is the amount of acceleration to add when easing out. -->
6312        <attr name="factor" />
6313    </declare-styleable>
6314
6315    <declare-styleable name="CycleInterpolator">
6316        <attr name="cycles" format="float" />
6317    </declare-styleable>
6318
6319    <declare-styleable name="AnticipateInterpolator">
6320        <!-- This is the amount of tension. -->
6321        <attr name="tension" format="float" />
6322    </declare-styleable>
6323
6324    <declare-styleable name="OvershootInterpolator">
6325        <!-- This is the amount of tension. -->
6326        <attr name="tension" />
6327    </declare-styleable>
6328
6329    <declare-styleable name="AnticipateOvershootInterpolator">
6330        <!-- This is the amount of tension. -->
6331        <attr name="tension" />
6332        <!-- This is the amount by which to multiply the tension. -->
6333        <attr name="extraTension" format="float" />
6334    </declare-styleable>
6335
6336    <declare-styleable name="PathInterpolator">
6337        <!-- The x coordinate of the first control point of the cubic Bezier. -->
6338        <attr name="controlX1" format="float" />
6339        <!-- The y coordinate of the first control point of the cubic Bezier. -->
6340        <attr name="controlY1" format="float" />
6341        <!-- The x coordinate of the second control point of the cubic Bezier. -->
6342        <attr name="controlX2" format="float" />
6343        <!-- The y coordinate of the second control point of the cubic Bezier. -->
6344        <attr name="controlY2" format="float" />
6345        <!-- The control points defined as a path.
6346             When pathData is defined, then both of the control points of the
6347             cubic Bezier will be ignored. -->
6348        <attr name="pathData"/>
6349    </declare-styleable>
6350
6351    <!-- ========================== -->
6352    <!-- Transition attributes -->
6353    <!-- ========================== -->
6354    <eat-comment />
6355
6356    <!-- Use specific transition subclass names as the root tag of the XML resource that
6357         describes a {@link android.transition.Transition Transition},
6358         such as <code>changeBounds</code>, <code>fade</code>, and <code>transitionSet</code>. -->
6359    <declare-styleable name="Transition">
6360        <!-- Amount of time (in milliseconds) that the transition should run. -->
6361        <attr name="duration" />
6362        <!-- Delay in milliseconds before the transition starts. -->
6363        <attr name="startDelay" format="integer" />
6364        <!-- Interpolator to be used in the animations spawned by this transition. -->
6365        <attr name="interpolator" />
6366        <!-- The match order to use for the transition. This is a comma-separated
6367             list of values, containing one or more of the following:
6368             id, itemId, name, instance. These correspond to
6369             {@link android.transition.Transition#MATCH_ID},
6370             {@link android.transition.Transition#MATCH_ITEM_ID},
6371             {@link android.transition.Transition#MATCH_NAME}, and
6372             {@link android.transition.Transition#MATCH_INSTANCE}, respectively.
6373             This corresponds to {@link android.transition.Transition#setMatchOrder(int...)}. -->
6374        <attr name="matchOrder" format="string" />
6375    </declare-styleable>
6376
6377    <!-- @hide For internal use only. Use only as directed. -->
6378    <declare-styleable name="EpicenterTranslateClipReveal">
6379        <attr name="interpolatorX" format="reference" />
6380        <attr name="interpolatorY" format="reference" />
6381        <attr name="interpolatorZ" format="reference" />
6382    </declare-styleable>
6383
6384    <!-- Use <code>fade</code>as the root tag of the XML resource that
6385         describes a {@link android.transition.Fade Fade} transition.
6386         The attributes of the {@link android.R.styleable#Transition Transition}
6387         resource are available in addition to the specific attributes of Fade
6388         described here. -->
6389    <declare-styleable name="Fade">
6390        <!-- Equivalent to <code>transitionVisibilityMode</code>, fadingMode works only
6391             with the Fade transition. -->
6392        <attr name="fadingMode">
6393            <!-- Fade will only fade appearing items in. -->
6394            <enum name="fade_in" value="1" />
6395            <!-- Fade will only fade disappearing items out. -->
6396            <enum name="fade_out" value="2" />
6397            <!-- Fade will fade appearing items in and disappearing items out. -->
6398            <enum name="fade_in_out" value="3" />
6399        </attr>
6400    </declare-styleable>
6401
6402    <!-- Use <code>slide</code>as the root tag of the XML resource that
6403         describes a {@link android.transition.Slide Slide} transition.
6404         The attributes of the {@link android.R.styleable#Transition Transition}
6405         resource are available in addition to the specific attributes of Slide
6406         described here. -->
6407    <declare-styleable name="Slide">
6408        <attr name="slideEdge">
6409            <!-- Slide to and from the left edge of the Scene. -->
6410            <enum name="left" value="0x03" />
6411            <!-- Slide to and from the top edge of the Scene. -->
6412            <enum name="top" value="0x30" />
6413            <!-- Slide to and from the right edge of the Scene. -->
6414            <enum name="right" value="0x05" />
6415            <!-- Slide to and from the bottom edge of the Scene. -->
6416            <enum name="bottom" value="0x50" />
6417            <!-- Slide to and from the x-axis position at the start of the Scene root. -->
6418            <enum name="start" value="0x00800003"/>
6419            <!-- Slide to and from the x-axis position at the end of the Scene root. -->
6420            <enum name="end" value="0x00800005"/>
6421        </attr>
6422    </declare-styleable>
6423
6424    <!-- Use with {@link android.transition.Visibility} transitions, such as
6425         <code>slide</code>, <code>explode</code>, and <code>fade</code> to mark which
6426         views are supported. -->
6427    <declare-styleable name="VisibilityTransition">
6428        <!-- Changes whether the transition supports appearing and/or disappearing Views.
6429             Corresponds to {@link android.transition.Visibility#setMode(int)}. -->
6430        <attr name="transitionVisibilityMode">
6431            <!-- Only appearing Views will be supported. -->
6432            <flag name="mode_in" value="1" />
6433            <!-- Only disappearing Views will be supported. -->
6434            <flag name="mode_out" value="2" />
6435        </attr>
6436    </declare-styleable>
6437    <!-- Use <code>target</code> as the root tag of the XML resource that
6438     describes a {@link android.transition.Transition#addTarget(int)
6439     targetId} of a transition. There can be one or more targets inside
6440     a <code>targets</code> tag, which is itself inside an appropriate
6441     {@link android.R.styleable#Transition Transition} tag.
6442     -->
6443    <declare-styleable name="TransitionTarget">
6444        <!-- The id of a target on which this transition will animate changes. -->
6445        <attr name="targetId" format="reference" />
6446        <!-- The id of a target to exclude from this transition. -->
6447        <attr name="excludeId" format="reference" />
6448        <!-- The fully-qualified name of the Class to include in this transition. -->
6449        <attr name="targetClass" />
6450        <!-- The fully-qualified name of the Class to exclude from this transition. -->
6451        <attr name="excludeClass" format="string" />
6452        <!-- The transitionName of the target on which this transition will animation changes. -->
6453        <attr name="targetName" format="string" />
6454        <!-- The transitionName of the target to exclude from this transition. -->
6455        <attr name="excludeName" format="string" />
6456    </declare-styleable>
6457
6458    <!-- Use <code>set</code> as the root tag of the XML resource that
6459         describes a {@link android.transition.TransitionSet
6460         TransitionSet} transition. -->
6461    <declare-styleable name="TransitionSet">
6462        <attr name="transitionOrdering">
6463            <!-- child transitions should be played together. -->
6464            <enum name="together" value="0" />
6465            <!-- child transitions should be played sequentially, in the same order
6466            as the xml. -->
6467            <enum name="sequential" value="1" />
6468        </attr>
6469    </declare-styleable>
6470
6471    <!-- Use <code>changeTransform</code> as the root tag of the XML resource that
6472         describes a {@link android.transition.ChangeTransform} transition. -->
6473    <declare-styleable name="ChangeTransform">
6474        <!-- A parent change should use an overlay or affect the transform of the
6475             transitionining View. Default is true. Corresponds to
6476             {@link android.transition.ChangeTransform#setReparentWithOverlay(boolean)}. -->
6477        <attr name="reparentWithOverlay" format="boolean"/>
6478
6479        <!-- Tells ChangeTransform to track parent changes. Default is true. Corresponds to
6480             {@link android.transition.ChangeTransform#setReparent(boolean)}. -->
6481        <attr name="reparent" format="boolean"/>
6482    </declare-styleable>
6483
6484    <!-- Use <code>changeBounds</code>as the root tag of the XML resource that
6485         describes a {@link android.transition.ChangeBounds} transition.
6486         The attributes of the {@link android.R.styleable#Transition Transition}
6487         resource are available in addition to the specific attributes of ChangeBounds
6488         described here. -->
6489    <declare-styleable name="ChangeBounds">
6490        <!-- Resize the view by adjusting the clipBounds rather than changing the
6491             dimensions of the view itself. The default value is false. -->
6492        <attr name="resizeClip" format="boolean"/>
6493    </declare-styleable>
6494
6495    <!-- Use <code>transitionManager</code> as the root tag of the XML resource that
6496         describes a {@link android.transition.TransitionManager
6497         TransitionManager}. -->
6498    <declare-styleable name="TransitionManager">
6499        <!-- The id of a transition to be used in a particular scene change. -->
6500        <attr name="transition" format="reference" />
6501        <!-- The originating scene in this scene change. -->
6502        <attr name="fromScene" format="reference" />
6503        <!-- The destination scene in this scene change. -->
6504        <attr name="toScene" format="reference" />
6505    </declare-styleable>
6506
6507    <!-- Use <code>arcMotion</code> as the root tag of the XML resource that
6508         describes a {@link android.transition.ArcMotion}. This must be used
6509         within a transition with which the PathMotion should be associated. -->
6510    <declare-styleable name="ArcMotion">
6511        <!-- The minimum arc angle in degrees between the start and end points when
6512             they are close to horizontal. -->
6513        <attr name="minimumHorizontalAngle" format="float" />
6514        <!-- The minimum arc angle in degrees between the start and end points when
6515             they are close to vertical. -->
6516        <attr name="minimumVerticalAngle" format="float" />
6517        <!-- The maximum arc angle in degrees between the start and end points. -->
6518        <attr name="maximumAngle" format="float" />
6519    </declare-styleable>
6520
6521    <!-- Use <code>patternPathMotion</code> as the root tag of the XML resource that
6522         describes a {@link android.transition.PatternPathMotion}. This must be used
6523         within a transition with which the PathMotion should be associated. -->
6524    <declare-styleable name="PatternPathMotion">
6525        <!-- The path string describing the pattern to use for the PathPathMotion. -->
6526        <attr name="patternPathData" format="string" />
6527    </declare-styleable>
6528
6529    <!-- ========================== -->
6530    <!-- ValueAnimator class attributes -->
6531    <!-- ========================== -->
6532    <eat-comment />
6533
6534    <declare-styleable name="Animator">
6535        <!-- Defines the interpolator used to smooth the animation movement in time. -->
6536        <attr name="interpolator" />
6537        <!-- Amount of time (in milliseconds) for the animation to run. -->
6538        <attr name="duration" />
6539        <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
6540        <attr name="startOffset"/>
6541        <!-- Defines how many times the animation should repeat. The default value is 0. -->
6542        <attr name="repeatCount"/>
6543        <!-- Defines the animation behavior when it reaches the end and the repeat count is
6544             greater than 0 or infinite. The default value is restart. -->
6545        <attr name="repeatMode"/>
6546        <!-- Value the animation starts from. -->
6547        <attr name="valueFrom" format="float|integer|color|dimension|string"/>
6548        <!-- Value the animation animates to. -->
6549        <attr name="valueTo" format="float|integer|color|dimension|string"/>
6550        <!-- The type of valueFrom and valueTo. -->
6551        <attr name="valueType">
6552            <!-- The given values are floats. This is the default value if valueType is
6553                 unspecified. Note that if any value attribute has a color value
6554                 (beginning with "#"), then this attribute is ignored and the color values are
6555                 interpreted as integers. -->
6556            <enum name="floatType" value="0" />
6557            <!-- values are integers. -->
6558            <enum name="intType"   value="1" />
6559            <!-- values are paths defined as strings.
6560                 This type is used for path morphing in AnimatedVectorDrawable. -->
6561            <enum name="pathType"   value="2" />
6562            <!-- values are colors, which are integers starting with "#". -->
6563            <enum name="colorType"   value="3" />
6564        </attr>
6565        <!-- Placeholder for a deleted attribute. This should be removed before M release. -->
6566        <attr name="removeBeforeMRelease" format="integer" />
6567    </declare-styleable>
6568
6569    <declare-styleable name="PropertyValuesHolder">
6570        <attr name="valueType" />
6571        <attr name="propertyName" />
6572        <attr name="valueFrom" />
6573        <attr name="valueTo" />
6574    </declare-styleable>
6575
6576    <declare-styleable name="Keyframe">
6577        <attr name="valueType" />
6578        <attr name="value" />
6579        <attr name="fraction" format="float" />
6580        <!-- Defines a per-interval interpolator for this keyframe. This interpolator will be used
6581             to interpolate between this keyframe and the previous keyframe. -->
6582        <attr name="interpolator" />
6583    </declare-styleable>
6584
6585    <!-- ========================== -->
6586    <!-- ObjectAnimator class attributes -->
6587    <!-- ========================== -->
6588    <eat-comment />
6589
6590    <declare-styleable name="PropertyAnimator">
6591        <!-- Name of the property being animated. -->
6592        <attr name="propertyName" format="string"/>
6593        <!-- Name of the property being animated as the X coordinate of the pathData. -->
6594        <attr name="propertyXName" format="string"/>
6595        <!-- Name of the property being animated as the Y coordinate of the pathData. -->
6596        <attr name="propertyYName" format="string"/>
6597        <!-- The path used to animate the properties in the ObjectAnimator. -->
6598        <attr name="pathData"/>
6599    </declare-styleable>
6600
6601
6602    <!-- ========================== -->
6603    <!-- AnimatorSet class attributes -->
6604    <!-- ========================== -->
6605    <eat-comment />
6606
6607    <declare-styleable name="AnimatorSet">
6608        <!-- Name of the property being animated. -->
6609        <attr name="ordering">
6610            <!-- child animations should be played together. -->
6611            <enum name="together" value="0" />
6612            <!-- child animations should be played sequentially, in the same order as the xml. -->
6613            <enum name="sequentially" value="1" />
6614        </attr>
6615    </declare-styleable>
6616
6617    <!-- ========================== -->
6618    <!-- State attributes           -->
6619    <!-- ========================== -->
6620    <eat-comment />
6621
6622    <!-- Set of framework-provided states that may be specified on a Drawable. Actual usage of
6623         states may vary between view implementations, as documented on the individual state
6624         attributes. -->
6625    <declare-styleable name="DrawableStates">
6626        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6627             set when a view has input focus. -->
6628        <attr name="state_focused" format="boolean" />
6629        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6630             set when a view's window has input focus. -->
6631        <attr name="state_window_focused" format="boolean" />
6632        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6633             set when a view is enabled. -->
6634        <attr name="state_enabled" format="boolean" />
6635        <!-- State identifier indicating that the object <var>may</var> display a check mark. See
6636             {@link android.R.attr#state_checked} for the identifier that indicates whether it is
6637             actually checked. -->
6638        <attr name="state_checkable" format="boolean"/>
6639        <!-- State identifier indicating that the object is currently checked.  See
6640             {@link android.R.attr#state_checkable} for an additional identifier that can indicate
6641             if any object may ever display a check, regardless of whether state_checked is
6642             currently set. -->
6643        <attr name="state_checked" format="boolean"/>
6644        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6645             set when a view (or one of its parents) is currently selected. -->
6646        <attr name="state_selected" format="boolean" />
6647        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6648             set when the user is pressing down in a view. -->
6649        <attr name="state_pressed" format="boolean" />
6650        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6651             set when a view or its parent has been "activated" meaning the user has currently
6652             marked it as being of interest.  This is an alternative representation of
6653             state_checked for when the state should be propagated down the view hierarchy. -->
6654        <attr name="state_activated" format="boolean" />
6655        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6656             set when a view or drawable is considered "active" by its host. Actual usage may vary
6657             between views. Consult the host view documentation for details. -->
6658        <attr name="state_active" format="boolean" />
6659        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6660             set when a view or drawable is considered "single" by its host. Actual usage may vary
6661             between views. Consult the host view documentation for details. -->
6662        <attr name="state_single" format="boolean" />
6663        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6664             set when a view or drawable is in the first position in an ordered set. Actual usage
6665             may vary between views. Consult the host view documentation for details. -->
6666        <attr name="state_first" format="boolean" />
6667        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6668             set when a view or drawable is in the middle position in an ordered set. Actual usage
6669             may vary between views. Consult the host view documentation for details. -->
6670        <attr name="state_middle" format="boolean" />
6671        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6672             set when a view or drawable is in the last position in an ordered set. Actual usage
6673             may vary between views. Consult the host view documentation for details. -->
6674        <attr name="state_last" format="boolean" />
6675        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6676             indicating that the Drawable is in a view that is hardware accelerated.
6677             This means that the device can at least render a full-screen scaled
6678             bitmap with one layer of text and bitmaps composited on top of it
6679             at 60fps.  When this is set, the colorBackgroundCacheHint will be
6680             ignored even if it specifies a solid color, since that optimization
6681             is not needed. -->
6682        <attr name="state_accelerated" format="boolean" />
6683        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6684             set when a pointer is hovering over the view. -->
6685        <attr name="state_hovered" format="boolean" />
6686        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6687             indicating that the Drawable is in a view that is capable of accepting a drop of
6688             the content currently being manipulated in a drag-and-drop operation. -->
6689        <attr name="state_drag_can_accept" format="boolean" />
6690        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6691             indicating that a drag operation (for which the Drawable's view is a valid recipient)
6692             is currently positioned over the Drawable. -->
6693        <attr name="state_drag_hovered" format="boolean" />
6694        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6695             indicating that a View has accessibility focus. -->
6696        <attr name="state_accessibility_focused" format="boolean" />
6697    </declare-styleable>
6698    <declare-styleable name="ViewDrawableStates">
6699        <attr name="state_pressed" />
6700        <attr name="state_focused" />
6701        <attr name="state_selected" />
6702        <attr name="state_window_focused" />
6703        <attr name="state_enabled" />
6704        <attr name="state_activated" />
6705        <attr name="state_accelerated" />
6706        <attr name="state_hovered" />
6707        <attr name="state_drag_can_accept" />
6708        <attr name="state_drag_hovered" />
6709    </declare-styleable>
6710    <!-- State array representing a menu item that is currently checked. -->
6711    <declare-styleable name="MenuItemCheckedState">
6712        <attr name="state_checkable" />
6713        <attr name="state_checked" />
6714    </declare-styleable>
6715    <!-- State array representing a menu item that is checkable but is not currently checked. -->
6716    <declare-styleable name="MenuItemUncheckedState">
6717        <attr name="state_checkable" />
6718    </declare-styleable>
6719    <!-- State array representing a menu item that is currently focused and checked. -->
6720    <declare-styleable name="MenuItemCheckedFocusedState">
6721        <attr name="state_checkable" />
6722        <attr name="state_checked" />
6723        <attr name="state_focused" />
6724    </declare-styleable>
6725    <!-- State array representing a menu item that is focused and checkable but is not currently checked. -->
6726    <declare-styleable name="MenuItemUncheckedFocusedState">
6727        <attr name="state_checkable" />
6728        <attr name="state_focused" />
6729    </declare-styleable>
6730    <!-- State array representing an expandable list child's indicator. -->
6731    <declare-styleable name="ExpandableListChildIndicatorState">
6732        <!-- State identifier indicating the child is the last child within its group. -->
6733        <attr name="state_last" />
6734    </declare-styleable>
6735    <!-- State array representing an expandable list group's indicator. -->
6736    <declare-styleable name="ExpandableListGroupIndicatorState">
6737        <!-- State identifier indicating the group is expanded. -->
6738        <attr name="state_expanded" format="boolean" />
6739        <!-- State identifier indicating the group is empty (has no children). -->
6740        <attr name="state_empty" format="boolean" />
6741    </declare-styleable>
6742    <declare-styleable name="PopupWindowBackgroundState">
6743        <!-- State identifier indicating the popup will be above the anchor. -->
6744        <attr name="state_above_anchor" format="boolean" />
6745    </declare-styleable>
6746    <declare-styleable name="TextViewMultiLineBackgroundState">
6747        <!-- State identifier indicating a TextView has a multi-line layout. -->
6748        <attr name="state_multiline" format="boolean" />
6749    </declare-styleable>
6750
6751    <!-- ***************************************************************** -->
6752    <!-- Support for Searchable activities. -->
6753    <!-- ***************************************************************** -->
6754    <eat-comment />
6755
6756    <!-- Searchable activities and applications must provide search configuration information
6757        in an XML file, typically called searchable.xml.  This file is referenced in your manifest.
6758        For a more in-depth discussion of search configuration, please refer to
6759        {@link android.app.SearchManager}. -->
6760    <declare-styleable name="Searchable">
6761          <!--<strong>This is deprecated.</strong><br/>The default
6762              application icon is now always used, so this attribute is
6763              obsolete.-->
6764        <attr name="icon" />
6765        <!-- This is the user-displayed name of the searchable activity.  <i>Required
6766            attribute.</i> -->
6767        <attr name="label" />
6768        <!-- If supplied, this string will be displayed as a hint to the user.  <i>Optional
6769            attribute.</i> -->
6770        <attr name="hint" />
6771        <!-- If supplied, this string will be displayed as the text of the "Search" button.
6772          <i>Optional attribute.</i>
6773          {@deprecated This will create a non-standard UI appearance, because the search bar UI is
6774                       changing to use only icons for its buttons.}-->
6775        <attr name="searchButtonText" format="string" />
6776        <attr name="inputType" />
6777        <attr name="imeOptions" />
6778
6779        <!-- Additional features are controlled by mode bits in this field.  Omitting
6780            this field, or setting to zero, provides default behavior.  <i>Optional attribute.</i>
6781        -->
6782        <attr name="searchMode">
6783          <!-- If set, this flag enables the display of the search target (label) within the
6784               search bar.  If neither bad mode is selected, no badge will be shown. -->
6785          <flag name="showSearchLabelAsBadge" value="0x04" />
6786          <!--<strong>This is deprecated.</strong><br/>The default
6787              application icon is now always used, so this option is
6788              obsolete.-->
6789          <flag name="showSearchIconAsBadge" value="0x08" />
6790          <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_INTENT_DATA to
6791               be considered as the text for suggestion query rewriting.  This should only
6792               be used when the values in SUGGEST_COLUMN_INTENT_DATA are suitable for user
6793               inspection and editing - typically, HTTP/HTTPS Uri's. -->
6794          <flag name="queryRewriteFromData" value="0x10" />
6795          <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_TEXT_1 to
6796               be considered as the text for suggestion query rewriting.  This should be used
6797               for suggestions in which no query text is provided and the SUGGEST_COLUMN_INTENT_DATA
6798               values are not suitable for user inspection and editing. -->
6799          <flag name="queryRewriteFromText" value="0x20" />
6800        </attr>
6801
6802        <!-- Voice search features are controlled by mode bits in this field.  Omitting
6803            this field, or setting to zero, provides default behavior.
6804            If showVoiceSearchButton is set, then launchWebSearch or launchRecognizer must
6805            also be set.  <i>Optional attribute.</i>
6806        -->
6807        <attr name="voiceSearchMode">
6808          <!-- If set, display a voice search button.  This only takes effect if voice search is
6809               available on the device. -->
6810          <flag name="showVoiceSearchButton" value="0x01" />
6811          <!-- If set, the voice search button will take the user directly to a built-in
6812               voice web search activity.  Most applications will not use this flag, as it
6813               will take the user away from the activity in which search was invoked. -->
6814          <flag name="launchWebSearch" value="0x02" />
6815          <!-- If set, the voice search button will take the user directly to a built-in
6816               voice recording activity.  This activity will prompt the user to speak,
6817               transcribe the spoken text, and forward the resulting query
6818               text to the searchable activity, just as if the user had typed it into
6819               the search UI and clicked the search button. -->
6820          <flag name="launchRecognizer" value="0x04" />
6821        </attr>
6822
6823        <!-- If provided, this specifies the language model that should be used by the
6824             voice recognition system.  See
6825             {@link android.speech.RecognizerIntent#EXTRA_LANGUAGE_MODEL } for more information.
6826             If not provided, the default value
6827             {@link android.speech.RecognizerIntent#LANGUAGE_MODEL_FREE_FORM } will be used. -->
6828        <attr name="voiceLanguageModel" format="string" />
6829        <!-- If provided, this specifies a prompt that will be displayed during voice input. -->
6830        <attr name="voicePromptText" format="string" />
6831        <!-- If provided, this specifies the spoken language to be expected, and that it will be
6832             different than the one set in the {@link java.util.Locale#getDefault()}. -->
6833        <attr name="voiceLanguage" format="string" />
6834        <!-- If provided, enforces the maximum number of results to return, including the "best"
6835             result which will always be provided as the SEARCH intent's primary query.  Must be one
6836             or greater.  If not provided, the recognizer will choose how many results to return.
6837             -->
6838        <attr name="voiceMaxResults" format="integer" />
6839
6840        <!-- If provided, this is the trigger indicating that the searchable activity
6841            provides suggestions as well.  The value must be a fully-qualified content provider
6842            authority (for example, "com.example.android.apis.SuggestionProvider") and should match
6843            the "android:authorities" tag in your content provider's manifest entry.  <i>Optional
6844            attribute.</i> -->
6845        <attr name="searchSuggestAuthority" format="string" />
6846        <!-- If provided, this will be inserted in the suggestions query Uri, after the authority
6847            you have provide but before the standard suggestions path. <i>Optional attribute.</i>
6848            -->
6849        <attr name="searchSuggestPath" format="string" />
6850        <!-- If provided, suggestion queries will be passed into your query function
6851            as the <i>selection</i> parameter.  Typically this will be a WHERE clause for your
6852            database, and will contain a single question mark, which represents the actual query
6853            string that has been typed by the user.  If not provided, then the user query text
6854            will be appended to the query Uri (after an additional "/".)  <i>Optional
6855            attribute.</i> -->
6856        <attr name="searchSuggestSelection" format="string" />
6857
6858        <!-- If provided, and not overridden by an action in the selected suggestion, this
6859            string will be placed in the action field of the {@link android.content.Intent Intent}
6860            when the user clicks a suggestion.  <i>Optional attribute.</i> -->
6861        <attr name="searchSuggestIntentAction" format="string" />
6862        <!-- If provided, and not overridden by an action in the selected suggestion, this
6863            string will be placed in the data field of the {@link android.content.Intent Intent}
6864            when the user clicks a suggestion.  <i>Optional attribute.</i> -->
6865        <attr name="searchSuggestIntentData" format="string" />
6866
6867        <!-- If provided, this is the minimum number of characters needed to trigger
6868             search suggestions. The default value is 0. <i>Optional attribute.</i> -->
6869        <attr name="searchSuggestThreshold" format="integer" />
6870
6871        <!-- If provided and <code>true</code>, this searchable activity will be
6872             included in any global lists of search targets.
6873             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6874        <attr name="includeInGlobalSearch" format="boolean" />
6875
6876        <!-- If provided and <code>true</code>, this searchable activity will be invoked for all
6877             queries in a particular session. If set to <code>false</code> and the activity
6878             returned zero results for a query, it will not be invoked again in that session for
6879             supersets of that zero-results query. For example, if the activity returned zero
6880             results for "bo", it would not be queried again for "bob".
6881             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6882        <attr name="queryAfterZeroResults" format="boolean" />
6883        <!-- If provided, this string will be used to describe the searchable item in the
6884             searchable items settings within system search settings. <i>Optional
6885             attribute.</i> -->
6886        <attr name="searchSettingsDescription" format="string" />
6887
6888        <!-- If provided and <code>true</code>, URLs entered in the search dialog while searching
6889             within this activity would be detected and treated as URLs (show a 'go' button in the
6890             keyboard and invoke the browser directly when user launches the URL instead of passing
6891             the URL to the activity). If set to <code>false</code> any URLs entered are treated as
6892             normal query text.
6893             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6894        <attr name="autoUrlDetect" format="boolean" />
6895
6896    </declare-styleable>
6897
6898    <!-- In order to process special action keys during search, you must define them using
6899            one or more "ActionKey" elements in your Searchable metadata.  For a more in-depth
6900            discussion of action code handling, please refer to {@link android.app.SearchManager}.
6901    -->
6902    <declare-styleable name="SearchableActionKey">
6903        <!-- This attribute denotes the action key you wish to respond to.  Note that not
6904            all action keys are actually supported using this mechanism, as many of them are
6905            used for typing, navigation, or system functions.  This will be added to the
6906            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6907            searchable activity.  To examine the key code, use
6908            {@link android.content.Intent#getIntExtra getIntExtra(SearchManager.ACTION_KEY)}.
6909            <p>Note, in addition to the keycode, you must also provide one or more of the action
6910            specifier attributes.  <i>Required attribute.</i> -->
6911        <attr name="keycode" />
6912
6913        <!-- If you wish to handle an action key during normal search query entry, you
6914            must define an action string here.  This will be added to the
6915            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6916            searchable activity.  To examine the string, use
6917            {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
6918            <i>Optional attribute.</i> -->
6919        <attr name="queryActionMsg"  format="string" />
6920
6921        <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
6922            selected</i>, there are two ways to handle this.  If <i>all</i> of your suggestions
6923            can handle the action key, you can simply define the action message using this
6924            attribute.  This will be added to the
6925            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6926            searchable activity.  To examine the string, use
6927            {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
6928            <i>Optional attribute.</i> -->
6929        <attr name="suggestActionMsg"  format="string" />
6930
6931        <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
6932            selected</i>, but you do not wish to enable this action key for every suggestion,
6933            then you can use this attribute to control it on a suggestion-by-suggestion basis.
6934            First, you must define a column (and name it here) where your suggestions will include
6935            the action string.  Then, in your content provider, you must provide this column, and
6936            when desired, provide data in this column.
6937            The search manager will look at your suggestion cursor, using the string
6938            provided here in order to select a column, and will use that to select a string from
6939            the cursor.  That string will be added to the
6940            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to
6941            your searchable activity.  To examine the string, use
6942            {@link android.content.Intent#getStringExtra
6943            getStringExtra(SearchManager.ACTION_MSG)}.  <i>If the data does not exist for the
6944            selection suggestion, the action key will be ignored.</i><i>Optional attribute.</i> -->
6945        <attr name="suggestActionMsgColumn" format="string" />
6946
6947    </declare-styleable>
6948
6949    <!-- ***************************************************************** -->
6950    <!-- Support for MapView. -->
6951    <!-- ***************************************************************** -->
6952    <eat-comment />
6953
6954    <!-- The set of attributes for a MapView. -->
6955    <declare-styleable name="MapView">
6956        <!-- Value is a string that specifies the Maps API Key to use. -->
6957        <attr name="apiKey" format="string" />
6958    </declare-styleable>
6959
6960    <!-- **************************************************************** -->
6961    <!-- Menu XML inflation. -->
6962    <!-- **************************************************************** -->
6963    <eat-comment />
6964
6965    <!-- Base attributes that are available to all Menu objects. -->
6966    <declare-styleable name="Menu">
6967    </declare-styleable>
6968
6969    <!-- Base attributes that are available to all groups. -->
6970    <declare-styleable name="MenuGroup">
6971
6972        <!-- The ID of the group. -->
6973        <attr name="id" />
6974
6975        <!-- The category applied to all items within this group.
6976             (This will be or'ed with the orderInCategory attribute.) -->
6977        <attr name="menuCategory">
6978            <!-- Items are part of a container. -->
6979            <enum name="container" value="0x00010000" />
6980            <!-- Items are provided by the system. -->
6981            <enum name="system" value="0x00020000" />
6982            <!-- Items are user-supplied secondary (infrequently used). -->
6983            <enum name="secondary" value="0x00030000" />
6984            <!-- Items are alternative actions. -->
6985            <enum name="alternative" value="0x00040000" />
6986        </attr>
6987
6988        <!-- The order within the category applied to all items within this group.
6989             (This will be or'ed with the category attribute.) -->
6990        <attr name="orderInCategory" format="integer" />
6991
6992        <!-- Whether the items are capable of displaying a check mark. -->
6993        <attr name="checkableBehavior">
6994            <!-- The items are not checkable. -->
6995            <enum name="none" value="0" />
6996            <!-- The items are all checkable. -->
6997            <enum name="all" value="1" />
6998            <!-- The items are checkable and there will only be a single checked item in
6999                 this group. -->
7000            <enum name="single" value="2" />
7001        </attr>
7002
7003        <!-- Whether the items are shown/visible. -->
7004        <attr name="visible" />
7005
7006        <!-- Whether the items are enabled. -->
7007        <attr name="enabled" />
7008
7009    </declare-styleable>
7010
7011    <!-- Base attributes that are available to all Item objects. -->
7012    <declare-styleable name="MenuItem">
7013
7014        <!-- The ID of the item. -->
7015        <attr name="id" />
7016
7017        <!-- The category applied to the item.
7018             (This will be or'ed with the orderInCategory attribute.) -->
7019        <attr name="menuCategory" />
7020
7021        <!-- The order within the category applied to the item.
7022             (This will be or'ed with the category attribute.) -->
7023        <attr name="orderInCategory" />
7024
7025        <!-- The title associated with the item. -->
7026        <attr name="title" format="string" />
7027
7028        <!-- The condensed title associated with the item.  This is used in situations where the
7029             normal title may be too long to be displayed. -->
7030        <attr name="titleCondensed" format="string" />
7031
7032        <!-- The icon associated with this item.  This icon will not always be shown, so
7033             the title should be sufficient in describing this item. -->
7034        <attr name="icon" />
7035
7036        <!-- Tint to apply to the icon. -->
7037        <attr name="iconTint" format="color" />
7038
7039        <!-- Blending mode used to apply the icon tint. -->
7040        <attr name="iconTintMode">
7041            <!-- The tint is drawn on top of the icon.
7042                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
7043            <enum name="src_over" value="3" />
7044            <!-- The tint is masked by the alpha channel of the icon. The icon’s
7045                 color channels are thrown out. [Sa * Da, Sc * Da] -->
7046            <enum name="src_in" value="5" />
7047            <!-- The tint is drawn above the icon, but with the icon’s alpha
7048                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
7049            <enum name="src_atop" value="9" />
7050            <!-- Multiplies the color and alpha channels of the icon with those of
7051                 the tint. [Sa * Da, Sc * Dc] -->
7052            <enum name="multiply" value="14" />
7053            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
7054            <enum name="screen" value="15" />
7055            <!-- Combines the tint and icon color and alpha channels, clamping the
7056                 result to valid color values. Saturate(S + D) -->
7057            <enum name="add" value="16" />
7058        </attr>
7059
7060        <!-- The alphabetic shortcut key.  This is the shortcut when using a keyboard
7061             with alphabetic keys. -->
7062        <attr name="alphabeticShortcut" format="string" />
7063
7064        <!-- The alphabetic modifier key. This is the modifier when using a keyboard
7065             with alphabetic keys. The values should be kept in sync with KeyEvent -->
7066        <attr name="alphabeticModifiers">
7067            <flag name="META" value="0x10000" />
7068            <flag name="CTRL" value="0x1000" />
7069            <flag name="ALT" value="0x02" />
7070            <flag name="SHIFT" value="0x1" />
7071            <flag name="SYM" value="0x4" />
7072            <flag name="FUNCTION" value="0x8" />
7073        </attr>
7074
7075        <!-- The numeric shortcut key.  This is the shortcut when using a numeric (for example,
7076             12-key) keyboard. -->
7077        <attr name="numericShortcut" format="string" />
7078
7079        <!-- The numeric modifier key. This is the modifier when using a numeric (for example,
7080             12-key) keyboard. The values should be kept in sync with KeyEvent -->
7081        <attr name="numericModifiers">
7082            <flag name="META" value="0x10000" />
7083            <flag name="CTRL" value="0x1000" />
7084            <flag name="ALT" value="0x02" />
7085            <flag name="SHIFT" value="0x1" />
7086            <flag name="SYM" value="0x4" />
7087            <flag name="FUNCTION" value="0x8" />
7088        </attr>
7089
7090        <!-- Whether the item is capable of displaying a check mark. -->
7091        <attr name="checkable" format="boolean" />
7092
7093        <!-- Whether the item is checked.  Note that you must first have enabled checking with
7094             the checkable attribute or else the check mark will not appear. -->
7095        <attr name="checked" />
7096
7097        <!-- Whether the item is shown/visible. -->
7098        <attr name="visible" />
7099
7100        <!-- Whether the item is enabled. -->
7101        <attr name="enabled" />
7102
7103        <!-- Name of a method on the Context used to inflate the menu that will be
7104             called when the item is clicked. -->
7105        <attr name="onClick" />
7106
7107        <!-- How this item should display in the Action Bar, if present. -->
7108        <attr name="showAsAction">
7109            <!-- Never show this item in an action bar, show it in the overflow menu instead.
7110                 Mutually exclusive with "ifRoom" and "always". -->
7111            <flag name="never" value="0" />
7112            <!-- Show this item in an action bar if there is room for it as determined
7113                 by the system. Favor this option over "always" where possible.
7114                 Mutually exclusive with "never" and "always". -->
7115            <flag name="ifRoom" value="1" />
7116            <!-- Always show this item in an actionbar, even if it would override
7117                 the system's limits of how much stuff to put there. This may make
7118                 your action bar look bad on some screens. In most cases you should
7119                 use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never". -->
7120            <flag name="always" value="2" />
7121            <!-- When this item is shown as an action in the action bar, show a text
7122                 label with it even if it has an icon representation. -->
7123            <flag name="withText" value="4" />
7124            <!-- This item's action view collapses to a normal menu
7125                 item. When expanded, the action view takes over a
7126                 larger segment of its container. -->
7127            <flag name="collapseActionView" value="8" />
7128        </attr>
7129
7130        <!-- An optional layout to be used as an action view.
7131             See {@link android.view.MenuItem#setActionView(android.view.View)}
7132             for more info. -->
7133        <attr name="actionLayout" format="reference" />
7134
7135        <!-- The name of an optional View class to instantiate and use as an
7136             action view. See {@link android.view.MenuItem#setActionView(android.view.View)}
7137             for more info. -->
7138        <attr name="actionViewClass" format="string" />
7139
7140        <!-- The name of an optional ActionProvider class to instantiate an action view
7141             and perform operations such as default action for that menu item.
7142             See {@link android.view.MenuItem#setActionProvider(android.view.ActionProvider)}
7143             for more info. -->
7144        <attr name="actionProviderClass" format="string" />
7145
7146        <!-- The content description associated with the item. -->
7147        <attr name="contentDescription" format="string" />
7148
7149        <!-- The tooltip text associated with the item. -->
7150        <attr name="tooltipText" format="string" />
7151
7152    </declare-styleable>
7153
7154    <!-- Attrbitutes for a ActvityChooserView. -->
7155    <declare-styleable name="ActivityChooserView">
7156        <!-- The maximal number of items initially shown in the activity list. -->
7157        <attr name="initialActivityCount" format="string" />
7158        <!-- The drawable to show in the button for expanding the activities overflow popup.
7159             <strong>Note:</strong> Clients would like to set this drawable
7160             as a clue about the action the chosen activity will perform. For
7161             example, if share activity is to be chosen the drawable should
7162             give a clue that sharing is to be performed.
7163         -->
7164        <attr name="expandActivityOverflowButtonDrawable" format="reference" />
7165    </declare-styleable>
7166
7167    <!-- **************************************************************** -->
7168    <!-- Preferences framework. -->
7169    <!-- **************************************************************** -->
7170    <eat-comment />
7171
7172    <!-- Base attributes available to PreferenceGroup. -->
7173    <declare-styleable name="PreferenceGroup">
7174        <!-- Whether to order the Preference under this group as they appear in the XML file.
7175             If this is false, the ordering will follow the Preference order attribute and
7176             default to alphabetic for those without the order attribute. -->
7177        <attr name="orderingFromXml" format="boolean" />
7178    </declare-styleable>
7179
7180    <!-- Attribute for a header describing the item shown in the top-level list
7181         from which the selects the set of preference to dig in to. -->
7182    <declare-styleable name="PreferenceHeader">
7183        <!-- Identifier value for the header. -->
7184        <attr name="id" />
7185        <!-- The title of the item that is shown to the user. -->
7186        <attr name="title" />
7187        <!-- The summary for the item. -->
7188        <attr name="summary" format="string" />
7189        <!-- The title for the bread crumb of this item. -->
7190        <attr name="breadCrumbTitle" format="string" />
7191        <!-- The short title for the bread crumb of this item. -->
7192        <attr name="breadCrumbShortTitle" format="string" />
7193        <!-- An icon for the item. -->
7194        <attr name="icon" />
7195        <!-- The fragment that is displayed when the user selects this item. -->
7196        <attr name="fragment" format="string" />
7197    </declare-styleable>
7198
7199    <!-- WARNING:  If adding attributes to Preference, make sure it does not conflict
7200                   with a View's attributes.  Some subclasses (for example, EditTextPreference)
7201                   proxy all attributes to its EditText widget. -->
7202    <eat-comment />
7203
7204    <!-- Base attributes available to Preference. -->
7205    <declare-styleable name="Preference">
7206        <!-- The optional icon for the preference. -->
7207        <attr name="icon" />
7208        <!-- The key to store the Preference value. -->
7209        <attr name="key" format="string" />
7210        <!-- The title for the Preference. In API 25 and earlier, this value is read as a
7211         plain string with styling information stripped. -->
7212        <attr name="title" />
7213        <!-- The summary for the Preference. In API 25 and earlier, this value is read as a
7214         plain string with styling information stripped. -->
7215        <attr name="summary" />
7216        <!-- The order for the Preference (lower values are to be ordered first). If this is not
7217             specified, the default ordering will be alphabetic. -->
7218        <attr name="order" format="integer" />
7219        <!-- When used inside of a modern PreferenceActivity, this declares
7220             a new PreferenceFragment to be shown when the user selects this item. -->
7221        <attr name="fragment" />
7222        <!-- The layout for the Preference in a PreferenceActivity screen. This should
7223             rarely need to be changed, look at widgetLayout instead. -->
7224        <attr name="layout" />
7225        <!-- The layout for the controllable widget portion of a Preference. This is inflated
7226             into the layout for a Preference and should be used more frequently than
7227             the layout attribute. For example, a checkbox preference would specify
7228             a custom layout (consisting of just the CheckBox) here. -->
7229        <attr name="widgetLayout" format="reference" />
7230        <!-- Whether the Preference is enabled. -->
7231        <attr name="enabled" />
7232        <!-- Whether the Preference is selectable. -->
7233        <attr name="selectable" format="boolean" />
7234        <!-- The key of another Preference that this Preference will depend on.  If the other
7235             Preference is not set or is off, this Preference will be disabled. -->
7236        <attr name="dependency" format="string" />
7237        <!-- Whether the Preference stores its value to the storage. -->
7238        <attr name="persistent" />
7239        <!-- The default value for the preference, which will be set either if persistence
7240             is off or persistence is on and the preference is not found in the persistent
7241             storage.  -->
7242        <attr name="defaultValue" format="string|boolean|integer|reference|float" />
7243        <!-- Whether the view of this Preference should be disabled when
7244             this Preference is disabled. -->
7245        <attr name="shouldDisableView" format="boolean" />
7246        <!-- Whether the preference has enabled to have its view recycled when used in the list
7247             view. This is true by default. -->
7248        <attr name="recycleEnabled" format="boolean" />
7249        <!-- Whether to use single line for the preference title text. By default, preference title
7250             will be constrained to one line, so the default value of this attribute is true. -->
7251        <attr name="singleLineTitle" format="boolean" />
7252        <!-- Whether the space for the preference icon view will be reserved. By default, preference
7253             icon view visibility will be set to GONE when there is no icon provided, so the default
7254             value of this attribute is false. -->
7255        <attr name="iconSpaceReserved" format="boolean" />
7256    </declare-styleable>
7257
7258    <!-- Base attributes available to CheckBoxPreference. -->
7259    <declare-styleable name="CheckBoxPreference">
7260        <!-- The summary for the Preference in a PreferenceActivity screen when the
7261             CheckBoxPreference is checked. If separate on/off summaries are not
7262             needed, the summary attribute can be used instead. -->
7263        <attr name="summaryOn" format="string" />
7264        <!-- The summary for the Preference in a PreferenceActivity screen when the
7265             CheckBoxPreference is unchecked. If separate on/off summaries are not
7266             needed, the summary attribute can be used instead. -->
7267        <attr name="summaryOff" format="string" />
7268        <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
7269             dependents will be disabled when this is unchecked, so the value of this preference is false. -->
7270        <attr name="disableDependentsState" format="boolean" />
7271    </declare-styleable>
7272
7273    <!-- Base attributes available to DialogPreference. -->
7274    <declare-styleable name="DialogPreference">
7275        <!-- The title in the dialog. -->
7276        <attr name="dialogTitle" format="string" />
7277        <!-- The message in the dialog. If a dialogLayout is provided and contains
7278             a TextView with ID android:id/message, this message will be placed in there. -->
7279        <attr name="dialogMessage" format="string" />
7280        <!-- The icon for the dialog. -->
7281        <attr name="dialogIcon" format="reference" />
7282        <!-- The positive button text for the dialog. Set to @null to hide the positive button. -->
7283        <attr name="positiveButtonText" format="string" />
7284        <!-- The negative button text for the dialog. Set to @null to hide the negative button. -->
7285        <attr name="negativeButtonText" format="string" />
7286        <!-- A layout to be used as the content View for the dialog. By default, this shouldn't
7287             be needed. If a custom DialogPreference is required, this should be set. For example,
7288             the EditTextPreference uses a layout with an EditText as this attribute. -->
7289        <attr name="dialogLayout" format="reference" />
7290    </declare-styleable>
7291
7292    <!-- Base attributes available to ListPreference. -->
7293    <declare-styleable name="ListPreference">
7294        <!-- The human-readable array to present as a list. Each entry must have a corresponding
7295             index in entryValues. -->
7296        <attr name="entries" />
7297        <!-- The array to find the value to save for a preference when an entry from
7298             entries is selected. If a user clicks on the second item in entries, the
7299             second item in this array will be saved to the preference. -->
7300        <attr name="entryValues" format="reference" />
7301    </declare-styleable>
7302
7303    <declare-styleable name="MultiSelectListPreference">
7304        <!-- The human-readable array to present as a list. Each entry must have a corresponding
7305             index in entryValues. -->
7306        <attr name="entries" />
7307        <!-- The array to find the value to save for a preference when an entry from
7308             entries is selected. If a user clicks the second item in entries, the
7309             second item in this array will be saved to the preference. -->
7310        <attr name="entryValues" />
7311    </declare-styleable>
7312
7313    <!-- Base attributes available to RingtonePreference. -->
7314    <declare-styleable name="RingtonePreference">
7315        <!-- Which ringtone type(s) to show in the picker. -->
7316        <attr name="ringtoneType">
7317            <!-- Ringtones. -->
7318            <flag name="ringtone" value="1" />
7319            <!-- Notification sounds. -->
7320            <flag name="notification" value="2" />
7321            <!-- Alarm sounds. -->
7322            <flag name="alarm" value="4" />
7323            <!-- All available ringtone sounds. -->
7324            <flag name="all" value="7" />
7325        </attr>
7326        <!-- Whether to show an item for a default sound. -->
7327        <attr name="showDefault" format="boolean" />
7328        <!-- Whether to show an item for 'Silent'. -->
7329        <attr name="showSilent" format="boolean" />
7330    </declare-styleable>
7331
7332    <!-- Base attributes available to VolumePreference. -->
7333    <declare-styleable name="VolumePreference">
7334        <!-- Different audio stream types. -->
7335        <attr name="streamType">
7336            <enum name="voice" value="0" />
7337            <enum name="system" value="1" />
7338            <enum name="ring" value="2" />
7339            <enum name="music" value="3" />
7340            <enum name="alarm" value="4" />
7341        </attr>
7342    </declare-styleable>
7343
7344    <declare-styleable name="InputMethodService">
7345        <!-- Background to use for entire input method when it is being
7346             shown in fullscreen mode with the extract view, to ensure
7347             that it completely covers the application.  This allows,
7348             for example, the candidate view to be hidden
7349             while in fullscreen mode without having the application show through
7350             behind it.-->
7351        <attr name="imeFullscreenBackground" format="reference|color" />
7352        <!-- Animation to use when showing the fullscreen extract UI after
7353             it had previously been hidden. -->
7354        <attr name="imeExtractEnterAnimation" format="reference" />
7355        <!-- Animation to use when hiding the fullscreen extract UI after
7356             it had previously been shown. -->
7357        <attr name="imeExtractExitAnimation" format="reference" />
7358    </declare-styleable>
7359
7360    <declare-styleable name="VoiceInteractionSession">
7361    </declare-styleable>
7362
7363    <declare-styleable name="KeyboardView">
7364        <!-- Default KeyboardView style. -->
7365        <attr name="keyboardViewStyle" format="reference" />
7366
7367        <!-- Image for the key. This image needs to be a StateListDrawable, with the following
7368             possible states: normal, pressed, checkable, checkable+pressed, checkable+checked,
7369             checkable+checked+pressed. -->
7370        <attr name="keyBackground" format="reference" />
7371
7372        <!-- Size of the text for character keys. -->
7373        <attr name="keyTextSize" format="dimension" />
7374
7375        <!-- Size of the text for custom keys with some text and no icon. -->
7376        <attr name="labelTextSize" format="dimension" />
7377
7378        <!-- Color to use for the label in a key. -->
7379        <attr name="keyTextColor" format="color" />
7380
7381        <!-- Layout resource for key press feedback.-->
7382        <attr name="keyPreviewLayout" format="reference" />
7383
7384        <!-- Vertical offset of the key press feedback from the key. -->
7385        <attr name="keyPreviewOffset" format="dimension" />
7386
7387        <!-- Height of the key press feedback popup. -->
7388        <attr name="keyPreviewHeight" format="dimension" />
7389
7390        <!-- Amount to offset the touch Y coordinate by, for bias correction. -->
7391        <attr name="verticalCorrection" format="dimension" />
7392
7393        <!-- Layout resource for popup keyboards. -->
7394        <attr name="popupLayout" format="reference" />
7395
7396        <attr name="shadowColor" />
7397        <attr name="shadowRadius" />
7398    </declare-styleable>
7399
7400    <declare-styleable name="KeyboardViewPreviewState">
7401        <!-- State for {@link android.inputmethodservice.KeyboardView KeyboardView}
7402                key preview background. -->
7403        <attr name="state_long_pressable" format="boolean" />
7404    </declare-styleable>
7405
7406    <declare-styleable name="Keyboard">
7407        <!-- Default width of a key, in pixels or percentage of display width. -->
7408        <attr name="keyWidth" format="dimension|fraction" />
7409        <!-- Default height of a key, in pixels or percentage of display width. -->
7410        <attr name="keyHeight" format="dimension|fraction" />
7411        <!-- Default horizontal gap between keys. -->
7412        <attr name="horizontalGap" format="dimension|fraction" />
7413        <!-- Default vertical gap between rows of keys. -->
7414        <attr name="verticalGap" format="dimension|fraction" />
7415    </declare-styleable>
7416
7417    <declare-styleable name="Keyboard_Row">
7418        <!-- Row edge flags. -->
7419        <attr name="rowEdgeFlags">
7420            <!-- Row is anchored to the top of the keyboard. -->
7421            <flag name="top" value="4" />
7422            <!-- Row is anchored to the bottom of the keyboard. -->
7423            <flag name="bottom" value="8" />
7424        </attr>
7425        <!-- Mode of the keyboard. If the mode doesn't match the
7426             requested keyboard mode, the row will be skipped. -->
7427        <attr name="keyboardMode" format="reference" />
7428    </declare-styleable>
7429
7430    <declare-styleable name="Keyboard_Key">
7431        <!-- The unicode value or comma-separated values that this key outputs. -->
7432        <attr name="codes" format="integer|string" />
7433        <!-- The XML keyboard layout of any popup keyboard. -->
7434        <attr name="popupKeyboard" format="reference" />
7435        <!-- The characters to display in the popup keyboard. -->
7436        <attr name="popupCharacters" format="string" />
7437        <!-- Key edge flags. -->
7438        <attr name="keyEdgeFlags">
7439            <!-- Key is anchored to the left of the keyboard. -->
7440            <flag name="left" value="1" />
7441            <!-- Key is anchored to the right of the keyboard. -->
7442            <flag name="right" value="2" />
7443        </attr>
7444        <!-- Whether this is a modifier key such as Alt or Shift. -->
7445        <attr name="isModifier" format="boolean" />
7446        <!-- Whether this is a toggle key. -->
7447        <attr name="isSticky" format="boolean" />
7448        <!-- Whether long-pressing on this key will make it repeat. -->
7449        <attr name="isRepeatable" format="boolean" />
7450        <!-- The icon to show in the popup preview. -->
7451        <attr name="iconPreview" format="reference" />
7452        <!-- The string of characters to output when this key is pressed. -->
7453        <attr name="keyOutputText" format="string" />
7454        <!-- The label to display on the key. -->
7455        <attr name="keyLabel" format="string" />
7456        <!-- The icon to display on the key instead of the label. -->
7457        <attr name="keyIcon" format="reference" />
7458        <!-- Mode of the keyboard. If the mode doesn't match the
7459             requested keyboard mode, the key will be skipped. -->
7460        <attr name="keyboardMode" />
7461    </declare-styleable>
7462
7463    <!-- =============================== -->
7464    <!-- AppWidget package class attributes -->
7465    <!-- =============================== -->
7466    <eat-comment />
7467
7468    <!-- Use <code>appwidget-provider</code> as the root tag of the XML resource that
7469         describes an AppWidget provider.  See {@link android.appwidget android.appwidget}
7470         package for more info.
7471     -->
7472    <declare-styleable name="AppWidgetProviderInfo">
7473        <!-- Minimum width of the AppWidget. -->
7474        <attr name="minWidth"/>
7475        <!-- Minimum height of the AppWidget. -->
7476        <attr name="minHeight"/>
7477        <!-- Minimum width that the AppWidget can be resized to. -->
7478        <attr name="minResizeWidth" format="dimension"/>
7479        <!-- Minimum height that the AppWidget can be resized to. -->
7480        <attr name="minResizeHeight" format="dimension"/>
7481        <!-- Update period in milliseconds, or 0 if the AppWidget will update itself. -->
7482        <attr name="updatePeriodMillis" format="integer" />
7483        <!-- A resource id of a layout. -->
7484        <attr name="initialLayout" format="reference" />
7485        <!-- A resource id of a layout. -->
7486        <attr name="initialKeyguardLayout" format="reference" />
7487        <!-- A class name in the AppWidget's package to be launched to configure.
7488             If not supplied, then no activity will be launched. -->
7489        <attr name="configure" format="string" />
7490        <!-- A preview of what the AppWidget will look like after it's configured.
7491              If not supplied, the AppWidget's icon will be used. -->
7492        <attr name="previewImage" format="reference" />
7493        <!-- The view id of the AppWidget subview which should be auto-advanced.
7494             by the widget's host. -->
7495        <attr name="autoAdvanceViewId" format="reference" />
7496        <!-- Optional parameter which indicates if and how this widget can be
7497             resized. Supports combined values using | operator. -->
7498        <attr name="resizeMode" format="integer">
7499            <flag name="none" value="0x0" />
7500            <flag name="horizontal" value="0x1" />
7501            <flag name="vertical" value="0x2" />
7502        </attr>
7503        <!-- Optional parameter which indicates where this widget can be shown,
7504             ie. home screen, keyguard, search bar or any combination thereof.
7505             Supports combined values using | operator. -->
7506        <attr name="widgetCategory" format="integer">
7507            <flag name="home_screen" value="0x1" />
7508            <flag name="keyguard" value="0x2" />
7509            <flag name="searchbox" value="0x4" />
7510        </attr>
7511    </declare-styleable>
7512
7513    <!-- =============================== -->
7514    <!-- Wallpaper preview attributes    -->
7515    <!-- =============================== -->
7516    <eat-comment />
7517
7518    <!-- Use <code>wallpaper-preview</code> as the root tag of the XML resource that
7519         describes a wallpaper preview. -->
7520    <declare-styleable name="WallpaperPreviewInfo">
7521        <!-- A resource id of a static drawable. -->
7522        <attr name="staticWallpaperPreview" format="reference" />
7523    </declare-styleable>
7524
7525    <!-- =============================== -->
7526    <!-- App package class attributes -->
7527    <!-- =============================== -->
7528    <eat-comment />
7529
7530    <!-- ============================= -->
7531    <!-- View package class attributes -->
7532    <!-- ============================= -->
7533    <eat-comment />
7534
7535    <!-- Attributes that can be used with <code>&lt;fragment&gt;</code>
7536         tags inside of the layout of an Activity.  This instantiates
7537         the given {@link android.app.Fragment} and inserts its content
7538         view into the current location in the layout. -->
7539    <declare-styleable name="Fragment">
7540        <!-- Supply the name of the fragment class to instantiate. -->
7541        <attr name="name" />
7542
7543        <!-- Supply an identifier name for the top-level view, to later retrieve it
7544             with {@link android.view.View#findViewById View.findViewById()} or
7545             {@link android.app.Activity#findViewById Activity.findViewById()}.
7546             This must be a
7547             resource reference; typically you set this using the
7548             <code>@+</code> syntax to create a new ID resources.
7549             For example: <code>android:id="@+id/my_id"</code> which
7550             allows you to later retrieve the view
7551             with <code>findViewById(R.id.my_id)</code>. -->
7552        <attr name="id" />
7553
7554        <!-- Supply a tag for the top-level view containing a String, to be retrieved
7555             later with {@link android.view.View#getTag View.getTag()} or
7556             searched for with {@link android.view.View#findViewWithTag
7557             View.findViewWithTag()}.  It is generally preferable to use
7558             IDs (through the android:id attribute) instead of tags because
7559             they are faster and allow for compile-time type checking. -->
7560        <attr name="tag" />
7561
7562        <!-- The Transition that will be used to move Views out of the scene when the
7563             fragment is removed, hidden, or detached when not popping the back stack.
7564             Corresponds to {@link android.app.Fragment#setExitTransition(
7565             android.transition.Transition)} -->
7566        <attr name="fragmentExitTransition" format="reference"/>
7567
7568        <!-- The Transition that will be used to move Views into the initial scene.
7569             Corresponds to {@link android.app.Fragment#setEnterTransition(
7570             android.transition.Transition)} -->
7571        <attr name="fragmentEnterTransition" format="reference"/>
7572
7573        <!-- The Transition that will be used for shared elements transferred into the content
7574             Scene.
7575             Corresponds to {@link android.app.Fragment#setSharedElementEnterTransition(
7576             android.transition.Transition)} -->
7577        <attr name="fragmentSharedElementEnterTransition" format="reference"/>
7578
7579        <!-- The Transition that will be used to move Views out of the scene when the Fragment is
7580             preparing to be removed, hidden, or detached because of popping the back stack.
7581             Corresponds to {@link android.app.Fragment#setReturnTransition(
7582             android.transition.Transition)} -->
7583        <attr name="fragmentReturnTransition" format="reference"/>
7584
7585        <!-- The Transition that will be used for shared elements transferred back during a
7586             pop of the back stack. This Transition acts in the leaving Fragment.
7587             Corresponds to {@link android.app.Fragment#setSharedElementReturnTransition(
7588             android.transition.Transition)} -->
7589        <attr name="fragmentSharedElementReturnTransition" format="reference"/>
7590
7591        <!-- The Transition that will be used to move Views in to the scene when returning due
7592             to popping a back stack.
7593             Corresponds to {@link android.app.Fragment#setReenterTransition(
7594             android.transition.Transition)} -->
7595        <attr name="fragmentReenterTransition" format="reference"/>
7596
7597        <!-- Sets whether the enter and exit transitions should overlap when transitioning
7598             forward.
7599             Corresponds to {@link android.app.Fragment#setAllowEnterTransitionOverlap(
7600             boolean)} -->
7601        <attr name="fragmentAllowEnterTransitionOverlap" format="reference"/>
7602
7603        <!-- Sets whether the enter and exit transitions should overlap when transitioning
7604             because of popping the back stack.
7605             Corresponds to {@link android.app.Fragment#setAllowReturnTransitionOverlap(
7606             boolean)} -->
7607        <attr name="fragmentAllowReturnTransitionOverlap" format="reference"/>
7608    </declare-styleable>
7609
7610    <!-- Use <code>device-admin</code> as the root tag of the XML resource that
7611         describes a
7612         {@link android.app.admin.DeviceAdminReceiver}, which is
7613         referenced from its
7614         {@link android.app.admin.DeviceAdminReceiver#DEVICE_ADMIN_META_DATA}
7615         meta-data entry.  Described here are the attributes that can be
7616         included in that tag. -->
7617    <declare-styleable name="DeviceAdmin">
7618        <!-- Control whether the admin is visible to the user, even when it
7619             is not enabled.  This is true by default.  You may want to make
7620             it false if your admin does not make sense to be turned on
7621             unless some explicit action happens in your app. -->
7622        <attr name="visible" />
7623    </declare-styleable>
7624
7625    <!-- Use <code>wallpaper</code> as the root tag of the XML resource that
7626         describes an
7627         {@link android.service.wallpaper.WallpaperService}, which is
7628         referenced from its
7629         {@link android.service.wallpaper.WallpaperService#SERVICE_META_DATA}
7630         meta-data entry.  Described here are the attributes that can be
7631         included in that tag. -->
7632    <declare-styleable name="Wallpaper">
7633        <attr name="settingsActivity" />
7634
7635        <!-- Reference to the wallpaper's thumbnail bitmap. -->
7636        <attr name="thumbnail" format="reference" />
7637
7638        <!-- Name of the author and/or source/collection of this component, for example,
7639             Art Collection, Picasso. -->
7640        <attr name="author" format="reference" />
7641
7642        <!-- Short description of the component's purpose or behavior. -->
7643        <attr name="description" />
7644
7645        <!-- Uri that specifies a link for further context of this wallpaper, for example,
7646             http://www.picasso.org. -->
7647        <attr name="contextUri" format="reference" />
7648
7649        <!-- Title of the uri that specifies a link for further context of this wallpaper,
7650             for example, Explore collection. -->
7651        <attr name="contextDescription" format="reference" />
7652
7653        <!-- Whether to show any metadata when previewing the wallpaper. If this value is
7654             set to true, any component that shows a preview of this live wallpaper should also show
7655             accompanying information like the title, the description, the author and the context
7656             description of this wallpaper so the user gets to know further information about this
7657             wallpaper. -->
7658        <attr name="showMetadataInPreview" format="boolean" />
7659
7660    </declare-styleable>
7661
7662    <!-- Use <code>dream</code> as the root tag of the XML resource that
7663         describes an
7664         {@link android.service.dreams.DreamService}, which is
7665         referenced from its
7666         {@link android.service.dreams.DreamService#DREAM_META_DATA}
7667         meta-data entry.  Described here are the attributes that can be
7668         included in that tag. -->
7669    <declare-styleable name="Dream">
7670        <!-- Component name of an activity that allows the user to modify
7671             the settings for this dream. -->
7672        <attr name="settingsActivity" />
7673    </declare-styleable>
7674
7675    <!-- @SystemApi Use <code>trust-agent</code> as the root tag of the XML resource that
7676         describes an {@link android.service.trust.TrustAgentService}, which is
7677         referenced from its {@link android.service.trust.TrustAgentService#TRUST_AGENT_META_DATA}
7678         meta-data entry.  Described here are the attributes that can be included in that tag.
7679         @hide -->
7680    <declare-styleable name="TrustAgent">
7681        <!-- @SystemApi Component name of an activity that allows the user to modify
7682             the settings for this trust agent. @hide -->
7683        <attr name="settingsActivity" />
7684        <!-- @SystemApi Title for a preference that allows that user to launch the
7685             activity to modify trust agent settings. @hide -->
7686        <attr name="title" />
7687        <!-- @SystemApi Summary for the same preference as the title. @hide -->
7688        <attr name="summary" />
7689        <!-- @SystemApi Whether trust agent can unlock a user profile @hide -->
7690        <attr name="unlockProfile" format="boolean"/>
7691    </declare-styleable>
7692
7693    <!-- =============================== -->
7694    <!-- Accounts package class attributes -->
7695    <!-- =============================== -->
7696    <eat-comment />
7697
7698    <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
7699         describes an account authenticator.
7700     -->
7701    <declare-styleable name="AccountAuthenticator">
7702        <!-- The account type this authenticator handles. -->
7703        <attr name="accountType" format="string"/>
7704        <!-- The user-visible name of the authenticator. -->
7705        <attr name="label"/>
7706        <!-- The icon of the authenticator. -->
7707        <attr name="icon"/>
7708        <!-- Smaller icon of the authenticator. -->
7709        <attr name="smallIcon" format="reference"/>
7710        <!-- A preferences.xml file for authenticator-specific settings. -->
7711        <attr name="accountPreferences" format="reference"/>
7712        <!-- Account handles its own token storage and permissions.
7713             Default to false
7714          -->
7715        <attr name="customTokens" format="boolean"/>
7716    </declare-styleable>
7717
7718    <!-- =============================== -->
7719    <!-- Accounts package class attributes -->
7720    <!-- =============================== -->
7721    <eat-comment />
7722
7723    <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
7724         describes an account authenticator.
7725     -->
7726    <declare-styleable name="SyncAdapter">
7727        <!-- the authority of a content provider. -->
7728        <attr name="contentAuthority" format="string"/>
7729        <attr name="accountType"/>
7730        <attr name="userVisible" format="boolean"/>
7731        <attr name="supportsUploading" format="boolean"/>
7732        <!-- Set to true to tell the SyncManager that this SyncAdapter supports
7733             multiple simultaneous syncs for the same account type and authority.
7734             Otherwise the SyncManager will be sure not to issue a start sync request
7735             to this SyncAdapter if the SyncAdapter is already syncing another account.
7736             Defaults to false.
7737             -->
7738        <attr name="allowParallelSyncs" format="boolean"/>
7739        <!-- Set to true to tell the SyncManager to automatically call setIsSyncable(..., ..., 1)
7740             for the SyncAdapter instead of issuaing an initialization sync to the SyncAdapter.
7741             Defaults to false.
7742             -->
7743        <attr name="isAlwaysSyncable" format="boolean"/>
7744        <!-- If provided, specifies the action of the settings
7745             activity for this SyncAdapter.
7746             -->
7747        <attr name="settingsActivity"/>
7748    </declare-styleable>
7749
7750    <!-- =============================== -->
7751    <!-- Autofill attributes -->
7752    <!-- =============================== -->
7753    <eat-comment />
7754
7755    <!-- Use <code>autofill-service</code> as the root tag of the XML resource that describes a
7756         {@link android.service.autofill.AutofillService}, which is referenced from its
7757         {@link android.service.autofill#SERVICE_META_DATA} meta-data entry.
7758    -->
7759    <declare-styleable name="AutofillService">
7760        <!-- Fully qualified class name of an activity that allows the user to modify
7761             the settings for this service. -->
7762        <attr name="settingsActivity" />
7763    </declare-styleable>
7764
7765    <!-- =============================== -->
7766    <!-- Contacts meta-data attributes -->
7767    <!-- =============================== -->
7768    <eat-comment />
7769
7770    <!-- TODO: remove this deprecated styleable. -->
7771    <eat-comment />
7772    <declare-styleable name="Icon">
7773        <attr name="icon" />
7774        <attr name="mimeType" />
7775    </declare-styleable>
7776
7777    <!-- TODO: remove this deprecated styleable -->
7778    <eat-comment />
7779    <declare-styleable name="IconDefault">
7780        <attr name="icon" />
7781    </declare-styleable>
7782
7783    <!-- Maps a specific contact data MIME-type to styling information. -->
7784    <declare-styleable name="ContactsDataKind">
7785        <!-- Mime-type handled by this mapping. -->
7786        <attr name="mimeType" />
7787        <!-- Icon used to represent data of this kind. -->
7788        <attr name="icon" />
7789        <!-- Column in data table that summarizes this data. -->
7790        <attr name="summaryColumn" format="string" />
7791        <!-- Column in data table that contains details for this data. -->
7792        <attr name="detailColumn" format="string" />
7793        <!-- Flag indicating that detail should be built from SocialProvider. -->
7794        <attr name="detailSocialSummary" format="boolean" />
7795        <!-- Resource representing the term "All Contacts" (for example, "All Friends" or
7796        "All connections"). Optional (Default is "All Contacts"). -->
7797        <attr name="allContactsName" format="string" />
7798    </declare-styleable>
7799
7800    <!-- =============================== -->
7801    <!-- TabSelector class attributes -->
7802    <!-- =============================== -->
7803    <eat-comment />
7804
7805    <declare-styleable name="SlidingTab">
7806        <!-- Use "horizontal" for a row, "vertical" for a column.  The default is horizontal. -->
7807        <attr name="orientation" />
7808    </declare-styleable>
7809
7810    <!-- =============================== -->
7811    <!-- GlowPadView class attributes -->
7812    <!-- =============================== -->
7813    <eat-comment />
7814    <declare-styleable name="GlowPadView">
7815        <!-- Reference to an array resource that be used as description for the targets around the circle.
7816             {@deprecated Removed.} -->
7817        <attr name="targetDescriptions" format="reference" />
7818
7819        <!-- Reference to an array resource that be used to announce the directions with targets around the circle.
7820             {@deprecated Removed.} -->
7821        <attr name="directionDescriptions" format="reference" />
7822    </declare-styleable>
7823
7824    <!-- =============================== -->
7825    <!-- Location package class attributes -->
7826    <!-- =============================== -->
7827    <eat-comment />
7828
7829    <!-- Use <code>injected-location-setting</code> as the root tag of the XML resource that
7830         describes an injected "Location services" setting. Note that the status value (subtitle)
7831         for the setting is specified dynamically by a subclass of SettingInjectorService.
7832     -->
7833    <declare-styleable name="SettingInjectorService">
7834        <!-- The title for the preference. -->
7835        <attr name="title"/>
7836        <!-- The icon for the preference, should refer to all apps covered by the setting. Typically
7837             a generic icon for the developer. -->
7838        <attr name="icon"/>
7839        <!-- The activity to launch when the setting is clicked on. -->
7840        <attr name="settingsActivity"/>
7841    </declare-styleable>
7842
7843    <!-- =============================== -->
7844    <!-- LockPatternView class attributes -->
7845    <!-- =============================== -->
7846    <eat-comment />
7847
7848    <declare-styleable name="LockPatternView">
7849        <!-- Aspect to use when drawing LockPatternView. Choices are "square"(default), "lock_width"
7850             or "lock_height" -->
7851        <attr name="aspect" format="string" />
7852        <!-- Color to use when drawing LockPatternView paths. -->
7853        <attr name="pathColor" format="color|reference" />
7854        <!-- The regular pattern color -->
7855        <attr name="regularColor" format="color|reference" />
7856        <!-- The error color -->
7857        <attr name="errorColor" format="color|reference" />
7858        <!-- The success color -->
7859        <attr name="successColor" format="color|reference"/>
7860    </declare-styleable>
7861
7862    <!-- Use <code>recognition-service</code> as the root tag of the XML resource that
7863         describes a {@link android.speech.RecognitionService}, which is referenced from
7864         its {@link android.speech.RecognitionService#SERVICE_META_DATA} meta-data entry.
7865         Described here are the attributes that can be included in that tag. -->
7866    <declare-styleable name="RecognitionService">
7867        <attr name="settingsActivity" />
7868    </declare-styleable>
7869
7870    <!-- Use <code>voice-interaction-service</code> as the root tag of the XML resource that
7871         describes a {@link android.service.voice.VoiceInteractionService}, which is referenced from
7872         its {@link android.service.voice.VoiceInteractionService#SERVICE_META_DATA} meta-data entry.
7873         Described here are the attributes that can be included in that tag. -->
7874    <declare-styleable name="VoiceInteractionService">
7875        <!-- The service that hosts active voice interaction sessions.  This is required. -->
7876        <attr name="sessionService" format="string" />
7877        <!-- The service that provides voice recognition.  This is required.  When the user
7878             selects this voice interaction service, they will also be implicitly selecting
7879             the component here for their recognition service. -->
7880        <attr name="recognitionService" format="string" />
7881        <attr name="settingsActivity" />
7882        <!-- Flag indicating whether this voice interaction service is capable of handling the
7883             assist action. -->
7884        <attr name="supportsAssist" format="boolean" />
7885        <!-- Flag indicating whether this voice interaction service is capable of being launched
7886             from the keyguard. -->
7887        <attr name="supportsLaunchVoiceAssistFromKeyguard" format="boolean" />
7888        <!-- Flag indicating whether this voice interaction service can handle local voice
7889             interaction requests from an Activity. This flag is new in
7890             {@link android.os.Build.VERSION_CODES#N} and not used in previous versions. -->
7891        <attr name="supportsLocalInteraction" format="boolean" />
7892    </declare-styleable>
7893
7894    <!-- Use <code>voice-enrollment-application</code>
7895         as the root tag of the XML resource that escribes the supported keyphrases (hotwords)
7896         by the enrollment application.
7897         Described here are the attributes that can be included in that tag.
7898         @hide
7899         @SystemApi -->
7900    <declare-styleable name="VoiceEnrollmentApplication">
7901        <!-- A globally unique ID for the keyphrase. @hide @SystemApi -->
7902        <attr name="searchKeyphraseId" format="integer" />
7903        <!-- The actual keyphrase/hint text, or empty if not keyphrase dependent. @hide @SystemApi -->
7904        <attr name="searchKeyphrase" format="string" />
7905        <!-- A comma separated list of BCP-47 language tag for locales that are supported
7906             for this keyphrase, or empty if not locale dependent. @hide @SystemApi -->
7907        <attr name="searchKeyphraseSupportedLocales" format="string" />
7908        <!-- Flags for supported recognition modes. @hide @SystemApi -->
7909        <attr name="searchKeyphraseRecognitionFlags">
7910            <flag name="none" value="0" />
7911            <flag name="voiceTrigger" value="0x1" />
7912            <flag name="userIdentification" value="0x2" />
7913        </attr>
7914    </declare-styleable>
7915
7916    <!-- Attributes used to style the Action Bar. -->
7917    <declare-styleable name="ActionBar">
7918        <!-- The type of navigation to use. -->
7919        <attr name="navigationMode">
7920            <!-- Normal static title text. -->
7921            <enum name="normal" value="0" />
7922            <!-- The action bar will use a selection list for navigation. -->
7923            <enum name="listMode" value="1" />
7924            <!-- The action bar will use a series of horizontal tabs for navigation. -->
7925            <enum name="tabMode" value="2" />
7926        </attr>
7927        <!-- Options affecting how the action bar is displayed. -->
7928        <attr name="displayOptions">
7929            <flag name="none" value="0" />
7930            <flag name="useLogo" value="0x1" />
7931            <flag name="showHome" value="0x2" />
7932            <flag name="homeAsUp" value="0x4" />
7933            <flag name="showTitle" value="0x8" />
7934            <flag name="showCustom" value="0x10" />
7935            <flag name="disableHome" value="0x20" />
7936        </attr>
7937        <!-- Specifies title text used for navigationMode="normal". -->
7938        <attr name="title" />
7939        <!-- Specifies subtitle text used for navigationMode="normal". -->
7940        <attr name="subtitle" format="string" />
7941        <!-- Specifies a style to use for title text. -->
7942        <attr name="titleTextStyle" format="reference" />
7943        <!-- Specifies a style to use for subtitle text. -->
7944        <attr name="subtitleTextStyle" format="reference" />
7945        <!-- Specifies the drawable used for the application icon. -->
7946        <attr name="icon" />
7947        <!-- Specifies the drawable used for the application logo. -->
7948        <attr name="logo" />
7949        <!-- Specifies the drawable used for item dividers. -->
7950        <attr name="divider" />
7951        <!-- Specifies a background drawable for the action bar. -->
7952        <attr name="background" />
7953        <!-- Specifies a background drawable for a second stacked row of the action bar. -->
7954        <attr name="backgroundStacked" format="reference|color" />
7955        <!-- Specifies a background drawable for the bottom component of a split action bar. -->
7956        <attr name="backgroundSplit" format="reference|color" />
7957        <!-- Specifies a layout for custom navigation. Overrides navigationMode. -->
7958        <attr name="customNavigationLayout" format="reference" />
7959        <!-- Specifies a fixed height. -->
7960        <attr name="height" />
7961        <!-- Specifies a layout to use for the "home" section of the action bar. -->
7962        <attr name="homeLayout" format="reference" />
7963        <!-- Specifies a style resource to use for an embedded progress bar. -->
7964        <attr name="progressBarStyle" />
7965        <!-- Specifies a style resource to use for an indeterminate progress spinner. -->
7966        <attr name="indeterminateProgressStyle" format="reference" />
7967        <!-- Specifies the horizontal padding on either end for an embedded progress bar. -->
7968        <attr name="progressBarPadding" format="dimension" />
7969        <!-- Up navigation glyph. -->
7970        <attr name="homeAsUpIndicator" />
7971        <!-- Specifies padding that should be applied to the left and right sides of
7972             system-provided items in the bar. -->
7973        <attr name="itemPadding" format="dimension" />
7974        <!-- Set true to hide the action bar on a vertical nested scroll of content. -->
7975        <attr name="hideOnContentScroll" format="boolean" />
7976        <!-- Minimum inset for content views within a bar. Navigation buttons and
7977             menu views are excepted. Only valid for some themes and configurations. -->
7978        <attr name="contentInsetStart" format="dimension" />
7979        <!-- Minimum inset for content views within a bar. Navigation buttons and
7980             menu views are excepted. Only valid for some themes and configurations. -->
7981        <attr name="contentInsetEnd" format="dimension" />
7982        <!-- Minimum inset for content views within a bar. Navigation buttons and
7983             menu views are excepted. Only valid for some themes and configurations. -->
7984        <attr name="contentInsetLeft" format="dimension" />
7985        <!-- Minimum inset for content views within a bar. Navigation buttons and
7986             menu views are excepted. Only valid for some themes and configurations. -->
7987        <attr name="contentInsetRight" format="dimension" />
7988        <!-- Minimum inset for content views within a bar when a navigation button
7989             is present, such as the Up button. Only valid for some themes and configurations. -->
7990        <attr name="contentInsetStartWithNavigation" format="dimension" />
7991        <!-- Minimum inset for content views within a bar when actions from a menu
7992             are present. Only valid for some themes and configurations. -->
7993        <attr name="contentInsetEndWithActions" format="dimension" />
7994        <!-- Elevation for the action bar itself. -->
7995        <attr name="elevation" />
7996        <!-- Reference to a theme that should be used to inflate popups
7997             shown by widgets in the action bar. -->
7998        <attr name="popupTheme" />
7999    </declare-styleable>
8000
8001    <declare-styleable name="ActionMode">
8002        <!-- Specifies a style to use for title text. -->
8003        <attr name="titleTextStyle" />
8004        <!-- Specifies a style to use for subtitle text. -->
8005        <attr name="subtitleTextStyle" />
8006        <!-- Specifies a background for the action mode bar. -->
8007        <attr name="background" />
8008        <!-- Specifies a background for the split action mode bar. -->
8009        <attr name="backgroundSplit" />
8010        <!-- Specifies a fixed height for the action mode bar. -->
8011        <attr name="height" />
8012        <!-- Specifies a layout to use for the "close" item at the starting edge. -->
8013        <attr name="closeItemLayout" format="reference" />
8014    </declare-styleable>
8015
8016    <declare-styleable name="SearchView">
8017        <!-- The layout to use for the search view. -->
8018        <attr name="layout" />
8019        <!-- The default state of the SearchView. If true, it will be iconified when not in
8020             use and expanded when clicked. -->
8021        <attr name="iconifiedByDefault" format="boolean" />
8022        <!-- An optional maximum width of the SearchView. -->
8023        <attr name="maxWidth" />
8024        <!-- An optional query hint string to be displayed in the empty query field. -->
8025        <attr name="queryHint" format="string" />
8026        <!-- Default query hint used when {@code queryHint} is undefined and
8027             the search view's {@code SearchableInfo} does not provide a hint.
8028             @hide -->
8029        <attr name="defaultQueryHint" format="string" />
8030        <!-- The IME options to set on the query text field. -->
8031        <attr name="imeOptions" />
8032        <!-- The input type to set on the query text field. -->
8033        <attr name="inputType" />
8034        <!-- Close button icon. -->
8035        <attr name="closeIcon" format="reference" />
8036        <!-- Go button icon. -->
8037        <attr name="goIcon" format="reference" />
8038        <!-- Search icon. -->
8039        <attr name="searchIcon" format="reference" />
8040        <!-- Search icon displayed as a text field hint. -->
8041        <attr name="searchHintIcon" format="reference" />
8042        <!-- Voice button icon. -->
8043        <attr name="voiceIcon" format="reference" />
8044        <!-- Commit icon shown in the query suggestion row. -->
8045        <attr name="commitIcon" format="reference" />
8046        <!-- Layout for query suggestion rows. -->
8047        <attr name="suggestionRowLayout" format="reference" />
8048        <!-- Background for the section containing the search query. -->
8049        <attr name="queryBackground" format="reference" />
8050        <!-- Background for the section containing the action (for example, voice search). -->
8051        <attr name="submitBackground" format="reference" />
8052    </declare-styleable>
8053
8054    <declare-styleable name="Switch">
8055        <!-- Drawable to use as the "thumb" that switches back and forth. -->
8056        <attr name="thumb" />
8057        <!-- Tint to apply to the thumb. -->
8058        <attr name="thumbTint" />
8059        <!-- Blending mode used to apply the thumb tint. -->
8060        <attr name="thumbTintMode" />
8061        <!-- Drawable to use as the "track" that the switch thumb slides within. -->
8062        <attr name="track" format="reference" />
8063        <!-- Tint to apply to the track. -->
8064        <attr name="trackTint" format="color" />
8065        <!-- Blending mode used to apply the track tint. -->
8066        <attr name="trackTintMode">
8067            <!-- The tint is drawn on top of the drawable.
8068                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
8069            <enum name="src_over" value="3" />
8070            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
8071                 color channels are thrown out. [Sa * Da, Sc * Da] -->
8072            <enum name="src_in" value="5" />
8073            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
8074                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
8075            <enum name="src_atop" value="9" />
8076            <!-- Multiplies the color and alpha channels of the drawable with those of
8077                 the tint. [Sa * Da, Sc * Dc] -->
8078            <enum name="multiply" value="14" />
8079            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
8080            <enum name="screen" value="15" />
8081            <!-- Combines the tint and drawable color and alpha channels, clamping the
8082                 result to valid color values. Saturate(S + D) -->
8083            <enum name="add" value="16" />
8084        </attr>
8085        <!-- Text to use when the switch is in the checked/"on" state. -->
8086        <attr name="textOn" />
8087        <!-- Text to use when the switch is in the unchecked/"off" state. -->
8088        <attr name="textOff" />
8089        <!-- Amount of padding on either side of text within the switch thumb. -->
8090        <attr name="thumbTextPadding" format="dimension" />
8091        <!-- TextAppearance style for text displayed on the switch thumb. -->
8092        <attr name="switchTextAppearance" format="reference" />
8093        <!-- Minimum width for the switch component. -->
8094        <attr name="switchMinWidth" format="dimension" />
8095        <!-- Minimum space between the switch and caption text. -->
8096        <attr name="switchPadding" format="dimension" />
8097        <!-- Whether to split the track and leave a gap for the thumb drawable. -->
8098        <attr name="splitTrack" />
8099        <!-- Whether to draw on/off text. -->
8100        <attr name="showText" format="boolean" />
8101    </declare-styleable>
8102
8103    <declare-styleable name="Pointer">
8104        <!-- Reference to a pointer icon drawable with STYLE_ARROW. -->
8105        <attr name="pointerIconArrow" format="reference" />
8106        <!-- Reference to a pointer icon drawable with STYLE_SPOT_HOVER. -->
8107        <attr name="pointerIconSpotHover" format="reference" />
8108        <!-- Reference to a pointer icon drawable with STYLE_SPOT_TOUCH. -->
8109        <attr name="pointerIconSpotTouch" format="reference" />
8110        <!-- Reference to a pointer icon drawable with STYLE_SPOT_ANCHOR. -->
8111        <attr name="pointerIconSpotAnchor" format="reference" />
8112        <!-- Reference to a pointer drawable with STYLE_CONTEXT_MENU. -->
8113        <attr name="pointerIconContextMenu" format="reference"/>
8114        <!-- Reference to a pointer drawable with STYLE_HAND. -->
8115        <attr name="pointerIconHand" format="reference"/>
8116        <!-- Reference to a pointer drawable with STYLE_HELP. -->
8117        <attr name="pointerIconHelp" format="reference"/>
8118        <!-- Reference to a pointer drawable with STYLE_WAIT. -->
8119        <attr name="pointerIconWait" format="reference"/>
8120        <!-- Reference to a pointer drawable with STYLE_CELL. -->
8121        <attr name="pointerIconCell" format="reference"/>
8122        <!-- Reference to a pointer drawable with STYLE_CROSSHAIR. -->
8123        <attr name="pointerIconCrosshair" format="reference"/>
8124        <!-- Reference to a pointer drawable with STYLE_TEXT. -->
8125        <attr name="pointerIconText" format="reference"/>
8126        <!-- Reference to a pointer drawable with STYLE_VERTICAL_TEXT. -->
8127        <attr name="pointerIconVerticalText" format="reference"/>
8128        <!-- Reference to a pointer drawable with STYLE_ALIAS. -->
8129        <attr name="pointerIconAlias" format="reference"/>
8130        <!-- Reference to a pointer drawable with STYLE_COPY. -->
8131        <attr name="pointerIconCopy" format="reference"/>
8132        <!-- Reference to a pointer drawable with STYLE_NODROP. -->
8133        <attr name="pointerIconNodrop" format="reference"/>
8134        <!-- Reference to a pointer drawable with STYLE_ALL_SCROLL. -->
8135        <attr name="pointerIconAllScroll" format="reference"/>
8136        <!-- Reference to a pointer drawable with STYLE_HORIZONTAL_DOUBLE_ARROW. -->
8137        <attr name="pointerIconHorizontalDoubleArrow" format="reference"/>
8138        <!-- Reference to a pointer drawable with STYLE_VERTICAL_DOUBLE_ARROW. -->
8139        <attr name="pointerIconVerticalDoubleArrow" format="reference"/>
8140        <!-- Reference to a pointer drawable with STYLE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW. -->
8141        <attr name="pointerIconTopRightDiagonalDoubleArrow" format="reference"/>
8142        <!-- Reference to a pointer drawable with STYLE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW. -->
8143        <attr name="pointerIconTopLeftDiagonalDoubleArrow" format="reference"/>
8144        <!-- Reference to a pointer drawable with STYLE_ZOOM_IN. -->
8145        <attr name="pointerIconZoomIn" format="reference"/>
8146        <!-- Reference to a pointer drawable with STYLE_ZOOM_OUT. -->
8147        <attr name="pointerIconZoomOut" format="reference"/>
8148        <!-- Reference to a pointer drawable with STYLE_GRAB. -->
8149        <attr name="pointerIconGrab" format="reference"/>
8150        <!-- Reference to a pointer drawable with STYLE_GRABBING. -->
8151        <attr name="pointerIconGrabbing" format="reference"/>
8152    </declare-styleable>
8153
8154    <declare-styleable name="PointerIcon">
8155        <!-- Drawable to use as the icon bitmap. -->
8156        <attr name="bitmap" format="reference" />
8157        <!-- X coordinate of the icon hot spot. -->
8158        <attr name="hotSpotX" format="dimension" />
8159        <!-- Y coordinate of the icon hot spot. -->
8160        <attr name="hotSpotY" format="dimension" />
8161    </declare-styleable>
8162
8163    <declare-styleable name="Storage">
8164        <!-- path to mount point for the storage. -->
8165        <attr name="mountPoint" format="string" />
8166        <!-- user visible description of the storage. -->
8167        <attr name="storageDescription" format="string" />
8168        <!-- true if the storage is the primary external storage. -->
8169        <attr name="primary" format="boolean" />
8170        <!-- true if the storage is removable. -->
8171        <attr name="removable" format="boolean" />
8172        <!-- true if the storage is emulated via the FUSE sdcard daemon. -->
8173        <attr name="emulated" format="boolean" />
8174        <!-- number of megabytes of storage MTP should reserve for free storage
8175             (used for emulated storage that is shared with system's data partition). -->
8176        <attr name="mtpReserve" format="integer" />
8177        <!-- true if the storage can be shared via USB mass storage. -->
8178        <attr name="allowMassStorage" format="boolean" />
8179        <!-- maximum file size for the volume in megabytes, zero or unspecified if it is unbounded. -->
8180        <attr name="maxFileSize" format="integer" />
8181    </declare-styleable>
8182
8183    <declare-styleable name="SwitchPreference">
8184        <!-- The summary for the Preference in a PreferenceActivity screen when the
8185             SwitchPreference is checked. If separate on/off summaries are not
8186             needed, the summary attribute can be used instead. -->
8187        <attr name="summaryOn" />
8188        <!-- The summary for the Preference in a PreferenceActivity screen when the
8189             SwitchPreference is unchecked. If separate on/off summaries are not
8190             needed, the summary attribute can be used instead. -->
8191        <attr name="summaryOff" />
8192        <!-- The text used on the switch itself when in the "on" state.
8193             This should be a very SHORT string, as it appears in a small space. -->
8194        <attr name="switchTextOn" format="string" />
8195        <!-- The text used on the switch itself when in the "off" state.
8196             This should be a very SHORT string, as it appears in a small space. -->
8197        <attr name="switchTextOff" format="string" />
8198        <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
8199             dependents will be disabled when this is unchecked, so the value of this preference is false. -->
8200        <attr name="disableDependentsState" />
8201    </declare-styleable>
8202
8203    <declare-styleable name="SeekBarPreference">
8204        <attr name="layout" />
8205        <!-- Attribute indicating whether the slider within this preference can be adjusted, that is
8206        pressing left/right keys when this preference is focused will move the slider accordingly
8207        (for example, inline adjustable preferences). False, if the slider within the preference is
8208        read-only and cannot be adjusted. By default, the seekbar is adjustable. -->
8209        <attr name="adjustable" format="boolean" />
8210        <!-- Flag indicating whether the TextView next to the seekbar that shows the current seekbar value will be
8211        displayed. If true, the view is VISIBLE; if false, the view will be GONE. By default, this view is VISIBLE. -->
8212        <attr name="showSeekBarValue" format="boolean" />
8213    </declare-styleable>
8214
8215    <!-- Base attributes available to PreferenceFragment. -->
8216    <declare-styleable name="PreferenceFragment">
8217        <!-- The layout for the PreferenceFragment. This should rarely need to be changed. -->
8218        <attr name="layout" />
8219        <attr name="divider" />
8220    </declare-styleable>
8221
8222    <!-- Base attributes available to PreferenceScreen. -->
8223    <declare-styleable name="PreferenceScreen">
8224        <!-- The layout for the PreferenceScreen. This should rarely need to be changed. -->
8225        <attr name="screenLayout" format="reference" />
8226        <attr name="divider" />
8227    </declare-styleable>
8228
8229    <!-- Base attributes available to PreferenceActivity. -->
8230    <declare-styleable name="PreferenceActivity">
8231        <!-- The layout for the Preference Activity. This should rarely need to be changed. -->
8232        <attr name="layout" />
8233        <!-- The layout for the Preference Header. This should rarely need to be changed. -->
8234        <attr name="headerLayout" format="reference" />
8235        <!-- true if the Icon view will be removed when there is none and thus not showing
8236             the fixed margins. -->
8237        <attr name="headerRemoveIconIfEmpty" format="boolean" />
8238    </declare-styleable>
8239
8240    <!-- Use <code>tts-engine</code> as the root tag of the XML resource that
8241         describes a text to speech engine implemented as a subclass of
8242         {@link android.speech.tts.TextToSpeechService}.
8243
8244         The XML resource must be referenced from its
8245         {@link android.speech.tts.TextToSpeech.Engine#SERVICE_META_DATA} meta-data
8246         entry. -->
8247    <declare-styleable name="TextToSpeechEngine">
8248        <attr name="settingsActivity" />
8249    </declare-styleable>
8250
8251    <!-- Use <code>keyboard-layouts</code> as the root tag of the XML resource that
8252         describes a collection of keyboard layouts provided by an application.
8253         Each keyboard layout is declared by a <code>keyboard-layout</code> tag
8254         with these attributes.
8255
8256         The XML resource that contains the keyboard layouts must be referenced from its
8257         {@link android.hardware.input.InputManager#META_DATA_KEYBOARD_LAYOUTS}
8258         meta-data entry used with broadcast receivers for
8259         {@link android.hardware.input.InputManager#ACTION_QUERY_KEYBOARD_LAYOUTS}. -->
8260    <declare-styleable name="KeyboardLayout">
8261        <!-- The name of the keyboard layout, must be unique in the receiver. -->
8262        <attr name="name" />
8263        <!-- The display label of the keyboard layout. -->
8264        <attr name="label" />
8265        <!-- The key character map file resource. -->
8266        <attr name="keyboardLayout" format="reference" />
8267        <!-- The locales the given keyboard layout corresponds to. -->
8268        <attr name="locale" format="string" />
8269        <!-- The vendor ID of the hardware the given layout corresponds to. @hide -->
8270        <attr name="vendorId" format="integer" />
8271        <!-- The product ID of the hardware the given layout corresponds to. @hide -->
8272        <attr name="productId" format="integer" />
8273    </declare-styleable>
8274
8275    <declare-styleable name="MediaRouteButton">
8276        <!-- This drawable is a state list where the "activated" state
8277             indicates active media routing. Non-activated indicates
8278             that media is playing to the local device only.
8279             @hide -->
8280        <attr name="externalRouteEnabledDrawable" format="reference" />
8281
8282        <!-- The types of media routes the button and its resulting
8283             chooser will filter by. -->
8284        <attr name="mediaRouteTypes" format="integer">
8285            <!-- Allow selection of live audio routes. -->
8286            <enum name="liveAudio" value="0x1" />
8287            <!-- Allow selection of user (app-specified) routes. -->
8288            <enum name="user" value="0x800000" />
8289        </attr>
8290
8291        <attr name="minWidth" />
8292        <attr name="minHeight" />
8293    </declare-styleable>
8294
8295    <!-- PagedView specific attributes. These attributes are used to customize
8296         a PagedView view in XML files. -->
8297    <declare-styleable name="PagedView">
8298        <!-- The space between adjacent pages of the PagedView. -->
8299        <attr name="pageSpacing" format="dimension" />
8300        <!-- The padding for the scroll indicator area. -->
8301        <attr name="scrollIndicatorPaddingLeft" format="dimension" />
8302        <attr name="scrollIndicatorPaddingRight" format="dimension" />
8303    </declare-styleable>
8304
8305    <declare-styleable name="KeyguardGlowStripView">
8306        <attr name="dotSize" format="dimension" />
8307        <attr name="numDots" format="integer" />
8308        <attr name="glowDot" format="reference" />
8309        <attr name="leftToRight" format="boolean" />
8310    </declare-styleable>
8311
8312    <!-- Some child types have special behavior. -->
8313    <attr name="layout_childType">
8314        <!-- No special behavior. Layout will proceed as normal. -->
8315        <enum name="none" value="0" />
8316        <!-- Widget container.
8317             This will be resized in response to certain events. -->
8318        <enum name="widget" value="1" />
8319        <!-- Security challenge container.
8320             This will be dismissed/shown in response to certain events,
8321             possibly obscuring widget elements. -->
8322        <enum name="challenge" value="2" />
8323        <!-- User switcher.
8324             This will consume space from the total layout area. -->
8325        <enum name="userSwitcher" value="3" />
8326        <!-- Scrim. This will block access to child views that
8327             come before it in the child list in bouncer mode. -->
8328        <enum name="scrim" value="4" />
8329        <!-- The home for widgets. All widgets will be descendents of this. -->
8330        <enum name="widgets" value="5" />
8331        <!-- This is a handle that is used for expanding the
8332             security challenge container when it is collapsed. -->
8333        <enum name="expandChallengeHandle" value="6" />
8334        <!-- Delete drop target.  This will be the drop target to delete pages. -->
8335        <enum name="pageDeleteDropTarget" value="7" />
8336    </attr>
8337
8338    <!-- Attributes that can be used with <code>&lt;FragmentBreadCrumbs&gt;</code>
8339    tags. -->
8340    <declare-styleable name="FragmentBreadCrumbs">
8341        <attr name="gravity" />
8342        <attr name="itemLayout" format="reference" />
8343        <attr name="itemColor" format="color|reference" />
8344    </declare-styleable>
8345
8346    <declare-styleable name="Toolbar">
8347        <attr name="titleTextAppearance" format="reference" />
8348        <attr name="subtitleTextAppearance" format="reference" />
8349        <attr name="title" />
8350        <attr name="subtitle" />
8351        <attr name="gravity" />
8352        <!--  Specifies extra space on the left, start, right and end sides
8353              of the toolbar's title. Margin values should be positive. -->
8354        <attr name="titleMargin" format="dimension" />
8355        <!--  Specifies extra space on the start side of the toolbar's title.
8356              If both this attribute and titleMargin are specified, then this
8357              attribute takes precedence. Margin values should be positive. -->
8358        <attr name="titleMarginStart" format="dimension" />
8359        <!--  Specifies extra space on the end side of the toolbar's title.
8360              If both this attribute and titleMargin are specified, then this
8361              attribute takes precedence. Margin values should be positive. -->
8362        <attr name="titleMarginEnd" format="dimension" />
8363        <!--  Specifies extra space on the top side of the toolbar's title.
8364              If both this attribute and titleMargin are specified, then this
8365              attribute takes precedence. Margin values should be positive. -->
8366        <attr name="titleMarginTop" format="dimension" />
8367        <!--  Specifies extra space on the bottom side of the toolbar's title.
8368              If both this attribute and titleMargin are specified, then this
8369              attribute takes precedence. Margin values should be positive. -->
8370        <attr name="titleMarginBottom" format="dimension" />
8371        <attr name="contentInsetStart" />
8372        <attr name="contentInsetEnd" />
8373        <attr name="contentInsetLeft" />
8374        <attr name="contentInsetRight" />
8375        <attr name="contentInsetStartWithNavigation" />
8376        <attr name="contentInsetEndWithActions" />
8377        <attr name="maxButtonHeight" format="dimension" />
8378        <attr name="navigationButtonStyle" format="reference" />
8379        <attr name="buttonGravity">
8380            <!-- Push object to the top of its container, not changing its size. -->
8381            <flag name="top" value="0x30" />
8382            <!-- Push object to the bottom of its container, not changing its size. -->
8383            <flag name="bottom" value="0x50" />
8384        </attr>
8385        <!-- Icon drawable to use for the collapse button. -->
8386        <attr name="collapseIcon" format="reference" />
8387        <!-- Text to set as the content description for the collapse button. -->
8388        <attr name="collapseContentDescription" format="string" />
8389        <!-- Reference to a theme that should be used to inflate popups
8390             shown by widgets in the toolbar. -->
8391        <attr name="popupTheme" format="reference" />
8392        <!-- Icon drawable to use for the navigation button located at
8393             the start of the toolbar. -->
8394        <attr name="navigationIcon" format="reference" />
8395        <!-- Text to set as the content description for the navigation button
8396             located at the start of the toolbar. -->
8397        <attr name="navigationContentDescription" format="string" />
8398        <!-- Drawable to set as the logo that appears at the starting side of
8399             the Toolbar, just after the navigation button. -->
8400        <attr name="logo" />
8401        <!-- A content description string to describe the appearance of the
8402             associated logo image. -->
8403        <attr name="logoDescription" format="string" />
8404        <!-- A color to apply to the title string. -->
8405        <attr name="titleTextColor" format="color" />
8406        <!-- A color to apply to the subtitle string. -->
8407        <attr name="subtitleTextColor" format="color" />
8408    </declare-styleable>
8409
8410    <declare-styleable name="Toolbar_LayoutParams">
8411        <attr name="layout_gravity" />
8412    </declare-styleable>
8413
8414    <declare-styleable name="ActionBar_LayoutParams">
8415        <attr name="layout_gravity" />
8416    </declare-styleable>
8417
8418    <!-- Used as a filter array on the theme to pull out only the EdgeEffect-relevant bits. -->
8419    <declare-styleable name="EdgeEffect">
8420        <attr name="colorEdgeEffect" />
8421    </declare-styleable>
8422
8423    <!-- Use <code>tv-input</code> as the root tag of the XML resource that describes a
8424         {@link android.media.tv.TvInputService}, which is referenced from its
8425         {@link android.media.tv.TvInputService#SERVICE_META_DATA} meta-data entry.
8426         Described here are the attributes that can be included in that tag. -->
8427    <declare-styleable name="TvInputService">
8428        <!-- Component name of an activity that allows the user to set up this service. -->
8429        <attr name="setupActivity" format="string" />
8430        <!-- Component name of an activity that allows the user to modify the settings for this
8431             service.
8432             {@deprecated This value is deprecated and not used by the framework starting from API
8433                         level 26. Use setupActivity instead.} -->
8434        <attr name="settingsActivity" />
8435        <!-- Attribute whether the TV input service can record programs. This value can be changed
8436             at runtime by calling
8437             {@link android.media.tv.TvInputManager#updateTvInputInfo(android.media.tv.TvInputInfo)}. -->
8438        <attr name="canRecord" format="boolean" />
8439        <!-- The number of tuners that the TV input service is associated with. This value can be
8440             changed at runtime by calling
8441             {@link android.media.tv.TvInputManager#updateTvInputInfo(android.media.tv.TvInputInfo)}. -->
8442        <attr name="tunerCount" format="integer" />
8443    </declare-styleable>
8444
8445    <!-- Attributes that can be used with <code>rating-system-definition</code> tags inside of the
8446         XML resource that describes TV content rating of a {@link android.media.tv.TvInputService},
8447         which is referenced from its
8448         {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. -->
8449    <declare-styleable name="RatingSystemDefinition">
8450        <!-- The unique name of the content rating system. -->
8451        <attr name="name" />
8452        <!-- The title of the content rating system which is shown to the user. -->
8453        <attr name="title" />
8454        <!-- The short description of the content rating system. -->
8455        <attr name="description" />
8456        <!-- The country code associated with the content rating system, which consists of two
8457             uppercase letters that conform to the ISO 3166 standard. -->
8458        <attr name="country" format="string" />
8459    </declare-styleable>
8460
8461    <!-- Attributes that can be used with <code>rating-definition</code> tags inside of the XML
8462         resource that describes TV content rating of a {@link android.media.tv.TvInputService},
8463         which is referenced from its
8464         {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. -->
8465    <declare-styleable name="RatingDefinition">
8466        <!-- The unique name of the content rating. -->
8467        <attr name="name" />
8468        <!-- The title of the content rating which is shown to the user. -->
8469        <attr name="title" />
8470        <!-- The short description of the content rating. -->
8471        <attr name="description" />
8472        <!-- The age associated with the content rating. The content of this rating is suitable for
8473             people of this age or above. -->
8474        <attr name="contentAgeHint" format="integer" />
8475    </declare-styleable>
8476
8477    <declare-styleable name="ResolverDrawerLayout">
8478        <attr name="maxWidth" />
8479        <attr name="maxCollapsedHeight" format="dimension" />
8480        <attr name="maxCollapsedHeightSmall" format="dimension" />
8481    </declare-styleable>
8482
8483    <declare-styleable name="MessagingLinearLayout">
8484        <attr name="spacing" />
8485    </declare-styleable>
8486
8487    <declare-styleable name="DateTimeView">
8488        <attr name="showRelative" format="boolean" />
8489    </declare-styleable>
8490
8491    <declare-styleable name="ResolverDrawerLayout_LayoutParams">
8492        <attr name="layout_alwaysShow" format="boolean" />
8493        <attr name="layout_ignoreOffset" format="boolean" />
8494        <attr name="layout_gravity" />
8495        <attr name="layout_hasNestedScrollIndicator" format="boolean" />
8496    </declare-styleable>
8497
8498    <!-- @hide -->
8499    <declare-styleable name="Lighting">
8500        <attr name="lightY" />
8501        <attr name="lightZ" />
8502        <attr name="lightRadius" />
8503        <attr name="ambientShadowAlpha" />
8504        <attr name="spotShadowAlpha" />
8505    </declare-styleable>
8506
8507    <declare-styleable name="RestrictionEntry">
8508        <attr name="key" />
8509        <attr name="restrictionType">
8510            <enum name="hidden" value="0" />
8511            <enum name="bool" value="1" />
8512            <enum name="choice" value="2" />
8513            <enum name="multi-select" value="4" />
8514            <enum name="integer" value="5" />
8515            <enum name="string" value="6" />
8516            <enum name="bundle" value="7" />
8517            <enum name="bundle_array" value="8" />
8518        </attr>
8519        <attr name="title" />
8520        <attr name="description" />
8521        <attr name="defaultValue" />
8522        <attr name="entries" />
8523        <attr name="entryValues" />
8524    </declare-styleable>
8525
8526    <!-- Used to describe the gradient for fill or stroke in a path of VectorDrawable. -->
8527    <declare-styleable name="GradientColor">
8528        <!-- Start color of the gradient. -->
8529        <attr name="startColor" />
8530        <!-- Optional center color. -->
8531        <attr name="centerColor" />
8532        <!-- End color of the gradient. -->
8533        <attr name="endColor" />
8534        <!-- Type of gradient. The default type is linear. -->
8535        <attr name="type" />
8536
8537        <!-- Only applied to RadialGradient-->
8538        <!-- Radius of the gradient, used only with radial gradient. -->
8539        <attr name="gradientRadius" />
8540
8541        <!-- Only applied to SweepGradient / RadialGradient-->
8542        <!-- X coordinate of the center of the gradient within the path. -->
8543        <attr name="centerX" />
8544        <!-- Y coordinate of the center of the gradient within the path. -->
8545        <attr name="centerY" />
8546
8547        <!-- LinearGradient specific -->
8548        <!-- X coordinate of the start point origin of the gradient.
8549             Defined in same coordinates as the path itself -->
8550        <attr name="startX" format="float" />
8551        <!-- Y coordinate of the start point of the gradient within the shape.
8552             Defined in same coordinates as the path itself -->
8553        <attr name="startY" format="float" />
8554        <!-- X coordinate of the end point origin of the gradient.
8555             Defined in same coordinates as the path itself -->
8556        <attr name="endX" format="float" />
8557        <!-- Y coordinate of the end point of the gradient within the shape.
8558             Defined in same coordinates as the path itself -->
8559        <attr name="endY" format="float" />
8560
8561        <!-- Defines the tile mode of the gradient. SweepGradient don't support tiling. -->
8562        <attr name="tileMode"/>
8563    </declare-styleable>
8564
8565    <!-- Describes an item of a GradientColor. Minimally need 2 items to define the gradient
8566         Colors defined in <item> override the simple color attributes such as
8567         "startColor / centerColor / endColor" are ignored. -->
8568    <declare-styleable name="GradientColorItem">
8569        <!-- The offset (or ratio) of this current color item inside the gradient.
8570             The value is only meaningful when it is between 0 and 1. -->
8571        <attr name="offset" format="float" />
8572        <!-- The current color for the offset inside the gradient. -->
8573        <attr name="color" />
8574    </declare-styleable>
8575
8576    <!-- @hide Attributes which will be read by the Activity to intialize the
8577               base activity TaskDescription. -->
8578    <declare-styleable name="ActivityTaskDescription">
8579        <!-- @hide From Theme.colorPrimary, used for the TaskDescription primary
8580                   color. -->
8581        <attr name="colorPrimary" />
8582        <!-- @hide From Theme.colorBackground, used for the TaskDescription background
8583                   color. -->
8584        <attr name="colorBackground" />
8585        <!-- @hide From Theme.statusBarColor, used for the TaskDescription status bar color. -->
8586        <attr name="statusBarColor"/>
8587        <!-- @hide From Theme.navigationBarColor, used for the TaskDescription navigation bar
8588                   color. -->
8589        <attr name="navigationBarColor"/>
8590    </declare-styleable>
8591
8592    <declare-styleable name="Shortcut">
8593        <attr name="shortcutId" format="string" />
8594        <attr name="enabled" />
8595        <attr name="icon" />
8596        <attr name="shortcutShortLabel" format="reference" />
8597        <attr name="shortcutLongLabel" format="reference" />
8598        <attr name="shortcutDisabledMessage" format="reference" />
8599    </declare-styleable>
8600
8601    <declare-styleable name="ShortcutCategories">
8602        <attr name="name" />
8603    </declare-styleable>
8604
8605    <!-- Attributes that are read when parsing a <font> tag, which is a child of
8606         <font-family>. This represents an actual font file and its attributes. -->
8607    <declare-styleable name="FontFamilyFont">
8608        <!-- The style of the given font file. This will be used when the font is being loaded into
8609         the font stack and will override any style information in the font's header tables. If
8610         unspecified, the value in the font's header tables will be used. -->
8611        <attr name="fontStyle">
8612            <enum name="normal" value="0" />
8613            <enum name="italic" value="1" />
8614        </attr>
8615        <!-- The reference to the font file to be used. This should be a file in the res/font folder
8616         and should therefore have an R reference value. E.g. @font/myfont -->
8617        <attr name="font" format="reference" />
8618        <!-- The weight of the given font file. This will be used when the font is being loaded into
8619         the font stack and will override any weight information in the font's header tables. Must
8620         be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most
8621         common values are 400 for regular weight and 700 for bold weight. If unspecified, the value
8622         in the font's header tables will be used. -->
8623        <attr name="fontWeight" format="integer" />
8624    </declare-styleable>
8625
8626    <!-- Attributes that are read when parsing a <fontfamily> tag. -->
8627    <declare-styleable name="FontFamily">
8628        <!-- The authority of the Font Provider to be used for the request. -->
8629        <attr name="fontProviderAuthority" format="string" />
8630        <!-- The package for the Font Provider to be used for the request. This is used to verify
8631        the identity of the provider. -->
8632        <attr name="fontProviderPackage" format="string" />
8633        <!-- The query to be sent over to the provider. Refer to your font provider's documentation
8634        on the format of this string. -->
8635        <attr name="fontProviderQuery" format="string" />
8636        <!-- The sets of hashes for the certificates the provider should be signed with. This is
8637        used to verify the identity of the provider, and is only required if the provider is not
8638        part of the system image. This value may point to one list or a list of lists, where each
8639        individual list represents one collection of signature hashes. Refer to your font provider's
8640        documentation for these values. -->
8641        <attr name="fontProviderCerts" format="reference" />
8642    </declare-styleable>
8643
8644    <!-- @hide -->
8645    <declare-styleable name="RecyclerView">
8646        <attr name="layoutManager" format="string" />
8647        <attr name="orientation" />
8648        <attr name="descendantFocusability" />
8649        <attr name="spanCount" format="integer"/>
8650        <attr name="reverseLayout" format="boolean" />
8651        <attr name="stackFromEnd" format="boolean" />
8652    </declare-styleable>
8653
8654    <!-- @hide -->
8655    <declare-styleable name="NotificationTheme">
8656        <attr name="notificationHeaderStyle" format="reference" />
8657        <attr name="notificationHeaderTextAppearance" format="reference" />
8658        <attr name="notificationHeaderIconSize" format="dimension" />
8659    </declare-styleable>
8660
8661    <attr name="lockPatternStyle" format="reference" />
8662</resources>
8663