attrs.xml revision b360b995c91c2abdac7426ba37b154d15b235113
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2006 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<!-- Formatting note: terminate all comments with a period, to avoid breaking
18     the documentation output. To suppress comment lines from the documentation
19     output, insert an eat-comment element after the comment lines.
20-->
21
22<resources>
23    <!-- These are the standard attributes that make up a complete theme. -->
24    <declare-styleable name="Theme">
25        <!-- ============== -->
26        <!-- Generic styles -->
27        <!-- ============== -->
28        <eat-comment />
29
30        <!-- Specifies that a theme has a light background with dark text on top.  -->
31        <attr name="isLightTheme" format="boolean" />
32
33        <!-- Default color of foreground imagery. -->
34        <attr name="colorForeground" format="color" />
35        <!-- Default color of foreground imagery on an inverted background. -->
36        <attr name="colorForegroundInverse" format="color" />
37        <!-- Default color of background imagery, ex. full-screen windows. -->
38        <attr name="colorBackground" format="color" />
39        <!-- Default color of background imagery for floating components, ex. dialogs, popups, and cards. -->
40        <attr name="colorBackgroundFloating" format="color" />
41        <!-- This is a hint for a solid color that can be used for caching
42             rendered views.  This should be the color of the background when
43             there is a solid background color; it should be null when the
44             background is a texture or translucent.  When a device is able
45             to use accelerated drawing (thus setting state_accelerated), the
46             cache hint is ignored and always assumed to be transparent. -->
47        <attr name="colorBackgroundCacheHint" format="color" />
48
49        <!-- Default highlight color for items that are pressed. -->
50        <attr name="colorPressedHighlight" format="color" />
51        <!-- Default highlight color for items that are long-pressed. -->
52        <attr name="colorLongPressedHighlight" format="color" />
53        <!-- Default highlight color for items that are
54             focused. (Focused meaning cursor-based selection.) -->
55        <attr name="colorFocusedHighlight" format="color" />
56        <!-- Default highlight color for items that are
57             activated. (Activated meaning persistent selection.) -->
58        <attr name="colorActivatedHighlight" format="color" />
59        <!-- Default highlight color for items in multiple selection
60             mode. -->
61        <attr name="colorMultiSelectHighlight" format="color" />
62
63        <!-- Drawable to be drawn over the view to mark it as autofilled-->
64        <attr name="autofilledHighlight" format="reference" />
65
66        <!-- Max width of the autofill data set picker as a fraction of the screen width -->
67        <attr name="autofillDatasetPickerMaxWidth" format="reference" />
68
69        <!-- Max height of the autofill data set picker as a fraction of the screen height -->
70        <attr name="autofillDatasetPickerMaxHeight" format="reference" />
71
72        <!-- Max height of the the autofill save custom subtitle as a fraction of the screen width/height -->
73        <attr name="autofillSaveCustomSubtitleMaxHeight" format="reference" />
74
75        <!-- Default disabled alpha for widgets that set enabled/disabled alpha programmatically. -->
76        <attr name="disabledAlpha" format="float" />
77        <!-- The alpha applied to the foreground color to create the primary text color. -->
78        <attr name="primaryContentAlpha" format="float" />
79        <!-- The alpha applied to the foreground color to create the secondary text color. -->
80        <attr name="secondaryContentAlpha" format="float" />
81        <!-- Color used for error states and things that need to be drawn to
82             the users attention.. -->
83        <attr name="colorError" format="reference|color" />
84        <!-- Default background dim amount when a menu, dialog, or something similar pops up. -->
85        <attr name="backgroundDimAmount" format="float" />
86        <!-- Control whether dimming behind the window is enabled.  The default
87             theme does not set this value, meaning it is based on whether the
88             window is floating. -->
89        <attr name="backgroundDimEnabled" format="boolean" />
90
91        <!-- =========== -->
92        <!-- Text styles -->
93        <!-- =========== -->
94        <eat-comment />
95
96        <!-- Default appearance of text: color, typeface, size, and style. -->
97        <attr name="textAppearance" format="reference" />
98        <!-- Default appearance of text against an inverted background:
99             color, typeface, size, and style. -->
100        <attr name="textAppearanceInverse" format="reference" />
101
102        <!-- The most prominent text color.  -->
103        <attr name="textColorPrimary" format="reference|color" />
104        <!-- Secondary text color. -->
105        <attr name="textColorSecondary" format="reference|color" />
106        <!-- Tertiary text color. -->
107        <attr name="textColorTertiary" format="reference|color" />
108
109        <!-- Primary inverse text color, useful for inverted backgrounds. -->
110        <attr name="textColorPrimaryInverse" format="reference|color" />
111        <!-- Secondary inverse text color, useful for inverted backgrounds. -->
112        <attr name="textColorSecondaryInverse" format="reference|color" />
113        <!-- Tertiary inverse text color, useful for inverted backgrounds. -->
114        <attr name="textColorTertiaryInverse" format="reference|color" />
115
116        <!-- Inverse hint text color. -->
117        <attr name="textColorHintInverse" format="reference|color" />
118
119        <!-- Bright text color. Only differentiates based on the disabled state. -->
120        <attr name="textColorPrimaryDisableOnly" format="reference|color" />
121
122        <!-- Bright inverse text color. Only differentiates based on the disabled state. -->
123        <attr name="textColorPrimaryInverseDisableOnly" format="reference|color" />
124
125        <!-- Bright text color. This does not differentiate the disabled state. As an example,
126             buttons use this since they display the disabled state via the background and not the
127             foreground text color. -->
128        <attr name="textColorPrimaryNoDisable" format="reference|color" />
129        <!-- Dim text color. This does not differentiate the disabled state. -->
130        <attr name="textColorSecondaryNoDisable" format="reference|color" />
131
132        <!-- Bright inverse text color. This does not differentiate the disabled state. -->
133        <attr name="textColorPrimaryInverseNoDisable" format="reference|color" />
134        <!-- Dim inverse text color. This does not differentiate the disabled state. -->
135        <attr name="textColorSecondaryInverseNoDisable" format="reference|color" />
136
137        <!-- Bright text color for use over activated backgrounds. -->
138        <attr name="textColorPrimaryActivated" format="reference|color" />
139        <!-- Dim text color for use over activated backgrounds. -->
140        <attr name="textColorSecondaryActivated" format="reference|color" />
141
142        <!-- Text color for urls in search suggestions, used by things like global search and the browser. @hide -->
143        <attr name="textColorSearchUrl" format="reference|color" />
144
145        <!-- Color of highlighted text, when used in a light theme. -->
146        <attr name="textColorHighlightInverse" format="reference|color" />
147        <!-- Color of link text (URLs), when used in a light theme. -->
148        <attr name="textColorLinkInverse" format="reference|color" />
149
150        <!-- Color of list item text in alert dialogs. -->
151        <attr name="textColorAlertDialogListItem" format="reference|color" />
152
153        <!-- Search widget more corpus result item background. -->
154        <attr name="searchWidgetCorpusItemBackground" format="reference|color" />
155
156        <!-- Text color, typeface, size, and style for "large" text. Defaults to primary text color. -->
157        <attr name="textAppearanceLarge" format="reference" />
158        <!-- Text color, typeface, size, and style for "medium" text. Defaults to primary text color. -->
159        <attr name="textAppearanceMedium" format="reference" />
160        <!-- Text color, typeface, size, and style for "small" text. Defaults to secondary text color. -->
161        <attr name="textAppearanceSmall" format="reference" />
162
163        <!-- Text color, typeface, size, and style for "large" inverse text. Defaults to primary inverse text color. -->
164        <attr name="textAppearanceLargeInverse" format="reference" />
165        <!-- Text color, typeface, size, and style for "medium" inverse text. Defaults to primary inverse text color. -->
166        <attr name="textAppearanceMediumInverse" format="reference" />
167        <!-- Text color, typeface, size, and style for "small" inverse text. Defaults to secondary inverse text color. -->
168        <attr name="textAppearanceSmallInverse" format="reference" />
169
170        <!-- Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color. -->
171        <attr name="textAppearanceSearchResultTitle" format="reference" />
172        <!-- Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color. -->
173        <attr name="textAppearanceSearchResultSubtitle" format="reference" />
174
175        <!-- Text color, typeface, size, and style for the text inside of a button. -->
176        <attr name="textAppearanceButton" format="reference" />
177
178        <!-- Text color, typeface, size, and style for the text inside of a popup menu. -->
179        <attr name="textAppearanceLargePopupMenu" format="reference" />
180
181        <!-- Text color, typeface, size, and style for small text inside of a popup menu. -->
182        <attr name="textAppearanceSmallPopupMenu" format="reference" />
183
184        <!-- Text color, typeface, size, and style for header text inside of a popup menu. -->
185        <attr name="textAppearancePopupMenuHeader" format="reference" />
186
187        <!-- The underline color and thickness for easy correct suggestion -->
188        <attr name="textAppearanceEasyCorrectSuggestion" format="reference" />
189
190        <!-- The underline color and thickness for misspelled suggestion -->
191        <attr name="textAppearanceMisspelledSuggestion" format="reference" />
192
193        <!-- The underline color and thickness for auto correction suggestion -->
194        <attr name="textAppearanceAutoCorrectionSuggestion" format="reference" />
195
196        <!--  The underline color -->
197        <attr name="textUnderlineColor" format="reference|color" />
198        <!--  The underline thickness -->
199        <attr name="textUnderlineThickness" format="reference|dimension" />
200
201        <!-- EditText text foreground color. -->
202        <attr name="editTextColor" format="reference|color" />
203        <!-- EditText background drawable. -->
204        <attr name="editTextBackground" format="reference" />
205
206        <!-- Popup text displayed in TextView when setError is used. -->
207        <attr name="errorMessageBackground" format="reference" />
208        <!-- Background used instead of errorMessageBackground when the popup has to be above. -->
209        <attr name="errorMessageAboveBackground" format="reference" />
210
211        <!-- A styled string, specifying the style to be used for showing
212             inline candidate text when composing with an input method.  The
213             text itself will be ignored, but the style spans will be applied
214             to the candidate text as it is edited. -->
215        <attr name="candidatesTextStyleSpans" format="reference|string" />
216
217        <!-- Drawable to use for check marks. -->
218        <attr name="textCheckMark" format="reference" />
219        <attr name="textCheckMarkInverse" format="reference" />
220
221        <!-- Drawable to use for multiple choice indicators. -->
222        <attr name="listChoiceIndicatorMultiple" format="reference" />
223
224        <!-- Drawable to use for single choice indicators. -->
225        <attr name="listChoiceIndicatorSingle" format="reference" />
226
227        <!-- Drawable used as a background for selected list items. -->
228        <attr name="listChoiceBackgroundIndicator" format="reference" />
229
230        <!-- Drawable used as a background for activated items. -->
231        <attr name="activatedBackgroundIndicator" format="reference" />
232
233        <!-- ============= -->
234        <!-- Button styles -->
235        <!-- ============= -->
236        <eat-comment />
237
238        <!-- Normal Button style. -->
239        <attr name="buttonStyle" format="reference" />
240
241        <!-- Small Button style. -->
242        <attr name="buttonStyleSmall" format="reference" />
243
244        <!-- Button style to inset into an EditText. -->
245        <attr name="buttonStyleInset" format="reference" />
246
247        <!-- ToggleButton style. -->
248        <attr name="buttonStyleToggle" format="reference" />
249
250        <!-- ============== -->
251        <!-- Gallery styles -->
252        <!-- ============== -->
253        <eat-comment />
254
255        <!-- The preferred background for gallery items. This should be set
256             as the background of any Views you provide from the Adapter. -->
257        <attr name="galleryItemBackground" format="reference" />
258
259        <!-- =========== -->
260        <!-- List styles -->
261        <!-- =========== -->
262        <eat-comment />
263
264        <!-- The preferred list item height. -->
265        <attr name="listPreferredItemHeight" format="dimension" />
266        <!-- A smaller, sleeker list item height. -->
267        <attr name="listPreferredItemHeightSmall" format="dimension" />
268        <!-- A larger, more robust list item height. -->
269        <attr name="listPreferredItemHeightLarge" format="dimension" />
270        <!-- The list item height for search results. @hide -->
271        <attr name="searchResultListItemHeight" format="dimension" />
272
273        <!-- The preferred padding along the left edge of list items. -->
274        <attr name="listPreferredItemPaddingLeft" format="dimension" />
275        <!-- The preferred padding along the right edge of list items. -->
276        <attr name="listPreferredItemPaddingRight" format="dimension" />
277
278        <!-- The preferred TextAppearance for the primary text of list items. -->
279        <attr name="textAppearanceListItem" format="reference" />
280        <!-- The preferred TextAppearance for the secondary text of list items. -->
281        <attr name="textAppearanceListItemSecondary" format="reference" />
282        <!-- The preferred TextAppearance for the primary text of small list items. -->
283        <attr name="textAppearanceListItemSmall" format="reference" />
284
285        <!-- The drawable for the list divider. -->
286        <attr name="listDivider" format="reference" />
287        <!-- The list divider used in alert dialogs. -->
288        <attr name="listDividerAlertDialog" format="reference" />
289        <!-- TextView style for list separators. -->
290        <attr name="listSeparatorTextViewStyle" format="reference" />
291        <!-- The preferred left padding for an expandable list item (for child-specific layouts,
292             use expandableListPreferredChildPaddingLeft). This takes into account
293             the indicator that will be shown to next to the item. -->
294        <attr name="expandableListPreferredItemPaddingLeft" format="dimension" />
295        <!-- The preferred left padding for an expandable list item that is a child.
296             If this is not provided, it defaults to the expandableListPreferredItemPaddingLeft. -->
297        <attr name="expandableListPreferredChildPaddingLeft" format="dimension" />
298        <!-- The preferred left bound for an expandable list item's indicator. For a child-specific
299             indicator, use expandableListPreferredChildIndicatorLeft. -->
300        <attr name="expandableListPreferredItemIndicatorLeft" format="dimension" />
301        <!-- The preferred right bound for an expandable list item's indicator. For a child-specific
302             indicator, use expandableListPreferredChildIndicatorRight. -->
303        <attr name="expandableListPreferredItemIndicatorRight" format="dimension" />
304        <!-- The preferred left bound for an expandable list child's indicator. -->
305        <attr name="expandableListPreferredChildIndicatorLeft" format="dimension" />
306        <!-- The preferred right bound for an expandable list child's indicator. -->
307        <attr name="expandableListPreferredChildIndicatorRight" format="dimension" />
308
309        <!-- The preferred item height for dropdown lists. -->
310        <attr name="dropdownListPreferredItemHeight" format="dimension" />
311
312        <!-- The preferred padding along the start edge of list items. -->
313        <attr name="listPreferredItemPaddingStart" format="dimension" />
314        <!-- The preferred padding along the end edge of list items. -->
315        <attr name="listPreferredItemPaddingEnd" format="dimension" />
316
317        <!-- ============= -->
318        <!-- Window styles -->
319        <!-- ============= -->
320        <eat-comment />
321
322        <!-- Drawable to use as the overall window background.  As of
323             {@link android.os.Build.VERSION_CODES#HONEYCOMB}, this may
324             be a selector that uses state_accelerated to pick a non-solid
325             color when running on devices that can draw such a bitmap
326             with complex compositing on top at 60fps.
327
328             <p>There are a few special considerations to use when setting this
329             drawable:
330             <ul>
331             <li> This information will be used to infer the pixel format
332                  for your window's surface.  If the drawable has any
333                  non-opaque pixels, your window will be translucent
334                  (32 bpp).
335             <li> If you want to draw the entire background
336                  yourself, you should set this drawable to some solid
337                  color that closely matches that background (so the
338                  system's preview of your window will match), and
339                  then in code manually set your window's background to
340                  null so it will not be drawn.
341             </ul> -->
342        <attr name="windowBackground" format="reference" />
343        <!-- Drawable to draw selectively within the inset areas when the windowBackground
344             has been set to null. This protects against seeing visual garbage in the
345             surface when the app has not drawn any content into this area. One example is
346             when the user is resizing a window of an activity that has
347             {@link android.R.attr#resizeableActivity} set for multi-window mode. -->
348        <attr name="windowBackgroundFallback" format="reference" />
349        <!-- Drawable to use as a frame around the window. -->
350        <attr name="windowFrame" format="reference" />
351        <!-- Flag indicating whether there should be no title on this window. -->
352        <attr name="windowNoTitle" format="boolean" />
353        <!-- Flag indicating whether this window should fill the entire screen.  Corresponds
354             to {@link android.view.WindowManager.LayoutParams#FLAG_FULLSCREEN}. -->
355        <attr name="windowFullscreen" format="boolean" />
356        <!-- Flag indicating whether this window should extend into overscan region.  Corresponds
357             to {@link android.view.WindowManager.LayoutParams#FLAG_LAYOUT_IN_OVERSCAN}. -->
358        <attr name="windowOverscan" format="boolean" />
359        <!-- Flag indicating whether this is a floating window. -->
360        <attr name="windowIsFloating" format="boolean" />
361        <!-- Flag indicating whether this is a translucent window. If this attribute is unset (but
362             not if set to false), the window might still be considered translucent, if
363             windowSwipeToDismiss is set to true. -->
364        <attr name="windowIsTranslucent" format="boolean" />
365        <!-- Flag indicating that this window's background should be the
366             user's current wallpaper.  Corresponds
367             to {@link android.view.WindowManager.LayoutParams#FLAG_SHOW_WALLPAPER}. -->
368        <attr name="windowShowWallpaper" format="boolean" />
369        <!-- This Drawable is overlaid over the foreground of the Window's content area, usually
370             to place a shadow below the title.  -->
371        <attr name="windowContentOverlay" format="reference" />
372        <!-- The style resource to use for a window's title bar height. -->
373        <attr name="windowTitleSize" format="dimension" />
374        <!-- The style resource to use for a window's title text. -->
375        <attr name="windowTitleStyle" format="reference" />
376        <!-- The style resource to use for a window's title area. -->
377        <attr name="windowTitleBackgroundStyle" format="reference" />
378
379        <!-- Reference to a style resource holding
380             the set of window animations to use, which can be
381             any of the attributes defined by
382             {@link android.R.styleable#WindowAnimation}. -->
383        <attr name="windowAnimationStyle" format="reference" />
384
385        <!-- Flag indicating whether this window should have an Action Bar
386             in place of the usual title bar. -->
387        <attr name="windowActionBar" format="boolean" />
388
389        <!-- Flag indicating whether this window's Action Bar should overlay
390             application content. Does nothing if the window would not
391             have an Action Bar. -->
392        <attr name="windowActionBarOverlay" format="boolean" />
393
394        <!-- Flag indicating whether action modes should overlay window content
395             when there is not reserved space for their UI (such as an Action Bar). -->
396        <attr name="windowActionModeOverlay" format="boolean" />
397
398        <!-- Defines the default soft input state that this window would
399             like when it is displayed.  Corresponds
400             to {@link android.view.WindowManager.LayoutParams#softInputMode}. -->
401        <attr name="windowSoftInputMode">
402            <!-- Not specified, use what the system thinks is best.  This
403                 is the default. -->
404            <flag name="stateUnspecified" value="0" />
405            <!-- Leave the soft input window as-is, in whatever state it
406                 last was. -->
407            <flag name="stateUnchanged" value="1" />
408            <!-- Make the soft input area hidden when normally appropriate
409                 (when the user is navigating forward to your window). -->
410            <flag name="stateHidden" value="2" />
411            <!-- Always make the soft input area hidden when this window
412                 has input focus. -->
413            <flag name="stateAlwaysHidden" value="3" />
414            <!-- Make the soft input area visible when normally appropriate
415                 (when the user is navigating forward to your window). -->
416            <flag name="stateVisible" value="4" />
417            <!-- Always make the soft input area visible when this window
418                 has input focus. -->
419            <flag name="stateAlwaysVisible" value="5" />
420
421            <!-- The window resize/pan adjustment has not been specified,
422                 the system will automatically select between resize and pan
423                 modes, depending
424                 on whether the content of the window has any layout views
425                 that can scroll their contents.  If there is such a view,
426                 then the window will be resized, with the assumption being
427                 that the resizeable area can be reduced to make room for
428                 the input UI. -->
429            <flag name="adjustUnspecified" value="0x00" />
430            <!-- Always resize the window: the content area of the window is
431                 reduced to make room for the soft input area. -->
432            <flag name="adjustResize" value="0x10" />
433            <!-- Don't resize the window to make room for the soft input area;
434                 instead pan the contents of the window as focus moves inside
435                 of it so that the user can see what they are typing.  This is
436                 generally less desireable than panning because the user may
437                 need to close the input area to get at and interact with
438                 parts of the window. -->
439            <flag name="adjustPan" value="0x20" />
440            <!-- Don't resize <em>or</em> pan the window to make room for the
441                 soft input area; the window is never adjusted for it. -->
442            <flag name="adjustNothing" value="0x30" />
443        </attr>
444
445        <!-- Flag allowing you to disable the splash screen for a window. The default value is
446             false; if set to true, the system can never use the window's theme to show a splash
447             screen before your actual instance is shown to the user. -->
448        <attr name="windowDisablePreview" format="boolean" />
449
450        <!-- Flag indicating that this window should not be displayed at all.
451             The default value is false; if set to true, and this window is
452             the main window of an Activity, then it will never actually
453             be added to the window manager.  This means that your activity
454             must immediately quit without waiting for user interaction,
455             because there will be no such interaction coming. -->
456        <attr name="windowNoDisplay" format="boolean" />
457
458        <!-- Flag indicating that this window should allow touches to be split
459             across other windows that also support split touch.
460             The default value is true for applications with a targetSdkVersion
461             of Honeycomb or newer; false otherwise.
462             When this flag is false, the first pointer that goes down determines
463             the window to which all subsequent touches go until all pointers go up.
464             When this flag is true, each pointer (not necessarily the first) that
465             goes down determines the window to which all subsequent touches of that
466             pointer will go until that pointers go up thereby enabling touches
467             with multiple pointers to be split across multiple windows. -->
468        <attr name="windowEnableSplitTouch" format="boolean" />
469
470        <!-- Control whether a container should automatically close itself if
471             the user touches outside of it.  This only applies to activities
472             and dialogs.
473
474             <p>Note: this attribute will only be respected for applications
475             that are targeting {@link android.os.Build.VERSION_CODES#HONEYCOMB}
476             or later. -->
477        <attr name="windowCloseOnTouchOutside" format="boolean" />
478
479        <!-- Flag indicating whether this window requests a translucent status bar.  Corresponds
480             to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_STATUS}. -->
481        <attr name="windowTranslucentStatus" format="boolean" />
482
483        <!-- Flag indicating whether this window requests a translucent navigation bar.  Corresponds
484             to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_NAVIGATION}. -->
485        <attr name="windowTranslucentNavigation" format="boolean" />
486
487        <!-- Flag to indicate that a window can be swiped away to be dismissed.
488             Corresponds to {@link android.view.Window#FEATURE_SWIPE_TO_DISMISS}. It will also
489             dynamically change translucency of the window, if the windowIsTranslucent is not set.
490             If windowIsTranslucent is set (to either true or false) it will obey that setting. -->
491        <attr name="windowSwipeToDismiss" format="boolean" />
492
493        <!-- Flag indicating whether this window requests that content changes be performed
494             as scene changes with transitions. Corresponds to
495             {@link android.view.Window#FEATURE_CONTENT_TRANSITIONS}. -->
496        <attr name="windowContentTransitions" format="boolean" />
497
498        <!-- Reference to a TransitionManager XML resource defining the desired
499             transitions between different window content. -->
500        <attr name="windowContentTransitionManager" format="reference" />
501
502        <!-- Flag indicating whether this window allows Activity Transitions.
503             Corresponds to {@link android.view.Window#FEATURE_ACTIVITY_TRANSITIONS}. -->
504        <attr name="windowActivityTransitions" format="boolean" />
505
506        <!-- Reference to a Transition XML resource defining the desired Transition
507             used to move Views into the initial Window's content Scene. Corresponds to
508             {@link android.view.Window#setEnterTransition(android.transition.Transition)}. -->
509        <attr name="windowEnterTransition" format="reference"/>
510
511        <!-- Reference to a Transition XML resource defining the desired Transition
512             used to move Views out of the scene when the Window is
513             preparing to close. Corresponds to
514             {@link android.view.Window#setReturnTransition(android.transition.Transition)}. -->
515        <attr name="windowReturnTransition" format="reference"/>
516
517        <!-- Reference to a Transition XML resource defining the desired Transition
518             used to move Views out of the Window's content Scene when launching a new Activity.
519             Corresponds to
520             {@link android.view.Window#setExitTransition(android.transition.Transition)}. -->
521        <attr name="windowExitTransition" format="reference"/>
522
523        <!-- Reference to a Transition XML resource defining the desired Transition
524             used to move Views in to the scene when returning from a previously-started Activity.
525             Corresponds to
526             {@link android.view.Window#setReenterTransition(android.transition.Transition)}. -->
527        <attr name="windowReenterTransition" format="reference"/>
528
529        <!-- Reference to a Transition XML resource defining the desired Transition
530             used to move shared elements transferred into the Window's initial content Scene.
531             Corresponds to {@link android.view.Window#setSharedElementEnterTransition(
532             android.transition.Transition)}. -->
533        <attr name="windowSharedElementEnterTransition" format="reference"/>
534
535        <!-- Reference to a Transition XML resource defining the desired Transition
536             used to move shared elements transferred back to a calling Activity.
537             Corresponds to {@link android.view.Window#setSharedElementReturnTransition(
538             android.transition.Transition)}. -->
539        <attr name="windowSharedElementReturnTransition" format="reference"/>
540
541        <!-- Reference to a Transition XML resource defining the desired Transition
542             used when starting a new Activity to move shared elements prior to transferring
543             to the called Activity.
544             Corresponds to {@link android.view.Window#setSharedElementExitTransition(
545             android.transition.Transition)}. -->
546        <attr name="windowSharedElementExitTransition" format="reference"/>
547
548        <!-- Reference to a Transition XML resource defining the desired Transition
549             used for shared elements transferred back to a calling Activity.
550             Corresponds to {@link android.view.Window#setSharedElementReenterTransition(
551             android.transition.Transition)}. -->
552        <attr name="windowSharedElementReenterTransition" format="reference"/>
553
554        <!-- Flag indicating whether this Window's transition should overlap with
555             the exiting transition of the calling Activity. Corresponds to
556             {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}.
557             The default value is true. -->
558        <attr name="windowAllowEnterTransitionOverlap" format="boolean"/>
559
560        <!-- Flag indicating whether this Window's transition should overlap with
561             the exiting transition of the called Activity when the called Activity
562             finishes. Corresponds to
563             {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}.
564             The default value is true. -->
565        <attr name="windowAllowReturnTransitionOverlap" format="boolean"/>
566
567        <!-- Indicates whether or not shared elements should use an overlay
568             during transitions. The default value is true. -->
569        <attr name="windowSharedElementsUseOverlay" format="boolean"/>
570
571        <!-- Internal layout used internally for window decor -->
572        <attr name="windowActionBarFullscreenDecorLayout" format="reference" />
573
574        <!-- The duration, in milliseconds, of the window background fade duration
575             when transitioning into or away from an Activity when called with an
576             Activity Transition. Corresponds to
577             {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. -->
578        <attr name="windowTransitionBackgroundFadeDuration" format="integer"/>
579
580        <!-- ============ -->
581        <!-- Floating toolbar styles -->
582        <!-- ============ -->
583       <eat-comment />
584       <attr name="floatingToolbarCloseDrawable" format="reference" />
585       <attr name="floatingToolbarForegroundColor" format="reference|color" />
586       <attr name="floatingToolbarItemBackgroundBorderlessDrawable" format="reference" />
587       <attr name="floatingToolbarItemBackgroundDrawable" format="reference" />
588       <attr name="floatingToolbarOpenDrawable" format="reference" />
589       <attr name="floatingToolbarPopupBackgroundDrawable" format="reference" />
590       <attr name="floatingToolbarDividerColor" format="reference" />
591
592        <!-- ============ -->
593        <!-- Alert Dialog styles -->
594        <!-- ============ -->
595        <eat-comment />
596        <attr name="alertDialogStyle" format="reference" />
597        <attr name="alertDialogButtonGroupStyle" format="reference" />
598        <attr name="alertDialogCenterButtons" format="boolean" />
599
600        <!-- ============== -->
601        <!-- Image elements -->
602        <!-- ============== -->
603        <eat-comment />
604
605        <!-- Background that can be used behind parts of a UI that provide
606             details on data the user is selecting.  For example, this is
607             the background element of PreferenceActivity's embedded
608             preference fragment. -->
609        <attr name="detailsElementBackground" format="reference" />
610
611        <!-- Icon that should be used to indicate that an app is waiting for a fingerprint scan.
612             This should be used whenever an app is requesting the user to place a finger on the
613             fingerprint sensor. It can be combined with other drawables such as colored circles, so
614             the appearance matches the branding of the app requesting the fingerprint scan.-->
615        <attr name="fingerprintAuthDrawable" format="reference" />
616
617        <!-- ============ -->
618        <!-- Panel styles -->
619        <!-- ============ -->
620        <eat-comment />
621
622        <!-- The background of a panel when it is inset from the left and right edges of the screen. -->
623        <attr name="panelBackground" format="reference|color" />
624        <!-- The background of a panel when it extends to the left and right edges of the screen. -->
625        <attr name="panelFullBackground" format="reference|color" />
626        <!-- Default color of foreground panel imagery. -->
627        <attr name="panelColorForeground" format="reference|color" />
628        <!-- Color that matches (as closely as possible) the panel background. -->
629        <attr name="panelColorBackground" format="reference|color" />
630        <!-- Default appearance of panel text. -->
631        <attr name="panelTextAppearance" format="reference" />
632
633        <attr name="panelMenuIsCompact" format="boolean" />
634        <attr name="panelMenuListWidth" format="dimension" />
635        <attr name="panelMenuListTheme" format="reference" />
636
637        <!-- =================== -->
638        <!-- Other widget styles -->
639        <!-- =================== -->
640        <eat-comment />
641
642        <!-- Default AbsListView style. -->
643        <attr name="absListViewStyle" format="reference" />
644        <!-- Default AutoCompleteTextView style. -->
645        <attr name="autoCompleteTextViewStyle" format="reference" />
646        <!-- Default Checkbox style. -->
647        <attr name="checkboxStyle" format="reference" />
648        <!-- Default CheckedTextView style. -->
649        <attr name="checkedTextViewStyle" format="reference" />
650        <!-- Default ListView style for drop downs. -->
651        <attr name="dropDownListViewStyle" format="reference" />
652        <!-- Default EditText style. -->
653        <attr name="editTextStyle" format="reference" />
654        <!-- Default ExpandableListView style. -->
655        <attr name="expandableListViewStyle" format="reference" />
656        <!-- ExpandableListView with white background. -->
657        <attr name="expandableListViewWhiteStyle" format="reference" />
658        <!-- Default Gallery style. -->
659        <attr name="galleryStyle" format="reference" />
660        <!-- Default GestureOverlayView style. -->
661        <attr name="gestureOverlayViewStyle" format="reference" />
662        <!-- Default GridView style. -->
663        <attr name="gridViewStyle" format="reference" />
664        <!-- The style resource to use for an ImageButton. -->
665        <attr name="imageButtonStyle" format="reference" />
666        <!-- The style resource to use for an ImageButton that is an image well. -->
667        <attr name="imageWellStyle" format="reference" />
668        <!-- Default menu-style ListView style. -->
669        <attr name="listMenuViewStyle" format="reference" />
670        <!-- Default ListView style. -->
671        <attr name="listViewStyle" format="reference" />
672        <!-- ListView with white background. -->
673        <attr name="listViewWhiteStyle" format="reference" />
674        <!-- Default PopupWindow style. -->
675        <attr name="popupWindowStyle" format="reference" />
676        <!-- Default ProgressBar style. This is a medium circular progress bar. -->
677        <attr name="progressBarStyle" format="reference" />
678        <!-- Horizontal ProgressBar style. This is a horizontal progress bar. -->
679        <attr name="progressBarStyleHorizontal" format="reference" />
680        <!-- Small ProgressBar style. This is a small circular progress bar. -->
681        <attr name="progressBarStyleSmall" format="reference" />
682        <!-- Small ProgressBar in title style. This is a small circular progress bar that will be placed in title bars. -->
683        <attr name="progressBarStyleSmallTitle" format="reference" />
684        <!-- Large ProgressBar style. This is a large circular progress bar. -->
685        <attr name="progressBarStyleLarge" format="reference" />
686        <!-- Inverse ProgressBar style. This is a medium circular progress bar. -->
687        <attr name="progressBarStyleInverse" format="reference" />
688        <!-- Small inverse ProgressBar style. This is a small circular progress bar. -->
689        <attr name="progressBarStyleSmallInverse" format="reference" />
690        <!-- Large inverse ProgressBar style. This is a large circular progress bar. -->
691        <attr name="progressBarStyleLargeInverse" format="reference" />
692        <!-- Default SeekBar style. -->
693        <attr name="seekBarStyle" format="reference" />
694        <!-- Default RatingBar style. -->
695        <attr name="ratingBarStyle" format="reference" />
696        <!-- Indicator RatingBar style. -->
697        <attr name="ratingBarStyleIndicator" format="reference" />
698        <!-- Small indicator RatingBar style. -->
699        <attr name="ratingBarStyleSmall" format="reference" />
700        <!-- Default RadioButton style. -->
701        <attr name="radioButtonStyle" format="reference" />
702        <!-- Default ScrollView style. -->
703        <attr name="scrollViewStyle" format="reference" />
704        <!-- Default HorizontalScrollView style. -->
705        <attr name="horizontalScrollViewStyle" format="reference" />
706        <!-- Default Spinner style. -->
707        <attr name="spinnerStyle" format="reference" />
708        <!-- Default dropdown Spinner style. -->
709        <attr name="dropDownSpinnerStyle" format="reference" />
710        <!-- Default ActionBar dropdown style. -->
711        <attr name="actionDropDownStyle" format="reference" />
712        <!-- Default action button style. -->
713        <attr name="actionButtonStyle" format="reference" />
714        <!-- Default Star style. -->
715        <attr name="starStyle" format="reference" />
716        <!-- Default TabWidget style. -->
717        <attr name="tabWidgetStyle" format="reference" />
718        <!-- Default TextView style. -->
719        <attr name="textViewStyle" format="reference" />
720        <!-- Default WebTextView style. -->
721        <attr name="webTextViewStyle" format="reference" />
722        <!-- Default WebView style. -->
723        <attr name="webViewStyle" format="reference" />
724        <!-- Default style for drop down items. -->
725        <attr name="dropDownItemStyle" format="reference" />
726         <!-- Default style for spinner drop down items. -->
727        <attr name="spinnerDropDownItemStyle" format="reference" />
728        <!-- Default style for drop down hints. -->
729        <attr name="dropDownHintAppearance" format="reference" />
730        <!-- Default spinner item style. -->
731        <attr name="spinnerItemStyle" format="reference" />
732        <!-- Default MapView style. -->
733        <attr name="mapViewStyle" format="reference" />
734        <!-- Drawable used as an overlay on top of quickcontact photos. -->
735        <attr name="quickContactBadgeOverlay" format="reference" />
736        <!-- Default quickcontact badge style with small quickcontact window. -->
737        <attr name="quickContactBadgeStyleWindowSmall" format="reference" />
738        <!-- Default quickcontact badge style with medium quickcontact window. -->
739        <attr name="quickContactBadgeStyleWindowMedium" format="reference" />
740        <!-- Default quickcontact badge style with large quickcontact window. -->
741        <attr name="quickContactBadgeStyleWindowLarge" format="reference" />
742        <!-- Default quickcontact badge style with small quickcontact window. -->
743        <attr name="quickContactBadgeStyleSmallWindowSmall" format="reference" />
744        <!-- Default quickcontact badge style with medium quickcontact window. -->
745        <attr name="quickContactBadgeStyleSmallWindowMedium" format="reference" />
746        <!-- Default quickcontact badge style with large quickcontact window. -->
747        <attr name="quickContactBadgeStyleSmallWindowLarge" format="reference" />
748        <!-- Reference to a style that will be used for the window containing a text
749             selection anchor. -->
750        <attr name="textSelectHandleWindowStyle" format="reference" />
751        <!-- Reference to a style that will be used for the window containing a list of possible
752             text suggestions in an EditText. -->
753        <attr name="textSuggestionsWindowStyle" format="reference" />
754        <!-- Default ListPopupWindow style. -->
755        <attr name="listPopupWindowStyle" format="reference" />
756        <!-- Default PopupMenu style. -->
757        <attr name="popupMenuStyle" format="reference" />
758        <!-- Default context menu PopupMenu style. -->
759        <attr name="contextPopupMenuStyle" format="reference" />
760        <!-- Default StackView style. -->
761        <attr name="stackViewStyle" format="reference" />
762
763        <!-- Default style for the FragmentBreadCrumbs widget. This widget is deprecated
764             starting in API level 21 ({@link android.os.Build.VERSION_CODES#.L}). -->
765        <attr name="fragmentBreadCrumbsStyle" format="reference" />
766
767        <!-- NumberPicker style. -->
768        <attr name="numberPickerStyle" format="reference" />
769
770        <!-- The CalendarView style. -->
771        <attr name="calendarViewStyle" format="reference" />
772
773        <!-- The TimePicker style. -->
774        <attr name="timePickerStyle" format="reference" />
775
776        <!-- The TimePicker dialog theme. -->
777        <attr name="timePickerDialogTheme" format="reference" />
778
779        <!-- The DatePicker style. -->
780        <attr name="datePickerStyle" format="reference" />
781
782        <!-- The DatePicker dialog theme. -->
783        <attr name="datePickerDialogTheme" format="reference" />
784
785        <!-- Default ActivityChooserView style. -->
786        <attr name="activityChooserViewStyle" format="reference" />
787
788        <!-- Default Toolbar style. -->
789        <attr name="toolbarStyle" format="reference" />
790
791        <!-- Fast scroller styles -->
792        <eat-comment />
793
794        <!-- Drawable to use as the fast scroll thumb. -->
795        <attr name="fastScrollThumbDrawable" format="reference" />
796        <!-- Drawable to use as the fast scroll index preview window background
797             when shown on the right. -->
798        <attr name="fastScrollPreviewBackgroundRight" format="reference" />
799        <!-- Drawable to use as the fast scroll index preview window background
800             when shown on the left. -->
801        <attr name="fastScrollPreviewBackgroundLeft" format="reference" />
802        <!-- Drawable to use as the track for the fast scroll thumb.
803             This may be null. -->
804        <attr name="fastScrollTrackDrawable" format="reference" />
805        <!-- Position of the fast scroll index overlay window. -->
806        <attr name="fastScrollOverlayPosition">
807            <enum name="floating" value="0" />
808            <enum name="atThumb" value="1" />
809            <enum name="aboveThumb" value="2" />
810        </attr>
811        <!-- Text color for the fast scroll index overlay. Make sure it
812             plays nicely with fastScrollPreviewBackground[Left|Right]. -->
813        <attr name="fastScrollTextColor" format="color" />
814
815        <!-- =================== -->
816        <!-- Action bar styles   -->
817        <!-- =================== -->
818        <eat-comment />
819        <!-- Default style for tabs within an action bar. -->
820        <attr name="actionBarTabStyle" format="reference" />
821        <!-- Reference to a style for the Action Bar Tab Bar. -->
822        <attr name="actionBarTabBarStyle" format="reference" />
823        <!-- Reference to a style for the Action Bar Tab text. -->
824        <attr name="actionBarTabTextStyle" format="reference" />
825        <!-- Reference to a style for Action Bar overflow buttons. -->
826        <attr name="actionOverflowButtonStyle" format="reference" />
827        <!-- Reference to a style for the Action Bar menu. -->
828        <attr name="actionOverflowMenuStyle" format="reference" />
829        <!-- Reference to a theme that should be used to inflate popups
830             shown by widgets in the action bar. -->
831        <attr name="actionBarPopupTheme" format="reference" />
832        <!-- Reference to a style for the Action Bar. -->
833        <attr name="actionBarStyle" format="reference" />
834        <!-- Reference to a style for the split Action Bar. This style
835             controls the split component that holds the menu/action
836             buttons. actionBarStyle is still used for the primary
837             bar. -->
838        <attr name="actionBarSplitStyle" format="reference" />
839        <!-- Reference to a theme that should be used to inflate the
840             action bar. This will be inherited by any widget inflated
841             into the action bar. -->
842        <attr name="actionBarTheme" format="reference" />
843        <!-- Reference to a theme that should be used to inflate widgets
844             and layouts destined for the action bar. Most of the time
845             this will be a reference to the current theme, but when
846             the action bar has a significantly different contrast
847             profile than the rest of the activity the difference
848             can become important. If this is set to @null the current
849             theme will be used.-->
850        <attr name="actionBarWidgetTheme" format="reference" />
851        <!-- Size of the Action Bar, including the contextual
852             bar used to present Action Modes. -->
853        <attr name="actionBarSize" format="dimension" >
854            <enum name="wrap_content" value="0" />
855        </attr>
856        <!-- Custom divider drawable to use for elements in the action bar. -->
857        <attr name="actionBarDivider" format="reference" />
858        <!-- Custom item state list drawable background for action bar items. -->
859        <attr name="actionBarItemBackground" format="reference" />
860        <!-- TextAppearance style that will be applied to text that
861             appears within action menu items. -->
862        <attr name="actionMenuTextAppearance" format="reference" />
863        <!-- Color for text that appears within action menu items. -->
864        <attr name="actionMenuTextColor" format="color|reference" />
865
866        <!-- =================== -->
867        <!-- Action mode styles  -->
868        <!-- =================== -->
869        <eat-comment />
870        <!-- Reference to a style for the Action Mode. -->
871        <attr name="actionModeStyle" format="reference" />
872        <!-- Reference to a style for the Action Mode close button. -->
873        <attr name="actionModeCloseButtonStyle" format="reference" />
874        <!-- Background drawable to use for action mode UI. -->
875        <attr name="actionModeBackground" format="reference" />
876        <!-- Background drawable to use for action mode UI in the lower split bar. -->
877        <attr name="actionModeSplitBackground" format="reference" />
878        <!-- Drawable to use for the close action mode button. -->
879        <attr name="actionModeCloseDrawable" format="reference" />
880
881        <!-- Drawable to use for the Cut action button in Contextual Action Bar. -->
882        <attr name="actionModeCutDrawable" format="reference" />
883        <!-- Drawable to use for the Copy action button in Contextual Action Bar. -->
884        <attr name="actionModeCopyDrawable" format="reference" />
885        <!-- Drawable to use for the Paste action button in Contextual Action Bar. -->
886        <attr name="actionModePasteDrawable" format="reference" />
887        <!-- Drawable to use for the Select all action button in Contextual Action Bar. -->
888        <attr name="actionModeSelectAllDrawable" format="reference" />
889        <!-- Drawable to use for the Share action button in WebView selection action modes. -->
890        <attr name="actionModeShareDrawable" format="reference" />
891        <!-- Drawable to use for the Find action button in WebView selection action modes. -->
892        <attr name="actionModeFindDrawable" format="reference" />
893        <!-- Drawable to use for the Web Search action button in WebView selection action modes. -->
894        <attr name="actionModeWebSearchDrawable" format="reference" />
895
896        <!-- PopupWindow style to use for action modes when showing as a window overlay. -->
897        <attr name="actionModePopupWindowStyle" format="reference" />
898
899        <!-- =================== -->
900        <!-- Preference styles   -->
901        <!-- =================== -->
902        <eat-comment />
903
904        <!-- Default style for PreferenceScreen. -->
905        <attr name="preferenceScreenStyle" format="reference" />
906        <!-- Default style for the PreferenceActivity. -->
907        <attr name="preferenceActivityStyle" format="reference" />
908        <!-- Default style for Headers pane in PreferenceActivity. -->
909        <attr name="preferenceFragmentStyle" format="reference" />
910        <!-- Default style for PreferenceCategory. -->
911        <attr name="preferenceCategoryStyle" format="reference" />
912        <!-- Default style for Preference. -->
913        <attr name="preferenceStyle" format="reference" />
914        <!-- Default style for informational Preference. -->
915        <attr name="preferenceInformationStyle" format="reference" />
916        <!-- Default style for CheckBoxPreference. -->
917        <attr name="checkBoxPreferenceStyle" format="reference" />
918        <!-- Default style for YesNoPreference. -->
919        <attr name="yesNoPreferenceStyle" format="reference" />
920        <!-- Default style for DialogPreference. -->
921        <attr name="dialogPreferenceStyle" format="reference" />
922        <!-- Default style for EditTextPreference. -->
923        <attr name="editTextPreferenceStyle" format="reference" />
924        <!-- @hide Default style for SeekBarDialogPreference. -->
925        <attr name="seekBarDialogPreferenceStyle" format="reference" />
926        <!-- Default style for RingtonePreference. -->
927        <attr name="ringtonePreferenceStyle" format="reference" />
928        <!-- The preference layout that has the child/tabbed effect. -->
929        <attr name="preferenceLayoutChild" format="reference" />
930        <!-- Preference panel style -->
931        <attr name="preferencePanelStyle" format="reference" />
932        <!-- Preference headers panel style -->
933        <attr name="preferenceHeaderPanelStyle" format="reference" />
934        <!-- Preference list style -->
935        <attr name="preferenceListStyle" format="reference" />
936        <!-- Preference fragment list style -->
937        <attr name="preferenceFragmentListStyle" format="reference" />
938        <!-- Preference fragment padding side -->
939        <attr name="preferenceFragmentPaddingSide" format="dimension" />
940        <!-- Default style for switch preferences. -->
941        <attr name="switchPreferenceStyle" format="reference" />
942        <!-- Default style for seekbar preferences. -->
943        <attr name="seekBarPreferenceStyle" format="reference" />
944
945        <!-- ============================ -->
946        <!-- Text selection handle styles -->
947        <!-- ============================ -->
948        <eat-comment />
949
950        <!-- Reference to a drawable that will be used to display a text selection
951             anchor on the left side of a selection region. -->
952        <attr name="textSelectHandleLeft" format="reference" />
953        <!-- Reference to a drawable that will be used to display a text selection
954             anchor on the right side of a selection region. -->
955        <attr name="textSelectHandleRight" format="reference" />
956        <!-- Reference to a drawable that will be used to display a text selection
957             anchor for positioning the cursor within text. -->
958        <attr name="textSelectHandle" format="reference" />
959        <!-- The layout of the view that is displayed on top of the cursor to paste inside a
960             TextEdit field. -->
961        <attr name="textEditPasteWindowLayout" format="reference" />
962        <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. -->
963        <attr name="textEditNoPasteWindowLayout" format="reference" />
964        <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the
965             insertion cursor because it would be clipped if it were positioned on top. -->
966        <attr name="textEditSidePasteWindowLayout" format="reference" />
967        <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. -->
968        <attr name="textEditSideNoPasteWindowLayout" format="reference" />
969
970        <!-- Layout of the TextView item that will populate the suggestion popup window. -->
971        <attr name="textEditSuggestionItemLayout" format="reference" />
972        <!-- Layout of the container of the suggestion popup window. -->
973        <attr name="textEditSuggestionContainerLayout" format="reference" />
974        <!-- Text appearance of the focused words to be replaced by suggested word. -->
975        <attr name="textEditSuggestionHighlightStyle" format="reference" />
976
977        <!-- Theme to use for dialogs spawned from this theme. -->
978        <attr name="dialogTheme" format="reference" />
979        <!-- Window decor layout to use in dialog mode with icons. -->
980        <attr name="dialogTitleIconsDecorLayout" format="reference" />
981        <!-- Window decor layout to use in dialog mode with custom titles. -->
982        <attr name="dialogCustomTitleDecorLayout" format="reference" />
983        <!-- Window decor layout to use in dialog mode with title only. -->
984        <attr name="dialogTitleDecorLayout" format="reference" />
985        <!-- Preferred padding for dialog content. -->
986        <attr name="dialogPreferredPadding" format="dimension" />
987        <!-- Corner radius of dialogs. -->
988        <attr name="dialogCornerRadius" format="dimension" />
989
990        <!-- Theme to use for alert dialogs spawned from this theme. -->
991        <attr name="alertDialogTheme" format="reference" />
992        <!-- Icon drawable to use for alerts. -->
993        <attr name="alertDialogIcon" format="reference" />
994
995        <!-- Theme to use for presentations spawned from this theme. -->
996        <attr name="presentationTheme" format="reference" />
997
998        <!-- Drawable to use for generic vertical dividers. -->
999        <attr name="dividerVertical" format="reference" />
1000
1001        <!-- Drawable to use for generic horizontal dividers. -->
1002        <attr name="dividerHorizontal" format="reference" />
1003
1004        <!-- Style for button bars. -->
1005        <attr name="buttonBarStyle" format="reference" />
1006
1007        <!-- Style for buttons within button bars. -->
1008        <attr name="buttonBarButtonStyle" format="reference" />
1009
1010        <!-- Style for the "positive" buttons within button bars. -->
1011        <attr name="buttonBarPositiveButtonStyle" format="reference" />
1012
1013        <!-- Style for the "negative" buttons within button bars. -->
1014        <attr name="buttonBarNegativeButtonStyle" format="reference" />
1015
1016        <!-- Style for the "neutral" buttons within button bars. -->
1017        <attr name="buttonBarNeutralButtonStyle" format="reference" />
1018
1019        <!-- Corner radius of buttons. -->
1020        <attr name="buttonCornerRadius" format="dimension" />
1021
1022        <!-- Style for the search query widget. -->
1023        <attr name="searchViewStyle" format="reference" />
1024
1025        <!-- Style for segmented buttons - a container that houses several buttons
1026             with the appearance of a singel button broken into segments. -->
1027        <attr name="segmentedButtonStyle" format="reference" />
1028
1029        <!-- Background drawable for bordered standalone items that need focus/pressed states. -->
1030        <attr name="selectableItemBackground" format="reference" />
1031
1032        <!-- Background drawable for borderless standalone items that need focus/pressed states. -->
1033        <attr name="selectableItemBackgroundBorderless" format="reference" />
1034
1035        <!-- Style for buttons without an explicit border, often used in groups. -->
1036        <attr name="borderlessButtonStyle" format="reference" />
1037
1038        <!-- Background to use for toasts. -->
1039        <attr name="toastFrameBackground" format="reference" />
1040
1041        <!-- Background to use for tooltip popups. -->
1042        <attr name="tooltipFrameBackground" format="reference" />
1043
1044        <!-- Foreground color to use for tooltip popups. -->
1045        <attr name="tooltipForegroundColor" format="reference|color" />
1046
1047        <!-- Background color to use for tooltip popups. -->
1048        <attr name="tooltipBackgroundColor" format="reference|color" />
1049
1050        <!-- Theme to use for Search Dialogs. -->
1051        <attr name="searchDialogTheme" format="reference" />
1052
1053        <!-- Specifies a drawable to use for the 'home as up' indicator. -->
1054        <attr name="homeAsUpIndicator" format="reference" />
1055
1056        <!-- Preference frame layout styles. -->
1057        <attr name="preferenceFrameLayoutStyle" format="reference" />
1058
1059        <!-- Default style for the Switch widget. -->
1060        <attr name="switchStyle" format="reference" />
1061
1062        <!-- Default style for the MediaRouteButton widget. -->
1063        <attr name="mediaRouteButtonStyle" format="reference" />
1064
1065        <!-- ============== -->
1066        <!-- Pointer styles -->
1067        <!-- ============== -->
1068        <eat-comment />
1069
1070        <!-- The drawable for accessibility focused views. -->
1071        <attr name="accessibilityFocusedDrawable" format="reference" />
1072
1073        <!-- Drawable for WebView find-on-page dialogue's "next" button. @hide -->
1074        <attr name="findOnPageNextDrawable" format="reference" />
1075
1076        <!-- Drawable for WebView find-on-page dialogue's "previous" button. @hide -->
1077        <attr name="findOnPagePreviousDrawable" format="reference" />
1078
1079        <!-- ============= -->
1080        <!-- Color palette -->
1081        <!-- ============= -->
1082        <eat-comment />
1083
1084        <!-- The primary branding color for the app. By default, this is the color applied to the
1085             action bar background. -->
1086        <attr name="colorPrimary" format="color" />
1087
1088        <!-- Dark variant of the primary branding color. By default, this is the color applied to
1089             the status bar (via statusBarColor) and navigation bar (via navigationBarColor). -->
1090        <attr name="colorPrimaryDark" format="color" />
1091
1092        <!-- The secondary branding color for the app. -->
1093        <attr name="colorSecondary" format="color" />
1094
1095        <!-- Bright complement to the primary branding color. By default, this is the color applied
1096             to framework controls (via colorControlActivated). -->
1097        <attr name="colorAccent" format="color" />
1098
1099        <!-- The color applied to framework controls in their normal state. -->
1100        <attr name="colorControlNormal" format="color" />
1101
1102        <!-- The color applied to framework controls in their activated (ex. checked) state. -->
1103        <attr name="colorControlActivated" format="color" />
1104
1105        <!-- The color applied to framework control highlights (ex. ripples, list selectors). -->
1106        <attr name="colorControlHighlight" format="color" />
1107
1108        <!-- The color applied to framework buttons in their normal state. -->
1109        <attr name="colorButtonNormal" format="color" />
1110
1111        <!-- The color applied to framework switch thumbs in their normal state. -->
1112        <attr name="colorSwitchThumbNormal" format="color" />
1113
1114        <!-- The color applied to the edge effect on scrolling containers. -->
1115        <attr name="colorEdgeEffect" format="color" />
1116
1117        <!-- =================== -->
1118        <!-- Lighting properties -->
1119        <!-- =================== -->
1120        <eat-comment />
1121
1122        <!-- @hide The default Y position of the light used to project view shadows. -->
1123        <attr name="lightY" format="dimension" />
1124
1125        <!-- @hide The default Z position of the light used to project view shadows. -->
1126        <attr name="lightZ" format="dimension" />
1127
1128        <!-- @hide The default radius of the light used to project view shadows. -->
1129        <attr name="lightRadius" format="dimension" />
1130
1131        <!-- Alpha value of the ambient shadow projected by elevated views, between 0 and 1. -->
1132        <attr name="ambientShadowAlpha" format="float" />
1133
1134        <!-- Alpha value of the spot shadow projected by elevated views, between 0 and 1. -->
1135        <attr name="spotShadowAlpha" format="float" />
1136    </declare-styleable>
1137
1138    <!-- **************************************************************** -->
1139    <!-- Other non-theme attributes. -->
1140    <!-- **************************************************************** -->
1141    <eat-comment />
1142
1143    <!-- Size of text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp).
1144         Supported values include the following:<p/>
1145    <ul>
1146        <li><b>px</b> Pixels</li>
1147        <li><b>sp</b> Scaled pixels (scaled to relative pixel size on screen). See {@link android.util.DisplayMetrics} for more information.</li>
1148        <li><b>pt</b> Points</li>
1149        <li><b>dip</b> Device independent pixels. See {@link android.util.DisplayMetrics} for more information.</li>
1150    </ul>
1151        -->
1152    <attr name="textSize" format="dimension" />
1153
1154    <!-- Default font family. -->
1155    <attr name="fontFamily" format="string" />
1156
1157    <!-- Default text typeface. -->
1158    <attr name="typeface">
1159        <enum name="normal" value="0" />
1160        <enum name="sans" value="1" />
1161        <enum name="serif" value="2" />
1162        <enum name="monospace" value="3" />
1163    </attr>
1164
1165    <!-- Default text typeface style. -->
1166    <attr name="textStyle">
1167        <flag name="normal" value="0" />
1168        <flag name="bold" value="1" />
1169        <flag name="italic" value="2" />
1170    </attr>
1171
1172    <!-- Color of text (usually same as colorForeground). -->
1173    <attr name="textColor" format="reference|color" />
1174
1175    <!-- Color of highlighted text. -->
1176    <attr name="textColorHighlight" format="reference|color" />
1177
1178    <!-- Color of hint text (displayed when the field is empty). -->
1179    <attr name="textColorHint" format="reference|color" />
1180
1181    <!-- Color of link text (URLs). -->
1182    <attr name="textColorLink" format="reference|color" />
1183
1184    <!-- Reference to a drawable that will be drawn under the insertion cursor. -->
1185    <attr name="textCursorDrawable" format="reference" />
1186
1187    <!-- Indicates that the content of a non-editable TextView can be selected.
1188     Default value is false. EditText content is always selectable. -->
1189    <attr name="textIsSelectable" format="boolean" />
1190
1191    <!-- Where to ellipsize text. -->
1192    <attr name="ellipsize">
1193        <enum name="none" value="0" />
1194        <enum name="start" value="1" />
1195        <enum name="middle" value="2" />
1196        <enum name="end" value="3" />
1197        <enum name="marquee" value="4" />
1198    </attr>
1199
1200    <!-- The type of data being placed in a text field, used to help an
1201         input method decide how to let the user enter text.  The constants
1202         here correspond to those defined by
1203         {@link android.text.InputType}.  Generally you can select
1204         a single value, though some can be combined together as
1205         indicated.  Setting this attribute to anything besides
1206         <var>none</var> also implies that the text is editable. -->
1207    <attr name="inputType">
1208        <!-- There is no content type.  The text is not editable. -->
1209        <flag name="none" value="0x00000000" />
1210        <!-- Just plain old text.  Corresponds to
1211             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1212             {@link android.text.InputType#TYPE_TEXT_VARIATION_NORMAL}. -->
1213        <flag name="text" value="0x00000001" />
1214        <!-- Can be combined with <var>text</var> and its variations to
1215             request capitalization of all characters.  Corresponds to
1216             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_CHARACTERS}. -->
1217        <flag name="textCapCharacters" value="0x00001001" />
1218        <!-- Can be combined with <var>text</var> and its variations to
1219             request capitalization of the first character of every word.  Corresponds to
1220             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_WORDS}. -->
1221        <flag name="textCapWords" value="0x00002001" />
1222        <!-- Can be combined with <var>text</var> and its variations to
1223             request capitalization of the first character of every sentence.  Corresponds to
1224             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_SENTENCES}. -->
1225        <flag name="textCapSentences" value="0x00004001" />
1226        <!-- Can be combined with <var>text</var> and its variations to
1227             request auto-correction of text being input.  Corresponds to
1228             {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_CORRECT}. -->
1229        <flag name="textAutoCorrect" value="0x00008001" />
1230        <!-- Can be combined with <var>text</var> and its variations to
1231             specify that this field will be doing its own auto-completion and
1232             talking with the input method appropriately.  Corresponds to
1233             {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_COMPLETE}. -->
1234        <flag name="textAutoComplete" value="0x00010001" />
1235        <!-- Can be combined with <var>text</var> and its variations to
1236             allow multiple lines of text in the field.  If this flag is not set,
1237             the text field will be constrained to a single line.  Corresponds to
1238             {@link android.text.InputType#TYPE_TEXT_FLAG_MULTI_LINE}. -->
1239        <flag name="textMultiLine" value="0x00020001" />
1240        <!-- Can be combined with <var>text</var> and its variations to
1241             indicate that though the regular text view should not be multiple
1242             lines, the IME should provide multiple lines if it can.  Corresponds to
1243             {@link android.text.InputType#TYPE_TEXT_FLAG_IME_MULTI_LINE}. -->
1244        <flag name="textImeMultiLine" value="0x00040001" />
1245        <!-- Can be combined with <var>text</var> and its variations to
1246             indicate that the IME should not show any
1247             dictionary-based word suggestions.  Corresponds to
1248             {@link android.text.InputType#TYPE_TEXT_FLAG_NO_SUGGESTIONS}. -->
1249        <flag name="textNoSuggestions" value="0x00080001" />
1250        <!-- Text that will be used as a URI.  Corresponds to
1251             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1252             {@link android.text.InputType#TYPE_TEXT_VARIATION_URI}. -->
1253        <flag name="textUri" value="0x00000011" />
1254        <!-- Text that will be used as an e-mail address.  Corresponds to
1255             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1256             {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_ADDRESS}. -->
1257        <flag name="textEmailAddress" value="0x00000021" />
1258        <!-- Text that is being supplied as the subject of an e-mail.  Corresponds to
1259             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1260             {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_SUBJECT}. -->
1261        <flag name="textEmailSubject" value="0x00000031" />
1262        <!-- Text that is the content of a short message.  Corresponds to
1263             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1264             {@link android.text.InputType#TYPE_TEXT_VARIATION_SHORT_MESSAGE}. -->
1265        <flag name="textShortMessage" value="0x00000041" />
1266        <!-- Text that is the content of a long message.  Corresponds to
1267             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1268             {@link android.text.InputType#TYPE_TEXT_VARIATION_LONG_MESSAGE}. -->
1269        <flag name="textLongMessage" value="0x00000051" />
1270        <!-- Text that is the name of a person.  Corresponds to
1271             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1272             {@link android.text.InputType#TYPE_TEXT_VARIATION_PERSON_NAME}. -->
1273        <flag name="textPersonName" value="0x00000061" />
1274        <!-- Text that is being supplied as a postal mailing address.  Corresponds to
1275             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1276             {@link android.text.InputType#TYPE_TEXT_VARIATION_POSTAL_ADDRESS}. -->
1277        <flag name="textPostalAddress" value="0x00000071" />
1278        <!-- Text that is a password.  Corresponds to
1279             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1280             {@link android.text.InputType#TYPE_TEXT_VARIATION_PASSWORD}. -->
1281        <flag name="textPassword" value="0x00000081" />
1282        <!-- Text that is a password that should be visible.  Corresponds to
1283             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1284             {@link android.text.InputType#TYPE_TEXT_VARIATION_VISIBLE_PASSWORD}. -->
1285        <flag name="textVisiblePassword" value="0x00000091" />
1286        <!-- Text that is being supplied as text in a web form.  Corresponds to
1287             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1288             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EDIT_TEXT}. -->
1289        <flag name="textWebEditText" value="0x000000a1" />
1290        <!-- Text that is filtering some other data.  Corresponds to
1291             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1292             {@link android.text.InputType#TYPE_TEXT_VARIATION_FILTER}. -->
1293        <flag name="textFilter" value="0x000000b1" />
1294        <!-- Text that is for phonetic pronunciation, such as a phonetic name
1295             field in a contact entry.  Corresponds to
1296             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1297             {@link android.text.InputType#TYPE_TEXT_VARIATION_PHONETIC}. -->
1298        <flag name="textPhonetic" value="0x000000c1" />
1299        <!-- Text that will be used as an e-mail address on a web form.  Corresponds to
1300             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1301             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS}. -->
1302        <flag name="textWebEmailAddress" value="0x000000d1" />
1303        <!-- Text that will be used as a password on a web form.  Corresponds to
1304             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1305             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_PASSWORD}. -->
1306        <flag name="textWebPassword" value="0x000000e1" />
1307        <!-- A numeric only field.  Corresponds to
1308             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1309             {@link android.text.InputType#TYPE_NUMBER_VARIATION_NORMAL}. -->
1310        <flag name="number" value="0x00000002" />
1311        <!-- Can be combined with <var>number</var> and its other options to
1312             allow a signed number.  Corresponds to
1313             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1314             {@link android.text.InputType#TYPE_NUMBER_FLAG_SIGNED}. -->
1315        <flag name="numberSigned" value="0x00001002" />
1316        <!-- Can be combined with <var>number</var> and its other options to
1317             allow a decimal (fractional) number.  Corresponds to
1318             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1319             {@link android.text.InputType#TYPE_NUMBER_FLAG_DECIMAL}. -->
1320        <flag name="numberDecimal" value="0x00002002" />
1321        <!-- A numeric password field.  Corresponds to
1322             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1323             {@link android.text.InputType#TYPE_NUMBER_VARIATION_PASSWORD}. -->
1324        <flag name="numberPassword" value="0x00000012" />
1325        <!-- For entering a phone number.  Corresponds to
1326             {@link android.text.InputType#TYPE_CLASS_PHONE}. -->
1327        <flag name="phone" value="0x00000003" />
1328        <!-- For entering a date and time.  Corresponds to
1329             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1330             {@link android.text.InputType#TYPE_DATETIME_VARIATION_NORMAL}. -->
1331        <flag name="datetime" value="0x00000004" />
1332        <!-- For entering a date.  Corresponds to
1333             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1334             {@link android.text.InputType#TYPE_DATETIME_VARIATION_DATE}. -->
1335        <flag name="date" value="0x00000014" />
1336        <!-- For entering a time.  Corresponds to
1337             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1338             {@link android.text.InputType#TYPE_DATETIME_VARIATION_TIME}. -->
1339        <flag name="time" value="0x00000024" />
1340    </attr>
1341
1342    <!-- Additional features you can enable in an IME associated with an editor
1343         to improve the integration with your application.  The constants
1344         here correspond to those defined by
1345         {@link android.view.inputmethod.EditorInfo#imeOptions}. -->
1346    <attr name="imeOptions">
1347        <!-- There are no special semantics associated with this editor. -->
1348        <flag name="normal" value="0x00000000" />
1349        <!-- There is no specific action associated with this editor, let the
1350             editor come up with its own if it can.
1351             Corresponds to
1352             {@link android.view.inputmethod.EditorInfo#IME_NULL}. -->
1353        <flag name="actionUnspecified" value="0x00000000" />
1354        <!-- This editor has no action associated with it.
1355             Corresponds to
1356             {@link android.view.inputmethod.EditorInfo#IME_ACTION_NONE}. -->
1357        <flag name="actionNone" value="0x00000001" />
1358        <!-- The action key performs a "go"
1359             operation to take the user to the target of the text they typed.
1360             Typically used, for example, when entering a URL.
1361             Corresponds to
1362             {@link android.view.inputmethod.EditorInfo#IME_ACTION_GO}. -->
1363        <flag name="actionGo" value="0x00000002" />
1364        <!-- The action key performs a "search"
1365             operation, taking the user to the results of searching for the text
1366             the have typed (in whatever context is appropriate).
1367             Corresponds to
1368             {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEARCH}. -->
1369        <flag name="actionSearch" value="0x00000003" />
1370        <!-- The action key performs a "send"
1371             operation, delivering the text to its target.  This is typically used
1372             when composing a message.
1373             Corresponds to
1374             {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEND}. -->
1375        <flag name="actionSend" value="0x00000004" />
1376        <!-- The action key performs a "next"
1377             operation, taking the user to the next field that will accept text.
1378             Corresponds to
1379             {@link android.view.inputmethod.EditorInfo#IME_ACTION_NEXT}. -->
1380        <flag name="actionNext" value="0x00000005" />
1381        <!-- The action key performs a "done"
1382             operation, closing the soft input method.
1383             Corresponds to
1384             {@link android.view.inputmethod.EditorInfo#IME_ACTION_DONE}. -->
1385        <flag name="actionDone" value="0x00000006" />
1386        <!-- The action key performs a "previous"
1387             operation, taking the user to the previous field that will accept text.
1388             Corresponds to
1389             {@link android.view.inputmethod.EditorInfo#IME_ACTION_PREVIOUS}. -->
1390        <flag name="actionPrevious" value="0x00000007" />
1391        <!-- Used to request that the IME should not update any personalized data such as typing
1392             history and personalized language model based on what the user typed on this text
1393             editing object. Typical use cases are:
1394             <ul>
1395                 <li>When the application is in a special mode, where user's activities are expected
1396                 to be not recorded in the application's history. Some web browsers and chat
1397                 applications may have this kind of modes.</li>
1398                 <li>When storing typing history does not make much sense.  Specifying this flag in
1399                 typing games may help to avoid typing history from being filled up with words that
1400                 the user is less likely to type in their daily life.  Another example is that when
1401                 the application already knows that the expected input is not a valid word (e.g. a
1402                 promotion code that is not a valid word in any natural language).</li>
1403             </ul>
1404             <p>Applications need to be aware that the flag is not a guarantee, and some IMEs may
1405             not respect it.</p> -->
1406        <flag name="flagNoPersonalizedLearning" value="0x1000000" />
1407        <!-- Used to request that the IME never go
1408             into fullscreen mode.  Applications need to be aware that the flag is not
1409             a guarantee, and not all IMEs will respect it.
1410             <p>Corresponds to
1411             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. -->
1412        <flag name="flagNoFullscreen" value="0x2000000" />
1413        <!-- Like flagNavigateNext, but
1414             specifies there is something interesting that a backward navigation
1415             can focus on.  If the user selects the IME's facility to backward
1416             navigate, this will show up in the application as an actionPrevious
1417             at {@link android.view.inputmethod.InputConnection#performEditorAction(int)
1418             InputConnection.performEditorAction(int)}.
1419             <p>Corresponds to
1420             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. -->
1421        <flag name="flagNavigatePrevious" value="0x4000000" />
1422        <!-- Used to specify that there is something
1423             interesting that a forward navigation can focus on. This is like using
1424             actionNext, except allows the IME to be multiline (with
1425             an enter key) as well as provide forward navigation.  Note that some
1426             IMEs may not be able to do this, especially when running on a small
1427             screen where there is little space.  In that case it does not need to
1428             present a UI for this option.  Like actionNext, if the
1429             user selects the IME's facility to forward navigate, this will show up
1430             in the application at
1431             {@link android.view.inputmethod.InputConnection#performEditorAction(int)
1432             InputConnection.performEditorAction(int)}.
1433             <p>Corresponds to
1434             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NAVIGATE_NEXT}. -->
1435        <flag name="flagNavigateNext" value="0x8000000" />
1436        <!-- Used to specify that the IME does not need
1437             to show its extracted text UI.  For input methods that may be fullscreen,
1438             often when in landscape mode, this allows them to be smaller and let part
1439             of the application be shown behind.  Though there will likely be limited
1440             access to the application available from the user, it can make the
1441             experience of a (mostly) fullscreen IME less jarring.  Note that when
1442             this flag is specified the IME may <em>not</em> be set up to be able
1443             to display text, so it should only be used in situations where this is
1444             not needed.
1445             <p>Corresponds to
1446             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_EXTRACT_UI}. -->
1447        <flag name="flagNoExtractUi" value="0x10000000" />
1448        <!-- Used in conjunction with a custom action, this indicates that the
1449             action should not be available as an accessory button when the
1450             input method is full-screen.
1451             Note that by setting this flag, there can be cases where the action
1452             is simply never available to the user.  Setting this generally means
1453             that you think showing text being edited is more important than the
1454             action you have supplied.
1455             <p>Corresponds to
1456             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ACCESSORY_ACTION}. -->
1457        <flag name="flagNoAccessoryAction" value="0x20000000" />
1458        <!-- Used in conjunction with a custom action,
1459             this indicates that the action should not be available in-line as
1460             a replacement for the "enter" key.  Typically this is
1461             because the action has such a significant impact or is not recoverable
1462             enough that accidentally hitting it should be avoided, such as sending
1463             a message.    Note that {@link android.widget.TextView} will
1464             automatically set this flag for you on multi-line text views.
1465             <p>Corresponds to
1466             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ENTER_ACTION}. -->
1467        <flag name="flagNoEnterAction" value="0x40000000" />
1468        <!-- Used to request that the IME should be capable of inputting ASCII
1469             characters.  The intention of this flag is to ensure that the user
1470             can type Roman alphabet characters in a {@link android.widget.TextView}
1471             used for, typically, account ID or password input.  It is expected that IMEs
1472             normally are able to input ASCII even without being told so (such IMEs
1473             already respect this flag in a sense), but there could be some cases they
1474             aren't when, for instance, only non-ASCII input languagaes like Arabic,
1475             Greek, Hebrew, Russian are enabled in the IME.  Applications need to be
1476             aware that the flag is not a guarantee, and not all IMEs will respect it.
1477             However, it is strongly recommended for IME authors to respect this flag
1478             especially when their IME could end up with a state that has only non-ASCII
1479             input languages enabled.
1480             <p>Corresponds to
1481             {@link android.view.inputmethod.EditorInfo#IME_FLAG_FORCE_ASCII}. -->
1482        <flag name="flagForceAscii" value="0x80000000" />
1483    </attr>
1484
1485    <!-- A coordinate in the X dimension. -->
1486    <attr name="x" format="dimension" />
1487    <!-- A coordinate in the Y dimension. -->
1488    <attr name="y" format="dimension" />
1489
1490    <!-- Specifies how an object should position its content, on both the X and Y axes,
1491         within its own bounds.  -->
1492    <attr name="gravity">
1493        <!-- Push object to the top of its container, not changing its size. -->
1494        <flag name="top" value="0x30" />
1495        <!-- Push object to the bottom of its container, not changing its size. -->
1496        <flag name="bottom" value="0x50" />
1497        <!-- Push object to the left of its container, not changing its size. -->
1498        <flag name="left" value="0x03" />
1499        <!-- Push object to the right of its container, not changing its size. -->
1500        <flag name="right" value="0x05" />
1501        <!-- Place object in the vertical center of its container, not changing its size. -->
1502        <flag name="center_vertical" value="0x10" />
1503        <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
1504        <flag name="fill_vertical" value="0x70" />
1505        <!-- Place object in the horizontal center of its container, not changing its size. -->
1506        <flag name="center_horizontal" value="0x01" />
1507        <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
1508        <flag name="fill_horizontal" value="0x07" />
1509        <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
1510        <flag name="center" value="0x11" />
1511        <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
1512        <flag name="fill" value="0x77" />
1513        <!-- Additional option that can be set to have the top and/or bottom edges of
1514             the child clipped to its container's bounds.
1515             The clip will be based on the vertical gravity: a top gravity will clip the bottom
1516             edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
1517        <flag name="clip_vertical" value="0x80" />
1518        <!-- Additional option that can be set to have the left and/or right edges of
1519             the child clipped to its container's bounds.
1520             The clip will be based on the horizontal gravity: a left gravity will clip the right
1521             edge, a right gravity will clip the left edge, and neither will clip both edges. -->
1522        <flag name="clip_horizontal" value="0x08" />
1523        <!-- Push object to the beginning of its container, not changing its size. -->
1524        <flag name="start" value="0x00800003" />
1525        <!-- Push object to the end of its container, not changing its size. -->
1526        <flag name="end" value="0x00800005" />
1527    </attr>
1528
1529    <!-- Controls whether links such as urls and email addresses are
1530         automatically found and converted to clickable links.  The default
1531         value is "none", disabling this feature. -->
1532    <attr name="autoLink">
1533        <!-- Match no patterns (default). -->
1534        <flag name="none" value="0x00" />
1535        <!-- Match Web URLs. -->
1536        <flag name="web" value="0x01" />
1537        <!-- Match email addresses. -->
1538        <flag name="email" value="0x02" />
1539        <!-- Match phone numbers. -->
1540        <flag name="phone" value="0x04" />
1541        <!-- Match map addresses. -->
1542        <flag name="map" value="0x08" />
1543        <!-- Match all patterns (equivalent to web|email|phone|map). -->
1544        <flag name="all" value="0x0f" />
1545    </attr>
1546
1547    <!-- Reference to an array resource that will populate a list/adapter. -->
1548    <attr name="entries" format="reference" />
1549
1550    <!-- Standard gravity constant that a child supplies to its parent.
1551         Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout. -->
1552    <attr name="layout_gravity">
1553        <!-- Push object to the top of its container, not changing its size. -->
1554        <flag name="top" value="0x30" />
1555        <!-- Push object to the bottom of its container, not changing its size. -->
1556        <flag name="bottom" value="0x50" />
1557        <!-- Push object to the left of its container, not changing its size. -->
1558        <flag name="left" value="0x03" />
1559        <!-- Push object to the right of its container, not changing its size. -->
1560        <flag name="right" value="0x05" />
1561        <!-- Place object in the vertical center of its container, not changing its size. -->
1562        <flag name="center_vertical" value="0x10" />
1563        <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
1564        <flag name="fill_vertical" value="0x70" />
1565        <!-- Place object in the horizontal center of its container, not changing its size. -->
1566        <flag name="center_horizontal" value="0x01" />
1567        <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
1568        <flag name="fill_horizontal" value="0x07" />
1569        <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
1570        <flag name="center" value="0x11" />
1571        <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
1572        <flag name="fill" value="0x77" />
1573        <!-- Additional option that can be set to have the top and/or bottom edges of
1574             the child clipped to its container's bounds.
1575             The clip will be based on the vertical gravity: a top gravity will clip the bottom
1576             edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
1577        <flag name="clip_vertical" value="0x80" />
1578        <!-- Additional option that can be set to have the left and/or right edges of
1579             the child clipped to its container's bounds.
1580             The clip will be based on the horizontal gravity: a left gravity will clip the right
1581             edge, a right gravity will clip the left edge, and neither will clip both edges. -->
1582        <flag name="clip_horizontal" value="0x08" />
1583        <!-- Push object to the beginning of its container, not changing its size. -->
1584        <flag name="start" value="0x00800003" />
1585        <!-- Push object to the end of its container, not changing its size. -->
1586        <flag name="end" value="0x00800005" />
1587    </attr>
1588
1589    <!-- Standard orientation constant. -->
1590    <attr name="orientation">
1591        <!-- Defines an horizontal widget. -->
1592        <enum name="horizontal" value="0" />
1593        <!-- Defines a vertical widget. -->
1594        <enum name="vertical" value="1" />
1595    </attr>
1596
1597    <!-- Alignment constants. -->
1598    <attr name="alignmentMode">
1599        <!-- Align the bounds of the children.
1600        See {@link android.widget.GridLayout#ALIGN_BOUNDS}. -->
1601        <enum name="alignBounds" value="0" />
1602        <!-- Align the margins of the children.
1603        See {@link android.widget.GridLayout#ALIGN_MARGINS}. -->
1604        <enum name="alignMargins" value="1" />
1605    </attr>
1606
1607    <!-- ========================== -->
1608    <!-- Key Codes                  -->
1609    <!-- ========================== -->
1610    <eat-comment />
1611
1612    <!-- This enum provides the same keycode values as can be found in
1613        {@link android.view.KeyEvent}. -->
1614    <attr name="keycode">
1615        <enum name="KEYCODE_UNKNOWN" value="0" />
1616        <enum name="KEYCODE_SOFT_LEFT" value="1" />
1617        <enum name="KEYCODE_SOFT_RIGHT" value="2" />
1618        <enum name="KEYCODE_HOME" value="3" />
1619        <enum name="KEYCODE_BACK" value="4" />
1620        <enum name="KEYCODE_CALL" value="5" />
1621        <enum name="KEYCODE_ENDCALL" value="6" />
1622        <enum name="KEYCODE_0" value="7" />
1623        <enum name="KEYCODE_1" value="8" />
1624        <enum name="KEYCODE_2" value="9" />
1625        <enum name="KEYCODE_3" value="10" />
1626        <enum name="KEYCODE_4" value="11" />
1627        <enum name="KEYCODE_5" value="12" />
1628        <enum name="KEYCODE_6" value="13" />
1629        <enum name="KEYCODE_7" value="14" />
1630        <enum name="KEYCODE_8" value="15" />
1631        <enum name="KEYCODE_9" value="16" />
1632        <enum name="KEYCODE_STAR" value="17" />
1633        <enum name="KEYCODE_POUND" value="18" />
1634        <enum name="KEYCODE_DPAD_UP" value="19" />
1635        <enum name="KEYCODE_DPAD_DOWN" value="20" />
1636        <enum name="KEYCODE_DPAD_LEFT" value="21" />
1637        <enum name="KEYCODE_DPAD_RIGHT" value="22" />
1638        <enum name="KEYCODE_DPAD_CENTER" value="23" />
1639        <enum name="KEYCODE_VOLUME_UP" value="24" />
1640        <enum name="KEYCODE_VOLUME_DOWN" value="25" />
1641        <enum name="KEYCODE_POWER" value="26" />
1642        <enum name="KEYCODE_CAMERA" value="27" />
1643        <enum name="KEYCODE_CLEAR" value="28" />
1644        <enum name="KEYCODE_A" value="29" />
1645        <enum name="KEYCODE_B" value="30" />
1646        <enum name="KEYCODE_C" value="31" />
1647        <enum name="KEYCODE_D" value="32" />
1648        <enum name="KEYCODE_E" value="33" />
1649        <enum name="KEYCODE_F" value="34" />
1650        <enum name="KEYCODE_G" value="35" />
1651        <enum name="KEYCODE_H" value="36" />
1652        <enum name="KEYCODE_I" value="37" />
1653        <enum name="KEYCODE_J" value="38" />
1654        <enum name="KEYCODE_K" value="39" />
1655        <enum name="KEYCODE_L" value="40" />
1656        <enum name="KEYCODE_M" value="41" />
1657        <enum name="KEYCODE_N" value="42" />
1658        <enum name="KEYCODE_O" value="43" />
1659        <enum name="KEYCODE_P" value="44" />
1660        <enum name="KEYCODE_Q" value="45" />
1661        <enum name="KEYCODE_R" value="46" />
1662        <enum name="KEYCODE_S" value="47" />
1663        <enum name="KEYCODE_T" value="48" />
1664        <enum name="KEYCODE_U" value="49" />
1665        <enum name="KEYCODE_V" value="50" />
1666        <enum name="KEYCODE_W" value="51" />
1667        <enum name="KEYCODE_X" value="52" />
1668        <enum name="KEYCODE_Y" value="53" />
1669        <enum name="KEYCODE_Z" value="54" />
1670        <enum name="KEYCODE_COMMA" value="55" />
1671        <enum name="KEYCODE_PERIOD" value="56" />
1672        <enum name="KEYCODE_ALT_LEFT" value="57" />
1673        <enum name="KEYCODE_ALT_RIGHT" value="58" />
1674        <enum name="KEYCODE_SHIFT_LEFT" value="59" />
1675        <enum name="KEYCODE_SHIFT_RIGHT" value="60" />
1676        <enum name="KEYCODE_TAB" value="61" />
1677        <enum name="KEYCODE_SPACE" value="62" />
1678        <enum name="KEYCODE_SYM" value="63" />
1679        <enum name="KEYCODE_EXPLORER" value="64" />
1680        <enum name="KEYCODE_ENVELOPE" value="65" />
1681        <enum name="KEYCODE_ENTER" value="66" />
1682        <enum name="KEYCODE_DEL" value="67" />
1683        <enum name="KEYCODE_GRAVE" value="68" />
1684        <enum name="KEYCODE_MINUS" value="69" />
1685        <enum name="KEYCODE_EQUALS" value="70" />
1686        <enum name="KEYCODE_LEFT_BRACKET" value="71" />
1687        <enum name="KEYCODE_RIGHT_BRACKET" value="72" />
1688        <enum name="KEYCODE_BACKSLASH" value="73" />
1689        <enum name="KEYCODE_SEMICOLON" value="74" />
1690        <enum name="KEYCODE_APOSTROPHE" value="75" />
1691        <enum name="KEYCODE_SLASH" value="76" />
1692        <enum name="KEYCODE_AT" value="77" />
1693        <enum name="KEYCODE_NUM" value="78" />
1694        <enum name="KEYCODE_HEADSETHOOK" value="79" />
1695        <enum name="KEYCODE_FOCUS" value="80" />
1696        <enum name="KEYCODE_PLUS" value="81" />
1697        <enum name="KEYCODE_MENU" value="82" />
1698        <enum name="KEYCODE_NOTIFICATION" value="83" />
1699        <enum name="KEYCODE_SEARCH" value="84" />
1700        <enum name="KEYCODE_MEDIA_PLAY_PAUSE" value="85" />
1701        <enum name="KEYCODE_MEDIA_STOP" value="86" />
1702        <enum name="KEYCODE_MEDIA_NEXT" value="87" />
1703        <enum name="KEYCODE_MEDIA_PREVIOUS" value="88" />
1704        <enum name="KEYCODE_MEDIA_REWIND" value="89" />
1705        <enum name="KEYCODE_MEDIA_FAST_FORWARD" value="90" />
1706        <enum name="KEYCODE_MUTE" value="91" />
1707        <enum name="KEYCODE_PAGE_UP" value="92" />
1708        <enum name="KEYCODE_PAGE_DOWN" value="93" />
1709        <enum name="KEYCODE_PICTSYMBOLS" value="94" />
1710        <enum name="KEYCODE_SWITCH_CHARSET" value="95" />
1711        <enum name="KEYCODE_BUTTON_A" value="96" />
1712        <enum name="KEYCODE_BUTTON_B" value="97" />
1713        <enum name="KEYCODE_BUTTON_C" value="98" />
1714        <enum name="KEYCODE_BUTTON_X" value="99" />
1715        <enum name="KEYCODE_BUTTON_Y" value="100" />
1716        <enum name="KEYCODE_BUTTON_Z" value="101" />
1717        <enum name="KEYCODE_BUTTON_L1" value="102" />
1718        <enum name="KEYCODE_BUTTON_R1" value="103" />
1719        <enum name="KEYCODE_BUTTON_L2" value="104" />
1720        <enum name="KEYCODE_BUTTON_R2" value="105" />
1721        <enum name="KEYCODE_BUTTON_THUMBL" value="106" />
1722        <enum name="KEYCODE_BUTTON_THUMBR" value="107" />
1723        <enum name="KEYCODE_BUTTON_START" value="108" />
1724        <enum name="KEYCODE_BUTTON_SELECT" value="109" />
1725        <enum name="KEYCODE_BUTTON_MODE" value="110" />
1726        <enum name="KEYCODE_ESCAPE" value="111" />
1727        <enum name="KEYCODE_FORWARD_DEL" value="112" />
1728        <enum name="KEYCODE_CTRL_LEFT" value="113" />
1729        <enum name="KEYCODE_CTRL_RIGHT" value="114" />
1730        <enum name="KEYCODE_CAPS_LOCK" value="115" />
1731        <enum name="KEYCODE_SCROLL_LOCK" value="116" />
1732        <enum name="KEYCODE_META_LEFT" value="117" />
1733        <enum name="KEYCODE_META_RIGHT" value="118" />
1734        <enum name="KEYCODE_FUNCTION" value="119" />
1735        <enum name="KEYCODE_SYSRQ" value="120" />
1736        <enum name="KEYCODE_BREAK" value="121" />
1737        <enum name="KEYCODE_MOVE_HOME" value="122" />
1738        <enum name="KEYCODE_MOVE_END" value="123" />
1739        <enum name="KEYCODE_INSERT" value="124" />
1740        <enum name="KEYCODE_FORWARD" value="125" />
1741        <enum name="KEYCODE_MEDIA_PLAY" value="126" />
1742        <enum name="KEYCODE_MEDIA_PAUSE" value="127" />
1743        <enum name="KEYCODE_MEDIA_CLOSE" value="128" />
1744        <enum name="KEYCODE_MEDIA_EJECT" value="129" />
1745        <enum name="KEYCODE_MEDIA_RECORD" value="130" />
1746        <enum name="KEYCODE_F1" value="131" />
1747        <enum name="KEYCODE_F2" value="132" />
1748        <enum name="KEYCODE_F3" value="133" />
1749        <enum name="KEYCODE_F4" value="134" />
1750        <enum name="KEYCODE_F5" value="135" />
1751        <enum name="KEYCODE_F6" value="136" />
1752        <enum name="KEYCODE_F7" value="137" />
1753        <enum name="KEYCODE_F8" value="138" />
1754        <enum name="KEYCODE_F9" value="139" />
1755        <enum name="KEYCODE_F10" value="140" />
1756        <enum name="KEYCODE_F11" value="141" />
1757        <enum name="KEYCODE_F12" value="142" />
1758        <enum name="KEYCODE_NUM_LOCK" value="143" />
1759        <enum name="KEYCODE_NUMPAD_0" value="144" />
1760        <enum name="KEYCODE_NUMPAD_1" value="145" />
1761        <enum name="KEYCODE_NUMPAD_2" value="146" />
1762        <enum name="KEYCODE_NUMPAD_3" value="147" />
1763        <enum name="KEYCODE_NUMPAD_4" value="148" />
1764        <enum name="KEYCODE_NUMPAD_5" value="149" />
1765        <enum name="KEYCODE_NUMPAD_6" value="150" />
1766        <enum name="KEYCODE_NUMPAD_7" value="151" />
1767        <enum name="KEYCODE_NUMPAD_8" value="152" />
1768        <enum name="KEYCODE_NUMPAD_9" value="153" />
1769        <enum name="KEYCODE_NUMPAD_DIVIDE" value="154" />
1770        <enum name="KEYCODE_NUMPAD_MULTIPLY" value="155" />
1771        <enum name="KEYCODE_NUMPAD_SUBTRACT" value="156" />
1772        <enum name="KEYCODE_NUMPAD_ADD" value="157" />
1773        <enum name="KEYCODE_NUMPAD_DOT" value="158" />
1774        <enum name="KEYCODE_NUMPAD_COMMA" value="159" />
1775        <enum name="KEYCODE_NUMPAD_ENTER" value="160" />
1776        <enum name="KEYCODE_NUMPAD_EQUALS" value="161" />
1777        <enum name="KEYCODE_NUMPAD_LEFT_PAREN" value="162" />
1778        <enum name="KEYCODE_NUMPAD_RIGHT_PAREN" value="163" />
1779        <enum name="KEYCODE_VOLUME_MUTE" value="164" />
1780        <enum name="KEYCODE_INFO" value="165" />
1781        <enum name="KEYCODE_CHANNEL_UP" value="166" />
1782        <enum name="KEYCODE_CHANNEL_DOWN" value="167" />
1783        <enum name="KEYCODE_ZOOM_IN" value="168" />
1784        <enum name="KEYCODE_ZOOM_OUT" value="169" />
1785        <enum name="KEYCODE_TV" value="170" />
1786        <enum name="KEYCODE_WINDOW" value="171" />
1787        <enum name="KEYCODE_GUIDE" value="172" />
1788        <enum name="KEYCODE_DVR" value="173" />
1789        <enum name="KEYCODE_BOOKMARK" value="174" />
1790        <enum name="KEYCODE_CAPTIONS" value="175" />
1791        <enum name="KEYCODE_SETTINGS" value="176" />
1792        <enum name="KEYCODE_TV_POWER" value="177" />
1793        <enum name="KEYCODE_TV_INPUT" value="178" />
1794        <enum name="KEYCODE_STB_POWER" value="179" />
1795        <enum name="KEYCODE_STB_INPUT" value="180" />
1796        <enum name="KEYCODE_AVR_POWER" value="181" />
1797        <enum name="KEYCODE_AVR_INPUT" value="182" />
1798        <enum name="KEYCODE_PROG_GRED" value="183" />
1799        <enum name="KEYCODE_PROG_GREEN" value="184" />
1800        <enum name="KEYCODE_PROG_YELLOW" value="185" />
1801        <enum name="KEYCODE_PROG_BLUE" value="186" />
1802        <enum name="KEYCODE_APP_SWITCH" value="187" />
1803        <enum name="KEYCODE_BUTTON_1" value="188" />
1804        <enum name="KEYCODE_BUTTON_2" value="189" />
1805        <enum name="KEYCODE_BUTTON_3" value="190" />
1806        <enum name="KEYCODE_BUTTON_4" value="191" />
1807        <enum name="KEYCODE_BUTTON_5" value="192" />
1808        <enum name="KEYCODE_BUTTON_6" value="193" />
1809        <enum name="KEYCODE_BUTTON_7" value="194" />
1810        <enum name="KEYCODE_BUTTON_8" value="195" />
1811        <enum name="KEYCODE_BUTTON_9" value="196" />
1812        <enum name="KEYCODE_BUTTON_10" value="197" />
1813        <enum name="KEYCODE_BUTTON_11" value="198" />
1814        <enum name="KEYCODE_BUTTON_12" value="199" />
1815        <enum name="KEYCODE_BUTTON_13" value="200" />
1816        <enum name="KEYCODE_BUTTON_14" value="201" />
1817        <enum name="KEYCODE_BUTTON_15" value="202" />
1818        <enum name="KEYCODE_BUTTON_16" value="203" />
1819        <enum name="KEYCODE_LANGUAGE_SWITCH" value="204" />
1820        <enum name="KEYCODE_MANNER_MODE" value="205" />
1821        <enum name="KEYCODE_3D_MODE" value="206" />
1822        <enum name="KEYCODE_CONTACTS" value="207" />
1823        <enum name="KEYCODE_CALENDAR" value="208" />
1824        <enum name="KEYCODE_MUSIC" value="209" />
1825        <enum name="KEYCODE_CALCULATOR" value="210" />
1826        <enum name="KEYCODE_ZENKAKU_HANKAKU" value="211" />
1827        <enum name="KEYCODE_EISU" value="212" />
1828        <enum name="KEYCODE_MUHENKAN" value="213" />
1829        <enum name="KEYCODE_HENKAN" value="214" />
1830        <enum name="KEYCODE_KATAKANA_HIRAGANA" value="215" />
1831        <enum name="KEYCODE_YEN" value="216" />
1832        <enum name="KEYCODE_RO" value="217" />
1833        <enum name="KEYCODE_KANA" value="218" />
1834        <enum name="KEYCODE_ASSIST" value="219" />
1835        <enum name="KEYCODE_BRIGHTNESS_DOWN" value="220" />
1836        <enum name="KEYCODE_BRIGHTNESS_UP" value="221" />
1837        <enum name="KEYCODE_MEDIA_AUDIO_TRACK" value="222" />
1838        <enum name="KEYCODE_MEDIA_SLEEP" value="223" />
1839        <enum name="KEYCODE_MEDIA_WAKEUP" value="224" />
1840        <enum name="KEYCODE_PAIRING" value="225" />
1841        <enum name="KEYCODE_MEDIA_TOP_MENU" value="226" />
1842        <enum name="KEYCODE_11" value="227" />
1843        <enum name="KEYCODE_12" value="228" />
1844        <enum name="KEYCODE_LAST_CHANNEL" value="229" />
1845        <enum name="KEYCODE_TV_DATA_SERVICE" value="230" />
1846        <enum name="KEYCODE_VOICE_ASSIST" value="231" />
1847        <enum name="KEYCODE_TV_RADIO_SERVICE" value="232" />
1848        <enum name="KEYCODE_TV_TELETEXT" value="233" />
1849        <enum name="KEYCODE_TV_NUMBER_ENTRY" value="234" />
1850        <enum name="KEYCODE_TV_TERRESTRIAL_ANALOG" value="235" />
1851        <enum name="KEYCODE_TV_TERRESTRIAL_DIGITAL" value="236" />
1852        <enum name="KEYCODE_TV_SATELLITE" value="237" />
1853        <enum name="KEYCODE_TV_SATELLITE_BS" value="238" />
1854        <enum name="KEYCODE_TV_SATELLITE_CS" value="239" />
1855        <enum name="KEYCODE_TV_SATELLITE_SERVICE" value="240" />
1856        <enum name="KEYCODE_TV_NETWORK" value="241" />
1857        <enum name="KEYCODE_TV_ANTENNA_CABLE" value="242" />
1858        <enum name="KEYCODE_TV_INPUT_HDMI_1" value="243" />
1859        <enum name="KEYCODE_TV_INPUT_HDMI_2" value="244" />
1860        <enum name="KEYCODE_TV_INPUT_HDMI_3" value="245" />
1861        <enum name="KEYCODE_TV_INPUT_HDMI_4" value="246" />
1862        <enum name="KEYCODE_TV_INPUT_COMPOSITE_1" value="247" />
1863        <enum name="KEYCODE_TV_INPUT_COMPOSITE_2" value="248" />
1864        <enum name="KEYCODE_TV_INPUT_COMPONENT_1" value="249" />
1865        <enum name="KEYCODE_TV_INPUT_COMPONENT_2" value="250" />
1866        <enum name="KEYCODE_TV_INPUT_VGA_1" value="251" />
1867        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION" value="252" />
1868        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP" value="253" />
1869        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN" value="254" />
1870        <enum name="KEYCODE_TV_ZOOM_MODE" value="255" />
1871        <enum name="KEYCODE_TV_CONTENTS_MENU" value="256" />
1872        <enum name="KEYCODE_TV_MEDIA_CONTEXT_MENU" value="257" />
1873        <enum name="KEYCODE_TV_TIMER_PROGRAMMING" value="258" />
1874        <enum name="KEYCODE_HELP" value="259" />
1875        <enum name="KEYCODE_NAVIGATE_PREVIOUS" value="260" />
1876        <enum name="KEYCODE_NAVIGATE_NEXT" value="261" />
1877        <enum name="KEYCODE_NAVIGATE_IN" value="262" />
1878        <enum name="KEYCODE_NAVIGATE_OUT" value="263" />
1879        <enum name="KEYCODE_STEM_PRIMARY" value="264" />
1880        <enum name="KEYCODE_STEM_1" value="265" />
1881        <enum name="KEYCODE_STEM_2" value="266" />
1882        <enum name="KEYCODE_STEM_3" value="267" />
1883        <enum name="KEYCODE_DPAD_UP_LEFT" value="268" />
1884        <enum name="KEYCODE_DPAD_DOWN_LEFT" value="269" />
1885        <enum name="KEYCODE_DPAD_UP_RIGHT" value="270" />
1886        <enum name="KEYCODE_DPAD_DOWN_RIGHT" value="271" />
1887        <enum name="KEYCODE_MEDIA_SKIP_FORWARD" value="272" />
1888        <enum name="KEYCODE_MEDIA_SKIP_BACKWARD" value="273" />
1889        <enum name="KEYCODE_MEDIA_STEP_FORWARD" value="274" />
1890        <enum name="KEYCODE_MEDIA_STEP_BACKWARD" value="275" />
1891        <enum name="KEYCODE_SOFT_SLEEP" value="276" />
1892        <enum name="KEYCODE_CUT" value="277" />
1893        <enum name="KEYCODE_COPY" value="278" />
1894        <enum name="KEYCODE_PASTE" value="279" />
1895        <enum name="KEYCODE_SYSTEM_NAVIGATION_UP" value="280" />
1896        <enum name="KEYCODE_SYSTEM_NAVIGATION_DOWN" value="281" />
1897        <enum name="KEYCODE_SYSTEM_NAVIGATION_LEFT" value="282" />
1898        <enum name="KEYCODE_SYSTEM_NAVIGATION_RIGHT" value="283" />
1899        <enum name="KEYCODE_ALL_APPS" value="284" />
1900    </attr>
1901
1902    <!-- ***************************************************************** -->
1903    <!-- These define collections of attributes that can are with classes. -->
1904    <!-- ***************************************************************** -->
1905
1906    <!-- ========================== -->
1907    <!-- Special attribute classes. -->
1908    <!-- ========================== -->
1909    <eat-comment />
1910
1911    <!-- The set of attributes that describe a Windows's theme. -->
1912    <declare-styleable name="Window">
1913        <attr name="windowBackground" />
1914        <attr name="windowBackgroundFallback" />
1915        <attr name="windowContentOverlay" />
1916        <attr name="windowFrame" />
1917        <attr name="windowNoTitle" />
1918        <attr name="windowFullscreen" />
1919        <attr name="windowOverscan" />
1920        <attr name="windowIsFloating" />
1921        <attr name="windowIsTranslucent" />
1922        <attr name="windowShowWallpaper" />
1923        <attr name="windowAnimationStyle" />
1924        <attr name="windowSoftInputMode" />
1925        <attr name="windowDisablePreview" />
1926        <attr name="windowNoDisplay" />
1927        <attr name="textColor" />
1928        <attr name="backgroundDimEnabled" />
1929        <attr name="backgroundDimAmount" />
1930        <attr name="windowActionBar" />
1931        <attr name="windowActionModeOverlay" />
1932        <attr name="windowActionBarOverlay" />
1933        <attr name="windowEnableSplitTouch" />
1934        <attr name="windowCloseOnTouchOutside" />
1935        <attr name="windowTranslucentStatus" />
1936        <attr name="windowTranslucentNavigation" />
1937        <attr name="windowSwipeToDismiss" />
1938        <attr name="windowContentTransitions" />
1939        <attr name="windowActivityTransitions" />
1940        <attr name="windowContentTransitionManager" />
1941        <attr name="windowActionBarFullscreenDecorLayout" />
1942
1943        <!-- The minimum width the window is allowed to be, along the major
1944             axis of the screen.  That is, when in landscape.  Can be either
1945             an absolute dimension or a fraction of the screen size in that
1946             dimension. -->
1947        <attr name="windowMinWidthMajor" format="dimension|fraction" />
1948        <!-- The minimum width the window is allowed to be, along the minor
1949             axis of the screen.  That is, when in portrait.  Can be either
1950             an absolute dimension or a fraction of the screen size in that
1951             dimension. -->
1952        <attr name="windowMinWidthMinor" format="dimension|fraction" />
1953
1954        <!-- A fixed width for the window along the major axis of the screen,
1955             that is, when in landscape. Can be either an absolute dimension
1956             or a fraction of the screen size in that dimension. -->
1957        <attr name="windowFixedWidthMajor" format="dimension|fraction" />
1958        <!-- A fixed height for the window along the minor axis of the screen,
1959             that is, when in landscape. Can be either an absolute dimension
1960             or a fraction of the screen size in that dimension. -->
1961        <attr name="windowFixedHeightMinor" format="dimension|fraction" />
1962
1963        <!-- A fixed width for the window along the minor axis of the screen,
1964             that is, when in portrait. Can be either an absolute dimension
1965             or a fraction of the screen size in that dimension. -->
1966        <attr name="windowFixedWidthMinor" format="dimension|fraction" />
1967        <!-- A fixed height for the window along the major axis of the screen,
1968             that is, when in portrait. Can be either an absolute dimension
1969             or a fraction of the screen size in that dimension. -->
1970        <attr name="windowFixedHeightMajor" format="dimension|fraction" />
1971        <attr name="windowOutsetBottom" format="dimension" />
1972        <!-- Reference to a Transition XML resource defining the desired Transition
1973             used to move Views into the initial Window's content Scene. Corresponds to
1974             {@link android.view.Window#setEnterTransition(android.transition.Transition)}. -->
1975        <attr name="windowEnterTransition"/>
1976
1977        <!-- Reference to a Transition XML resource defining the desired Transition
1978             used to move Views out of the scene when the Window is
1979             preparing to close. Corresponds to
1980             {@link android.view.Window#setReturnTransition(android.transition.Transition)}. -->
1981        <attr name="windowReturnTransition"/>
1982
1983        <!-- Reference to a Transition XML resource defining the desired Transition
1984             used to move Views out of the Window's content Scene when launching a new Activity.
1985             Corresponds to
1986             {@link android.view.Window#setExitTransition(android.transition.Transition)}. -->
1987        <attr name="windowExitTransition"/>
1988
1989        <!-- Reference to a Transition XML resource defining the desired Transition
1990             used to move Views in to the scene when returning from a previously-started Activity.
1991             Corresponds to
1992             {@link android.view.Window#setReenterTransition(android.transition.Transition)}. -->
1993        <attr name="windowReenterTransition"/>
1994
1995        <!-- Reference to a Transition XML resource defining the desired Transition
1996             used to move shared elements transferred into the Window's initial content Scene.
1997             Corresponds to {@link android.view.Window#setSharedElementEnterTransition(
1998             android.transition.Transition)}. -->
1999        <attr name="windowSharedElementEnterTransition"/>
2000
2001        <!-- Reference to a Transition XML resource defining the desired Transition
2002             used to move shared elements transferred back to a calling Activity.
2003             Corresponds to {@link android.view.Window#setSharedElementReturnTransition(
2004             android.transition.Transition)}. -->
2005        <attr name="windowSharedElementReturnTransition"/>
2006
2007        <!-- Reference to a Transition XML resource defining the desired Transition
2008             used when starting a new Activity to move shared elements prior to transferring
2009             to the called Activity.
2010             Corresponds to {@link android.view.Window#setSharedElementExitTransition(
2011             android.transition.Transition)}. -->
2012        <attr name="windowSharedElementExitTransition"/>
2013
2014        <!-- Reference to a Transition XML resource defining the desired Transition
2015             used for shared elements transferred back to a calling Activity.
2016             Corresponds to {@link android.view.Window#setSharedElementReenterTransition(
2017             android.transition.Transition)}. -->
2018        <attr name="windowSharedElementReenterTransition"/>
2019
2020
2021        <!-- Flag indicating whether this Window's transition should overlap with
2022             the exiting transition of the calling Activity. Corresponds to
2023             {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. -->
2024        <attr name="windowAllowEnterTransitionOverlap"/>
2025
2026        <!-- Flag indicating whether this Window's transition should overlap with
2027             the exiting transition of the called Activity when the called Activity
2028             finishes. Corresponds to
2029             {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. -->
2030        <attr name="windowAllowReturnTransitionOverlap"/>
2031
2032        <!-- Indicates whether or not shared elements should use an overlay
2033             during transitions. The default value is true. -->
2034        <attr name="windowSharedElementsUseOverlay"/>
2035
2036        <!-- Flag indicating whether this Window is responsible for drawing the background for the
2037             system bars. If true and the window is not floating, the system bars are drawn with a
2038             transparent background and the corresponding areas in this window are filled with the
2039             colors specified in {@link android.R.attr#statusBarColor} and
2040             {@link android.R.attr#navigationBarColor}. Corresponds to
2041             {@link android.view.WindowManager.LayoutParams#FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS}. -->
2042        <attr name="windowDrawsSystemBarBackgrounds" format="boolean" />
2043
2044        <!-- The color for the status bar. If the color is not opaque, consider setting
2045             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and
2046             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN}.
2047             For this to take effect, the window must be drawing the system bar backgrounds with
2048             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not
2049             have been requested to be translucent with
2050             {@link android.R.attr#windowTranslucentStatus}.
2051             Corresponds to {@link android.view.Window#setStatusBarColor(int)}. -->
2052        <attr name="statusBarColor" format="color" />
2053
2054        <!-- The color for the navigation bar. If the color is not opaque, consider setting
2055             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and
2056             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION}.
2057             For this to take effect, the window must be drawing the system bar backgrounds with
2058             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not
2059             have been requested to be translucent with
2060             {@link android.R.attr#windowTranslucentNavigation}.
2061             Corresponds to {@link android.view.Window#setNavigationBarColor(int)}. -->
2062        <attr name="navigationBarColor" format="color" />
2063
2064        <!-- Shows a thin line of the specified color between the navigation bar and the app
2065             content.
2066             <p>For this to take effect, the window must be drawing the system bar backgrounds with
2067             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not
2068             have been requested to be translucent with
2069             {@link android.R.attr#windowTranslucentNavigation}. -->
2070        <attr name="navigationBarDividerColor" format="color" />
2071
2072        <!-- The duration, in milliseconds, of the window background fade duration
2073             when transitioning into or away from an Activity when called with an
2074             Activity Transition. Corresponds to
2075             {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. -->
2076        <attr name="windowTransitionBackgroundFadeDuration" />
2077
2078        <!-- Elevation to use for the window. -->
2079        <attr name="windowElevation" format="dimension" />
2080
2081        <!-- Whether to clip window content to the outline of the window background. -->
2082        <attr name="windowClipToOutline" format="boolean" />
2083
2084        <!-- If set, the status bar will be drawn such that it is compatible with a light
2085             status bar background.
2086             <p>For this to take effect, the window must be drawing the system bar backgrounds with
2087             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not
2088             have been requested to be translucent with
2089             {@link android.R.attr#windowTranslucentStatus}.
2090             Corresponds to setting {@link android.view.View#SYSTEM_UI_FLAG_LIGHT_STATUS_BAR} on
2091             the decor view. -->
2092        <attr name="windowLightStatusBar" format="boolean" />
2093
2094        <!-- Reference to a drawable to be used as the splash screen content of the window. This
2095             drawable will be placed on top of the {@link android.R.attr#windowBackground} with its
2096             bounds inset by the system bars. If the drawable should not be inset by the system
2097             bars, use a fullscreen theme.
2098             <p>
2099             Note that even if no splashscreen content is set on the theme, the system may still
2100             show a splash screen using the other attributes on the theme, like the
2101             {@link android.R.attr#windowBackground}.
2102             -->
2103        <attr name="windowSplashscreenContent" format="reference" />
2104
2105        <!-- If set, the navigation bar will be drawn such that it is compatible with a light
2106             navigation bar background.
2107             <p>For this to take effect, the window must be drawing the system bar backgrounds with
2108             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not
2109             have been requested to be translucent with
2110             {@link android.R.attr#windowTranslucentNavigation}.
2111             Corresponds to setting {@link android.view.View#SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR} on
2112             the decor view. -->
2113        <attr name="windowLightNavigationBar" format="boolean" />
2114    </declare-styleable>
2115
2116    <!-- The set of attributes that describe a AlertDialog's theme. -->
2117    <declare-styleable name="AlertDialog">
2118        <attr name="fullDark" format="reference|color" />
2119        <attr name="topDark" format="reference|color" />
2120        <attr name="centerDark" format="reference|color" />
2121        <attr name="bottomDark" format="reference|color" />
2122        <attr name="fullBright" format="reference|color" />
2123        <attr name="topBright" format="reference|color" />
2124        <attr name="centerBright" format="reference|color" />
2125        <attr name="bottomBright" format="reference|color" />
2126        <attr name="bottomMedium" format="reference|color" />
2127        <attr name="centerMedium" format="reference|color" />
2128        <attr name="layout" />
2129        <attr name="buttonPanelSideLayout" format="reference" />
2130        <attr name="listLayout" format="reference" />
2131        <attr name="multiChoiceItemLayout" format="reference" />
2132        <attr name="singleChoiceItemLayout" format="reference" />
2133        <attr name="listItemLayout" format="reference" />
2134        <attr name="progressLayout" format="reference" />
2135        <attr name="horizontalProgressLayout" format="reference" />
2136        <!-- @hide Not ready for public use. -->
2137        <attr name="showTitle" format="boolean" />
2138        <!-- @hide Whether fullDark, etc. should use default values if null. -->
2139        <attr name="needsDefaultBackgrounds" format="boolean" />
2140        <!-- @hide Workaround until we replace AlertController with custom layout. -->
2141        <attr name="controllerType">
2142            <!-- The default controller. -->
2143            <enum name="normal" value="0" />
2144            <!-- Controller for micro specific layout. -->
2145            <enum name="micro" value="1" />
2146        </attr>
2147        <!-- @hide Offset when scrolling to a selection. -->
2148        <attr name="selectionScrollOffset" format="dimension" />
2149    </declare-styleable>
2150
2151    <!-- @hide -->
2152    <declare-styleable name="ButtonBarLayout">
2153        <!-- Whether to automatically stack the buttons when there is not
2154             enough space to lay them out side-by-side. -->
2155        <attr name="allowStacking" format="boolean" />
2156    </declare-styleable>
2157
2158    <!-- Fragment animation class attributes. -->
2159    <declare-styleable name="FragmentAnimation">
2160        <attr name="fragmentOpenEnterAnimation" format="reference" />
2161        <attr name="fragmentOpenExitAnimation" format="reference" />
2162        <attr name="fragmentCloseEnterAnimation" format="reference" />
2163        <attr name="fragmentCloseExitAnimation" format="reference" />
2164        <attr name="fragmentFadeEnterAnimation" format="reference" />
2165        <attr name="fragmentFadeExitAnimation" format="reference" />
2166    </declare-styleable>
2167
2168    <!-- Window animation class attributes. -->
2169    <declare-styleable name="WindowAnimation">
2170        <!-- The animation used when a window is being added. -->
2171        <attr name="windowEnterAnimation" format="reference" />
2172        <!-- The animation used when a window is being removed. -->
2173        <attr name="windowExitAnimation" format="reference" />
2174        <!-- The animation used when a window is going from INVISIBLE to VISIBLE. -->
2175        <attr name="windowShowAnimation" format="reference" />
2176        <!-- The animation used when a window is going from VISIBLE to INVISIBLE. -->
2177        <attr name="windowHideAnimation" format="reference" />
2178
2179        <!--  When opening a new activity, this is the animation that is
2180              run on the next activity (which is entering the screen). -->
2181        <attr name="activityOpenEnterAnimation" format="reference" />
2182        <!--  When opening a new activity, this is the animation that is
2183              run on the previous activity (which is exiting the screen). -->
2184        <attr name="activityOpenExitAnimation" format="reference" />
2185        <!--  When closing the current activity, this is the animation that is
2186              run on the next activity (which is entering the screen). -->
2187        <attr name="activityCloseEnterAnimation" format="reference" />
2188        <!--  When closing the current activity, this is the animation that is
2189              run on the current activity (which is exiting the screen). -->
2190        <attr name="activityCloseExitAnimation" format="reference" />
2191        <!--  When opening an activity in a new task, this is the animation that is
2192              run on the activity of the new task (which is entering the screen). -->
2193        <attr name="taskOpenEnterAnimation" format="reference" />
2194        <!--  When opening an activity in a new task, this is the animation that is
2195              run on the activity of the old task (which is exiting the screen). -->
2196        <attr name="taskOpenExitAnimation" format="reference" />
2197        <!--  When opening an activity in a new task using Intent/FLAG_ACTIVITY_LAUNCH_BEHIND,
2198              this is the animation that is run on the activity of the new task (which is
2199              entering the screen and then leaving). -->
2200        <attr name="launchTaskBehindTargetAnimation" format="reference" />
2201        <!--  When opening an activity in a new task using Intent.FLAG_ACTIVITY_LAUNCH_BEHIND,
2202              this is the animation that is run on the activity of the old task (which is
2203              already on the screen and then stays on). -->
2204        <attr name="launchTaskBehindSourceAnimation" format="reference" />
2205        <!--  When closing the last activity of a task, this is the animation that is
2206              run on the activity of the next task (which is entering the screen). -->
2207        <attr name="taskCloseEnterAnimation" format="reference" />
2208        <!--  When opening an activity in a new task, this is the animation that is
2209              run on the activity of the old task (which is exiting the screen). -->
2210        <attr name="taskCloseExitAnimation" format="reference" />
2211        <!--  When bringing an existing task to the foreground, this is the
2212              animation that is run on the top activity of the task being brought
2213              to the foreground (which is entering the screen). -->
2214        <attr name="taskToFrontEnterAnimation" format="reference" />
2215        <!--  When bringing an existing task to the foreground, this is the
2216              animation that is run on the current foreground activity
2217              (which is exiting the screen). -->
2218        <attr name="taskToFrontExitAnimation" format="reference" />
2219        <!--  When sending the current task to the background, this is the
2220              animation that is run on the top activity of the task behind
2221              it (which is entering the screen). -->
2222        <attr name="taskToBackEnterAnimation" format="reference" />
2223        <!--  When sending the current task to the background, this is the
2224              animation that is run on the top activity of the current task
2225              (which is exiting the screen). -->
2226        <attr name="taskToBackExitAnimation" format="reference" />
2227
2228        <!--  When opening a new activity that shows the wallpaper, while
2229              currently not showing the wallpaper, this is the animation that
2230              is run on the new wallpaper activity (which is entering the screen). -->
2231        <attr name="wallpaperOpenEnterAnimation" format="reference" />
2232        <!--  When opening a new activity that shows the wallpaper, while
2233              currently not showing the wallpaper, this is the animation that
2234              is run on the current activity (which is exiting the screen). -->
2235        <attr name="wallpaperOpenExitAnimation" format="reference" />
2236        <!--  When opening a new activity that hides the wallpaper, while
2237              currently showing the wallpaper, this is the animation that
2238              is run on the new activity (which is entering the screen). -->
2239        <attr name="wallpaperCloseEnterAnimation" format="reference" />
2240        <!--  When opening a new activity that hides the wallpaper, while
2241              currently showing the wallpaper, this is the animation that
2242              is run on the old wallpaper activity (which is exiting the screen). -->
2243        <attr name="wallpaperCloseExitAnimation" format="reference" />
2244
2245        <!--  When opening a new activity that is on top of the wallpaper
2246              when the current activity is also on top of the wallpaper,
2247              this is the animation that is run on the new activity
2248              (which is entering the screen).  The wallpaper remains
2249              static behind the animation. -->
2250        <attr name="wallpaperIntraOpenEnterAnimation" format="reference" />
2251        <!--  When opening a new activity that is on top of the wallpaper
2252              when the current activity is also on top of the wallpaper,
2253              this is the animation that is run on the current activity
2254              (which is exiting the screen).  The wallpaper remains
2255              static behind the animation. -->
2256        <attr name="wallpaperIntraOpenExitAnimation" format="reference" />
2257        <!--  When closing a foreround activity that is on top of the wallpaper
2258              when the previous activity is also on top of the wallpaper,
2259              this is the animation that is run on the previous activity
2260              (which is entering the screen).  The wallpaper remains
2261              static behind the animation. -->
2262        <attr name="wallpaperIntraCloseEnterAnimation" format="reference" />
2263        <!--  When closing a foreround activity that is on top of the wallpaper
2264              when the previous activity is also on top of the wallpaper,
2265              this is the animation that is run on the current activity
2266              (which is exiting the screen).  The wallpaper remains
2267              static behind the animation. -->
2268        <attr name="wallpaperIntraCloseExitAnimation" format="reference" />
2269
2270        <!--  When opening a new activity from a RemoteViews, this is the
2271              animation that is run on the next activity (which is entering the
2272              screen). Requires config_overrideRemoteViewsActivityTransition to
2273              be true. -->
2274        <attr name="activityOpenRemoteViewsEnterAnimation" format="reference" />
2275
2276    </declare-styleable>
2277
2278    <!-- ============================= -->
2279    <!-- View package class attributes -->
2280    <!-- ============================= -->
2281    <eat-comment />
2282
2283    <!-- Attributes that can be used with {@link android.view.View} or
2284         any of its subclasses.  Also see {@link #ViewGroup_Layout} for
2285         attributes that are processed by the view's parent. -->
2286    <declare-styleable name="View">
2287        <!-- Supply an identifier name for this view, to later retrieve it
2288             with {@link android.view.View#findViewById View.findViewById()} or
2289             {@link android.app.Activity#findViewById Activity.findViewById()}.
2290             This must be a
2291             resource reference; typically you set this using the
2292             <code>@+</code> syntax to create a new ID resources.
2293             For example: <code>android:id="@+id/my_id"</code> which
2294             allows you to later retrieve the view
2295             with <code>findViewById(R.id.my_id)</code>. -->
2296        <attr name="id" format="reference" />
2297
2298        <!-- Supply a tag for this view containing a String, to be retrieved
2299             later with {@link android.view.View#getTag View.getTag()} or
2300             searched for with {@link android.view.View#findViewWithTag
2301             View.findViewWithTag()}.  It is generally preferable to use
2302             IDs (through the android:id attribute) instead of tags because
2303             they are faster and allow for compile-time type checking. -->
2304        <attr name="tag" format="string" />
2305
2306        <!-- The initial horizontal scroll offset, in pixels.-->
2307        <attr name="scrollX" format="dimension" />
2308
2309        <!-- The initial vertical scroll offset, in pixels. -->
2310        <attr name="scrollY" format="dimension" />
2311
2312        <!-- A drawable to use as the background.  This can be either a reference
2313             to a full drawable resource (such as a PNG image, 9-patch,
2314             XML state list description, etc), or a solid color such as "#ff000000"
2315            (black). -->
2316        <attr name="background" format="reference|color" />
2317
2318        <!-- Sets the padding, in pixels, of all four edges. Padding is defined as
2319             space between the edges of the view and the view's content. This value will take
2320             precedence over any of the edge-specific values (paddingLeft, paddingTop,
2321             paddingRight, paddingBottom, paddingHorizontal and paddingVertical), but will
2322             not override paddingStart or paddingEnd, if set. A view's size
2323             will include its padding. If a {@link android.R.attr#background}
2324             is provided, the padding will initially be set to that (0 if the
2325             drawable does not have padding). Explicitly setting a padding value
2326             will override the corresponding padding found in the background. -->
2327        <attr name="padding" format="dimension" />
2328        <!-- Sets the padding, in pixels, of the left and right edges; see
2329             {@link android.R.attr#padding}. This value will take precedence over
2330             paddingLeft and paddingRight, but not paddingStart or paddingEnd (if set). -->
2331        <attr name="paddingHorizontal" format="dimension" />
2332        <!-- Sets the padding, in pixels, of the top and bottom edges; see
2333             {@link android.R.attr#padding}. This value will take precedence over
2334             paddingTop and paddingBottom, if set. -->
2335        <attr name="paddingVertical" format="dimension" />
2336        <!-- Sets the padding, in pixels, of the left edge; see {@link android.R.attr#padding}. -->
2337        <attr name="paddingLeft" format="dimension" />
2338        <!-- Sets the padding, in pixels, of the top edge; see {@link android.R.attr#padding}. -->
2339        <attr name="paddingTop" format="dimension" />
2340        <!-- Sets the padding, in pixels, of the right edge; see {@link android.R.attr#padding}. -->
2341        <attr name="paddingRight" format="dimension" />
2342        <!-- Sets the padding, in pixels, of the bottom edge; see {@link android.R.attr#padding}. -->
2343        <attr name="paddingBottom" format="dimension" />
2344        <!-- Sets the padding, in pixels, of the start edge; see {@link android.R.attr#padding}. -->
2345        <attr name="paddingStart" format="dimension" />
2346        <!-- Sets the padding, in pixels, of the end edge; see {@link android.R.attr#padding}. -->
2347        <attr name="paddingEnd" format="dimension" />
2348
2349        <!-- Controls whether a view can take focus.  By default, this is "auto" which lets the
2350             framework determine whether a user can move focus to a view.  By setting this attribute
2351             to true the view is allowed to take focus. By setting it to "false" the view will not
2352             take focus. This value does not impact the behavior of
2353             directly calling {@link android.view.View#requestFocus}, which will
2354             always request focus regardless of this view.  It only impacts where
2355             focus navigation will try to move focus. -->
2356        <attr name="focusable" format="boolean|enum">
2357            <enum name="auto" value="0x00000010" />
2358        </attr>
2359
2360        <attr name="__removed3" />
2361
2362        <!-- Describes the content of a view so that a autofill service can fill in the appropriate
2363             data. Multiple hints can be combined in a comma separated list or an array of strings
2364             to mean e.g. emailAddress or postalAddress. -->
2365        <attr name="autofillHints" format="string|reference" />
2366
2367        <!-- Hints the Android System whether the view node associated with this View should be
2368             included in a view structure used for autofill purposes. -->
2369        <attr name="importantForAutofill">
2370            <!-- Let the Android System use its heuristics to determine if the view is important for autofill. -->
2371            <flag name="auto" value="0" />
2372            <!-- Hint the Android System that this view is important for autofill,
2373                  and its children (if any) will be traversed.. -->
2374            <flag name="yes" value="0x1" />
2375            <!-- Hint the Android System that this view is *not* important for autofill,
2376                  but its children (if any) will be traversed.. -->
2377            <flag name="no" value="0x2" />
2378            <!-- Hint the Android System that this view is important for autofill,
2379                 but its children (if any) will not be traversed. -->
2380            <flag name="yesExcludeDescendants" value="0x4" />
2381            <!-- Hint the Android System that this view is *not* important for autofill,
2382                 and its children (if any) will not be traversed. -->
2383            <flag name="noExcludeDescendants" value="0x8" />
2384        </attr>
2385
2386        <!-- Boolean that controls whether a view can take focus while in touch mode.
2387             If this is true for a view, that view can gain focus when clicked on, and can keep
2388             focus if another view is clicked on that doesn't have this attribute set to true. -->
2389        <attr name="focusableInTouchMode" format="boolean" />
2390
2391        <!-- Controls the initial visibility of the view.  -->
2392        <attr name="visibility">
2393            <!-- Visible on screen; the default value. -->
2394            <enum name="visible" value="0" />
2395            <!-- Not displayed, but taken into account during layout (space is left for it). -->
2396            <enum name="invisible" value="1" />
2397            <!-- Completely hidden, as if the view had not been added. -->
2398            <enum name="gone" value="2" />
2399        </attr>
2400
2401        <!-- Boolean internal attribute to adjust view layout based on
2402             system windows such as the status bar.
2403             If true, adjusts the padding of this view to leave space for the system windows.
2404             Will only take effect if this view is in a non-embedded activity. -->
2405        <attr name="fitsSystemWindows" format="boolean" />
2406
2407        <!-- Defines which scrollbars should be displayed on scrolling or not. -->
2408        <attr name="scrollbars">
2409            <!-- No scrollbar is displayed. -->
2410            <flag name="none" value="0x00000000" />
2411            <!-- Displays horizontal scrollbar only. -->
2412            <flag name="horizontal" value="0x00000100" />
2413            <!-- Displays vertical scrollbar only. -->
2414            <flag name="vertical" value="0x00000200" />
2415        </attr>
2416
2417        <!-- Controls the scrollbar style and position. The scrollbars can be overlaid or
2418             inset. When inset, they add to the padding of the view. And the
2419             scrollbars can be drawn inside the padding area or on the edge of
2420             the view. For example, if a view has a background drawable and you
2421             want to draw the scrollbars inside the padding specified by the
2422             drawable, you can use insideOverlay or insideInset. If you want them
2423             to appear at the edge of the view, ignoring the padding, then you can
2424             use outsideOverlay or outsideInset.-->
2425        <attr name="scrollbarStyle">
2426            <!-- Inside the padding and overlaid. -->
2427            <enum name="insideOverlay" value="0x0" />
2428            <!-- Inside the padding and inset. -->
2429            <enum name="insideInset" value="0x01000000" />
2430            <!-- Edge of the view and overlaid. -->
2431            <enum name="outsideOverlay" value="0x02000000" />
2432            <!-- Edge of the view and inset. -->
2433            <enum name="outsideInset" value="0x03000000" />
2434        </attr>
2435
2436        <!-- Set this if the view will serve as a scrolling container, meaning
2437             that it can be resized to shrink its overall window so that there
2438             will be space for an input method.  If not set, the default
2439             value will be true if "scrollbars" has the vertical scrollbar
2440             set, else it will be false. -->
2441        <attr name="isScrollContainer" format="boolean" />
2442
2443          <!-- Defines whether to fade out scrollbars when they are not in use. -->
2444         <attr name="fadeScrollbars" format="boolean" />
2445         <!-- Defines the delay in milliseconds that a scrollbar takes to fade out. -->
2446         <attr name="scrollbarFadeDuration" format="integer" />
2447         <!-- Defines the delay in milliseconds that a scrollbar waits before fade out. -->
2448        <attr name="scrollbarDefaultDelayBeforeFade" format="integer" />
2449        <!-- Sets the width of vertical scrollbars and height of horizontal scrollbars. -->
2450        <attr name="scrollbarSize" format="dimension" />
2451        <!-- Defines the horizontal scrollbar thumb drawable. -->
2452        <attr name="scrollbarThumbHorizontal" format="reference" />
2453        <!-- Defines the vertical scrollbar thumb drawable. -->
2454        <attr name="scrollbarThumbVertical" format="reference" />
2455        <!-- Defines the horizontal scrollbar track drawable. -->
2456        <attr name="scrollbarTrackHorizontal" format="reference" />
2457        <!-- Defines the vertical scrollbar track drawable. -->
2458        <attr name="scrollbarTrackVertical" format="reference" />
2459        <!-- Defines whether the horizontal scrollbar track should always be drawn. -->
2460        <attr name="scrollbarAlwaysDrawHorizontalTrack" format="boolean" />
2461        <!-- Defines whether the vertical scrollbar track should always be drawn. -->
2462        <attr name="scrollbarAlwaysDrawVerticalTrack" format="boolean" />
2463
2464        <!-- This attribute is ignored in API level 14
2465             ({@link android.os.Build.VERSION_CODES#ICE_CREAM_SANDWICH}) and higher.
2466             Using fading edges may introduce noticeable performance
2467             degradations and should be used only when required by the application's
2468             visual design. To request fading edges with API level 14 and above,
2469             use the <code>android:requiresFadingEdge</code> attribute instead. -->
2470        <attr name="fadingEdge">
2471            <!-- No edge is faded. -->
2472            <flag name="none" value="0x00000000" />
2473            <!-- Fades horizontal edges only. -->
2474            <flag name="horizontal" value="0x00001000" />
2475            <!-- Fades vertical edges only. -->
2476            <flag name="vertical" value="0x00002000" />
2477        </attr>
2478        <!-- Defines which edges should be faded on scrolling. -->
2479        <attr name="requiresFadingEdge">
2480            <!-- No edge is faded. -->
2481            <flag name="none" value="0x00000000" />
2482            <!-- Fades horizontal edges only. -->
2483            <flag name="horizontal" value="0x00001000" />
2484            <!-- Fades vertical edges only. -->
2485            <flag name="vertical" value="0x00002000" />
2486        </attr>
2487        <!-- Defines the length of the fading edges. -->
2488        <attr name="fadingEdgeLength" format="dimension" />
2489
2490        <!-- Defines the next view to give focus to when the next focus is
2491             {@link android.view.View#FOCUS_LEFT}.
2492
2493             If the reference refers to a view that does not exist or is part
2494             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2495             will result when the reference is accessed.-->
2496        <attr name="nextFocusLeft" format="reference"/>
2497
2498        <!-- Defines the next view to give focus to when the next focus is
2499             {@link android.view.View#FOCUS_RIGHT}
2500
2501             If the reference refers to a view that does not exist or is part
2502             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2503             will result when the reference is accessed.-->
2504        <attr name="nextFocusRight" format="reference"/>
2505
2506        <!-- Defines the next view to give focus to when the next focus is
2507             {@link android.view.View#FOCUS_UP}
2508
2509             If the reference refers to a view that does not exist or is part
2510             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2511             will result when the reference is accessed.-->
2512        <attr name="nextFocusUp" format="reference"/>
2513
2514        <!-- Defines the next view to give focus to when the next focus is
2515             {@link android.view.View#FOCUS_DOWN}
2516
2517             If the reference refers to a view that does not exist or is part
2518             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2519             will result when the reference is accessed.-->
2520        <attr name="nextFocusDown" format="reference"/>
2521
2522        <!-- Defines the next view to give focus to when the next focus is
2523             {@link android.view.View#FOCUS_FORWARD}
2524
2525             If the reference refers to a view that does not exist or is part
2526             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2527             will result when the reference is accessed.-->
2528        <attr name="nextFocusForward" format="reference"/>
2529
2530        <!-- Defines whether this view reacts to click events. -->
2531        <attr name="clickable" format="boolean" />
2532
2533        <!-- Defines whether this view reacts to long click events. -->
2534        <attr name="longClickable" format="boolean" />
2535
2536        <!--  Defines whether this view reacts to context click events. -->
2537        <attr name="contextClickable" format="boolean" />
2538
2539        <!-- If false, no state will be saved for this view when it is being
2540             frozen. The default is true, allowing the view to be saved
2541             (however it also must have an ID assigned to it for its
2542             state to be saved).  Setting this to false only disables the
2543             state for this view, not for its children which may still
2544             be saved. -->
2545        <attr name="saveEnabled" format="boolean" />
2546
2547        <!-- Specifies whether to filter touches when the view's window is obscured by
2548             another visible window.  When set to true, the view will not receive touches
2549             whenever a toast, dialog or other window appears above the view's window.
2550             Refer to the {@link android.view.View} security documentation for more details. -->
2551        <attr name="filterTouchesWhenObscured" format="boolean" />
2552
2553        <!-- Defines the quality of translucent drawing caches. This property is used
2554             only when the drawing cache is enabled and translucent. The default value is auto.
2555             Deprecated: The view drawing cache was largely made obsolete with the introduction of
2556             hardware-accelerated rendering in API 11. -->
2557        <attr name="drawingCacheQuality">
2558            <!-- Lets the framework decide what quality level should be used
2559                 for the drawing cache.
2560                 Deprecated: The view drawing cache was largely made obsolete with the introduction
2561                 of hardware-accelerated rendering in API 11. -->
2562            <enum name="auto" value="0" />
2563            <!-- Low quality. When set to low quality, the drawing cache uses a lower color
2564                 depth, thus losing precision in rendering gradients, but uses less memory.
2565                 Deprecated: The view drawing cache was largely made obsolete with the introduction
2566                 of hardware-accelerated rendering in API 11. -->
2567            <enum name="low" value="1" />
2568            <!-- High quality. When set to high quality, the drawing cache uses a higher
2569                 color depth but uses more memory.
2570                 Deprecated: The view drawing cache was largely made obsolete with the introduction
2571                 of hardware-accelerated rendering in API 11. -->
2572            <enum name="high" value="2" />
2573        </attr>
2574
2575        <!-- Controls whether the view's window should keep the screen on
2576             while visible. -->
2577        <attr name="keepScreenOn" format="boolean" />
2578
2579        <!-- When this attribute is set to true, the view gets its drawable state
2580             (focused, pressed, etc.) from its direct parent rather than from itself. -->
2581        <attr name="duplicateParentState" format="boolean" />
2582
2583        <!-- Defines the minimum height of the view. It is not guaranteed
2584             the view will be able to achieve this minimum height (for example,
2585             if its parent layout constrains it with less available height). -->
2586        <attr name="minHeight" />
2587
2588        <!-- Defines the minimum width of the view. It is not guaranteed
2589             the view will be able to achieve this minimum width (for example,
2590             if its parent layout constrains it with less available width). -->
2591        <attr name="minWidth" />
2592
2593        <!-- Boolean that controls whether a view should have sound effects
2594             enabled for events such as clicking and touching. -->
2595        <attr name="soundEffectsEnabled" format="boolean" />
2596
2597        <!-- Boolean that controls whether a view should have haptic feedback
2598             enabled for events such as long presses. -->
2599        <attr name="hapticFeedbackEnabled" format="boolean" />
2600
2601        <!-- Defines text that briefly describes content of the view. This property is used
2602             primarily for accessibility. Since some views do not have textual
2603             representation this attribute can be used for providing such. -->
2604        <attr name="contentDescription" format="string" localization="suggested" />
2605
2606        <!-- Sets the id of a view before which this one is visited in accessibility traversal.
2607             A screen-reader must visit the content of this view before the content of the one
2608             it precedes.
2609             {@see android.view.View#setAccessibilityTraversalBefore(int)} -->
2610        <attr name="accessibilityTraversalBefore" format="integer" />
2611
2612        <!-- Sets the id of a view after which this one is visited in accessibility traversal.
2613             A screen-reader must visit the content of the other view before the content of
2614             this one.
2615             {@see android.view.View#setAccessibilityTraversalAfter(int)} -->
2616        <attr name="accessibilityTraversalAfter" format="integer" />
2617
2618        <!-- Name of the method in this View's context to invoke when the view is
2619             clicked. This name must correspond to a public method that takes
2620             exactly one parameter of type View. For instance, if you specify
2621             <code>android:onClick="sayHello"</code>, you must declare a
2622             <code>public void sayHello(View v)</code> method of your context
2623             (typically, your Activity). -->
2624        <attr name="onClick" format="string" />
2625
2626        <!-- Defines over-scrolling behavior. This property is used only if the
2627             View is scrollable. Over-scrolling is the ability for the user to
2628             receive feedback when attempting to scroll beyond meaningful content. -->
2629        <attr name="overScrollMode">
2630            <!-- Always show over-scroll effects, even if the content fits entirely
2631                 within the available space. -->
2632            <enum name="always" value="0" />
2633            <!-- Only show over-scroll effects if the content is large
2634                 enough to meaningfully scroll. -->
2635            <enum name="ifContentScrolls" value="1" />
2636            <!-- Never show over-scroll effects. -->
2637            <enum name="never" value="2" />
2638        </attr>
2639
2640        <!-- alpha property of the view, as a value between 0 (completely transparent) and 1
2641             (completely opaque). -->
2642        <attr name="alpha" format="float" />
2643
2644        <!-- base z depth of the view. -->
2645        <attr name="elevation" format="dimension" />
2646
2647        <!-- translation in x of the view. This value is added post-layout to the left
2648             property of the view, which is set by its layout. -->
2649        <attr name="translationX" format="dimension" />
2650
2651        <!-- translation in y of the view. This value is added post-layout to the top
2652             property of the view, which is set by its layout. -->
2653        <attr name="translationY" format="dimension" />
2654
2655        <!-- translation in z of the view. This value is added to its elevation. -->
2656        <attr name="translationZ" format="dimension" />
2657
2658        <!-- x location of the pivot point around which the view will rotate and scale.
2659             This xml attribute sets the pivotX property of the View. -->
2660        <attr name="transformPivotX" format="dimension" />
2661
2662        <!-- y location of the pivot point around which the view will rotate and scale.
2663             This xml attribute sets the pivotY property of the View. -->
2664        <attr name="transformPivotY" format="dimension" />
2665
2666        <!-- rotation of the view, in degrees. -->
2667        <attr name="rotation" format="float" />
2668
2669        <!-- rotation of the view around the x axis, in degrees. -->
2670        <attr name="rotationX" format="float" />
2671
2672        <!-- rotation of the view around the y axis, in degrees. -->
2673        <attr name="rotationY" format="float" />
2674
2675        <!-- scale of the view in the x direction. -->
2676        <attr name="scaleX" format="float" />
2677
2678        <!-- scale of the view in the y direction. -->
2679        <attr name="scaleY" format="float" />
2680
2681        <!-- Determines which side the vertical scroll bar should be placed on. -->
2682        <attr name="verticalScrollbarPosition">
2683            <!-- Place the scroll bar wherever the system default determines. -->
2684            <enum name="defaultPosition" value="0" />
2685            <!-- Place the scroll bar on the left. -->
2686            <enum name="left" value="1" />
2687            <!-- Place the scroll bar on the right. -->
2688            <enum name="right" value="2" />
2689        </attr>
2690
2691        <!-- Specifies the type of layer backing this view. The default value is none.
2692             Refer to {@link android.view.View#setLayerType(int, android.graphics.Paint)}
2693             for more information.-->
2694        <attr name="layerType">
2695            <!-- Don't use a layer. -->
2696            <enum name="none" value="0" />
2697            <!-- Use a software layer. Refer to
2698                 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for
2699                 more information. -->
2700            <enum name="software" value="1" />
2701            <!-- Use a hardware layer. Refer to
2702                 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for
2703                 more information. -->
2704            <enum name="hardware" value="2" />
2705        </attr>
2706
2707        <!-- Defines the direction of layout drawing. This typically is associated with writing
2708             direction of the language script used. The possible values are "ltr" for Left-to-Right,
2709             "rtl" for Right-to-Left, "locale", and "inherit" from parent view. If there is nothing
2710             to inherit, "locale" is used. "locale" falls back to "en-US". "ltr" is the direction
2711             used in "en-US". The default for this attribute is "inherit". -->
2712        <attr name="layoutDirection">
2713            <!-- Left-to-Right. -->
2714            <enum name="ltr" value="0" />
2715            <!-- Right-to-Left. -->
2716            <enum name="rtl" value="1" />
2717            <!-- Inherit from parent. -->
2718            <enum name="inherit" value="2" />
2719            <!-- Locale. -->
2720            <enum name="locale" value="3" />
2721        </attr>
2722
2723        <!-- Defines the direction of the text. -->
2724         <attr name="textDirection" format="integer">
2725            <!-- Default. -->
2726            <enum name="inherit" value="0" />
2727            <!-- Default for the root view. The first strong directional character determines the
2728                 paragraph direction.  If there is no strong directional character, the paragraph
2729                 direction is the view’s resolved layout direction. -->
2730            <enum name="firstStrong" value="1" />
2731            <!-- The paragraph direction is RTL if it contains any strong RTL character, otherwise
2732                 it is LTR if it contains any strong LTR characters.  If there are neither, the
2733                 paragraph direction is the view’s resolved layout direction. -->
2734            <enum name="anyRtl" value="2" />
2735            <!-- The paragraph direction is left to right. -->
2736            <enum name="ltr" value="3" />
2737            <!-- The paragraph direction is right to left. -->
2738            <enum name="rtl" value="4" />
2739            <!-- The paragraph direction is coming from the system Locale. -->
2740            <enum name="locale" value="5" />
2741            <!-- The first strong directional character determines the paragraph direction. If
2742                 there is no strong directional character, the paragraph direction is LTR. -->
2743            <enum name="firstStrongLtr" value="6" />
2744            <!-- The first strong directional character determines the paragraph direction. If
2745                 there is no strong directional character, the paragraph direction is RTL. -->
2746            <enum name="firstStrongRtl" value="7" />
2747        </attr>
2748
2749        <!-- Defines the alignment of the text. -->
2750        <attr name="textAlignment" format="integer">
2751            <!-- Default. -->
2752            <enum name="inherit" value="0" />
2753            <!-- Default for the root view. The gravity determines the alignment, ALIGN_NORMAL,
2754                ALIGN_CENTER, or ALIGN_OPPOSITE, which are relative to each paragraph’s
2755                text direction. -->
2756            <enum name="gravity" value="1" />
2757            <!-- Align to the start of the paragraph, for example: ALIGN_NORMAL. -->
2758            <enum name="textStart" value="2" />
2759            <!-- Align to the end of the paragraph, for example: ALIGN_OPPOSITE. -->
2760            <enum name="textEnd" value="3" />
2761            <!-- Center the paragraph, for example: ALIGN_CENTER. -->
2762            <enum name="center" value="4" />
2763            <!-- Align to the start of the view, which is ALIGN_LEFT if the view’s resolved
2764                layoutDirection is LTR, and ALIGN_RIGHT otherwise. -->
2765            <enum name="viewStart" value="5" />
2766            <!-- Align to the end of the view, which is ALIGN_RIGHT if the view’s resolved
2767                layoutDirection is LTR, and ALIGN_LEFT otherwise. -->
2768            <enum name="viewEnd" value="6" />
2769        </attr>
2770
2771        <!-- Describes whether or not this view is important for accessibility.
2772             If it is important, the view fires accessibility events and is
2773             reported to accessibility services that query the screen. Note:
2774             While not recommended, an accessibility service may decide to
2775             ignore this attribute and operate on all views in the view tree. -->
2776        <attr name="importantForAccessibility" format="integer">
2777            <!-- The system determines whether the view is important for accessibility - default
2778                 (recommended). -->
2779            <enum name="auto" value="0" />
2780            <!-- The view is important for accessibility. -->
2781            <enum name="yes" value="1" />
2782            <!-- The view is not important for accessibility. -->
2783            <enum name="no" value="2" />
2784            <!-- The view is not important for accessibility, nor are any of its descendant
2785                 views. -->
2786            <enum name="noHideDescendants" value="4" />
2787        </attr>
2788
2789        <!-- Indicates to accessibility services whether the user should be notified when
2790             this view changes. -->
2791        <attr name="accessibilityLiveRegion" format="integer">
2792            <!-- Accessibility services should not announce changes to this view. -->
2793            <enum name="none" value="0" />
2794            <!-- Accessibility services should announce changes to this view. -->
2795            <enum name="polite" value="1" />
2796            <!-- Accessibility services should interrupt ongoing speech to immediately
2797                 announce changes to this view. -->
2798            <enum name="assertive" value="2" />
2799        </attr>
2800
2801        <!-- Specifies the id of a view for which this view serves as a label for
2802             accessibility purposes. For example, a TextView before an EditText in
2803             the UI usually specifies what infomation is contained in the EditText.
2804             Hence, the TextView is a label for the EditText. -->
2805        <attr name="labelFor" format="reference" />
2806
2807        <!-- Specifies a theme override for a view. When a theme override is set, the
2808             view will be inflated using a {@link android.content.Context} themed with
2809             the specified resource. During XML inflation, any child views under the
2810             view with a theme override will inherit the themed context. -->
2811        <attr name="theme" />
2812
2813        <!-- Names a View such that it can be identified for Transitions. Names should be
2814             unique in the View hierarchy. -->
2815        <attr name="transitionName" format="string" />
2816
2817        <!-- Specifies that this view should permit nested scrolling within a compatible
2818             ancestor view. -->
2819        <attr name="nestedScrollingEnabled" format="boolean" />
2820
2821        <!-- Sets the state-based animator for the View. -->
2822        <attr name="stateListAnimator" format="reference"/>
2823
2824        <!-- Tint to apply to the background. -->
2825        <attr name="backgroundTint" format="color" />
2826
2827        <!-- Blending mode used to apply the background tint. -->
2828        <attr name="backgroundTintMode">
2829            <!-- The tint is drawn on top of the drawable.
2830                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
2831            <enum name="src_over" value="3" />
2832            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
2833                 color channels are thrown out. [Sa * Da, Sc * Da] -->
2834            <enum name="src_in" value="5" />
2835            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
2836                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
2837            <enum name="src_atop" value="9" />
2838            <!-- Multiplies the color and alpha channels of the drawable with those of
2839                 the tint. [Sa * Da, Sc * Dc] -->
2840            <enum name="multiply" value="14" />
2841            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
2842            <enum name="screen" value="15" />
2843            <!-- Combines the tint and drawable color and alpha channels, clamping the
2844                 result to valid color values. Saturate(S + D) -->
2845            <enum name="add" value="16" />
2846        </attr>
2847
2848        <!-- ViewOutlineProvider used to determine the View's Outline. -->
2849        <attr name="outlineProvider">
2850            <!-- Default, background drawable-driven outline. -->
2851            <enum name="background" value="0" />
2852            <!-- No outline provider. -->
2853            <enum name="none" value="1" />
2854            <!-- Generates an opaque outline for the bounds of the view. -->
2855            <enum name="bounds" value="2" />
2856            <!-- Generates an opaque outline for the padded bounds of the view. -->
2857            <enum name="paddedBounds" value="3" />
2858        </attr>
2859
2860        <!-- Defines the drawable to draw over the content. This can be used as an overlay.
2861             The foreground drawable participates in the padding of the content if the gravity
2862             is set to fill. -->
2863        <attr name="foreground" format="reference|color" />
2864        <!-- Defines the gravity to apply to the foreground drawable. The gravity defaults
2865             to fill. -->
2866        <attr name="foregroundGravity">
2867            <!-- Push object to the top of its container, not changing its size. -->
2868            <flag name="top" value="0x30" />
2869            <!-- Push object to the bottom of its container, not changing its size. -->
2870            <flag name="bottom" value="0x50" />
2871            <!-- Push object to the left of its container, not changing its size. -->
2872            <flag name="left" value="0x03" />
2873            <!-- Push object to the right of its container, not changing its size. -->
2874            <flag name="right" value="0x05" />
2875            <!-- Place object in the vertical center of its container, not changing its size. -->
2876            <flag name="center_vertical" value="0x10" />
2877            <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
2878            <flag name="fill_vertical" value="0x70" />
2879            <!-- Place object in the horizontal center of its container, not changing its size. -->
2880            <flag name="center_horizontal" value="0x01" />
2881            <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
2882            <flag name="fill_horizontal" value="0x07" />
2883            <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
2884            <flag name="center" value="0x11" />
2885            <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
2886            <flag name="fill" value="0x77" />
2887            <!-- Additional option that can be set to have the top and/or bottom edges of
2888                 the child clipped to its container's bounds.
2889                 The clip will be based on the vertical gravity: a top gravity will clip the bottom
2890                 edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
2891            <flag name="clip_vertical" value="0x80" />
2892            <!-- Additional option that can be set to have the left and/or right edges of
2893                 the child clipped to its container's bounds.
2894                 The clip will be based on the horizontal gravity: a left gravity will clip the right
2895                 edge, a right gravity will clip the left edge, and neither will clip both edges. -->
2896            <flag name="clip_horizontal" value="0x08" />
2897        </attr>
2898        <!-- Defines whether the foreground drawable should be drawn inside the padding.
2899             This property is turned on by default. -->
2900        <attr name="foregroundInsidePadding" format="boolean" />
2901        <!-- Tint to apply to the foreground. -->
2902        <attr name="foregroundTint" format="color" />
2903        <!-- Blending mode used to apply the foreground tint. -->
2904        <attr name="foregroundTintMode">
2905            <!-- The tint is drawn on top of the drawable.
2906                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
2907            <enum name="src_over" value="3" />
2908            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
2909                 color channels are thrown out. [Sa * Da, Sc * Da] -->
2910            <enum name="src_in" value="5" />
2911            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
2912                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
2913            <enum name="src_atop" value="9" />
2914            <!-- Multiplies the color and alpha channels of the drawable with those of
2915                 the tint. [Sa * Da, Sc * Dc] -->
2916            <enum name="multiply" value="14" />
2917            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
2918            <enum name="screen" value="15" />
2919            <!-- Combines the tint and drawable color and alpha channels, clamping the
2920                 result to valid color values. Saturate(S + D) -->
2921            <enum name="add" value="16" />
2922        </attr>
2923
2924        <!-- Defines which scroll indicators should be displayed when the view
2925             can be scrolled. Multiple values may be combined using logical OR,
2926             for example "top|bottom". -->
2927        <attr name="scrollIndicators">
2928            <!-- No scroll indicators are displayed. -->
2929            <flag name="none" value="0x00" />
2930            <!-- Displays top scroll indicator when view can be scrolled up. -->
2931            <flag name="top" value="0x01" />
2932            <!-- Displays bottom scroll indicator when vew can be scrolled down. -->
2933            <flag name="bottom" value="0x02" />
2934            <!-- Displays left scroll indicator when vew can be scrolled left. -->
2935            <flag name="left" value="0x04" />
2936            <!-- Displays right scroll indicator when vew can be scrolled right. -->
2937            <flag name="right" value="0x08" />
2938            <!-- Displays right scroll indicator when vew can be scrolled in the
2939                 start direction. -->
2940            <flag name="start" value="0x10" />
2941            <!-- Displays right scroll indicator when vew can be scrolled in the
2942                 end direction. -->
2943            <flag name="end" value="0x20" />
2944        </attr>
2945
2946        <attr name="pointerIcon">
2947            <!-- Null icon, pointer becomes invisible. -->
2948            <enum name="none" value="0" />
2949            <!-- The default icon of arrow pointer. -->
2950            <enum name="arrow" value="1000" />
2951            <!-- Pointer icon indicating context-menu will appear. -->
2952            <enum name="context_menu" value="1001" />
2953            <!-- Pointer icon of a hand with the index finger. -->
2954            <enum name="hand" value="1002" />
2955            <!-- Pointer icon indicating help. -->
2956            <enum name="help" value="1003" />
2957            <!-- Pointer icon indicating something is going on and waiting. -->
2958            <enum name="wait" value="1004" />
2959            <!-- Pointer icon for cell and grid. -->
2960            <enum name="cell" value="1006" />
2961            <!-- Pointer icon of crosshair, indicating to spot a location. -->
2962            <enum name="crosshair" value="1007" />
2963            <!-- Pointer icon of I-beam, usually for text. -->
2964            <enum name="text" value="1008" />
2965            <!-- Pointer icon of I-beam with 90-degree rotated, for vertical text. -->
2966            <enum name="vertical_text" value="1009" />
2967            <!-- Pointer icon of 'alias', indicating an alias of/shortcut to something is to be
2968                 created. -->
2969            <enum name="alias" value="1010" />
2970            <!-- Pointer icon of 'copy', used for drag/drop. -->
2971            <enum name="copy" value="1011" />
2972            <!-- Pointer icon of 'no-drop', indicating the drop will not be accepted at the
2973                 current location. -->
2974            <enum name="no_drop" value="1012" />
2975            <!-- Pointer icon of four-way arrows, indicating scrolling all direction. -->
2976            <enum name="all_scroll" value="1013" />
2977            <!-- Pointer icon of horizontal double arrow, indicating horizontal resize. -->
2978            <enum name="horizontal_double_arrow" value="1014" />
2979            <!-- Pointer icon of vertical double arrow, indicating vertical resize. -->
2980            <enum name="vertical_double_arrow" value="1015" />
2981            <!-- Pointer icon of diagonal double arrow, starting from top-right to bottom-left.
2982                 Indicating freeform resize. -->
2983            <enum name="top_right_diagonal_double_arrow" value="1016" />
2984            <!-- Pointer icon of diagonal double arrow, starting from top-left to bottom-right.
2985                 Indicating freeform resize. -->
2986            <enum name="top_left_diagonal_double_arrow" value="1017" />
2987            <!-- Pointer icon indicating zoom-in. -->
2988            <enum name="zoom_in" value="1018" />
2989            <!-- Pointer icon indicating zoom-out. -->
2990            <enum name="zoom_out" value="1019" />
2991            <!-- Pointer icon of a hand sign to grab something. -->
2992            <enum name="grab" value="1020" />
2993            <!-- Pointer icon of a hand sign while grabbing something. -->
2994            <enum name="grabbing" value="1021" />
2995        </attr>
2996
2997        <!-- Whether this view has elements that may overlap when drawn. See
2998             {@link android.view.View#forceHasOverlappingRendering(boolean)}. -->
2999        <attr name="forceHasOverlappingRendering" format="boolean" />
3000
3001        <!-- Defines text displayed in a small popup window on hover or long press. -->
3002        <attr name="tooltipText" format="string" localization="suggested" />
3003
3004        <!-- Whether this view is a root of a keyboard navigation cluster.
3005             See {@link android.view.View#setKeyboardNavigationCluster(boolean)}. -->
3006        <attr name="keyboardNavigationCluster" format="boolean" />
3007
3008        <attr name="__removed0" format="boolean" />
3009
3010        <!-- Defines the next keyboard navigation cluster.
3011
3012             If the reference refers to a view that does not exist or is part
3013             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
3014             will result when the reference is accessed.-->
3015        <attr name="nextClusterForward" format="reference"/>
3016
3017        <attr name="__removed1" format="reference"/>
3018
3019        <!-- Whether this view is a default-focus view.
3020             Only one view per keyboard navigation cluster can have this attribute set to true.
3021             See {@link android.view.View#setFocusedByDefault(boolean)}. -->
3022        <attr name="focusedByDefault" format="boolean" />
3023
3024        <!-- Whether this View should use a default focus highlight when it gets focused but
3025             doesn't have {@link android.R.attr#state_focused} defined in its background. -->
3026        <attr name="defaultFocusHighlightEnabled" format="boolean" />
3027
3028        <!-- Whether this view should be treated as a focusable unit by screen reader accessibility
3029             tools. See {@link android.view.View#setScreenReaderFocusable(boolean)}. The default
3030             value, {@code false}, leaves the screen reader to consider other signals, such as
3031             focusability or the presence of text, to decide what it focus.-->
3032        <attr name="screenReaderFocusable" format="boolean" />
3033    </declare-styleable>
3034
3035    <!-- Attributes that can be assigned to a tag for a particular View. -->
3036    <declare-styleable name="ViewTag">
3037        <!-- Specifies the key identifying a tag. This must be a resource reference. -->
3038        <attr name="id" />
3039        <!-- Specifies the value with which to tag the view. -->
3040        <attr name="value" />
3041    </declare-styleable>
3042
3043    <!-- Attributes that can be assigned to an &lt;include&gt; tag.
3044         @hide -->
3045    <declare-styleable name="Include">
3046        <attr name="id" />
3047        <attr name="visibility" />
3048    </declare-styleable>
3049
3050    <!-- Attributes that can be used with a {@link android.view.ViewGroup} or any
3051         of its subclasses.  Also see {@link #ViewGroup_Layout} for
3052         attributes that this class processes in its children. -->
3053    <declare-styleable name="ViewGroup">
3054        <!-- Defines whether changes in layout (caused by adding and removing items) should
3055             cause a LayoutTransition to run. When this flag is set to true, a default
3056             LayoutTransition object will be set on the ViewGroup container and default
3057             animations will run when these layout changes occur.-->
3058        <attr name="animateLayoutChanges" format="boolean" />
3059        <!-- Defines whether a child is limited to draw inside of its bounds or not.
3060             This is useful with animations that scale the size of the children to more
3061             than 100% for instance. In such a case, this property should be set to false
3062             to allow the children to draw outside of their bounds. The default value of
3063             this property is true. -->
3064        <attr name="clipChildren" format="boolean" />
3065        <!-- Defines whether the ViewGroup will clip its children and resize (but not clip) any
3066             EdgeEffect to its padding, if padding is not zero. This property is set to true by
3067             default. -->
3068        <attr name="clipToPadding" format="boolean" />
3069        <!-- Defines the layout animation to use the first time the ViewGroup is laid out.
3070             Layout animations can also be started manually after the first layout. -->
3071        <attr name="layoutAnimation" format="reference" />
3072        <!-- Defines whether layout animations should create a drawing cache for their
3073             children. Enabling the animation cache consumes more memory and requires
3074             a longer initialization but provides better performance. The animation
3075             cache is enabled by default. -->
3076        <attr name="animationCache" format="boolean" />
3077        <!-- Defines the persistence of the drawing cache. The drawing cache might be
3078             enabled by a ViewGroup for all its children in specific situations (for
3079             instance during a scrolling.) This property lets you persist the cache
3080             in memory after its initial usage. Persisting the cache consumes more
3081             memory but may prevent frequent garbage collection is the cache is created
3082             over and over again. By default the persistence is set to scrolling.
3083             Deprecated: The view drawing cache was largely made obsolete with the introduction of
3084             hardware-accelerated rendering in API 11. -->
3085        <attr name="persistentDrawingCache">
3086            <!-- The drawing cache is not persisted after use. -->
3087            <flag name="none" value="0x0" />
3088            <!-- The drawing cache is persisted after a layout animation. -->
3089            <flag name="animation" value="0x1" />
3090            <!-- The drawing cache is persisted after a scroll. -->
3091            <flag name="scrolling" value="0x2" />
3092            <!-- The drawing cache is always persisted. -->
3093            <flag name="all" value="0x3" />
3094        </attr>
3095        <!-- Defines whether the ViewGroup should always draw its children using their
3096             drawing cache or not. The default value is true.
3097             Deprecated: The view drawing cache was largely made obsolete with the introduction of
3098             hardware-accelerated rendering in API 11. -->
3099        <attr name="alwaysDrawnWithCache" format="boolean" />
3100        <!-- Sets whether this ViewGroup's drawable states also include
3101             its children's drawable states.  This is used, for example, to
3102             make a group appear to be focused when its child EditText or button
3103             is focused. -->
3104        <attr name="addStatesFromChildren" format="boolean" />
3105
3106        <!-- Defines the relationship between the ViewGroup and its descendants
3107             when looking for a View to take focus. -->
3108        <attr name="descendantFocusability">
3109            <!-- The ViewGroup will get focus before any of its descendants. -->
3110            <enum name="beforeDescendants" value="0" />
3111            <!-- The ViewGroup will get focus only if none of its descendants want it. -->
3112            <enum name="afterDescendants" value="1" />
3113            <!-- The ViewGroup will block its descendants from receiving focus. -->
3114            <enum name="blocksDescendants" value="2" />
3115        </attr>
3116
3117        <!-- Set to true if this ViewGroup blocks focus in the presence of a touchscreen. -->
3118        <attr name="touchscreenBlocksFocus" format="boolean" />
3119
3120        <!-- Sets whether this ViewGroup should split MotionEvents
3121             to separate child views during touch event dispatch.
3122             If false (default), touch events will be dispatched to
3123             the child view where the first pointer went down until
3124             the last pointer goes up.
3125             If true, touch events may be dispatched to multiple children.
3126             MotionEvents for each pointer will be dispatched to the child
3127             view where the initial ACTION_DOWN event happened.
3128             See {@link android.view.ViewGroup#setMotionEventSplittingEnabled(boolean)}
3129             for more information. -->
3130        <attr name="splitMotionEvents" format="boolean" />
3131
3132        <!-- Defines the layout mode of this ViewGroup. -->
3133        <attr name="layoutMode">
3134            <!-- Use the children's clip bounds when laying out this container. -->
3135            <enum name="clipBounds" value="0" />
3136            <!-- Use the children's optical bounds when laying out this container. -->
3137            <enum name="opticalBounds" value="1" />
3138        </attr>
3139
3140        <!-- Sets whether or not this ViewGroup should be treated as a single entity
3141             when doing an Activity transition. Typically, the elements inside a
3142             ViewGroup are each transitioned from the scene individually. The default
3143             for a ViewGroup is false unless it has a background. See
3144             {@link android.app.ActivityOptions#makeSceneTransitionAnimation(android.app.Activity,
3145             android.view.View, String)} for more information. Corresponds to
3146             {@link android.view.ViewGroup#setTransitionGroup(boolean)}.-->
3147        <attr name="transitionGroup" format="boolean" />
3148    </declare-styleable>
3149
3150    <!-- A {@link android.view.ViewStub} lets you lazily include other XML layouts
3151         inside your application at runtime. -->
3152    <declare-styleable name="ViewStub">
3153        <!-- Supply an identifier name for this view. -->
3154        <attr name="id" />
3155        <!-- Supply an identifier for the layout resource to inflate when the ViewStub
3156             becomes visible or when forced to do so. The layout resource must be a
3157             valid reference to a layout. -->
3158        <attr name="layout" format="reference" />
3159        <!-- Overrides the id of the inflated View with this value. -->
3160        <attr name="inflatedId" format="reference" />
3161    </declare-styleable>
3162
3163    <!-- ===================================== -->
3164    <!-- View package parent layout attributes -->
3165    <!-- ===================================== -->
3166    <eat-comment />
3167
3168    <!-- This is the basic set of layout attributes that are common to all
3169         layout managers.  These attributes are specified with the rest of
3170         a view's normal attributes (such as {@link android.R.attr#background},
3171         but will be parsed by the view's parent and ignored by the child.
3172        <p>The values defined here correspond to the base layout attribute
3173        class {@link android.view.ViewGroup.LayoutParams}. -->
3174    <declare-styleable name="ViewGroup_Layout">
3175        <!-- Specifies the basic width of the view.  This is a required attribute
3176             for any view inside of a containing layout manager.  Its value may
3177             be a dimension (such as "12dip") for a constant width or one of
3178             the special constants. -->
3179        <attr name="layout_width" format="dimension">
3180            <!-- The view should be as big as its parent (minus padding).
3181                 This constant is deprecated starting from API Level 8 and
3182                 is replaced by {@code match_parent}. -->
3183            <enum name="fill_parent" value="-1" />
3184            <!-- The view should be as big as its parent (minus padding).
3185                 Introduced in API Level 8. -->
3186            <enum name="match_parent" value="-1" />
3187            <!-- The view should be only big enough to enclose its content (plus padding). -->
3188            <enum name="wrap_content" value="-2" />
3189        </attr>
3190
3191        <!-- Specifies the basic height of the view.  This is a required attribute
3192             for any view inside of a containing layout manager.  Its value may
3193             be a dimension (such as "12dip") for a constant height or one of
3194             the special constants. -->
3195        <attr name="layout_height" format="dimension">
3196            <!-- The view should be as big as its parent (minus padding).
3197                 This constant is deprecated starting from API Level 8 and
3198                 is replaced by {@code match_parent}. -->
3199            <enum name="fill_parent" value="-1" />
3200            <!-- The view should be as big as its parent (minus padding).
3201                 Introduced in API Level 8. -->
3202            <enum name="match_parent" value="-1" />
3203            <!-- The view should be only big enough to enclose its content (plus padding). -->
3204            <enum name="wrap_content" value="-2" />
3205        </attr>
3206    </declare-styleable>
3207
3208    <!-- This is the basic set of layout attributes for layout managers that
3209         wish to place margins around their child views.
3210         These attributes are specified with the rest of
3211         a view's normal attributes (such as {@link android.R.attr#background},
3212         but will be parsed by the view's parent and ignored by the child.
3213        <p>The values defined here correspond to the base layout attribute
3214        class {@link android.view.ViewGroup.MarginLayoutParams}. -->
3215    <declare-styleable name="ViewGroup_MarginLayout">
3216        <attr name="layout_width" />
3217        <attr name="layout_height" />
3218        <!--  Specifies extra space on the left, top, right and bottom
3219              sides of this view.  If both layout_margin and any of layout_marginLeft,
3220              layout_marginRight, layout_marginStart, layout_marginEnd,
3221              layout_marginTop, and layout_marginBottom are
3222              also specified, the layout_margin value will take precedence over the
3223              edge-specific values. This space is outside this view's bounds.
3224              Margin values should be positive. -->
3225        <attr name="layout_margin" format="dimension"  />
3226        <!--  Specifies extra space on the left side of this view.
3227              This space is outside this view's bounds.
3228              Margin values should be positive. -->
3229        <attr name="layout_marginLeft" format="dimension"  />
3230        <!--  Specifies extra space on the top side of this view.
3231              This space is outside this view's bounds.
3232              Margin values should be positive.-->
3233        <attr name="layout_marginTop" format="dimension" />
3234        <!--  Specifies extra space on the right side of this view.
3235              This space is outside this view's bounds.
3236              Margin values should be positive.-->
3237        <attr name="layout_marginRight" format="dimension"  />
3238        <!--  Specifies extra space on the bottom side of this view.
3239              This space is outside this view's bounds.
3240              Margin values should be positive.-->
3241        <attr name="layout_marginBottom" format="dimension"  />
3242        <!--  Specifies extra space on the start side of this view.
3243              This space is outside this view's bounds.
3244              Margin values should be positive.-->
3245        <attr name="layout_marginStart" format="dimension"  />
3246        <!--  Specifies extra space on the end side of this view.
3247              This space is outside this view's bounds.
3248              Margin values should be positive.-->
3249        <attr name="layout_marginEnd" format="dimension"  />
3250        <!--  Specifies extra space on the left and right sides of this view.
3251              Specifying layout_marginHorizontal is equivalent to specifying
3252              layout_marginLeft and layout_marginRight.
3253              If both layout_marginHorizontal and either/both of layout_marginLeft
3254              and layout_marginRight are also specified, the layout_marginHorizontal
3255              value will take precedence over the
3256              edge-specific values. Also, layout_margin will always take precedence over
3257              any of these values, including layout_marginHorizontal.
3258              This space is outside this view's bounds.
3259              Margin values should be positive.-->
3260        <attr name="layout_marginHorizontal" format="dimension"  />
3261        <!--  Specifies extra space on the top and bottom sides of this view.
3262              Specifying layout_marginVertical is equivalent to specifying
3263              layout_marginTop and layout_marginBottom with that same value.
3264              If both layout_marginVertical and either/both of layout_marginTop and
3265              layout_marginBottom are also specified, the layout_marginVertical value
3266              will take precedence over the edge-specific values.
3267              Also, layout_margin will always take precedence over
3268              any of these values, including layout_marginVertical.
3269              This space is outside this view's bounds.
3270              Margin values should be positive.-->
3271        <attr name="layout_marginVertical" format="dimension"  />
3272    </declare-styleable>
3273
3274    <!-- Use <code>input-method</code> as the root tag of the XML resource that
3275         describes an
3276         {@link android.view.inputmethod.InputMethod} service, which is
3277         referenced from its
3278         {@link android.view.inputmethod.InputMethod#SERVICE_META_DATA}
3279         meta-data entry.  Described here are the attributes that can be
3280         included in that tag. -->
3281    <declare-styleable name="InputMethod">
3282        <!-- Component name of an activity that allows the user to modify
3283             the settings for this service. -->
3284        <attr name="settingsActivity" format="string" />
3285        <!-- Set to true in all of the configurations for which this input
3286             method should be considered an option as the default. -->
3287        <attr name="isDefault" format="boolean" />
3288        <!-- Set to true if this input method supports ways to switch to
3289             a next input method (for example, a globe key.). When this is true and
3290             InputMethodManager#shouldOfferSwitchingToNextInputMethod() returns true,
3291             the IME has to offer ways to invoke InputMethodManager#switchToNextInputMethod()
3292             accordingly.
3293             <p> Note that the system determines the most appropriate next input method
3294             and subtype in order to provide the consistent user experience in switching
3295             between IMEs and subtypes. -->
3296        <attr name="supportsSwitchingToNextInputMethod" format="boolean" />
3297        <!-- Specifies if an IME can only be used while a device is in VR mode or on a dedicated
3298             device -->
3299        <attr name="isVrOnly" format="boolean"/>
3300        <attr name="__removed2" format="boolean" />
3301    </declare-styleable>
3302
3303    <!-- This is the subtype of InputMethod. Subtype can describe locales (for example, en_US and
3304         fr_FR) and modes (for example, voice and keyboard), and is used for IME switch. This
3305         subtype allows the system to call the specified subtype of the IME directly. -->
3306    <declare-styleable name="InputMethod_Subtype">
3307        <!-- The name of the subtype. -->
3308        <attr name="label" />
3309        <!-- The icon of the subtype. -->
3310        <attr name="icon" />
3311        <!-- The locale of the subtype. This string should be a locale (for example en_US and fr_FR)
3312             and will be passed to the IME when the framework calls the IME
3313             with the subtype. This is also used by the framework to know the supported locales
3314             of the IME.  -->
3315        <attr name="imeSubtypeLocale" format="string" />
3316        <!-- The mode of the subtype. This string can be a mode (for example, voice and keyboard)
3317             and this string will be passed to the IME when the framework calls the IME with the
3318             subtype.  {@link android.view.inputmethod.InputMethodSubtype#getLocale()} returns the
3319             value specified in this attribute.  -->
3320        <attr name="imeSubtypeMode" format="string" />
3321        <!-- Set true if the subtype is auxiliary.  An auxiliary subtype won't be shown in the
3322             input method selection list in the settings app.
3323             InputMethodManager#switchToLastInputMethod will ignore auxiliary subtypes when it
3324             chooses a target subtype. -->
3325        <attr name="isAuxiliary" format="boolean" />
3326        <!-- Set true when this subtype should be selected by default if no other subtypes are
3327             selected explicitly. Note that a subtype with this parameter being true will
3328             not be shown in the subtypes list. -->
3329        <attr name="overridesImplicitlyEnabledSubtype" format="boolean" />
3330        <!-- The extra value of the subtype. This string can be any string and will be passed to
3331             the IME when the framework calls the IME with the subtype.  -->
3332        <attr name="imeSubtypeExtraValue" format="string" />
3333        <!-- The unique id for the subtype. The input method framework keeps track of enabled
3334             subtypes by ID. When the IME package gets upgraded, enabled IDs will stay enabled even
3335             if other attributes are different. If the ID is unspecified (by calling the other
3336             constructor or 0. Arrays.hashCode(new Object[] {locale, mode, extraValue,
3337             isAuxiliary, overridesImplicitlyEnabledSubtype}) will be used instead. -->
3338        <attr name="subtypeId" format="integer"/>
3339        <!-- Set to true if this subtype is ASCII capable. If the subtype is ASCII
3340             capable, it should guarantee that the user can input ASCII characters with
3341             this subtype. This is important because many password fields only allow
3342             ASCII-characters. -->
3343        <attr name="isAsciiCapable" format="boolean" />
3344        <!-- The BCP-47 Language Tag of the subtype.  This replaces
3345        {@link android.R.styleable#InputMethod_Subtype_imeSubtypeLocale}.  -->
3346        <attr name="languageTag" format="string" />
3347    </declare-styleable>
3348
3349    <!-- Use <code>spell-checker</code> as the root tag of the XML resource that
3350         describes an
3351         {@link android.service.textservice.SpellCheckerService} service, which is
3352         referenced from its
3353         {@link android.view.textservice.SpellCheckerSession#SERVICE_META_DATA}
3354         meta-data entry.  Described here are the attributes that can be
3355         included in that tag. -->
3356    <declare-styleable name="SpellChecker">
3357        <!-- The name of the spell checker. -->
3358        <attr name="label" />
3359        <!-- Component name of an activity that allows the user to modify
3360             the settings for this service. -->
3361        <attr name="settingsActivity"/>
3362    </declare-styleable>
3363
3364    <!-- This is the subtype of the spell checker. Subtype can describe locales (for example,
3365             en_US and fr_FR). -->
3366    <declare-styleable name="SpellChecker_Subtype">
3367        <!-- The name of the subtype. -->
3368        <attr name="label" />
3369        <!-- The locale of the subtype. This string should be a locale (for example, en_US and
3370             fr_FR). This is also used by the framework to know the supported locales
3371             of the spell checker. {@link android.view.textservice.SpellCheckerSubtype#getLocale()}
3372             returns the value specified in this attribute.  -->
3373        <attr name="subtypeLocale" format="string" />
3374        <!-- The extra value of the subtype. This string can be any string and will be passed to
3375             the SpellChecker.  -->
3376        <attr name="subtypeExtraValue" format="string" />
3377        <!-- The unique id for the subtype. The text service (spell checker) framework keeps track
3378             of enabled subtypes by ID. When the spell checker package gets upgraded, enabled IDs
3379             will stay enabled even if other attributes are different. If the ID is unspecified or
3380             explicitly specified to 0 in XML resources,
3381             {@code Arrays.hashCode(new Object[] {subtypeLocale, extraValue})} will be used instead.
3382              -->
3383        <attr name="subtypeId" />
3384        <!-- The BCP-47 Language Tag of the subtype.  This replaces
3385        {@link android.R.styleable#SpellChecker_Subtype_subtypeLocale}.  -->
3386        <attr name="languageTag" />
3387    </declare-styleable>
3388
3389    <!-- Use <code>accessibility-service</code> as the root tag of the XML resource that
3390         describes an {@link android.accessibilityservice.AccessibilityService} service,
3391         which is referenced from its
3392         {@link android.accessibilityservice.AccessibilityService#SERVICE_META_DATA}
3393         meta-data entry. -->
3394    <declare-styleable name="AccessibilityService">
3395        <!-- The event types this service would like to receive as specified in
3396             {@link android.view.accessibility.AccessibilityEvent}. This setting
3397             can be changed at runtime by calling
3398             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3399             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3400        <attr name="accessibilityEventTypes">
3401            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CLICKED} events.-->
3402            <flag name="typeViewClicked" value="0x00000001" />
3403            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_LONG_CLICKED} events. -->
3404            <flag name="typeViewLongClicked" value="0x00000002" />
3405            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SELECTED} events. -->
3406            <flag name="typeViewSelected" value="0x00000004" />
3407            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_FOCUSED} events. -->
3408            <flag name="typeViewFocused" value="0x00000008" />
3409            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_CHANGED} events. -->
3410            <flag name="typeViewTextChanged" value="0x00000010" />
3411            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_STATE_CHANGED} events. -->
3412            <flag name="typeWindowStateChanged" value="0x00000020" />
3413            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_NOTIFICATION_STATE_CHANGED} events. -->
3414            <flag name="typeNotificationStateChanged" value="0x00000040" />
3415            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_ENTER} events. -->
3416            <flag name="typeViewHoverEnter" value="0x00000080" />
3417            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_EXIT} events. -->
3418            <flag name="typeViewHoverExit" value="0x00000100" />
3419            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_START} events. -->
3420            <flag name="typeTouchExplorationGestureStart" value="0x00000200" />
3421            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_END} events. -->
3422            <flag name="typeTouchExplorationGestureEnd" value="0x00000400" />
3423            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_CONTENT_CHANGED} events. -->
3424            <flag name="typeWindowContentChanged" value="0x00000800" />
3425            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SCROLLED} events. -->
3426            <flag name="typeViewScrolled" value="0x000001000" />
3427            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_SELECTION_CHANGED} events. -->
3428            <flag name="typeViewTextSelectionChanged" value="0x000002000" />
3429            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ANNOUNCEMENT} events. -->
3430            <flag name="typeAnnouncement" value="0x00004000" />
3431            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUSED} events. -->
3432            <flag name="typeViewAccessibilityFocused" value="0x00008000" />
3433            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED} events. -->
3434            <flag name="typeViewAccessibilityFocusCleared" value="0x00010000" />
3435            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY} events. -->
3436            <flag name="typeViewTextTraversedAtMovementGranularity" value="0x00020000" />
3437            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_START} events. -->
3438            <flag name="typeGestureDetectionStart" value="0x00040000" />
3439            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_END} events. -->
3440            <flag name="typeGestureDetectionEnd" value="0x00080000" />
3441            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_START} events. -->
3442            <flag name="typeTouchInteractionStart" value="0x00100000" />
3443            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_END} events. -->
3444            <flag name="typeTouchInteractionEnd" value="0x00200000" />
3445            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOWS_CHANGED} events. -->
3446            <flag name="typeWindowsChanged" value="0x00400000" />
3447            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CONTEXT_CLICKED} events. -->
3448            <flag name="typeContextClicked" value="0x00800000" />
3449            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ASSIST_READING_CONTEXT} events. -->
3450            <flag name="typeAssistReadingContext" value="0x01000000" />
3451            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPES_ALL_MASK} i.e. all events. -->
3452            <flag name="typeAllMask" value="0xffffffff" />
3453        </attr>
3454        <!-- Comma separated package names from which this service would like to receive events (leave out for all packages).
3455             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3456             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3457        <attr name="packageNames" format="string" />
3458        <!-- The feedback types this service provides as specified in
3459             {@link android.accessibilityservice.AccessibilityServiceInfo}. This setting
3460             can be changed at runtime by calling
3461             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3462             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3463        <attr name="accessibilityFeedbackType">
3464            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_SPOKEN} feedback. -->
3465            <flag name="feedbackSpoken" value="0x00000001" />
3466            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_HAPTIC} feedback. -->
3467            <flag name="feedbackHaptic" value="0x00000002" />
3468            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_AUDIBLE} feedback. -->
3469            <flag name="feedbackAudible" value="0x00000004" />
3470            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_VISUAL} feedback. -->
3471            <flag name="feedbackVisual" value="0x00000008" />
3472            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_GENERIC} feedback. -->
3473            <flag name="feedbackGeneric" value="0x00000010" />
3474            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_ALL_MASK} feedback. -->
3475            <flag name="feedbackAllMask" value="0xffffffff" />
3476        </attr>
3477        <!-- The minimal period in milliseconds between two accessibility events of the same type
3478             are sent to this service. This setting can be changed at runtime by calling
3479             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3480             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3481        <attr name="notificationTimeout" format="integer" />
3482        <!-- Additional flags as specified in
3483             {@link android.accessibilityservice.AccessibilityServiceInfo}.
3484             This setting can be changed at runtime by calling
3485             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3486             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3487        <attr name="accessibilityFlags">
3488            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#DEFAULT}. -->
3489            <flag name="flagDefault" value="0x00000001" />
3490            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_INCLUDE_NOT_IMPORTANT_VIEWS}. -->
3491            <flag name="flagIncludeNotImportantViews" value="0x00000002" />
3492            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE}. -->
3493            <flag name="flagRequestTouchExplorationMode" value="0x00000004" />
3494            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY}.
3495                 Not used by the framework.
3496            -->
3497            <flag name="flagRequestEnhancedWebAccessibility" value="0x00000008" />
3498            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REPORT_VIEW_IDS}. -->
3499            <flag name="flagReportViewIds" value="0x00000010" />
3500            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS}. -->
3501            <flag name="flagRequestFilterKeyEvents" value="0x00000020" />
3502            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_RETRIEVE_INTERACTIVE_WINDOWS}. -->
3503            <flag name="flagRetrieveInteractiveWindows" value="0x00000040" />
3504            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_ENABLE_ACCESSIBILITY_VOLUME}. -->
3505            <flag name="flagEnableAccessibilityVolume" value="0x00000080" />
3506            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ACCESSIBILITY_BUTTON}. -->
3507            <flag name="flagRequestAccessibilityButton" value="0x00000100" />
3508            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FINGERPRINT_GESTURES}. -->
3509            <flag name="flagRequestFingerprintGestures" value="0x00000200" />
3510        </attr>
3511        <!-- Component name of an activity that allows the user to modify
3512             the settings for this service. This setting cannot be changed at runtime. -->
3513        <attr name="settingsActivity" />
3514        <!-- Attribute whether the accessibility service wants to be able to retrieve the
3515             active window content. This setting cannot be changed at runtime. -->
3516        <attr name="canRetrieveWindowContent" format="boolean" />
3517        <!-- Attribute whether the accessibility service wants to be able to request touch
3518             exploration mode in which touched items are spoken aloud and the UI can be
3519             explored via gestures.
3520             <p>
3521             Required to allow setting the {@link android.accessibilityservice
3522             #AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} flag.
3523             </p>
3524         -->
3525        <attr name="canRequestTouchExplorationMode" format="boolean" />
3526        <!-- Attribute whether the accessibility service wants to be able to request enhanced
3527             web accessibility enhancements.
3528             {@deprecated Not used by the framework}
3529         -->
3530        <attr name="canRequestEnhancedWebAccessibility" format="boolean" />
3531        <!-- Attribute whether the accessibility service wants to be able to request to
3532             filter key events.
3533             <p>
3534             Required to allow setting the {@link android.accessibilityservice
3535             #AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} flag.
3536             </p>
3537         -->
3538        <attr name="canRequestFilterKeyEvents" format="boolean" />
3539        <!-- Attribute whether the accessibility service wants to be able to control
3540             display magnification.
3541         -->
3542        <attr name="canControlMagnification" format="boolean" />
3543        <!-- Attribute whether the accessibility service wants to be able to perform gestures. -->
3544        <attr name="canPerformGestures" format="boolean" />
3545        <!-- Attribute whether the accessibility service wants to be able to capture gestures from
3546             the fingerprint sensor.
3547             <p>
3548             Required to allow setting the {@link android.accessibilityservice
3549             #AccessibilityServiceInfo#FLAG_REQUEST_FINGERPRINT_GESTURES} flag to have any effect.
3550             </p>
3551         -->
3552        <attr name="canRequestFingerprintGestures" format="boolean" />
3553        <!-- Short description of the accessibility service purpose or behavior.-->
3554        <attr name="description" />
3555        <!-- Brief summary of the accessibility service purpose or behavior. -->
3556        <attr name="summary" />
3557    </declare-styleable>
3558
3559    <!-- Use <code>print-service</code> as the root tag of the XML resource that
3560         describes an {@link android.printservice.PrintService} service, which is
3561         referenced from its {@link android.printservice.PrintService#SERVICE_META_DATA}
3562         meta-data entry. -->
3563    <declare-styleable name="PrintService">
3564        <!-- Fully qualified class name of an activity that allows the user to modify
3565             the settings for this service. -->
3566        <attr name="settingsActivity" />
3567        <!-- Fully qualified class name of an activity that allows the user to manually
3568             add printers to this print service. -->
3569        <attr name="addPrintersActivity" format="string"/>
3570        <!-- Fully qualified class name of an activity with advanced print options
3571             specific to this print service. -->
3572        <attr name="advancedPrintOptionsActivity" format="string"/>
3573        <!-- The vendor name if this print service is vendor specific. -->
3574        <attr name="vendor" format="string"/>
3575    </declare-styleable>
3576
3577    <!-- Use <code>host-apdu-service</code> as the root tag of the XML resource that
3578         describes an {@link android.nfc.cardemulation.HostApduService} service, which
3579         is referenced from its {@link android.nfc.cardemulation.HostApduService#SERVICE_META_DATA}
3580         entry. -->
3581    <declare-styleable name="HostApduService">
3582        <!-- Short description of the functionality the service implements. This attribute
3583             is mandatory.-->
3584        <attr name="description" />
3585        <!-- Whether the device must be unlocked before routing data to this service.
3586             The default is false.-->
3587        <attr name="requireDeviceUnlock" format="boolean"/>
3588        <!-- A drawable that can be rendered in Android's system UI for representing
3589             the service. -->
3590        <attr name="apduServiceBanner" format="reference"/>
3591        <!-- Component name of an activity that allows the user to modify
3592             the settings for this service. -->
3593        <attr name="settingsActivity"/>
3594    </declare-styleable>
3595
3596    <!-- Use <code>offhost-apdu-service</code> as the root tag of the XML resource that
3597         describes an {@link android.nfc.cardemulation.OffHostApduService}
3598         service, which is referenced from its
3599         {@link android.nfc.cardemulation.OffHostApduService#SERVICE_META_DATA} entry. -->
3600    <declare-styleable name="OffHostApduService">
3601        <!-- Short description of the functionality the service implements. This attribute
3602             is mandatory.-->
3603        <attr name="description" />
3604        <!-- A drawable that can be rendered in Android's system UI for representing
3605             the service. -->
3606        <attr name="apduServiceBanner"/>
3607        <!-- Component name of an activity that allows the user to modify
3608             the settings for this service. -->
3609        <attr name="settingsActivity"/>
3610    </declare-styleable>
3611
3612    <!-- Specify one or more <code>aid-group</code> elements inside a
3613         <code>host-apdu-service</code> or <code>offhost-apdu-service</code>
3614         element to define a group of ISO7816 Application ID (AIDs) that
3615         your service can handle.-->
3616    <declare-styleable name="AidGroup">
3617        <!-- Short description of what the AID group implements. This attribute is mandatory.-->
3618        <attr name="description" />
3619        <!-- The category attribute will be used by the Android platform to present
3620             multiple applications that register ISO 7816 Application IDs (AIDs) in the
3621             same category uniformly.
3622             Additionally, when a category is specified, Android will ensure that either
3623             all AIDs in this group are routed to this application, or none at all.
3624             This attribute is optional.-->
3625        <attr name="category" format="string" />
3626    </declare-styleable>
3627
3628    <!-- Specify one or more <code>aid-filter</code> elements inside a
3629         <code>aid-group</code> element to specify an ISO7816 Application ID (AID)
3630         your service can handle. -->
3631    <declare-styleable name="AidFilter">
3632        <!-- The ISO7816 Application ID. This attribute is mandatory. -->
3633        <attr name="name" />
3634    </declare-styleable>
3635
3636    <!-- Specify one or more <code>aid-prefix-filter</code> elements inside a
3637         <code>aid-group</code> element to specify an ISO7816 Application ID (AID)
3638         prefix your service can handle. -->
3639    <declare-styleable name="AidPrefixFilter">
3640        <!-- The ISO7816 Application ID. This attribute is mandatory. -->
3641        <attr name="name" />
3642    </declare-styleable>
3643
3644    <!-- Use <code>host-nfcf-service</code> as the root tag of the XML resource that
3645         describes an {@link android.nfc.cardemulation.HostNfcFService} service, which
3646         is referenced from its {@link android.nfc.cardemulation.HostNfcFService#SERVICE_META_DATA}
3647         entry. -->
3648    <declare-styleable name="HostNfcFService">
3649        <!-- Short description of the functionality the service implements. This attribute
3650             is mandatory.-->
3651        <attr name="description" />
3652    </declare-styleable>
3653
3654    <!-- Specify one or more <code>system-code-filter</code> elements inside a
3655         <code>host-nfcf-service</code> element to specify a System Code
3656         your service can handle. -->
3657    <declare-styleable name="SystemCodeFilter">
3658        <!-- The System Code. This attribute is mandatory. -->
3659        <attr name="name" />
3660    </declare-styleable>
3661
3662    <!-- Specify one or more <code>nfcid2-filter</code> elements inside a
3663         <code>host-nfcf-service</code> element to specify a NFCID2
3664         your service can handle. -->
3665    <declare-styleable name="Nfcid2Filter">
3666        <!-- The NFCID2. This attribute is mandatory. -->
3667        <attr name="name" />
3668    </declare-styleable>
3669
3670    <!-- Specify one or more <code>t3tPmm-filter</code> elements inside a
3671         <code>host-nfcf-service</code> element to specify a LF_T3T_PMM. -->
3672    <declare-styleable name="T3tPmmFilter">
3673        <attr name="name" />
3674
3675    </declare-styleable>
3676
3677    <declare-styleable name="ActionMenuItemView">
3678        <attr name="minWidth" />
3679    </declare-styleable>
3680
3681    <!-- =============================== -->
3682    <!-- Widget package class attributes -->
3683    <!-- =============================== -->
3684    <eat-comment />
3685
3686    <declare-styleable name="AbsListView">
3687         <!-- Drawable used to indicate the currently selected item in the list. -->
3688        <attr name="listSelector" format="color|reference" />
3689        <!-- When set to true, the selector will be drawn over the selected item.
3690             Otherwise the selector is drawn behind the selected item. The default
3691             value is false. -->
3692        <attr name="drawSelectorOnTop" format="boolean" />
3693        <!-- Used by ListView and GridView to stack their content from the bottom. -->
3694        <attr name="stackFromBottom" format="boolean" />
3695        <!-- When set to true, the list uses a drawing cache during scrolling.
3696             This makes the rendering faster but uses more memory. The default
3697             value is true. -->
3698        <attr name="scrollingCache" format="boolean" />
3699        <!-- When set to true, the list will filter results as the user types. The
3700             List's adapter must support the Filterable interface for this to work. -->
3701        <attr name="textFilterEnabled" format="boolean" />
3702        <!-- Sets the transcript mode for the list. In transcript mode, the list
3703             scrolls to the bottom to make new items visible when they are added. -->
3704        <attr name="transcriptMode">
3705            <!-- Disables transcript mode. This is the default value. -->
3706            <enum name="disabled" value="0"/>
3707            <!-- The list will automatically scroll to the bottom when
3708                 a data set change notification is received and only if the last item is
3709                 already visible on screen. -->
3710            <enum name="normal" value="1" />
3711            <!-- The list will automatically scroll to the bottom, no matter what items
3712                 are currently visible. -->
3713            <enum name="alwaysScroll" value="2" />
3714        </attr>
3715        <!-- Indicates that this list will always be drawn on top of solid, single-color
3716             opaque background. This allows the list to optimize drawing. -->
3717        <attr name="cacheColorHint" format="color" />
3718        <!-- Enables the fast scroll thumb that can be dragged to quickly scroll through
3719             the list. -->
3720        <attr name="fastScrollEnabled" format="boolean" />
3721        <!-- Specifies the style of the fast scroll decorations. -->
3722        <attr name="fastScrollStyle" format="reference" />
3723        <!-- When set to true, the list will use a more refined calculation
3724             method based on the pixels height of the items visible on screen. This
3725             property is set to true by default but should be set to false if your adapter
3726             will display items of varying heights. When this property is set to true and
3727             your adapter displays items of varying heights, the scrollbar thumb will
3728             change size as the user scrolls through the list. When set to false, the list
3729             will use only the number of items in the adapter and the number of items visible
3730             on screen to determine the scrollbar's properties. -->
3731        <attr name="smoothScrollbar" format="boolean" />
3732        <!-- Defines the choice behavior for the view. By default, lists do not have
3733             any choice behavior. By setting the choiceMode to singleChoice, the list
3734             allows up to one item to be in a chosen state. By setting the choiceMode to
3735             multipleChoice, the list allows any number of items to be chosen.
3736             Finally, by setting the choiceMode to multipleChoiceModal the list allows
3737             any number of items to be chosen in a special selection mode.
3738             The application will supply a
3739             {@link android.widget.AbsListView.MultiChoiceModeListener} using
3740             {@link android.widget.AbsListView#setMultiChoiceModeListener} to control the
3741             selection mode. This uses the {@link android.view.ActionMode} API. -->
3742        <attr name="choiceMode">
3743            <!-- Normal list that does not indicate choices. -->
3744            <enum name="none" value="0" />
3745            <!-- The list allows up to one choice. -->
3746            <enum name="singleChoice" value="1" />
3747            <!-- The list allows multiple choices. -->
3748            <enum name="multipleChoice" value="2" />
3749            <!-- The list allows multiple choices in a custom selection mode. -->
3750            <enum name="multipleChoiceModal" value="3" />
3751        </attr>
3752
3753        <!-- When set to true, the list will always show the fast scroll interface.
3754             This setting implies fastScrollEnabled. -->
3755        <attr name="fastScrollAlwaysVisible" format="boolean" />
3756    </declare-styleable>
3757    <!-- @hide -->
3758    <declare-styleable name="RecycleListView">
3759        <!-- Bottom padding to use when no buttons are present. -->
3760        <attr name="paddingBottomNoButtons" format="dimension" />
3761        <!-- Top padding to use when no title is present. -->
3762        <attr name="paddingTopNoTitle" format="dimension" />
3763    </declare-styleable>
3764    <declare-styleable name="AbsSpinner">
3765        <!-- Reference to an array resource that will populate the Spinner.  For static content,
3766             this is simpler than populating the Spinner programmatically. -->
3767        <attr name="entries" />
3768    </declare-styleable>
3769    <declare-styleable name="AnalogClock">
3770        <attr name="dial" format="reference"/>
3771        <attr name="hand_hour" format="reference"/>
3772        <attr name="hand_minute" format="reference"/>
3773    </declare-styleable>
3774    <declare-styleable name="Button">
3775    </declare-styleable>
3776    <declare-styleable name="Chronometer">
3777        <!-- Format string: if specified, the Chronometer will display this
3778             string, with the first "%s" replaced by the current timer value
3779             in "MM:SS" or "H:MM:SS" form.
3780             If no format string is specified, the Chronometer will simply display
3781             "MM:SS" or "H:MM:SS". -->
3782        <attr name="format" format="string" localization="suggested" />
3783        <!-- Specifies whether this Chronometer counts down or counts up from the base.
3784              If not specified this is false and the Chronometer counts up. -->
3785        <attr name="countDown" format="boolean" />
3786    </declare-styleable>
3787    <declare-styleable name="CompoundButton">
3788        <!-- Indicates the initial checked state of this button. -->
3789        <attr name="checked" format="boolean" />
3790        <!-- Drawable used for the button graphic (for example, checkbox and radio button). -->
3791        <attr name="button" format="reference" />
3792        <!-- Tint to apply to the button graphic. -->
3793        <attr name="buttonTint" format="color" />
3794        <!-- Blending mode used to apply the button graphic tint. -->
3795        <attr name="buttonTintMode">
3796            <!-- The tint is drawn on top of the drawable.
3797                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3798            <enum name="src_over" value="3" />
3799            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3800                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3801            <enum name="src_in" value="5" />
3802            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3803                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3804            <enum name="src_atop" value="9" />
3805            <!-- Multiplies the color and alpha channels of the drawable with those of
3806                 the tint. [Sa * Da, Sc * Dc] -->
3807            <enum name="multiply" value="14" />
3808            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3809            <enum name="screen" value="15" />
3810            <!-- Combines the tint and drawable color and alpha channels, clamping the
3811                 result to valid color values. Saturate(S + D) -->
3812            <enum name="add" value="16" />
3813        </attr>
3814    </declare-styleable>
3815    <declare-styleable name="CheckedTextView">
3816        <!-- Indicates the initial checked state of this text. -->
3817        <attr name="checked" />
3818        <!-- Drawable used for the check mark graphic. -->
3819        <attr name="checkMark" format="reference"/>
3820        <!-- Tint to apply to the check mark. -->
3821        <attr name="checkMarkTint" format="color" />
3822        <!-- Blending mode used to apply the check mark tint. -->
3823        <attr name="checkMarkTintMode">
3824            <!-- The tint is drawn on top of the drawable.
3825                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3826            <enum name="src_over" value="3" />
3827            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3828                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3829            <enum name="src_in" value="5" />
3830            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3831                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3832            <enum name="src_atop" value="9" />
3833            <!-- Multiplies the color and alpha channels of the drawable with those of
3834                 the tint. [Sa * Da, Sc * Dc] -->
3835            <enum name="multiply" value="14" />
3836            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3837            <enum name="screen" value="15" />
3838            <!-- Combines the tint and drawable color and alpha channels, clamping the
3839                 result to valid color values. Saturate(S + D) -->
3840            <enum name="add" value="16" />
3841        </attr>
3842        <!-- Gravity for aligning a CheckedTextView's checkmark to one side or the other. -->
3843        <attr name="checkMarkGravity">
3844            <!-- Push object to the left of its container, not changing its size. -->
3845            <flag name="left" value="0x03" />
3846            <!-- Push object to the right of its container, not changing its size. -->
3847            <flag name="right" value="0x05" />
3848            <!-- Push object to the beginning of its container, not changing its size. -->
3849            <flag name="start" value="0x00800003" />
3850            <!-- Push object to the end of its container, not changing its size. -->
3851            <flag name="end" value="0x00800005" />
3852        </attr>
3853    </declare-styleable>
3854    <declare-styleable name="EditText">
3855    </declare-styleable>
3856    <declare-styleable name="FastScroll">
3857        <!-- Drawable used for the scroll bar thumb. -->
3858        <attr name="thumbDrawable" format="reference" />
3859        <!-- Minimum width of the thumb. -->
3860        <attr name="thumbMinWidth" format="dimension" />
3861        <!-- Minimum height of the thumb. -->
3862        <attr name="thumbMinHeight" format="dimension" />
3863        <!-- Drawable used for the scroll bar track. -->
3864        <attr name="trackDrawable" format="reference" />
3865        <!-- Drawable used for the section header preview when right-aligned. -->
3866        <attr name="backgroundRight" format="reference" />
3867        <!-- Drawable used for the section header preview when left-aligned. -->
3868        <attr name="backgroundLeft" format="reference" />
3869        <!-- Position of section header preview. -->
3870        <attr name="position">
3871            <!-- Floating at the top of the content. -->
3872            <enum name="floating" value="0" />
3873            <!-- Pinned to the thumb, vertically centered with the middle of the thumb. -->
3874            <enum name="atThumb" value="1" />
3875            <!-- Pinned to the thumb, vertically centered with the top edge of the thumb. -->
3876            <enum name="aboveThumb" value="2" />
3877        </attr>
3878        <attr name="textAppearance" />
3879        <attr name="textColor" />
3880        <attr name="textSize" />
3881        <!-- Minimum width of the section header preview. -->
3882        <attr name="minWidth" />
3883        <!-- Minimum height of the section header preview. -->
3884        <attr name="minHeight" />
3885        <!-- Padding for the section header preview. -->
3886        <attr name="padding" />
3887        <!-- Position of thumb in relation to the track. -->
3888        <attr name="thumbPosition">
3889            <!-- The thumb's midpoint is anchored to the track. At its
3890                 extremes, the thumb will extend half-way outside the
3891                 track. -->
3892            <enum name="midpoint" value="0" />
3893            <!-- The thumb is entirely inside the track. At its extremes,
3894                 the thumb will be contained entirely within the track. -->
3895            <enum name="inside" value="1" />
3896        </attr>
3897    </declare-styleable>
3898    <declare-styleable name="FrameLayout">
3899        <!-- Determines whether to measure all children or just those in
3900             the VISIBLE or INVISIBLE state when measuring. Defaults to false. -->
3901        <attr name="measureAllChildren" format="boolean" />
3902    </declare-styleable>
3903    <declare-styleable name="ExpandableListView">
3904        <!-- Indicator shown beside the group View. This can be a stateful Drawable. -->
3905        <attr name="groupIndicator" format="reference" />
3906        <!-- Indicator shown beside the child View. This can be a stateful Drawable. -->
3907        <attr name="childIndicator" format="reference" />
3908        <!-- The left bound for an item's indicator. To specify a left bound specific to children,
3909             use childIndicatorLeft. -->
3910        <attr name="indicatorLeft" format="dimension" />
3911        <!-- The right bound for an item's indicator. To specify a right bound specific to children,
3912             use childIndicatorRight. -->
3913        <attr name="indicatorRight" format="dimension" />
3914        <!-- The left bound for a child's indicator. -->
3915        <attr name="childIndicatorLeft" format="dimension" />
3916        <!-- The right bound for a child's indicator. -->
3917        <attr name="childIndicatorRight" format="dimension" />
3918        <!-- Drawable or color that is used as a divider for children. (It will drawn
3919             below and above child items.) The height of this will be the same as
3920             the height of the normal list item divider. -->
3921        <attr name="childDivider" format="reference|color" />
3922        <!-- The start bound for an item's indicator. To specify a start bound specific to children,
3923             use childIndicatorStart. -->
3924        <attr name="indicatorStart" format="dimension" />
3925        <!-- The end bound for an item's indicator. To specify a right bound specific to children,
3926             use childIndicatorEnd. -->
3927        <attr name="indicatorEnd" format="dimension" />
3928        <!-- The start bound for a child's indicator. -->
3929        <attr name="childIndicatorStart" format="dimension" />
3930        <!-- The end bound for a child's indicator. -->
3931        <attr name="childIndicatorEnd" format="dimension" />
3932    </declare-styleable>
3933    <declare-styleable name="Gallery">
3934        <attr name="gravity" />
3935        <!-- Sets how long a transition animation should run (in milliseconds)
3936             when layout has changed.  Only relevant if animation is turned on. -->
3937        <attr name="animationDuration" format="integer" min="0" />
3938        <attr name="spacing" format="dimension" />
3939        <!-- Sets the alpha on the items that are not selected. -->
3940        <attr name="unselectedAlpha" format="float" />
3941    </declare-styleable>
3942    <declare-styleable name="GridView">
3943        <!-- Defines the default horizontal spacing between columns. -->
3944        <attr name="horizontalSpacing" format="dimension" />
3945        <!-- Defines the default vertical spacing between rows. -->
3946        <attr name="verticalSpacing" format="dimension" />
3947        <!-- Defines how columns should stretch to fill the available empty space, if any. -->
3948        <attr name="stretchMode">
3949            <!-- Stretching is disabled. -->
3950            <enum name="none" value="0"/>
3951            <!-- The spacing between each column is stretched. -->
3952            <enum name="spacingWidth" value="1" />
3953            <!-- Each column is stretched equally. -->
3954            <enum name="columnWidth" value="2" />
3955            <!-- The spacing between each column is uniformly stretched.. -->
3956            <enum name="spacingWidthUniform" value="3" />
3957        </attr>
3958        <!-- Specifies the fixed width for each column. -->
3959        <attr name="columnWidth" format="dimension" />
3960        <!-- Defines how many columns to show. -->
3961        <attr name="numColumns" format="integer" min="0">
3962            <!-- Display as many columns as possible to fill the available space. -->
3963            <enum name="auto_fit" value="-1" />
3964        </attr>
3965        <!-- Specifies the gravity within each cell. -->
3966        <attr name="gravity" />
3967    </declare-styleable>
3968    <declare-styleable name="ImageSwitcher">
3969    </declare-styleable>
3970    <declare-styleable name="ImageView">
3971        <!-- Sets a drawable as the content of this ImageView. -->
3972        <attr name="src" format="reference|color" />
3973        <!-- Controls how the image should be resized or moved to match the size
3974             of this ImageView.  See {@link android.widget.ImageView.ScaleType} -->
3975        <attr name="scaleType">
3976            <!-- Scale using the image matrix when drawing. See
3977                 {@link android.widget.ImageView#setImageMatrix(Matrix)}. -->
3978            <enum name="matrix" value="0" />
3979            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#FILL}. -->
3980            <enum name="fitXY" value="1" />
3981            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#START}. -->
3982            <enum name="fitStart" value="2" />
3983            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#CENTER}. -->
3984            <enum name="fitCenter" value="3" />
3985            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#END}. -->
3986            <enum name="fitEnd" value="4" />
3987            <!-- Center the image in the view, but perform no scaling. -->
3988            <enum name="center" value="5" />
3989            <!-- Scale the image uniformly (maintain the image's aspect ratio) so both dimensions
3990                 (width and height) of the image will be equal to or larger than the corresponding
3991                 dimension of the view (minus padding). The image is then centered in the view. -->
3992            <enum name="centerCrop" value="6" />
3993            <!-- Scale the image uniformly (maintain the image's aspect ratio) so that both
3994                 dimensions (width and height) of the image will be equal to or less than the
3995                 corresponding dimension of the view (minus padding). The image is then centered in
3996                 the view. -->
3997            <enum name="centerInside" value="7" />
3998        </attr>
3999        <!-- Set this to true if you want the ImageView to adjust its bounds
4000             to preserve the aspect ratio of its drawable. -->
4001        <attr name="adjustViewBounds" format="boolean" />
4002        <!-- An optional argument to supply a maximum width for this view.
4003             See {see android.widget.ImageView#setMaxWidth} for details. -->
4004        <attr name="maxWidth" format="dimension" />
4005        <!-- An optional argument to supply a maximum height for this view.
4006             See {see android.widget.ImageView#setMaxHeight} for details. -->
4007        <attr name="maxHeight" format="dimension" />
4008        <!-- The tinting color for the image. By default, the tint will blend using SRC_ATOP mode.
4009             Please note that for compatibility reasons, this is NOT consistent with the default
4010             SRC_IN tint mode used by {@link android.widget.ImageView#setImageTintList} and by
4011             similar tint attributes on other views. -->
4012        <attr name="tint" format="color" />
4013        <!-- If true, the image view will be baseline aligned with based on its
4014             bottom edge. -->
4015        <attr name="baselineAlignBottom" format="boolean" />
4016         <!-- If true, the image will be cropped to fit within its padding. -->
4017        <attr name="cropToPadding" format="boolean" />
4018        <!-- The offset of the baseline within this view. See {see android.view.View#getBaseline}
4019             for details -->
4020        <attr name="baseline" format="dimension" />
4021        <!-- @hide The alpha value (0-255) set on the ImageView's drawable. Equivalent
4022             to calling ImageView.setAlpha(int), not the same as View.setAlpha(float). -->
4023        <attr name="drawableAlpha" format="integer" />
4024        <!-- Blending mode used to apply the image tint. -->
4025        <attr name="tintMode" />
4026    </declare-styleable>
4027    <declare-styleable name="ToggleButton">
4028        <!-- The text for the button when it is checked. -->
4029        <attr name="textOn" format="string" />
4030        <!-- The text for the button when it is not checked. -->
4031        <attr name="textOff" format="string" />
4032        <!-- The alpha to apply to the indicator when disabled. -->
4033        <attr name="disabledAlpha" />
4034    </declare-styleable>
4035    <declare-styleable name="RelativeLayout">
4036        <attr name="gravity" />
4037        <!-- Indicates what view should not be affected by gravity. -->
4038        <attr name="ignoreGravity" format="reference" />
4039    </declare-styleable>
4040    <declare-styleable name="LinearLayout">
4041        <!-- Should the layout be a column or a row?  Use "horizontal"
4042             for a row, "vertical" for a column.  The default is
4043             horizontal. -->
4044        <attr name="orientation" />
4045        <attr name="gravity" />
4046        <!-- When set to false, prevents the layout from aligning its children's
4047             baselines. This attribute is particularly useful when the children
4048             use different values for gravity. The default value is true. -->
4049        <attr name="baselineAligned" format="boolean" />
4050        <!-- When a linear layout is part of another layout that is baseline
4051          aligned, it can specify which of its children to baseline align to
4052          (that is, which child TextView).-->
4053        <attr name="baselineAlignedChildIndex" format="integer" min="0"/>
4054        <!-- Defines the maximum weight sum. If unspecified, the sum is computed
4055             by adding the layout_weight of all of the children. This can be
4056             used for instance to give a single child 50% of the total available
4057             space by giving it a layout_weight of 0.5 and setting the weightSum
4058             to 1.0. -->
4059        <attr name="weightSum" format="float" />
4060        <!-- When set to true, all children with a weight will be considered having
4061             the minimum size of the largest child. If false, all children are
4062             measured normally. -->
4063        <attr name="measureWithLargestChild" format="boolean" />
4064        <!-- Drawable to use as a vertical divider between buttons. -->
4065        <attr name="divider" />
4066        <!-- Setting for which dividers to show. -->
4067        <attr name="showDividers">
4068            <flag name="none" value="0" />
4069            <flag name="beginning" value="1" />
4070            <flag name="middle" value="2" />
4071            <flag name="end" value="4" />
4072        </attr>
4073        <!-- Size of padding on either end of a divider. -->
4074        <attr name="dividerPadding" format="dimension" />
4075    </declare-styleable>
4076    <declare-styleable name="GridLayout">
4077        <!-- The orientation property is not used during layout. It is only used to
4078        allocate row and column parameters when they are not specified by its children's
4079        layout paramters. GridLayout works like LinearLayout in this case;
4080        putting all the components either in a single row or in a single column -
4081        depending on the value of this flag. In the horizontal case, a columnCount
4082        property may be additionally supplied to force new rows to be created when a
4083        row is full. The rowCount attribute may be used similarly in the vertical case.
4084        The default is horizontal. -->
4085        <attr name="orientation" />
4086        <!-- The maxmimum number of rows to create when automatically positioning children. -->
4087        <attr name="rowCount" format="integer" />
4088        <!-- The maxmimum number of columns to create when automatically positioning children. -->
4089        <attr name="columnCount" format="integer" />
4090        <!-- When set to true, tells GridLayout to use default margins when none are specified
4091        in a view's layout parameters.
4092        The default value is false.
4093        See {@link android.widget.GridLayout#setUseDefaultMargins(boolean)}.-->
4094        <attr name="useDefaultMargins" format="boolean" />
4095        <!-- When set to alignMargins, causes alignment to take place between the outer
4096        boundary of a view, as defined by its margins. When set to alignBounds,
4097        causes alignment to take place between the edges of the view.
4098        The default is alignMargins.
4099        See {@link android.widget.GridLayout#setAlignmentMode(int)}.-->
4100        <attr name="alignmentMode" />
4101        <!-- When set to true, forces row boundaries to appear in the same order
4102        as row indices.
4103        The default is true.
4104        See {@link android.widget.GridLayout#setRowOrderPreserved(boolean)}.-->
4105        <attr name="rowOrderPreserved" format="boolean" />
4106        <!-- When set to true, forces column boundaries to appear in the same order
4107        as column indices.
4108        The default is true.
4109        See {@link android.widget.GridLayout#setColumnOrderPreserved(boolean)}.-->
4110        <attr name="columnOrderPreserved" format="boolean" />
4111    </declare-styleable>
4112    <declare-styleable name="ListView">
4113        <!-- Reference to an array resource that will populate the ListView.  For static content,
4114             this is simpler than populating the ListView programmatically. -->
4115        <attr name="entries" />
4116        <!-- Drawable or color to draw between list items. -->
4117        <attr name="divider" format="reference|color" />
4118        <!-- Height of the divider. Will use the intrinsic height of the divider if this
4119             is not specified. -->
4120        <attr name="dividerHeight" format="dimension" />
4121        <!-- When set to false, the ListView will not draw the divider after each header view.
4122             The default value is true. -->
4123        <attr name="headerDividersEnabled" format="boolean" />
4124        <!-- When set to false, the ListView will not draw the divider before each footer view.
4125             The default value is true. -->
4126        <attr name="footerDividersEnabled" format="boolean" />
4127        <!-- Drawable to draw above list content. -->
4128        <attr name="overScrollHeader" format="reference|color" />
4129        <!-- Drawable to draw below list content. -->
4130        <attr name="overScrollFooter" format="reference|color" />
4131    </declare-styleable>
4132    <declare-styleable name="PreferenceFrameLayout">
4133        <!-- Padding to use at the top of the prefs content. -->
4134        <attr name="borderTop" format="dimension" />
4135        <!-- Padding to use at the bottom of the prefs content. -->
4136        <attr name="borderBottom" format="dimension" />
4137        <!-- Padding to use at the left of the prefs content. -->
4138        <attr name="borderLeft" format="dimension" />
4139        <!-- Padding to use at the right of the prefs content. -->
4140        <attr name="borderRight" format="dimension" />
4141    </declare-styleable>
4142    <declare-styleable name="PreferenceFrameLayout_Layout">
4143        <!-- Padding to use at the top of the prefs content. -->
4144        <attr name="layout_removeBorders" format="boolean" />
4145    </declare-styleable>
4146    <declare-styleable name="MenuView">
4147        <!-- Default appearance of menu item text. -->
4148        <attr name="itemTextAppearance" format="reference" />
4149        <!-- Default horizontal divider between rows of menu items. -->
4150        <attr name="horizontalDivider" format="reference" />
4151        <!-- Default vertical divider between menu items. -->
4152        <attr name="verticalDivider" format="reference" />
4153        <!-- Default background for the menu header. -->
4154        <attr name="headerBackground" format="color|reference" />
4155        <!-- Default background for each menu item. -->
4156        <attr name="itemBackground" format="color|reference" />
4157        <!-- Default animations for the menu. -->
4158        <attr name="windowAnimationStyle" />
4159        <!-- Default disabled icon alpha for each menu item that shows an icon. -->
4160        <attr name="itemIconDisabledAlpha" format="float" />
4161        <!-- Whether space should be reserved in layout when an icon is missing. -->
4162        <attr name="preserveIconSpacing" format="boolean" />
4163        <!-- Drawable for the arrow icon indicating a particular item is a submenu. -->
4164        <attr name="subMenuArrow" format="reference" />
4165    </declare-styleable>
4166    <declare-styleable name="IconMenuView">
4167        <!-- Defines the height of each row. -->
4168        <attr name="rowHeight" format="dimension" />
4169        <!-- Defines the maximum number of rows displayed. -->
4170        <attr name="maxRows" format="integer" />
4171        <!-- Defines the maximum number of items per row. -->
4172        <attr name="maxItemsPerRow" format="integer" />
4173        <!-- Defines the maximum number of items to show. -->
4174        <attr name="maxItems" format="integer" />
4175        <!-- 'More' icon. -->
4176        <attr name="moreIcon" format="reference" />
4177    </declare-styleable>
4178
4179    <declare-styleable name="ProgressBar">
4180        <!-- Defines the minimum value. -->
4181        <attr name="min" format="integer" />
4182        <!-- Defines the maximum value. -->
4183        <attr name="max" format="integer" />
4184        <!-- Defines the default progress value, between 0 and max. -->
4185        <attr name="progress" format="integer" />
4186        <!-- Defines the secondary progress value, between 0 and max. This progress is drawn between
4187             the primary progress and the background.  It can be ideal for media scenarios such as
4188             showing the buffering progress while the default progress shows the play progress. -->
4189        <attr name="secondaryProgress" format="integer" />
4190        <!-- Allows to enable the indeterminate mode. In this mode the progress
4191         bar plays an infinite looping animation. -->
4192        <attr name="indeterminate" format="boolean" />
4193        <!-- Restricts to ONLY indeterminate mode (state-keeping progress mode will not work). -->
4194        <attr name="indeterminateOnly" format="boolean" />
4195        <!-- Drawable used for the indeterminate mode. -->
4196        <attr name="indeterminateDrawable" format="reference" />
4197        <!-- Drawable used for the progress mode. -->
4198        <attr name="progressDrawable" format="reference" />
4199        <!-- Duration of the indeterminate animation. -->
4200        <attr name="indeterminateDuration" format="integer" min="1" />
4201        <!-- Defines how the indeterminate mode should behave when the progress
4202        reaches max. -->
4203        <attr name="indeterminateBehavior">
4204            <!-- Progress starts over from 0. -->
4205            <enum name="repeat" value="1" />
4206            <!-- Progress keeps the current value and goes back to 0. -->
4207            <enum name="cycle" value="2" />
4208        </attr>
4209        <attr name="minWidth" format="dimension" />
4210        <attr name="maxWidth" />
4211        <attr name="minHeight" format="dimension" />
4212        <attr name="maxHeight" />
4213        <attr name="interpolator" format="reference" />
4214        <!-- Timeout between frames of animation in milliseconds.
4215             {@deprecated Not used by the framework}. -->
4216        <attr name="animationResolution" format="integer" />
4217        <!-- Defines if the associated drawables need to be mirrored when in RTL mode.
4218             Default is false. -->
4219        <attr name="mirrorForRtl" format="boolean" />
4220        <!-- Tint to apply to the progress indicator. -->
4221        <attr name="progressTint" format="color" />
4222        <!-- Blending mode used to apply the progress indicator tint. -->
4223        <attr name="progressTintMode">
4224            <!-- The tint is drawn on top of the drawable.
4225                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4226            <enum name="src_over" value="3" />
4227            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4228                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4229            <enum name="src_in" value="5" />
4230            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4231                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4232            <enum name="src_atop" value="9" />
4233            <!-- Multiplies the color and alpha channels of the drawable with those of
4234                 the tint. [Sa * Da, Sc * Dc] -->
4235            <enum name="multiply" value="14" />
4236            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4237            <enum name="screen" value="15" />
4238            <!-- Combines the tint and drawable color and alpha channels, clamping the
4239                 result to valid color values. Saturate(S + D) -->
4240            <enum name="add" value="16" />
4241        </attr>
4242        <!-- Tint to apply to the progress indicator background. -->
4243        <attr name="progressBackgroundTint" format="color" />
4244        <!-- Blending mode used to apply the progress indicator background tint. -->
4245        <attr name="progressBackgroundTintMode">
4246            <!-- The tint is drawn on top of the drawable.
4247                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4248            <enum name="src_over" value="3" />
4249            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4250                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4251            <enum name="src_in" value="5" />
4252            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4253                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4254            <enum name="src_atop" value="9" />
4255            <!-- Multiplies the color and alpha channels of the drawable with those of
4256                 the tint. [Sa * Da, Sc * Dc] -->
4257            <enum name="multiply" value="14" />
4258            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4259            <enum name="screen" value="15" />
4260            <!-- Combines the tint and drawable color and alpha channels, clamping the
4261                 result to valid color values. Saturate(S + D) -->
4262            <enum name="add" value="16" />
4263        </attr>
4264        <!-- Tint to apply to the secondary progress indicator. -->
4265        <attr name="secondaryProgressTint" format="color" />
4266        <!-- Blending mode used to apply the secondary progress indicator tint. -->
4267        <attr name="secondaryProgressTintMode">
4268            <!-- The tint is drawn on top of the drawable.
4269                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4270            <enum name="src_over" value="3" />
4271            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4272                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4273            <enum name="src_in" value="5" />
4274            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4275                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4276            <enum name="src_atop" value="9" />
4277            <!-- Multiplies the color and alpha channels of the drawable with those of
4278                 the tint. [Sa * Da, Sc * Dc] -->
4279            <enum name="multiply" value="14" />
4280            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4281            <enum name="screen" value="15" />
4282            <!-- Combines the tint and drawable color and alpha channels, clamping the
4283                 result to valid color values. Saturate(S + D) -->
4284            <enum name="add" value="16" />
4285        </attr>
4286        <!-- Tint to apply to the indeterminate progress indicator. -->
4287        <attr name="indeterminateTint" format="color" />
4288        <!-- Blending mode used to apply the indeterminate progress indicator tint. -->
4289        <attr name="indeterminateTintMode">
4290            <!-- The tint is drawn on top of the drawable.
4291                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4292            <enum name="src_over" value="3" />
4293            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4294                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4295            <enum name="src_in" value="5" />
4296            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4297                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4298            <enum name="src_atop" value="9" />
4299            <!-- Multiplies the color and alpha channels of the drawable with those of
4300                 the tint. [Sa * Da, Sc * Dc] -->
4301            <enum name="multiply" value="14" />
4302            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4303            <enum name="screen" value="15" />
4304            <!-- Combines the tint and drawable color and alpha channels, clamping the
4305                 result to valid color values. Saturate(S + D) -->
4306            <enum name="add" value="16" />
4307        </attr>
4308        <!-- Tint to apply to the background. -->
4309        <attr name="backgroundTint" />
4310        <!-- Blending mode used to apply the background tint. -->
4311        <attr name="backgroundTintMode" />
4312    </declare-styleable>
4313
4314    <declare-styleable name="SeekBar">
4315        <!-- Draws the thumb on a seekbar. -->
4316        <attr name="thumb" format="reference" />
4317        <!-- An offset for the thumb that allows it to extend out of the range of the track. -->
4318        <attr name="thumbOffset" format="dimension" />
4319        <!-- Whether to split the track and leave a gap for the thumb drawable. -->
4320        <attr name="splitTrack" format="boolean" />
4321        <!-- Whether to force the track's alpha to ?android:attr/disabledAlpha
4322             when disabled. This is required for Holo and Gingerbread, but
4323             should always be false for Material and  beyond.
4324             @hide Developers shouldn't need to change this. -->
4325        <attr name="useDisabledAlpha" format="boolean" />
4326        <!-- Tint to apply to the thumb drawable. -->
4327        <attr name="thumbTint" format="color" />
4328        <!-- Blending mode used to apply the thumb tint. -->
4329        <attr name="thumbTintMode">
4330            <!-- The tint is drawn on top of the drawable.
4331                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4332            <enum name="src_over" value="3" />
4333            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4334                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4335            <enum name="src_in" value="5" />
4336            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4337                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4338            <enum name="src_atop" value="9" />
4339            <!-- Multiplies the color and alpha channels of the drawable with those of
4340                 the tint. [Sa * Da, Sc * Dc] -->
4341            <enum name="multiply" value="14" />
4342            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4343            <enum name="screen" value="15" />
4344            <!-- Combines the tint and drawable color and alpha channels, clamping the
4345                 result to valid color values. Saturate(S + D) -->
4346            <enum name="add" value="16" />
4347        </attr>
4348        <!-- Drawable displayed at each progress position on a seekbar. -->
4349        <attr name="tickMark" format="reference" />
4350        <!-- Tint to apply to the tick mark drawable. -->
4351        <attr name="tickMarkTint" format="color" />
4352        <!-- Blending mode used to apply the tick mark tint. -->
4353        <attr name="tickMarkTintMode">
4354            <!-- The tint is drawn on top of the drawable.
4355                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4356            <enum name="src_over" value="3" />
4357            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4358                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4359            <enum name="src_in" value="5" />
4360            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4361                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4362            <enum name="src_atop" value="9" />
4363            <!-- Multiplies the color and alpha channels of the drawable with those of
4364                 the tint. [Sa * Da, Sc * Dc] -->
4365            <enum name="multiply" value="14" />
4366            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4367            <enum name="screen" value="15" />
4368            <!-- Combines the tint and drawable color and alpha channels, clamping the
4369                 result to valid color values. Saturate(S + D) -->
4370            <enum name="add" value="16" />
4371        </attr>
4372    </declare-styleable>
4373
4374    <declare-styleable name="StackView">
4375        <!-- Color of the res-out outline. -->
4376        <attr name="resOutColor" format="color" />
4377        <!-- Color of the outline of click feedback. -->
4378        <attr name="clickColor" format="color" />
4379    </declare-styleable>
4380
4381    <declare-styleable name="RatingBar">
4382        <!-- The number of stars (or rating items) to show. -->
4383        <attr name="numStars" format="integer" />
4384        <!-- The rating to set by default. -->
4385        <attr name="rating" format="float" />
4386        <!-- The step size of the rating. -->
4387        <attr name="stepSize" format="float" />
4388        <!-- Whether this rating bar is an indicator (and non-changeable by the user). -->
4389        <attr name="isIndicator" format="boolean" />
4390    </declare-styleable>
4391
4392    <declare-styleable name="RadioGroup">
4393        <!-- The id of the child radio button that should be checked by default
4394             within this radio group. -->
4395        <attr name="checkedButton" format="integer" />
4396        <!-- Should the radio group be a column or a row?  Use "horizontal"
4397             for a row, "vertical" for a column.  The default is
4398             vertical. -->
4399        <attr name="orientation" />
4400    </declare-styleable>
4401    <declare-styleable name="TableLayout">
4402        <!-- The zero-based index of the columns to stretch. The column indices
4403             must be separated by a comma: 1, 2, 5. Illegal and duplicate
4404             indices are ignored. You can stretch all columns by using the
4405             value "*" instead. Note that a column can be marked stretchable
4406             and shrinkable at the same time. -->
4407        <attr name="stretchColumns" format="string" />
4408       <!-- The zero-based index of the columns to shrink. The column indices
4409             must be separated by a comma: 1, 2, 5. Illegal and duplicate
4410             indices are ignored. You can shrink all columns by using the
4411             value "*" instead. Note that a column can be marked stretchable
4412             and shrinkable at the same time. -->
4413        <attr name="shrinkColumns" format="string" />
4414        <!-- The zero-based index of the columns to collapse. The column indices
4415             must be separated by a comma: 1, 2, 5. Illegal and duplicate
4416             indices are ignored. -->
4417        <attr name="collapseColumns" format="string" />
4418    </declare-styleable>
4419    <declare-styleable name="TableRow">
4420
4421    </declare-styleable>
4422    <declare-styleable name="TableRow_Cell">
4423        <!-- The index of the column in which this child should be. -->
4424        <attr name="layout_column" format="integer" />
4425        <!-- Defines how many columns this child should span.  Must be >= 1.-->
4426        <attr name="layout_span" format="integer" />
4427    </declare-styleable>
4428    <declare-styleable name="TabWidget">
4429        <!-- Drawable used to draw the divider between tabs. -->
4430        <attr name="divider" />
4431        <!-- Determines whether the strip under the tab indicators is drawn or not. -->
4432        <attr name="tabStripEnabled" format="boolean" />
4433        <!-- Drawable used to draw the left part of the strip underneath the tabs. -->
4434        <attr name="tabStripLeft" format="reference" />
4435        <!-- Drawable used to draw the right part of the strip underneath the tabs. -->
4436        <attr name="tabStripRight" format="reference" />
4437        <!-- Layout used to organize each tab's content. -->
4438        <attr name="tabLayout" format="reference" />
4439    </declare-styleable>
4440    <declare-styleable name="TextAppearance">
4441        <!-- Text color. -->
4442        <attr name="textColor" />
4443        <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
4444        <attr name="textSize" />
4445        <!-- Style (bold, italic, bolditalic) for the text. -->
4446        <attr name="textStyle" />
4447        <!-- Typeface (normal, sans, serif, monospace) for the text. -->
4448        <attr name="typeface" />
4449        <!-- Font family (named by string or as a font resource reference) for the text. -->
4450        <attr name="fontFamily" />
4451        <!-- Color of the text selection highlight. -->
4452        <attr name="textColorHighlight" />
4453        <!-- Color of the hint text. -->
4454        <attr name="textColorHint" />
4455        <!-- Color of the links. -->
4456        <attr name="textColorLink" />
4457        <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
4458        <attr name="textAllCaps" format="boolean" />
4459        <!-- Place a blurred shadow of text underneath the text, drawn with the
4460             specified color. The text shadow produced does not interact with
4461             properties on View that are responsible for real time shadows,
4462             {@link android.R.styleable#View_elevation elevation} and
4463             {@link android.R.styleable#View_translationZ translationZ}. -->
4464        <attr name="shadowColor" format="color" />
4465        <!-- Horizontal offset of the text shadow. -->
4466        <attr name="shadowDx" format="float" />
4467        <!-- Vertical offset of the text shadow. -->
4468        <attr name="shadowDy" format="float" />
4469        <!-- Blur radius of the text shadow. -->
4470        <attr name="shadowRadius" format="float" />
4471        <!-- Elegant text height, especially for less compacted complex script text. -->
4472        <attr name="elegantTextHeight" format="boolean" />
4473        <!-- Text letter-spacing. -->
4474        <attr name="letterSpacing" format="float" />
4475        <!-- Font feature settings. -->
4476        <attr name="fontFeatureSettings" format="string" />
4477    </declare-styleable>
4478    <declare-styleable name="TextClock">
4479        <!-- Specifies the formatting pattern used to show the time and/or date
4480             in 12-hour mode. Please refer to {@link android.text.format.DateFormat}
4481             for a complete description of accepted formatting patterns.
4482             The default pattern is a locale-appropriate equivalent of "h:mm a". -->
4483        <attr name="format12Hour" format="string"/>
4484        <!-- Specifies the formatting pattern used to show the time and/or date
4485             in 24-hour mode. Please refer to {@link android.text.format.DateFormat}
4486             for a complete description of accepted formatting patterns.
4487             The default pattern is a locale-appropriate equivalent of "H:mm". -->
4488        <attr name="format24Hour" format="string"/>
4489        <!-- Specifies the time zone to use. When this attribute is specified, the
4490             TextClock will ignore the time zone of the system. To use the user's
4491             time zone, do not specify this attribute. The default value is the
4492             user's time zone. Please refer to {@link java.util.TimeZone} for more
4493             information about time zone ids. -->
4494        <attr name="timeZone" format="string"/>
4495    </declare-styleable>
4496    <declare-styleable name="TextSwitcher">
4497    </declare-styleable>
4498    <declare-styleable name="TextView">
4499        <!-- Determines the minimum type that getText() will return.
4500             The default is "normal".
4501             Note that EditText and LogTextBox always return Editable,
4502             even if you specify something less powerful here. -->
4503        <attr name="bufferType">
4504            <!-- Can return any CharSequence, possibly a
4505             Spanned one if the source text was Spanned. -->
4506            <enum name="normal" value="0" />
4507            <!-- Can only return Spannable. -->
4508            <enum name="spannable" value="1" />
4509            <!-- Can only return Spannable and Editable. -->
4510            <enum name="editable" value="2" />
4511        </attr>
4512        <!-- Text to display. -->
4513        <attr name="text" format="string" localization="suggested" />
4514        <!-- Hint text to display when the text is empty. -->
4515        <attr name="hint" format="string" />
4516        <!-- Text color. -->
4517        <attr name="textColor" />
4518        <!-- Color of the text selection highlight. -->
4519        <attr name="textColorHighlight" />
4520        <!-- Color of the hint text. -->
4521        <attr name="textColorHint" />
4522        <!-- Base text color, typeface, size, and style. -->
4523        <attr name="textAppearance" />
4524        <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
4525        <attr name="textSize" />
4526        <!-- Sets the horizontal scaling factor for the text. -->
4527        <attr name="textScaleX" format="float" />
4528        <!-- Typeface (normal, sans, serif, monospace) for the text. -->
4529        <attr name="typeface" />
4530        <!-- Style (bold, italic, bolditalic) for the text. -->
4531        <attr name="textStyle" />
4532        <!-- Font family (named by string or as a font resource reference) for the text. -->
4533        <attr name="fontFamily" />
4534        <!-- Text color for links. -->
4535        <attr name="textColorLink" />
4536        <!-- Makes the cursor visible (the default) or invisible. -->
4537        <attr name="cursorVisible" format="boolean" />
4538        <!-- Makes the TextView be at most this many lines tall.
4539
4540        When used on an editable text, the <code>inputType</code> attribute's value must be
4541        combined with the <code>textMultiLine</code> flag for the maxLines attribute to apply. -->
4542        <attr name="maxLines" format="integer" min="0" />
4543        <!-- Makes the TextView be at most this many pixels tall. -->
4544        <attr name="maxHeight" />
4545        <!-- Makes the TextView be exactly this many lines tall. -->
4546        <attr name="lines" format="integer" min="0" />
4547        <!-- Makes the TextView be exactly this tall.
4548             You could get the same effect by specifying this number in the
4549             layout parameters. -->
4550        <attr name="height" format="dimension" />
4551        <!-- Makes the TextView be at least this many lines tall.
4552
4553        When used on an editable text, the <code>inputType</code> attribute's value must be
4554        combined with the <code>textMultiLine</code> flag for the minLines attribute to apply. -->
4555        <attr name="minLines" format="integer" min="0" />
4556        <!-- Makes the TextView be at least this many pixels tall. -->
4557        <attr name="minHeight" />
4558        <!-- Makes the TextView be at most this many ems wide. -->
4559        <attr name="maxEms" format="integer" min="0" />
4560        <!-- Makes the TextView be at most this many pixels wide. -->
4561        <attr name="maxWidth" />
4562        <!-- Makes the TextView be exactly this many ems wide. -->
4563        <attr name="ems" format="integer" min="0" />
4564        <!-- Makes the TextView be exactly this wide.
4565             You could get the same effect by specifying this number in the
4566             layout parameters. -->
4567        <attr name="width" format="dimension" />
4568        <!-- Makes the TextView be at least this many ems wide. -->
4569        <attr name="minEms" format="integer" min="0" />
4570        <!-- Makes the TextView be at least this many pixels wide. -->
4571        <attr name="minWidth" />
4572        <!-- Specifies how to align the text by the view's x- and/or y-axis
4573             when the text is smaller than the view. -->
4574        <attr name="gravity" />
4575        <!-- Whether the text is allowed to be wider than the view (and
4576             therefore can be scrolled horizontally). -->
4577        <attr name="scrollHorizontally" format="boolean" />
4578        <!-- Whether the characters of the field are displayed as
4579             password dots instead of themselves.
4580             {@deprecated Use inputType instead.} -->
4581        <attr name="password" format="boolean" />
4582        <!-- Constrains the text to a single horizontally scrolling line
4583             instead of letting it wrap onto multiple lines, and advances
4584             focus instead of inserting a newline when you press the
4585             enter key.
4586
4587             The default value is false (multi-line wrapped text mode) for non-editable text, but if
4588             you specify any value for inputType, the default is true (single-line input field mode).
4589
4590             {@deprecated This attribute is deprecated. Use <code>maxLines</code> instead to change
4591             the layout of a static text, and use the <code>textMultiLine</code> flag in the
4592             inputType attribute instead for editable text views (if both singleLine and inputType
4593             are supplied, the inputType flags will override the value of singleLine). } -->
4594        <attr name="singleLine" format="boolean" />
4595        <!-- Specifies whether the widget is enabled. The interpretation of the enabled state varies by subclass.
4596             For example, a non-enabled EditText prevents the user from editing the contained text, and
4597             a non-enabled Button prevents the user from tapping the button.
4598             The appearance of enabled and non-enabled widgets may differ, if the drawables referenced
4599             from evaluating state_enabled differ. -->
4600        <attr name="enabled" format="boolean" />
4601        <!-- If the text is selectable, select it all when the view takes
4602             focus. -->
4603        <attr name="selectAllOnFocus" format="boolean" />
4604        <!-- Leave enough room for ascenders and descenders instead of
4605             using the font ascent and descent strictly.  (Normally true). -->
4606        <attr name="includeFontPadding" format="boolean" />
4607        <!-- Set an input filter to constrain the text length to the
4608             specified number. -->
4609        <attr name="maxLength" format="integer" min="0" />
4610        <!-- Place a blurred shadow of text underneath the text, drawn with the
4611             specified color. The text shadow produced does not interact with
4612             properties on View that are responsible for real time shadows,
4613             {@link android.R.styleable#View_elevation elevation} and
4614             {@link android.R.styleable#View_translationZ translationZ}. -->
4615        <attr name="shadowColor" />
4616        <!-- Horizontal offset of the text shadow. -->
4617        <attr name="shadowDx" />
4618        <!-- Vertical offset of the text shadow. -->
4619        <attr name="shadowDy" />
4620        <!-- Blur radius of the text shadow. -->
4621        <attr name="shadowRadius" />
4622        <attr name="autoLink" />
4623        <!-- If set to false, keeps the movement method from being set
4624             to the link movement method even if autoLink causes links
4625             to be found. -->
4626        <attr name="linksClickable" format="boolean" />
4627        <!-- If set, specifies that this TextView has a numeric input method.
4628             The default is false.
4629             {@deprecated Use inputType instead.} -->
4630        <attr name="numeric">
4631            <!-- Input is numeric. -->
4632            <flag name="integer" value="0x01" />
4633            <!-- Input is numeric, with sign allowed. -->
4634            <flag name="signed" value="0x03" />
4635            <!-- Input is numeric, with decimals allowed. -->
4636            <flag name="decimal" value="0x05" />
4637        </attr>
4638        <!-- If set, specifies that this TextView has a numeric input method
4639             and that these specific characters are the ones that it will
4640             accept.
4641             If this is set, numeric is implied to be true.
4642             The default is false. -->
4643        <attr name="digits" format="string" />
4644        <!-- If set, specifies that this TextView has a phone number input
4645             method. The default is false.
4646             {@deprecated Use inputType instead.} -->
4647        <attr name="phoneNumber" format="boolean" />
4648        <!-- If set, specifies that this TextView should use the specified
4649             input method (specified by fully-qualified class name).
4650             {@deprecated Use inputType instead.} -->
4651        <attr name="inputMethod" format="string" />
4652        <!-- If set, specifies that this TextView has a textual input method
4653             and should automatically capitalize what the user types.
4654             The default is "none".
4655             {@deprecated Use inputType instead.} -->
4656        <attr name="capitalize">
4657            <!-- Don't automatically capitalize anything. -->
4658            <enum name="none" value="0" />
4659            <!-- Capitalize the first word of each sentence. -->
4660            <enum name="sentences" value="1" />
4661            <!-- Capitalize the first letter of every word. -->
4662            <enum name="words" value="2" />
4663            <!-- Capitalize every character. -->
4664            <enum name="characters" value="3" />
4665        </attr>
4666        <!-- If set, specifies that this TextView has a textual input method
4667             and automatically corrects some common spelling errors.
4668             The default is "false".
4669             {@deprecated Use inputType instead.} -->
4670        <attr name="autoText" format="boolean" />
4671        <!-- If set, specifies that this TextView has an input method.
4672             It will be a textual one unless it has otherwise been specified.
4673             For TextView, this is false by default.  For EditText, it is
4674             true by default.
4675             {@deprecated Use inputType instead.} -->
4676        <attr name="editable" format="boolean" />
4677        <!-- If set, the text view will include its current complete text
4678             inside of its frozen icicle in addition to meta-data such as
4679             the current cursor position.  By default this is disabled;
4680             it can be useful when the contents of a text view is not stored
4681             in a persistent place such as a content provider. For
4682             {@link android.widget.EditText} it is always enabled, regardless
4683             of the value of the attribute. -->
4684        <attr name="freezesText" format="boolean" />
4685        <!-- If set, causes words that are longer than the view is wide
4686             to be ellipsized instead of broken in the middle.
4687             You will often also want to set scrollHorizontally or singleLine
4688             as well so that the text as a whole is also constrained to
4689             a single line instead of still allowed to be broken onto
4690             multiple lines. -->
4691        <attr name="ellipsize" />
4692        <!-- The drawable to be drawn above the text. -->
4693        <attr name="drawableTop" format="reference|color" />
4694        <!-- The drawable to be drawn below the text. -->
4695        <attr name="drawableBottom" format="reference|color" />
4696        <!-- The drawable to be drawn to the left of the text. -->
4697        <attr name="drawableLeft" format="reference|color" />
4698        <!-- The drawable to be drawn to the right of the text. -->
4699        <attr name="drawableRight" format="reference|color" />
4700        <!-- The drawable to be drawn to the start of the text. -->
4701        <attr name="drawableStart" format="reference|color" />
4702        <!-- The drawable to be drawn to the end of the text. -->
4703        <attr name="drawableEnd" format="reference|color" />
4704        <!-- The padding between the drawables and the text. -->
4705        <attr name="drawablePadding" format="dimension" />
4706        <!-- Tint to apply to the compound (left, top, etc.) drawables. -->
4707        <attr name="drawableTint" format="color" />
4708        <!-- Blending mode used to apply the compound (left, top, etc.) drawables tint. -->
4709        <attr name="drawableTintMode">
4710            <!-- The tint is drawn on top of the drawable.
4711                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4712            <enum name="src_over" value="3" />
4713            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4714                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4715            <enum name="src_in" value="5" />
4716            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4717                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4718            <enum name="src_atop" value="9" />
4719            <!-- Multiplies the color and alpha channels of the drawable with those of
4720                 the tint. [Sa * Da, Sc * Dc] -->
4721            <enum name="multiply" value="14" />
4722            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4723            <enum name="screen" value="15" />
4724            <!-- Combines the tint and drawable color and alpha channels, clamping the
4725                 result to valid color values. Saturate(S + D) -->
4726            <enum name="add" value="16" />
4727        </attr>
4728        <!-- Extra spacing between lines of text. The value will not be applied for the last
4729             line of text. -->
4730        <attr name="lineSpacingExtra" format="dimension" />
4731        <!-- Extra spacing between lines of text, as a multiplier. The value will not be applied
4732             for the last line of text.-->
4733        <attr name="lineSpacingMultiplier" format="float" />
4734        <!-- The number of times to repeat the marquee animation. Only applied if the
4735             TextView has marquee enabled. -->
4736        <attr name="marqueeRepeatLimit" format="integer">
4737            <!-- Indicates that marquee should repeat indefinitely. -->
4738            <enum name="marquee_forever" value="-1" />
4739        </attr>
4740        <attr name="inputType" />
4741        <!-- Whether undo should be allowed for editable text. Defaults to true. -->
4742        <attr name="allowUndo" format="boolean" />
4743        <attr name="imeOptions" />
4744        <!-- An addition content type description to supply to the input
4745             method attached to the text view, which is private to the
4746             implementation of the input method.  This simply fills in
4747             the {@link android.view.inputmethod.EditorInfo#privateImeOptions
4748             EditorInfo.privateImeOptions} field when the input
4749             method is connected. -->
4750        <attr name="privateImeOptions" format="string" />
4751        <!-- Supply a value for
4752             {@link android.view.inputmethod.EditorInfo#actionLabel EditorInfo.actionLabel}
4753             used when an input method is connected to the text view. -->
4754        <attr name="imeActionLabel" format="string" />
4755        <!-- Supply a value for
4756             {@link android.view.inputmethod.EditorInfo#actionId EditorInfo.actionId}
4757             used when an input method is connected to the text view. -->
4758        <attr name="imeActionId" format="integer" />
4759        <!-- Reference to an
4760             {@link android.R.styleable#InputExtras &lt;input-extras&gt;}
4761             XML resource containing additional data to
4762             supply to an input method, which is private to the implementation
4763             of the input method.  This simply fills in
4764             the {@link android.view.inputmethod.EditorInfo#extras
4765             EditorInfo.extras} field when the input
4766             method is connected. -->
4767        <attr name="editorExtras" format="reference" />
4768
4769        <!-- Reference to a drawable that will be used to display a text selection
4770             anchor on the left side of a selection region. -->
4771        <attr name="textSelectHandleLeft" />
4772        <!-- Reference to a drawable that will be used to display a text selection
4773             anchor on the right side of a selection region. -->
4774        <attr name="textSelectHandleRight" />
4775        <!-- Reference to a drawable that will be used to display a text selection
4776             anchor for positioning the cursor within text. -->
4777        <attr name="textSelectHandle" />
4778        <!-- The layout of the view that is displayed on top of the cursor to paste inside a
4779             TextEdit field. -->
4780        <attr name="textEditPasteWindowLayout" />
4781        <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. -->
4782        <attr name="textEditNoPasteWindowLayout" />
4783        <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the
4784             insertion cursor because it would be clipped if it were positioned on top. -->
4785        <attr name="textEditSidePasteWindowLayout" />
4786        <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. -->
4787        <attr name="textEditSideNoPasteWindowLayout" />
4788
4789        <!-- Layout of the TextView item that will populate the suggestion popup window. -->
4790        <attr name="textEditSuggestionItemLayout" />
4791        <!-- Layout of the container of the suggestion popup window. -->
4792        <attr name="textEditSuggestionContainerLayout" />
4793        <!-- Style of the highlighted string in the suggestion popup window. -->
4794        <attr name="textEditSuggestionHighlightStyle" />
4795
4796
4797        <!-- Reference to a drawable that will be drawn under the insertion cursor. -->
4798        <attr name="textCursorDrawable" />
4799
4800        <!-- Indicates that the content of a non-editable text can be selected. -->
4801        <attr name="textIsSelectable" />
4802        <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
4803        <attr name="textAllCaps" />
4804        <!-- Elegant text height, especially for less compacted complex script text. -->
4805        <attr name="elegantTextHeight" />
4806        <!-- Text letter-spacing. -->
4807        <attr name="letterSpacing" />
4808        <!-- Font feature settings. -->
4809        <attr name="fontFeatureSettings" />
4810        <!-- Break strategy (control over paragraph layout). -->
4811        <attr name="breakStrategy">
4812            <!-- Line breaking uses simple strategy. -->
4813            <enum name="simple" value="0" />
4814            <!-- Line breaking uses high-quality strategy, including hyphenation. -->
4815            <enum name="high_quality" value="1" />
4816            <!-- Line breaking strategy balances line lengths. -->
4817            <enum name="balanced" value="2" />
4818        </attr>
4819        <!-- Frequency of automatic hyphenation. -->
4820        <attr name="hyphenationFrequency">
4821            <!-- No hyphenation. -->
4822            <enum name="none" value="0" />
4823            <!-- Less frequent hyphenation, useful for informal use cases, such
4824            as chat messages. -->
4825            <enum name="normal" value="1" />
4826            <!-- Standard amount of hyphenation, useful for running text and for
4827            screens with limited space for text. -->
4828            <enum name="full" value="2" />
4829        </attr>
4830        <!-- Specify the type of auto-size. Note that this feature is not supported by EditText,
4831        works only for TextView. -->
4832        <attr name="autoSizeTextType" format="enum">
4833            <!-- No auto-sizing (default). -->
4834            <enum name="none" value="0" />
4835            <!-- Uniform horizontal and vertical text size scaling to fit within the
4836            container. -->
4837            <enum name="uniform" value="1" />
4838        </attr>
4839        <!-- Specify the auto-size step size if <code>autoSizeTextType</code> is set to
4840        <code>uniform</code>. The default is 1px. Overwrites
4841        <code>autoSizePresetSizes</code> if set. -->
4842        <attr name="autoSizeStepGranularity" format="dimension" />
4843        <!-- Resource array of dimensions to be used in conjunction with
4844        <code>autoSizeTextType</code> set to <code>uniform</code>. Overrides
4845        <code>autoSizeStepGranularity</code> if set. -->
4846        <attr name="autoSizePresetSizes"/>
4847        <!-- The minimum text size constraint to be used when auto-sizing text. -->
4848        <attr name="autoSizeMinTextSize" format="dimension" />
4849        <!-- The maximum text size constraint to be used when auto-sizing text. -->
4850        <attr name="autoSizeMaxTextSize" format="dimension" />
4851        <!-- Mode for justification. -->
4852        <attr name="justificationMode">
4853            <!-- No justification. -->
4854            <enum name="none" value="0" />
4855            <!-- Justification by stretching word spacing. -->
4856            <enum name="inter_word" value = "1" />
4857        </attr>
4858    </declare-styleable>
4859    <declare-styleable name="TextViewAppearance">
4860        <!-- Base text color, typeface, size, and style. -->
4861        <attr name="textAppearance" />
4862    </declare-styleable>
4863    <declare-styleable name="SelectionModeDrawables">
4864        <attr name="actionModeSelectAllDrawable" />
4865        <attr name="actionModeCutDrawable" />
4866        <attr name="actionModeCopyDrawable" />
4867        <attr name="actionModePasteDrawable" />
4868    </declare-styleable>
4869    <declare-styleable name="SuggestionSpan">
4870        <attr name="textUnderlineColor" />
4871        <attr name="textUnderlineThickness" />
4872    </declare-styleable>
4873    <!-- An <code>input-extras</code> is a container for extra data to supply to
4874         an input method.  Contains
4875         one more more {@link #Extra <extra>} tags.  -->
4876    <declare-styleable name="InputExtras">
4877    </declare-styleable>
4878    <declare-styleable name="AutoCompleteTextView">
4879        <!-- Defines the hint displayed in the drop down menu. -->
4880        <attr name="completionHint" format="string" />
4881        <!-- Defines the hint view displayed in the drop down menu. -->
4882        <attr name="completionHintView" format="reference" />
4883        <!-- Defines the number of characters that the user must type before
4884         completion suggestions are displayed in a drop down menu. -->
4885        <attr name="completionThreshold" format="integer" min="1" />
4886        <!-- Selector in a drop down list. -->
4887        <attr name="dropDownSelector" format="reference|color" />
4888        <!-- View to anchor the auto-complete dropdown to. If not specified, the text view itself
4889             is used. -->
4890        <attr name="dropDownAnchor" format="reference" />
4891        <!-- Specifies the basic width of the dropdown. Its value may
4892             be a dimension (such as "12dip") for a constant width,
4893             fill_parent or match_parent to match the width of the
4894             screen, or wrap_content to match the width of
4895             the anchored view. -->
4896        <attr name="dropDownWidth" format="dimension">
4897            <!-- The dropdown should fill the width of the screen.
4898                 This constant is deprecated starting from API Level 8 and
4899                 is replaced by {@code match_parent}. -->
4900            <enum name="fill_parent" value="-1" />
4901            <!-- The dropdown should fit the width of the screen.
4902                 Introduced in API Level 8. -->
4903            <enum name="match_parent" value="-1" />
4904            <!-- The dropdown should fit the width of its anchor. -->
4905            <enum name="wrap_content" value="-2" />
4906        </attr>
4907        <!-- Specifies the basic height of the dropdown. Its value may
4908             be a dimension (such as "12dip") for a constant height,
4909             fill_parent or match_parent to fill the height of the
4910             screen, or wrap_content to match the height of
4911             the content of the drop down. -->
4912        <attr name="dropDownHeight" format="dimension">
4913            <!-- The dropdown should fit the height of the screen.
4914                 This constant is deprecated starting from API Level 8 and
4915                 is replaced by {@code match_parent}. -->
4916            <enum name="fill_parent" value="-1" />
4917            <!-- The dropdown should fit the height of the screen.
4918                 Introduced in API Level 8. -->
4919            <enum name="match_parent" value="-1" />
4920            <!-- The dropdown should fit the height of the content. -->
4921            <enum name="wrap_content" value="-2" />
4922        </attr>
4923        <attr name="inputType" />
4924        <!-- Theme to use for the completion popup window. -->
4925        <attr name="popupTheme" />
4926    </declare-styleable>
4927    <declare-styleable name="PopupWindow">
4928        <!-- The background to use for the popup window. -->
4929        <attr name="popupBackground" format="reference|color" />
4930        <!-- Window elevation to use for the popup window. -->
4931        <attr name="popupElevation" format="dimension" />
4932        <!-- The animation style to use for the popup window. -->
4933        <attr name="popupAnimationStyle" format="reference" />
4934        <!-- Whether the popup window should overlap its anchor view. -->
4935        <attr name="overlapAnchor" format="boolean" />
4936        <!-- Transition used to move views into the popup window. -->
4937        <attr name="popupEnterTransition" format="reference" />
4938        <!-- Transition used to move views out of the popup window. -->
4939        <attr name="popupExitTransition" format="reference" />
4940    </declare-styleable>
4941    <declare-styleable name="ListPopupWindow">
4942        <!-- Amount of pixels by which the drop down should be offset vertically. -->
4943        <attr name="dropDownVerticalOffset" format="dimension" />
4944        <!-- Amount of pixels by which the drop down should be offset horizontally. -->
4945        <attr name="dropDownHorizontalOffset" format="dimension" />
4946    </declare-styleable>
4947    <declare-styleable name="ViewAnimator">
4948        <!-- Identifier for the animation to use when a view is shown. -->
4949        <attr name="inAnimation" format="reference" />
4950        <!-- Identifier for the animation to use when a view is hidden. -->
4951        <attr name="outAnimation" format="reference" />
4952        <!-- Defines whether to animate the current View when the ViewAnimation
4953             is first displayed. -->
4954        <attr name="animateFirstView" format="boolean" />
4955    </declare-styleable>
4956    <declare-styleable name="ViewFlipper">
4957        <attr name="flipInterval" format="integer" min="0" />
4958        <!-- When true, automatically start animating. -->
4959        <attr name="autoStart" format="boolean" />
4960    </declare-styleable>
4961    <declare-styleable name="AdapterViewAnimator">
4962        <!-- Identifier for the animation to use when a view is shown. -->
4963        <attr name="inAnimation" />
4964        <!-- Identifier for the animation to use when a view is hidden. -->
4965        <attr name="outAnimation" />
4966        <!--Defines whether the animator loops to the first view once it
4967        has reached the end of the list. -->
4968        <attr name="loopViews" format="boolean" />
4969        <!-- Defines whether to animate the current View when the ViewAnimation
4970        is first displayed. -->
4971        <attr name="animateFirstView" />
4972    </declare-styleable>
4973    <declare-styleable name="AdapterViewFlipper">
4974        <attr name="flipInterval" />
4975        <!-- When true, automatically start animating. -->
4976        <attr name="autoStart" />
4977    </declare-styleable>
4978    <declare-styleable name="ViewSwitcher">
4979    </declare-styleable>
4980    <declare-styleable name="ScrollView">
4981        <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
4982        <attr name="fillViewport" format="boolean" />
4983    </declare-styleable>
4984    <declare-styleable name="HorizontalScrollView">
4985        <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
4986        <attr name="fillViewport" />
4987    </declare-styleable>
4988    <declare-styleable name="Spinner">
4989        <!-- The prompt to display when the spinner's dialog is shown. -->
4990        <attr name="prompt" format="reference" />
4991        <!-- Display mode for spinner options. -->
4992        <attr name="spinnerMode" format="enum">
4993            <!-- Spinner options will be presented to the user as a dialog window. -->
4994            <enum name="dialog" value="0" />
4995            <!-- Spinner options will be presented to the user as an inline dropdown
4996                 anchored to the spinner widget itself. -->
4997            <enum name="dropdown" value="1" />
4998        </attr>
4999        <!-- List selector to use for spinnerMode="dropdown" display. -->
5000        <attr name="dropDownSelector" />
5001        <!-- Theme to use for the drop-down or dialog popup window. -->
5002        <attr name="popupTheme" />
5003        <!-- Background drawable to use for the dropdown in spinnerMode="dropdown". -->
5004        <attr name="popupBackground" />
5005        <!-- Window elevation to use for the dropdown in spinnerMode="dropdown". -->
5006        <attr name="popupElevation" />
5007        <!-- Width of the dropdown in spinnerMode="dropdown". -->
5008        <attr name="dropDownWidth" />
5009        <!-- Reference to a layout to use for displaying a prompt in the dropdown for
5010             spinnerMode="dropdown". This layout must contain a TextView with the id
5011             {@code @android:id/text1} to be populated with the prompt text. -->
5012        <attr name="popupPromptView" format="reference" />
5013        <!-- Gravity setting for positioning the currently selected item. -->
5014        <attr name="gravity" />
5015        <!-- Whether this spinner should mark child views as enabled/disabled when
5016             the spinner itself is enabled/disabled. -->
5017        <attr name="disableChildrenWhenDisabled" format="boolean" />
5018    </declare-styleable>
5019
5020    <declare-styleable name="DatePicker">
5021        <!-- The first day of week according to {@link java.util.Calendar}. -->
5022        <attr name="firstDayOfWeek" />
5023        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
5024        <attr name="minDate" format="string" />
5025        <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. -->
5026        <attr name="maxDate" format="string" />
5027
5028        <!-- Whether the spinners are shown. Only valid for "spinner" mode. -->
5029        <attr name="spinnersShown" format="boolean" />
5030        <!-- Whether the calendar view is shown. Only valid for "spinner" mode. -->
5031        <attr name="calendarViewShown" format="boolean" />
5032
5033        <!-- @hide The layout of the date picker. -->
5034        <attr name="internalLayout" format="reference"  />
5035        <!-- @hide The layout of the legacy DatePicker. -->
5036        <attr name="legacyLayout" />
5037
5038        <!-- The text color for the selected date header text, ex. "2014" or
5039             "Tue, Mar 18". This should be a color state list where the
5040             activated state will be used when the year picker or day picker is
5041             active.-->
5042        <attr name="headerTextColor" format="color" />
5043        <!-- The background for the selected date header. -->
5044        <attr name="headerBackground" />
5045
5046        <!-- The list year's text appearance in the list.
5047             {@deprecated Use yearListTextColor. }-->
5048        <attr name="yearListItemTextAppearance" format="reference" />
5049        <!-- @hide The list year's text appearance in the list when activated. -->
5050        <attr name="yearListItemActivatedTextAppearance" format="reference" />
5051        <!-- The text color list of the calendar. -->
5052        <attr name="calendarTextColor" format="color" />
5053
5054        <!-- Defines the look of the widget. Prior to the L release, the only choice was
5055             spinner. As of L, with the Material theme selected, the default layout is calendar,
5056             but this attribute can be used to force spinner to be used instead. -->
5057        <attr name="datePickerMode">
5058            <!-- Date picker with spinner controls to select the date. -->
5059            <enum name="spinner" value="1" />
5060            <!-- Date picker with calendar to select the date. -->
5061            <enum name="calendar" value="2" />
5062        </attr>
5063
5064        <!-- The first year (inclusive), for example "1940".
5065             {@deprecated Use minDate instead.} -->
5066        <attr name="startYear" format="integer" />
5067        <!-- The last year (inclusive), for example "2010".
5068             {@deprecated Use maxDate instead.} -->
5069        <attr name="endYear" format="integer" />
5070        <!-- The text appearance for the month (ex. May) in the selected date header.
5071             {@deprecated Use headerTextColor instead.} -->
5072        <attr name="headerMonthTextAppearance" format="reference" />
5073        <!-- The text appearance for the day of month (ex. 28) in the selected date header.
5074             {@deprecated Use headerTextColor instead.} -->
5075        <attr name="headerDayOfMonthTextAppearance" format="reference" />
5076        <!-- The text appearance for the year (ex. 2014) in the selected date header.
5077             {@deprecated Use headerTextColor instead.} -->
5078        <attr name="headerYearTextAppearance" format="reference" />
5079        <!-- The background color for the header's day of week.
5080             {@deprecated No longer displayed.} -->
5081        <attr name="dayOfWeekBackground" format="color" />
5082        <!-- The text color for the header's day of week.
5083             {@deprecated No longer displayed.} -->
5084        <attr name="dayOfWeekTextAppearance" format="reference" />
5085        <!-- The list year's selected circle color in the list.
5086             {@deprecated No longer displayed.} -->
5087        <attr name="yearListSelectorColor" format="color" />
5088
5089        <!-- @hide Whether this time picker is being displayed within a dialog,
5090             in which case it may ignore the requested time picker mode due to
5091             space considerations. -->
5092        <attr name="dialogMode" format="boolean" />
5093    </declare-styleable>
5094
5095    <declare-styleable name="TwoLineListItem">
5096        <attr name="mode">
5097            <!-- Always show only the first line. -->
5098            <enum name="oneLine" value="1" />
5099            <!-- When selected show both lines, otherwise show only the first line.
5100                 This is the default mode. -->
5101            <enum name="collapsing" value="2" />
5102            <!-- Always show both lines. -->
5103            <enum name="twoLine" value="3" />
5104        </attr>
5105    </declare-styleable>
5106
5107    <!-- SlidingDrawer specific attributes. These attributes are used to configure
5108         a SlidingDrawer from XML. -->
5109    <declare-styleable name="SlidingDrawer">
5110        <!-- Identifier for the child that represents the drawer's handle. -->
5111        <attr name="handle" format="reference" />
5112        <!-- Identifier for the child that represents the drawer's content. -->
5113        <attr name="content" format="reference" />
5114        <!-- Orientation of the SlidingDrawer. -->
5115        <attr name="orientation" />
5116        <!-- Extra offset for the handle at the bottom of the SlidingDrawer. -->
5117        <attr name="bottomOffset" format="dimension"  />
5118        <!-- Extra offset for the handle at the top of the SlidingDrawer. -->
5119        <attr name="topOffset" format="dimension"  />
5120        <!-- Indicates whether the drawer can be opened/closed by a single tap
5121             on the handle.  (If false, the user must drag or fling, or click
5122             using the trackball, to open/close the drawer.)  Default is true. -->
5123        <attr name="allowSingleTap" format="boolean" />
5124        <!-- Indicates whether the drawer should be opened/closed with an animation
5125             when the user clicks the handle. Default is true. -->
5126        <attr name="animateOnClick" format="boolean" />
5127    </declare-styleable>
5128
5129    <!-- GestureOverlayView specific attributes. These attributes are used to configure
5130         a GestureOverlayView from XML. -->
5131    <declare-styleable name="GestureOverlayView">
5132        <!-- Width of the stroke used to draw the gesture. -->
5133        <attr name="gestureStrokeWidth" format="float" />
5134        <!-- Color used to draw a gesture. -->
5135        <attr name="gestureColor" format="color" />
5136        <!-- Color used to draw the user's strokes until we are sure it's a gesture. -->
5137        <attr name="uncertainGestureColor" format="color" />
5138        <!-- Time, in milliseconds, to wait before the gesture fades out after the user
5139             is done drawing it. -->
5140        <attr name="fadeOffset" format="integer" />
5141        <!-- Duration, in milliseconds, of the fade out effect after the user is done
5142             drawing a gesture. -->
5143        <attr name="fadeDuration" format="integer" />
5144        <!-- Defines the type of strokes that define a gesture. -->
5145        <attr name="gestureStrokeType">
5146            <!-- A gesture is made of only one stroke. -->
5147            <enum name="single" value="0" />
5148            <!-- A gesture is made of multiple strokes. -->
5149            <enum name="multiple" value="1" />
5150        </attr>
5151        <!-- Minimum length of a stroke before it is recognized as a gesture. -->
5152        <attr name="gestureStrokeLengthThreshold" format="float" />
5153        <!-- Squareness threshold of a stroke before it is recognized as a gesture. -->
5154        <attr name="gestureStrokeSquarenessThreshold" format="float" />
5155        <!-- Minimum curve angle a stroke must contain before it is recognized as a gesture. -->
5156        <attr name="gestureStrokeAngleThreshold" format="float" />
5157        <!-- Defines whether the overlay should intercept the motion events when a gesture
5158             is recognized. -->
5159        <attr name="eventsInterceptionEnabled" format="boolean" />
5160        <!-- Defines whether the gesture will automatically fade out after being recognized. -->
5161        <attr name="fadeEnabled" format="boolean" />
5162        <!-- Indicates whether horizontal (when the orientation is vertical) or vertical
5163             (when orientation is horizontal) strokes automatically define a gesture. -->
5164        <attr name="orientation" />
5165    </declare-styleable>
5166
5167    <declare-styleable name="QuickContactBadge">
5168        <attr name="quickContactWindowSize">
5169            <enum name="modeSmall" value="1" />
5170            <enum name="modeMedium" value="2" />
5171            <enum name="modeLarge" value="3" />
5172        </attr>
5173    </declare-styleable>
5174
5175    <!-- ======================================= -->
5176    <!-- Widget package parent layout attributes -->
5177    <!-- ======================================= -->
5178    <eat-comment />
5179
5180    <declare-styleable name="AbsoluteLayout_Layout">
5181        <attr name="layout_x" format="dimension" />
5182        <attr name="layout_y" format="dimension" />
5183    </declare-styleable>
5184    <declare-styleable name="LinearLayout_Layout">
5185        <attr name="layout_width" />
5186        <attr name="layout_height" />
5187        <!-- Indicates how much of the extra space in the LinearLayout is
5188        allocated to the view associated with these LayoutParams. Specify
5189        0 if the view should not be stretched. Otherwise the extra pixels
5190        will be pro-rated among all views whose weight is greater than 0. -->
5191        <attr name="layout_weight" format="float" />
5192        <!-- Gravity specifies how a component should be placed in its group of cells.
5193        The default is {@link android.view.Gravity#TOP}.
5194        See {@link android.widget.LinearLayout#setGravity(int)}. -->
5195        <attr name="layout_gravity" />
5196    </declare-styleable>
5197    <declare-styleable name="GridLayout_Layout">
5198        <!-- The row boundary delimiting the top of the group of cells
5199        occupied by this view. -->
5200        <attr name="layout_row" format="integer" />
5201        <!-- The row span: the difference between the top and bottom
5202        boundaries delimiting the group of cells occupied by this view.
5203        The default is one.
5204        See {@link android.widget.GridLayout.Spec}. -->
5205        <attr name="layout_rowSpan" format="integer" min="1" />
5206        <!-- The relative proportion of vertical space that should be allocated to this view
5207        during excess space distribution. -->
5208        <attr name="layout_rowWeight" format="float" />
5209        <!-- The column boundary delimiting the left of the group of cells
5210        occupied by this view. -->
5211        <attr name="layout_column" />
5212        <!-- The column span: the difference between the right and left
5213        boundaries delimiting the group of cells occupied by this view.
5214        The default is one.
5215        See {@link android.widget.GridLayout.Spec}. -->
5216        <attr name="layout_columnSpan" format="integer" min="1" />
5217        <!-- The relative proportion of horizontal space that should be allocated to this view
5218        during excess space distribution. -->
5219        <attr name="layout_columnWeight" format="float" />
5220        <!-- Gravity specifies how a component should be placed in its group of cells.
5221        The default is LEFT | BASELINE.
5222        See {@link android.widget.GridLayout.LayoutParams#setGravity(int)}. -->
5223        <attr name="layout_gravity" />
5224    </declare-styleable>
5225    <declare-styleable name="FrameLayout_Layout">
5226        <attr name="layout_gravity" />
5227    </declare-styleable>
5228    <declare-styleable name="RelativeLayout_Layout">
5229        <!-- Positions the right edge of this view to the left of the given anchor view ID.
5230             Accommodates right margin of this view and left margin of anchor view. -->
5231        <attr name="layout_toLeftOf" format="reference" />
5232        <!-- Positions the left edge of this view to the right of the given anchor view ID.
5233            Accommodates left margin of this view and right margin of anchor view. -->
5234        <attr name="layout_toRightOf" format="reference" />
5235        <!-- Positions the bottom edge of this view above the given anchor view ID.
5236            Accommodates bottom margin of this view and top margin of anchor view. -->
5237        <attr name="layout_above" format="reference" />
5238        <!-- Positions the top edge of this view below the given anchor view ID.
5239            Accommodates top margin of this view and bottom margin of anchor view. -->
5240        <attr name="layout_below" format="reference" />
5241        <!-- Positions the baseline of this view on the baseline of the given anchor view ID. -->
5242        <attr name="layout_alignBaseline" format="reference" />
5243        <!-- Makes the left edge of this view match the left edge of the given anchor view ID.
5244            Accommodates left margin. -->
5245        <attr name="layout_alignLeft" format="reference" />
5246        <!-- Makes the top edge of this view match the top edge of the given anchor view ID.
5247            Accommodates top margin. -->
5248        <attr name="layout_alignTop" format="reference" />
5249        <!-- Makes the right edge of this view match the right edge of the given anchor view ID.
5250            Accommodates right margin. -->
5251        <attr name="layout_alignRight" format="reference" />
5252        <!-- Makes the bottom edge of this view match the bottom edge of the given anchor view ID.
5253            Accommodates bottom margin. -->
5254        <attr name="layout_alignBottom" format="reference" />
5255        <!-- If true, makes the left edge of this view match the left edge of the parent.
5256            Accommodates left margin. -->
5257        <attr name="layout_alignParentLeft" format="boolean" />
5258        <!-- If true, makes the top edge of this view match the top edge of the parent.
5259            Accommodates top margin. -->
5260        <attr name="layout_alignParentTop" format="boolean" />
5261        <!-- If true, makes the right edge of this view match the right edge of the parent.
5262            Accommodates right margin. -->
5263        <attr name="layout_alignParentRight" format="boolean" />
5264        <!-- If true, makes the bottom edge of this view match the bottom edge of the parent.
5265            Accommodates bottom margin. -->
5266        <attr name="layout_alignParentBottom" format="boolean" />
5267        <!-- If true, centers this child horizontally and vertically within its parent. -->
5268        <attr name="layout_centerInParent" format="boolean" />
5269        <!-- If true, centers this child horizontally within its parent. -->
5270        <attr name="layout_centerHorizontal" format="boolean" />
5271        <!-- If true, centers this child vertically within its parent. -->
5272        <attr name="layout_centerVertical" format="boolean" />
5273        <!-- If set to true, the parent will be used as the anchor when the anchor cannot be
5274             be found for layout_toLeftOf, layout_toRightOf, etc. -->
5275        <attr name="layout_alignWithParentIfMissing" format="boolean" />
5276        <!-- Positions the end edge of this view to the start of the given anchor view ID.
5277             Accommodates end margin of this view and start margin of anchor view. -->
5278        <attr name="layout_toStartOf" format="reference" />
5279        <!-- Positions the start edge of this view to the end of the given anchor view ID.
5280             Accommodates start margin of this view and end margin of anchor view. -->
5281        <attr name="layout_toEndOf" format="reference" />
5282        <!-- Makes the start edge of this view match the start edge of the given anchor view ID.
5283            Accommodates start margin. -->
5284        <attr name="layout_alignStart" format="reference" />
5285        <!-- Makes the end edge of this view match the end edge of the given anchor view ID.
5286            Accommodates end margin. -->
5287        <attr name="layout_alignEnd" format="reference" />
5288        <!-- If true, makes the start edge of this view match the start edge of the parent.
5289            Accommodates start margin. -->
5290        <attr name="layout_alignParentStart" format="boolean" />
5291        <!-- If true, makes the end edge of this view match the end edge of the parent.
5292            Accommodates end margin. -->
5293        <attr name="layout_alignParentEnd" format="boolean" />
5294    </declare-styleable>
5295    <declare-styleable name="VerticalSlider_Layout">
5296        <attr name="layout_scale" format="float" />
5297    </declare-styleable>
5298
5299    <!-- @hide -->
5300    <declare-styleable name="WeightedLinearLayout">
5301        <attr name="majorWeightMin" format="float" />
5302        <attr name="minorWeightMin" format="float" />
5303        <attr name="majorWeightMax" format="float" />
5304        <attr name="minorWeightMax" format="float" />
5305    </declare-styleable>
5306
5307    <declare-styleable name="CalendarView">
5308        <!-- The first day of week according to {@link java.util.Calendar}. -->
5309        <attr name="firstDayOfWeek" format="integer" />
5310        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
5311        <attr name="minDate" />
5312        <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. -->
5313        <attr name="maxDate" />
5314        <!-- The text appearance for the month and year in the calendar header. -->
5315        <attr name="monthTextAppearance" format="reference" />
5316        <!-- The text appearance for the week day abbreviation in the calendar header. -->
5317        <attr name="weekDayTextAppearance" format="reference" />
5318        <!-- The text appearance for the day numbers in the calendar grid. -->
5319        <attr name="dateTextAppearance" format="reference" />
5320        <!-- @hide The background color used for the day selection indicator. -->
5321        <attr name="daySelectorColor" format="color" />
5322        <!-- @hide The background color used for the day highlight indicator. -->
5323        <attr name="dayHighlightColor" format="color" />
5324        <!-- @hide Which style of calendar delegate to use. -->
5325        <attr name="calendarViewMode">
5326            <enum name="holo" value="0" />
5327            <enum name="material" value="1" />
5328        </attr>
5329
5330        <!-- @deprecated Whether do show week numbers. -->
5331        <attr name="showWeekNumber" format="boolean" />
5332        <!-- @deprecated The number of weeks to be shown. -->
5333        <attr name="shownWeekCount" format="integer"/>
5334        <!-- @deprecated The background color for the selected week. -->
5335        <attr name="selectedWeekBackgroundColor" format="color|reference" />
5336        <!-- @deprecated The color for the dates of the focused month. -->
5337        <attr name="focusedMonthDateColor" format="color|reference" />
5338        <!-- @deprecated The color for the dates of an unfocused month. -->
5339        <attr name="unfocusedMonthDateColor" format="color|reference" />
5340        <!-- @deprecated The color for the week numbers. -->
5341        <attr name="weekNumberColor" format="color|reference" />
5342        <!-- @deprecated The color for the separator line between weeks. -->
5343        <attr name="weekSeparatorLineColor" format="color|reference" />
5344        <!-- @deprecated Drawable for the vertical bar shown at the beginning and at the end of the selected date. -->
5345        <attr name="selectedDateVerticalBar" format="reference" />
5346    </declare-styleable>
5347
5348    <declare-styleable name="NumberPicker">
5349        <!-- @hide Color for the solid color background if such for optimized rendering. -->
5350        <attr name="solidColor" format="color|reference" />
5351        <!-- @hide The divider for making the selection area. -->
5352        <attr name="selectionDivider" format="reference" />
5353        <!-- @hide The height of the selection divider. -->
5354        <attr name="selectionDividerHeight" format="dimension" />
5355        <!-- @hide The distance between the two selection dividers. -->
5356        <attr name="selectionDividersDistance" format="dimension" />
5357        <!-- @hide The min height of the NumberPicker. -->
5358        <attr name="internalMinHeight" format="dimension" />
5359        <!-- @hide The max height of the NumberPicker. -->
5360        <attr name="internalMaxHeight" format="dimension" />
5361        <!-- @hide The min width of the NumberPicker. -->
5362        <attr name="internalMinWidth" format="dimension" />
5363        <!-- @hide The max width of the NumberPicker. -->
5364        <attr name="internalMaxWidth" format="dimension" />
5365        <!-- @hide The layout of the number picker. -->
5366        <attr name="internalLayout" />
5367        <!-- @hide The drawable for pressed virtual (increment/decrement) buttons. -->
5368        <attr name="virtualButtonPressedDrawable" format="reference"/>
5369        <!-- @hide If true then the selector wheel is hidden until the picker has focus. -->
5370        <attr name="hideWheelUntilFocused" format="boolean"/>
5371    </declare-styleable>
5372
5373    <declare-styleable name="TimePicker">
5374        <!-- @hide The layout of the legacy time picker. -->
5375        <attr name="legacyLayout" format="reference" />
5376        <!-- @hide The layout of the time picker. -->
5377        <attr name="internalLayout" />
5378
5379        <!-- The text color for the selected time header text, ex. "12" or
5380             "PM". This should be a color state list where the activated state
5381             will be used when the minute picker or hour picker is active.-->
5382        <attr name="headerTextColor" />
5383        <!-- The background for the header containing the currently selected time. -->
5384        <attr name="headerBackground" />
5385
5386        <!-- The color for the hours/minutes numbers. This should be a color
5387             state list where the activated state will be used when the number
5388             is active.-->
5389        <attr name="numbersTextColor" format="color" />
5390        <!-- The color for the inner hours numbers used in 24-hour mode. This
5391             should be a color state list where the activated state will be
5392             used when the number is active.-->
5393        <attr name="numbersInnerTextColor" format="color" />
5394        <!-- The background color for the hours/minutes numbers. -->
5395        <attr name="numbersBackgroundColor" format="color" />
5396        <!-- The color for the hours/minutes selector. -->
5397        <attr name="numbersSelectorColor" format="color" />
5398
5399        <!-- Defines the look of the widget. Prior to the L release, the only choice was
5400             spinner. As of L, with the Material theme selected, the default layout is clock,
5401             but this attribute can be used to force spinner to be used instead. -->
5402        <attr name="timePickerMode">
5403            <!-- Time picker with spinner controls to select the time. -->
5404            <enum name="spinner" value="1" />
5405            <!-- Time picker with clock face to select the time. -->
5406            <enum name="clock" value="2" />
5407        </attr>
5408
5409        <!-- The text appearance for the AM/PM header.
5410             @deprecated Use headerTextColor instead. -->
5411        <attr name="headerAmPmTextAppearance" format="reference" />
5412        <!-- The text appearance for the time header.
5413             @deprecated Use headerTextColor instead. -->
5414        <attr name="headerTimeTextAppearance" format="reference" />
5415        <!-- The color for the AM/PM selectors.
5416             {@deprecated Use headerTextColor instead.}-->
5417        <attr name="amPmTextColor" format="color" />
5418        <!-- The background color state list for the AM/PM selectors.
5419             {@deprecated Use headerBackground instead.}-->
5420        <attr name="amPmBackgroundColor" format="color" />
5421
5422        <!-- @hide Whether this time picker is being displayed within a dialog,
5423             in which case it may ignore the requested time picker mode due to
5424             space considerations. -->
5425        <attr name="dialogMode" />
5426    </declare-styleable>
5427
5428    <!-- ========================= -->
5429    <!-- Drawable class attributes -->
5430    <!-- ========================= -->
5431    <eat-comment />
5432
5433    <!-- Base attributes that are available to all Drawable objects. -->
5434    <declare-styleable name="Drawable">
5435        <!-- Provides initial visibility state of the drawable; the default
5436             value is false.  See
5437             {@link android.graphics.drawable.Drawable#setVisible}. -->
5438        <attr name="visible" format="boolean" />
5439        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5440             RTL (right-to-left).  See
5441             {@link android.graphics.drawable.Drawable#setAutoMirrored}. -->
5442        <attr name="autoMirrored" format="boolean" />
5443    </declare-styleable>
5444
5445    <!-- Drawable class used to wrap other drawables. -->
5446    <declare-styleable name="DrawableWrapper">
5447        <!-- The wrapped drawable. -->
5448        <attr name="drawable" />
5449    </declare-styleable>
5450
5451    <!-- Drawable used to render several states. Each state is represented by
5452         a child drawable. -->
5453    <declare-styleable name="StateListDrawable">
5454        <!-- Indicates whether the drawable should be initially visible. -->
5455        <attr name="visible" />
5456        <!-- If true, allows the drawable's padding to change based on the
5457             current state that is selected.  If false, the padding will
5458             stay the same (based on the maximum padding of all the states).
5459             Enabling this feature requires that the owner of the drawable
5460             deal with performing layout when the state changes, which is
5461             often not supported. -->
5462        <attr name="variablePadding" format="boolean" />
5463        <!-- If true, the drawable's reported internal size will remain
5464             constant as the state changes; the size is the maximum of all
5465             of the states.  If false, the size will vary based on the
5466             current state. -->
5467        <attr name="constantSize" format="boolean" />
5468        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5469             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5470             an RGB 565 screen). -->
5471        <attr name="dither" format="boolean" />
5472        <!-- Amount of time (in milliseconds) to fade in a new state drawable. -->
5473        <attr name="enterFadeDuration" format="integer" />
5474        <!-- Amount of time (in milliseconds) to fade out an old state drawable. -->
5475        <attr name="exitFadeDuration" format="integer" />
5476        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5477             RTL (right-to-left). -->
5478        <attr name="autoMirrored"/>
5479    </declare-styleable>
5480
5481    <!-- Drawable used to render several states with animated transitions. Each state
5482         is represented by a child drawable with an optional keyframe ID. -->
5483    <declare-styleable name="AnimatedStateListDrawable">
5484        <!-- Indicates whether the drawable should be initially visible. -->
5485        <attr name="visible" />
5486        <!-- If true, allows the drawable's padding to change based on the
5487             current state that is selected.  If false, the padding will
5488             stay the same (based on the maximum padding of all the states).
5489             Enabling this feature requires that the owner of the drawable
5490             deal with performing layout when the state changes, which is
5491             often not supported. -->
5492        <attr name="variablePadding" />
5493        <!-- If true, the drawable's reported internal size will remain
5494             constant as the state changes; the size is the maximum of all
5495             of the states.  If false, the size will vary based on the
5496             current state. -->
5497        <attr name="constantSize" />
5498        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5499             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5500             an RGB 565 screen). -->
5501        <attr name="dither" />
5502        <!-- Amount of time (in milliseconds) to fade in a new state drawable. -->
5503        <attr name="enterFadeDuration" />
5504        <!-- Amount of time (in milliseconds) to fade out an old state drawable. -->
5505        <attr name="exitFadeDuration" />
5506        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5507             RTL (right-to-left). -->
5508        <attr name="autoMirrored"/>
5509    </declare-styleable>
5510
5511    <!-- Represents a single state inside a StateListDrawable. -->
5512    <declare-styleable name="StateListDrawableItem">
5513        <!-- Reference to a drawable resource to use for the state. If not
5514             given, the drawable must be defined by the first child tag. -->
5515        <attr name="drawable" />
5516    </declare-styleable>
5517
5518    <!-- Transition used to animate between states with keyframe IDs. -->
5519    <declare-styleable name="AnimatedStateListDrawableItem">
5520        <!-- Reference to a drawable resource to use for the frame.  If not
5521             given, the drawable must be defined by the first child tag. -->
5522        <attr name="drawable" />
5523        <!-- Keyframe identifier for use in specifying transitions. -->
5524        <attr name="id" />
5525    </declare-styleable>
5526
5527    <!-- Transition used to animate between states with keyframe IDs. -->
5528    <declare-styleable name="AnimatedStateListDrawableTransition">
5529        <!-- Keyframe identifier for the starting state. -->
5530        <attr name="fromId" format="reference" />
5531        <!-- Keyframe identifier for the ending state. -->
5532        <attr name="toId" format="reference" />
5533        <!-- Reference to a animation drawable resource to use for the frame.  If not
5534             given, the animation drawable must be defined by the first child tag. -->
5535        <attr name="drawable" />
5536        <!-- Whether this transition is reversible. -->
5537        <attr name="reversible" format="boolean" />
5538    </declare-styleable>
5539
5540    <!-- Drawable used to render several animated frames. -->
5541    <declare-styleable name="AnimationDrawable">
5542        <attr name="visible" />
5543        <attr name="variablePadding" />
5544        <!-- If true, the animation will only run a single time and then
5545             stop.  If false (the default), it will continually run,
5546             restarting at the first frame after the last has finished. -->
5547        <attr name="oneshot" format="boolean" />
5548    </declare-styleable>
5549
5550    <!-- Represents a single frame inside an AnimationDrawable. -->
5551    <declare-styleable name="AnimationDrawableItem">
5552        <!-- Amount of time (in milliseconds) to display this frame. -->
5553        <attr name="duration" format="integer" />
5554        <!-- Reference to a drawable resource to use for the frame.  If not
5555             given, the drawable must be defined by the first child tag. -->
5556        <attr name="drawable" format="reference" />
5557    </declare-styleable>
5558
5559    <!-- Attributes that can be assigned to a StateListAnimator item. -->
5560    <declare-styleable name="StateListAnimatorItem">
5561        <attr name="animation"/>
5562    </declare-styleable>
5563
5564    <!-- Attributes that can be assigned to a ColorStateList item. -->
5565    <declare-styleable name="ColorStateListItem">
5566        <!-- Base color for this state. -->
5567        <attr name="color" />
5568        <!-- Alpha multiplier applied to the base color. -->
5569        <attr name="alpha" />
5570    </declare-styleable>
5571
5572    <!-- Drawable used to render according to the animation scale. Esp. when it is 0 due to battery
5573         saver mode. It should contain one animatable drawable and one static drawable.
5574         @hide -->
5575    <declare-styleable name="AnimationScaleListDrawable">
5576    </declare-styleable>
5577
5578    <!-- Attributes that can be assigned to a AnimationScaleListDrawable item.
5579         @hide -->
5580    <declare-styleable name="AnimationScaleListDrawableItem">
5581        <!-- Reference to a drawable resource to use for the state. If not
5582             given, the drawable must be defined by the first child tag. -->
5583        <attr name="drawable" />
5584    </declare-styleable>
5585
5586
5587    <!-- Drawable used to render a geometric shape, with a gradient or a solid color. -->
5588    <declare-styleable name="GradientDrawable">
5589        <!-- Indicates whether the drawable should intially be visible. -->
5590        <attr name="visible" />
5591        <!-- Enables or disables dithering. -->
5592        <attr name="dither" />
5593        <!-- Indicates what shape to fill with a gradient. -->
5594        <attr name="shape">
5595            <!-- Rectangle shape, with optional rounder corners. -->
5596            <enum name="rectangle" value="0" />
5597            <!-- Oval shape. -->
5598            <enum name="oval" value="1" />
5599            <!-- Line shape. -->
5600            <enum name="line" value="2" />
5601            <!-- Ring shape. -->
5602            <enum name="ring" value="3" />
5603        </attr>
5604        <!-- Inner radius of the ring expressed as a ratio of the ring's width. For instance,
5605             if innerRadiusRatio=9, then the inner radius equals the ring's width divided by 9.
5606             This value is ignored if innerRadius is defined. Default value is 9. -->
5607        <attr name="innerRadiusRatio" format="float" />
5608        <!-- Thickness of the ring expressed as a ratio of the ring's width. For instance,
5609             if thicknessRatio=3, then the thickness equals the ring's width divided by 3.
5610             This value is ignored if innerRadius is defined. Default value is 3. -->
5611        <attr name="thicknessRatio" format="float" />
5612        <!-- Inner radius of the ring. When defined, innerRadiusRatio is ignored. -->
5613        <attr name="innerRadius" format="dimension" />
5614        <!-- Thickness of the ring. When defined, thicknessRatio is ignored. -->
5615        <attr name="thickness" format="dimension" />
5616        <!-- Whether the drawable level value (see
5617             {@link android.graphics.drawable.Drawable#getLevel()}) is used to scale the shape.
5618             Scaling behavior depends on the shape type. For "ring", the angle is scaled from 0 to
5619             360. For all other types, there is no effect. The default value is true. -->
5620        <attr name="useLevel" />
5621        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5622             no tint is applied. May be a color state list. -->
5623        <attr name="tint" />
5624        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5625             default value is src_in, which treats the drawable as an alpha mask. -->
5626        <attr name="tintMode" />
5627        <!-- Left optical inset.
5628             @hide Until optical insets are fully supported. -->
5629        <attr name="opticalInsetLeft" />
5630        <!-- Top optical inset.
5631             @hide Until optical insets are fully supported. -->
5632        <attr name="opticalInsetTop" />
5633        <!-- Right optical inset.
5634             @hide Until optical insets are fully supported. -->
5635        <attr name="opticalInsetRight" />
5636        <!-- Bottom optical inset.
5637             @hide Until optical insets are fully supported. -->
5638        <attr name="opticalInsetBottom" />
5639    </declare-styleable>
5640
5641    <!-- Used to specify the size of the shape for GradientDrawable. -->
5642    <declare-styleable name="GradientDrawableSize">
5643        <!-- Width of the gradient shape. -->
5644        <attr name="width" />
5645        <!-- Height of the gradient shape. -->
5646        <attr name="height" />
5647    </declare-styleable>
5648
5649    <!-- Used to describe the gradient used to fill the shape of a GradientDrawable. -->
5650    <declare-styleable name="GradientDrawableGradient">
5651        <!-- Start color of the gradient. -->
5652        <attr name="startColor" format="color" />
5653        <!-- Optional center color. For linear gradients, use centerX or centerY to place the center
5654             color. -->
5655        <attr name="centerColor" format="color" />
5656        <!-- End color of the gradient. -->
5657        <attr name="endColor" format="color" />
5658        <!-- Whether the drawable level value (see
5659             {@link android.graphics.drawable.Drawable#getLevel()}) is used to scale the gradient.
5660             Scaling behavior varies based on gradient type. For "linear", adjusts the ending
5661             position along the gradient's axis of orientation. For "radial", adjusts the outer
5662             radius. For "sweep", adjusts the ending angle. The default value is false. -->
5663        <attr name="useLevel" format="boolean" />
5664        <!-- Angle of the gradient, used only with linear gradient. Must be a multiple of 45 in the
5665             range [0, 315]. -->
5666        <attr name="angle" format="float" />
5667        <!-- Type of gradient. The default type is linear. -->
5668        <attr name="type">
5669            <!-- Linear gradient extending across the center point. -->
5670            <enum name="linear" value="0" />
5671            <!-- Radial gradient extending from the center point outward. -->
5672            <enum name="radial" value="1" />
5673            <!-- Sweep (or angular) gradient sweeping counter-clockwise around the center point. -->
5674            <enum name="sweep"  value="2" />
5675        </attr>
5676        <!-- X-position of the center point of the gradient within the shape as a fraction of the
5677             width. The default value is 0.5. -->
5678        <attr name="centerX" format="float|fraction" />
5679        <!-- Y-position of the center point of the gradient within the shape as a fraction of the
5680             height. The default value is 0.5. -->
5681        <attr name="centerY" format="float|fraction" />
5682        <!-- Radius of the gradient, used only with radial gradient. May be an explicit dimension
5683             or a fractional value relative to the shape's minimum dimension. -->
5684        <attr name="gradientRadius" format="float|fraction|dimension" />
5685    </declare-styleable>
5686
5687    <!-- Used to fill the shape of GradientDrawable with a solid color. -->
5688    <declare-styleable name="GradientDrawableSolid">
5689        <!-- Solid color for the gradient shape. -->
5690        <attr name="color" format="color" />
5691    </declare-styleable>
5692
5693    <!-- Used to describe the optional stroke of a GradientDrawable. -->
5694    <declare-styleable name="GradientDrawableStroke">
5695        <!-- Width of the gradient shape's stroke. -->
5696        <attr name="width" />
5697        <!-- Color of the gradient shape's stroke. -->
5698        <attr name="color" />
5699        <!-- Length of a dash in the stroke. -->
5700        <attr name="dashWidth" format="dimension" />
5701        <!-- Gap between dashes in the stroke. -->
5702        <attr name="dashGap" format="dimension" />
5703    </declare-styleable>
5704
5705    <!-- Describes the corners for the rectangle shape of a GradientDrawable.
5706         This can be used to render rounded corners. -->
5707    <declare-styleable name="DrawableCorners">
5708        <!-- Defines the radius of the four corners. -->
5709        <attr name="radius" format="dimension" />
5710        <!-- Radius of the top left corner. -->
5711        <attr name="topLeftRadius" format="dimension" />
5712        <!-- Radius of the top right corner. -->
5713        <attr name="topRightRadius" format="dimension" />
5714        <!-- Radius of the bottom left corner. -->
5715        <attr name="bottomLeftRadius" format="dimension" />
5716        <!-- Radius of the bottom right corner. -->
5717        <attr name="bottomRightRadius" format="dimension" />
5718    </declare-styleable>
5719
5720    <!-- Used to specify the optional padding of a GradientDrawable. -->
5721    <declare-styleable name="GradientDrawablePadding">
5722        <!-- Amount of left padding inside the gradient shape. -->
5723        <attr name="left" format="dimension" />
5724        <!-- Amount of top padding inside the gradient shape. -->
5725        <attr name="top" format="dimension" />
5726        <!-- Amount of right padding inside the gradient shape. -->
5727        <attr name="right" format="dimension" />
5728        <!-- Amount of bottom padding inside the gradient shape. -->
5729        <attr name="bottom" format="dimension" />
5730    </declare-styleable>
5731
5732    <!-- Drawable used to render several drawables stacked on top of each other.
5733         Each child drawable can be controlled individually. -->
5734    <declare-styleable name="LayerDrawable">
5735        <!-- Indicates the opacity of the layer. This can be useful to allow the
5736              system to enable drawing optimizations. The default value is
5737              translucent. -->
5738        <attr name="opacity">
5739            <!-- Indicates that the layer is opaque and contains no transparent
5740                 nor translucent pixels. -->
5741            <enum name="opaque" value="-1" />
5742            <!-- The layer is completely transparent (no pixel will be drawn). -->
5743            <enum name="transparent" value="-2" />
5744            <!-- The layer has translucent pixels. -->
5745            <enum name="translucent" value="-3" />
5746        </attr>
5747        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5748             RTL (right-to-left). -->
5749        <attr name="autoMirrored" />
5750        <!-- Indicates how layer padding should affect the bounds of subsequent layers.
5751             The default padding mode value is nest. -->
5752        <attr name="paddingMode">
5753            <!-- Nest each layer inside the padding of the previous layer. -->
5754            <enum name="nest" value="0" />
5755            <!-- Stack each layer directly atop the previous layer. -->
5756            <enum name="stack" value="1" />
5757        </attr>
5758        <!-- Explicit top padding. Overrides child padding. -->
5759        <attr name="paddingTop" />
5760        <!-- Explicit bottom padding. Overrides child padding. -->
5761        <attr name="paddingBottom" />
5762        <!-- Explicit left padding. Overrides child padding. -->
5763        <attr name="paddingLeft" />
5764        <!-- Explicit right padding. Overrides child padding. -->
5765        <attr name="paddingRight" />
5766        <!-- Explicit start padding. Overrides child padding. Takes precedence
5767             over absolute padding (for example, left when layout direction is LTR). -->
5768        <attr name="paddingStart" />
5769        <!-- Explicit end padding. Overrides child padding. Takes precedence
5770             over absolute padding (for example, right when layout direction is LTR). -->
5771        <attr name="paddingEnd" />
5772    </declare-styleable>
5773
5774    <!-- Describes an item (or child) of a LayerDrawable. -->
5775    <declare-styleable name="LayerDrawableItem">
5776        <!-- Left inset to apply to the layer. -->
5777        <attr name="left" />
5778        <!-- Top inset to apply to the layer. -->
5779        <attr name="top" />
5780        <!-- Right inset to apply to the layer. -->
5781        <attr name="right" />
5782        <!-- Bottom inset to apply to the layer. -->
5783        <attr name="bottom" />
5784        <!-- Start inset to apply to the layer. Overrides {@code left} or
5785             {@code right} depending on layout direction. -->
5786        <attr name="start" format="dimension" />
5787        <!-- End inset to apply to the layer. Overrides {@code left} or
5788             {@code right} depending on layout direction. -->
5789        <attr name="end" format="dimension" />
5790        <!-- Width of the layer. Defaults to the layer's intrinsic width. -->
5791        <attr name="width" />
5792        <!-- Height of the layer. Defaults to the layer's intrinsic height. -->
5793        <attr name="height" />
5794        <!-- Gravity used to align the layer within its container. If no value
5795             is specified, the default behavior depends on whether an explicit
5796             width or height has been set, If no dimension is set, gravity in
5797             that direction defaults to {@code fill_horizontal} or
5798             {@code fill_vertical}; otherwise, it defaults to {@code left} or
5799             {@code top}. -->
5800        <attr name="gravity" />
5801        <!-- Drawable used to render the layer. -->
5802        <attr name="drawable" />
5803        <!-- Identifier of the layer. This can be used to retrieve the layer
5804             from a drawable container. -->
5805        <attr name="id" />
5806    </declare-styleable>
5807
5808    <declare-styleable name="LevelListDrawableItem">
5809        <!-- The minimum level allowed for this item. -->
5810        <attr name="minLevel" format="integer" />
5811        <!-- The maximum level allowed for this item. -->
5812        <attr name="maxLevel" format="integer" />
5813        <attr name="drawable" />
5814    </declare-styleable>
5815
5816    <!-- Drawable used to rotate another drawable. -->
5817    <declare-styleable name="RotateDrawable">
5818        <attr name="visible" />
5819        <attr name="fromDegrees" format="float" />
5820        <attr name="toDegrees" format="float" />
5821        <attr name="pivotX" format="float|fraction" />
5822        <attr name="pivotY" format="float|fraction" />
5823        <attr name="drawable" />
5824    </declare-styleable>
5825
5826    <declare-styleable name="AnimatedRotateDrawable">
5827        <attr name="visible" />
5828        <attr name="frameDuration" format="integer" />
5829        <attr name="framesCount" format="integer" />
5830        <attr name="pivotX" />
5831        <attr name="pivotY" />
5832        <attr name="drawable" />
5833    </declare-styleable>
5834
5835    <!-- Drawable used to render the Material progress indicator. -->
5836    <declare-styleable name="MaterialProgressDrawable">
5837        <attr name="visible" />
5838        <attr name="thickness" />
5839        <attr name="innerRadius" />
5840        <attr name="width" />
5841        <attr name="height" />
5842        <attr name="color" />
5843    </declare-styleable>
5844
5845    <!-- Drawable used to wrap and inset another drawable. -->
5846    <declare-styleable name="InsetDrawable">
5847        <attr name="visible" />
5848        <attr name="drawable" />
5849        <attr name="inset"  format="fraction|dimension"/>
5850        <attr name="insetLeft" format="fraction|dimension" />
5851        <attr name="insetRight" format="fraction|dimension" />
5852        <attr name="insetTop" format="fraction|dimension" />
5853        <attr name="insetBottom" format="fraction|dimension" />
5854    </declare-styleable>
5855
5856    <!-- Drawable used to draw bitmaps. -->
5857    <declare-styleable name="BitmapDrawable">
5858        <!-- Identifier of the bitmap file. This attribute is mandatory. -->
5859        <attr name="src" />
5860        <!-- Enables or disables antialiasing. Antialiasing can be used to smooth the
5861             edges of a bitmap when rotated. Default value is false. -->
5862        <attr name="antialias" format="boolean" />
5863        <!-- Enables or disables bitmap filtering. Filtering is used when the bitmap is
5864             shrunk or stretched to smooth its apperance. Default value is true. -->
5865        <attr name="filter" format="boolean" />
5866        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5867             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5868             an RGB 565 screen). Default value is true. -->
5869        <attr name="dither" />
5870        <!-- Defines the gravity for the bitmap. The gravity indicates where to position
5871             the drawable in its container if the bitmap is smaller than the container. -->
5872        <attr name="gravity" />
5873        <!-- Defines the tile mode. When the tile mode is enabled, the bitmap is repeated.
5874             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5875        <attr name="tileMode">
5876            <!-- Do not tile the bitmap. This is the default value. -->
5877            <enum name="disabled" value="-1" />
5878            <!-- Replicates the edge color. -->
5879            <enum name="clamp" value="0" />
5880            <!-- Repeats the bitmap in both direction. -->
5881            <enum name="repeat" value="1" />
5882            <!-- Repeats the shader's image horizontally and vertically, alternating
5883                 mirror images so that adjacent images always seam. -->
5884            <enum name="mirror" value="2" />
5885        </attr>
5886        <!-- Defines the horizontal tile mode. When the tile mode is enabled, the bitmap is repeated.
5887             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5888        <attr name="tileModeX">
5889            <!-- Do not tile the bitmap. This is the default value. -->
5890            <enum name="disabled" value="-1" />
5891            <!-- Replicates the edge color. -->
5892            <enum name="clamp" value="0" />
5893            <!-- Repeats the bitmap horizontally. -->
5894            <enum name="repeat" value="1" />
5895            <!-- Repeats the shader's image horizontally, alternating
5896                 mirror images so that adjacent images always seam. -->
5897            <enum name="mirror" value="2" />
5898        </attr>
5899        <!-- Defines the vertical tile mode. When the tile mode is enabled, the bitmap is repeated.
5900             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5901        <attr name="tileModeY">
5902            <!-- Do not tile the bitmap. This is the default value. -->
5903            <enum name="disabled" value="-1" />
5904            <!-- Replicates the edge color. -->
5905            <enum name="clamp" value="0" />
5906            <!-- Repeats the bitmap vertically. -->
5907            <enum name="repeat" value="1" />
5908            <!-- Repeats the shader's image vertically, alternating
5909                 mirror images so that adjacent images always seam. -->
5910            <enum name="mirror" value="2" />
5911        </attr>
5912        <!-- Enables or disables the mipmap hint. See
5913            {@link android.graphics.Bitmap#setHasMipMap(boolean)} for more information.
5914            Default value is false. -->
5915        <attr name="mipMap" format="boolean" />
5916        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5917             RTL (right-to-left). -->
5918        <attr name="autoMirrored" />
5919        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5920             no tint is applied. May be a color state list. -->
5921        <attr name="tint" />
5922        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5923             default value is src_in, which treats the drawable as an alpha mask. -->
5924        <attr name="tintMode">
5925            <!-- The tint is drawn on top of the drawable.
5926                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
5927            <enum name="src_over" value="3" />
5928            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
5929                 color channels are thrown out. [Sa * Da, Sc * Da] -->
5930            <enum name="src_in" value="5" />
5931            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
5932                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
5933            <enum name="src_atop" value="9" />
5934            <!-- Multiplies the color and alpha channels of the drawable with those of
5935                 the tint. [Sa * Da, Sc * Dc] -->
5936            <enum name="multiply" value="14" />
5937            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
5938            <enum name="screen" value="15" />
5939            <!-- Combines the tint and drawable color and alpha channels, clamping the
5940                 result to valid color values. Saturate(S + D) -->
5941            <enum name="add" value="16" />
5942        </attr>
5943        <!-- Specifies the alpha multiplier to apply to the base drawable. -->
5944        <attr name="alpha" />
5945    </declare-styleable>
5946
5947    <!-- Drawable used to draw 9-patches. -->
5948    <declare-styleable name="NinePatchDrawable">
5949        <!-- Identifier of the bitmap file. This attribute is mandatory. -->
5950        <attr name="src" />
5951        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5952             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5953             an RGB 565 screen). -->
5954        <attr name="dither" />
5955        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5956             RTL (right-to-left). -->
5957        <attr name="autoMirrored" />
5958        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5959             no tint is applied. May be a color state list. -->
5960        <attr name="tint" />
5961        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5962             default value is src_in, which treats the drawable as an alpha mask. -->
5963        <attr name="tintMode" />
5964        <!-- Specifies the alpha multiplier to apply to the base drawable. -->
5965        <attr name="alpha" />
5966    </declare-styleable>
5967
5968    <!-- Drawable used to draw a single color. -->
5969    <declare-styleable name="ColorDrawable">
5970        <!-- The color to use. -->
5971        <attr name="color" />
5972    </declare-styleable>
5973
5974    <!-- Drawable used to draw adaptive icons with foreground and background layers. -->
5975    <declare-styleable name="AdaptiveIconDrawableLayer">
5976        <!-- The drawable to use for the layer. -->
5977        <attr name="drawable" />
5978     </declare-styleable>
5979
5980    <!-- Drawable used to show animated touch feedback. -->
5981    <declare-styleable name="RippleDrawable">
5982        <!-- The color to use for ripple effects. This attribute is required. -->
5983        <attr name="color" />
5984        <!-- The radius of the ripple when fully expanded. By default, the
5985             radius is computed based on the size of the ripple's container. -->
5986        <attr name="radius" />
5987    </declare-styleable>
5988
5989    <declare-styleable name="ScaleDrawable">
5990        <!-- Scale width, expressed as a percentage of the drawable's bound. The value's
5991             format is XX%. For instance: 100%, 12.5%, etc.-->
5992        <attr name="scaleWidth" format="string" />
5993        <!-- Scale height, expressed as a percentage of the drawable's bound. The value's
5994             format is XX%. For instance: 100%, 12.5%, etc.-->
5995        <attr name="scaleHeight" format="string" />
5996        <!-- Specifies where the drawable is positioned after scaling. The default value is
5997             left. -->
5998        <attr name="scaleGravity">
5999            <!-- Push object to the top of its container, not changing its size. -->
6000            <flag name="top" value="0x30" />
6001            <!-- Push object to the bottom of its container, not changing its size. -->
6002            <flag name="bottom" value="0x50" />
6003            <!-- Push object to the left of its container, not changing its size. -->
6004            <flag name="left" value="0x03" />
6005            <!-- Push object to the right of its container, not changing its size. -->
6006            <flag name="right" value="0x05" />
6007            <!-- Place object in the vertical center of its container, not changing its size. -->
6008            <flag name="center_vertical" value="0x10" />
6009            <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
6010            <flag name="fill_vertical" value="0x70" />
6011            <!-- Place object in the horizontal center of its container, not changing its size. -->
6012            <flag name="center_horizontal" value="0x01" />
6013            <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
6014            <flag name="fill_horizontal" value="0x07" />
6015            <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
6016            <flag name="center" value="0x11" />
6017            <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
6018            <flag name="fill" value="0x77" />
6019            <!-- Additional option that can be set to have the top and/or bottom edges of
6020                 the child clipped to its container's bounds.
6021                 The clip will be based on the vertical gravity: a top gravity will clip the bottom
6022                 edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
6023            <flag name="clip_vertical" value="0x80" />
6024            <!-- Additional option that can be set to have the left and/or right edges of
6025                 the child clipped to its container's bounds.
6026                 The clip will be based on the horizontal gravity: a left gravity will clip the right
6027                 edge, a right gravity will clip the left edge, and neither will clip both edges. -->
6028            <flag name="clip_horizontal" value="0x08" />
6029            <!-- Push object to the beginning of its container, not changing its size. -->
6030            <flag name="start" value="0x00800003" />
6031            <!-- Push object to the end of its container, not changing its size. -->
6032            <flag name="end" value="0x00800005" />
6033        </attr>
6034        <!-- Specifies the initial drawable level in the range 0 to 10000. -->
6035        <attr name="level" format="integer" />
6036        <!-- Reference to a drawable resource to draw with the specified scale. -->
6037        <attr name="drawable" />
6038        <!-- Use the drawable's intrinsic width and height as minimum size values.
6039             Useful if the target drawable is a 9-patch or otherwise should not be scaled
6040             down beyond a minimum size. -->
6041        <attr name="useIntrinsicSizeAsMinimum" format="boolean" />
6042    </declare-styleable>
6043
6044    <declare-styleable name="ClipDrawable">
6045        <!-- The orientation for the clip. -->
6046        <attr name="clipOrientation">
6047            <!-- Clip the drawable horizontally. -->
6048            <flag name="horizontal" value="1" />
6049            <!-- Clip the drawable vertically. -->
6050            <flag name="vertical" value="2" />
6051        </attr>
6052        <!-- Specifies where to clip within the drawable. The default value is
6053             left. -->
6054        <attr name="gravity" />
6055        <!-- Reference to a drawable resource to draw with the specified scale. -->
6056        <attr name="drawable" />
6057    </declare-styleable>
6058
6059    <!-- Defines the padding of a ShapeDrawable. -->
6060    <declare-styleable name="ShapeDrawablePadding">
6061        <!-- Left padding. -->
6062        <attr name="left" />
6063        <!-- Top padding. -->
6064        <attr name="top" />
6065        <!-- Right padding. -->
6066        <attr name="right" />
6067        <!-- Bottom padding. -->
6068        <attr name="bottom" />
6069    </declare-styleable>
6070
6071    <!-- Drawable used to draw shapes. -->
6072    <declare-styleable name="ShapeDrawable">
6073        <!-- Defines the color of the shape. -->
6074        <attr name="color" />
6075        <!-- Defines the width of the shape. -->
6076        <attr name="width" />
6077        <!-- Defines the height of the shape. -->
6078        <attr name="height" />
6079        <!-- Enables or disables dithering. -->
6080        <attr name="dither" />
6081        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
6082             no tint is applied. May be a color state list. -->
6083        <attr name="tint" />
6084        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
6085             default value is src_in, which treats the drawable as an alpha mask. -->
6086        <attr name="tintMode" />
6087    </declare-styleable>
6088
6089    <!-- ========================== -->
6090    <!--   VectorDrawable class   -->
6091    <!-- ========================== -->
6092    <eat-comment />
6093
6094    <!-- Drawable used to draw vector paths. -->
6095    <declare-styleable name="VectorDrawable">
6096        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
6097             no tint is applied. May be a color state list. -->
6098        <attr name="tint" />
6099        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
6100             default value is src_in, which treats the drawable as an alpha mask. -->
6101        <attr name="tintMode" />
6102        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
6103             RTL (right-to-left). -->
6104        <attr name="autoMirrored" />
6105        <!-- The intrinsic width of the Vector Drawable. -->
6106        <attr name="width" />
6107        <!-- The intrinsic height of the Vector Drawable. -->
6108        <attr name="height" />
6109        <!-- The width of the canvas the drawing is on. -->
6110        <attr name="viewportWidth" format="float"/>
6111        <!-- The height of the canvas the drawing is on. -->
6112        <attr name="viewportHeight" format="float"/>
6113        <!-- The name of this vector drawable. -->
6114        <attr name="name" />
6115        <!-- The opacity of the whole vector drawable, as a value between 0
6116             (completely transparent) and 1 (completely opaque). -->
6117        <attr name="alpha" />
6118        <!-- Left optical inset.
6119             @hide Until optical insets are fully supported. -->
6120        <attr name="opticalInsetLeft" format="dimension" />
6121        <!-- Top optical inset.
6122             @hide Until optical insets are fully supported. -->
6123        <attr name="opticalInsetTop" format="dimension" />
6124        <!-- Right optical inset.
6125             @hide Until optical insets are fully supported. -->
6126        <attr name="opticalInsetRight" format="dimension" />
6127        <!-- Bottom optical inset.
6128             @hide Until optical insets are fully supported. -->
6129        <attr name="opticalInsetBottom" format="dimension" />
6130    </declare-styleable>
6131
6132    <!-- Defines the group used in VectorDrawables. -->
6133    <declare-styleable name="VectorDrawableGroup">
6134        <!-- The name of this group. -->
6135        <attr name="name" />
6136        <!-- The amount to rotate the group. -->
6137        <attr name="rotation" />
6138        <!-- The X coordinate of the center of rotation of a group. -->
6139        <attr name="pivotX" />
6140        <!-- The Y coordinate of the center of rotation of a group. -->
6141        <attr name="pivotY" />
6142        <!-- The amount to translate the group on X coordinate. -->
6143        <attr name="translateX" format="float"/>
6144        <!-- The amount to translate the group on Y coordinate. -->
6145        <attr name="translateY" format="float"/>
6146        <!-- The amount to scale the group on X coordinate. -->
6147        <attr name="scaleX" />
6148        <!-- The amount to scale the group on X coordinate. -->
6149        <attr name="scaleY" />
6150    </declare-styleable>
6151
6152    <!-- Defines the path used in VectorDrawables. -->
6153    <declare-styleable name="VectorDrawablePath">
6154        <!-- The name of this path. -->
6155        <attr name="name" />
6156        <!-- The width a path stroke. -->
6157        <attr name="strokeWidth" format="float" />
6158        <!-- The color to stroke the path if not defined implies no stroke. -->
6159        <attr name="strokeColor" format="color" />
6160        <!-- The opacity of a path stroke, as a value between 0 (completely transparent)
6161             and 1 (completely opaque). -->
6162        <attr name="strokeAlpha" format="float" />
6163        <!-- The color to fill the path if not defined implies no fill. -->
6164        <attr name="fillColor" format="color" />
6165        <!-- The alpha of the path fill, as a value between 0 (completely transparent)
6166             and 1 (completely opaque). -->
6167        <attr name="fillAlpha" format="float" />
6168        <!-- The specification of the operations that define the path. -->
6169        <attr name="pathData" format="string" />
6170        <!-- The fraction of the path to trim from the start from 0 to 1. -->
6171        <attr name="trimPathStart" format="float" />
6172        <!-- The fraction of the path to trim from the end from 0 to 1 . -->
6173        <attr name="trimPathEnd" format="float" />
6174        <!-- Shift trim region (allows visible region to include the start and end) from 0 to 1. -->
6175        <attr name="trimPathOffset" format="float" />
6176        <!-- sets the linecap for a stroked path. -->
6177        <attr name="strokeLineCap" format="enum">
6178            <enum name="butt" value="0"/>
6179            <enum name="round" value="1"/>
6180            <enum name="square" value="2"/>
6181        </attr>
6182        <!-- sets the lineJoin for a stroked path. -->
6183        <attr name="strokeLineJoin" format="enum">
6184            <enum name="miter" value="0"/>
6185            <enum name="round" value="1"/>
6186            <enum name="bevel" value="2"/>
6187        </attr>
6188        <!-- sets the Miter limit for a stroked path. -->
6189        <attr name="strokeMiterLimit" format="float"/>
6190        <!-- sets the fillType for a path. It is the same as SVG's "fill-rule" properties.
6191             For more details, see https://www.w3.org/TR/SVG/painting.html#FillRuleProperty. -->
6192        <attr name="fillType" format="enum">
6193            <enum name="nonZero" value="0"/>
6194            <enum name="evenOdd" value="1"/>
6195        </attr>
6196    </declare-styleable>
6197
6198    <!-- Defines the clip path used in VectorDrawables. -->
6199    <declare-styleable name="VectorDrawableClipPath">
6200        <!-- The Name of this path. -->
6201        <attr name="name" />
6202        <!-- The specification of the operations that define the path. -->
6203        <attr name="pathData"/>
6204    </declare-styleable>
6205
6206    <!-- ========================== -->
6207    <!--   AnimatedVectorDrawable class   -->
6208    <!-- ========================== -->
6209    <eat-comment />
6210
6211    <!-- Define the AnimatedVectorDrawable. -->
6212    <declare-styleable name="AnimatedVectorDrawable">
6213        <!-- The static vector drawable. -->
6214        <attr name="drawable" />
6215    </declare-styleable>
6216
6217    <!-- Defines the target used in the AnimatedVectorDrawable. -->
6218    <declare-styleable name="AnimatedVectorDrawableTarget">
6219        <!-- The name of the target path, group or vector drawable. -->
6220        <attr name="name" />
6221        <!-- The animation for the target path, group or vector drawable. -->
6222        <attr name="animation" />
6223    </declare-styleable>
6224
6225    <!-- ========================== -->
6226    <!-- Animation class attributes -->
6227    <!-- ========================== -->
6228    <eat-comment />
6229
6230    <declare-styleable name="Animation">
6231        <!-- Defines the interpolator used to smooth the animation movement in time. -->
6232        <attr name="interpolator" />
6233        <!-- When set to true, the value of fillBefore is taken into account. -->
6234        <attr name="fillEnabled" format="boolean" />
6235        <!-- When set to true or when fillEnabled is not set to true, the animation transformation
6236             is applied before the animation has started. The default value is true. -->
6237        <attr name="fillBefore" format="boolean" />
6238        <!-- When set to true, the animation transformation is applied after the animation is
6239             over. The default value is false. If fillEnabled is not set to true and the
6240             animation is not set on a View, fillAfter is assumed to be true.-->
6241        <attr name="fillAfter" format="boolean" />
6242        <!-- Amount of time (in milliseconds) for the animation to run. -->
6243        <attr name="duration" />
6244        <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
6245        <attr name="startOffset" format="integer" />
6246        <!-- Defines how many times the animation should repeat. The default value is 0. -->
6247        <attr name="repeatCount" format="integer">
6248            <enum name="infinite" value="-1" />
6249        </attr>
6250        <!-- Defines the animation behavior when it reaches the end and the repeat count is
6251             greater than 0 or infinite. The default value is restart. -->
6252        <attr name="repeatMode">
6253            <!-- The animation starts again from the beginning. -->
6254            <enum name="restart" value="1" />
6255            <!-- The animation plays backward. -->
6256            <enum name="reverse" value="2" />
6257        </attr>
6258        <!-- Allows for an adjustment of the Z ordering of the content being
6259             animated for the duration of the animation.  The default value is normal. -->
6260        <attr name="zAdjustment">
6261            <!-- The content being animated be kept in its current Z order. -->
6262            <enum name="normal" value="0" />
6263            <!-- The content being animated is forced on top of all other
6264                 content for the duration of the animation. -->
6265            <enum name="top" value="1" />
6266            <!-- The content being animated is forced under all other
6267                 content for the duration of the animation. -->
6268            <enum name="bottom" value="-1" />
6269        </attr>
6270        <!-- Special background behind animation.  Only for use with window
6271             animations.  Can only be a color, and only black.  If 0, the
6272             default, there is no background. -->
6273        <attr name="background" />
6274        <!-- Special option for window animations: if this window is on top
6275             of a wallpaper, don't animate the wallpaper with it. -->
6276        <attr name="detachWallpaper" format="boolean" />
6277    </declare-styleable>
6278
6279    <declare-styleable name="AnimationSet">
6280        <attr name="shareInterpolator" format="boolean" />
6281        <attr name="fillBefore" />
6282        <attr name="fillAfter" />
6283        <attr name="duration" />
6284        <attr name="startOffset" />
6285        <attr name="repeatMode" />
6286    </declare-styleable>
6287
6288    <declare-styleable name="RotateAnimation">
6289        <attr name="fromDegrees" />
6290        <attr name="toDegrees" />
6291        <attr name="pivotX" />
6292        <attr name="pivotY" />
6293    </declare-styleable>
6294
6295    <declare-styleable name="ScaleAnimation">
6296        <attr name="fromXScale" format="float|fraction|dimension" />
6297        <attr name="toXScale" format="float|fraction|dimension" />
6298        <attr name="fromYScale" format="float|fraction|dimension" />
6299        <attr name="toYScale" format="float|fraction|dimension" />
6300        <attr name="pivotX" />
6301        <attr name="pivotY" />
6302    </declare-styleable>
6303
6304    <declare-styleable name="TranslateAnimation">
6305        <attr name="fromXDelta" format="float|fraction" />
6306        <attr name="toXDelta" format="float|fraction" />
6307        <attr name="fromYDelta" format="float|fraction" />
6308        <attr name="toYDelta" format="float|fraction" />
6309    </declare-styleable>
6310
6311    <declare-styleable name="AlphaAnimation">
6312        <attr name="fromAlpha" format="float" />
6313        <attr name="toAlpha" format="float" />
6314    </declare-styleable>
6315
6316    <declare-styleable name="LayoutAnimation">
6317        <!-- Fraction of the animation duration used to delay the beginning of
6318         the animation of each child. -->
6319        <attr name="delay" format="float|fraction" />
6320        <!-- Animation to use on each child. -->
6321        <attr name="animation" format="reference" />
6322        <!-- The order in which the animations will be started. -->
6323        <attr name="animationOrder">
6324            <!-- Animations are started in the natural order. -->
6325            <enum name="normal" value="0" />
6326            <!-- Animations are started in the reverse order. -->
6327            <enum name="reverse" value="1" />
6328            <!-- Animations are started randomly. -->
6329            <enum name="random" value="2" />
6330        </attr>
6331        <!-- Interpolator used to interpolate the delay between the start of
6332         each animation. -->
6333        <attr name="interpolator" />
6334    </declare-styleable>
6335
6336    <declare-styleable name="GridLayoutAnimation">
6337        <!-- Fraction of the animation duration used to delay the beginning of
6338         the animation of each column. -->
6339        <attr name="columnDelay" format="float|fraction" />
6340        <!-- Fraction of the animation duration used to delay the beginning of
6341         the animation of each row. -->
6342        <attr name="rowDelay" format="float|fraction" />
6343        <!-- Direction of the animation in the grid. -->
6344        <attr name="direction">
6345            <!-- Animates columns from left to right. -->
6346            <flag name="left_to_right" value="0x0" />
6347            <!-- Animates columns from right to left. -->
6348            <flag name="right_to_left" value="0x1" />
6349            <!-- Animates rows from top to bottom. -->
6350            <flag name="top_to_bottom" value="0x0" />
6351            <!-- Animates rows from bottom to top. -->
6352            <flag name="bottom_to_top" value="0x2" />
6353        </attr>
6354        <!-- Priority of the rows and columns. When the priority is none,
6355         both rows and columns have the same priority. When the priority is
6356         column, the animations will be applied on the columns first. The same
6357         goes for rows. -->
6358        <attr name="directionPriority">
6359            <!-- Rows and columns are animated at the same time. -->
6360            <enum name="none"   value="0" />
6361            <!-- Columns are animated first. -->
6362            <enum name="column" value="1" />
6363            <!-- Rows are animated first. -->
6364            <enum name="row"    value="2" />
6365        </attr>
6366    </declare-styleable>
6367
6368    <declare-styleable name="AccelerateInterpolator">
6369        <!-- This is the amount of deceleration to add when easing in. -->
6370        <attr name="factor" format="float" />
6371    </declare-styleable>
6372
6373    <declare-styleable name="DecelerateInterpolator">
6374        <!-- This is the amount of acceleration to add when easing out. -->
6375        <attr name="factor" />
6376    </declare-styleable>
6377
6378    <declare-styleable name="CycleInterpolator">
6379        <attr name="cycles" format="float" />
6380    </declare-styleable>
6381
6382    <declare-styleable name="AnticipateInterpolator">
6383        <!-- This is the amount of tension. -->
6384        <attr name="tension" format="float" />
6385    </declare-styleable>
6386
6387    <declare-styleable name="OvershootInterpolator">
6388        <!-- This is the amount of tension. -->
6389        <attr name="tension" />
6390    </declare-styleable>
6391
6392    <declare-styleable name="AnticipateOvershootInterpolator">
6393        <!-- This is the amount of tension. -->
6394        <attr name="tension" />
6395        <!-- This is the amount by which to multiply the tension. -->
6396        <attr name="extraTension" format="float" />
6397    </declare-styleable>
6398
6399    <declare-styleable name="PathInterpolator">
6400        <!-- The x coordinate of the first control point of the cubic Bezier. -->
6401        <attr name="controlX1" format="float" />
6402        <!-- The y coordinate of the first control point of the cubic Bezier. -->
6403        <attr name="controlY1" format="float" />
6404        <!-- The x coordinate of the second control point of the cubic Bezier. -->
6405        <attr name="controlX2" format="float" />
6406        <!-- The y coordinate of the second control point of the cubic Bezier. -->
6407        <attr name="controlY2" format="float" />
6408        <!-- The control points defined as a path.
6409             When pathData is defined, then both of the control points of the
6410             cubic Bezier will be ignored. -->
6411        <attr name="pathData"/>
6412    </declare-styleable>
6413
6414    <!-- ========================== -->
6415    <!-- Transition attributes -->
6416    <!-- ========================== -->
6417    <eat-comment />
6418
6419    <!-- Use specific transition subclass names as the root tag of the XML resource that
6420         describes a {@link android.transition.Transition Transition},
6421         such as <code>changeBounds</code>, <code>fade</code>, and <code>transitionSet</code>. -->
6422    <declare-styleable name="Transition">
6423        <!-- Amount of time (in milliseconds) that the transition should run. -->
6424        <attr name="duration" />
6425        <!-- Delay in milliseconds before the transition starts. -->
6426        <attr name="startDelay" format="integer" />
6427        <!-- Interpolator to be used in the animations spawned by this transition. -->
6428        <attr name="interpolator" />
6429        <!-- The match order to use for the transition. This is a comma-separated
6430             list of values, containing one or more of the following:
6431             id, itemId, name, instance. These correspond to
6432             {@link android.transition.Transition#MATCH_ID},
6433             {@link android.transition.Transition#MATCH_ITEM_ID},
6434             {@link android.transition.Transition#MATCH_NAME}, and
6435             {@link android.transition.Transition#MATCH_INSTANCE}, respectively.
6436             This corresponds to {@link android.transition.Transition#setMatchOrder(int...)}. -->
6437        <attr name="matchOrder" format="string" />
6438    </declare-styleable>
6439
6440    <!-- @hide For internal use only. Use only as directed. -->
6441    <declare-styleable name="EpicenterTranslateClipReveal">
6442        <attr name="interpolatorX" format="reference" />
6443        <attr name="interpolatorY" format="reference" />
6444        <attr name="interpolatorZ" format="reference" />
6445    </declare-styleable>
6446
6447    <!-- Use <code>fade</code>as the root tag of the XML resource that
6448         describes a {@link android.transition.Fade Fade} transition.
6449         The attributes of the {@link android.R.styleable#Transition Transition}
6450         resource are available in addition to the specific attributes of Fade
6451         described here. -->
6452    <declare-styleable name="Fade">
6453        <!-- Equivalent to <code>transitionVisibilityMode</code>, fadingMode works only
6454             with the Fade transition. -->
6455        <attr name="fadingMode">
6456            <!-- Fade will only fade appearing items in. -->
6457            <enum name="fade_in" value="1" />
6458            <!-- Fade will only fade disappearing items out. -->
6459            <enum name="fade_out" value="2" />
6460            <!-- Fade will fade appearing items in and disappearing items out. -->
6461            <enum name="fade_in_out" value="3" />
6462        </attr>
6463    </declare-styleable>
6464
6465    <!-- Use <code>slide</code>as the root tag of the XML resource that
6466         describes a {@link android.transition.Slide Slide} transition.
6467         The attributes of the {@link android.R.styleable#Transition Transition}
6468         resource are available in addition to the specific attributes of Slide
6469         described here. -->
6470    <declare-styleable name="Slide">
6471        <attr name="slideEdge">
6472            <!-- Slide to and from the left edge of the Scene. -->
6473            <enum name="left" value="0x03" />
6474            <!-- Slide to and from the top edge of the Scene. -->
6475            <enum name="top" value="0x30" />
6476            <!-- Slide to and from the right edge of the Scene. -->
6477            <enum name="right" value="0x05" />
6478            <!-- Slide to and from the bottom edge of the Scene. -->
6479            <enum name="bottom" value="0x50" />
6480            <!-- Slide to and from the x-axis position at the start of the Scene root. -->
6481            <enum name="start" value="0x00800003"/>
6482            <!-- Slide to and from the x-axis position at the end of the Scene root. -->
6483            <enum name="end" value="0x00800005"/>
6484        </attr>
6485    </declare-styleable>
6486
6487    <!-- Use with {@link android.transition.Visibility} transitions, such as
6488         <code>slide</code>, <code>explode</code>, and <code>fade</code> to mark which
6489         views are supported. -->
6490    <declare-styleable name="VisibilityTransition">
6491        <!-- Changes whether the transition supports appearing and/or disappearing Views.
6492             Corresponds to {@link android.transition.Visibility#setMode(int)}. -->
6493        <attr name="transitionVisibilityMode">
6494            <!-- Only appearing Views will be supported. -->
6495            <flag name="mode_in" value="1" />
6496            <!-- Only disappearing Views will be supported. -->
6497            <flag name="mode_out" value="2" />
6498        </attr>
6499    </declare-styleable>
6500    <!-- Use <code>target</code> as the root tag of the XML resource that
6501     describes a {@link android.transition.Transition#addTarget(int)
6502     targetId} of a transition. There can be one or more targets inside
6503     a <code>targets</code> tag, which is itself inside an appropriate
6504     {@link android.R.styleable#Transition Transition} tag.
6505     -->
6506    <declare-styleable name="TransitionTarget">
6507        <!-- The id of a target on which this transition will animate changes. -->
6508        <attr name="targetId" format="reference" />
6509        <!-- The id of a target to exclude from this transition. -->
6510        <attr name="excludeId" format="reference" />
6511        <!-- The fully-qualified name of the Class to include in this transition. -->
6512        <attr name="targetClass" />
6513        <!-- The fully-qualified name of the Class to exclude from this transition. -->
6514        <attr name="excludeClass" format="string" />
6515        <!-- The transitionName of the target on which this transition will animation changes. -->
6516        <attr name="targetName" format="string" />
6517        <!-- The transitionName of the target to exclude from this transition. -->
6518        <attr name="excludeName" format="string" />
6519    </declare-styleable>
6520
6521    <!-- Use <code>set</code> as the root tag of the XML resource that
6522         describes a {@link android.transition.TransitionSet
6523         TransitionSet} transition. -->
6524    <declare-styleable name="TransitionSet">
6525        <attr name="transitionOrdering">
6526            <!-- child transitions should be played together. -->
6527            <enum name="together" value="0" />
6528            <!-- child transitions should be played sequentially, in the same order
6529            as the xml. -->
6530            <enum name="sequential" value="1" />
6531        </attr>
6532    </declare-styleable>
6533
6534    <!-- Use <code>changeTransform</code> as the root tag of the XML resource that
6535         describes a {@link android.transition.ChangeTransform} transition. -->
6536    <declare-styleable name="ChangeTransform">
6537        <!-- A parent change should use an overlay or affect the transform of the
6538             transitionining View. Default is true. Corresponds to
6539             {@link android.transition.ChangeTransform#setReparentWithOverlay(boolean)}. -->
6540        <attr name="reparentWithOverlay" format="boolean"/>
6541
6542        <!-- Tells ChangeTransform to track parent changes. Default is true. Corresponds to
6543             {@link android.transition.ChangeTransform#setReparent(boolean)}. -->
6544        <attr name="reparent" format="boolean"/>
6545    </declare-styleable>
6546
6547    <!-- Use <code>changeBounds</code>as the root tag of the XML resource that
6548         describes a {@link android.transition.ChangeBounds} transition.
6549         The attributes of the {@link android.R.styleable#Transition Transition}
6550         resource are available in addition to the specific attributes of ChangeBounds
6551         described here. -->
6552    <declare-styleable name="ChangeBounds">
6553        <!-- Resize the view by adjusting the clipBounds rather than changing the
6554             dimensions of the view itself. The default value is false. -->
6555        <attr name="resizeClip" format="boolean"/>
6556    </declare-styleable>
6557
6558    <!-- Use <code>transitionManager</code> as the root tag of the XML resource that
6559         describes a {@link android.transition.TransitionManager
6560         TransitionManager}. -->
6561    <declare-styleable name="TransitionManager">
6562        <!-- The id of a transition to be used in a particular scene change. -->
6563        <attr name="transition" format="reference" />
6564        <!-- The originating scene in this scene change. -->
6565        <attr name="fromScene" format="reference" />
6566        <!-- The destination scene in this scene change. -->
6567        <attr name="toScene" format="reference" />
6568    </declare-styleable>
6569
6570    <!-- Use <code>arcMotion</code> as the root tag of the XML resource that
6571         describes a {@link android.transition.ArcMotion}. This must be used
6572         within a transition with which the PathMotion should be associated. -->
6573    <declare-styleable name="ArcMotion">
6574        <!-- The minimum arc angle in degrees between the start and end points when
6575             they are close to horizontal. -->
6576        <attr name="minimumHorizontalAngle" format="float" />
6577        <!-- The minimum arc angle in degrees between the start and end points when
6578             they are close to vertical. -->
6579        <attr name="minimumVerticalAngle" format="float" />
6580        <!-- The maximum arc angle in degrees between the start and end points. -->
6581        <attr name="maximumAngle" format="float" />
6582    </declare-styleable>
6583
6584    <!-- Use <code>patternPathMotion</code> as the root tag of the XML resource that
6585         describes a {@link android.transition.PatternPathMotion}. This must be used
6586         within a transition with which the PathMotion should be associated. -->
6587    <declare-styleable name="PatternPathMotion">
6588        <!-- The path string describing the pattern to use for the PathPathMotion. -->
6589        <attr name="patternPathData" format="string" />
6590    </declare-styleable>
6591
6592    <!-- ========================== -->
6593    <!-- ValueAnimator class attributes -->
6594    <!-- ========================== -->
6595    <eat-comment />
6596
6597    <declare-styleable name="Animator">
6598        <!-- Defines the interpolator used to smooth the animation movement in time. -->
6599        <attr name="interpolator" />
6600        <!-- Amount of time (in milliseconds) for the animation to run. -->
6601        <attr name="duration" />
6602        <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
6603        <attr name="startOffset"/>
6604        <!-- Defines how many times the animation should repeat. The default value is 0. -->
6605        <attr name="repeatCount"/>
6606        <!-- Defines the animation behavior when it reaches the end and the repeat count is
6607             greater than 0 or infinite. The default value is restart. -->
6608        <attr name="repeatMode"/>
6609        <!-- Value the animation starts from. -->
6610        <attr name="valueFrom" format="float|integer|color|dimension|string"/>
6611        <!-- Value the animation animates to. -->
6612        <attr name="valueTo" format="float|integer|color|dimension|string"/>
6613        <!-- The type of valueFrom and valueTo. -->
6614        <attr name="valueType">
6615            <!-- The given values are floats. This is the default value if valueType is
6616                 unspecified. Note that if any value attribute has a color value
6617                 (beginning with "#"), then this attribute is ignored and the color values are
6618                 interpreted as integers. -->
6619            <enum name="floatType" value="0" />
6620            <!-- values are integers. -->
6621            <enum name="intType"   value="1" />
6622            <!-- values are paths defined as strings.
6623                 This type is used for path morphing in AnimatedVectorDrawable. -->
6624            <enum name="pathType"   value="2" />
6625            <!-- values are colors, which are integers starting with "#". -->
6626            <enum name="colorType"   value="3" />
6627        </attr>
6628        <!-- Placeholder for a deleted attribute. This should be removed before M release. -->
6629        <attr name="removeBeforeMRelease" format="integer" />
6630    </declare-styleable>
6631
6632    <declare-styleable name="PropertyValuesHolder">
6633        <attr name="valueType" />
6634        <attr name="propertyName" />
6635        <attr name="valueFrom" />
6636        <attr name="valueTo" />
6637    </declare-styleable>
6638
6639    <declare-styleable name="Keyframe">
6640        <attr name="valueType" />
6641        <attr name="value" />
6642        <attr name="fraction" format="float" />
6643        <!-- Defines a per-interval interpolator for this keyframe. This interpolator will be used
6644             to interpolate between this keyframe and the previous keyframe. -->
6645        <attr name="interpolator" />
6646    </declare-styleable>
6647
6648    <!-- ========================== -->
6649    <!-- ObjectAnimator class attributes -->
6650    <!-- ========================== -->
6651    <eat-comment />
6652
6653    <declare-styleable name="PropertyAnimator">
6654        <!-- Name of the property being animated. -->
6655        <attr name="propertyName" format="string"/>
6656        <!-- Name of the property being animated as the X coordinate of the pathData. -->
6657        <attr name="propertyXName" format="string"/>
6658        <!-- Name of the property being animated as the Y coordinate of the pathData. -->
6659        <attr name="propertyYName" format="string"/>
6660        <!-- The path used to animate the properties in the ObjectAnimator. -->
6661        <attr name="pathData"/>
6662    </declare-styleable>
6663
6664
6665    <!-- ========================== -->
6666    <!-- AnimatorSet class attributes -->
6667    <!-- ========================== -->
6668    <eat-comment />
6669
6670    <declare-styleable name="AnimatorSet">
6671        <!-- Name of the property being animated. -->
6672        <attr name="ordering">
6673            <!-- child animations should be played together. -->
6674            <enum name="together" value="0" />
6675            <!-- child animations should be played sequentially, in the same order as the xml. -->
6676            <enum name="sequentially" value="1" />
6677        </attr>
6678    </declare-styleable>
6679
6680    <!-- ========================== -->
6681    <!-- State attributes           -->
6682    <!-- ========================== -->
6683    <eat-comment />
6684
6685    <!-- Set of framework-provided states that may be specified on a Drawable. Actual usage of
6686         states may vary between view implementations, as documented on the individual state
6687         attributes. -->
6688    <declare-styleable name="DrawableStates">
6689        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6690             set when a view has input focus. -->
6691        <attr name="state_focused" format="boolean" />
6692        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6693             set when a view's window has input focus. -->
6694        <attr name="state_window_focused" format="boolean" />
6695        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6696             set when a view is enabled. -->
6697        <attr name="state_enabled" format="boolean" />
6698        <!-- State identifier indicating that the object <var>may</var> display a check mark. See
6699             {@link android.R.attr#state_checked} for the identifier that indicates whether it is
6700             actually checked. -->
6701        <attr name="state_checkable" format="boolean"/>
6702        <!-- State identifier indicating that the object is currently checked.  See
6703             {@link android.R.attr#state_checkable} for an additional identifier that can indicate
6704             if any object may ever display a check, regardless of whether state_checked is
6705             currently set. -->
6706        <attr name="state_checked" format="boolean"/>
6707        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6708             set when a view (or one of its parents) is currently selected. -->
6709        <attr name="state_selected" format="boolean" />
6710        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6711             set when the user is pressing down in a view. -->
6712        <attr name="state_pressed" format="boolean" />
6713        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6714             set when a view or its parent has been "activated" meaning the user has currently
6715             marked it as being of interest.  This is an alternative representation of
6716             state_checked for when the state should be propagated down the view hierarchy. -->
6717        <attr name="state_activated" format="boolean" />
6718        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6719             set when a view or drawable is considered "active" by its host. Actual usage may vary
6720             between views. Consult the host view documentation for details. -->
6721        <attr name="state_active" format="boolean" />
6722        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6723             set when a view or drawable is considered "single" by its host. Actual usage may vary
6724             between views. Consult the host view documentation for details. -->
6725        <attr name="state_single" format="boolean" />
6726        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6727             set when a view or drawable is in the first position in an ordered set. Actual usage
6728             may vary between views. Consult the host view documentation for details. -->
6729        <attr name="state_first" format="boolean" />
6730        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6731             set when a view or drawable is in the middle position in an ordered set. Actual usage
6732             may vary between views. Consult the host view documentation for details. -->
6733        <attr name="state_middle" format="boolean" />
6734        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6735             set when a view or drawable is in the last position in an ordered set. Actual usage
6736             may vary between views. Consult the host view documentation for details. -->
6737        <attr name="state_last" format="boolean" />
6738        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6739             indicating that the Drawable is in a view that is hardware accelerated.
6740             This means that the device can at least render a full-screen scaled
6741             bitmap with one layer of text and bitmaps composited on top of it
6742             at 60fps.  When this is set, the colorBackgroundCacheHint will be
6743             ignored even if it specifies a solid color, since that optimization
6744             is not needed. -->
6745        <attr name="state_accelerated" format="boolean" />
6746        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6747             set when a pointer is hovering over the view. -->
6748        <attr name="state_hovered" format="boolean" />
6749        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6750             indicating that the Drawable is in a view that is capable of accepting a drop of
6751             the content currently being manipulated in a drag-and-drop operation. -->
6752        <attr name="state_drag_can_accept" format="boolean" />
6753        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6754             indicating that a drag operation (for which the Drawable's view is a valid recipient)
6755             is currently positioned over the Drawable. -->
6756        <attr name="state_drag_hovered" format="boolean" />
6757        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6758             indicating that a View has accessibility focus. -->
6759        <attr name="state_accessibility_focused" format="boolean" />
6760    </declare-styleable>
6761    <declare-styleable name="ViewDrawableStates">
6762        <attr name="state_pressed" />
6763        <attr name="state_focused" />
6764        <attr name="state_selected" />
6765        <attr name="state_window_focused" />
6766        <attr name="state_enabled" />
6767        <attr name="state_activated" />
6768        <attr name="state_accelerated" />
6769        <attr name="state_hovered" />
6770        <attr name="state_drag_can_accept" />
6771        <attr name="state_drag_hovered" />
6772    </declare-styleable>
6773    <!-- State array representing a menu item that is currently checked. -->
6774    <declare-styleable name="MenuItemCheckedState">
6775        <attr name="state_checkable" />
6776        <attr name="state_checked" />
6777    </declare-styleable>
6778    <!-- State array representing a menu item that is checkable but is not currently checked. -->
6779    <declare-styleable name="MenuItemUncheckedState">
6780        <attr name="state_checkable" />
6781    </declare-styleable>
6782    <!-- State array representing a menu item that is currently focused and checked. -->
6783    <declare-styleable name="MenuItemCheckedFocusedState">
6784        <attr name="state_checkable" />
6785        <attr name="state_checked" />
6786        <attr name="state_focused" />
6787    </declare-styleable>
6788    <!-- State array representing a menu item that is focused and checkable but is not currently checked. -->
6789    <declare-styleable name="MenuItemUncheckedFocusedState">
6790        <attr name="state_checkable" />
6791        <attr name="state_focused" />
6792    </declare-styleable>
6793    <!-- State array representing an expandable list child's indicator. -->
6794    <declare-styleable name="ExpandableListChildIndicatorState">
6795        <!-- State identifier indicating the child is the last child within its group. -->
6796        <attr name="state_last" />
6797    </declare-styleable>
6798    <!-- State array representing an expandable list group's indicator. -->
6799    <declare-styleable name="ExpandableListGroupIndicatorState">
6800        <!-- State identifier indicating the group is expanded. -->
6801        <attr name="state_expanded" format="boolean" />
6802        <!-- State identifier indicating the group is empty (has no children). -->
6803        <attr name="state_empty" format="boolean" />
6804    </declare-styleable>
6805    <declare-styleable name="PopupWindowBackgroundState">
6806        <!-- State identifier indicating the popup will be above the anchor. -->
6807        <attr name="state_above_anchor" format="boolean" />
6808    </declare-styleable>
6809    <declare-styleable name="TextViewMultiLineBackgroundState">
6810        <!-- State identifier indicating a TextView has a multi-line layout. -->
6811        <attr name="state_multiline" format="boolean" />
6812    </declare-styleable>
6813
6814    <!-- ***************************************************************** -->
6815    <!-- Support for Searchable activities. -->
6816    <!-- ***************************************************************** -->
6817    <eat-comment />
6818
6819    <!-- Searchable activities and applications must provide search configuration information
6820        in an XML file, typically called searchable.xml.  This file is referenced in your manifest.
6821        For a more in-depth discussion of search configuration, please refer to
6822        {@link android.app.SearchManager}. -->
6823    <declare-styleable name="Searchable">
6824          <!--<strong>This is deprecated.</strong><br/>The default
6825              application icon is now always used, so this attribute is
6826              obsolete.-->
6827        <attr name="icon" />
6828        <!-- This is the user-displayed name of the searchable activity.  <i>Required
6829            attribute.</i> -->
6830        <attr name="label" />
6831        <!-- If supplied, this string will be displayed as a hint to the user.  <i>Optional
6832            attribute.</i> -->
6833        <attr name="hint" />
6834        <!-- If supplied, this string will be displayed as the text of the "Search" button.
6835          <i>Optional attribute.</i>
6836          {@deprecated This will create a non-standard UI appearance, because the search bar UI is
6837                       changing to use only icons for its buttons.}-->
6838        <attr name="searchButtonText" format="string" />
6839        <attr name="inputType" />
6840        <attr name="imeOptions" />
6841
6842        <!-- Additional features are controlled by mode bits in this field.  Omitting
6843            this field, or setting to zero, provides default behavior.  <i>Optional attribute.</i>
6844        -->
6845        <attr name="searchMode">
6846          <!-- If set, this flag enables the display of the search target (label) within the
6847               search bar.  If neither bad mode is selected, no badge will be shown. -->
6848          <flag name="showSearchLabelAsBadge" value="0x04" />
6849          <!--<strong>This is deprecated.</strong><br/>The default
6850              application icon is now always used, so this option is
6851              obsolete.-->
6852          <flag name="showSearchIconAsBadge" value="0x08" />
6853          <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_INTENT_DATA to
6854               be considered as the text for suggestion query rewriting.  This should only
6855               be used when the values in SUGGEST_COLUMN_INTENT_DATA are suitable for user
6856               inspection and editing - typically, HTTP/HTTPS Uri's. -->
6857          <flag name="queryRewriteFromData" value="0x10" />
6858          <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_TEXT_1 to
6859               be considered as the text for suggestion query rewriting.  This should be used
6860               for suggestions in which no query text is provided and the SUGGEST_COLUMN_INTENT_DATA
6861               values are not suitable for user inspection and editing. -->
6862          <flag name="queryRewriteFromText" value="0x20" />
6863        </attr>
6864
6865        <!-- Voice search features are controlled by mode bits in this field.  Omitting
6866            this field, or setting to zero, provides default behavior.
6867            If showVoiceSearchButton is set, then launchWebSearch or launchRecognizer must
6868            also be set.  <i>Optional attribute.</i>
6869        -->
6870        <attr name="voiceSearchMode">
6871          <!-- If set, display a voice search button.  This only takes effect if voice search is
6872               available on the device. -->
6873          <flag name="showVoiceSearchButton" value="0x01" />
6874          <!-- If set, the voice search button will take the user directly to a built-in
6875               voice web search activity.  Most applications will not use this flag, as it
6876               will take the user away from the activity in which search was invoked. -->
6877          <flag name="launchWebSearch" value="0x02" />
6878          <!-- If set, the voice search button will take the user directly to a built-in
6879               voice recording activity.  This activity will prompt the user to speak,
6880               transcribe the spoken text, and forward the resulting query
6881               text to the searchable activity, just as if the user had typed it into
6882               the search UI and clicked the search button. -->
6883          <flag name="launchRecognizer" value="0x04" />
6884        </attr>
6885
6886        <!-- If provided, this specifies the language model that should be used by the
6887             voice recognition system.  See
6888             {@link android.speech.RecognizerIntent#EXTRA_LANGUAGE_MODEL } for more information.
6889             If not provided, the default value
6890             {@link android.speech.RecognizerIntent#LANGUAGE_MODEL_FREE_FORM } will be used. -->
6891        <attr name="voiceLanguageModel" format="string" />
6892        <!-- If provided, this specifies a prompt that will be displayed during voice input. -->
6893        <attr name="voicePromptText" format="string" />
6894        <!-- If provided, this specifies the spoken language to be expected, and that it will be
6895             different than the one set in the {@link java.util.Locale#getDefault()}. -->
6896        <attr name="voiceLanguage" format="string" />
6897        <!-- If provided, enforces the maximum number of results to return, including the "best"
6898             result which will always be provided as the SEARCH intent's primary query.  Must be one
6899             or greater.  If not provided, the recognizer will choose how many results to return.
6900             -->
6901        <attr name="voiceMaxResults" format="integer" />
6902
6903        <!-- If provided, this is the trigger indicating that the searchable activity
6904            provides suggestions as well.  The value must be a fully-qualified content provider
6905            authority (for example, "com.example.android.apis.SuggestionProvider") and should match
6906            the "android:authorities" tag in your content provider's manifest entry.  <i>Optional
6907            attribute.</i> -->
6908        <attr name="searchSuggestAuthority" format="string" />
6909        <!-- If provided, this will be inserted in the suggestions query Uri, after the authority
6910            you have provide but before the standard suggestions path. <i>Optional attribute.</i>
6911            -->
6912        <attr name="searchSuggestPath" format="string" />
6913        <!-- If provided, suggestion queries will be passed into your query function
6914            as the <i>selection</i> parameter.  Typically this will be a WHERE clause for your
6915            database, and will contain a single question mark, which represents the actual query
6916            string that has been typed by the user.  If not provided, then the user query text
6917            will be appended to the query Uri (after an additional "/".)  <i>Optional
6918            attribute.</i> -->
6919        <attr name="searchSuggestSelection" format="string" />
6920
6921        <!-- If provided, and not overridden by an action in the selected suggestion, this
6922            string will be placed in the action field of the {@link android.content.Intent Intent}
6923            when the user clicks a suggestion.  <i>Optional attribute.</i> -->
6924        <attr name="searchSuggestIntentAction" format="string" />
6925        <!-- If provided, and not overridden by an action in the selected suggestion, this
6926            string will be placed in the data field of the {@link android.content.Intent Intent}
6927            when the user clicks a suggestion.  <i>Optional attribute.</i> -->
6928        <attr name="searchSuggestIntentData" format="string" />
6929
6930        <!-- If provided, this is the minimum number of characters needed to trigger
6931             search suggestions. The default value is 0. <i>Optional attribute.</i> -->
6932        <attr name="searchSuggestThreshold" format="integer" />
6933
6934        <!-- If provided and <code>true</code>, this searchable activity will be
6935             included in any global lists of search targets.
6936             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6937        <attr name="includeInGlobalSearch" format="boolean" />
6938
6939        <!-- If provided and <code>true</code>, this searchable activity will be invoked for all
6940             queries in a particular session. If set to <code>false</code> and the activity
6941             returned zero results for a query, it will not be invoked again in that session for
6942             supersets of that zero-results query. For example, if the activity returned zero
6943             results for "bo", it would not be queried again for "bob".
6944             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6945        <attr name="queryAfterZeroResults" format="boolean" />
6946        <!-- If provided, this string will be used to describe the searchable item in the
6947             searchable items settings within system search settings. <i>Optional
6948             attribute.</i> -->
6949        <attr name="searchSettingsDescription" format="string" />
6950
6951        <!-- If provided and <code>true</code>, URLs entered in the search dialog while searching
6952             within this activity would be detected and treated as URLs (show a 'go' button in the
6953             keyboard and invoke the browser directly when user launches the URL instead of passing
6954             the URL to the activity). If set to <code>false</code> any URLs entered are treated as
6955             normal query text.
6956             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6957        <attr name="autoUrlDetect" format="boolean" />
6958
6959    </declare-styleable>
6960
6961    <!-- In order to process special action keys during search, you must define them using
6962            one or more "ActionKey" elements in your Searchable metadata.  For a more in-depth
6963            discussion of action code handling, please refer to {@link android.app.SearchManager}.
6964    -->
6965    <declare-styleable name="SearchableActionKey">
6966        <!-- This attribute denotes the action key you wish to respond to.  Note that not
6967            all action keys are actually supported using this mechanism, as many of them are
6968            used for typing, navigation, or system functions.  This will be added to the
6969            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6970            searchable activity.  To examine the key code, use
6971            {@link android.content.Intent#getIntExtra getIntExtra(SearchManager.ACTION_KEY)}.
6972            <p>Note, in addition to the keycode, you must also provide one or more of the action
6973            specifier attributes.  <i>Required attribute.</i> -->
6974        <attr name="keycode" />
6975
6976        <!-- If you wish to handle an action key during normal search query entry, you
6977            must define an action string here.  This will be added to the
6978            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6979            searchable activity.  To examine the string, use
6980            {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
6981            <i>Optional attribute.</i> -->
6982        <attr name="queryActionMsg"  format="string" />
6983
6984        <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
6985            selected</i>, there are two ways to handle this.  If <i>all</i> of your suggestions
6986            can handle the action key, you can simply define the action message using this
6987            attribute.  This will be added to the
6988            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6989            searchable activity.  To examine the string, use
6990            {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
6991            <i>Optional attribute.</i> -->
6992        <attr name="suggestActionMsg"  format="string" />
6993
6994        <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
6995            selected</i>, but you do not wish to enable this action key for every suggestion,
6996            then you can use this attribute to control it on a suggestion-by-suggestion basis.
6997            First, you must define a column (and name it here) where your suggestions will include
6998            the action string.  Then, in your content provider, you must provide this column, and
6999            when desired, provide data in this column.
7000            The search manager will look at your suggestion cursor, using the string
7001            provided here in order to select a column, and will use that to select a string from
7002            the cursor.  That string will be added to the
7003            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to
7004            your searchable activity.  To examine the string, use
7005            {@link android.content.Intent#getStringExtra
7006            getStringExtra(SearchManager.ACTION_MSG)}.  <i>If the data does not exist for the
7007            selection suggestion, the action key will be ignored.</i><i>Optional attribute.</i> -->
7008        <attr name="suggestActionMsgColumn" format="string" />
7009
7010    </declare-styleable>
7011
7012    <!-- ***************************************************************** -->
7013    <!-- Support for MapView. -->
7014    <!-- ***************************************************************** -->
7015    <eat-comment />
7016
7017    <!-- The set of attributes for a MapView. -->
7018    <declare-styleable name="MapView">
7019        <!-- Value is a string that specifies the Maps API Key to use. -->
7020        <attr name="apiKey" format="string" />
7021    </declare-styleable>
7022
7023    <!-- **************************************************************** -->
7024    <!-- Menu XML inflation. -->
7025    <!-- **************************************************************** -->
7026    <eat-comment />
7027
7028    <!-- Base attributes that are available to all Menu objects. -->
7029    <declare-styleable name="Menu">
7030    </declare-styleable>
7031
7032    <!-- Base attributes that are available to all groups. -->
7033    <declare-styleable name="MenuGroup">
7034
7035        <!-- The ID of the group. -->
7036        <attr name="id" />
7037
7038        <!-- The category applied to all items within this group.
7039             (This will be or'ed with the orderInCategory attribute.) -->
7040        <attr name="menuCategory">
7041            <!-- Items are part of a container. -->
7042            <enum name="container" value="0x00010000" />
7043            <!-- Items are provided by the system. -->
7044            <enum name="system" value="0x00020000" />
7045            <!-- Items are user-supplied secondary (infrequently used). -->
7046            <enum name="secondary" value="0x00030000" />
7047            <!-- Items are alternative actions. -->
7048            <enum name="alternative" value="0x00040000" />
7049        </attr>
7050
7051        <!-- The order within the category applied to all items within this group.
7052             (This will be or'ed with the category attribute.) -->
7053        <attr name="orderInCategory" format="integer" />
7054
7055        <!-- Whether the items are capable of displaying a check mark. -->
7056        <attr name="checkableBehavior">
7057            <!-- The items are not checkable. -->
7058            <enum name="none" value="0" />
7059            <!-- The items are all checkable. -->
7060            <enum name="all" value="1" />
7061            <!-- The items are checkable and there will only be a single checked item in
7062                 this group. -->
7063            <enum name="single" value="2" />
7064        </attr>
7065
7066        <!-- Whether the items are shown/visible. -->
7067        <attr name="visible" />
7068
7069        <!-- Whether the items are enabled. -->
7070        <attr name="enabled" />
7071
7072    </declare-styleable>
7073
7074    <!-- Base attributes that are available to all Item objects. -->
7075    <declare-styleable name="MenuItem">
7076
7077        <!-- The ID of the item. -->
7078        <attr name="id" />
7079
7080        <!-- The category applied to the item.
7081             (This will be or'ed with the orderInCategory attribute.) -->
7082        <attr name="menuCategory" />
7083
7084        <!-- The order within the category applied to the item.
7085             (This will be or'ed with the category attribute.) -->
7086        <attr name="orderInCategory" />
7087
7088        <!-- The title associated with the item. -->
7089        <attr name="title" format="string" />
7090
7091        <!-- The condensed title associated with the item.  This is used in situations where the
7092             normal title may be too long to be displayed. -->
7093        <attr name="titleCondensed" format="string" />
7094
7095        <!-- The icon associated with this item.  This icon will not always be shown, so
7096             the title should be sufficient in describing this item. -->
7097        <attr name="icon" />
7098
7099        <!-- Tint to apply to the icon. -->
7100        <attr name="iconTint" format="color" />
7101
7102        <!-- Blending mode used to apply the icon tint. -->
7103        <attr name="iconTintMode">
7104            <!-- The tint is drawn on top of the icon.
7105                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
7106            <enum name="src_over" value="3" />
7107            <!-- The tint is masked by the alpha channel of the icon. The icon’s
7108                 color channels are thrown out. [Sa * Da, Sc * Da] -->
7109            <enum name="src_in" value="5" />
7110            <!-- The tint is drawn above the icon, but with the icon’s alpha
7111                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
7112            <enum name="src_atop" value="9" />
7113            <!-- Multiplies the color and alpha channels of the icon with those of
7114                 the tint. [Sa * Da, Sc * Dc] -->
7115            <enum name="multiply" value="14" />
7116            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
7117            <enum name="screen" value="15" />
7118            <!-- Combines the tint and icon color and alpha channels, clamping the
7119                 result to valid color values. Saturate(S + D) -->
7120            <enum name="add" value="16" />
7121        </attr>
7122
7123        <!-- The alphabetic shortcut key.  This is the shortcut when using a keyboard
7124             with alphabetic keys. -->
7125        <attr name="alphabeticShortcut" format="string" />
7126
7127        <!-- The alphabetic modifier key. This is the modifier when using a keyboard
7128             with alphabetic keys. The values should be kept in sync with KeyEvent -->
7129        <attr name="alphabeticModifiers">
7130            <flag name="META" value="0x10000" />
7131            <flag name="CTRL" value="0x1000" />
7132            <flag name="ALT" value="0x02" />
7133            <flag name="SHIFT" value="0x1" />
7134            <flag name="SYM" value="0x4" />
7135            <flag name="FUNCTION" value="0x8" />
7136        </attr>
7137
7138        <!-- The numeric shortcut key.  This is the shortcut when using a numeric (for example,
7139             12-key) keyboard. -->
7140        <attr name="numericShortcut" format="string" />
7141
7142        <!-- The numeric modifier key. This is the modifier when using a numeric (for example,
7143             12-key) keyboard. The values should be kept in sync with KeyEvent -->
7144        <attr name="numericModifiers">
7145            <flag name="META" value="0x10000" />
7146            <flag name="CTRL" value="0x1000" />
7147            <flag name="ALT" value="0x02" />
7148            <flag name="SHIFT" value="0x1" />
7149            <flag name="SYM" value="0x4" />
7150            <flag name="FUNCTION" value="0x8" />
7151        </attr>
7152
7153        <!-- Whether the item is capable of displaying a check mark. -->
7154        <attr name="checkable" format="boolean" />
7155
7156        <!-- Whether the item is checked.  Note that you must first have enabled checking with
7157             the checkable attribute or else the check mark will not appear. -->
7158        <attr name="checked" />
7159
7160        <!-- Whether the item is shown/visible. -->
7161        <attr name="visible" />
7162
7163        <!-- Whether the item is enabled. -->
7164        <attr name="enabled" />
7165
7166        <!-- Name of a method on the Context used to inflate the menu that will be
7167             called when the item is clicked. -->
7168        <attr name="onClick" />
7169
7170        <!-- How this item should display in the Action Bar, if present. -->
7171        <attr name="showAsAction">
7172            <!-- Never show this item in an action bar, show it in the overflow menu instead.
7173                 Mutually exclusive with "ifRoom" and "always". -->
7174            <flag name="never" value="0" />
7175            <!-- Show this item in an action bar if there is room for it as determined
7176                 by the system. Favor this option over "always" where possible.
7177                 Mutually exclusive with "never" and "always". -->
7178            <flag name="ifRoom" value="1" />
7179            <!-- Always show this item in an actionbar, even if it would override
7180                 the system's limits of how much stuff to put there. This may make
7181                 your action bar look bad on some screens. In most cases you should
7182                 use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never". -->
7183            <flag name="always" value="2" />
7184            <!-- When this item is shown as an action in the action bar, show a text
7185                 label with it even if it has an icon representation. -->
7186            <flag name="withText" value="4" />
7187            <!-- This item's action view collapses to a normal menu
7188                 item. When expanded, the action view takes over a
7189                 larger segment of its container. -->
7190            <flag name="collapseActionView" value="8" />
7191        </attr>
7192
7193        <!-- An optional layout to be used as an action view.
7194             See {@link android.view.MenuItem#setActionView(android.view.View)}
7195             for more info. -->
7196        <attr name="actionLayout" format="reference" />
7197
7198        <!-- The name of an optional View class to instantiate and use as an
7199             action view. See {@link android.view.MenuItem#setActionView(android.view.View)}
7200             for more info. -->
7201        <attr name="actionViewClass" format="string" />
7202
7203        <!-- The name of an optional ActionProvider class to instantiate an action view
7204             and perform operations such as default action for that menu item.
7205             See {@link android.view.MenuItem#setActionProvider(android.view.ActionProvider)}
7206             for more info. -->
7207        <attr name="actionProviderClass" format="string" />
7208
7209        <!-- The content description associated with the item. -->
7210        <attr name="contentDescription" format="string" />
7211
7212        <!-- The tooltip text associated with the item. -->
7213        <attr name="tooltipText" format="string" />
7214
7215    </declare-styleable>
7216
7217    <!-- Attrbitutes for a ActvityChooserView. -->
7218    <declare-styleable name="ActivityChooserView">
7219        <!-- The maximal number of items initially shown in the activity list. -->
7220        <attr name="initialActivityCount" format="string" />
7221        <!-- The drawable to show in the button for expanding the activities overflow popup.
7222             <strong>Note:</strong> Clients would like to set this drawable
7223             as a clue about the action the chosen activity will perform. For
7224             example, if share activity is to be chosen the drawable should
7225             give a clue that sharing is to be performed.
7226         -->
7227        <attr name="expandActivityOverflowButtonDrawable" format="reference" />
7228    </declare-styleable>
7229
7230    <!-- **************************************************************** -->
7231    <!-- Preferences framework. -->
7232    <!-- **************************************************************** -->
7233    <eat-comment />
7234
7235    <!-- Base attributes available to PreferenceGroup. -->
7236    <declare-styleable name="PreferenceGroup">
7237        <!-- Whether to order the Preference under this group as they appear in the XML file.
7238             If this is false, the ordering will follow the Preference order attribute and
7239             default to alphabetic for those without the order attribute. -->
7240        <attr name="orderingFromXml" format="boolean" />
7241    </declare-styleable>
7242
7243    <!-- Attribute for a header describing the item shown in the top-level list
7244         from which the selects the set of preference to dig in to. -->
7245    <declare-styleable name="PreferenceHeader">
7246        <!-- Identifier value for the header. -->
7247        <attr name="id" />
7248        <!-- The title of the item that is shown to the user. -->
7249        <attr name="title" />
7250        <!-- The summary for the item. -->
7251        <attr name="summary" format="string" />
7252        <!-- The title for the bread crumb of this item. -->
7253        <attr name="breadCrumbTitle" format="string" />
7254        <!-- The short title for the bread crumb of this item. -->
7255        <attr name="breadCrumbShortTitle" format="string" />
7256        <!-- An icon for the item. -->
7257        <attr name="icon" />
7258        <!-- The fragment that is displayed when the user selects this item. -->
7259        <attr name="fragment" format="string" />
7260    </declare-styleable>
7261
7262    <!-- WARNING:  If adding attributes to Preference, make sure it does not conflict
7263                   with a View's attributes.  Some subclasses (for example, EditTextPreference)
7264                   proxy all attributes to its EditText widget. -->
7265    <eat-comment />
7266
7267    <!-- Base attributes available to Preference. -->
7268    <declare-styleable name="Preference">
7269        <!-- The optional icon for the preference. -->
7270        <attr name="icon" />
7271        <!-- The key to store the Preference value. -->
7272        <attr name="key" format="string" />
7273        <!-- The title for the Preference. In API 25 and earlier, this value is read as a
7274         plain string with styling information stripped. -->
7275        <attr name="title" />
7276        <!-- The summary for the Preference. In API 25 and earlier, this value is read as a
7277         plain string with styling information stripped. -->
7278        <attr name="summary" />
7279        <!-- The order for the Preference (lower values are to be ordered first). If this is not
7280             specified, the default ordering will be alphabetic. -->
7281        <attr name="order" format="integer" />
7282        <!-- When used inside of a modern PreferenceActivity, this declares
7283             a new PreferenceFragment to be shown when the user selects this item. -->
7284        <attr name="fragment" />
7285        <!-- The layout for the Preference in a PreferenceActivity screen. This should
7286             rarely need to be changed, look at widgetLayout instead. -->
7287        <attr name="layout" />
7288        <!-- The layout for the controllable widget portion of a Preference. This is inflated
7289             into the layout for a Preference and should be used more frequently than
7290             the layout attribute. For example, a checkbox preference would specify
7291             a custom layout (consisting of just the CheckBox) here. -->
7292        <attr name="widgetLayout" format="reference" />
7293        <!-- Whether the Preference is enabled. -->
7294        <attr name="enabled" />
7295        <!-- Whether the Preference is selectable. -->
7296        <attr name="selectable" format="boolean" />
7297        <!-- The key of another Preference that this Preference will depend on.  If the other
7298             Preference is not set or is off, this Preference will be disabled. -->
7299        <attr name="dependency" format="string" />
7300        <!-- Whether the Preference stores its value to the storage. -->
7301        <attr name="persistent" />
7302        <!-- The default value for the preference, which will be set either if persistence
7303             is off or persistence is on and the preference is not found in the persistent
7304             storage.  -->
7305        <attr name="defaultValue" format="string|boolean|integer|reference|float" />
7306        <!-- Whether the view of this Preference should be disabled when
7307             this Preference is disabled. -->
7308        <attr name="shouldDisableView" format="boolean" />
7309        <!-- Whether the preference has enabled to have its view recycled when used in the list
7310             view. This is true by default. -->
7311        <attr name="recycleEnabled" format="boolean" />
7312        <!-- Whether to use single line for the preference title text. By default, preference title
7313             will be constrained to one line, so the default value of this attribute is true. -->
7314        <attr name="singleLineTitle" format="boolean" />
7315        <!-- Whether the space for the preference icon view will be reserved. By default, preference
7316             icon view visibility will be set to GONE when there is no icon provided, so the default
7317             value of this attribute is false. -->
7318        <attr name="iconSpaceReserved" format="boolean" />
7319    </declare-styleable>
7320
7321    <!-- Base attributes available to CheckBoxPreference. -->
7322    <declare-styleable name="CheckBoxPreference">
7323        <!-- The summary for the Preference in a PreferenceActivity screen when the
7324             CheckBoxPreference is checked. If separate on/off summaries are not
7325             needed, the summary attribute can be used instead. -->
7326        <attr name="summaryOn" format="string" />
7327        <!-- The summary for the Preference in a PreferenceActivity screen when the
7328             CheckBoxPreference is unchecked. If separate on/off summaries are not
7329             needed, the summary attribute can be used instead. -->
7330        <attr name="summaryOff" format="string" />
7331        <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
7332             dependents will be disabled when this is unchecked, so the value of this preference is false. -->
7333        <attr name="disableDependentsState" format="boolean" />
7334    </declare-styleable>
7335
7336    <!-- Base attributes available to DialogPreference. -->
7337    <declare-styleable name="DialogPreference">
7338        <!-- The title in the dialog. -->
7339        <attr name="dialogTitle" format="string" />
7340        <!-- The message in the dialog. If a dialogLayout is provided and contains
7341             a TextView with ID android:id/message, this message will be placed in there. -->
7342        <attr name="dialogMessage" format="string" />
7343        <!-- The icon for the dialog. -->
7344        <attr name="dialogIcon" format="reference" />
7345        <!-- The positive button text for the dialog. Set to @null to hide the positive button. -->
7346        <attr name="positiveButtonText" format="string" />
7347        <!-- The negative button text for the dialog. Set to @null to hide the negative button. -->
7348        <attr name="negativeButtonText" format="string" />
7349        <!-- A layout to be used as the content View for the dialog. By default, this shouldn't
7350             be needed. If a custom DialogPreference is required, this should be set. For example,
7351             the EditTextPreference uses a layout with an EditText as this attribute. -->
7352        <attr name="dialogLayout" format="reference" />
7353    </declare-styleable>
7354
7355    <!-- Base attributes available to ListPreference. -->
7356    <declare-styleable name="ListPreference">
7357        <!-- The human-readable array to present as a list. Each entry must have a corresponding
7358             index in entryValues. -->
7359        <attr name="entries" />
7360        <!-- The array to find the value to save for a preference when an entry from
7361             entries is selected. If a user clicks on the second item in entries, the
7362             second item in this array will be saved to the preference. -->
7363        <attr name="entryValues" format="reference" />
7364    </declare-styleable>
7365
7366    <declare-styleable name="MultiSelectListPreference">
7367        <!-- The human-readable array to present as a list. Each entry must have a corresponding
7368             index in entryValues. -->
7369        <attr name="entries" />
7370        <!-- The array to find the value to save for a preference when an entry from
7371             entries is selected. If a user clicks the second item in entries, the
7372             second item in this array will be saved to the preference. -->
7373        <attr name="entryValues" />
7374    </declare-styleable>
7375
7376    <!-- Base attributes available to RingtonePreference. -->
7377    <declare-styleable name="RingtonePreference">
7378        <!-- Which ringtone type(s) to show in the picker. -->
7379        <attr name="ringtoneType">
7380            <!-- Ringtones. -->
7381            <flag name="ringtone" value="1" />
7382            <!-- Notification sounds. -->
7383            <flag name="notification" value="2" />
7384            <!-- Alarm sounds. -->
7385            <flag name="alarm" value="4" />
7386            <!-- All available ringtone sounds. -->
7387            <flag name="all" value="7" />
7388        </attr>
7389        <!-- Whether to show an item for a default sound. -->
7390        <attr name="showDefault" format="boolean" />
7391        <!-- Whether to show an item for 'Silent'. -->
7392        <attr name="showSilent" format="boolean" />
7393    </declare-styleable>
7394
7395    <!-- Base attributes available to VolumePreference. -->
7396    <declare-styleable name="VolumePreference">
7397        <!-- Different audio stream types. -->
7398        <attr name="streamType">
7399            <enum name="voice" value="0" />
7400            <enum name="system" value="1" />
7401            <enum name="ring" value="2" />
7402            <enum name="music" value="3" />
7403            <enum name="alarm" value="4" />
7404        </attr>
7405    </declare-styleable>
7406
7407    <declare-styleable name="InputMethodService">
7408        <!-- Background to use for entire input method when it is being
7409             shown in fullscreen mode with the extract view, to ensure
7410             that it completely covers the application.  This allows,
7411             for example, the candidate view to be hidden
7412             while in fullscreen mode without having the application show through
7413             behind it.-->
7414        <attr name="imeFullscreenBackground" format="reference|color" />
7415        <!-- Animation to use when showing the fullscreen extract UI after
7416             it had previously been hidden. -->
7417        <attr name="imeExtractEnterAnimation" format="reference" />
7418        <!-- Animation to use when hiding the fullscreen extract UI after
7419             it had previously been shown. -->
7420        <attr name="imeExtractExitAnimation" format="reference" />
7421    </declare-styleable>
7422
7423    <declare-styleable name="VoiceInteractionSession">
7424    </declare-styleable>
7425
7426    <declare-styleable name="KeyboardView">
7427        <!-- Default KeyboardView style. -->
7428        <attr name="keyboardViewStyle" format="reference" />
7429
7430        <!-- Image for the key. This image needs to be a StateListDrawable, with the following
7431             possible states: normal, pressed, checkable, checkable+pressed, checkable+checked,
7432             checkable+checked+pressed. -->
7433        <attr name="keyBackground" format="reference" />
7434
7435        <!-- Size of the text for character keys. -->
7436        <attr name="keyTextSize" format="dimension" />
7437
7438        <!-- Size of the text for custom keys with some text and no icon. -->
7439        <attr name="labelTextSize" format="dimension" />
7440
7441        <!-- Color to use for the label in a key. -->
7442        <attr name="keyTextColor" format="color" />
7443
7444        <!-- Layout resource for key press feedback.-->
7445        <attr name="keyPreviewLayout" format="reference" />
7446
7447        <!-- Vertical offset of the key press feedback from the key. -->
7448        <attr name="keyPreviewOffset" format="dimension" />
7449
7450        <!-- Height of the key press feedback popup. -->
7451        <attr name="keyPreviewHeight" format="dimension" />
7452
7453        <!-- Amount to offset the touch Y coordinate by, for bias correction. -->
7454        <attr name="verticalCorrection" format="dimension" />
7455
7456        <!-- Layout resource for popup keyboards. -->
7457        <attr name="popupLayout" format="reference" />
7458
7459        <attr name="shadowColor" />
7460        <attr name="shadowRadius" />
7461    </declare-styleable>
7462
7463    <declare-styleable name="KeyboardViewPreviewState">
7464        <!-- State for {@link android.inputmethodservice.KeyboardView KeyboardView}
7465                key preview background. -->
7466        <attr name="state_long_pressable" format="boolean" />
7467    </declare-styleable>
7468
7469    <declare-styleable name="Keyboard">
7470        <!-- Default width of a key, in pixels or percentage of display width. -->
7471        <attr name="keyWidth" format="dimension|fraction" />
7472        <!-- Default height of a key, in pixels or percentage of display width. -->
7473        <attr name="keyHeight" format="dimension|fraction" />
7474        <!-- Default horizontal gap between keys. -->
7475        <attr name="horizontalGap" format="dimension|fraction" />
7476        <!-- Default vertical gap between rows of keys. -->
7477        <attr name="verticalGap" format="dimension|fraction" />
7478    </declare-styleable>
7479
7480    <declare-styleable name="Keyboard_Row">
7481        <!-- Row edge flags. -->
7482        <attr name="rowEdgeFlags">
7483            <!-- Row is anchored to the top of the keyboard. -->
7484            <flag name="top" value="4" />
7485            <!-- Row is anchored to the bottom of the keyboard. -->
7486            <flag name="bottom" value="8" />
7487        </attr>
7488        <!-- Mode of the keyboard. If the mode doesn't match the
7489             requested keyboard mode, the row will be skipped. -->
7490        <attr name="keyboardMode" format="reference" />
7491    </declare-styleable>
7492
7493    <declare-styleable name="Keyboard_Key">
7494        <!-- The unicode value or comma-separated values that this key outputs. -->
7495        <attr name="codes" format="integer|string" />
7496        <!-- The XML keyboard layout of any popup keyboard. -->
7497        <attr name="popupKeyboard" format="reference" />
7498        <!-- The characters to display in the popup keyboard. -->
7499        <attr name="popupCharacters" format="string" />
7500        <!-- Key edge flags. -->
7501        <attr name="keyEdgeFlags">
7502            <!-- Key is anchored to the left of the keyboard. -->
7503            <flag name="left" value="1" />
7504            <!-- Key is anchored to the right of the keyboard. -->
7505            <flag name="right" value="2" />
7506        </attr>
7507        <!-- Whether this is a modifier key such as Alt or Shift. -->
7508        <attr name="isModifier" format="boolean" />
7509        <!-- Whether this is a toggle key. -->
7510        <attr name="isSticky" format="boolean" />
7511        <!-- Whether long-pressing on this key will make it repeat. -->
7512        <attr name="isRepeatable" format="boolean" />
7513        <!-- The icon to show in the popup preview. -->
7514        <attr name="iconPreview" format="reference" />
7515        <!-- The string of characters to output when this key is pressed. -->
7516        <attr name="keyOutputText" format="string" />
7517        <!-- The label to display on the key. -->
7518        <attr name="keyLabel" format="string" />
7519        <!-- The icon to display on the key instead of the label. -->
7520        <attr name="keyIcon" format="reference" />
7521        <!-- Mode of the keyboard. If the mode doesn't match the
7522             requested keyboard mode, the key will be skipped. -->
7523        <attr name="keyboardMode" />
7524    </declare-styleable>
7525
7526    <!-- =============================== -->
7527    <!-- AppWidget package class attributes -->
7528    <!-- =============================== -->
7529    <eat-comment />
7530
7531    <!-- Use <code>appwidget-provider</code> as the root tag of the XML resource that
7532         describes an AppWidget provider.  See {@link android.appwidget android.appwidget}
7533         package for more info.
7534     -->
7535    <declare-styleable name="AppWidgetProviderInfo">
7536        <!-- Minimum width of the AppWidget. -->
7537        <attr name="minWidth"/>
7538        <!-- Minimum height of the AppWidget. -->
7539        <attr name="minHeight"/>
7540        <!-- Minimum width that the AppWidget can be resized to. -->
7541        <attr name="minResizeWidth" format="dimension"/>
7542        <!-- Minimum height that the AppWidget can be resized to. -->
7543        <attr name="minResizeHeight" format="dimension"/>
7544        <!-- Update period in milliseconds, or 0 if the AppWidget will update itself. -->
7545        <attr name="updatePeriodMillis" format="integer" />
7546        <!-- A resource id of a layout. -->
7547        <attr name="initialLayout" format="reference" />
7548        <!-- A resource id of a layout. -->
7549        <attr name="initialKeyguardLayout" format="reference" />
7550        <!-- A class name in the AppWidget's package to be launched to configure.
7551             If not supplied, then no activity will be launched. -->
7552        <attr name="configure" format="string" />
7553        <!-- A preview of what the AppWidget will look like after it's configured.
7554              If not supplied, the AppWidget's icon will be used. -->
7555        <attr name="previewImage" format="reference" />
7556        <!-- The view id of the AppWidget subview which should be auto-advanced.
7557             by the widget's host. -->
7558        <attr name="autoAdvanceViewId" format="reference" />
7559        <!-- Optional parameter which indicates if and how this widget can be
7560             resized. Supports combined values using | operator. -->
7561        <attr name="resizeMode" format="integer">
7562            <flag name="none" value="0x0" />
7563            <flag name="horizontal" value="0x1" />
7564            <flag name="vertical" value="0x2" />
7565        </attr>
7566        <!-- Optional parameter which indicates where this widget can be shown,
7567             ie. home screen, keyguard, search bar or any combination thereof.
7568             Supports combined values using | operator. -->
7569        <attr name="widgetCategory" format="integer">
7570            <flag name="home_screen" value="0x1" />
7571            <flag name="keyguard" value="0x2" />
7572            <flag name="searchbox" value="0x4" />
7573        </attr>
7574    </declare-styleable>
7575
7576    <!-- =============================== -->
7577    <!-- Wallpaper preview attributes    -->
7578    <!-- =============================== -->
7579    <eat-comment />
7580
7581    <!-- Use <code>wallpaper-preview</code> as the root tag of the XML resource that
7582         describes a wallpaper preview. -->
7583    <declare-styleable name="WallpaperPreviewInfo">
7584        <!-- A resource id of a static drawable. -->
7585        <attr name="staticWallpaperPreview" format="reference" />
7586    </declare-styleable>
7587
7588    <!-- =============================== -->
7589    <!-- App package class attributes -->
7590    <!-- =============================== -->
7591    <eat-comment />
7592
7593    <!-- ============================= -->
7594    <!-- View package class attributes -->
7595    <!-- ============================= -->
7596    <eat-comment />
7597
7598    <!-- Attributes that can be used with <code>&lt;fragment&gt;</code>
7599         tags inside of the layout of an Activity.  This instantiates
7600         the given {@link android.app.Fragment} and inserts its content
7601         view into the current location in the layout. -->
7602    <declare-styleable name="Fragment">
7603        <!-- Supply the name of the fragment class to instantiate. -->
7604        <attr name="name" />
7605
7606        <!-- Supply an identifier name for the top-level view, to later retrieve it
7607             with {@link android.view.View#findViewById View.findViewById()} or
7608             {@link android.app.Activity#findViewById Activity.findViewById()}.
7609             This must be a
7610             resource reference; typically you set this using the
7611             <code>@+</code> syntax to create a new ID resources.
7612             For example: <code>android:id="@+id/my_id"</code> which
7613             allows you to later retrieve the view
7614             with <code>findViewById(R.id.my_id)</code>. -->
7615        <attr name="id" />
7616
7617        <!-- Supply a tag for the top-level view containing a String, to be retrieved
7618             later with {@link android.view.View#getTag View.getTag()} or
7619             searched for with {@link android.view.View#findViewWithTag
7620             View.findViewWithTag()}.  It is generally preferable to use
7621             IDs (through the android:id attribute) instead of tags because
7622             they are faster and allow for compile-time type checking. -->
7623        <attr name="tag" />
7624
7625        <!-- The Transition that will be used to move Views out of the scene when the
7626             fragment is removed, hidden, or detached when not popping the back stack.
7627             Corresponds to {@link android.app.Fragment#setExitTransition(
7628             android.transition.Transition)} -->
7629        <attr name="fragmentExitTransition" format="reference"/>
7630
7631        <!-- The Transition that will be used to move Views into the initial scene.
7632             Corresponds to {@link android.app.Fragment#setEnterTransition(
7633             android.transition.Transition)} -->
7634        <attr name="fragmentEnterTransition" format="reference"/>
7635
7636        <!-- The Transition that will be used for shared elements transferred into the content
7637             Scene.
7638             Corresponds to {@link android.app.Fragment#setSharedElementEnterTransition(
7639             android.transition.Transition)} -->
7640        <attr name="fragmentSharedElementEnterTransition" format="reference"/>
7641
7642        <!-- The Transition that will be used to move Views out of the scene when the Fragment is
7643             preparing to be removed, hidden, or detached because of popping the back stack.
7644             Corresponds to {@link android.app.Fragment#setReturnTransition(
7645             android.transition.Transition)} -->
7646        <attr name="fragmentReturnTransition" format="reference"/>
7647
7648        <!-- The Transition that will be used for shared elements transferred back during a
7649             pop of the back stack. This Transition acts in the leaving Fragment.
7650             Corresponds to {@link android.app.Fragment#setSharedElementReturnTransition(
7651             android.transition.Transition)} -->
7652        <attr name="fragmentSharedElementReturnTransition" format="reference"/>
7653
7654        <!-- The Transition that will be used to move Views in to the scene when returning due
7655             to popping a back stack.
7656             Corresponds to {@link android.app.Fragment#setReenterTransition(
7657             android.transition.Transition)} -->
7658        <attr name="fragmentReenterTransition" format="reference"/>
7659
7660        <!-- Sets whether the enter and exit transitions should overlap when transitioning
7661             forward.
7662             Corresponds to {@link android.app.Fragment#setAllowEnterTransitionOverlap(
7663             boolean)} -->
7664        <attr name="fragmentAllowEnterTransitionOverlap" format="reference"/>
7665
7666        <!-- Sets whether the enter and exit transitions should overlap when transitioning
7667             because of popping the back stack.
7668             Corresponds to {@link android.app.Fragment#setAllowReturnTransitionOverlap(
7669             boolean)} -->
7670        <attr name="fragmentAllowReturnTransitionOverlap" format="reference"/>
7671    </declare-styleable>
7672
7673    <!-- Use <code>device-admin</code> as the root tag of the XML resource that
7674         describes a
7675         {@link android.app.admin.DeviceAdminReceiver}, which is
7676         referenced from its
7677         {@link android.app.admin.DeviceAdminReceiver#DEVICE_ADMIN_META_DATA}
7678         meta-data entry.  Described here are the attributes that can be
7679         included in that tag. -->
7680    <declare-styleable name="DeviceAdmin">
7681        <!-- Control whether the admin is visible to the user, even when it
7682             is not enabled.  This is true by default.  You may want to make
7683             it false if your admin does not make sense to be turned on
7684             unless some explicit action happens in your app. -->
7685        <attr name="visible" />
7686    </declare-styleable>
7687
7688    <!-- Use <code>wallpaper</code> as the root tag of the XML resource that
7689         describes an
7690         {@link android.service.wallpaper.WallpaperService}, which is
7691         referenced from its
7692         {@link android.service.wallpaper.WallpaperService#SERVICE_META_DATA}
7693         meta-data entry.  Described here are the attributes that can be
7694         included in that tag. -->
7695    <declare-styleable name="Wallpaper">
7696        <attr name="settingsActivity" />
7697
7698        <!-- Reference to the wallpaper's thumbnail bitmap. -->
7699        <attr name="thumbnail" format="reference" />
7700
7701        <!-- Name of the author and/or source/collection of this component, for example,
7702             Art Collection, Picasso. -->
7703        <attr name="author" format="reference" />
7704
7705        <!-- Short description of the component's purpose or behavior. -->
7706        <attr name="description" />
7707
7708        <!-- Uri that specifies a link for further context of this wallpaper, for example,
7709             http://www.picasso.org. -->
7710        <attr name="contextUri" format="reference" />
7711
7712        <!-- Title of the uri that specifies a link for further context of this wallpaper,
7713             for example, Explore collection. -->
7714        <attr name="contextDescription" format="reference" />
7715
7716        <!-- Whether to show any metadata when previewing the wallpaper. If this value is
7717             set to true, any component that shows a preview of this live wallpaper should also show
7718             accompanying information like the title, the description, the author and the context
7719             description of this wallpaper so the user gets to know further information about this
7720             wallpaper. -->
7721        <attr name="showMetadataInPreview" format="boolean" />
7722
7723    </declare-styleable>
7724
7725    <!-- Use <code>dream</code> as the root tag of the XML resource that
7726         describes an
7727         {@link android.service.dreams.DreamService}, which is
7728         referenced from its
7729         {@link android.service.dreams.DreamService#DREAM_META_DATA}
7730         meta-data entry.  Described here are the attributes that can be
7731         included in that tag. -->
7732    <declare-styleable name="Dream">
7733        <!-- Component name of an activity that allows the user to modify
7734             the settings for this dream. -->
7735        <attr name="settingsActivity" />
7736    </declare-styleable>
7737
7738    <!-- @SystemApi Use <code>trust-agent</code> as the root tag of the XML resource that
7739         describes an {@link android.service.trust.TrustAgentService}, which is
7740         referenced from its {@link android.service.trust.TrustAgentService#TRUST_AGENT_META_DATA}
7741         meta-data entry.  Described here are the attributes that can be included in that tag.
7742         @hide -->
7743    <declare-styleable name="TrustAgent">
7744        <!-- @SystemApi Component name of an activity that allows the user to modify
7745             the settings for this trust agent. @hide -->
7746        <attr name="settingsActivity" />
7747        <!-- @SystemApi Title for a preference that allows that user to launch the
7748             activity to modify trust agent settings. @hide -->
7749        <attr name="title" />
7750        <!-- @SystemApi Summary for the same preference as the title. @hide -->
7751        <attr name="summary" />
7752        <!-- @SystemApi Whether trust agent can unlock a user profile @hide -->
7753        <attr name="unlockProfile" format="boolean"/>
7754    </declare-styleable>
7755
7756    <!-- =============================== -->
7757    <!-- Accounts package class attributes -->
7758    <!-- =============================== -->
7759    <eat-comment />
7760
7761    <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
7762         describes an account authenticator.
7763     -->
7764    <declare-styleable name="AccountAuthenticator">
7765        <!-- The account type this authenticator handles. -->
7766        <attr name="accountType" format="string"/>
7767        <!-- The user-visible name of the authenticator. -->
7768        <attr name="label"/>
7769        <!-- The icon of the authenticator. -->
7770        <attr name="icon"/>
7771        <!-- Smaller icon of the authenticator. -->
7772        <attr name="smallIcon" format="reference"/>
7773        <!-- A preferences.xml file for authenticator-specific settings. -->
7774        <attr name="accountPreferences" format="reference"/>
7775        <!-- Account handles its own token storage and permissions.
7776             Default to false
7777          -->
7778        <attr name="customTokens" format="boolean"/>
7779    </declare-styleable>
7780
7781    <!-- =============================== -->
7782    <!-- Accounts package class attributes -->
7783    <!-- =============================== -->
7784    <eat-comment />
7785
7786    <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
7787         describes an account authenticator.
7788     -->
7789    <declare-styleable name="SyncAdapter">
7790        <!-- the authority of a content provider. -->
7791        <attr name="contentAuthority" format="string"/>
7792        <attr name="accountType"/>
7793        <attr name="userVisible" format="boolean"/>
7794        <attr name="supportsUploading" format="boolean"/>
7795        <!-- Set to true to tell the SyncManager that this SyncAdapter supports
7796             multiple simultaneous syncs for the same account type and authority.
7797             Otherwise the SyncManager will be sure not to issue a start sync request
7798             to this SyncAdapter if the SyncAdapter is already syncing another account.
7799             Defaults to false.
7800             -->
7801        <attr name="allowParallelSyncs" format="boolean"/>
7802        <!-- Set to true to tell the SyncManager to automatically call setIsSyncable(..., ..., 1)
7803             for the SyncAdapter instead of issuaing an initialization sync to the SyncAdapter.
7804             Defaults to false.
7805             -->
7806        <attr name="isAlwaysSyncable" format="boolean"/>
7807        <!-- If provided, specifies the action of the settings
7808             activity for this SyncAdapter.
7809             -->
7810        <attr name="settingsActivity"/>
7811    </declare-styleable>
7812
7813    <!-- =============================== -->
7814    <!-- Autofill attributes -->
7815    <!-- =============================== -->
7816    <eat-comment />
7817
7818    <!-- Use <code>autofill-service</code> as the root tag of the XML resource that describes a
7819         {@link android.service.autofill.AutofillService}, which is referenced from its
7820         {@link android.service.autofill#SERVICE_META_DATA} meta-data entry.
7821    -->
7822    <declare-styleable name="AutofillService">
7823        <!-- Fully qualified class name of an activity that allows the user to modify
7824             the settings for this service. -->
7825        <attr name="settingsActivity" />
7826    </declare-styleable>
7827
7828    <!-- =============================== -->
7829    <!-- Contacts meta-data attributes -->
7830    <!-- =============================== -->
7831    <eat-comment />
7832
7833    <!-- TODO: remove this deprecated styleable. -->
7834    <eat-comment />
7835    <declare-styleable name="Icon">
7836        <attr name="icon" />
7837        <attr name="mimeType" />
7838    </declare-styleable>
7839
7840    <!-- TODO: remove this deprecated styleable -->
7841    <eat-comment />
7842    <declare-styleable name="IconDefault">
7843        <attr name="icon" />
7844    </declare-styleable>
7845
7846    <!-- Maps a specific contact data MIME-type to styling information. -->
7847    <declare-styleable name="ContactsDataKind">
7848        <!-- Mime-type handled by this mapping. -->
7849        <attr name="mimeType" />
7850        <!-- Icon used to represent data of this kind. -->
7851        <attr name="icon" />
7852        <!-- Column in data table that summarizes this data. -->
7853        <attr name="summaryColumn" format="string" />
7854        <!-- Column in data table that contains details for this data. -->
7855        <attr name="detailColumn" format="string" />
7856        <!-- Flag indicating that detail should be built from SocialProvider. -->
7857        <attr name="detailSocialSummary" format="boolean" />
7858        <!-- Resource representing the term "All Contacts" (for example, "All Friends" or
7859        "All connections"). Optional (Default is "All Contacts"). -->
7860        <attr name="allContactsName" format="string" />
7861    </declare-styleable>
7862
7863    <!-- =============================== -->
7864    <!-- TabSelector class attributes -->
7865    <!-- =============================== -->
7866    <eat-comment />
7867
7868    <declare-styleable name="SlidingTab">
7869        <!-- Use "horizontal" for a row, "vertical" for a column.  The default is horizontal. -->
7870        <attr name="orientation" />
7871    </declare-styleable>
7872
7873    <!-- =============================== -->
7874    <!-- GlowPadView class attributes -->
7875    <!-- =============================== -->
7876    <eat-comment />
7877    <declare-styleable name="GlowPadView">
7878        <!-- Reference to an array resource that be used as description for the targets around the circle.
7879             {@deprecated Removed.} -->
7880        <attr name="targetDescriptions" format="reference" />
7881
7882        <!-- Reference to an array resource that be used to announce the directions with targets around the circle.
7883             {@deprecated Removed.} -->
7884        <attr name="directionDescriptions" format="reference" />
7885    </declare-styleable>
7886
7887    <!-- =============================== -->
7888    <!-- Location package class attributes -->
7889    <!-- =============================== -->
7890    <eat-comment />
7891
7892    <!-- Use <code>injected-location-setting</code> as the root tag of the XML resource that
7893         describes an injected "Location services" setting. Note that the status value (subtitle)
7894         for the setting is specified dynamically by a subclass of SettingInjectorService.
7895     -->
7896    <declare-styleable name="SettingInjectorService">
7897        <!-- The title for the preference. -->
7898        <attr name="title"/>
7899        <!-- The icon for the preference, should refer to all apps covered by the setting. Typically
7900             a generic icon for the developer. -->
7901        <attr name="icon"/>
7902        <!-- The activity to launch when the setting is clicked on. -->
7903        <attr name="settingsActivity"/>
7904    </declare-styleable>
7905
7906    <!-- =============================== -->
7907    <!-- LockPatternView class attributes -->
7908    <!-- =============================== -->
7909    <eat-comment />
7910
7911    <declare-styleable name="LockPatternView">
7912        <!-- Aspect to use when drawing LockPatternView. Choices are "square"(default), "lock_width"
7913             or "lock_height" -->
7914        <attr name="aspect" format="string" />
7915        <!-- Color to use when drawing LockPatternView paths. -->
7916        <attr name="pathColor" format="color|reference" />
7917        <!-- The regular pattern color -->
7918        <attr name="regularColor" format="color|reference" />
7919        <!-- The error color -->
7920        <attr name="errorColor" format="color|reference" />
7921        <!-- The success color -->
7922        <attr name="successColor" format="color|reference"/>
7923    </declare-styleable>
7924
7925    <!-- Use <code>recognition-service</code> as the root tag of the XML resource that
7926         describes a {@link android.speech.RecognitionService}, which is referenced from
7927         its {@link android.speech.RecognitionService#SERVICE_META_DATA} meta-data entry.
7928         Described here are the attributes that can be included in that tag. -->
7929    <declare-styleable name="RecognitionService">
7930        <attr name="settingsActivity" />
7931    </declare-styleable>
7932
7933    <!-- Use <code>voice-interaction-service</code> as the root tag of the XML resource that
7934         describes a {@link android.service.voice.VoiceInteractionService}, which is referenced from
7935         its {@link android.service.voice.VoiceInteractionService#SERVICE_META_DATA} meta-data entry.
7936         Described here are the attributes that can be included in that tag. -->
7937    <declare-styleable name="VoiceInteractionService">
7938        <!-- The service that hosts active voice interaction sessions.  This is required. -->
7939        <attr name="sessionService" format="string" />
7940        <!-- The service that provides voice recognition.  This is required.  When the user
7941             selects this voice interaction service, they will also be implicitly selecting
7942             the component here for their recognition service. -->
7943        <attr name="recognitionService" format="string" />
7944        <attr name="settingsActivity" />
7945        <!-- Flag indicating whether this voice interaction service is capable of handling the
7946             assist action. -->
7947        <attr name="supportsAssist" format="boolean" />
7948        <!-- Flag indicating whether this voice interaction service is capable of being launched
7949             from the keyguard. -->
7950        <attr name="supportsLaunchVoiceAssistFromKeyguard" format="boolean" />
7951        <!-- Flag indicating whether this voice interaction service can handle local voice
7952             interaction requests from an Activity. This flag is new in
7953             {@link android.os.Build.VERSION_CODES#N} and not used in previous versions. -->
7954        <attr name="supportsLocalInteraction" format="boolean" />
7955    </declare-styleable>
7956
7957    <!-- Use <code>voice-enrollment-application</code>
7958         as the root tag of the XML resource that escribes the supported keyphrases (hotwords)
7959         by the enrollment application.
7960         Described here are the attributes that can be included in that tag.
7961         @hide
7962         @SystemApi -->
7963    <declare-styleable name="VoiceEnrollmentApplication">
7964        <!-- A globally unique ID for the keyphrase. @hide @SystemApi -->
7965        <attr name="searchKeyphraseId" format="integer" />
7966        <!-- The actual keyphrase/hint text, or empty if not keyphrase dependent. @hide @SystemApi -->
7967        <attr name="searchKeyphrase" format="string" />
7968        <!-- A comma separated list of BCP-47 language tag for locales that are supported
7969             for this keyphrase, or empty if not locale dependent. @hide @SystemApi -->
7970        <attr name="searchKeyphraseSupportedLocales" format="string" />
7971        <!-- Flags for supported recognition modes. @hide @SystemApi -->
7972        <attr name="searchKeyphraseRecognitionFlags">
7973            <flag name="none" value="0" />
7974            <flag name="voiceTrigger" value="0x1" />
7975            <flag name="userIdentification" value="0x2" />
7976        </attr>
7977    </declare-styleable>
7978
7979    <!-- Attributes used to style the Action Bar. -->
7980    <declare-styleable name="ActionBar">
7981        <!-- The type of navigation to use. -->
7982        <attr name="navigationMode">
7983            <!-- Normal static title text. -->
7984            <enum name="normal" value="0" />
7985            <!-- The action bar will use a selection list for navigation. -->
7986            <enum name="listMode" value="1" />
7987            <!-- The action bar will use a series of horizontal tabs for navigation. -->
7988            <enum name="tabMode" value="2" />
7989        </attr>
7990        <!-- Options affecting how the action bar is displayed. -->
7991        <attr name="displayOptions">
7992            <flag name="none" value="0" />
7993            <flag name="useLogo" value="0x1" />
7994            <flag name="showHome" value="0x2" />
7995            <flag name="homeAsUp" value="0x4" />
7996            <flag name="showTitle" value="0x8" />
7997            <flag name="showCustom" value="0x10" />
7998            <flag name="disableHome" value="0x20" />
7999        </attr>
8000        <!-- Specifies title text used for navigationMode="normal". -->
8001        <attr name="title" />
8002        <!-- Specifies subtitle text used for navigationMode="normal". -->
8003        <attr name="subtitle" format="string" />
8004        <!-- Specifies a style to use for title text. -->
8005        <attr name="titleTextStyle" format="reference" />
8006        <!-- Specifies a style to use for subtitle text. -->
8007        <attr name="subtitleTextStyle" format="reference" />
8008        <!-- Specifies the drawable used for the application icon. -->
8009        <attr name="icon" />
8010        <!-- Specifies the drawable used for the application logo. -->
8011        <attr name="logo" />
8012        <!-- Specifies the drawable used for item dividers. -->
8013        <attr name="divider" />
8014        <!-- Specifies a background drawable for the action bar. -->
8015        <attr name="background" />
8016        <!-- Specifies a background drawable for a second stacked row of the action bar. -->
8017        <attr name="backgroundStacked" format="reference|color" />
8018        <!-- Specifies a background drawable for the bottom component of a split action bar. -->
8019        <attr name="backgroundSplit" format="reference|color" />
8020        <!-- Specifies a layout for custom navigation. Overrides navigationMode. -->
8021        <attr name="customNavigationLayout" format="reference" />
8022        <!-- Specifies a fixed height. -->
8023        <attr name="height" />
8024        <!-- Specifies a layout to use for the "home" section of the action bar. -->
8025        <attr name="homeLayout" format="reference" />
8026        <!-- Specifies a style resource to use for an embedded progress bar. -->
8027        <attr name="progressBarStyle" />
8028        <!-- Specifies a style resource to use for an indeterminate progress spinner. -->
8029        <attr name="indeterminateProgressStyle" format="reference" />
8030        <!-- Specifies the horizontal padding on either end for an embedded progress bar. -->
8031        <attr name="progressBarPadding" format="dimension" />
8032        <!-- Up navigation glyph. -->
8033        <attr name="homeAsUpIndicator" />
8034        <!-- Specifies padding that should be applied to the left and right sides of
8035             system-provided items in the bar. -->
8036        <attr name="itemPadding" format="dimension" />
8037        <!-- Set true to hide the action bar on a vertical nested scroll of content. -->
8038        <attr name="hideOnContentScroll" format="boolean" />
8039        <!-- Minimum inset for content views within a bar. Navigation buttons and
8040             menu views are excepted. Only valid for some themes and configurations. -->
8041        <attr name="contentInsetStart" format="dimension" />
8042        <!-- Minimum inset for content views within a bar. Navigation buttons and
8043             menu views are excepted. Only valid for some themes and configurations. -->
8044        <attr name="contentInsetEnd" format="dimension" />
8045        <!-- Minimum inset for content views within a bar. Navigation buttons and
8046             menu views are excepted. Only valid for some themes and configurations. -->
8047        <attr name="contentInsetLeft" format="dimension" />
8048        <!-- Minimum inset for content views within a bar. Navigation buttons and
8049             menu views are excepted. Only valid for some themes and configurations. -->
8050        <attr name="contentInsetRight" format="dimension" />
8051        <!-- Minimum inset for content views within a bar when a navigation button
8052             is present, such as the Up button. Only valid for some themes and configurations. -->
8053        <attr name="contentInsetStartWithNavigation" format="dimension" />
8054        <!-- Minimum inset for content views within a bar when actions from a menu
8055             are present. Only valid for some themes and configurations. -->
8056        <attr name="contentInsetEndWithActions" format="dimension" />
8057        <!-- Elevation for the action bar itself. -->
8058        <attr name="elevation" />
8059        <!-- Reference to a theme that should be used to inflate popups
8060             shown by widgets in the action bar. -->
8061        <attr name="popupTheme" />
8062    </declare-styleable>
8063
8064    <declare-styleable name="ActionMode">
8065        <!-- Specifies a style to use for title text. -->
8066        <attr name="titleTextStyle" />
8067        <!-- Specifies a style to use for subtitle text. -->
8068        <attr name="subtitleTextStyle" />
8069        <!-- Specifies a background for the action mode bar. -->
8070        <attr name="background" />
8071        <!-- Specifies a background for the split action mode bar. -->
8072        <attr name="backgroundSplit" />
8073        <!-- Specifies a fixed height for the action mode bar. -->
8074        <attr name="height" />
8075        <!-- Specifies a layout to use for the "close" item at the starting edge. -->
8076        <attr name="closeItemLayout" format="reference" />
8077    </declare-styleable>
8078
8079    <declare-styleable name="SearchView">
8080        <!-- The layout to use for the search view. -->
8081        <attr name="layout" />
8082        <!-- The default state of the SearchView. If true, it will be iconified when not in
8083             use and expanded when clicked. -->
8084        <attr name="iconifiedByDefault" format="boolean" />
8085        <!-- An optional maximum width of the SearchView. -->
8086        <attr name="maxWidth" />
8087        <!-- An optional query hint string to be displayed in the empty query field. -->
8088        <attr name="queryHint" format="string" />
8089        <!-- Default query hint used when {@code queryHint} is undefined and
8090             the search view's {@code SearchableInfo} does not provide a hint.
8091             @hide -->
8092        <attr name="defaultQueryHint" format="string" />
8093        <!-- The IME options to set on the query text field. -->
8094        <attr name="imeOptions" />
8095        <!-- The input type to set on the query text field. -->
8096        <attr name="inputType" />
8097        <!-- Close button icon. -->
8098        <attr name="closeIcon" format="reference" />
8099        <!-- Go button icon. -->
8100        <attr name="goIcon" format="reference" />
8101        <!-- Search icon. -->
8102        <attr name="searchIcon" format="reference" />
8103        <!-- Search icon displayed as a text field hint. -->
8104        <attr name="searchHintIcon" format="reference" />
8105        <!-- Voice button icon. -->
8106        <attr name="voiceIcon" format="reference" />
8107        <!-- Commit icon shown in the query suggestion row. -->
8108        <attr name="commitIcon" format="reference" />
8109        <!-- Layout for query suggestion rows. -->
8110        <attr name="suggestionRowLayout" format="reference" />
8111        <!-- Background for the section containing the search query. -->
8112        <attr name="queryBackground" format="reference" />
8113        <!-- Background for the section containing the action (for example, voice search). -->
8114        <attr name="submitBackground" format="reference" />
8115    </declare-styleable>
8116
8117    <declare-styleable name="Switch">
8118        <!-- Drawable to use as the "thumb" that switches back and forth. -->
8119        <attr name="thumb" />
8120        <!-- Tint to apply to the thumb. -->
8121        <attr name="thumbTint" />
8122        <!-- Blending mode used to apply the thumb tint. -->
8123        <attr name="thumbTintMode" />
8124        <!-- Drawable to use as the "track" that the switch thumb slides within. -->
8125        <attr name="track" format="reference" />
8126        <!-- Tint to apply to the track. -->
8127        <attr name="trackTint" format="color" />
8128        <!-- Blending mode used to apply the track tint. -->
8129        <attr name="trackTintMode">
8130            <!-- The tint is drawn on top of the drawable.
8131                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
8132            <enum name="src_over" value="3" />
8133            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
8134                 color channels are thrown out. [Sa * Da, Sc * Da] -->
8135            <enum name="src_in" value="5" />
8136            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
8137                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
8138            <enum name="src_atop" value="9" />
8139            <!-- Multiplies the color and alpha channels of the drawable with those of
8140                 the tint. [Sa * Da, Sc * Dc] -->
8141            <enum name="multiply" value="14" />
8142            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
8143            <enum name="screen" value="15" />
8144            <!-- Combines the tint and drawable color and alpha channels, clamping the
8145                 result to valid color values. Saturate(S + D) -->
8146            <enum name="add" value="16" />
8147        </attr>
8148        <!-- Text to use when the switch is in the checked/"on" state. -->
8149        <attr name="textOn" />
8150        <!-- Text to use when the switch is in the unchecked/"off" state. -->
8151        <attr name="textOff" />
8152        <!-- Amount of padding on either side of text within the switch thumb. -->
8153        <attr name="thumbTextPadding" format="dimension" />
8154        <!-- TextAppearance style for text displayed on the switch thumb. -->
8155        <attr name="switchTextAppearance" format="reference" />
8156        <!-- Minimum width for the switch component. -->
8157        <attr name="switchMinWidth" format="dimension" />
8158        <!-- Minimum space between the switch and caption text. -->
8159        <attr name="switchPadding" format="dimension" />
8160        <!-- Whether to split the track and leave a gap for the thumb drawable. -->
8161        <attr name="splitTrack" />
8162        <!-- Whether to draw on/off text. -->
8163        <attr name="showText" format="boolean" />
8164    </declare-styleable>
8165
8166    <declare-styleable name="Pointer">
8167        <!-- Reference to a pointer icon drawable with STYLE_ARROW. -->
8168        <attr name="pointerIconArrow" format="reference" />
8169        <!-- Reference to a pointer icon drawable with STYLE_SPOT_HOVER. -->
8170        <attr name="pointerIconSpotHover" format="reference" />
8171        <!-- Reference to a pointer icon drawable with STYLE_SPOT_TOUCH. -->
8172        <attr name="pointerIconSpotTouch" format="reference" />
8173        <!-- Reference to a pointer icon drawable with STYLE_SPOT_ANCHOR. -->
8174        <attr name="pointerIconSpotAnchor" format="reference" />
8175        <!-- Reference to a pointer drawable with STYLE_CONTEXT_MENU. -->
8176        <attr name="pointerIconContextMenu" format="reference"/>
8177        <!-- Reference to a pointer drawable with STYLE_HAND. -->
8178        <attr name="pointerIconHand" format="reference"/>
8179        <!-- Reference to a pointer drawable with STYLE_HELP. -->
8180        <attr name="pointerIconHelp" format="reference"/>
8181        <!-- Reference to a pointer drawable with STYLE_WAIT. -->
8182        <attr name="pointerIconWait" format="reference"/>
8183        <!-- Reference to a pointer drawable with STYLE_CELL. -->
8184        <attr name="pointerIconCell" format="reference"/>
8185        <!-- Reference to a pointer drawable with STYLE_CROSSHAIR. -->
8186        <attr name="pointerIconCrosshair" format="reference"/>
8187        <!-- Reference to a pointer drawable with STYLE_TEXT. -->
8188        <attr name="pointerIconText" format="reference"/>
8189        <!-- Reference to a pointer drawable with STYLE_VERTICAL_TEXT. -->
8190        <attr name="pointerIconVerticalText" format="reference"/>
8191        <!-- Reference to a pointer drawable with STYLE_ALIAS. -->
8192        <attr name="pointerIconAlias" format="reference"/>
8193        <!-- Reference to a pointer drawable with STYLE_COPY. -->
8194        <attr name="pointerIconCopy" format="reference"/>
8195        <!-- Reference to a pointer drawable with STYLE_NODROP. -->
8196        <attr name="pointerIconNodrop" format="reference"/>
8197        <!-- Reference to a pointer drawable with STYLE_ALL_SCROLL. -->
8198        <attr name="pointerIconAllScroll" format="reference"/>
8199        <!-- Reference to a pointer drawable with STYLE_HORIZONTAL_DOUBLE_ARROW. -->
8200        <attr name="pointerIconHorizontalDoubleArrow" format="reference"/>
8201        <!-- Reference to a pointer drawable with STYLE_VERTICAL_DOUBLE_ARROW. -->
8202        <attr name="pointerIconVerticalDoubleArrow" format="reference"/>
8203        <!-- Reference to a pointer drawable with STYLE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW. -->
8204        <attr name="pointerIconTopRightDiagonalDoubleArrow" format="reference"/>
8205        <!-- Reference to a pointer drawable with STYLE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW. -->
8206        <attr name="pointerIconTopLeftDiagonalDoubleArrow" format="reference"/>
8207        <!-- Reference to a pointer drawable with STYLE_ZOOM_IN. -->
8208        <attr name="pointerIconZoomIn" format="reference"/>
8209        <!-- Reference to a pointer drawable with STYLE_ZOOM_OUT. -->
8210        <attr name="pointerIconZoomOut" format="reference"/>
8211        <!-- Reference to a pointer drawable with STYLE_GRAB. -->
8212        <attr name="pointerIconGrab" format="reference"/>
8213        <!-- Reference to a pointer drawable with STYLE_GRABBING. -->
8214        <attr name="pointerIconGrabbing" format="reference"/>
8215    </declare-styleable>
8216
8217    <declare-styleable name="PointerIcon">
8218        <!-- Drawable to use as the icon bitmap. -->
8219        <attr name="bitmap" format="reference" />
8220        <!-- X coordinate of the icon hot spot. -->
8221        <attr name="hotSpotX" format="dimension" />
8222        <!-- Y coordinate of the icon hot spot. -->
8223        <attr name="hotSpotY" format="dimension" />
8224    </declare-styleable>
8225
8226    <declare-styleable name="Storage">
8227        <!-- path to mount point for the storage. -->
8228        <attr name="mountPoint" format="string" />
8229        <!-- user visible description of the storage. -->
8230        <attr name="storageDescription" format="string" />
8231        <!-- true if the storage is the primary external storage. -->
8232        <attr name="primary" format="boolean" />
8233        <!-- true if the storage is removable. -->
8234        <attr name="removable" format="boolean" />
8235        <!-- true if the storage is emulated via the FUSE sdcard daemon. -->
8236        <attr name="emulated" format="boolean" />
8237        <!-- number of megabytes of storage MTP should reserve for free storage
8238             (used for emulated storage that is shared with system's data partition). -->
8239        <attr name="mtpReserve" format="integer" />
8240        <!-- true if the storage can be shared via USB mass storage. -->
8241        <attr name="allowMassStorage" format="boolean" />
8242        <!-- maximum file size for the volume in megabytes, zero or unspecified if it is unbounded. -->
8243        <attr name="maxFileSize" format="integer" />
8244    </declare-styleable>
8245
8246    <declare-styleable name="SwitchPreference">
8247        <!-- The summary for the Preference in a PreferenceActivity screen when the
8248             SwitchPreference is checked. If separate on/off summaries are not
8249             needed, the summary attribute can be used instead. -->
8250        <attr name="summaryOn" />
8251        <!-- The summary for the Preference in a PreferenceActivity screen when the
8252             SwitchPreference is unchecked. If separate on/off summaries are not
8253             needed, the summary attribute can be used instead. -->
8254        <attr name="summaryOff" />
8255        <!-- The text used on the switch itself when in the "on" state.
8256             This should be a very SHORT string, as it appears in a small space. -->
8257        <attr name="switchTextOn" format="string" />
8258        <!-- The text used on the switch itself when in the "off" state.
8259             This should be a very SHORT string, as it appears in a small space. -->
8260        <attr name="switchTextOff" format="string" />
8261        <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
8262             dependents will be disabled when this is unchecked, so the value of this preference is false. -->
8263        <attr name="disableDependentsState" />
8264    </declare-styleable>
8265
8266    <declare-styleable name="SeekBarPreference">
8267        <attr name="layout" />
8268        <!-- Attribute indicating whether the slider within this preference can be adjusted, that is
8269        pressing left/right keys when this preference is focused will move the slider accordingly
8270        (for example, inline adjustable preferences). False, if the slider within the preference is
8271        read-only and cannot be adjusted. By default, the seekbar is adjustable. -->
8272        <attr name="adjustable" format="boolean" />
8273        <!-- Flag indicating whether the TextView next to the seekbar that shows the current seekbar value will be
8274        displayed. If true, the view is VISIBLE; if false, the view will be GONE. By default, this view is VISIBLE. -->
8275        <attr name="showSeekBarValue" format="boolean" />
8276    </declare-styleable>
8277
8278    <!-- Base attributes available to PreferenceFragment. -->
8279    <declare-styleable name="PreferenceFragment">
8280        <!-- The layout for the PreferenceFragment. This should rarely need to be changed. -->
8281        <attr name="layout" />
8282        <attr name="divider" />
8283    </declare-styleable>
8284
8285    <!-- Base attributes available to PreferenceScreen. -->
8286    <declare-styleable name="PreferenceScreen">
8287        <!-- The layout for the PreferenceScreen. This should rarely need to be changed. -->
8288        <attr name="screenLayout" format="reference" />
8289        <attr name="divider" />
8290    </declare-styleable>
8291
8292    <!-- Base attributes available to PreferenceActivity. -->
8293    <declare-styleable name="PreferenceActivity">
8294        <!-- The layout for the Preference Activity. This should rarely need to be changed. -->
8295        <attr name="layout" />
8296        <!-- The layout for the Preference Header. This should rarely need to be changed. -->
8297        <attr name="headerLayout" format="reference" />
8298        <!-- true if the Icon view will be removed when there is none and thus not showing
8299             the fixed margins. -->
8300        <attr name="headerRemoveIconIfEmpty" format="boolean" />
8301    </declare-styleable>
8302
8303    <!-- Use <code>tts-engine</code> as the root tag of the XML resource that
8304         describes a text to speech engine implemented as a subclass of
8305         {@link android.speech.tts.TextToSpeechService}.
8306
8307         The XML resource must be referenced from its
8308         {@link android.speech.tts.TextToSpeech.Engine#SERVICE_META_DATA} meta-data
8309         entry. -->
8310    <declare-styleable name="TextToSpeechEngine">
8311        <attr name="settingsActivity" />
8312    </declare-styleable>
8313
8314    <!-- Use <code>keyboard-layouts</code> as the root tag of the XML resource that
8315         describes a collection of keyboard layouts provided by an application.
8316         Each keyboard layout is declared by a <code>keyboard-layout</code> tag
8317         with these attributes.
8318
8319         The XML resource that contains the keyboard layouts must be referenced from its
8320         {@link android.hardware.input.InputManager#META_DATA_KEYBOARD_LAYOUTS}
8321         meta-data entry used with broadcast receivers for
8322         {@link android.hardware.input.InputManager#ACTION_QUERY_KEYBOARD_LAYOUTS}. -->
8323    <declare-styleable name="KeyboardLayout">
8324        <!-- The name of the keyboard layout, must be unique in the receiver. -->
8325        <attr name="name" />
8326        <!-- The display label of the keyboard layout. -->
8327        <attr name="label" />
8328        <!-- The key character map file resource. -->
8329        <attr name="keyboardLayout" format="reference" />
8330        <!-- The locales the given keyboard layout corresponds to. -->
8331        <attr name="locale" format="string" />
8332        <!-- The vendor ID of the hardware the given layout corresponds to. @hide -->
8333        <attr name="vendorId" format="integer" />
8334        <!-- The product ID of the hardware the given layout corresponds to. @hide -->
8335        <attr name="productId" format="integer" />
8336    </declare-styleable>
8337
8338    <declare-styleable name="MediaRouteButton">
8339        <!-- This drawable is a state list where the "activated" state
8340             indicates active media routing. Non-activated indicates
8341             that media is playing to the local device only.
8342             @hide -->
8343        <attr name="externalRouteEnabledDrawable" format="reference" />
8344
8345        <!-- The types of media routes the button and its resulting
8346             chooser will filter by. -->
8347        <attr name="mediaRouteTypes" format="integer">
8348            <!-- Allow selection of live audio routes. -->
8349            <enum name="liveAudio" value="0x1" />
8350            <!-- Allow selection of user (app-specified) routes. -->
8351            <enum name="user" value="0x800000" />
8352        </attr>
8353
8354        <attr name="minWidth" />
8355        <attr name="minHeight" />
8356    </declare-styleable>
8357
8358    <!-- PagedView specific attributes. These attributes are used to customize
8359         a PagedView view in XML files. -->
8360    <declare-styleable name="PagedView">
8361        <!-- The space between adjacent pages of the PagedView. -->
8362        <attr name="pageSpacing" format="dimension" />
8363        <!-- The padding for the scroll indicator area. -->
8364        <attr name="scrollIndicatorPaddingLeft" format="dimension" />
8365        <attr name="scrollIndicatorPaddingRight" format="dimension" />
8366    </declare-styleable>
8367
8368    <declare-styleable name="KeyguardGlowStripView">
8369        <attr name="dotSize" format="dimension" />
8370        <attr name="numDots" format="integer" />
8371        <attr name="glowDot" format="reference" />
8372        <attr name="leftToRight" format="boolean" />
8373    </declare-styleable>
8374
8375    <!-- Some child types have special behavior. -->
8376    <attr name="layout_childType">
8377        <!-- No special behavior. Layout will proceed as normal. -->
8378        <enum name="none" value="0" />
8379        <!-- Widget container.
8380             This will be resized in response to certain events. -->
8381        <enum name="widget" value="1" />
8382        <!-- Security challenge container.
8383             This will be dismissed/shown in response to certain events,
8384             possibly obscuring widget elements. -->
8385        <enum name="challenge" value="2" />
8386        <!-- User switcher.
8387             This will consume space from the total layout area. -->
8388        <enum name="userSwitcher" value="3" />
8389        <!-- Scrim. This will block access to child views that
8390             come before it in the child list in bouncer mode. -->
8391        <enum name="scrim" value="4" />
8392        <!-- The home for widgets. All widgets will be descendents of this. -->
8393        <enum name="widgets" value="5" />
8394        <!-- This is a handle that is used for expanding the
8395             security challenge container when it is collapsed. -->
8396        <enum name="expandChallengeHandle" value="6" />
8397        <!-- Delete drop target.  This will be the drop target to delete pages. -->
8398        <enum name="pageDeleteDropTarget" value="7" />
8399    </attr>
8400
8401    <!-- Attributes that can be used with <code>&lt;FragmentBreadCrumbs&gt;</code>
8402    tags. -->
8403    <declare-styleable name="FragmentBreadCrumbs">
8404        <attr name="gravity" />
8405        <attr name="itemLayout" format="reference" />
8406        <attr name="itemColor" format="color|reference" />
8407    </declare-styleable>
8408
8409    <declare-styleable name="Toolbar">
8410        <attr name="titleTextAppearance" format="reference" />
8411        <attr name="subtitleTextAppearance" format="reference" />
8412        <attr name="title" />
8413        <attr name="subtitle" />
8414        <attr name="gravity" />
8415        <!--  Specifies extra space on the left, start, right and end sides
8416              of the toolbar's title. Margin values should be positive. -->
8417        <attr name="titleMargin" format="dimension" />
8418        <!--  Specifies extra space on the start side of the toolbar's title.
8419              If both this attribute and titleMargin are specified, then this
8420              attribute takes precedence. Margin values should be positive. -->
8421        <attr name="titleMarginStart" format="dimension" />
8422        <!--  Specifies extra space on the end side of the toolbar's title.
8423              If both this attribute and titleMargin are specified, then this
8424              attribute takes precedence. Margin values should be positive. -->
8425        <attr name="titleMarginEnd" format="dimension" />
8426        <!--  Specifies extra space on the top side of the toolbar's title.
8427              If both this attribute and titleMargin are specified, then this
8428              attribute takes precedence. Margin values should be positive. -->
8429        <attr name="titleMarginTop" format="dimension" />
8430        <!--  Specifies extra space on the bottom side of the toolbar's title.
8431              If both this attribute and titleMargin are specified, then this
8432              attribute takes precedence. Margin values should be positive. -->
8433        <attr name="titleMarginBottom" format="dimension" />
8434        <attr name="contentInsetStart" />
8435        <attr name="contentInsetEnd" />
8436        <attr name="contentInsetLeft" />
8437        <attr name="contentInsetRight" />
8438        <attr name="contentInsetStartWithNavigation" />
8439        <attr name="contentInsetEndWithActions" />
8440        <attr name="maxButtonHeight" format="dimension" />
8441        <attr name="navigationButtonStyle" format="reference" />
8442        <attr name="buttonGravity">
8443            <!-- Push object to the top of its container, not changing its size. -->
8444            <flag name="top" value="0x30" />
8445            <!-- Push object to the bottom of its container, not changing its size. -->
8446            <flag name="bottom" value="0x50" />
8447        </attr>
8448        <!-- Icon drawable to use for the collapse button. -->
8449        <attr name="collapseIcon" format="reference" />
8450        <!-- Text to set as the content description for the collapse button. -->
8451        <attr name="collapseContentDescription" format="string" />
8452        <!-- Reference to a theme that should be used to inflate popups
8453             shown by widgets in the toolbar. -->
8454        <attr name="popupTheme" format="reference" />
8455        <!-- Icon drawable to use for the navigation button located at
8456             the start of the toolbar. -->
8457        <attr name="navigationIcon" format="reference" />
8458        <!-- Text to set as the content description for the navigation button
8459             located at the start of the toolbar. -->
8460        <attr name="navigationContentDescription" format="string" />
8461        <!-- Drawable to set as the logo that appears at the starting side of
8462             the Toolbar, just after the navigation button. -->
8463        <attr name="logo" />
8464        <!-- A content description string to describe the appearance of the
8465             associated logo image. -->
8466        <attr name="logoDescription" format="string" />
8467        <!-- A color to apply to the title string. -->
8468        <attr name="titleTextColor" format="color" />
8469        <!-- A color to apply to the subtitle string. -->
8470        <attr name="subtitleTextColor" format="color" />
8471    </declare-styleable>
8472
8473    <declare-styleable name="Toolbar_LayoutParams">
8474        <attr name="layout_gravity" />
8475    </declare-styleable>
8476
8477    <declare-styleable name="ActionBar_LayoutParams">
8478        <attr name="layout_gravity" />
8479    </declare-styleable>
8480
8481    <!-- Used as a filter array on the theme to pull out only the EdgeEffect-relevant bits. -->
8482    <declare-styleable name="EdgeEffect">
8483        <attr name="colorEdgeEffect" />
8484    </declare-styleable>
8485
8486    <!-- Use <code>tv-input</code> as the root tag of the XML resource that describes a
8487         {@link android.media.tv.TvInputService}, which is referenced from its
8488         {@link android.media.tv.TvInputService#SERVICE_META_DATA} meta-data entry.
8489         Described here are the attributes that can be included in that tag. -->
8490    <declare-styleable name="TvInputService">
8491        <!-- Component name of an activity that allows the user to set up this service. -->
8492        <attr name="setupActivity" format="string" />
8493        <!-- Component name of an activity that allows the user to modify the settings for this
8494             service.
8495             {@deprecated This value is deprecated and not used by the framework starting from API
8496                         level 26. Use setupActivity instead.} -->
8497        <attr name="settingsActivity" />
8498        <!-- Attribute whether the TV input service can record programs. This value can be changed
8499             at runtime by calling
8500             {@link android.media.tv.TvInputManager#updateTvInputInfo(android.media.tv.TvInputInfo)}. -->
8501        <attr name="canRecord" format="boolean" />
8502        <!-- The number of tuners that the TV input service is associated with. This value can be
8503             changed at runtime by calling
8504             {@link android.media.tv.TvInputManager#updateTvInputInfo(android.media.tv.TvInputInfo)}. -->
8505        <attr name="tunerCount" format="integer" />
8506    </declare-styleable>
8507
8508    <!-- Attributes that can be used with <code>rating-system-definition</code> tags inside of the
8509         XML resource that describes TV content rating of a {@link android.media.tv.TvInputService},
8510         which is referenced from its
8511         {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. -->
8512    <declare-styleable name="RatingSystemDefinition">
8513        <!-- The unique name of the content rating system. -->
8514        <attr name="name" />
8515        <!-- The title of the content rating system which is shown to the user. -->
8516        <attr name="title" />
8517        <!-- The short description of the content rating system. -->
8518        <attr name="description" />
8519        <!-- The country code associated with the content rating system, which consists of two
8520             uppercase letters that conform to the ISO 3166 standard. -->
8521        <attr name="country" format="string" />
8522    </declare-styleable>
8523
8524    <!-- Attributes that can be used with <code>rating-definition</code> tags inside of the XML
8525         resource that describes TV content rating of a {@link android.media.tv.TvInputService},
8526         which is referenced from its
8527         {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. -->
8528    <declare-styleable name="RatingDefinition">
8529        <!-- The unique name of the content rating. -->
8530        <attr name="name" />
8531        <!-- The title of the content rating which is shown to the user. -->
8532        <attr name="title" />
8533        <!-- The short description of the content rating. -->
8534        <attr name="description" />
8535        <!-- The age associated with the content rating. The content of this rating is suitable for
8536             people of this age or above. -->
8537        <attr name="contentAgeHint" format="integer" />
8538    </declare-styleable>
8539
8540    <declare-styleable name="ResolverDrawerLayout">
8541        <attr name="maxWidth" />
8542        <attr name="maxCollapsedHeight" format="dimension" />
8543        <attr name="maxCollapsedHeightSmall" format="dimension" />
8544        <!-- Whether the Drawer should be positioned at the top rather than at the bottom. -->
8545        <attr name="showAtTop" format="boolean" />
8546    </declare-styleable>
8547
8548    <declare-styleable name="MessagingLinearLayout">
8549        <attr name="spacing" />
8550    </declare-styleable>
8551
8552    <declare-styleable name="DateTimeView">
8553        <attr name="showRelative" format="boolean" />
8554    </declare-styleable>
8555
8556    <declare-styleable name="ResolverDrawerLayout_LayoutParams">
8557        <attr name="layout_alwaysShow" format="boolean" />
8558        <attr name="layout_ignoreOffset" format="boolean" />
8559        <attr name="layout_gravity" />
8560        <attr name="layout_hasNestedScrollIndicator" format="boolean" />
8561    </declare-styleable>
8562
8563    <!-- @hide -->
8564    <declare-styleable name="Lighting">
8565        <attr name="lightY" />
8566        <attr name="lightZ" />
8567        <attr name="lightRadius" />
8568        <attr name="ambientShadowAlpha" />
8569        <attr name="spotShadowAlpha" />
8570    </declare-styleable>
8571
8572    <declare-styleable name="RestrictionEntry">
8573        <attr name="key" />
8574        <attr name="restrictionType">
8575            <enum name="hidden" value="0" />
8576            <enum name="bool" value="1" />
8577            <enum name="choice" value="2" />
8578            <enum name="multi-select" value="4" />
8579            <enum name="integer" value="5" />
8580            <enum name="string" value="6" />
8581            <enum name="bundle" value="7" />
8582            <enum name="bundle_array" value="8" />
8583        </attr>
8584        <attr name="title" />
8585        <attr name="description" />
8586        <attr name="defaultValue" />
8587        <attr name="entries" />
8588        <attr name="entryValues" />
8589    </declare-styleable>
8590
8591    <!-- Used to describe the gradient for fill or stroke in a path of VectorDrawable. -->
8592    <declare-styleable name="GradientColor">
8593        <!-- Start color of the gradient. -->
8594        <attr name="startColor" />
8595        <!-- Optional center color. -->
8596        <attr name="centerColor" />
8597        <!-- End color of the gradient. -->
8598        <attr name="endColor" />
8599        <!-- Type of gradient. The default type is linear. -->
8600        <attr name="type" />
8601
8602        <!-- Only applied to RadialGradient-->
8603        <!-- Radius of the gradient, used only with radial gradient. -->
8604        <attr name="gradientRadius" />
8605
8606        <!-- Only applied to SweepGradient / RadialGradient-->
8607        <!-- X coordinate of the center of the gradient within the path. -->
8608        <attr name="centerX" />
8609        <!-- Y coordinate of the center of the gradient within the path. -->
8610        <attr name="centerY" />
8611
8612        <!-- LinearGradient specific -->
8613        <!-- X coordinate of the start point origin of the gradient.
8614             Defined in same coordinates as the path itself -->
8615        <attr name="startX" format="float" />
8616        <!-- Y coordinate of the start point of the gradient within the shape.
8617             Defined in same coordinates as the path itself -->
8618        <attr name="startY" format="float" />
8619        <!-- X coordinate of the end point origin of the gradient.
8620             Defined in same coordinates as the path itself -->
8621        <attr name="endX" format="float" />
8622        <!-- Y coordinate of the end point of the gradient within the shape.
8623             Defined in same coordinates as the path itself -->
8624        <attr name="endY" format="float" />
8625
8626        <!-- Defines the tile mode of the gradient. SweepGradient don't support tiling. -->
8627        <attr name="tileMode"/>
8628    </declare-styleable>
8629
8630    <!-- Describes an item of a GradientColor. Minimally need 2 items to define the gradient
8631         Colors defined in <item> override the simple color attributes such as
8632         "startColor / centerColor / endColor" are ignored. -->
8633    <declare-styleable name="GradientColorItem">
8634        <!-- The offset (or ratio) of this current color item inside the gradient.
8635             The value is only meaningful when it is between 0 and 1. -->
8636        <attr name="offset" format="float" />
8637        <!-- The current color for the offset inside the gradient. -->
8638        <attr name="color" />
8639    </declare-styleable>
8640
8641    <!-- @hide Attributes which will be read by the Activity to intialize the
8642               base activity TaskDescription. -->
8643    <declare-styleable name="ActivityTaskDescription">
8644        <!-- @hide From Theme.colorPrimary, used for the TaskDescription primary
8645                   color. -->
8646        <attr name="colorPrimary" />
8647        <!-- @hide From Theme.colorBackground, used for the TaskDescription background
8648                   color. -->
8649        <attr name="colorBackground" />
8650        <!-- @hide From Theme.statusBarColor, used for the TaskDescription status bar color. -->
8651        <attr name="statusBarColor"/>
8652        <!-- @hide From Theme.navigationBarColor, used for the TaskDescription navigation bar
8653                   color. -->
8654        <attr name="navigationBarColor"/>
8655    </declare-styleable>
8656
8657    <declare-styleable name="Shortcut">
8658        <attr name="shortcutId" format="string" />
8659        <attr name="enabled" />
8660        <attr name="icon" />
8661        <attr name="shortcutShortLabel" format="reference" />
8662        <attr name="shortcutLongLabel" format="reference" />
8663        <attr name="shortcutDisabledMessage" format="reference" />
8664    </declare-styleable>
8665
8666    <declare-styleable name="ShortcutCategories">
8667        <attr name="name" />
8668    </declare-styleable>
8669
8670    <!-- Attributes that are read when parsing a <font> tag, which is a child of
8671         <font-family>. This represents an actual font file and its attributes. -->
8672    <declare-styleable name="FontFamilyFont">
8673        <!-- The style of the given font file. This will be used when the font is being loaded into
8674         the font stack and will override any style information in the font's header tables. If
8675         unspecified, the value in the font's header tables will be used. -->
8676        <attr name="fontStyle">
8677            <enum name="normal" value="0" />
8678            <enum name="italic" value="1" />
8679        </attr>
8680        <!-- The reference to the font file to be used. This should be a file in the res/font folder
8681         and should therefore have an R reference value. E.g. @font/myfont -->
8682        <attr name="font" format="reference" />
8683        <!-- The weight of the given font file. This will be used when the font is being loaded into
8684         the font stack and will override any weight information in the font's header tables. Must
8685         be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most
8686         common values are 400 for regular weight and 700 for bold weight. If unspecified, the value
8687         in the font's header tables will be used. -->
8688        <attr name="fontWeight" format="integer" />
8689        <!-- The index of the font in the tcc font file. If the font file referenced is not in the
8690         tcc format, this attribute needs not be specified. -->
8691        <attr name="ttcIndex" format="integer" />
8692        <!-- The variation settings to be applied to the font. The string should be in the following
8693         format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be
8694         used, or the font used does not support variation settings, this attribute needs not be
8695         specified. -->
8696        <attr name="fontVariationSettings" format="string" />
8697    </declare-styleable>
8698
8699    <!-- Attributes that are read when parsing a <fontfamily> tag. -->
8700    <declare-styleable name="FontFamily">
8701        <!-- The authority of the Font Provider to be used for the request. -->
8702        <attr name="fontProviderAuthority" format="string" />
8703        <!-- The package for the Font Provider to be used for the request. This is used to verify
8704        the identity of the provider. -->
8705        <attr name="fontProviderPackage" format="string" />
8706        <!-- The query to be sent over to the provider. Refer to your font provider's documentation
8707        on the format of this string. -->
8708        <attr name="fontProviderQuery" format="string" />
8709        <!-- The sets of hashes for the certificates the provider should be signed with. This is
8710        used to verify the identity of the provider, and is only required if the provider is not
8711        part of the system image. This value may point to one list or a list of lists, where each
8712        individual list represents one collection of signature hashes. Refer to your font provider's
8713        documentation for these values. -->
8714        <attr name="fontProviderCerts" format="reference" />
8715    </declare-styleable>
8716
8717    <!-- @hide -->
8718    <declare-styleable name="RecyclerView">
8719        <attr name="layoutManager" format="string" />
8720        <attr name="orientation" />
8721        <attr name="descendantFocusability" />
8722        <attr name="spanCount" format="integer"/>
8723        <attr name="reverseLayout" format="boolean" />
8724        <attr name="stackFromEnd" format="boolean" />
8725    </declare-styleable>
8726
8727    <!-- @hide -->
8728    <declare-styleable name="NotificationTheme">
8729        <attr name="notificationHeaderStyle" format="reference" />
8730        <attr name="notificationHeaderTextAppearance" format="reference" />
8731        <attr name="notificationHeaderIconSize" format="dimension" />
8732        <attr name="notificationHeaderAppNameVisibility" format="enum">
8733            <!-- Visible on screen; the default value. -->
8734            <enum name="visible" value="0" />
8735            <!-- Not displayed, but taken into account during layout (space is left for it). -->
8736            <enum name="invisible" value="1" />
8737            <!-- Completely hidden, as if the view had not been added. -->
8738            <enum name="gone" value="2" />
8739        </attr>
8740    </declare-styleable>
8741
8742    <attr name="lockPatternStyle" format="reference" />
8743</resources>
8744