attrs.xml revision 2cb4bab1a886dcab1cbca1b84382e65f16a8f177
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        <!-- Default disabled alpha for widgets that set enabled/disabled alpha programmatically. -->
64        <attr name="disabledAlpha" format="float" />
65        <!-- The alpha applied to the foreground color to create the primary text color. -->
66        <attr name="primaryContentAlpha" format="float" />
67        <!-- The alpha applied to the foreground color to create the secondary text color. -->
68        <attr name="secondaryContentAlpha" format="float" />
69        <!-- Color used for error states and things that need to be drawn to
70             the users attention.. -->
71        <attr name="colorError" format="reference|color" />
72        <!-- Default background dim amount when a menu, dialog, or something similar pops up. -->
73        <attr name="backgroundDimAmount" format="float" />
74        <!-- Control whether dimming behind the window is enabled.  The default
75             theme does not set this value, meaning it is based on whether the
76             window is floating. -->
77        <attr name="backgroundDimEnabled" format="boolean" />
78
79        <!-- =========== -->
80        <!-- Text styles -->
81        <!-- =========== -->
82        <eat-comment />
83
84        <!-- Default appearance of text: color, typeface, size, and style. -->
85        <attr name="textAppearance" format="reference" />
86        <!-- Default appearance of text against an inverted background:
87             color, typeface, size, and style. -->
88        <attr name="textAppearanceInverse" format="reference" />
89
90        <!-- The most prominent text color.  -->
91        <attr name="textColorPrimary" format="reference|color" />
92        <!-- Secondary text color. -->
93        <attr name="textColorSecondary" format="reference|color" />
94        <!-- Tertiary text color. -->
95        <attr name="textColorTertiary" format="reference|color" />
96
97        <!-- Primary inverse text color, useful for inverted backgrounds. -->
98        <attr name="textColorPrimaryInverse" format="reference|color" />
99        <!-- Secondary inverse text color, useful for inverted backgrounds. -->
100        <attr name="textColorSecondaryInverse" format="reference|color" />
101        <!-- Tertiary inverse text color, useful for inverted backgrounds. -->
102        <attr name="textColorTertiaryInverse" format="reference|color" />
103
104        <!-- Inverse hint text color. -->
105        <attr name="textColorHintInverse" format="reference|color" />
106
107        <!-- Bright text color. Only differentiates based on the disabled state. -->
108        <attr name="textColorPrimaryDisableOnly" format="reference|color" />
109
110        <!-- Bright inverse text color. Only differentiates based on the disabled state. -->
111        <attr name="textColorPrimaryInverseDisableOnly" format="reference|color" />
112
113        <!-- Bright text color. This does not differentiate the disabled state. As an example,
114             buttons use this since they display the disabled state via the background and not the
115             foreground text color. -->
116        <attr name="textColorPrimaryNoDisable" format="reference|color" />
117        <!-- Dim text color. This does not differentiate the disabled state. -->
118        <attr name="textColorSecondaryNoDisable" format="reference|color" />
119
120        <!-- Bright inverse text color. This does not differentiate the disabled state. -->
121        <attr name="textColorPrimaryInverseNoDisable" format="reference|color" />
122        <!-- Dim inverse text color. This does not differentiate the disabled state. -->
123        <attr name="textColorSecondaryInverseNoDisable" format="reference|color" />
124
125        <!-- Bright text color for use over activated backgrounds. -->
126        <attr name="textColorPrimaryActivated" format="reference|color" />
127        <!-- Dim text color for use over activated backgrounds. -->
128        <attr name="textColorSecondaryActivated" format="reference|color" />
129
130        <!-- Text color for urls in search suggestions, used by things like global search and the browser. @hide -->
131        <attr name="textColorSearchUrl" format="reference|color" />
132
133        <!-- Color of highlighted text, when used in a light theme. -->
134        <attr name="textColorHighlightInverse" format="reference|color" />
135        <!-- Color of link text (URLs), when used in a light theme. -->
136        <attr name="textColorLinkInverse" format="reference|color" />
137
138        <!-- Color of list item text in alert dialogs. -->
139        <attr name="textColorAlertDialogListItem" format="reference|color" />
140
141        <!-- Search widget more corpus result item background. -->
142        <attr name="searchWidgetCorpusItemBackground" format="reference|color" />
143
144        <!-- Text color, typeface, size, and style for "large" text. Defaults to primary text color. -->
145        <attr name="textAppearanceLarge" format="reference" />
146        <!-- Text color, typeface, size, and style for "medium" text. Defaults to primary text color. -->
147        <attr name="textAppearanceMedium" format="reference" />
148        <!-- Text color, typeface, size, and style for "small" text. Defaults to secondary text color. -->
149        <attr name="textAppearanceSmall" format="reference" />
150
151        <!-- Text color, typeface, size, and style for "large" inverse text. Defaults to primary inverse text color. -->
152        <attr name="textAppearanceLargeInverse" format="reference" />
153        <!-- Text color, typeface, size, and style for "medium" inverse text. Defaults to primary inverse text color. -->
154        <attr name="textAppearanceMediumInverse" format="reference" />
155        <!-- Text color, typeface, size, and style for "small" inverse text. Defaults to secondary inverse text color. -->
156        <attr name="textAppearanceSmallInverse" format="reference" />
157
158        <!-- Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color. -->
159        <attr name="textAppearanceSearchResultTitle" format="reference" />
160        <!-- Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color. -->
161        <attr name="textAppearanceSearchResultSubtitle" format="reference" />
162
163        <!-- Text color, typeface, size, and style for the text inside of a button. -->
164        <attr name="textAppearanceButton" format="reference" />
165
166        <!-- Text color, typeface, size, and style for the text inside of a popup menu. -->
167        <attr name="textAppearanceLargePopupMenu" format="reference" />
168
169        <!-- Text color, typeface, size, and style for small text inside of a popup menu. -->
170        <attr name="textAppearanceSmallPopupMenu" format="reference" />
171
172        <!-- Text color, typeface, size, and style for header text inside of a popup menu. -->
173        <attr name="textAppearancePopupMenuHeader" format="reference" />
174
175        <!-- The underline color and thickness for easy correct suggestion -->
176        <attr name="textAppearanceEasyCorrectSuggestion" format="reference" />
177
178        <!-- The underline color and thickness for misspelled suggestion -->
179        <attr name="textAppearanceMisspelledSuggestion" format="reference" />
180
181        <!-- The underline color and thickness for auto correction suggestion -->
182        <attr name="textAppearanceAutoCorrectionSuggestion" format="reference" />
183
184        <!--  The underline color -->
185        <attr name="textUnderlineColor" format="reference|color" />
186        <!--  The underline thickness -->
187        <attr name="textUnderlineThickness" format="reference|dimension" />
188
189        <!-- EditText text foreground color. -->
190        <attr name="editTextColor" format="reference|color" />
191        <!-- EditText background drawable. -->
192        <attr name="editTextBackground" format="reference" />
193
194        <!-- Popup text displayed in TextView when setError is used. -->
195        <attr name="errorMessageBackground" format="reference" />
196        <!-- Background used instead of errorMessageBackground when the popup has to be above. -->
197        <attr name="errorMessageAboveBackground" format="reference" />
198
199        <!-- A styled string, specifying the style to be used for showing
200             inline candidate text when composing with an input method.  The
201             text itself will be ignored, but the style spans will be applied
202             to the candidate text as it is edited. -->
203        <attr name="candidatesTextStyleSpans" format="reference|string" />
204
205        <!-- Drawable to use for check marks. -->
206        <attr name="textCheckMark" format="reference" />
207        <attr name="textCheckMarkInverse" format="reference" />
208
209        <!-- Drawable to use for multiple choice indicators. -->
210        <attr name="listChoiceIndicatorMultiple" format="reference" />
211
212        <!-- Drawable to use for single choice indicators. -->
213        <attr name="listChoiceIndicatorSingle" format="reference" />
214
215        <!-- Drawable used as a background for selected list items. -->
216        <attr name="listChoiceBackgroundIndicator" format="reference" />
217
218        <!-- Drawable used as a background for activated items. -->
219        <attr name="activatedBackgroundIndicator" format="reference" />
220
221        <!-- ============= -->
222        <!-- Button styles -->
223        <!-- ============= -->
224        <eat-comment />
225
226        <!-- Normal Button style. -->
227        <attr name="buttonStyle" format="reference" />
228
229        <!-- Small Button style. -->
230        <attr name="buttonStyleSmall" format="reference" />
231
232        <!-- Button style to inset into an EditText. -->
233        <attr name="buttonStyleInset" format="reference" />
234
235        <!-- ToggleButton style. -->
236        <attr name="buttonStyleToggle" format="reference" />
237
238        <!-- ============== -->
239        <!-- Gallery styles -->
240        <!-- ============== -->
241        <eat-comment />
242
243        <!-- The preferred background for gallery items. This should be set
244             as the background of any Views you provide from the Adapter. -->
245        <attr name="galleryItemBackground" format="reference" />
246
247        <!-- =========== -->
248        <!-- List styles -->
249        <!-- =========== -->
250        <eat-comment />
251
252        <!-- The preferred list item height. -->
253        <attr name="listPreferredItemHeight" format="dimension" />
254        <!-- A smaller, sleeker list item height. -->
255        <attr name="listPreferredItemHeightSmall" format="dimension" />
256        <!-- A larger, more robust list item height. -->
257        <attr name="listPreferredItemHeightLarge" format="dimension" />
258        <!-- The list item height for search results. @hide -->
259        <attr name="searchResultListItemHeight" format="dimension" />
260
261        <!-- The preferred padding along the left edge of list items. -->
262        <attr name="listPreferredItemPaddingLeft" format="dimension" />
263        <!-- The preferred padding along the right edge of list items. -->
264        <attr name="listPreferredItemPaddingRight" format="dimension" />
265
266        <!-- The preferred TextAppearance for the primary text of list items. -->
267        <attr name="textAppearanceListItem" format="reference" />
268        <!-- The preferred TextAppearance for the secondary text of list items. -->
269        <attr name="textAppearanceListItemSecondary" format="reference" />
270        <!-- The preferred TextAppearance for the primary text of small list items. -->
271        <attr name="textAppearanceListItemSmall" format="reference" />
272
273        <!-- The drawable for the list divider. -->
274        <attr name="listDivider" format="reference" />
275        <!-- The list divider used in alert dialogs. -->
276        <attr name="listDividerAlertDialog" format="reference" />
277        <!-- TextView style for list separators. -->
278        <attr name="listSeparatorTextViewStyle" format="reference" />
279        <!-- The preferred left padding for an expandable list item (for child-specific layouts,
280             use expandableListPreferredChildPaddingLeft). This takes into account
281             the indicator that will be shown to next to the item. -->
282        <attr name="expandableListPreferredItemPaddingLeft" format="dimension" />
283        <!-- The preferred left padding for an expandable list item that is a child.
284             If this is not provided, it defaults to the expandableListPreferredItemPaddingLeft. -->
285        <attr name="expandableListPreferredChildPaddingLeft" format="dimension" />
286        <!-- The preferred left bound for an expandable list item's indicator. For a child-specific
287             indicator, use expandableListPreferredChildIndicatorLeft. -->
288        <attr name="expandableListPreferredItemIndicatorLeft" format="dimension" />
289        <!-- The preferred right bound for an expandable list item's indicator. For a child-specific
290             indicator, use expandableListPreferredChildIndicatorRight. -->
291        <attr name="expandableListPreferredItemIndicatorRight" format="dimension" />
292        <!-- The preferred left bound for an expandable list child's indicator. -->
293        <attr name="expandableListPreferredChildIndicatorLeft" format="dimension" />
294        <!-- The preferred right bound for an expandable list child's indicator. -->
295        <attr name="expandableListPreferredChildIndicatorRight" format="dimension" />
296
297        <!-- The preferred item height for dropdown lists. -->
298        <attr name="dropdownListPreferredItemHeight" format="dimension" />
299
300        <!-- The preferred padding along the start edge of list items. -->
301        <attr name="listPreferredItemPaddingStart" format="dimension" />
302        <!-- The preferred padding along the end edge of list items. -->
303        <attr name="listPreferredItemPaddingEnd" format="dimension" />
304
305        <!-- ============= -->
306        <!-- Window styles -->
307        <!-- ============= -->
308        <eat-comment />
309
310        <!-- Drawable to use as the overall window background.  As of
311             {@link android.os.Build.VERSION_CODES#HONEYCOMB}, this may
312             be a selector that uses state_accelerated to pick a non-solid
313             color when running on devices that can draw such a bitmap
314             with complex compositing on top at 60fps.
315
316             <p>There are a few special considerations to use when setting this
317             drawable:
318             <ul>
319             <li> This information will be used to infer the pixel format
320                  for your window's surface.  If the drawable has any
321                  non-opaque pixels, your window will be translucent
322                  (32 bpp).
323             <li> If you want to draw the entire background
324                  yourself, you should set this drawable to some solid
325                  color that closely matches that background (so the
326                  system's preview of your window will match), and
327                  then in code manually set your window's background to
328                  null so it will not be drawn.
329             </ul> -->
330        <attr name="windowBackground" format="reference" />
331        <!-- Drawable to draw selectively within the inset areas when the windowBackground
332             has been set to null. This protects against seeing visual garbage in the
333             surface when the app has not drawn any content into this area. One example is
334             when the user is resizing a window of an activity that has
335             {@link android.R.attr#resizeableActivity} set for multi-window mode. -->
336        <attr name="windowBackgroundFallback" format="reference" />
337        <!-- Drawable to use as a frame around the window. -->
338        <attr name="windowFrame" format="reference" />
339        <!-- Flag indicating whether there should be no title on this window. -->
340        <attr name="windowNoTitle" format="boolean" />
341        <!-- Flag indicating whether this window should fill the entire screen.  Corresponds
342             to {@link android.view.WindowManager.LayoutParams#FLAG_FULLSCREEN}. -->
343        <attr name="windowFullscreen" format="boolean" />
344        <!-- Flag indicating whether this window should extend into overscan region.  Corresponds
345             to {@link android.view.WindowManager.LayoutParams#FLAG_LAYOUT_IN_OVERSCAN}. -->
346        <attr name="windowOverscan" format="boolean" />
347        <!-- Flag indicating whether this is a floating window. -->
348        <attr name="windowIsFloating" format="boolean" />
349        <!-- Flag indicating whether this is a translucent window. If this attribute is unset (but
350             not if set to false), the window might still be considered translucent, if
351             windowSwipeToDismiss is set to true. -->
352        <attr name="windowIsTranslucent" format="boolean" />
353        <!-- Flag indicating that this window's background should be the
354             user's current wallpaper.  Corresponds
355             to {@link android.view.WindowManager.LayoutParams#FLAG_SHOW_WALLPAPER}. -->
356        <attr name="windowShowWallpaper" format="boolean" />
357        <!-- This Drawable is overlaid over the foreground of the Window's content area, usually
358             to place a shadow below the title.  -->
359        <attr name="windowContentOverlay" format="reference" />
360        <!-- The style resource to use for a window's title bar height. -->
361        <attr name="windowTitleSize" format="dimension" />
362        <!-- The style resource to use for a window's title text. -->
363        <attr name="windowTitleStyle" format="reference" />
364        <!-- The style resource to use for a window's title area. -->
365        <attr name="windowTitleBackgroundStyle" format="reference" />
366
367        <!-- Reference to a style resource holding
368             the set of window animations to use, which can be
369             any of the attributes defined by
370             {@link android.R.styleable#WindowAnimation}. -->
371        <attr name="windowAnimationStyle" format="reference" />
372
373        <!-- Flag indicating whether this window should have an Action Bar
374             in place of the usual title bar. -->
375        <attr name="windowActionBar" format="boolean" />
376
377        <!-- Flag indicating whether this window's Action Bar should overlay
378             application content. Does nothing if the window would not
379             have an Action Bar. -->
380        <attr name="windowActionBarOverlay" format="boolean" />
381
382        <!-- Flag indicating whether action modes should overlay window content
383             when there is not reserved space for their UI (such as an Action Bar). -->
384        <attr name="windowActionModeOverlay" format="boolean" />
385
386        <!-- Defines the default soft input state that this window would
387             like when it is displayed.  Corresponds
388             to {@link android.view.WindowManager.LayoutParams#softInputMode}. -->
389        <attr name="windowSoftInputMode">
390            <!-- Not specified, use what the system thinks is best.  This
391                 is the default. -->
392            <flag name="stateUnspecified" value="0" />
393            <!-- Leave the soft input window as-is, in whatever state it
394                 last was. -->
395            <flag name="stateUnchanged" value="1" />
396            <!-- Make the soft input area hidden when normally appropriate
397                 (when the user is navigating forward to your window). -->
398            <flag name="stateHidden" value="2" />
399            <!-- Always make the soft input area hidden when this window
400                 has input focus. -->
401            <flag name="stateAlwaysHidden" value="3" />
402            <!-- Make the soft input area visible when normally appropriate
403                 (when the user is navigating forward to your window). -->
404            <flag name="stateVisible" value="4" />
405            <!-- Always make the soft input area visible when this window
406                 has input focus. -->
407            <flag name="stateAlwaysVisible" value="5" />
408
409            <!-- The window resize/pan adjustment has not been specified,
410                 the system will automatically select between resize and pan
411                 modes, depending
412                 on whether the content of the window has any layout views
413                 that can scroll their contents.  If there is such a view,
414                 then the window will be resized, with the assumption being
415                 that the resizeable area can be reduced to make room for
416                 the input UI. -->
417            <flag name="adjustUnspecified" value="0x00" />
418            <!-- Always resize the window: the content area of the window is
419                 reduced to make room for the soft input area. -->
420            <flag name="adjustResize" value="0x10" />
421            <!-- Don't resize the window to make room for the soft input area;
422                 instead pan the contents of the window as focus moves inside
423                 of it so that the user can see what they are typing.  This is
424                 generally less desireable than panning because the user may
425                 need to close the input area to get at and interact with
426                 parts of the window. -->
427            <flag name="adjustPan" value="0x20" />
428            <!-- Don't resize <em>or</em> pan the window to make room for the
429                 soft input area; the window is never adjusted for it. -->
430            <flag name="adjustNothing" value="0x30" />
431        </attr>
432
433        <!-- Flag allowing you to disable the preview animation for a window.
434             The default value is false; if set to true, the system can never
435             use the window's theme to show a preview of it before your
436             actual instance is shown to the user. -->
437        <attr name="windowDisablePreview" format="boolean" />
438
439        <!-- Flag indicating that this window should not be displayed at all.
440             The default value is false; if set to true, and this window is
441             the main window of an Activity, then it will never actually
442             be added to the window manager.  This means that your activity
443             must immediately quit without waiting for user interaction,
444             because there will be no such interaction coming. -->
445        <attr name="windowNoDisplay" format="boolean" />
446
447        <!-- Flag indicating that this window should allow touches to be split
448             across other windows that also support split touch.
449             The default value is true for applications with a targetSdkVersion
450             of Honeycomb or newer; false otherwise.
451             When this flag is false, the first pointer that goes down determines
452             the window to which all subsequent touches go until all pointers go up.
453             When this flag is true, each pointer (not necessarily the first) that
454             goes down determines the window to which all subsequent touches of that
455             pointer will go until that pointers go up thereby enabling touches
456             with multiple pointers to be split across multiple windows. -->
457        <attr name="windowEnableSplitTouch" format="boolean" />
458
459        <!-- Control whether a container should automatically close itself if
460             the user touches outside of it.  This only applies to activities
461             and dialogs.
462
463             <p>Note: this attribute will only be respected for applications
464             that are targeting {@link android.os.Build.VERSION_CODES#HONEYCOMB}
465             or later. -->
466        <attr name="windowCloseOnTouchOutside" format="boolean" />
467
468        <!-- Flag indicating whether this window requests a translucent status bar.  Corresponds
469             to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_STATUS}. -->
470        <attr name="windowTranslucentStatus" format="boolean" />
471
472        <!-- Flag indicating whether this window requests a translucent navigation bar.  Corresponds
473             to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_NAVIGATION}. -->
474        <attr name="windowTranslucentNavigation" format="boolean" />
475
476        <!-- Flag to indicate that a window can be swiped away to be dismissed.
477             Corresponds to {@link android.view.Window#FEATURE_SWIPE_TO_DISMISS}. It will also
478             dynamically change translucency of the window, if the windowIsTranslucent is not set.
479             If windowIsTranslucent is set (to either true or false) it will obey that setting. -->
480        <attr name="windowSwipeToDismiss" format="boolean" />
481
482        <!-- Flag indicating whether this window requests that content changes be performed
483             as scene changes with transitions. Corresponds to
484             {@link android.view.Window#FEATURE_CONTENT_TRANSITIONS}. -->
485        <attr name="windowContentTransitions" format="boolean" />
486
487        <!-- Reference to a TransitionManager XML resource defining the desired
488             transitions between different window content. -->
489        <attr name="windowContentTransitionManager" format="reference" />
490
491        <!-- Flag indicating whether this window allows Activity Transitions.
492             Corresponds to {@link android.view.Window#FEATURE_ACTIVITY_TRANSITIONS}. -->
493        <attr name="windowActivityTransitions" format="boolean" />
494
495        <!-- Reference to a Transition XML resource defining the desired Transition
496             used to move Views into the initial Window's content Scene. Corresponds to
497             {@link android.view.Window#setEnterTransition(android.transition.Transition)}. -->
498        <attr name="windowEnterTransition" format="reference"/>
499
500        <!-- Reference to a Transition XML resource defining the desired Transition
501             used to move Views out of the scene when the Window is
502             preparing to close. Corresponds to
503             {@link android.view.Window#setReturnTransition(android.transition.Transition)}. -->
504        <attr name="windowReturnTransition" format="reference"/>
505
506        <!-- Reference to a Transition XML resource defining the desired Transition
507             used to move Views out of the Window's content Scene when launching a new Activity.
508             Corresponds to
509             {@link android.view.Window#setExitTransition(android.transition.Transition)}. -->
510        <attr name="windowExitTransition" format="reference"/>
511
512        <!-- Reference to a Transition XML resource defining the desired Transition
513             used to move Views in to the scene when returning from a previously-started Activity.
514             Corresponds to
515             {@link android.view.Window#setReenterTransition(android.transition.Transition)}. -->
516        <attr name="windowReenterTransition" format="reference"/>
517
518        <!-- Reference to a Transition XML resource defining the desired Transition
519             used to move shared elements transferred into the Window's initial content Scene.
520             Corresponds to {@link android.view.Window#setSharedElementEnterTransition(
521             android.transition.Transition)}. -->
522        <attr name="windowSharedElementEnterTransition" format="reference"/>
523
524        <!-- Reference to a Transition XML resource defining the desired Transition
525             used to move shared elements transferred back to a calling Activity.
526             Corresponds to {@link android.view.Window#setSharedElementReturnTransition(
527             android.transition.Transition)}. -->
528        <attr name="windowSharedElementReturnTransition" format="reference"/>
529
530        <!-- Reference to a Transition XML resource defining the desired Transition
531             used when starting a new Activity to move shared elements prior to transferring
532             to the called Activity.
533             Corresponds to {@link android.view.Window#setSharedElementExitTransition(
534             android.transition.Transition)}. -->
535        <attr name="windowSharedElementExitTransition" format="reference"/>
536
537        <!-- Reference to a Transition XML resource defining the desired Transition
538             used for shared elements transferred back to a calling Activity.
539             Corresponds to {@link android.view.Window#setSharedElementReenterTransition(
540             android.transition.Transition)}. -->
541        <attr name="windowSharedElementReenterTransition" format="reference"/>
542
543        <!-- Flag indicating whether this Window's transition should overlap with
544             the exiting transition of the calling Activity. Corresponds to
545             {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}.
546             The default value is true. -->
547        <attr name="windowAllowEnterTransitionOverlap" format="boolean"/>
548
549        <!-- Flag indicating whether this Window's transition should overlap with
550             the exiting transition of the called Activity when the called Activity
551             finishes. Corresponds to
552             {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}.
553             The default value is true. -->
554        <attr name="windowAllowReturnTransitionOverlap" format="boolean"/>
555
556        <!-- Indicates whether or not shared elements should use an overlay
557             during transitions. The default value is true. -->
558        <attr name="windowSharedElementsUseOverlay" format="boolean"/>
559
560        <!-- Internal layout used internally for window decor -->
561        <attr name="windowActionBarFullscreenDecorLayout" format="reference" />
562
563        <!-- The duration, in milliseconds, of the window background fade duration
564             when transitioning into or away from an Activity when called with an
565             Activity Transition. Corresponds to
566             {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. -->
567        <attr name="windowTransitionBackgroundFadeDuration" format="integer"/>
568
569        <!-- ============ -->
570        <!-- Floating toolbar styles -->
571        <!-- ============ -->
572       <eat-comment />
573       <attr name="floatingToolbarCloseDrawable" format="reference" />
574       <attr name="floatingToolbarForegroundColor" format="reference|color" />
575       <attr name="floatingToolbarItemBackgroundBorderlessDrawable" format="reference" />
576       <attr name="floatingToolbarItemBackgroundDrawable" format="reference" />
577       <attr name="floatingToolbarOpenDrawable" format="reference" />
578       <attr name="floatingToolbarPopupBackgroundDrawable" format="reference" />
579       <attr name="floatingToolbarDividerColor" format="reference" />
580
581        <!-- ============ -->
582        <!-- Alert Dialog styles -->
583        <!-- ============ -->
584        <eat-comment />
585        <attr name="alertDialogStyle" format="reference" />
586        <attr name="alertDialogButtonGroupStyle" format="reference" />
587        <attr name="alertDialogCenterButtons" format="boolean" />
588
589        <!-- ============== -->
590        <!-- Image elements -->
591        <!-- ============== -->
592        <eat-comment />
593
594        <!-- Background that can be used behind parts of a UI that provide
595             details on data the user is selecting.  For example, this is
596             the background element of PreferenceActivity's embedded
597             preference fragment. -->
598        <attr name="detailsElementBackground" format="reference" />
599
600        <!-- Icon that should be used to indicate that an app is waiting for a fingerprint scan.
601             This should be used whenever an app is requesting the user to place a finger on the
602             fingerprint sensor. It can be combined with other drawables such as colored circles, so
603             the appearance matches the branding of the app requesting the fingerprint scan.-->
604        <attr name="fingerprintAuthDrawable" format="reference" />
605
606        <!-- ============ -->
607        <!-- Panel styles -->
608        <!-- ============ -->
609        <eat-comment />
610
611        <!-- The background of a panel when it is inset from the left and right edges of the screen. -->
612        <attr name="panelBackground" format="reference|color" />
613        <!-- The background of a panel when it extends to the left and right edges of the screen. -->
614        <attr name="panelFullBackground" format="reference|color" />
615        <!-- Default color of foreground panel imagery. -->
616        <attr name="panelColorForeground" format="reference|color" />
617        <!-- Color that matches (as closely as possible) the panel background. -->
618        <attr name="panelColorBackground" format="reference|color" />
619        <!-- Default appearance of panel text. -->
620        <attr name="panelTextAppearance" format="reference" />
621
622        <attr name="panelMenuIsCompact" format="boolean" />
623        <attr name="panelMenuListWidth" format="dimension" />
624        <attr name="panelMenuListTheme" format="reference" />
625
626        <!-- =================== -->
627        <!-- Other widget styles -->
628        <!-- =================== -->
629        <eat-comment />
630
631        <!-- Default AbsListView style. -->
632        <attr name="absListViewStyle" format="reference" />
633        <!-- Default AutoCompleteTextView style. -->
634        <attr name="autoCompleteTextViewStyle" format="reference" />
635        <!-- Default Checkbox style. -->
636        <attr name="checkboxStyle" format="reference" />
637        <!-- Default CheckedTextView style. -->
638        <attr name="checkedTextViewStyle" format="reference" />
639        <!-- Default ListView style for drop downs. -->
640        <attr name="dropDownListViewStyle" format="reference" />
641        <!-- Default EditText style. -->
642        <attr name="editTextStyle" format="reference" />
643        <!-- Default ExpandableListView style. -->
644        <attr name="expandableListViewStyle" format="reference" />
645        <!-- ExpandableListView with white background. -->
646        <attr name="expandableListViewWhiteStyle" format="reference" />
647        <!-- Default Gallery style. -->
648        <attr name="galleryStyle" format="reference" />
649        <!-- Default GestureOverlayView style. -->
650        <attr name="gestureOverlayViewStyle" format="reference" />
651        <!-- Default GridView style. -->
652        <attr name="gridViewStyle" format="reference" />
653        <!-- The style resource to use for an ImageButton. -->
654        <attr name="imageButtonStyle" format="reference" />
655        <!-- The style resource to use for an ImageButton that is an image well. -->
656        <attr name="imageWellStyle" format="reference" />
657        <!-- Default menu-style ListView style. -->
658        <attr name="listMenuViewStyle" format="reference" />
659        <!-- Default ListView style. -->
660        <attr name="listViewStyle" format="reference" />
661        <!-- ListView with white background. -->
662        <attr name="listViewWhiteStyle" format="reference" />
663        <!-- Default PopupWindow style. -->
664        <attr name="popupWindowStyle" format="reference" />
665        <!-- Default ProgressBar style. This is a medium circular progress bar. -->
666        <attr name="progressBarStyle" format="reference" />
667        <!-- Horizontal ProgressBar style. This is a horizontal progress bar. -->
668        <attr name="progressBarStyleHorizontal" format="reference" />
669        <!-- Small ProgressBar style. This is a small circular progress bar. -->
670        <attr name="progressBarStyleSmall" format="reference" />
671        <!-- Small ProgressBar in title style. This is a small circular progress bar that will be placed in title bars. -->
672        <attr name="progressBarStyleSmallTitle" format="reference" />
673        <!-- Large ProgressBar style. This is a large circular progress bar. -->
674        <attr name="progressBarStyleLarge" format="reference" />
675        <!-- Inverse ProgressBar style. This is a medium circular progress bar. -->
676        <attr name="progressBarStyleInverse" format="reference" />
677        <!-- Small inverse ProgressBar style. This is a small circular progress bar. -->
678        <attr name="progressBarStyleSmallInverse" format="reference" />
679        <!-- Large inverse ProgressBar style. This is a large circular progress bar. -->
680        <attr name="progressBarStyleLargeInverse" format="reference" />
681        <!-- Default SeekBar style. -->
682        <attr name="seekBarStyle" format="reference" />
683        <!-- Default RatingBar style. -->
684        <attr name="ratingBarStyle" format="reference" />
685        <!-- Indicator RatingBar style. -->
686        <attr name="ratingBarStyleIndicator" format="reference" />
687        <!-- Small indicator RatingBar style. -->
688        <attr name="ratingBarStyleSmall" format="reference" />
689        <!-- Default RadioButton style. -->
690        <attr name="radioButtonStyle" format="reference" />
691        <!-- Default ScrollView style. -->
692        <attr name="scrollViewStyle" format="reference" />
693        <!-- Default HorizontalScrollView style. -->
694        <attr name="horizontalScrollViewStyle" format="reference" />
695        <!-- Default Spinner style. -->
696        <attr name="spinnerStyle" format="reference" />
697        <!-- Default dropdown Spinner style. -->
698        <attr name="dropDownSpinnerStyle" format="reference" />
699        <!-- Default ActionBar dropdown style. -->
700        <attr name="actionDropDownStyle" format="reference" />
701        <!-- Default action button style. -->
702        <attr name="actionButtonStyle" format="reference" />
703        <!-- Default Star style. -->
704        <attr name="starStyle" format="reference" />
705        <!-- Default TabWidget style. -->
706        <attr name="tabWidgetStyle" format="reference" />
707        <!-- Default TextView style. -->
708        <attr name="textViewStyle" format="reference" />
709        <!-- Default WebTextView style. -->
710        <attr name="webTextViewStyle" format="reference" />
711        <!-- Default WebView style. -->
712        <attr name="webViewStyle" format="reference" />
713        <!-- Default style for drop down items. -->
714        <attr name="dropDownItemStyle" format="reference" />
715         <!-- Default style for spinner drop down items. -->
716        <attr name="spinnerDropDownItemStyle" format="reference" />
717        <!-- Default style for drop down hints. -->
718        <attr name="dropDownHintAppearance" format="reference" />
719        <!-- Default spinner item style. -->
720        <attr name="spinnerItemStyle" format="reference" />
721        <!-- Default MapView style. -->
722        <attr name="mapViewStyle" format="reference" />
723        <!-- Drawable used as an overlay on top of quickcontact photos. -->
724        <attr name="quickContactBadgeOverlay" format="reference" />
725        <!-- Default quickcontact badge style with small quickcontact window. -->
726        <attr name="quickContactBadgeStyleWindowSmall" format="reference" />
727        <!-- Default quickcontact badge style with medium quickcontact window. -->
728        <attr name="quickContactBadgeStyleWindowMedium" format="reference" />
729        <!-- Default quickcontact badge style with large quickcontact window. -->
730        <attr name="quickContactBadgeStyleWindowLarge" format="reference" />
731        <!-- Default quickcontact badge style with small quickcontact window. -->
732        <attr name="quickContactBadgeStyleSmallWindowSmall" format="reference" />
733        <!-- Default quickcontact badge style with medium quickcontact window. -->
734        <attr name="quickContactBadgeStyleSmallWindowMedium" format="reference" />
735        <!-- Default quickcontact badge style with large quickcontact window. -->
736        <attr name="quickContactBadgeStyleSmallWindowLarge" format="reference" />
737        <!-- Reference to a style that will be used for the window containing a text
738             selection anchor. -->
739        <attr name="textSelectHandleWindowStyle" format="reference" />
740        <!-- Reference to a style that will be used for the window containing a list of possible
741             text suggestions in an EditText. -->
742        <attr name="textSuggestionsWindowStyle" format="reference" />
743        <!-- Default ListPopupWindow style. -->
744        <attr name="listPopupWindowStyle" format="reference" />
745        <!-- Default PopupMenu style. -->
746        <attr name="popupMenuStyle" format="reference" />
747        <!-- Default context menu PopupMenu style. -->
748        <attr name="contextPopupMenuStyle" format="reference" />
749        <!-- Default StackView style. -->
750        <attr name="stackViewStyle" format="reference" />
751
752        <!-- Default style for the FragmentBreadCrumbs widget. This widget is deprecated
753             starting in API level 21 ({@link android.os.Build.VERSION_CODES#.L}). -->
754        <attr name="fragmentBreadCrumbsStyle" format="reference" />
755
756        <!-- NumberPicker style. -->
757        <attr name="numberPickerStyle" format="reference" />
758
759        <!-- The CalendarView style. -->
760        <attr name="calendarViewStyle" format="reference" />
761
762        <!-- The TimePicker style. -->
763        <attr name="timePickerStyle" format="reference" />
764
765        <!-- The TimePicker dialog theme. -->
766        <attr name="timePickerDialogTheme" format="reference" />
767
768        <!-- The DatePicker style. -->
769        <attr name="datePickerStyle" format="reference" />
770
771        <!-- The DatePicker dialog theme. -->
772        <attr name="datePickerDialogTheme" format="reference" />
773
774        <!-- Default ActivityChooserView style. -->
775        <attr name="activityChooserViewStyle" format="reference" />
776
777        <!-- Default Toolbar style. -->
778        <attr name="toolbarStyle" format="reference" />
779
780        <!-- Fast scroller styles -->
781        <eat-comment />
782
783        <!-- Drawable to use as the fast scroll thumb. -->
784        <attr name="fastScrollThumbDrawable" format="reference" />
785        <!-- Drawable to use as the fast scroll index preview window background
786             when shown on the right. -->
787        <attr name="fastScrollPreviewBackgroundRight" format="reference" />
788        <!-- Drawable to use as the fast scroll index preview window background
789             when shown on the left. -->
790        <attr name="fastScrollPreviewBackgroundLeft" format="reference" />
791        <!-- Drawable to use as the track for the fast scroll thumb.
792             This may be null. -->
793        <attr name="fastScrollTrackDrawable" format="reference" />
794        <!-- Position of the fast scroll index overlay window. -->
795        <attr name="fastScrollOverlayPosition">
796            <enum name="floating" value="0" />
797            <enum name="atThumb" value="1" />
798            <enum name="aboveThumb" value="2" />
799        </attr>
800        <!-- Text color for the fast scroll index overlay. Make sure it
801             plays nicely with fastScrollPreviewBackground[Left|Right]. -->
802        <attr name="fastScrollTextColor" format="color" />
803
804        <!-- =================== -->
805        <!-- Action bar styles   -->
806        <!-- =================== -->
807        <eat-comment />
808        <!-- Default style for tabs within an action bar. -->
809        <attr name="actionBarTabStyle" format="reference" />
810        <!-- Reference to a style for the Action Bar Tab Bar. -->
811        <attr name="actionBarTabBarStyle" format="reference" />
812        <!-- Reference to a style for the Action Bar Tab text. -->
813        <attr name="actionBarTabTextStyle" format="reference" />
814        <!-- Reference to a style for Action Bar overflow buttons. -->
815        <attr name="actionOverflowButtonStyle" format="reference" />
816        <!-- Reference to a style for the Action Bar menu. -->
817        <attr name="actionOverflowMenuStyle" format="reference" />
818        <!-- Reference to a theme that should be used to inflate popups
819             shown by widgets in the action bar. -->
820        <attr name="actionBarPopupTheme" format="reference" />
821        <!-- Reference to a style for the Action Bar. -->
822        <attr name="actionBarStyle" format="reference" />
823        <!-- Reference to a style for the split Action Bar. This style
824             controls the split component that holds the menu/action
825             buttons. actionBarStyle is still used for the primary
826             bar. -->
827        <attr name="actionBarSplitStyle" format="reference" />
828        <!-- Reference to a theme that should be used to inflate the
829             action bar. This will be inherited by any widget inflated
830             into the action bar. -->
831        <attr name="actionBarTheme" format="reference" />
832        <!-- Reference to a theme that should be used to inflate widgets
833             and layouts destined for the action bar. Most of the time
834             this will be a reference to the current theme, but when
835             the action bar has a significantly different contrast
836             profile than the rest of the activity the difference
837             can become important. If this is set to @null the current
838             theme will be used.-->
839        <attr name="actionBarWidgetTheme" format="reference" />
840        <!-- Size of the Action Bar, including the contextual
841             bar used to present Action Modes. -->
842        <attr name="actionBarSize" format="dimension" >
843            <enum name="wrap_content" value="0" />
844        </attr>
845        <!-- Custom divider drawable to use for elements in the action bar. -->
846        <attr name="actionBarDivider" format="reference" />
847        <!-- Custom item state list drawable background for action bar items. -->
848        <attr name="actionBarItemBackground" format="reference" />
849        <!-- TextAppearance style that will be applied to text that
850             appears within action menu items. -->
851        <attr name="actionMenuTextAppearance" format="reference" />
852        <!-- Color for text that appears within action menu items. -->
853        <attr name="actionMenuTextColor" format="color|reference" />
854
855        <!-- =================== -->
856        <!-- Action mode styles  -->
857        <!-- =================== -->
858        <eat-comment />
859        <!-- Reference to a style for the Action Mode. -->
860        <attr name="actionModeStyle" format="reference" />
861        <!-- Reference to a style for the Action Mode close button. -->
862        <attr name="actionModeCloseButtonStyle" format="reference" />
863        <!-- Background drawable to use for action mode UI. -->
864        <attr name="actionModeBackground" format="reference" />
865        <!-- Background drawable to use for action mode UI in the lower split bar. -->
866        <attr name="actionModeSplitBackground" format="reference" />
867        <!-- Drawable to use for the close action mode button. -->
868        <attr name="actionModeCloseDrawable" format="reference" />
869
870        <!-- Drawable to use for the Cut action button in Contextual Action Bar. -->
871        <attr name="actionModeCutDrawable" format="reference" />
872        <!-- Drawable to use for the Copy action button in Contextual Action Bar. -->
873        <attr name="actionModeCopyDrawable" format="reference" />
874        <!-- Drawable to use for the Paste action button in Contextual Action Bar. -->
875        <attr name="actionModePasteDrawable" format="reference" />
876        <!-- Drawable to use for the Select all action button in Contextual Action Bar. -->
877        <attr name="actionModeSelectAllDrawable" format="reference" />
878        <!-- Drawable to use for the Share action button in WebView selection action modes. -->
879        <attr name="actionModeShareDrawable" format="reference" />
880        <!-- Drawable to use for the Find action button in WebView selection action modes. -->
881        <attr name="actionModeFindDrawable" format="reference" />
882        <!-- Drawable to use for the Web Search action button in WebView selection action modes. -->
883        <attr name="actionModeWebSearchDrawable" format="reference" />
884
885        <!-- PopupWindow style to use for action modes when showing as a window overlay. -->
886        <attr name="actionModePopupWindowStyle" format="reference" />
887
888        <!-- =================== -->
889        <!-- Preference styles   -->
890        <!-- =================== -->
891        <eat-comment />
892
893        <!-- Default style for PreferenceScreen. -->
894        <attr name="preferenceScreenStyle" format="reference" />
895        <!-- Default style for the PreferenceActivity. -->
896        <attr name="preferenceActivityStyle" format="reference" />
897        <!-- Default style for Headers pane in PreferenceActivity. -->
898        <attr name="preferenceFragmentStyle" format="reference" />
899        <!-- Default style for PreferenceCategory. -->
900        <attr name="preferenceCategoryStyle" format="reference" />
901        <!-- Default style for Preference. -->
902        <attr name="preferenceStyle" format="reference" />
903        <!-- Default style for informational Preference. -->
904        <attr name="preferenceInformationStyle" format="reference" />
905        <!-- Default style for CheckBoxPreference. -->
906        <attr name="checkBoxPreferenceStyle" format="reference" />
907        <!-- Default style for YesNoPreference. -->
908        <attr name="yesNoPreferenceStyle" format="reference" />
909        <!-- Default style for DialogPreference. -->
910        <attr name="dialogPreferenceStyle" format="reference" />
911        <!-- Default style for EditTextPreference. -->
912        <attr name="editTextPreferenceStyle" format="reference" />
913        <!-- @hide Default style for SeekBarDialogPreference. -->
914        <attr name="seekBarDialogPreferenceStyle" format="reference" />
915        <!-- Default style for RingtonePreference. -->
916        <attr name="ringtonePreferenceStyle" format="reference" />
917        <!-- The preference layout that has the child/tabbed effect. -->
918        <attr name="preferenceLayoutChild" format="reference" />
919        <!-- Preference panel style -->
920        <attr name="preferencePanelStyle" format="reference" />
921        <!-- Preference headers panel style -->
922        <attr name="preferenceHeaderPanelStyle" format="reference" />
923        <!-- Preference list style -->
924        <attr name="preferenceListStyle" format="reference" />
925        <!-- Preference fragment list style -->
926        <attr name="preferenceFragmentListStyle" format="reference" />
927        <!-- Preference fragment padding side -->
928        <attr name="preferenceFragmentPaddingSide" format="dimension" />
929        <!-- Default style for switch preferences. -->
930        <attr name="switchPreferenceStyle" format="reference" />
931        <!-- Default style for seekbar preferences. -->
932        <attr name="seekBarPreferenceStyle" format="reference" />
933
934        <!-- ============================ -->
935        <!-- Text selection handle styles -->
936        <!-- ============================ -->
937        <eat-comment />
938
939        <!-- Reference to a drawable that will be used to display a text selection
940             anchor on the left side of a selection region. -->
941        <attr name="textSelectHandleLeft" format="reference" />
942        <!-- Reference to a drawable that will be used to display a text selection
943             anchor on the right side of a selection region. -->
944        <attr name="textSelectHandleRight" format="reference" />
945        <!-- Reference to a drawable that will be used to display a text selection
946             anchor for positioning the cursor within text. -->
947        <attr name="textSelectHandle" format="reference" />
948        <!-- The layout of the view that is displayed on top of the cursor to paste inside a
949             TextEdit field. -->
950        <attr name="textEditPasteWindowLayout" format="reference" />
951        <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. -->
952        <attr name="textEditNoPasteWindowLayout" format="reference" />
953        <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the
954             insertion cursor because it would be clipped if it were positioned on top. -->
955        <attr name="textEditSidePasteWindowLayout" format="reference" />
956        <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. -->
957        <attr name="textEditSideNoPasteWindowLayout" format="reference" />
958
959        <!-- Layout of the TextView item that will populate the suggestion popup window. -->
960        <attr name="textEditSuggestionItemLayout" format="reference" />
961        <!-- Layout of the container of the suggestion popup window. -->
962        <attr name="textEditSuggestionContainerLayout" format="reference" />
963        <!-- Text appearance of the focused words to be replaced by suggested word. -->
964        <attr name="textEditSuggestionHighlightStyle" format="reference" />
965
966        <!-- Theme to use for dialogs spawned from this theme. -->
967        <attr name="dialogTheme" format="reference" />
968        <!-- Window decor layout to use in dialog mode with icons. -->
969        <attr name="dialogTitleIconsDecorLayout" format="reference" />
970        <!-- Window decor layout to use in dialog mode with custom titles. -->
971        <attr name="dialogCustomTitleDecorLayout" format="reference" />
972        <!-- Window decor layout to use in dialog mode with title only. -->
973        <attr name="dialogTitleDecorLayout" format="reference" />
974        <!-- Preferred padding for dialog content. -->
975        <attr name="dialogPreferredPadding" format="dimension" />
976
977        <!-- Theme to use for alert dialogs spawned from this theme. -->
978        <attr name="alertDialogTheme" format="reference" />
979        <!-- Icon drawable to use for alerts. -->
980        <attr name="alertDialogIcon" format="reference" />
981
982        <!-- Theme to use for presentations spawned from this theme. -->
983        <attr name="presentationTheme" format="reference" />
984
985        <!-- Drawable to use for generic vertical dividers. -->
986        <attr name="dividerVertical" format="reference" />
987
988        <!-- Drawable to use for generic horizontal dividers. -->
989        <attr name="dividerHorizontal" format="reference" />
990
991        <!-- Style for button bars. -->
992        <attr name="buttonBarStyle" format="reference" />
993
994        <!-- Style for buttons within button bars. -->
995        <attr name="buttonBarButtonStyle" format="reference" />
996
997        <!-- Style for the "positive" buttons within button bars. -->
998        <attr name="buttonBarPositiveButtonStyle" format="reference" />
999
1000        <!-- Style for the "negative" buttons within button bars. -->
1001        <attr name="buttonBarNegativeButtonStyle" format="reference" />
1002
1003        <!-- Style for the "neutral" buttons within button bars. -->
1004        <attr name="buttonBarNeutralButtonStyle" format="reference" />
1005
1006        <!-- Style for the search query widget. -->
1007        <attr name="searchViewStyle" format="reference" />
1008
1009        <!-- Style for segmented buttons - a container that houses several buttons
1010             with the appearance of a singel button broken into segments. -->
1011        <attr name="segmentedButtonStyle" format="reference" />
1012
1013        <!-- Background drawable for bordered standalone items that need focus/pressed states. -->
1014        <attr name="selectableItemBackground" format="reference" />
1015
1016        <!-- Background drawable for borderless standalone items that need focus/pressed states. -->
1017        <attr name="selectableItemBackgroundBorderless" format="reference" />
1018
1019        <!-- Style for buttons without an explicit border, often used in groups. -->
1020        <attr name="borderlessButtonStyle" format="reference" />
1021
1022        <!-- Background to use for toasts. -->
1023        <attr name="toastFrameBackground" format="reference" />
1024
1025        <!-- Background to use for tooltip popups. -->
1026        <attr name="tooltipFrameBackground" format="reference" />
1027
1028        <!-- Foreground color to use for tooltip popups. -->
1029        <attr name="tooltipForegroundColor" format="reference|color" />
1030
1031        <!-- Background color to use for tooltip popups. -->
1032        <attr name="tooltipBackgroundColor" format="reference|color" />
1033
1034        <!-- Theme to use for Search Dialogs. -->
1035        <attr name="searchDialogTheme" format="reference" />
1036
1037        <!-- Specifies a drawable to use for the 'home as up' indicator. -->
1038        <attr name="homeAsUpIndicator" format="reference" />
1039
1040        <!-- Preference frame layout styles. -->
1041        <attr name="preferenceFrameLayoutStyle" format="reference" />
1042
1043        <!-- Default style for the Switch widget. -->
1044        <attr name="switchStyle" format="reference" />
1045
1046        <!-- Default style for the MediaRouteButton widget. -->
1047        <attr name="mediaRouteButtonStyle" format="reference" />
1048
1049        <!-- ============== -->
1050        <!-- Pointer styles -->
1051        <!-- ============== -->
1052        <eat-comment />
1053
1054        <!-- The drawable for accessibility focused views. -->
1055        <attr name="accessibilityFocusedDrawable" format="reference" />
1056
1057        <!-- Drawable for WebView find-on-page dialogue's "next" button. @hide -->
1058        <attr name="findOnPageNextDrawable" format="reference" />
1059
1060        <!-- Drawable for WebView find-on-page dialogue's "previous" button. @hide -->
1061        <attr name="findOnPagePreviousDrawable" format="reference" />
1062
1063        <!-- ============= -->
1064        <!-- Color palette -->
1065        <!-- ============= -->
1066        <eat-comment />
1067
1068        <!-- The primary branding color for the app. By default, this is the color applied to the
1069             action bar background. -->
1070        <attr name="colorPrimary" format="color" />
1071
1072        <!-- Dark variant of the primary branding color. By default, this is the color applied to
1073             the status bar (via statusBarColor) and navigation bar (via navigationBarColor). -->
1074        <attr name="colorPrimaryDark" format="color" />
1075
1076        <!-- The secondary branding color for the app. -->
1077        <attr name="colorSecondary" format="color" />
1078
1079        <!-- Bright complement to the primary branding color. By default, this is the color applied
1080             to framework controls (via colorControlActivated). -->
1081        <attr name="colorAccent" format="color" />
1082
1083        <!-- The color applied to framework controls in their normal state. -->
1084        <attr name="colorControlNormal" format="color" />
1085
1086        <!-- The color applied to framework controls in their activated (ex. checked) state. -->
1087        <attr name="colorControlActivated" format="color" />
1088
1089        <!-- The color applied to framework control highlights (ex. ripples, list selectors). -->
1090        <attr name="colorControlHighlight" format="color" />
1091
1092        <!-- The color applied to framework buttons in their normal state. -->
1093        <attr name="colorButtonNormal" format="color" />
1094
1095        <!-- The color applied to framework switch thumbs in their normal state. -->
1096        <attr name="colorSwitchThumbNormal" format="color" />
1097
1098        <!-- The color applied to the edge effect on scrolling containers. -->
1099        <attr name="colorEdgeEffect" format="color" />
1100
1101        <!-- =================== -->
1102        <!-- Lighting properties -->
1103        <!-- =================== -->
1104        <eat-comment />
1105
1106        <!-- @hide The default Y position of the light used to project view shadows. -->
1107        <attr name="lightY" format="dimension" />
1108
1109        <!-- @hide The default Z position of the light used to project view shadows. -->
1110        <attr name="lightZ" format="dimension" />
1111
1112        <!-- @hide The default radius of the light used to project view shadows. -->
1113        <attr name="lightRadius" format="dimension" />
1114
1115        <!-- Alpha value of the ambient shadow projected by elevated views, between 0 and 1. -->
1116        <attr name="ambientShadowAlpha" format="float" />
1117
1118        <!-- Alpha value of the spot shadow projected by elevated views, between 0 and 1. -->
1119        <attr name="spotShadowAlpha" format="float" />
1120    </declare-styleable>
1121
1122    <!-- **************************************************************** -->
1123    <!-- Other non-theme attributes. -->
1124    <!-- **************************************************************** -->
1125    <eat-comment />
1126
1127    <!-- Size of text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp).
1128         Supported values include the following:<p/>
1129    <ul>
1130        <li><b>px</b> Pixels</li>
1131        <li><b>sp</b> Scaled pixels (scaled to relative pixel size on screen). See {@link android.util.DisplayMetrics} for more information.</li>
1132        <li><b>pt</b> Points</li>
1133        <li><b>dip</b> Device independent pixels. See {@link android.util.DisplayMetrics} for more information.</li>
1134    </ul>
1135        -->
1136    <attr name="textSize" format="dimension" />
1137
1138    <!-- Default font family. -->
1139    <attr name="fontFamily" format="string" />
1140
1141    <!-- Default text typeface. -->
1142    <attr name="typeface">
1143        <enum name="normal" value="0" />
1144        <enum name="sans" value="1" />
1145        <enum name="serif" value="2" />
1146        <enum name="monospace" value="3" />
1147    </attr>
1148
1149    <!-- Default text typeface style. -->
1150    <attr name="textStyle">
1151        <flag name="normal" value="0" />
1152        <flag name="bold" value="1" />
1153        <flag name="italic" value="2" />
1154    </attr>
1155
1156    <!-- Color of text (usually same as colorForeground). -->
1157    <attr name="textColor" format="reference|color" />
1158
1159    <!-- Color of highlighted text. -->
1160    <attr name="textColorHighlight" format="reference|color" />
1161
1162    <!-- Color of hint text (displayed when the field is empty). -->
1163    <attr name="textColorHint" format="reference|color" />
1164
1165    <!-- Color of link text (URLs). -->
1166    <attr name="textColorLink" format="reference|color" />
1167
1168    <!-- Reference to a drawable that will be drawn under the insertion cursor. -->
1169    <attr name="textCursorDrawable" format="reference" />
1170
1171    <!-- Indicates that the content of a non-editable TextView can be selected.
1172     Default value is false. EditText content is always selectable. -->
1173    <attr name="textIsSelectable" format="boolean" />
1174
1175    <!-- Where to ellipsize text. -->
1176    <attr name="ellipsize">
1177        <enum name="none" value="0" />
1178        <enum name="start" value="1" />
1179        <enum name="middle" value="2" />
1180        <enum name="end" value="3" />
1181        <enum name="marquee" value="4" />
1182    </attr>
1183
1184    <!-- The type of data being placed in a text field, used to help an
1185         input method decide how to let the user enter text.  The constants
1186         here correspond to those defined by
1187         {@link android.text.InputType}.  Generally you can select
1188         a single value, though some can be combined together as
1189         indicated.  Setting this attribute to anything besides
1190         <var>none</var> also implies that the text is editable. -->
1191    <attr name="inputType">
1192        <!-- There is no content type.  The text is not editable. -->
1193        <flag name="none" value="0x00000000" />
1194        <!-- Just plain old text.  Corresponds to
1195             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1196             {@link android.text.InputType#TYPE_TEXT_VARIATION_NORMAL}. -->
1197        <flag name="text" value="0x00000001" />
1198        <!-- Can be combined with <var>text</var> and its variations to
1199             request capitalization of all characters.  Corresponds to
1200             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_CHARACTERS}. -->
1201        <flag name="textCapCharacters" value="0x00001001" />
1202        <!-- Can be combined with <var>text</var> and its variations to
1203             request capitalization of the first character of every word.  Corresponds to
1204             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_WORDS}. -->
1205        <flag name="textCapWords" value="0x00002001" />
1206        <!-- Can be combined with <var>text</var> and its variations to
1207             request capitalization of the first character of every sentence.  Corresponds to
1208             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_SENTENCES}. -->
1209        <flag name="textCapSentences" value="0x00004001" />
1210        <!-- Can be combined with <var>text</var> and its variations to
1211             request auto-correction of text being input.  Corresponds to
1212             {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_CORRECT}. -->
1213        <flag name="textAutoCorrect" value="0x00008001" />
1214        <!-- Can be combined with <var>text</var> and its variations to
1215             specify that this field will be doing its own auto-completion and
1216             talking with the input method appropriately.  Corresponds to
1217             {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_COMPLETE}. -->
1218        <flag name="textAutoComplete" value="0x00010001" />
1219        <!-- Can be combined with <var>text</var> and its variations to
1220             allow multiple lines of text in the field.  If this flag is not set,
1221             the text field will be constrained to a single line.  Corresponds to
1222             {@link android.text.InputType#TYPE_TEXT_FLAG_MULTI_LINE}. -->
1223        <flag name="textMultiLine" value="0x00020001" />
1224        <!-- Can be combined with <var>text</var> and its variations to
1225             indicate that though the regular text view should not be multiple
1226             lines, the IME should provide multiple lines if it can.  Corresponds to
1227             {@link android.text.InputType#TYPE_TEXT_FLAG_IME_MULTI_LINE}. -->
1228        <flag name="textImeMultiLine" value="0x00040001" />
1229        <!-- Can be combined with <var>text</var> and its variations to
1230             indicate that the IME should not show any
1231             dictionary-based word suggestions.  Corresponds to
1232             {@link android.text.InputType#TYPE_TEXT_FLAG_NO_SUGGESTIONS}. -->
1233        <flag name="textNoSuggestions" value="0x00080001" />
1234        <!-- Text that will be used as a URI.  Corresponds to
1235             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1236             {@link android.text.InputType#TYPE_TEXT_VARIATION_URI}. -->
1237        <flag name="textUri" value="0x00000011" />
1238        <!-- Text that will be used as an e-mail address.  Corresponds to
1239             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1240             {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_ADDRESS}. -->
1241        <flag name="textEmailAddress" value="0x00000021" />
1242        <!-- Text that is being supplied as the subject of an e-mail.  Corresponds to
1243             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1244             {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_SUBJECT}. -->
1245        <flag name="textEmailSubject" value="0x00000031" />
1246        <!-- Text that is the content of a short message.  Corresponds to
1247             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1248             {@link android.text.InputType#TYPE_TEXT_VARIATION_SHORT_MESSAGE}. -->
1249        <flag name="textShortMessage" value="0x00000041" />
1250        <!-- Text that is the content of a long message.  Corresponds to
1251             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1252             {@link android.text.InputType#TYPE_TEXT_VARIATION_LONG_MESSAGE}. -->
1253        <flag name="textLongMessage" value="0x00000051" />
1254        <!-- Text that is the name of a person.  Corresponds to
1255             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1256             {@link android.text.InputType#TYPE_TEXT_VARIATION_PERSON_NAME}. -->
1257        <flag name="textPersonName" value="0x00000061" />
1258        <!-- Text that is being supplied as a postal mailing address.  Corresponds to
1259             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1260             {@link android.text.InputType#TYPE_TEXT_VARIATION_POSTAL_ADDRESS}. -->
1261        <flag name="textPostalAddress" value="0x00000071" />
1262        <!-- Text that is a password.  Corresponds to
1263             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1264             {@link android.text.InputType#TYPE_TEXT_VARIATION_PASSWORD}. -->
1265        <flag name="textPassword" value="0x00000081" />
1266        <!-- Text that is a password that should be visible.  Corresponds to
1267             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1268             {@link android.text.InputType#TYPE_TEXT_VARIATION_VISIBLE_PASSWORD}. -->
1269        <flag name="textVisiblePassword" value="0x00000091" />
1270        <!-- Text that is being supplied as text in a web form.  Corresponds to
1271             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1272             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EDIT_TEXT}. -->
1273        <flag name="textWebEditText" value="0x000000a1" />
1274        <!-- Text that is filtering some other data.  Corresponds to
1275             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1276             {@link android.text.InputType#TYPE_TEXT_VARIATION_FILTER}. -->
1277        <flag name="textFilter" value="0x000000b1" />
1278        <!-- Text that is for phonetic pronunciation, such as a phonetic name
1279             field in a contact entry.  Corresponds to
1280             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1281             {@link android.text.InputType#TYPE_TEXT_VARIATION_PHONETIC}. -->
1282        <flag name="textPhonetic" value="0x000000c1" />
1283        <!-- Text that will be used as an e-mail address on a web form.  Corresponds to
1284             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1285             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS}. -->
1286        <flag name="textWebEmailAddress" value="0x000000d1" />
1287        <!-- Text that will be used as a password on a web form.  Corresponds to
1288             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1289             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_PASSWORD}. -->
1290        <flag name="textWebPassword" value="0x000000e1" />
1291        <!-- A numeric only field.  Corresponds to
1292             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1293             {@link android.text.InputType#TYPE_NUMBER_VARIATION_NORMAL}. -->
1294        <flag name="number" value="0x00000002" />
1295        <!-- Can be combined with <var>number</var> and its other options to
1296             allow a signed number.  Corresponds to
1297             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1298             {@link android.text.InputType#TYPE_NUMBER_FLAG_SIGNED}. -->
1299        <flag name="numberSigned" value="0x00001002" />
1300        <!-- Can be combined with <var>number</var> and its other options to
1301             allow a decimal (fractional) number.  Corresponds to
1302             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1303             {@link android.text.InputType#TYPE_NUMBER_FLAG_DECIMAL}. -->
1304        <flag name="numberDecimal" value="0x00002002" />
1305        <!-- A numeric password field.  Corresponds to
1306             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1307             {@link android.text.InputType#TYPE_NUMBER_VARIATION_PASSWORD}. -->
1308        <flag name="numberPassword" value="0x00000012" />
1309        <!-- For entering a phone number.  Corresponds to
1310             {@link android.text.InputType#TYPE_CLASS_PHONE}. -->
1311        <flag name="phone" value="0x00000003" />
1312        <!-- For entering a date and time.  Corresponds to
1313             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1314             {@link android.text.InputType#TYPE_DATETIME_VARIATION_NORMAL}. -->
1315        <flag name="datetime" value="0x00000004" />
1316        <!-- For entering a date.  Corresponds to
1317             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1318             {@link android.text.InputType#TYPE_DATETIME_VARIATION_DATE}. -->
1319        <flag name="date" value="0x00000014" />
1320        <!-- For entering a time.  Corresponds to
1321             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1322             {@link android.text.InputType#TYPE_DATETIME_VARIATION_TIME}. -->
1323        <flag name="time" value="0x00000024" />
1324    </attr>
1325
1326    <!-- Additional features you can enable in an IME associated with an editor
1327         to improve the integration with your application.  The constants
1328         here correspond to those defined by
1329         {@link android.view.inputmethod.EditorInfo#imeOptions}. -->
1330    <attr name="imeOptions">
1331        <!-- There are no special semantics associated with this editor. -->
1332        <flag name="normal" value="0x00000000" />
1333        <!-- There is no specific action associated with this editor, let the
1334             editor come up with its own if it can.
1335             Corresponds to
1336             {@link android.view.inputmethod.EditorInfo#IME_NULL}. -->
1337        <flag name="actionUnspecified" value="0x00000000" />
1338        <!-- This editor has no action associated with it.
1339             Corresponds to
1340             {@link android.view.inputmethod.EditorInfo#IME_ACTION_NONE}. -->
1341        <flag name="actionNone" value="0x00000001" />
1342        <!-- The action key performs a "go"
1343             operation to take the user to the target of the text they typed.
1344             Typically used, for example, when entering a URL.
1345             Corresponds to
1346             {@link android.view.inputmethod.EditorInfo#IME_ACTION_GO}. -->
1347        <flag name="actionGo" value="0x00000002" />
1348        <!-- The action key performs a "search"
1349             operation, taking the user to the results of searching for the text
1350             the have typed (in whatever context is appropriate).
1351             Corresponds to
1352             {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEARCH}. -->
1353        <flag name="actionSearch" value="0x00000003" />
1354        <!-- The action key performs a "send"
1355             operation, delivering the text to its target.  This is typically used
1356             when composing a message.
1357             Corresponds to
1358             {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEND}. -->
1359        <flag name="actionSend" value="0x00000004" />
1360        <!-- The action key performs a "next"
1361             operation, taking the user to the next field that will accept text.
1362             Corresponds to
1363             {@link android.view.inputmethod.EditorInfo#IME_ACTION_NEXT}. -->
1364        <flag name="actionNext" value="0x00000005" />
1365        <!-- The action key performs a "done"
1366             operation, closing the soft input method.
1367             Corresponds to
1368             {@link android.view.inputmethod.EditorInfo#IME_ACTION_DONE}. -->
1369        <flag name="actionDone" value="0x00000006" />
1370        <!-- The action key performs a "previous"
1371             operation, taking the user to the previous field that will accept text.
1372             Corresponds to
1373             {@link android.view.inputmethod.EditorInfo#IME_ACTION_PREVIOUS}. -->
1374        <flag name="actionPrevious" value="0x00000007" />
1375        <!-- Used to request that the IME never go
1376             into fullscreen mode.  Applications need to be aware that the flag is not
1377             a guarantee, and not all IMEs will respect it.
1378             <p>Corresponds to
1379             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. -->
1380        <flag name="flagNoFullscreen" value="0x2000000" />
1381        <!-- Like flagNavigateNext, but
1382             specifies there is something interesting that a backward navigation
1383             can focus on.  If the user selects the IME's facility to backward
1384             navigate, this will show up in the application as an actionPrevious
1385             at {@link android.view.inputmethod.InputConnection#performEditorAction(int)
1386             InputConnection.performEditorAction(int)}.
1387             <p>Corresponds to
1388             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. -->
1389        <flag name="flagNavigatePrevious" value="0x4000000" />
1390        <!-- Used to specify that there is something
1391             interesting that a forward navigation can focus on. This is like using
1392             actionNext, except allows the IME to be multiline (with
1393             an enter key) as well as provide forward navigation.  Note that some
1394             IMEs may not be able to do this, especially when running on a small
1395             screen where there is little space.  In that case it does not need to
1396             present a UI for this option.  Like actionNext, if the
1397             user selects the IME's facility to forward navigate, this will show up
1398             in the application at
1399             {@link android.view.inputmethod.InputConnection#performEditorAction(int)
1400             InputConnection.performEditorAction(int)}.
1401             <p>Corresponds to
1402             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NAVIGATE_NEXT}. -->
1403        <flag name="flagNavigateNext" value="0x8000000" />
1404        <!-- Used to specify that the IME does not need
1405             to show its extracted text UI.  For input methods that may be fullscreen,
1406             often when in landscape mode, this allows them to be smaller and let part
1407             of the application be shown behind.  Though there will likely be limited
1408             access to the application available from the user, it can make the
1409             experience of a (mostly) fullscreen IME less jarring.  Note that when
1410             this flag is specified the IME may <em>not</em> be set up to be able
1411             to display text, so it should only be used in situations where this is
1412             not needed.
1413             <p>Corresponds to
1414             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_EXTRACT_UI}. -->
1415        <flag name="flagNoExtractUi" value="0x10000000" />
1416        <!-- Used in conjunction with a custom action, this indicates that the
1417             action should not be available as an accessory button when the
1418             input method is full-screen.
1419             Note that by setting this flag, there can be cases where the action
1420             is simply never available to the user.  Setting this generally means
1421             that you think showing text being edited is more important than the
1422             action you have supplied.
1423             <p>Corresponds to
1424             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ACCESSORY_ACTION}. -->
1425        <flag name="flagNoAccessoryAction" value="0x20000000" />
1426        <!-- Used in conjunction with a custom action,
1427             this indicates that the action should not be available in-line as
1428             a replacement for the "enter" key.  Typically this is
1429             because the action has such a significant impact or is not recoverable
1430             enough that accidentally hitting it should be avoided, such as sending
1431             a message.    Note that {@link android.widget.TextView} will
1432             automatically set this flag for you on multi-line text views.
1433             <p>Corresponds to
1434             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ENTER_ACTION}. -->
1435        <flag name="flagNoEnterAction" value="0x40000000" />
1436        <!-- Used to request that the IME should be capable of inputting ASCII
1437             characters.  The intention of this flag is to ensure that the user
1438             can type Roman alphabet characters in a {@link android.widget.TextView}
1439             used for, typically, account ID or password input.  It is expected that IMEs
1440             normally are able to input ASCII even without being told so (such IMEs
1441             already respect this flag in a sense), but there could be some cases they
1442             aren't when, for instance, only non-ASCII input languagaes like Arabic,
1443             Greek, Hebrew, Russian are enabled in the IME.  Applications need to be
1444             aware that the flag is not a guarantee, and not all IMEs will respect it.
1445             However, it is strongly recommended for IME authors to respect this flag
1446             especially when their IME could end up with a state that has only non-ASCII
1447             input languages enabled.
1448             <p>Corresponds to
1449             {@link android.view.inputmethod.EditorInfo#IME_FLAG_FORCE_ASCII}. -->
1450        <flag name="flagForceAscii" value="0x80000000" />
1451    </attr>
1452
1453    <!-- A coordinate in the X dimension. -->
1454    <attr name="x" format="dimension" />
1455    <!-- A coordinate in the Y dimension. -->
1456    <attr name="y" format="dimension" />
1457
1458    <!-- Specifies how an object should position its content, on both the X and Y axes,
1459         within its own bounds.  -->
1460    <attr name="gravity">
1461        <!-- Push object to the top of its container, not changing its size. -->
1462        <flag name="top" value="0x30" />
1463        <!-- Push object to the bottom of its container, not changing its size. -->
1464        <flag name="bottom" value="0x50" />
1465        <!-- Push object to the left of its container, not changing its size. -->
1466        <flag name="left" value="0x03" />
1467        <!-- Push object to the right of its container, not changing its size. -->
1468        <flag name="right" value="0x05" />
1469        <!-- Place object in the vertical center of its container, not changing its size. -->
1470        <flag name="center_vertical" value="0x10" />
1471        <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
1472        <flag name="fill_vertical" value="0x70" />
1473        <!-- Place object in the horizontal center of its container, not changing its size. -->
1474        <flag name="center_horizontal" value="0x01" />
1475        <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
1476        <flag name="fill_horizontal" value="0x07" />
1477        <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
1478        <flag name="center" value="0x11" />
1479        <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
1480        <flag name="fill" value="0x77" />
1481        <!-- Additional option that can be set to have the top and/or bottom edges of
1482             the child clipped to its container's bounds.
1483             The clip will be based on the vertical gravity: a top gravity will clip the bottom
1484             edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
1485        <flag name="clip_vertical" value="0x80" />
1486        <!-- Additional option that can be set to have the left and/or right edges of
1487             the child clipped to its container's bounds.
1488             The clip will be based on the horizontal gravity: a left gravity will clip the right
1489             edge, a right gravity will clip the left edge, and neither will clip both edges. -->
1490        <flag name="clip_horizontal" value="0x08" />
1491        <!-- Push object to the beginning of its container, not changing its size. -->
1492        <flag name="start" value="0x00800003" />
1493        <!-- Push object to the end of its container, not changing its size. -->
1494        <flag name="end" value="0x00800005" />
1495    </attr>
1496
1497    <!-- Controls whether links such as urls and email addresses are
1498         automatically found and converted to clickable links.  The default
1499         value is "none", disabling this feature. -->
1500    <attr name="autoLink">
1501        <!-- Match no patterns (default). -->
1502        <flag name="none" value="0x00" />
1503        <!-- Match Web URLs. -->
1504        <flag name="web" value="0x01" />
1505        <!-- Match email addresses. -->
1506        <flag name="email" value="0x02" />
1507        <!-- Match phone numbers. -->
1508        <flag name="phone" value="0x04" />
1509        <!-- Match map addresses. -->
1510        <flag name="map" value="0x08" />
1511        <!-- Match all patterns (equivalent to web|email|phone|map). -->
1512        <flag name="all" value="0x0f" />
1513    </attr>
1514
1515    <!-- Reference to an array resource that will populate a list/adapter. -->
1516    <attr name="entries" format="reference" />
1517
1518    <!-- Standard gravity constant that a child supplies to its parent.
1519         Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout. -->
1520    <attr name="layout_gravity">
1521        <!-- Push object to the top of its container, not changing its size. -->
1522        <flag name="top" value="0x30" />
1523        <!-- Push object to the bottom of its container, not changing its size. -->
1524        <flag name="bottom" value="0x50" />
1525        <!-- Push object to the left of its container, not changing its size. -->
1526        <flag name="left" value="0x03" />
1527        <!-- Push object to the right of its container, not changing its size. -->
1528        <flag name="right" value="0x05" />
1529        <!-- Place object in the vertical center of its container, not changing its size. -->
1530        <flag name="center_vertical" value="0x10" />
1531        <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
1532        <flag name="fill_vertical" value="0x70" />
1533        <!-- Place object in the horizontal center of its container, not changing its size. -->
1534        <flag name="center_horizontal" value="0x01" />
1535        <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
1536        <flag name="fill_horizontal" value="0x07" />
1537        <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
1538        <flag name="center" value="0x11" />
1539        <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
1540        <flag name="fill" value="0x77" />
1541        <!-- Additional option that can be set to have the top and/or bottom edges of
1542             the child clipped to its container's bounds.
1543             The clip will be based on the vertical gravity: a top gravity will clip the bottom
1544             edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
1545        <flag name="clip_vertical" value="0x80" />
1546        <!-- Additional option that can be set to have the left and/or right edges of
1547             the child clipped to its container's bounds.
1548             The clip will be based on the horizontal gravity: a left gravity will clip the right
1549             edge, a right gravity will clip the left edge, and neither will clip both edges. -->
1550        <flag name="clip_horizontal" value="0x08" />
1551        <!-- Push object to the beginning of its container, not changing its size. -->
1552        <flag name="start" value="0x00800003" />
1553        <!-- Push object to the end of its container, not changing its size. -->
1554        <flag name="end" value="0x00800005" />
1555    </attr>
1556
1557    <!-- Standard orientation constant. -->
1558    <attr name="orientation">
1559        <!-- Defines an horizontal widget. -->
1560        <enum name="horizontal" value="0" />
1561        <!-- Defines a vertical widget. -->
1562        <enum name="vertical" value="1" />
1563    </attr>
1564
1565    <!-- Alignment constants. -->
1566    <attr name="alignmentMode">
1567        <!-- Align the bounds of the children.
1568        See {@link android.widget.GridLayout#ALIGN_BOUNDS}. -->
1569        <enum name="alignBounds" value="0" />
1570        <!-- Align the margins of the children.
1571        See {@link android.widget.GridLayout#ALIGN_MARGINS}. -->
1572        <enum name="alignMargins" value="1" />
1573    </attr>
1574
1575    <!-- ========================== -->
1576    <!-- Key Codes                  -->
1577    <!-- ========================== -->
1578    <eat-comment />
1579
1580    <!-- This enum provides the same keycode values as can be found in
1581        {@link android.view.KeyEvent}. -->
1582    <attr name="keycode">
1583        <enum name="KEYCODE_UNKNOWN" value="0" />
1584        <enum name="KEYCODE_SOFT_LEFT" value="1" />
1585        <enum name="KEYCODE_SOFT_RIGHT" value="2" />
1586        <enum name="KEYCODE_HOME" value="3" />
1587        <enum name="KEYCODE_BACK" value="4" />
1588        <enum name="KEYCODE_CALL" value="5" />
1589        <enum name="KEYCODE_ENDCALL" value="6" />
1590        <enum name="KEYCODE_0" value="7" />
1591        <enum name="KEYCODE_1" value="8" />
1592        <enum name="KEYCODE_2" value="9" />
1593        <enum name="KEYCODE_3" value="10" />
1594        <enum name="KEYCODE_4" value="11" />
1595        <enum name="KEYCODE_5" value="12" />
1596        <enum name="KEYCODE_6" value="13" />
1597        <enum name="KEYCODE_7" value="14" />
1598        <enum name="KEYCODE_8" value="15" />
1599        <enum name="KEYCODE_9" value="16" />
1600        <enum name="KEYCODE_STAR" value="17" />
1601        <enum name="KEYCODE_POUND" value="18" />
1602        <enum name="KEYCODE_DPAD_UP" value="19" />
1603        <enum name="KEYCODE_DPAD_DOWN" value="20" />
1604        <enum name="KEYCODE_DPAD_LEFT" value="21" />
1605        <enum name="KEYCODE_DPAD_RIGHT" value="22" />
1606        <enum name="KEYCODE_DPAD_CENTER" value="23" />
1607        <enum name="KEYCODE_VOLUME_UP" value="24" />
1608        <enum name="KEYCODE_VOLUME_DOWN" value="25" />
1609        <enum name="KEYCODE_POWER" value="26" />
1610        <enum name="KEYCODE_CAMERA" value="27" />
1611        <enum name="KEYCODE_CLEAR" value="28" />
1612        <enum name="KEYCODE_A" value="29" />
1613        <enum name="KEYCODE_B" value="30" />
1614        <enum name="KEYCODE_C" value="31" />
1615        <enum name="KEYCODE_D" value="32" />
1616        <enum name="KEYCODE_E" value="33" />
1617        <enum name="KEYCODE_F" value="34" />
1618        <enum name="KEYCODE_G" value="35" />
1619        <enum name="KEYCODE_H" value="36" />
1620        <enum name="KEYCODE_I" value="37" />
1621        <enum name="KEYCODE_J" value="38" />
1622        <enum name="KEYCODE_K" value="39" />
1623        <enum name="KEYCODE_L" value="40" />
1624        <enum name="KEYCODE_M" value="41" />
1625        <enum name="KEYCODE_N" value="42" />
1626        <enum name="KEYCODE_O" value="43" />
1627        <enum name="KEYCODE_P" value="44" />
1628        <enum name="KEYCODE_Q" value="45" />
1629        <enum name="KEYCODE_R" value="46" />
1630        <enum name="KEYCODE_S" value="47" />
1631        <enum name="KEYCODE_T" value="48" />
1632        <enum name="KEYCODE_U" value="49" />
1633        <enum name="KEYCODE_V" value="50" />
1634        <enum name="KEYCODE_W" value="51" />
1635        <enum name="KEYCODE_X" value="52" />
1636        <enum name="KEYCODE_Y" value="53" />
1637        <enum name="KEYCODE_Z" value="54" />
1638        <enum name="KEYCODE_COMMA" value="55" />
1639        <enum name="KEYCODE_PERIOD" value="56" />
1640        <enum name="KEYCODE_ALT_LEFT" value="57" />
1641        <enum name="KEYCODE_ALT_RIGHT" value="58" />
1642        <enum name="KEYCODE_SHIFT_LEFT" value="59" />
1643        <enum name="KEYCODE_SHIFT_RIGHT" value="60" />
1644        <enum name="KEYCODE_TAB" value="61" />
1645        <enum name="KEYCODE_SPACE" value="62" />
1646        <enum name="KEYCODE_SYM" value="63" />
1647        <enum name="KEYCODE_EXPLORER" value="64" />
1648        <enum name="KEYCODE_ENVELOPE" value="65" />
1649        <enum name="KEYCODE_ENTER" value="66" />
1650        <enum name="KEYCODE_DEL" value="67" />
1651        <enum name="KEYCODE_GRAVE" value="68" />
1652        <enum name="KEYCODE_MINUS" value="69" />
1653        <enum name="KEYCODE_EQUALS" value="70" />
1654        <enum name="KEYCODE_LEFT_BRACKET" value="71" />
1655        <enum name="KEYCODE_RIGHT_BRACKET" value="72" />
1656        <enum name="KEYCODE_BACKSLASH" value="73" />
1657        <enum name="KEYCODE_SEMICOLON" value="74" />
1658        <enum name="KEYCODE_APOSTROPHE" value="75" />
1659        <enum name="KEYCODE_SLASH" value="76" />
1660        <enum name="KEYCODE_AT" value="77" />
1661        <enum name="KEYCODE_NUM" value="78" />
1662        <enum name="KEYCODE_HEADSETHOOK" value="79" />
1663        <enum name="KEYCODE_FOCUS" value="80" />
1664        <enum name="KEYCODE_PLUS" value="81" />
1665        <enum name="KEYCODE_MENU" value="82" />
1666        <enum name="KEYCODE_NOTIFICATION" value="83" />
1667        <enum name="KEYCODE_SEARCH" value="84" />
1668        <enum name="KEYCODE_MEDIA_PLAY_PAUSE" value="85" />
1669        <enum name="KEYCODE_MEDIA_STOP" value="86" />
1670        <enum name="KEYCODE_MEDIA_NEXT" value="87" />
1671        <enum name="KEYCODE_MEDIA_PREVIOUS" value="88" />
1672        <enum name="KEYCODE_MEDIA_REWIND" value="89" />
1673        <enum name="KEYCODE_MEDIA_FAST_FORWARD" value="90" />
1674        <enum name="KEYCODE_MUTE" value="91" />
1675        <enum name="KEYCODE_PAGE_UP" value="92" />
1676        <enum name="KEYCODE_PAGE_DOWN" value="93" />
1677        <enum name="KEYCODE_PICTSYMBOLS" value="94" />
1678        <enum name="KEYCODE_SWITCH_CHARSET" value="95" />
1679        <enum name="KEYCODE_BUTTON_A" value="96" />
1680        <enum name="KEYCODE_BUTTON_B" value="97" />
1681        <enum name="KEYCODE_BUTTON_C" value="98" />
1682        <enum name="KEYCODE_BUTTON_X" value="99" />
1683        <enum name="KEYCODE_BUTTON_Y" value="100" />
1684        <enum name="KEYCODE_BUTTON_Z" value="101" />
1685        <enum name="KEYCODE_BUTTON_L1" value="102" />
1686        <enum name="KEYCODE_BUTTON_R1" value="103" />
1687        <enum name="KEYCODE_BUTTON_L2" value="104" />
1688        <enum name="KEYCODE_BUTTON_R2" value="105" />
1689        <enum name="KEYCODE_BUTTON_THUMBL" value="106" />
1690        <enum name="KEYCODE_BUTTON_THUMBR" value="107" />
1691        <enum name="KEYCODE_BUTTON_START" value="108" />
1692        <enum name="KEYCODE_BUTTON_SELECT" value="109" />
1693        <enum name="KEYCODE_BUTTON_MODE" value="110" />
1694        <enum name="KEYCODE_ESCAPE" value="111" />
1695        <enum name="KEYCODE_FORWARD_DEL" value="112" />
1696        <enum name="KEYCODE_CTRL_LEFT" value="113" />
1697        <enum name="KEYCODE_CTRL_RIGHT" value="114" />
1698        <enum name="KEYCODE_CAPS_LOCK" value="115" />
1699        <enum name="KEYCODE_SCROLL_LOCK" value="116" />
1700        <enum name="KEYCODE_META_LEFT" value="117" />
1701        <enum name="KEYCODE_META_RIGHT" value="118" />
1702        <enum name="KEYCODE_FUNCTION" value="119" />
1703        <enum name="KEYCODE_SYSRQ" value="120" />
1704        <enum name="KEYCODE_BREAK" value="121" />
1705        <enum name="KEYCODE_MOVE_HOME" value="122" />
1706        <enum name="KEYCODE_MOVE_END" value="123" />
1707        <enum name="KEYCODE_INSERT" value="124" />
1708        <enum name="KEYCODE_FORWARD" value="125" />
1709        <enum name="KEYCODE_MEDIA_PLAY" value="126" />
1710        <enum name="KEYCODE_MEDIA_PAUSE" value="127" />
1711        <enum name="KEYCODE_MEDIA_CLOSE" value="128" />
1712        <enum name="KEYCODE_MEDIA_EJECT" value="129" />
1713        <enum name="KEYCODE_MEDIA_RECORD" value="130" />
1714        <enum name="KEYCODE_F1" value="131" />
1715        <enum name="KEYCODE_F2" value="132" />
1716        <enum name="KEYCODE_F3" value="133" />
1717        <enum name="KEYCODE_F4" value="134" />
1718        <enum name="KEYCODE_F5" value="135" />
1719        <enum name="KEYCODE_F6" value="136" />
1720        <enum name="KEYCODE_F7" value="137" />
1721        <enum name="KEYCODE_F8" value="138" />
1722        <enum name="KEYCODE_F9" value="139" />
1723        <enum name="KEYCODE_F10" value="140" />
1724        <enum name="KEYCODE_F11" value="141" />
1725        <enum name="KEYCODE_F12" value="142" />
1726        <enum name="KEYCODE_NUM_LOCK" value="143" />
1727        <enum name="KEYCODE_NUMPAD_0" value="144" />
1728        <enum name="KEYCODE_NUMPAD_1" value="145" />
1729        <enum name="KEYCODE_NUMPAD_2" value="146" />
1730        <enum name="KEYCODE_NUMPAD_3" value="147" />
1731        <enum name="KEYCODE_NUMPAD_4" value="148" />
1732        <enum name="KEYCODE_NUMPAD_5" value="149" />
1733        <enum name="KEYCODE_NUMPAD_6" value="150" />
1734        <enum name="KEYCODE_NUMPAD_7" value="151" />
1735        <enum name="KEYCODE_NUMPAD_8" value="152" />
1736        <enum name="KEYCODE_NUMPAD_9" value="153" />
1737        <enum name="KEYCODE_NUMPAD_DIVIDE" value="154" />
1738        <enum name="KEYCODE_NUMPAD_MULTIPLY" value="155" />
1739        <enum name="KEYCODE_NUMPAD_SUBTRACT" value="156" />
1740        <enum name="KEYCODE_NUMPAD_ADD" value="157" />
1741        <enum name="KEYCODE_NUMPAD_DOT" value="158" />
1742        <enum name="KEYCODE_NUMPAD_COMMA" value="159" />
1743        <enum name="KEYCODE_NUMPAD_ENTER" value="160" />
1744        <enum name="KEYCODE_NUMPAD_EQUALS" value="161" />
1745        <enum name="KEYCODE_NUMPAD_LEFT_PAREN" value="162" />
1746        <enum name="KEYCODE_NUMPAD_RIGHT_PAREN" value="163" />
1747        <enum name="KEYCODE_VOLUME_MUTE" value="164" />
1748        <enum name="KEYCODE_INFO" value="165" />
1749        <enum name="KEYCODE_CHANNEL_UP" value="166" />
1750        <enum name="KEYCODE_CHANNEL_DOWN" value="167" />
1751        <enum name="KEYCODE_ZOOM_IN" value="168" />
1752        <enum name="KEYCODE_ZOOM_OUT" value="169" />
1753        <enum name="KEYCODE_TV" value="170" />
1754        <enum name="KEYCODE_WINDOW" value="171" />
1755        <enum name="KEYCODE_GUIDE" value="172" />
1756        <enum name="KEYCODE_DVR" value="173" />
1757        <enum name="KEYCODE_BOOKMARK" value="174" />
1758        <enum name="KEYCODE_CAPTIONS" value="175" />
1759        <enum name="KEYCODE_SETTINGS" value="176" />
1760        <enum name="KEYCODE_TV_POWER" value="177" />
1761        <enum name="KEYCODE_TV_INPUT" value="178" />
1762        <enum name="KEYCODE_STB_POWER" value="179" />
1763        <enum name="KEYCODE_STB_INPUT" value="180" />
1764        <enum name="KEYCODE_AVR_POWER" value="181" />
1765        <enum name="KEYCODE_AVR_INPUT" value="182" />
1766        <enum name="KEYCODE_PROG_GRED" value="183" />
1767        <enum name="KEYCODE_PROG_GREEN" value="184" />
1768        <enum name="KEYCODE_PROG_YELLOW" value="185" />
1769        <enum name="KEYCODE_PROG_BLUE" value="186" />
1770        <enum name="KEYCODE_APP_SWITCH" value="187" />
1771        <enum name="KEYCODE_BUTTON_1" value="188" />
1772        <enum name="KEYCODE_BUTTON_2" value="189" />
1773        <enum name="KEYCODE_BUTTON_3" value="190" />
1774        <enum name="KEYCODE_BUTTON_4" value="191" />
1775        <enum name="KEYCODE_BUTTON_5" value="192" />
1776        <enum name="KEYCODE_BUTTON_6" value="193" />
1777        <enum name="KEYCODE_BUTTON_7" value="194" />
1778        <enum name="KEYCODE_BUTTON_8" value="195" />
1779        <enum name="KEYCODE_BUTTON_9" value="196" />
1780        <enum name="KEYCODE_BUTTON_10" value="197" />
1781        <enum name="KEYCODE_BUTTON_11" value="198" />
1782        <enum name="KEYCODE_BUTTON_12" value="199" />
1783        <enum name="KEYCODE_BUTTON_13" value="200" />
1784        <enum name="KEYCODE_BUTTON_14" value="201" />
1785        <enum name="KEYCODE_BUTTON_15" value="202" />
1786        <enum name="KEYCODE_BUTTON_16" value="203" />
1787        <enum name="KEYCODE_LANGUAGE_SWITCH" value="204" />
1788        <enum name="KEYCODE_MANNER_MODE" value="205" />
1789        <enum name="KEYCODE_3D_MODE" value="206" />
1790        <enum name="KEYCODE_CONTACTS" value="207" />
1791        <enum name="KEYCODE_CALENDAR" value="208" />
1792        <enum name="KEYCODE_MUSIC" value="209" />
1793        <enum name="KEYCODE_CALCULATOR" value="210" />
1794        <enum name="KEYCODE_ZENKAKU_HANKAKU" value="211" />
1795        <enum name="KEYCODE_EISU" value="212" />
1796        <enum name="KEYCODE_MUHENKAN" value="213" />
1797        <enum name="KEYCODE_HENKAN" value="214" />
1798        <enum name="KEYCODE_KATAKANA_HIRAGANA" value="215" />
1799        <enum name="KEYCODE_YEN" value="216" />
1800        <enum name="KEYCODE_RO" value="217" />
1801        <enum name="KEYCODE_KANA" value="218" />
1802        <enum name="KEYCODE_ASSIST" value="219" />
1803        <enum name="KEYCODE_BRIGHTNESS_DOWN" value="220" />
1804        <enum name="KEYCODE_BRIGHTNESS_UP" value="221" />
1805        <enum name="KEYCODE_MEDIA_AUDIO_TRACK" value="222" />
1806        <enum name="KEYCODE_MEDIA_SLEEP" value="223" />
1807        <enum name="KEYCODE_MEDIA_WAKEUP" value="224" />
1808        <enum name="KEYCODE_PAIRING" value="225" />
1809        <enum name="KEYCODE_MEDIA_TOP_MENU" value="226" />
1810        <enum name="KEYCODE_11" value="227" />
1811        <enum name="KEYCODE_12" value="228" />
1812        <enum name="KEYCODE_LAST_CHANNEL" value="229" />
1813        <enum name="KEYCODE_TV_DATA_SERVICE" value="230" />
1814        <enum name="KEYCODE_VOICE_ASSIST" value="231" />
1815        <enum name="KEYCODE_TV_RADIO_SERVICE" value="232" />
1816        <enum name="KEYCODE_TV_TELETEXT" value="233" />
1817        <enum name="KEYCODE_TV_NUMBER_ENTRY" value="234" />
1818        <enum name="KEYCODE_TV_TERRESTRIAL_ANALOG" value="235" />
1819        <enum name="KEYCODE_TV_TERRESTRIAL_DIGITAL" value="236" />
1820        <enum name="KEYCODE_TV_SATELLITE" value="237" />
1821        <enum name="KEYCODE_TV_SATELLITE_BS" value="238" />
1822        <enum name="KEYCODE_TV_SATELLITE_CS" value="239" />
1823        <enum name="KEYCODE_TV_SATELLITE_SERVICE" value="240" />
1824        <enum name="KEYCODE_TV_NETWORK" value="241" />
1825        <enum name="KEYCODE_TV_ANTENNA_CABLE" value="242" />
1826        <enum name="KEYCODE_TV_INPUT_HDMI_1" value="243" />
1827        <enum name="KEYCODE_TV_INPUT_HDMI_2" value="244" />
1828        <enum name="KEYCODE_TV_INPUT_HDMI_3" value="245" />
1829        <enum name="KEYCODE_TV_INPUT_HDMI_4" value="246" />
1830        <enum name="KEYCODE_TV_INPUT_COMPOSITE_1" value="247" />
1831        <enum name="KEYCODE_TV_INPUT_COMPOSITE_2" value="248" />
1832        <enum name="KEYCODE_TV_INPUT_COMPONENT_1" value="249" />
1833        <enum name="KEYCODE_TV_INPUT_COMPONENT_2" value="250" />
1834        <enum name="KEYCODE_TV_INPUT_VGA_1" value="251" />
1835        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION" value="252" />
1836        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP" value="253" />
1837        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN" value="254" />
1838        <enum name="KEYCODE_TV_ZOOM_MODE" value="255" />
1839        <enum name="KEYCODE_TV_CONTENTS_MENU" value="256" />
1840        <enum name="KEYCODE_TV_MEDIA_CONTEXT_MENU" value="257" />
1841        <enum name="KEYCODE_TV_TIMER_PROGRAMMING" value="258" />
1842        <enum name="KEYCODE_HELP" value="259" />
1843        <enum name="KEYCODE_NAVIGATE_PREVIOUS" value="260" />
1844        <enum name="KEYCODE_NAVIGATE_NEXT" value="261" />
1845        <enum name="KEYCODE_NAVIGATE_IN" value="262" />
1846        <enum name="KEYCODE_NAVIGATE_OUT" value="263" />
1847        <enum name="KEYCODE_STEM_PRIMARY" value="264" />
1848        <enum name="KEYCODE_STEM_1" value="265" />
1849        <enum name="KEYCODE_STEM_2" value="266" />
1850        <enum name="KEYCODE_STEM_3" value="267" />
1851        <enum name="KEYCODE_DPAD_UP_LEFT" value="268" />
1852        <enum name="KEYCODE_DPAD_DOWN_LEFT" value="269" />
1853        <enum name="KEYCODE_DPAD_UP_RIGHT" value="270" />
1854        <enum name="KEYCODE_DPAD_DOWN_RIGHT" value="271" />
1855        <enum name="KEYCODE_MEDIA_SKIP_FORWARD" value="272" />
1856        <enum name="KEYCODE_MEDIA_SKIP_BACKWARD" value="273" />
1857        <enum name="KEYCODE_MEDIA_STEP_FORWARD" value="274" />
1858        <enum name="KEYCODE_MEDIA_STEP_BACKWARD" value="275" />
1859        <enum name="KEYCODE_SOFT_SLEEP" value="276" />
1860        <enum name="KEYCODE_CUT" value="277" />
1861        <enum name="KEYCODE_COPY" value="278" />
1862        <enum name="KEYCODE_PASTE" value="279" />
1863        <enum name="KEYCODE_SYSTEM_NAVIGATION_UP" value="280" />
1864        <enum name="KEYCODE_SYSTEM_NAVIGATION_DOWN" value="281" />
1865        <enum name="KEYCODE_SYSTEM_NAVIGATION_LEFT" value="282" />
1866        <enum name="KEYCODE_SYSTEM_NAVIGATION_RIGHT" value="283" />
1867    </attr>
1868
1869    <!-- ***************************************************************** -->
1870    <!-- These define collections of attributes that can are with classes. -->
1871    <!-- ***************************************************************** -->
1872
1873    <!-- ========================== -->
1874    <!-- Special attribute classes. -->
1875    <!-- ========================== -->
1876    <eat-comment />
1877
1878    <!-- The set of attributes that describe a Windows's theme. -->
1879    <declare-styleable name="Window">
1880        <attr name="windowBackground" />
1881        <attr name="windowBackgroundFallback" />
1882        <attr name="windowContentOverlay" />
1883        <attr name="windowFrame" />
1884        <attr name="windowNoTitle" />
1885        <attr name="windowFullscreen" />
1886        <attr name="windowOverscan" />
1887        <attr name="windowIsFloating" />
1888        <attr name="windowIsTranslucent" />
1889        <attr name="windowShowWallpaper" />
1890        <attr name="windowAnimationStyle" />
1891        <attr name="windowSoftInputMode" />
1892        <attr name="windowDisablePreview" />
1893        <attr name="windowNoDisplay" />
1894        <attr name="textColor" />
1895        <attr name="backgroundDimEnabled" />
1896        <attr name="backgroundDimAmount" />
1897        <attr name="windowActionBar" />
1898        <attr name="windowActionModeOverlay" />
1899        <attr name="windowActionBarOverlay" />
1900        <attr name="windowEnableSplitTouch" />
1901        <attr name="windowCloseOnTouchOutside" />
1902        <attr name="windowTranslucentStatus" />
1903        <attr name="windowTranslucentNavigation" />
1904        <attr name="windowSwipeToDismiss" />
1905        <attr name="windowContentTransitions" />
1906        <attr name="windowActivityTransitions" />
1907        <attr name="windowContentTransitionManager" />
1908        <attr name="windowActionBarFullscreenDecorLayout" />
1909
1910        <!-- The minimum width the window is allowed to be, along the major
1911             axis of the screen.  That is, when in landscape.  Can be either
1912             an absolute dimension or a fraction of the screen size in that
1913             dimension. -->
1914        <attr name="windowMinWidthMajor" format="dimension|fraction" />
1915        <!-- The minimum width the window is allowed to be, along the minor
1916             axis of the screen.  That is, when in portrait.  Can be either
1917             an absolute dimension or a fraction of the screen size in that
1918             dimension. -->
1919        <attr name="windowMinWidthMinor" format="dimension|fraction" />
1920
1921        <!-- A fixed width for the window along the major axis of the screen,
1922             that is, when in landscape. Can be either an absolute dimension
1923             or a fraction of the screen size in that dimension. -->
1924        <attr name="windowFixedWidthMajor" format="dimension|fraction" />
1925        <!-- A fixed height for the window along the minor axis of the screen,
1926             that is, when in landscape. Can be either an absolute dimension
1927             or a fraction of the screen size in that dimension. -->
1928        <attr name="windowFixedHeightMinor" format="dimension|fraction" />
1929
1930        <!-- A fixed width for the window along the minor axis of the screen,
1931             that is, when in portrait. Can be either an absolute dimension
1932             or a fraction of the screen size in that dimension. -->
1933        <attr name="windowFixedWidthMinor" format="dimension|fraction" />
1934        <!-- A fixed height for the window along the major axis of the screen,
1935             that is, when in portrait. Can be either an absolute dimension
1936             or a fraction of the screen size in that dimension. -->
1937        <attr name="windowFixedHeightMajor" format="dimension|fraction" />
1938        <attr name="windowOutsetBottom" format="dimension" />
1939        <!-- Reference to a Transition XML resource defining the desired Transition
1940             used to move Views into the initial Window's content Scene. Corresponds to
1941             {@link android.view.Window#setEnterTransition(android.transition.Transition)}. -->
1942        <attr name="windowEnterTransition"/>
1943
1944        <!-- Reference to a Transition XML resource defining the desired Transition
1945             used to move Views out of the scene when the Window is
1946             preparing to close. Corresponds to
1947             {@link android.view.Window#setReturnTransition(android.transition.Transition)}. -->
1948        <attr name="windowReturnTransition"/>
1949
1950        <!-- Reference to a Transition XML resource defining the desired Transition
1951             used to move Views out of the Window's content Scene when launching a new Activity.
1952             Corresponds to
1953             {@link android.view.Window#setExitTransition(android.transition.Transition)}. -->
1954        <attr name="windowExitTransition"/>
1955
1956        <!-- Reference to a Transition XML resource defining the desired Transition
1957             used to move Views in to the scene when returning from a previously-started Activity.
1958             Corresponds to
1959             {@link android.view.Window#setReenterTransition(android.transition.Transition)}. -->
1960        <attr name="windowReenterTransition"/>
1961
1962        <!-- Reference to a Transition XML resource defining the desired Transition
1963             used to move shared elements transferred into the Window's initial content Scene.
1964             Corresponds to {@link android.view.Window#setSharedElementEnterTransition(
1965             android.transition.Transition)}. -->
1966        <attr name="windowSharedElementEnterTransition"/>
1967
1968        <!-- Reference to a Transition XML resource defining the desired Transition
1969             used to move shared elements transferred back to a calling Activity.
1970             Corresponds to {@link android.view.Window#setSharedElementReturnTransition(
1971             android.transition.Transition)}. -->
1972        <attr name="windowSharedElementReturnTransition"/>
1973
1974        <!-- Reference to a Transition XML resource defining the desired Transition
1975             used when starting a new Activity to move shared elements prior to transferring
1976             to the called Activity.
1977             Corresponds to {@link android.view.Window#setSharedElementExitTransition(
1978             android.transition.Transition)}. -->
1979        <attr name="windowSharedElementExitTransition"/>
1980
1981        <!-- Reference to a Transition XML resource defining the desired Transition
1982             used for shared elements transferred back to a calling Activity.
1983             Corresponds to {@link android.view.Window#setSharedElementReenterTransition(
1984             android.transition.Transition)}. -->
1985        <attr name="windowSharedElementReenterTransition"/>
1986
1987
1988        <!-- Flag indicating whether this Window's transition should overlap with
1989             the exiting transition of the calling Activity. Corresponds to
1990             {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. -->
1991        <attr name="windowAllowEnterTransitionOverlap"/>
1992
1993        <!-- Flag indicating whether this Window's transition should overlap with
1994             the exiting transition of the called Activity when the called Activity
1995             finishes. Corresponds to
1996             {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. -->
1997        <attr name="windowAllowReturnTransitionOverlap"/>
1998
1999        <!-- Indicates whether or not shared elements should use an overlay
2000             during transitions. The default value is true. -->
2001        <attr name="windowSharedElementsUseOverlay"/>
2002
2003        <!-- Flag indicating whether this Window is responsible for drawing the background for the
2004             system bars. If true and the window is not floating, the system bars are drawn with a
2005             transparent background and the corresponding areas in this window are filled with the
2006             colors specified in {@link android.R.attr#statusBarColor} and
2007             {@link android.R.attr#navigationBarColor}. Corresponds to
2008             {@link android.view.WindowManager.LayoutParams#FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS}. -->
2009        <attr name="windowDrawsSystemBarBackgrounds" format="boolean" />
2010
2011        <!-- The color for the status bar. If the color is not opaque, consider setting
2012             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and
2013             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN}.
2014             For this to take effect, the window must be drawing the system bar backgrounds with
2015             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not
2016             have been requested to be translucent with
2017             {@link android.R.attr#windowTranslucentStatus}.
2018             Corresponds to {@link android.view.Window#setStatusBarColor(int)}. -->
2019        <attr name="statusBarColor" format="color" />
2020
2021        <!-- The color for the navigation bar. If the color is not opaque, consider setting
2022             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and
2023             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION}.
2024             For this to take effect, the window must be drawing the system bar backgrounds with
2025             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not
2026             have been requested to be translucent with
2027             {@link android.R.attr#windowTranslucentNavigation}.
2028             Corresponds to {@link android.view.Window#setNavigationBarColor(int)}. -->
2029        <attr name="navigationBarColor" format="color" />
2030
2031        <!-- The duration, in milliseconds, of the window background fade duration
2032             when transitioning into or away from an Activity when called with an
2033             Activity Transition. Corresponds to
2034             {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. -->
2035        <attr name="windowTransitionBackgroundFadeDuration" />
2036
2037        <!-- Elevation to use for the window. -->
2038        <attr name="windowElevation" format="dimension" />
2039
2040        <!-- Whether to clip window content to the outline of the window background. -->
2041        <attr name="windowClipToOutline" format="boolean" />
2042
2043        <!-- If set, the status bar will be drawn such that it is compatible with a light
2044             status bar background.
2045             <p>For this to take effect, the window must be drawing the system bar backgrounds with
2046             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not
2047             have been requested to be translucent with
2048             {@link android.R.attr#windowTranslucentStatus}.
2049             Corresponds to setting {@link android.view.View#SYSTEM_UI_FLAG_LIGHT_STATUS_BAR} on
2050             the decor view. -->
2051        <attr name="windowLightStatusBar" format="boolean" />
2052    </declare-styleable>
2053
2054    <!-- The set of attributes that describe a AlertDialog's theme. -->
2055    <declare-styleable name="AlertDialog">
2056        <attr name="fullDark" format="reference|color" />
2057        <attr name="topDark" format="reference|color" />
2058        <attr name="centerDark" format="reference|color" />
2059        <attr name="bottomDark" format="reference|color" />
2060        <attr name="fullBright" format="reference|color" />
2061        <attr name="topBright" format="reference|color" />
2062        <attr name="centerBright" format="reference|color" />
2063        <attr name="bottomBright" format="reference|color" />
2064        <attr name="bottomMedium" format="reference|color" />
2065        <attr name="centerMedium" format="reference|color" />
2066        <attr name="layout" />
2067        <attr name="buttonPanelSideLayout" format="reference" />
2068        <attr name="listLayout" format="reference" />
2069        <attr name="multiChoiceItemLayout" format="reference" />
2070        <attr name="singleChoiceItemLayout" format="reference" />
2071        <attr name="listItemLayout" format="reference" />
2072        <attr name="progressLayout" format="reference" />
2073        <attr name="horizontalProgressLayout" format="reference" />
2074        <!-- @hide Not ready for public use. -->
2075        <attr name="showTitle" format="boolean" />
2076        <!-- @hide Whether fullDark, etc. should use default values if null. -->
2077        <attr name="needsDefaultBackgrounds" format="boolean" />
2078        <!-- @hide Workaround until we replace AlertController with custom layout. -->
2079        <attr name="controllerType">
2080            <!-- The default controller. -->
2081            <enum name="normal" value="0" />
2082            <!-- Controller for micro specific layout. -->
2083            <enum name="micro" value="1" />
2084        </attr>
2085        <!-- @hide Offset when scrolling to a selection. -->
2086        <attr name="selectionScrollOffset" format="dimension" />
2087    </declare-styleable>
2088
2089    <!-- @hide -->
2090    <declare-styleable name="ButtonBarLayout">
2091        <!-- Whether to automatically stack the buttons when there is not
2092             enough space to lay them out side-by-side. -->
2093        <attr name="allowStacking" format="boolean" />
2094    </declare-styleable>
2095
2096    <!-- Fragment animation class attributes. -->
2097    <declare-styleable name="FragmentAnimation">
2098        <attr name="fragmentOpenEnterAnimation" format="reference" />
2099        <attr name="fragmentOpenExitAnimation" format="reference" />
2100        <attr name="fragmentCloseEnterAnimation" format="reference" />
2101        <attr name="fragmentCloseExitAnimation" format="reference" />
2102        <attr name="fragmentFadeEnterAnimation" format="reference" />
2103        <attr name="fragmentFadeExitAnimation" format="reference" />
2104    </declare-styleable>
2105
2106    <!-- Window animation class attributes. -->
2107    <declare-styleable name="WindowAnimation">
2108        <!-- The animation used when a window is being added. -->
2109        <attr name="windowEnterAnimation" format="reference" />
2110        <!-- The animation used when a window is being removed. -->
2111        <attr name="windowExitAnimation" format="reference" />
2112        <!-- The animation used when a window is going from INVISIBLE to VISIBLE. -->
2113        <attr name="windowShowAnimation" format="reference" />
2114        <!-- The animation used when a window is going from VISIBLE to INVISIBLE. -->
2115        <attr name="windowHideAnimation" format="reference" />
2116
2117        <!--  When opening a new activity, this is the animation that is
2118              run on the next activity (which is entering the screen). -->
2119        <attr name="activityOpenEnterAnimation" format="reference" />
2120        <!--  When opening a new activity, this is the animation that is
2121              run on the previous activity (which is exiting the screen). -->
2122        <attr name="activityOpenExitAnimation" format="reference" />
2123        <!--  When closing the current activity, this is the animation that is
2124              run on the next activity (which is entering the screen). -->
2125        <attr name="activityCloseEnterAnimation" format="reference" />
2126        <!--  When closing the current activity, this is the animation that is
2127              run on the current activity (which is exiting the screen). -->
2128        <attr name="activityCloseExitAnimation" format="reference" />
2129        <!--  When opening an activity in a new task, this is the animation that is
2130              run on the activity of the new task (which is entering the screen). -->
2131        <attr name="taskOpenEnterAnimation" format="reference" />
2132        <!--  When opening an activity in a new task, this is the animation that is
2133              run on the activity of the old task (which is exiting the screen). -->
2134        <attr name="taskOpenExitAnimation" format="reference" />
2135        <!--  When opening an activity in a new task using Intent/FLAG_ACTIVITY_LAUNCH_BEHIND,
2136              this is the animation that is run on the activity of the new task (which is
2137              entering the screen and then leaving). -->
2138        <attr name="launchTaskBehindTargetAnimation" format="reference" />
2139        <!--  When opening an activity in a new task using Intent.FLAG_ACTIVITY_LAUNCH_BEHIND,
2140              this is the animation that is run on the activity of the old task (which is
2141              already on the screen and then stays on). -->
2142        <attr name="launchTaskBehindSourceAnimation" format="reference" />
2143        <!--  When closing the last activity of a task, this is the animation that is
2144              run on the activity of the next task (which is entering the screen). -->
2145        <attr name="taskCloseEnterAnimation" format="reference" />
2146        <!--  When opening an activity in a new task, this is the animation that is
2147              run on the activity of the old task (which is exiting the screen). -->
2148        <attr name="taskCloseExitAnimation" format="reference" />
2149        <!--  When bringing an existing task to the foreground, this is the
2150              animation that is run on the top activity of the task being brought
2151              to the foreground (which is entering the screen). -->
2152        <attr name="taskToFrontEnterAnimation" format="reference" />
2153        <!--  When bringing an existing task to the foreground, this is the
2154              animation that is run on the current foreground activity
2155              (which is exiting the screen). -->
2156        <attr name="taskToFrontExitAnimation" format="reference" />
2157        <!--  When sending the current task to the background, this is the
2158              animation that is run on the top activity of the task behind
2159              it (which is entering the screen). -->
2160        <attr name="taskToBackEnterAnimation" format="reference" />
2161        <!--  When sending the current task to the background, this is the
2162              animation that is run on the top activity of the current task
2163              (which is exiting the screen). -->
2164        <attr name="taskToBackExitAnimation" format="reference" />
2165
2166        <!--  When opening a new activity that shows the wallpaper, while
2167              currently not showing the wallpaper, this is the animation that
2168              is run on the new wallpaper activity (which is entering the screen). -->
2169        <attr name="wallpaperOpenEnterAnimation" format="reference" />
2170        <!--  When opening a new activity that shows the wallpaper, while
2171              currently not showing the wallpaper, this is the animation that
2172              is run on the current activity (which is exiting the screen). -->
2173        <attr name="wallpaperOpenExitAnimation" format="reference" />
2174        <!--  When opening a new activity that hides the wallpaper, while
2175              currently showing the wallpaper, this is the animation that
2176              is run on the new activity (which is entering the screen). -->
2177        <attr name="wallpaperCloseEnterAnimation" format="reference" />
2178        <!--  When opening a new activity that hides the wallpaper, while
2179              currently showing the wallpaper, this is the animation that
2180              is run on the old wallpaper activity (which is exiting the screen). -->
2181        <attr name="wallpaperCloseExitAnimation" format="reference" />
2182
2183        <!--  When opening a new activity that is on top of the wallpaper
2184              when the current activity is also on top of the wallpaper,
2185              this is the animation that is run on the new activity
2186              (which is entering the screen).  The wallpaper remains
2187              static behind the animation. -->
2188        <attr name="wallpaperIntraOpenEnterAnimation" format="reference" />
2189        <!--  When opening a new activity that is on top of the wallpaper
2190              when the current activity is also on top of the wallpaper,
2191              this is the animation that is run on the current activity
2192              (which is exiting the screen).  The wallpaper remains
2193              static behind the animation. -->
2194        <attr name="wallpaperIntraOpenExitAnimation" format="reference" />
2195        <!--  When closing a foreround activity that is on top of the wallpaper
2196              when the previous activity is also on top of the wallpaper,
2197              this is the animation that is run on the previous activity
2198              (which is entering the screen).  The wallpaper remains
2199              static behind the animation. -->
2200        <attr name="wallpaperIntraCloseEnterAnimation" format="reference" />
2201        <!--  When closing a foreround activity that is on top of the wallpaper
2202              when the previous activity is also on top of the wallpaper,
2203              this is the animation that is run on the current activity
2204              (which is exiting the screen).  The wallpaper remains
2205              static behind the animation. -->
2206        <attr name="wallpaperIntraCloseExitAnimation" format="reference" />
2207
2208        <!--  When opening a new activity from a RemoteViews, this is the
2209              animation that is run on the next activity (which is entering the
2210              screen). Requires config_overrideRemoteViewsActivityTransition to
2211              be true. -->
2212        <attr name="activityOpenRemoteViewsEnterAnimation" format="reference" />
2213
2214    </declare-styleable>
2215
2216    <!-- ============================= -->
2217    <!-- View package class attributes -->
2218    <!-- ============================= -->
2219    <eat-comment />
2220
2221    <!-- Attributes that can be used with {@link android.view.View} or
2222         any of its subclasses.  Also see {@link #ViewGroup_Layout} for
2223         attributes that are processed by the view's parent. -->
2224    <declare-styleable name="View">
2225        <!-- Supply an identifier name for this view, to later retrieve it
2226             with {@link android.view.View#findViewById View.findViewById()} or
2227             {@link android.app.Activity#findViewById Activity.findViewById()}.
2228             This must be a
2229             resource reference; typically you set this using the
2230             <code>@+</code> syntax to create a new ID resources.
2231             For example: <code>android:id="@+id/my_id"</code> which
2232             allows you to later retrieve the view
2233             with <code>findViewById(R.id.my_id)</code>. -->
2234        <attr name="id" format="reference" />
2235
2236        <!-- Supply a tag for this view containing a String, to be retrieved
2237             later with {@link android.view.View#getTag View.getTag()} or
2238             searched for with {@link android.view.View#findViewWithTag
2239             View.findViewWithTag()}.  It is generally preferable to use
2240             IDs (through the android:id attribute) instead of tags because
2241             they are faster and allow for compile-time type checking. -->
2242        <attr name="tag" format="string" />
2243
2244        <!-- The initial horizontal scroll offset, in pixels.-->
2245        <attr name="scrollX" format="dimension" />
2246
2247        <!-- The initial vertical scroll offset, in pixels. -->
2248        <attr name="scrollY" format="dimension" />
2249
2250        <!-- A drawable to use as the background.  This can be either a reference
2251             to a full drawable resource (such as a PNG image, 9-patch,
2252             XML state list description, etc), or a solid color such as "#ff000000"
2253            (black). -->
2254        <attr name="background" format="reference|color" />
2255
2256        <!-- Sets the padding, in pixels, of all four edges. Padding is defined as
2257             space between the edges of the view and the view's content. This value will take
2258             precedence over any of the edge-specific values, including
2259             paddingHorizontal and paddingVertical, if set. A view's size
2260             will include its padding. If a {@link android.R.attr#background}
2261             is provided, the padding will initially be set to that (0 if the
2262             drawable does not have padding). Explicitly setting a padding value
2263             will override the corresponding padding found in the background. -->
2264        <attr name="padding" format="dimension" />
2265        <!-- Sets the padding, in pixels, of the left and right edges; see
2266             {@link android.R.attr#padding}. This value will take precedence over
2267             paddingLeft, paddingRight, paddingStart, and paddingEnd, if set. -->
2268        <attr name="paddingHorizontal" format="dimension" />
2269        <!-- Sets the padding, in pixels, of the top and bottom edges; see
2270             {@link android.R.attr#padding}. This value will take precedence over
2271             paddingTop and paddingBottom, if set. -->
2272        <attr name="paddingVertical" format="dimension" />
2273        <!-- Sets the padding, in pixels, of the left edge; see {@link android.R.attr#padding}. -->
2274        <attr name="paddingLeft" format="dimension" />
2275        <!-- Sets the padding, in pixels, of the top edge; see {@link android.R.attr#padding}. -->
2276        <attr name="paddingTop" format="dimension" />
2277        <!-- Sets the padding, in pixels, of the right edge; see {@link android.R.attr#padding}. -->
2278        <attr name="paddingRight" format="dimension" />
2279        <!-- Sets the padding, in pixels, of the bottom edge; see {@link android.R.attr#padding}. -->
2280        <attr name="paddingBottom" format="dimension" />
2281        <!-- Sets the padding, in pixels, of the start edge; see {@link android.R.attr#padding}. -->
2282        <attr name="paddingStart" format="dimension" />
2283        <!-- Sets the padding, in pixels, of the end edge; see {@link android.R.attr#padding}. -->
2284        <attr name="paddingEnd" format="dimension" />
2285
2286        <!-- Controls whether a view can take focus.  By default, this is "auto" which lets the
2287             framework determine whether a user can move focus to a view.  By setting this attribute
2288             to true the view is allowed to take focus. By setting it to "false" the view will not
2289             take focus. This value does not impact the behavior of
2290             directly calling {@link android.view.View#requestFocus}, which will
2291             always request focus regardless of this view.  It only impacts where
2292             focus navigation will try to move focus. -->
2293        <attr name="focusable" format="boolean|enum">
2294            <enum name="auto" value="0x00000010" />
2295        </attr>
2296
2297        <!-- Controls the autofill behavior for this view. -->
2298        <attr name="autofillMode">
2299            <!-- Inherit the behavior from the parent. If there is no parent it is auto. This is the
2300                 default value for this attribute.-->
2301            <enum name="inherit" value="0" />
2302            <!-- Allows this view to automatically trigger an autofill request when it get focus.
2303                 -->
2304            <enum name="auto" value="1" />
2305            <!-- Do not trigger an autofill request when this view is focused. The user can still
2306                 manually force an autofill request for this view. -->
2307            <enum name="manual" value="2" />
2308        </attr>
2309
2310        <!-- Describes the content of a view so that a autofill service can fill in the appropriate
2311             data. Multiple hints can be combined in a comma separated list or an array of strings
2312             to mean e.g. emailAddress or postalAddress. -->
2313        <attr name="autofillHint" format="string|reference" />
2314
2315        <!-- Hints the Android System whether the view node associated with this View should be
2316             included in a view structure used for autofill purposes. -->
2317        <attr name="importantForAutofill">
2318            <!-- Let the Android System use its heuristics to determine if the view is important for autofill. -->
2319            <flag name="auto" value="0" />
2320            <!-- Hint the Android System that this view is important for autofill. -->
2321            <flag name="yes" value="0x1" />
2322            <!-- Hint the Android System that this view is *not* important for autofill. -->
2323            <flag name="no" value="0x2" />
2324        </attr>
2325
2326        <!-- Boolean that controls whether a view can take focus while in touch mode.
2327             If this is true for a view, that view can gain focus when clicked on, and can keep
2328             focus if another view is clicked on that doesn't have this attribute set to true. -->
2329        <attr name="focusableInTouchMode" format="boolean" />
2330
2331        <!-- Controls the initial visibility of the view.  -->
2332        <attr name="visibility">
2333            <!-- Visible on screen; the default value. -->
2334            <enum name="visible" value="0" />
2335            <!-- Not displayed, but taken into account during layout (space is left for it). -->
2336            <enum name="invisible" value="1" />
2337            <!-- Completely hidden, as if the view had not been added. -->
2338            <enum name="gone" value="2" />
2339        </attr>
2340
2341        <!-- Boolean internal attribute to adjust view layout based on
2342             system windows such as the status bar.
2343             If true, adjusts the padding of this view to leave space for the system windows.
2344             Will only take effect if this view is in a non-embedded activity. -->
2345        <attr name="fitsSystemWindows" format="boolean" />
2346
2347        <!-- Defines which scrollbars should be displayed on scrolling or not. -->
2348        <attr name="scrollbars">
2349            <!-- No scrollbar is displayed. -->
2350            <flag name="none" value="0x00000000" />
2351            <!-- Displays horizontal scrollbar only. -->
2352            <flag name="horizontal" value="0x00000100" />
2353            <!-- Displays vertical scrollbar only. -->
2354            <flag name="vertical" value="0x00000200" />
2355        </attr>
2356
2357        <!-- Controls the scrollbar style and position. The scrollbars can be overlaid or
2358             inset. When inset, they add to the padding of the view. And the
2359             scrollbars can be drawn inside the padding area or on the edge of
2360             the view. For example, if a view has a background drawable and you
2361             want to draw the scrollbars inside the padding specified by the
2362             drawable, you can use insideOverlay or insideInset. If you want them
2363             to appear at the edge of the view, ignoring the padding, then you can
2364             use outsideOverlay or outsideInset.-->
2365        <attr name="scrollbarStyle">
2366            <!-- Inside the padding and overlaid. -->
2367            <enum name="insideOverlay" value="0x0" />
2368            <!-- Inside the padding and inset. -->
2369            <enum name="insideInset" value="0x01000000" />
2370            <!-- Edge of the view and overlaid. -->
2371            <enum name="outsideOverlay" value="0x02000000" />
2372            <!-- Edge of the view and inset. -->
2373            <enum name="outsideInset" value="0x03000000" />
2374        </attr>
2375
2376        <!-- Set this if the view will serve as a scrolling container, meaning
2377             that it can be resized to shrink its overall window so that there
2378             will be space for an input method.  If not set, the default
2379             value will be true if "scrollbars" has the vertical scrollbar
2380             set, else it will be false. -->
2381        <attr name="isScrollContainer" format="boolean" />
2382
2383          <!-- Defines whether to fade out scrollbars when they are not in use. -->
2384         <attr name="fadeScrollbars" format="boolean" />
2385         <!-- Defines the delay in milliseconds that a scrollbar takes to fade out. -->
2386         <attr name="scrollbarFadeDuration" format="integer" />
2387         <!-- Defines the delay in milliseconds that a scrollbar waits before fade out. -->
2388        <attr name="scrollbarDefaultDelayBeforeFade" format="integer" />
2389        <!-- Sets the width of vertical scrollbars and height of horizontal scrollbars. -->
2390        <attr name="scrollbarSize" format="dimension" />
2391        <!-- Defines the horizontal scrollbar thumb drawable. -->
2392        <attr name="scrollbarThumbHorizontal" format="reference" />
2393        <!-- Defines the vertical scrollbar thumb drawable. -->
2394        <attr name="scrollbarThumbVertical" format="reference" />
2395        <!-- Defines the horizontal scrollbar track drawable. -->
2396        <attr name="scrollbarTrackHorizontal" format="reference" />
2397        <!-- Defines the vertical scrollbar track drawable. -->
2398        <attr name="scrollbarTrackVertical" format="reference" />
2399        <!-- Defines whether the horizontal scrollbar track should always be drawn. -->
2400        <attr name="scrollbarAlwaysDrawHorizontalTrack" format="boolean" />
2401        <!-- Defines whether the vertical scrollbar track should always be drawn. -->
2402        <attr name="scrollbarAlwaysDrawVerticalTrack" format="boolean" />
2403
2404        <!-- This attribute is ignored in API level 14
2405             ({@link android.os.Build.VERSION_CODES#ICE_CREAM_SANDWICH}) and higher.
2406             Using fading edges may introduce noticeable performance
2407             degradations and should be used only when required by the application's
2408             visual design. To request fading edges with API level 14 and above,
2409             use the <code>android:requiresFadingEdge</code> attribute instead. -->
2410        <attr name="fadingEdge">
2411            <!-- No edge is faded. -->
2412            <flag name="none" value="0x00000000" />
2413            <!-- Fades horizontal edges only. -->
2414            <flag name="horizontal" value="0x00001000" />
2415            <!-- Fades vertical edges only. -->
2416            <flag name="vertical" value="0x00002000" />
2417        </attr>
2418        <!-- Defines which edges should be faded on scrolling. -->
2419        <attr name="requiresFadingEdge">
2420            <!-- No edge is faded. -->
2421            <flag name="none" value="0x00000000" />
2422            <!-- Fades horizontal edges only. -->
2423            <flag name="horizontal" value="0x00001000" />
2424            <!-- Fades vertical edges only. -->
2425            <flag name="vertical" value="0x00002000" />
2426        </attr>
2427        <!-- Defines the length of the fading edges. -->
2428        <attr name="fadingEdgeLength" format="dimension" />
2429
2430        <!-- Defines the next view to give focus to when the next focus is
2431             {@link android.view.View#FOCUS_LEFT}.
2432
2433             If the reference refers to a view that does not exist or is part
2434             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2435             will result when the reference is accessed.-->
2436        <attr name="nextFocusLeft" format="reference"/>
2437
2438        <!-- Defines the next view to give focus to when the next focus is
2439             {@link android.view.View#FOCUS_RIGHT}
2440
2441             If the reference refers to a view that does not exist or is part
2442             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2443             will result when the reference is accessed.-->
2444        <attr name="nextFocusRight" format="reference"/>
2445
2446        <!-- Defines the next view to give focus to when the next focus is
2447             {@link android.view.View#FOCUS_UP}
2448
2449             If the reference refers to a view that does not exist or is part
2450             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2451             will result when the reference is accessed.-->
2452        <attr name="nextFocusUp" format="reference"/>
2453
2454        <!-- Defines the next view to give focus to when the next focus is
2455             {@link android.view.View#FOCUS_DOWN}
2456
2457             If the reference refers to a view that does not exist or is part
2458             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2459             will result when the reference is accessed.-->
2460        <attr name="nextFocusDown" format="reference"/>
2461
2462        <!-- Defines the next view to give focus to when the next focus is
2463             {@link android.view.View#FOCUS_FORWARD}
2464
2465             If the reference refers to a view that does not exist or is part
2466             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2467             will result when the reference is accessed.-->
2468        <attr name="nextFocusForward" format="reference"/>
2469
2470        <!-- Defines whether this view reacts to click events. -->
2471        <attr name="clickable" format="boolean" />
2472
2473        <!-- Defines whether this view reacts to long click events. -->
2474        <attr name="longClickable" format="boolean" />
2475
2476        <!--  Defines whether this view reacts to context click events. -->
2477        <attr name="contextClickable" format="boolean" />
2478
2479        <!-- If false, no state will be saved for this view when it is being
2480             frozen. The default is true, allowing the view to be saved
2481             (however it also must have an ID assigned to it for its
2482             state to be saved).  Setting this to false only disables the
2483             state for this view, not for its children which may still
2484             be saved. -->
2485        <attr name="saveEnabled" format="boolean" />
2486
2487        <!-- Specifies whether to filter touches when the view's window is obscured by
2488             another visible window.  When set to true, the view will not receive touches
2489             whenever a toast, dialog or other window appears above the view's window.
2490             Refer to the {@link android.view.View} security documentation for more details. -->
2491        <attr name="filterTouchesWhenObscured" format="boolean" />
2492
2493        <!-- Defines the quality of translucent drawing caches. This property is used
2494             only when the drawing cache is enabled and translucent. The default value is auto. -->
2495        <attr name="drawingCacheQuality">
2496            <!-- Lets the framework decide what quality level should be used
2497                 for the drawing cache. -->
2498            <enum name="auto" value="0" />
2499            <!-- Low quality. When set to low quality, the drawing cache uses a lower color
2500                 depth, thus losing precision in rendering gradients, but uses less memory. -->
2501            <enum name="low" value="1" />
2502            <!-- High quality. When set to high quality, the drawing cache uses a higher
2503                 color depth but uses more memory. -->
2504            <enum name="high" value="2" />
2505        </attr>
2506
2507        <!-- Controls whether the view's window should keep the screen on
2508             while visible. -->
2509        <attr name="keepScreenOn" format="boolean" />
2510
2511        <!-- When this attribute is set to true, the view gets its drawable state
2512             (focused, pressed, etc.) from its direct parent rather than from itself. -->
2513        <attr name="duplicateParentState" format="boolean" />
2514
2515        <!-- Defines the minimum height of the view. It is not guaranteed
2516             the view will be able to achieve this minimum height (for example,
2517             if its parent layout constrains it with less available height). -->
2518        <attr name="minHeight" />
2519
2520        <!-- Defines the minimum width of the view. It is not guaranteed
2521             the view will be able to achieve this minimum width (for example,
2522             if its parent layout constrains it with less available width). -->
2523        <attr name="minWidth" />
2524
2525        <!-- Boolean that controls whether a view should have sound effects
2526             enabled for events such as clicking and touching. -->
2527        <attr name="soundEffectsEnabled" format="boolean" />
2528
2529        <!-- Boolean that controls whether a view should have haptic feedback
2530             enabled for events such as long presses. -->
2531        <attr name="hapticFeedbackEnabled" format="boolean" />
2532
2533        <!-- Defines text that briefly describes content of the view. This property is used
2534             primarily for accessibility. Since some views do not have textual
2535             representation this attribute can be used for providing such. -->
2536        <attr name="contentDescription" format="string" localization="suggested" />
2537
2538        <!-- Sets the id of a view before which this one is visited in accessibility traversal.
2539             A screen-reader must visit the content of this view before the content of the one
2540             it precedes.
2541             {@see android.view.View#setAccessibilityTraversalBefore(int)} -->
2542        <attr name="accessibilityTraversalBefore" format="integer" />
2543
2544        <!-- Sets the id of a view after which this one is visited in accessibility traversal.
2545             A screen-reader must visit the content of the other view before the content of
2546             this one.
2547             {@see android.view.View#setAccessibilityTraversalAfter(int)} -->
2548        <attr name="accessibilityTraversalAfter" format="integer" />
2549
2550        <!-- Name of the method in this View's context to invoke when the view is
2551             clicked. This name must correspond to a public method that takes
2552             exactly one parameter of type View. For instance, if you specify
2553             <code>android:onClick="sayHello"</code>, you must declare a
2554             <code>public void sayHello(View v)</code> method of your context
2555             (typically, your Activity). -->
2556        <attr name="onClick" format="string" />
2557
2558        <!-- Defines over-scrolling behavior. This property is used only if the
2559             View is scrollable. Over-scrolling is the ability for the user to
2560             receive feedback when attempting to scroll beyond meaningful content. -->
2561        <attr name="overScrollMode">
2562            <!-- Always show over-scroll effects, even if the content fits entirely
2563                 within the available space. -->
2564            <enum name="always" value="0" />
2565            <!-- Only show over-scroll effects if the content is large
2566                 enough to meaningfully scroll. -->
2567            <enum name="ifContentScrolls" value="1" />
2568            <!-- Never show over-scroll effects. -->
2569            <enum name="never" value="2" />
2570        </attr>
2571
2572        <!-- alpha property of the view, as a value between 0 (completely transparent) and 1
2573             (completely opaque). -->
2574        <attr name="alpha" format="float" />
2575
2576        <!-- base z depth of the view. -->
2577        <attr name="elevation" format="dimension" />
2578
2579        <!-- translation in x of the view. This value is added post-layout to the left
2580             property of the view, which is set by its layout. -->
2581        <attr name="translationX" format="dimension" />
2582
2583        <!-- translation in y of the view. This value is added post-layout to the top
2584             property of the view, which is set by its layout. -->
2585        <attr name="translationY" format="dimension" />
2586
2587        <!-- translation in z of the view. This value is added to its elevation. -->
2588        <attr name="translationZ" format="dimension" />
2589
2590        <!-- x location of the pivot point around which the view will rotate and scale.
2591             This xml attribute sets the pivotX property of the View. -->
2592        <attr name="transformPivotX" format="dimension" />
2593
2594        <!-- y location of the pivot point around which the view will rotate and scale.
2595             This xml attribute sets the pivotY property of the View. -->
2596        <attr name="transformPivotY" format="dimension" />
2597
2598        <!-- rotation of the view, in degrees. -->
2599        <attr name="rotation" format="float" />
2600
2601        <!-- rotation of the view around the x axis, in degrees. -->
2602        <attr name="rotationX" format="float" />
2603
2604        <!-- rotation of the view around the y axis, in degrees. -->
2605        <attr name="rotationY" format="float" />
2606
2607        <!-- scale of the view in the x direction. -->
2608        <attr name="scaleX" format="float" />
2609
2610        <!-- scale of the view in the y direction. -->
2611        <attr name="scaleY" format="float" />
2612
2613        <!-- Determines which side the vertical scroll bar should be placed on. -->
2614        <attr name="verticalScrollbarPosition">
2615            <!-- Place the scroll bar wherever the system default determines. -->
2616            <enum name="defaultPosition" value="0" />
2617            <!-- Place the scroll bar on the left. -->
2618            <enum name="left" value="1" />
2619            <!-- Place the scroll bar on the right. -->
2620            <enum name="right" value="2" />
2621        </attr>
2622
2623        <!-- Specifies the type of layer backing this view. The default value is none.
2624             Refer to {@link android.view.View#setLayerType(int, android.graphics.Paint)}
2625             for more information.-->
2626        <attr name="layerType">
2627            <!-- Don't use a layer. -->
2628            <enum name="none" value="0" />
2629            <!-- Use a software layer. Refer to
2630                 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for
2631                 more information. -->
2632            <enum name="software" value="1" />
2633            <!-- Use a hardware layer. Refer to
2634                 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for
2635                 more information. -->
2636            <enum name="hardware" value="2" />
2637        </attr>
2638
2639        <!-- Defines the direction of layout drawing. This typically is associated with writing
2640             direction of the language script used. The possible values are "ltr" for Left-to-Right,
2641             "rtl" for Right-to-Left, "locale", and "inherit" from parent view. If there is nothing
2642             to inherit, "locale" is used. "locale" falls back to "en-US". "ltr" is the direction
2643             used in "en-US". The default for this attribute is "inherit". -->
2644        <attr name="layoutDirection">
2645            <!-- Left-to-Right. -->
2646            <enum name="ltr" value="0" />
2647            <!-- Right-to-Left. -->
2648            <enum name="rtl" value="1" />
2649            <!-- Inherit from parent. -->
2650            <enum name="inherit" value="2" />
2651            <!-- Locale. -->
2652            <enum name="locale" value="3" />
2653        </attr>
2654
2655        <!-- Defines the direction of the text. -->
2656         <attr name="textDirection" format="integer">
2657            <!-- Default. -->
2658            <enum name="inherit" value="0" />
2659            <!-- Default for the root view. The first strong directional character determines the
2660                 paragraph direction.  If there is no strong directional character, the paragraph
2661                 direction is the view’s resolved layout direction. -->
2662            <enum name="firstStrong" value="1" />
2663            <!-- The paragraph direction is RTL if it contains any strong RTL character, otherwise
2664                 it is LTR if it contains any strong LTR characters.  If there are neither, the
2665                 paragraph direction is the view’s resolved layout direction. -->
2666            <enum name="anyRtl" value="2" />
2667            <!-- The paragraph direction is left to right. -->
2668            <enum name="ltr" value="3" />
2669            <!-- The paragraph direction is right to left. -->
2670            <enum name="rtl" value="4" />
2671            <!-- The paragraph direction is coming from the system Locale. -->
2672            <enum name="locale" value="5" />
2673            <!-- The first strong directional character determines the paragraph direction. If
2674                 there is no strong directional character, the paragraph direction is LTR. -->
2675            <enum name="firstStrongLtr" value="6" />
2676            <!-- The first strong directional character determines the paragraph direction. If
2677                 there is no strong directional character, the paragraph direction is RTL. -->
2678            <enum name="firstStrongRtl" value="7" />
2679        </attr>
2680
2681        <!-- Defines the alignment of the text. -->
2682        <attr name="textAlignment" format="integer">
2683            <!-- Default. -->
2684            <enum name="inherit" value="0" />
2685            <!-- Default for the root view. The gravity determines the alignment, ALIGN_NORMAL,
2686                ALIGN_CENTER, or ALIGN_OPPOSITE, which are relative to each paragraph’s
2687                text direction. -->
2688            <enum name="gravity" value="1" />
2689            <!-- Align to the start of the paragraph, for example: ALIGN_NORMAL. -->
2690            <enum name="textStart" value="2" />
2691            <!-- Align to the end of the paragraph, for example: ALIGN_OPPOSITE. -->
2692            <enum name="textEnd" value="3" />
2693            <!-- Center the paragraph, for example: ALIGN_CENTER. -->
2694            <enum name="center" value="4" />
2695            <!-- Align to the start of the view, which is ALIGN_LEFT if the view’s resolved
2696                layoutDirection is LTR, and ALIGN_RIGHT otherwise. -->
2697            <enum name="viewStart" value="5" />
2698            <!-- Align to the end of the view, which is ALIGN_RIGHT if the view’s resolved
2699                layoutDirection is LTR, and ALIGN_LEFT otherwise. -->
2700            <enum name="viewEnd" value="6" />
2701        </attr>
2702
2703        <!-- Describes whether or not this view is important for accessibility.
2704             If it is important, the view fires accessibility events and is
2705             reported to accessibility services that query the screen. Note:
2706             While not recommended, an accessibility service may decide to
2707             ignore this attribute and operate on all views in the view tree. -->
2708        <attr name="importantForAccessibility" format="integer">
2709            <!-- The system determines whether the view is important for accessibility - default
2710                 (recommended). -->
2711            <enum name="auto" value="0" />
2712            <!-- The view is important for accessibility. -->
2713            <enum name="yes" value="1" />
2714            <!-- The view is not important for accessibility. -->
2715            <enum name="no" value="2" />
2716            <!-- The view is not important for accessibility, nor are any of its descendant
2717                 views. -->
2718            <enum name="noHideDescendants" value="4" />
2719        </attr>
2720
2721        <!-- Indicates to accessibility services whether the user should be notified when
2722             this view changes. -->
2723        <attr name="accessibilityLiveRegion" format="integer">
2724            <!-- Accessibility services should not announce changes to this view. -->
2725            <enum name="none" value="0" />
2726            <!-- Accessibility services should announce changes to this view. -->
2727            <enum name="polite" value="1" />
2728            <!-- Accessibility services should interrupt ongoing speech to immediately
2729                 announce changes to this view. -->
2730            <enum name="assertive" value="2" />
2731        </attr>
2732
2733        <!-- Specifies the id of a view for which this view serves as a label for
2734             accessibility purposes. For example, a TextView before an EditText in
2735             the UI usually specifies what infomation is contained in the EditText.
2736             Hence, the TextView is a label for the EditText. -->
2737        <attr name="labelFor" format="reference" />
2738
2739        <!-- Specifies a theme override for a view. When a theme override is set, the
2740             view will be inflated using a {@link android.content.Context} themed with
2741             the specified resource. During XML inflation, any child views under the
2742             view with a theme override will inherit the themed context. -->
2743        <attr name="theme" />
2744
2745        <!-- Names a View such that it can be identified for Transitions. Names should be
2746             unique in the View hierarchy. -->
2747        <attr name="transitionName" format="string" />
2748
2749        <!-- Specifies that this view should permit nested scrolling within a compatible
2750             ancestor view. -->
2751        <attr name="nestedScrollingEnabled" format="boolean" />
2752
2753        <!-- Sets the state-based animator for the View. -->
2754        <attr name="stateListAnimator" format="reference"/>
2755
2756        <!-- Tint to apply to the background. -->
2757        <attr name="backgroundTint" format="color" />
2758
2759        <!-- Blending mode used to apply the background tint. -->
2760        <attr name="backgroundTintMode">
2761            <!-- The tint is drawn on top of the drawable.
2762                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
2763            <enum name="src_over" value="3" />
2764            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
2765                 color channels are thrown out. [Sa * Da, Sc * Da] -->
2766            <enum name="src_in" value="5" />
2767            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
2768                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
2769            <enum name="src_atop" value="9" />
2770            <!-- Multiplies the color and alpha channels of the drawable with those of
2771                 the tint. [Sa * Da, Sc * Dc] -->
2772            <enum name="multiply" value="14" />
2773            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
2774            <enum name="screen" value="15" />
2775            <!-- Combines the tint and drawable color and alpha channels, clamping the
2776                 result to valid color values. Saturate(S + D) -->
2777            <enum name="add" value="16" />
2778        </attr>
2779
2780        <!-- ViewOutlineProvider used to determine the View's Outline. -->
2781        <attr name="outlineProvider">
2782            <!-- Default, background drawable-driven outline. -->
2783            <enum name="background" value="0" />
2784            <!-- No outline provider. -->
2785            <enum name="none" value="1" />
2786            <!-- Generates an opaque outline for the bounds of the view. -->
2787            <enum name="bounds" value="2" />
2788            <!-- Generates an opaque outline for the padded bounds of the view. -->
2789            <enum name="paddedBounds" value="3" />
2790        </attr>
2791
2792        <!-- Defines the drawable to draw over the content. This can be used as an overlay.
2793             The foreground drawable participates in the padding of the content if the gravity
2794             is set to fill. -->
2795        <attr name="foreground" format="reference|color" />
2796        <!-- Defines the gravity to apply to the foreground drawable. The gravity defaults
2797             to fill. -->
2798        <attr name="foregroundGravity">
2799            <!-- Push object to the top of its container, not changing its size. -->
2800            <flag name="top" value="0x30" />
2801            <!-- Push object to the bottom of its container, not changing its size. -->
2802            <flag name="bottom" value="0x50" />
2803            <!-- Push object to the left of its container, not changing its size. -->
2804            <flag name="left" value="0x03" />
2805            <!-- Push object to the right of its container, not changing its size. -->
2806            <flag name="right" value="0x05" />
2807            <!-- Place object in the vertical center of its container, not changing its size. -->
2808            <flag name="center_vertical" value="0x10" />
2809            <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
2810            <flag name="fill_vertical" value="0x70" />
2811            <!-- Place object in the horizontal center of its container, not changing its size. -->
2812            <flag name="center_horizontal" value="0x01" />
2813            <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
2814            <flag name="fill_horizontal" value="0x07" />
2815            <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
2816            <flag name="center" value="0x11" />
2817            <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
2818            <flag name="fill" value="0x77" />
2819            <!-- Additional option that can be set to have the top and/or bottom edges of
2820                 the child clipped to its container's bounds.
2821                 The clip will be based on the vertical gravity: a top gravity will clip the bottom
2822                 edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
2823            <flag name="clip_vertical" value="0x80" />
2824            <!-- Additional option that can be set to have the left and/or right edges of
2825                 the child clipped to its container's bounds.
2826                 The clip will be based on the horizontal gravity: a left gravity will clip the right
2827                 edge, a right gravity will clip the left edge, and neither will clip both edges. -->
2828            <flag name="clip_horizontal" value="0x08" />
2829        </attr>
2830        <!-- Defines whether the foreground drawable should be drawn inside the padding.
2831             This property is turned on by default. -->
2832        <attr name="foregroundInsidePadding" format="boolean" />
2833        <!-- Tint to apply to the foreground. -->
2834        <attr name="foregroundTint" format="color" />
2835        <!-- Blending mode used to apply the foreground tint. -->
2836        <attr name="foregroundTintMode">
2837            <!-- The tint is drawn on top of the drawable.
2838                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
2839            <enum name="src_over" value="3" />
2840            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
2841                 color channels are thrown out. [Sa * Da, Sc * Da] -->
2842            <enum name="src_in" value="5" />
2843            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
2844                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
2845            <enum name="src_atop" value="9" />
2846            <!-- Multiplies the color and alpha channels of the drawable with those of
2847                 the tint. [Sa * Da, Sc * Dc] -->
2848            <enum name="multiply" value="14" />
2849            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
2850            <enum name="screen" value="15" />
2851            <!-- Combines the tint and drawable color and alpha channels, clamping the
2852                 result to valid color values. Saturate(S + D) -->
2853            <enum name="add" value="16" />
2854        </attr>
2855
2856        <!-- Defines which scroll indicators should be displayed when the view
2857             can be scrolled. Multiple values may be combined using logical OR,
2858             for example "top|bottom". -->
2859        <attr name="scrollIndicators">
2860            <!-- No scroll indicators are displayed. -->
2861            <flag name="none" value="0x00" />
2862            <!-- Displays top scroll indicator when view can be scrolled up. -->
2863            <flag name="top" value="0x01" />
2864            <!-- Displays bottom scroll indicator when vew can be scrolled down. -->
2865            <flag name="bottom" value="0x02" />
2866            <!-- Displays left scroll indicator when vew can be scrolled left. -->
2867            <flag name="left" value="0x04" />
2868            <!-- Displays right scroll indicator when vew can be scrolled right. -->
2869            <flag name="right" value="0x08" />
2870            <!-- Displays right scroll indicator when vew can be scrolled in the
2871                 start direction. -->
2872            <flag name="start" value="0x10" />
2873            <!-- Displays right scroll indicator when vew can be scrolled in the
2874                 end direction. -->
2875            <flag name="end" value="0x20" />
2876        </attr>
2877
2878        <attr name="pointerIcon">
2879            <!-- Null icon, pointer becomes invisible. -->
2880            <enum name="none" value="0" />
2881            <!-- The default icon of arrow pointer. -->
2882            <enum name="arrow" value="1000" />
2883            <!-- Pointer icon indicating context-menu will appear. -->
2884            <enum name="context_menu" value="1001" />
2885            <!-- Pointer icon of a hand with the index finger. -->
2886            <enum name="hand" value="1002" />
2887            <!-- Pointer icon indicating help. -->
2888            <enum name="help" value="1003" />
2889            <!-- Pointer icon indicating something is going on and waiting. -->
2890            <enum name="wait" value="1004" />
2891            <!-- Pointer icon for cell and grid. -->
2892            <enum name="cell" value="1006" />
2893            <!-- Pointer icon of crosshair, indicating to spot a location. -->
2894            <enum name="crosshair" value="1007" />
2895            <!-- Pointer icon of I-beam, usually for text. -->
2896            <enum name="text" value="1008" />
2897            <!-- Pointer icon of I-beam with 90-degree rotated, for vertical text. -->
2898            <enum name="vertical_text" value="1009" />
2899            <!-- Pointer icon of 'alias', indicating an alias of/shortcut to something is to be
2900                 created. -->
2901            <enum name="alias" value="1010" />
2902            <!-- Pointer icon of 'copy', used for drag/drop. -->
2903            <enum name="copy" value="1011" />
2904            <!-- Pointer icon of 'no-drop', indicating the drop will not be accepted at the
2905                 current location. -->
2906            <enum name="no_drop" value="1012" />
2907            <!-- Pointer icon of four-way arrows, indicating scrolling all direction. -->
2908            <enum name="all_scroll" value="1013" />
2909            <!-- Pointer icon of horizontal double arrow, indicating horizontal resize. -->
2910            <enum name="horizontal_double_arrow" value="1014" />
2911            <!-- Pointer icon of vertical double arrow, indicating vertical resize. -->
2912            <enum name="vertical_double_arrow" value="1015" />
2913            <!-- Pointer icon of diagonal double arrow, starting from top-right to bottom-left.
2914                 Indicating freeform resize. -->
2915            <enum name="top_right_diagonal_double_arrow" value="1016" />
2916            <!-- Pointer icon of diagonal double arrow, starting from top-left to bottom-right.
2917                 Indicating freeform resize. -->
2918            <enum name="top_left_diagonal_double_arrow" value="1017" />
2919            <!-- Pointer icon indicating zoom-in. -->
2920            <enum name="zoom_in" value="1018" />
2921            <!-- Pointer icon indicating zoom-out. -->
2922            <enum name="zoom_out" value="1019" />
2923            <!-- Pointer icon of a hand sign to grab something. -->
2924            <enum name="grab" value="1020" />
2925            <!-- Pointer icon of a hand sign while grabbing something. -->
2926            <enum name="grabbing" value="1021" />
2927        </attr>
2928
2929        <!-- Whether this view has elements that may overlap when drawn. See
2930             {@link android.view.View#forceHasOverlappingRendering(boolean)}. -->
2931        <attr name="forceHasOverlappingRendering" format="boolean" />
2932
2933        <!-- Defines text displayed in a small popup window on hover or long press. -->
2934        <attr name="tooltipText" format="string" localization="suggested" />
2935
2936        <!-- Whether this view is a root of a keyboard navigation cluster.
2937             See {@link android.view.View#setKeyboardNavigationCluster(boolean)}. -->
2938        <attr name="keyboardNavigationCluster" format="boolean" />
2939
2940        <attr name="__removed0" format="boolean" />
2941
2942        <!-- Defines the next keyboard navigation cluster.
2943
2944             If the reference refers to a view that does not exist or is part
2945             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2946             will result when the reference is accessed.-->
2947        <attr name="nextClusterForward" format="reference"/>
2948
2949        <attr name="__removed1" format="reference"/>
2950
2951        <!-- Whether this view is a default-focus view.
2952             Only one view per keyboard navigation cluster can have this attribute set to true.
2953             See {@link android.view.View#setFocusedByDefault(boolean)}. -->
2954        <attr name="focusedByDefault" format="boolean" />
2955
2956    </declare-styleable>
2957
2958    <!-- Attributes that can be assigned to a tag for a particular View. -->
2959    <declare-styleable name="ViewTag">
2960        <!-- Specifies the key identifying a tag. This must be a resource reference. -->
2961        <attr name="id" />
2962        <!-- Specifies the value with which to tag the view. -->
2963        <attr name="value" />
2964    </declare-styleable>
2965
2966    <!-- Attributes that can be assigned to an &lt;include&gt; tag.
2967         @hide -->
2968    <declare-styleable name="Include">
2969        <attr name="id" />
2970        <attr name="visibility" />
2971    </declare-styleable>
2972
2973    <!-- Attributes that can be used with a {@link android.view.ViewGroup} or any
2974         of its subclasses.  Also see {@link #ViewGroup_Layout} for
2975         attributes that this class processes in its children. -->
2976    <declare-styleable name="ViewGroup">
2977        <!-- Defines whether changes in layout (caused by adding and removing items) should
2978             cause a LayoutTransition to run. When this flag is set to true, a default
2979             LayoutTransition object will be set on the ViewGroup container and default
2980             animations will run when these layout changes occur.-->
2981        <attr name="animateLayoutChanges" format="boolean" />
2982        <!-- Defines whether a child is limited to draw inside of its bounds or not.
2983             This is useful with animations that scale the size of the children to more
2984             than 100% for instance. In such a case, this property should be set to false
2985             to allow the children to draw outside of their bounds. The default value of
2986             this property is true. -->
2987        <attr name="clipChildren" format="boolean" />
2988        <!-- Defines whether the ViewGroup will clip its children and resize (but not clip) any
2989             EdgeEffect to its padding, if padding is not zero. This property is set to true by
2990             default. -->
2991        <attr name="clipToPadding" format="boolean" />
2992        <!-- Defines the layout animation to use the first time the ViewGroup is laid out.
2993             Layout animations can also be started manually after the first layout. -->
2994        <attr name="layoutAnimation" format="reference" />
2995        <!-- Defines whether layout animations should create a drawing cache for their
2996             children. Enabling the animation cache consumes more memory and requires
2997             a longer initialization but provides better performance. The animation
2998             cache is enabled by default. -->
2999        <attr name="animationCache" format="boolean" />
3000        <!-- Defines the persistence of the drawing cache. The drawing cache might be
3001             enabled by a ViewGroup for all its children in specific situations (for
3002             instance during a scrolling.) This property lets you persist the cache
3003             in memory after its initial usage. Persisting the cache consumes more
3004             memory but may prevent frequent garbage collection is the cache is created
3005             over and over again. By default the persistence is set to scrolling. -->
3006        <attr name="persistentDrawingCache">
3007            <!-- The drawing cache is not persisted after use. -->
3008            <flag name="none" value="0x0" />
3009            <!-- The drawing cache is persisted after a layout animation. -->
3010            <flag name="animation" value="0x1" />
3011            <!-- The drawing cache is persisted after a scroll. -->
3012            <flag name="scrolling" value="0x2" />
3013            <!-- The drawing cache is always persisted. -->
3014            <flag name="all" value="0x3" />
3015        </attr>
3016        <!-- Defines whether the ViewGroup should always draw its children using their
3017             drawing cache or not. The default value is true. -->
3018        <attr name="alwaysDrawnWithCache" format="boolean" />
3019        <!-- Sets whether this ViewGroup's drawable states also include
3020             its children's drawable states.  This is used, for example, to
3021             make a group appear to be focused when its child EditText or button
3022             is focused. -->
3023        <attr name="addStatesFromChildren" format="boolean" />
3024
3025        <!-- Defines the relationship between the ViewGroup and its descendants
3026             when looking for a View to take focus. -->
3027        <attr name="descendantFocusability">
3028            <!-- The ViewGroup will get focus before any of its descendants. -->
3029            <enum name="beforeDescendants" value="0" />
3030            <!-- The ViewGroup will get focus only if none of its descendants want it. -->
3031            <enum name="afterDescendants" value="1" />
3032            <!-- The ViewGroup will block its descendants from receiving focus. -->
3033            <enum name="blocksDescendants" value="2" />
3034        </attr>
3035
3036        <!-- Set to true if this ViewGroup blocks focus in the presence of a touchscreen. -->
3037        <attr name="touchscreenBlocksFocus" format="boolean" />
3038
3039        <!-- Sets whether this ViewGroup should split MotionEvents
3040             to separate child views during touch event dispatch.
3041             If false (default), touch events will be dispatched to
3042             the child view where the first pointer went down until
3043             the last pointer goes up.
3044             If true, touch events may be dispatched to multiple children.
3045             MotionEvents for each pointer will be dispatched to the child
3046             view where the initial ACTION_DOWN event happened.
3047             See {@link android.view.ViewGroup#setMotionEventSplittingEnabled(boolean)}
3048             for more information. -->
3049        <attr name="splitMotionEvents" format="boolean" />
3050
3051        <!-- Defines the layout mode of this ViewGroup. -->
3052        <attr name="layoutMode">
3053            <!-- Use the children's clip bounds when laying out this container. -->
3054            <enum name="clipBounds" value="0" />
3055            <!-- Use the children's optical bounds when laying out this container. -->
3056            <enum name="opticalBounds" value="1" />
3057        </attr>
3058
3059        <!-- Sets whether or not this ViewGroup should be treated as a single entity
3060             when doing an Activity transition. Typically, the elements inside a
3061             ViewGroup are each transitioned from the scene individually. The default
3062             for a ViewGroup is false unless it has a background. See
3063             {@link android.app.ActivityOptions#makeSceneTransitionAnimation(android.app.Activity,
3064             android.view.View, String)} for more information. Corresponds to
3065             {@link android.view.ViewGroup#setTransitionGroup(boolean)}.-->
3066        <attr name="transitionGroup" format="boolean" />
3067    </declare-styleable>
3068
3069    <!-- A {@link android.view.ViewStub} lets you lazily include other XML layouts
3070         inside your application at runtime. -->
3071    <declare-styleable name="ViewStub">
3072        <!-- Supply an identifier name for this view. -->
3073        <attr name="id" />
3074        <!-- Supply an identifier for the layout resource to inflate when the ViewStub
3075             becomes visible or when forced to do so. The layout resource must be a
3076             valid reference to a layout. -->
3077        <attr name="layout" format="reference" />
3078        <!-- Overrides the id of the inflated View with this value. -->
3079        <attr name="inflatedId" format="reference" />
3080    </declare-styleable>
3081
3082    <!-- ===================================== -->
3083    <!-- View package parent layout attributes -->
3084    <!-- ===================================== -->
3085    <eat-comment />
3086
3087    <!-- This is the basic set of layout attributes that are common to all
3088         layout managers.  These attributes are specified with the rest of
3089         a view's normal attributes (such as {@link android.R.attr#background},
3090         but will be parsed by the view's parent and ignored by the child.
3091        <p>The values defined here correspond to the base layout attribute
3092        class {@link android.view.ViewGroup.LayoutParams}. -->
3093    <declare-styleable name="ViewGroup_Layout">
3094        <!-- Specifies the basic width of the view.  This is a required attribute
3095             for any view inside of a containing layout manager.  Its value may
3096             be a dimension (such as "12dip") for a constant width or one of
3097             the special constants. -->
3098        <attr name="layout_width" format="dimension">
3099            <!-- The view should be as big as its parent (minus padding).
3100                 This constant is deprecated starting from API Level 8 and
3101                 is replaced by {@code match_parent}. -->
3102            <enum name="fill_parent" value="-1" />
3103            <!-- The view should be as big as its parent (minus padding).
3104                 Introduced in API Level 8. -->
3105            <enum name="match_parent" value="-1" />
3106            <!-- The view should be only big enough to enclose its content (plus padding). -->
3107            <enum name="wrap_content" value="-2" />
3108        </attr>
3109
3110        <!-- Specifies the basic height of the view.  This is a required attribute
3111             for any view inside of a containing layout manager.  Its value may
3112             be a dimension (such as "12dip") for a constant height or one of
3113             the special constants. -->
3114        <attr name="layout_height" format="dimension">
3115            <!-- The view should be as big as its parent (minus padding).
3116                 This constant is deprecated starting from API Level 8 and
3117                 is replaced by {@code match_parent}. -->
3118            <enum name="fill_parent" value="-1" />
3119            <!-- The view should be as big as its parent (minus padding).
3120                 Introduced in API Level 8. -->
3121            <enum name="match_parent" value="-1" />
3122            <!-- The view should be only big enough to enclose its content (plus padding). -->
3123            <enum name="wrap_content" value="-2" />
3124        </attr>
3125    </declare-styleable>
3126
3127    <!-- This is the basic set of layout attributes for layout managers that
3128         wish to place margins around their child views.
3129         These attributes are specified with the rest of
3130         a view's normal attributes (such as {@link android.R.attr#background},
3131         but will be parsed by the view's parent and ignored by the child.
3132        <p>The values defined here correspond to the base layout attribute
3133        class {@link android.view.ViewGroup.MarginLayoutParams}. -->
3134    <declare-styleable name="ViewGroup_MarginLayout">
3135        <attr name="layout_width" />
3136        <attr name="layout_height" />
3137        <!--  Specifies extra space on the left, top, right and bottom
3138              sides of this view.  If both layout_margin and any of layout_marginLeft,
3139              layout_marginRight, layout_marginStart, layout_marginEnd,
3140              layout_marginTop, and layout_marginBottom are
3141              also specified, the layout_margin value will take precedence over the
3142              edge-specific values. This space is outside this view's bounds.
3143              Margin values should be positive. -->
3144        <attr name="layout_margin" format="dimension"  />
3145        <!--  Specifies extra space on the left side of this view.
3146              This space is outside this view's bounds.
3147              Margin values should be positive. -->
3148        <attr name="layout_marginLeft" format="dimension"  />
3149        <!--  Specifies extra space on the top side of this view.
3150              This space is outside this view's bounds.
3151              Margin values should be positive.-->
3152        <attr name="layout_marginTop" format="dimension" />
3153        <!--  Specifies extra space on the right side of this view.
3154              This space is outside this view's bounds.
3155              Margin values should be positive.-->
3156        <attr name="layout_marginRight" format="dimension"  />
3157        <!--  Specifies extra space on the bottom side of this view.
3158              This space is outside this view's bounds.
3159              Margin values should be positive.-->
3160        <attr name="layout_marginBottom" format="dimension"  />
3161        <!--  Specifies extra space on the start side of this view.
3162              This space is outside this view's bounds.
3163              Margin values should be positive.-->
3164        <attr name="layout_marginStart" format="dimension"  />
3165        <!--  Specifies extra space on the end side of this view.
3166              This space is outside this view's bounds.
3167              Margin values should be positive.-->
3168        <attr name="layout_marginEnd" format="dimension"  />
3169        <!--  Specifies extra space on the left and right sides of this view.
3170              Specifying layout_marginHorizontal is equivalent to specifying
3171              either layout_marginLeft and layout_marginRight or
3172              layout_marginStart and layout_marginEnd with that same value.
3173              If both layout_marginHorizontal and any of layout_marginLeft,
3174              layout_marginRight, layout_marginStart, and layout_marginEnd are
3175              also specified, the layout_marginHorizontal value will take precedence over the
3176              edge-specific values. Also, layout_margin will always take precedence over
3177              any of these values, including layout_marginHorizontal.
3178              This space is outside this view's bounds.
3179              Margin values should be positive.-->
3180        <attr name="layout_marginHorizontal" format="dimension"  />
3181        <!--  Specifies extra space on the top and bottom sides of this view.
3182              Specifying layout_marginVertical is equivalent to specifying
3183              layout_marginTop and layout_marginBottom with that same value.
3184              If both layout_marginVertical and either/both layout_marginTop and
3185              layout_marginBottom are also specified, the layout_marginVertical value
3186              will take precedence over the edge-specific values.
3187              Also, layout_margin will always take precedence over
3188              any of these values, including layout_marginVertical.
3189              This space is outside this view's bounds.
3190              Margin values should be positive.-->
3191        <attr name="layout_marginVertical" format="dimension"  />
3192    </declare-styleable>
3193
3194    <!-- Use <code>input-method</code> as the root tag of the XML resource that
3195         describes an
3196         {@link android.view.inputmethod.InputMethod} service, which is
3197         referenced from its
3198         {@link android.view.inputmethod.InputMethod#SERVICE_META_DATA}
3199         meta-data entry.  Described here are the attributes that can be
3200         included in that tag. -->
3201    <declare-styleable name="InputMethod">
3202        <!-- Component name of an activity that allows the user to modify
3203             the settings for this service. -->
3204        <attr name="settingsActivity" format="string" />
3205        <!-- Set to true in all of the configurations for which this input
3206             method should be considered an option as the default. -->
3207        <attr name="isDefault" format="boolean" />
3208        <!-- Set to true if this input method supports ways to switch to
3209             a next input method (for example, a globe key.). When this is true and
3210             InputMethodManager#shouldOfferSwitchingToNextInputMethod() returns true,
3211             the IME has to offer ways to invoke InputMethodManager#switchToNextInputMethod()
3212             accordingly.
3213             <p> Note that the system determines the most appropriate next input method
3214             and subtype in order to provide the consistent user experience in switching
3215             between IMEs and subtypes. -->
3216        <attr name="supportsSwitchingToNextInputMethod" format="boolean" />
3217        <!-- Set to true if this input method supports ways to dismiss the windows assigned to
3218             the input method (for example, a dismiss button rendered by the input method itself).  The
3219             System UI may optimize the UI by not showing system-level dismiss button if this
3220             value is true.
3221             <p> Must be a boolean value, either "true" or "false". The default value is "false".
3222             <p> This may also be a reference to a resource (in the form "@[package:]type:name")
3223             or theme attribute (in the form "?[package:]type:name") containing a value of this
3224             type.
3225             <p> A UI element that dismisses the input method window should report
3226             {@link android.view.accessibility.AccessibilityNodeInfo#ACTION_DISMISS} action, so
3227             that accessibility services can handle it accordingly. -->
3228        <attr name="supportsDismissingWindow" format="boolean" />
3229    </declare-styleable>
3230
3231    <!-- This is the subtype of InputMethod. Subtype can describe locales (for example, en_US and
3232         fr_FR) and modes (for example, voice and keyboard), and is used for IME switch. This
3233         subtype allows the system to call the specified subtype of the IME directly. -->
3234    <declare-styleable name="InputMethod_Subtype">
3235        <!-- The name of the subtype. -->
3236        <attr name="label" />
3237        <!-- The icon of the subtype. -->
3238        <attr name="icon" />
3239        <!-- The locale of the subtype. This string should be a locale (for example en_US and fr_FR)
3240             and will be passed to the IME when the framework calls the IME
3241             with the subtype. This is also used by the framework to know the supported locales
3242             of the IME.  -->
3243        <attr name="imeSubtypeLocale" format="string" />
3244        <!-- The mode of the subtype. This string can be a mode (for example, voice and keyboard)
3245             and this string will be passed to the IME when the framework calls the IME with the
3246             subtype.  {@link android.view.inputmethod.InputMethodSubtype#getLocale()} returns the
3247             value specified in this attribute.  -->
3248        <attr name="imeSubtypeMode" format="string" />
3249        <!-- Set true if the subtype is auxiliary.  An auxiliary subtype won't be shown in the
3250             input method selection list in the settings app.
3251             InputMethodManager#switchToLastInputMethod will ignore auxiliary subtypes when it
3252             chooses a target subtype. -->
3253        <attr name="isAuxiliary" format="boolean" />
3254        <!-- Set true when this subtype should be selected by default if no other subtypes are
3255             selected explicitly. Note that a subtype with this parameter being true will
3256             not be shown in the subtypes list. -->
3257        <attr name="overridesImplicitlyEnabledSubtype" format="boolean" />
3258        <!-- The extra value of the subtype. This string can be any string and will be passed to
3259             the IME when the framework calls the IME with the subtype.  -->
3260        <attr name="imeSubtypeExtraValue" format="string" />
3261        <!-- The unique id for the subtype. The input method framework keeps track of enabled
3262             subtypes by ID. When the IME package gets upgraded, enabled IDs will stay enabled even
3263             if other attributes are different. If the ID is unspecified (by calling the other
3264             constructor or 0. Arrays.hashCode(new Object[] {locale, mode, extraValue,
3265             isAuxiliary, overridesImplicitlyEnabledSubtype}) will be used instead. -->
3266        <attr name="subtypeId" format="integer"/>
3267        <!-- Set to true if this subtype is ASCII capable. If the subtype is ASCII
3268             capable, it should guarantee that the user can input ASCII characters with
3269             this subtype. This is important because many password fields only allow
3270             ASCII-characters. -->
3271        <attr name="isAsciiCapable" format="boolean" />
3272        <!-- The BCP-47 Language Tag of the subtype.  This replaces
3273        {@link android.R.styleable#InputMethod_Subtype_imeSubtypeLocale}.  -->
3274        <attr name="languageTag" format="string" />
3275    </declare-styleable>
3276
3277    <!-- Use <code>spell-checker</code> as the root tag of the XML resource that
3278         describes an
3279         {@link android.service.textservice.SpellCheckerService} service, which is
3280         referenced from its
3281         {@link android.view.textservice.SpellCheckerSession#SERVICE_META_DATA}
3282         meta-data entry.  Described here are the attributes that can be
3283         included in that tag. -->
3284    <declare-styleable name="SpellChecker">
3285        <!-- The name of the spell checker. -->
3286        <attr name="label" />
3287        <!-- Component name of an activity that allows the user to modify
3288             the settings for this service. -->
3289        <attr name="settingsActivity"/>
3290    </declare-styleable>
3291
3292    <!-- This is the subtype of the spell checker. Subtype can describe locales (for example,
3293             en_US and fr_FR). -->
3294    <declare-styleable name="SpellChecker_Subtype">
3295        <!-- The name of the subtype. -->
3296        <attr name="label" />
3297        <!-- The locale of the subtype. This string should be a locale (for example, en_US and
3298             fr_FR). This is also used by the framework to know the supported locales
3299             of the spell checker. {@link android.view.textservice.SpellCheckerSubtype#getLocale()}
3300             returns the value specified in this attribute.  -->
3301        <attr name="subtypeLocale" format="string" />
3302        <!-- The extra value of the subtype. This string can be any string and will be passed to
3303             the SpellChecker.  -->
3304        <attr name="subtypeExtraValue" format="string" />
3305        <!-- The unique id for the subtype. The text service (spell checker) framework keeps track
3306             of enabled subtypes by ID. When the spell checker package gets upgraded, enabled IDs
3307             will stay enabled even if other attributes are different. If the ID is unspecified or
3308             explicitly specified to 0 in XML resources,
3309             {@code Arrays.hashCode(new Object[] {subtypeLocale, extraValue})} will be used instead.
3310              -->
3311        <attr name="subtypeId" />
3312        <!-- The BCP-47 Language Tag of the subtype.  This replaces
3313        {@link android.R.styleable#SpellChecker_Subtype_subtypeLocale}.  -->
3314        <attr name="languageTag" />
3315    </declare-styleable>
3316
3317    <!-- Use <code>accessibility-service</code> as the root tag of the XML resource that
3318         describes an {@link android.accessibilityservice.AccessibilityService} service,
3319         which is referenced from its
3320         {@link android.accessibilityservice.AccessibilityService#SERVICE_META_DATA}
3321         meta-data entry. -->
3322    <declare-styleable name="AccessibilityService">
3323        <!-- The event types this service would like to receive as specified in
3324             {@link android.view.accessibility.AccessibilityEvent}. This setting
3325             can be changed at runtime by calling
3326             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3327             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3328        <attr name="accessibilityEventTypes">
3329            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CLICKED} events.-->
3330            <flag name="typeViewClicked" value="0x00000001" />
3331            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_LONG_CLICKED} events. -->
3332            <flag name="typeViewLongClicked" value="0x00000002" />
3333            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SELECTED} events. -->
3334            <flag name="typeViewSelected" value="0x00000004" />
3335            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_FOCUSED} events. -->
3336            <flag name="typeViewFocused" value="0x00000008" />
3337            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_CHANGED} events. -->
3338            <flag name="typeViewTextChanged" value="0x00000010" />
3339            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_STATE_CHANGED} events. -->
3340            <flag name="typeWindowStateChanged" value="0x00000020" />
3341            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_NOTIFICATION_STATE_CHANGED} events. -->
3342            <flag name="typeNotificationStateChanged" value="0x00000040" />
3343            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_ENTER} events. -->
3344            <flag name="typeViewHoverEnter" value="0x00000080" />
3345            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_EXIT} events. -->
3346            <flag name="typeViewHoverExit" value="0x00000100" />
3347            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_START} events. -->
3348            <flag name="typeTouchExplorationGestureStart" value="0x00000200" />
3349            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_END} events. -->
3350            <flag name="typeTouchExplorationGestureEnd" value="0x00000400" />
3351            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_CONTENT_CHANGED} events. -->
3352            <flag name="typeWindowContentChanged" value="0x00000800" />
3353            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SCROLLED} events. -->
3354            <flag name="typeViewScrolled" value="0x000001000" />
3355            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_SELECTION_CHANGED} events. -->
3356            <flag name="typeViewTextSelectionChanged" value="0x000002000" />
3357            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ANNOUNCEMENT} events. -->
3358            <flag name="typeAnnouncement" value="0x00004000" />
3359            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUSED} events. -->
3360            <flag name="typeViewAccessibilityFocused" value="0x00008000" />
3361            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED} events. -->
3362            <flag name="typeViewAccessibilityFocusCleared" value="0x00010000" />
3363            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY} events. -->
3364            <flag name="typeViewTextTraversedAtMovementGranularity" value="0x00020000" />
3365            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_START} events. -->
3366            <flag name="typeGestureDetectionStart" value="0x00040000" />
3367            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_END} events. -->
3368            <flag name="typeGestureDetectionEnd" value="0x00080000" />
3369            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_START} events. -->
3370            <flag name="typeTouchInteractionStart" value="0x00100000" />
3371            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_END} events. -->
3372            <flag name="typeTouchInteractionEnd" value="0x00200000" />
3373            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOWS_CHANGED} events. -->
3374            <flag name="typeWindowsChanged" value="0x00400000" />
3375            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CONTEXT_CLICKED} events. -->
3376            <flag name="typeContextClicked" value="0x00800000" />
3377            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ASSIST_READING_CONTEXT} events. -->
3378            <flag name="typeAssistReadingContext" value="0x01000000" />
3379            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPES_ALL_MASK} i.e. all events. -->
3380            <flag name="typeAllMask" value="0xffffffff" />
3381        </attr>
3382        <!-- Comma separated package names from which this service would like to receive events (leave out for all packages).
3383             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3384             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3385        <attr name="packageNames" format="string" />
3386        <!-- The feedback types this service provides as specified in
3387             {@link android.accessibilityservice.AccessibilityServiceInfo}. This setting
3388             can be changed at runtime by calling
3389             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3390             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3391        <attr name="accessibilityFeedbackType">
3392            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_SPOKEN} feedback. -->
3393            <flag name="feedbackSpoken" value="0x00000001" />
3394            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_HAPTIC} feedback. -->
3395            <flag name="feedbackHaptic" value="0x00000002" />
3396            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_AUDIBLE} feedback. -->
3397            <flag name="feedbackAudible" value="0x00000004" />
3398            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_VISUAL} feedback. -->
3399            <flag name="feedbackVisual" value="0x00000008" />
3400            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_GENERIC} feedback. -->
3401            <flag name="feedbackGeneric" value="0x00000010" />
3402            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_ALL_MASK} feedback. -->
3403            <flag name="feedbackAllMask" value="0xffffffff" />
3404        </attr>
3405        <!-- The minimal period in milliseconds between two accessibility events of the same type
3406             are sent to this service. This setting 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="notificationTimeout" format="integer" />
3410        <!-- Additional flags as specified in
3411             {@link android.accessibilityservice.AccessibilityServiceInfo}.
3412             This setting can be changed at runtime by calling
3413             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3414             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3415        <attr name="accessibilityFlags">
3416            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#DEFAULT}. -->
3417            <flag name="flagDefault" value="0x00000001" />
3418            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_INCLUDE_NOT_IMPORTANT_VIEWS}. -->
3419            <flag name="flagIncludeNotImportantViews" value="0x00000002" />
3420            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE}. -->
3421            <flag name="flagRequestTouchExplorationMode" value="0x00000004" />
3422            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY}. -->
3423            <flag name="flagRequestEnhancedWebAccessibility" value="0x00000008" />
3424            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REPORT_VIEW_IDS}. -->
3425            <flag name="flagReportViewIds" value="0x00000010" />
3426            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS}. -->
3427            <flag name="flagRequestFilterKeyEvents" value="0x00000020" />
3428            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_RETRIEVE_INTERACTIVE_WINDOWS}. -->
3429            <flag name="flagRetrieveInteractiveWindows" value="0x00000040" />
3430            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_ENABLE_ACCESSIBILITY_VOLUME}. -->
3431            <flag name="flagEnableAccessibilityVolume" value="0x00000080" />
3432            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ACCESSIBILITY_BUTTON}. -->
3433            <flag name="flagRequestAccessibilityButton" value="0x00000100" />
3434            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_CAPTURE_FINGERPRINT_GESTURES}. -->
3435            <flag name="flagCaptureFingerprintGestures" value="0x00000200" />
3436        </attr>
3437        <!-- Component name of an activity that allows the user to modify
3438             the settings for this service. This setting cannot be changed at runtime. -->
3439        <attr name="settingsActivity" />
3440        <!-- Attribute whether the accessibility service wants to be able to retrieve the
3441             active window content. This setting cannot be changed at runtime. -->
3442        <attr name="canRetrieveWindowContent" format="boolean" />
3443        <!-- Attribute whether the accessibility service wants to be able to request touch
3444             exploration mode in which touched items are spoken aloud and the UI can be
3445             explored via gestures.
3446             <p>
3447             Required to allow setting the {@link android.accessibilityservice
3448             #AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} flag.
3449             </p>
3450         -->
3451        <attr name="canRequestTouchExplorationMode" format="boolean" />
3452        <!-- Attribute whether the accessibility service wants to be able to request enhanced
3453             web accessibility enhancements. For example, installing scripts to make app
3454             content more accessible.
3455             <p>
3456             Required to allow setting the {@link android.accessibilityservice
3457             #AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} flag.
3458             </p>
3459         -->
3460        <attr name="canRequestEnhancedWebAccessibility" format="boolean" />
3461        <!-- Attribute whether the accessibility service wants to be able to request to
3462             filter key events.
3463             <p>
3464             Required to allow setting the {@link android.accessibilityservice
3465             #AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} flag.
3466             </p>
3467         -->
3468        <attr name="canRequestFilterKeyEvents" format="boolean" />
3469        <!-- Attribute whether the accessibility service wants to be able to control
3470             display magnification.
3471         -->
3472        <attr name="canControlMagnification" format="boolean" />
3473        <!-- Attribute whether the accessibility service wants to be able to perform gestures. -->
3474        <attr name="canPerformGestures" format="boolean" />
3475        <!-- Attribute whether the accessibility service wants to be able to capture gestures from
3476             the fingerprint sensor.
3477             <p>
3478             Required to allow setting the {@link android.accessibilityservice
3479             #AccessibilityServiceInfo#FLAG_CAN_CAPTURE_FINGERPRINT_GESTURES} flag.
3480             </p>
3481         -->
3482        <attr name="canCaptureFingerprintGestures" format="boolean" />
3483        <!-- Short description of the accessibility service purpose or behavior.-->
3484        <attr name="description" />
3485        <!-- Brief summary of the accessibility service purpose or behavior. -->
3486        <attr name="summary" />
3487    </declare-styleable>
3488
3489    <!-- Use <code>print-service</code> as the root tag of the XML resource that
3490         describes an {@link android.printservice.PrintService} service, which is
3491         referenced from its {@link android.printservice.PrintService#SERVICE_META_DATA}
3492         meta-data entry. -->
3493    <declare-styleable name="PrintService">
3494        <!-- Fully qualified class name of an activity that allows the user to modify
3495             the settings for this service. -->
3496        <attr name="settingsActivity" />
3497        <!-- Fully qualified class name of an activity that allows the user to manually
3498             add printers to this print service. -->
3499        <attr name="addPrintersActivity" format="string"/>
3500        <!-- Fully qualified class name of an activity with advanced print options
3501             specific to this print service. -->
3502        <attr name="advancedPrintOptionsActivity" format="string"/>
3503        <!-- The vendor name if this print service is vendor specific. -->
3504        <attr name="vendor" format="string"/>
3505    </declare-styleable>
3506
3507    <!-- Use <code>host-apdu-service</code> as the root tag of the XML resource that
3508         describes an {@link android.nfc.cardemulation.HostApduService} service, which
3509         is referenced from its {@link android.nfc.cardemulation.HostApduService#SERVICE_META_DATA}
3510         entry. -->
3511    <declare-styleable name="HostApduService">
3512        <!-- Short description of the functionality the service implements. This attribute
3513             is mandatory.-->
3514        <attr name="description" />
3515        <!-- Whether the device must be unlocked before routing data to this service.
3516             The default is false.-->
3517        <attr name="requireDeviceUnlock" format="boolean"/>
3518        <!-- A drawable that can be rendered in Android's system UI for representing
3519             the service. -->
3520        <attr name="apduServiceBanner" format="reference"/>
3521        <!-- Component name of an activity that allows the user to modify
3522             the settings for this service. -->
3523        <attr name="settingsActivity"/>
3524    </declare-styleable>
3525
3526    <!-- Use <code>offhost-apdu-service</code> as the root tag of the XML resource that
3527         describes an {@link android.nfc.cardemulation.OffHostApduService}
3528         service, which is referenced from its
3529         {@link android.nfc.cardemulation.OffHostApduService#SERVICE_META_DATA} entry. -->
3530    <declare-styleable name="OffHostApduService">
3531        <!-- Short description of the functionality the service implements. This attribute
3532             is mandatory.-->
3533        <attr name="description" />
3534        <!-- A drawable that can be rendered in Android's system UI for representing
3535             the service. -->
3536        <attr name="apduServiceBanner"/>
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    <!-- Specify one or more <code>aid-group</code> elements inside a
3543         <code>host-apdu-service</code> or <code>offhost-apdu-service</code>
3544         element to define a group of ISO7816 Application ID (AIDs) that
3545         your service can handle.-->
3546    <declare-styleable name="AidGroup">
3547        <!-- Short description of what the AID group implements. This attribute is mandatory.-->
3548        <attr name="description" />
3549        <!-- The category attribute will be used by the Android platform to present
3550             multiple applications that register ISO 7816 Application IDs (AIDs) in the
3551             same category uniformly.
3552             Additionally, when a category is specified, Android will ensure that either
3553             all AIDs in this group are routed to this application, or none at all.
3554             This attribute is optional.-->
3555        <attr name="category" format="string" />
3556    </declare-styleable>
3557
3558    <!-- Specify one or more <code>aid-filter</code> elements inside a
3559         <code>aid-group</code> element to specify an ISO7816 Application ID (AID)
3560         your service can handle. -->
3561    <declare-styleable name="AidFilter">
3562        <!-- The ISO7816 Application ID. This attribute is mandatory. -->
3563        <attr name="name" />
3564    </declare-styleable>
3565
3566    <!-- Specify one or more <code>aid-prefix-filter</code> elements inside a
3567         <code>aid-group</code> element to specify an ISO7816 Application ID (AID)
3568         prefix your service can handle. -->
3569    <declare-styleable name="AidPrefixFilter">
3570        <!-- The ISO7816 Application ID. This attribute is mandatory. -->
3571        <attr name="name" />
3572    </declare-styleable>
3573
3574    <!-- Use <code>host-nfcf-service</code> as the root tag of the XML resource that
3575         describes an {@link android.nfc.cardemulation.HostNfcFService} service, which
3576         is referenced from its {@link android.nfc.cardemulation.HostNfcFService#SERVICE_META_DATA}
3577         entry. -->
3578    <declare-styleable name="HostNfcFService">
3579        <!-- Short description of the functionality the service implements. This attribute
3580             is mandatory.-->
3581        <attr name="description" />
3582    </declare-styleable>
3583
3584    <!-- Specify one or more <code>system-code-filter</code> elements inside a
3585         <code>host-nfcf-service</code> element to specify a System Code
3586         your service can handle. -->
3587    <declare-styleable name="SystemCodeFilter">
3588        <!-- The System Code. This attribute is mandatory. -->
3589        <attr name="name" />
3590    </declare-styleable>
3591
3592    <!-- Specify one or more <code>nfcid2-filter</code> elements inside a
3593         <code>host-nfcf-service</code> element to specify a NFCID2
3594         your service can handle. -->
3595    <declare-styleable name="Nfcid2Filter">
3596        <!-- The NFCID2. This attribute is mandatory. -->
3597        <attr name="name" />
3598    </declare-styleable>
3599
3600    <declare-styleable name="ActionMenuItemView">
3601        <attr name="minWidth" />
3602    </declare-styleable>
3603
3604    <!-- =============================== -->
3605    <!-- Widget package class attributes -->
3606    <!-- =============================== -->
3607    <eat-comment />
3608
3609    <declare-styleable name="AbsListView">
3610         <!-- Drawable used to indicate the currently selected item in the list. -->
3611        <attr name="listSelector" format="color|reference" />
3612        <!-- When set to true, the selector will be drawn over the selected item.
3613             Otherwise the selector is drawn behind the selected item. The default
3614             value is false. -->
3615        <attr name="drawSelectorOnTop" format="boolean" />
3616        <!-- Used by ListView and GridView to stack their content from the bottom. -->
3617        <attr name="stackFromBottom" format="boolean" />
3618        <!-- When set to true, the list uses a drawing cache during scrolling.
3619             This makes the rendering faster but uses more memory. The default
3620             value is true. -->
3621        <attr name="scrollingCache" format="boolean" />
3622        <!-- When set to true, the list will filter results as the user types. The
3623             List's adapter must support the Filterable interface for this to work. -->
3624        <attr name="textFilterEnabled" format="boolean" />
3625        <!-- Sets the transcript mode for the list. In transcript mode, the list
3626             scrolls to the bottom to make new items visible when they are added. -->
3627        <attr name="transcriptMode">
3628            <!-- Disables transcript mode. This is the default value. -->
3629            <enum name="disabled" value="0"/>
3630            <!-- The list will automatically scroll to the bottom when
3631                 a data set change notification is received and only if the last item is
3632                 already visible on screen. -->
3633            <enum name="normal" value="1" />
3634            <!-- The list will automatically scroll to the bottom, no matter what items
3635                 are currently visible. -->
3636            <enum name="alwaysScroll" value="2" />
3637        </attr>
3638        <!-- Indicates that this list will always be drawn on top of solid, single-color
3639             opaque background. This allows the list to optimize drawing. -->
3640        <attr name="cacheColorHint" format="color" />
3641        <!-- Enables the fast scroll thumb that can be dragged to quickly scroll through
3642             the list. -->
3643        <attr name="fastScrollEnabled" format="boolean" />
3644        <!-- Specifies the style of the fast scroll decorations. -->
3645        <attr name="fastScrollStyle" format="reference" />
3646        <!-- When set to true, the list will use a more refined calculation
3647             method based on the pixels height of the items visible on screen. This
3648             property is set to true by default but should be set to false if your adapter
3649             will display items of varying heights. When this property is set to true and
3650             your adapter displays items of varying heights, the scrollbar thumb will
3651             change size as the user scrolls through the list. When set to false, the list
3652             will use only the number of items in the adapter and the number of items visible
3653             on screen to determine the scrollbar's properties. -->
3654        <attr name="smoothScrollbar" format="boolean" />
3655        <!-- Defines the choice behavior for the view. By default, lists do not have
3656             any choice behavior. By setting the choiceMode to singleChoice, the list
3657             allows up to one item to be in a chosen state. By setting the choiceMode to
3658             multipleChoice, the list allows any number of items to be chosen.
3659             Finally, by setting the choiceMode to multipleChoiceModal the list allows
3660             any number of items to be chosen in a special selection mode.
3661             The application will supply a
3662             {@link android.widget.AbsListView.MultiChoiceModeListener} using
3663             {@link android.widget.AbsListView#setMultiChoiceModeListener} to control the
3664             selection mode. This uses the {@link android.view.ActionMode} API. -->
3665        <attr name="choiceMode">
3666            <!-- Normal list that does not indicate choices. -->
3667            <enum name="none" value="0" />
3668            <!-- The list allows up to one choice. -->
3669            <enum name="singleChoice" value="1" />
3670            <!-- The list allows multiple choices. -->
3671            <enum name="multipleChoice" value="2" />
3672            <!-- The list allows multiple choices in a custom selection mode. -->
3673            <enum name="multipleChoiceModal" value="3" />
3674        </attr>
3675
3676        <!-- When set to true, the list will always show the fast scroll interface.
3677             This setting implies fastScrollEnabled. -->
3678        <attr name="fastScrollAlwaysVisible" format="boolean" />
3679    </declare-styleable>
3680    <!-- @hide -->
3681    <declare-styleable name="RecycleListView">
3682        <!-- Bottom padding to use when no buttons are present. -->
3683        <attr name="paddingBottomNoButtons" format="dimension" />
3684        <!-- Top padding to use when no title is present. -->
3685        <attr name="paddingTopNoTitle" format="dimension" />
3686    </declare-styleable>
3687    <declare-styleable name="AbsSpinner">
3688        <!-- Reference to an array resource that will populate the Spinner.  For static content,
3689             this is simpler than populating the Spinner programmatically. -->
3690        <attr name="entries" />
3691    </declare-styleable>
3692    <declare-styleable name="AnalogClock">
3693        <attr name="dial" format="reference"/>
3694        <attr name="hand_hour" format="reference"/>
3695        <attr name="hand_minute" format="reference"/>
3696    </declare-styleable>
3697    <declare-styleable name="Button">
3698    </declare-styleable>
3699    <declare-styleable name="Chronometer">
3700        <!-- Format string: if specified, the Chronometer will display this
3701             string, with the first "%s" replaced by the current timer value
3702             in "MM:SS" or "H:MM:SS" form.
3703             If no format string is specified, the Chronometer will simply display
3704             "MM:SS" or "H:MM:SS". -->
3705        <attr name="format" format="string" localization="suggested" />
3706        <!-- Specifies whether this Chronometer counts down or counts up from the base.
3707              If not specified this is false and the Chronometer counts up. -->
3708        <attr name="countDown" format="boolean" />
3709    </declare-styleable>
3710    <declare-styleable name="CompoundButton">
3711        <!-- Indicates the initial checked state of this button. -->
3712        <attr name="checked" format="boolean" />
3713        <!-- Drawable used for the button graphic (for example, checkbox and radio button). -->
3714        <attr name="button" format="reference" />
3715        <!-- Tint to apply to the button graphic. -->
3716        <attr name="buttonTint" format="color" />
3717        <!-- Blending mode used to apply the button graphic tint. -->
3718        <attr name="buttonTintMode">
3719            <!-- The tint is drawn on top of the drawable.
3720                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3721            <enum name="src_over" value="3" />
3722            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3723                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3724            <enum name="src_in" value="5" />
3725            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3726                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3727            <enum name="src_atop" value="9" />
3728            <!-- Multiplies the color and alpha channels of the drawable with those of
3729                 the tint. [Sa * Da, Sc * Dc] -->
3730            <enum name="multiply" value="14" />
3731            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3732            <enum name="screen" value="15" />
3733            <!-- Combines the tint and drawable color and alpha channels, clamping the
3734                 result to valid color values. Saturate(S + D) -->
3735            <enum name="add" value="16" />
3736        </attr>
3737    </declare-styleable>
3738    <declare-styleable name="CheckedTextView">
3739        <!-- Indicates the initial checked state of this text. -->
3740        <attr name="checked" />
3741        <!-- Drawable used for the check mark graphic. -->
3742        <attr name="checkMark" format="reference"/>
3743        <!-- Tint to apply to the check mark. -->
3744        <attr name="checkMarkTint" format="color" />
3745        <!-- Blending mode used to apply the check mark tint. -->
3746        <attr name="checkMarkTintMode">
3747            <!-- The tint is drawn on top of the drawable.
3748                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3749            <enum name="src_over" value="3" />
3750            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3751                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3752            <enum name="src_in" value="5" />
3753            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3754                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3755            <enum name="src_atop" value="9" />
3756            <!-- Multiplies the color and alpha channels of the drawable with those of
3757                 the tint. [Sa * Da, Sc * Dc] -->
3758            <enum name="multiply" value="14" />
3759            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3760            <enum name="screen" value="15" />
3761            <!-- Combines the tint and drawable color and alpha channels, clamping the
3762                 result to valid color values. Saturate(S + D) -->
3763            <enum name="add" value="16" />
3764        </attr>
3765        <!-- Gravity for aligning a CheckedTextView's checkmark to one side or the other. -->
3766        <attr name="checkMarkGravity">
3767            <!-- Push object to the left of its container, not changing its size. -->
3768            <flag name="left" value="0x03" />
3769            <!-- Push object to the right of its container, not changing its size. -->
3770            <flag name="right" value="0x05" />
3771            <!-- Push object to the beginning of its container, not changing its size. -->
3772            <flag name="start" value="0x00800003" />
3773            <!-- Push object to the end of its container, not changing its size. -->
3774            <flag name="end" value="0x00800005" />
3775        </attr>
3776    </declare-styleable>
3777    <declare-styleable name="EditText">
3778    </declare-styleable>
3779    <declare-styleable name="FastScroll">
3780        <!-- Drawable used for the scroll bar thumb. -->
3781        <attr name="thumbDrawable" format="reference" />
3782        <!-- Minimum width of the thumb. -->
3783        <attr name="thumbMinWidth" format="dimension" />
3784        <!-- Minimum height of the thumb. -->
3785        <attr name="thumbMinHeight" format="dimension" />
3786        <!-- Drawable used for the scroll bar track. -->
3787        <attr name="trackDrawable" format="reference" />
3788        <!-- Drawable used for the section header preview when right-aligned. -->
3789        <attr name="backgroundRight" format="reference" />
3790        <!-- Drawable used for the section header preview when left-aligned. -->
3791        <attr name="backgroundLeft" format="reference" />
3792        <!-- Position of section header preview. -->
3793        <attr name="position">
3794            <!-- Floating at the top of the content. -->
3795            <enum name="floating" value="0" />
3796            <!-- Pinned to the thumb, vertically centered with the middle of the thumb. -->
3797            <enum name="atThumb" value="1" />
3798            <!-- Pinned to the thumb, vertically centered with the top edge of the thumb. -->
3799            <enum name="aboveThumb" value="2" />
3800        </attr>
3801        <attr name="textAppearance" />
3802        <attr name="textColor" />
3803        <attr name="textSize" />
3804        <!-- Minimum width of the section header preview. -->
3805        <attr name="minWidth" />
3806        <!-- Minimum height of the section header preview. -->
3807        <attr name="minHeight" />
3808        <!-- Padding for the section header preview. -->
3809        <attr name="padding" />
3810        <!-- Position of thumb in relation to the track. -->
3811        <attr name="thumbPosition">
3812            <!-- The thumb's midpoint is anchored to the track. At its
3813                 extremes, the thumb will extend half-way outside the
3814                 track. -->
3815            <enum name="midpoint" value="0" />
3816            <!-- The thumb is entirely inside the track. At its extremes,
3817                 the thumb will be contained entirely within the track. -->
3818            <enum name="inside" value="1" />
3819        </attr>
3820    </declare-styleable>
3821    <declare-styleable name="FrameLayout">
3822        <!-- Determines whether to measure all children or just those in
3823             the VISIBLE or INVISIBLE state when measuring. Defaults to false. -->
3824        <attr name="measureAllChildren" format="boolean" />
3825    </declare-styleable>
3826    <declare-styleable name="ExpandableListView">
3827        <!-- Indicator shown beside the group View. This can be a stateful Drawable. -->
3828        <attr name="groupIndicator" format="reference" />
3829        <!-- Indicator shown beside the child View. This can be a stateful Drawable. -->
3830        <attr name="childIndicator" format="reference" />
3831        <!-- The left bound for an item's indicator. To specify a left bound specific to children,
3832             use childIndicatorLeft. -->
3833        <attr name="indicatorLeft" format="dimension" />
3834        <!-- The right bound for an item's indicator. To specify a right bound specific to children,
3835             use childIndicatorRight. -->
3836        <attr name="indicatorRight" format="dimension" />
3837        <!-- The left bound for a child's indicator. -->
3838        <attr name="childIndicatorLeft" format="dimension" />
3839        <!-- The right bound for a child's indicator. -->
3840        <attr name="childIndicatorRight" format="dimension" />
3841        <!-- Drawable or color that is used as a divider for children. (It will drawn
3842             below and above child items.) The height of this will be the same as
3843             the height of the normal list item divider. -->
3844        <attr name="childDivider" format="reference|color" />
3845        <!-- The start bound for an item's indicator. To specify a start bound specific to children,
3846             use childIndicatorStart. -->
3847        <attr name="indicatorStart" format="dimension" />
3848        <!-- The end bound for an item's indicator. To specify a right bound specific to children,
3849             use childIndicatorEnd. -->
3850        <attr name="indicatorEnd" format="dimension" />
3851        <!-- The start bound for a child's indicator. -->
3852        <attr name="childIndicatorStart" format="dimension" />
3853        <!-- The end bound for a child's indicator. -->
3854        <attr name="childIndicatorEnd" format="dimension" />
3855    </declare-styleable>
3856    <declare-styleable name="Gallery">
3857        <attr name="gravity" />
3858        <!-- Sets how long a transition animation should run (in milliseconds)
3859             when layout has changed.  Only relevant if animation is turned on. -->
3860        <attr name="animationDuration" format="integer" min="0" />
3861        <attr name="spacing" format="dimension" />
3862        <!-- Sets the alpha on the items that are not selected. -->
3863        <attr name="unselectedAlpha" format="float" />
3864    </declare-styleable>
3865    <declare-styleable name="GridView">
3866        <!-- Defines the default horizontal spacing between columns. -->
3867        <attr name="horizontalSpacing" format="dimension" />
3868        <!-- Defines the default vertical spacing between rows. -->
3869        <attr name="verticalSpacing" format="dimension" />
3870        <!-- Defines how columns should stretch to fill the available empty space, if any. -->
3871        <attr name="stretchMode">
3872            <!-- Stretching is disabled. -->
3873            <enum name="none" value="0"/>
3874            <!-- The spacing between each column is stretched. -->
3875            <enum name="spacingWidth" value="1" />
3876            <!-- Each column is stretched equally. -->
3877            <enum name="columnWidth" value="2" />
3878            <!-- The spacing between each column is uniformly stretched.. -->
3879            <enum name="spacingWidthUniform" value="3" />
3880        </attr>
3881        <!-- Specifies the fixed width for each column. -->
3882        <attr name="columnWidth" format="dimension" />
3883        <!-- Defines how many columns to show. -->
3884        <attr name="numColumns" format="integer" min="0">
3885            <!-- Display as many columns as possible to fill the available space. -->
3886            <enum name="auto_fit" value="-1" />
3887        </attr>
3888        <!-- Specifies the gravity within each cell. -->
3889        <attr name="gravity" />
3890    </declare-styleable>
3891    <declare-styleable name="ImageSwitcher">
3892    </declare-styleable>
3893    <declare-styleable name="ImageView">
3894        <!-- Sets a drawable as the content of this ImageView. -->
3895        <attr name="src" format="reference|color" />
3896        <!-- Controls how the image should be resized or moved to match the size
3897             of this ImageView.  See {@link android.widget.ImageView.ScaleType} -->
3898        <attr name="scaleType">
3899            <!-- Scale using the image matrix when drawing. See
3900                 {@link android.widget.ImageView#setImageMatrix(Matrix)}. -->
3901            <enum name="matrix" value="0" />
3902            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#FILL}. -->
3903            <enum name="fitXY" value="1" />
3904            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#START}. -->
3905            <enum name="fitStart" value="2" />
3906            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#CENTER}. -->
3907            <enum name="fitCenter" value="3" />
3908            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#END}. -->
3909            <enum name="fitEnd" value="4" />
3910            <!-- Center the image in the view, but perform no scaling. -->
3911            <enum name="center" value="5" />
3912            <!-- Scale the image uniformly (maintain the image's aspect ratio) so both dimensions
3913                 (width and height) of the image will be equal to or larger than the corresponding
3914                 dimension of the view (minus padding). The image is then centered in the view. -->
3915            <enum name="centerCrop" value="6" />
3916            <!-- Scale the image uniformly (maintain the image's aspect ratio) so that both
3917                 dimensions (width and height) of the image will be equal to or less than the
3918                 corresponding dimension of the view (minus padding). The image is then centered in
3919                 the view. -->
3920            <enum name="centerInside" value="7" />
3921        </attr>
3922        <!-- Set this to true if you want the ImageView to adjust its bounds
3923             to preserve the aspect ratio of its drawable. -->
3924        <attr name="adjustViewBounds" format="boolean" />
3925        <!-- An optional argument to supply a maximum width for this view.
3926             See {see android.widget.ImageView#setMaxWidth} for details. -->
3927        <attr name="maxWidth" format="dimension" />
3928        <!-- An optional argument to supply a maximum height for this view.
3929             See {see android.widget.ImageView#setMaxHeight} for details. -->
3930        <attr name="maxHeight" format="dimension" />
3931        <!-- The tinting color for the image. By default, the tint will blend using SRC_ATOP mode.
3932             Please note that for compatibility reasons, this is NOT consistent with the default
3933             SRC_IN tint mode used by {@link android.widget.ImageView#setImageTintList} and by
3934             similar tint attributes on other views. -->
3935        <attr name="tint" format="color" />
3936        <!-- If true, the image view will be baseline aligned with based on its
3937             bottom edge. -->
3938        <attr name="baselineAlignBottom" format="boolean" />
3939         <!-- If true, the image will be cropped to fit within its padding. -->
3940        <attr name="cropToPadding" format="boolean" />
3941        <!-- The offset of the baseline within this view. See {see android.view.View#getBaseline}
3942             for details -->
3943        <attr name="baseline" format="dimension" />
3944        <!-- @hide The alpha value (0-255) set on the ImageView's drawable. Equivalent
3945             to calling ImageView.setAlpha(int), not the same as View.setAlpha(float). -->
3946        <attr name="drawableAlpha" format="integer" />
3947        <!-- Blending mode used to apply the image tint. -->
3948        <attr name="tintMode" />
3949    </declare-styleable>
3950    <declare-styleable name="ToggleButton">
3951        <!-- The text for the button when it is checked. -->
3952        <attr name="textOn" format="string" />
3953        <!-- The text for the button when it is not checked. -->
3954        <attr name="textOff" format="string" />
3955        <!-- The alpha to apply to the indicator when disabled. -->
3956        <attr name="disabledAlpha" />
3957    </declare-styleable>
3958    <declare-styleable name="RelativeLayout">
3959        <attr name="gravity" />
3960        <!-- Indicates what view should not be affected by gravity. -->
3961        <attr name="ignoreGravity" format="reference" />
3962    </declare-styleable>
3963    <declare-styleable name="LinearLayout">
3964        <!-- Should the layout be a column or a row?  Use "horizontal"
3965             for a row, "vertical" for a column.  The default is
3966             horizontal. -->
3967        <attr name="orientation" />
3968        <attr name="gravity" />
3969        <!-- When set to false, prevents the layout from aligning its children's
3970             baselines. This attribute is particularly useful when the children
3971             use different values for gravity. The default value is true. -->
3972        <attr name="baselineAligned" format="boolean" />
3973        <!-- When a linear layout is part of another layout that is baseline
3974          aligned, it can specify which of its children to baseline align to
3975          (that is, which child TextView).-->
3976        <attr name="baselineAlignedChildIndex" format="integer" min="0"/>
3977        <!-- Defines the maximum weight sum. If unspecified, the sum is computed
3978             by adding the layout_weight of all of the children. This can be
3979             used for instance to give a single child 50% of the total available
3980             space by giving it a layout_weight of 0.5 and setting the weightSum
3981             to 1.0. -->
3982        <attr name="weightSum" format="float" />
3983        <!-- When set to true, all children with a weight will be considered having
3984             the minimum size of the largest child. If false, all children are
3985             measured normally. -->
3986        <attr name="measureWithLargestChild" format="boolean" />
3987        <!-- Drawable to use as a vertical divider between buttons. -->
3988        <attr name="divider" />
3989        <!-- Setting for which dividers to show. -->
3990        <attr name="showDividers">
3991            <flag name="none" value="0" />
3992            <flag name="beginning" value="1" />
3993            <flag name="middle" value="2" />
3994            <flag name="end" value="4" />
3995        </attr>
3996        <!-- Size of padding on either end of a divider. -->
3997        <attr name="dividerPadding" format="dimension" />
3998    </declare-styleable>
3999    <declare-styleable name="GridLayout">
4000        <!-- The orientation property is not used during layout. It is only used to
4001        allocate row and column parameters when they are not specified by its children's
4002        layout paramters. GridLayout works like LinearLayout in this case;
4003        putting all the components either in a single row or in a single column -
4004        depending on the value of this flag. In the horizontal case, a columnCount
4005        property may be additionally supplied to force new rows to be created when a
4006        row is full. The rowCount attribute may be used similarly in the vertical case.
4007        The default is horizontal. -->
4008        <attr name="orientation" />
4009        <!-- The maxmimum number of rows to create when automatically positioning children. -->
4010        <attr name="rowCount" format="integer" />
4011        <!-- The maxmimum number of columns to create when automatically positioning children. -->
4012        <attr name="columnCount" format="integer" />
4013        <!-- When set to true, tells GridLayout to use default margins when none are specified
4014        in a view's layout parameters.
4015        The default value is false.
4016        See {@link android.widget.GridLayout#setUseDefaultMargins(boolean)}.-->
4017        <attr name="useDefaultMargins" format="boolean" />
4018        <!-- When set to alignMargins, causes alignment to take place between the outer
4019        boundary of a view, as defined by its margins. When set to alignBounds,
4020        causes alignment to take place between the edges of the view.
4021        The default is alignMargins.
4022        See {@link android.widget.GridLayout#setAlignmentMode(int)}.-->
4023        <attr name="alignmentMode" />
4024        <!-- When set to true, forces row boundaries to appear in the same order
4025        as row indices.
4026        The default is true.
4027        See {@link android.widget.GridLayout#setRowOrderPreserved(boolean)}.-->
4028        <attr name="rowOrderPreserved" format="boolean" />
4029        <!-- When set to true, forces column boundaries to appear in the same order
4030        as column indices.
4031        The default is true.
4032        See {@link android.widget.GridLayout#setColumnOrderPreserved(boolean)}.-->
4033        <attr name="columnOrderPreserved" format="boolean" />
4034    </declare-styleable>
4035    <declare-styleable name="ListView">
4036        <!-- Reference to an array resource that will populate the ListView.  For static content,
4037             this is simpler than populating the ListView programmatically. -->
4038        <attr name="entries" />
4039        <!-- Drawable or color to draw between list items. -->
4040        <attr name="divider" format="reference|color" />
4041        <!-- Height of the divider. Will use the intrinsic height of the divider if this
4042             is not specified. -->
4043        <attr name="dividerHeight" format="dimension" />
4044        <!-- When set to false, the ListView will not draw the divider after each header view.
4045             The default value is true. -->
4046        <attr name="headerDividersEnabled" format="boolean" />
4047        <!-- When set to false, the ListView will not draw the divider before each footer view.
4048             The default value is true. -->
4049        <attr name="footerDividersEnabled" format="boolean" />
4050        <!-- Drawable to draw above list content. -->
4051        <attr name="overScrollHeader" format="reference|color" />
4052        <!-- Drawable to draw below list content. -->
4053        <attr name="overScrollFooter" format="reference|color" />
4054    </declare-styleable>
4055    <declare-styleable name="PreferenceFrameLayout">
4056        <!-- Padding to use at the top of the prefs content. -->
4057        <attr name="borderTop" format="dimension" />
4058        <!-- Padding to use at the bottom of the prefs content. -->
4059        <attr name="borderBottom" format="dimension" />
4060        <!-- Padding to use at the left of the prefs content. -->
4061        <attr name="borderLeft" format="dimension" />
4062        <!-- Padding to use at the right of the prefs content. -->
4063        <attr name="borderRight" format="dimension" />
4064    </declare-styleable>
4065    <declare-styleable name="PreferenceFrameLayout_Layout">
4066        <!-- Padding to use at the top of the prefs content. -->
4067        <attr name="layout_removeBorders" format="boolean" />
4068    </declare-styleable>
4069    <declare-styleable name="MenuView">
4070        <!-- Default appearance of menu item text. -->
4071        <attr name="itemTextAppearance" format="reference" />
4072        <!-- Default horizontal divider between rows of menu items. -->
4073        <attr name="horizontalDivider" format="reference" />
4074        <!-- Default vertical divider between menu items. -->
4075        <attr name="verticalDivider" format="reference" />
4076        <!-- Default background for the menu header. -->
4077        <attr name="headerBackground" format="color|reference" />
4078        <!-- Default background for each menu item. -->
4079        <attr name="itemBackground" format="color|reference" />
4080        <!-- Default animations for the menu. -->
4081        <attr name="windowAnimationStyle" />
4082        <!-- Default disabled icon alpha for each menu item that shows an icon. -->
4083        <attr name="itemIconDisabledAlpha" format="float" />
4084        <!-- Whether space should be reserved in layout when an icon is missing. -->
4085        <attr name="preserveIconSpacing" format="boolean" />
4086        <!-- Drawable for the arrow icon indicating a particular item is a submenu. -->
4087        <attr name="subMenuArrow" format="reference" />
4088    </declare-styleable>
4089    <declare-styleable name="IconMenuView">
4090        <!-- Defines the height of each row. -->
4091        <attr name="rowHeight" format="dimension" />
4092        <!-- Defines the maximum number of rows displayed. -->
4093        <attr name="maxRows" format="integer" />
4094        <!-- Defines the maximum number of items per row. -->
4095        <attr name="maxItemsPerRow" format="integer" />
4096        <!-- Defines the maximum number of items to show. -->
4097        <attr name="maxItems" format="integer" />
4098        <!-- 'More' icon. -->
4099        <attr name="moreIcon" format="reference" />
4100    </declare-styleable>
4101
4102    <declare-styleable name="ProgressBar">
4103        <attr name="min" format="integer" />
4104        <!-- Defines the maximum value the progress can take. -->
4105        <attr name="max" format="integer" />
4106        <!-- Defines the default progress value, between 0 and max. -->
4107        <attr name="progress" format="integer" />
4108        <!-- Defines the secondary progress value, between 0 and max. This progress is drawn between
4109             the primary progress and the background.  It can be ideal for media scenarios such as
4110             showing the buffering progress while the default progress shows the play progress. -->
4111        <attr name="secondaryProgress" format="integer" />
4112        <!-- Allows to enable the indeterminate mode. In this mode the progress
4113         bar plays an infinite looping animation. -->
4114        <attr name="indeterminate" format="boolean" />
4115        <!-- Restricts to ONLY indeterminate mode (state-keeping progress mode will not work). -->
4116        <attr name="indeterminateOnly" format="boolean" />
4117        <!-- Drawable used for the indeterminate mode. -->
4118        <attr name="indeterminateDrawable" format="reference" />
4119        <!-- Drawable used for the progress mode. -->
4120        <attr name="progressDrawable" format="reference" />
4121        <!-- Duration of the indeterminate animation. -->
4122        <attr name="indeterminateDuration" format="integer" min="1" />
4123        <!-- Defines how the indeterminate mode should behave when the progress
4124        reaches max. -->
4125        <attr name="indeterminateBehavior">
4126            <!-- Progress starts over from 0. -->
4127            <enum name="repeat" value="1" />
4128            <!-- Progress keeps the current value and goes back to 0. -->
4129            <enum name="cycle" value="2" />
4130        </attr>
4131        <attr name="minWidth" format="dimension" />
4132        <attr name="maxWidth" />
4133        <attr name="minHeight" format="dimension" />
4134        <attr name="maxHeight" />
4135        <attr name="interpolator" format="reference" />
4136        <!-- Timeout between frames of animation in milliseconds.
4137             {@deprecated Not used by the framework}. -->
4138        <attr name="animationResolution" format="integer" />
4139        <!-- Defines if the associated drawables need to be mirrored when in RTL mode.
4140             Default is false. -->
4141        <attr name="mirrorForRtl" format="boolean" />
4142        <!-- Tint to apply to the progress indicator. -->
4143        <attr name="progressTint" format="color" />
4144        <!-- Blending mode used to apply the progress indicator tint. -->
4145        <attr name="progressTintMode">
4146            <!-- The tint is drawn on top of the drawable.
4147                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4148            <enum name="src_over" value="3" />
4149            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4150                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4151            <enum name="src_in" value="5" />
4152            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4153                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4154            <enum name="src_atop" value="9" />
4155            <!-- Multiplies the color and alpha channels of the drawable with those of
4156                 the tint. [Sa * Da, Sc * Dc] -->
4157            <enum name="multiply" value="14" />
4158            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4159            <enum name="screen" value="15" />
4160            <!-- Combines the tint and drawable color and alpha channels, clamping the
4161                 result to valid color values. Saturate(S + D) -->
4162            <enum name="add" value="16" />
4163        </attr>
4164        <!-- Tint to apply to the progress indicator background. -->
4165        <attr name="progressBackgroundTint" format="color" />
4166        <!-- Blending mode used to apply the progress indicator background tint. -->
4167        <attr name="progressBackgroundTintMode">
4168            <!-- The tint is drawn on top of the drawable.
4169                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4170            <enum name="src_over" value="3" />
4171            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4172                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4173            <enum name="src_in" value="5" />
4174            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4175                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4176            <enum name="src_atop" value="9" />
4177            <!-- Multiplies the color and alpha channels of the drawable with those of
4178                 the tint. [Sa * Da, Sc * Dc] -->
4179            <enum name="multiply" value="14" />
4180            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4181            <enum name="screen" value="15" />
4182            <!-- Combines the tint and drawable color and alpha channels, clamping the
4183                 result to valid color values. Saturate(S + D) -->
4184            <enum name="add" value="16" />
4185        </attr>
4186        <!-- Tint to apply to the secondary progress indicator. -->
4187        <attr name="secondaryProgressTint" format="color" />
4188        <!-- Blending mode used to apply the secondary progress indicator tint. -->
4189        <attr name="secondaryProgressTintMode">
4190            <!-- The tint is drawn on top of the drawable.
4191                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4192            <enum name="src_over" value="3" />
4193            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4194                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4195            <enum name="src_in" value="5" />
4196            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4197                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4198            <enum name="src_atop" value="9" />
4199            <!-- Multiplies the color and alpha channels of the drawable with those of
4200                 the tint. [Sa * Da, Sc * Dc] -->
4201            <enum name="multiply" value="14" />
4202            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4203            <enum name="screen" value="15" />
4204            <!-- Combines the tint and drawable color and alpha channels, clamping the
4205                 result to valid color values. Saturate(S + D) -->
4206            <enum name="add" value="16" />
4207        </attr>
4208        <!-- Tint to apply to the indeterminate progress indicator. -->
4209        <attr name="indeterminateTint" format="color" />
4210        <!-- Blending mode used to apply the indeterminate progress indicator tint. -->
4211        <attr name="indeterminateTintMode">
4212            <!-- The tint is drawn on top of the drawable.
4213                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4214            <enum name="src_over" value="3" />
4215            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4216                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4217            <enum name="src_in" value="5" />
4218            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4219                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4220            <enum name="src_atop" value="9" />
4221            <!-- Multiplies the color and alpha channels of the drawable with those of
4222                 the tint. [Sa * Da, Sc * Dc] -->
4223            <enum name="multiply" value="14" />
4224            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4225            <enum name="screen" value="15" />
4226            <!-- Combines the tint and drawable color and alpha channels, clamping the
4227                 result to valid color values. Saturate(S + D) -->
4228            <enum name="add" value="16" />
4229        </attr>
4230        <!-- Tint to apply to the background. -->
4231        <attr name="backgroundTint" />
4232        <!-- Blending mode used to apply the background tint. -->
4233        <attr name="backgroundTintMode" />
4234    </declare-styleable>
4235
4236    <declare-styleable name="SeekBar">
4237        <!-- Draws the thumb on a seekbar. -->
4238        <attr name="thumb" format="reference" />
4239        <!-- An offset for the thumb that allows it to extend out of the range of the track. -->
4240        <attr name="thumbOffset" format="dimension" />
4241        <!-- Whether to split the track and leave a gap for the thumb drawable. -->
4242        <attr name="splitTrack" format="boolean" />
4243        <!-- Whether to force the track's alpha to ?android:attr/disabledAlpha
4244             when disabled. This is required for Holo and Gingerbread, but
4245             should always be false for Material and  beyond.
4246             @hide Developers shouldn't need to change this. -->
4247        <attr name="useDisabledAlpha" format="boolean" />
4248        <!-- Tint to apply to the thumb drawable. -->
4249        <attr name="thumbTint" format="color" />
4250        <!-- Blending mode used to apply the thumb tint. -->
4251        <attr name="thumbTintMode">
4252            <!-- The tint is drawn on top of the drawable.
4253                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4254            <enum name="src_over" value="3" />
4255            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4256                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4257            <enum name="src_in" value="5" />
4258            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4259                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4260            <enum name="src_atop" value="9" />
4261            <!-- Multiplies the color and alpha channels of the drawable with those of
4262                 the tint. [Sa * Da, Sc * Dc] -->
4263            <enum name="multiply" value="14" />
4264            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4265            <enum name="screen" value="15" />
4266            <!-- Combines the tint and drawable color and alpha channels, clamping the
4267                 result to valid color values. Saturate(S + D) -->
4268            <enum name="add" value="16" />
4269        </attr>
4270        <!-- Drawable displayed at each progress position on a seekbar. -->
4271        <attr name="tickMark" format="reference" />
4272        <!-- Tint to apply to the tick mark drawable. -->
4273        <attr name="tickMarkTint" format="color" />
4274        <!-- Blending mode used to apply the tick mark tint. -->
4275        <attr name="tickMarkTintMode">
4276            <!-- The tint is drawn on top of the drawable.
4277                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4278            <enum name="src_over" value="3" />
4279            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4280                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4281            <enum name="src_in" value="5" />
4282            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4283                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4284            <enum name="src_atop" value="9" />
4285            <!-- Multiplies the color and alpha channels of the drawable with those of
4286                 the tint. [Sa * Da, Sc * Dc] -->
4287            <enum name="multiply" value="14" />
4288            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4289            <enum name="screen" value="15" />
4290            <!-- Combines the tint and drawable color and alpha channels, clamping the
4291                 result to valid color values. Saturate(S + D) -->
4292            <enum name="add" value="16" />
4293        </attr>
4294    </declare-styleable>
4295
4296    <declare-styleable name="StackView">
4297        <!-- Color of the res-out outline. -->
4298        <attr name="resOutColor" format="color" />
4299        <!-- Color of the outline of click feedback. -->
4300        <attr name="clickColor" format="color" />
4301    </declare-styleable>
4302
4303    <declare-styleable name="RatingBar">
4304        <!-- The number of stars (or rating items) to show. -->
4305        <attr name="numStars" format="integer" />
4306        <!-- The rating to set by default. -->
4307        <attr name="rating" format="float" />
4308        <!-- The step size of the rating. -->
4309        <attr name="stepSize" format="float" />
4310        <!-- Whether this rating bar is an indicator (and non-changeable by the user). -->
4311        <attr name="isIndicator" format="boolean" />
4312    </declare-styleable>
4313
4314    <declare-styleable name="RadioGroup">
4315        <!-- The id of the child radio button that should be checked by default
4316             within this radio group. -->
4317        <attr name="checkedButton" format="integer" />
4318        <!-- Should the radio group be a column or a row?  Use "horizontal"
4319             for a row, "vertical" for a column.  The default is
4320             vertical. -->
4321        <attr name="orientation" />
4322    </declare-styleable>
4323    <declare-styleable name="TableLayout">
4324        <!-- The zero-based index of the columns to stretch. The column indices
4325             must be separated by a comma: 1, 2, 5. Illegal and duplicate
4326             indices are ignored. You can stretch all columns by using the
4327             value "*" instead. Note that a column can be marked stretchable
4328             and shrinkable at the same time. -->
4329        <attr name="stretchColumns" format="string" />
4330       <!-- The zero-based index of the columns to shrink. The column indices
4331             must be separated by a comma: 1, 2, 5. Illegal and duplicate
4332             indices are ignored. You can shrink all columns by using the
4333             value "*" instead. Note that a column can be marked stretchable
4334             and shrinkable at the same time. -->
4335        <attr name="shrinkColumns" format="string" />
4336        <!-- The zero-based index of the columns to collapse. The column indices
4337             must be separated by a comma: 1, 2, 5. Illegal and duplicate
4338             indices are ignored. -->
4339        <attr name="collapseColumns" format="string" />
4340    </declare-styleable>
4341    <declare-styleable name="TableRow">
4342
4343    </declare-styleable>
4344    <declare-styleable name="TableRow_Cell">
4345        <!-- The index of the column in which this child should be. -->
4346        <attr name="layout_column" format="integer" />
4347        <!-- Defines how many columns this child should span.  Must be >= 1.-->
4348        <attr name="layout_span" format="integer" />
4349    </declare-styleable>
4350    <declare-styleable name="TabWidget">
4351        <!-- Drawable used to draw the divider between tabs. -->
4352        <attr name="divider" />
4353        <!-- Determines whether the strip under the tab indicators is drawn or not. -->
4354        <attr name="tabStripEnabled" format="boolean" />
4355        <!-- Drawable used to draw the left part of the strip underneath the tabs. -->
4356        <attr name="tabStripLeft" format="reference" />
4357        <!-- Drawable used to draw the right part of the strip underneath the tabs. -->
4358        <attr name="tabStripRight" format="reference" />
4359        <!-- Layout used to organize each tab's content. -->
4360        <attr name="tabLayout" format="reference" />
4361    </declare-styleable>
4362    <declare-styleable name="TextAppearance">
4363        <!-- Text color. -->
4364        <attr name="textColor" />
4365        <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
4366        <attr name="textSize" />
4367        <!-- Style (bold, italic, bolditalic) for the text. -->
4368        <attr name="textStyle" />
4369        <!-- Typeface (normal, sans, serif, monospace) for the text. -->
4370        <attr name="typeface" />
4371        <!-- Font family (named by string) for the text. -->
4372        <attr name="fontFamily" />
4373        <!-- Color of the text selection highlight. -->
4374        <attr name="textColorHighlight" />
4375        <!-- Color of the hint text. -->
4376        <attr name="textColorHint" />
4377        <!-- Color of the links. -->
4378        <attr name="textColorLink" />
4379        <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
4380        <attr name="textAllCaps" format="boolean" />
4381        <!-- Place a blurred shadow of text underneath the text, drawn with the
4382             specified color. The text shadow produced does not interact with
4383             properties on View that are responsible for real time shadows,
4384             {@link android.R.styleable#View_elevation elevation} and
4385             {@link android.R.styleable#View_translationZ translationZ}. -->
4386        <attr name="shadowColor" format="color" />
4387        <!-- Horizontal offset of the text shadow. -->
4388        <attr name="shadowDx" format="float" />
4389        <!-- Vertical offset of the text shadow. -->
4390        <attr name="shadowDy" format="float" />
4391        <!-- Blur radius of the text shadow. -->
4392        <attr name="shadowRadius" format="float" />
4393        <!-- Elegant text height, especially for less compacted complex script text. -->
4394        <attr name="elegantTextHeight" format="boolean" />
4395        <!-- Text letter-spacing. -->
4396        <attr name="letterSpacing" format="float" />
4397        <!-- Font feature settings. -->
4398        <attr name="fontFeatureSettings" format="string" />
4399    </declare-styleable>
4400    <declare-styleable name="TextClock">
4401        <!-- Specifies the formatting pattern used to show the time and/or date
4402             in 12-hour mode. Please refer to {@link android.text.format.DateFormat}
4403             for a complete description of accepted formatting patterns.
4404             The default pattern is a locale-appropriate equivalent of "h:mm a". -->
4405        <attr name="format12Hour" format="string"/>
4406        <!-- Specifies the formatting pattern used to show the time and/or date
4407             in 24-hour mode. Please refer to {@link android.text.format.DateFormat}
4408             for a complete description of accepted formatting patterns.
4409             The default pattern is a locale-appropriate equivalent of "H:mm". -->
4410        <attr name="format24Hour" format="string"/>
4411        <!-- Specifies the time zone to use. When this attribute is specified, the
4412             TextClock will ignore the time zone of the system. To use the user's
4413             time zone, do not specify this attribute. The default value is the
4414             user's time zone. Please refer to {@link java.util.TimeZone} for more
4415             information about time zone ids. -->
4416        <attr name="timeZone" format="string"/>
4417    </declare-styleable>
4418    <declare-styleable name="TextSwitcher">
4419    </declare-styleable>
4420    <declare-styleable name="TextView">
4421        <!-- Determines the minimum type that getText() will return.
4422             The default is "normal".
4423             Note that EditText and LogTextBox always return Editable,
4424             even if you specify something less powerful here. -->
4425        <attr name="bufferType">
4426            <!-- Can return any CharSequence, possibly a
4427             Spanned one if the source text was Spanned. -->
4428            <enum name="normal" value="0" />
4429            <!-- Can only return Spannable. -->
4430            <enum name="spannable" value="1" />
4431            <!-- Can only return Spannable and Editable. -->
4432            <enum name="editable" value="2" />
4433        </attr>
4434        <!-- Text to display. -->
4435        <attr name="text" format="string" localization="suggested" />
4436        <!-- Hint text to display when the text is empty. -->
4437        <attr name="hint" format="string" />
4438        <!-- Text color. -->
4439        <attr name="textColor" />
4440        <!-- Color of the text selection highlight. -->
4441        <attr name="textColorHighlight" />
4442        <!-- Color of the hint text. -->
4443        <attr name="textColorHint" />
4444        <!-- Base text color, typeface, size, and style. -->
4445        <attr name="textAppearance" />
4446        <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
4447        <attr name="textSize" />
4448        <!-- Sets the horizontal scaling factor for the text. -->
4449        <attr name="textScaleX" format="float" />
4450        <!-- Typeface (normal, sans, serif, monospace) for the text. -->
4451        <attr name="typeface" />
4452        <!-- Style (bold, italic, bolditalic) for the text. -->
4453        <attr name="textStyle" />
4454        <!-- Font family (named by string) for the text. -->
4455        <attr name="fontFamily" />
4456        <!-- Text color for links. -->
4457        <attr name="textColorLink" />
4458        <!-- Makes the cursor visible (the default) or invisible. -->
4459        <attr name="cursorVisible" format="boolean" />
4460        <!-- Makes the TextView be at most this many lines tall.
4461
4462        When used on an editable text, the <code>inputType</code> attribute's value must be
4463        combined with the <code>textMultiLine</code> flag for the maxLines attribute to apply. -->
4464        <attr name="maxLines" format="integer" min="0" />
4465        <!-- Makes the TextView be at most this many pixels tall. -->
4466        <attr name="maxHeight" />
4467        <!-- Makes the TextView be exactly this many lines tall. -->
4468        <attr name="lines" format="integer" min="0" />
4469        <!-- Makes the TextView be exactly this many pixels tall.
4470             You could get the same effect by specifying this number in the
4471             layout parameters. -->
4472        <attr name="height" format="dimension" />
4473        <!-- Makes the TextView be at least this many lines tall.
4474
4475        When used on an editable text, the <code>inputType</code> attribute's value must be
4476        combined with the <code>textMultiLine</code> flag for the minLines attribute to apply. -->
4477        <attr name="minLines" format="integer" min="0" />
4478        <!-- Makes the TextView be at least this many pixels tall. -->
4479        <attr name="minHeight" />
4480        <!-- Makes the TextView be at most this many ems wide. -->
4481        <attr name="maxEms" format="integer" min="0" />
4482        <!-- Makes the TextView be at most this many pixels wide. -->
4483        <attr name="maxWidth" />
4484        <!-- Makes the TextView be exactly this many ems wide. -->
4485        <attr name="ems" format="integer" min="0" />
4486        <!-- Makes the TextView be exactly this many pixels wide.
4487             You could get the same effect by specifying this number in the
4488             layout parameters. -->
4489        <attr name="width" format="dimension" />
4490        <!-- Makes the TextView be at least this many ems wide. -->
4491        <attr name="minEms" format="integer" min="0" />
4492        <!-- Makes the TextView be at least this many pixels wide. -->
4493        <attr name="minWidth" />
4494        <!-- Specifies how to align the text by the view's x- and/or y-axis
4495             when the text is smaller than the view. -->
4496        <attr name="gravity" />
4497        <!-- Whether the text is allowed to be wider than the view (and
4498             therefore can be scrolled horizontally). -->
4499        <attr name="scrollHorizontally" format="boolean" />
4500        <!-- Whether the characters of the field are displayed as
4501             password dots instead of themselves.
4502             {@deprecated Use inputType instead.} -->
4503        <attr name="password" format="boolean" />
4504        <!-- Constrains the text to a single horizontally scrolling line
4505             instead of letting it wrap onto multiple lines, and advances
4506             focus instead of inserting a newline when you press the
4507             enter key.
4508
4509             The default value is false (multi-line wrapped text mode) for non-editable text, but if
4510             you specify any value for inputType, the default is true (single-line input field mode).
4511
4512             {@deprecated This attribute is deprecated. Use <code>maxLines</code> instead to change
4513             the layout of a static text, and use the <code>textMultiLine</code> flag in the
4514             inputType attribute instead for editable text views (if both singleLine and inputType
4515             are supplied, the inputType flags will override the value of singleLine). } -->
4516        <attr name="singleLine" format="boolean" />
4517        <!-- Specifies whether the widget is enabled. The interpretation of the enabled state varies by subclass.
4518             For example, a non-enabled EditText prevents the user from editing the contained text, and
4519             a non-enabled Button prevents the user from tapping the button.
4520             The appearance of enabled and non-enabled widgets may differ, if the drawables referenced
4521             from evaluating state_enabled differ. -->
4522        <attr name="enabled" format="boolean" />
4523        <!-- If the text is selectable, select it all when the view takes
4524             focus. -->
4525        <attr name="selectAllOnFocus" format="boolean" />
4526        <!-- Leave enough room for ascenders and descenders instead of
4527             using the font ascent and descent strictly.  (Normally true). -->
4528        <attr name="includeFontPadding" format="boolean" />
4529        <!-- Set an input filter to constrain the text length to the
4530             specified number. -->
4531        <attr name="maxLength" format="integer" min="0" />
4532        <!-- Place a blurred shadow of text underneath the text, drawn with the
4533             specified color. The text shadow produced does not interact with
4534             properties on View that are responsible for real time shadows,
4535             {@link android.R.styleable#View_elevation elevation} and
4536             {@link android.R.styleable#View_translationZ translationZ}. -->
4537        <attr name="shadowColor" />
4538        <!-- Horizontal offset of the text shadow. -->
4539        <attr name="shadowDx" />
4540        <!-- Vertical offset of the text shadow. -->
4541        <attr name="shadowDy" />
4542        <!-- Blur radius of the text shadow. -->
4543        <attr name="shadowRadius" />
4544        <attr name="autoLink" />
4545        <!-- If set to false, keeps the movement method from being set
4546             to the link movement method even if autoLink causes links
4547             to be found. -->
4548        <attr name="linksClickable" format="boolean" />
4549        <!-- If set, specifies that this TextView has a numeric input method.
4550             The default is false.
4551             {@deprecated Use inputType instead.} -->
4552        <attr name="numeric">
4553            <!-- Input is numeric. -->
4554            <flag name="integer" value="0x01" />
4555            <!-- Input is numeric, with sign allowed. -->
4556            <flag name="signed" value="0x03" />
4557            <!-- Input is numeric, with decimals allowed. -->
4558            <flag name="decimal" value="0x05" />
4559        </attr>
4560        <!-- If set, specifies that this TextView has a numeric input method
4561             and that these specific characters are the ones that it will
4562             accept.
4563             If this is set, numeric is implied to be true.
4564             The default is false. -->
4565        <attr name="digits" format="string" />
4566        <!-- If set, specifies that this TextView has a phone number input
4567             method. The default is false.
4568             {@deprecated Use inputType instead.} -->
4569        <attr name="phoneNumber" format="boolean" />
4570        <!-- If set, specifies that this TextView should use the specified
4571             input method (specified by fully-qualified class name).
4572             {@deprecated Use inputType instead.} -->
4573        <attr name="inputMethod" format="string" />
4574        <!-- If set, specifies that this TextView has a textual input method
4575             and should automatically capitalize what the user types.
4576             The default is "none".
4577             {@deprecated Use inputType instead.} -->
4578        <attr name="capitalize">
4579            <!-- Don't automatically capitalize anything. -->
4580            <enum name="none" value="0" />
4581            <!-- Capitalize the first word of each sentence. -->
4582            <enum name="sentences" value="1" />
4583            <!-- Capitalize the first letter of every word. -->
4584            <enum name="words" value="2" />
4585            <!-- Capitalize every character. -->
4586            <enum name="characters" value="3" />
4587        </attr>
4588        <!-- If set, specifies that this TextView has a textual input method
4589             and automatically corrects some common spelling errors.
4590             The default is "false".
4591             {@deprecated Use inputType instead.} -->
4592        <attr name="autoText" format="boolean" />
4593        <!-- If set, specifies that this TextView has an input method.
4594             It will be a textual one unless it has otherwise been specified.
4595             For TextView, this is false by default.  For EditText, it is
4596             true by default.
4597             {@deprecated Use inputType instead.} -->
4598        <attr name="editable" format="boolean" />
4599        <!-- If set, the text view will include its current complete text
4600             inside of its frozen icicle in addition to meta-data such as
4601             the current cursor position.  By default this is disabled;
4602             it can be useful when the contents of a text view is not stored
4603             in a persistent place such as a content provider. For
4604             {@link android.widget.EditText} it is always enabled, regardless
4605             of the value of the attribute. -->
4606        <attr name="freezesText" format="boolean" />
4607        <!-- If set, causes words that are longer than the view is wide
4608             to be ellipsized instead of broken in the middle.
4609             You will often also want to set scrollHorizontally or singleLine
4610             as well so that the text as a whole is also constrained to
4611             a single line instead of still allowed to be broken onto
4612             multiple lines. -->
4613        <attr name="ellipsize" />
4614        <!-- The drawable to be drawn above the text. -->
4615        <attr name="drawableTop" format="reference|color" />
4616        <!-- The drawable to be drawn below the text. -->
4617        <attr name="drawableBottom" format="reference|color" />
4618        <!-- The drawable to be drawn to the left of the text. -->
4619        <attr name="drawableLeft" format="reference|color" />
4620        <!-- The drawable to be drawn to the right of the text. -->
4621        <attr name="drawableRight" format="reference|color" />
4622        <!-- The drawable to be drawn to the start of the text. -->
4623        <attr name="drawableStart" format="reference|color" />
4624        <!-- The drawable to be drawn to the end of the text. -->
4625        <attr name="drawableEnd" format="reference|color" />
4626        <!-- The padding between the drawables and the text. -->
4627        <attr name="drawablePadding" format="dimension" />
4628        <!-- Tint to apply to the compound (left, top, etc.) drawables. -->
4629        <attr name="drawableTint" format="color" />
4630        <!-- Blending mode used to apply the compound (left, top, etc.) drawables tint. -->
4631        <attr name="drawableTintMode">
4632            <!-- The tint is drawn on top of the drawable.
4633                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4634            <enum name="src_over" value="3" />
4635            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4636                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4637            <enum name="src_in" value="5" />
4638            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4639                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4640            <enum name="src_atop" value="9" />
4641            <!-- Multiplies the color and alpha channels of the drawable with those of
4642                 the tint. [Sa * Da, Sc * Dc] -->
4643            <enum name="multiply" value="14" />
4644            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4645            <enum name="screen" value="15" />
4646            <!-- Combines the tint and drawable color and alpha channels, clamping the
4647                 result to valid color values. Saturate(S + D) -->
4648            <enum name="add" value="16" />
4649        </attr>
4650        <!-- Extra spacing between lines of text. -->
4651        <attr name="lineSpacingExtra" format="dimension" />
4652        <!-- Extra spacing between lines of text, as a multiplier. -->
4653        <attr name="lineSpacingMultiplier" format="float" />
4654        <!-- The number of times to repeat the marquee animation. Only applied if the
4655             TextView has marquee enabled. -->
4656        <attr name="marqueeRepeatLimit" format="integer">
4657            <!-- Indicates that marquee should repeat indefinitely. -->
4658            <enum name="marquee_forever" value="-1" />
4659        </attr>
4660        <attr name="inputType" />
4661        <!-- Whether undo should be allowed for editable text. Defaults to true. -->
4662        <attr name="allowUndo" format="boolean" />
4663        <attr name="imeOptions" />
4664        <!-- An addition content type description to supply to the input
4665             method attached to the text view, which is private to the
4666             implementation of the input method.  This simply fills in
4667             the {@link android.view.inputmethod.EditorInfo#privateImeOptions
4668             EditorInfo.privateImeOptions} field when the input
4669             method is connected. -->
4670        <attr name="privateImeOptions" format="string" />
4671        <!-- Supply a value for
4672             {@link android.view.inputmethod.EditorInfo#actionLabel EditorInfo.actionLabel}
4673             used when an input method is connected to the text view. -->
4674        <attr name="imeActionLabel" format="string" />
4675        <!-- Supply a value for
4676             {@link android.view.inputmethod.EditorInfo#actionId EditorInfo.actionId}
4677             used when an input method is connected to the text view. -->
4678        <attr name="imeActionId" format="integer" />
4679        <!-- Reference to an
4680             {@link android.R.styleable#InputExtras &lt;input-extras&gt;}
4681             XML resource containing additional data to
4682             supply to an input method, which is private to the implementation
4683             of the input method.  This simply fills in
4684             the {@link android.view.inputmethod.EditorInfo#extras
4685             EditorInfo.extras} field when the input
4686             method is connected. -->
4687        <attr name="editorExtras" format="reference" />
4688
4689        <!-- Reference to a drawable that will be used to display a text selection
4690             anchor on the left side of a selection region. -->
4691        <attr name="textSelectHandleLeft" />
4692        <!-- Reference to a drawable that will be used to display a text selection
4693             anchor on the right side of a selection region. -->
4694        <attr name="textSelectHandleRight" />
4695        <!-- Reference to a drawable that will be used to display a text selection
4696             anchor for positioning the cursor within text. -->
4697        <attr name="textSelectHandle" />
4698        <!-- The layout of the view that is displayed on top of the cursor to paste inside a
4699             TextEdit field. -->
4700        <attr name="textEditPasteWindowLayout" />
4701        <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. -->
4702        <attr name="textEditNoPasteWindowLayout" />
4703        <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the
4704             insertion cursor because it would be clipped if it were positioned on top. -->
4705        <attr name="textEditSidePasteWindowLayout" />
4706        <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. -->
4707        <attr name="textEditSideNoPasteWindowLayout" />
4708
4709        <!-- Layout of the TextView item that will populate the suggestion popup window. -->
4710        <attr name="textEditSuggestionItemLayout" />
4711        <!-- Layout of the container of the suggestion popup window. -->
4712        <attr name="textEditSuggestionContainerLayout" />
4713        <!-- Style of the highlighted string in the suggestion popup window. -->
4714        <attr name="textEditSuggestionHighlightStyle" />
4715
4716
4717        <!-- Reference to a drawable that will be drawn under the insertion cursor. -->
4718        <attr name="textCursorDrawable" />
4719
4720        <!-- Indicates that the content of a non-editable text can be selected. -->
4721        <attr name="textIsSelectable" />
4722        <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
4723        <attr name="textAllCaps" />
4724        <!-- Elegant text height, especially for less compacted complex script text. -->
4725        <attr name="elegantTextHeight" />
4726        <!-- Text letter-spacing. -->
4727        <attr name="letterSpacing" />
4728        <!-- Font feature settings. -->
4729        <attr name="fontFeatureSettings" />
4730        <!-- Break strategy (control over paragraph layout). -->
4731        <attr name="breakStrategy">
4732            <!-- Line breaking uses simple strategy. -->
4733            <enum name="simple" value="0" />
4734            <!-- Line breaking uses high-quality strategy, including hyphenation. -->
4735            <enum name="high_quality" value="1" />
4736            <!-- Line breaking strategy balances line lengths. -->
4737            <enum name="balanced" value="2" />
4738        </attr>
4739        <!-- Frequency of automatic hyphenation. -->
4740        <attr name="hyphenationFrequency">
4741            <!-- No hyphenation. -->
4742            <enum name="none" value="0" />
4743            <!-- Less frequent hyphenation, useful for informal use cases, such
4744            as chat messages. -->
4745            <enum name="normal" value="1" />
4746            <!-- Standard amount of hyphenation, useful for running text and for
4747            screens with limited space for text. -->
4748            <enum name="full" value="2" />
4749        </attr>
4750        <!-- Specify the type of auto-size. Note that this feature is not supported by EditText,
4751        works only for TextView. -->
4752        <attr name="autoSizeTextType" format="enum">
4753            <!-- No auto-sizing (default). -->
4754            <enum name="none" value="0" />
4755            <!-- Uniform horizontal and vertical text size scaling to fit within the
4756            container. -->
4757            <enum name="uniform" value="1" />
4758        </attr>
4759        <!-- Specify the auto-size step size if <code>autoSizeTextType</code> is set to
4760        <code>uniform</code>. The default is 1px. Overwrites
4761        <code>autoSizePresetSizes</code> if set. -->
4762        <attr name="autoSizeStepGranularity" format="dimension" />
4763        <!-- Resource array of dimensions to be used in conjunction with
4764        <code>autoSizeTextType</code> set to <code>uniform</code>. Overrides
4765        <code>autoSizeStepGranularity</code> if set. -->
4766        <attr name="autoSizePresetSizes"/>
4767        <!-- The minimum text size constraint to be used when auto-sizing text. -->
4768        <attr name="autoSizeMinTextSize" format="dimension" />
4769        <!-- The maximum text size constraint to be used when auto-sizing text. -->
4770        <attr name="autoSizeMaxTextSize" format="dimension" />
4771    </declare-styleable>
4772    <declare-styleable name="TextViewAppearance">
4773        <!-- Base text color, typeface, size, and style. -->
4774        <attr name="textAppearance" />
4775    </declare-styleable>
4776    <declare-styleable name="SelectionModeDrawables">
4777        <attr name="actionModeSelectAllDrawable" />
4778        <attr name="actionModeCutDrawable" />
4779        <attr name="actionModeCopyDrawable" />
4780        <attr name="actionModePasteDrawable" />
4781    </declare-styleable>
4782    <declare-styleable name="SuggestionSpan">
4783        <attr name="textUnderlineColor" />
4784        <attr name="textUnderlineThickness" />
4785    </declare-styleable>
4786    <!-- An <code>input-extras</code> is a container for extra data to supply to
4787         an input method.  Contains
4788         one more more {@link #Extra <extra>} tags.  -->
4789    <declare-styleable name="InputExtras">
4790    </declare-styleable>
4791    <declare-styleable name="AutoCompleteTextView">
4792        <!-- Defines the hint displayed in the drop down menu. -->
4793        <attr name="completionHint" format="string" />
4794        <!-- Defines the hint view displayed in the drop down menu. -->
4795        <attr name="completionHintView" format="reference" />
4796        <!-- Defines the number of characters that the user must type before
4797         completion suggestions are displayed in a drop down menu. -->
4798        <attr name="completionThreshold" format="integer" min="1" />
4799        <!-- Selector in a drop down list. -->
4800        <attr name="dropDownSelector" format="reference|color" />
4801        <!-- View to anchor the auto-complete dropdown to. If not specified, the text view itself
4802             is used. -->
4803        <attr name="dropDownAnchor" format="reference" />
4804        <!-- Specifies the basic width of the dropdown. Its value may
4805             be a dimension (such as "12dip") for a constant width,
4806             fill_parent or match_parent to match the width of the
4807             screen, or wrap_content to match the width of
4808             the anchored view. -->
4809        <attr name="dropDownWidth" format="dimension">
4810            <!-- The dropdown should fill the width of the screen.
4811                 This constant is deprecated starting from API Level 8 and
4812                 is replaced by {@code match_parent}. -->
4813            <enum name="fill_parent" value="-1" />
4814            <!-- The dropdown should fit the width of the screen.
4815                 Introduced in API Level 8. -->
4816            <enum name="match_parent" value="-1" />
4817            <!-- The dropdown should fit the width of its anchor. -->
4818            <enum name="wrap_content" value="-2" />
4819        </attr>
4820        <!-- Specifies the basic height of the dropdown. Its value may
4821             be a dimension (such as "12dip") for a constant height,
4822             fill_parent or match_parent to fill the height of the
4823             screen, or wrap_content to match the height of
4824             the content of the drop down. -->
4825        <attr name="dropDownHeight" format="dimension">
4826            <!-- The dropdown should fit the height of the screen.
4827                 This constant is deprecated starting from API Level 8 and
4828                 is replaced by {@code match_parent}. -->
4829            <enum name="fill_parent" value="-1" />
4830            <!-- The dropdown should fit the height of the screen.
4831                 Introduced in API Level 8. -->
4832            <enum name="match_parent" value="-1" />
4833            <!-- The dropdown should fit the height of the content. -->
4834            <enum name="wrap_content" value="-2" />
4835        </attr>
4836        <attr name="inputType" />
4837        <!-- Theme to use for the completion popup window. -->
4838        <attr name="popupTheme" />
4839    </declare-styleable>
4840    <declare-styleable name="PopupWindow">
4841        <!-- The background to use for the popup window. -->
4842        <attr name="popupBackground" format="reference|color" />
4843        <!-- Window elevation to use for the popup window. -->
4844        <attr name="popupElevation" format="dimension" />
4845        <!-- The animation style to use for the popup window. -->
4846        <attr name="popupAnimationStyle" format="reference" />
4847        <!-- Whether the popup window should overlap its anchor view. -->
4848        <attr name="overlapAnchor" format="boolean" />
4849        <!-- Transition used to move views into the popup window. -->
4850        <attr name="popupEnterTransition" format="reference" />
4851        <!-- Transition used to move views out of the popup window. -->
4852        <attr name="popupExitTransition" format="reference" />
4853    </declare-styleable>
4854    <declare-styleable name="ListPopupWindow">
4855        <!-- Amount of pixels by which the drop down should be offset vertically. -->
4856        <attr name="dropDownVerticalOffset" format="dimension" />
4857        <!-- Amount of pixels by which the drop down should be offset horizontally. -->
4858        <attr name="dropDownHorizontalOffset" format="dimension" />
4859    </declare-styleable>
4860    <declare-styleable name="ViewAnimator">
4861        <!-- Identifier for the animation to use when a view is shown. -->
4862        <attr name="inAnimation" format="reference" />
4863        <!-- Identifier for the animation to use when a view is hidden. -->
4864        <attr name="outAnimation" format="reference" />
4865        <!-- Defines whether to animate the current View when the ViewAnimation
4866             is first displayed. -->
4867        <attr name="animateFirstView" format="boolean" />
4868    </declare-styleable>
4869    <declare-styleable name="ViewFlipper">
4870        <attr name="flipInterval" format="integer" min="0" />
4871        <!-- When true, automatically start animating. -->
4872        <attr name="autoStart" format="boolean" />
4873    </declare-styleable>
4874    <declare-styleable name="AdapterViewAnimator">
4875        <!-- Identifier for the animation to use when a view is shown. -->
4876        <attr name="inAnimation" />
4877        <!-- Identifier for the animation to use when a view is hidden. -->
4878        <attr name="outAnimation" />
4879        <!--Defines whether the animator loops to the first view once it
4880        has reached the end of the list. -->
4881        <attr name="loopViews" format="boolean" />
4882        <!-- Defines whether to animate the current View when the ViewAnimation
4883        is first displayed. -->
4884        <attr name="animateFirstView" />
4885    </declare-styleable>
4886    <declare-styleable name="AdapterViewFlipper">
4887        <attr name="flipInterval" />
4888        <!-- When true, automatically start animating. -->
4889        <attr name="autoStart" />
4890    </declare-styleable>
4891    <declare-styleable name="ViewSwitcher">
4892    </declare-styleable>
4893    <declare-styleable name="ScrollView">
4894        <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
4895        <attr name="fillViewport" format="boolean" />
4896    </declare-styleable>
4897    <declare-styleable name="HorizontalScrollView">
4898        <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
4899        <attr name="fillViewport" />
4900    </declare-styleable>
4901    <declare-styleable name="Spinner">
4902        <!-- The prompt to display when the spinner's dialog is shown. -->
4903        <attr name="prompt" format="reference" />
4904        <!-- Display mode for spinner options. -->
4905        <attr name="spinnerMode" format="enum">
4906            <!-- Spinner options will be presented to the user as a dialog window. -->
4907            <enum name="dialog" value="0" />
4908            <!-- Spinner options will be presented to the user as an inline dropdown
4909                 anchored to the spinner widget itself. -->
4910            <enum name="dropdown" value="1" />
4911        </attr>
4912        <!-- List selector to use for spinnerMode="dropdown" display. -->
4913        <attr name="dropDownSelector" />
4914        <!-- Theme to use for the drop-down or dialog popup window. -->
4915        <attr name="popupTheme" />
4916        <!-- Background drawable to use for the dropdown in spinnerMode="dropdown". -->
4917        <attr name="popupBackground" />
4918        <!-- Window elevation to use for the dropdown in spinnerMode="dropdown". -->
4919        <attr name="popupElevation" />
4920        <!-- Width of the dropdown in spinnerMode="dropdown". -->
4921        <attr name="dropDownWidth" />
4922        <!-- Reference to a layout to use for displaying a prompt in the dropdown for
4923             spinnerMode="dropdown". This layout must contain a TextView with the id
4924             {@code @android:id/text1} to be populated with the prompt text. -->
4925        <attr name="popupPromptView" format="reference" />
4926        <!-- Gravity setting for positioning the currently selected item. -->
4927        <attr name="gravity" />
4928        <!-- Whether this spinner should mark child views as enabled/disabled when
4929             the spinner itself is enabled/disabled. -->
4930        <attr name="disableChildrenWhenDisabled" format="boolean" />
4931    </declare-styleable>
4932
4933    <declare-styleable name="DatePicker">
4934        <!-- The first day of week according to {@link java.util.Calendar}. -->
4935        <attr name="firstDayOfWeek" />
4936        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
4937        <attr name="minDate" format="string" />
4938        <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. -->
4939        <attr name="maxDate" format="string" />
4940
4941        <!-- Whether the spinners are shown. Only valid for "spinner" mode. -->
4942        <attr name="spinnersShown" format="boolean" />
4943        <!-- Whether the calendar view is shown. Only valid for "spinner" mode. -->
4944        <attr name="calendarViewShown" format="boolean" />
4945
4946        <!-- @hide The layout of the date picker. -->
4947        <attr name="internalLayout" format="reference"  />
4948        <!-- @hide The layout of the legacy DatePicker. -->
4949        <attr name="legacyLayout" />
4950
4951        <!-- The text color for the selected date header text, ex. "2014" or
4952             "Tue, Mar 18". This should be a color state list where the
4953             activated state will be used when the year picker or day picker is
4954             active.-->
4955        <attr name="headerTextColor" format="color" />
4956        <!-- The background for the selected date header. -->
4957        <attr name="headerBackground" />
4958
4959        <!-- The list year's text appearance in the list.
4960             {@deprecated Use yearListTextColor. }-->
4961        <attr name="yearListItemTextAppearance" format="reference" />
4962        <!-- @hide The list year's text appearance in the list when activated. -->
4963        <attr name="yearListItemActivatedTextAppearance" format="reference" />
4964        <!-- The text color list of the calendar. -->
4965        <attr name="calendarTextColor" format="color" />
4966
4967        <!-- Defines the look of the widget. Prior to the L release, the only choice was
4968             spinner. As of L, with the Material theme selected, the default layout is calendar,
4969             but this attribute can be used to force spinner to be used instead. -->
4970        <attr name="datePickerMode">
4971            <!-- Date picker with spinner controls to select the date. -->
4972            <enum name="spinner" value="1" />
4973            <!-- Date picker with calendar to select the date. -->
4974            <enum name="calendar" value="2" />
4975        </attr>
4976
4977        <!-- The first year (inclusive), for example "1940".
4978             {@deprecated Use minDate instead.} -->
4979        <attr name="startYear" format="integer" />
4980        <!-- The last year (inclusive), for example "2010".
4981             {@deprecated Use maxDate instead.} -->
4982        <attr name="endYear" format="integer" />
4983        <!-- The text appearance for the month (ex. May) in the selected date header.
4984             {@deprecated Use headerTextColor instead.} -->
4985        <attr name="headerMonthTextAppearance" format="reference" />
4986        <!-- The text appearance for the day of month (ex. 28) in the selected date header.
4987             {@deprecated Use headerTextColor instead.} -->
4988        <attr name="headerDayOfMonthTextAppearance" format="reference" />
4989        <!-- The text appearance for the year (ex. 2014) in the selected date header.
4990             {@deprecated Use headerTextColor instead.} -->
4991        <attr name="headerYearTextAppearance" format="reference" />
4992        <!-- The background color for the header's day of week.
4993             {@deprecated No longer displayed.} -->
4994        <attr name="dayOfWeekBackground" format="color" />
4995        <!-- The text color for the header's day of week.
4996             {@deprecated No longer displayed.} -->
4997        <attr name="dayOfWeekTextAppearance" format="reference" />
4998        <!-- The list year's selected circle color in the list.
4999             {@deprecated No longer displayed.} -->
5000        <attr name="yearListSelectorColor" format="color" />
5001
5002        <!-- @hide Whether this time picker is being displayed within a dialog,
5003             in which case it may ignore the requested time picker mode due to
5004             space considerations. -->
5005        <attr name="dialogMode" format="boolean" />
5006    </declare-styleable>
5007
5008    <declare-styleable name="TwoLineListItem">
5009        <attr name="mode">
5010            <!-- Always show only the first line. -->
5011            <enum name="oneLine" value="1" />
5012            <!-- When selected show both lines, otherwise show only the first line.
5013                 This is the default mode. -->
5014            <enum name="collapsing" value="2" />
5015            <!-- Always show both lines. -->
5016            <enum name="twoLine" value="3" />
5017        </attr>
5018    </declare-styleable>
5019
5020    <!-- SlidingDrawer specific attributes. These attributes are used to configure
5021         a SlidingDrawer from XML. -->
5022    <declare-styleable name="SlidingDrawer">
5023        <!-- Identifier for the child that represents the drawer's handle. -->
5024        <attr name="handle" format="reference" />
5025        <!-- Identifier for the child that represents the drawer's content. -->
5026        <attr name="content" format="reference" />
5027        <!-- Orientation of the SlidingDrawer. -->
5028        <attr name="orientation" />
5029        <!-- Extra offset for the handle at the bottom of the SlidingDrawer. -->
5030        <attr name="bottomOffset" format="dimension"  />
5031        <!-- Extra offset for the handle at the top of the SlidingDrawer. -->
5032        <attr name="topOffset" format="dimension"  />
5033        <!-- Indicates whether the drawer can be opened/closed by a single tap
5034             on the handle.  (If false, the user must drag or fling, or click
5035             using the trackball, to open/close the drawer.)  Default is true. -->
5036        <attr name="allowSingleTap" format="boolean" />
5037        <!-- Indicates whether the drawer should be opened/closed with an animation
5038             when the user clicks the handle. Default is true. -->
5039        <attr name="animateOnClick" format="boolean" />
5040    </declare-styleable>
5041
5042    <!-- GestureOverlayView specific attributes. These attributes are used to configure
5043         a GestureOverlayView from XML. -->
5044    <declare-styleable name="GestureOverlayView">
5045        <!-- Width of the stroke used to draw the gesture. -->
5046        <attr name="gestureStrokeWidth" format="float" />
5047        <!-- Color used to draw a gesture. -->
5048        <attr name="gestureColor" format="color" />
5049        <!-- Color used to draw the user's strokes until we are sure it's a gesture. -->
5050        <attr name="uncertainGestureColor" format="color" />
5051        <!-- Time, in milliseconds, to wait before the gesture fades out after the user
5052             is done drawing it. -->
5053        <attr name="fadeOffset" format="integer" />
5054        <!-- Duration, in milliseconds, of the fade out effect after the user is done
5055             drawing a gesture. -->
5056        <attr name="fadeDuration" format="integer" />
5057        <!-- Defines the type of strokes that define a gesture. -->
5058        <attr name="gestureStrokeType">
5059            <!-- A gesture is made of only one stroke. -->
5060            <enum name="single" value="0" />
5061            <!-- A gesture is made of multiple strokes. -->
5062            <enum name="multiple" value="1" />
5063        </attr>
5064        <!-- Minimum length of a stroke before it is recognized as a gesture. -->
5065        <attr name="gestureStrokeLengthThreshold" format="float" />
5066        <!-- Squareness threshold of a stroke before it is recognized as a gesture. -->
5067        <attr name="gestureStrokeSquarenessThreshold" format="float" />
5068        <!-- Minimum curve angle a stroke must contain before it is recognized as a gesture. -->
5069        <attr name="gestureStrokeAngleThreshold" format="float" />
5070        <!-- Defines whether the overlay should intercept the motion events when a gesture
5071             is recognized. -->
5072        <attr name="eventsInterceptionEnabled" format="boolean" />
5073        <!-- Defines whether the gesture will automatically fade out after being recognized. -->
5074        <attr name="fadeEnabled" format="boolean" />
5075        <!-- Indicates whether horizontal (when the orientation is vertical) or vertical
5076             (when orientation is horizontal) strokes automatically define a gesture. -->
5077        <attr name="orientation" />
5078    </declare-styleable>
5079
5080    <declare-styleable name="QuickContactBadge">
5081        <attr name="quickContactWindowSize">
5082            <enum name="modeSmall" value="1" />
5083            <enum name="modeMedium" value="2" />
5084            <enum name="modeLarge" value="3" />
5085        </attr>
5086    </declare-styleable>
5087
5088    <!-- ======================================= -->
5089    <!-- Widget package parent layout attributes -->
5090    <!-- ======================================= -->
5091    <eat-comment />
5092
5093    <declare-styleable name="AbsoluteLayout_Layout">
5094        <attr name="layout_x" format="dimension" />
5095        <attr name="layout_y" format="dimension" />
5096    </declare-styleable>
5097    <declare-styleable name="LinearLayout_Layout">
5098        <attr name="layout_width" />
5099        <attr name="layout_height" />
5100        <!-- Indicates how much of the extra space in the LinearLayout is
5101        allocated to the view associated with these LayoutParams. Specify
5102        0 if the view should not be stretched. Otherwise the extra pixels
5103        will be pro-rated among all views whose weight is greater than 0. -->
5104        <attr name="layout_weight" format="float" />
5105        <!-- Gravity specifies how a component should be placed in its group of cells.
5106        The default is {@link android.view.Gravity#TOP}.
5107        See {@link android.widget.LinearLayout#setGravity(int)}. -->
5108        <attr name="layout_gravity" />
5109    </declare-styleable>
5110    <declare-styleable name="GridLayout_Layout">
5111        <!-- The row boundary delimiting the top of the group of cells
5112        occupied by this view. -->
5113        <attr name="layout_row" format="integer" />
5114        <!-- The row span: the difference between the top and bottom
5115        boundaries delimiting the group of cells occupied by this view.
5116        The default is one.
5117        See {@link android.widget.GridLayout.Spec}. -->
5118        <attr name="layout_rowSpan" format="integer" min="1" />
5119        <!-- The relative proportion of vertical space that should be allocated to this view
5120        during excess space distribution. -->
5121        <attr name="layout_rowWeight" format="float" />
5122        <!-- The column boundary delimiting the left of the group of cells
5123        occupied by this view. -->
5124        <attr name="layout_column" />
5125        <!-- The column span: the difference between the right and left
5126        boundaries delimiting the group of cells occupied by this view.
5127        The default is one.
5128        See {@link android.widget.GridLayout.Spec}. -->
5129        <attr name="layout_columnSpan" format="integer" min="1" />
5130        <!-- The relative proportion of horizontal space that should be allocated to this view
5131        during excess space distribution. -->
5132        <attr name="layout_columnWeight" format="float" />
5133        <!-- Gravity specifies how a component should be placed in its group of cells.
5134        The default is LEFT | BASELINE.
5135        See {@link android.widget.GridLayout.LayoutParams#setGravity(int)}. -->
5136        <attr name="layout_gravity" />
5137    </declare-styleable>
5138    <declare-styleable name="FrameLayout_Layout">
5139        <attr name="layout_gravity" />
5140    </declare-styleable>
5141    <declare-styleable name="RelativeLayout_Layout">
5142        <!-- Positions the right edge of this view to the left of the given anchor view ID.
5143             Accommodates right margin of this view and left margin of anchor view. -->
5144        <attr name="layout_toLeftOf" format="reference" />
5145        <!-- Positions the left edge of this view to the right of the given anchor view ID.
5146            Accommodates left margin of this view and right margin of anchor view. -->
5147        <attr name="layout_toRightOf" format="reference" />
5148        <!-- Positions the bottom edge of this view above the given anchor view ID.
5149            Accommodates bottom margin of this view and top margin of anchor view. -->
5150        <attr name="layout_above" format="reference" />
5151        <!-- Positions the top edge of this view below the given anchor view ID.
5152            Accommodates top margin of this view and bottom margin of anchor view. -->
5153        <attr name="layout_below" format="reference" />
5154        <!-- Positions the baseline of this view on the baseline of the given anchor view ID. -->
5155        <attr name="layout_alignBaseline" format="reference" />
5156        <!-- Makes the left edge of this view match the left edge of the given anchor view ID.
5157            Accommodates left margin. -->
5158        <attr name="layout_alignLeft" format="reference" />
5159        <!-- Makes the top edge of this view match the top edge of the given anchor view ID.
5160            Accommodates top margin. -->
5161        <attr name="layout_alignTop" format="reference" />
5162        <!-- Makes the right edge of this view match the right edge of the given anchor view ID.
5163            Accommodates right margin. -->
5164        <attr name="layout_alignRight" format="reference" />
5165        <!-- Makes the bottom edge of this view match the bottom edge of the given anchor view ID.
5166            Accommodates bottom margin. -->
5167        <attr name="layout_alignBottom" format="reference" />
5168        <!-- If true, makes the left edge of this view match the left edge of the parent.
5169            Accommodates left margin. -->
5170        <attr name="layout_alignParentLeft" format="boolean" />
5171        <!-- If true, makes the top edge of this view match the top edge of the parent.
5172            Accommodates top margin. -->
5173        <attr name="layout_alignParentTop" format="boolean" />
5174        <!-- If true, makes the right edge of this view match the right edge of the parent.
5175            Accommodates right margin. -->
5176        <attr name="layout_alignParentRight" format="boolean" />
5177        <!-- If true, makes the bottom edge of this view match the bottom edge of the parent.
5178            Accommodates bottom margin. -->
5179        <attr name="layout_alignParentBottom" format="boolean" />
5180        <!-- If true, centers this child horizontally and vertically within its parent. -->
5181        <attr name="layout_centerInParent" format="boolean" />
5182        <!-- If true, centers this child horizontally within its parent. -->
5183        <attr name="layout_centerHorizontal" format="boolean" />
5184        <!-- If true, centers this child vertically within its parent. -->
5185        <attr name="layout_centerVertical" format="boolean" />
5186        <!-- If set to true, the parent will be used as the anchor when the anchor cannot be
5187             be found for layout_toLeftOf, layout_toRightOf, etc. -->
5188        <attr name="layout_alignWithParentIfMissing" format="boolean" />
5189        <!-- Positions the end edge of this view to the start of the given anchor view ID.
5190             Accommodates end margin of this view and start margin of anchor view. -->
5191        <attr name="layout_toStartOf" format="reference" />
5192        <!-- Positions the start edge of this view to the end of the given anchor view ID.
5193             Accommodates start margin of this view and end margin of anchor view. -->
5194        <attr name="layout_toEndOf" format="reference" />
5195        <!-- Makes the start edge of this view match the start edge of the given anchor view ID.
5196            Accommodates start margin. -->
5197        <attr name="layout_alignStart" format="reference" />
5198        <!-- Makes the end edge of this view match the end edge of the given anchor view ID.
5199            Accommodates end margin. -->
5200        <attr name="layout_alignEnd" format="reference" />
5201        <!-- If true, makes the start edge of this view match the start edge of the parent.
5202            Accommodates start margin. -->
5203        <attr name="layout_alignParentStart" format="boolean" />
5204        <!-- If true, makes the end edge of this view match the end edge of the parent.
5205            Accommodates end margin. -->
5206        <attr name="layout_alignParentEnd" format="boolean" />
5207    </declare-styleable>
5208    <declare-styleable name="VerticalSlider_Layout">
5209        <attr name="layout_scale" format="float" />
5210    </declare-styleable>
5211
5212    <!-- @hide -->
5213    <declare-styleable name="WeightedLinearLayout">
5214        <attr name="majorWeightMin" format="float" />
5215        <attr name="minorWeightMin" format="float" />
5216        <attr name="majorWeightMax" format="float" />
5217        <attr name="minorWeightMax" format="float" />
5218    </declare-styleable>
5219
5220    <declare-styleable name="CalendarView">
5221        <!-- The first day of week according to {@link java.util.Calendar}. -->
5222        <attr name="firstDayOfWeek" format="integer" />
5223        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
5224        <attr name="minDate" />
5225        <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. -->
5226        <attr name="maxDate" />
5227        <!-- The text appearance for the month and year in the calendar header. -->
5228        <attr name="monthTextAppearance" format="reference" />
5229        <!-- The text appearance for the week day abbreviation in the calendar header. -->
5230        <attr name="weekDayTextAppearance" format="reference" />
5231        <!-- The text appearance for the day numbers in the calendar grid. -->
5232        <attr name="dateTextAppearance" format="reference" />
5233        <!-- @hide The background color used for the day selection indicator. -->
5234        <attr name="daySelectorColor" format="color" />
5235        <!-- @hide The background color used for the day highlight indicator. -->
5236        <attr name="dayHighlightColor" format="color" />
5237        <!-- @hide Which style of calendar delegate to use. -->
5238        <attr name="calendarViewMode">
5239            <enum name="holo" value="0" />
5240            <enum name="material" value="1" />
5241        </attr>
5242
5243        <!-- @deprecated Whether do show week numbers. -->
5244        <attr name="showWeekNumber" format="boolean" />
5245        <!-- @deprecated The number of weeks to be shown. -->
5246        <attr name="shownWeekCount" format="integer"/>
5247        <!-- @deprecated The background color for the selected week. -->
5248        <attr name="selectedWeekBackgroundColor" format="color|reference" />
5249        <!-- @deprecated The color for the dates of the focused month. -->
5250        <attr name="focusedMonthDateColor" format="color|reference" />
5251        <!-- @deprecated The color for the dates of an unfocused month. -->
5252        <attr name="unfocusedMonthDateColor" format="color|reference" />
5253        <!-- @deprecated The color for the week numbers. -->
5254        <attr name="weekNumberColor" format="color|reference" />
5255        <!-- @deprecated The color for the separator line between weeks. -->
5256        <attr name="weekSeparatorLineColor" format="color|reference" />
5257        <!-- @deprecated Drawable for the vertical bar shown at the beginning and at the end of the selected date. -->
5258        <attr name="selectedDateVerticalBar" format="reference" />
5259    </declare-styleable>
5260
5261    <declare-styleable name="NumberPicker">
5262        <!-- @hide Color for the solid color background if such for optimized rendering. -->
5263        <attr name="solidColor" format="color|reference" />
5264        <!-- @hide The divider for making the selection area. -->
5265        <attr name="selectionDivider" format="reference" />
5266        <!-- @hide The height of the selection divider. -->
5267        <attr name="selectionDividerHeight" format="dimension" />
5268        <!-- @hide The distance between the two selection dividers. -->
5269        <attr name="selectionDividersDistance" format="dimension" />
5270        <!-- @hide The min height of the NumberPicker. -->
5271        <attr name="internalMinHeight" format="dimension" />
5272        <!-- @hide The max height of the NumberPicker. -->
5273        <attr name="internalMaxHeight" format="dimension" />
5274        <!-- @hide The min width of the NumberPicker. -->
5275        <attr name="internalMinWidth" format="dimension" />
5276        <!-- @hide The max width of the NumberPicker. -->
5277        <attr name="internalMaxWidth" format="dimension" />
5278        <!-- @hide The layout of the number picker. -->
5279        <attr name="internalLayout" />
5280        <!-- @hide The drawable for pressed virtual (increment/decrement) buttons. -->
5281        <attr name="virtualButtonPressedDrawable" format="reference"/>
5282        <!-- @hide If true then the selector wheel is hidden until the picker has focus. -->
5283        <attr name="hideWheelUntilFocused" format="boolean"/>
5284    </declare-styleable>
5285
5286    <declare-styleable name="TimePicker">
5287        <!-- @hide The layout of the legacy time picker. -->
5288        <attr name="legacyLayout" format="reference" />
5289        <!-- @hide The layout of the time picker. -->
5290        <attr name="internalLayout" />
5291
5292        <!-- The text color for the selected time header text, ex. "12" or
5293             "PM". This should be a color state list where the activated state
5294             will be used when the minute picker or hour picker is active.-->
5295        <attr name="headerTextColor" />
5296        <!-- The background for the header containing the currently selected time. -->
5297        <attr name="headerBackground" />
5298
5299        <!-- The color for the hours/minutes numbers. This should be a color
5300             state list where the activated state will be used when the number
5301             is active.-->
5302        <attr name="numbersTextColor" format="color" />
5303        <!-- The color for the inner hours numbers used in 24-hour mode. This
5304             should be a color state list where the activated state will be
5305             used when the number is active.-->
5306        <attr name="numbersInnerTextColor" format="color" />
5307        <!-- The background color for the hours/minutes numbers. -->
5308        <attr name="numbersBackgroundColor" format="color" />
5309        <!-- The color for the hours/minutes selector. -->
5310        <attr name="numbersSelectorColor" format="color" />
5311
5312        <!-- Defines the look of the widget. Prior to the L release, the only choice was
5313             spinner. As of L, with the Material theme selected, the default layout is clock,
5314             but this attribute can be used to force spinner to be used instead. -->
5315        <attr name="timePickerMode">
5316            <!-- Time picker with spinner controls to select the time. -->
5317            <enum name="spinner" value="1" />
5318            <!-- Time picker with clock face to select the time. -->
5319            <enum name="clock" value="2" />
5320        </attr>
5321
5322        <!-- The text appearance for the AM/PM header.
5323             @deprecated Use headerTextColor instead. -->
5324        <attr name="headerAmPmTextAppearance" format="reference" />
5325        <!-- The text appearance for the time header.
5326             @deprecated Use headerTextColor instead. -->
5327        <attr name="headerTimeTextAppearance" format="reference" />
5328        <!-- The color for the AM/PM selectors.
5329             {@deprecated Use headerTextColor instead.}-->
5330        <attr name="amPmTextColor" format="color" />
5331        <!-- The background color state list for the AM/PM selectors.
5332             {@deprecated Use headerBackground instead.}-->
5333        <attr name="amPmBackgroundColor" format="color" />
5334
5335        <!-- @hide Whether this time picker is being displayed within a dialog,
5336             in which case it may ignore the requested time picker mode due to
5337             space considerations. -->
5338        <attr name="dialogMode" />
5339    </declare-styleable>
5340
5341    <!-- ========================= -->
5342    <!-- Drawable class attributes -->
5343    <!-- ========================= -->
5344    <eat-comment />
5345
5346    <!-- Base attributes that are available to all Drawable objects. -->
5347    <declare-styleable name="Drawable">
5348        <!-- Provides initial visibility state of the drawable; the default
5349             value is false.  See
5350             {@link android.graphics.drawable.Drawable#setVisible}. -->
5351        <attr name="visible" format="boolean" />
5352        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5353             RTL (right-to-left).  See
5354             {@link android.graphics.drawable.Drawable#setAutoMirrored}. -->
5355        <attr name="autoMirrored" format="boolean" />
5356    </declare-styleable>
5357
5358    <!-- Drawable class used to wrap other drawables. -->
5359    <declare-styleable name="DrawableWrapper">
5360        <!-- The wrapped drawable. -->
5361        <attr name="drawable" />
5362    </declare-styleable>
5363
5364    <!-- Drawable used to render several states. Each state is represented by
5365         a child drawable. -->
5366    <declare-styleable name="StateListDrawable">
5367        <!-- Indicates whether the drawable should be initially visible. -->
5368        <attr name="visible" />
5369        <!-- If true, allows the drawable's padding to change based on the
5370             current state that is selected.  If false, the padding will
5371             stay the same (based on the maximum padding of all the states).
5372             Enabling this feature requires that the owner of the drawable
5373             deal with performing layout when the state changes, which is
5374             often not supported. -->
5375        <attr name="variablePadding" format="boolean" />
5376        <!-- If true, the drawable's reported internal size will remain
5377             constant as the state changes; the size is the maximum of all
5378             of the states.  If false, the size will vary based on the
5379             current state. -->
5380        <attr name="constantSize" format="boolean" />
5381        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5382             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5383             an RGB 565 screen). -->
5384        <attr name="dither" format="boolean" />
5385        <!-- Amount of time (in milliseconds) to fade in a new state drawable. -->
5386        <attr name="enterFadeDuration" format="integer" />
5387        <!-- Amount of time (in milliseconds) to fade out an old state drawable. -->
5388        <attr name="exitFadeDuration" format="integer" />
5389        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5390             RTL (right-to-left). -->
5391        <attr name="autoMirrored"/>
5392    </declare-styleable>
5393
5394    <!-- Drawable used to render several states with animated transitions. Each state
5395         is represented by a child drawable with an optional keyframe ID. -->
5396    <declare-styleable name="AnimatedStateListDrawable">
5397        <!-- Indicates whether the drawable should be initially visible. -->
5398        <attr name="visible" />
5399        <!-- If true, allows the drawable's padding to change based on the
5400             current state that is selected.  If false, the padding will
5401             stay the same (based on the maximum padding of all the states).
5402             Enabling this feature requires that the owner of the drawable
5403             deal with performing layout when the state changes, which is
5404             often not supported. -->
5405        <attr name="variablePadding" />
5406        <!-- If true, the drawable's reported internal size will remain
5407             constant as the state changes; the size is the maximum of all
5408             of the states.  If false, the size will vary based on the
5409             current state. -->
5410        <attr name="constantSize" />
5411        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5412             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5413             an RGB 565 screen). -->
5414        <attr name="dither" />
5415        <!-- Amount of time (in milliseconds) to fade in a new state drawable. -->
5416        <attr name="enterFadeDuration" />
5417        <!-- Amount of time (in milliseconds) to fade out an old state drawable. -->
5418        <attr name="exitFadeDuration" />
5419        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5420             RTL (right-to-left). -->
5421        <attr name="autoMirrored"/>
5422    </declare-styleable>
5423
5424    <!-- Represents a single state inside a StateListDrawable. -->
5425    <declare-styleable name="StateListDrawableItem">
5426        <!-- Reference to a drawable resource to use for the state. If not
5427             given, the drawable must be defined by the first child tag. -->
5428        <attr name="drawable" />
5429    </declare-styleable>
5430
5431    <!-- Transition used to animate between states with keyframe IDs. -->
5432    <declare-styleable name="AnimatedStateListDrawableItem">
5433        <!-- Reference to a drawable resource to use for the frame.  If not
5434             given, the drawable must be defined by the first child tag. -->
5435        <attr name="drawable" />
5436        <!-- Keyframe identifier for use in specifying transitions. -->
5437        <attr name="id" />
5438    </declare-styleable>
5439
5440    <!-- Transition used to animate between states with keyframe IDs. -->
5441    <declare-styleable name="AnimatedStateListDrawableTransition">
5442        <!-- Keyframe identifier for the starting state. -->
5443        <attr name="fromId" format="reference" />
5444        <!-- Keyframe identifier for the ending state. -->
5445        <attr name="toId" format="reference" />
5446        <!-- Reference to a animation drawable resource to use for the frame.  If not
5447             given, the animation drawable must be defined by the first child tag. -->
5448        <attr name="drawable" />
5449        <!-- Whether this transition is reversible. -->
5450        <attr name="reversible" format="boolean" />
5451    </declare-styleable>
5452
5453    <!-- Drawable used to render several animated frames. -->
5454    <declare-styleable name="AnimationDrawable">
5455        <attr name="visible" />
5456        <attr name="variablePadding" />
5457        <!-- If true, the animation will only run a single time and then
5458             stop.  If false (the default), it will continually run,
5459             restarting at the first frame after the last has finished. -->
5460        <attr name="oneshot" format="boolean" />
5461    </declare-styleable>
5462
5463    <!-- Represents a single frame inside an AnimationDrawable. -->
5464    <declare-styleable name="AnimationDrawableItem">
5465        <!-- Amount of time (in milliseconds) to display this frame. -->
5466        <attr name="duration" format="integer" />
5467        <!-- Reference to a drawable resource to use for the frame.  If not
5468             given, the drawable must be defined by the first child tag. -->
5469        <attr name="drawable" format="reference" />
5470    </declare-styleable>
5471
5472    <!-- Attributes that can be assigned to a StateListAnimator item. -->
5473    <declare-styleable name="StateListAnimatorItem">
5474        <attr name="animation"/>
5475    </declare-styleable>
5476
5477    <!-- Attributes that can be assigned to a ColorStateList item. -->
5478    <declare-styleable name="ColorStateListItem">
5479        <!-- Base color for this state. -->
5480        <attr name="color" />
5481        <!-- Alpha multiplier applied to the base color. -->
5482        <attr name="alpha" />
5483    </declare-styleable>
5484
5485    <!-- Drawable used to render according to the animation scale. Esp. when it is 0 due to battery
5486         saver mode. It should contain one animatable drawable and one static drawable.
5487         @hide -->
5488    <declare-styleable name="AnimationScaleListDrawable">
5489    </declare-styleable>
5490
5491    <!-- Attributes that can be assigned to a AnimationScaleListDrawable item.
5492         @hide -->
5493    <declare-styleable name="AnimationScaleListDrawableItem">
5494        <!-- Reference to a drawable resource to use for the state. If not
5495             given, the drawable must be defined by the first child tag. -->
5496        <attr name="drawable" />
5497    </declare-styleable>
5498
5499
5500    <!-- Drawable used to render a geometric shape, with a gradient or a solid color. -->
5501    <declare-styleable name="GradientDrawable">
5502        <!-- Indicates whether the drawable should intially be visible. -->
5503        <attr name="visible" />
5504        <!-- Enables or disables dithering. -->
5505        <attr name="dither" />
5506        <!-- Indicates what shape to fill with a gradient. -->
5507        <attr name="shape">
5508            <!-- Rectangle shape, with optional rounder corners. -->
5509            <enum name="rectangle" value="0" />
5510            <!-- Oval shape. -->
5511            <enum name="oval" value="1" />
5512            <!-- Line shape. -->
5513            <enum name="line" value="2" />
5514            <!-- Ring shape. -->
5515            <enum name="ring" value="3" />
5516        </attr>
5517        <!-- Inner radius of the ring expressed as a ratio of the ring's width. For instance,
5518             if innerRadiusRatio=9, then the inner radius equals the ring's width divided by 9.
5519             This value is ignored if innerRadius is defined. Default value is 9. -->
5520        <attr name="innerRadiusRatio" format="float" />
5521        <!-- Thickness of the ring expressed as a ratio of the ring's width. For instance,
5522             if thicknessRatio=3, then the thickness equals the ring's width divided by 3.
5523             This value is ignored if innerRadius is defined. Default value is 3. -->
5524        <attr name="thicknessRatio" format="float" />
5525        <!-- Inner radius of the ring. When defined, innerRadiusRatio is ignored. -->
5526        <attr name="innerRadius" format="dimension" />
5527        <!-- Thickness of the ring. When defined, thicknessRatio is ignored. -->
5528        <attr name="thickness" format="dimension" />
5529        <!-- Whether the drawable level value (see
5530             {@link android.graphics.drawable.Drawable#getLevel()}) is used to scale the shape.
5531             Scaling behavior depends on the shape type. For "ring", the angle is scaled from 0 to
5532             360. For all other types, there is no effect. The default value is true. -->
5533        <attr name="useLevel" />
5534        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5535             no tint is applied. May be a color state list. -->
5536        <attr name="tint" />
5537        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5538             default value is src_in, which treats the drawable as an alpha mask. -->
5539        <attr name="tintMode" />
5540        <!-- Left optical inset.
5541             @hide Until optical insets are fully supported. -->
5542        <attr name="opticalInsetLeft" />
5543        <!-- Top optical inset.
5544             @hide Until optical insets are fully supported. -->
5545        <attr name="opticalInsetTop" />
5546        <!-- Right optical inset.
5547             @hide Until optical insets are fully supported. -->
5548        <attr name="opticalInsetRight" />
5549        <!-- Bottom optical inset.
5550             @hide Until optical insets are fully supported. -->
5551        <attr name="opticalInsetBottom" />
5552    </declare-styleable>
5553
5554    <!-- Used to specify the size of the shape for GradientDrawable. -->
5555    <declare-styleable name="GradientDrawableSize">
5556        <!-- Width of the gradient shape. -->
5557        <attr name="width" />
5558        <!-- Height of the gradient shape. -->
5559        <attr name="height" />
5560    </declare-styleable>
5561
5562    <!-- Used to describe the gradient used to fill the shape of a GradientDrawable. -->
5563    <declare-styleable name="GradientDrawableGradient">
5564        <!-- Start color of the gradient. -->
5565        <attr name="startColor" format="color" />
5566        <!-- Optional center color. For linear gradients, use centerX or centerY to place the center
5567             color. -->
5568        <attr name="centerColor" format="color" />
5569        <!-- End color of the gradient. -->
5570        <attr name="endColor" format="color" />
5571        <!-- Whether the drawable level value (see
5572             {@link android.graphics.drawable.Drawable#getLevel()}) is used to scale the gradient.
5573             Scaling behavior varies based on gradient type. For "linear", adjusts the ending
5574             position along the gradient's axis of orientation. For "radial", adjusts the outer
5575             radius. For "sweep", adjusts the ending angle. The default value is false. -->
5576        <attr name="useLevel" format="boolean" />
5577        <!-- Angle of the gradient, used only with linear gradient. Must be a multiple of 45 in the
5578             range [0, 315]. -->
5579        <attr name="angle" format="float" />
5580        <!-- Type of gradient. The default type is linear. -->
5581        <attr name="type">
5582            <!-- Linear gradient extending across the center point. -->
5583            <enum name="linear" value="0" />
5584            <!-- Radial gradient extending from the center point outward. -->
5585            <enum name="radial" value="1" />
5586            <!-- Sweep (or angular) gradient sweeping counter-clockwise around the center point. -->
5587            <enum name="sweep"  value="2" />
5588        </attr>
5589        <!-- X-position of the center point of the gradient within the shape as a fraction of the
5590             width. The default value is 0.5. -->
5591        <attr name="centerX" format="float|fraction" />
5592        <!-- Y-position of the center point of the gradient within the shape as a fraction of the
5593             height. The default value is 0.5. -->
5594        <attr name="centerY" format="float|fraction" />
5595        <!-- Radius of the gradient, used only with radial gradient. May be an explicit dimension
5596             or a fractional value relative to the shape's minimum dimension. -->
5597        <attr name="gradientRadius" format="float|fraction|dimension" />
5598    </declare-styleable>
5599
5600    <!-- Used to fill the shape of GradientDrawable with a solid color. -->
5601    <declare-styleable name="GradientDrawableSolid">
5602        <!-- Solid color for the gradient shape. -->
5603        <attr name="color" format="color" />
5604    </declare-styleable>
5605
5606    <!-- Used to describe the optional stroke of a GradientDrawable. -->
5607    <declare-styleable name="GradientDrawableStroke">
5608        <!-- Width of the gradient shape's stroke. -->
5609        <attr name="width" />
5610        <!-- Color of the gradient shape's stroke. -->
5611        <attr name="color" />
5612        <!-- Length of a dash in the stroke. -->
5613        <attr name="dashWidth" format="dimension" />
5614        <!-- Gap between dashes in the stroke. -->
5615        <attr name="dashGap" format="dimension" />
5616    </declare-styleable>
5617
5618    <!-- Describes the corners for the rectangle shape of a GradientDrawable.
5619         This can be used to render rounded corners. -->
5620    <declare-styleable name="DrawableCorners">
5621        <!-- Defines the radius of the four corners. -->
5622        <attr name="radius" format="dimension" />
5623        <!-- Radius of the top left corner. -->
5624        <attr name="topLeftRadius" format="dimension" />
5625        <!-- Radius of the top right corner. -->
5626        <attr name="topRightRadius" format="dimension" />
5627        <!-- Radius of the bottom left corner. -->
5628        <attr name="bottomLeftRadius" format="dimension" />
5629        <!-- Radius of the bottom right corner. -->
5630        <attr name="bottomRightRadius" format="dimension" />
5631    </declare-styleable>
5632
5633    <!-- Used to specify the optional padding of a GradientDrawable. -->
5634    <declare-styleable name="GradientDrawablePadding">
5635        <!-- Amount of left padding inside the gradient shape. -->
5636        <attr name="left" format="dimension" />
5637        <!-- Amount of top padding inside the gradient shape. -->
5638        <attr name="top" format="dimension" />
5639        <!-- Amount of right padding inside the gradient shape. -->
5640        <attr name="right" format="dimension" />
5641        <!-- Amount of bottom padding inside the gradient shape. -->
5642        <attr name="bottom" format="dimension" />
5643    </declare-styleable>
5644
5645    <!-- Drawable used to render several drawables stacked on top of each other.
5646         Each child drawable can be controlled individually. -->
5647    <declare-styleable name="LayerDrawable">
5648        <!-- Indicates the opacity of the layer. This can be useful to allow the
5649              system to enable drawing optimizations. The default value is
5650              translucent. -->
5651        <attr name="opacity">
5652            <!-- Indicates that the layer is opaque and contains no transparent
5653                 nor translucent pixels. -->
5654            <enum name="opaque" value="-1" />
5655            <!-- The layer is completely transparent (no pixel will be drawn). -->
5656            <enum name="transparent" value="-2" />
5657            <!-- The layer has translucent pixels. -->
5658            <enum name="translucent" value="-3" />
5659        </attr>
5660        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5661             RTL (right-to-left). -->
5662        <attr name="autoMirrored" />
5663        <!-- Indicates how layer padding should affect the bounds of subsequent layers.
5664             The default padding mode value is nest. -->
5665        <attr name="paddingMode">
5666            <!-- Nest each layer inside the padding of the previous layer. -->
5667            <enum name="nest" value="0" />
5668            <!-- Stack each layer directly atop the previous layer. -->
5669            <enum name="stack" value="1" />
5670        </attr>
5671        <!-- Explicit top padding. Overrides child padding. -->
5672        <attr name="paddingTop" />
5673        <!-- Explicit bottom padding. Overrides child padding. -->
5674        <attr name="paddingBottom" />
5675        <!-- Explicit left padding. Overrides child padding. -->
5676        <attr name="paddingLeft" />
5677        <!-- Explicit right padding. Overrides child padding. -->
5678        <attr name="paddingRight" />
5679        <!-- Explicit start padding. Overrides child padding. Takes precedence
5680             over absolute padding (for example, left when layout direction is LTR). -->
5681        <attr name="paddingStart" />
5682        <!-- Explicit end padding. Overrides child padding. Takes precedence
5683             over absolute padding (for example, right when layout direction is LTR). -->
5684        <attr name="paddingEnd" />
5685    </declare-styleable>
5686
5687    <!-- Describes an item (or child) of a LayerDrawable. -->
5688    <declare-styleable name="LayerDrawableItem">
5689        <!-- Left inset to apply to the layer. -->
5690        <attr name="left" />
5691        <!-- Top inset to apply to the layer. -->
5692        <attr name="top" />
5693        <!-- Right inset to apply to the layer. -->
5694        <attr name="right" />
5695        <!-- Bottom inset to apply to the layer. -->
5696        <attr name="bottom" />
5697        <!-- Start inset to apply to the layer. Overrides {@code left} or
5698             {@code right} depending on layout direction. -->
5699        <attr name="start" format="dimension" />
5700        <!-- End inset to apply to the layer. Overrides {@code left} or
5701             {@code right} depending on layout direction. -->
5702        <attr name="end" format="dimension" />
5703        <!-- Width of the layer. Defaults to the layer's intrinsic width. -->
5704        <attr name="width" />
5705        <!-- Height of the layer. Defaults to the layer's intrinsic height. -->
5706        <attr name="height" />
5707        <!-- Gravity used to align the layer within its container. If no value
5708             is specified, the default behavior depends on whether an explicit
5709             width or height has been set, If no dimension is set, gravity in
5710             that direction defaults to {@code fill_horizontal} or
5711             {@code fill_vertical}; otherwise, it defaults to {@code left} or
5712             {@code top}. -->
5713        <attr name="gravity" />
5714        <!-- Drawable used to render the layer. -->
5715        <attr name="drawable" />
5716        <!-- Identifier of the layer. This can be used to retrieve the layer
5717             from a drawable container. -->
5718        <attr name="id" />
5719    </declare-styleable>
5720
5721    <declare-styleable name="LevelListDrawableItem">
5722        <!-- The minimum level allowed for this item. -->
5723        <attr name="minLevel" format="integer" />
5724        <!-- The maximum level allowed for this item. -->
5725        <attr name="maxLevel" format="integer" />
5726        <attr name="drawable" />
5727    </declare-styleable>
5728
5729    <!-- Drawable used to rotate another drawable. -->
5730    <declare-styleable name="RotateDrawable">
5731        <attr name="visible" />
5732        <attr name="fromDegrees" format="float" />
5733        <attr name="toDegrees" format="float" />
5734        <attr name="pivotX" format="float|fraction" />
5735        <attr name="pivotY" format="float|fraction" />
5736        <attr name="drawable" />
5737    </declare-styleable>
5738
5739    <declare-styleable name="AnimatedRotateDrawable">
5740        <attr name="visible" />
5741        <attr name="frameDuration" format="integer" />
5742        <attr name="framesCount" format="integer" />
5743        <attr name="pivotX" />
5744        <attr name="pivotY" />
5745        <attr name="drawable" />
5746    </declare-styleable>
5747
5748    <!-- Drawable used to render the Material progress indicator. -->
5749    <declare-styleable name="MaterialProgressDrawable">
5750        <attr name="visible" />
5751        <attr name="thickness" />
5752        <attr name="innerRadius" />
5753        <attr name="width" />
5754        <attr name="height" />
5755        <attr name="color" />
5756    </declare-styleable>
5757
5758    <!-- Drawable used to wrap and inset another drawable. -->
5759    <declare-styleable name="InsetDrawable">
5760        <attr name="visible" />
5761        <attr name="drawable" />
5762        <attr name="inset"  format="dimension"/>
5763        <attr name="insetLeft" format="dimension" />
5764        <attr name="insetRight" format="dimension" />
5765        <attr name="insetTop" format="dimension" />
5766        <attr name="insetBottom" format="dimension" />
5767    </declare-styleable>
5768
5769    <!-- Drawable used to draw bitmaps. -->
5770    <declare-styleable name="BitmapDrawable">
5771        <!-- Identifier of the bitmap file. This attribute is mandatory. -->
5772        <attr name="src" />
5773        <!-- Enables or disables antialiasing. Antialiasing can be used to smooth the
5774             edges of a bitmap when rotated. Default value is false. -->
5775        <attr name="antialias" format="boolean" />
5776        <!-- Enables or disables bitmap filtering. Filtering is used when the bitmap is
5777             shrunk or stretched to smooth its apperance. Default value is true. -->
5778        <attr name="filter" format="boolean" />
5779        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5780             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5781             an RGB 565 screen). Default value is true. -->
5782        <attr name="dither" />
5783        <!-- Defines the gravity for the bitmap. The gravity indicates where to position
5784             the drawable in its container if the bitmap is smaller than the container. -->
5785        <attr name="gravity" />
5786        <!-- Defines the tile mode. When the tile mode is enabled, the bitmap is repeated.
5787             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5788        <attr name="tileMode">
5789            <!-- Do not tile the bitmap. This is the default value. -->
5790            <enum name="disabled" value="-1" />
5791            <!-- Replicates the edge color. -->
5792            <enum name="clamp" value="0" />
5793            <!-- Repeats the bitmap in both direction. -->
5794            <enum name="repeat" value="1" />
5795            <!-- Repeats the shader's image horizontally and vertically, alternating
5796                 mirror images so that adjacent images always seam. -->
5797            <enum name="mirror" value="2" />
5798        </attr>
5799        <!-- Defines the horizontal tile mode. When the tile mode is enabled, the bitmap is repeated.
5800             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5801        <attr name="tileModeX">
5802            <!-- Do not tile the bitmap. This is the default value. -->
5803            <enum name="disabled" value="-1" />
5804            <!-- Replicates the edge color. -->
5805            <enum name="clamp" value="0" />
5806            <!-- Repeats the bitmap horizontally. -->
5807            <enum name="repeat" value="1" />
5808            <!-- Repeats the shader's image horizontally, alternating
5809                 mirror images so that adjacent images always seam. -->
5810            <enum name="mirror" value="2" />
5811        </attr>
5812        <!-- Defines the vertical tile mode. When the tile mode is enabled, the bitmap is repeated.
5813             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5814        <attr name="tileModeY">
5815            <!-- Do not tile the bitmap. This is the default value. -->
5816            <enum name="disabled" value="-1" />
5817            <!-- Replicates the edge color. -->
5818            <enum name="clamp" value="0" />
5819            <!-- Repeats the bitmap vertically. -->
5820            <enum name="repeat" value="1" />
5821            <!-- Repeats the shader's image vertically, alternating
5822                 mirror images so that adjacent images always seam. -->
5823            <enum name="mirror" value="2" />
5824        </attr>
5825        <!-- Enables or disables the mipmap hint. See
5826            {@link android.graphics.Bitmap#setHasMipMap(boolean)} for more information.
5827            Default value is false. -->
5828        <attr name="mipMap" format="boolean" />
5829        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5830             RTL (right-to-left). -->
5831        <attr name="autoMirrored" />
5832        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5833             no tint is applied. May be a color state list. -->
5834        <attr name="tint" />
5835        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5836             default value is src_in, which treats the drawable as an alpha mask. -->
5837        <attr name="tintMode">
5838            <!-- The tint is drawn on top of the drawable.
5839                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
5840            <enum name="src_over" value="3" />
5841            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
5842                 color channels are thrown out. [Sa * Da, Sc * Da] -->
5843            <enum name="src_in" value="5" />
5844            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
5845                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
5846            <enum name="src_atop" value="9" />
5847            <!-- Multiplies the color and alpha channels of the drawable with those of
5848                 the tint. [Sa * Da, Sc * Dc] -->
5849            <enum name="multiply" value="14" />
5850            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
5851            <enum name="screen" value="15" />
5852            <!-- Combines the tint and drawable color and alpha channels, clamping the
5853                 result to valid color values. Saturate(S + D) -->
5854            <enum name="add" value="16" />
5855        </attr>
5856        <!-- Specifies the alpha multiplier to apply to the base drawable. -->
5857        <attr name="alpha" />
5858    </declare-styleable>
5859
5860    <!-- Drawable used to draw 9-patches. -->
5861    <declare-styleable name="NinePatchDrawable">
5862        <!-- Identifier of the bitmap file. This attribute is mandatory. -->
5863        <attr name="src" />
5864        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5865             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5866             an RGB 565 screen). -->
5867        <attr name="dither" />
5868        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5869             RTL (right-to-left). -->
5870        <attr name="autoMirrored" />
5871        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5872             no tint is applied. May be a color state list. -->
5873        <attr name="tint" />
5874        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5875             default value is src_in, which treats the drawable as an alpha mask. -->
5876        <attr name="tintMode" />
5877        <!-- Specifies the alpha multiplier to apply to the base drawable. -->
5878        <attr name="alpha" />
5879    </declare-styleable>
5880
5881    <!-- Drawable used to draw a single color. -->
5882    <declare-styleable name="ColorDrawable">
5883        <!-- The color to use. -->
5884        <attr name="color" />
5885    </declare-styleable>
5886
5887    <!-- Drawable used to draw adaptive icons with foreground and background layers. -->
5888    <declare-styleable name="AdaptiveIconDrawableLayer">
5889        <!-- The drawable to use for the layer. -->
5890        <attr name="drawable" />
5891     </declare-styleable>
5892
5893    <!-- Drawable used to show animated touch feedback. -->
5894    <declare-styleable name="RippleDrawable">
5895        <!-- The color to use for ripple effects. This attribute is required. -->
5896        <attr name="color" />
5897        <!-- The radius of the ripple when fully expanded. By default, the
5898             radius is computed based on the size of the ripple's container. -->
5899        <attr name="radius" />
5900    </declare-styleable>
5901
5902    <declare-styleable name="ScaleDrawable">
5903        <!-- Scale width, expressed as a percentage of the drawable's bound. The value's
5904             format is XX%. For instance: 100%, 12.5%, etc.-->
5905        <attr name="scaleWidth" format="string" />
5906        <!-- Scale height, expressed as a percentage of the drawable's bound. The value's
5907             format is XX%. For instance: 100%, 12.5%, etc.-->
5908        <attr name="scaleHeight" format="string" />
5909        <!-- Specifies where the drawable is positioned after scaling. The default value is
5910             left. -->
5911        <attr name="scaleGravity">
5912            <!-- Push object to the top of its container, not changing its size. -->
5913            <flag name="top" value="0x30" />
5914            <!-- Push object to the bottom of its container, not changing its size. -->
5915            <flag name="bottom" value="0x50" />
5916            <!-- Push object to the left of its container, not changing its size. -->
5917            <flag name="left" value="0x03" />
5918            <!-- Push object to the right of its container, not changing its size. -->
5919            <flag name="right" value="0x05" />
5920            <!-- Place object in the vertical center of its container, not changing its size. -->
5921            <flag name="center_vertical" value="0x10" />
5922            <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
5923            <flag name="fill_vertical" value="0x70" />
5924            <!-- Place object in the horizontal center of its container, not changing its size. -->
5925            <flag name="center_horizontal" value="0x01" />
5926            <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
5927            <flag name="fill_horizontal" value="0x07" />
5928            <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
5929            <flag name="center" value="0x11" />
5930            <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
5931            <flag name="fill" value="0x77" />
5932            <!-- Additional option that can be set to have the top and/or bottom edges of
5933                 the child clipped to its container's bounds.
5934                 The clip will be based on the vertical gravity: a top gravity will clip the bottom
5935                 edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
5936            <flag name="clip_vertical" value="0x80" />
5937            <!-- Additional option that can be set to have the left and/or right edges of
5938                 the child clipped to its container's bounds.
5939                 The clip will be based on the horizontal gravity: a left gravity will clip the right
5940                 edge, a right gravity will clip the left edge, and neither will clip both edges. -->
5941            <flag name="clip_horizontal" value="0x08" />
5942            <!-- Push object to the beginning of its container, not changing its size. -->
5943            <flag name="start" value="0x00800003" />
5944            <!-- Push object to the end of its container, not changing its size. -->
5945            <flag name="end" value="0x00800005" />
5946        </attr>
5947        <!-- Specifies the initial drawable level in the range 0 to 10000. -->
5948        <attr name="level" format="integer" />
5949        <!-- Reference to a drawable resource to draw with the specified scale. -->
5950        <attr name="drawable" />
5951        <!-- Use the drawable's intrinsic width and height as minimum size values.
5952             Useful if the target drawable is a 9-patch or otherwise should not be scaled
5953             down beyond a minimum size. -->
5954        <attr name="useIntrinsicSizeAsMinimum" format="boolean" />
5955    </declare-styleable>
5956
5957    <declare-styleable name="ClipDrawable">
5958        <!-- The orientation for the clip. -->
5959        <attr name="clipOrientation">
5960            <!-- Clip the drawable horizontally. -->
5961            <flag name="horizontal" value="1" />
5962            <!-- Clip the drawable vertically. -->
5963            <flag name="vertical" value="2" />
5964        </attr>
5965        <!-- Specifies where to clip within the drawable. The default value is
5966             left. -->
5967        <attr name="gravity" />
5968        <!-- Reference to a drawable resource to draw with the specified scale. -->
5969        <attr name="drawable" />
5970    </declare-styleable>
5971
5972    <!-- Defines the padding of a ShapeDrawable. -->
5973    <declare-styleable name="ShapeDrawablePadding">
5974        <!-- Left padding. -->
5975        <attr name="left" />
5976        <!-- Top padding. -->
5977        <attr name="top" />
5978        <!-- Right padding. -->
5979        <attr name="right" />
5980        <!-- Bottom padding. -->
5981        <attr name="bottom" />
5982    </declare-styleable>
5983
5984    <!-- Drawable used to draw shapes. -->
5985    <declare-styleable name="ShapeDrawable">
5986        <!-- Defines the color of the shape. -->
5987        <attr name="color" />
5988        <!-- Defines the width of the shape. -->
5989        <attr name="width" />
5990        <!-- Defines the height of the shape. -->
5991        <attr name="height" />
5992        <!-- Enables or disables dithering. -->
5993        <attr name="dither" />
5994        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5995             no tint is applied. May be a color state list. -->
5996        <attr name="tint" />
5997        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5998             default value is src_in, which treats the drawable as an alpha mask. -->
5999        <attr name="tintMode" />
6000    </declare-styleable>
6001
6002    <!-- ========================== -->
6003    <!--   VectorDrawable class   -->
6004    <!-- ========================== -->
6005    <eat-comment />
6006
6007    <!-- Drawable used to draw vector paths. -->
6008    <declare-styleable name="VectorDrawable">
6009        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
6010             no tint is applied. May be a color state list. -->
6011        <attr name="tint" />
6012        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
6013             default value is src_in, which treats the drawable as an alpha mask. -->
6014        <attr name="tintMode" />
6015        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
6016             RTL (right-to-left). -->
6017        <attr name="autoMirrored" />
6018        <!-- The intrinsic width of the Vector Drawable. -->
6019        <attr name="width" />
6020        <!-- The intrinsic height of the Vector Drawable. -->
6021        <attr name="height" />
6022        <!-- The width of the canvas the drawing is on. -->
6023        <attr name="viewportWidth" format="float"/>
6024        <!-- The height of the canvas the drawing is on. -->
6025        <attr name="viewportHeight" format="float"/>
6026        <!-- The name of this vector drawable. -->
6027        <attr name="name" />
6028        <!-- The opacity of the whole vector drawable, as a value between 0
6029             (completely transparent) and 1 (completely opaque). -->
6030        <attr name="alpha" />
6031        <!-- Left optical inset.
6032             @hide Until optical insets are fully supported. -->
6033        <attr name="opticalInsetLeft" format="dimension" />
6034        <!-- Top optical inset.
6035             @hide Until optical insets are fully supported. -->
6036        <attr name="opticalInsetTop" format="dimension" />
6037        <!-- Right optical inset.
6038             @hide Until optical insets are fully supported. -->
6039        <attr name="opticalInsetRight" format="dimension" />
6040        <!-- Bottom optical inset.
6041             @hide Until optical insets are fully supported. -->
6042        <attr name="opticalInsetBottom" format="dimension" />
6043    </declare-styleable>
6044
6045    <!-- Defines the group used in VectorDrawables. -->
6046    <declare-styleable name="VectorDrawableGroup">
6047        <!-- The name of this group. -->
6048        <attr name="name" />
6049        <!-- The amount to rotate the group. -->
6050        <attr name="rotation" />
6051        <!-- The X coordinate of the center of rotation of a group. -->
6052        <attr name="pivotX" />
6053        <!-- The Y coordinate of the center of rotation of a group. -->
6054        <attr name="pivotY" />
6055        <!-- The amount to translate the group on X coordinate. -->
6056        <attr name="translateX" format="float"/>
6057        <!-- The amount to translate the group on Y coordinate. -->
6058        <attr name="translateY" format="float"/>
6059        <!-- The amount to scale the group on X coordinate. -->
6060        <attr name="scaleX" />
6061        <!-- The amount to scale the group on X coordinate. -->
6062        <attr name="scaleY" />
6063    </declare-styleable>
6064
6065    <!-- Defines the path used in VectorDrawables. -->
6066    <declare-styleable name="VectorDrawablePath">
6067        <!-- The name of this path. -->
6068        <attr name="name" />
6069        <!-- The width a path stroke. -->
6070        <attr name="strokeWidth" format="float" />
6071        <!-- The color to stroke the path if not defined implies no stroke. -->
6072        <attr name="strokeColor" format="color" />
6073        <!-- The opacity of a path stroke, as a value between 0 (completely transparent)
6074             and 1 (completely opaque). -->
6075        <attr name="strokeAlpha" format="float" />
6076        <!-- The color to fill the path if not defined implies no fill. -->
6077        <attr name="fillColor" format="color" />
6078        <!-- The alpha of the path fill, as a value between 0 (completely transparent)
6079             and 1 (completely opaque). -->
6080        <attr name="fillAlpha" format="float" />
6081        <!-- The specification of the operations that define the path. -->
6082        <attr name="pathData" format="string" />
6083        <!-- The fraction of the path to trim from the start from 0 to 1. -->
6084        <attr name="trimPathStart" format="float" />
6085        <!-- The fraction of the path to trim from the end from 0 to 1 . -->
6086        <attr name="trimPathEnd" format="float" />
6087        <!-- Shift trim region (allows visible region to include the start and end) from 0 to 1. -->
6088        <attr name="trimPathOffset" format="float" />
6089        <!-- sets the linecap for a stroked path. -->
6090        <attr name="strokeLineCap" format="enum">
6091            <enum name="butt" value="0"/>
6092            <enum name="round" value="1"/>
6093            <enum name="square" value="2"/>
6094        </attr>
6095        <!-- sets the lineJoin for a stroked path. -->
6096        <attr name="strokeLineJoin" format="enum">
6097            <enum name="miter" value="0"/>
6098            <enum name="round" value="1"/>
6099            <enum name="bevel" value="2"/>
6100        </attr>
6101        <!-- sets the Miter limit for a stroked path. -->
6102        <attr name="strokeMiterLimit" format="float"/>
6103        <!-- sets the fillType for a path. It is the same as SVG's "fill-rule" properties.
6104             For more details, see https://www.w3.org/TR/SVG/painting.html#FillRuleProperty. -->
6105        <attr name="fillType" format="enum">
6106            <enum name="nonZero" value="0"/>
6107            <enum name="evenOdd" value="1"/>
6108        </attr>
6109    </declare-styleable>
6110
6111    <!-- Defines the clip path used in VectorDrawables. -->
6112    <declare-styleable name="VectorDrawableClipPath">
6113        <!-- The Name of this path. -->
6114        <attr name="name" />
6115        <!-- The specification of the operations that define the path. -->
6116        <attr name="pathData"/>
6117    </declare-styleable>
6118
6119    <!-- ========================== -->
6120    <!--   AnimatedVectorDrawable class   -->
6121    <!-- ========================== -->
6122    <eat-comment />
6123
6124    <!-- Define the AnimatedVectorDrawable. -->
6125    <declare-styleable name="AnimatedVectorDrawable">
6126        <!-- The static vector drawable. -->
6127        <attr name="drawable" />
6128    </declare-styleable>
6129
6130    <!-- Defines the target used in the AnimatedVectorDrawable. -->
6131    <declare-styleable name="AnimatedVectorDrawableTarget">
6132        <!-- The name of the target path, group or vector drawable. -->
6133        <attr name="name" />
6134        <!-- The animation for the target path, group or vector drawable. -->
6135        <attr name="animation" />
6136    </declare-styleable>
6137
6138    <!-- ========================== -->
6139    <!-- Animation class attributes -->
6140    <!-- ========================== -->
6141    <eat-comment />
6142
6143    <declare-styleable name="Animation">
6144        <!-- Defines the interpolator used to smooth the animation movement in time. -->
6145        <attr name="interpolator" />
6146        <!-- When set to true, the value of fillBefore is taken into account. -->
6147        <attr name="fillEnabled" format="boolean" />
6148        <!-- When set to true or when fillEnabled is not set to true, the animation transformation
6149             is applied before the animation has started. The default value is true. -->
6150        <attr name="fillBefore" format="boolean" />
6151        <!-- When set to true, the animation transformation is applied after the animation is
6152             over. The default value is false. If fillEnabled is not set to true and the
6153             animation is not set on a View, fillAfter is assumed to be true.-->
6154        <attr name="fillAfter" format="boolean" />
6155        <!-- Amount of time (in milliseconds) for the animation to run. -->
6156        <attr name="duration" />
6157        <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
6158        <attr name="startOffset" format="integer" />
6159        <!-- Defines how many times the animation should repeat. The default value is 0. -->
6160        <attr name="repeatCount" format="integer">
6161            <enum name="infinite" value="-1" />
6162        </attr>
6163        <!-- Defines the animation behavior when it reaches the end and the repeat count is
6164             greater than 0 or infinite. The default value is restart. -->
6165        <attr name="repeatMode">
6166            <!-- The animation starts again from the beginning. -->
6167            <enum name="restart" value="1" />
6168            <!-- The animation plays backward. -->
6169            <enum name="reverse" value="2" />
6170        </attr>
6171        <!-- Allows for an adjustment of the Z ordering of the content being
6172             animated for the duration of the animation.  The default value is normal. -->
6173        <attr name="zAdjustment">
6174            <!-- The content being animated be kept in its current Z order. -->
6175            <enum name="normal" value="0" />
6176            <!-- The content being animated is forced on top of all other
6177                 content for the duration of the animation. -->
6178            <enum name="top" value="1" />
6179            <!-- The content being animated is forced under all other
6180                 content for the duration of the animation. -->
6181            <enum name="bottom" value="-1" />
6182        </attr>
6183        <!-- Special background behind animation.  Only for use with window
6184             animations.  Can only be a color, and only black.  If 0, the
6185             default, there is no background. -->
6186        <attr name="background" />
6187        <!-- Special option for window animations: if this window is on top
6188             of a wallpaper, don't animate the wallpaper with it. -->
6189        <attr name="detachWallpaper" format="boolean" />
6190    </declare-styleable>
6191
6192    <declare-styleable name="AnimationSet">
6193        <attr name="shareInterpolator" format="boolean" />
6194        <attr name="fillBefore" />
6195        <attr name="fillAfter" />
6196        <attr name="duration" />
6197        <attr name="startOffset" />
6198        <attr name="repeatMode" />
6199    </declare-styleable>
6200
6201    <declare-styleable name="RotateAnimation">
6202        <attr name="fromDegrees" />
6203        <attr name="toDegrees" />
6204        <attr name="pivotX" />
6205        <attr name="pivotY" />
6206    </declare-styleable>
6207
6208    <declare-styleable name="ScaleAnimation">
6209        <attr name="fromXScale" format="float|fraction|dimension" />
6210        <attr name="toXScale" format="float|fraction|dimension" />
6211        <attr name="fromYScale" format="float|fraction|dimension" />
6212        <attr name="toYScale" format="float|fraction|dimension" />
6213        <attr name="pivotX" />
6214        <attr name="pivotY" />
6215    </declare-styleable>
6216
6217    <declare-styleable name="TranslateAnimation">
6218        <attr name="fromXDelta" format="float|fraction" />
6219        <attr name="toXDelta" format="float|fraction" />
6220        <attr name="fromYDelta" format="float|fraction" />
6221        <attr name="toYDelta" format="float|fraction" />
6222    </declare-styleable>
6223
6224    <declare-styleable name="AlphaAnimation">
6225        <attr name="fromAlpha" format="float" />
6226        <attr name="toAlpha" format="float" />
6227    </declare-styleable>
6228
6229    <declare-styleable name="LayoutAnimation">
6230        <!-- Fraction of the animation duration used to delay the beginning of
6231         the animation of each child. -->
6232        <attr name="delay" format="float|fraction" />
6233        <!-- Animation to use on each child. -->
6234        <attr name="animation" format="reference" />
6235        <!-- The order in which the animations will be started. -->
6236        <attr name="animationOrder">
6237            <!-- Animations are started in the natural order. -->
6238            <enum name="normal" value="0" />
6239            <!-- Animations are started in the reverse order. -->
6240            <enum name="reverse" value="1" />
6241            <!-- Animations are started randomly. -->
6242            <enum name="random" value="2" />
6243        </attr>
6244        <!-- Interpolator used to interpolate the delay between the start of
6245         each animation. -->
6246        <attr name="interpolator" />
6247    </declare-styleable>
6248
6249    <declare-styleable name="GridLayoutAnimation">
6250        <!-- Fraction of the animation duration used to delay the beginning of
6251         the animation of each column. -->
6252        <attr name="columnDelay" format="float|fraction" />
6253        <!-- Fraction of the animation duration used to delay the beginning of
6254         the animation of each row. -->
6255        <attr name="rowDelay" format="float|fraction" />
6256        <!-- Direction of the animation in the grid. -->
6257        <attr name="direction">
6258            <!-- Animates columns from left to right. -->
6259            <flag name="left_to_right" value="0x0" />
6260            <!-- Animates columns from right to left. -->
6261            <flag name="right_to_left" value="0x1" />
6262            <!-- Animates rows from top to bottom. -->
6263            <flag name="top_to_bottom" value="0x0" />
6264            <!-- Animates rows from bottom to top. -->
6265            <flag name="bottom_to_top" value="0x2" />
6266        </attr>
6267        <!-- Priority of the rows and columns. When the priority is none,
6268         both rows and columns have the same priority. When the priority is
6269         column, the animations will be applied on the columns first. The same
6270         goes for rows. -->
6271        <attr name="directionPriority">
6272            <!-- Rows and columns are animated at the same time. -->
6273            <enum name="none"   value="0" />
6274            <!-- Columns are animated first. -->
6275            <enum name="column" value="1" />
6276            <!-- Rows are animated first. -->
6277            <enum name="row"    value="2" />
6278        </attr>
6279    </declare-styleable>
6280
6281    <declare-styleable name="AccelerateInterpolator">
6282        <!-- This is the amount of deceleration to add when easing in. -->
6283        <attr name="factor" format="float" />
6284    </declare-styleable>
6285
6286    <declare-styleable name="DecelerateInterpolator">
6287        <!-- This is the amount of acceleration to add when easing out. -->
6288        <attr name="factor" />
6289    </declare-styleable>
6290
6291    <declare-styleable name="CycleInterpolator">
6292        <attr name="cycles" format="float" />
6293    </declare-styleable>
6294
6295    <declare-styleable name="AnticipateInterpolator">
6296        <!-- This is the amount of tension. -->
6297        <attr name="tension" format="float" />
6298    </declare-styleable>
6299
6300    <declare-styleable name="OvershootInterpolator">
6301        <!-- This is the amount of tension. -->
6302        <attr name="tension" />
6303    </declare-styleable>
6304
6305    <declare-styleable name="AnticipateOvershootInterpolator">
6306        <!-- This is the amount of tension. -->
6307        <attr name="tension" />
6308        <!-- This is the amount by which to multiply the tension. -->
6309        <attr name="extraTension" format="float" />
6310    </declare-styleable>
6311
6312    <declare-styleable name="PathInterpolator">
6313        <!-- The x coordinate of the first control point of the cubic Bezier. -->
6314        <attr name="controlX1" format="float" />
6315        <!-- The y coordinate of the first control point of the cubic Bezier. -->
6316        <attr name="controlY1" format="float" />
6317        <!-- The x coordinate of the second control point of the cubic Bezier. -->
6318        <attr name="controlX2" format="float" />
6319        <!-- The y coordinate of the second control point of the cubic Bezier. -->
6320        <attr name="controlY2" format="float" />
6321        <!-- The control points defined as a path.
6322             When pathData is defined, then both of the control points of the
6323             cubic Bezier will be ignored. -->
6324        <attr name="pathData"/>
6325    </declare-styleable>
6326
6327    <!-- ========================== -->
6328    <!-- Transition attributes -->
6329    <!-- ========================== -->
6330    <eat-comment />
6331
6332    <!-- Use specific transition subclass names as the root tag of the XML resource that
6333         describes a {@link android.transition.Transition Transition},
6334         such as <code>changeBounds</code>, <code>fade</code>, and <code>transitionSet</code>. -->
6335    <declare-styleable name="Transition">
6336        <!-- Amount of time (in milliseconds) that the transition should run. -->
6337        <attr name="duration" />
6338        <!-- Delay in milliseconds before the transition starts. -->
6339        <attr name="startDelay" format="integer" />
6340        <!-- Interpolator to be used in the animations spawned by this transition. -->
6341        <attr name="interpolator" />
6342        <!-- The match order to use for the transition. This is a comma-separated
6343             list of values, containing one or more of the following:
6344             id, itemId, name, instance. These correspond to
6345             {@link android.transition.Transition#MATCH_ID},
6346             {@link android.transition.Transition#MATCH_ITEM_ID},
6347             {@link android.transition.Transition#MATCH_NAME}, and
6348             {@link android.transition.Transition#MATCH_INSTANCE}, respectively.
6349             This corresponds to {@link android.transition.Transition#setMatchOrder(int...)}. -->
6350        <attr name="matchOrder" format="string" />
6351    </declare-styleable>
6352
6353    <!-- @hide For internal use only. Use only as directed. -->
6354    <declare-styleable name="EpicenterTranslateClipReveal">
6355        <attr name="interpolatorX" format="reference" />
6356        <attr name="interpolatorY" format="reference" />
6357        <attr name="interpolatorZ" format="reference" />
6358    </declare-styleable>
6359
6360    <!-- Use <code>fade</code>as the root tag of the XML resource that
6361         describes a {@link android.transition.Fade Fade} transition.
6362         The attributes of the {@link android.R.styleable#Transition Transition}
6363         resource are available in addition to the specific attributes of Fade
6364         described here. -->
6365    <declare-styleable name="Fade">
6366        <!-- Equivalent to <code>transitionVisibilityMode</code>, fadingMode works only
6367             with the Fade transition. -->
6368        <attr name="fadingMode">
6369            <!-- Fade will only fade appearing items in. -->
6370            <enum name="fade_in" value="1" />
6371            <!-- Fade will only fade disappearing items out. -->
6372            <enum name="fade_out" value="2" />
6373            <!-- Fade will fade appearing items in and disappearing items out. -->
6374            <enum name="fade_in_out" value="3" />
6375        </attr>
6376    </declare-styleable>
6377
6378    <!-- Use <code>slide</code>as the root tag of the XML resource that
6379         describes a {@link android.transition.Slide Slide} transition.
6380         The attributes of the {@link android.R.styleable#Transition Transition}
6381         resource are available in addition to the specific attributes of Slide
6382         described here. -->
6383    <declare-styleable name="Slide">
6384        <attr name="slideEdge">
6385            <!-- Slide to and from the left edge of the Scene. -->
6386            <enum name="left" value="0x03" />
6387            <!-- Slide to and from the top edge of the Scene. -->
6388            <enum name="top" value="0x30" />
6389            <!-- Slide to and from the right edge of the Scene. -->
6390            <enum name="right" value="0x05" />
6391            <!-- Slide to and from the bottom edge of the Scene. -->
6392            <enum name="bottom" value="0x50" />
6393            <!-- Slide to and from the x-axis position at the start of the Scene root. -->
6394            <enum name="start" value="0x00800003"/>
6395            <!-- Slide to and from the x-axis position at the end of the Scene root. -->
6396            <enum name="end" value="0x00800005"/>
6397        </attr>
6398    </declare-styleable>
6399
6400    <!-- Use with {@link android.transition.Visibility} transitions, such as
6401         <code>slide</code>, <code>explode</code>, and <code>fade</code> to mark which
6402         views are supported. -->
6403    <declare-styleable name="VisibilityTransition">
6404        <!-- Changes whether the transition supports appearing and/or disappearing Views.
6405             Corresponds to {@link android.transition.Visibility#setMode(int)}. -->
6406        <attr name="transitionVisibilityMode">
6407            <!-- Only appearing Views will be supported. -->
6408            <flag name="mode_in" value="1" />
6409            <!-- Only disappearing Views will be supported. -->
6410            <flag name="mode_out" value="2" />
6411        </attr>
6412    </declare-styleable>
6413    <!-- Use <code>target</code> as the root tag of the XML resource that
6414     describes a {@link android.transition.Transition#addTarget(int)
6415     targetId} of a transition. There can be one or more targets inside
6416     a <code>targets</code> tag, which is itself inside an appropriate
6417     {@link android.R.styleable#Transition Transition} tag.
6418     -->
6419    <declare-styleable name="TransitionTarget">
6420        <!-- The id of a target on which this transition will animate changes. -->
6421        <attr name="targetId" format="reference" />
6422        <!-- The id of a target to exclude from this transition. -->
6423        <attr name="excludeId" format="reference" />
6424        <!-- The fully-qualified name of the Class to include in this transition. -->
6425        <attr name="targetClass" />
6426        <!-- The fully-qualified name of the Class to exclude from this transition. -->
6427        <attr name="excludeClass" format="string" />
6428        <!-- The transitionName of the target on which this transition will animation changes. -->
6429        <attr name="targetName" format="string" />
6430        <!-- The transitionName of the target to exclude from this transition. -->
6431        <attr name="excludeName" format="string" />
6432    </declare-styleable>
6433
6434    <!-- Use <code>set</code> as the root tag of the XML resource that
6435         describes a {@link android.transition.TransitionSet
6436         TransitionSet} transition. -->
6437    <declare-styleable name="TransitionSet">
6438        <attr name="transitionOrdering">
6439            <!-- child transitions should be played together. -->
6440            <enum name="together" value="0" />
6441            <!-- child transitions should be played sequentially, in the same order
6442            as the xml. -->
6443            <enum name="sequential" value="1" />
6444        </attr>
6445    </declare-styleable>
6446
6447    <!-- Use <code>changeTransform</code> as the root tag of the XML resource that
6448         describes a {@link android.transition.ChangeTransform} transition. -->
6449    <declare-styleable name="ChangeTransform">
6450        <!-- A parent change should use an overlay or affect the transform of the
6451             transitionining View. Default is true. Corresponds to
6452             {@link android.transition.ChangeTransform#setReparentWithOverlay(boolean)}. -->
6453        <attr name="reparentWithOverlay" format="boolean"/>
6454
6455        <!-- Tells ChangeTransform to track parent changes. Default is true. Corresponds to
6456             {@link android.transition.ChangeTransform#setReparent(boolean)}. -->
6457        <attr name="reparent" format="boolean"/>
6458    </declare-styleable>
6459
6460    <!-- Use <code>changeBounds</code>as the root tag of the XML resource that
6461         describes a {@link android.transition.ChangeBounds} transition.
6462         The attributes of the {@link android.R.styleable#Transition Transition}
6463         resource are available in addition to the specific attributes of ChangeBounds
6464         described here. -->
6465    <declare-styleable name="ChangeBounds">
6466        <!-- Resize the view by adjusting the clipBounds rather than changing the
6467             dimensions of the view itself. The default value is false. -->
6468        <attr name="resizeClip" format="boolean"/>
6469    </declare-styleable>
6470
6471    <!-- Use <code>transitionManager</code> as the root tag of the XML resource that
6472         describes a {@link android.transition.TransitionManager
6473         TransitionManager}. -->
6474    <declare-styleable name="TransitionManager">
6475        <!-- The id of a transition to be used in a particular scene change. -->
6476        <attr name="transition" format="reference" />
6477        <!-- The originating scene in this scene change. -->
6478        <attr name="fromScene" format="reference" />
6479        <!-- The destination scene in this scene change. -->
6480        <attr name="toScene" format="reference" />
6481    </declare-styleable>
6482
6483    <!-- Use <code>arcMotion</code> as the root tag of the XML resource that
6484         describes a {@link android.transition.ArcMotion}. This must be used
6485         within a transition with which the PathMotion should be associated. -->
6486    <declare-styleable name="ArcMotion">
6487        <!-- The minimum arc angle in degrees between the start and end points when
6488             they are close to horizontal. -->
6489        <attr name="minimumHorizontalAngle" format="float" />
6490        <!-- The minimum arc angle in degrees between the start and end points when
6491             they are close to vertical. -->
6492        <attr name="minimumVerticalAngle" format="float" />
6493        <!-- The maximum arc angle in degrees between the start and end points. -->
6494        <attr name="maximumAngle" format="float" />
6495    </declare-styleable>
6496
6497    <!-- Use <code>patternPathMotion</code> as the root tag of the XML resource that
6498         describes a {@link android.transition.PatternPathMotion}. This must be used
6499         within a transition with which the PathMotion should be associated. -->
6500    <declare-styleable name="PatternPathMotion">
6501        <!-- The path string describing the pattern to use for the PathPathMotion. -->
6502        <attr name="patternPathData" format="string" />
6503    </declare-styleable>
6504
6505    <!-- ========================== -->
6506    <!-- ValueAnimator class attributes -->
6507    <!-- ========================== -->
6508    <eat-comment />
6509
6510    <declare-styleable name="Animator">
6511        <!-- Defines the interpolator used to smooth the animation movement in time. -->
6512        <attr name="interpolator" />
6513        <!-- Amount of time (in milliseconds) for the animation to run. -->
6514        <attr name="duration" />
6515        <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
6516        <attr name="startOffset"/>
6517        <!-- Defines how many times the animation should repeat. The default value is 0. -->
6518        <attr name="repeatCount"/>
6519        <!-- Defines the animation behavior when it reaches the end and the repeat count is
6520             greater than 0 or infinite. The default value is restart. -->
6521        <attr name="repeatMode"/>
6522        <!-- Value the animation starts from. -->
6523        <attr name="valueFrom" format="float|integer|color|dimension|string"/>
6524        <!-- Value the animation animates to. -->
6525        <attr name="valueTo" format="float|integer|color|dimension|string"/>
6526        <!-- The type of valueFrom and valueTo. -->
6527        <attr name="valueType">
6528            <!-- The given values are floats. This is the default value if valueType is
6529                 unspecified. Note that if any value attribute has a color value
6530                 (beginning with "#"), then this attribute is ignored and the color values are
6531                 interpreted as integers. -->
6532            <enum name="floatType" value="0" />
6533            <!-- values are integers. -->
6534            <enum name="intType"   value="1" />
6535            <!-- values are paths defined as strings.
6536                 This type is used for path morphing in AnimatedVectorDrawable. -->
6537            <enum name="pathType"   value="2" />
6538            <!-- values are colors, which are integers starting with "#". -->
6539            <enum name="colorType"   value="3" />
6540        </attr>
6541        <!-- Placeholder for a deleted attribute. This should be removed before M release. -->
6542        <attr name="removeBeforeMRelease" format="integer" />
6543    </declare-styleable>
6544
6545    <declare-styleable name="PropertyValuesHolder">
6546        <attr name="valueType" />
6547        <attr name="propertyName" />
6548        <attr name="valueFrom" />
6549        <attr name="valueTo" />
6550    </declare-styleable>
6551
6552    <declare-styleable name="Keyframe">
6553        <attr name="valueType" />
6554        <attr name="value" />
6555        <attr name="fraction" format="float" />
6556        <!-- Defines a per-interval interpolator for this keyframe. This interpolator will be used
6557             to interpolate between this keyframe and the previous keyframe. -->
6558        <attr name="interpolator" />
6559    </declare-styleable>
6560
6561    <!-- ========================== -->
6562    <!-- ObjectAnimator class attributes -->
6563    <!-- ========================== -->
6564    <eat-comment />
6565
6566    <declare-styleable name="PropertyAnimator">
6567        <!-- Name of the property being animated. -->
6568        <attr name="propertyName" format="string"/>
6569        <!-- Name of the property being animated as the X coordinate of the pathData. -->
6570        <attr name="propertyXName" format="string"/>
6571        <!-- Name of the property being animated as the Y coordinate of the pathData. -->
6572        <attr name="propertyYName" format="string"/>
6573        <!-- The path used to animate the properties in the ObjectAnimator. -->
6574        <attr name="pathData"/>
6575    </declare-styleable>
6576
6577
6578    <!-- ========================== -->
6579    <!-- AnimatorSet class attributes -->
6580    <!-- ========================== -->
6581    <eat-comment />
6582
6583    <declare-styleable name="AnimatorSet">
6584        <!-- Name of the property being animated. -->
6585        <attr name="ordering">
6586            <!-- child animations should be played together. -->
6587            <enum name="together" value="0" />
6588            <!-- child animations should be played sequentially, in the same order as the xml. -->
6589            <enum name="sequentially" value="1" />
6590        </attr>
6591    </declare-styleable>
6592
6593    <!-- ========================== -->
6594    <!-- State attributes           -->
6595    <!-- ========================== -->
6596    <eat-comment />
6597
6598    <!-- Set of framework-provided states that may be specified on a Drawable. Actual usage of
6599         states may vary between view implementations, as documented on the individual state
6600         attributes. -->
6601    <declare-styleable name="DrawableStates">
6602        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6603             set when a view has input focus. -->
6604        <attr name="state_focused" format="boolean" />
6605        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6606             set when a view's window has input focus. -->
6607        <attr name="state_window_focused" format="boolean" />
6608        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6609             set when a view is enabled. -->
6610        <attr name="state_enabled" format="boolean" />
6611        <!-- State identifier indicating that the object <var>may</var> display a check mark. See
6612             {@link android.R.attr#state_checked} for the identifier that indicates whether it is
6613             actually checked. -->
6614        <attr name="state_checkable" format="boolean"/>
6615        <!-- State identifier indicating that the object is currently checked.  See
6616             {@link android.R.attr#state_checkable} for an additional identifier that can indicate
6617             if any object may ever display a check, regardless of whether state_checked is
6618             currently set. -->
6619        <attr name="state_checked" format="boolean"/>
6620        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6621             set when a view (or one of its parents) is currently selected. -->
6622        <attr name="state_selected" format="boolean" />
6623        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6624             set when the user is pressing down in a view. -->
6625        <attr name="state_pressed" format="boolean" />
6626        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6627             set when a view or its parent has been "activated" meaning the user has currently
6628             marked it as being of interest.  This is an alternative representation of
6629             state_checked for when the state should be propagated down the view hierarchy. -->
6630        <attr name="state_activated" format="boolean" />
6631        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6632             set when a view or drawable is considered "active" by its host. Actual usage may vary
6633             between views. Consult the host view documentation for details. -->
6634        <attr name="state_active" format="boolean" />
6635        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6636             set when a view or drawable is considered "single" by its host. Actual usage may vary
6637             between views. Consult the host view documentation for details. -->
6638        <attr name="state_single" format="boolean" />
6639        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6640             set when a view or drawable is in the first position in an ordered set. Actual usage
6641             may vary between views. Consult the host view documentation for details. -->
6642        <attr name="state_first" format="boolean" />
6643        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6644             set when a view or drawable is in the middle position in an ordered set. Actual usage
6645             may vary between views. Consult the host view documentation for details. -->
6646        <attr name="state_middle" format="boolean" />
6647        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6648             set when a view or drawable is in the last position in an ordered set. Actual usage
6649             may vary between views. Consult the host view documentation for details. -->
6650        <attr name="state_last" format="boolean" />
6651        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6652             indicating that the Drawable is in a view that is hardware accelerated.
6653             This means that the device can at least render a full-screen scaled
6654             bitmap with one layer of text and bitmaps composited on top of it
6655             at 60fps.  When this is set, the colorBackgroundCacheHint will be
6656             ignored even if it specifies a solid color, since that optimization
6657             is not needed. -->
6658        <attr name="state_accelerated" format="boolean" />
6659        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6660             set when a pointer is hovering over the view. -->
6661        <attr name="state_hovered" format="boolean" />
6662        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6663             indicating that the Drawable is in a view that is capable of accepting a drop of
6664             the content currently being manipulated in a drag-and-drop operation. -->
6665        <attr name="state_drag_can_accept" format="boolean" />
6666        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6667             indicating that a drag operation (for which the Drawable's view is a valid recipient)
6668             is currently positioned over the Drawable. -->
6669        <attr name="state_drag_hovered" format="boolean" />
6670        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6671             indicating that a View has accessibility focus. -->
6672        <attr name="state_accessibility_focused" format="boolean" />
6673    </declare-styleable>
6674    <declare-styleable name="ViewDrawableStates">
6675        <attr name="state_pressed" />
6676        <attr name="state_focused" />
6677        <attr name="state_selected" />
6678        <attr name="state_window_focused" />
6679        <attr name="state_enabled" />
6680        <attr name="state_activated" />
6681        <attr name="state_accelerated" />
6682        <attr name="state_hovered" />
6683        <attr name="state_drag_can_accept" />
6684        <attr name="state_drag_hovered" />
6685    </declare-styleable>
6686    <!-- State array representing a menu item that is currently checked. -->
6687    <declare-styleable name="MenuItemCheckedState">
6688        <attr name="state_checkable" />
6689        <attr name="state_checked" />
6690    </declare-styleable>
6691    <!-- State array representing a menu item that is checkable but is not currently checked. -->
6692    <declare-styleable name="MenuItemUncheckedState">
6693        <attr name="state_checkable" />
6694    </declare-styleable>
6695    <!-- State array representing a menu item that is currently focused and checked. -->
6696    <declare-styleable name="MenuItemCheckedFocusedState">
6697        <attr name="state_checkable" />
6698        <attr name="state_checked" />
6699        <attr name="state_focused" />
6700    </declare-styleable>
6701    <!-- State array representing a menu item that is focused and checkable but is not currently checked. -->
6702    <declare-styleable name="MenuItemUncheckedFocusedState">
6703        <attr name="state_checkable" />
6704        <attr name="state_focused" />
6705    </declare-styleable>
6706    <!-- State array representing an expandable list child's indicator. -->
6707    <declare-styleable name="ExpandableListChildIndicatorState">
6708        <!-- State identifier indicating the child is the last child within its group. -->
6709        <attr name="state_last" />
6710    </declare-styleable>
6711    <!-- State array representing an expandable list group's indicator. -->
6712    <declare-styleable name="ExpandableListGroupIndicatorState">
6713        <!-- State identifier indicating the group is expanded. -->
6714        <attr name="state_expanded" format="boolean" />
6715        <!-- State identifier indicating the group is empty (has no children). -->
6716        <attr name="state_empty" format="boolean" />
6717    </declare-styleable>
6718    <declare-styleable name="PopupWindowBackgroundState">
6719        <!-- State identifier indicating the popup will be above the anchor. -->
6720        <attr name="state_above_anchor" format="boolean" />
6721    </declare-styleable>
6722    <declare-styleable name="TextViewMultiLineBackgroundState">
6723        <!-- State identifier indicating a TextView has a multi-line layout. -->
6724        <attr name="state_multiline" format="boolean" />
6725    </declare-styleable>
6726
6727    <!-- ***************************************************************** -->
6728    <!-- Support for Searchable activities. -->
6729    <!-- ***************************************************************** -->
6730    <eat-comment />
6731
6732    <!-- Searchable activities and applications must provide search configuration information
6733        in an XML file, typically called searchable.xml.  This file is referenced in your manifest.
6734        For a more in-depth discussion of search configuration, please refer to
6735        {@link android.app.SearchManager}. -->
6736    <declare-styleable name="Searchable">
6737          <!--<strong>This is deprecated.</strong><br/>The default
6738              application icon is now always used, so this attribute is
6739              obsolete.-->
6740        <attr name="icon" />
6741        <!-- This is the user-displayed name of the searchable activity.  <i>Required
6742            attribute.</i> -->
6743        <attr name="label" />
6744        <!-- If supplied, this string will be displayed as a hint to the user.  <i>Optional
6745            attribute.</i> -->
6746        <attr name="hint" />
6747        <!-- If supplied, this string will be displayed as the text of the "Search" button.
6748          <i>Optional attribute.</i>
6749          {@deprecated This will create a non-standard UI appearance, because the search bar UI is
6750                       changing to use only icons for its buttons.}-->
6751        <attr name="searchButtonText" format="string" />
6752        <attr name="inputType" />
6753        <attr name="imeOptions" />
6754
6755        <!-- Additional features are controlled by mode bits in this field.  Omitting
6756            this field, or setting to zero, provides default behavior.  <i>Optional attribute.</i>
6757        -->
6758        <attr name="searchMode">
6759          <!-- If set, this flag enables the display of the search target (label) within the
6760               search bar.  If neither bad mode is selected, no badge will be shown. -->
6761          <flag name="showSearchLabelAsBadge" value="0x04" />
6762          <!--<strong>This is deprecated.</strong><br/>The default
6763              application icon is now always used, so this option is
6764              obsolete.-->
6765          <flag name="showSearchIconAsBadge" value="0x08" />
6766          <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_INTENT_DATA to
6767               be considered as the text for suggestion query rewriting.  This should only
6768               be used when the values in SUGGEST_COLUMN_INTENT_DATA are suitable for user
6769               inspection and editing - typically, HTTP/HTTPS Uri's. -->
6770          <flag name="queryRewriteFromData" value="0x10" />
6771          <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_TEXT_1 to
6772               be considered as the text for suggestion query rewriting.  This should be used
6773               for suggestions in which no query text is provided and the SUGGEST_COLUMN_INTENT_DATA
6774               values are not suitable for user inspection and editing. -->
6775          <flag name="queryRewriteFromText" value="0x20" />
6776        </attr>
6777
6778        <!-- Voice search features are controlled by mode bits in this field.  Omitting
6779            this field, or setting to zero, provides default behavior.
6780            If showVoiceSearchButton is set, then launchWebSearch or launchRecognizer must
6781            also be set.  <i>Optional attribute.</i>
6782        -->
6783        <attr name="voiceSearchMode">
6784          <!-- If set, display a voice search button.  This only takes effect if voice search is
6785               available on the device. -->
6786          <flag name="showVoiceSearchButton" value="0x01" />
6787          <!-- If set, the voice search button will take the user directly to a built-in
6788               voice web search activity.  Most applications will not use this flag, as it
6789               will take the user away from the activity in which search was invoked. -->
6790          <flag name="launchWebSearch" value="0x02" />
6791          <!-- If set, the voice search button will take the user directly to a built-in
6792               voice recording activity.  This activity will prompt the user to speak,
6793               transcribe the spoken text, and forward the resulting query
6794               text to the searchable activity, just as if the user had typed it into
6795               the search UI and clicked the search button. -->
6796          <flag name="launchRecognizer" value="0x04" />
6797        </attr>
6798
6799        <!-- If provided, this specifies the language model that should be used by the
6800             voice recognition system.  See
6801             {@link android.speech.RecognizerIntent#EXTRA_LANGUAGE_MODEL } for more information.
6802             If not provided, the default value
6803             {@link android.speech.RecognizerIntent#LANGUAGE_MODEL_FREE_FORM } will be used. -->
6804        <attr name="voiceLanguageModel" format="string" />
6805        <!-- If provided, this specifies a prompt that will be displayed during voice input. -->
6806        <attr name="voicePromptText" format="string" />
6807        <!-- If provided, this specifies the spoken language to be expected, and that it will be
6808             different than the one set in the {@link java.util.Locale#getDefault()}. -->
6809        <attr name="voiceLanguage" format="string" />
6810        <!-- If provided, enforces the maximum number of results to return, including the "best"
6811             result which will always be provided as the SEARCH intent's primary query.  Must be one
6812             or greater.  If not provided, the recognizer will choose how many results to return.
6813             -->
6814        <attr name="voiceMaxResults" format="integer" />
6815
6816        <!-- If provided, this is the trigger indicating that the searchable activity
6817            provides suggestions as well.  The value must be a fully-qualified content provider
6818            authority (for example, "com.example.android.apis.SuggestionProvider") and should match
6819            the "android:authorities" tag in your content provider's manifest entry.  <i>Optional
6820            attribute.</i> -->
6821        <attr name="searchSuggestAuthority" format="string" />
6822        <!-- If provided, this will be inserted in the suggestions query Uri, after the authority
6823            you have provide but before the standard suggestions path. <i>Optional attribute.</i>
6824            -->
6825        <attr name="searchSuggestPath" format="string" />
6826        <!-- If provided, suggestion queries will be passed into your query function
6827            as the <i>selection</i> parameter.  Typically this will be a WHERE clause for your
6828            database, and will contain a single question mark, which represents the actual query
6829            string that has been typed by the user.  If not provided, then the user query text
6830            will be appended to the query Uri (after an additional "/".)  <i>Optional
6831            attribute.</i> -->
6832        <attr name="searchSuggestSelection" format="string" />
6833
6834        <!-- If provided, and not overridden by an action in the selected suggestion, this
6835            string will be placed in the action field of the {@link android.content.Intent Intent}
6836            when the user clicks a suggestion.  <i>Optional attribute.</i> -->
6837        <attr name="searchSuggestIntentAction" format="string" />
6838        <!-- If provided, and not overridden by an action in the selected suggestion, this
6839            string will be placed in the data field of the {@link android.content.Intent Intent}
6840            when the user clicks a suggestion.  <i>Optional attribute.</i> -->
6841        <attr name="searchSuggestIntentData" format="string" />
6842
6843        <!-- If provided, this is the minimum number of characters needed to trigger
6844             search suggestions. The default value is 0. <i>Optional attribute.</i> -->
6845        <attr name="searchSuggestThreshold" format="integer" />
6846
6847        <!-- If provided and <code>true</code>, this searchable activity will be
6848             included in any global lists of search targets.
6849             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6850        <attr name="includeInGlobalSearch" format="boolean" />
6851
6852        <!-- If provided and <code>true</code>, this searchable activity will be invoked for all
6853             queries in a particular session. If set to <code>false</code> and the activity
6854             returned zero results for a query, it will not be invoked again in that session for
6855             supersets of that zero-results query. For example, if the activity returned zero
6856             results for "bo", it would not be queried again for "bob".
6857             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6858        <attr name="queryAfterZeroResults" format="boolean" />
6859        <!-- If provided, this string will be used to describe the searchable item in the
6860             searchable items settings within system search settings. <i>Optional
6861             attribute.</i> -->
6862        <attr name="searchSettingsDescription" format="string" />
6863
6864        <!-- If provided and <code>true</code>, URLs entered in the search dialog while searching
6865             within this activity would be detected and treated as URLs (show a 'go' button in the
6866             keyboard and invoke the browser directly when user launches the URL instead of passing
6867             the URL to the activity). If set to <code>false</code> any URLs entered are treated as
6868             normal query text.
6869             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6870        <attr name="autoUrlDetect" format="boolean" />
6871
6872    </declare-styleable>
6873
6874    <!-- In order to process special action keys during search, you must define them using
6875            one or more "ActionKey" elements in your Searchable metadata.  For a more in-depth
6876            discussion of action code handling, please refer to {@link android.app.SearchManager}.
6877    -->
6878    <declare-styleable name="SearchableActionKey">
6879        <!-- This attribute denotes the action key you wish to respond to.  Note that not
6880            all action keys are actually supported using this mechanism, as many of them are
6881            used for typing, navigation, or system functions.  This will be added to the
6882            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6883            searchable activity.  To examine the key code, use
6884            {@link android.content.Intent#getIntExtra getIntExtra(SearchManager.ACTION_KEY)}.
6885            <p>Note, in addition to the keycode, you must also provide one or more of the action
6886            specifier attributes.  <i>Required attribute.</i> -->
6887        <attr name="keycode" />
6888
6889        <!-- If you wish to handle an action key during normal search query entry, you
6890            must define an action string here.  This will be added to the
6891            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6892            searchable activity.  To examine the string, use
6893            {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
6894            <i>Optional attribute.</i> -->
6895        <attr name="queryActionMsg"  format="string" />
6896
6897        <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
6898            selected</i>, there are two ways to handle this.  If <i>all</i> of your suggestions
6899            can handle the action key, you can simply define the action message using this
6900            attribute.  This will be added to the
6901            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6902            searchable activity.  To examine the string, use
6903            {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
6904            <i>Optional attribute.</i> -->
6905        <attr name="suggestActionMsg"  format="string" />
6906
6907        <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
6908            selected</i>, but you do not wish to enable this action key for every suggestion,
6909            then you can use this attribute to control it on a suggestion-by-suggestion basis.
6910            First, you must define a column (and name it here) where your suggestions will include
6911            the action string.  Then, in your content provider, you must provide this column, and
6912            when desired, provide data in this column.
6913            The search manager will look at your suggestion cursor, using the string
6914            provided here in order to select a column, and will use that to select a string from
6915            the cursor.  That string will be added to the
6916            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to
6917            your searchable activity.  To examine the string, use
6918            {@link android.content.Intent#getStringExtra
6919            getStringExtra(SearchManager.ACTION_MSG)}.  <i>If the data does not exist for the
6920            selection suggestion, the action key will be ignored.</i><i>Optional attribute.</i> -->
6921        <attr name="suggestActionMsgColumn" format="string" />
6922
6923    </declare-styleable>
6924
6925    <!-- ***************************************************************** -->
6926    <!-- Support for MapView. -->
6927    <!-- ***************************************************************** -->
6928    <eat-comment />
6929
6930    <!-- The set of attributes for a MapView. -->
6931    <declare-styleable name="MapView">
6932        <!-- Value is a string that specifies the Maps API Key to use. -->
6933        <attr name="apiKey" format="string" />
6934    </declare-styleable>
6935
6936    <!-- **************************************************************** -->
6937    <!-- Menu XML inflation. -->
6938    <!-- **************************************************************** -->
6939    <eat-comment />
6940
6941    <!-- Base attributes that are available to all Menu objects. -->
6942    <declare-styleable name="Menu">
6943    </declare-styleable>
6944
6945    <!-- Base attributes that are available to all groups. -->
6946    <declare-styleable name="MenuGroup">
6947
6948        <!-- The ID of the group. -->
6949        <attr name="id" />
6950
6951        <!-- The category applied to all items within this group.
6952             (This will be or'ed with the orderInCategory attribute.) -->
6953        <attr name="menuCategory">
6954            <!-- Items are part of a container. -->
6955            <enum name="container" value="0x00010000" />
6956            <!-- Items are provided by the system. -->
6957            <enum name="system" value="0x00020000" />
6958            <!-- Items are user-supplied secondary (infrequently used). -->
6959            <enum name="secondary" value="0x00030000" />
6960            <!-- Items are alternative actions. -->
6961            <enum name="alternative" value="0x00040000" />
6962        </attr>
6963
6964        <!-- The order within the category applied to all items within this group.
6965             (This will be or'ed with the category attribute.) -->
6966        <attr name="orderInCategory" format="integer" />
6967
6968        <!-- Whether the items are capable of displaying a check mark. -->
6969        <attr name="checkableBehavior">
6970            <!-- The items are not checkable. -->
6971            <enum name="none" value="0" />
6972            <!-- The items are all checkable. -->
6973            <enum name="all" value="1" />
6974            <!-- The items are checkable and there will only be a single checked item in
6975                 this group. -->
6976            <enum name="single" value="2" />
6977        </attr>
6978
6979        <!-- Whether the items are shown/visible. -->
6980        <attr name="visible" />
6981
6982        <!-- Whether the items are enabled. -->
6983        <attr name="enabled" />
6984
6985    </declare-styleable>
6986
6987    <!-- Base attributes that are available to all Item objects. -->
6988    <declare-styleable name="MenuItem">
6989
6990        <!-- The ID of the item. -->
6991        <attr name="id" />
6992
6993        <!-- The category applied to the item.
6994             (This will be or'ed with the orderInCategory attribute.) -->
6995        <attr name="menuCategory" />
6996
6997        <!-- The order within the category applied to the item.
6998             (This will be or'ed with the category attribute.) -->
6999        <attr name="orderInCategory" />
7000
7001        <!-- The title associated with the item. -->
7002        <attr name="title" format="string" />
7003
7004        <!-- The condensed title associated with the item.  This is used in situations where the
7005             normal title may be too long to be displayed. -->
7006        <attr name="titleCondensed" format="string" />
7007
7008        <!-- The icon associated with this item.  This icon will not always be shown, so
7009             the title should be sufficient in describing this item. -->
7010        <attr name="icon" />
7011
7012        <!-- The alphabetic shortcut key.  This is the shortcut when using a keyboard
7013             with alphabetic keys. -->
7014        <attr name="alphabeticShortcut" format="string" />
7015
7016        <!-- The alphabetic modifier key. This is the modifier when using a keyboard
7017             with alphabetic keys. The values should be kept in sync with KeyEvent -->
7018        <attr name="alphabeticModifiers">
7019            <flag name="META" value="0x10000" />
7020            <flag name="CTRL" value="0x1000" />
7021            <flag name="ALT" value="0x02" />
7022            <flag name="SHIFT" value="0x1" />
7023            <flag name="SYM" value="0x4" />
7024            <flag name="FUNCTION" value="0x8" />
7025        </attr>
7026
7027        <!-- The numeric shortcut key.  This is the shortcut when using a numeric (for example,
7028             12-key) keyboard. -->
7029        <attr name="numericShortcut" format="string" />
7030
7031        <!-- The numeric modifier key. This is the modifier when using a numeric (for example,
7032             12-key) keyboard. The values should be kept in sync with KeyEvent -->
7033        <attr name="numericModifiers">
7034            <flag name="META" value="0x10000" />
7035            <flag name="CTRL" value="0x1000" />
7036            <flag name="ALT" value="0x02" />
7037            <flag name="SHIFT" value="0x1" />
7038            <flag name="SYM" value="0x4" />
7039            <flag name="FUNCTION" value="0x8" />
7040        </attr>
7041
7042        <!-- Whether the item is capable of displaying a check mark. -->
7043        <attr name="checkable" format="boolean" />
7044
7045        <!-- Whether the item is checked.  Note that you must first have enabled checking with
7046             the checkable attribute or else the check mark will not appear. -->
7047        <attr name="checked" />
7048
7049        <!-- Whether the item is shown/visible. -->
7050        <attr name="visible" />
7051
7052        <!-- Whether the item is enabled. -->
7053        <attr name="enabled" />
7054
7055        <!-- Name of a method on the Context used to inflate the menu that will be
7056             called when the item is clicked. -->
7057        <attr name="onClick" />
7058
7059        <!-- How this item should display in the Action Bar, if present. -->
7060        <attr name="showAsAction">
7061            <!-- Never show this item in an action bar, show it in the overflow menu instead.
7062                 Mutually exclusive with "ifRoom" and "always". -->
7063            <flag name="never" value="0" />
7064            <!-- Show this item in an action bar if there is room for it as determined
7065                 by the system. Favor this option over "always" where possible.
7066                 Mutually exclusive with "never" and "always". -->
7067            <flag name="ifRoom" value="1" />
7068            <!-- Always show this item in an actionbar, even if it would override
7069                 the system's limits of how much stuff to put there. This may make
7070                 your action bar look bad on some screens. In most cases you should
7071                 use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never". -->
7072            <flag name="always" value="2" />
7073            <!-- When this item is shown as an action in the action bar, show a text
7074                 label with it even if it has an icon representation. -->
7075            <flag name="withText" value="4" />
7076            <!-- This item's action view collapses to a normal menu
7077                 item. When expanded, the action view takes over a
7078                 larger segment of its container. -->
7079            <flag name="collapseActionView" value="8" />
7080        </attr>
7081
7082        <!-- An optional layout to be used as an action view.
7083             See {@link android.view.MenuItem#setActionView(android.view.View)}
7084             for more info. -->
7085        <attr name="actionLayout" format="reference" />
7086
7087        <!-- The name of an optional View class to instantiate and use as an
7088             action view. See {@link android.view.MenuItem#setActionView(android.view.View)}
7089             for more info. -->
7090        <attr name="actionViewClass" format="string" />
7091
7092        <!-- The name of an optional ActionProvider class to instantiate an action view
7093             and perform operations such as default action for that menu item.
7094             See {@link android.view.MenuItem#setActionProvider(android.view.ActionProvider)}
7095             for more info. -->
7096        <attr name="actionProviderClass" format="string" />
7097
7098        <!-- The content description associated with the item. -->
7099        <attr name="contentDescription" format="string" />
7100
7101        <!-- The tooltip text associated with the item. -->
7102        <attr name="tooltipText" format="string" />
7103
7104    </declare-styleable>
7105
7106    <!-- Attrbitutes for a ActvityChooserView. -->
7107    <declare-styleable name="ActivityChooserView">
7108        <!-- The maximal number of items initially shown in the activity list. -->
7109        <attr name="initialActivityCount" format="string" />
7110        <!-- The drawable to show in the button for expanding the activities overflow popup.
7111             <strong>Note:</strong> Clients would like to set this drawable
7112             as a clue about the action the chosen activity will perform. For
7113             example, if share activity is to be chosen the drawable should
7114             give a clue that sharing is to be performed.
7115         -->
7116        <attr name="expandActivityOverflowButtonDrawable" format="reference" />
7117    </declare-styleable>
7118
7119    <!-- **************************************************************** -->
7120    <!-- Preferences framework. -->
7121    <!-- **************************************************************** -->
7122    <eat-comment />
7123
7124    <!-- Base attributes available to PreferenceGroup. -->
7125    <declare-styleable name="PreferenceGroup">
7126        <!-- Whether to order the Preference under this group as they appear in the XML file.
7127             If this is false, the ordering will follow the Preference order attribute and
7128             default to alphabetic for those without the order attribute. -->
7129        <attr name="orderingFromXml" format="boolean" />
7130    </declare-styleable>
7131
7132    <!-- Attribute for a header describing the item shown in the top-level list
7133         from which the selects the set of preference to dig in to. -->
7134    <declare-styleable name="PreferenceHeader">
7135        <!-- Identifier value for the header. -->
7136        <attr name="id" />
7137        <!-- The title of the item that is shown to the user. -->
7138        <attr name="title" />
7139        <!-- The summary for the item. -->
7140        <attr name="summary" format="string" />
7141        <!-- The title for the bread crumb of this item. -->
7142        <attr name="breadCrumbTitle" format="string" />
7143        <!-- The short title for the bread crumb of this item. -->
7144        <attr name="breadCrumbShortTitle" format="string" />
7145        <!-- An icon for the item. -->
7146        <attr name="icon" />
7147        <!-- The fragment that is displayed when the user selects this item. -->
7148        <attr name="fragment" format="string" />
7149    </declare-styleable>
7150
7151    <!-- WARNING:  If adding attributes to Preference, make sure it does not conflict
7152                   with a View's attributes.  Some subclasses (for example, EditTextPreference)
7153                   proxy all attributes to its EditText widget. -->
7154    <eat-comment />
7155
7156    <!-- Base attributes available to Preference. -->
7157    <declare-styleable name="Preference">
7158        <!-- The optional icon for the preference. -->
7159        <attr name="icon" />
7160        <!-- The key to store the Preference value. -->
7161        <attr name="key" format="string" />
7162        <!-- The title for the Preference. In API 25 and earlier, this value is read as a
7163         plain string with styling information stripped. -->
7164        <attr name="title" />
7165        <!-- The summary for the Preference. In API 25 and earlier, this value is read as a
7166         plain string with styling information stripped. -->
7167        <attr name="summary" />
7168        <!-- The order for the Preference (lower values are to be ordered first). If this is not
7169             specified, the default ordering will be alphabetic. -->
7170        <attr name="order" format="integer" />
7171        <!-- When used inside of a modern PreferenceActivity, this declares
7172             a new PreferenceFragment to be shown when the user selects this item. -->
7173        <attr name="fragment" />
7174        <!-- The layout for the Preference in a PreferenceActivity screen. This should
7175             rarely need to be changed, look at widgetLayout instead. -->
7176        <attr name="layout" />
7177        <!-- The layout for the controllable widget portion of a Preference. This is inflated
7178             into the layout for a Preference and should be used more frequently than
7179             the layout attribute. For example, a checkbox preference would specify
7180             a custom layout (consisting of just the CheckBox) here. -->
7181        <attr name="widgetLayout" format="reference" />
7182        <!-- Whether the Preference is enabled. -->
7183        <attr name="enabled" />
7184        <!-- Whether the Preference is selectable. -->
7185        <attr name="selectable" format="boolean" />
7186        <!-- The key of another Preference that this Preference will depend on.  If the other
7187             Preference is not set or is off, this Preference will be disabled. -->
7188        <attr name="dependency" format="string" />
7189        <!-- Whether the Preference stores its value to the storage. -->
7190        <attr name="persistent" />
7191        <!-- The default value for the preference, which will be set either if persistence
7192             is off or persistence is on and the preference is not found in the persistent
7193             storage.  -->
7194        <attr name="defaultValue" format="string|boolean|integer|reference|float" />
7195        <!-- Whether the view of this Preference should be disabled when
7196             this Preference is disabled. -->
7197        <attr name="shouldDisableView" format="boolean" />
7198        <!-- Whether the preference has enabled to have its view recycled when used in the list
7199             view. This is true by default. -->
7200        <attr name="recycleEnabled" format="boolean" />
7201        <!-- Whether to use single line for the preference title text. By default, preference title
7202             will be constrained to one line, so the default value of this attribute is true. -->
7203        <attr name="singleLineTitle" format="boolean" />
7204    </declare-styleable>
7205
7206    <!-- Base attributes available to CheckBoxPreference. -->
7207    <declare-styleable name="CheckBoxPreference">
7208        <!-- The summary for the Preference in a PreferenceActivity screen when the
7209             CheckBoxPreference is checked. If separate on/off summaries are not
7210             needed, the summary attribute can be used instead. -->
7211        <attr name="summaryOn" format="string" />
7212        <!-- The summary for the Preference in a PreferenceActivity screen when the
7213             CheckBoxPreference is unchecked. If separate on/off summaries are not
7214             needed, the summary attribute can be used instead. -->
7215        <attr name="summaryOff" format="string" />
7216        <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
7217             dependents will be disabled when this is unchecked, so the value of this preference is false. -->
7218        <attr name="disableDependentsState" format="boolean" />
7219    </declare-styleable>
7220
7221    <!-- Base attributes available to DialogPreference. -->
7222    <declare-styleable name="DialogPreference">
7223        <!-- The title in the dialog. -->
7224        <attr name="dialogTitle" format="string" />
7225        <!-- The message in the dialog. If a dialogLayout is provided and contains
7226             a TextView with ID android:id/message, this message will be placed in there. -->
7227        <attr name="dialogMessage" format="string" />
7228        <!-- The icon for the dialog. -->
7229        <attr name="dialogIcon" format="reference" />
7230        <!-- The positive button text for the dialog. Set to @null to hide the positive button. -->
7231        <attr name="positiveButtonText" format="string" />
7232        <!-- The negative button text for the dialog. Set to @null to hide the negative button. -->
7233        <attr name="negativeButtonText" format="string" />
7234        <!-- A layout to be used as the content View for the dialog. By default, this shouldn't
7235             be needed. If a custom DialogPreference is required, this should be set. For example,
7236             the EditTextPreference uses a layout with an EditText as this attribute. -->
7237        <attr name="dialogLayout" format="reference" />
7238    </declare-styleable>
7239
7240    <!-- Base attributes available to ListPreference. -->
7241    <declare-styleable name="ListPreference">
7242        <!-- The human-readable array to present as a list. Each entry must have a corresponding
7243             index in entryValues. -->
7244        <attr name="entries" />
7245        <!-- The array to find the value to save for a preference when an entry from
7246             entries is selected. If a user clicks on the second item in entries, the
7247             second item in this array will be saved to the preference. -->
7248        <attr name="entryValues" format="reference" />
7249    </declare-styleable>
7250
7251    <declare-styleable name="MultiSelectListPreference">
7252        <!-- The human-readable array to present as a list. Each entry must have a corresponding
7253             index in entryValues. -->
7254        <attr name="entries" />
7255        <!-- The array to find the value to save for a preference when an entry from
7256             entries is selected. If a user clicks the second item in entries, the
7257             second item in this array will be saved to the preference. -->
7258        <attr name="entryValues" />
7259    </declare-styleable>
7260
7261    <!-- Base attributes available to RingtonePreference. -->
7262    <declare-styleable name="RingtonePreference">
7263        <!-- Which ringtone type(s) to show in the picker. -->
7264        <attr name="ringtoneType">
7265            <!-- Ringtones. -->
7266            <flag name="ringtone" value="1" />
7267            <!-- Notification sounds. -->
7268            <flag name="notification" value="2" />
7269            <!-- Alarm sounds. -->
7270            <flag name="alarm" value="4" />
7271            <!-- All available ringtone sounds. -->
7272            <flag name="all" value="7" />
7273        </attr>
7274        <!-- Whether to show an item for a default sound. -->
7275        <attr name="showDefault" format="boolean" />
7276        <!-- Whether to show an item for 'Silent'. -->
7277        <attr name="showSilent" format="boolean" />
7278    </declare-styleable>
7279
7280    <!-- Base attributes available to VolumePreference. -->
7281    <declare-styleable name="VolumePreference">
7282        <!-- Different audio stream types. -->
7283        <attr name="streamType">
7284            <enum name="voice" value="0" />
7285            <enum name="system" value="1" />
7286            <enum name="ring" value="2" />
7287            <enum name="music" value="3" />
7288            <enum name="alarm" value="4" />
7289        </attr>
7290    </declare-styleable>
7291
7292    <declare-styleable name="InputMethodService">
7293        <!-- Background to use for entire input method when it is being
7294             shown in fullscreen mode with the extract view, to ensure
7295             that it completely covers the application.  This allows,
7296             for example, the candidate view to be hidden
7297             while in fullscreen mode without having the application show through
7298             behind it.-->
7299        <attr name="imeFullscreenBackground" format="reference|color" />
7300        <!-- Animation to use when showing the fullscreen extract UI after
7301             it had previously been hidden. -->
7302        <attr name="imeExtractEnterAnimation" format="reference" />
7303        <!-- Animation to use when hiding the fullscreen extract UI after
7304             it had previously been shown. -->
7305        <attr name="imeExtractExitAnimation" format="reference" />
7306    </declare-styleable>
7307
7308    <declare-styleable name="VoiceInteractionSession">
7309    </declare-styleable>
7310
7311    <declare-styleable name="KeyboardView">
7312        <!-- Default KeyboardView style. -->
7313        <attr name="keyboardViewStyle" format="reference" />
7314
7315        <!-- Image for the key. This image needs to be a StateListDrawable, with the following
7316             possible states: normal, pressed, checkable, checkable+pressed, checkable+checked,
7317             checkable+checked+pressed. -->
7318        <attr name="keyBackground" format="reference" />
7319
7320        <!-- Size of the text for character keys. -->
7321        <attr name="keyTextSize" format="dimension" />
7322
7323        <!-- Size of the text for custom keys with some text and no icon. -->
7324        <attr name="labelTextSize" format="dimension" />
7325
7326        <!-- Color to use for the label in a key. -->
7327        <attr name="keyTextColor" format="color" />
7328
7329        <!-- Layout resource for key press feedback.-->
7330        <attr name="keyPreviewLayout" format="reference" />
7331
7332        <!-- Vertical offset of the key press feedback from the key. -->
7333        <attr name="keyPreviewOffset" format="dimension" />
7334
7335        <!-- Height of the key press feedback popup. -->
7336        <attr name="keyPreviewHeight" format="dimension" />
7337
7338        <!-- Amount to offset the touch Y coordinate by, for bias correction. -->
7339        <attr name="verticalCorrection" format="dimension" />
7340
7341        <!-- Layout resource for popup keyboards. -->
7342        <attr name="popupLayout" format="reference" />
7343
7344        <attr name="shadowColor" />
7345        <attr name="shadowRadius" />
7346    </declare-styleable>
7347
7348    <declare-styleable name="KeyboardViewPreviewState">
7349        <!-- State for {@link android.inputmethodservice.KeyboardView KeyboardView}
7350                key preview background. -->
7351        <attr name="state_long_pressable" format="boolean" />
7352    </declare-styleable>
7353
7354    <declare-styleable name="Keyboard">
7355        <!-- Default width of a key, in pixels or percentage of display width. -->
7356        <attr name="keyWidth" format="dimension|fraction" />
7357        <!-- Default height of a key, in pixels or percentage of display width. -->
7358        <attr name="keyHeight" format="dimension|fraction" />
7359        <!-- Default horizontal gap between keys. -->
7360        <attr name="horizontalGap" format="dimension|fraction" />
7361        <!-- Default vertical gap between rows of keys. -->
7362        <attr name="verticalGap" format="dimension|fraction" />
7363    </declare-styleable>
7364
7365    <declare-styleable name="Keyboard_Row">
7366        <!-- Row edge flags. -->
7367        <attr name="rowEdgeFlags">
7368            <!-- Row is anchored to the top of the keyboard. -->
7369            <flag name="top" value="4" />
7370            <!-- Row is anchored to the bottom of the keyboard. -->
7371            <flag name="bottom" value="8" />
7372        </attr>
7373        <!-- Mode of the keyboard. If the mode doesn't match the
7374             requested keyboard mode, the row will be skipped. -->
7375        <attr name="keyboardMode" format="reference" />
7376    </declare-styleable>
7377
7378    <declare-styleable name="Keyboard_Key">
7379        <!-- The unicode value or comma-separated values that this key outputs. -->
7380        <attr name="codes" format="integer|string" />
7381        <!-- The XML keyboard layout of any popup keyboard. -->
7382        <attr name="popupKeyboard" format="reference" />
7383        <!-- The characters to display in the popup keyboard. -->
7384        <attr name="popupCharacters" format="string" />
7385        <!-- Key edge flags. -->
7386        <attr name="keyEdgeFlags">
7387            <!-- Key is anchored to the left of the keyboard. -->
7388            <flag name="left" value="1" />
7389            <!-- Key is anchored to the right of the keyboard. -->
7390            <flag name="right" value="2" />
7391        </attr>
7392        <!-- Whether this is a modifier key such as Alt or Shift. -->
7393        <attr name="isModifier" format="boolean" />
7394        <!-- Whether this is a toggle key. -->
7395        <attr name="isSticky" format="boolean" />
7396        <!-- Whether long-pressing on this key will make it repeat. -->
7397        <attr name="isRepeatable" format="boolean" />
7398        <!-- The icon to show in the popup preview. -->
7399        <attr name="iconPreview" format="reference" />
7400        <!-- The string of characters to output when this key is pressed. -->
7401        <attr name="keyOutputText" format="string" />
7402        <!-- The label to display on the key. -->
7403        <attr name="keyLabel" format="string" />
7404        <!-- The icon to display on the key instead of the label. -->
7405        <attr name="keyIcon" format="reference" />
7406        <!-- Mode of the keyboard. If the mode doesn't match the
7407             requested keyboard mode, the key will be skipped. -->
7408        <attr name="keyboardMode" />
7409    </declare-styleable>
7410
7411    <!-- =============================== -->
7412    <!-- AppWidget package class attributes -->
7413    <!-- =============================== -->
7414    <eat-comment />
7415
7416    <!-- Use <code>appwidget-provider</code> as the root tag of the XML resource that
7417         describes an AppWidget provider.  See {@link android.appwidget android.appwidget}
7418         package for more info.
7419     -->
7420    <declare-styleable name="AppWidgetProviderInfo">
7421        <!-- Minimum width of the AppWidget. -->
7422        <attr name="minWidth"/>
7423        <!-- Minimum height of the AppWidget. -->
7424        <attr name="minHeight"/>
7425        <!-- Minimum width that the AppWidget can be resized to. -->
7426        <attr name="minResizeWidth" format="dimension"/>
7427        <!-- Minimum height that the AppWidget can be resized to. -->
7428        <attr name="minResizeHeight" format="dimension"/>
7429        <!-- Update period in milliseconds, or 0 if the AppWidget will update itself. -->
7430        <attr name="updatePeriodMillis" format="integer" />
7431        <!-- A resource id of a layout. -->
7432        <attr name="initialLayout" format="reference" />
7433        <!-- A resource id of a layout. -->
7434        <attr name="initialKeyguardLayout" format="reference" />
7435        <!-- A class name in the AppWidget's package to be launched to configure.
7436             If not supplied, then no activity will be launched. -->
7437        <attr name="configure" format="string" />
7438        <!-- A preview of what the AppWidget will look like after it's configured.
7439              If not supplied, the AppWidget's icon will be used. -->
7440        <attr name="previewImage" format="reference" />
7441        <!-- The view id of the AppWidget subview which should be auto-advanced.
7442             by the widget's host. -->
7443        <attr name="autoAdvanceViewId" format="reference" />
7444        <!-- Optional parameter which indicates if and how this widget can be
7445             resized. Supports combined values using | operator. -->
7446        <attr name="resizeMode" format="integer">
7447            <flag name="none" value="0x0" />
7448            <flag name="horizontal" value="0x1" />
7449            <flag name="vertical" value="0x2" />
7450        </attr>
7451        <!-- Optional parameter which indicates where this widget can be shown,
7452             ie. home screen, keyguard, search bar or any combination thereof.
7453             Supports combined values using | operator. -->
7454        <attr name="widgetCategory" format="integer">
7455            <flag name="home_screen" value="0x1" />
7456            <flag name="keyguard" value="0x2" />
7457            <flag name="searchbox" value="0x4" />
7458        </attr>
7459    </declare-styleable>
7460
7461    <!-- =============================== -->
7462    <!-- Wallpaper preview attributes    -->
7463    <!-- =============================== -->
7464    <eat-comment />
7465
7466    <!-- Use <code>wallpaper-preview</code> as the root tag of the XML resource that
7467         describes a wallpaper preview. -->
7468    <declare-styleable name="WallpaperPreviewInfo">
7469        <!-- A resource id of a static drawable. -->
7470        <attr name="staticWallpaperPreview" format="reference" />
7471    </declare-styleable>
7472
7473    <!-- =============================== -->
7474    <!-- App package class attributes -->
7475    <!-- =============================== -->
7476    <eat-comment />
7477
7478    <!-- ============================= -->
7479    <!-- View package class attributes -->
7480    <!-- ============================= -->
7481    <eat-comment />
7482
7483    <!-- Attributes that can be used with <code>&lt;fragment&gt;</code>
7484         tags inside of the layout of an Activity.  This instantiates
7485         the given {@link android.app.Fragment} and inserts its content
7486         view into the current location in the layout. -->
7487    <declare-styleable name="Fragment">
7488        <!-- Supply the name of the fragment class to instantiate. -->
7489        <attr name="name" />
7490
7491        <!-- Supply an identifier name for the top-level view, to later retrieve it
7492             with {@link android.view.View#findViewById View.findViewById()} or
7493             {@link android.app.Activity#findViewById Activity.findViewById()}.
7494             This must be a
7495             resource reference; typically you set this using the
7496             <code>@+</code> syntax to create a new ID resources.
7497             For example: <code>android:id="@+id/my_id"</code> which
7498             allows you to later retrieve the view
7499             with <code>findViewById(R.id.my_id)</code>. -->
7500        <attr name="id" />
7501
7502        <!-- Supply a tag for the top-level view containing a String, to be retrieved
7503             later with {@link android.view.View#getTag View.getTag()} or
7504             searched for with {@link android.view.View#findViewWithTag
7505             View.findViewWithTag()}.  It is generally preferable to use
7506             IDs (through the android:id attribute) instead of tags because
7507             they are faster and allow for compile-time type checking. -->
7508        <attr name="tag" />
7509
7510        <!-- The Transition that will be used to move Views out of the scene when the
7511             fragment is removed, hidden, or detached when not popping the back stack.
7512             Corresponds to {@link android.app.Fragment#setExitTransition(
7513             android.transition.Transition)} -->
7514        <attr name="fragmentExitTransition" format="reference"/>
7515
7516        <!-- The Transition that will be used to move Views into the initial scene.
7517             Corresponds to {@link android.app.Fragment#setEnterTransition(
7518             android.transition.Transition)} -->
7519        <attr name="fragmentEnterTransition" format="reference"/>
7520
7521        <!-- The Transition that will be used for shared elements transferred into the content
7522             Scene.
7523             Corresponds to {@link android.app.Fragment#setSharedElementEnterTransition(
7524             android.transition.Transition)} -->
7525        <attr name="fragmentSharedElementEnterTransition" format="reference"/>
7526
7527        <!-- The Transition that will be used to move Views out of the scene when the Fragment is
7528             preparing to be removed, hidden, or detached because of popping the back stack.
7529             Corresponds to {@link android.app.Fragment#setReturnTransition(
7530             android.transition.Transition)} -->
7531        <attr name="fragmentReturnTransition" format="reference"/>
7532
7533        <!-- The Transition that will be used for shared elements transferred back during a
7534             pop of the back stack. This Transition acts in the leaving Fragment.
7535             Corresponds to {@link android.app.Fragment#setSharedElementReturnTransition(
7536             android.transition.Transition)} -->
7537        <attr name="fragmentSharedElementReturnTransition" format="reference"/>
7538
7539        <!-- The Transition that will be used to move Views in to the scene when returning due
7540             to popping a back stack.
7541             Corresponds to {@link android.app.Fragment#setReenterTransition(
7542             android.transition.Transition)} -->
7543        <attr name="fragmentReenterTransition" format="reference"/>
7544
7545        <!-- Sets whether the enter and exit transitions should overlap when transitioning
7546             forward.
7547             Corresponds to {@link android.app.Fragment#setAllowEnterTransitionOverlap(
7548             boolean)} -->
7549        <attr name="fragmentAllowEnterTransitionOverlap" format="reference"/>
7550
7551        <!-- Sets whether the enter and exit transitions should overlap when transitioning
7552             because of popping the back stack.
7553             Corresponds to {@link android.app.Fragment#setAllowReturnTransitionOverlap(
7554             boolean)} -->
7555        <attr name="fragmentAllowReturnTransitionOverlap" format="reference"/>
7556    </declare-styleable>
7557
7558    <!-- Use <code>device-admin</code> as the root tag of the XML resource that
7559         describes a
7560         {@link android.app.admin.DeviceAdminReceiver}, which is
7561         referenced from its
7562         {@link android.app.admin.DeviceAdminReceiver#DEVICE_ADMIN_META_DATA}
7563         meta-data entry.  Described here are the attributes that can be
7564         included in that tag. -->
7565    <declare-styleable name="DeviceAdmin">
7566        <!-- Control whether the admin is visible to the user, even when it
7567             is not enabled.  This is true by default.  You may want to make
7568             it false if your admin does not make sense to be turned on
7569             unless some explicit action happens in your app. -->
7570        <attr name="visible" />
7571    </declare-styleable>
7572
7573    <!-- Use <code>wallpaper</code> as the root tag of the XML resource that
7574         describes an
7575         {@link android.service.wallpaper.WallpaperService}, which is
7576         referenced from its
7577         {@link android.service.wallpaper.WallpaperService#SERVICE_META_DATA}
7578         meta-data entry.  Described here are the attributes that can be
7579         included in that tag. -->
7580    <declare-styleable name="Wallpaper">
7581        <attr name="settingsActivity" />
7582
7583        <!-- Reference to the wallpaper's thumbnail bitmap. -->
7584        <attr name="thumbnail" format="reference" />
7585
7586        <!-- Name of the author and/or source/collection of this component, for example,
7587             Art Collection, Picasso. -->
7588        <attr name="author" format="reference" />
7589
7590        <!-- Short description of the component's purpose or behavior. -->
7591        <attr name="description" />
7592
7593        <!-- Uri that specifies a link for further context of this wallpaper, for example,
7594             http://www.picasso.org. -->
7595        <attr name="contextUri" format="reference" />
7596
7597        <!-- Title of the uri that specifies a link for further context of this wallpaper,
7598             for example, Explore collection. -->
7599        <attr name="contextDescription" format="reference" />
7600
7601        <!-- Whether to show any metadata when previewing the wallpaper. If this value is
7602             set to true, any component that shows a preview of this live wallpaper should also show
7603             accompanying information like the title, the description, the author and the context
7604             description of this wallpaper so the user gets to know further information about this
7605             wallpaper. -->
7606        <attr name="showMetadataInPreview" format="boolean" />
7607
7608    </declare-styleable>
7609
7610    <!-- Use <code>dream</code> as the root tag of the XML resource that
7611         describes an
7612         {@link android.service.dreams.DreamService}, which is
7613         referenced from its
7614         {@link android.service.dreams.DreamService#DREAM_META_DATA}
7615         meta-data entry.  Described here are the attributes that can be
7616         included in that tag. -->
7617    <declare-styleable name="Dream">
7618        <!-- Component name of an activity that allows the user to modify
7619             the settings for this dream. -->
7620        <attr name="settingsActivity" />
7621    </declare-styleable>
7622
7623    <!-- @SystemApi Use <code>trust-agent</code> as the root tag of the XML resource that
7624         describes an {@link android.service.trust.TrustAgentService}, which is
7625         referenced from its {@link android.service.trust.TrustAgentService#TRUST_AGENT_META_DATA}
7626         meta-data entry.  Described here are the attributes that can be included in that tag.
7627         @hide -->
7628    <declare-styleable name="TrustAgent">
7629        <!-- @SystemApi Component name of an activity that allows the user to modify
7630             the settings for this trust agent. @hide -->
7631        <attr name="settingsActivity" />
7632        <!-- @SystemApi Title for a preference that allows that user to launch the
7633             activity to modify trust agent settings. @hide -->
7634        <attr name="title" />
7635        <!-- @SystemApi Summary for the same preference as the title. @hide -->
7636        <attr name="summary" />
7637        <!-- @SystemApi Whether trust agent can unlock a user profile @hide -->
7638        <attr name="unlockProfile" format="boolean"/>
7639    </declare-styleable>
7640
7641    <!-- =============================== -->
7642    <!-- Accounts package class attributes -->
7643    <!-- =============================== -->
7644    <eat-comment />
7645
7646    <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
7647         describes an account authenticator.
7648     -->
7649    <declare-styleable name="AccountAuthenticator">
7650        <!-- The account type this authenticator handles. -->
7651        <attr name="accountType" format="string"/>
7652        <!-- The user-visible name of the authenticator. -->
7653        <attr name="label"/>
7654        <!-- The icon of the authenticator. -->
7655        <attr name="icon"/>
7656        <!-- Smaller icon of the authenticator. -->
7657        <attr name="smallIcon" format="reference"/>
7658        <!-- A preferences.xml file for authenticator-specific settings. -->
7659        <attr name="accountPreferences" format="reference"/>
7660        <!-- Account handles its own token storage and permissions.
7661             Default to false
7662          -->
7663        <attr name="customTokens" format="boolean"/>
7664    </declare-styleable>
7665
7666    <!-- =============================== -->
7667    <!-- Accounts package class attributes -->
7668    <!-- =============================== -->
7669    <eat-comment />
7670
7671    <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
7672         describes an account authenticator.
7673     -->
7674    <declare-styleable name="SyncAdapter">
7675        <!-- the authority of a content provider. -->
7676        <attr name="contentAuthority" format="string"/>
7677        <attr name="accountType"/>
7678        <attr name="userVisible" format="boolean"/>
7679        <attr name="supportsUploading" format="boolean"/>
7680        <!-- Set to true to tell the SyncManager that this SyncAdapter supports
7681             multiple simultaneous syncs for the same account type and authority.
7682             Otherwise the SyncManager will be sure not to issue a start sync request
7683             to this SyncAdapter if the SyncAdapter is already syncing another account.
7684             Defaults to false.
7685             -->
7686        <attr name="allowParallelSyncs" format="boolean"/>
7687        <!-- Set to true to tell the SyncManager to automatically call setIsSyncable(..., ..., 1)
7688             for the SyncAdapter instead of issuaing an initialization sync to the SyncAdapter.
7689             Defaults to false.
7690             -->
7691        <attr name="isAlwaysSyncable" format="boolean"/>
7692        <!-- If provided, specifies the action of the settings
7693             activity for this SyncAdapter.
7694             -->
7695        <attr name="settingsActivity"/>
7696    </declare-styleable>
7697
7698    <!-- =============================== -->
7699    <!-- Autofill attributes -->
7700    <!-- =============================== -->
7701    <eat-comment />
7702
7703    <!-- Use <code>autofill-service</code> as the root tag of the XML resource that describes a
7704         {@link android.service.autofill.AutofillService}, which is referenced from its
7705         {@link android.service.autofill#SERVICE_META_DATA} meta-data entry.
7706    -->
7707    <declare-styleable name="AutofillService">
7708        <!-- Fully qualified class name of an activity that allows the user to modify
7709             the settings for this service. -->
7710        <attr name="settingsActivity" />
7711    </declare-styleable>
7712
7713    <!--  TODO(b/35956626): temporary until clients change to AutofillService -->
7714    <declare-styleable name="AutoFillService">
7715        <!-- Fully qualified class name of an activity that allows the user to modify
7716             the settings for this service. -->
7717        <attr name="settingsActivity" />
7718    </declare-styleable>
7719
7720    <!-- =============================== -->
7721    <!-- Contacts meta-data attributes -->
7722    <!-- =============================== -->
7723    <eat-comment />
7724
7725    <!-- TODO: remove this deprecated styleable. -->
7726    <eat-comment />
7727    <declare-styleable name="Icon">
7728        <attr name="icon" />
7729        <attr name="mimeType" />
7730    </declare-styleable>
7731
7732    <!-- TODO: remove this deprecated styleable -->
7733    <eat-comment />
7734    <declare-styleable name="IconDefault">
7735        <attr name="icon" />
7736    </declare-styleable>
7737
7738    <!-- Maps a specific contact data MIME-type to styling information. -->
7739    <declare-styleable name="ContactsDataKind">
7740        <!-- Mime-type handled by this mapping. -->
7741        <attr name="mimeType" />
7742        <!-- Icon used to represent data of this kind. -->
7743        <attr name="icon" />
7744        <!-- Column in data table that summarizes this data. -->
7745        <attr name="summaryColumn" format="string" />
7746        <!-- Column in data table that contains details for this data. -->
7747        <attr name="detailColumn" format="string" />
7748        <!-- Flag indicating that detail should be built from SocialProvider. -->
7749        <attr name="detailSocialSummary" format="boolean" />
7750        <!-- Resource representing the term "All Contacts" (for example, "All Friends" or
7751        "All connections"). Optional (Default is "All Contacts"). -->
7752        <attr name="allContactsName" format="string" />
7753    </declare-styleable>
7754
7755    <!-- =============================== -->
7756    <!-- TabSelector class attributes -->
7757    <!-- =============================== -->
7758    <eat-comment />
7759
7760    <declare-styleable name="SlidingTab">
7761        <!-- Use "horizontal" for a row, "vertical" for a column.  The default is horizontal. -->
7762        <attr name="orientation" />
7763    </declare-styleable>
7764
7765    <!-- =============================== -->
7766    <!-- GlowPadView class attributes -->
7767    <!-- =============================== -->
7768    <eat-comment />
7769    <declare-styleable name="GlowPadView">
7770        <!-- Reference to an array resource that be used as description for the targets around the circle.
7771             {@deprecated Removed.} -->
7772        <attr name="targetDescriptions" format="reference" />
7773
7774        <!-- Reference to an array resource that be used to announce the directions with targets around the circle.
7775             {@deprecated Removed.} -->
7776        <attr name="directionDescriptions" format="reference" />
7777    </declare-styleable>
7778
7779    <!-- =============================== -->
7780    <!-- Location package class attributes -->
7781    <!-- =============================== -->
7782    <eat-comment />
7783
7784    <!-- Use <code>injected-location-setting</code> as the root tag of the XML resource that
7785         describes an injected "Location services" setting. Note that the status value (subtitle)
7786         for the setting is specified dynamically by a subclass of SettingInjectorService.
7787     -->
7788    <declare-styleable name="SettingInjectorService">
7789        <!-- The title for the preference. -->
7790        <attr name="title"/>
7791        <!-- The icon for the preference, should refer to all apps covered by the setting. Typically
7792             a generic icon for the developer. -->
7793        <attr name="icon"/>
7794        <!-- The activity to launch when the setting is clicked on. -->
7795        <attr name="settingsActivity"/>
7796    </declare-styleable>
7797
7798    <!-- =============================== -->
7799    <!-- LockPatternView class attributes -->
7800    <!-- =============================== -->
7801    <eat-comment />
7802
7803    <declare-styleable name="LockPatternView">
7804        <!-- Aspect to use when drawing LockPatternView. Choices are "square"(default), "lock_width"
7805             or "lock_height" -->
7806        <attr name="aspect" format="string" />
7807        <!-- Color to use when drawing LockPatternView paths. -->
7808        <attr name="pathColor" format="color|reference" />
7809        <!-- The regular pattern color -->
7810        <attr name="regularColor" format="color|reference" />
7811        <!-- The error color -->
7812        <attr name="errorColor" format="color|reference" />
7813        <!-- The success color -->
7814        <attr name="successColor" format="color|reference"/>
7815    </declare-styleable>
7816
7817    <!-- Use <code>recognition-service</code> as the root tag of the XML resource that
7818         describes a {@link android.speech.RecognitionService}, which is referenced from
7819         its {@link android.speech.RecognitionService#SERVICE_META_DATA} meta-data entry.
7820         Described here are the attributes that can be included in that tag. -->
7821    <declare-styleable name="RecognitionService">
7822        <attr name="settingsActivity" />
7823    </declare-styleable>
7824
7825    <!-- Use <code>voice-interaction-service</code> as the root tag of the XML resource that
7826         describes a {@link android.service.voice.VoiceInteractionService}, which is referenced from
7827         its {@link android.service.voice.VoiceInteractionService#SERVICE_META_DATA} meta-data entry.
7828         Described here are the attributes that can be included in that tag. -->
7829    <declare-styleable name="VoiceInteractionService">
7830        <!-- The service that hosts active voice interaction sessions.  This is required. -->
7831        <attr name="sessionService" format="string" />
7832        <!-- The service that provides voice recognition.  This is required.  When the user
7833             selects this voice interaction service, they will also be implicitly selecting
7834             the component here for their recognition service. -->
7835        <attr name="recognitionService" format="string" />
7836        <attr name="settingsActivity" />
7837        <!-- Flag indicating whether this voice interaction service is capable of handling the
7838             assist action. -->
7839        <attr name="supportsAssist" format="boolean" />
7840        <!-- Flag indicating whether this voice interaction service is capable of being launched
7841             from the keyguard. -->
7842        <attr name="supportsLaunchVoiceAssistFromKeyguard" format="boolean" />
7843        <!-- Flag indicating whether this voice interaction service can handle local voice
7844             interaction requests from an Activity. This flag is new in
7845             {@link android.os.Build.VERSION_CODES#N} and not used in previous versions. -->
7846        <attr name="supportsLocalInteraction" format="boolean" />
7847    </declare-styleable>
7848
7849    <!-- Use <code>voice-enrollment-application</code>
7850         as the root tag of the XML resource that escribes the supported keyphrases (hotwords)
7851         by the enrollment application.
7852         Described here are the attributes that can be included in that tag.
7853         @hide
7854         @SystemApi -->
7855    <declare-styleable name="VoiceEnrollmentApplication">
7856        <!-- A globally unique ID for the keyphrase. @hide @SystemApi -->
7857        <attr name="searchKeyphraseId" format="integer" />
7858        <!-- The actual keyphrase/hint text, or empty if not keyphrase dependent. @hide @SystemApi -->
7859        <attr name="searchKeyphrase" format="string" />
7860        <!-- A comma separated list of BCP-47 language tag for locales that are supported
7861             for this keyphrase, or empty if not locale dependent. @hide @SystemApi -->
7862        <attr name="searchKeyphraseSupportedLocales" format="string" />
7863        <!-- Flags for supported recognition modes. @hide @SystemApi -->
7864        <attr name="searchKeyphraseRecognitionFlags">
7865            <flag name="none" value="0" />
7866            <flag name="voiceTrigger" value="0x1" />
7867            <flag name="userIdentification" value="0x2" />
7868        </attr>
7869    </declare-styleable>
7870
7871    <!-- Attributes used to style the Action Bar. -->
7872    <declare-styleable name="ActionBar">
7873        <!-- The type of navigation to use. -->
7874        <attr name="navigationMode">
7875            <!-- Normal static title text. -->
7876            <enum name="normal" value="0" />
7877            <!-- The action bar will use a selection list for navigation. -->
7878            <enum name="listMode" value="1" />
7879            <!-- The action bar will use a series of horizontal tabs for navigation. -->
7880            <enum name="tabMode" value="2" />
7881        </attr>
7882        <!-- Options affecting how the action bar is displayed. -->
7883        <attr name="displayOptions">
7884            <flag name="none" value="0" />
7885            <flag name="useLogo" value="0x1" />
7886            <flag name="showHome" value="0x2" />
7887            <flag name="homeAsUp" value="0x4" />
7888            <flag name="showTitle" value="0x8" />
7889            <flag name="showCustom" value="0x10" />
7890            <flag name="disableHome" value="0x20" />
7891        </attr>
7892        <!-- Specifies title text used for navigationMode="normal". -->
7893        <attr name="title" />
7894        <!-- Specifies subtitle text used for navigationMode="normal". -->
7895        <attr name="subtitle" format="string" />
7896        <!-- Specifies a style to use for title text. -->
7897        <attr name="titleTextStyle" format="reference" />
7898        <!-- Specifies a style to use for subtitle text. -->
7899        <attr name="subtitleTextStyle" format="reference" />
7900        <!-- Specifies the drawable used for the application icon. -->
7901        <attr name="icon" />
7902        <!-- Specifies the drawable used for the application logo. -->
7903        <attr name="logo" />
7904        <!-- Specifies the drawable used for item dividers. -->
7905        <attr name="divider" />
7906        <!-- Specifies a background drawable for the action bar. -->
7907        <attr name="background" />
7908        <!-- Specifies a background drawable for a second stacked row of the action bar. -->
7909        <attr name="backgroundStacked" format="reference|color" />
7910        <!-- Specifies a background drawable for the bottom component of a split action bar. -->
7911        <attr name="backgroundSplit" format="reference|color" />
7912        <!-- Specifies a layout for custom navigation. Overrides navigationMode. -->
7913        <attr name="customNavigationLayout" format="reference" />
7914        <!-- Specifies a fixed height. -->
7915        <attr name="height" />
7916        <!-- Specifies a layout to use for the "home" section of the action bar. -->
7917        <attr name="homeLayout" format="reference" />
7918        <!-- Specifies a style resource to use for an embedded progress bar. -->
7919        <attr name="progressBarStyle" />
7920        <!-- Specifies a style resource to use for an indeterminate progress spinner. -->
7921        <attr name="indeterminateProgressStyle" format="reference" />
7922        <!-- Specifies the horizontal padding on either end for an embedded progress bar. -->
7923        <attr name="progressBarPadding" format="dimension" />
7924        <!-- Up navigation glyph. -->
7925        <attr name="homeAsUpIndicator" />
7926        <!-- Specifies padding that should be applied to the left and right sides of
7927             system-provided items in the bar. -->
7928        <attr name="itemPadding" format="dimension" />
7929        <!-- Set true to hide the action bar on a vertical nested scroll of content. -->
7930        <attr name="hideOnContentScroll" format="boolean" />
7931        <!-- Minimum inset for content views within a bar. Navigation buttons and
7932             menu views are excepted. Only valid for some themes and configurations. -->
7933        <attr name="contentInsetStart" format="dimension" />
7934        <!-- Minimum inset for content views within a bar. Navigation buttons and
7935             menu views are excepted. Only valid for some themes and configurations. -->
7936        <attr name="contentInsetEnd" format="dimension" />
7937        <!-- Minimum inset for content views within a bar. Navigation buttons and
7938             menu views are excepted. Only valid for some themes and configurations. -->
7939        <attr name="contentInsetLeft" format="dimension" />
7940        <!-- Minimum inset for content views within a bar. Navigation buttons and
7941             menu views are excepted. Only valid for some themes and configurations. -->
7942        <attr name="contentInsetRight" format="dimension" />
7943        <!-- Minimum inset for content views within a bar when a navigation button
7944             is present, such as the Up button. Only valid for some themes and configurations. -->
7945        <attr name="contentInsetStartWithNavigation" format="dimension" />
7946        <!-- Minimum inset for content views within a bar when actions from a menu
7947             are present. Only valid for some themes and configurations. -->
7948        <attr name="contentInsetEndWithActions" format="dimension" />
7949        <!-- Elevation for the action bar itself. -->
7950        <attr name="elevation" />
7951        <!-- Reference to a theme that should be used to inflate popups
7952             shown by widgets in the action bar. -->
7953        <attr name="popupTheme" />
7954    </declare-styleable>
7955
7956    <declare-styleable name="ActionMode">
7957        <!-- Specifies a style to use for title text. -->
7958        <attr name="titleTextStyle" />
7959        <!-- Specifies a style to use for subtitle text. -->
7960        <attr name="subtitleTextStyle" />
7961        <!-- Specifies a background for the action mode bar. -->
7962        <attr name="background" />
7963        <!-- Specifies a background for the split action mode bar. -->
7964        <attr name="backgroundSplit" />
7965        <!-- Specifies a fixed height for the action mode bar. -->
7966        <attr name="height" />
7967        <!-- Specifies a layout to use for the "close" item at the starting edge. -->
7968        <attr name="closeItemLayout" format="reference" />
7969    </declare-styleable>
7970
7971    <declare-styleable name="SearchView">
7972        <!-- The layout to use for the search view. -->
7973        <attr name="layout" />
7974        <!-- The default state of the SearchView. If true, it will be iconified when not in
7975             use and expanded when clicked. -->
7976        <attr name="iconifiedByDefault" format="boolean" />
7977        <!-- An optional maximum width of the SearchView. -->
7978        <attr name="maxWidth" />
7979        <!-- An optional query hint string to be displayed in the empty query field. -->
7980        <attr name="queryHint" format="string" />
7981        <!-- Default query hint used when {@code queryHint} is undefined and
7982             the search view's {@code SearchableInfo} does not provide a hint.
7983             @hide -->
7984        <attr name="defaultQueryHint" format="string" />
7985        <!-- The IME options to set on the query text field. -->
7986        <attr name="imeOptions" />
7987        <!-- The input type to set on the query text field. -->
7988        <attr name="inputType" />
7989        <!-- Close button icon. -->
7990        <attr name="closeIcon" format="reference" />
7991        <!-- Go button icon. -->
7992        <attr name="goIcon" format="reference" />
7993        <!-- Search icon. -->
7994        <attr name="searchIcon" format="reference" />
7995        <!-- Search icon displayed as a text field hint. -->
7996        <attr name="searchHintIcon" format="reference" />
7997        <!-- Voice button icon. -->
7998        <attr name="voiceIcon" format="reference" />
7999        <!-- Commit icon shown in the query suggestion row. -->
8000        <attr name="commitIcon" format="reference" />
8001        <!-- Layout for query suggestion rows. -->
8002        <attr name="suggestionRowLayout" format="reference" />
8003        <!-- Background for the section containing the search query. -->
8004        <attr name="queryBackground" format="reference" />
8005        <!-- Background for the section containing the action (for example, voice search). -->
8006        <attr name="submitBackground" format="reference" />
8007    </declare-styleable>
8008
8009    <declare-styleable name="Switch">
8010        <!-- Drawable to use as the "thumb" that switches back and forth. -->
8011        <attr name="thumb" />
8012        <!-- Tint to apply to the thumb. -->
8013        <attr name="thumbTint" />
8014        <!-- Blending mode used to apply the thumb tint. -->
8015        <attr name="thumbTintMode" />
8016        <!-- Drawable to use as the "track" that the switch thumb slides within. -->
8017        <attr name="track" format="reference" />
8018        <!-- Tint to apply to the track. -->
8019        <attr name="trackTint" format="color" />
8020        <!-- Blending mode used to apply the track tint. -->
8021        <attr name="trackTintMode">
8022            <!-- The tint is drawn on top of the drawable.
8023                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
8024            <enum name="src_over" value="3" />
8025            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
8026                 color channels are thrown out. [Sa * Da, Sc * Da] -->
8027            <enum name="src_in" value="5" />
8028            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
8029                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
8030            <enum name="src_atop" value="9" />
8031            <!-- Multiplies the color and alpha channels of the drawable with those of
8032                 the tint. [Sa * Da, Sc * Dc] -->
8033            <enum name="multiply" value="14" />
8034            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
8035            <enum name="screen" value="15" />
8036            <!-- Combines the tint and drawable color and alpha channels, clamping the
8037                 result to valid color values. Saturate(S + D) -->
8038            <enum name="add" value="16" />
8039        </attr>
8040        <!-- Text to use when the switch is in the checked/"on" state. -->
8041        <attr name="textOn" />
8042        <!-- Text to use when the switch is in the unchecked/"off" state. -->
8043        <attr name="textOff" />
8044        <!-- Amount of padding on either side of text within the switch thumb. -->
8045        <attr name="thumbTextPadding" format="dimension" />
8046        <!-- TextAppearance style for text displayed on the switch thumb. -->
8047        <attr name="switchTextAppearance" format="reference" />
8048        <!-- Minimum width for the switch component. -->
8049        <attr name="switchMinWidth" format="dimension" />
8050        <!-- Minimum space between the switch and caption text. -->
8051        <attr name="switchPadding" format="dimension" />
8052        <!-- Whether to split the track and leave a gap for the thumb drawable. -->
8053        <attr name="splitTrack" />
8054        <!-- Whether to draw on/off text. -->
8055        <attr name="showText" format="boolean" />
8056    </declare-styleable>
8057
8058    <declare-styleable name="Pointer">
8059        <!-- Reference to a pointer icon drawable with STYLE_ARROW. -->
8060        <attr name="pointerIconArrow" format="reference" />
8061        <!-- Reference to a pointer icon drawable with STYLE_SPOT_HOVER. -->
8062        <attr name="pointerIconSpotHover" format="reference" />
8063        <!-- Reference to a pointer icon drawable with STYLE_SPOT_TOUCH. -->
8064        <attr name="pointerIconSpotTouch" format="reference" />
8065        <!-- Reference to a pointer icon drawable with STYLE_SPOT_ANCHOR. -->
8066        <attr name="pointerIconSpotAnchor" format="reference" />
8067        <!-- Reference to a pointer drawable with STYLE_CONTEXT_MENU. -->
8068        <attr name="pointerIconContextMenu" format="reference"/>
8069        <!-- Reference to a pointer drawable with STYLE_HAND. -->
8070        <attr name="pointerIconHand" format="reference"/>
8071        <!-- Reference to a pointer drawable with STYLE_HELP. -->
8072        <attr name="pointerIconHelp" format="reference"/>
8073        <!-- Reference to a pointer drawable with STYLE_WAIT. -->
8074        <attr name="pointerIconWait" format="reference"/>
8075        <!-- Reference to a pointer drawable with STYLE_CELL. -->
8076        <attr name="pointerIconCell" format="reference"/>
8077        <!-- Reference to a pointer drawable with STYLE_CROSSHAIR. -->
8078        <attr name="pointerIconCrosshair" format="reference"/>
8079        <!-- Reference to a pointer drawable with STYLE_TEXT. -->
8080        <attr name="pointerIconText" format="reference"/>
8081        <!-- Reference to a pointer drawable with STYLE_VERTICAL_TEXT. -->
8082        <attr name="pointerIconVerticalText" format="reference"/>
8083        <!-- Reference to a pointer drawable with STYLE_ALIAS. -->
8084        <attr name="pointerIconAlias" format="reference"/>
8085        <!-- Reference to a pointer drawable with STYLE_COPY. -->
8086        <attr name="pointerIconCopy" format="reference"/>
8087        <!-- Reference to a pointer drawable with STYLE_NODROP. -->
8088        <attr name="pointerIconNodrop" format="reference"/>
8089        <!-- Reference to a pointer drawable with STYLE_ALL_SCROLL. -->
8090        <attr name="pointerIconAllScroll" format="reference"/>
8091        <!-- Reference to a pointer drawable with STYLE_HORIZONTAL_DOUBLE_ARROW. -->
8092        <attr name="pointerIconHorizontalDoubleArrow" format="reference"/>
8093        <!-- Reference to a pointer drawable with STYLE_VERTICAL_DOUBLE_ARROW. -->
8094        <attr name="pointerIconVerticalDoubleArrow" format="reference"/>
8095        <!-- Reference to a pointer drawable with STYLE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW. -->
8096        <attr name="pointerIconTopRightDiagonalDoubleArrow" format="reference"/>
8097        <!-- Reference to a pointer drawable with STYLE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW. -->
8098        <attr name="pointerIconTopLeftDiagonalDoubleArrow" format="reference"/>
8099        <!-- Reference to a pointer drawable with STYLE_ZOOM_IN. -->
8100        <attr name="pointerIconZoomIn" format="reference"/>
8101        <!-- Reference to a pointer drawable with STYLE_ZOOM_OUT. -->
8102        <attr name="pointerIconZoomOut" format="reference"/>
8103        <!-- Reference to a pointer drawable with STYLE_GRAB. -->
8104        <attr name="pointerIconGrab" format="reference"/>
8105        <!-- Reference to a pointer drawable with STYLE_GRABBING. -->
8106        <attr name="pointerIconGrabbing" format="reference"/>
8107    </declare-styleable>
8108
8109    <declare-styleable name="PointerIcon">
8110        <!-- Drawable to use as the icon bitmap. -->
8111        <attr name="bitmap" format="reference" />
8112        <!-- X coordinate of the icon hot spot. -->
8113        <attr name="hotSpotX" format="dimension" />
8114        <!-- Y coordinate of the icon hot spot. -->
8115        <attr name="hotSpotY" format="dimension" />
8116    </declare-styleable>
8117
8118    <declare-styleable name="Storage">
8119        <!-- path to mount point for the storage. -->
8120        <attr name="mountPoint" format="string" />
8121        <!-- user visible description of the storage. -->
8122        <attr name="storageDescription" format="string" />
8123        <!-- true if the storage is the primary external storage. -->
8124        <attr name="primary" format="boolean" />
8125        <!-- true if the storage is removable. -->
8126        <attr name="removable" format="boolean" />
8127        <!-- true if the storage is emulated via the FUSE sdcard daemon. -->
8128        <attr name="emulated" format="boolean" />
8129        <!-- number of megabytes of storage MTP should reserve for free storage
8130             (used for emulated storage that is shared with system's data partition). -->
8131        <attr name="mtpReserve" format="integer" />
8132        <!-- true if the storage can be shared via USB mass storage. -->
8133        <attr name="allowMassStorage" format="boolean" />
8134        <!-- maximum file size for the volume in megabytes, zero or unspecified if it is unbounded. -->
8135        <attr name="maxFileSize" format="integer" />
8136    </declare-styleable>
8137
8138    <declare-styleable name="SwitchPreference">
8139        <!-- The summary for the Preference in a PreferenceActivity screen when the
8140             SwitchPreference is checked. If separate on/off summaries are not
8141             needed, the summary attribute can be used instead. -->
8142        <attr name="summaryOn" />
8143        <!-- The summary for the Preference in a PreferenceActivity screen when the
8144             SwitchPreference is unchecked. If separate on/off summaries are not
8145             needed, the summary attribute can be used instead. -->
8146        <attr name="summaryOff" />
8147        <!-- The text used on the switch itself when in the "on" state.
8148             This should be a very SHORT string, as it appears in a small space. -->
8149        <attr name="switchTextOn" format="string" />
8150        <!-- The text used on the switch itself when in the "off" state.
8151             This should be a very SHORT string, as it appears in a small space. -->
8152        <attr name="switchTextOff" format="string" />
8153        <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
8154             dependents will be disabled when this is unchecked, so the value of this preference is false. -->
8155        <attr name="disableDependentsState" />
8156    </declare-styleable>
8157
8158    <declare-styleable name="SeekBarPreference">
8159        <attr name="layout" />
8160        <!-- Attribute indicating whether the slider within this preference can be adjusted, that is
8161        pressing left/right keys when this preference is focused will move the slider accordingly
8162        (for example, inline adjustable preferences). False, if the slider within the preference is
8163        read-only and cannot be adjusted. By default, the seekbar is adjustable. -->
8164        <attr name="adjustable" format="boolean" />
8165        <!-- Flag indicating whether the TextView next to the seekbar that shows the current seekbar value will be
8166        displayed. If true, the view is VISIBLE; if false, the view will be GONE. By default, this view is VISIBLE. -->
8167        <attr name="showSeekBarValue" format="boolean" />
8168    </declare-styleable>
8169
8170    <!-- Base attributes available to PreferenceFragment. -->
8171    <declare-styleable name="PreferenceFragment">
8172        <!-- The layout for the PreferenceFragment. This should rarely need to be changed. -->
8173        <attr name="layout" />
8174        <attr name="divider" />
8175    </declare-styleable>
8176
8177    <!-- Base attributes available to PreferenceScreen. -->
8178    <declare-styleable name="PreferenceScreen">
8179        <!-- The layout for the PreferenceScreen. This should rarely need to be changed. -->
8180        <attr name="screenLayout" format="reference" />
8181        <attr name="divider" />
8182    </declare-styleable>
8183
8184    <!-- Base attributes available to PreferenceActivity. -->
8185    <declare-styleable name="PreferenceActivity">
8186        <!-- The layout for the Preference Activity. This should rarely need to be changed. -->
8187        <attr name="layout" />
8188        <!-- The layout for the Preference Header. This should rarely need to be changed. -->
8189        <attr name="headerLayout" format="reference" />
8190        <!-- true if the Icon view will be removed when there is none and thus not showing
8191             the fixed margins. -->
8192        <attr name="headerRemoveIconIfEmpty" format="boolean" />
8193    </declare-styleable>
8194
8195    <!-- Use <code>tts-engine</code> as the root tag of the XML resource that
8196         describes a text to speech engine implemented as a subclass of
8197         {@link android.speech.tts.TextToSpeechService}.
8198
8199         The XML resource must be referenced from its
8200         {@link android.speech.tts.TextToSpeech.Engine#SERVICE_META_DATA} meta-data
8201         entry. -->
8202    <declare-styleable name="TextToSpeechEngine">
8203        <attr name="settingsActivity" />
8204    </declare-styleable>
8205
8206    <!-- Use <code>keyboard-layouts</code> as the root tag of the XML resource that
8207         describes a collection of keyboard layouts provided by an application.
8208         Each keyboard layout is declared by a <code>keyboard-layout</code> tag
8209         with these attributes.
8210
8211         The XML resource that contains the keyboard layouts must be referenced from its
8212         {@link android.hardware.input.InputManager#META_DATA_KEYBOARD_LAYOUTS}
8213         meta-data entry used with broadcast receivers for
8214         {@link android.hardware.input.InputManager#ACTION_QUERY_KEYBOARD_LAYOUTS}. -->
8215    <declare-styleable name="KeyboardLayout">
8216        <!-- The name of the keyboard layout, must be unique in the receiver. -->
8217        <attr name="name" />
8218        <!-- The display label of the keyboard layout. -->
8219        <attr name="label" />
8220        <!-- The key character map file resource. -->
8221        <attr name="keyboardLayout" format="reference" />
8222        <!-- The locales the given keyboard layout corresponds to. -->
8223        <attr name="locale" format="string" />
8224        <!-- The vendor ID of the hardware the given layout corresponds to. @hide -->
8225        <attr name="vendorId" format="integer" />
8226        <!-- The product ID of the hardware the given layout corresponds to. @hide -->
8227        <attr name="productId" format="integer" />
8228    </declare-styleable>
8229
8230    <declare-styleable name="MediaRouteButton">
8231        <!-- This drawable is a state list where the "activated" state
8232             indicates active media routing. Non-activated indicates
8233             that media is playing to the local device only.
8234             @hide -->
8235        <attr name="externalRouteEnabledDrawable" format="reference" />
8236
8237        <!-- The types of media routes the button and its resulting
8238             chooser will filter by. -->
8239        <attr name="mediaRouteTypes" format="integer">
8240            <!-- Allow selection of live audio routes. -->
8241            <enum name="liveAudio" value="0x1" />
8242            <!-- Allow selection of user (app-specified) routes. -->
8243            <enum name="user" value="0x800000" />
8244        </attr>
8245
8246        <attr name="minWidth" />
8247        <attr name="minHeight" />
8248    </declare-styleable>
8249
8250    <!-- PagedView specific attributes. These attributes are used to customize
8251         a PagedView view in XML files. -->
8252    <declare-styleable name="PagedView">
8253        <!-- The space between adjacent pages of the PagedView. -->
8254        <attr name="pageSpacing" format="dimension" />
8255        <!-- The padding for the scroll indicator area. -->
8256        <attr name="scrollIndicatorPaddingLeft" format="dimension" />
8257        <attr name="scrollIndicatorPaddingRight" format="dimension" />
8258    </declare-styleable>
8259
8260    <declare-styleable name="KeyguardGlowStripView">
8261        <attr name="dotSize" format="dimension" />
8262        <attr name="numDots" format="integer" />
8263        <attr name="glowDot" format="reference" />
8264        <attr name="leftToRight" format="boolean" />
8265    </declare-styleable>
8266
8267    <!-- Some child types have special behavior. -->
8268    <attr name="layout_childType">
8269        <!-- No special behavior. Layout will proceed as normal. -->
8270        <enum name="none" value="0" />
8271        <!-- Widget container.
8272             This will be resized in response to certain events. -->
8273        <enum name="widget" value="1" />
8274        <!-- Security challenge container.
8275             This will be dismissed/shown in response to certain events,
8276             possibly obscuring widget elements. -->
8277        <enum name="challenge" value="2" />
8278        <!-- User switcher.
8279             This will consume space from the total layout area. -->
8280        <enum name="userSwitcher" value="3" />
8281        <!-- Scrim. This will block access to child views that
8282             come before it in the child list in bouncer mode. -->
8283        <enum name="scrim" value="4" />
8284        <!-- The home for widgets. All widgets will be descendents of this. -->
8285        <enum name="widgets" value="5" />
8286        <!-- This is a handle that is used for expanding the
8287             security challenge container when it is collapsed. -->
8288        <enum name="expandChallengeHandle" value="6" />
8289        <!-- Delete drop target.  This will be the drop target to delete pages. -->
8290        <enum name="pageDeleteDropTarget" value="7" />
8291    </attr>
8292
8293    <!-- Attributes that can be used with <code>&lt;FragmentBreadCrumbs&gt;</code>
8294    tags. -->
8295    <declare-styleable name="FragmentBreadCrumbs">
8296        <attr name="gravity" />
8297        <attr name="itemLayout" format="reference" />
8298        <attr name="itemColor" format="color|reference" />
8299    </declare-styleable>
8300
8301    <declare-styleable name="Toolbar">
8302        <attr name="titleTextAppearance" format="reference" />
8303        <attr name="subtitleTextAppearance" format="reference" />
8304        <attr name="title" />
8305        <attr name="subtitle" />
8306        <attr name="gravity" />
8307        <!--  Specifies extra space on the left, start, right and end sides
8308              of the toolbar's title. Margin values should be positive. -->
8309        <attr name="titleMargin" format="dimension" />
8310        <!--  Specifies extra space on the start side of the toolbar's title.
8311              If both this attribute and titleMargin are specified, then this
8312              attribute takes precedence. Margin values should be positive. -->
8313        <attr name="titleMarginStart" format="dimension" />
8314        <!--  Specifies extra space on the end side of the toolbar's title.
8315              If both this attribute and titleMargin are specified, then this
8316              attribute takes precedence. Margin values should be positive. -->
8317        <attr name="titleMarginEnd" format="dimension" />
8318        <!--  Specifies extra space on the top side of the toolbar's title.
8319              If both this attribute and titleMargin are specified, then this
8320              attribute takes precedence. Margin values should be positive. -->
8321        <attr name="titleMarginTop" format="dimension" />
8322        <!--  Specifies extra space on the bottom side of the toolbar's title.
8323              If both this attribute and titleMargin are specified, then this
8324              attribute takes precedence. Margin values should be positive. -->
8325        <attr name="titleMarginBottom" format="dimension" />
8326        <attr name="contentInsetStart" />
8327        <attr name="contentInsetEnd" />
8328        <attr name="contentInsetLeft" />
8329        <attr name="contentInsetRight" />
8330        <attr name="contentInsetStartWithNavigation" />
8331        <attr name="contentInsetEndWithActions" />
8332        <attr name="maxButtonHeight" format="dimension" />
8333        <attr name="navigationButtonStyle" format="reference" />
8334        <attr name="buttonGravity">
8335            <!-- Push object to the top of its container, not changing its size. -->
8336            <flag name="top" value="0x30" />
8337            <!-- Push object to the bottom of its container, not changing its size. -->
8338            <flag name="bottom" value="0x50" />
8339        </attr>
8340        <!-- Icon drawable to use for the collapse button. -->
8341        <attr name="collapseIcon" format="reference" />
8342        <!-- Text to set as the content description for the collapse button. -->
8343        <attr name="collapseContentDescription" format="string" />
8344        <!-- Reference to a theme that should be used to inflate popups
8345             shown by widgets in the toolbar. -->
8346        <attr name="popupTheme" format="reference" />
8347        <!-- Icon drawable to use for the navigation button located at
8348             the start of the toolbar. -->
8349        <attr name="navigationIcon" format="reference" />
8350        <!-- Text to set as the content description for the navigation button
8351             located at the start of the toolbar. -->
8352        <attr name="navigationContentDescription" format="string" />
8353        <!-- Drawable to set as the logo that appears at the starting side of
8354             the Toolbar, just after the navigation button. -->
8355        <attr name="logo" />
8356        <!-- A content description string to describe the appearance of the
8357             associated logo image. -->
8358        <attr name="logoDescription" format="string" />
8359        <!-- A color to apply to the title string. -->
8360        <attr name="titleTextColor" format="color" />
8361        <!-- A color to apply to the subtitle string. -->
8362        <attr name="subtitleTextColor" format="color" />
8363    </declare-styleable>
8364
8365    <declare-styleable name="Toolbar_LayoutParams">
8366        <attr name="layout_gravity" />
8367    </declare-styleable>
8368
8369    <declare-styleable name="ActionBar_LayoutParams">
8370        <attr name="layout_gravity" />
8371    </declare-styleable>
8372
8373    <!-- Used as a filter array on the theme to pull out only the EdgeEffect-relevant bits. -->
8374    <declare-styleable name="EdgeEffect">
8375        <attr name="colorEdgeEffect" />
8376    </declare-styleable>
8377
8378    <!-- Use <code>tv-input</code> as the root tag of the XML resource that describes a
8379         {@link android.media.tv.TvInputService}, which is referenced from its
8380         {@link android.media.tv.TvInputService#SERVICE_META_DATA} meta-data entry.
8381         Described here are the attributes that can be included in that tag. -->
8382    <declare-styleable name="TvInputService">
8383        <!-- Component name of an activity that allows the user to set up this service. -->
8384        <attr name="setupActivity" format="string" />
8385        <!-- Component name of an activity that allows the user to modify the settings for this
8386             service.
8387             {@deprecated This value is deprecated and not used by the framework starting from API
8388                         level 26. Use setupActivity instead.} -->
8389        <attr name="settingsActivity" />
8390        <!-- Attribute whether the TV input service can record programs. This value can be changed
8391             at runtime by calling
8392             {@link android.media.tv.TvInputManager#updateTvInputInfo(android.media.tv.TvInputInfo)}. -->
8393        <attr name="canRecord" format="boolean" />
8394        <!-- The number of tuners that the TV input service is associated with. This value can be
8395             changed at runtime by calling
8396             {@link android.media.tv.TvInputManager#updateTvInputInfo(android.media.tv.TvInputInfo)}. -->
8397        <attr name="tunerCount" format="integer" />
8398    </declare-styleable>
8399
8400    <!-- Attributes that can be used with <code>rating-system-definition</code> tags inside of the
8401         XML resource that describes TV content rating of a {@link android.media.tv.TvInputService},
8402         which is referenced from its
8403         {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. -->
8404    <declare-styleable name="RatingSystemDefinition">
8405        <!-- The unique name of the content rating system. -->
8406        <attr name="name" />
8407        <!-- The title of the content rating system which is shown to the user. -->
8408        <attr name="title" />
8409        <!-- The short description of the content rating system. -->
8410        <attr name="description" />
8411        <!-- The country code associated with the content rating system, which consists of two
8412             uppercase letters that conform to the ISO 3166 standard. -->
8413        <attr name="country" format="string" />
8414    </declare-styleable>
8415
8416    <!-- Attributes that can be used with <code>rating-definition</code> tags inside of the XML
8417         resource that describes TV content rating of a {@link android.media.tv.TvInputService},
8418         which is referenced from its
8419         {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. -->
8420    <declare-styleable name="RatingDefinition">
8421        <!-- The unique name of the content rating. -->
8422        <attr name="name" />
8423        <!-- The title of the content rating which is shown to the user. -->
8424        <attr name="title" />
8425        <!-- The short description of the content rating. -->
8426        <attr name="description" />
8427        <!-- The age associated with the content rating. The content of this rating is suitable for
8428             people of this age or above. -->
8429        <attr name="contentAgeHint" format="integer" />
8430    </declare-styleable>
8431
8432    <declare-styleable name="ResolverDrawerLayout">
8433        <attr name="maxWidth" />
8434        <attr name="maxCollapsedHeight" format="dimension" />
8435        <attr name="maxCollapsedHeightSmall" format="dimension" />
8436    </declare-styleable>
8437
8438    <declare-styleable name="MessagingLinearLayout">
8439        <attr name="spacing" />
8440    </declare-styleable>
8441
8442    <declare-styleable name="DateTimeView">
8443        <attr name="showRelative" format="boolean" />
8444    </declare-styleable>
8445
8446    <declare-styleable name="ResolverDrawerLayout_LayoutParams">
8447        <attr name="layout_alwaysShow" format="boolean" />
8448        <attr name="layout_ignoreOffset" format="boolean" />
8449        <attr name="layout_gravity" />
8450        <attr name="layout_hasNestedScrollIndicator" format="boolean" />
8451    </declare-styleable>
8452
8453    <!-- @hide -->
8454    <declare-styleable name="Lighting">
8455        <attr name="lightY" />
8456        <attr name="lightZ" />
8457        <attr name="lightRadius" />
8458        <attr name="ambientShadowAlpha" />
8459        <attr name="spotShadowAlpha" />
8460    </declare-styleable>
8461
8462    <declare-styleable name="RestrictionEntry">
8463        <attr name="key" />
8464        <attr name="restrictionType">
8465            <enum name="hidden" value="0" />
8466            <enum name="bool" value="1" />
8467            <enum name="choice" value="2" />
8468            <enum name="multi-select" value="4" />
8469            <enum name="integer" value="5" />
8470            <enum name="string" value="6" />
8471            <enum name="bundle" value="7" />
8472            <enum name="bundle_array" value="8" />
8473        </attr>
8474        <attr name="title" />
8475        <attr name="description" />
8476        <attr name="defaultValue" />
8477        <attr name="entries" />
8478        <attr name="entryValues" />
8479    </declare-styleable>
8480
8481    <!-- Used to describe the gradient for fill or stroke in a path of VectorDrawable. -->
8482    <declare-styleable name="GradientColor">
8483        <!-- Start color of the gradient. -->
8484        <attr name="startColor" />
8485        <!-- Optional center color. -->
8486        <attr name="centerColor" />
8487        <!-- End color of the gradient. -->
8488        <attr name="endColor" />
8489        <!-- Type of gradient. The default type is linear. -->
8490        <attr name="type" />
8491
8492        <!-- Only applied to RadialGradient-->
8493        <!-- Radius of the gradient, used only with radial gradient. -->
8494        <attr name="gradientRadius" />
8495
8496        <!-- Only applied to SweepGradient / RadialGradient-->
8497        <!-- X coordinate of the center of the gradient within the path. -->
8498        <attr name="centerX" />
8499        <!-- Y coordinate of the center of the gradient within the path. -->
8500        <attr name="centerY" />
8501
8502        <!-- LinearGradient specific -->
8503        <!-- X coordinate of the start point origin of the gradient.
8504             Defined in same coordinates as the path itself -->
8505        <attr name="startX" format="float" />
8506        <!-- Y coordinate of the start point of the gradient within the shape.
8507             Defined in same coordinates as the path itself -->
8508        <attr name="startY" format="float" />
8509        <!-- X coordinate of the end point origin of the gradient.
8510             Defined in same coordinates as the path itself -->
8511        <attr name="endX" format="float" />
8512        <!-- Y coordinate of the end point of the gradient within the shape.
8513             Defined in same coordinates as the path itself -->
8514        <attr name="endY" format="float" />
8515
8516        <!-- Defines the tile mode of the gradient. SweepGradient don't support tiling. -->
8517        <attr name="tileMode"/>
8518    </declare-styleable>
8519
8520    <!-- Describes an item of a GradientColor. Minimally need 2 items to define the gradient
8521         Colors defined in <item> override the simple color attributes such as
8522         "startColor / centerColor / endColor" are ignored. -->
8523    <declare-styleable name="GradientColorItem">
8524        <!-- The offset (or ratio) of this current color item inside the gradient.
8525             The value is only meaningful when it is between 0 and 1. -->
8526        <attr name="offset" format="float" />
8527        <!-- The current color for the offset inside the gradient. -->
8528        <attr name="color" />
8529    </declare-styleable>
8530
8531    <!-- @hide Attributes which will be read by the Activity to intialize the
8532               base activity TaskDescription. -->
8533    <declare-styleable name="ActivityTaskDescription">
8534        <!-- @hide From Theme.colorPrimary, used for the TaskDescription primary
8535                   color. -->
8536        <attr name="colorPrimary" />
8537        <!-- @hide From Theme.colorBackground, used for the TaskDescription background
8538                   color. -->
8539        <attr name="colorBackground" />
8540    </declare-styleable>
8541
8542    <declare-styleable name="Shortcut">
8543        <attr name="shortcutId" format="string" />
8544        <attr name="enabled" />
8545        <attr name="icon" />
8546        <attr name="shortcutShortLabel" format="reference" />
8547        <attr name="shortcutLongLabel" format="reference" />
8548        <attr name="shortcutDisabledMessage" format="reference" />
8549    </declare-styleable>
8550
8551    <declare-styleable name="ShortcutCategories">
8552        <attr name="name" />
8553    </declare-styleable>
8554
8555    <!-- Attributes that are read when parsing a <font> tag, which is a child of
8556         <font-family>. -->
8557    <declare-styleable name="FontFamilyFont">
8558        <attr name="fontStyle">
8559            <enum name="normal" value="0" />
8560            <enum name="italic" value="1" />
8561        </attr>
8562        <attr name="font" format="reference" />
8563        <attr name="fontWeight" format="integer" />
8564    </declare-styleable>
8565
8566    <!-- Attributes that are read when parsing a <fontfamily> tag. -->
8567    <declare-styleable name="FontFamily">
8568        <attr name="fontProviderAuthority" format="string" />
8569        <attr name="fontProviderPackage" format="string" />
8570        <attr name="fontProviderQuery" format="string" />
8571    </declare-styleable>
8572
8573    <!-- @hide -->
8574    <declare-styleable name="RecyclerView">
8575        <attr name="layoutManager" format="string" />
8576        <attr name="orientation" />
8577        <attr name="descendantFocusability" />
8578        <attr name="spanCount" format="integer"/>
8579        <attr name="reverseLayout" format="boolean" />
8580        <attr name="stackFromEnd" format="boolean" />
8581    </declare-styleable>
8582
8583    <attr name="lockPatternStyle" format="reference" />
8584</resources>
8585