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