attrs.xml revision 1c7eb0c8eb156c4656f2d3e1b97929797e4e7ec9
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        <!-- Corner radius of progress bars. -->
1023        <attr name="progressBarCornerRadius" format="dimension" />
1024
1025        <!-- Style for the search query widget. -->
1026        <attr name="searchViewStyle" format="reference" />
1027
1028        <!-- Style for segmented buttons - a container that houses several buttons
1029             with the appearance of a singel button broken into segments. -->
1030        <attr name="segmentedButtonStyle" format="reference" />
1031
1032        <!-- Background drawable for bordered standalone items that need focus/pressed states. -->
1033        <attr name="selectableItemBackground" format="reference" />
1034
1035        <!-- Background drawable for borderless standalone items that need focus/pressed states. -->
1036        <attr name="selectableItemBackgroundBorderless" format="reference" />
1037
1038        <!-- Style for buttons without an explicit border, often used in groups. -->
1039        <attr name="borderlessButtonStyle" format="reference" />
1040
1041        <!-- Background to use for toasts. -->
1042        <attr name="toastFrameBackground" format="reference" />
1043
1044        <!-- Background to use for tooltip popups. -->
1045        <attr name="tooltipFrameBackground" format="reference" />
1046
1047        <!-- Foreground color to use for tooltip popups. -->
1048        <attr name="tooltipForegroundColor" format="reference|color" />
1049
1050        <!-- Background color to use for tooltip popups. -->
1051        <attr name="tooltipBackgroundColor" format="reference|color" />
1052
1053        <!-- Theme to use for Search Dialogs. -->
1054        <attr name="searchDialogTheme" format="reference" />
1055
1056        <!-- Specifies a drawable to use for the 'home as up' indicator. -->
1057        <attr name="homeAsUpIndicator" format="reference" />
1058
1059        <!-- Preference frame layout styles. -->
1060        <attr name="preferenceFrameLayoutStyle" format="reference" />
1061
1062        <!-- Default style for the Switch widget. -->
1063        <attr name="switchStyle" format="reference" />
1064
1065        <!-- Default style for the MediaRouteButton widget. -->
1066        <attr name="mediaRouteButtonStyle" format="reference" />
1067
1068        <!-- ============== -->
1069        <!-- Pointer styles -->
1070        <!-- ============== -->
1071        <eat-comment />
1072
1073        <!-- The drawable for accessibility focused views. -->
1074        <attr name="accessibilityFocusedDrawable" format="reference" />
1075
1076        <!-- Drawable for WebView find-on-page dialogue's "next" button. @hide -->
1077        <attr name="findOnPageNextDrawable" format="reference" />
1078
1079        <!-- Drawable for WebView find-on-page dialogue's "previous" button. @hide -->
1080        <attr name="findOnPagePreviousDrawable" format="reference" />
1081
1082        <!-- ============= -->
1083        <!-- Color palette -->
1084        <!-- ============= -->
1085        <eat-comment />
1086
1087        <!-- The primary branding color for the app. By default, this is the color applied to the
1088             action bar background. -->
1089        <attr name="colorPrimary" format="color" />
1090
1091        <!-- Dark variant of the primary branding color. By default, this is the color applied to
1092             the status bar (via statusBarColor) and navigation bar (via navigationBarColor). -->
1093        <attr name="colorPrimaryDark" format="color" />
1094
1095        <!-- The secondary branding color for the app. -->
1096        <attr name="colorSecondary" format="color" />
1097
1098        <!-- Bright complement to the primary branding color. By default, this is the color applied
1099             to framework controls (via colorControlActivated). -->
1100        <attr name="colorAccent" format="color" />
1101
1102        <!-- The color applied to framework controls in their normal state. -->
1103        <attr name="colorControlNormal" format="color" />
1104
1105        <!-- The color applied to framework controls in their activated (ex. checked) state. -->
1106        <attr name="colorControlActivated" format="color" />
1107
1108        <!-- The color applied to framework control highlights (ex. ripples, list selectors). -->
1109        <attr name="colorControlHighlight" format="color" />
1110
1111        <!-- The color applied to framework buttons in their normal state. -->
1112        <attr name="colorButtonNormal" format="color" />
1113
1114        <!-- The color applied to framework switch thumbs in their normal state. -->
1115        <attr name="colorSwitchThumbNormal" format="color" />
1116
1117        <!-- The color applied to framework progress and seek bar backgrounds in their normal state. -->
1118        <attr name="colorProgressBackgroundNormal" format="color" />
1119
1120        <!-- The color applied to the edge effect on scrolling containers. -->
1121        <attr name="colorEdgeEffect" format="color" />
1122
1123        <!-- =================== -->
1124        <!-- Lighting properties -->
1125        <!-- =================== -->
1126        <eat-comment />
1127
1128        <!-- @hide The default Y position of the light used to project view shadows. -->
1129        <attr name="lightY" format="dimension" />
1130
1131        <!-- @hide The default Z position of the light used to project view shadows. -->
1132        <attr name="lightZ" format="dimension" />
1133
1134        <!-- @hide The default radius of the light used to project view shadows. -->
1135        <attr name="lightRadius" format="dimension" />
1136
1137        <!-- Alpha value of the ambient shadow projected by elevated views, between 0 and 1. -->
1138        <attr name="ambientShadowAlpha" format="float" />
1139
1140        <!-- Alpha value of the spot shadow projected by elevated views, between 0 and 1. -->
1141        <attr name="spotShadowAlpha" format="float" />
1142    </declare-styleable>
1143
1144    <!-- **************************************************************** -->
1145    <!-- Other non-theme attributes. -->
1146    <!-- **************************************************************** -->
1147    <eat-comment />
1148
1149    <!-- Size of text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp).
1150         Supported values include the following:<p/>
1151    <ul>
1152        <li><b>px</b> Pixels</li>
1153        <li><b>sp</b> Scaled pixels (scaled to relative pixel size on screen). See {@link android.util.DisplayMetrics} for more information.</li>
1154        <li><b>pt</b> Points</li>
1155        <li><b>dip</b> Device independent pixels. See {@link android.util.DisplayMetrics} for more information.</li>
1156    </ul>
1157        -->
1158    <attr name="textSize" format="dimension" />
1159
1160    <!-- Default font family. -->
1161    <attr name="fontFamily" format="string" />
1162
1163    <!-- Default text typeface. -->
1164    <attr name="typeface">
1165        <enum name="normal" value="0" />
1166        <enum name="sans" value="1" />
1167        <enum name="serif" value="2" />
1168        <enum name="monospace" value="3" />
1169    </attr>
1170
1171    <!-- Default text typeface style. -->
1172    <attr name="textStyle">
1173        <flag name="normal" value="0" />
1174        <flag name="bold" value="1" />
1175        <flag name="italic" value="2" />
1176    </attr>
1177
1178    <!-- Color of text (usually same as colorForeground). -->
1179    <attr name="textColor" format="reference|color" />
1180
1181    <!-- Color of highlighted text. -->
1182    <attr name="textColorHighlight" format="reference|color" />
1183
1184    <!-- Color of hint text (displayed when the field is empty). -->
1185    <attr name="textColorHint" format="reference|color" />
1186
1187    <!-- Color of link text (URLs). -->
1188    <attr name="textColorLink" format="reference|color" />
1189
1190    <!-- Reference to a drawable that will be drawn under the insertion cursor. -->
1191    <attr name="textCursorDrawable" format="reference" />
1192
1193    <!-- Indicates that the content of a non-editable TextView can be selected.
1194     Default value is false. EditText content is always selectable. -->
1195    <attr name="textIsSelectable" format="boolean" />
1196
1197    <!-- Where to ellipsize text. -->
1198    <attr name="ellipsize">
1199        <enum name="none" value="0" />
1200        <enum name="start" value="1" />
1201        <enum name="middle" value="2" />
1202        <enum name="end" value="3" />
1203        <enum name="marquee" value="4" />
1204    </attr>
1205
1206    <!-- The type of data being placed in a text field, used to help an
1207         input method decide how to let the user enter text.  The constants
1208         here correspond to those defined by
1209         {@link android.text.InputType}.  Generally you can select
1210         a single value, though some can be combined together as
1211         indicated.  Setting this attribute to anything besides
1212         <var>none</var> also implies that the text is editable. -->
1213    <attr name="inputType">
1214        <!-- There is no content type.  The text is not editable. -->
1215        <flag name="none" value="0x00000000" />
1216        <!-- Just plain old text.  Corresponds to
1217             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1218             {@link android.text.InputType#TYPE_TEXT_VARIATION_NORMAL}. -->
1219        <flag name="text" value="0x00000001" />
1220        <!-- Can be combined with <var>text</var> and its variations to
1221             request capitalization of all characters.  Corresponds to
1222             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_CHARACTERS}. -->
1223        <flag name="textCapCharacters" value="0x00001001" />
1224        <!-- Can be combined with <var>text</var> and its variations to
1225             request capitalization of the first character of every word.  Corresponds to
1226             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_WORDS}. -->
1227        <flag name="textCapWords" value="0x00002001" />
1228        <!-- Can be combined with <var>text</var> and its variations to
1229             request capitalization of the first character of every sentence.  Corresponds to
1230             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_SENTENCES}. -->
1231        <flag name="textCapSentences" value="0x00004001" />
1232        <!-- Can be combined with <var>text</var> and its variations to
1233             request auto-correction of text being input.  Corresponds to
1234             {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_CORRECT}. -->
1235        <flag name="textAutoCorrect" value="0x00008001" />
1236        <!-- Can be combined with <var>text</var> and its variations to
1237             specify that this field will be doing its own auto-completion and
1238             talking with the input method appropriately.  Corresponds to
1239             {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_COMPLETE}. -->
1240        <flag name="textAutoComplete" value="0x00010001" />
1241        <!-- Can be combined with <var>text</var> and its variations to
1242             allow multiple lines of text in the field.  If this flag is not set,
1243             the text field will be constrained to a single line.  Corresponds to
1244             {@link android.text.InputType#TYPE_TEXT_FLAG_MULTI_LINE}. -->
1245        <flag name="textMultiLine" value="0x00020001" />
1246        <!-- Can be combined with <var>text</var> and its variations to
1247             indicate that though the regular text view should not be multiple
1248             lines, the IME should provide multiple lines if it can.  Corresponds to
1249             {@link android.text.InputType#TYPE_TEXT_FLAG_IME_MULTI_LINE}. -->
1250        <flag name="textImeMultiLine" value="0x00040001" />
1251        <!-- Can be combined with <var>text</var> and its variations to
1252             indicate that the IME should not show any
1253             dictionary-based word suggestions.  Corresponds to
1254             {@link android.text.InputType#TYPE_TEXT_FLAG_NO_SUGGESTIONS}. -->
1255        <flag name="textNoSuggestions" value="0x00080001" />
1256        <!-- Text that will be used as a URI.  Corresponds to
1257             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1258             {@link android.text.InputType#TYPE_TEXT_VARIATION_URI}. -->
1259        <flag name="textUri" value="0x00000011" />
1260        <!-- Text that will be used as an e-mail address.  Corresponds to
1261             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1262             {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_ADDRESS}. -->
1263        <flag name="textEmailAddress" value="0x00000021" />
1264        <!-- Text that is being supplied as the subject of an e-mail.  Corresponds to
1265             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1266             {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_SUBJECT}. -->
1267        <flag name="textEmailSubject" value="0x00000031" />
1268        <!-- Text that is the content of a short message.  Corresponds to
1269             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1270             {@link android.text.InputType#TYPE_TEXT_VARIATION_SHORT_MESSAGE}. -->
1271        <flag name="textShortMessage" value="0x00000041" />
1272        <!-- Text that is the content of a long message.  Corresponds to
1273             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1274             {@link android.text.InputType#TYPE_TEXT_VARIATION_LONG_MESSAGE}. -->
1275        <flag name="textLongMessage" value="0x00000051" />
1276        <!-- Text that is the name of a person.  Corresponds to
1277             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1278             {@link android.text.InputType#TYPE_TEXT_VARIATION_PERSON_NAME}. -->
1279        <flag name="textPersonName" value="0x00000061" />
1280        <!-- Text that is being supplied as a postal mailing address.  Corresponds to
1281             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1282             {@link android.text.InputType#TYPE_TEXT_VARIATION_POSTAL_ADDRESS}. -->
1283        <flag name="textPostalAddress" value="0x00000071" />
1284        <!-- Text that is a password.  Corresponds to
1285             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1286             {@link android.text.InputType#TYPE_TEXT_VARIATION_PASSWORD}. -->
1287        <flag name="textPassword" value="0x00000081" />
1288        <!-- Text that is a password that should be visible.  Corresponds to
1289             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1290             {@link android.text.InputType#TYPE_TEXT_VARIATION_VISIBLE_PASSWORD}. -->
1291        <flag name="textVisiblePassword" value="0x00000091" />
1292        <!-- Text that is being supplied as text in a web form.  Corresponds to
1293             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1294             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EDIT_TEXT}. -->
1295        <flag name="textWebEditText" value="0x000000a1" />
1296        <!-- Text that is filtering some other data.  Corresponds to
1297             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1298             {@link android.text.InputType#TYPE_TEXT_VARIATION_FILTER}. -->
1299        <flag name="textFilter" value="0x000000b1" />
1300        <!-- Text that is for phonetic pronunciation, such as a phonetic name
1301             field in a contact entry.  Corresponds to
1302             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1303             {@link android.text.InputType#TYPE_TEXT_VARIATION_PHONETIC}. -->
1304        <flag name="textPhonetic" value="0x000000c1" />
1305        <!-- Text that will be used as an e-mail address on a web form.  Corresponds to
1306             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1307             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS}. -->
1308        <flag name="textWebEmailAddress" value="0x000000d1" />
1309        <!-- Text that will be used as a password on a web form.  Corresponds to
1310             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1311             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_PASSWORD}. -->
1312        <flag name="textWebPassword" value="0x000000e1" />
1313        <!-- A numeric only field.  Corresponds to
1314             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1315             {@link android.text.InputType#TYPE_NUMBER_VARIATION_NORMAL}. -->
1316        <flag name="number" value="0x00000002" />
1317        <!-- Can be combined with <var>number</var> and its other options to
1318             allow a signed number.  Corresponds to
1319             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1320             {@link android.text.InputType#TYPE_NUMBER_FLAG_SIGNED}. -->
1321        <flag name="numberSigned" value="0x00001002" />
1322        <!-- Can be combined with <var>number</var> and its other options to
1323             allow a decimal (fractional) number.  Corresponds to
1324             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1325             {@link android.text.InputType#TYPE_NUMBER_FLAG_DECIMAL}. -->
1326        <flag name="numberDecimal" value="0x00002002" />
1327        <!-- A numeric password field.  Corresponds to
1328             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1329             {@link android.text.InputType#TYPE_NUMBER_VARIATION_PASSWORD}. -->
1330        <flag name="numberPassword" value="0x00000012" />
1331        <!-- For entering a phone number.  Corresponds to
1332             {@link android.text.InputType#TYPE_CLASS_PHONE}. -->
1333        <flag name="phone" value="0x00000003" />
1334        <!-- For entering a date and time.  Corresponds to
1335             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1336             {@link android.text.InputType#TYPE_DATETIME_VARIATION_NORMAL}. -->
1337        <flag name="datetime" value="0x00000004" />
1338        <!-- For entering a date.  Corresponds to
1339             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1340             {@link android.text.InputType#TYPE_DATETIME_VARIATION_DATE}. -->
1341        <flag name="date" value="0x00000014" />
1342        <!-- For entering a time.  Corresponds to
1343             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1344             {@link android.text.InputType#TYPE_DATETIME_VARIATION_TIME}. -->
1345        <flag name="time" value="0x00000024" />
1346    </attr>
1347
1348    <!-- Additional features you can enable in an IME associated with an editor
1349         to improve the integration with your application.  The constants
1350         here correspond to those defined by
1351         {@link android.view.inputmethod.EditorInfo#imeOptions}. -->
1352    <attr name="imeOptions">
1353        <!-- There are no special semantics associated with this editor. -->
1354        <flag name="normal" value="0x00000000" />
1355        <!-- There is no specific action associated with this editor, let the
1356             editor come up with its own if it can.
1357             Corresponds to
1358             {@link android.view.inputmethod.EditorInfo#IME_NULL}. -->
1359        <flag name="actionUnspecified" value="0x00000000" />
1360        <!-- This editor has no action associated with it.
1361             Corresponds to
1362             {@link android.view.inputmethod.EditorInfo#IME_ACTION_NONE}. -->
1363        <flag name="actionNone" value="0x00000001" />
1364        <!-- The action key performs a "go"
1365             operation to take the user to the target of the text they typed.
1366             Typically used, for example, when entering a URL.
1367             Corresponds to
1368             {@link android.view.inputmethod.EditorInfo#IME_ACTION_GO}. -->
1369        <flag name="actionGo" value="0x00000002" />
1370        <!-- The action key performs a "search"
1371             operation, taking the user to the results of searching for the text
1372             the have typed (in whatever context is appropriate).
1373             Corresponds to
1374             {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEARCH}. -->
1375        <flag name="actionSearch" value="0x00000003" />
1376        <!-- The action key performs a "send"
1377             operation, delivering the text to its target.  This is typically used
1378             when composing a message.
1379             Corresponds to
1380             {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEND}. -->
1381        <flag name="actionSend" value="0x00000004" />
1382        <!-- The action key performs a "next"
1383             operation, taking the user to the next field that will accept text.
1384             Corresponds to
1385             {@link android.view.inputmethod.EditorInfo#IME_ACTION_NEXT}. -->
1386        <flag name="actionNext" value="0x00000005" />
1387        <!-- The action key performs a "done"
1388             operation, closing the soft input method.
1389             Corresponds to
1390             {@link android.view.inputmethod.EditorInfo#IME_ACTION_DONE}. -->
1391        <flag name="actionDone" value="0x00000006" />
1392        <!-- The action key performs a "previous"
1393             operation, taking the user to the previous field that will accept text.
1394             Corresponds to
1395             {@link android.view.inputmethod.EditorInfo#IME_ACTION_PREVIOUS}. -->
1396        <flag name="actionPrevious" value="0x00000007" />
1397        <!-- Used to request that the IME should not update any personalized data such as typing
1398             history and personalized language model based on what the user typed on this text
1399             editing object. Typical use cases are:
1400             <ul>
1401                 <li>When the application is in a special mode, where user's activities are expected
1402                 to be not recorded in the application's history. Some web browsers and chat
1403                 applications may have this kind of modes.</li>
1404                 <li>When storing typing history does not make much sense.  Specifying this flag in
1405                 typing games may help to avoid typing history from being filled up with words that
1406                 the user is less likely to type in their daily life.  Another example is that when
1407                 the application already knows that the expected input is not a valid word (e.g. a
1408                 promotion code that is not a valid word in any natural language).</li>
1409             </ul>
1410             <p>Applications need to be aware that the flag is not a guarantee, and some IMEs may
1411             not respect it.</p> -->
1412        <flag name="flagNoPersonalizedLearning" value="0x1000000" />
1413        <!-- Used to request that the IME never go
1414             into fullscreen mode.  Applications need to be aware that the flag is not
1415             a guarantee, and not all IMEs will respect it.
1416             <p>Corresponds to
1417             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. -->
1418        <flag name="flagNoFullscreen" value="0x2000000" />
1419        <!-- Like flagNavigateNext, but
1420             specifies there is something interesting that a backward navigation
1421             can focus on.  If the user selects the IME's facility to backward
1422             navigate, this will show up in the application as an actionPrevious
1423             at {@link android.view.inputmethod.InputConnection#performEditorAction(int)
1424             InputConnection.performEditorAction(int)}.
1425             <p>Corresponds to
1426             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. -->
1427        <flag name="flagNavigatePrevious" value="0x4000000" />
1428        <!-- Used to specify that there is something
1429             interesting that a forward navigation can focus on. This is like using
1430             actionNext, except allows the IME to be multiline (with
1431             an enter key) as well as provide forward navigation.  Note that some
1432             IMEs may not be able to do this, especially when running on a small
1433             screen where there is little space.  In that case it does not need to
1434             present a UI for this option.  Like actionNext, if the
1435             user selects the IME's facility to forward navigate, this will show up
1436             in the application at
1437             {@link android.view.inputmethod.InputConnection#performEditorAction(int)
1438             InputConnection.performEditorAction(int)}.
1439             <p>Corresponds to
1440             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NAVIGATE_NEXT}. -->
1441        <flag name="flagNavigateNext" value="0x8000000" />
1442        <!-- Used to specify that the IME does not need
1443             to show its extracted text UI.  For input methods that may be fullscreen,
1444             often when in landscape mode, this allows them to be smaller and let part
1445             of the application be shown behind.  Though there will likely be limited
1446             access to the application available from the user, it can make the
1447             experience of a (mostly) fullscreen IME less jarring.  Note that when
1448             this flag is specified the IME may <em>not</em> be set up to be able
1449             to display text, so it should only be used in situations where this is
1450             not needed.
1451             <p>Corresponds to
1452             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_EXTRACT_UI}. -->
1453        <flag name="flagNoExtractUi" value="0x10000000" />
1454        <!-- Used in conjunction with a custom action, this indicates that the
1455             action should not be available as an accessory button when the
1456             input method is full-screen.
1457             Note that by setting this flag, there can be cases where the action
1458             is simply never available to the user.  Setting this generally means
1459             that you think showing text being edited is more important than the
1460             action you have supplied.
1461             <p>Corresponds to
1462             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ACCESSORY_ACTION}. -->
1463        <flag name="flagNoAccessoryAction" value="0x20000000" />
1464        <!-- Used in conjunction with a custom action,
1465             this indicates that the action should not be available in-line as
1466             a replacement for the "enter" key.  Typically this is
1467             because the action has such a significant impact or is not recoverable
1468             enough that accidentally hitting it should be avoided, such as sending
1469             a message.    Note that {@link android.widget.TextView} will
1470             automatically set this flag for you on multi-line text views.
1471             <p>Corresponds to
1472             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ENTER_ACTION}. -->
1473        <flag name="flagNoEnterAction" value="0x40000000" />
1474        <!-- Used to request that the IME should be capable of inputting ASCII
1475             characters.  The intention of this flag is to ensure that the user
1476             can type Roman alphabet characters in a {@link android.widget.TextView}
1477             used for, typically, account ID or password input.  It is expected that IMEs
1478             normally are able to input ASCII even without being told so (such IMEs
1479             already respect this flag in a sense), but there could be some cases they
1480             aren't when, for instance, only non-ASCII input languagaes like Arabic,
1481             Greek, Hebrew, Russian are enabled in the IME.  Applications need to be
1482             aware that the flag is not a guarantee, and not all IMEs will respect it.
1483             However, it is strongly recommended for IME authors to respect this flag
1484             especially when their IME could end up with a state that has only non-ASCII
1485             input languages enabled.
1486             <p>Corresponds to
1487             {@link android.view.inputmethod.EditorInfo#IME_FLAG_FORCE_ASCII}. -->
1488        <flag name="flagForceAscii" value="0x80000000" />
1489    </attr>
1490
1491    <!-- A coordinate in the X dimension. -->
1492    <attr name="x" format="dimension" />
1493    <!-- A coordinate in the Y dimension. -->
1494    <attr name="y" format="dimension" />
1495
1496    <!-- Specifies how an object should position its content, on both the X and Y axes,
1497         within its own bounds.  -->
1498    <attr name="gravity">
1499        <!-- Push object to the top of its container, not changing its size. -->
1500        <flag name="top" value="0x30" />
1501        <!-- Push object to the bottom of its container, not changing its size. -->
1502        <flag name="bottom" value="0x50" />
1503        <!-- Push object to the left of its container, not changing its size. -->
1504        <flag name="left" value="0x03" />
1505        <!-- Push object to the right of its container, not changing its size. -->
1506        <flag name="right" value="0x05" />
1507        <!-- Place object in the vertical center of its container, not changing its size. -->
1508        <flag name="center_vertical" value="0x10" />
1509        <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
1510        <flag name="fill_vertical" value="0x70" />
1511        <!-- Place object in the horizontal center of its container, not changing its size. -->
1512        <flag name="center_horizontal" value="0x01" />
1513        <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
1514        <flag name="fill_horizontal" value="0x07" />
1515        <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
1516        <flag name="center" value="0x11" />
1517        <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
1518        <flag name="fill" value="0x77" />
1519        <!-- Additional option that can be set to have the top and/or bottom edges of
1520             the child clipped to its container's bounds.
1521             The clip will be based on the vertical gravity: a top gravity will clip the bottom
1522             edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
1523        <flag name="clip_vertical" value="0x80" />
1524        <!-- Additional option that can be set to have the left and/or right edges of
1525             the child clipped to its container's bounds.
1526             The clip will be based on the horizontal gravity: a left gravity will clip the right
1527             edge, a right gravity will clip the left edge, and neither will clip both edges. -->
1528        <flag name="clip_horizontal" value="0x08" />
1529        <!-- Push object to the beginning of its container, not changing its size. -->
1530        <flag name="start" value="0x00800003" />
1531        <!-- Push object to the end of its container, not changing its size. -->
1532        <flag name="end" value="0x00800005" />
1533    </attr>
1534
1535    <!-- Controls whether links such as urls and email addresses are
1536         automatically found and converted to clickable links.  The default
1537         value is "none", disabling this feature. -->
1538    <attr name="autoLink">
1539        <!-- Match no patterns (default). -->
1540        <flag name="none" value="0x00" />
1541        <!-- Match Web URLs. -->
1542        <flag name="web" value="0x01" />
1543        <!-- Match email addresses. -->
1544        <flag name="email" value="0x02" />
1545        <!-- Match phone numbers. -->
1546        <flag name="phone" value="0x04" />
1547        <!-- Match map addresses. -->
1548        <flag name="map" value="0x08" />
1549        <!-- Match all patterns (equivalent to web|email|phone|map). -->
1550        <flag name="all" value="0x0f" />
1551    </attr>
1552
1553    <!-- Reference to an array resource that will populate a list/adapter. -->
1554    <attr name="entries" format="reference" />
1555
1556    <!-- Standard gravity constant that a child supplies to its parent.
1557         Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout. -->
1558    <attr name="layout_gravity">
1559        <!-- Push object to the top of its container, not changing its size. -->
1560        <flag name="top" value="0x30" />
1561        <!-- Push object to the bottom of its container, not changing its size. -->
1562        <flag name="bottom" value="0x50" />
1563        <!-- Push object to the left of its container, not changing its size. -->
1564        <flag name="left" value="0x03" />
1565        <!-- Push object to the right of its container, not changing its size. -->
1566        <flag name="right" value="0x05" />
1567        <!-- Place object in the vertical center of its container, not changing its size. -->
1568        <flag name="center_vertical" value="0x10" />
1569        <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
1570        <flag name="fill_vertical" value="0x70" />
1571        <!-- Place object in the horizontal center of its container, not changing its size. -->
1572        <flag name="center_horizontal" value="0x01" />
1573        <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
1574        <flag name="fill_horizontal" value="0x07" />
1575        <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
1576        <flag name="center" value="0x11" />
1577        <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
1578        <flag name="fill" value="0x77" />
1579        <!-- Additional option that can be set to have the top and/or bottom edges of
1580             the child clipped to its container's bounds.
1581             The clip will be based on the vertical gravity: a top gravity will clip the bottom
1582             edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
1583        <flag name="clip_vertical" value="0x80" />
1584        <!-- Additional option that can be set to have the left and/or right edges of
1585             the child clipped to its container's bounds.
1586             The clip will be based on the horizontal gravity: a left gravity will clip the right
1587             edge, a right gravity will clip the left edge, and neither will clip both edges. -->
1588        <flag name="clip_horizontal" value="0x08" />
1589        <!-- Push object to the beginning of its container, not changing its size. -->
1590        <flag name="start" value="0x00800003" />
1591        <!-- Push object to the end of its container, not changing its size. -->
1592        <flag name="end" value="0x00800005" />
1593    </attr>
1594
1595    <!-- Standard orientation constant. -->
1596    <attr name="orientation">
1597        <!-- Defines an horizontal widget. -->
1598        <enum name="horizontal" value="0" />
1599        <!-- Defines a vertical widget. -->
1600        <enum name="vertical" value="1" />
1601    </attr>
1602
1603    <!-- Alignment constants. -->
1604    <attr name="alignmentMode">
1605        <!-- Align the bounds of the children.
1606        See {@link android.widget.GridLayout#ALIGN_BOUNDS}. -->
1607        <enum name="alignBounds" value="0" />
1608        <!-- Align the margins of the children.
1609        See {@link android.widget.GridLayout#ALIGN_MARGINS}. -->
1610        <enum name="alignMargins" value="1" />
1611    </attr>
1612
1613    <!-- ========================== -->
1614    <!-- Key Codes                  -->
1615    <!-- ========================== -->
1616    <eat-comment />
1617
1618    <!-- This enum provides the same keycode values as can be found in
1619        {@link android.view.KeyEvent}. -->
1620    <attr name="keycode">
1621        <enum name="KEYCODE_UNKNOWN" value="0" />
1622        <enum name="KEYCODE_SOFT_LEFT" value="1" />
1623        <enum name="KEYCODE_SOFT_RIGHT" value="2" />
1624        <enum name="KEYCODE_HOME" value="3" />
1625        <enum name="KEYCODE_BACK" value="4" />
1626        <enum name="KEYCODE_CALL" value="5" />
1627        <enum name="KEYCODE_ENDCALL" value="6" />
1628        <enum name="KEYCODE_0" value="7" />
1629        <enum name="KEYCODE_1" value="8" />
1630        <enum name="KEYCODE_2" value="9" />
1631        <enum name="KEYCODE_3" value="10" />
1632        <enum name="KEYCODE_4" value="11" />
1633        <enum name="KEYCODE_5" value="12" />
1634        <enum name="KEYCODE_6" value="13" />
1635        <enum name="KEYCODE_7" value="14" />
1636        <enum name="KEYCODE_8" value="15" />
1637        <enum name="KEYCODE_9" value="16" />
1638        <enum name="KEYCODE_STAR" value="17" />
1639        <enum name="KEYCODE_POUND" value="18" />
1640        <enum name="KEYCODE_DPAD_UP" value="19" />
1641        <enum name="KEYCODE_DPAD_DOWN" value="20" />
1642        <enum name="KEYCODE_DPAD_LEFT" value="21" />
1643        <enum name="KEYCODE_DPAD_RIGHT" value="22" />
1644        <enum name="KEYCODE_DPAD_CENTER" value="23" />
1645        <enum name="KEYCODE_VOLUME_UP" value="24" />
1646        <enum name="KEYCODE_VOLUME_DOWN" value="25" />
1647        <enum name="KEYCODE_POWER" value="26" />
1648        <enum name="KEYCODE_CAMERA" value="27" />
1649        <enum name="KEYCODE_CLEAR" value="28" />
1650        <enum name="KEYCODE_A" value="29" />
1651        <enum name="KEYCODE_B" value="30" />
1652        <enum name="KEYCODE_C" value="31" />
1653        <enum name="KEYCODE_D" value="32" />
1654        <enum name="KEYCODE_E" value="33" />
1655        <enum name="KEYCODE_F" value="34" />
1656        <enum name="KEYCODE_G" value="35" />
1657        <enum name="KEYCODE_H" value="36" />
1658        <enum name="KEYCODE_I" value="37" />
1659        <enum name="KEYCODE_J" value="38" />
1660        <enum name="KEYCODE_K" value="39" />
1661        <enum name="KEYCODE_L" value="40" />
1662        <enum name="KEYCODE_M" value="41" />
1663        <enum name="KEYCODE_N" value="42" />
1664        <enum name="KEYCODE_O" value="43" />
1665        <enum name="KEYCODE_P" value="44" />
1666        <enum name="KEYCODE_Q" value="45" />
1667        <enum name="KEYCODE_R" value="46" />
1668        <enum name="KEYCODE_S" value="47" />
1669        <enum name="KEYCODE_T" value="48" />
1670        <enum name="KEYCODE_U" value="49" />
1671        <enum name="KEYCODE_V" value="50" />
1672        <enum name="KEYCODE_W" value="51" />
1673        <enum name="KEYCODE_X" value="52" />
1674        <enum name="KEYCODE_Y" value="53" />
1675        <enum name="KEYCODE_Z" value="54" />
1676        <enum name="KEYCODE_COMMA" value="55" />
1677        <enum name="KEYCODE_PERIOD" value="56" />
1678        <enum name="KEYCODE_ALT_LEFT" value="57" />
1679        <enum name="KEYCODE_ALT_RIGHT" value="58" />
1680        <enum name="KEYCODE_SHIFT_LEFT" value="59" />
1681        <enum name="KEYCODE_SHIFT_RIGHT" value="60" />
1682        <enum name="KEYCODE_TAB" value="61" />
1683        <enum name="KEYCODE_SPACE" value="62" />
1684        <enum name="KEYCODE_SYM" value="63" />
1685        <enum name="KEYCODE_EXPLORER" value="64" />
1686        <enum name="KEYCODE_ENVELOPE" value="65" />
1687        <enum name="KEYCODE_ENTER" value="66" />
1688        <enum name="KEYCODE_DEL" value="67" />
1689        <enum name="KEYCODE_GRAVE" value="68" />
1690        <enum name="KEYCODE_MINUS" value="69" />
1691        <enum name="KEYCODE_EQUALS" value="70" />
1692        <enum name="KEYCODE_LEFT_BRACKET" value="71" />
1693        <enum name="KEYCODE_RIGHT_BRACKET" value="72" />
1694        <enum name="KEYCODE_BACKSLASH" value="73" />
1695        <enum name="KEYCODE_SEMICOLON" value="74" />
1696        <enum name="KEYCODE_APOSTROPHE" value="75" />
1697        <enum name="KEYCODE_SLASH" value="76" />
1698        <enum name="KEYCODE_AT" value="77" />
1699        <enum name="KEYCODE_NUM" value="78" />
1700        <enum name="KEYCODE_HEADSETHOOK" value="79" />
1701        <enum name="KEYCODE_FOCUS" value="80" />
1702        <enum name="KEYCODE_PLUS" value="81" />
1703        <enum name="KEYCODE_MENU" value="82" />
1704        <enum name="KEYCODE_NOTIFICATION" value="83" />
1705        <enum name="KEYCODE_SEARCH" value="84" />
1706        <enum name="KEYCODE_MEDIA_PLAY_PAUSE" value="85" />
1707        <enum name="KEYCODE_MEDIA_STOP" value="86" />
1708        <enum name="KEYCODE_MEDIA_NEXT" value="87" />
1709        <enum name="KEYCODE_MEDIA_PREVIOUS" value="88" />
1710        <enum name="KEYCODE_MEDIA_REWIND" value="89" />
1711        <enum name="KEYCODE_MEDIA_FAST_FORWARD" value="90" />
1712        <enum name="KEYCODE_MUTE" value="91" />
1713        <enum name="KEYCODE_PAGE_UP" value="92" />
1714        <enum name="KEYCODE_PAGE_DOWN" value="93" />
1715        <enum name="KEYCODE_PICTSYMBOLS" value="94" />
1716        <enum name="KEYCODE_SWITCH_CHARSET" value="95" />
1717        <enum name="KEYCODE_BUTTON_A" value="96" />
1718        <enum name="KEYCODE_BUTTON_B" value="97" />
1719        <enum name="KEYCODE_BUTTON_C" value="98" />
1720        <enum name="KEYCODE_BUTTON_X" value="99" />
1721        <enum name="KEYCODE_BUTTON_Y" value="100" />
1722        <enum name="KEYCODE_BUTTON_Z" value="101" />
1723        <enum name="KEYCODE_BUTTON_L1" value="102" />
1724        <enum name="KEYCODE_BUTTON_R1" value="103" />
1725        <enum name="KEYCODE_BUTTON_L2" value="104" />
1726        <enum name="KEYCODE_BUTTON_R2" value="105" />
1727        <enum name="KEYCODE_BUTTON_THUMBL" value="106" />
1728        <enum name="KEYCODE_BUTTON_THUMBR" value="107" />
1729        <enum name="KEYCODE_BUTTON_START" value="108" />
1730        <enum name="KEYCODE_BUTTON_SELECT" value="109" />
1731        <enum name="KEYCODE_BUTTON_MODE" value="110" />
1732        <enum name="KEYCODE_ESCAPE" value="111" />
1733        <enum name="KEYCODE_FORWARD_DEL" value="112" />
1734        <enum name="KEYCODE_CTRL_LEFT" value="113" />
1735        <enum name="KEYCODE_CTRL_RIGHT" value="114" />
1736        <enum name="KEYCODE_CAPS_LOCK" value="115" />
1737        <enum name="KEYCODE_SCROLL_LOCK" value="116" />
1738        <enum name="KEYCODE_META_LEFT" value="117" />
1739        <enum name="KEYCODE_META_RIGHT" value="118" />
1740        <enum name="KEYCODE_FUNCTION" value="119" />
1741        <enum name="KEYCODE_SYSRQ" value="120" />
1742        <enum name="KEYCODE_BREAK" value="121" />
1743        <enum name="KEYCODE_MOVE_HOME" value="122" />
1744        <enum name="KEYCODE_MOVE_END" value="123" />
1745        <enum name="KEYCODE_INSERT" value="124" />
1746        <enum name="KEYCODE_FORWARD" value="125" />
1747        <enum name="KEYCODE_MEDIA_PLAY" value="126" />
1748        <enum name="KEYCODE_MEDIA_PAUSE" value="127" />
1749        <enum name="KEYCODE_MEDIA_CLOSE" value="128" />
1750        <enum name="KEYCODE_MEDIA_EJECT" value="129" />
1751        <enum name="KEYCODE_MEDIA_RECORD" value="130" />
1752        <enum name="KEYCODE_F1" value="131" />
1753        <enum name="KEYCODE_F2" value="132" />
1754        <enum name="KEYCODE_F3" value="133" />
1755        <enum name="KEYCODE_F4" value="134" />
1756        <enum name="KEYCODE_F5" value="135" />
1757        <enum name="KEYCODE_F6" value="136" />
1758        <enum name="KEYCODE_F7" value="137" />
1759        <enum name="KEYCODE_F8" value="138" />
1760        <enum name="KEYCODE_F9" value="139" />
1761        <enum name="KEYCODE_F10" value="140" />
1762        <enum name="KEYCODE_F11" value="141" />
1763        <enum name="KEYCODE_F12" value="142" />
1764        <enum name="KEYCODE_NUM_LOCK" value="143" />
1765        <enum name="KEYCODE_NUMPAD_0" value="144" />
1766        <enum name="KEYCODE_NUMPAD_1" value="145" />
1767        <enum name="KEYCODE_NUMPAD_2" value="146" />
1768        <enum name="KEYCODE_NUMPAD_3" value="147" />
1769        <enum name="KEYCODE_NUMPAD_4" value="148" />
1770        <enum name="KEYCODE_NUMPAD_5" value="149" />
1771        <enum name="KEYCODE_NUMPAD_6" value="150" />
1772        <enum name="KEYCODE_NUMPAD_7" value="151" />
1773        <enum name="KEYCODE_NUMPAD_8" value="152" />
1774        <enum name="KEYCODE_NUMPAD_9" value="153" />
1775        <enum name="KEYCODE_NUMPAD_DIVIDE" value="154" />
1776        <enum name="KEYCODE_NUMPAD_MULTIPLY" value="155" />
1777        <enum name="KEYCODE_NUMPAD_SUBTRACT" value="156" />
1778        <enum name="KEYCODE_NUMPAD_ADD" value="157" />
1779        <enum name="KEYCODE_NUMPAD_DOT" value="158" />
1780        <enum name="KEYCODE_NUMPAD_COMMA" value="159" />
1781        <enum name="KEYCODE_NUMPAD_ENTER" value="160" />
1782        <enum name="KEYCODE_NUMPAD_EQUALS" value="161" />
1783        <enum name="KEYCODE_NUMPAD_LEFT_PAREN" value="162" />
1784        <enum name="KEYCODE_NUMPAD_RIGHT_PAREN" value="163" />
1785        <enum name="KEYCODE_VOLUME_MUTE" value="164" />
1786        <enum name="KEYCODE_INFO" value="165" />
1787        <enum name="KEYCODE_CHANNEL_UP" value="166" />
1788        <enum name="KEYCODE_CHANNEL_DOWN" value="167" />
1789        <enum name="KEYCODE_ZOOM_IN" value="168" />
1790        <enum name="KEYCODE_ZOOM_OUT" value="169" />
1791        <enum name="KEYCODE_TV" value="170" />
1792        <enum name="KEYCODE_WINDOW" value="171" />
1793        <enum name="KEYCODE_GUIDE" value="172" />
1794        <enum name="KEYCODE_DVR" value="173" />
1795        <enum name="KEYCODE_BOOKMARK" value="174" />
1796        <enum name="KEYCODE_CAPTIONS" value="175" />
1797        <enum name="KEYCODE_SETTINGS" value="176" />
1798        <enum name="KEYCODE_TV_POWER" value="177" />
1799        <enum name="KEYCODE_TV_INPUT" value="178" />
1800        <enum name="KEYCODE_STB_POWER" value="179" />
1801        <enum name="KEYCODE_STB_INPUT" value="180" />
1802        <enum name="KEYCODE_AVR_POWER" value="181" />
1803        <enum name="KEYCODE_AVR_INPUT" value="182" />
1804        <enum name="KEYCODE_PROG_GRED" value="183" />
1805        <enum name="KEYCODE_PROG_GREEN" value="184" />
1806        <enum name="KEYCODE_PROG_YELLOW" value="185" />
1807        <enum name="KEYCODE_PROG_BLUE" value="186" />
1808        <enum name="KEYCODE_APP_SWITCH" value="187" />
1809        <enum name="KEYCODE_BUTTON_1" value="188" />
1810        <enum name="KEYCODE_BUTTON_2" value="189" />
1811        <enum name="KEYCODE_BUTTON_3" value="190" />
1812        <enum name="KEYCODE_BUTTON_4" value="191" />
1813        <enum name="KEYCODE_BUTTON_5" value="192" />
1814        <enum name="KEYCODE_BUTTON_6" value="193" />
1815        <enum name="KEYCODE_BUTTON_7" value="194" />
1816        <enum name="KEYCODE_BUTTON_8" value="195" />
1817        <enum name="KEYCODE_BUTTON_9" value="196" />
1818        <enum name="KEYCODE_BUTTON_10" value="197" />
1819        <enum name="KEYCODE_BUTTON_11" value="198" />
1820        <enum name="KEYCODE_BUTTON_12" value="199" />
1821        <enum name="KEYCODE_BUTTON_13" value="200" />
1822        <enum name="KEYCODE_BUTTON_14" value="201" />
1823        <enum name="KEYCODE_BUTTON_15" value="202" />
1824        <enum name="KEYCODE_BUTTON_16" value="203" />
1825        <enum name="KEYCODE_LANGUAGE_SWITCH" value="204" />
1826        <enum name="KEYCODE_MANNER_MODE" value="205" />
1827        <enum name="KEYCODE_3D_MODE" value="206" />
1828        <enum name="KEYCODE_CONTACTS" value="207" />
1829        <enum name="KEYCODE_CALENDAR" value="208" />
1830        <enum name="KEYCODE_MUSIC" value="209" />
1831        <enum name="KEYCODE_CALCULATOR" value="210" />
1832        <enum name="KEYCODE_ZENKAKU_HANKAKU" value="211" />
1833        <enum name="KEYCODE_EISU" value="212" />
1834        <enum name="KEYCODE_MUHENKAN" value="213" />
1835        <enum name="KEYCODE_HENKAN" value="214" />
1836        <enum name="KEYCODE_KATAKANA_HIRAGANA" value="215" />
1837        <enum name="KEYCODE_YEN" value="216" />
1838        <enum name="KEYCODE_RO" value="217" />
1839        <enum name="KEYCODE_KANA" value="218" />
1840        <enum name="KEYCODE_ASSIST" value="219" />
1841        <enum name="KEYCODE_BRIGHTNESS_DOWN" value="220" />
1842        <enum name="KEYCODE_BRIGHTNESS_UP" value="221" />
1843        <enum name="KEYCODE_MEDIA_AUDIO_TRACK" value="222" />
1844        <enum name="KEYCODE_MEDIA_SLEEP" value="223" />
1845        <enum name="KEYCODE_MEDIA_WAKEUP" value="224" />
1846        <enum name="KEYCODE_PAIRING" value="225" />
1847        <enum name="KEYCODE_MEDIA_TOP_MENU" value="226" />
1848        <enum name="KEYCODE_11" value="227" />
1849        <enum name="KEYCODE_12" value="228" />
1850        <enum name="KEYCODE_LAST_CHANNEL" value="229" />
1851        <enum name="KEYCODE_TV_DATA_SERVICE" value="230" />
1852        <enum name="KEYCODE_VOICE_ASSIST" value="231" />
1853        <enum name="KEYCODE_TV_RADIO_SERVICE" value="232" />
1854        <enum name="KEYCODE_TV_TELETEXT" value="233" />
1855        <enum name="KEYCODE_TV_NUMBER_ENTRY" value="234" />
1856        <enum name="KEYCODE_TV_TERRESTRIAL_ANALOG" value="235" />
1857        <enum name="KEYCODE_TV_TERRESTRIAL_DIGITAL" value="236" />
1858        <enum name="KEYCODE_TV_SATELLITE" value="237" />
1859        <enum name="KEYCODE_TV_SATELLITE_BS" value="238" />
1860        <enum name="KEYCODE_TV_SATELLITE_CS" value="239" />
1861        <enum name="KEYCODE_TV_SATELLITE_SERVICE" value="240" />
1862        <enum name="KEYCODE_TV_NETWORK" value="241" />
1863        <enum name="KEYCODE_TV_ANTENNA_CABLE" value="242" />
1864        <enum name="KEYCODE_TV_INPUT_HDMI_1" value="243" />
1865        <enum name="KEYCODE_TV_INPUT_HDMI_2" value="244" />
1866        <enum name="KEYCODE_TV_INPUT_HDMI_3" value="245" />
1867        <enum name="KEYCODE_TV_INPUT_HDMI_4" value="246" />
1868        <enum name="KEYCODE_TV_INPUT_COMPOSITE_1" value="247" />
1869        <enum name="KEYCODE_TV_INPUT_COMPOSITE_2" value="248" />
1870        <enum name="KEYCODE_TV_INPUT_COMPONENT_1" value="249" />
1871        <enum name="KEYCODE_TV_INPUT_COMPONENT_2" value="250" />
1872        <enum name="KEYCODE_TV_INPUT_VGA_1" value="251" />
1873        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION" value="252" />
1874        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP" value="253" />
1875        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN" value="254" />
1876        <enum name="KEYCODE_TV_ZOOM_MODE" value="255" />
1877        <enum name="KEYCODE_TV_CONTENTS_MENU" value="256" />
1878        <enum name="KEYCODE_TV_MEDIA_CONTEXT_MENU" value="257" />
1879        <enum name="KEYCODE_TV_TIMER_PROGRAMMING" value="258" />
1880        <enum name="KEYCODE_HELP" value="259" />
1881        <enum name="KEYCODE_NAVIGATE_PREVIOUS" value="260" />
1882        <enum name="KEYCODE_NAVIGATE_NEXT" value="261" />
1883        <enum name="KEYCODE_NAVIGATE_IN" value="262" />
1884        <enum name="KEYCODE_NAVIGATE_OUT" value="263" />
1885        <enum name="KEYCODE_STEM_PRIMARY" value="264" />
1886        <enum name="KEYCODE_STEM_1" value="265" />
1887        <enum name="KEYCODE_STEM_2" value="266" />
1888        <enum name="KEYCODE_STEM_3" value="267" />
1889        <enum name="KEYCODE_DPAD_UP_LEFT" value="268" />
1890        <enum name="KEYCODE_DPAD_DOWN_LEFT" value="269" />
1891        <enum name="KEYCODE_DPAD_UP_RIGHT" value="270" />
1892        <enum name="KEYCODE_DPAD_DOWN_RIGHT" value="271" />
1893        <enum name="KEYCODE_MEDIA_SKIP_FORWARD" value="272" />
1894        <enum name="KEYCODE_MEDIA_SKIP_BACKWARD" value="273" />
1895        <enum name="KEYCODE_MEDIA_STEP_FORWARD" value="274" />
1896        <enum name="KEYCODE_MEDIA_STEP_BACKWARD" value="275" />
1897        <enum name="KEYCODE_SOFT_SLEEP" value="276" />
1898        <enum name="KEYCODE_CUT" value="277" />
1899        <enum name="KEYCODE_COPY" value="278" />
1900        <enum name="KEYCODE_PASTE" value="279" />
1901        <enum name="KEYCODE_SYSTEM_NAVIGATION_UP" value="280" />
1902        <enum name="KEYCODE_SYSTEM_NAVIGATION_DOWN" value="281" />
1903        <enum name="KEYCODE_SYSTEM_NAVIGATION_LEFT" value="282" />
1904        <enum name="KEYCODE_SYSTEM_NAVIGATION_RIGHT" value="283" />
1905        <enum name="KEYCODE_ALL_APPS" value="284" />
1906        <enum name="KEYCODE_REFRESH" value="285" />
1907    </attr>
1908
1909    <!-- ***************************************************************** -->
1910    <!-- These define collections of attributes that can are with classes. -->
1911    <!-- ***************************************************************** -->
1912
1913    <!-- ========================== -->
1914    <!-- Special attribute classes. -->
1915    <!-- ========================== -->
1916    <eat-comment />
1917
1918    <!-- The set of attributes that describe a Windows's theme. -->
1919    <declare-styleable name="Window">
1920        <attr name="windowBackground" />
1921        <attr name="windowBackgroundFallback" />
1922        <attr name="windowContentOverlay" />
1923        <attr name="windowFrame" />
1924        <attr name="windowNoTitle" />
1925        <attr name="windowFullscreen" />
1926        <attr name="windowOverscan" />
1927        <attr name="windowIsFloating" />
1928        <attr name="windowIsTranslucent" />
1929        <attr name="windowShowWallpaper" />
1930        <attr name="windowAnimationStyle" />
1931        <attr name="windowSoftInputMode" />
1932        <attr name="windowDisablePreview" />
1933        <attr name="windowNoDisplay" />
1934        <attr name="textColor" />
1935        <attr name="backgroundDimEnabled" />
1936        <attr name="backgroundDimAmount" />
1937        <attr name="windowActionBar" />
1938        <attr name="windowActionModeOverlay" />
1939        <attr name="windowActionBarOverlay" />
1940        <attr name="windowEnableSplitTouch" />
1941        <attr name="windowCloseOnTouchOutside" />
1942        <attr name="windowTranslucentStatus" />
1943        <attr name="windowTranslucentNavigation" />
1944        <attr name="windowSwipeToDismiss" />
1945        <attr name="windowContentTransitions" />
1946        <attr name="windowActivityTransitions" />
1947        <attr name="windowContentTransitionManager" />
1948        <attr name="windowActionBarFullscreenDecorLayout" />
1949
1950        <!-- The minimum width the window is allowed to be, along the major
1951             axis of the screen.  That is, when in landscape.  Can be either
1952             an absolute dimension or a fraction of the screen size in that
1953             dimension. -->
1954        <attr name="windowMinWidthMajor" format="dimension|fraction" />
1955        <!-- The minimum width the window is allowed to be, along the minor
1956             axis of the screen.  That is, when in portrait.  Can be either
1957             an absolute dimension or a fraction of the screen size in that
1958             dimension. -->
1959        <attr name="windowMinWidthMinor" format="dimension|fraction" />
1960
1961        <!-- A fixed width for the window along the major axis of the screen,
1962             that is, when in landscape. Can be either an absolute dimension
1963             or a fraction of the screen size in that dimension. -->
1964        <attr name="windowFixedWidthMajor" format="dimension|fraction" />
1965        <!-- A fixed height for the window along the minor axis of the screen,
1966             that is, when in landscape. Can be either an absolute dimension
1967             or a fraction of the screen size in that dimension. -->
1968        <attr name="windowFixedHeightMinor" format="dimension|fraction" />
1969
1970        <!-- A fixed width for the window along the minor axis of the screen,
1971             that is, when in portrait. Can be either an absolute dimension
1972             or a fraction of the screen size in that dimension. -->
1973        <attr name="windowFixedWidthMinor" format="dimension|fraction" />
1974        <!-- A fixed height for the window along the major axis of the screen,
1975             that is, when in portrait. Can be either an absolute dimension
1976             or a fraction of the screen size in that dimension. -->
1977        <attr name="windowFixedHeightMajor" format="dimension|fraction" />
1978        <attr name="windowOutsetBottom" format="dimension" />
1979        <!-- Reference to a Transition XML resource defining the desired Transition
1980             used to move Views into the initial Window's content Scene. Corresponds to
1981             {@link android.view.Window#setEnterTransition(android.transition.Transition)}. -->
1982        <attr name="windowEnterTransition"/>
1983
1984        <!-- Reference to a Transition XML resource defining the desired Transition
1985             used to move Views out of the scene when the Window is
1986             preparing to close. Corresponds to
1987             {@link android.view.Window#setReturnTransition(android.transition.Transition)}. -->
1988        <attr name="windowReturnTransition"/>
1989
1990        <!-- Reference to a Transition XML resource defining the desired Transition
1991             used to move Views out of the Window's content Scene when launching a new Activity.
1992             Corresponds to
1993             {@link android.view.Window#setExitTransition(android.transition.Transition)}. -->
1994        <attr name="windowExitTransition"/>
1995
1996        <!-- Reference to a Transition XML resource defining the desired Transition
1997             used to move Views in to the scene when returning from a previously-started Activity.
1998             Corresponds to
1999             {@link android.view.Window#setReenterTransition(android.transition.Transition)}. -->
2000        <attr name="windowReenterTransition"/>
2001
2002        <!-- Reference to a Transition XML resource defining the desired Transition
2003             used to move shared elements transferred into the Window's initial content Scene.
2004             Corresponds to {@link android.view.Window#setSharedElementEnterTransition(
2005             android.transition.Transition)}. -->
2006        <attr name="windowSharedElementEnterTransition"/>
2007
2008        <!-- Reference to a Transition XML resource defining the desired Transition
2009             used to move shared elements transferred back to a calling Activity.
2010             Corresponds to {@link android.view.Window#setSharedElementReturnTransition(
2011             android.transition.Transition)}. -->
2012        <attr name="windowSharedElementReturnTransition"/>
2013
2014        <!-- Reference to a Transition XML resource defining the desired Transition
2015             used when starting a new Activity to move shared elements prior to transferring
2016             to the called Activity.
2017             Corresponds to {@link android.view.Window#setSharedElementExitTransition(
2018             android.transition.Transition)}. -->
2019        <attr name="windowSharedElementExitTransition"/>
2020
2021        <!-- Reference to a Transition XML resource defining the desired Transition
2022             used for shared elements transferred back to a calling Activity.
2023             Corresponds to {@link android.view.Window#setSharedElementReenterTransition(
2024             android.transition.Transition)}. -->
2025        <attr name="windowSharedElementReenterTransition"/>
2026
2027
2028        <!-- Flag indicating whether this Window's transition should overlap with
2029             the exiting transition of the calling Activity. Corresponds to
2030             {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. -->
2031        <attr name="windowAllowEnterTransitionOverlap"/>
2032
2033        <!-- Flag indicating whether this Window's transition should overlap with
2034             the exiting transition of the called Activity when the called Activity
2035             finishes. Corresponds to
2036             {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. -->
2037        <attr name="windowAllowReturnTransitionOverlap"/>
2038
2039        <!-- Indicates whether or not shared elements should use an overlay
2040             during transitions. The default value is true. -->
2041        <attr name="windowSharedElementsUseOverlay"/>
2042
2043        <!-- Flag indicating whether this Window is responsible for drawing the background for the
2044             system bars. If true and the window is not floating, the system bars are drawn with a
2045             transparent background and the corresponding areas in this window are filled with the
2046             colors specified in {@link android.R.attr#statusBarColor} and
2047             {@link android.R.attr#navigationBarColor}. Corresponds to
2048             {@link android.view.WindowManager.LayoutParams#FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS}. -->
2049        <attr name="windowDrawsSystemBarBackgrounds" format="boolean" />
2050
2051        <!-- The color for the status bar. If the color is not opaque, consider setting
2052             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and
2053             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN}.
2054             For this to take effect, the window must be drawing the system bar backgrounds with
2055             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not
2056             have been requested to be translucent with
2057             {@link android.R.attr#windowTranslucentStatus}.
2058             Corresponds to {@link android.view.Window#setStatusBarColor(int)}. -->
2059        <attr name="statusBarColor" format="color" />
2060
2061        <!-- The color for the navigation bar. If the color is not opaque, consider setting
2062             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and
2063             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION}.
2064             For this to take effect, the window must be drawing the system bar backgrounds with
2065             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not
2066             have been requested to be translucent with
2067             {@link android.R.attr#windowTranslucentNavigation}.
2068             Corresponds to {@link android.view.Window#setNavigationBarColor(int)}. -->
2069        <attr name="navigationBarColor" format="color" />
2070
2071        <!-- Shows a thin line of the specified color between the navigation bar and the app
2072             content.
2073             <p>For this to take effect, the window must be drawing the system bar backgrounds with
2074             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not
2075             have been requested to be translucent with
2076             {@link android.R.attr#windowTranslucentNavigation}.
2077             Corresponds to {@link android.view.Window#setNavigationBarDividerColor(int)}. -->
2078        <attr name="navigationBarDividerColor" format="color" />
2079
2080        <!-- The duration, in milliseconds, of the window background fade duration
2081             when transitioning into or away from an Activity when called with an
2082             Activity Transition. Corresponds to
2083             {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. -->
2084        <attr name="windowTransitionBackgroundFadeDuration" />
2085
2086        <!-- Elevation to use for the window. -->
2087        <attr name="windowElevation" format="dimension" />
2088
2089        <!-- Whether to clip window content to the outline of the window background. -->
2090        <attr name="windowClipToOutline" format="boolean" />
2091
2092        <!-- If set, the status bar will be drawn such that it is compatible with a light
2093             status bar background.
2094             <p>For this to take effect, the window must be drawing the system bar backgrounds with
2095             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not
2096             have been requested to be translucent with
2097             {@link android.R.attr#windowTranslucentStatus}.
2098             Corresponds to setting {@link android.view.View#SYSTEM_UI_FLAG_LIGHT_STATUS_BAR} on
2099             the decor view. -->
2100        <attr name="windowLightStatusBar" format="boolean" />
2101
2102        <!-- Reference to a drawable to be used as the splash screen content of the window. This
2103             drawable will be placed on top of the {@link android.R.attr#windowBackground} with its
2104             bounds inset by the system bars. If the drawable should not be inset by the system
2105             bars, use a fullscreen theme.
2106             <p>
2107             Note that even if no splashscreen content is set on the theme, the system may still
2108             show a splash screen using the other attributes on the theme, like the
2109             {@link android.R.attr#windowBackground}.
2110             -->
2111        <attr name="windowSplashscreenContent" format="reference" />
2112
2113        <!-- If set, the navigation bar will be drawn such that it is compatible with a light
2114             navigation bar background.
2115             <p>For this to take effect, the window must be drawing the system bar backgrounds with
2116             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not
2117             have been requested to be translucent with
2118             {@link android.R.attr#windowTranslucentNavigation}.
2119             Corresponds to setting {@link android.view.View#SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR} on
2120             the decor view. -->
2121        <attr name="windowLightNavigationBar" format="boolean" />
2122
2123        <!-- Controls how the window is laid out if there is a {@code DisplayCutout}.
2124        <p>
2125        Defaults to {@code default}.
2126
2127        @see android.view.WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_DEFAULT
2128        @see android.view.WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS
2129        @see android.view.WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER
2130        @see android.view.DisplayCutout
2131        @see android.R.attr#layoutInDisplayCutoutMode -->
2132        <attr name="windowLayoutInDisplayCutoutMode">
2133            <!-- The window is allowed to extend into the {@code DisplayCutout} area, only if the
2134            {@code DisplayCutout} is fully contained within the status bar. Otherwise, the window is
2135            laid out such that it does not overlap with the {@code DisplayCutout} area.
2136
2137            @see android.view.DisplayCutout
2138            @see android.view.WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_DEFAULT
2139            -->
2140            <enum name="default" value="0" />
2141            <!-- The window is always allowed to extend into the {@code DisplayCutout} area,
2142            even if fullscreen or in landscape.
2143            <p>
2144            The window must make sure that no important content overlaps with the
2145            {@link DisplayCutout}.
2146
2147            @see android.view.DisplayCutout
2148            @see android.view.WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS
2149            -->
2150            <enum name="always" value="1" />
2151            <!-- The window is never allowed to overlap with the DisplayCutout area.
2152            <p>
2153            This should be used with windows that transiently set {@code SYSTEM_UI_FLAG_FULLSCREEN}
2154            to avoid a relayout of the window when the flag is set or cleared.
2155
2156            @see android.view.DisplayCutout
2157            @see android.view.WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER
2158            -->
2159            <enum name="never" value="2" />
2160        </attr>
2161    </declare-styleable>
2162
2163    <!-- The set of attributes that describe a AlertDialog's theme. -->
2164    <declare-styleable name="AlertDialog">
2165        <attr name="fullDark" format="reference|color" />
2166        <attr name="topDark" format="reference|color" />
2167        <attr name="centerDark" format="reference|color" />
2168        <attr name="bottomDark" format="reference|color" />
2169        <attr name="fullBright" format="reference|color" />
2170        <attr name="topBright" format="reference|color" />
2171        <attr name="centerBright" format="reference|color" />
2172        <attr name="bottomBright" format="reference|color" />
2173        <attr name="bottomMedium" format="reference|color" />
2174        <attr name="centerMedium" format="reference|color" />
2175        <attr name="layout" />
2176        <attr name="buttonPanelSideLayout" format="reference" />
2177        <attr name="listLayout" format="reference" />
2178        <attr name="multiChoiceItemLayout" format="reference" />
2179        <attr name="singleChoiceItemLayout" format="reference" />
2180        <attr name="listItemLayout" format="reference" />
2181        <attr name="progressLayout" format="reference" />
2182        <attr name="horizontalProgressLayout" format="reference" />
2183        <!-- @hide Not ready for public use. -->
2184        <attr name="showTitle" format="boolean" />
2185        <!-- @hide Whether fullDark, etc. should use default values if null. -->
2186        <attr name="needsDefaultBackgrounds" format="boolean" />
2187        <!-- @hide Workaround until we replace AlertController with custom layout. -->
2188        <attr name="controllerType">
2189            <!-- The default controller. -->
2190            <enum name="normal" value="0" />
2191            <!-- Controller for micro specific layout. -->
2192            <enum name="micro" value="1" />
2193        </attr>
2194        <!-- @hide Offset when scrolling to a selection. -->
2195        <attr name="selectionScrollOffset" format="dimension" />
2196    </declare-styleable>
2197
2198    <!-- @hide -->
2199    <declare-styleable name="ButtonBarLayout">
2200        <!-- Whether to automatically stack the buttons when there is not
2201             enough space to lay them out side-by-side. -->
2202        <attr name="allowStacking" format="boolean" />
2203    </declare-styleable>
2204
2205    <!-- Fragment animation class attributes. -->
2206    <declare-styleable name="FragmentAnimation">
2207        <attr name="fragmentOpenEnterAnimation" format="reference" />
2208        <attr name="fragmentOpenExitAnimation" format="reference" />
2209        <attr name="fragmentCloseEnterAnimation" format="reference" />
2210        <attr name="fragmentCloseExitAnimation" format="reference" />
2211        <attr name="fragmentFadeEnterAnimation" format="reference" />
2212        <attr name="fragmentFadeExitAnimation" format="reference" />
2213    </declare-styleable>
2214
2215    <!-- Window animation class attributes. -->
2216    <declare-styleable name="WindowAnimation">
2217        <!-- The animation used when a window is being added. -->
2218        <attr name="windowEnterAnimation" format="reference" />
2219        <!-- The animation used when a window is being removed. -->
2220        <attr name="windowExitAnimation" format="reference" />
2221        <!-- The animation used when a window is going from INVISIBLE to VISIBLE. -->
2222        <attr name="windowShowAnimation" format="reference" />
2223        <!-- The animation used when a window is going from VISIBLE to INVISIBLE. -->
2224        <attr name="windowHideAnimation" format="reference" />
2225
2226        <!--  When opening a new activity, this is the animation that is
2227              run on the next activity (which is entering the screen). -->
2228        <attr name="activityOpenEnterAnimation" format="reference" />
2229        <!--  When opening a new activity, this is the animation that is
2230              run on the previous activity (which is exiting the screen). -->
2231        <attr name="activityOpenExitAnimation" format="reference" />
2232        <!--  When closing the current activity, this is the animation that is
2233              run on the next activity (which is entering the screen). -->
2234        <attr name="activityCloseEnterAnimation" format="reference" />
2235        <!--  When closing the current activity, this is the animation that is
2236              run on the current activity (which is exiting the screen). -->
2237        <attr name="activityCloseExitAnimation" format="reference" />
2238        <!--  When opening an activity in a new task, this is the animation that is
2239              run on the activity of the new task (which is entering the screen). -->
2240        <attr name="taskOpenEnterAnimation" format="reference" />
2241        <!--  When opening an activity in a new task, this is the animation that is
2242              run on the activity of the old task (which is exiting the screen). -->
2243        <attr name="taskOpenExitAnimation" format="reference" />
2244        <!--  When opening an activity in a new task using Intent/FLAG_ACTIVITY_LAUNCH_BEHIND,
2245              this is the animation that is run on the activity of the new task (which is
2246              entering the screen and then leaving). -->
2247        <attr name="launchTaskBehindTargetAnimation" format="reference" />
2248        <!--  When opening an activity in a new task using Intent.FLAG_ACTIVITY_LAUNCH_BEHIND,
2249              this is the animation that is run on the activity of the old task (which is
2250              already on the screen and then stays on). -->
2251        <attr name="launchTaskBehindSourceAnimation" format="reference" />
2252        <!--  When closing the last activity of a task, this is the animation that is
2253              run on the activity of the next task (which is entering the screen). -->
2254        <attr name="taskCloseEnterAnimation" format="reference" />
2255        <!--  When opening an activity in a new task, this is the animation that is
2256              run on the activity of the old task (which is exiting the screen). -->
2257        <attr name="taskCloseExitAnimation" format="reference" />
2258        <!--  When bringing an existing task to the foreground, this is the
2259              animation that is run on the top activity of the task being brought
2260              to the foreground (which is entering the screen). -->
2261        <attr name="taskToFrontEnterAnimation" format="reference" />
2262        <!--  When bringing an existing task to the foreground, this is the
2263              animation that is run on the current foreground activity
2264              (which is exiting the screen). -->
2265        <attr name="taskToFrontExitAnimation" format="reference" />
2266        <!--  When sending the current task to the background, this is the
2267              animation that is run on the top activity of the task behind
2268              it (which is entering the screen). -->
2269        <attr name="taskToBackEnterAnimation" format="reference" />
2270        <!--  When sending the current task to the background, this is the
2271              animation that is run on the top activity of the current task
2272              (which is exiting the screen). -->
2273        <attr name="taskToBackExitAnimation" format="reference" />
2274
2275        <!--  When opening a new activity that shows the wallpaper, while
2276              currently not showing the wallpaper, this is the animation that
2277              is run on the new wallpaper activity (which is entering the screen). -->
2278        <attr name="wallpaperOpenEnterAnimation" format="reference" />
2279        <!--  When opening a new activity that shows the wallpaper, while
2280              currently not showing the wallpaper, this is the animation that
2281              is run on the current activity (which is exiting the screen). -->
2282        <attr name="wallpaperOpenExitAnimation" format="reference" />
2283        <!--  When opening a new activity that hides the wallpaper, while
2284              currently showing the wallpaper, this is the animation that
2285              is run on the new activity (which is entering the screen). -->
2286        <attr name="wallpaperCloseEnterAnimation" format="reference" />
2287        <!--  When opening a new activity that hides the wallpaper, while
2288              currently showing the wallpaper, this is the animation that
2289              is run on the old wallpaper activity (which is exiting the screen). -->
2290        <attr name="wallpaperCloseExitAnimation" format="reference" />
2291
2292        <!--  When opening a new activity that is on top of the wallpaper
2293              when the current activity is also on top of the wallpaper,
2294              this is the animation that is run on the new activity
2295              (which is entering the screen).  The wallpaper remains
2296              static behind the animation. -->
2297        <attr name="wallpaperIntraOpenEnterAnimation" format="reference" />
2298        <!--  When opening a new activity that is on top of the wallpaper
2299              when the current activity is also on top of the wallpaper,
2300              this is the animation that is run on the current activity
2301              (which is exiting the screen).  The wallpaper remains
2302              static behind the animation. -->
2303        <attr name="wallpaperIntraOpenExitAnimation" format="reference" />
2304        <!--  When closing a foreround activity that is on top of the wallpaper
2305              when the previous activity is also on top of the wallpaper,
2306              this is the animation that is run on the previous activity
2307              (which is entering the screen).  The wallpaper remains
2308              static behind the animation. -->
2309        <attr name="wallpaperIntraCloseEnterAnimation" format="reference" />
2310        <!--  When closing a foreround activity that is on top of the wallpaper
2311              when the previous activity is also on top of the wallpaper,
2312              this is the animation that is run on the current activity
2313              (which is exiting the screen).  The wallpaper remains
2314              static behind the animation. -->
2315        <attr name="wallpaperIntraCloseExitAnimation" format="reference" />
2316
2317        <!--  When opening a new activity from a RemoteViews, this is the
2318              animation that is run on the next activity (which is entering the
2319              screen). Requires config_overrideRemoteViewsActivityTransition to
2320              be true. -->
2321        <attr name="activityOpenRemoteViewsEnterAnimation" format="reference" />
2322
2323    </declare-styleable>
2324
2325    <!-- ============================= -->
2326    <!-- View package class attributes -->
2327    <!-- ============================= -->
2328    <eat-comment />
2329
2330    <!-- Attributes that can be used with {@link android.view.View} or
2331         any of its subclasses.  Also see {@link #ViewGroup_Layout} for
2332         attributes that are processed by the view's parent. -->
2333    <declare-styleable name="View">
2334        <!-- Supply an identifier name for this view, to later retrieve it
2335             with {@link android.view.View#findViewById View.findViewById()} or
2336             {@link android.app.Activity#findViewById Activity.findViewById()}.
2337             This must be a
2338             resource reference; typically you set this using the
2339             <code>@+</code> syntax to create a new ID resources.
2340             For example: <code>android:id="@+id/my_id"</code> which
2341             allows you to later retrieve the view
2342             with <code>findViewById(R.id.my_id)</code>. -->
2343        <attr name="id" format="reference" />
2344
2345        <!-- Supply a tag for this view containing a String, to be retrieved
2346             later with {@link android.view.View#getTag View.getTag()} or
2347             searched for with {@link android.view.View#findViewWithTag
2348             View.findViewWithTag()}.  It is generally preferable to use
2349             IDs (through the android:id attribute) instead of tags because
2350             they are faster and allow for compile-time type checking. -->
2351        <attr name="tag" format="string" />
2352
2353        <!-- The initial horizontal scroll offset, in pixels.-->
2354        <attr name="scrollX" format="dimension" />
2355
2356        <!-- The initial vertical scroll offset, in pixels. -->
2357        <attr name="scrollY" format="dimension" />
2358
2359        <!-- A drawable to use as the background.  This can be either a reference
2360             to a full drawable resource (such as a PNG image, 9-patch,
2361             XML state list description, etc), or a solid color such as "#ff000000"
2362            (black). -->
2363        <attr name="background" format="reference|color" />
2364
2365        <!-- Sets the padding, in pixels, of all four edges. Padding is defined as
2366             space between the edges of the view and the view's content. This value will take
2367             precedence over any of the edge-specific values (paddingLeft, paddingTop,
2368             paddingRight, paddingBottom, paddingHorizontal and paddingVertical), but will
2369             not override paddingStart or paddingEnd, if set. A view's size
2370             will include its padding. If a {@link android.R.attr#background}
2371             is provided, the padding will initially be set to that (0 if the
2372             drawable does not have padding). Explicitly setting a padding value
2373             will override the corresponding padding found in the background. -->
2374        <attr name="padding" format="dimension" />
2375        <!-- Sets the padding, in pixels, of the left and right edges; see
2376             {@link android.R.attr#padding}. This value will take precedence over
2377             paddingLeft and paddingRight, but not paddingStart or paddingEnd (if set). -->
2378        <attr name="paddingHorizontal" format="dimension" />
2379        <!-- Sets the padding, in pixels, of the top and bottom edges; see
2380             {@link android.R.attr#padding}. This value will take precedence over
2381             paddingTop and paddingBottom, if set. -->
2382        <attr name="paddingVertical" format="dimension" />
2383        <!-- Sets the padding, in pixels, of the left edge; see {@link android.R.attr#padding}. -->
2384        <attr name="paddingLeft" format="dimension" />
2385        <!-- Sets the padding, in pixels, of the top edge; see {@link android.R.attr#padding}. -->
2386        <attr name="paddingTop" format="dimension" />
2387        <!-- Sets the padding, in pixels, of the right edge; see {@link android.R.attr#padding}. -->
2388        <attr name="paddingRight" format="dimension" />
2389        <!-- Sets the padding, in pixels, of the bottom edge; see {@link android.R.attr#padding}. -->
2390        <attr name="paddingBottom" format="dimension" />
2391        <!-- Sets the padding, in pixels, of the start edge; see {@link android.R.attr#padding}. -->
2392        <attr name="paddingStart" format="dimension" />
2393        <!-- Sets the padding, in pixels, of the end edge; see {@link android.R.attr#padding}. -->
2394        <attr name="paddingEnd" format="dimension" />
2395
2396        <!-- Controls whether a view can take focus.  By default, this is "auto" which lets the
2397             framework determine whether a user can move focus to a view.  By setting this attribute
2398             to true the view is allowed to take focus. By setting it to "false" the view will not
2399             take focus. This value does not impact the behavior of
2400             directly calling {@link android.view.View#requestFocus}, which will
2401             always request focus regardless of this view.  It only impacts where
2402             focus navigation will try to move focus. -->
2403        <attr name="focusable" format="boolean|enum">
2404            <enum name="auto" value="0x00000010" />
2405        </attr>
2406
2407        <attr name="__removed3" />
2408
2409        <!-- Describes the content of a view so that a autofill service can fill in the appropriate
2410             data. Multiple hints can be combined in a comma separated list or an array of strings
2411             to mean e.g. emailAddress or postalAddress. -->
2412        <attr name="autofillHints" format="string|reference" />
2413
2414        <!-- Hints the Android System whether the view node associated with this View should be
2415             included in a view structure used for autofill purposes. -->
2416        <attr name="importantForAutofill">
2417            <!-- Let the Android System use its heuristics to determine if the view is important for autofill. -->
2418            <flag name="auto" value="0" />
2419            <!-- Hint the Android System that this view is important for autofill,
2420                  and its children (if any) will be traversed.. -->
2421            <flag name="yes" value="0x1" />
2422            <!-- Hint the Android System that this view is *not* important for autofill,
2423                  but its children (if any) will be traversed.. -->
2424            <flag name="no" value="0x2" />
2425            <!-- Hint the Android System that this view is important for autofill,
2426                 but its children (if any) will not be traversed. -->
2427            <flag name="yesExcludeDescendants" value="0x4" />
2428            <!-- Hint the Android System that this view is *not* important for autofill,
2429                 and its children (if any) will not be traversed. -->
2430            <flag name="noExcludeDescendants" value="0x8" />
2431        </attr>
2432
2433        <!-- Boolean that controls whether a view can take focus while in touch mode.
2434             If this is true for a view, that view can gain focus when clicked on, and can keep
2435             focus if another view is clicked on that doesn't have this attribute set to true. -->
2436        <attr name="focusableInTouchMode" format="boolean" />
2437
2438        <!-- Controls the initial visibility of the view.  -->
2439        <attr name="visibility">
2440            <!-- Visible on screen; the default value. -->
2441            <enum name="visible" value="0" />
2442            <!-- Not displayed, but taken into account during layout (space is left for it). -->
2443            <enum name="invisible" value="1" />
2444            <!-- Completely hidden, as if the view had not been added. -->
2445            <enum name="gone" value="2" />
2446        </attr>
2447
2448        <!-- Boolean internal attribute to adjust view layout based on
2449             system windows such as the status bar.
2450             If true, adjusts the padding of this view to leave space for the system windows.
2451             Will only take effect if this view is in a non-embedded activity. -->
2452        <attr name="fitsSystemWindows" format="boolean" />
2453
2454        <!-- Defines which scrollbars should be displayed on scrolling or not. -->
2455        <attr name="scrollbars">
2456            <!-- No scrollbar is displayed. -->
2457            <flag name="none" value="0x00000000" />
2458            <!-- Displays horizontal scrollbar only. -->
2459            <flag name="horizontal" value="0x00000100" />
2460            <!-- Displays vertical scrollbar only. -->
2461            <flag name="vertical" value="0x00000200" />
2462        </attr>
2463
2464        <!-- Controls the scrollbar style and position. The scrollbars can be overlaid or
2465             inset. When inset, they add to the padding of the view. And the
2466             scrollbars can be drawn inside the padding area or on the edge of
2467             the view. For example, if a view has a background drawable and you
2468             want to draw the scrollbars inside the padding specified by the
2469             drawable, you can use insideOverlay or insideInset. If you want them
2470             to appear at the edge of the view, ignoring the padding, then you can
2471             use outsideOverlay or outsideInset.-->
2472        <attr name="scrollbarStyle">
2473            <!-- Inside the padding and overlaid. -->
2474            <enum name="insideOverlay" value="0x0" />
2475            <!-- Inside the padding and inset. -->
2476            <enum name="insideInset" value="0x01000000" />
2477            <!-- Edge of the view and overlaid. -->
2478            <enum name="outsideOverlay" value="0x02000000" />
2479            <!-- Edge of the view and inset. -->
2480            <enum name="outsideInset" value="0x03000000" />
2481        </attr>
2482
2483        <!-- Set this if the view will serve as a scrolling container, meaning
2484             that it can be resized to shrink its overall window so that there
2485             will be space for an input method.  If not set, the default
2486             value will be true if "scrollbars" has the vertical scrollbar
2487             set, else it will be false. -->
2488        <attr name="isScrollContainer" format="boolean" />
2489
2490          <!-- Defines whether to fade out scrollbars when they are not in use. -->
2491         <attr name="fadeScrollbars" format="boolean" />
2492         <!-- Defines the delay in milliseconds that a scrollbar takes to fade out. -->
2493         <attr name="scrollbarFadeDuration" format="integer" />
2494         <!-- Defines the delay in milliseconds that a scrollbar waits before fade out. -->
2495        <attr name="scrollbarDefaultDelayBeforeFade" format="integer" />
2496        <!-- Sets the width of vertical scrollbars and height of horizontal scrollbars. -->
2497        <attr name="scrollbarSize" format="dimension" />
2498        <!-- Defines the horizontal scrollbar thumb drawable. -->
2499        <attr name="scrollbarThumbHorizontal" format="reference" />
2500        <!-- Defines the vertical scrollbar thumb drawable. -->
2501        <attr name="scrollbarThumbVertical" format="reference" />
2502        <!-- Defines the horizontal scrollbar track drawable. -->
2503        <attr name="scrollbarTrackHorizontal" format="reference" />
2504        <!-- Defines the vertical scrollbar track drawable. -->
2505        <attr name="scrollbarTrackVertical" format="reference" />
2506        <!-- Defines whether the horizontal scrollbar track should always be drawn. -->
2507        <attr name="scrollbarAlwaysDrawHorizontalTrack" format="boolean" />
2508        <!-- Defines whether the vertical scrollbar track should always be drawn. -->
2509        <attr name="scrollbarAlwaysDrawVerticalTrack" format="boolean" />
2510
2511        <!-- This attribute is ignored in API level 14
2512             ({@link android.os.Build.VERSION_CODES#ICE_CREAM_SANDWICH}) and higher.
2513             Using fading edges may introduce noticeable performance
2514             degradations and should be used only when required by the application's
2515             visual design. To request fading edges with API level 14 and above,
2516             use the <code>android:requiresFadingEdge</code> attribute instead. -->
2517        <attr name="fadingEdge">
2518            <!-- No edge is faded. -->
2519            <flag name="none" value="0x00000000" />
2520            <!-- Fades horizontal edges only. -->
2521            <flag name="horizontal" value="0x00001000" />
2522            <!-- Fades vertical edges only. -->
2523            <flag name="vertical" value="0x00002000" />
2524        </attr>
2525        <!-- Defines which edges should be faded on scrolling. -->
2526        <attr name="requiresFadingEdge">
2527            <!-- No edge is faded. -->
2528            <flag name="none" value="0x00000000" />
2529            <!-- Fades horizontal edges only. -->
2530            <flag name="horizontal" value="0x00001000" />
2531            <!-- Fades vertical edges only. -->
2532            <flag name="vertical" value="0x00002000" />
2533        </attr>
2534        <!-- Defines the length of the fading edges. -->
2535        <attr name="fadingEdgeLength" format="dimension" />
2536
2537        <!-- Defines the next view to give focus to when the next focus is
2538             {@link android.view.View#FOCUS_LEFT}.
2539
2540             If the reference refers to a view that does not exist or is part
2541             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2542             will result when the reference is accessed.-->
2543        <attr name="nextFocusLeft" format="reference"/>
2544
2545        <!-- Defines the next view to give focus to when the next focus is
2546             {@link android.view.View#FOCUS_RIGHT}
2547
2548             If the reference refers to a view that does not exist or is part
2549             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2550             will result when the reference is accessed.-->
2551        <attr name="nextFocusRight" format="reference"/>
2552
2553        <!-- Defines the next view to give focus to when the next focus is
2554             {@link android.view.View#FOCUS_UP}
2555
2556             If the reference refers to a view that does not exist or is part
2557             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2558             will result when the reference is accessed.-->
2559        <attr name="nextFocusUp" format="reference"/>
2560
2561        <!-- Defines the next view to give focus to when the next focus is
2562             {@link android.view.View#FOCUS_DOWN}
2563
2564             If the reference refers to a view that does not exist or is part
2565             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2566             will result when the reference is accessed.-->
2567        <attr name="nextFocusDown" format="reference"/>
2568
2569        <!-- Defines the next view to give focus to when the next focus is
2570             {@link android.view.View#FOCUS_FORWARD}
2571
2572             If the reference refers to a view that does not exist or is part
2573             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2574             will result when the reference is accessed.-->
2575        <attr name="nextFocusForward" format="reference"/>
2576
2577        <!-- Defines whether this view reacts to click events. -->
2578        <attr name="clickable" format="boolean" />
2579
2580        <!-- Defines whether this view reacts to long click events. -->
2581        <attr name="longClickable" format="boolean" />
2582
2583        <!--  Defines whether this view reacts to context click events. -->
2584        <attr name="contextClickable" format="boolean" />
2585
2586        <!-- If false, no state will be saved for this view when it is being
2587             frozen. The default is true, allowing the view to be saved
2588             (however it also must have an ID assigned to it for its
2589             state to be saved).  Setting this to false only disables the
2590             state for this view, not for its children which may still
2591             be saved. -->
2592        <attr name="saveEnabled" format="boolean" />
2593
2594        <!-- Specifies whether to filter touches when the view's window is obscured by
2595             another visible window.  When set to true, the view will not receive touches
2596             whenever a toast, dialog or other window appears above the view's window.
2597             Refer to the {@link android.view.View} security documentation for more details. -->
2598        <attr name="filterTouchesWhenObscured" format="boolean" />
2599
2600        <!-- Defines the quality of translucent drawing caches. This property is used
2601             only when the drawing cache is enabled and translucent. The default value is auto.
2602             Deprecated: The view drawing cache was largely made obsolete with the introduction of
2603             hardware-accelerated rendering in API 11. -->
2604        <attr name="drawingCacheQuality">
2605            <!-- Lets the framework decide what quality level should be used
2606                 for the drawing cache.
2607                 Deprecated: The view drawing cache was largely made obsolete with the introduction
2608                 of hardware-accelerated rendering in API 11. -->
2609            <enum name="auto" value="0" />
2610            <!-- Low quality. When set to low quality, the drawing cache uses a lower color
2611                 depth, thus losing precision in rendering gradients, but uses less memory.
2612                 Deprecated: The view drawing cache was largely made obsolete with the introduction
2613                 of hardware-accelerated rendering in API 11. -->
2614            <enum name="low" value="1" />
2615            <!-- High quality. When set to high quality, the drawing cache uses a higher
2616                 color depth but uses more memory.
2617                 Deprecated: The view drawing cache was largely made obsolete with the introduction
2618                 of hardware-accelerated rendering in API 11. -->
2619            <enum name="high" value="2" />
2620        </attr>
2621
2622        <!-- Controls whether the view's window should keep the screen on
2623             while visible. -->
2624        <attr name="keepScreenOn" format="boolean" />
2625
2626        <!-- When this attribute is set to true, the view gets its drawable state
2627             (focused, pressed, etc.) from its direct parent rather than from itself. -->
2628        <attr name="duplicateParentState" format="boolean" />
2629
2630        <!-- Defines the minimum height of the view. It is not guaranteed
2631             the view will be able to achieve this minimum height (for example,
2632             if its parent layout constrains it with less available height). -->
2633        <attr name="minHeight" />
2634
2635        <!-- Defines the minimum width of the view. It is not guaranteed
2636             the view will be able to achieve this minimum width (for example,
2637             if its parent layout constrains it with less available width). -->
2638        <attr name="minWidth" />
2639
2640        <!-- Boolean that controls whether a view should have sound effects
2641             enabled for events such as clicking and touching. -->
2642        <attr name="soundEffectsEnabled" format="boolean" />
2643
2644        <!-- Boolean that controls whether a view should have haptic feedback
2645             enabled for events such as long presses. -->
2646        <attr name="hapticFeedbackEnabled" format="boolean" />
2647
2648        <!-- Defines text that briefly describes content of the view. This property is used
2649             primarily for accessibility. Since some views do not have textual
2650             representation this attribute can be used for providing such. -->
2651        <attr name="contentDescription" format="string" localization="suggested" />
2652
2653        <!-- Sets the id of a view before which this one is visited in accessibility traversal.
2654             A screen-reader must visit the content of this view before the content of the one
2655             it precedes.
2656             {@see android.view.View#setAccessibilityTraversalBefore(int)} -->
2657        <attr name="accessibilityTraversalBefore" format="integer" />
2658
2659        <!-- Sets the id of a view after which this one is visited in accessibility traversal.
2660             A screen-reader must visit the content of the other view before the content of
2661             this one.
2662             {@see android.view.View#setAccessibilityTraversalAfter(int)} -->
2663        <attr name="accessibilityTraversalAfter" format="integer" />
2664
2665        <!-- Name of the method in this View's context to invoke when the view is
2666             clicked. This name must correspond to a public method that takes
2667             exactly one parameter of type View. For instance, if you specify
2668             <code>android:onClick="sayHello"</code>, you must declare a
2669             <code>public void sayHello(View v)</code> method of your context
2670             (typically, your Activity). -->
2671        <attr name="onClick" format="string" />
2672
2673        <!-- Defines over-scrolling behavior. This property is used only if the
2674             View is scrollable. Over-scrolling is the ability for the user to
2675             receive feedback when attempting to scroll beyond meaningful content. -->
2676        <attr name="overScrollMode">
2677            <!-- Always show over-scroll effects, even if the content fits entirely
2678                 within the available space. -->
2679            <enum name="always" value="0" />
2680            <!-- Only show over-scroll effects if the content is large
2681                 enough to meaningfully scroll. -->
2682            <enum name="ifContentScrolls" value="1" />
2683            <!-- Never show over-scroll effects. -->
2684            <enum name="never" value="2" />
2685        </attr>
2686
2687        <!-- alpha property of the view, as a value between 0 (completely transparent) and 1
2688             (completely opaque). -->
2689        <attr name="alpha" format="float" />
2690
2691        <!-- base z depth of the view. -->
2692        <attr name="elevation" format="dimension" />
2693
2694        <!-- translation in x of the view. This value is added post-layout to the left
2695             property of the view, which is set by its layout. -->
2696        <attr name="translationX" format="dimension" />
2697
2698        <!-- translation in y of the view. This value is added post-layout to the top
2699             property of the view, which is set by its layout. -->
2700        <attr name="translationY" format="dimension" />
2701
2702        <!-- translation in z of the view. This value is added to its elevation. -->
2703        <attr name="translationZ" format="dimension" />
2704
2705        <!-- x location of the pivot point around which the view will rotate and scale.
2706             This xml attribute sets the pivotX property of the View. -->
2707        <attr name="transformPivotX" format="dimension" />
2708
2709        <!-- y location of the pivot point around which the view will rotate and scale.
2710             This xml attribute sets the pivotY property of the View. -->
2711        <attr name="transformPivotY" format="dimension" />
2712
2713        <!-- rotation of the view, in degrees. -->
2714        <attr name="rotation" format="float" />
2715
2716        <!-- rotation of the view around the x axis, in degrees. -->
2717        <attr name="rotationX" format="float" />
2718
2719        <!-- rotation of the view around the y axis, in degrees. -->
2720        <attr name="rotationY" format="float" />
2721
2722        <!-- scale of the view in the x direction. -->
2723        <attr name="scaleX" format="float" />
2724
2725        <!-- scale of the view in the y direction. -->
2726        <attr name="scaleY" format="float" />
2727
2728        <!-- Determines which side the vertical scroll bar should be placed on. -->
2729        <attr name="verticalScrollbarPosition">
2730            <!-- Place the scroll bar wherever the system default determines. -->
2731            <enum name="defaultPosition" value="0" />
2732            <!-- Place the scroll bar on the left. -->
2733            <enum name="left" value="1" />
2734            <!-- Place the scroll bar on the right. -->
2735            <enum name="right" value="2" />
2736        </attr>
2737
2738        <!-- Specifies the type of layer backing this view. The default value is none.
2739             Refer to {@link android.view.View#setLayerType(int, android.graphics.Paint)}
2740             for more information.-->
2741        <attr name="layerType">
2742            <!-- Don't use a layer. -->
2743            <enum name="none" value="0" />
2744            <!-- Use a software layer. Refer to
2745                 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for
2746                 more information. -->
2747            <enum name="software" value="1" />
2748            <!-- Use a hardware layer. Refer to
2749                 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for
2750                 more information. -->
2751            <enum name="hardware" value="2" />
2752        </attr>
2753
2754        <!-- Defines the direction of layout drawing. This typically is associated with writing
2755             direction of the language script used. The possible values are "ltr" for Left-to-Right,
2756             "rtl" for Right-to-Left, "locale", and "inherit" from parent view. If there is nothing
2757             to inherit, "locale" is used. "locale" falls back to "en-US". "ltr" is the direction
2758             used in "en-US". The default for this attribute is "inherit". -->
2759        <attr name="layoutDirection">
2760            <!-- Left-to-Right. -->
2761            <enum name="ltr" value="0" />
2762            <!-- Right-to-Left. -->
2763            <enum name="rtl" value="1" />
2764            <!-- Inherit from parent. -->
2765            <enum name="inherit" value="2" />
2766            <!-- Locale. -->
2767            <enum name="locale" value="3" />
2768        </attr>
2769
2770        <!-- Defines the direction of the text. -->
2771         <attr name="textDirection" format="integer">
2772            <!-- Default. -->
2773            <enum name="inherit" value="0" />
2774            <!-- Default for the root view. The first strong directional character determines the
2775                 paragraph direction.  If there is no strong directional character, the paragraph
2776                 direction is the view’s resolved layout direction. -->
2777            <enum name="firstStrong" value="1" />
2778            <!-- The paragraph direction is RTL if it contains any strong RTL character, otherwise
2779                 it is LTR if it contains any strong LTR characters.  If there are neither, the
2780                 paragraph direction is the view’s resolved layout direction. -->
2781            <enum name="anyRtl" value="2" />
2782            <!-- The paragraph direction is left to right. -->
2783            <enum name="ltr" value="3" />
2784            <!-- The paragraph direction is right to left. -->
2785            <enum name="rtl" value="4" />
2786            <!-- The paragraph direction is coming from the system Locale. -->
2787            <enum name="locale" value="5" />
2788            <!-- The first strong directional character determines the paragraph direction. If
2789                 there is no strong directional character, the paragraph direction is LTR. -->
2790            <enum name="firstStrongLtr" value="6" />
2791            <!-- The first strong directional character determines the paragraph direction. If
2792                 there is no strong directional character, the paragraph direction is RTL. -->
2793            <enum name="firstStrongRtl" value="7" />
2794        </attr>
2795
2796        <!-- Defines the alignment of the text. -->
2797        <attr name="textAlignment" format="integer">
2798            <!-- Default. -->
2799            <enum name="inherit" value="0" />
2800            <!-- Default for the root view. The gravity determines the alignment, ALIGN_NORMAL,
2801                ALIGN_CENTER, or ALIGN_OPPOSITE, which are relative to each paragraph’s
2802                text direction. -->
2803            <enum name="gravity" value="1" />
2804            <!-- Align to the start of the paragraph, for example: ALIGN_NORMAL. -->
2805            <enum name="textStart" value="2" />
2806            <!-- Align to the end of the paragraph, for example: ALIGN_OPPOSITE. -->
2807            <enum name="textEnd" value="3" />
2808            <!-- Center the paragraph, for example: ALIGN_CENTER. -->
2809            <enum name="center" value="4" />
2810            <!-- Align to the start of the view, which is ALIGN_LEFT if the view’s resolved
2811                layoutDirection is LTR, and ALIGN_RIGHT otherwise. -->
2812            <enum name="viewStart" value="5" />
2813            <!-- Align to the end of the view, which is ALIGN_RIGHT if the view’s resolved
2814                layoutDirection is LTR, and ALIGN_LEFT otherwise. -->
2815            <enum name="viewEnd" value="6" />
2816        </attr>
2817
2818        <!-- Describes whether or not this view is important for accessibility.
2819             If it is important, the view fires accessibility events and is
2820             reported to accessibility services that query the screen. Note:
2821             While not recommended, an accessibility service may decide to
2822             ignore this attribute and operate on all views in the view tree. -->
2823        <attr name="importantForAccessibility" format="integer">
2824            <!-- The system determines whether the view is important for accessibility - default
2825                 (recommended). -->
2826            <enum name="auto" value="0" />
2827            <!-- The view is important for accessibility. -->
2828            <enum name="yes" value="1" />
2829            <!-- The view is not important for accessibility. -->
2830            <enum name="no" value="2" />
2831            <!-- The view is not important for accessibility, nor are any of its descendant
2832                 views. -->
2833            <enum name="noHideDescendants" value="4" />
2834        </attr>
2835
2836        <!-- Indicates to accessibility services whether the user should be notified when
2837             this view changes. -->
2838        <attr name="accessibilityLiveRegion" format="integer">
2839            <!-- Accessibility services should not announce changes to this view. -->
2840            <enum name="none" value="0" />
2841            <!-- Accessibility services should announce changes to this view. -->
2842            <enum name="polite" value="1" />
2843            <!-- Accessibility services should interrupt ongoing speech to immediately
2844                 announce changes to this view. -->
2845            <enum name="assertive" value="2" />
2846        </attr>
2847
2848        <!-- Specifies the id of a view for which this view serves as a label for
2849             accessibility purposes. For example, a TextView before an EditText in
2850             the UI usually specifies what infomation is contained in the EditText.
2851             Hence, the TextView is a label for the EditText. -->
2852        <attr name="labelFor" format="reference" />
2853
2854        <!-- Specifies a theme override for a view. When a theme override is set, the
2855             view will be inflated using a {@link android.content.Context} themed with
2856             the specified resource. During XML inflation, any child views under the
2857             view with a theme override will inherit the themed context. -->
2858        <attr name="theme" />
2859
2860        <!-- Names a View such that it can be identified for Transitions. Names should be
2861             unique in the View hierarchy. -->
2862        <attr name="transitionName" format="string" />
2863
2864        <!-- Specifies that this view should permit nested scrolling within a compatible
2865             ancestor view. -->
2866        <attr name="nestedScrollingEnabled" format="boolean" />
2867
2868        <!-- Sets the state-based animator for the View. -->
2869        <attr name="stateListAnimator" format="reference"/>
2870
2871        <!-- Tint to apply to the background. -->
2872        <attr name="backgroundTint" format="color" />
2873
2874        <!-- Blending mode used to apply the background tint. -->
2875        <attr name="backgroundTintMode">
2876            <!-- The tint is drawn on top of the drawable.
2877                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
2878            <enum name="src_over" value="3" />
2879            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
2880                 color channels are thrown out. [Sa * Da, Sc * Da] -->
2881            <enum name="src_in" value="5" />
2882            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
2883                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
2884            <enum name="src_atop" value="9" />
2885            <!-- Multiplies the color and alpha channels of the drawable with those of
2886                 the tint. [Sa * Da, Sc * Dc] -->
2887            <enum name="multiply" value="14" />
2888            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
2889            <enum name="screen" value="15" />
2890            <!-- Combines the tint and drawable color and alpha channels, clamping the
2891                 result to valid color values. Saturate(S + D) -->
2892            <enum name="add" value="16" />
2893        </attr>
2894
2895        <!-- ViewOutlineProvider used to determine the View's Outline. -->
2896        <attr name="outlineProvider">
2897            <!-- Default, background drawable-driven outline. -->
2898            <enum name="background" value="0" />
2899            <!-- No outline provider. -->
2900            <enum name="none" value="1" />
2901            <!-- Generates an opaque outline for the bounds of the view. -->
2902            <enum name="bounds" value="2" />
2903            <!-- Generates an opaque outline for the padded bounds of the view. -->
2904            <enum name="paddedBounds" value="3" />
2905        </attr>
2906
2907        <!-- Defines the drawable to draw over the content. This can be used as an overlay.
2908             The foreground drawable participates in the padding of the content if the gravity
2909             is set to fill. -->
2910        <attr name="foreground" format="reference|color" />
2911        <!-- Defines the gravity to apply to the foreground drawable. The gravity defaults
2912             to fill. -->
2913        <attr name="foregroundGravity">
2914            <!-- Push object to the top of its container, not changing its size. -->
2915            <flag name="top" value="0x30" />
2916            <!-- Push object to the bottom of its container, not changing its size. -->
2917            <flag name="bottom" value="0x50" />
2918            <!-- Push object to the left of its container, not changing its size. -->
2919            <flag name="left" value="0x03" />
2920            <!-- Push object to the right of its container, not changing its size. -->
2921            <flag name="right" value="0x05" />
2922            <!-- Place object in the vertical center of its container, not changing its size. -->
2923            <flag name="center_vertical" value="0x10" />
2924            <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
2925            <flag name="fill_vertical" value="0x70" />
2926            <!-- Place object in the horizontal center of its container, not changing its size. -->
2927            <flag name="center_horizontal" value="0x01" />
2928            <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
2929            <flag name="fill_horizontal" value="0x07" />
2930            <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
2931            <flag name="center" value="0x11" />
2932            <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
2933            <flag name="fill" value="0x77" />
2934            <!-- Additional option that can be set to have the top and/or bottom edges of
2935                 the child clipped to its container's bounds.
2936                 The clip will be based on the vertical gravity: a top gravity will clip the bottom
2937                 edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
2938            <flag name="clip_vertical" value="0x80" />
2939            <!-- Additional option that can be set to have the left and/or right edges of
2940                 the child clipped to its container's bounds.
2941                 The clip will be based on the horizontal gravity: a left gravity will clip the right
2942                 edge, a right gravity will clip the left edge, and neither will clip both edges. -->
2943            <flag name="clip_horizontal" value="0x08" />
2944        </attr>
2945        <!-- Defines whether the foreground drawable should be drawn inside the padding.
2946             This property is turned on by default. -->
2947        <attr name="foregroundInsidePadding" format="boolean" />
2948        <!-- Tint to apply to the foreground. -->
2949        <attr name="foregroundTint" format="color" />
2950        <!-- Blending mode used to apply the foreground tint. -->
2951        <attr name="foregroundTintMode">
2952            <!-- The tint is drawn on top of the drawable.
2953                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
2954            <enum name="src_over" value="3" />
2955            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
2956                 color channels are thrown out. [Sa * Da, Sc * Da] -->
2957            <enum name="src_in" value="5" />
2958            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
2959                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
2960            <enum name="src_atop" value="9" />
2961            <!-- Multiplies the color and alpha channels of the drawable with those of
2962                 the tint. [Sa * Da, Sc * Dc] -->
2963            <enum name="multiply" value="14" />
2964            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
2965            <enum name="screen" value="15" />
2966            <!-- Combines the tint and drawable color and alpha channels, clamping the
2967                 result to valid color values. Saturate(S + D) -->
2968            <enum name="add" value="16" />
2969        </attr>
2970
2971        <!-- Defines which scroll indicators should be displayed when the view
2972             can be scrolled. Multiple values may be combined using logical OR,
2973             for example "top|bottom". -->
2974        <attr name="scrollIndicators">
2975            <!-- No scroll indicators are displayed. -->
2976            <flag name="none" value="0x00" />
2977            <!-- Displays top scroll indicator when view can be scrolled up. -->
2978            <flag name="top" value="0x01" />
2979            <!-- Displays bottom scroll indicator when vew can be scrolled down. -->
2980            <flag name="bottom" value="0x02" />
2981            <!-- Displays left scroll indicator when vew can be scrolled left. -->
2982            <flag name="left" value="0x04" />
2983            <!-- Displays right scroll indicator when vew can be scrolled right. -->
2984            <flag name="right" value="0x08" />
2985            <!-- Displays right scroll indicator when vew can be scrolled in the
2986                 start direction. -->
2987            <flag name="start" value="0x10" />
2988            <!-- Displays right scroll indicator when vew can be scrolled in the
2989                 end direction. -->
2990            <flag name="end" value="0x20" />
2991        </attr>
2992
2993        <attr name="pointerIcon">
2994            <!-- Null icon, pointer becomes invisible. -->
2995            <enum name="none" value="0" />
2996            <!-- The default icon of arrow pointer. -->
2997            <enum name="arrow" value="1000" />
2998            <!-- Pointer icon indicating context-menu will appear. -->
2999            <enum name="context_menu" value="1001" />
3000            <!-- Pointer icon of a hand with the index finger. -->
3001            <enum name="hand" value="1002" />
3002            <!-- Pointer icon indicating help. -->
3003            <enum name="help" value="1003" />
3004            <!-- Pointer icon indicating something is going on and waiting. -->
3005            <enum name="wait" value="1004" />
3006            <!-- Pointer icon for cell and grid. -->
3007            <enum name="cell" value="1006" />
3008            <!-- Pointer icon of crosshair, indicating to spot a location. -->
3009            <enum name="crosshair" value="1007" />
3010            <!-- Pointer icon of I-beam, usually for text. -->
3011            <enum name="text" value="1008" />
3012            <!-- Pointer icon of I-beam with 90-degree rotated, for vertical text. -->
3013            <enum name="vertical_text" value="1009" />
3014            <!-- Pointer icon of 'alias', indicating an alias of/shortcut to something is to be
3015                 created. -->
3016            <enum name="alias" value="1010" />
3017            <!-- Pointer icon of 'copy', used for drag/drop. -->
3018            <enum name="copy" value="1011" />
3019            <!-- Pointer icon of 'no-drop', indicating the drop will not be accepted at the
3020                 current location. -->
3021            <enum name="no_drop" value="1012" />
3022            <!-- Pointer icon of four-way arrows, indicating scrolling all direction. -->
3023            <enum name="all_scroll" value="1013" />
3024            <!-- Pointer icon of horizontal double arrow, indicating horizontal resize. -->
3025            <enum name="horizontal_double_arrow" value="1014" />
3026            <!-- Pointer icon of vertical double arrow, indicating vertical resize. -->
3027            <enum name="vertical_double_arrow" value="1015" />
3028            <!-- Pointer icon of diagonal double arrow, starting from top-right to bottom-left.
3029                 Indicating freeform resize. -->
3030            <enum name="top_right_diagonal_double_arrow" value="1016" />
3031            <!-- Pointer icon of diagonal double arrow, starting from top-left to bottom-right.
3032                 Indicating freeform resize. -->
3033            <enum name="top_left_diagonal_double_arrow" value="1017" />
3034            <!-- Pointer icon indicating zoom-in. -->
3035            <enum name="zoom_in" value="1018" />
3036            <!-- Pointer icon indicating zoom-out. -->
3037            <enum name="zoom_out" value="1019" />
3038            <!-- Pointer icon of a hand sign to grab something. -->
3039            <enum name="grab" value="1020" />
3040            <!-- Pointer icon of a hand sign while grabbing something. -->
3041            <enum name="grabbing" value="1021" />
3042        </attr>
3043
3044        <!-- Whether this view has elements that may overlap when drawn. See
3045             {@link android.view.View#forceHasOverlappingRendering(boolean)}. -->
3046        <attr name="forceHasOverlappingRendering" format="boolean" />
3047
3048        <!-- Defines text displayed in a small popup window on hover or long press. -->
3049        <attr name="tooltipText" format="string" localization="suggested" />
3050
3051        <!-- Whether this view is a root of a keyboard navigation cluster.
3052             See {@link android.view.View#setKeyboardNavigationCluster(boolean)}. -->
3053        <attr name="keyboardNavigationCluster" format="boolean" />
3054
3055        <attr name="__removed0" format="boolean" />
3056
3057        <!-- Defines the next keyboard navigation cluster.
3058
3059             If the reference refers to a view that does not exist or is part
3060             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
3061             will result when the reference is accessed.-->
3062        <attr name="nextClusterForward" format="reference"/>
3063
3064        <attr name="__removed1" format="reference"/>
3065
3066        <!-- Whether this view is a default-focus view.
3067             Only one view per keyboard navigation cluster can have this attribute set to true.
3068             See {@link android.view.View#setFocusedByDefault(boolean)}. -->
3069        <attr name="focusedByDefault" format="boolean" />
3070
3071        <!-- Whether this View should use a default focus highlight when it gets focused but
3072             doesn't have {@link android.R.attr#state_focused} defined in its background. -->
3073        <attr name="defaultFocusHighlightEnabled" format="boolean" />
3074
3075        <!-- Whether this view should be treated as a focusable unit by screen reader accessibility
3076             tools. See {@link android.view.View#setScreenReaderFocusable(boolean)}. The default
3077             value, {@code false}, leaves the screen reader to consider other signals, such as
3078             focusability or the presence of text, to decide what it focus.-->
3079        <attr name="screenReaderFocusable" format="boolean" />
3080
3081        <!-- The title this view should present to accessibility as a pane title.
3082             See {@link android.view.View#setAccessibilityPaneTitle(CharSequence)} -->
3083        <attr name="accessibilityPaneTitle" format="string" />
3084
3085        <!-- Sets the color of the spot shadow that is drawn when the view has a positive Z or
3086             elevation value.
3087             <p>
3088             By default the shadow color is black. Generally, this color will be opaque so the
3089             intensity of the shadow is consistent between different views with different colors.
3090             <p>
3091             The opacity of the final spot shadow is a function of the shadow caster height, the
3092             alpha channel of the outlineSpotShadowColor (typically opaque), and the
3093             {@link android.R.attr#spotShadowAlpha} theme attribute. -->
3094        <attr name="outlineSpotShadowColor" format="color" />
3095
3096        <!-- Sets the color of the ambient shadow that is drawn when the view has a positive Z
3097             or elevation value.
3098             <p>
3099             By default the shadow color is black. Generally, this color will be opaque so the
3100             intensity of the shadow is consistent between different views with different colors.
3101             <p>
3102             The opacity of the final ambient shadow is a function of the shadow caster height,
3103             the alpha channel of the outlineAmbientShadowColor (typically opaque), and the
3104             {@link android.R.attr#ambientShadowAlpha} theme attribute. -->
3105        <attr name="outlineAmbientShadowColor" format="color" />
3106    </declare-styleable>
3107
3108    <!-- Attributes that can be assigned to a tag for a particular View. -->
3109    <declare-styleable name="ViewTag">
3110        <!-- Specifies the key identifying a tag. This must be a resource reference. -->
3111        <attr name="id" />
3112        <!-- Specifies the value with which to tag the view. -->
3113        <attr name="value" />
3114    </declare-styleable>
3115
3116    <!-- Attributes that can be assigned to an &lt;include&gt; tag.
3117         @hide -->
3118    <declare-styleable name="Include">
3119        <attr name="id" />
3120        <attr name="visibility" />
3121    </declare-styleable>
3122
3123    <!-- Attributes that can be used with a {@link android.view.ViewGroup} or any
3124         of its subclasses.  Also see {@link #ViewGroup_Layout} for
3125         attributes that this class processes in its children. -->
3126    <declare-styleable name="ViewGroup">
3127        <!-- Defines whether changes in layout (caused by adding and removing items) should
3128             cause a LayoutTransition to run. When this flag is set to true, a default
3129             LayoutTransition object will be set on the ViewGroup container and default
3130             animations will run when these layout changes occur.-->
3131        <attr name="animateLayoutChanges" format="boolean" />
3132        <!-- Defines whether a child is limited to draw inside of its bounds or not.
3133             This is useful with animations that scale the size of the children to more
3134             than 100% for instance. In such a case, this property should be set to false
3135             to allow the children to draw outside of their bounds. The default value of
3136             this property is true. -->
3137        <attr name="clipChildren" format="boolean" />
3138        <!-- Defines whether the ViewGroup will clip its children and resize (but not clip) any
3139             EdgeEffect to its padding, if padding is not zero. This property is set to true by
3140             default. -->
3141        <attr name="clipToPadding" format="boolean" />
3142        <!-- Defines the layout animation to use the first time the ViewGroup is laid out.
3143             Layout animations can also be started manually after the first layout. -->
3144        <attr name="layoutAnimation" format="reference" />
3145        <!-- Defines whether layout animations should create a drawing cache for their
3146             children. Enabling the animation cache consumes more memory and requires
3147             a longer initialization but provides better performance. The animation
3148             cache is enabled by default. -->
3149        <attr name="animationCache" format="boolean" />
3150        <!-- Defines the persistence of the drawing cache. The drawing cache might be
3151             enabled by a ViewGroup for all its children in specific situations (for
3152             instance during a scrolling.) This property lets you persist the cache
3153             in memory after its initial usage. Persisting the cache consumes more
3154             memory but may prevent frequent garbage collection is the cache is created
3155             over and over again. By default the persistence is set to scrolling.
3156             Deprecated: The view drawing cache was largely made obsolete with the introduction of
3157             hardware-accelerated rendering in API 11. -->
3158        <attr name="persistentDrawingCache">
3159            <!-- The drawing cache is not persisted after use. -->
3160            <flag name="none" value="0x0" />
3161            <!-- The drawing cache is persisted after a layout animation. -->
3162            <flag name="animation" value="0x1" />
3163            <!-- The drawing cache is persisted after a scroll. -->
3164            <flag name="scrolling" value="0x2" />
3165            <!-- The drawing cache is always persisted. -->
3166            <flag name="all" value="0x3" />
3167        </attr>
3168        <!-- Defines whether the ViewGroup should always draw its children using their
3169             drawing cache or not. The default value is true.
3170             Deprecated: The view drawing cache was largely made obsolete with the introduction of
3171             hardware-accelerated rendering in API 11. -->
3172        <attr name="alwaysDrawnWithCache" format="boolean" />
3173        <!-- Sets whether this ViewGroup's drawable states also include
3174             its children's drawable states.  This is used, for example, to
3175             make a group appear to be focused when its child EditText or button
3176             is focused. -->
3177        <attr name="addStatesFromChildren" format="boolean" />
3178
3179        <!-- Defines the relationship between the ViewGroup and its descendants
3180             when looking for a View to take focus. -->
3181        <attr name="descendantFocusability">
3182            <!-- The ViewGroup will get focus before any of its descendants. -->
3183            <enum name="beforeDescendants" value="0" />
3184            <!-- The ViewGroup will get focus only if none of its descendants want it. -->
3185            <enum name="afterDescendants" value="1" />
3186            <!-- The ViewGroup will block its descendants from receiving focus. -->
3187            <enum name="blocksDescendants" value="2" />
3188        </attr>
3189
3190        <!-- Set to true if this ViewGroup blocks focus in the presence of a touchscreen. -->
3191        <attr name="touchscreenBlocksFocus" format="boolean" />
3192
3193        <!-- Sets whether this ViewGroup should split MotionEvents
3194             to separate child views during touch event dispatch.
3195             If false (default), touch events will be dispatched to
3196             the child view where the first pointer went down until
3197             the last pointer goes up.
3198             If true, touch events may be dispatched to multiple children.
3199             MotionEvents for each pointer will be dispatched to the child
3200             view where the initial ACTION_DOWN event happened.
3201             See {@link android.view.ViewGroup#setMotionEventSplittingEnabled(boolean)}
3202             for more information. -->
3203        <attr name="splitMotionEvents" format="boolean" />
3204
3205        <!-- Defines the layout mode of this ViewGroup. -->
3206        <attr name="layoutMode">
3207            <!-- Use the children's clip bounds when laying out this container. -->
3208            <enum name="clipBounds" value="0" />
3209            <!-- Use the children's optical bounds when laying out this container. -->
3210            <enum name="opticalBounds" value="1" />
3211        </attr>
3212
3213        <!-- Sets whether or not this ViewGroup should be treated as a single entity
3214             when doing an Activity transition. Typically, the elements inside a
3215             ViewGroup are each transitioned from the scene individually. The default
3216             for a ViewGroup is false unless it has a background. See
3217             {@link android.app.ActivityOptions#makeSceneTransitionAnimation(android.app.Activity,
3218             android.view.View, String)} for more information. Corresponds to
3219             {@link android.view.ViewGroup#setTransitionGroup(boolean)}.-->
3220        <attr name="transitionGroup" format="boolean" />
3221    </declare-styleable>
3222
3223    <!-- A {@link android.view.ViewStub} lets you lazily include other XML layouts
3224         inside your application at runtime. -->
3225    <declare-styleable name="ViewStub">
3226        <!-- Supply an identifier name for this view. -->
3227        <attr name="id" />
3228        <!-- Supply an identifier for the layout resource to inflate when the ViewStub
3229             becomes visible or when forced to do so. The layout resource must be a
3230             valid reference to a layout. -->
3231        <attr name="layout" format="reference" />
3232        <!-- Overrides the id of the inflated View with this value. -->
3233        <attr name="inflatedId" format="reference" />
3234    </declare-styleable>
3235
3236    <!-- ===================================== -->
3237    <!-- View package parent layout attributes -->
3238    <!-- ===================================== -->
3239    <eat-comment />
3240
3241    <!-- This is the basic set of layout attributes that are common to all
3242         layout managers.  These attributes are specified with the rest of
3243         a view's normal attributes (such as {@link android.R.attr#background},
3244         but will be parsed by the view's parent and ignored by the child.
3245        <p>The values defined here correspond to the base layout attribute
3246        class {@link android.view.ViewGroup.LayoutParams}. -->
3247    <declare-styleable name="ViewGroup_Layout">
3248        <!-- Specifies the basic width of the view.  This is a required attribute
3249             for any view inside of a containing layout manager.  Its value may
3250             be a dimension (such as "12dip") for a constant width or one of
3251             the special constants. -->
3252        <attr name="layout_width" format="dimension">
3253            <!-- The view should be as big as its parent (minus padding).
3254                 This constant is deprecated starting from API Level 8 and
3255                 is replaced by {@code match_parent}. -->
3256            <enum name="fill_parent" value="-1" />
3257            <!-- The view should be as big as its parent (minus padding).
3258                 Introduced in API Level 8. -->
3259            <enum name="match_parent" value="-1" />
3260            <!-- The view should be only big enough to enclose its content (plus padding). -->
3261            <enum name="wrap_content" value="-2" />
3262        </attr>
3263
3264        <!-- Specifies the basic height of the view.  This is a required attribute
3265             for any view inside of a containing layout manager.  Its value may
3266             be a dimension (such as "12dip") for a constant height or one of
3267             the special constants. -->
3268        <attr name="layout_height" format="dimension">
3269            <!-- The view should be as big as its parent (minus padding).
3270                 This constant is deprecated starting from API Level 8 and
3271                 is replaced by {@code match_parent}. -->
3272            <enum name="fill_parent" value="-1" />
3273            <!-- The view should be as big as its parent (minus padding).
3274                 Introduced in API Level 8. -->
3275            <enum name="match_parent" value="-1" />
3276            <!-- The view should be only big enough to enclose its content (plus padding). -->
3277            <enum name="wrap_content" value="-2" />
3278        </attr>
3279    </declare-styleable>
3280
3281    <!-- This is the basic set of layout attributes for layout managers that
3282         wish to place margins around their child views.
3283         These attributes are specified with the rest of
3284         a view's normal attributes (such as {@link android.R.attr#background},
3285         but will be parsed by the view's parent and ignored by the child.
3286        <p>The values defined here correspond to the base layout attribute
3287        class {@link android.view.ViewGroup.MarginLayoutParams}. -->
3288    <declare-styleable name="ViewGroup_MarginLayout">
3289        <attr name="layout_width" />
3290        <attr name="layout_height" />
3291        <!--  Specifies extra space on the left, top, right and bottom
3292              sides of this view.  If both layout_margin and any of layout_marginLeft,
3293              layout_marginRight, layout_marginStart, layout_marginEnd,
3294              layout_marginTop, and layout_marginBottom are
3295              also specified, the layout_margin value will take precedence over the
3296              edge-specific values. This space is outside this view's bounds.
3297              Margin values should be positive. -->
3298        <attr name="layout_margin" format="dimension"  />
3299        <!--  Specifies extra space on the left side of this view.
3300              This space is outside this view's bounds.
3301              Margin values should be positive. -->
3302        <attr name="layout_marginLeft" format="dimension"  />
3303        <!--  Specifies extra space on the top side of this view.
3304              This space is outside this view's bounds.
3305              Margin values should be positive.-->
3306        <attr name="layout_marginTop" format="dimension" />
3307        <!--  Specifies extra space on the right side of this view.
3308              This space is outside this view's bounds.
3309              Margin values should be positive.-->
3310        <attr name="layout_marginRight" format="dimension"  />
3311        <!--  Specifies extra space on the bottom side of this view.
3312              This space is outside this view's bounds.
3313              Margin values should be positive.-->
3314        <attr name="layout_marginBottom" format="dimension"  />
3315        <!--  Specifies extra space on the start side of this view.
3316              This space is outside this view's bounds.
3317              Margin values should be positive.-->
3318        <attr name="layout_marginStart" format="dimension"  />
3319        <!--  Specifies extra space on the end side of this view.
3320              This space is outside this view's bounds.
3321              Margin values should be positive.-->
3322        <attr name="layout_marginEnd" format="dimension"  />
3323        <!--  Specifies extra space on the left and right sides of this view.
3324              Specifying layout_marginHorizontal is equivalent to specifying
3325              layout_marginLeft and layout_marginRight.
3326              If both layout_marginHorizontal and either/both of layout_marginLeft
3327              and layout_marginRight are also specified, the layout_marginHorizontal
3328              value will take precedence over the
3329              edge-specific values. Also, layout_margin will always take precedence over
3330              any of these values, including layout_marginHorizontal.
3331              This space is outside this view's bounds.
3332              Margin values should be positive.-->
3333        <attr name="layout_marginHorizontal" format="dimension"  />
3334        <!--  Specifies extra space on the top and bottom sides of this view.
3335              Specifying layout_marginVertical is equivalent to specifying
3336              layout_marginTop and layout_marginBottom with that same value.
3337              If both layout_marginVertical and either/both of layout_marginTop and
3338              layout_marginBottom are also specified, the layout_marginVertical value
3339              will take precedence over the edge-specific values.
3340              Also, layout_margin will always take precedence over
3341              any of these values, including layout_marginVertical.
3342              This space is outside this view's bounds.
3343              Margin values should be positive.-->
3344        <attr name="layout_marginVertical" format="dimension"  />
3345    </declare-styleable>
3346
3347    <!-- Use <code>input-method</code> as the root tag of the XML resource that
3348         describes an
3349         {@link android.view.inputmethod.InputMethod} service, which is
3350         referenced from its
3351         {@link android.view.inputmethod.InputMethod#SERVICE_META_DATA}
3352         meta-data entry.  Described here are the attributes that can be
3353         included in that tag. -->
3354    <declare-styleable name="InputMethod">
3355        <!-- Component name of an activity that allows the user to modify
3356             the settings for this service. -->
3357        <attr name="settingsActivity" format="string" />
3358        <!-- Set to true in all of the configurations for which this input
3359             method should be considered an option as the default. -->
3360        <attr name="isDefault" format="boolean" />
3361        <!-- Set to true if this input method supports ways to switch to
3362             a next input method (for example, a globe key.). When this is true and
3363             InputMethodManager#shouldOfferSwitchingToNextInputMethod() returns true,
3364             the IME has to offer ways to invoke InputMethodManager#switchToNextInputMethod()
3365             accordingly.
3366             <p> Note that the system determines the most appropriate next input method
3367             and subtype in order to provide the consistent user experience in switching
3368             between IMEs and subtypes. -->
3369        <attr name="supportsSwitchingToNextInputMethod" format="boolean" />
3370        <!-- Specifies if an IME can only be used while a device is in VR mode or on a dedicated
3371             device -->
3372        <attr name="isVrOnly" format="boolean"/>
3373        <attr name="__removed2" format="boolean" />
3374    </declare-styleable>
3375
3376    <!-- This is the subtype of InputMethod. Subtype can describe locales (for example, en_US and
3377         fr_FR) and modes (for example, voice and keyboard), and is used for IME switch. This
3378         subtype allows the system to call the specified subtype of the IME directly. -->
3379    <declare-styleable name="InputMethod_Subtype">
3380        <!-- The name of the subtype. -->
3381        <attr name="label" />
3382        <!-- The icon of the subtype. -->
3383        <attr name="icon" />
3384        <!-- The locale of the subtype. This string should be a locale (for example en_US and fr_FR)
3385             and will be passed to the IME when the framework calls the IME
3386             with the subtype. This is also used by the framework to know the supported locales
3387             of the IME.  -->
3388        <attr name="imeSubtypeLocale" format="string" />
3389        <!-- The mode of the subtype. This string can be a mode (for example, voice and keyboard)
3390             and this string will be passed to the IME when the framework calls the IME with the
3391             subtype.  {@link android.view.inputmethod.InputMethodSubtype#getLocale()} returns the
3392             value specified in this attribute.  -->
3393        <attr name="imeSubtypeMode" format="string" />
3394        <!-- Set true if the subtype is auxiliary.  An auxiliary subtype won't be shown in the
3395             input method selection list in the settings app.
3396             InputMethodManager#switchToLastInputMethod will ignore auxiliary subtypes when it
3397             chooses a target subtype. -->
3398        <attr name="isAuxiliary" format="boolean" />
3399        <!-- Set true when this subtype should be selected by default if no other subtypes are
3400             selected explicitly. Note that a subtype with this parameter being true will
3401             not be shown in the subtypes list. -->
3402        <attr name="overridesImplicitlyEnabledSubtype" format="boolean" />
3403        <!-- The extra value of the subtype. This string can be any string and will be passed to
3404             the IME when the framework calls the IME with the subtype.  -->
3405        <attr name="imeSubtypeExtraValue" format="string" />
3406        <!-- The unique id for the subtype. The input method framework keeps track of enabled
3407             subtypes by ID. When the IME package gets upgraded, enabled IDs will stay enabled even
3408             if other attributes are different. If the ID is unspecified (by calling the other
3409             constructor or 0. Arrays.hashCode(new Object[] {locale, mode, extraValue,
3410             isAuxiliary, overridesImplicitlyEnabledSubtype}) will be used instead. -->
3411        <attr name="subtypeId" format="integer"/>
3412        <!-- Set to true if this subtype is ASCII capable. If the subtype is ASCII
3413             capable, it should guarantee that the user can input ASCII characters with
3414             this subtype. This is important because many password fields only allow
3415             ASCII-characters. -->
3416        <attr name="isAsciiCapable" format="boolean" />
3417        <!-- The BCP-47 Language Tag of the subtype.  This replaces
3418        {@link android.R.styleable#InputMethod_Subtype_imeSubtypeLocale}.  -->
3419        <attr name="languageTag" format="string" />
3420    </declare-styleable>
3421
3422    <!-- Use <code>spell-checker</code> as the root tag of the XML resource that
3423         describes an
3424         {@link android.service.textservice.SpellCheckerService} service, which is
3425         referenced from its
3426         {@link android.view.textservice.SpellCheckerSession#SERVICE_META_DATA}
3427         meta-data entry.  Described here are the attributes that can be
3428         included in that tag. -->
3429    <declare-styleable name="SpellChecker">
3430        <!-- The name of the spell checker. -->
3431        <attr name="label" />
3432        <!-- Component name of an activity that allows the user to modify
3433             the settings for this service. -->
3434        <attr name="settingsActivity"/>
3435    </declare-styleable>
3436
3437    <!-- This is the subtype of the spell checker. Subtype can describe locales (for example,
3438             en_US and fr_FR). -->
3439    <declare-styleable name="SpellChecker_Subtype">
3440        <!-- The name of the subtype. -->
3441        <attr name="label" />
3442        <!-- The locale of the subtype. This string should be a locale (for example, en_US and
3443             fr_FR). This is also used by the framework to know the supported locales
3444             of the spell checker. {@link android.view.textservice.SpellCheckerSubtype#getLocale()}
3445             returns the value specified in this attribute.  -->
3446        <attr name="subtypeLocale" format="string" />
3447        <!-- The extra value of the subtype. This string can be any string and will be passed to
3448             the SpellChecker.  -->
3449        <attr name="subtypeExtraValue" format="string" />
3450        <!-- The unique id for the subtype. The text service (spell checker) framework keeps track
3451             of enabled subtypes by ID. When the spell checker package gets upgraded, enabled IDs
3452             will stay enabled even if other attributes are different. If the ID is unspecified or
3453             explicitly specified to 0 in XML resources,
3454             {@code Arrays.hashCode(new Object[] {subtypeLocale, extraValue})} will be used instead.
3455              -->
3456        <attr name="subtypeId" />
3457        <!-- The BCP-47 Language Tag of the subtype.  This replaces
3458        {@link android.R.styleable#SpellChecker_Subtype_subtypeLocale}.  -->
3459        <attr name="languageTag" />
3460    </declare-styleable>
3461
3462    <!-- Use <code>accessibility-service</code> as the root tag of the XML resource that
3463         describes an {@link android.accessibilityservice.AccessibilityService} service,
3464         which is referenced from its
3465         {@link android.accessibilityservice.AccessibilityService#SERVICE_META_DATA}
3466         meta-data entry. -->
3467    <declare-styleable name="AccessibilityService">
3468        <!-- The event types this service would like to receive as specified in
3469             {@link android.view.accessibility.AccessibilityEvent}. This setting
3470             can be changed at runtime by calling
3471             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3472             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3473        <attr name="accessibilityEventTypes">
3474            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CLICKED} events.-->
3475            <flag name="typeViewClicked" value="0x00000001" />
3476            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_LONG_CLICKED} events. -->
3477            <flag name="typeViewLongClicked" value="0x00000002" />
3478            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SELECTED} events. -->
3479            <flag name="typeViewSelected" value="0x00000004" />
3480            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_FOCUSED} events. -->
3481            <flag name="typeViewFocused" value="0x00000008" />
3482            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_CHANGED} events. -->
3483            <flag name="typeViewTextChanged" value="0x00000010" />
3484            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_STATE_CHANGED} events. -->
3485            <flag name="typeWindowStateChanged" value="0x00000020" />
3486            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_NOTIFICATION_STATE_CHANGED} events. -->
3487            <flag name="typeNotificationStateChanged" value="0x00000040" />
3488            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_ENTER} events. -->
3489            <flag name="typeViewHoverEnter" value="0x00000080" />
3490            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_EXIT} events. -->
3491            <flag name="typeViewHoverExit" value="0x00000100" />
3492            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_START} events. -->
3493            <flag name="typeTouchExplorationGestureStart" value="0x00000200" />
3494            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_END} events. -->
3495            <flag name="typeTouchExplorationGestureEnd" value="0x00000400" />
3496            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_CONTENT_CHANGED} events. -->
3497            <flag name="typeWindowContentChanged" value="0x00000800" />
3498            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SCROLLED} events. -->
3499            <flag name="typeViewScrolled" value="0x000001000" />
3500            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_SELECTION_CHANGED} events. -->
3501            <flag name="typeViewTextSelectionChanged" value="0x000002000" />
3502            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ANNOUNCEMENT} events. -->
3503            <flag name="typeAnnouncement" value="0x00004000" />
3504            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUSED} events. -->
3505            <flag name="typeViewAccessibilityFocused" value="0x00008000" />
3506            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED} events. -->
3507            <flag name="typeViewAccessibilityFocusCleared" value="0x00010000" />
3508            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY} events. -->
3509            <flag name="typeViewTextTraversedAtMovementGranularity" value="0x00020000" />
3510            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_START} events. -->
3511            <flag name="typeGestureDetectionStart" value="0x00040000" />
3512            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_END} events. -->
3513            <flag name="typeGestureDetectionEnd" value="0x00080000" />
3514            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_START} events. -->
3515            <flag name="typeTouchInteractionStart" value="0x00100000" />
3516            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_END} events. -->
3517            <flag name="typeTouchInteractionEnd" value="0x00200000" />
3518            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOWS_CHANGED} events. -->
3519            <flag name="typeWindowsChanged" value="0x00400000" />
3520            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CONTEXT_CLICKED} events. -->
3521            <flag name="typeContextClicked" value="0x00800000" />
3522            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ASSIST_READING_CONTEXT} events. -->
3523            <flag name="typeAssistReadingContext" value="0x01000000" />
3524            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPES_ALL_MASK} i.e. all events. -->
3525            <flag name="typeAllMask" value="0xffffffff" />
3526        </attr>
3527        <!-- Comma separated package names from which this service would like to receive events (leave out for all packages).
3528             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3529             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3530        <attr name="packageNames" format="string" />
3531        <!-- The feedback types this service provides as specified in
3532             {@link android.accessibilityservice.AccessibilityServiceInfo}. This setting
3533             can be changed at runtime by calling
3534             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3535             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3536        <attr name="accessibilityFeedbackType">
3537            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_SPOKEN} feedback. -->
3538            <flag name="feedbackSpoken" value="0x00000001" />
3539            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_HAPTIC} feedback. -->
3540            <flag name="feedbackHaptic" value="0x00000002" />
3541            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_AUDIBLE} feedback. -->
3542            <flag name="feedbackAudible" value="0x00000004" />
3543            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_VISUAL} feedback. -->
3544            <flag name="feedbackVisual" value="0x00000008" />
3545            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_GENERIC} feedback. -->
3546            <flag name="feedbackGeneric" value="0x00000010" />
3547            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_ALL_MASK} feedback. -->
3548            <flag name="feedbackAllMask" value="0xffffffff" />
3549        </attr>
3550        <!-- The minimal period in milliseconds between two accessibility events of the same type
3551             are sent to this service. This setting can be changed at runtime by calling
3552             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3553             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3554        <attr name="notificationTimeout" format="integer" />
3555        <!-- Additional flags as specified in
3556             {@link android.accessibilityservice.AccessibilityServiceInfo}.
3557             This setting can be changed at runtime by calling
3558             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3559             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3560        <attr name="accessibilityFlags">
3561            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#DEFAULT}. -->
3562            <flag name="flagDefault" value="0x00000001" />
3563            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_INCLUDE_NOT_IMPORTANT_VIEWS}. -->
3564            <flag name="flagIncludeNotImportantViews" value="0x00000002" />
3565            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE}. -->
3566            <flag name="flagRequestTouchExplorationMode" value="0x00000004" />
3567            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY}.
3568                 Not used by the framework.
3569            -->
3570            <flag name="flagRequestEnhancedWebAccessibility" value="0x00000008" />
3571            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REPORT_VIEW_IDS}. -->
3572            <flag name="flagReportViewIds" value="0x00000010" />
3573            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS}. -->
3574            <flag name="flagRequestFilterKeyEvents" value="0x00000020" />
3575            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_RETRIEVE_INTERACTIVE_WINDOWS}. -->
3576            <flag name="flagRetrieveInteractiveWindows" value="0x00000040" />
3577            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_ENABLE_ACCESSIBILITY_VOLUME}. -->
3578            <flag name="flagEnableAccessibilityVolume" value="0x00000080" />
3579            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ACCESSIBILITY_BUTTON}. -->
3580            <flag name="flagRequestAccessibilityButton" value="0x00000100" />
3581            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FINGERPRINT_GESTURES}. -->
3582            <flag name="flagRequestFingerprintGestures" value="0x00000200" />
3583        </attr>
3584        <!-- Component name of an activity that allows the user to modify
3585             the settings for this service. This setting cannot be changed at runtime. -->
3586        <attr name="settingsActivity" />
3587        <!-- Attribute whether the accessibility service wants to be able to retrieve the
3588             active window content. This setting cannot be changed at runtime. -->
3589        <attr name="canRetrieveWindowContent" format="boolean" />
3590        <!-- Attribute whether the accessibility service wants to be able to request touch
3591             exploration mode in which touched items are spoken aloud and the UI can be
3592             explored via gestures.
3593             <p>
3594             Required to allow setting the {@link android.accessibilityservice
3595             #AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} flag.
3596             </p>
3597         -->
3598        <attr name="canRequestTouchExplorationMode" format="boolean" />
3599        <!-- Attribute whether the accessibility service wants to be able to request enhanced
3600             web accessibility enhancements.
3601             {@deprecated Not used by the framework}
3602         -->
3603        <attr name="canRequestEnhancedWebAccessibility" format="boolean" />
3604        <!-- Attribute whether the accessibility service wants to be able to request to
3605             filter key events.
3606             <p>
3607             Required to allow setting the {@link android.accessibilityservice
3608             #AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} flag.
3609             </p>
3610         -->
3611        <attr name="canRequestFilterKeyEvents" format="boolean" />
3612        <!-- Attribute whether the accessibility service wants to be able to control
3613             display magnification.
3614         -->
3615        <attr name="canControlMagnification" format="boolean" />
3616        <!-- Attribute whether the accessibility service wants to be able to perform gestures. -->
3617        <attr name="canPerformGestures" format="boolean" />
3618        <!-- Attribute whether the accessibility service wants to be able to capture gestures from
3619             the fingerprint sensor.
3620             <p>
3621             Required to allow setting the {@link android.accessibilityservice
3622             #AccessibilityServiceInfo#FLAG_REQUEST_FINGERPRINT_GESTURES} flag to have any effect.
3623             </p>
3624         -->
3625        <attr name="canRequestFingerprintGestures" format="boolean" />
3626        <!-- Short description of the accessibility service purpose or behavior.-->
3627        <attr name="description" />
3628        <!-- Brief summary of the accessibility service purpose or behavior. -->
3629        <attr name="summary" />
3630    </declare-styleable>
3631
3632    <!-- Use <code>print-service</code> as the root tag of the XML resource that
3633         describes an {@link android.printservice.PrintService} service, which is
3634         referenced from its {@link android.printservice.PrintService#SERVICE_META_DATA}
3635         meta-data entry. -->
3636    <declare-styleable name="PrintService">
3637        <!-- Fully qualified class name of an activity that allows the user to modify
3638             the settings for this service. -->
3639        <attr name="settingsActivity" />
3640        <!-- Fully qualified class name of an activity that allows the user to manually
3641             add printers to this print service. -->
3642        <attr name="addPrintersActivity" format="string"/>
3643        <!-- Fully qualified class name of an activity with advanced print options
3644             specific to this print service. -->
3645        <attr name="advancedPrintOptionsActivity" format="string"/>
3646        <!-- The vendor name if this print service is vendor specific. -->
3647        <attr name="vendor" format="string"/>
3648    </declare-styleable>
3649
3650    <!-- Use <code>host-apdu-service</code> as the root tag of the XML resource that
3651         describes an {@link android.nfc.cardemulation.HostApduService} service, which
3652         is referenced from its {@link android.nfc.cardemulation.HostApduService#SERVICE_META_DATA}
3653         entry. -->
3654    <declare-styleable name="HostApduService">
3655        <!-- Short description of the functionality the service implements. This attribute
3656             is mandatory.-->
3657        <attr name="description" />
3658        <!-- Whether the device must be unlocked before routing data to this service.
3659             The default is false.-->
3660        <attr name="requireDeviceUnlock" format="boolean"/>
3661        <!-- A drawable that can be rendered in Android's system UI for representing
3662             the service. -->
3663        <attr name="apduServiceBanner" format="reference"/>
3664        <!-- Component name of an activity that allows the user to modify
3665             the settings for this service. -->
3666        <attr name="settingsActivity"/>
3667    </declare-styleable>
3668
3669    <!-- Use <code>offhost-apdu-service</code> as the root tag of the XML resource that
3670         describes an {@link android.nfc.cardemulation.OffHostApduService}
3671         service, which is referenced from its
3672         {@link android.nfc.cardemulation.OffHostApduService#SERVICE_META_DATA} entry. -->
3673    <declare-styleable name="OffHostApduService">
3674        <!-- Short description of the functionality the service implements. This attribute
3675             is mandatory.-->
3676        <attr name="description" />
3677        <!-- A drawable that can be rendered in Android's system UI for representing
3678             the service. -->
3679        <attr name="apduServiceBanner"/>
3680        <!-- Component name of an activity that allows the user to modify
3681             the settings for this service. -->
3682        <attr name="settingsActivity"/>
3683    </declare-styleable>
3684
3685    <!-- Specify one or more <code>aid-group</code> elements inside a
3686         <code>host-apdu-service</code> or <code>offhost-apdu-service</code>
3687         element to define a group of ISO7816 Application ID (AIDs) that
3688         your service can handle.-->
3689    <declare-styleable name="AidGroup">
3690        <!-- Short description of what the AID group implements. This attribute is mandatory.-->
3691        <attr name="description" />
3692        <!-- The category attribute will be used by the Android platform to present
3693             multiple applications that register ISO 7816 Application IDs (AIDs) in the
3694             same category uniformly.
3695             Additionally, when a category is specified, Android will ensure that either
3696             all AIDs in this group are routed to this application, or none at all.
3697             This attribute is optional.-->
3698        <attr name="category" format="string" />
3699    </declare-styleable>
3700
3701    <!-- Specify one or more <code>aid-filter</code> elements inside a
3702         <code>aid-group</code> element to specify an ISO7816 Application ID (AID)
3703         your service can handle. -->
3704    <declare-styleable name="AidFilter">
3705        <!-- The ISO7816 Application ID. This attribute is mandatory. -->
3706        <attr name="name" />
3707    </declare-styleable>
3708
3709    <!-- Specify one or more <code>aid-prefix-filter</code> elements inside a
3710         <code>aid-group</code> element to specify an ISO7816 Application ID (AID)
3711         prefix your service can handle. -->
3712    <declare-styleable name="AidPrefixFilter">
3713        <!-- The ISO7816 Application ID. This attribute is mandatory. -->
3714        <attr name="name" />
3715    </declare-styleable>
3716
3717    <!-- Use <code>host-nfcf-service</code> as the root tag of the XML resource that
3718         describes an {@link android.nfc.cardemulation.HostNfcFService} service, which
3719         is referenced from its {@link android.nfc.cardemulation.HostNfcFService#SERVICE_META_DATA}
3720         entry. -->
3721    <declare-styleable name="HostNfcFService">
3722        <!-- Short description of the functionality the service implements. This attribute
3723             is mandatory.-->
3724        <attr name="description" />
3725    </declare-styleable>
3726
3727    <!-- Specify one or more <code>system-code-filter</code> elements inside a
3728         <code>host-nfcf-service</code> element to specify a System Code
3729         your service can handle. -->
3730    <declare-styleable name="SystemCodeFilter">
3731        <!-- The System Code. This attribute is mandatory. -->
3732        <attr name="name" />
3733    </declare-styleable>
3734
3735    <!-- Specify one or more <code>nfcid2-filter</code> elements inside a
3736         <code>host-nfcf-service</code> element to specify a NFCID2
3737         your service can handle. -->
3738    <declare-styleable name="Nfcid2Filter">
3739        <!-- The NFCID2. This attribute is mandatory. -->
3740        <attr name="name" />
3741    </declare-styleable>
3742
3743    <!-- Specify one or more <code>t3tPmm-filter</code> elements inside a
3744         <code>host-nfcf-service</code> element to specify a LF_T3T_PMM. -->
3745    <declare-styleable name="T3tPmmFilter">
3746        <attr name="name" />
3747
3748    </declare-styleable>
3749
3750    <declare-styleable name="ActionMenuItemView">
3751        <attr name="minWidth" />
3752    </declare-styleable>
3753
3754    <!-- =============================== -->
3755    <!-- Widget package class attributes -->
3756    <!-- =============================== -->
3757    <eat-comment />
3758
3759    <declare-styleable name="AbsListView">
3760         <!-- Drawable used to indicate the currently selected item in the list. -->
3761        <attr name="listSelector" format="color|reference" />
3762        <!-- When set to true, the selector will be drawn over the selected item.
3763             Otherwise the selector is drawn behind the selected item. The default
3764             value is false. -->
3765        <attr name="drawSelectorOnTop" format="boolean" />
3766        <!-- Used by ListView and GridView to stack their content from the bottom. -->
3767        <attr name="stackFromBottom" format="boolean" />
3768        <!-- When set to true, the list uses a drawing cache during scrolling.
3769             This makes the rendering faster but uses more memory. The default
3770             value is true. -->
3771        <attr name="scrollingCache" format="boolean" />
3772        <!-- When set to true, the list will filter results as the user types. The
3773             List's adapter must support the Filterable interface for this to work. -->
3774        <attr name="textFilterEnabled" format="boolean" />
3775        <!-- Sets the transcript mode for the list. In transcript mode, the list
3776             scrolls to the bottom to make new items visible when they are added. -->
3777        <attr name="transcriptMode">
3778            <!-- Disables transcript mode. This is the default value. -->
3779            <enum name="disabled" value="0"/>
3780            <!-- The list will automatically scroll to the bottom when
3781                 a data set change notification is received and only if the last item is
3782                 already visible on screen. -->
3783            <enum name="normal" value="1" />
3784            <!-- The list will automatically scroll to the bottom, no matter what items
3785                 are currently visible. -->
3786            <enum name="alwaysScroll" value="2" />
3787        </attr>
3788        <!-- Indicates that this list will always be drawn on top of solid, single-color
3789             opaque background. This allows the list to optimize drawing. -->
3790        <attr name="cacheColorHint" format="color" />
3791        <!-- Enables the fast scroll thumb that can be dragged to quickly scroll through
3792             the list. -->
3793        <attr name="fastScrollEnabled" format="boolean" />
3794        <!-- Specifies the style of the fast scroll decorations. -->
3795        <attr name="fastScrollStyle" format="reference" />
3796        <!-- When set to true, the list will use a more refined calculation
3797             method based on the pixels height of the items visible on screen. This
3798             property is set to true by default but should be set to false if your adapter
3799             will display items of varying heights. When this property is set to true and
3800             your adapter displays items of varying heights, the scrollbar thumb will
3801             change size as the user scrolls through the list. When set to false, the list
3802             will use only the number of items in the adapter and the number of items visible
3803             on screen to determine the scrollbar's properties. -->
3804        <attr name="smoothScrollbar" format="boolean" />
3805        <!-- Defines the choice behavior for the view. By default, lists do not have
3806             any choice behavior. By setting the choiceMode to singleChoice, the list
3807             allows up to one item to be in a chosen state. By setting the choiceMode to
3808             multipleChoice, the list allows any number of items to be chosen.
3809             Finally, by setting the choiceMode to multipleChoiceModal the list allows
3810             any number of items to be chosen in a special selection mode.
3811             The application will supply a
3812             {@link android.widget.AbsListView.MultiChoiceModeListener} using
3813             {@link android.widget.AbsListView#setMultiChoiceModeListener} to control the
3814             selection mode. This uses the {@link android.view.ActionMode} API. -->
3815        <attr name="choiceMode">
3816            <!-- Normal list that does not indicate choices. -->
3817            <enum name="none" value="0" />
3818            <!-- The list allows up to one choice. -->
3819            <enum name="singleChoice" value="1" />
3820            <!-- The list allows multiple choices. -->
3821            <enum name="multipleChoice" value="2" />
3822            <!-- The list allows multiple choices in a custom selection mode. -->
3823            <enum name="multipleChoiceModal" value="3" />
3824        </attr>
3825
3826        <!-- When set to true, the list will always show the fast scroll interface.
3827             This setting implies fastScrollEnabled. -->
3828        <attr name="fastScrollAlwaysVisible" format="boolean" />
3829    </declare-styleable>
3830    <!-- @hide -->
3831    <declare-styleable name="RecycleListView">
3832        <!-- Bottom padding to use when no buttons are present. -->
3833        <attr name="paddingBottomNoButtons" format="dimension" />
3834        <!-- Top padding to use when no title is present. -->
3835        <attr name="paddingTopNoTitle" format="dimension" />
3836    </declare-styleable>
3837    <declare-styleable name="AbsSpinner">
3838        <!-- Reference to an array resource that will populate the Spinner.  For static content,
3839             this is simpler than populating the Spinner programmatically. -->
3840        <attr name="entries" />
3841    </declare-styleable>
3842    <declare-styleable name="AnalogClock">
3843        <attr name="dial" format="reference"/>
3844        <attr name="hand_hour" format="reference"/>
3845        <attr name="hand_minute" format="reference"/>
3846    </declare-styleable>
3847    <declare-styleable name="Button">
3848    </declare-styleable>
3849    <declare-styleable name="Chronometer">
3850        <!-- Format string: if specified, the Chronometer will display this
3851             string, with the first "%s" replaced by the current timer value
3852             in "MM:SS" or "H:MM:SS" form.
3853             If no format string is specified, the Chronometer will simply display
3854             "MM:SS" or "H:MM:SS". -->
3855        <attr name="format" format="string" localization="suggested" />
3856        <!-- Specifies whether this Chronometer counts down or counts up from the base.
3857              If not specified this is false and the Chronometer counts up. -->
3858        <attr name="countDown" format="boolean" />
3859    </declare-styleable>
3860    <declare-styleable name="CompoundButton">
3861        <!-- Indicates the initial checked state of this button. -->
3862        <attr name="checked" format="boolean" />
3863        <!-- Drawable used for the button graphic (for example, checkbox and radio button). -->
3864        <attr name="button" format="reference" />
3865        <!-- Tint to apply to the button graphic. -->
3866        <attr name="buttonTint" format="color" />
3867        <!-- Blending mode used to apply the button graphic tint. -->
3868        <attr name="buttonTintMode">
3869            <!-- The tint is drawn on top of the drawable.
3870                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3871            <enum name="src_over" value="3" />
3872            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3873                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3874            <enum name="src_in" value="5" />
3875            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3876                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3877            <enum name="src_atop" value="9" />
3878            <!-- Multiplies the color and alpha channels of the drawable with those of
3879                 the tint. [Sa * Da, Sc * Dc] -->
3880            <enum name="multiply" value="14" />
3881            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3882            <enum name="screen" value="15" />
3883            <!-- Combines the tint and drawable color and alpha channels, clamping the
3884                 result to valid color values. Saturate(S + D) -->
3885            <enum name="add" value="16" />
3886        </attr>
3887    </declare-styleable>
3888    <declare-styleable name="CheckedTextView">
3889        <!-- Indicates the initial checked state of this text. -->
3890        <attr name="checked" />
3891        <!-- Drawable used for the check mark graphic. -->
3892        <attr name="checkMark" format="reference"/>
3893        <!-- Tint to apply to the check mark. -->
3894        <attr name="checkMarkTint" format="color" />
3895        <!-- Blending mode used to apply the check mark tint. -->
3896        <attr name="checkMarkTintMode">
3897            <!-- The tint is drawn on top of the drawable.
3898                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3899            <enum name="src_over" value="3" />
3900            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3901                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3902            <enum name="src_in" value="5" />
3903            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3904                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3905            <enum name="src_atop" value="9" />
3906            <!-- Multiplies the color and alpha channels of the drawable with those of
3907                 the tint. [Sa * Da, Sc * Dc] -->
3908            <enum name="multiply" value="14" />
3909            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3910            <enum name="screen" value="15" />
3911            <!-- Combines the tint and drawable color and alpha channels, clamping the
3912                 result to valid color values. Saturate(S + D) -->
3913            <enum name="add" value="16" />
3914        </attr>
3915        <!-- Gravity for aligning a CheckedTextView's checkmark to one side or the other. -->
3916        <attr name="checkMarkGravity">
3917            <!-- Push object to the left of its container, not changing its size. -->
3918            <flag name="left" value="0x03" />
3919            <!-- Push object to the right of its container, not changing its size. -->
3920            <flag name="right" value="0x05" />
3921            <!-- Push object to the beginning of its container, not changing its size. -->
3922            <flag name="start" value="0x00800003" />
3923            <!-- Push object to the end of its container, not changing its size. -->
3924            <flag name="end" value="0x00800005" />
3925        </attr>
3926    </declare-styleable>
3927    <declare-styleable name="EditText">
3928    </declare-styleable>
3929    <declare-styleable name="FastScroll">
3930        <!-- Drawable used for the scroll bar thumb. -->
3931        <attr name="thumbDrawable" format="reference" />
3932        <!-- Minimum width of the thumb. -->
3933        <attr name="thumbMinWidth" format="dimension" />
3934        <!-- Minimum height of the thumb. -->
3935        <attr name="thumbMinHeight" format="dimension" />
3936        <!-- Drawable used for the scroll bar track. -->
3937        <attr name="trackDrawable" format="reference" />
3938        <!-- Drawable used for the section header preview when right-aligned. -->
3939        <attr name="backgroundRight" format="reference" />
3940        <!-- Drawable used for the section header preview when left-aligned. -->
3941        <attr name="backgroundLeft" format="reference" />
3942        <!-- Position of section header preview. -->
3943        <attr name="position">
3944            <!-- Floating at the top of the content. -->
3945            <enum name="floating" value="0" />
3946            <!-- Pinned to the thumb, vertically centered with the middle of the thumb. -->
3947            <enum name="atThumb" value="1" />
3948            <!-- Pinned to the thumb, vertically centered with the top edge of the thumb. -->
3949            <enum name="aboveThumb" value="2" />
3950        </attr>
3951        <attr name="textAppearance" />
3952        <attr name="textColor" />
3953        <attr name="textSize" />
3954        <!-- Minimum width of the section header preview. -->
3955        <attr name="minWidth" />
3956        <!-- Minimum height of the section header preview. -->
3957        <attr name="minHeight" />
3958        <!-- Padding for the section header preview. -->
3959        <attr name="padding" />
3960        <!-- Position of thumb in relation to the track. -->
3961        <attr name="thumbPosition">
3962            <!-- The thumb's midpoint is anchored to the track. At its
3963                 extremes, the thumb will extend half-way outside the
3964                 track. -->
3965            <enum name="midpoint" value="0" />
3966            <!-- The thumb is entirely inside the track. At its extremes,
3967                 the thumb will be contained entirely within the track. -->
3968            <enum name="inside" value="1" />
3969        </attr>
3970    </declare-styleable>
3971    <declare-styleable name="FrameLayout">
3972        <!-- Determines whether to measure all children or just those in
3973             the VISIBLE or INVISIBLE state when measuring. Defaults to false. -->
3974        <attr name="measureAllChildren" format="boolean" />
3975    </declare-styleable>
3976    <declare-styleable name="ExpandableListView">
3977        <!-- Indicator shown beside the group View. This can be a stateful Drawable. -->
3978        <attr name="groupIndicator" format="reference" />
3979        <!-- Indicator shown beside the child View. This can be a stateful Drawable. -->
3980        <attr name="childIndicator" format="reference" />
3981        <!-- The left bound for an item's indicator. To specify a left bound specific to children,
3982             use childIndicatorLeft. -->
3983        <attr name="indicatorLeft" format="dimension" />
3984        <!-- The right bound for an item's indicator. To specify a right bound specific to children,
3985             use childIndicatorRight. -->
3986        <attr name="indicatorRight" format="dimension" />
3987        <!-- The left bound for a child's indicator. -->
3988        <attr name="childIndicatorLeft" format="dimension" />
3989        <!-- The right bound for a child's indicator. -->
3990        <attr name="childIndicatorRight" format="dimension" />
3991        <!-- Drawable or color that is used as a divider for children. (It will drawn
3992             below and above child items.) The height of this will be the same as
3993             the height of the normal list item divider. -->
3994        <attr name="childDivider" format="reference|color" />
3995        <!-- The start bound for an item's indicator. To specify a start bound specific to children,
3996             use childIndicatorStart. -->
3997        <attr name="indicatorStart" format="dimension" />
3998        <!-- The end bound for an item's indicator. To specify a right bound specific to children,
3999             use childIndicatorEnd. -->
4000        <attr name="indicatorEnd" format="dimension" />
4001        <!-- The start bound for a child's indicator. -->
4002        <attr name="childIndicatorStart" format="dimension" />
4003        <!-- The end bound for a child's indicator. -->
4004        <attr name="childIndicatorEnd" format="dimension" />
4005    </declare-styleable>
4006    <declare-styleable name="Gallery">
4007        <attr name="gravity" />
4008        <!-- Sets how long a transition animation should run (in milliseconds)
4009             when layout has changed.  Only relevant if animation is turned on. -->
4010        <attr name="animationDuration" format="integer" min="0" />
4011        <attr name="spacing" format="dimension" />
4012        <!-- Sets the alpha on the items that are not selected. -->
4013        <attr name="unselectedAlpha" format="float" />
4014    </declare-styleable>
4015    <declare-styleable name="GridView">
4016        <!-- Defines the default horizontal spacing between columns. -->
4017        <attr name="horizontalSpacing" format="dimension" />
4018        <!-- Defines the default vertical spacing between rows. -->
4019        <attr name="verticalSpacing" format="dimension" />
4020        <!-- Defines how columns should stretch to fill the available empty space, if any. -->
4021        <attr name="stretchMode">
4022            <!-- Stretching is disabled. -->
4023            <enum name="none" value="0"/>
4024            <!-- The spacing between each column is stretched. -->
4025            <enum name="spacingWidth" value="1" />
4026            <!-- Each column is stretched equally. -->
4027            <enum name="columnWidth" value="2" />
4028            <!-- The spacing between each column is uniformly stretched.. -->
4029            <enum name="spacingWidthUniform" value="3" />
4030        </attr>
4031        <!-- Specifies the fixed width for each column. -->
4032        <attr name="columnWidth" format="dimension" />
4033        <!-- Defines how many columns to show. -->
4034        <attr name="numColumns" format="integer" min="0">
4035            <!-- Display as many columns as possible to fill the available space. -->
4036            <enum name="auto_fit" value="-1" />
4037        </attr>
4038        <!-- Specifies the gravity within each cell. -->
4039        <attr name="gravity" />
4040    </declare-styleable>
4041    <declare-styleable name="ImageSwitcher">
4042    </declare-styleable>
4043    <declare-styleable name="ImageView">
4044        <!-- Sets a drawable as the content of this ImageView. -->
4045        <attr name="src" format="reference|color" />
4046        <!-- Controls how the image should be resized or moved to match the size
4047             of this ImageView.  See {@link android.widget.ImageView.ScaleType} -->
4048        <attr name="scaleType">
4049            <!-- Scale using the image matrix when drawing. See
4050                 {@link android.widget.ImageView#setImageMatrix(Matrix)}. -->
4051            <enum name="matrix" value="0" />
4052            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#FILL}. -->
4053            <enum name="fitXY" value="1" />
4054            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#START}. -->
4055            <enum name="fitStart" value="2" />
4056            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#CENTER}. -->
4057            <enum name="fitCenter" value="3" />
4058            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#END}. -->
4059            <enum name="fitEnd" value="4" />
4060            <!-- Center the image in the view, but perform no scaling. -->
4061            <enum name="center" value="5" />
4062            <!-- Scale the image uniformly (maintain the image's aspect ratio) so both dimensions
4063                 (width and height) of the image will be equal to or larger than the corresponding
4064                 dimension of the view (minus padding). The image is then centered in the view. -->
4065            <enum name="centerCrop" value="6" />
4066            <!-- Scale the image uniformly (maintain the image's aspect ratio) so that both
4067                 dimensions (width and height) of the image will be equal to or less than the
4068                 corresponding dimension of the view (minus padding). The image is then centered in
4069                 the view. -->
4070            <enum name="centerInside" value="7" />
4071        </attr>
4072        <!-- Set this to true if you want the ImageView to adjust its bounds
4073             to preserve the aspect ratio of its drawable. -->
4074        <attr name="adjustViewBounds" format="boolean" />
4075        <!-- An optional argument to supply a maximum width for this view.
4076             See {see android.widget.ImageView#setMaxWidth} for details. -->
4077        <attr name="maxWidth" format="dimension" />
4078        <!-- An optional argument to supply a maximum height for this view.
4079             See {see android.widget.ImageView#setMaxHeight} for details. -->
4080        <attr name="maxHeight" format="dimension" />
4081        <!-- The tinting color for the image. By default, the tint will blend using SRC_ATOP mode.
4082             Please note that for compatibility reasons, this is NOT consistent with the default
4083             SRC_IN tint mode used by {@link android.widget.ImageView#setImageTintList} and by
4084             similar tint attributes on other views. -->
4085        <attr name="tint" format="color" />
4086        <!-- If true, the image view will be baseline aligned with based on its
4087             bottom edge. -->
4088        <attr name="baselineAlignBottom" format="boolean" />
4089         <!-- If true, the image will be cropped to fit within its padding. -->
4090        <attr name="cropToPadding" format="boolean" />
4091        <!-- The offset of the baseline within this view. See {see android.view.View#getBaseline}
4092             for details -->
4093        <attr name="baseline" format="dimension" />
4094        <!-- @hide The alpha value (0-255) set on the ImageView's drawable. Equivalent
4095             to calling ImageView.setAlpha(int), not the same as View.setAlpha(float). -->
4096        <attr name="drawableAlpha" format="integer" />
4097        <!-- Blending mode used to apply the image tint. -->
4098        <attr name="tintMode" />
4099    </declare-styleable>
4100    <declare-styleable name="ToggleButton">
4101        <!-- The text for the button when it is checked. -->
4102        <attr name="textOn" format="string" />
4103        <!-- The text for the button when it is not checked. -->
4104        <attr name="textOff" format="string" />
4105        <!-- The alpha to apply to the indicator when disabled. -->
4106        <attr name="disabledAlpha" />
4107    </declare-styleable>
4108    <declare-styleable name="RelativeLayout">
4109        <attr name="gravity" />
4110        <!-- Indicates what view should not be affected by gravity. -->
4111        <attr name="ignoreGravity" format="reference" />
4112    </declare-styleable>
4113    <declare-styleable name="LinearLayout">
4114        <!-- Should the layout be a column or a row?  Use "horizontal"
4115             for a row, "vertical" for a column.  The default is
4116             horizontal. -->
4117        <attr name="orientation" />
4118        <attr name="gravity" />
4119        <!-- When set to false, prevents the layout from aligning its children's
4120             baselines. This attribute is particularly useful when the children
4121             use different values for gravity. The default value is true. -->
4122        <attr name="baselineAligned" format="boolean" />
4123        <!-- When a linear layout is part of another layout that is baseline
4124          aligned, it can specify which of its children to baseline align to
4125          (that is, which child TextView).-->
4126        <attr name="baselineAlignedChildIndex" format="integer" min="0"/>
4127        <!-- Defines the maximum weight sum. If unspecified, the sum is computed
4128             by adding the layout_weight of all of the children. This can be
4129             used for instance to give a single child 50% of the total available
4130             space by giving it a layout_weight of 0.5 and setting the weightSum
4131             to 1.0. -->
4132        <attr name="weightSum" format="float" />
4133        <!-- When set to true, all children with a weight will be considered having
4134             the minimum size of the largest child. If false, all children are
4135             measured normally. -->
4136        <attr name="measureWithLargestChild" format="boolean" />
4137        <!-- Drawable to use as a vertical divider between buttons. -->
4138        <attr name="divider" />
4139        <!-- Setting for which dividers to show. -->
4140        <attr name="showDividers">
4141            <flag name="none" value="0" />
4142            <flag name="beginning" value="1" />
4143            <flag name="middle" value="2" />
4144            <flag name="end" value="4" />
4145        </attr>
4146        <!-- Size of padding on either end of a divider. -->
4147        <attr name="dividerPadding" format="dimension" />
4148    </declare-styleable>
4149    <declare-styleable name="GridLayout">
4150        <!-- The orientation property is not used during layout. It is only used to
4151        allocate row and column parameters when they are not specified by its children's
4152        layout paramters. GridLayout works like LinearLayout in this case;
4153        putting all the components either in a single row or in a single column -
4154        depending on the value of this flag. In the horizontal case, a columnCount
4155        property may be additionally supplied to force new rows to be created when a
4156        row is full. The rowCount attribute may be used similarly in the vertical case.
4157        The default is horizontal. -->
4158        <attr name="orientation" />
4159        <!-- The maxmimum number of rows to create when automatically positioning children. -->
4160        <attr name="rowCount" format="integer" />
4161        <!-- The maxmimum number of columns to create when automatically positioning children. -->
4162        <attr name="columnCount" format="integer" />
4163        <!-- When set to true, tells GridLayout to use default margins when none are specified
4164        in a view's layout parameters.
4165        The default value is false.
4166        See {@link android.widget.GridLayout#setUseDefaultMargins(boolean)}.-->
4167        <attr name="useDefaultMargins" format="boolean" />
4168        <!-- When set to alignMargins, causes alignment to take place between the outer
4169        boundary of a view, as defined by its margins. When set to alignBounds,
4170        causes alignment to take place between the edges of the view.
4171        The default is alignMargins.
4172        See {@link android.widget.GridLayout#setAlignmentMode(int)}.-->
4173        <attr name="alignmentMode" />
4174        <!-- When set to true, forces row boundaries to appear in the same order
4175        as row indices.
4176        The default is true.
4177        See {@link android.widget.GridLayout#setRowOrderPreserved(boolean)}.-->
4178        <attr name="rowOrderPreserved" format="boolean" />
4179        <!-- When set to true, forces column boundaries to appear in the same order
4180        as column indices.
4181        The default is true.
4182        See {@link android.widget.GridLayout#setColumnOrderPreserved(boolean)}.-->
4183        <attr name="columnOrderPreserved" format="boolean" />
4184    </declare-styleable>
4185    <declare-styleable name="ListView">
4186        <!-- Reference to an array resource that will populate the ListView.  For static content,
4187             this is simpler than populating the ListView programmatically. -->
4188        <attr name="entries" />
4189        <!-- Drawable or color to draw between list items. -->
4190        <attr name="divider" format="reference|color" />
4191        <!-- Height of the divider. Will use the intrinsic height of the divider if this
4192             is not specified. -->
4193        <attr name="dividerHeight" format="dimension" />
4194        <!-- When set to false, the ListView will not draw the divider after each header view.
4195             The default value is true. -->
4196        <attr name="headerDividersEnabled" format="boolean" />
4197        <!-- When set to false, the ListView will not draw the divider before each footer view.
4198             The default value is true. -->
4199        <attr name="footerDividersEnabled" format="boolean" />
4200        <!-- Drawable to draw above list content. -->
4201        <attr name="overScrollHeader" format="reference|color" />
4202        <!-- Drawable to draw below list content. -->
4203        <attr name="overScrollFooter" format="reference|color" />
4204    </declare-styleable>
4205    <declare-styleable name="PreferenceFrameLayout">
4206        <!-- Padding to use at the top of the prefs content. -->
4207        <attr name="borderTop" format="dimension" />
4208        <!-- Padding to use at the bottom of the prefs content. -->
4209        <attr name="borderBottom" format="dimension" />
4210        <!-- Padding to use at the left of the prefs content. -->
4211        <attr name="borderLeft" format="dimension" />
4212        <!-- Padding to use at the right of the prefs content. -->
4213        <attr name="borderRight" format="dimension" />
4214    </declare-styleable>
4215    <declare-styleable name="PreferenceFrameLayout_Layout">
4216        <!-- Padding to use at the top of the prefs content. -->
4217        <attr name="layout_removeBorders" format="boolean" />
4218    </declare-styleable>
4219    <declare-styleable name="MenuView">
4220        <!-- Default appearance of menu item text. -->
4221        <attr name="itemTextAppearance" format="reference" />
4222        <!-- Default horizontal divider between rows of menu items. -->
4223        <attr name="horizontalDivider" format="reference" />
4224        <!-- Default vertical divider between menu items. -->
4225        <attr name="verticalDivider" format="reference" />
4226        <!-- Default background for the menu header. -->
4227        <attr name="headerBackground" format="color|reference" />
4228        <!-- Default background for each menu item. -->
4229        <attr name="itemBackground" format="color|reference" />
4230        <!-- Default animations for the menu. -->
4231        <attr name="windowAnimationStyle" />
4232        <!-- Default disabled icon alpha for each menu item that shows an icon. -->
4233        <attr name="itemIconDisabledAlpha" format="float" />
4234        <!-- Whether space should be reserved in layout when an icon is missing. -->
4235        <attr name="preserveIconSpacing" format="boolean" />
4236        <!-- Drawable for the arrow icon indicating a particular item is a submenu. -->
4237        <attr name="subMenuArrow" format="reference" />
4238    </declare-styleable>
4239    <declare-styleable name="IconMenuView">
4240        <!-- Defines the height of each row. -->
4241        <attr name="rowHeight" format="dimension" />
4242        <!-- Defines the maximum number of rows displayed. -->
4243        <attr name="maxRows" format="integer" />
4244        <!-- Defines the maximum number of items per row. -->
4245        <attr name="maxItemsPerRow" format="integer" />
4246        <!-- Defines the maximum number of items to show. -->
4247        <attr name="maxItems" format="integer" />
4248        <!-- 'More' icon. -->
4249        <attr name="moreIcon" format="reference" />
4250    </declare-styleable>
4251
4252    <declare-styleable name="ProgressBar">
4253        <!-- Defines the minimum value. -->
4254        <attr name="min" format="integer" />
4255        <!-- Defines the maximum value. -->
4256        <attr name="max" format="integer" />
4257        <!-- Defines the default progress value, between 0 and max. -->
4258        <attr name="progress" format="integer" />
4259        <!-- Defines the secondary progress value, between 0 and max. This progress is drawn between
4260             the primary progress and the background.  It can be ideal for media scenarios such as
4261             showing the buffering progress while the default progress shows the play progress. -->
4262        <attr name="secondaryProgress" format="integer" />
4263        <!-- Allows to enable the indeterminate mode. In this mode the progress
4264         bar plays an infinite looping animation. -->
4265        <attr name="indeterminate" format="boolean" />
4266        <!-- Restricts to ONLY indeterminate mode (state-keeping progress mode will not work). -->
4267        <attr name="indeterminateOnly" format="boolean" />
4268        <!-- Drawable used for the indeterminate mode. -->
4269        <attr name="indeterminateDrawable" format="reference" />
4270        <!-- Drawable used for the progress mode. -->
4271        <attr name="progressDrawable" format="reference" />
4272        <!-- Duration of the indeterminate animation. -->
4273        <attr name="indeterminateDuration" format="integer" min="1" />
4274        <!-- Defines how the indeterminate mode should behave when the progress
4275        reaches max. -->
4276        <attr name="indeterminateBehavior">
4277            <!-- Progress starts over from 0. -->
4278            <enum name="repeat" value="1" />
4279            <!-- Progress keeps the current value and goes back to 0. -->
4280            <enum name="cycle" value="2" />
4281        </attr>
4282        <attr name="minWidth" format="dimension" />
4283        <attr name="maxWidth" />
4284        <attr name="minHeight" format="dimension" />
4285        <attr name="maxHeight" />
4286        <attr name="interpolator" format="reference" />
4287        <!-- Timeout between frames of animation in milliseconds.
4288             {@deprecated Not used by the framework}. -->
4289        <attr name="animationResolution" format="integer" />
4290        <!-- Defines if the associated drawables need to be mirrored when in RTL mode.
4291             Default is false. -->
4292        <attr name="mirrorForRtl" format="boolean" />
4293        <!-- Tint to apply to the progress indicator. -->
4294        <attr name="progressTint" format="color" />
4295        <!-- Blending mode used to apply the progress indicator tint. -->
4296        <attr name="progressTintMode">
4297            <!-- The tint is drawn on top of the drawable.
4298                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4299            <enum name="src_over" value="3" />
4300            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4301                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4302            <enum name="src_in" value="5" />
4303            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4304                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4305            <enum name="src_atop" value="9" />
4306            <!-- Multiplies the color and alpha channels of the drawable with those of
4307                 the tint. [Sa * Da, Sc * Dc] -->
4308            <enum name="multiply" value="14" />
4309            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4310            <enum name="screen" value="15" />
4311            <!-- Combines the tint and drawable color and alpha channels, clamping the
4312                 result to valid color values. Saturate(S + D) -->
4313            <enum name="add" value="16" />
4314        </attr>
4315        <!-- Tint to apply to the progress indicator background. -->
4316        <attr name="progressBackgroundTint" format="color" />
4317        <!-- Blending mode used to apply the progress indicator background tint. -->
4318        <attr name="progressBackgroundTintMode">
4319            <!-- The tint is drawn on top of the drawable.
4320                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4321            <enum name="src_over" value="3" />
4322            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4323                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4324            <enum name="src_in" value="5" />
4325            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4326                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4327            <enum name="src_atop" value="9" />
4328            <!-- Multiplies the color and alpha channels of the drawable with those of
4329                 the tint. [Sa * Da, Sc * Dc] -->
4330            <enum name="multiply" value="14" />
4331            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4332            <enum name="screen" value="15" />
4333            <!-- Combines the tint and drawable color and alpha channels, clamping the
4334                 result to valid color values. Saturate(S + D) -->
4335            <enum name="add" value="16" />
4336        </attr>
4337        <!-- Tint to apply to the secondary progress indicator. -->
4338        <attr name="secondaryProgressTint" format="color" />
4339        <!-- Blending mode used to apply the secondary progress indicator tint. -->
4340        <attr name="secondaryProgressTintMode">
4341            <!-- The tint is drawn on top of the drawable.
4342                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4343            <enum name="src_over" value="3" />
4344            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4345                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4346            <enum name="src_in" value="5" />
4347            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4348                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4349            <enum name="src_atop" value="9" />
4350            <!-- Multiplies the color and alpha channels of the drawable with those of
4351                 the tint. [Sa * Da, Sc * Dc] -->
4352            <enum name="multiply" value="14" />
4353            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4354            <enum name="screen" value="15" />
4355            <!-- Combines the tint and drawable color and alpha channels, clamping the
4356                 result to valid color values. Saturate(S + D) -->
4357            <enum name="add" value="16" />
4358        </attr>
4359        <!-- Tint to apply to the indeterminate progress indicator. -->
4360        <attr name="indeterminateTint" format="color" />
4361        <!-- Blending mode used to apply the indeterminate progress indicator tint. -->
4362        <attr name="indeterminateTintMode">
4363            <!-- The tint is drawn on top of the drawable.
4364                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4365            <enum name="src_over" value="3" />
4366            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4367                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4368            <enum name="src_in" value="5" />
4369            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4370                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4371            <enum name="src_atop" value="9" />
4372            <!-- Multiplies the color and alpha channels of the drawable with those of
4373                 the tint. [Sa * Da, Sc * Dc] -->
4374            <enum name="multiply" value="14" />
4375            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4376            <enum name="screen" value="15" />
4377            <!-- Combines the tint and drawable color and alpha channels, clamping the
4378                 result to valid color values. Saturate(S + D) -->
4379            <enum name="add" value="16" />
4380        </attr>
4381        <!-- Tint to apply to the background. -->
4382        <attr name="backgroundTint" />
4383        <!-- Blending mode used to apply the background tint. -->
4384        <attr name="backgroundTintMode" />
4385    </declare-styleable>
4386
4387    <declare-styleable name="SeekBar">
4388        <!-- Draws the thumb on a seekbar. -->
4389        <attr name="thumb" format="reference" />
4390        <!-- An offset for the thumb that allows it to extend out of the range of the track. -->
4391        <attr name="thumbOffset" format="dimension" />
4392        <!-- Whether to split the track and leave a gap for the thumb drawable. -->
4393        <attr name="splitTrack" format="boolean" />
4394        <!-- Whether to force the track's alpha to ?android:attr/disabledAlpha
4395             when disabled. This is required for Holo and Gingerbread, but
4396             should always be false for Material and  beyond.
4397             @hide Developers shouldn't need to change this. -->
4398        <attr name="useDisabledAlpha" format="boolean" />
4399        <!-- Tint to apply to the thumb drawable. -->
4400        <attr name="thumbTint" format="color" />
4401        <!-- Blending mode used to apply the thumb tint. -->
4402        <attr name="thumbTintMode">
4403            <!-- The tint is drawn on top of the drawable.
4404                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4405            <enum name="src_over" value="3" />
4406            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4407                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4408            <enum name="src_in" value="5" />
4409            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4410                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4411            <enum name="src_atop" value="9" />
4412            <!-- Multiplies the color and alpha channels of the drawable with those of
4413                 the tint. [Sa * Da, Sc * Dc] -->
4414            <enum name="multiply" value="14" />
4415            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4416            <enum name="screen" value="15" />
4417            <!-- Combines the tint and drawable color and alpha channels, clamping the
4418                 result to valid color values. Saturate(S + D) -->
4419            <enum name="add" value="16" />
4420        </attr>
4421        <!-- Drawable displayed at each progress position on a seekbar. -->
4422        <attr name="tickMark" format="reference" />
4423        <!-- Tint to apply to the tick mark drawable. -->
4424        <attr name="tickMarkTint" format="color" />
4425        <!-- Blending mode used to apply the tick mark tint. -->
4426        <attr name="tickMarkTintMode">
4427            <!-- The tint is drawn on top of the drawable.
4428                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4429            <enum name="src_over" value="3" />
4430            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4431                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4432            <enum name="src_in" value="5" />
4433            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4434                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4435            <enum name="src_atop" value="9" />
4436            <!-- Multiplies the color and alpha channels of the drawable with those of
4437                 the tint. [Sa * Da, Sc * Dc] -->
4438            <enum name="multiply" value="14" />
4439            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4440            <enum name="screen" value="15" />
4441            <!-- Combines the tint and drawable color and alpha channels, clamping the
4442                 result to valid color values. Saturate(S + D) -->
4443            <enum name="add" value="16" />
4444        </attr>
4445    </declare-styleable>
4446
4447    <declare-styleable name="StackView">
4448        <!-- Color of the res-out outline. -->
4449        <attr name="resOutColor" format="color" />
4450        <!-- Color of the outline of click feedback. -->
4451        <attr name="clickColor" format="color" />
4452    </declare-styleable>
4453
4454    <declare-styleable name="RatingBar">
4455        <!-- The number of stars (or rating items) to show. -->
4456        <attr name="numStars" format="integer" />
4457        <!-- The rating to set by default. -->
4458        <attr name="rating" format="float" />
4459        <!-- The step size of the rating. -->
4460        <attr name="stepSize" format="float" />
4461        <!-- Whether this rating bar is an indicator (and non-changeable by the user). -->
4462        <attr name="isIndicator" format="boolean" />
4463    </declare-styleable>
4464
4465    <declare-styleable name="RadioGroup">
4466        <!-- The id of the child radio button that should be checked by default
4467             within this radio group. -->
4468        <attr name="checkedButton" format="integer" />
4469        <!-- Should the radio group be a column or a row?  Use "horizontal"
4470             for a row, "vertical" for a column.  The default is
4471             vertical. -->
4472        <attr name="orientation" />
4473    </declare-styleable>
4474    <declare-styleable name="TableLayout">
4475        <!-- The zero-based index of the columns to stretch. The column indices
4476             must be separated by a comma: 1, 2, 5. Illegal and duplicate
4477             indices are ignored. You can stretch all columns by using the
4478             value "*" instead. Note that a column can be marked stretchable
4479             and shrinkable at the same time. -->
4480        <attr name="stretchColumns" format="string" />
4481       <!-- The zero-based index of the columns to shrink. The column indices
4482             must be separated by a comma: 1, 2, 5. Illegal and duplicate
4483             indices are ignored. You can shrink all columns by using the
4484             value "*" instead. Note that a column can be marked stretchable
4485             and shrinkable at the same time. -->
4486        <attr name="shrinkColumns" format="string" />
4487        <!-- The zero-based index of the columns to collapse. The column indices
4488             must be separated by a comma: 1, 2, 5. Illegal and duplicate
4489             indices are ignored. -->
4490        <attr name="collapseColumns" format="string" />
4491    </declare-styleable>
4492    <declare-styleable name="TableRow">
4493
4494    </declare-styleable>
4495    <declare-styleable name="TableRow_Cell">
4496        <!-- The index of the column in which this child should be. -->
4497        <attr name="layout_column" format="integer" />
4498        <!-- Defines how many columns this child should span.  Must be >= 1.-->
4499        <attr name="layout_span" format="integer" />
4500    </declare-styleable>
4501    <declare-styleable name="TabWidget">
4502        <!-- Drawable used to draw the divider between tabs. -->
4503        <attr name="divider" />
4504        <!-- Determines whether the strip under the tab indicators is drawn or not. -->
4505        <attr name="tabStripEnabled" format="boolean" />
4506        <!-- Drawable used to draw the left part of the strip underneath the tabs. -->
4507        <attr name="tabStripLeft" format="reference" />
4508        <!-- Drawable used to draw the right part of the strip underneath the tabs. -->
4509        <attr name="tabStripRight" format="reference" />
4510        <!-- Layout used to organize each tab's content. -->
4511        <attr name="tabLayout" format="reference" />
4512    </declare-styleable>
4513    <declare-styleable name="TextAppearance">
4514        <!-- Text color. -->
4515        <attr name="textColor" />
4516        <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
4517        <attr name="textSize" />
4518        <!-- Style (normal, bold, italic, bold|italic) for the text. -->
4519        <attr name="textStyle" />
4520        <!-- Weight for the font used in the TextView. -->
4521        <attr name="textFontWeight" />
4522        <!-- Typeface (normal, sans, serif, monospace) for the text. -->
4523        <attr name="typeface" />
4524        <!-- Font family (named by string or as a font resource reference) for the text. -->
4525        <attr name="fontFamily" />
4526        <!-- Color of the text selection highlight. -->
4527        <attr name="textColorHighlight" />
4528        <!-- Color of the hint text. -->
4529        <attr name="textColorHint" />
4530        <!-- Color of the links. -->
4531        <attr name="textColorLink" />
4532        <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
4533        <attr name="textAllCaps" format="boolean" />
4534        <!-- Place a blurred shadow of text underneath the text, drawn with the
4535             specified color. The text shadow produced does not interact with
4536             properties on View that are responsible for real time shadows,
4537             {@link android.R.styleable#View_elevation elevation} and
4538             {@link android.R.styleable#View_translationZ translationZ}. -->
4539        <attr name="shadowColor" format="color" />
4540        <!-- Horizontal offset of the text shadow. -->
4541        <attr name="shadowDx" format="float" />
4542        <!-- Vertical offset of the text shadow. -->
4543        <attr name="shadowDy" format="float" />
4544        <!-- Blur radius of the text shadow. -->
4545        <attr name="shadowRadius" format="float" />
4546        <!-- Elegant text height, especially for less compacted complex script text. -->
4547        <attr name="elegantTextHeight" format="boolean" />
4548        <!-- Whether to respect the ascent and descent of the fallback fonts that are used in
4549        displaying the text. When true, fallback fonts that end up getting used can increase
4550        the ascent and descent of the lines that they are used on. -->
4551        <attr name="fallbackLineSpacing" format="boolean"/>
4552        <!-- Text letter-spacing. -->
4553        <attr name="letterSpacing" format="float" />
4554        <!-- Font feature settings. -->
4555        <attr name="fontFeatureSettings" format="string" />
4556    </declare-styleable>
4557    <declare-styleable name="TextClock">
4558        <!-- Specifies the formatting pattern used to show the time and/or date
4559             in 12-hour mode. Please refer to {@link android.text.format.DateFormat}
4560             for a complete description of accepted formatting patterns.
4561             The default pattern is a locale-appropriate equivalent of "h:mm a". -->
4562        <attr name="format12Hour" format="string"/>
4563        <!-- Specifies the formatting pattern used to show the time and/or date
4564             in 24-hour mode. Please refer to {@link android.text.format.DateFormat}
4565             for a complete description of accepted formatting patterns.
4566             The default pattern is a locale-appropriate equivalent of "H:mm". -->
4567        <attr name="format24Hour" format="string"/>
4568        <!-- Specifies the time zone to use. When this attribute is specified, the
4569             TextClock will ignore the time zone of the system. To use the user's
4570             time zone, do not specify this attribute. The default value is the
4571             user's time zone. Please refer to {@link java.util.TimeZone} for more
4572             information about time zone ids. -->
4573        <attr name="timeZone" format="string"/>
4574    </declare-styleable>
4575    <declare-styleable name="TextSwitcher">
4576    </declare-styleable>
4577    <declare-styleable name="TextView">
4578        <!-- Determines the minimum type that getText() will return.
4579             The default is "normal".
4580             Note that EditText and LogTextBox always return Editable,
4581             even if you specify something less powerful here. -->
4582        <attr name="bufferType">
4583            <!-- Can return any CharSequence, possibly a
4584             Spanned one if the source text was Spanned. -->
4585            <enum name="normal" value="0" />
4586            <!-- Can only return Spannable. -->
4587            <enum name="spannable" value="1" />
4588            <!-- Can only return Spannable and Editable. -->
4589            <enum name="editable" value="2" />
4590        </attr>
4591        <!-- Text to display. -->
4592        <attr name="text" format="string" localization="suggested" />
4593        <!-- Hint text to display when the text is empty. -->
4594        <attr name="hint" format="string" />
4595        <!-- Text color. -->
4596        <attr name="textColor" />
4597        <!-- Color of the text selection highlight. -->
4598        <attr name="textColorHighlight" />
4599        <!-- Color of the hint text. -->
4600        <attr name="textColorHint" />
4601        <!-- Base text color, typeface, size, and style. -->
4602        <attr name="textAppearance" />
4603        <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
4604        <attr name="textSize" />
4605        <!-- Sets the horizontal scaling factor for the text. -->
4606        <attr name="textScaleX" format="float" />
4607        <!-- Typeface (normal, sans, serif, monospace) for the text. -->
4608        <attr name="typeface" />
4609        <!-- Style (normal, bold, italic, bold|italic) for the text. -->
4610        <attr name="textStyle" />
4611        <!-- Weight for the font used in the TextView. -->
4612        <attr name="textFontWeight" />
4613        <!-- Font family (named by string or as a font resource reference) for the text. -->
4614        <attr name="fontFamily" />
4615        <!-- Text color for links. -->
4616        <attr name="textColorLink" />
4617        <!-- Makes the cursor visible (the default) or invisible. -->
4618        <attr name="cursorVisible" format="boolean" />
4619        <!-- Makes the TextView be at most this many lines tall.
4620
4621        When used on an editable text, the <code>inputType</code> attribute's value must be
4622        combined with the <code>textMultiLine</code> flag for the maxLines attribute to apply. -->
4623        <attr name="maxLines" format="integer" min="0" />
4624        <!-- Makes the TextView be at most this many pixels tall. -->
4625        <attr name="maxHeight" />
4626        <!-- Makes the TextView be exactly this many lines tall. -->
4627        <attr name="lines" format="integer" min="0" />
4628        <!-- Makes the TextView be exactly this tall.
4629             You could get the same effect by specifying this number in the
4630             layout parameters. -->
4631        <attr name="height" format="dimension" />
4632        <!-- Makes the TextView be at least this many lines tall.
4633
4634        When used on an editable text, the <code>inputType</code> attribute's value must be
4635        combined with the <code>textMultiLine</code> flag for the minLines attribute to apply. -->
4636        <attr name="minLines" format="integer" min="0" />
4637        <!-- Makes the TextView be at least this many pixels tall. -->
4638        <attr name="minHeight" />
4639        <!-- Makes the TextView be at most this many ems wide. -->
4640        <attr name="maxEms" format="integer" min="0" />
4641        <!-- Makes the TextView be at most this many pixels wide. -->
4642        <attr name="maxWidth" />
4643        <!-- Makes the TextView be exactly this many ems wide. -->
4644        <attr name="ems" format="integer" min="0" />
4645        <!-- Makes the TextView be exactly this wide.
4646             You could get the same effect by specifying this number in the
4647             layout parameters. -->
4648        <attr name="width" format="dimension" />
4649        <!-- Makes the TextView be at least this many ems wide. -->
4650        <attr name="minEms" format="integer" min="0" />
4651        <!-- Makes the TextView be at least this many pixels wide. -->
4652        <attr name="minWidth" />
4653        <!-- Specifies how to align the text by the view's x- and/or y-axis
4654             when the text is smaller than the view. -->
4655        <attr name="gravity" />
4656        <!-- Whether the text is allowed to be wider than the view (and
4657             therefore can be scrolled horizontally). -->
4658        <attr name="scrollHorizontally" format="boolean" />
4659        <!-- Whether the characters of the field are displayed as
4660             password dots instead of themselves.
4661             {@deprecated Use inputType instead.} -->
4662        <attr name="password" format="boolean" />
4663        <!-- Constrains the text to a single horizontally scrolling line
4664             instead of letting it wrap onto multiple lines, and advances
4665             focus instead of inserting a newline when you press the
4666             enter key.
4667
4668             The default value is false (multi-line wrapped text mode) for non-editable text, but if
4669             you specify any value for inputType, the default is true (single-line input field mode).
4670
4671             {@deprecated This attribute is deprecated. Use <code>maxLines</code> instead to change
4672             the layout of a static text, and use the <code>textMultiLine</code> flag in the
4673             inputType attribute instead for editable text views (if both singleLine and inputType
4674             are supplied, the inputType flags will override the value of singleLine). } -->
4675        <attr name="singleLine" format="boolean" />
4676        <!-- Specifies whether the widget is enabled. The interpretation of the enabled state varies by subclass.
4677             For example, a non-enabled EditText prevents the user from editing the contained text, and
4678             a non-enabled Button prevents the user from tapping the button.
4679             The appearance of enabled and non-enabled widgets may differ, if the drawables referenced
4680             from evaluating state_enabled differ. -->
4681        <attr name="enabled" format="boolean" />
4682        <!-- If the text is selectable, select it all when the view takes
4683             focus. -->
4684        <attr name="selectAllOnFocus" format="boolean" />
4685        <!-- Leave enough room for ascenders and descenders instead of
4686             using the font ascent and descent strictly.  (Normally true). -->
4687        <attr name="includeFontPadding" format="boolean" />
4688        <!-- Set an input filter to constrain the text length to the
4689             specified number. -->
4690        <attr name="maxLength" format="integer" min="0" />
4691        <!-- Place a blurred shadow of text underneath the text, drawn with the
4692             specified color. The text shadow produced does not interact with
4693             properties on View that are responsible for real time shadows,
4694             {@link android.R.styleable#View_elevation elevation} and
4695             {@link android.R.styleable#View_translationZ translationZ}. -->
4696        <attr name="shadowColor" />
4697        <!-- Horizontal offset of the text shadow. -->
4698        <attr name="shadowDx" />
4699        <!-- Vertical offset of the text shadow. -->
4700        <attr name="shadowDy" />
4701        <!-- Blur radius of the text shadow. -->
4702        <attr name="shadowRadius" />
4703        <attr name="autoLink" />
4704        <!-- If set to false, keeps the movement method from being set
4705             to the link movement method even if autoLink causes links
4706             to be found. -->
4707        <attr name="linksClickable" format="boolean" />
4708        <!-- If set, specifies that this TextView has a numeric input method.
4709             The default is false.
4710             {@deprecated Use inputType instead.} -->
4711        <attr name="numeric">
4712            <!-- Input is numeric. -->
4713            <flag name="integer" value="0x01" />
4714            <!-- Input is numeric, with sign allowed. -->
4715            <flag name="signed" value="0x03" />
4716            <!-- Input is numeric, with decimals allowed. -->
4717            <flag name="decimal" value="0x05" />
4718        </attr>
4719        <!-- If set, specifies that this TextView has a numeric input method
4720             and that these specific characters are the ones that it will
4721             accept.
4722             If this is set, numeric is implied to be true.
4723             The default is false. -->
4724        <attr name="digits" format="string" />
4725        <!-- If set, specifies that this TextView has a phone number input
4726             method. The default is false.
4727             {@deprecated Use inputType instead.} -->
4728        <attr name="phoneNumber" format="boolean" />
4729        <!-- If set, specifies that this TextView should use the specified
4730             input method (specified by fully-qualified class name).
4731             {@deprecated Use inputType instead.} -->
4732        <attr name="inputMethod" format="string" />
4733        <!-- If set, specifies that this TextView has a textual input method
4734             and should automatically capitalize what the user types.
4735             The default is "none".
4736             {@deprecated Use inputType instead.} -->
4737        <attr name="capitalize">
4738            <!-- Don't automatically capitalize anything. -->
4739            <enum name="none" value="0" />
4740            <!-- Capitalize the first word of each sentence. -->
4741            <enum name="sentences" value="1" />
4742            <!-- Capitalize the first letter of every word. -->
4743            <enum name="words" value="2" />
4744            <!-- Capitalize every character. -->
4745            <enum name="characters" value="3" />
4746        </attr>
4747        <!-- If set, specifies that this TextView has a textual input method
4748             and automatically corrects some common spelling errors.
4749             The default is "false".
4750             {@deprecated Use inputType instead.} -->
4751        <attr name="autoText" format="boolean" />
4752        <!-- If set, specifies that this TextView has an input method.
4753             It will be a textual one unless it has otherwise been specified.
4754             For TextView, this is false by default.  For EditText, it is
4755             true by default.
4756             {@deprecated Use inputType instead.} -->
4757        <attr name="editable" format="boolean" />
4758        <!-- If set, the text view will include its current complete text
4759             inside of its frozen icicle in addition to meta-data such as
4760             the current cursor position.  By default this is disabled;
4761             it can be useful when the contents of a text view is not stored
4762             in a persistent place such as a content provider. For
4763             {@link android.widget.EditText} it is always enabled, regardless
4764             of the value of the attribute. -->
4765        <attr name="freezesText" format="boolean" />
4766        <!-- If set, causes words that are longer than the view is wide
4767             to be ellipsized instead of broken in the middle.
4768             You will often also want to set scrollHorizontally or singleLine
4769             as well so that the text as a whole is also constrained to
4770             a single line instead of still allowed to be broken onto
4771             multiple lines. -->
4772        <attr name="ellipsize" />
4773        <!-- The drawable to be drawn above the text. -->
4774        <attr name="drawableTop" format="reference|color" />
4775        <!-- The drawable to be drawn below the text. -->
4776        <attr name="drawableBottom" format="reference|color" />
4777        <!-- The drawable to be drawn to the left of the text. -->
4778        <attr name="drawableLeft" format="reference|color" />
4779        <!-- The drawable to be drawn to the right of the text. -->
4780        <attr name="drawableRight" format="reference|color" />
4781        <!-- The drawable to be drawn to the start of the text. -->
4782        <attr name="drawableStart" format="reference|color" />
4783        <!-- The drawable to be drawn to the end of the text. -->
4784        <attr name="drawableEnd" format="reference|color" />
4785        <!-- The padding between the drawables and the text. -->
4786        <attr name="drawablePadding" format="dimension" />
4787        <!-- Tint to apply to the compound (left, top, etc.) drawables. -->
4788        <attr name="drawableTint" format="color" />
4789        <!-- Blending mode used to apply the compound (left, top, etc.) drawables tint. -->
4790        <attr name="drawableTintMode">
4791            <!-- The tint is drawn on top of the drawable.
4792                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4793            <enum name="src_over" value="3" />
4794            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4795                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4796            <enum name="src_in" value="5" />
4797            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4798                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4799            <enum name="src_atop" value="9" />
4800            <!-- Multiplies the color and alpha channels of the drawable with those of
4801                 the tint. [Sa * Da, Sc * Dc] -->
4802            <enum name="multiply" value="14" />
4803            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4804            <enum name="screen" value="15" />
4805            <!-- Combines the tint and drawable color and alpha channels, clamping the
4806                 result to valid color values. Saturate(S + D) -->
4807            <enum name="add" value="16" />
4808        </attr>
4809        <!-- Extra spacing between lines of text. The value will not be applied for the last
4810             line of text. -->
4811        <attr name="lineSpacingExtra" format="dimension" />
4812        <!-- Extra spacing between lines of text, as a multiplier. The value will not be applied
4813             for the last line of text.-->
4814        <attr name="lineSpacingMultiplier" format="float" />
4815        <!-- Explicit height between lines of text. If set, this will override the values set
4816             for lineSpacingExtra and lineSpacingMultiplier. -->
4817        <attr name="lineHeight" format="dimension" />
4818        <!-- Distance from the top of the TextView to the first text baseline. If set, this
4819             overrides the value set for paddingTop. -->
4820        <attr name="firstBaselineToTopHeight" format="dimension" />
4821        <!-- Distance from the bottom of the TextView to the last text baseline. If set, this
4822             overrides the value set for paddingBottom. -->
4823        <attr name="lastBaselineToBottomHeight" format="dimension" />
4824        <!-- The number of times to repeat the marquee animation. Only applied if the
4825             TextView has marquee enabled. -->
4826        <attr name="marqueeRepeatLimit" format="integer">
4827            <!-- Indicates that marquee should repeat indefinitely. -->
4828            <enum name="marquee_forever" value="-1" />
4829        </attr>
4830        <attr name="inputType" />
4831        <!-- Whether undo should be allowed for editable text. Defaults to true. -->
4832        <attr name="allowUndo" format="boolean" />
4833        <attr name="imeOptions" />
4834        <!-- An addition content type description to supply to the input
4835             method attached to the text view, which is private to the
4836             implementation of the input method.  This simply fills in
4837             the {@link android.view.inputmethod.EditorInfo#privateImeOptions
4838             EditorInfo.privateImeOptions} field when the input
4839             method is connected. -->
4840        <attr name="privateImeOptions" format="string" />
4841        <!-- Supply a value for
4842             {@link android.view.inputmethod.EditorInfo#actionLabel EditorInfo.actionLabel}
4843             used when an input method is connected to the text view. -->
4844        <attr name="imeActionLabel" format="string" />
4845        <!-- Supply a value for
4846             {@link android.view.inputmethod.EditorInfo#actionId EditorInfo.actionId}
4847             used when an input method is connected to the text view. -->
4848        <attr name="imeActionId" format="integer" />
4849        <!-- Reference to an
4850             {@link android.R.styleable#InputExtras &lt;input-extras&gt;}
4851             XML resource containing additional data to
4852             supply to an input method, which is private to the implementation
4853             of the input method.  This simply fills in
4854             the {@link android.view.inputmethod.EditorInfo#extras
4855             EditorInfo.extras} field when the input
4856             method is connected. -->
4857        <attr name="editorExtras" format="reference" />
4858
4859        <!-- Reference to a drawable that will be used to display a text selection
4860             anchor on the left side of a selection region. -->
4861        <attr name="textSelectHandleLeft" />
4862        <!-- Reference to a drawable that will be used to display a text selection
4863             anchor on the right side of a selection region. -->
4864        <attr name="textSelectHandleRight" />
4865        <!-- Reference to a drawable that will be used to display a text selection
4866             anchor for positioning the cursor within text. -->
4867        <attr name="textSelectHandle" />
4868        <!-- The layout of the view that is displayed on top of the cursor to paste inside a
4869             TextEdit field. -->
4870        <attr name="textEditPasteWindowLayout" />
4871        <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. -->
4872        <attr name="textEditNoPasteWindowLayout" />
4873        <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the
4874             insertion cursor because it would be clipped if it were positioned on top. -->
4875        <attr name="textEditSidePasteWindowLayout" />
4876        <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. -->
4877        <attr name="textEditSideNoPasteWindowLayout" />
4878
4879        <!-- Layout of the TextView item that will populate the suggestion popup window. -->
4880        <attr name="textEditSuggestionItemLayout" />
4881        <!-- Layout of the container of the suggestion popup window. -->
4882        <attr name="textEditSuggestionContainerLayout" />
4883        <!-- Style of the highlighted string in the suggestion popup window. -->
4884        <attr name="textEditSuggestionHighlightStyle" />
4885
4886
4887        <!-- Reference to a drawable that will be drawn under the insertion cursor. -->
4888        <attr name="textCursorDrawable" />
4889
4890        <!-- Indicates that the content of a non-editable text can be selected. -->
4891        <attr name="textIsSelectable" />
4892        <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
4893        <attr name="textAllCaps" />
4894        <!-- Elegant text height, especially for less compacted complex script text. -->
4895        <attr name="elegantTextHeight" />
4896        <!-- Whether to respect the ascent and descent of the fallback fonts that are used in
4897        displaying the text. When true, fallback fonts that end up getting used can increase
4898        the ascent and descent of the lines that they are used on. -->
4899        <attr name="fallbackLineSpacing" format="boolean"/>
4900        <!-- Text letter-spacing. -->
4901        <attr name="letterSpacing" />
4902        <!-- Font feature settings. -->
4903        <attr name="fontFeatureSettings" />
4904        <!-- Break strategy (control over paragraph layout). -->
4905        <attr name="breakStrategy">
4906            <!-- Line breaking uses simple strategy. -->
4907            <enum name="simple" value="0" />
4908            <!-- Line breaking uses high-quality strategy, including hyphenation. -->
4909            <enum name="high_quality" value="1" />
4910            <!-- Line breaking strategy balances line lengths. -->
4911            <enum name="balanced" value="2" />
4912        </attr>
4913        <!-- Frequency of automatic hyphenation. -->
4914        <attr name="hyphenationFrequency">
4915            <!-- No hyphenation. -->
4916            <enum name="none" value="0" />
4917            <!-- Less frequent hyphenation, useful for informal use cases, such
4918            as chat messages. -->
4919            <enum name="normal" value="1" />
4920            <!-- Standard amount of hyphenation, useful for running text and for
4921            screens with limited space for text. -->
4922            <enum name="full" value="2" />
4923        </attr>
4924        <!-- Specify the type of auto-size. Note that this feature is not supported by EditText,
4925        works only for TextView. -->
4926        <attr name="autoSizeTextType" format="enum">
4927            <!-- No auto-sizing (default). -->
4928            <enum name="none" value="0" />
4929            <!-- Uniform horizontal and vertical text size scaling to fit within the
4930            container. -->
4931            <enum name="uniform" value="1" />
4932        </attr>
4933        <!-- Specify the auto-size step size if <code>autoSizeTextType</code> is set to
4934        <code>uniform</code>. The default is 1px. Overwrites
4935        <code>autoSizePresetSizes</code> if set. -->
4936        <attr name="autoSizeStepGranularity" format="dimension" />
4937        <!-- Resource array of dimensions to be used in conjunction with
4938        <code>autoSizeTextType</code> set to <code>uniform</code>. Overrides
4939        <code>autoSizeStepGranularity</code> if set. -->
4940        <attr name="autoSizePresetSizes"/>
4941        <!-- The minimum text size constraint to be used when auto-sizing text. -->
4942        <attr name="autoSizeMinTextSize" format="dimension" />
4943        <!-- The maximum text size constraint to be used when auto-sizing text. -->
4944        <attr name="autoSizeMaxTextSize" format="dimension" />
4945        <!-- Mode for justification. -->
4946        <attr name="justificationMode">
4947            <!-- No justification. -->
4948            <enum name="none" value="0" />
4949            <!-- Justification by stretching word spacing. -->
4950            <enum name="inter_word" value = "1" />
4951        </attr>
4952        <!-- Whether or not this view is a heading for accessibility purposes. -->
4953        <attr name="accessibilityHeading" format="boolean"/>
4954    </declare-styleable>
4955    <declare-styleable name="TextViewAppearance">
4956        <!-- Base text color, typeface, size, and style. -->
4957        <attr name="textAppearance" />
4958    </declare-styleable>
4959    <declare-styleable name="SelectionModeDrawables">
4960        <attr name="actionModeSelectAllDrawable" />
4961        <attr name="actionModeCutDrawable" />
4962        <attr name="actionModeCopyDrawable" />
4963        <attr name="actionModePasteDrawable" />
4964    </declare-styleable>
4965    <declare-styleable name="SuggestionSpan">
4966        <attr name="textUnderlineColor" />
4967        <attr name="textUnderlineThickness" />
4968    </declare-styleable>
4969    <!-- An <code>input-extras</code> is a container for extra data to supply to
4970         an input method.  Contains
4971         one more more {@link #Extra <extra>} tags.  -->
4972    <declare-styleable name="InputExtras">
4973    </declare-styleable>
4974    <declare-styleable name="AutoCompleteTextView">
4975        <!-- Defines the hint displayed in the drop down menu. -->
4976        <attr name="completionHint" format="string" />
4977        <!-- Defines the hint view displayed in the drop down menu. -->
4978        <attr name="completionHintView" format="reference" />
4979        <!-- Defines the number of characters that the user must type before
4980         completion suggestions are displayed in a drop down menu. -->
4981        <attr name="completionThreshold" format="integer" min="1" />
4982        <!-- Selector in a drop down list. -->
4983        <attr name="dropDownSelector" format="reference|color" />
4984        <!-- View to anchor the auto-complete dropdown to. If not specified, the text view itself
4985             is used. -->
4986        <attr name="dropDownAnchor" format="reference" />
4987        <!-- Specifies the basic width of the dropdown. Its value may
4988             be a dimension (such as "12dip") for a constant width,
4989             fill_parent or match_parent to match the width of the
4990             screen, or wrap_content to match the width of
4991             the anchored view. -->
4992        <attr name="dropDownWidth" format="dimension">
4993            <!-- The dropdown should fill the width of the screen.
4994                 This constant is deprecated starting from API Level 8 and
4995                 is replaced by {@code match_parent}. -->
4996            <enum name="fill_parent" value="-1" />
4997            <!-- The dropdown should fit the width of the screen.
4998                 Introduced in API Level 8. -->
4999            <enum name="match_parent" value="-1" />
5000            <!-- The dropdown should fit the width of its anchor. -->
5001            <enum name="wrap_content" value="-2" />
5002        </attr>
5003        <!-- Specifies the basic height of the dropdown. Its value may
5004             be a dimension (such as "12dip") for a constant height,
5005             fill_parent or match_parent to fill the height of the
5006             screen, or wrap_content to match the height of
5007             the content of the drop down. -->
5008        <attr name="dropDownHeight" format="dimension">
5009            <!-- The dropdown should fit the height of the screen.
5010                 This constant is deprecated starting from API Level 8 and
5011                 is replaced by {@code match_parent}. -->
5012            <enum name="fill_parent" value="-1" />
5013            <!-- The dropdown should fit the height of the screen.
5014                 Introduced in API Level 8. -->
5015            <enum name="match_parent" value="-1" />
5016            <!-- The dropdown should fit the height of the content. -->
5017            <enum name="wrap_content" value="-2" />
5018        </attr>
5019        <attr name="inputType" />
5020        <!-- Theme to use for the completion popup window. -->
5021        <attr name="popupTheme" />
5022    </declare-styleable>
5023    <declare-styleable name="PopupWindow">
5024        <!-- The background to use for the popup window. -->
5025        <attr name="popupBackground" format="reference|color" />
5026        <!-- Window elevation to use for the popup window. -->
5027        <attr name="popupElevation" format="dimension" />
5028        <!-- The animation style to use for the popup window. -->
5029        <attr name="popupAnimationStyle" format="reference" />
5030        <!-- Whether the popup window should overlap its anchor view. -->
5031        <attr name="overlapAnchor" format="boolean" />
5032        <!-- Transition used to move views into the popup window. -->
5033        <attr name="popupEnterTransition" format="reference" />
5034        <!-- Transition used to move views out of the popup window. -->
5035        <attr name="popupExitTransition" format="reference" />
5036    </declare-styleable>
5037    <declare-styleable name="ListPopupWindow">
5038        <!-- Amount of pixels by which the drop down should be offset vertically. -->
5039        <attr name="dropDownVerticalOffset" format="dimension" />
5040        <!-- Amount of pixels by which the drop down should be offset horizontally. -->
5041        <attr name="dropDownHorizontalOffset" format="dimension" />
5042    </declare-styleable>
5043    <declare-styleable name="ViewAnimator">
5044        <!-- Identifier for the animation to use when a view is shown. -->
5045        <attr name="inAnimation" format="reference" />
5046        <!-- Identifier for the animation to use when a view is hidden. -->
5047        <attr name="outAnimation" format="reference" />
5048        <!-- Defines whether to animate the current View when the ViewAnimation
5049             is first displayed. -->
5050        <attr name="animateFirstView" format="boolean" />
5051    </declare-styleable>
5052    <declare-styleable name="ViewFlipper">
5053        <attr name="flipInterval" format="integer" min="0" />
5054        <!-- When true, automatically start animating. -->
5055        <attr name="autoStart" format="boolean" />
5056    </declare-styleable>
5057    <declare-styleable name="AdapterViewAnimator">
5058        <!-- Identifier for the animation to use when a view is shown. -->
5059        <attr name="inAnimation" />
5060        <!-- Identifier for the animation to use when a view is hidden. -->
5061        <attr name="outAnimation" />
5062        <!--Defines whether the animator loops to the first view once it
5063        has reached the end of the list. -->
5064        <attr name="loopViews" format="boolean" />
5065        <!-- Defines whether to animate the current View when the ViewAnimation
5066        is first displayed. -->
5067        <attr name="animateFirstView" />
5068    </declare-styleable>
5069    <declare-styleable name="AdapterViewFlipper">
5070        <attr name="flipInterval" />
5071        <!-- When true, automatically start animating. -->
5072        <attr name="autoStart" />
5073    </declare-styleable>
5074    <declare-styleable name="ViewSwitcher">
5075    </declare-styleable>
5076    <declare-styleable name="ScrollView">
5077        <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
5078        <attr name="fillViewport" format="boolean" />
5079    </declare-styleable>
5080    <declare-styleable name="HorizontalScrollView">
5081        <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
5082        <attr name="fillViewport" />
5083    </declare-styleable>
5084    <declare-styleable name="Spinner">
5085        <!-- The prompt to display when the spinner's dialog is shown. -->
5086        <attr name="prompt" format="reference" />
5087        <!-- Display mode for spinner options. -->
5088        <attr name="spinnerMode" format="enum">
5089            <!-- Spinner options will be presented to the user as a dialog window. -->
5090            <enum name="dialog" value="0" />
5091            <!-- Spinner options will be presented to the user as an inline dropdown
5092                 anchored to the spinner widget itself. -->
5093            <enum name="dropdown" value="1" />
5094        </attr>
5095        <!-- List selector to use for spinnerMode="dropdown" display. -->
5096        <attr name="dropDownSelector" />
5097        <!-- Theme to use for the drop-down or dialog popup window. -->
5098        <attr name="popupTheme" />
5099        <!-- Background drawable to use for the dropdown in spinnerMode="dropdown". -->
5100        <attr name="popupBackground" />
5101        <!-- Window elevation to use for the dropdown in spinnerMode="dropdown". -->
5102        <attr name="popupElevation" />
5103        <!-- Width of the dropdown in spinnerMode="dropdown". -->
5104        <attr name="dropDownWidth" />
5105        <!-- Reference to a layout to use for displaying a prompt in the dropdown for
5106             spinnerMode="dropdown". This layout must contain a TextView with the id
5107             {@code @android:id/text1} to be populated with the prompt text. -->
5108        <attr name="popupPromptView" format="reference" />
5109        <!-- Gravity setting for positioning the currently selected item. -->
5110        <attr name="gravity" />
5111        <!-- Whether this spinner should mark child views as enabled/disabled when
5112             the spinner itself is enabled/disabled. -->
5113        <attr name="disableChildrenWhenDisabled" format="boolean" />
5114    </declare-styleable>
5115
5116    <declare-styleable name="DatePicker">
5117        <!-- The first day of week according to {@link java.util.Calendar}. -->
5118        <attr name="firstDayOfWeek" />
5119        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
5120        <attr name="minDate" format="string" />
5121        <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. -->
5122        <attr name="maxDate" format="string" />
5123
5124        <!-- Whether the spinners are shown. Only valid for "spinner" mode. -->
5125        <attr name="spinnersShown" format="boolean" />
5126        <!-- Whether the calendar view is shown. Only valid for "spinner" mode. -->
5127        <attr name="calendarViewShown" format="boolean" />
5128
5129        <!-- @hide The layout of the date picker. -->
5130        <attr name="internalLayout" format="reference"  />
5131        <!-- @hide The layout of the legacy DatePicker. -->
5132        <attr name="legacyLayout" />
5133
5134        <!-- The text color for the selected date header text, ex. "2014" or
5135             "Tue, Mar 18". This should be a color state list where the
5136             activated state will be used when the year picker or day picker is
5137             active.-->
5138        <attr name="headerTextColor" format="color" />
5139        <!-- The background for the selected date header. -->
5140        <attr name="headerBackground" />
5141
5142        <!-- The list year's text appearance in the list.
5143             {@deprecated Use yearListTextColor. }-->
5144        <attr name="yearListItemTextAppearance" format="reference" />
5145        <!-- @hide The list year's text appearance in the list when activated. -->
5146        <attr name="yearListItemActivatedTextAppearance" format="reference" />
5147        <!-- The text color list of the calendar. -->
5148        <attr name="calendarTextColor" format="color" />
5149
5150        <!-- Defines the look of the widget. Prior to the L release, the only choice was
5151             spinner. As of L, with the Material theme selected, the default layout is calendar,
5152             but this attribute can be used to force spinner to be used instead. -->
5153        <attr name="datePickerMode">
5154            <!-- Date picker with spinner controls to select the date. -->
5155            <enum name="spinner" value="1" />
5156            <!-- Date picker with calendar to select the date. -->
5157            <enum name="calendar" value="2" />
5158        </attr>
5159
5160        <!-- The first year (inclusive), for example "1940".
5161             {@deprecated Use minDate instead.} -->
5162        <attr name="startYear" format="integer" />
5163        <!-- The last year (inclusive), for example "2010".
5164             {@deprecated Use maxDate instead.} -->
5165        <attr name="endYear" format="integer" />
5166        <!-- The text appearance for the month (ex. May) in the selected date header.
5167             {@deprecated Use headerTextColor instead.} -->
5168        <attr name="headerMonthTextAppearance" format="reference" />
5169        <!-- The text appearance for the day of month (ex. 28) in the selected date header.
5170             {@deprecated Use headerTextColor instead.} -->
5171        <attr name="headerDayOfMonthTextAppearance" format="reference" />
5172        <!-- The text appearance for the year (ex. 2014) in the selected date header.
5173             {@deprecated Use headerTextColor instead.} -->
5174        <attr name="headerYearTextAppearance" format="reference" />
5175        <!-- The background color for the header's day of week.
5176             {@deprecated No longer displayed.} -->
5177        <attr name="dayOfWeekBackground" format="color" />
5178        <!-- The text color for the header's day of week.
5179             {@deprecated No longer displayed.} -->
5180        <attr name="dayOfWeekTextAppearance" format="reference" />
5181        <!-- The list year's selected circle color in the list.
5182             {@deprecated No longer displayed.} -->
5183        <attr name="yearListSelectorColor" format="color" />
5184
5185        <!-- @hide Whether this time picker is being displayed within a dialog,
5186             in which case it may ignore the requested time picker mode due to
5187             space considerations. -->
5188        <attr name="dialogMode" format="boolean" />
5189    </declare-styleable>
5190
5191    <declare-styleable name="TwoLineListItem">
5192        <attr name="mode">
5193            <!-- Always show only the first line. -->
5194            <enum name="oneLine" value="1" />
5195            <!-- When selected show both lines, otherwise show only the first line.
5196                 This is the default mode. -->
5197            <enum name="collapsing" value="2" />
5198            <!-- Always show both lines. -->
5199            <enum name="twoLine" value="3" />
5200        </attr>
5201    </declare-styleable>
5202
5203    <!-- SlidingDrawer specific attributes. These attributes are used to configure
5204         a SlidingDrawer from XML. -->
5205    <declare-styleable name="SlidingDrawer">
5206        <!-- Identifier for the child that represents the drawer's handle. -->
5207        <attr name="handle" format="reference" />
5208        <!-- Identifier for the child that represents the drawer's content. -->
5209        <attr name="content" format="reference" />
5210        <!-- Orientation of the SlidingDrawer. -->
5211        <attr name="orientation" />
5212        <!-- Extra offset for the handle at the bottom of the SlidingDrawer. -->
5213        <attr name="bottomOffset" format="dimension"  />
5214        <!-- Extra offset for the handle at the top of the SlidingDrawer. -->
5215        <attr name="topOffset" format="dimension"  />
5216        <!-- Indicates whether the drawer can be opened/closed by a single tap
5217             on the handle.  (If false, the user must drag or fling, or click
5218             using the trackball, to open/close the drawer.)  Default is true. -->
5219        <attr name="allowSingleTap" format="boolean" />
5220        <!-- Indicates whether the drawer should be opened/closed with an animation
5221             when the user clicks the handle. Default is true. -->
5222        <attr name="animateOnClick" format="boolean" />
5223    </declare-styleable>
5224
5225    <!-- GestureOverlayView specific attributes. These attributes are used to configure
5226         a GestureOverlayView from XML. -->
5227    <declare-styleable name="GestureOverlayView">
5228        <!-- Width of the stroke used to draw the gesture. -->
5229        <attr name="gestureStrokeWidth" format="float" />
5230        <!-- Color used to draw a gesture. -->
5231        <attr name="gestureColor" format="color" />
5232        <!-- Color used to draw the user's strokes until we are sure it's a gesture. -->
5233        <attr name="uncertainGestureColor" format="color" />
5234        <!-- Time, in milliseconds, to wait before the gesture fades out after the user
5235             is done drawing it. -->
5236        <attr name="fadeOffset" format="integer" />
5237        <!-- Duration, in milliseconds, of the fade out effect after the user is done
5238             drawing a gesture. -->
5239        <attr name="fadeDuration" format="integer" />
5240        <!-- Defines the type of strokes that define a gesture. -->
5241        <attr name="gestureStrokeType">
5242            <!-- A gesture is made of only one stroke. -->
5243            <enum name="single" value="0" />
5244            <!-- A gesture is made of multiple strokes. -->
5245            <enum name="multiple" value="1" />
5246        </attr>
5247        <!-- Minimum length of a stroke before it is recognized as a gesture. -->
5248        <attr name="gestureStrokeLengthThreshold" format="float" />
5249        <!-- Squareness threshold of a stroke before it is recognized as a gesture. -->
5250        <attr name="gestureStrokeSquarenessThreshold" format="float" />
5251        <!-- Minimum curve angle a stroke must contain before it is recognized as a gesture. -->
5252        <attr name="gestureStrokeAngleThreshold" format="float" />
5253        <!-- Defines whether the overlay should intercept the motion events when a gesture
5254             is recognized. -->
5255        <attr name="eventsInterceptionEnabled" format="boolean" />
5256        <!-- Defines whether the gesture will automatically fade out after being recognized. -->
5257        <attr name="fadeEnabled" format="boolean" />
5258        <!-- Indicates whether horizontal (when the orientation is vertical) or vertical
5259             (when orientation is horizontal) strokes automatically define a gesture. -->
5260        <attr name="orientation" />
5261    </declare-styleable>
5262
5263    <declare-styleable name="QuickContactBadge">
5264        <attr name="quickContactWindowSize">
5265            <enum name="modeSmall" value="1" />
5266            <enum name="modeMedium" value="2" />
5267            <enum name="modeLarge" value="3" />
5268        </attr>
5269    </declare-styleable>
5270
5271    <!-- ======================================= -->
5272    <!-- Widget package parent layout attributes -->
5273    <!-- ======================================= -->
5274    <eat-comment />
5275
5276    <declare-styleable name="AbsoluteLayout_Layout">
5277        <attr name="layout_x" format="dimension" />
5278        <attr name="layout_y" format="dimension" />
5279    </declare-styleable>
5280    <declare-styleable name="LinearLayout_Layout">
5281        <attr name="layout_width" />
5282        <attr name="layout_height" />
5283        <!-- Indicates how much of the extra space in the LinearLayout is
5284        allocated to the view associated with these LayoutParams. Specify
5285        0 if the view should not be stretched. Otherwise the extra pixels
5286        will be pro-rated among all views whose weight is greater than 0. -->
5287        <attr name="layout_weight" format="float" />
5288        <!-- Gravity specifies how a component should be placed in its group of cells.
5289        The default is {@link android.view.Gravity#TOP}.
5290        See {@link android.widget.LinearLayout#setGravity(int)}. -->
5291        <attr name="layout_gravity" />
5292    </declare-styleable>
5293    <declare-styleable name="GridLayout_Layout">
5294        <!-- The row boundary delimiting the top of the group of cells
5295        occupied by this view. -->
5296        <attr name="layout_row" format="integer" />
5297        <!-- The row span: the difference between the top and bottom
5298        boundaries delimiting the group of cells occupied by this view.
5299        The default is one.
5300        See {@link android.widget.GridLayout.Spec}. -->
5301        <attr name="layout_rowSpan" format="integer" min="1" />
5302        <!-- The relative proportion of vertical space that should be allocated to this view
5303        during excess space distribution. -->
5304        <attr name="layout_rowWeight" format="float" />
5305        <!-- The column boundary delimiting the left of the group of cells
5306        occupied by this view. -->
5307        <attr name="layout_column" />
5308        <!-- The column span: the difference between the right and left
5309        boundaries delimiting the group of cells occupied by this view.
5310        The default is one.
5311        See {@link android.widget.GridLayout.Spec}. -->
5312        <attr name="layout_columnSpan" format="integer" min="1" />
5313        <!-- The relative proportion of horizontal space that should be allocated to this view
5314        during excess space distribution. -->
5315        <attr name="layout_columnWeight" format="float" />
5316        <!-- Gravity specifies how a component should be placed in its group of cells.
5317        The default is LEFT | BASELINE.
5318        See {@link android.widget.GridLayout.LayoutParams#setGravity(int)}. -->
5319        <attr name="layout_gravity" />
5320    </declare-styleable>
5321    <declare-styleable name="FrameLayout_Layout">
5322        <attr name="layout_gravity" />
5323    </declare-styleable>
5324    <declare-styleable name="RelativeLayout_Layout">
5325        <!-- Positions the right edge of this view to the left of the given anchor view ID.
5326             Accommodates right margin of this view and left margin of anchor view. -->
5327        <attr name="layout_toLeftOf" format="reference" />
5328        <!-- Positions the left edge of this view to the right of the given anchor view ID.
5329            Accommodates left margin of this view and right margin of anchor view. -->
5330        <attr name="layout_toRightOf" format="reference" />
5331        <!-- Positions the bottom edge of this view above the given anchor view ID.
5332            Accommodates bottom margin of this view and top margin of anchor view. -->
5333        <attr name="layout_above" format="reference" />
5334        <!-- Positions the top edge of this view below the given anchor view ID.
5335            Accommodates top margin of this view and bottom margin of anchor view. -->
5336        <attr name="layout_below" format="reference" />
5337        <!-- Positions the baseline of this view on the baseline of the given anchor view ID. -->
5338        <attr name="layout_alignBaseline" format="reference" />
5339        <!-- Makes the left edge of this view match the left edge of the given anchor view ID.
5340            Accommodates left margin. -->
5341        <attr name="layout_alignLeft" format="reference" />
5342        <!-- Makes the top edge of this view match the top edge of the given anchor view ID.
5343            Accommodates top margin. -->
5344        <attr name="layout_alignTop" format="reference" />
5345        <!-- Makes the right edge of this view match the right edge of the given anchor view ID.
5346            Accommodates right margin. -->
5347        <attr name="layout_alignRight" format="reference" />
5348        <!-- Makes the bottom edge of this view match the bottom edge of the given anchor view ID.
5349            Accommodates bottom margin. -->
5350        <attr name="layout_alignBottom" format="reference" />
5351        <!-- If true, makes the left edge of this view match the left edge of the parent.
5352            Accommodates left margin. -->
5353        <attr name="layout_alignParentLeft" format="boolean" />
5354        <!-- If true, makes the top edge of this view match the top edge of the parent.
5355            Accommodates top margin. -->
5356        <attr name="layout_alignParentTop" format="boolean" />
5357        <!-- If true, makes the right edge of this view match the right edge of the parent.
5358            Accommodates right margin. -->
5359        <attr name="layout_alignParentRight" format="boolean" />
5360        <!-- If true, makes the bottom edge of this view match the bottom edge of the parent.
5361            Accommodates bottom margin. -->
5362        <attr name="layout_alignParentBottom" format="boolean" />
5363        <!-- If true, centers this child horizontally and vertically within its parent. -->
5364        <attr name="layout_centerInParent" format="boolean" />
5365        <!-- If true, centers this child horizontally within its parent. -->
5366        <attr name="layout_centerHorizontal" format="boolean" />
5367        <!-- If true, centers this child vertically within its parent. -->
5368        <attr name="layout_centerVertical" format="boolean" />
5369        <!-- If set to true, the parent will be used as the anchor when the anchor cannot be
5370             be found for layout_toLeftOf, layout_toRightOf, etc. -->
5371        <attr name="layout_alignWithParentIfMissing" format="boolean" />
5372        <!-- Positions the end edge of this view to the start of the given anchor view ID.
5373             Accommodates end margin of this view and start margin of anchor view. -->
5374        <attr name="layout_toStartOf" format="reference" />
5375        <!-- Positions the start edge of this view to the end of the given anchor view ID.
5376             Accommodates start margin of this view and end margin of anchor view. -->
5377        <attr name="layout_toEndOf" format="reference" />
5378        <!-- Makes the start edge of this view match the start edge of the given anchor view ID.
5379            Accommodates start margin. -->
5380        <attr name="layout_alignStart" format="reference" />
5381        <!-- Makes the end edge of this view match the end edge of the given anchor view ID.
5382            Accommodates end margin. -->
5383        <attr name="layout_alignEnd" format="reference" />
5384        <!-- If true, makes the start edge of this view match the start edge of the parent.
5385            Accommodates start margin. -->
5386        <attr name="layout_alignParentStart" format="boolean" />
5387        <!-- If true, makes the end edge of this view match the end edge of the parent.
5388            Accommodates end margin. -->
5389        <attr name="layout_alignParentEnd" format="boolean" />
5390    </declare-styleable>
5391    <declare-styleable name="VerticalSlider_Layout">
5392        <attr name="layout_scale" format="float" />
5393    </declare-styleable>
5394
5395    <!-- @hide -->
5396    <declare-styleable name="WeightedLinearLayout">
5397        <attr name="majorWeightMin" format="float" />
5398        <attr name="minorWeightMin" format="float" />
5399        <attr name="majorWeightMax" format="float" />
5400        <attr name="minorWeightMax" format="float" />
5401    </declare-styleable>
5402
5403    <declare-styleable name="CalendarView">
5404        <!-- The first day of week according to {@link java.util.Calendar}. -->
5405        <attr name="firstDayOfWeek" format="integer" />
5406        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
5407        <attr name="minDate" />
5408        <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. -->
5409        <attr name="maxDate" />
5410        <!-- The text appearance for the month and year in the calendar header. -->
5411        <attr name="monthTextAppearance" format="reference" />
5412        <!-- The text appearance for the week day abbreviation in the calendar header. -->
5413        <attr name="weekDayTextAppearance" format="reference" />
5414        <!-- The text appearance for the day numbers in the calendar grid. -->
5415        <attr name="dateTextAppearance" format="reference" />
5416        <!-- @hide The background color used for the day selection indicator. -->
5417        <attr name="daySelectorColor" format="color" />
5418        <!-- @hide The background color used for the day highlight indicator. -->
5419        <attr name="dayHighlightColor" format="color" />
5420        <!-- @hide Which style of calendar delegate to use. -->
5421        <attr name="calendarViewMode">
5422            <enum name="holo" value="0" />
5423            <enum name="material" value="1" />
5424        </attr>
5425
5426        <!-- @deprecated Whether do show week numbers. -->
5427        <attr name="showWeekNumber" format="boolean" />
5428        <!-- @deprecated The number of weeks to be shown. -->
5429        <attr name="shownWeekCount" format="integer"/>
5430        <!-- @deprecated The background color for the selected week. -->
5431        <attr name="selectedWeekBackgroundColor" format="color|reference" />
5432        <!-- @deprecated The color for the dates of the focused month. -->
5433        <attr name="focusedMonthDateColor" format="color|reference" />
5434        <!-- @deprecated The color for the dates of an unfocused month. -->
5435        <attr name="unfocusedMonthDateColor" format="color|reference" />
5436        <!-- @deprecated The color for the week numbers. -->
5437        <attr name="weekNumberColor" format="color|reference" />
5438        <!-- @deprecated The color for the separator line between weeks. -->
5439        <attr name="weekSeparatorLineColor" format="color|reference" />
5440        <!-- @deprecated Drawable for the vertical bar shown at the beginning and at the end of the selected date. -->
5441        <attr name="selectedDateVerticalBar" format="reference" />
5442    </declare-styleable>
5443
5444    <declare-styleable name="NumberPicker">
5445        <!-- @hide Color for the solid color background if such for optimized rendering. -->
5446        <attr name="solidColor" format="color|reference" />
5447        <!-- @hide The divider for making the selection area. -->
5448        <attr name="selectionDivider" format="reference" />
5449        <!-- @hide The height of the selection divider. -->
5450        <attr name="selectionDividerHeight" format="dimension" />
5451        <!-- @hide The distance between the two selection dividers. -->
5452        <attr name="selectionDividersDistance" format="dimension" />
5453        <!-- @hide The min height of the NumberPicker. -->
5454        <attr name="internalMinHeight" format="dimension" />
5455        <!-- @hide The max height of the NumberPicker. -->
5456        <attr name="internalMaxHeight" format="dimension" />
5457        <!-- @hide The min width of the NumberPicker. -->
5458        <attr name="internalMinWidth" format="dimension" />
5459        <!-- @hide The max width of the NumberPicker. -->
5460        <attr name="internalMaxWidth" format="dimension" />
5461        <!-- @hide The layout of the number picker. -->
5462        <attr name="internalLayout" />
5463        <!-- @hide The drawable for pressed virtual (increment/decrement) buttons. -->
5464        <attr name="virtualButtonPressedDrawable" format="reference"/>
5465        <!-- @hide If true then the selector wheel is hidden until the picker has focus. -->
5466        <attr name="hideWheelUntilFocused" format="boolean"/>
5467    </declare-styleable>
5468
5469    <declare-styleable name="TimePicker">
5470        <!-- @hide The layout of the legacy time picker. -->
5471        <attr name="legacyLayout" format="reference" />
5472        <!-- @hide The layout of the time picker. -->
5473        <attr name="internalLayout" />
5474
5475        <!-- The text color for the selected time header text, ex. "12" or
5476             "PM". This should be a color state list where the activated state
5477             will be used when the minute picker or hour picker is active.-->
5478        <attr name="headerTextColor" />
5479        <!-- The background for the header containing the currently selected time. -->
5480        <attr name="headerBackground" />
5481
5482        <!-- The color for the hours/minutes numbers. This should be a color
5483             state list where the activated state will be used when the number
5484             is active.-->
5485        <attr name="numbersTextColor" format="color" />
5486        <!-- The color for the inner hours numbers used in 24-hour mode. This
5487             should be a color state list where the activated state will be
5488             used when the number is active.-->
5489        <attr name="numbersInnerTextColor" format="color" />
5490        <!-- The background color for the hours/minutes numbers. -->
5491        <attr name="numbersBackgroundColor" format="color" />
5492        <!-- The color for the hours/minutes selector. -->
5493        <attr name="numbersSelectorColor" format="color" />
5494
5495        <!-- Defines the look of the widget. Prior to the L release, the only choice was
5496             spinner. As of L, with the Material theme selected, the default layout is clock,
5497             but this attribute can be used to force spinner to be used instead. -->
5498        <attr name="timePickerMode">
5499            <!-- Time picker with spinner controls to select the time. -->
5500            <enum name="spinner" value="1" />
5501            <!-- Time picker with clock face to select the time. -->
5502            <enum name="clock" value="2" />
5503        </attr>
5504
5505        <!-- The text appearance for the AM/PM header.
5506             @deprecated Use headerTextColor instead. -->
5507        <attr name="headerAmPmTextAppearance" format="reference" />
5508        <!-- The text appearance for the time header.
5509             @deprecated Use headerTextColor instead. -->
5510        <attr name="headerTimeTextAppearance" format="reference" />
5511        <!-- The color for the AM/PM selectors.
5512             {@deprecated Use headerTextColor instead.}-->
5513        <attr name="amPmTextColor" format="color" />
5514        <!-- The background color state list for the AM/PM selectors.
5515             {@deprecated Use headerBackground instead.}-->
5516        <attr name="amPmBackgroundColor" format="color" />
5517
5518        <!-- @hide Whether this time picker is being displayed within a dialog,
5519             in which case it may ignore the requested time picker mode due to
5520             space considerations. -->
5521        <attr name="dialogMode" />
5522    </declare-styleable>
5523
5524    <!-- ========================= -->
5525    <!-- Drawable class attributes -->
5526    <!-- ========================= -->
5527    <eat-comment />
5528
5529    <!-- Base attributes that are available to all Drawable objects. -->
5530    <declare-styleable name="Drawable">
5531        <!-- Provides initial visibility state of the drawable; the default
5532             value is false.  See
5533             {@link android.graphics.drawable.Drawable#setVisible}. -->
5534        <attr name="visible" format="boolean" />
5535        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5536             RTL (right-to-left).  See
5537             {@link android.graphics.drawable.Drawable#setAutoMirrored}. -->
5538        <attr name="autoMirrored" format="boolean" />
5539    </declare-styleable>
5540
5541    <!-- Drawable class used to wrap other drawables. -->
5542    <declare-styleable name="DrawableWrapper">
5543        <!-- The wrapped drawable. -->
5544        <attr name="drawable" />
5545    </declare-styleable>
5546
5547    <!-- Drawable used to render several states. Each state is represented by
5548         a child drawable. -->
5549    <declare-styleable name="StateListDrawable">
5550        <!-- Indicates whether the drawable should be initially visible. -->
5551        <attr name="visible" />
5552        <!-- If true, allows the drawable's padding to change based on the
5553             current state that is selected.  If false, the padding will
5554             stay the same (based on the maximum padding of all the states).
5555             Enabling this feature requires that the owner of the drawable
5556             deal with performing layout when the state changes, which is
5557             often not supported. -->
5558        <attr name="variablePadding" format="boolean" />
5559        <!-- If true, the drawable's reported internal size will remain
5560             constant as the state changes; the size is the maximum of all
5561             of the states.  If false, the size will vary based on the
5562             current state. -->
5563        <attr name="constantSize" format="boolean" />
5564        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5565             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5566             an RGB 565 screen). -->
5567        <attr name="dither" format="boolean" />
5568        <!-- Amount of time (in milliseconds) to fade in a new state drawable. -->
5569        <attr name="enterFadeDuration" format="integer" />
5570        <!-- Amount of time (in milliseconds) to fade out an old state drawable. -->
5571        <attr name="exitFadeDuration" format="integer" />
5572        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5573             RTL (right-to-left). -->
5574        <attr name="autoMirrored"/>
5575    </declare-styleable>
5576
5577    <!-- Drawable used to render several states with animated transitions. Each state
5578         is represented by a child drawable with an optional keyframe ID. -->
5579    <declare-styleable name="AnimatedStateListDrawable">
5580        <!-- Indicates whether the drawable should be initially visible. -->
5581        <attr name="visible" />
5582        <!-- If true, allows the drawable's padding to change based on the
5583             current state that is selected.  If false, the padding will
5584             stay the same (based on the maximum padding of all the states).
5585             Enabling this feature requires that the owner of the drawable
5586             deal with performing layout when the state changes, which is
5587             often not supported. -->
5588        <attr name="variablePadding" />
5589        <!-- If true, the drawable's reported internal size will remain
5590             constant as the state changes; the size is the maximum of all
5591             of the states.  If false, the size will vary based on the
5592             current state. -->
5593        <attr name="constantSize" />
5594        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5595             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5596             an RGB 565 screen). -->
5597        <attr name="dither" />
5598        <!-- Amount of time (in milliseconds) to fade in a new state drawable. -->
5599        <attr name="enterFadeDuration" />
5600        <!-- Amount of time (in milliseconds) to fade out an old state drawable. -->
5601        <attr name="exitFadeDuration" />
5602        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5603             RTL (right-to-left). -->
5604        <attr name="autoMirrored"/>
5605    </declare-styleable>
5606
5607    <!-- Represents a single state inside a StateListDrawable. -->
5608    <declare-styleable name="StateListDrawableItem">
5609        <!-- Reference to a drawable resource to use for the state. If not
5610             given, the drawable must be defined by the first child tag. -->
5611        <attr name="drawable" />
5612    </declare-styleable>
5613
5614    <!-- Transition used to animate between states with keyframe IDs. -->
5615    <declare-styleable name="AnimatedStateListDrawableItem">
5616        <!-- Reference to a drawable resource to use for the frame.  If not
5617             given, the drawable must be defined by the first child tag. -->
5618        <attr name="drawable" />
5619        <!-- Keyframe identifier for use in specifying transitions. -->
5620        <attr name="id" />
5621    </declare-styleable>
5622
5623    <!-- Transition used to animate between states with keyframe IDs. -->
5624    <declare-styleable name="AnimatedStateListDrawableTransition">
5625        <!-- Keyframe identifier for the starting state. -->
5626        <attr name="fromId" format="reference" />
5627        <!-- Keyframe identifier for the ending state. -->
5628        <attr name="toId" format="reference" />
5629        <!-- Reference to a animation drawable resource to use for the frame.  If not
5630             given, the animation drawable must be defined by the first child tag. -->
5631        <attr name="drawable" />
5632        <!-- Whether this transition is reversible. -->
5633        <attr name="reversible" format="boolean" />
5634    </declare-styleable>
5635
5636    <!-- Drawable used to render several animated frames. -->
5637    <declare-styleable name="AnimationDrawable">
5638        <attr name="visible" />
5639        <attr name="variablePadding" />
5640        <!-- If true, the animation will only run a single time and then
5641             stop.  If false (the default), it will continually run,
5642             restarting at the first frame after the last has finished. -->
5643        <attr name="oneshot" format="boolean" />
5644    </declare-styleable>
5645
5646    <!-- Represents a single frame inside an AnimationDrawable. -->
5647    <declare-styleable name="AnimationDrawableItem">
5648        <!-- Amount of time (in milliseconds) to display this frame. -->
5649        <attr name="duration" format="integer" />
5650        <!-- Reference to a drawable resource to use for the frame.  If not
5651             given, the drawable must be defined by the first child tag. -->
5652        <attr name="drawable" format="reference" />
5653    </declare-styleable>
5654
5655    <!-- Attributes that can be assigned to a StateListAnimator item. -->
5656    <declare-styleable name="StateListAnimatorItem">
5657        <attr name="animation"/>
5658    </declare-styleable>
5659
5660    <!-- Attributes that can be assigned to a ColorStateList item. -->
5661    <declare-styleable name="ColorStateListItem">
5662        <!-- Base color for this state. -->
5663        <attr name="color" />
5664        <!-- Alpha multiplier applied to the base color. -->
5665        <attr name="alpha" />
5666    </declare-styleable>
5667
5668    <!-- Drawable used to render according to the animation scale. Esp. when it is 0 due to battery
5669         saver mode. It should contain one animatable drawable and one static drawable.
5670         @hide -->
5671    <declare-styleable name="AnimationScaleListDrawable">
5672    </declare-styleable>
5673
5674    <!-- Attributes that can be assigned to a AnimationScaleListDrawable item.
5675         @hide -->
5676    <declare-styleable name="AnimationScaleListDrawableItem">
5677        <!-- Reference to a drawable resource to use for the state. If not
5678             given, the drawable must be defined by the first child tag. -->
5679        <attr name="drawable" />
5680    </declare-styleable>
5681
5682
5683    <!-- Drawable used to render a geometric shape, with a gradient or a solid color. -->
5684    <declare-styleable name="GradientDrawable">
5685        <!-- Indicates whether the drawable should intially be visible. -->
5686        <attr name="visible" />
5687        <!-- Enables or disables dithering. -->
5688        <attr name="dither" />
5689        <!-- Indicates what shape to fill with a gradient. -->
5690        <attr name="shape">
5691            <!-- Rectangle shape, with optional rounder corners. -->
5692            <enum name="rectangle" value="0" />
5693            <!-- Oval shape. -->
5694            <enum name="oval" value="1" />
5695            <!-- Line shape. -->
5696            <enum name="line" value="2" />
5697            <!-- Ring shape. -->
5698            <enum name="ring" value="3" />
5699        </attr>
5700        <!-- Inner radius of the ring expressed as a ratio of the ring's width. For instance,
5701             if innerRadiusRatio=9, then the inner radius equals the ring's width divided by 9.
5702             This value is ignored if innerRadius is defined. Default value is 9. -->
5703        <attr name="innerRadiusRatio" format="float" />
5704        <!-- Thickness of the ring expressed as a ratio of the ring's width. For instance,
5705             if thicknessRatio=3, then the thickness equals the ring's width divided by 3.
5706             This value is ignored if innerRadius is defined. Default value is 3. -->
5707        <attr name="thicknessRatio" format="float" />
5708        <!-- Inner radius of the ring. When defined, innerRadiusRatio is ignored. -->
5709        <attr name="innerRadius" format="dimension" />
5710        <!-- Thickness of the ring. When defined, thicknessRatio is ignored. -->
5711        <attr name="thickness" format="dimension" />
5712        <!-- Whether the drawable level value (see
5713             {@link android.graphics.drawable.Drawable#getLevel()}) is used to scale the shape.
5714             Scaling behavior depends on the shape type. For "ring", the angle is scaled from 0 to
5715             360. For all other types, there is no effect. The default value is true. -->
5716        <attr name="useLevel" />
5717        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5718             no tint is applied. May be a color state list. -->
5719        <attr name="tint" />
5720        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5721             default value is src_in, which treats the drawable as an alpha mask. -->
5722        <attr name="tintMode" />
5723        <!-- Left optical inset.
5724             @hide Until optical insets are fully supported. -->
5725        <attr name="opticalInsetLeft" />
5726        <!-- Top optical inset.
5727             @hide Until optical insets are fully supported. -->
5728        <attr name="opticalInsetTop" />
5729        <!-- Right optical inset.
5730             @hide Until optical insets are fully supported. -->
5731        <attr name="opticalInsetRight" />
5732        <!-- Bottom optical inset.
5733             @hide Until optical insets are fully supported. -->
5734        <attr name="opticalInsetBottom" />
5735    </declare-styleable>
5736
5737    <!-- Used to specify the size of the shape for GradientDrawable. -->
5738    <declare-styleable name="GradientDrawableSize">
5739        <!-- Width of the gradient shape. -->
5740        <attr name="width" />
5741        <!-- Height of the gradient shape. -->
5742        <attr name="height" />
5743    </declare-styleable>
5744
5745    <!-- Used to describe the gradient used to fill the shape of a GradientDrawable. -->
5746    <declare-styleable name="GradientDrawableGradient">
5747        <!-- Start color of the gradient. -->
5748        <attr name="startColor" format="color" />
5749        <!-- Optional center color. For linear gradients, use centerX or centerY to place the center
5750             color. -->
5751        <attr name="centerColor" format="color" />
5752        <!-- End color of the gradient. -->
5753        <attr name="endColor" format="color" />
5754        <!-- Whether the drawable level value (see
5755             {@link android.graphics.drawable.Drawable#getLevel()}) is used to scale the gradient.
5756             Scaling behavior varies based on gradient type. For "linear", adjusts the ending
5757             position along the gradient's axis of orientation. For "radial", adjusts the outer
5758             radius. For "sweep", adjusts the ending angle. The default value is false. -->
5759        <attr name="useLevel" format="boolean" />
5760        <!-- Angle of the gradient, used only with linear gradient. Must be a multiple of 45 in the
5761             range [0, 315]. -->
5762        <attr name="angle" format="float" />
5763        <!-- Type of gradient. The default type is linear. -->
5764        <attr name="type">
5765            <!-- Linear gradient extending across the center point. -->
5766            <enum name="linear" value="0" />
5767            <!-- Radial gradient extending from the center point outward. -->
5768            <enum name="radial" value="1" />
5769            <!-- Sweep (or angular) gradient sweeping counter-clockwise around the center point. -->
5770            <enum name="sweep"  value="2" />
5771        </attr>
5772        <!-- X-position of the center point of the gradient within the shape as a fraction of the
5773             width. The default value is 0.5. -->
5774        <attr name="centerX" format="float|fraction" />
5775        <!-- Y-position of the center point of the gradient within the shape as a fraction of the
5776             height. The default value is 0.5. -->
5777        <attr name="centerY" format="float|fraction" />
5778        <!-- Radius of the gradient, used only with radial gradient. May be an explicit dimension
5779             or a fractional value relative to the shape's minimum dimension. -->
5780        <attr name="gradientRadius" format="float|fraction|dimension" />
5781    </declare-styleable>
5782
5783    <!-- Used to fill the shape of GradientDrawable with a solid color. -->
5784    <declare-styleable name="GradientDrawableSolid">
5785        <!-- Solid color for the gradient shape. -->
5786        <attr name="color" format="color" />
5787    </declare-styleable>
5788
5789    <!-- Used to describe the optional stroke of a GradientDrawable. -->
5790    <declare-styleable name="GradientDrawableStroke">
5791        <!-- Width of the gradient shape's stroke. -->
5792        <attr name="width" />
5793        <!-- Color of the gradient shape's stroke. -->
5794        <attr name="color" />
5795        <!-- Length of a dash in the stroke. -->
5796        <attr name="dashWidth" format="dimension" />
5797        <!-- Gap between dashes in the stroke. -->
5798        <attr name="dashGap" format="dimension" />
5799    </declare-styleable>
5800
5801    <!-- Describes the corners for the rectangle shape of a GradientDrawable.
5802         This can be used to render rounded corners. -->
5803    <declare-styleable name="DrawableCorners">
5804        <!-- Defines the radius of the four corners. -->
5805        <attr name="radius" format="dimension" />
5806        <!-- Radius of the top left corner. -->
5807        <attr name="topLeftRadius" format="dimension" />
5808        <!-- Radius of the top right corner. -->
5809        <attr name="topRightRadius" format="dimension" />
5810        <!-- Radius of the bottom left corner. -->
5811        <attr name="bottomLeftRadius" format="dimension" />
5812        <!-- Radius of the bottom right corner. -->
5813        <attr name="bottomRightRadius" format="dimension" />
5814    </declare-styleable>
5815
5816    <!-- Used to specify the optional padding of a GradientDrawable. -->
5817    <declare-styleable name="GradientDrawablePadding">
5818        <!-- Amount of left padding inside the gradient shape. -->
5819        <attr name="left" format="dimension" />
5820        <!-- Amount of top padding inside the gradient shape. -->
5821        <attr name="top" format="dimension" />
5822        <!-- Amount of right padding inside the gradient shape. -->
5823        <attr name="right" format="dimension" />
5824        <!-- Amount of bottom padding inside the gradient shape. -->
5825        <attr name="bottom" format="dimension" />
5826    </declare-styleable>
5827
5828    <!-- Drawable used to render several drawables stacked on top of each other.
5829         Each child drawable can be controlled individually. -->
5830    <declare-styleable name="LayerDrawable">
5831        <!-- Indicates the opacity of the layer. This can be useful to allow the
5832              system to enable drawing optimizations. The default value is
5833              translucent. -->
5834        <attr name="opacity">
5835            <!-- Indicates that the layer is opaque and contains no transparent
5836                 nor translucent pixels. -->
5837            <enum name="opaque" value="-1" />
5838            <!-- The layer is completely transparent (no pixel will be drawn). -->
5839            <enum name="transparent" value="-2" />
5840            <!-- The layer has translucent pixels. -->
5841            <enum name="translucent" value="-3" />
5842        </attr>
5843        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5844             RTL (right-to-left). -->
5845        <attr name="autoMirrored" />
5846        <!-- Indicates how layer padding should affect the bounds of subsequent layers.
5847             The default padding mode value is nest. -->
5848        <attr name="paddingMode">
5849            <!-- Nest each layer inside the padding of the previous layer. -->
5850            <enum name="nest" value="0" />
5851            <!-- Stack each layer directly atop the previous layer. -->
5852            <enum name="stack" value="1" />
5853        </attr>
5854        <!-- Explicit top padding. Overrides child padding. -->
5855        <attr name="paddingTop" />
5856        <!-- Explicit bottom padding. Overrides child padding. -->
5857        <attr name="paddingBottom" />
5858        <!-- Explicit left padding. Overrides child padding. -->
5859        <attr name="paddingLeft" />
5860        <!-- Explicit right padding. Overrides child padding. -->
5861        <attr name="paddingRight" />
5862        <!-- Explicit start padding. Overrides child padding. Takes precedence
5863             over absolute padding (for example, left when layout direction is LTR). -->
5864        <attr name="paddingStart" />
5865        <!-- Explicit end padding. Overrides child padding. Takes precedence
5866             over absolute padding (for example, right when layout direction is LTR). -->
5867        <attr name="paddingEnd" />
5868    </declare-styleable>
5869
5870    <!-- Describes an item (or child) of a LayerDrawable. -->
5871    <declare-styleable name="LayerDrawableItem">
5872        <!-- Left inset to apply to the layer. -->
5873        <attr name="left" />
5874        <!-- Top inset to apply to the layer. -->
5875        <attr name="top" />
5876        <!-- Right inset to apply to the layer. -->
5877        <attr name="right" />
5878        <!-- Bottom inset to apply to the layer. -->
5879        <attr name="bottom" />
5880        <!-- Start inset to apply to the layer. Overrides {@code left} or
5881             {@code right} depending on layout direction. -->
5882        <attr name="start" format="dimension" />
5883        <!-- End inset to apply to the layer. Overrides {@code left} or
5884             {@code right} depending on layout direction. -->
5885        <attr name="end" format="dimension" />
5886        <!-- Width of the layer. Defaults to the layer's intrinsic width. -->
5887        <attr name="width" />
5888        <!-- Height of the layer. Defaults to the layer's intrinsic height. -->
5889        <attr name="height" />
5890        <!-- Gravity used to align the layer within its container. If no value
5891             is specified, the default behavior depends on whether an explicit
5892             width or height has been set, If no dimension is set, gravity in
5893             that direction defaults to {@code fill_horizontal} or
5894             {@code fill_vertical}; otherwise, it defaults to {@code left} or
5895             {@code top}. -->
5896        <attr name="gravity" />
5897        <!-- Drawable used to render the layer. -->
5898        <attr name="drawable" />
5899        <!-- Identifier of the layer. This can be used to retrieve the layer
5900             from a drawable container. -->
5901        <attr name="id" />
5902    </declare-styleable>
5903
5904    <declare-styleable name="LevelListDrawableItem">
5905        <!-- The minimum level allowed for this item. -->
5906        <attr name="minLevel" format="integer" />
5907        <!-- The maximum level allowed for this item. -->
5908        <attr name="maxLevel" format="integer" />
5909        <attr name="drawable" />
5910    </declare-styleable>
5911
5912    <!-- Drawable used to rotate another drawable. -->
5913    <declare-styleable name="RotateDrawable">
5914        <attr name="visible" />
5915        <attr name="fromDegrees" format="float" />
5916        <attr name="toDegrees" format="float" />
5917        <attr name="pivotX" format="float|fraction" />
5918        <attr name="pivotY" format="float|fraction" />
5919        <attr name="drawable" />
5920    </declare-styleable>
5921
5922    <declare-styleable name="AnimatedRotateDrawable">
5923        <attr name="visible" />
5924        <attr name="frameDuration" format="integer" />
5925        <attr name="framesCount" format="integer" />
5926        <attr name="pivotX" />
5927        <attr name="pivotY" />
5928        <attr name="drawable" />
5929    </declare-styleable>
5930
5931    <!-- Drawable used to render the Material progress indicator. -->
5932    <declare-styleable name="MaterialProgressDrawable">
5933        <attr name="visible" />
5934        <attr name="thickness" />
5935        <attr name="innerRadius" />
5936        <attr name="width" />
5937        <attr name="height" />
5938        <attr name="color" />
5939    </declare-styleable>
5940
5941    <!-- Drawable used to wrap and inset another drawable. -->
5942    <declare-styleable name="InsetDrawable">
5943        <attr name="visible" />
5944        <attr name="drawable" />
5945        <attr name="inset"  format="fraction|dimension"/>
5946        <attr name="insetLeft" format="fraction|dimension" />
5947        <attr name="insetRight" format="fraction|dimension" />
5948        <attr name="insetTop" format="fraction|dimension" />
5949        <attr name="insetBottom" format="fraction|dimension" />
5950    </declare-styleable>
5951
5952    <!-- Drawable used to draw animated images (gif) -->
5953    <declare-styleable name="AnimatedImageDrawable">
5954        <!-- Identifier of the image file. This attribute is mandatory.
5955             It must be an image file with multiple frames, e.g. gif or webp -->
5956        <attr name="src" />
5957        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5958             RTL (right-to-left). -->
5959        <attr name="autoMirrored" />
5960        <!-- Replace the loop count in the encoded data. A repeat count of 0 means that
5961             the animation will play once, regardless of the number of times specified
5962             in the encoded data. Setting this to infinite (-1) will result in the
5963             animation repeating as long as it is displayed (once start() is called). -->
5964        <attr name="repeatCount"/>
5965    </declare-styleable>
5966
5967    <!-- Drawable used to draw bitmaps. -->
5968    <declare-styleable name="BitmapDrawable">
5969        <!-- Identifier of the bitmap file. This attribute is mandatory. -->
5970        <attr name="src" />
5971        <!-- Enables or disables antialiasing. Antialiasing can be used to smooth the
5972             edges of a bitmap when rotated. Default value is false. -->
5973        <attr name="antialias" format="boolean" />
5974        <!-- Enables or disables bitmap filtering. Filtering is used when the bitmap is
5975             shrunk or stretched to smooth its apperance. Default value is true. -->
5976        <attr name="filter" format="boolean" />
5977        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5978             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5979             an RGB 565 screen). Default value is true. -->
5980        <attr name="dither" />
5981        <!-- Defines the gravity for the bitmap. The gravity indicates where to position
5982             the drawable in its container if the bitmap is smaller than the container. -->
5983        <attr name="gravity" />
5984        <!-- Defines the tile mode. When the tile mode is enabled, the bitmap is repeated.
5985             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5986        <attr name="tileMode">
5987            <!-- Do not tile the bitmap. This is the default value. -->
5988            <enum name="disabled" value="-1" />
5989            <!-- Replicates the edge color. -->
5990            <enum name="clamp" value="0" />
5991            <!-- Repeats the bitmap in both direction. -->
5992            <enum name="repeat" value="1" />
5993            <!-- Repeats the shader's image horizontally and vertically, alternating
5994                 mirror images so that adjacent images always seam. -->
5995            <enum name="mirror" value="2" />
5996        </attr>
5997        <!-- Defines the horizontal tile mode. When the tile mode is enabled, the bitmap is repeated.
5998             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5999        <attr name="tileModeX">
6000            <!-- Do not tile the bitmap. This is the default value. -->
6001            <enum name="disabled" value="-1" />
6002            <!-- Replicates the edge color. -->
6003            <enum name="clamp" value="0" />
6004            <!-- Repeats the bitmap horizontally. -->
6005            <enum name="repeat" value="1" />
6006            <!-- Repeats the shader's image horizontally, alternating
6007                 mirror images so that adjacent images always seam. -->
6008            <enum name="mirror" value="2" />
6009        </attr>
6010        <!-- Defines the vertical tile mode. When the tile mode is enabled, the bitmap is repeated.
6011             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
6012        <attr name="tileModeY">
6013            <!-- Do not tile the bitmap. This is the default value. -->
6014            <enum name="disabled" value="-1" />
6015            <!-- Replicates the edge color. -->
6016            <enum name="clamp" value="0" />
6017            <!-- Repeats the bitmap vertically. -->
6018            <enum name="repeat" value="1" />
6019            <!-- Repeats the shader's image vertically, alternating
6020                 mirror images so that adjacent images always seam. -->
6021            <enum name="mirror" value="2" />
6022        </attr>
6023        <!-- Enables or disables the mipmap hint. See
6024            {@link android.graphics.Bitmap#setHasMipMap(boolean)} for more information.
6025            Default value is false. -->
6026        <attr name="mipMap" format="boolean" />
6027        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
6028             RTL (right-to-left). -->
6029        <attr name="autoMirrored" />
6030        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
6031             no tint is applied. May be a color state list. -->
6032        <attr name="tint" />
6033        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
6034             default value is src_in, which treats the drawable as an alpha mask. -->
6035        <attr name="tintMode">
6036            <!-- The tint is drawn on top of the drawable.
6037                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
6038            <enum name="src_over" value="3" />
6039            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
6040                 color channels are thrown out. [Sa * Da, Sc * Da] -->
6041            <enum name="src_in" value="5" />
6042            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
6043                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
6044            <enum name="src_atop" value="9" />
6045            <!-- Multiplies the color and alpha channels of the drawable with those of
6046                 the tint. [Sa * Da, Sc * Dc] -->
6047            <enum name="multiply" value="14" />
6048            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
6049            <enum name="screen" value="15" />
6050            <!-- Combines the tint and drawable color and alpha channels, clamping the
6051                 result to valid color values. Saturate(S + D) -->
6052            <enum name="add" value="16" />
6053        </attr>
6054        <!-- Specifies the alpha multiplier to apply to the base drawable. -->
6055        <attr name="alpha" />
6056    </declare-styleable>
6057
6058    <!-- Drawable used to draw 9-patches. -->
6059    <declare-styleable name="NinePatchDrawable">
6060        <!-- Identifier of the bitmap file. This attribute is mandatory. -->
6061        <attr name="src" />
6062        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
6063             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
6064             an RGB 565 screen). -->
6065        <attr name="dither" />
6066        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
6067             RTL (right-to-left). -->
6068        <attr name="autoMirrored" />
6069        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
6070             no tint is applied. May be a color state list. -->
6071        <attr name="tint" />
6072        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
6073             default value is src_in, which treats the drawable as an alpha mask. -->
6074        <attr name="tintMode" />
6075        <!-- Specifies the alpha multiplier to apply to the base drawable. -->
6076        <attr name="alpha" />
6077    </declare-styleable>
6078
6079    <!-- Drawable used to draw a single color. -->
6080    <declare-styleable name="ColorDrawable">
6081        <!-- The color to use. -->
6082        <attr name="color" />
6083    </declare-styleable>
6084
6085    <!-- Drawable used to draw adaptive icons with foreground and background layers. -->
6086    <declare-styleable name="AdaptiveIconDrawableLayer">
6087        <!-- The drawable to use for the layer. -->
6088        <attr name="drawable" />
6089     </declare-styleable>
6090
6091    <!-- Drawable used to show animated touch feedback. -->
6092    <declare-styleable name="RippleDrawable">
6093        <!-- The color to use for ripple effects. This attribute is required. -->
6094        <attr name="color" />
6095        <!-- The radius of the ripple when fully expanded. By default, the
6096             radius is computed based on the size of the ripple's container. -->
6097        <attr name="radius" />
6098    </declare-styleable>
6099
6100    <declare-styleable name="ScaleDrawable">
6101        <!-- Scale width, expressed as a percentage of the drawable's bound. The value's
6102             format is XX%. For instance: 100%, 12.5%, etc.-->
6103        <attr name="scaleWidth" format="string" />
6104        <!-- Scale height, expressed as a percentage of the drawable's bound. The value's
6105             format is XX%. For instance: 100%, 12.5%, etc.-->
6106        <attr name="scaleHeight" format="string" />
6107        <!-- Specifies where the drawable is positioned after scaling. The default value is
6108             left. -->
6109        <attr name="scaleGravity">
6110            <!-- Push object to the top of its container, not changing its size. -->
6111            <flag name="top" value="0x30" />
6112            <!-- Push object to the bottom of its container, not changing its size. -->
6113            <flag name="bottom" value="0x50" />
6114            <!-- Push object to the left of its container, not changing its size. -->
6115            <flag name="left" value="0x03" />
6116            <!-- Push object to the right of its container, not changing its size. -->
6117            <flag name="right" value="0x05" />
6118            <!-- Place object in the vertical center of its container, not changing its size. -->
6119            <flag name="center_vertical" value="0x10" />
6120            <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
6121            <flag name="fill_vertical" value="0x70" />
6122            <!-- Place object in the horizontal center of its container, not changing its size. -->
6123            <flag name="center_horizontal" value="0x01" />
6124            <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
6125            <flag name="fill_horizontal" value="0x07" />
6126            <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
6127            <flag name="center" value="0x11" />
6128            <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
6129            <flag name="fill" value="0x77" />
6130            <!-- Additional option that can be set to have the top and/or bottom edges of
6131                 the child clipped to its container's bounds.
6132                 The clip will be based on the vertical gravity: a top gravity will clip the bottom
6133                 edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
6134            <flag name="clip_vertical" value="0x80" />
6135            <!-- Additional option that can be set to have the left and/or right edges of
6136                 the child clipped to its container's bounds.
6137                 The clip will be based on the horizontal gravity: a left gravity will clip the right
6138                 edge, a right gravity will clip the left edge, and neither will clip both edges. -->
6139            <flag name="clip_horizontal" value="0x08" />
6140            <!-- Push object to the beginning of its container, not changing its size. -->
6141            <flag name="start" value="0x00800003" />
6142            <!-- Push object to the end of its container, not changing its size. -->
6143            <flag name="end" value="0x00800005" />
6144        </attr>
6145        <!-- Specifies the initial drawable level in the range 0 to 10000. -->
6146        <attr name="level" format="integer" />
6147        <!-- Reference to a drawable resource to draw with the specified scale. -->
6148        <attr name="drawable" />
6149        <!-- Use the drawable's intrinsic width and height as minimum size values.
6150             Useful if the target drawable is a 9-patch or otherwise should not be scaled
6151             down beyond a minimum size. -->
6152        <attr name="useIntrinsicSizeAsMinimum" format="boolean" />
6153    </declare-styleable>
6154
6155    <declare-styleable name="ClipDrawable">
6156        <!-- The orientation for the clip. -->
6157        <attr name="clipOrientation">
6158            <!-- Clip the drawable horizontally. -->
6159            <flag name="horizontal" value="1" />
6160            <!-- Clip the drawable vertically. -->
6161            <flag name="vertical" value="2" />
6162        </attr>
6163        <!-- Specifies where to clip within the drawable. The default value is
6164             left. -->
6165        <attr name="gravity" />
6166        <!-- Reference to a drawable resource to draw with the specified scale. -->
6167        <attr name="drawable" />
6168    </declare-styleable>
6169
6170    <!-- Defines the padding of a ShapeDrawable. -->
6171    <declare-styleable name="ShapeDrawablePadding">
6172        <!-- Left padding. -->
6173        <attr name="left" />
6174        <!-- Top padding. -->
6175        <attr name="top" />
6176        <!-- Right padding. -->
6177        <attr name="right" />
6178        <!-- Bottom padding. -->
6179        <attr name="bottom" />
6180    </declare-styleable>
6181
6182    <!-- Drawable used to draw shapes. -->
6183    <declare-styleable name="ShapeDrawable">
6184        <!-- Defines the color of the shape. -->
6185        <attr name="color" />
6186        <!-- Defines the width of the shape. -->
6187        <attr name="width" />
6188        <!-- Defines the height of the shape. -->
6189        <attr name="height" />
6190        <!-- Enables or disables dithering. -->
6191        <attr name="dither" />
6192        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
6193             no tint is applied. May be a color state list. -->
6194        <attr name="tint" />
6195        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
6196             default value is src_in, which treats the drawable as an alpha mask. -->
6197        <attr name="tintMode" />
6198    </declare-styleable>
6199
6200    <!-- ========================== -->
6201    <!--   VectorDrawable class   -->
6202    <!-- ========================== -->
6203    <eat-comment />
6204
6205    <!-- Drawable used to draw vector paths. -->
6206    <declare-styleable name="VectorDrawable">
6207        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
6208             no tint is applied. May be a color state list. -->
6209        <attr name="tint" />
6210        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
6211             default value is src_in, which treats the drawable as an alpha mask. -->
6212        <attr name="tintMode" />
6213        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
6214             RTL (right-to-left). -->
6215        <attr name="autoMirrored" />
6216        <!-- The intrinsic width of the Vector Drawable. -->
6217        <attr name="width" />
6218        <!-- The intrinsic height of the Vector Drawable. -->
6219        <attr name="height" />
6220        <!-- The width of the canvas the drawing is on. -->
6221        <attr name="viewportWidth" format="float"/>
6222        <!-- The height of the canvas the drawing is on. -->
6223        <attr name="viewportHeight" format="float"/>
6224        <!-- The name of this vector drawable. -->
6225        <attr name="name" />
6226        <!-- The opacity of the whole vector drawable, as a value between 0
6227             (completely transparent) and 1 (completely opaque). -->
6228        <attr name="alpha" />
6229        <!-- Left optical inset.
6230             @hide Until optical insets are fully supported. -->
6231        <attr name="opticalInsetLeft" format="dimension" />
6232        <!-- Top optical inset.
6233             @hide Until optical insets are fully supported. -->
6234        <attr name="opticalInsetTop" format="dimension" />
6235        <!-- Right optical inset.
6236             @hide Until optical insets are fully supported. -->
6237        <attr name="opticalInsetRight" format="dimension" />
6238        <!-- Bottom optical inset.
6239             @hide Until optical insets are fully supported. -->
6240        <attr name="opticalInsetBottom" format="dimension" />
6241    </declare-styleable>
6242
6243    <!-- Defines the group used in VectorDrawables. -->
6244    <declare-styleable name="VectorDrawableGroup">
6245        <!-- The name of this group. -->
6246        <attr name="name" />
6247        <!-- The amount to rotate the group. -->
6248        <attr name="rotation" />
6249        <!-- The X coordinate of the center of rotation of a group. -->
6250        <attr name="pivotX" />
6251        <!-- The Y coordinate of the center of rotation of a group. -->
6252        <attr name="pivotY" />
6253        <!-- The amount to translate the group on X coordinate. -->
6254        <attr name="translateX" format="float"/>
6255        <!-- The amount to translate the group on Y coordinate. -->
6256        <attr name="translateY" format="float"/>
6257        <!-- The amount to scale the group on X coordinate. -->
6258        <attr name="scaleX" />
6259        <!-- The amount to scale the group on X coordinate. -->
6260        <attr name="scaleY" />
6261    </declare-styleable>
6262
6263    <!-- Defines the path used in VectorDrawables. -->
6264    <declare-styleable name="VectorDrawablePath">
6265        <!-- The name of this path. -->
6266        <attr name="name" />
6267        <!-- The width a path stroke. -->
6268        <attr name="strokeWidth" format="float" />
6269        <!-- The color to stroke the path if not defined implies no stroke. -->
6270        <attr name="strokeColor" format="color" />
6271        <!-- The opacity of a path stroke, as a value between 0 (completely transparent)
6272             and 1 (completely opaque). -->
6273        <attr name="strokeAlpha" format="float" />
6274        <!-- The color to fill the path if not defined implies no fill. -->
6275        <attr name="fillColor" format="color" />
6276        <!-- The alpha of the path fill, as a value between 0 (completely transparent)
6277             and 1 (completely opaque). -->
6278        <attr name="fillAlpha" format="float" />
6279        <!-- The specification of the operations that define the path. -->
6280        <attr name="pathData" format="string" />
6281        <!-- The fraction of the path to trim from the start from 0 to 1. -->
6282        <attr name="trimPathStart" format="float" />
6283        <!-- The fraction of the path to trim from the end from 0 to 1 . -->
6284        <attr name="trimPathEnd" format="float" />
6285        <!-- Shift trim region (allows visible region to include the start and end) from 0 to 1. -->
6286        <attr name="trimPathOffset" format="float" />
6287        <!-- sets the linecap for a stroked path. -->
6288        <attr name="strokeLineCap" format="enum">
6289            <enum name="butt" value="0"/>
6290            <enum name="round" value="1"/>
6291            <enum name="square" value="2"/>
6292        </attr>
6293        <!-- sets the lineJoin for a stroked path. -->
6294        <attr name="strokeLineJoin" format="enum">
6295            <enum name="miter" value="0"/>
6296            <enum name="round" value="1"/>
6297            <enum name="bevel" value="2"/>
6298        </attr>
6299        <!-- sets the Miter limit for a stroked path. -->
6300        <attr name="strokeMiterLimit" format="float"/>
6301        <!-- sets the fillType for a path. It is the same as SVG's "fill-rule" properties.
6302             For more details, see https://www.w3.org/TR/SVG/painting.html#FillRuleProperty. -->
6303        <attr name="fillType" format="enum">
6304            <enum name="nonZero" value="0"/>
6305            <enum name="evenOdd" value="1"/>
6306        </attr>
6307    </declare-styleable>
6308
6309    <!-- Defines the clip path used in VectorDrawables. -->
6310    <declare-styleable name="VectorDrawableClipPath">
6311        <!-- The Name of this path. -->
6312        <attr name="name" />
6313        <!-- The specification of the operations that define the path. -->
6314        <attr name="pathData"/>
6315    </declare-styleable>
6316
6317    <!-- ========================== -->
6318    <!--   AnimatedVectorDrawable class   -->
6319    <!-- ========================== -->
6320    <eat-comment />
6321
6322    <!-- Define the AnimatedVectorDrawable. -->
6323    <declare-styleable name="AnimatedVectorDrawable">
6324        <!-- The static vector drawable. -->
6325        <attr name="drawable" />
6326    </declare-styleable>
6327
6328    <!-- Defines the target used in the AnimatedVectorDrawable. -->
6329    <declare-styleable name="AnimatedVectorDrawableTarget">
6330        <!-- The name of the target path, group or vector drawable. -->
6331        <attr name="name" />
6332        <!-- The animation for the target path, group or vector drawable. -->
6333        <attr name="animation" />
6334    </declare-styleable>
6335
6336    <!-- ========================== -->
6337    <!-- Animation class attributes -->
6338    <!-- ========================== -->
6339    <eat-comment />
6340
6341    <declare-styleable name="Animation">
6342        <!-- Defines the interpolator used to smooth the animation movement in time. -->
6343        <attr name="interpolator" />
6344        <!-- When set to true, the value of fillBefore is taken into account. -->
6345        <attr name="fillEnabled" format="boolean" />
6346        <!-- When set to true or when fillEnabled is not set to true, the animation transformation
6347             is applied before the animation has started. The default value is true. -->
6348        <attr name="fillBefore" format="boolean" />
6349        <!-- When set to true, the animation transformation is applied after the animation is
6350             over. The default value is false. If fillEnabled is not set to true and the
6351             animation is not set on a View, fillAfter is assumed to be true.-->
6352        <attr name="fillAfter" format="boolean" />
6353        <!-- Amount of time (in milliseconds) for the animation to run. -->
6354        <attr name="duration" />
6355        <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
6356        <attr name="startOffset" format="integer" />
6357        <!-- Defines how many times the animation should repeat. The default value is 0. -->
6358        <attr name="repeatCount" format="integer">
6359            <enum name="infinite" value="-1" />
6360        </attr>
6361        <!-- Defines the animation behavior when it reaches the end and the repeat count is
6362             greater than 0 or infinite. The default value is restart. -->
6363        <attr name="repeatMode">
6364            <!-- The animation starts again from the beginning. -->
6365            <enum name="restart" value="1" />
6366            <!-- The animation plays backward. -->
6367            <enum name="reverse" value="2" />
6368        </attr>
6369        <!-- Allows for an adjustment of the Z ordering of the content being
6370             animated for the duration of the animation.  The default value is normal. -->
6371        <attr name="zAdjustment">
6372            <!-- The content being animated be kept in its current Z order. -->
6373            <enum name="normal" value="0" />
6374            <!-- The content being animated is forced on top of all other
6375                 content for the duration of the animation. -->
6376            <enum name="top" value="1" />
6377            <!-- The content being animated is forced under all other
6378                 content for the duration of the animation. -->
6379            <enum name="bottom" value="-1" />
6380        </attr>
6381        <!-- Special background behind animation.  Only for use with window
6382             animations.  Can only be a color, and only black.  If 0, the
6383             default, there is no background. -->
6384        <attr name="background" />
6385        <!-- Special option for window animations: if this window is on top
6386             of a wallpaper, don't animate the wallpaper with it. -->
6387        <attr name="detachWallpaper" format="boolean" />
6388        <!-- Special option for window animations: show the wallpaper behind when running this
6389             animation. -->
6390        <attr name="showWallpaper" format="boolean" />
6391    </declare-styleable>
6392
6393    <declare-styleable name="AnimationSet">
6394        <attr name="shareInterpolator" format="boolean" />
6395        <attr name="fillBefore" />
6396        <attr name="fillAfter" />
6397        <attr name="duration" />
6398        <attr name="startOffset" />
6399        <attr name="repeatMode" />
6400    </declare-styleable>
6401
6402    <declare-styleable name="RotateAnimation">
6403        <attr name="fromDegrees" />
6404        <attr name="toDegrees" />
6405        <attr name="pivotX" />
6406        <attr name="pivotY" />
6407    </declare-styleable>
6408
6409    <declare-styleable name="ScaleAnimation">
6410        <attr name="fromXScale" format="float|fraction|dimension" />
6411        <attr name="toXScale" format="float|fraction|dimension" />
6412        <attr name="fromYScale" format="float|fraction|dimension" />
6413        <attr name="toYScale" format="float|fraction|dimension" />
6414        <attr name="pivotX" />
6415        <attr name="pivotY" />
6416    </declare-styleable>
6417
6418    <declare-styleable name="TranslateAnimation">
6419        <attr name="fromXDelta" format="float|fraction" />
6420        <attr name="toXDelta" format="float|fraction" />
6421        <attr name="fromYDelta" format="float|fraction" />
6422        <attr name="toYDelta" format="float|fraction" />
6423    </declare-styleable>
6424
6425    <declare-styleable name="AlphaAnimation">
6426        <attr name="fromAlpha" format="float" />
6427        <attr name="toAlpha" format="float" />
6428    </declare-styleable>
6429
6430    <declare-styleable name="ClipRectAnimation">
6431        <attr name="fromLeft" format="fraction" />
6432        <attr name="fromTop" format="fraction" />
6433        <attr name="fromRight" format="fraction" />
6434        <attr name="fromBottom" format="fraction" />
6435        <attr name="toLeft" format="fraction" />
6436        <attr name="toTop" format="fraction" />
6437        <attr name="toRight" format="fraction" />
6438        <attr name="toBottom" format="fraction" />
6439    </declare-styleable>
6440
6441    <declare-styleable name="LayoutAnimation">
6442        <!-- Fraction of the animation duration used to delay the beginning of
6443         the animation of each child. -->
6444        <attr name="delay" format="float|fraction" />
6445        <!-- Animation to use on each child. -->
6446        <attr name="animation" format="reference" />
6447        <!-- The order in which the animations will be started. -->
6448        <attr name="animationOrder">
6449            <!-- Animations are started in the natural order. -->
6450            <enum name="normal" value="0" />
6451            <!-- Animations are started in the reverse order. -->
6452            <enum name="reverse" value="1" />
6453            <!-- Animations are started randomly. -->
6454            <enum name="random" value="2" />
6455        </attr>
6456        <!-- Interpolator used to interpolate the delay between the start of
6457         each animation. -->
6458        <attr name="interpolator" />
6459    </declare-styleable>
6460
6461    <declare-styleable name="GridLayoutAnimation">
6462        <!-- Fraction of the animation duration used to delay the beginning of
6463         the animation of each column. -->
6464        <attr name="columnDelay" format="float|fraction" />
6465        <!-- Fraction of the animation duration used to delay the beginning of
6466         the animation of each row. -->
6467        <attr name="rowDelay" format="float|fraction" />
6468        <!-- Direction of the animation in the grid. -->
6469        <attr name="direction">
6470            <!-- Animates columns from left to right. -->
6471            <flag name="left_to_right" value="0x0" />
6472            <!-- Animates columns from right to left. -->
6473            <flag name="right_to_left" value="0x1" />
6474            <!-- Animates rows from top to bottom. -->
6475            <flag name="top_to_bottom" value="0x0" />
6476            <!-- Animates rows from bottom to top. -->
6477            <flag name="bottom_to_top" value="0x2" />
6478        </attr>
6479        <!-- Priority of the rows and columns. When the priority is none,
6480         both rows and columns have the same priority. When the priority is
6481         column, the animations will be applied on the columns first. The same
6482         goes for rows. -->
6483        <attr name="directionPriority">
6484            <!-- Rows and columns are animated at the same time. -->
6485            <enum name="none"   value="0" />
6486            <!-- Columns are animated first. -->
6487            <enum name="column" value="1" />
6488            <!-- Rows are animated first. -->
6489            <enum name="row"    value="2" />
6490        </attr>
6491    </declare-styleable>
6492
6493    <declare-styleable name="AccelerateInterpolator">
6494        <!-- This is the amount of deceleration to add when easing in. -->
6495        <attr name="factor" format="float" />
6496    </declare-styleable>
6497
6498    <declare-styleable name="DecelerateInterpolator">
6499        <!-- This is the amount of acceleration to add when easing out. -->
6500        <attr name="factor" />
6501    </declare-styleable>
6502
6503    <declare-styleable name="CycleInterpolator">
6504        <attr name="cycles" format="float" />
6505    </declare-styleable>
6506
6507    <declare-styleable name="AnticipateInterpolator">
6508        <!-- This is the amount of tension. -->
6509        <attr name="tension" format="float" />
6510    </declare-styleable>
6511
6512    <declare-styleable name="OvershootInterpolator">
6513        <!-- This is the amount of tension. -->
6514        <attr name="tension" />
6515    </declare-styleable>
6516
6517    <declare-styleable name="AnticipateOvershootInterpolator">
6518        <!-- This is the amount of tension. -->
6519        <attr name="tension" />
6520        <!-- This is the amount by which to multiply the tension. -->
6521        <attr name="extraTension" format="float" />
6522    </declare-styleable>
6523
6524    <declare-styleable name="PathInterpolator">
6525        <!-- The x coordinate of the first control point of the cubic Bezier. -->
6526        <attr name="controlX1" format="float" />
6527        <!-- The y coordinate of the first control point of the cubic Bezier. -->
6528        <attr name="controlY1" format="float" />
6529        <!-- The x coordinate of the second control point of the cubic Bezier. -->
6530        <attr name="controlX2" format="float" />
6531        <!-- The y coordinate of the second control point of the cubic Bezier. -->
6532        <attr name="controlY2" format="float" />
6533        <!-- The control points defined as a path.
6534             When pathData is defined, then both of the control points of the
6535             cubic Bezier will be ignored. -->
6536        <attr name="pathData"/>
6537    </declare-styleable>
6538
6539    <!-- ========================== -->
6540    <!-- Transition attributes -->
6541    <!-- ========================== -->
6542    <eat-comment />
6543
6544    <!-- Use specific transition subclass names as the root tag of the XML resource that
6545         describes a {@link android.transition.Transition Transition},
6546         such as <code>changeBounds</code>, <code>fade</code>, and <code>transitionSet</code>. -->
6547    <declare-styleable name="Transition">
6548        <!-- Amount of time (in milliseconds) that the transition should run. -->
6549        <attr name="duration" />
6550        <!-- Delay in milliseconds before the transition starts. -->
6551        <attr name="startDelay" format="integer" />
6552        <!-- Interpolator to be used in the animations spawned by this transition. -->
6553        <attr name="interpolator" />
6554        <!-- The match order to use for the transition. This is a comma-separated
6555             list of values, containing one or more of the following:
6556             id, itemId, name, instance. These correspond to
6557             {@link android.transition.Transition#MATCH_ID},
6558             {@link android.transition.Transition#MATCH_ITEM_ID},
6559             {@link android.transition.Transition#MATCH_NAME}, and
6560             {@link android.transition.Transition#MATCH_INSTANCE}, respectively.
6561             This corresponds to {@link android.transition.Transition#setMatchOrder(int...)}. -->
6562        <attr name="matchOrder" format="string" />
6563    </declare-styleable>
6564
6565    <!-- @hide For internal use only. Use only as directed. -->
6566    <declare-styleable name="EpicenterTranslateClipReveal">
6567        <attr name="interpolatorX" format="reference" />
6568        <attr name="interpolatorY" format="reference" />
6569        <attr name="interpolatorZ" format="reference" />
6570    </declare-styleable>
6571
6572    <!-- Use <code>fade</code>as the root tag of the XML resource that
6573         describes a {@link android.transition.Fade Fade} transition.
6574         The attributes of the {@link android.R.styleable#Transition Transition}
6575         resource are available in addition to the specific attributes of Fade
6576         described here. -->
6577    <declare-styleable name="Fade">
6578        <!-- Equivalent to <code>transitionVisibilityMode</code>, fadingMode works only
6579             with the Fade transition. -->
6580        <attr name="fadingMode">
6581            <!-- Fade will only fade appearing items in. -->
6582            <enum name="fade_in" value="1" />
6583            <!-- Fade will only fade disappearing items out. -->
6584            <enum name="fade_out" value="2" />
6585            <!-- Fade will fade appearing items in and disappearing items out. -->
6586            <enum name="fade_in_out" value="3" />
6587        </attr>
6588    </declare-styleable>
6589
6590    <!-- Use <code>slide</code>as the root tag of the XML resource that
6591         describes a {@link android.transition.Slide Slide} transition.
6592         The attributes of the {@link android.R.styleable#Transition Transition}
6593         resource are available in addition to the specific attributes of Slide
6594         described here. -->
6595    <declare-styleable name="Slide">
6596        <attr name="slideEdge">
6597            <!-- Slide to and from the left edge of the Scene. -->
6598            <enum name="left" value="0x03" />
6599            <!-- Slide to and from the top edge of the Scene. -->
6600            <enum name="top" value="0x30" />
6601            <!-- Slide to and from the right edge of the Scene. -->
6602            <enum name="right" value="0x05" />
6603            <!-- Slide to and from the bottom edge of the Scene. -->
6604            <enum name="bottom" value="0x50" />
6605            <!-- Slide to and from the x-axis position at the start of the Scene root. -->
6606            <enum name="start" value="0x00800003"/>
6607            <!-- Slide to and from the x-axis position at the end of the Scene root. -->
6608            <enum name="end" value="0x00800005"/>
6609        </attr>
6610    </declare-styleable>
6611
6612    <!-- Use with {@link android.transition.Visibility} transitions, such as
6613         <code>slide</code>, <code>explode</code>, and <code>fade</code> to mark which
6614         views are supported. -->
6615    <declare-styleable name="VisibilityTransition">
6616        <!-- Changes whether the transition supports appearing and/or disappearing Views.
6617             Corresponds to {@link android.transition.Visibility#setMode(int)}. -->
6618        <attr name="transitionVisibilityMode">
6619            <!-- Only appearing Views will be supported. -->
6620            <flag name="mode_in" value="1" />
6621            <!-- Only disappearing Views will be supported. -->
6622            <flag name="mode_out" value="2" />
6623        </attr>
6624    </declare-styleable>
6625    <!-- Use <code>target</code> as the root tag of the XML resource that
6626     describes a {@link android.transition.Transition#addTarget(int)
6627     targetId} of a transition. There can be one or more targets inside
6628     a <code>targets</code> tag, which is itself inside an appropriate
6629     {@link android.R.styleable#Transition Transition} tag.
6630     -->
6631    <declare-styleable name="TransitionTarget">
6632        <!-- The id of a target on which this transition will animate changes. -->
6633        <attr name="targetId" format="reference" />
6634        <!-- The id of a target to exclude from this transition. -->
6635        <attr name="excludeId" format="reference" />
6636        <!-- The fully-qualified name of the Class to include in this transition. -->
6637        <attr name="targetClass" />
6638        <!-- The fully-qualified name of the Class to exclude from this transition. -->
6639        <attr name="excludeClass" format="string" />
6640        <!-- The transitionName of the target on which this transition will animation changes. -->
6641        <attr name="targetName" format="string" />
6642        <!-- The transitionName of the target to exclude from this transition. -->
6643        <attr name="excludeName" format="string" />
6644    </declare-styleable>
6645
6646    <!-- Use <code>set</code> as the root tag of the XML resource that
6647         describes a {@link android.transition.TransitionSet
6648         TransitionSet} transition. -->
6649    <declare-styleable name="TransitionSet">
6650        <attr name="transitionOrdering">
6651            <!-- child transitions should be played together. -->
6652            <enum name="together" value="0" />
6653            <!-- child transitions should be played sequentially, in the same order
6654            as the xml. -->
6655            <enum name="sequential" value="1" />
6656        </attr>
6657    </declare-styleable>
6658
6659    <!-- Use <code>changeTransform</code> as the root tag of the XML resource that
6660         describes a {@link android.transition.ChangeTransform} transition. -->
6661    <declare-styleable name="ChangeTransform">
6662        <!-- A parent change should use an overlay or affect the transform of the
6663             transitionining View. Default is true. Corresponds to
6664             {@link android.transition.ChangeTransform#setReparentWithOverlay(boolean)}. -->
6665        <attr name="reparentWithOverlay" format="boolean"/>
6666
6667        <!-- Tells ChangeTransform to track parent changes. Default is true. Corresponds to
6668             {@link android.transition.ChangeTransform#setReparent(boolean)}. -->
6669        <attr name="reparent" format="boolean"/>
6670    </declare-styleable>
6671
6672    <!-- Use <code>changeBounds</code>as the root tag of the XML resource that
6673         describes a {@link android.transition.ChangeBounds} transition.
6674         The attributes of the {@link android.R.styleable#Transition Transition}
6675         resource are available in addition to the specific attributes of ChangeBounds
6676         described here. -->
6677    <declare-styleable name="ChangeBounds">
6678        <!-- Resize the view by adjusting the clipBounds rather than changing the
6679             dimensions of the view itself. The default value is false. -->
6680        <attr name="resizeClip" format="boolean"/>
6681    </declare-styleable>
6682
6683    <!-- Use <code>transitionManager</code> as the root tag of the XML resource that
6684         describes a {@link android.transition.TransitionManager
6685         TransitionManager}. -->
6686    <declare-styleable name="TransitionManager">
6687        <!-- The id of a transition to be used in a particular scene change. -->
6688        <attr name="transition" format="reference" />
6689        <!-- The originating scene in this scene change. -->
6690        <attr name="fromScene" format="reference" />
6691        <!-- The destination scene in this scene change. -->
6692        <attr name="toScene" format="reference" />
6693    </declare-styleable>
6694
6695    <!-- Use <code>arcMotion</code> as the root tag of the XML resource that
6696         describes a {@link android.transition.ArcMotion}. This must be used
6697         within a transition with which the PathMotion should be associated. -->
6698    <declare-styleable name="ArcMotion">
6699        <!-- The minimum arc angle in degrees between the start and end points when
6700             they are close to horizontal. -->
6701        <attr name="minimumHorizontalAngle" format="float" />
6702        <!-- The minimum arc angle in degrees between the start and end points when
6703             they are close to vertical. -->
6704        <attr name="minimumVerticalAngle" format="float" />
6705        <!-- The maximum arc angle in degrees between the start and end points. -->
6706        <attr name="maximumAngle" format="float" />
6707    </declare-styleable>
6708
6709    <!-- Use <code>patternPathMotion</code> as the root tag of the XML resource that
6710         describes a {@link android.transition.PatternPathMotion}. This must be used
6711         within a transition with which the PathMotion should be associated. -->
6712    <declare-styleable name="PatternPathMotion">
6713        <!-- The path string describing the pattern to use for the PathPathMotion. -->
6714        <attr name="patternPathData" format="string" />
6715    </declare-styleable>
6716
6717    <!-- ========================== -->
6718    <!-- ValueAnimator class attributes -->
6719    <!-- ========================== -->
6720    <eat-comment />
6721
6722    <declare-styleable name="Animator">
6723        <!-- Defines the interpolator used to smooth the animation movement in time. -->
6724        <attr name="interpolator" />
6725        <!-- Amount of time (in milliseconds) for the animation to run. -->
6726        <attr name="duration" />
6727        <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
6728        <attr name="startOffset"/>
6729        <!-- Defines how many times the animation should repeat. The default value is 0. -->
6730        <attr name="repeatCount"/>
6731        <!-- Defines the animation behavior when it reaches the end and the repeat count is
6732             greater than 0 or infinite. The default value is restart. -->
6733        <attr name="repeatMode"/>
6734        <!-- Value the animation starts from. -->
6735        <attr name="valueFrom" format="float|integer|color|dimension|string"/>
6736        <!-- Value the animation animates to. -->
6737        <attr name="valueTo" format="float|integer|color|dimension|string"/>
6738        <!-- The type of valueFrom and valueTo. -->
6739        <attr name="valueType">
6740            <!-- The given values are floats. This is the default value if valueType is
6741                 unspecified. Note that if any value attribute has a color value
6742                 (beginning with "#"), then this attribute is ignored and the color values are
6743                 interpreted as integers. -->
6744            <enum name="floatType" value="0" />
6745            <!-- values are integers. -->
6746            <enum name="intType"   value="1" />
6747            <!-- values are paths defined as strings.
6748                 This type is used for path morphing in AnimatedVectorDrawable. -->
6749            <enum name="pathType"   value="2" />
6750            <!-- values are colors, which are integers starting with "#". -->
6751            <enum name="colorType"   value="3" />
6752        </attr>
6753        <!-- Placeholder for a deleted attribute. This should be removed before M release. -->
6754        <attr name="removeBeforeMRelease" format="integer" />
6755    </declare-styleable>
6756
6757    <declare-styleable name="PropertyValuesHolder">
6758        <attr name="valueType" />
6759        <attr name="propertyName" />
6760        <attr name="valueFrom" />
6761        <attr name="valueTo" />
6762    </declare-styleable>
6763
6764    <declare-styleable name="Keyframe">
6765        <attr name="valueType" />
6766        <attr name="value" />
6767        <attr name="fraction" format="float" />
6768        <!-- Defines a per-interval interpolator for this keyframe. This interpolator will be used
6769             to interpolate between this keyframe and the previous keyframe. -->
6770        <attr name="interpolator" />
6771    </declare-styleable>
6772
6773    <!-- ========================== -->
6774    <!-- ObjectAnimator class attributes -->
6775    <!-- ========================== -->
6776    <eat-comment />
6777
6778    <declare-styleable name="PropertyAnimator">
6779        <!-- Name of the property being animated. -->
6780        <attr name="propertyName" format="string"/>
6781        <!-- Name of the property being animated as the X coordinate of the pathData. -->
6782        <attr name="propertyXName" format="string"/>
6783        <!-- Name of the property being animated as the Y coordinate of the pathData. -->
6784        <attr name="propertyYName" format="string"/>
6785        <!-- The path used to animate the properties in the ObjectAnimator. -->
6786        <attr name="pathData"/>
6787    </declare-styleable>
6788
6789
6790    <!-- ========================== -->
6791    <!-- AnimatorSet class attributes -->
6792    <!-- ========================== -->
6793    <eat-comment />
6794
6795    <declare-styleable name="AnimatorSet">
6796        <!-- Name of the property being animated. -->
6797        <attr name="ordering">
6798            <!-- child animations should be played together. -->
6799            <enum name="together" value="0" />
6800            <!-- child animations should be played sequentially, in the same order as the xml. -->
6801            <enum name="sequentially" value="1" />
6802        </attr>
6803    </declare-styleable>
6804
6805    <!-- ========================== -->
6806    <!-- State attributes           -->
6807    <!-- ========================== -->
6808    <eat-comment />
6809
6810    <!-- Set of framework-provided states that may be specified on a Drawable. Actual usage of
6811         states may vary between view implementations, as documented on the individual state
6812         attributes. -->
6813    <declare-styleable name="DrawableStates">
6814        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6815             set when a view has input focus. -->
6816        <attr name="state_focused" format="boolean" />
6817        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6818             set when a view's window has input focus. -->
6819        <attr name="state_window_focused" format="boolean" />
6820        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6821             set when a view is enabled. -->
6822        <attr name="state_enabled" format="boolean" />
6823        <!-- State identifier indicating that the object <var>may</var> display a check mark. See
6824             {@link android.R.attr#state_checked} for the identifier that indicates whether it is
6825             actually checked. -->
6826        <attr name="state_checkable" format="boolean"/>
6827        <!-- State identifier indicating that the object is currently checked.  See
6828             {@link android.R.attr#state_checkable} for an additional identifier that can indicate
6829             if any object may ever display a check, regardless of whether state_checked is
6830             currently set. -->
6831        <attr name="state_checked" format="boolean"/>
6832        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6833             set when a view (or one of its parents) is currently selected. -->
6834        <attr name="state_selected" format="boolean" />
6835        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6836             set when the user is pressing down in a view. -->
6837        <attr name="state_pressed" format="boolean" />
6838        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6839             set when a view or its parent has been "activated" meaning the user has currently
6840             marked it as being of interest.  This is an alternative representation of
6841             state_checked for when the state should be propagated down the view hierarchy. -->
6842        <attr name="state_activated" format="boolean" />
6843        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6844             set when a view or drawable is considered "active" by its host. Actual usage may vary
6845             between views. Consult the host view documentation for details. -->
6846        <attr name="state_active" format="boolean" />
6847        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6848             set when a view or drawable is considered "single" by its host. Actual usage may vary
6849             between views. Consult the host view documentation for details. -->
6850        <attr name="state_single" format="boolean" />
6851        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6852             set when a view or drawable is in the first position in an ordered set. Actual usage
6853             may vary between views. Consult the host view documentation for details. -->
6854        <attr name="state_first" format="boolean" />
6855        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6856             set when a view or drawable is in the middle position in an ordered set. Actual usage
6857             may vary between views. Consult the host view documentation for details. -->
6858        <attr name="state_middle" format="boolean" />
6859        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6860             set when a view or drawable is in the last position in an ordered set. Actual usage
6861             may vary between views. Consult the host view documentation for details. -->
6862        <attr name="state_last" format="boolean" />
6863        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6864             indicating that the Drawable is in a view that is hardware accelerated.
6865             This means that the device can at least render a full-screen scaled
6866             bitmap with one layer of text and bitmaps composited on top of it
6867             at 60fps.  When this is set, the colorBackgroundCacheHint will be
6868             ignored even if it specifies a solid color, since that optimization
6869             is not needed. -->
6870        <attr name="state_accelerated" format="boolean" />
6871        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6872             set when a pointer is hovering over the view. -->
6873        <attr name="state_hovered" format="boolean" />
6874        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6875             indicating that the Drawable is in a view that is capable of accepting a drop of
6876             the content currently being manipulated in a drag-and-drop operation. -->
6877        <attr name="state_drag_can_accept" format="boolean" />
6878        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6879             indicating that a drag operation (for which the Drawable's view is a valid recipient)
6880             is currently positioned over the Drawable. -->
6881        <attr name="state_drag_hovered" format="boolean" />
6882        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6883             indicating that a View has accessibility focus. -->
6884        <attr name="state_accessibility_focused" format="boolean" />
6885    </declare-styleable>
6886    <declare-styleable name="ViewDrawableStates">
6887        <attr name="state_pressed" />
6888        <attr name="state_focused" />
6889        <attr name="state_selected" />
6890        <attr name="state_window_focused" />
6891        <attr name="state_enabled" />
6892        <attr name="state_activated" />
6893        <attr name="state_accelerated" />
6894        <attr name="state_hovered" />
6895        <attr name="state_drag_can_accept" />
6896        <attr name="state_drag_hovered" />
6897    </declare-styleable>
6898    <!-- State array representing a menu item that is currently checked. -->
6899    <declare-styleable name="MenuItemCheckedState">
6900        <attr name="state_checkable" />
6901        <attr name="state_checked" />
6902    </declare-styleable>
6903    <!-- State array representing a menu item that is checkable but is not currently checked. -->
6904    <declare-styleable name="MenuItemUncheckedState">
6905        <attr name="state_checkable" />
6906    </declare-styleable>
6907    <!-- State array representing a menu item that is currently focused and checked. -->
6908    <declare-styleable name="MenuItemCheckedFocusedState">
6909        <attr name="state_checkable" />
6910        <attr name="state_checked" />
6911        <attr name="state_focused" />
6912    </declare-styleable>
6913    <!-- State array representing a menu item that is focused and checkable but is not currently checked. -->
6914    <declare-styleable name="MenuItemUncheckedFocusedState">
6915        <attr name="state_checkable" />
6916        <attr name="state_focused" />
6917    </declare-styleable>
6918    <!-- State array representing an expandable list child's indicator. -->
6919    <declare-styleable name="ExpandableListChildIndicatorState">
6920        <!-- State identifier indicating the child is the last child within its group. -->
6921        <attr name="state_last" />
6922    </declare-styleable>
6923    <!-- State array representing an expandable list group's indicator. -->
6924    <declare-styleable name="ExpandableListGroupIndicatorState">
6925        <!-- State identifier indicating the group is expanded. -->
6926        <attr name="state_expanded" format="boolean" />
6927        <!-- State identifier indicating the group is empty (has no children). -->
6928        <attr name="state_empty" format="boolean" />
6929    </declare-styleable>
6930    <declare-styleable name="PopupWindowBackgroundState">
6931        <!-- State identifier indicating the popup will be above the anchor. -->
6932        <attr name="state_above_anchor" format="boolean" />
6933    </declare-styleable>
6934    <declare-styleable name="TextViewMultiLineBackgroundState">
6935        <!-- State identifier indicating a TextView has a multi-line layout. -->
6936        <attr name="state_multiline" format="boolean" />
6937    </declare-styleable>
6938
6939    <!-- ***************************************************************** -->
6940    <!-- Support for Searchable activities. -->
6941    <!-- ***************************************************************** -->
6942    <eat-comment />
6943
6944    <!-- Searchable activities and applications must provide search configuration information
6945        in an XML file, typically called searchable.xml.  This file is referenced in your manifest.
6946        For a more in-depth discussion of search configuration, please refer to
6947        {@link android.app.SearchManager}. -->
6948    <declare-styleable name="Searchable">
6949          <!--<strong>This is deprecated.</strong><br/>The default
6950              application icon is now always used, so this attribute is
6951              obsolete.-->
6952        <attr name="icon" />
6953        <!-- This is the user-displayed name of the searchable activity.  <i>Required
6954            attribute.</i> -->
6955        <attr name="label" />
6956        <!-- If supplied, this string will be displayed as a hint to the user.  <i>Optional
6957            attribute.</i> -->
6958        <attr name="hint" />
6959        <!-- If supplied, this string will be displayed as the text of the "Search" button.
6960          <i>Optional attribute.</i>
6961          {@deprecated This will create a non-standard UI appearance, because the search bar UI is
6962                       changing to use only icons for its buttons.}-->
6963        <attr name="searchButtonText" format="string" />
6964        <attr name="inputType" />
6965        <attr name="imeOptions" />
6966
6967        <!-- Additional features are controlled by mode bits in this field.  Omitting
6968            this field, or setting to zero, provides default behavior.  <i>Optional attribute.</i>
6969        -->
6970        <attr name="searchMode">
6971          <!-- If set, this flag enables the display of the search target (label) within the
6972               search bar.  If neither bad mode is selected, no badge will be shown. -->
6973          <flag name="showSearchLabelAsBadge" value="0x04" />
6974          <!--<strong>This is deprecated.</strong><br/>The default
6975              application icon is now always used, so this option is
6976              obsolete.-->
6977          <flag name="showSearchIconAsBadge" value="0x08" />
6978          <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_INTENT_DATA to
6979               be considered as the text for suggestion query rewriting.  This should only
6980               be used when the values in SUGGEST_COLUMN_INTENT_DATA are suitable for user
6981               inspection and editing - typically, HTTP/HTTPS Uri's. -->
6982          <flag name="queryRewriteFromData" value="0x10" />
6983          <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_TEXT_1 to
6984               be considered as the text for suggestion query rewriting.  This should be used
6985               for suggestions in which no query text is provided and the SUGGEST_COLUMN_INTENT_DATA
6986               values are not suitable for user inspection and editing. -->
6987          <flag name="queryRewriteFromText" value="0x20" />
6988        </attr>
6989
6990        <!-- Voice search features are controlled by mode bits in this field.  Omitting
6991            this field, or setting to zero, provides default behavior.
6992            If showVoiceSearchButton is set, then launchWebSearch or launchRecognizer must
6993            also be set.  <i>Optional attribute.</i>
6994        -->
6995        <attr name="voiceSearchMode">
6996          <!-- If set, display a voice search button.  This only takes effect if voice search is
6997               available on the device. -->
6998          <flag name="showVoiceSearchButton" value="0x01" />
6999          <!-- If set, the voice search button will take the user directly to a built-in
7000               voice web search activity.  Most applications will not use this flag, as it
7001               will take the user away from the activity in which search was invoked. -->
7002          <flag name="launchWebSearch" value="0x02" />
7003          <!-- If set, the voice search button will take the user directly to a built-in
7004               voice recording activity.  This activity will prompt the user to speak,
7005               transcribe the spoken text, and forward the resulting query
7006               text to the searchable activity, just as if the user had typed it into
7007               the search UI and clicked the search button. -->
7008          <flag name="launchRecognizer" value="0x04" />
7009        </attr>
7010
7011        <!-- If provided, this specifies the language model that should be used by the
7012             voice recognition system.  See
7013             {@link android.speech.RecognizerIntent#EXTRA_LANGUAGE_MODEL } for more information.
7014             If not provided, the default value
7015             {@link android.speech.RecognizerIntent#LANGUAGE_MODEL_FREE_FORM } will be used. -->
7016        <attr name="voiceLanguageModel" format="string" />
7017        <!-- If provided, this specifies a prompt that will be displayed during voice input. -->
7018        <attr name="voicePromptText" format="string" />
7019        <!-- If provided, this specifies the spoken language to be expected, and that it will be
7020             different than the one set in the {@link java.util.Locale#getDefault()}. -->
7021        <attr name="voiceLanguage" format="string" />
7022        <!-- If provided, enforces the maximum number of results to return, including the "best"
7023             result which will always be provided as the SEARCH intent's primary query.  Must be one
7024             or greater.  If not provided, the recognizer will choose how many results to return.
7025             -->
7026        <attr name="voiceMaxResults" format="integer" />
7027
7028        <!-- If provided, this is the trigger indicating that the searchable activity
7029            provides suggestions as well.  The value must be a fully-qualified content provider
7030            authority (for example, "com.example.android.apis.SuggestionProvider") and should match
7031            the "android:authorities" tag in your content provider's manifest entry.  <i>Optional
7032            attribute.</i> -->
7033        <attr name="searchSuggestAuthority" format="string" />
7034        <!-- If provided, this will be inserted in the suggestions query Uri, after the authority
7035            you have provide but before the standard suggestions path. <i>Optional attribute.</i>
7036            -->
7037        <attr name="searchSuggestPath" format="string" />
7038        <!-- If provided, suggestion queries will be passed into your query function
7039            as the <i>selection</i> parameter.  Typically this will be a WHERE clause for your
7040            database, and will contain a single question mark, which represents the actual query
7041            string that has been typed by the user.  If not provided, then the user query text
7042            will be appended to the query Uri (after an additional "/".)  <i>Optional
7043            attribute.</i> -->
7044        <attr name="searchSuggestSelection" format="string" />
7045
7046        <!-- If provided, and not overridden by an action in the selected suggestion, this
7047            string will be placed in the action field of the {@link android.content.Intent Intent}
7048            when the user clicks a suggestion.  <i>Optional attribute.</i> -->
7049        <attr name="searchSuggestIntentAction" format="string" />
7050        <!-- If provided, and not overridden by an action in the selected suggestion, this
7051            string will be placed in the data field of the {@link android.content.Intent Intent}
7052            when the user clicks a suggestion.  <i>Optional attribute.</i> -->
7053        <attr name="searchSuggestIntentData" format="string" />
7054
7055        <!-- If provided, this is the minimum number of characters needed to trigger
7056             search suggestions. The default value is 0. <i>Optional attribute.</i> -->
7057        <attr name="searchSuggestThreshold" format="integer" />
7058
7059        <!-- If provided and <code>true</code>, this searchable activity will be
7060             included in any global lists of search targets.
7061             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
7062        <attr name="includeInGlobalSearch" format="boolean" />
7063
7064        <!-- If provided and <code>true</code>, this searchable activity will be invoked for all
7065             queries in a particular session. If set to <code>false</code> and the activity
7066             returned zero results for a query, it will not be invoked again in that session for
7067             supersets of that zero-results query. For example, if the activity returned zero
7068             results for "bo", it would not be queried again for "bob".
7069             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
7070        <attr name="queryAfterZeroResults" format="boolean" />
7071        <!-- If provided, this string will be used to describe the searchable item in the
7072             searchable items settings within system search settings. <i>Optional
7073             attribute.</i> -->
7074        <attr name="searchSettingsDescription" format="string" />
7075
7076        <!-- If provided and <code>true</code>, URLs entered in the search dialog while searching
7077             within this activity would be detected and treated as URLs (show a 'go' button in the
7078             keyboard and invoke the browser directly when user launches the URL instead of passing
7079             the URL to the activity). If set to <code>false</code> any URLs entered are treated as
7080             normal query text.
7081             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
7082        <attr name="autoUrlDetect" format="boolean" />
7083
7084    </declare-styleable>
7085
7086    <!-- In order to process special action keys during search, you must define them using
7087            one or more "ActionKey" elements in your Searchable metadata.  For a more in-depth
7088            discussion of action code handling, please refer to {@link android.app.SearchManager}.
7089    -->
7090    <declare-styleable name="SearchableActionKey">
7091        <!-- This attribute denotes the action key you wish to respond to.  Note that not
7092            all action keys are actually supported using this mechanism, as many of them are
7093            used for typing, navigation, or system functions.  This will be added to the
7094            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
7095            searchable activity.  To examine the key code, use
7096            {@link android.content.Intent#getIntExtra getIntExtra(SearchManager.ACTION_KEY)}.
7097            <p>Note, in addition to the keycode, you must also provide one or more of the action
7098            specifier attributes.  <i>Required attribute.</i> -->
7099        <attr name="keycode" />
7100
7101        <!-- If you wish to handle an action key during normal search query entry, you
7102            must define an action string here.  This will be added to the
7103            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
7104            searchable activity.  To examine the string, use
7105            {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
7106            <i>Optional attribute.</i> -->
7107        <attr name="queryActionMsg"  format="string" />
7108
7109        <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
7110            selected</i>, there are two ways to handle this.  If <i>all</i> of your suggestions
7111            can handle the action key, you can simply define the action message using this
7112            attribute.  This will be added to the
7113            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
7114            searchable activity.  To examine the string, use
7115            {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
7116            <i>Optional attribute.</i> -->
7117        <attr name="suggestActionMsg"  format="string" />
7118
7119        <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
7120            selected</i>, but you do not wish to enable this action key for every suggestion,
7121            then you can use this attribute to control it on a suggestion-by-suggestion basis.
7122            First, you must define a column (and name it here) where your suggestions will include
7123            the action string.  Then, in your content provider, you must provide this column, and
7124            when desired, provide data in this column.
7125            The search manager will look at your suggestion cursor, using the string
7126            provided here in order to select a column, and will use that to select a string from
7127            the cursor.  That string will be added to the
7128            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to
7129            your searchable activity.  To examine the string, use
7130            {@link android.content.Intent#getStringExtra
7131            getStringExtra(SearchManager.ACTION_MSG)}.  <i>If the data does not exist for the
7132            selection suggestion, the action key will be ignored.</i><i>Optional attribute.</i> -->
7133        <attr name="suggestActionMsgColumn" format="string" />
7134
7135    </declare-styleable>
7136
7137    <!-- ***************************************************************** -->
7138    <!-- Support for MapView. -->
7139    <!-- ***************************************************************** -->
7140    <eat-comment />
7141
7142    <!-- The set of attributes for a MapView. -->
7143    <declare-styleable name="MapView">
7144        <!-- Value is a string that specifies the Maps API Key to use. -->
7145        <attr name="apiKey" format="string" />
7146    </declare-styleable>
7147
7148    <!-- **************************************************************** -->
7149    <!-- Menu XML inflation. -->
7150    <!-- **************************************************************** -->
7151    <eat-comment />
7152
7153    <!-- Base attributes that are available to all Menu objects. -->
7154    <declare-styleable name="Menu">
7155    </declare-styleable>
7156
7157    <!-- Base attributes that are available to all groups. -->
7158    <declare-styleable name="MenuGroup">
7159
7160        <!-- The ID of the group. -->
7161        <attr name="id" />
7162
7163        <!-- The category applied to all items within this group.
7164             (This will be or'ed with the orderInCategory attribute.) -->
7165        <attr name="menuCategory">
7166            <!-- Items are part of a container. -->
7167            <enum name="container" value="0x00010000" />
7168            <!-- Items are provided by the system. -->
7169            <enum name="system" value="0x00020000" />
7170            <!-- Items are user-supplied secondary (infrequently used). -->
7171            <enum name="secondary" value="0x00030000" />
7172            <!-- Items are alternative actions. -->
7173            <enum name="alternative" value="0x00040000" />
7174        </attr>
7175
7176        <!-- The order within the category applied to all items within this group.
7177             (This will be or'ed with the category attribute.) -->
7178        <attr name="orderInCategory" format="integer" />
7179
7180        <!-- Whether the items are capable of displaying a check mark. -->
7181        <attr name="checkableBehavior">
7182            <!-- The items are not checkable. -->
7183            <enum name="none" value="0" />
7184            <!-- The items are all checkable. -->
7185            <enum name="all" value="1" />
7186            <!-- The items are checkable and there will only be a single checked item in
7187                 this group. -->
7188            <enum name="single" value="2" />
7189        </attr>
7190
7191        <!-- Whether the items are shown/visible. -->
7192        <attr name="visible" />
7193
7194        <!-- Whether the items are enabled. -->
7195        <attr name="enabled" />
7196
7197    </declare-styleable>
7198
7199    <!-- Base attributes that are available to all Item objects. -->
7200    <declare-styleable name="MenuItem">
7201
7202        <!-- The ID of the item. -->
7203        <attr name="id" />
7204
7205        <!-- The category applied to the item.
7206             (This will be or'ed with the orderInCategory attribute.) -->
7207        <attr name="menuCategory" />
7208
7209        <!-- The order within the category applied to the item.
7210             (This will be or'ed with the category attribute.) -->
7211        <attr name="orderInCategory" />
7212
7213        <!-- The title associated with the item. -->
7214        <attr name="title" format="string" />
7215
7216        <!-- The condensed title associated with the item.  This is used in situations where the
7217             normal title may be too long to be displayed. -->
7218        <attr name="titleCondensed" format="string" />
7219
7220        <!-- The icon associated with this item.  This icon will not always be shown, so
7221             the title should be sufficient in describing this item. -->
7222        <attr name="icon" />
7223
7224        <!-- Tint to apply to the icon. -->
7225        <attr name="iconTint" format="color" />
7226
7227        <!-- Blending mode used to apply the icon tint. -->
7228        <attr name="iconTintMode">
7229            <!-- The tint is drawn on top of the icon.
7230                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
7231            <enum name="src_over" value="3" />
7232            <!-- The tint is masked by the alpha channel of the icon. The icon’s
7233                 color channels are thrown out. [Sa * Da, Sc * Da] -->
7234            <enum name="src_in" value="5" />
7235            <!-- The tint is drawn above the icon, but with the icon’s alpha
7236                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
7237            <enum name="src_atop" value="9" />
7238            <!-- Multiplies the color and alpha channels of the icon with those of
7239                 the tint. [Sa * Da, Sc * Dc] -->
7240            <enum name="multiply" value="14" />
7241            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
7242            <enum name="screen" value="15" />
7243            <!-- Combines the tint and icon color and alpha channels, clamping the
7244                 result to valid color values. Saturate(S + D) -->
7245            <enum name="add" value="16" />
7246        </attr>
7247
7248        <!-- The alphabetic shortcut key.  This is the shortcut when using a keyboard
7249             with alphabetic keys. -->
7250        <attr name="alphabeticShortcut" format="string" />
7251
7252        <!-- The alphabetic modifier key. This is the modifier when using a keyboard
7253             with alphabetic keys. The values should be kept in sync with KeyEvent -->
7254        <attr name="alphabeticModifiers">
7255            <flag name="META" value="0x10000" />
7256            <flag name="CTRL" value="0x1000" />
7257            <flag name="ALT" value="0x02" />
7258            <flag name="SHIFT" value="0x1" />
7259            <flag name="SYM" value="0x4" />
7260            <flag name="FUNCTION" value="0x8" />
7261        </attr>
7262
7263        <!-- The numeric shortcut key.  This is the shortcut when using a numeric (for example,
7264             12-key) keyboard. -->
7265        <attr name="numericShortcut" format="string" />
7266
7267        <!-- The numeric modifier key. This is the modifier when using a numeric (for example,
7268             12-key) keyboard. The values should be kept in sync with KeyEvent -->
7269        <attr name="numericModifiers">
7270            <flag name="META" value="0x10000" />
7271            <flag name="CTRL" value="0x1000" />
7272            <flag name="ALT" value="0x02" />
7273            <flag name="SHIFT" value="0x1" />
7274            <flag name="SYM" value="0x4" />
7275            <flag name="FUNCTION" value="0x8" />
7276        </attr>
7277
7278        <!-- Whether the item is capable of displaying a check mark. -->
7279        <attr name="checkable" format="boolean" />
7280
7281        <!-- Whether the item is checked.  Note that you must first have enabled checking with
7282             the checkable attribute or else the check mark will not appear. -->
7283        <attr name="checked" />
7284
7285        <!-- Whether the item is shown/visible. -->
7286        <attr name="visible" />
7287
7288        <!-- Whether the item is enabled. -->
7289        <attr name="enabled" />
7290
7291        <!-- Name of a method on the Context used to inflate the menu that will be
7292             called when the item is clicked. -->
7293        <attr name="onClick" />
7294
7295        <!-- How this item should display in the Action Bar, if present. -->
7296        <attr name="showAsAction">
7297            <!-- Never show this item in an action bar, show it in the overflow menu instead.
7298                 Mutually exclusive with "ifRoom" and "always". -->
7299            <flag name="never" value="0" />
7300            <!-- Show this item in an action bar if there is room for it as determined
7301                 by the system. Favor this option over "always" where possible.
7302                 Mutually exclusive with "never" and "always". -->
7303            <flag name="ifRoom" value="1" />
7304            <!-- Always show this item in an actionbar, even if it would override
7305                 the system's limits of how much stuff to put there. This may make
7306                 your action bar look bad on some screens. In most cases you should
7307                 use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never". -->
7308            <flag name="always" value="2" />
7309            <!-- When this item is shown as an action in the action bar, show a text
7310                 label with it even if it has an icon representation. -->
7311            <flag name="withText" value="4" />
7312            <!-- This item's action view collapses to a normal menu
7313                 item. When expanded, the action view takes over a
7314                 larger segment of its container. -->
7315            <flag name="collapseActionView" value="8" />
7316        </attr>
7317
7318        <!-- An optional layout to be used as an action view.
7319             See {@link android.view.MenuItem#setActionView(android.view.View)}
7320             for more info. -->
7321        <attr name="actionLayout" format="reference" />
7322
7323        <!-- The name of an optional View class to instantiate and use as an
7324             action view. See {@link android.view.MenuItem#setActionView(android.view.View)}
7325             for more info. -->
7326        <attr name="actionViewClass" format="string" />
7327
7328        <!-- The name of an optional ActionProvider class to instantiate an action view
7329             and perform operations such as default action for that menu item.
7330             See {@link android.view.MenuItem#setActionProvider(android.view.ActionProvider)}
7331             for more info. -->
7332        <attr name="actionProviderClass" format="string" />
7333
7334        <!-- The content description associated with the item. -->
7335        <attr name="contentDescription" format="string" />
7336
7337        <!-- The tooltip text associated with the item. -->
7338        <attr name="tooltipText" format="string" />
7339
7340    </declare-styleable>
7341
7342    <!-- Attrbitutes for a ActvityChooserView. -->
7343    <declare-styleable name="ActivityChooserView">
7344        <!-- The maximal number of items initially shown in the activity list. -->
7345        <attr name="initialActivityCount" format="string" />
7346        <!-- The drawable to show in the button for expanding the activities overflow popup.
7347             <strong>Note:</strong> Clients would like to set this drawable
7348             as a clue about the action the chosen activity will perform. For
7349             example, if share activity is to be chosen the drawable should
7350             give a clue that sharing is to be performed.
7351         -->
7352        <attr name="expandActivityOverflowButtonDrawable" format="reference" />
7353    </declare-styleable>
7354
7355    <!-- **************************************************************** -->
7356    <!-- Preferences framework. -->
7357    <!-- **************************************************************** -->
7358    <eat-comment />
7359
7360    <!-- Base attributes available to PreferenceGroup. -->
7361    <declare-styleable name="PreferenceGroup">
7362        <!-- Whether to order the Preference under this group as they appear in the XML file.
7363             If this is false, the ordering will follow the Preference order attribute and
7364             default to alphabetic for those without the order attribute. -->
7365        <attr name="orderingFromXml" format="boolean" />
7366    </declare-styleable>
7367
7368    <!-- Attribute for a header describing the item shown in the top-level list
7369         from which the selects the set of preference to dig in to. -->
7370    <declare-styleable name="PreferenceHeader">
7371        <!-- Identifier value for the header. -->
7372        <attr name="id" />
7373        <!-- The title of the item that is shown to the user. -->
7374        <attr name="title" />
7375        <!-- The summary for the item. -->
7376        <attr name="summary" format="string" />
7377        <!-- The title for the bread crumb of this item. -->
7378        <attr name="breadCrumbTitle" format="string" />
7379        <!-- The short title for the bread crumb of this item. -->
7380        <attr name="breadCrumbShortTitle" format="string" />
7381        <!-- An icon for the item. -->
7382        <attr name="icon" />
7383        <!-- The fragment that is displayed when the user selects this item. -->
7384        <attr name="fragment" format="string" />
7385    </declare-styleable>
7386
7387    <!-- WARNING:  If adding attributes to Preference, make sure it does not conflict
7388                   with a View's attributes.  Some subclasses (for example, EditTextPreference)
7389                   proxy all attributes to its EditText widget. -->
7390    <eat-comment />
7391
7392    <!-- Base attributes available to Preference. -->
7393    <declare-styleable name="Preference">
7394        <!-- The optional icon for the preference. -->
7395        <attr name="icon" />
7396        <!-- The key to store the Preference value. -->
7397        <attr name="key" format="string" />
7398        <!-- The title for the Preference. In API 25 and earlier, this value is read as a
7399         plain string with styling information stripped. -->
7400        <attr name="title" />
7401        <!-- The summary for the Preference. In API 25 and earlier, this value is read as a
7402         plain string with styling information stripped. -->
7403        <attr name="summary" />
7404        <!-- The order for the Preference (lower values are to be ordered first). If this is not
7405             specified, the default ordering will be alphabetic. -->
7406        <attr name="order" format="integer" />
7407        <!-- When used inside of a modern PreferenceActivity, this declares
7408             a new PreferenceFragment to be shown when the user selects this item. -->
7409        <attr name="fragment" />
7410        <!-- The layout for the Preference in a PreferenceActivity screen. This should
7411             rarely need to be changed, look at widgetLayout instead. -->
7412        <attr name="layout" />
7413        <!-- The layout for the controllable widget portion of a Preference. This is inflated
7414             into the layout for a Preference and should be used more frequently than
7415             the layout attribute. For example, a checkbox preference would specify
7416             a custom layout (consisting of just the CheckBox) here. -->
7417        <attr name="widgetLayout" format="reference" />
7418        <!-- Whether the Preference is enabled. -->
7419        <attr name="enabled" />
7420        <!-- Whether the Preference is selectable. -->
7421        <attr name="selectable" format="boolean" />
7422        <!-- The key of another Preference that this Preference will depend on.  If the other
7423             Preference is not set or is off, this Preference will be disabled. -->
7424        <attr name="dependency" format="string" />
7425        <!-- Whether the Preference stores its value to the storage. -->
7426        <attr name="persistent" />
7427        <!-- The default value for the preference, which will be set either if persistence
7428             is off or persistence is on and the preference is not found in the persistent
7429             storage.  -->
7430        <attr name="defaultValue" format="string|boolean|integer|reference|float" />
7431        <!-- Whether the view of this Preference should be disabled when
7432             this Preference is disabled. -->
7433        <attr name="shouldDisableView" format="boolean" />
7434        <!-- Whether the preference has enabled to have its view recycled when used in the list
7435             view. This is true by default. -->
7436        <attr name="recycleEnabled" format="boolean" />
7437        <!-- Whether to use single line for the preference title text. By default, preference title
7438             will be constrained to one line, so the default value of this attribute is true. -->
7439        <attr name="singleLineTitle" format="boolean" />
7440        <!-- Whether the space for the preference icon view will be reserved. By default, preference
7441             icon view visibility will be set to GONE when there is no icon provided, so the default
7442             value of this attribute is false. -->
7443        <attr name="iconSpaceReserved" format="boolean" />
7444    </declare-styleable>
7445
7446    <!-- Base attributes available to CheckBoxPreference. -->
7447    <declare-styleable name="CheckBoxPreference">
7448        <!-- The summary for the Preference in a PreferenceActivity screen when the
7449             CheckBoxPreference is checked. If separate on/off summaries are not
7450             needed, the summary attribute can be used instead. -->
7451        <attr name="summaryOn" format="string" />
7452        <!-- The summary for the Preference in a PreferenceActivity screen when the
7453             CheckBoxPreference is unchecked. If separate on/off summaries are not
7454             needed, the summary attribute can be used instead. -->
7455        <attr name="summaryOff" format="string" />
7456        <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
7457             dependents will be disabled when this is unchecked, so the value of this preference is false. -->
7458        <attr name="disableDependentsState" format="boolean" />
7459    </declare-styleable>
7460
7461    <!-- Base attributes available to DialogPreference. -->
7462    <declare-styleable name="DialogPreference">
7463        <!-- The title in the dialog. -->
7464        <attr name="dialogTitle" format="string" />
7465        <!-- The message in the dialog. If a dialogLayout is provided and contains
7466             a TextView with ID android:id/message, this message will be placed in there. -->
7467        <attr name="dialogMessage" format="string" />
7468        <!-- The icon for the dialog. -->
7469        <attr name="dialogIcon" format="reference" />
7470        <!-- The positive button text for the dialog. Set to @null to hide the positive button. -->
7471        <attr name="positiveButtonText" format="string" />
7472        <!-- The negative button text for the dialog. Set to @null to hide the negative button. -->
7473        <attr name="negativeButtonText" format="string" />
7474        <!-- A layout to be used as the content View for the dialog. By default, this shouldn't
7475             be needed. If a custom DialogPreference is required, this should be set. For example,
7476             the EditTextPreference uses a layout with an EditText as this attribute. -->
7477        <attr name="dialogLayout" format="reference" />
7478    </declare-styleable>
7479
7480    <!-- Base attributes available to ListPreference. -->
7481    <declare-styleable name="ListPreference">
7482        <!-- The human-readable array to present as a list. Each entry must have a corresponding
7483             index in entryValues. -->
7484        <attr name="entries" />
7485        <!-- The array to find the value to save for a preference when an entry from
7486             entries is selected. If a user clicks on the second item in entries, the
7487             second item in this array will be saved to the preference. -->
7488        <attr name="entryValues" format="reference" />
7489    </declare-styleable>
7490
7491    <declare-styleable name="MultiSelectListPreference">
7492        <!-- The human-readable array to present as a list. Each entry must have a corresponding
7493             index in entryValues. -->
7494        <attr name="entries" />
7495        <!-- The array to find the value to save for a preference when an entry from
7496             entries is selected. If a user clicks the second item in entries, the
7497             second item in this array will be saved to the preference. -->
7498        <attr name="entryValues" />
7499    </declare-styleable>
7500
7501    <!-- Base attributes available to RingtonePreference. -->
7502    <declare-styleable name="RingtonePreference">
7503        <!-- Which ringtone type(s) to show in the picker. -->
7504        <attr name="ringtoneType">
7505            <!-- Ringtones. -->
7506            <flag name="ringtone" value="1" />
7507            <!-- Notification sounds. -->
7508            <flag name="notification" value="2" />
7509            <!-- Alarm sounds. -->
7510            <flag name="alarm" value="4" />
7511            <!-- All available ringtone sounds. -->
7512            <flag name="all" value="7" />
7513        </attr>
7514        <!-- Whether to show an item for a default sound. -->
7515        <attr name="showDefault" format="boolean" />
7516        <!-- Whether to show an item for 'Silent'. -->
7517        <attr name="showSilent" format="boolean" />
7518    </declare-styleable>
7519
7520    <!-- Base attributes available to VolumePreference. -->
7521    <declare-styleable name="VolumePreference">
7522        <!-- Different audio stream types. -->
7523        <attr name="streamType">
7524            <enum name="voice" value="0" />
7525            <enum name="system" value="1" />
7526            <enum name="ring" value="2" />
7527            <enum name="music" value="3" />
7528            <enum name="alarm" value="4" />
7529        </attr>
7530    </declare-styleable>
7531
7532    <declare-styleable name="InputMethodService">
7533        <!-- Background to use for entire input method when it is being
7534             shown in fullscreen mode with the extract view, to ensure
7535             that it completely covers the application.  This allows,
7536             for example, the candidate view to be hidden
7537             while in fullscreen mode without having the application show through
7538             behind it.-->
7539        <attr name="imeFullscreenBackground" format="reference|color" />
7540        <!-- Animation to use when showing the fullscreen extract UI after
7541             it had previously been hidden. -->
7542        <attr name="imeExtractEnterAnimation" format="reference" />
7543        <!-- Animation to use when hiding the fullscreen extract UI after
7544             it had previously been shown. -->
7545        <attr name="imeExtractExitAnimation" format="reference" />
7546    </declare-styleable>
7547
7548    <declare-styleable name="VoiceInteractionSession">
7549    </declare-styleable>
7550
7551    <declare-styleable name="KeyboardView">
7552        <!-- Default KeyboardView style. -->
7553        <attr name="keyboardViewStyle" format="reference" />
7554
7555        <!-- Image for the key. This image needs to be a StateListDrawable, with the following
7556             possible states: normal, pressed, checkable, checkable+pressed, checkable+checked,
7557             checkable+checked+pressed. -->
7558        <attr name="keyBackground" format="reference" />
7559
7560        <!-- Size of the text for character keys. -->
7561        <attr name="keyTextSize" format="dimension" />
7562
7563        <!-- Size of the text for custom keys with some text and no icon. -->
7564        <attr name="labelTextSize" format="dimension" />
7565
7566        <!-- Color to use for the label in a key. -->
7567        <attr name="keyTextColor" format="color" />
7568
7569        <!-- Layout resource for key press feedback.-->
7570        <attr name="keyPreviewLayout" format="reference" />
7571
7572        <!-- Vertical offset of the key press feedback from the key. -->
7573        <attr name="keyPreviewOffset" format="dimension" />
7574
7575        <!-- Height of the key press feedback popup. -->
7576        <attr name="keyPreviewHeight" format="dimension" />
7577
7578        <!-- Amount to offset the touch Y coordinate by, for bias correction. -->
7579        <attr name="verticalCorrection" format="dimension" />
7580
7581        <!-- Layout resource for popup keyboards. -->
7582        <attr name="popupLayout" format="reference" />
7583
7584        <attr name="shadowColor" />
7585        <attr name="shadowRadius" />
7586    </declare-styleable>
7587
7588    <declare-styleable name="KeyboardViewPreviewState">
7589        <!-- State for {@link android.inputmethodservice.KeyboardView KeyboardView}
7590                key preview background. -->
7591        <attr name="state_long_pressable" format="boolean" />
7592    </declare-styleable>
7593
7594    <declare-styleable name="Keyboard">
7595        <!-- Default width of a key, in pixels or percentage of display width. -->
7596        <attr name="keyWidth" format="dimension|fraction" />
7597        <!-- Default height of a key, in pixels or percentage of display width. -->
7598        <attr name="keyHeight" format="dimension|fraction" />
7599        <!-- Default horizontal gap between keys. -->
7600        <attr name="horizontalGap" format="dimension|fraction" />
7601        <!-- Default vertical gap between rows of keys. -->
7602        <attr name="verticalGap" format="dimension|fraction" />
7603    </declare-styleable>
7604
7605    <declare-styleable name="Keyboard_Row">
7606        <!-- Row edge flags. -->
7607        <attr name="rowEdgeFlags">
7608            <!-- Row is anchored to the top of the keyboard. -->
7609            <flag name="top" value="4" />
7610            <!-- Row is anchored to the bottom of the keyboard. -->
7611            <flag name="bottom" value="8" />
7612        </attr>
7613        <!-- Mode of the keyboard. If the mode doesn't match the
7614             requested keyboard mode, the row will be skipped. -->
7615        <attr name="keyboardMode" format="reference" />
7616    </declare-styleable>
7617
7618    <declare-styleable name="Keyboard_Key">
7619        <!-- The unicode value or comma-separated values that this key outputs. -->
7620        <attr name="codes" format="integer|string" />
7621        <!-- The XML keyboard layout of any popup keyboard. -->
7622        <attr name="popupKeyboard" format="reference" />
7623        <!-- The characters to display in the popup keyboard. -->
7624        <attr name="popupCharacters" format="string" />
7625        <!-- Key edge flags. -->
7626        <attr name="keyEdgeFlags">
7627            <!-- Key is anchored to the left of the keyboard. -->
7628            <flag name="left" value="1" />
7629            <!-- Key is anchored to the right of the keyboard. -->
7630            <flag name="right" value="2" />
7631        </attr>
7632        <!-- Whether this is a modifier key such as Alt or Shift. -->
7633        <attr name="isModifier" format="boolean" />
7634        <!-- Whether this is a toggle key. -->
7635        <attr name="isSticky" format="boolean" />
7636        <!-- Whether long-pressing on this key will make it repeat. -->
7637        <attr name="isRepeatable" format="boolean" />
7638        <!-- The icon to show in the popup preview. -->
7639        <attr name="iconPreview" format="reference" />
7640        <!-- The string of characters to output when this key is pressed. -->
7641        <attr name="keyOutputText" format="string" />
7642        <!-- The label to display on the key. -->
7643        <attr name="keyLabel" format="string" />
7644        <!-- The icon to display on the key instead of the label. -->
7645        <attr name="keyIcon" format="reference" />
7646        <!-- Mode of the keyboard. If the mode doesn't match the
7647             requested keyboard mode, the key will be skipped. -->
7648        <attr name="keyboardMode" />
7649    </declare-styleable>
7650
7651    <!-- =============================== -->
7652    <!-- AppWidget package class attributes -->
7653    <!-- =============================== -->
7654    <eat-comment />
7655
7656    <!-- Use <code>appwidget-provider</code> as the root tag of the XML resource that
7657         describes an AppWidget provider.  See {@link android.appwidget android.appwidget}
7658         package for more info.
7659     -->
7660    <declare-styleable name="AppWidgetProviderInfo">
7661        <!-- Minimum width of the AppWidget. -->
7662        <attr name="minWidth"/>
7663        <!-- Minimum height of the AppWidget. -->
7664        <attr name="minHeight"/>
7665        <!-- Minimum width that the AppWidget can be resized to. -->
7666        <attr name="minResizeWidth" format="dimension"/>
7667        <!-- Minimum height that the AppWidget can be resized to. -->
7668        <attr name="minResizeHeight" format="dimension"/>
7669        <!-- Update period in milliseconds, or 0 if the AppWidget will update itself. -->
7670        <attr name="updatePeriodMillis" format="integer" />
7671        <!-- A resource id of a layout. -->
7672        <attr name="initialLayout" format="reference" />
7673        <!-- A resource id of a layout. -->
7674        <attr name="initialKeyguardLayout" format="reference" />
7675        <!-- A class name in the AppWidget's package to be launched to configure.
7676             If not supplied, then no activity will be launched. -->
7677        <attr name="configure" format="string" />
7678        <!-- A preview of what the AppWidget will look like after it's configured.
7679              If not supplied, the AppWidget's icon will be used. -->
7680        <attr name="previewImage" format="reference" />
7681        <!-- The view id of the AppWidget subview which should be auto-advanced.
7682             by the widget's host. -->
7683        <attr name="autoAdvanceViewId" format="reference" />
7684        <!-- Optional parameter which indicates if and how this widget can be
7685             resized. Supports combined values using | operator. -->
7686        <attr name="resizeMode" format="integer">
7687            <flag name="none" value="0x0" />
7688            <flag name="horizontal" value="0x1" />
7689            <flag name="vertical" value="0x2" />
7690        </attr>
7691        <!-- Optional parameter which indicates where this widget can be shown,
7692             ie. home screen, keyguard, search bar or any combination thereof.
7693             Supports combined values using | operator. -->
7694        <attr name="widgetCategory" format="integer">
7695            <flag name="home_screen" value="0x1" />
7696            <flag name="keyguard" value="0x2" />
7697            <flag name="searchbox" value="0x4" />
7698        </attr>
7699        <!-- Flags indicating various features supported by the widget. These are hints to the
7700         widget host, and do not actually change the behavior of the widget. -->
7701        <attr name="widgetFeatures" format="integer">
7702            <!-- The widget can be reconfigured anytime after it is bound -->
7703            <flag name="reconfigurable" value="0x1" />
7704            <!-- The widget is added directly by the app, and does not need to appear in
7705                 the global list of available widgets -->
7706            <flag name="hide_from_picker" value="0x2" />
7707        </attr>
7708    </declare-styleable>
7709
7710    <!-- =============================== -->
7711    <!-- Wallpaper preview attributes    -->
7712    <!-- =============================== -->
7713    <eat-comment />
7714
7715    <!-- Use <code>wallpaper-preview</code> as the root tag of the XML resource that
7716         describes a wallpaper preview. -->
7717    <declare-styleable name="WallpaperPreviewInfo">
7718        <!-- A resource id of a static drawable. -->
7719        <attr name="staticWallpaperPreview" format="reference" />
7720    </declare-styleable>
7721
7722    <!-- =============================== -->
7723    <!-- App package class attributes -->
7724    <!-- =============================== -->
7725    <eat-comment />
7726
7727    <!-- ============================= -->
7728    <!-- View package class attributes -->
7729    <!-- ============================= -->
7730    <eat-comment />
7731
7732    <!-- Attributes that can be used with <code>&lt;fragment&gt;</code>
7733         tags inside of the layout of an Activity.  This instantiates
7734         the given {@link android.app.Fragment} and inserts its content
7735         view into the current location in the layout. -->
7736    <declare-styleable name="Fragment">
7737        <!-- Supply the name of the fragment class to instantiate. -->
7738        <attr name="name" />
7739
7740        <!-- Supply an identifier name for the top-level view, to later retrieve it
7741             with {@link android.view.View#findViewById View.findViewById()} or
7742             {@link android.app.Activity#findViewById Activity.findViewById()}.
7743             This must be a
7744             resource reference; typically you set this using the
7745             <code>@+</code> syntax to create a new ID resources.
7746             For example: <code>android:id="@+id/my_id"</code> which
7747             allows you to later retrieve the view
7748             with <code>findViewById(R.id.my_id)</code>. -->
7749        <attr name="id" />
7750
7751        <!-- Supply a tag for the top-level view containing a String, to be retrieved
7752             later with {@link android.view.View#getTag View.getTag()} or
7753             searched for with {@link android.view.View#findViewWithTag
7754             View.findViewWithTag()}.  It is generally preferable to use
7755             IDs (through the android:id attribute) instead of tags because
7756             they are faster and allow for compile-time type checking. -->
7757        <attr name="tag" />
7758
7759        <!-- The Transition that will be used to move Views out of the scene when the
7760             fragment is removed, hidden, or detached when not popping the back stack.
7761             Corresponds to {@link android.app.Fragment#setExitTransition(
7762             android.transition.Transition)} -->
7763        <attr name="fragmentExitTransition" format="reference"/>
7764
7765        <!-- The Transition that will be used to move Views into the initial scene.
7766             Corresponds to {@link android.app.Fragment#setEnterTransition(
7767             android.transition.Transition)} -->
7768        <attr name="fragmentEnterTransition" format="reference"/>
7769
7770        <!-- The Transition that will be used for shared elements transferred into the content
7771             Scene.
7772             Corresponds to {@link android.app.Fragment#setSharedElementEnterTransition(
7773             android.transition.Transition)} -->
7774        <attr name="fragmentSharedElementEnterTransition" format="reference"/>
7775
7776        <!-- The Transition that will be used to move Views out of the scene when the Fragment is
7777             preparing to be removed, hidden, or detached because of popping the back stack.
7778             Corresponds to {@link android.app.Fragment#setReturnTransition(
7779             android.transition.Transition)} -->
7780        <attr name="fragmentReturnTransition" format="reference"/>
7781
7782        <!-- The Transition that will be used for shared elements transferred back during a
7783             pop of the back stack. This Transition acts in the leaving Fragment.
7784             Corresponds to {@link android.app.Fragment#setSharedElementReturnTransition(
7785             android.transition.Transition)} -->
7786        <attr name="fragmentSharedElementReturnTransition" format="reference"/>
7787
7788        <!-- The Transition that will be used to move Views in to the scene when returning due
7789             to popping a back stack.
7790             Corresponds to {@link android.app.Fragment#setReenterTransition(
7791             android.transition.Transition)} -->
7792        <attr name="fragmentReenterTransition" format="reference"/>
7793
7794        <!-- Sets whether the enter and exit transitions should overlap when transitioning
7795             forward.
7796             Corresponds to {@link android.app.Fragment#setAllowEnterTransitionOverlap(
7797             boolean)} -->
7798        <attr name="fragmentAllowEnterTransitionOverlap" format="reference"/>
7799
7800        <!-- Sets whether the enter and exit transitions should overlap when transitioning
7801             because of popping the back stack.
7802             Corresponds to {@link android.app.Fragment#setAllowReturnTransitionOverlap(
7803             boolean)} -->
7804        <attr name="fragmentAllowReturnTransitionOverlap" format="reference"/>
7805    </declare-styleable>
7806
7807    <!-- Use <code>device-admin</code> as the root tag of the XML resource that
7808         describes a
7809         {@link android.app.admin.DeviceAdminReceiver}, which is
7810         referenced from its
7811         {@link android.app.admin.DeviceAdminReceiver#DEVICE_ADMIN_META_DATA}
7812         meta-data entry.  Described here are the attributes that can be
7813         included in that tag. -->
7814    <declare-styleable name="DeviceAdmin">
7815        <!-- Control whether the admin is visible to the user, even when it
7816             is not enabled.  This is true by default.  You may want to make
7817             it false if your admin does not make sense to be turned on
7818             unless some explicit action happens in your app. -->
7819        <attr name="visible" />
7820    </declare-styleable>
7821
7822    <!-- Use <code>wallpaper</code> as the root tag of the XML resource that
7823         describes an
7824         {@link android.service.wallpaper.WallpaperService}, which is
7825         referenced from its
7826         {@link android.service.wallpaper.WallpaperService#SERVICE_META_DATA}
7827         meta-data entry.  Described here are the attributes that can be
7828         included in that tag. -->
7829    <declare-styleable name="Wallpaper">
7830        <attr name="settingsActivity" />
7831
7832        <!-- Reference to the wallpaper's thumbnail bitmap. -->
7833        <attr name="thumbnail" format="reference" />
7834
7835        <!-- Name of the author and/or source/collection of this component, for example,
7836             Art Collection, Picasso. -->
7837        <attr name="author" format="reference" />
7838
7839        <!-- Short description of the component's purpose or behavior. -->
7840        <attr name="description" />
7841
7842        <!-- Uri that specifies a link for further context of this wallpaper, for example,
7843             http://www.picasso.org. -->
7844        <attr name="contextUri" format="reference" />
7845
7846        <!-- Title of the uri that specifies a link for further context of this wallpaper,
7847             for example, Explore collection. -->
7848        <attr name="contextDescription" format="reference" />
7849
7850        <!-- Whether to show any metadata when previewing the wallpaper. If this value is
7851             set to true, any component that shows a preview of this live wallpaper should also show
7852             accompanying information like the title, the description, the author and the context
7853             description of this wallpaper so the user gets to know further information about this
7854             wallpaper. -->
7855        <attr name="showMetadataInPreview" format="boolean" />
7856
7857        <!-- Wallpapers optimized and capable of drawing in ambient mode will return true.
7858            @hide -->
7859        <attr name="supportsAmbientMode" format="boolean" />
7860
7861    </declare-styleable>
7862
7863    <!-- Use <code>dream</code> as the root tag of the XML resource that
7864         describes an
7865         {@link android.service.dreams.DreamService}, which is
7866         referenced from its
7867         {@link android.service.dreams.DreamService#DREAM_META_DATA}
7868         meta-data entry.  Described here are the attributes that can be
7869         included in that tag. -->
7870    <declare-styleable name="Dream">
7871        <!-- Component name of an activity that allows the user to modify
7872             the settings for this dream. -->
7873        <attr name="settingsActivity" />
7874    </declare-styleable>
7875
7876    <!--  Use <code>trust-agent</code> as the root tag of the XML resource that
7877         describes an {@link android.service.trust.TrustAgentService}, which is
7878         referenced from its {@link android.service.trust.TrustAgentService#TRUST_AGENT_META_DATA}
7879         meta-data entry.  Described here are the attributes that can be included in that tag.
7880         @hide -->
7881    <declare-styleable name="TrustAgent">
7882        <!--  Component name of an activity that allows the user to modify
7883             the settings for this trust agent. @hide -->
7884        <attr name="settingsActivity" />
7885        <!--  Title for a preference that allows that user to launch the
7886             activity to modify trust agent settings. @hide -->
7887        <attr name="title" />
7888        <!--  Summary for the same preference as the title. @hide -->
7889        <attr name="summary" />
7890        <!--  Whether trust agent can unlock a user profile @hide -->
7891        <attr name="unlockProfile" format="boolean"/>
7892    </declare-styleable>
7893
7894    <!-- =============================== -->
7895    <!-- Accounts package class attributes -->
7896    <!-- =============================== -->
7897    <eat-comment />
7898
7899    <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
7900         describes an account authenticator.
7901     -->
7902    <declare-styleable name="AccountAuthenticator">
7903        <!-- The account type this authenticator handles. -->
7904        <attr name="accountType" format="string"/>
7905        <!-- The user-visible name of the authenticator. -->
7906        <attr name="label"/>
7907        <!-- The icon of the authenticator. -->
7908        <attr name="icon"/>
7909        <!-- Smaller icon of the authenticator. -->
7910        <attr name="smallIcon" format="reference"/>
7911        <!-- A preferences.xml file for authenticator-specific settings. -->
7912        <attr name="accountPreferences" format="reference"/>
7913        <!-- Account handles its own token storage and permissions.
7914             Default to false
7915          -->
7916        <attr name="customTokens" format="boolean"/>
7917    </declare-styleable>
7918
7919    <!-- =============================== -->
7920    <!-- Accounts package class attributes -->
7921    <!-- =============================== -->
7922    <eat-comment />
7923
7924    <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
7925         describes an account authenticator.
7926     -->
7927    <declare-styleable name="SyncAdapter">
7928        <!-- the authority of a content provider. -->
7929        <attr name="contentAuthority" format="string"/>
7930        <attr name="accountType"/>
7931        <attr name="userVisible" format="boolean"/>
7932        <attr name="supportsUploading" format="boolean"/>
7933        <!-- Set to true to tell the SyncManager that this SyncAdapter supports
7934             multiple simultaneous syncs for the same account type and authority.
7935             Otherwise the SyncManager will be sure not to issue a start sync request
7936             to this SyncAdapter if the SyncAdapter is already syncing another account.
7937             Defaults to false.
7938             -->
7939        <attr name="allowParallelSyncs" format="boolean"/>
7940        <!-- Set to true to tell the SyncManager to automatically call setIsSyncable(..., ..., 1)
7941             for the SyncAdapter instead of issuaing an initialization sync to the SyncAdapter.
7942             Defaults to false.
7943             -->
7944        <attr name="isAlwaysSyncable" format="boolean"/>
7945        <!-- If provided, specifies the action of the settings
7946             activity for this SyncAdapter.
7947             -->
7948        <attr name="settingsActivity"/>
7949    </declare-styleable>
7950
7951    <!-- =============================== -->
7952    <!-- Autofill attributes -->
7953    <!-- =============================== -->
7954    <eat-comment />
7955
7956    <!-- Use <code>autofill-service</code> as the root tag of the XML resource that describes a
7957         {@link android.service.autofill.AutofillService}, which is referenced from its
7958         {@link android.service.autofill#SERVICE_META_DATA} meta-data entry.
7959    -->
7960    <declare-styleable name="AutofillService">
7961        <!-- Fully qualified class name of an activity that allows the user to modify
7962             the settings for this service. -->
7963        <attr name="settingsActivity" />
7964    </declare-styleable>
7965
7966    <!-- Use <code>compatibility-package</code> as a child tag of <code>autofill-service</code>
7967         in the XML resource that describes an {@link android.service.autofill.AutofillService}
7968         to specify a package and an optional max version code for which to request compatibility
7969         mode. If no max version code is specified compatibility mode is requested for all package
7970         versions. The max version code is useful to avoid requesting compatibility mode for newer
7971         package versions that are known to natively support autofill.
7972    -->
7973    <declare-styleable name="AutofillService_CompatibilityPackage">
7974        <!-- The package name for which compatibility mode is requested. -->
7975        <attr name="name" />
7976        <!-- The max version code of the package for which compatibility mode is
7977             requested. This corresponds to the long value returned by {@link
7978             android.content.pm.PackageInfo#getLongVersionCode()} for the target package.
7979        -->
7980        <attr name="maxLongVersionCode" format="string" />
7981        <!-- TODO(b/74445943): STOPSHIP (urlBarResourceId should be removed after P DP2 is branched)-->
7982        <attr name="urlBarResourceId" format="string" />
7983    </declare-styleable>
7984
7985    <!-- =============================== -->
7986    <!-- Contacts meta-data attributes -->
7987    <!-- =============================== -->
7988    <eat-comment />
7989
7990    <!-- TODO: remove this deprecated styleable. -->
7991    <eat-comment />
7992    <declare-styleable name="Icon">
7993        <attr name="icon" />
7994        <attr name="mimeType" />
7995    </declare-styleable>
7996
7997    <!-- TODO: remove this deprecated styleable -->
7998    <eat-comment />
7999    <declare-styleable name="IconDefault">
8000        <attr name="icon" />
8001    </declare-styleable>
8002
8003    <!-- Maps a specific contact data MIME-type to styling information. -->
8004    <declare-styleable name="ContactsDataKind">
8005        <!-- Mime-type handled by this mapping. -->
8006        <attr name="mimeType" />
8007        <!-- Icon used to represent data of this kind. -->
8008        <attr name="icon" />
8009        <!-- Column in data table that summarizes this data. -->
8010        <attr name="summaryColumn" format="string" />
8011        <!-- Column in data table that contains details for this data. -->
8012        <attr name="detailColumn" format="string" />
8013        <!-- Flag indicating that detail should be built from SocialProvider. -->
8014        <attr name="detailSocialSummary" format="boolean" />
8015        <!-- Resource representing the term "All Contacts" (for example, "All Friends" or
8016        "All connections"). Optional (Default is "All Contacts"). -->
8017        <attr name="allContactsName" format="string" />
8018    </declare-styleable>
8019
8020    <!-- =============================== -->
8021    <!-- TabSelector class attributes -->
8022    <!-- =============================== -->
8023    <eat-comment />
8024
8025    <declare-styleable name="SlidingTab">
8026        <!-- Use "horizontal" for a row, "vertical" for a column.  The default is horizontal. -->
8027        <attr name="orientation" />
8028    </declare-styleable>
8029
8030    <!-- =============================== -->
8031    <!-- GlowPadView class attributes -->
8032    <!-- =============================== -->
8033    <eat-comment />
8034    <declare-styleable name="GlowPadView">
8035        <!-- Reference to an array resource that be used as description for the targets around the circle.
8036             {@deprecated Removed.} -->
8037        <attr name="targetDescriptions" format="reference" />
8038
8039        <!-- Reference to an array resource that be used to announce the directions with targets around the circle.
8040             {@deprecated Removed.} -->
8041        <attr name="directionDescriptions" format="reference" />
8042    </declare-styleable>
8043
8044    <!-- =============================== -->
8045    <!-- Location package class attributes -->
8046    <!-- =============================== -->
8047    <eat-comment />
8048
8049    <!-- Use <code>injected-location-setting</code> as the root tag of the XML resource that
8050         describes an injected "Location services" setting. Note that the status value (subtitle)
8051         for the setting is specified dynamically by a subclass of SettingInjectorService.
8052     -->
8053    <declare-styleable name="SettingInjectorService">
8054        <!-- The title for the preference. -->
8055        <attr name="title"/>
8056        <!-- The icon for the preference, should refer to all apps covered by the setting. Typically
8057             a generic icon for the developer. -->
8058        <attr name="icon"/>
8059        <!-- The activity to launch when the setting is clicked on. -->
8060        <attr name="settingsActivity"/>
8061        <!-- The user restriction for this preference. -->
8062        <attr name="userRestriction"/>
8063    </declare-styleable>
8064
8065    <!-- =============================== -->
8066    <!-- LockPatternView class attributes -->
8067    <!-- =============================== -->
8068    <eat-comment />
8069
8070    <declare-styleable name="LockPatternView">
8071        <!-- Aspect to use when drawing LockPatternView. Choices are "square"(default), "lock_width"
8072             or "lock_height" -->
8073        <attr name="aspect" format="string" />
8074        <!-- Color to use when drawing LockPatternView paths. -->
8075        <attr name="pathColor" format="color|reference" />
8076        <!-- The regular pattern color -->
8077        <attr name="regularColor" format="color|reference" />
8078        <!-- The error color -->
8079        <attr name="errorColor" format="color|reference" />
8080        <!-- The success color -->
8081        <attr name="successColor" format="color|reference"/>
8082    </declare-styleable>
8083
8084    <!-- Use <code>recognition-service</code> as the root tag of the XML resource that
8085         describes a {@link android.speech.RecognitionService}, which is referenced from
8086         its {@link android.speech.RecognitionService#SERVICE_META_DATA} meta-data entry.
8087         Described here are the attributes that can be included in that tag. -->
8088    <declare-styleable name="RecognitionService">
8089        <attr name="settingsActivity" />
8090    </declare-styleable>
8091
8092    <!-- Use <code>voice-interaction-service</code> as the root tag of the XML resource that
8093         describes a {@link android.service.voice.VoiceInteractionService}, which is referenced from
8094         its {@link android.service.voice.VoiceInteractionService#SERVICE_META_DATA} meta-data entry.
8095         Described here are the attributes that can be included in that tag. -->
8096    <declare-styleable name="VoiceInteractionService">
8097        <!-- The service that hosts active voice interaction sessions.  This is required. -->
8098        <attr name="sessionService" format="string" />
8099        <!-- The service that provides voice recognition.  This is required.  When the user
8100             selects this voice interaction service, they will also be implicitly selecting
8101             the component here for their recognition service. -->
8102        <attr name="recognitionService" format="string" />
8103        <attr name="settingsActivity" />
8104        <!-- Flag indicating whether this voice interaction service is capable of handling the
8105             assist action. -->
8106        <attr name="supportsAssist" format="boolean" />
8107        <!-- Flag indicating whether this voice interaction service is capable of being launched
8108             from the keyguard. -->
8109        <attr name="supportsLaunchVoiceAssistFromKeyguard" format="boolean" />
8110        <!-- Flag indicating whether this voice interaction service can handle local voice
8111             interaction requests from an Activity. This flag is new in
8112             {@link android.os.Build.VERSION_CODES#N} and not used in previous versions. -->
8113        <attr name="supportsLocalInteraction" format="boolean" />
8114    </declare-styleable>
8115
8116    <!-- Use <code>voice-enrollment-application</code>
8117         as the root tag of the XML resource that escribes the supported keyphrases (hotwords)
8118         by the enrollment application.
8119         Described here are the attributes that can be included in that tag.
8120         @hide
8121          -->
8122    <declare-styleable name="VoiceEnrollmentApplication">
8123        <!-- A globally unique ID for the keyphrase. @hide  -->
8124        <attr name="searchKeyphraseId" format="integer" />
8125        <!-- The actual keyphrase/hint text, or empty if not keyphrase dependent. @hide  -->
8126        <attr name="searchKeyphrase" format="string" />
8127        <!-- A comma separated list of BCP-47 language tag for locales that are supported
8128             for this keyphrase, or empty if not locale dependent. @hide  -->
8129        <attr name="searchKeyphraseSupportedLocales" format="string" />
8130        <!-- Flags for supported recognition modes. @hide  -->
8131        <attr name="searchKeyphraseRecognitionFlags">
8132            <flag name="none" value="0" />
8133            <flag name="voiceTrigger" value="0x1" />
8134            <flag name="userIdentification" value="0x2" />
8135        </attr>
8136    </declare-styleable>
8137
8138    <!-- Attributes used to style the Action Bar. -->
8139    <declare-styleable name="ActionBar">
8140        <!-- The type of navigation to use. -->
8141        <attr name="navigationMode">
8142            <!-- Normal static title text. -->
8143            <enum name="normal" value="0" />
8144            <!-- The action bar will use a selection list for navigation. -->
8145            <enum name="listMode" value="1" />
8146            <!-- The action bar will use a series of horizontal tabs for navigation. -->
8147            <enum name="tabMode" value="2" />
8148        </attr>
8149        <!-- Options affecting how the action bar is displayed. -->
8150        <attr name="displayOptions">
8151            <flag name="none" value="0" />
8152            <flag name="useLogo" value="0x1" />
8153            <flag name="showHome" value="0x2" />
8154            <flag name="homeAsUp" value="0x4" />
8155            <flag name="showTitle" value="0x8" />
8156            <flag name="showCustom" value="0x10" />
8157            <flag name="disableHome" value="0x20" />
8158        </attr>
8159        <!-- Specifies title text used for navigationMode="normal". -->
8160        <attr name="title" />
8161        <!-- Specifies subtitle text used for navigationMode="normal". -->
8162        <attr name="subtitle" format="string" />
8163        <!-- Specifies a style to use for title text. -->
8164        <attr name="titleTextStyle" format="reference" />
8165        <!-- Specifies a style to use for subtitle text. -->
8166        <attr name="subtitleTextStyle" format="reference" />
8167        <!-- Specifies the drawable used for the application icon. -->
8168        <attr name="icon" />
8169        <!-- Specifies the drawable used for the application logo. -->
8170        <attr name="logo" />
8171        <!-- Specifies the drawable used for item dividers. -->
8172        <attr name="divider" />
8173        <!-- Specifies a background drawable for the action bar. -->
8174        <attr name="background" />
8175        <!-- Specifies a background drawable for a second stacked row of the action bar. -->
8176        <attr name="backgroundStacked" format="reference|color" />
8177        <!-- Specifies a background drawable for the bottom component of a split action bar. -->
8178        <attr name="backgroundSplit" format="reference|color" />
8179        <!-- Specifies a layout for custom navigation. Overrides navigationMode. -->
8180        <attr name="customNavigationLayout" format="reference" />
8181        <!-- Specifies a fixed height. -->
8182        <attr name="height" />
8183        <!-- Specifies a layout to use for the "home" section of the action bar. -->
8184        <attr name="homeLayout" format="reference" />
8185        <!-- Specifies a style resource to use for an embedded progress bar. -->
8186        <attr name="progressBarStyle" />
8187        <!-- Specifies a style resource to use for an indeterminate progress spinner. -->
8188        <attr name="indeterminateProgressStyle" format="reference" />
8189        <!-- Specifies the horizontal padding on either end for an embedded progress bar. -->
8190        <attr name="progressBarPadding" format="dimension" />
8191        <!-- Up navigation glyph. -->
8192        <attr name="homeAsUpIndicator" />
8193        <!-- Specifies padding that should be applied to the left and right sides of
8194             system-provided items in the bar. -->
8195        <attr name="itemPadding" format="dimension" />
8196        <!-- Set true to hide the action bar on a vertical nested scroll of content. -->
8197        <attr name="hideOnContentScroll" format="boolean" />
8198        <!-- Minimum inset for content views within a bar. Navigation buttons and
8199             menu views are excepted. Only valid for some themes and configurations. -->
8200        <attr name="contentInsetStart" format="dimension" />
8201        <!-- Minimum inset for content views within a bar. Navigation buttons and
8202             menu views are excepted. Only valid for some themes and configurations. -->
8203        <attr name="contentInsetEnd" format="dimension" />
8204        <!-- Minimum inset for content views within a bar. Navigation buttons and
8205             menu views are excepted. Only valid for some themes and configurations. -->
8206        <attr name="contentInsetLeft" format="dimension" />
8207        <!-- Minimum inset for content views within a bar. Navigation buttons and
8208             menu views are excepted. Only valid for some themes and configurations. -->
8209        <attr name="contentInsetRight" format="dimension" />
8210        <!-- Minimum inset for content views within a bar when a navigation button
8211             is present, such as the Up button. Only valid for some themes and configurations. -->
8212        <attr name="contentInsetStartWithNavigation" format="dimension" />
8213        <!-- Minimum inset for content views within a bar when actions from a menu
8214             are present. Only valid for some themes and configurations. -->
8215        <attr name="contentInsetEndWithActions" format="dimension" />
8216        <!-- Elevation for the action bar itself. -->
8217        <attr name="elevation" />
8218        <!-- Reference to a theme that should be used to inflate popups
8219             shown by widgets in the action bar. -->
8220        <attr name="popupTheme" />
8221    </declare-styleable>
8222
8223    <declare-styleable name="ActionMode">
8224        <!-- Specifies a style to use for title text. -->
8225        <attr name="titleTextStyle" />
8226        <!-- Specifies a style to use for subtitle text. -->
8227        <attr name="subtitleTextStyle" />
8228        <!-- Specifies a background for the action mode bar. -->
8229        <attr name="background" />
8230        <!-- Specifies a background for the split action mode bar. -->
8231        <attr name="backgroundSplit" />
8232        <!-- Specifies a fixed height for the action mode bar. -->
8233        <attr name="height" />
8234        <!-- Specifies a layout to use for the "close" item at the starting edge. -->
8235        <attr name="closeItemLayout" format="reference" />
8236    </declare-styleable>
8237
8238    <declare-styleable name="SearchView">
8239        <!-- The layout to use for the search view. -->
8240        <attr name="layout" />
8241        <!-- The default state of the SearchView. If true, it will be iconified when not in
8242             use and expanded when clicked. -->
8243        <attr name="iconifiedByDefault" format="boolean" />
8244        <!-- An optional maximum width of the SearchView. -->
8245        <attr name="maxWidth" />
8246        <!-- An optional query hint string to be displayed in the empty query field. -->
8247        <attr name="queryHint" format="string" />
8248        <!-- Default query hint used when {@code queryHint} is undefined and
8249             the search view's {@code SearchableInfo} does not provide a hint.
8250             @hide -->
8251        <attr name="defaultQueryHint" format="string" />
8252        <!-- The IME options to set on the query text field. -->
8253        <attr name="imeOptions" />
8254        <!-- The input type to set on the query text field. -->
8255        <attr name="inputType" />
8256        <!-- Close button icon. -->
8257        <attr name="closeIcon" format="reference" />
8258        <!-- Go button icon. -->
8259        <attr name="goIcon" format="reference" />
8260        <!-- Search icon. -->
8261        <attr name="searchIcon" format="reference" />
8262        <!-- Search icon displayed as a text field hint. -->
8263        <attr name="searchHintIcon" format="reference" />
8264        <!-- Voice button icon. -->
8265        <attr name="voiceIcon" format="reference" />
8266        <!-- Commit icon shown in the query suggestion row. -->
8267        <attr name="commitIcon" format="reference" />
8268        <!-- Layout for query suggestion rows. -->
8269        <attr name="suggestionRowLayout" format="reference" />
8270        <!-- Background for the section containing the search query. -->
8271        <attr name="queryBackground" format="reference" />
8272        <!-- Background for the section containing the action (for example, voice search). -->
8273        <attr name="submitBackground" format="reference" />
8274    </declare-styleable>
8275
8276    <declare-styleable name="Switch">
8277        <!-- Drawable to use as the "thumb" that switches back and forth. -->
8278        <attr name="thumb" />
8279        <!-- Tint to apply to the thumb. -->
8280        <attr name="thumbTint" />
8281        <!-- Blending mode used to apply the thumb tint. -->
8282        <attr name="thumbTintMode" />
8283        <!-- Drawable to use as the "track" that the switch thumb slides within. -->
8284        <attr name="track" format="reference" />
8285        <!-- Tint to apply to the track. -->
8286        <attr name="trackTint" format="color" />
8287        <!-- Blending mode used to apply the track tint. -->
8288        <attr name="trackTintMode">
8289            <!-- The tint is drawn on top of the drawable.
8290                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
8291            <enum name="src_over" value="3" />
8292            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
8293                 color channels are thrown out. [Sa * Da, Sc * Da] -->
8294            <enum name="src_in" value="5" />
8295            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
8296                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
8297            <enum name="src_atop" value="9" />
8298            <!-- Multiplies the color and alpha channels of the drawable with those of
8299                 the tint. [Sa * Da, Sc * Dc] -->
8300            <enum name="multiply" value="14" />
8301            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
8302            <enum name="screen" value="15" />
8303            <!-- Combines the tint and drawable color and alpha channels, clamping the
8304                 result to valid color values. Saturate(S + D) -->
8305            <enum name="add" value="16" />
8306        </attr>
8307        <!-- Text to use when the switch is in the checked/"on" state. -->
8308        <attr name="textOn" />
8309        <!-- Text to use when the switch is in the unchecked/"off" state. -->
8310        <attr name="textOff" />
8311        <!-- Amount of padding on either side of text within the switch thumb. -->
8312        <attr name="thumbTextPadding" format="dimension" />
8313        <!-- TextAppearance style for text displayed on the switch thumb. -->
8314        <attr name="switchTextAppearance" format="reference" />
8315        <!-- Minimum width for the switch component. -->
8316        <attr name="switchMinWidth" format="dimension" />
8317        <!-- Minimum space between the switch and caption text. -->
8318        <attr name="switchPadding" format="dimension" />
8319        <!-- Whether to split the track and leave a gap for the thumb drawable. -->
8320        <attr name="splitTrack" />
8321        <!-- Whether to draw on/off text. -->
8322        <attr name="showText" format="boolean" />
8323    </declare-styleable>
8324
8325    <declare-styleable name="Pointer">
8326        <!-- Reference to a pointer icon drawable with STYLE_ARROW. -->
8327        <attr name="pointerIconArrow" format="reference" />
8328        <!-- Reference to a pointer icon drawable with STYLE_SPOT_HOVER. -->
8329        <attr name="pointerIconSpotHover" format="reference" />
8330        <!-- Reference to a pointer icon drawable with STYLE_SPOT_TOUCH. -->
8331        <attr name="pointerIconSpotTouch" format="reference" />
8332        <!-- Reference to a pointer icon drawable with STYLE_SPOT_ANCHOR. -->
8333        <attr name="pointerIconSpotAnchor" format="reference" />
8334        <!-- Reference to a pointer drawable with STYLE_CONTEXT_MENU. -->
8335        <attr name="pointerIconContextMenu" format="reference"/>
8336        <!-- Reference to a pointer drawable with STYLE_HAND. -->
8337        <attr name="pointerIconHand" format="reference"/>
8338        <!-- Reference to a pointer drawable with STYLE_HELP. -->
8339        <attr name="pointerIconHelp" format="reference"/>
8340        <!-- Reference to a pointer drawable with STYLE_WAIT. -->
8341        <attr name="pointerIconWait" format="reference"/>
8342        <!-- Reference to a pointer drawable with STYLE_CELL. -->
8343        <attr name="pointerIconCell" format="reference"/>
8344        <!-- Reference to a pointer drawable with STYLE_CROSSHAIR. -->
8345        <attr name="pointerIconCrosshair" format="reference"/>
8346        <!-- Reference to a pointer drawable with STYLE_TEXT. -->
8347        <attr name="pointerIconText" format="reference"/>
8348        <!-- Reference to a pointer drawable with STYLE_VERTICAL_TEXT. -->
8349        <attr name="pointerIconVerticalText" format="reference"/>
8350        <!-- Reference to a pointer drawable with STYLE_ALIAS. -->
8351        <attr name="pointerIconAlias" format="reference"/>
8352        <!-- Reference to a pointer drawable with STYLE_COPY. -->
8353        <attr name="pointerIconCopy" format="reference"/>
8354        <!-- Reference to a pointer drawable with STYLE_NODROP. -->
8355        <attr name="pointerIconNodrop" format="reference"/>
8356        <!-- Reference to a pointer drawable with STYLE_ALL_SCROLL. -->
8357        <attr name="pointerIconAllScroll" format="reference"/>
8358        <!-- Reference to a pointer drawable with STYLE_HORIZONTAL_DOUBLE_ARROW. -->
8359        <attr name="pointerIconHorizontalDoubleArrow" format="reference"/>
8360        <!-- Reference to a pointer drawable with STYLE_VERTICAL_DOUBLE_ARROW. -->
8361        <attr name="pointerIconVerticalDoubleArrow" format="reference"/>
8362        <!-- Reference to a pointer drawable with STYLE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW. -->
8363        <attr name="pointerIconTopRightDiagonalDoubleArrow" format="reference"/>
8364        <!-- Reference to a pointer drawable with STYLE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW. -->
8365        <attr name="pointerIconTopLeftDiagonalDoubleArrow" format="reference"/>
8366        <!-- Reference to a pointer drawable with STYLE_ZOOM_IN. -->
8367        <attr name="pointerIconZoomIn" format="reference"/>
8368        <!-- Reference to a pointer drawable with STYLE_ZOOM_OUT. -->
8369        <attr name="pointerIconZoomOut" format="reference"/>
8370        <!-- Reference to a pointer drawable with STYLE_GRAB. -->
8371        <attr name="pointerIconGrab" format="reference"/>
8372        <!-- Reference to a pointer drawable with STYLE_GRABBING. -->
8373        <attr name="pointerIconGrabbing" format="reference"/>
8374    </declare-styleable>
8375
8376    <declare-styleable name="PointerIcon">
8377        <!-- Drawable to use as the icon bitmap. -->
8378        <attr name="bitmap" format="reference" />
8379        <!-- X coordinate of the icon hot spot. -->
8380        <attr name="hotSpotX" format="dimension" />
8381        <!-- Y coordinate of the icon hot spot. -->
8382        <attr name="hotSpotY" format="dimension" />
8383    </declare-styleable>
8384
8385    <declare-styleable name="Storage">
8386        <!-- path to mount point for the storage. -->
8387        <attr name="mountPoint" format="string" />
8388        <!-- user visible description of the storage. -->
8389        <attr name="storageDescription" format="string" />
8390        <!-- true if the storage is the primary external storage. -->
8391        <attr name="primary" format="boolean" />
8392        <!-- true if the storage is removable. -->
8393        <attr name="removable" format="boolean" />
8394        <!-- true if the storage is emulated via the FUSE sdcard daemon. -->
8395        <attr name="emulated" format="boolean" />
8396        <!-- number of megabytes of storage MTP should reserve for free storage
8397             (used for emulated storage that is shared with system's data partition). -->
8398        <attr name="mtpReserve" format="integer" />
8399        <!-- true if the storage can be shared via USB mass storage. -->
8400        <attr name="allowMassStorage" format="boolean" />
8401        <!-- maximum file size for the volume in megabytes, zero or unspecified if it is unbounded. -->
8402        <attr name="maxFileSize" format="integer" />
8403    </declare-styleable>
8404
8405    <declare-styleable name="SwitchPreference">
8406        <!-- The summary for the Preference in a PreferenceActivity screen when the
8407             SwitchPreference is checked. If separate on/off summaries are not
8408             needed, the summary attribute can be used instead. -->
8409        <attr name="summaryOn" />
8410        <!-- The summary for the Preference in a PreferenceActivity screen when the
8411             SwitchPreference is unchecked. If separate on/off summaries are not
8412             needed, the summary attribute can be used instead. -->
8413        <attr name="summaryOff" />
8414        <!-- The text used on the switch itself when in the "on" state.
8415             This should be a very SHORT string, as it appears in a small space. -->
8416        <attr name="switchTextOn" format="string" />
8417        <!-- The text used on the switch itself when in the "off" state.
8418             This should be a very SHORT string, as it appears in a small space. -->
8419        <attr name="switchTextOff" format="string" />
8420        <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
8421             dependents will be disabled when this is unchecked, so the value of this preference is false. -->
8422        <attr name="disableDependentsState" />
8423    </declare-styleable>
8424
8425    <declare-styleable name="SeekBarPreference">
8426        <attr name="layout" />
8427        <!-- Attribute indicating whether the slider within this preference can be adjusted, that is
8428        pressing left/right keys when this preference is focused will move the slider accordingly
8429        (for example, inline adjustable preferences). False, if the slider within the preference is
8430        read-only and cannot be adjusted. By default, the seekbar is adjustable. -->
8431        <attr name="adjustable" format="boolean" />
8432        <!-- Flag indicating whether the TextView next to the seekbar that shows the current seekbar value will be
8433        displayed. If true, the view is VISIBLE; if false, the view will be GONE. By default, this view is VISIBLE. -->
8434        <attr name="showSeekBarValue" format="boolean" />
8435    </declare-styleable>
8436
8437    <!-- Base attributes available to PreferenceFragment. -->
8438    <declare-styleable name="PreferenceFragment">
8439        <!-- The layout for the PreferenceFragment. This should rarely need to be changed. -->
8440        <attr name="layout" />
8441        <attr name="divider" />
8442    </declare-styleable>
8443
8444    <!-- Base attributes available to PreferenceScreen. -->
8445    <declare-styleable name="PreferenceScreen">
8446        <!-- The layout for the PreferenceScreen. This should rarely need to be changed. -->
8447        <attr name="screenLayout" format="reference" />
8448        <attr name="divider" />
8449    </declare-styleable>
8450
8451    <!-- Base attributes available to PreferenceActivity. -->
8452    <declare-styleable name="PreferenceActivity">
8453        <!-- The layout for the Preference Activity. This should rarely need to be changed. -->
8454        <attr name="layout" />
8455        <!-- The layout for the Preference Header. This should rarely need to be changed. -->
8456        <attr name="headerLayout" format="reference" />
8457        <!-- true if the Icon view will be removed when there is none and thus not showing
8458             the fixed margins. -->
8459        <attr name="headerRemoveIconIfEmpty" format="boolean" />
8460    </declare-styleable>
8461
8462    <!-- Use <code>tts-engine</code> as the root tag of the XML resource that
8463         describes a text to speech engine implemented as a subclass of
8464         {@link android.speech.tts.TextToSpeechService}.
8465
8466         The XML resource must be referenced from its
8467         {@link android.speech.tts.TextToSpeech.Engine#SERVICE_META_DATA} meta-data
8468         entry. -->
8469    <declare-styleable name="TextToSpeechEngine">
8470        <attr name="settingsActivity" />
8471    </declare-styleable>
8472
8473    <!-- Use <code>keyboard-layouts</code> as the root tag of the XML resource that
8474         describes a collection of keyboard layouts provided by an application.
8475         Each keyboard layout is declared by a <code>keyboard-layout</code> tag
8476         with these attributes.
8477
8478         The XML resource that contains the keyboard layouts must be referenced from its
8479         {@link android.hardware.input.InputManager#META_DATA_KEYBOARD_LAYOUTS}
8480         meta-data entry used with broadcast receivers for
8481         {@link android.hardware.input.InputManager#ACTION_QUERY_KEYBOARD_LAYOUTS}. -->
8482    <declare-styleable name="KeyboardLayout">
8483        <!-- The name of the keyboard layout, must be unique in the receiver. -->
8484        <attr name="name" />
8485        <!-- The display label of the keyboard layout. -->
8486        <attr name="label" />
8487        <!-- The key character map file resource. -->
8488        <attr name="keyboardLayout" format="reference" />
8489        <!-- The locales the given keyboard layout corresponds to. -->
8490        <attr name="locale" format="string" />
8491        <!-- The vendor ID of the hardware the given layout corresponds to. @hide -->
8492        <attr name="vendorId" format="integer" />
8493        <!-- The product ID of the hardware the given layout corresponds to. @hide -->
8494        <attr name="productId" format="integer" />
8495    </declare-styleable>
8496
8497    <declare-styleable name="MediaRouteButton">
8498        <!-- This drawable is a state list where the "activated" state
8499             indicates active media routing. Non-activated indicates
8500             that media is playing to the local device only.
8501             @hide -->
8502        <attr name="externalRouteEnabledDrawable" format="reference" />
8503
8504        <!-- The types of media routes the button and its resulting
8505             chooser will filter by. -->
8506        <attr name="mediaRouteTypes" format="integer">
8507            <!-- Allow selection of live audio routes. -->
8508            <enum name="liveAudio" value="0x1" />
8509            <!-- Allow selection of user (app-specified) routes. -->
8510            <enum name="user" value="0x800000" />
8511        </attr>
8512
8513        <attr name="minWidth" />
8514        <attr name="minHeight" />
8515    </declare-styleable>
8516
8517    <!-- PagedView specific attributes. These attributes are used to customize
8518         a PagedView view in XML files. -->
8519    <declare-styleable name="PagedView">
8520        <!-- The space between adjacent pages of the PagedView. -->
8521        <attr name="pageSpacing" format="dimension" />
8522        <!-- The padding for the scroll indicator area. -->
8523        <attr name="scrollIndicatorPaddingLeft" format="dimension" />
8524        <attr name="scrollIndicatorPaddingRight" format="dimension" />
8525    </declare-styleable>
8526
8527    <declare-styleable name="KeyguardGlowStripView">
8528        <attr name="dotSize" format="dimension" />
8529        <attr name="numDots" format="integer" />
8530        <attr name="glowDot" format="reference" />
8531        <attr name="leftToRight" format="boolean" />
8532    </declare-styleable>
8533
8534    <!-- Some child types have special behavior. -->
8535    <attr name="layout_childType">
8536        <!-- No special behavior. Layout will proceed as normal. -->
8537        <enum name="none" value="0" />
8538        <!-- Widget container.
8539             This will be resized in response to certain events. -->
8540        <enum name="widget" value="1" />
8541        <!-- Security challenge container.
8542             This will be dismissed/shown in response to certain events,
8543             possibly obscuring widget elements. -->
8544        <enum name="challenge" value="2" />
8545        <!-- User switcher.
8546             This will consume space from the total layout area. -->
8547        <enum name="userSwitcher" value="3" />
8548        <!-- Scrim. This will block access to child views that
8549             come before it in the child list in bouncer mode. -->
8550        <enum name="scrim" value="4" />
8551        <!-- The home for widgets. All widgets will be descendents of this. -->
8552        <enum name="widgets" value="5" />
8553        <!-- This is a handle that is used for expanding the
8554             security challenge container when it is collapsed. -->
8555        <enum name="expandChallengeHandle" value="6" />
8556        <!-- Delete drop target.  This will be the drop target to delete pages. -->
8557        <enum name="pageDeleteDropTarget" value="7" />
8558    </attr>
8559
8560    <!-- Attributes that can be used with <code>&lt;FragmentBreadCrumbs&gt;</code>
8561    tags. -->
8562    <declare-styleable name="FragmentBreadCrumbs">
8563        <attr name="gravity" />
8564        <attr name="itemLayout" format="reference" />
8565        <attr name="itemColor" format="color|reference" />
8566    </declare-styleable>
8567
8568    <declare-styleable name="Toolbar">
8569        <attr name="titleTextAppearance" format="reference" />
8570        <attr name="subtitleTextAppearance" format="reference" />
8571        <attr name="title" />
8572        <attr name="subtitle" />
8573        <attr name="gravity" />
8574        <!--  Specifies extra space on the left, start, right and end sides
8575              of the toolbar's title. Margin values should be positive. -->
8576        <attr name="titleMargin" format="dimension" />
8577        <!--  Specifies extra space on the start side of the toolbar's title.
8578              If both this attribute and titleMargin are specified, then this
8579              attribute takes precedence. Margin values should be positive. -->
8580        <attr name="titleMarginStart" format="dimension" />
8581        <!--  Specifies extra space on the end side of the toolbar's title.
8582              If both this attribute and titleMargin are specified, then this
8583              attribute takes precedence. Margin values should be positive. -->
8584        <attr name="titleMarginEnd" format="dimension" />
8585        <!--  Specifies extra space on the top side of the toolbar's title.
8586              If both this attribute and titleMargin are specified, then this
8587              attribute takes precedence. Margin values should be positive. -->
8588        <attr name="titleMarginTop" format="dimension" />
8589        <!--  Specifies extra space on the bottom side of the toolbar's title.
8590              If both this attribute and titleMargin are specified, then this
8591              attribute takes precedence. Margin values should be positive. -->
8592        <attr name="titleMarginBottom" format="dimension" />
8593        <attr name="contentInsetStart" />
8594        <attr name="contentInsetEnd" />
8595        <attr name="contentInsetLeft" />
8596        <attr name="contentInsetRight" />
8597        <attr name="contentInsetStartWithNavigation" />
8598        <attr name="contentInsetEndWithActions" />
8599        <attr name="maxButtonHeight" format="dimension" />
8600        <attr name="navigationButtonStyle" format="reference" />
8601        <attr name="buttonGravity">
8602            <!-- Push object to the top of its container, not changing its size. -->
8603            <flag name="top" value="0x30" />
8604            <!-- Push object to the bottom of its container, not changing its size. -->
8605            <flag name="bottom" value="0x50" />
8606        </attr>
8607        <!-- Icon drawable to use for the collapse button. -->
8608        <attr name="collapseIcon" format="reference" />
8609        <!-- Text to set as the content description for the collapse button. -->
8610        <attr name="collapseContentDescription" format="string" />
8611        <!-- Reference to a theme that should be used to inflate popups
8612             shown by widgets in the toolbar. -->
8613        <attr name="popupTheme" format="reference" />
8614        <!-- Icon drawable to use for the navigation button located at
8615             the start of the toolbar. -->
8616        <attr name="navigationIcon" format="reference" />
8617        <!-- Text to set as the content description for the navigation button
8618             located at the start of the toolbar. -->
8619        <attr name="navigationContentDescription" format="string" />
8620        <!-- Drawable to set as the logo that appears at the starting side of
8621             the Toolbar, just after the navigation button. -->
8622        <attr name="logo" />
8623        <!-- A content description string to describe the appearance of the
8624             associated logo image. -->
8625        <attr name="logoDescription" format="string" />
8626        <!-- A color to apply to the title string. -->
8627        <attr name="titleTextColor" format="color" />
8628        <!-- A color to apply to the subtitle string. -->
8629        <attr name="subtitleTextColor" format="color" />
8630    </declare-styleable>
8631
8632    <declare-styleable name="Toolbar_LayoutParams">
8633        <attr name="layout_gravity" />
8634    </declare-styleable>
8635
8636    <declare-styleable name="ActionBar_LayoutParams">
8637        <attr name="layout_gravity" />
8638    </declare-styleable>
8639
8640    <!-- Used as a filter array on the theme to pull out only the EdgeEffect-relevant bits. -->
8641    <declare-styleable name="EdgeEffect">
8642        <attr name="colorEdgeEffect" />
8643    </declare-styleable>
8644
8645    <!-- Use <code>tv-input</code> as the root tag of the XML resource that describes a
8646         {@link android.media.tv.TvInputService}, which is referenced from its
8647         {@link android.media.tv.TvInputService#SERVICE_META_DATA} meta-data entry.
8648         Described here are the attributes that can be included in that tag. -->
8649    <declare-styleable name="TvInputService">
8650        <!-- Component name of an activity that allows the user to set up this service. -->
8651        <attr name="setupActivity" format="string" />
8652        <!-- Component name of an activity that allows the user to modify the settings for this
8653             service.
8654             {@deprecated This value is deprecated and not used by the framework starting from API
8655                         level 26. Use setupActivity instead.} -->
8656        <attr name="settingsActivity" />
8657        <!-- Attribute whether the TV input service can record programs. This value can be changed
8658             at runtime by calling
8659             {@link android.media.tv.TvInputManager#updateTvInputInfo(android.media.tv.TvInputInfo)}. -->
8660        <attr name="canRecord" format="boolean" />
8661        <!-- The number of tuners that the TV input service is associated with. This value can be
8662             changed at runtime by calling
8663             {@link android.media.tv.TvInputManager#updateTvInputInfo(android.media.tv.TvInputInfo)}. -->
8664        <attr name="tunerCount" format="integer" />
8665    </declare-styleable>
8666
8667    <!-- Attributes that can be used with <code>rating-system-definition</code> tags inside of the
8668         XML resource that describes TV content rating of a {@link android.media.tv.TvInputService},
8669         which is referenced from its
8670         {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. -->
8671    <declare-styleable name="RatingSystemDefinition">
8672        <!-- The unique name of the content rating system. -->
8673        <attr name="name" />
8674        <!-- The title of the content rating system which is shown to the user. -->
8675        <attr name="title" />
8676        <!-- The short description of the content rating system. -->
8677        <attr name="description" />
8678        <!-- The country code associated with the content rating system, which consists of two
8679             uppercase letters that conform to the ISO 3166 standard. -->
8680        <attr name="country" format="string" />
8681    </declare-styleable>
8682
8683    <!-- Attributes that can be used with <code>rating-definition</code> tags inside of the XML
8684         resource that describes TV content rating of a {@link android.media.tv.TvInputService},
8685         which is referenced from its
8686         {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. -->
8687    <declare-styleable name="RatingDefinition">
8688        <!-- The unique name of the content rating. -->
8689        <attr name="name" />
8690        <!-- The title of the content rating which is shown to the user. -->
8691        <attr name="title" />
8692        <!-- The short description of the content rating. -->
8693        <attr name="description" />
8694        <!-- The age associated with the content rating. The content of this rating is suitable for
8695             people of this age or above. -->
8696        <attr name="contentAgeHint" format="integer" />
8697    </declare-styleable>
8698
8699    <declare-styleable name="ResolverDrawerLayout">
8700        <attr name="maxWidth" />
8701        <attr name="maxCollapsedHeight" format="dimension" />
8702        <attr name="maxCollapsedHeightSmall" format="dimension" />
8703        <!-- Whether the Drawer should be positioned at the top rather than at the bottom. -->
8704        <attr name="showAtTop" format="boolean" />
8705    </declare-styleable>
8706
8707    <declare-styleable name="MessagingLinearLayout">
8708        <attr name="spacing" />
8709    </declare-styleable>
8710
8711    <declare-styleable name="DateTimeView">
8712        <attr name="showRelative" format="boolean" />
8713    </declare-styleable>
8714
8715    <declare-styleable name="ResolverDrawerLayout_LayoutParams">
8716        <attr name="layout_alwaysShow" format="boolean" />
8717        <attr name="layout_ignoreOffset" format="boolean" />
8718        <attr name="layout_gravity" />
8719        <attr name="layout_hasNestedScrollIndicator" format="boolean" />
8720    </declare-styleable>
8721
8722    <!-- @hide -->
8723    <declare-styleable name="Lighting">
8724        <attr name="lightY" />
8725        <attr name="lightZ" />
8726        <attr name="lightRadius" />
8727        <attr name="ambientShadowAlpha" />
8728        <attr name="spotShadowAlpha" />
8729    </declare-styleable>
8730
8731    <declare-styleable name="RestrictionEntry">
8732        <attr name="key" />
8733        <attr name="restrictionType">
8734            <enum name="hidden" value="0" />
8735            <enum name="bool" value="1" />
8736            <enum name="choice" value="2" />
8737            <enum name="multi-select" value="4" />
8738            <enum name="integer" value="5" />
8739            <enum name="string" value="6" />
8740            <enum name="bundle" value="7" />
8741            <enum name="bundle_array" value="8" />
8742        </attr>
8743        <attr name="title" />
8744        <attr name="description" />
8745        <attr name="defaultValue" />
8746        <attr name="entries" />
8747        <attr name="entryValues" />
8748    </declare-styleable>
8749
8750    <!-- Used to describe the gradient for fill or stroke in a path of VectorDrawable. -->
8751    <declare-styleable name="GradientColor">
8752        <!-- Start color of the gradient. -->
8753        <attr name="startColor" />
8754        <!-- Optional center color. -->
8755        <attr name="centerColor" />
8756        <!-- End color of the gradient. -->
8757        <attr name="endColor" />
8758        <!-- Type of gradient. The default type is linear. -->
8759        <attr name="type" />
8760
8761        <!-- Only applied to RadialGradient-->
8762        <!-- Radius of the gradient, used only with radial gradient. -->
8763        <attr name="gradientRadius" />
8764
8765        <!-- Only applied to SweepGradient / RadialGradient-->
8766        <!-- X coordinate of the center of the gradient within the path. -->
8767        <attr name="centerX" />
8768        <!-- Y coordinate of the center of the gradient within the path. -->
8769        <attr name="centerY" />
8770
8771        <!-- LinearGradient specific -->
8772        <!-- X coordinate of the start point origin of the gradient.
8773             Defined in same coordinates as the path itself -->
8774        <attr name="startX" format="float" />
8775        <!-- Y coordinate of the start point of the gradient within the shape.
8776             Defined in same coordinates as the path itself -->
8777        <attr name="startY" format="float" />
8778        <!-- X coordinate of the end point origin of the gradient.
8779             Defined in same coordinates as the path itself -->
8780        <attr name="endX" format="float" />
8781        <!-- Y coordinate of the end point of the gradient within the shape.
8782             Defined in same coordinates as the path itself -->
8783        <attr name="endY" format="float" />
8784
8785        <!-- Defines the tile mode of the gradient. SweepGradient don't support tiling. -->
8786        <attr name="tileMode"/>
8787    </declare-styleable>
8788
8789    <!-- Describes an item of a GradientColor. Minimally need 2 items to define the gradient
8790         Colors defined in <item> override the simple color attributes such as
8791         "startColor / centerColor / endColor" are ignored. -->
8792    <declare-styleable name="GradientColorItem">
8793        <!-- The offset (or ratio) of this current color item inside the gradient.
8794             The value is only meaningful when it is between 0 and 1. -->
8795        <attr name="offset" format="float" />
8796        <!-- The current color for the offset inside the gradient. -->
8797        <attr name="color" />
8798    </declare-styleable>
8799
8800    <!-- @hide Attributes which will be read by the Activity to intialize the
8801               base activity TaskDescription. -->
8802    <declare-styleable name="ActivityTaskDescription">
8803        <!-- @hide From Theme.colorPrimary, used for the TaskDescription primary
8804                   color. -->
8805        <attr name="colorPrimary" />
8806        <!-- @hide From Theme.colorBackground, used for the TaskDescription background
8807                   color. -->
8808        <attr name="colorBackground" />
8809        <!-- @hide From Theme.statusBarColor, used for the TaskDescription status bar color. -->
8810        <attr name="statusBarColor"/>
8811        <!-- @hide From Theme.navigationBarColor, used for the TaskDescription navigation bar
8812                   color. -->
8813        <attr name="navigationBarColor"/>
8814    </declare-styleable>
8815
8816    <declare-styleable name="Shortcut">
8817        <attr name="shortcutId" format="string" />
8818        <attr name="enabled" />
8819        <attr name="icon" />
8820        <attr name="shortcutShortLabel" format="reference" />
8821        <attr name="shortcutLongLabel" format="reference" />
8822        <attr name="shortcutDisabledMessage" format="reference" />
8823    </declare-styleable>
8824
8825    <declare-styleable name="ShortcutCategories">
8826        <attr name="name" />
8827    </declare-styleable>
8828
8829    <!-- Attributes that are read when parsing a <font> tag, which is a child of
8830         <font-family>. This represents an actual font file and its attributes. -->
8831    <declare-styleable name="FontFamilyFont">
8832        <!-- The style of the given font file. This will be used when the font is being loaded into
8833         the font stack and will override any style information in the font's header tables. If
8834         unspecified, the value in the font's header tables will be used. -->
8835        <attr name="fontStyle">
8836            <enum name="normal" value="0" />
8837            <enum name="italic" value="1" />
8838        </attr>
8839        <!-- The reference to the font file to be used. This should be a file in the res/font folder
8840         and should therefore have an R reference value. E.g. @font/myfont -->
8841        <attr name="font" format="reference" />
8842        <!-- The weight of the given font file. This will be used when the font is being loaded into
8843         the font stack and will override any weight information in the font's header tables. Must
8844         be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most
8845         common values are 400 for regular weight and 700 for bold weight. If unspecified, the value
8846         in the font's header tables will be used. -->
8847        <attr name="fontWeight" format="integer" />
8848        <!-- The index of the font in the ttc (TrueType Collection) font file. If the font file
8849         referenced is not in the ttc format, this attribute needs not be specified.
8850         {@see android.graphics.Typeface#Builder.setTtcIndex(int)}.
8851         The default value is 0. More details about the TrueType Collection font format can be found
8852         here: https://en.wikipedia.org/wiki/TrueType#TrueType_Collection. -->
8853        <attr name="ttcIndex" format="integer" />
8854        <!-- The variation settings to be applied to the font. The string should be in the following
8855         format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be
8856         used, or the font used does not support variation settings, this attribute needs not be
8857         specified. -->
8858        <attr name="fontVariationSettings" format="string" />
8859    </declare-styleable>
8860
8861    <!-- Attributes that are read when parsing a <fontfamily> tag. -->
8862    <declare-styleable name="FontFamily">
8863        <!-- The authority of the Font Provider to be used for the request. -->
8864        <attr name="fontProviderAuthority" format="string" />
8865        <!-- The package for the Font Provider to be used for the request. This is used to verify
8866        the identity of the provider. -->
8867        <attr name="fontProviderPackage" format="string" />
8868        <!-- The query to be sent over to the provider. Refer to your font provider's documentation
8869        on the format of this string. -->
8870        <attr name="fontProviderQuery" format="string" />
8871        <!-- The sets of hashes for the certificates the provider should be signed with. This is
8872        used to verify the identity of the provider, and is only required if the provider is not
8873        part of the system image. This value may point to one list or a list of lists, where each
8874        individual list represents one collection of signature hashes. Refer to your font provider's
8875        documentation for these values. -->
8876        <attr name="fontProviderCerts" format="reference" />
8877    </declare-styleable>
8878
8879    <!-- Attributes that are read when parsing a  tag. -->
8880    <declare-styleable name="VideoView2">
8881        <attr name="enableControlView" format="boolean" />
8882        <attr name="enableSubtitle" format="boolean" />
8883        <attr name="viewType" format="enum">
8884            <enum name="surfaceView" value="0" />
8885            <enum name="textureView" value="1" />
8886        </attr>
8887    </declare-styleable>
8888
8889    <!-- @hide -->
8890    <declare-styleable name="RecyclerView">
8891        <attr name="layoutManager" format="string" />
8892        <attr name="orientation" />
8893        <attr name="descendantFocusability" />
8894        <attr name="spanCount" format="integer"/>
8895        <attr name="reverseLayout" format="boolean" />
8896        <attr name="stackFromEnd" format="boolean" />
8897    </declare-styleable>
8898
8899    <!-- @hide -->
8900    <declare-styleable name="NotificationTheme">
8901        <attr name="notificationHeaderStyle" format="reference" />
8902        <attr name="notificationHeaderTextAppearance" format="reference" />
8903        <attr name="notificationHeaderIconSize" format="dimension" />
8904        <attr name="notificationHeaderAppNameVisibility" format="enum">
8905            <!-- Visible on screen; the default value. -->
8906            <enum name="visible" value="0" />
8907            <!-- Not displayed, but taken into account during layout (space is left for it). -->
8908            <enum name="invisible" value="1" />
8909            <!-- Completely hidden, as if the view had not been added. -->
8910            <enum name="gone" value="2" />
8911        </attr>
8912    </declare-styleable>
8913
8914    <attr name="lockPatternStyle" format="reference" />
8915</resources>
8916