attrs.xml revision 7039cbc6f3a596aee6851014019849490f358f13
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2006 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<!-- Formatting note: terminate all comments with a period, to avoid breaking
18     the documentation output. To suppress comment lines from the documentation
19     output, insert an eat-comment element after the comment lines.
20-->
21
22<resources>
23    <!-- These are the standard attributes that make up a complete theme. -->
24    <declare-styleable name="Theme">
25        <!-- ============== -->
26        <!-- Generic styles -->
27        <!-- ============== -->
28        <eat-comment />
29
30        <!-- Specifies that a theme has a light background with dark text on top.  -->
31        <attr name="isLightTheme" format="boolean" />
32
33        <!-- Default color of foreground imagery. -->
34        <attr name="colorForeground" format="color" />
35        <!-- Default color of foreground imagery on an inverted background. -->
36        <attr name="colorForegroundInverse" format="color" />
37        <!-- Default color of background imagery, ex. full-screen windows. -->
38        <attr name="colorBackground" format="color" />
39        <!-- Default color of background imagery for floating components, ex. dialogs, popups, and cards. -->
40        <attr name="colorBackgroundFloating" format="color" />
41        <!-- This is a hint for a solid color that can be used for caching
42             rendered views.  This should be the color of the background when
43             there is a solid background color; it should be null when the
44             background is a texture or translucent.  When a device is able
45             to use accelerated drawing (thus setting state_accelerated), the
46             cache hint is ignored and always assumed to be transparent. -->
47        <attr name="colorBackgroundCacheHint" format="color" />
48
49        <!-- Default highlight color for items that are pressed. -->
50        <attr name="colorPressedHighlight" format="color" />
51        <!-- Default highlight color for items that are long-pressed. -->
52        <attr name="colorLongPressedHighlight" format="color" />
53        <!-- Default highlight color for items that are
54             focused. (Focused meaning cursor-based selection.) -->
55        <attr name="colorFocusedHighlight" format="color" />
56        <!-- Default highlight color for items that are
57             activated. (Activated meaning persistent selection.) -->
58        <attr name="colorActivatedHighlight" format="color" />
59        <!-- Default highlight color for items in multiple selection
60             mode. -->
61        <attr name="colorMultiSelectHighlight" format="color" />
62
63        <!-- Default disabled alpha for widgets that set enabled/disabled alpha programmatically. -->
64        <attr name="disabledAlpha" format="float" />
65        <!-- Default background dim amount when a menu, dialog, or something similar pops up. -->
66        <attr name="backgroundDimAmount" format="float" />
67        <!-- Control whether dimming behind the window is enabled.  The default
68             theme does not set this value, meaning it is based on whether the
69             window is floating. -->
70        <attr name="backgroundDimEnabled" format="boolean" />
71
72        <!-- =========== -->
73        <!-- Text styles -->
74        <!-- =========== -->
75        <eat-comment />
76
77        <!-- Default appearance of text: color, typeface, size, and style. -->
78        <attr name="textAppearance" format="reference" />
79        <!-- Default appearance of text against an inverted background:
80             color, typeface, size, and style. -->
81        <attr name="textAppearanceInverse" format="reference" />
82
83        <!-- The most prominent text color.  -->
84        <attr name="textColorPrimary" format="reference|color" />
85        <!-- Secondary text color. -->
86        <attr name="textColorSecondary" format="reference|color" />
87        <!-- Tertiary text color. -->
88        <attr name="textColorTertiary" format="reference|color" />
89
90        <!-- Primary inverse text color, useful for inverted backgrounds. -->
91        <attr name="textColorPrimaryInverse" format="reference|color" />
92        <!-- Secondary inverse text color, useful for inverted backgrounds. -->
93        <attr name="textColorSecondaryInverse" format="reference|color" />
94        <!-- Tertiary inverse text color, useful for inverted backgrounds. -->
95        <attr name="textColorTertiaryInverse" format="reference|color" />
96
97        <!-- Inverse hint text color. -->
98        <attr name="textColorHintInverse" format="reference|color" />
99
100        <!-- Bright text color. Only differentiates based on the disabled state. -->
101        <attr name="textColorPrimaryDisableOnly" format="reference|color" />
102
103        <!-- Bright inverse text color. Only differentiates based on the disabled state. -->
104        <attr name="textColorPrimaryInverseDisableOnly" format="reference|color" />
105
106        <!-- Bright text color. This does not differentiate the disabled state. As an example,
107             buttons use this since they display the disabled state via the background and not the
108             foreground text color. -->
109        <attr name="textColorPrimaryNoDisable" format="reference|color" />
110        <!-- Dim text color. This does not differentiate the disabled state. -->
111        <attr name="textColorSecondaryNoDisable" format="reference|color" />
112
113        <!-- Bright inverse text color. This does not differentiate the disabled state. -->
114        <attr name="textColorPrimaryInverseNoDisable" format="reference|color" />
115        <!-- Dim inverse text color. This does not differentiate the disabled state. -->
116        <attr name="textColorSecondaryInverseNoDisable" format="reference|color" />
117
118        <!-- Bright text color for use over activated backgrounds. -->
119        <attr name="textColorPrimaryActivated" format="reference|color" />
120        <!-- Dim text color for use over activated backgrounds. -->
121        <attr name="textColorSecondaryActivated" format="reference|color" />
122
123        <!-- Text color for urls in search suggestions, used by things like global search and the browser. @hide -->
124        <attr name="textColorSearchUrl" format="reference|color" />
125
126        <!-- Color of highlighted text, when used in a light theme. -->
127        <attr name="textColorHighlightInverse" format="reference|color" />
128        <!-- Color of link text (URLs), when used in a light theme. -->
129        <attr name="textColorLinkInverse" format="reference|color" />
130
131        <!-- Color of list item text in alert dialogs. -->
132        <attr name="textColorAlertDialogListItem" format="reference|color" />
133
134        <!-- Text color for errors. -->
135        <attr name="textColorError" format="reference|color" />
136
137        <!-- Search widget more corpus result item background. -->
138        <attr name="searchWidgetCorpusItemBackground" format="reference|color" />
139
140        <!-- Text color, typeface, size, and style for "large" text. Defaults to primary text color. -->
141        <attr name="textAppearanceLarge" format="reference" />
142        <!-- Text color, typeface, size, and style for "medium" text. Defaults to primary text color. -->
143        <attr name="textAppearanceMedium" format="reference" />
144        <!-- Text color, typeface, size, and style for "small" text. Defaults to secondary text color. -->
145        <attr name="textAppearanceSmall" format="reference" />
146
147        <!-- Text color, typeface, size, and style for "large" inverse text. Defaults to primary inverse text color. -->
148        <attr name="textAppearanceLargeInverse" format="reference" />
149        <!-- Text color, typeface, size, and style for "medium" inverse text. Defaults to primary inverse text color. -->
150        <attr name="textAppearanceMediumInverse" format="reference" />
151        <!-- Text color, typeface, size, and style for "small" inverse text. Defaults to secondary inverse text color. -->
152        <attr name="textAppearanceSmallInverse" format="reference" />
153
154        <!-- Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color. -->
155        <attr name="textAppearanceSearchResultTitle" format="reference" />
156        <!-- Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color. -->
157        <attr name="textAppearanceSearchResultSubtitle" format="reference" />
158
159        <!-- Text color, typeface, size, and style for the text inside of a button. -->
160        <attr name="textAppearanceButton" format="reference" />
161
162        <!-- Text color, typeface, size, and style for the text inside of a popup menu. -->
163        <attr name="textAppearanceLargePopupMenu" format="reference" />
164
165        <!-- Text color, typeface, size, and style for small text inside of a popup menu. -->
166        <attr name="textAppearanceSmallPopupMenu" format="reference" />
167
168        <!-- Text color, typeface, size, and style for header text inside of a popup menu. -->
169        <attr name="textAppearancePopupMenuHeader" format="reference" />
170
171        <!-- The underline color and thickness for easy correct suggestion -->
172        <attr name="textAppearanceEasyCorrectSuggestion" format="reference" />
173
174        <!-- The underline color and thickness for misspelled suggestion -->
175        <attr name="textAppearanceMisspelledSuggestion" format="reference" />
176
177        <!-- The underline color and thickness for auto correction suggestion -->
178        <attr name="textAppearanceAutoCorrectionSuggestion" format="reference" />
179
180        <!--  The underline color -->
181        <attr name="textUnderlineColor" format="reference|color" />
182        <!--  The underline thickness -->
183        <attr name="textUnderlineThickness" format="reference|dimension" />
184
185        <!-- EditText text foreground color. -->
186        <attr name="editTextColor" format="reference|color" />
187        <!-- EditText background drawable. -->
188        <attr name="editTextBackground" format="reference" />
189
190        <!-- Popup text displayed in TextView when setError is used. -->
191        <attr name="errorMessageBackground" format="reference" />
192        <!-- Background used instead of errorMessageBackground when the popup has to be above. -->
193        <attr name="errorMessageAboveBackground" format="reference" />
194
195        <!-- A styled string, specifying the style to be used for showing
196             inline candidate text when composing with an input method.  The
197             text itself will be ignored, but the style spans will be applied
198             to the candidate text as it is edited. -->
199        <attr name="candidatesTextStyleSpans" format="reference|string" />
200
201        <!-- Drawable to use for check marks. -->
202        <attr name="textCheckMark" format="reference" />
203        <attr name="textCheckMarkInverse" format="reference" />
204
205        <!-- Drawable to use for multiple choice indicators. -->
206        <attr name="listChoiceIndicatorMultiple" format="reference" />
207
208        <!-- Drawable to use for single choice indicators. -->
209        <attr name="listChoiceIndicatorSingle" format="reference" />
210
211        <!-- Drawable used as a background for selected list items. -->
212        <attr name="listChoiceBackgroundIndicator" format="reference" />
213
214        <!-- Drawable used as a background for activated items. -->
215        <attr name="activatedBackgroundIndicator" format="reference" />
216
217        <!-- ============= -->
218        <!-- Button styles -->
219        <!-- ============= -->
220        <eat-comment />
221
222        <!-- Normal Button style. -->
223        <attr name="buttonStyle" format="reference" />
224
225        <!-- Small Button style. -->
226        <attr name="buttonStyleSmall" format="reference" />
227
228        <!-- Button style to inset into an EditText. -->
229        <attr name="buttonStyleInset" format="reference" />
230
231        <!-- ToggleButton style. -->
232        <attr name="buttonStyleToggle" format="reference" />
233
234        <!-- ============== -->
235        <!-- Gallery styles -->
236        <!-- ============== -->
237        <eat-comment />
238
239        <!-- The preferred background for gallery items. This should be set
240             as the background of any Views you provide from the Adapter. -->
241        <attr name="galleryItemBackground" format="reference" />
242
243        <!-- =========== -->
244        <!-- List styles -->
245        <!-- =========== -->
246        <eat-comment />
247
248        <!-- The preferred list item height. -->
249        <attr name="listPreferredItemHeight" format="dimension" />
250        <!-- A smaller, sleeker list item height. -->
251        <attr name="listPreferredItemHeightSmall" format="dimension" />
252        <!-- A larger, more robust list item height. -->
253        <attr name="listPreferredItemHeightLarge" format="dimension" />
254        <!-- The list item height for search results. @hide -->
255        <attr name="searchResultListItemHeight" format="dimension" />
256
257        <!-- The preferred padding along the left edge of list items. -->
258        <attr name="listPreferredItemPaddingLeft" format="dimension" />
259        <!-- The preferred padding along the right edge of list items. -->
260        <attr name="listPreferredItemPaddingRight" format="dimension" />
261
262        <!-- The preferred TextAppearance for the primary text of list items. -->
263        <attr name="textAppearanceListItem" format="reference" />
264        <!-- The preferred TextAppearance for the secondary text of list items. -->
265        <attr name="textAppearanceListItemSecondary" format="reference" />
266        <!-- The preferred TextAppearance for the primary text of small list items. -->
267        <attr name="textAppearanceListItemSmall" format="reference" />
268
269        <!-- The drawable for the list divider. -->
270        <attr name="listDivider" format="reference" />
271        <!-- The list divider used in alert dialogs. -->
272        <attr name="listDividerAlertDialog" format="reference" />
273        <!-- TextView style for list separators. -->
274        <attr name="listSeparatorTextViewStyle" format="reference" />
275        <!-- The preferred left padding for an expandable list item (for child-specific layouts,
276             use expandableListPreferredChildPaddingLeft). This takes into account
277             the indicator that will be shown to next to the item. -->
278        <attr name="expandableListPreferredItemPaddingLeft" format="dimension" />
279        <!-- The preferred left padding for an expandable list item that is a child.
280             If this is not provided, it defaults to the expandableListPreferredItemPaddingLeft. -->
281        <attr name="expandableListPreferredChildPaddingLeft" format="dimension" />
282        <!-- The preferred left bound for an expandable list item's indicator. For a child-specific
283             indicator, use expandableListPreferredChildIndicatorLeft. -->
284        <attr name="expandableListPreferredItemIndicatorLeft" format="dimension" />
285        <!-- The preferred right bound for an expandable list item's indicator. For a child-specific
286             indicator, use expandableListPreferredChildIndicatorRight. -->
287        <attr name="expandableListPreferredItemIndicatorRight" format="dimension" />
288        <!-- The preferred left bound for an expandable list child's indicator. -->
289        <attr name="expandableListPreferredChildIndicatorLeft" format="dimension" />
290        <!-- The preferred right bound for an expandable list child's indicator. -->
291        <attr name="expandableListPreferredChildIndicatorRight" format="dimension" />
292
293        <!-- The preferred item height for dropdown lists. -->
294        <attr name="dropdownListPreferredItemHeight" format="dimension" />
295
296        <!-- The preferred padding along the start edge of list items. -->
297        <attr name="listPreferredItemPaddingStart" format="dimension" />
298        <!-- The preferred padding along the end edge of list items. -->
299        <attr name="listPreferredItemPaddingEnd" format="dimension" />
300
301        <!-- ============= -->
302        <!-- Window styles -->
303        <!-- ============= -->
304        <eat-comment />
305
306        <!-- Drawable to use as the overall window background.  As of
307             {@link android.os.Build.VERSION_CODES#HONEYCOMB}, this may
308             be a selector that uses state_accelerated to pick a non-solid
309             color when running on devices that can draw such a bitmap
310             with complex compositing on top at 60fps.
311
312             <p>There are a few special considerations to use when setting this
313             drawable:
314             <ul>
315             <li> This information will be used to infer the pixel format
316                  for your window's surface.  If the drawable has any
317                  non-opaque pixels, your window will be translucent
318                  (32 bpp).
319             <li> If you want to draw the entire background
320                  yourself, you should set this drawable to some solid
321                  color that closely matches that background (so the
322                  system's preview of your window will match), and
323                  then in code manually set your window's background to
324                  null so it will not be drawn.
325             </ul> -->
326        <attr name="windowBackground" format="reference" />
327        <!-- Drawable to draw selectively within the inset areas when the windowBackground
328             has been set to null. This protects against seeing visual garbage in the
329             surface when the app has not drawn any content into this area. One example is
330             when the user is resizing a window of an activity that has
331             {@link android.R.attr#resizeableActivity} set for multi-window mode. -->
332        <attr name="windowBackgroundFallback" format="reference" />
333        <!-- Drawable to use as a frame around the window. -->
334        <attr name="windowFrame" format="reference" />
335        <!-- Flag indicating whether there should be no title on this window. -->
336        <attr name="windowNoTitle" format="boolean" />
337        <!-- Flag indicating whether this window should fill the entire screen.  Corresponds
338             to {@link android.view.WindowManager.LayoutParams#FLAG_FULLSCREEN}. -->
339        <attr name="windowFullscreen" format="boolean" />
340        <!-- Flag indicating whether this window should extend into overscan region.  Corresponds
341             to {@link android.view.WindowManager.LayoutParams#FLAG_LAYOUT_IN_OVERSCAN}. -->
342        <attr name="windowOverscan" format="boolean" />
343        <!-- Flag indicating whether this is a floating window. -->
344        <attr name="windowIsFloating" format="boolean" />
345        <!-- Flag indicating whether this is a translucent window. If this attribute is unset (but
346             not if set to false), the window might still be considered translucent, if
347             windowSwipeToDismiss is set to true. -->
348        <attr name="windowIsTranslucent" format="boolean" />
349        <!-- Flag indicating that this window's background should be the
350             user's current wallpaper.  Corresponds
351             to {@link android.view.WindowManager.LayoutParams#FLAG_SHOW_WALLPAPER}. -->
352        <attr name="windowShowWallpaper" format="boolean" />
353        <!-- This Drawable is overlaid over the foreground of the Window's content area, usually
354             to place a shadow below the title.  -->
355        <attr name="windowContentOverlay" format="reference" />
356        <!-- The style resource to use for a window's title bar height. -->
357        <attr name="windowTitleSize" format="dimension" />
358        <!-- The style resource to use for a window's title text. -->
359        <attr name="windowTitleStyle" format="reference" />
360        <!-- The style resource to use for a window's title area. -->
361        <attr name="windowTitleBackgroundStyle" format="reference" />
362
363        <!-- Reference to a style resource holding
364             the set of window animations to use, which can be
365             any of the attributes defined by
366             {@link android.R.styleable#WindowAnimation}. -->
367        <attr name="windowAnimationStyle" format="reference" />
368
369        <!-- Flag indicating whether this window should have an Action Bar
370             in place of the usual title bar. -->
371        <attr name="windowActionBar" format="boolean" />
372
373        <!-- Flag indicating whether this window's Action Bar should overlay
374             application content. Does nothing if the window would not
375             have an Action Bar. -->
376        <attr name="windowActionBarOverlay" format="boolean" />
377
378        <!-- Flag indicating whether action modes should overlay window content
379             when there is not reserved space for their UI (such as an Action Bar). -->
380        <attr name="windowActionModeOverlay" format="boolean" />
381
382        <!-- Defines the default soft input state that this window would
383             like when it is displayed.  Corresponds
384             to {@link android.view.WindowManager.LayoutParams#softInputMode}. -->
385        <attr name="windowSoftInputMode">
386            <!-- Not specified, use what the system thinks is best.  This
387                 is the default. -->
388            <flag name="stateUnspecified" value="0" />
389            <!-- Leave the soft input window as-is, in whatever state it
390                 last was. -->
391            <flag name="stateUnchanged" value="1" />
392            <!-- Make the soft input area hidden when normally appropriate
393                 (when the user is navigating forward to your window). -->
394            <flag name="stateHidden" value="2" />
395            <!-- Always make the soft input area hidden when this window
396                 has input focus. -->
397            <flag name="stateAlwaysHidden" value="3" />
398            <!-- Make the soft input area visible when normally appropriate
399                 (when the user is navigating forward to your window). -->
400            <flag name="stateVisible" value="4" />
401            <!-- Always make the soft input area visible when this window
402                 has input focus. -->
403            <flag name="stateAlwaysVisible" value="5" />
404
405            <!-- The window resize/pan adjustment has not been specified,
406                 the system will automatically select between resize and pan
407                 modes, depending
408                 on whether the content of the window has any layout views
409                 that can scroll their contents.  If there is such a view,
410                 then the window will be resized, with the assumption being
411                 that the resizeable area can be reduced to make room for
412                 the input UI. -->
413            <flag name="adjustUnspecified" value="0x00" />
414            <!-- Always resize the window: the content area of the window is
415                 reduced to make room for the soft input area. -->
416            <flag name="adjustResize" value="0x10" />
417            <!-- Don't resize the window to make room for the soft input area;
418                 instead pan the contents of the window as focus moves inside
419                 of it so that the user can see what they are typing.  This is
420                 generally less desireable than panning because the user may
421                 need to close the input area to get at and interact with
422                 parts of the window. -->
423            <flag name="adjustPan" value="0x20" />
424            <!-- Don't resize <em>or</em> pan the window to make room for the
425                 soft input area; the window is never adjusted for it. -->
426            <flag name="adjustNothing" value="0x30" />
427        </attr>
428
429        <!-- Flag allowing you to disable the preview animation for a window.
430             The default value is false; if set to true, the system can never
431             use the window's theme to show a preview of it before your
432             actual instance is shown to the user. -->
433        <attr name="windowDisablePreview" format="boolean" />
434
435        <!-- Flag indicating that this window should not be displayed at all.
436             The default value is false; if set to true, and this window is
437             the main window of an Activity, then it will never actually
438             be added to the window manager.  This means that your activity
439             must immediately quit without waiting for user interaction,
440             because there will be no such interaction coming. -->
441        <attr name="windowNoDisplay" format="boolean" />
442
443        <!-- Flag indicating that this window should allow touches to be split
444             across other windows that also support split touch.
445             The default value is true for applications with a targetSdkVersion
446             of Honeycomb or newer; false otherwise.
447             When this flag is false, the first pointer that goes down determines
448             the window to which all subsequent touches go until all pointers go up.
449             When this flag is true, each pointer (not necessarily the first) that
450             goes down determines the window to which all subsequent touches of that
451             pointer will go until that pointers go up thereby enabling touches
452             with multiple pointers to be split across multiple windows. -->
453        <attr name="windowEnableSplitTouch" format="boolean" />
454
455        <!-- Control whether a container should automatically close itself if
456             the user touches outside of it.  This only applies to activities
457             and dialogs.
458
459             <p>Note: this attribute will only be respected for applications
460             that are targeting {@link android.os.Build.VERSION_CODES#HONEYCOMB}
461             or later. -->
462        <attr name="windowCloseOnTouchOutside" format="boolean" />
463
464        <!-- Flag indicating whether this window requests a translucent status bar.  Corresponds
465             to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_STATUS}. -->
466        <attr name="windowTranslucentStatus" format="boolean" />
467
468        <!-- Flag indicating whether this window requests a translucent navigation bar.  Corresponds
469             to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_NAVIGATION}. -->
470        <attr name="windowTranslucentNavigation" format="boolean" />
471
472        <!-- Flag to indicate that a window can be swiped away to be dismissed.
473             Corresponds to {@link android.view.Window#FEATURE_SWIPE_TO_DISMISS}. It will also
474             dynamically change translucency of the window, if the windowIsTranslucent is not set.
475             If windowIsTranslucent is set (to either true or false) it will obey that setting. -->
476        <attr name="windowSwipeToDismiss" format="boolean" />
477
478        <!-- Flag indicating whether this window requests that content changes be performed
479             as scene changes with transitions. Corresponds to
480             {@link android.view.Window#FEATURE_CONTENT_TRANSITIONS}. -->
481        <attr name="windowContentTransitions" format="boolean" />
482
483        <!-- Reference to a TransitionManager XML resource defining the desired
484             transitions between different window content. -->
485        <attr name="windowContentTransitionManager" format="reference" />
486
487        <!-- Flag indicating whether this window allows Activity Transitions.
488             Corresponds to {@link android.view.Window#FEATURE_ACTIVITY_TRANSITIONS}. -->
489        <attr name="windowActivityTransitions" format="boolean" />
490
491        <!-- Reference to a Transition XML resource defining the desired Transition
492             used to move Views into the initial Window's content Scene. Corresponds to
493             {@link android.view.Window#setEnterTransition(android.transition.Transition)}. -->
494        <attr name="windowEnterTransition" format="reference"/>
495
496        <!-- Reference to a Transition XML resource defining the desired Transition
497             used to move Views out of the scene when the Window is
498             preparing to close. Corresponds to
499             {@link android.view.Window#setReturnTransition(android.transition.Transition)}. -->
500        <attr name="windowReturnTransition" format="reference"/>
501
502        <!-- Reference to a Transition XML resource defining the desired Transition
503             used to move Views out of the Window's content Scene when launching a new Activity.
504             Corresponds to
505             {@link android.view.Window#setExitTransition(android.transition.Transition)}. -->
506        <attr name="windowExitTransition" format="reference"/>
507
508        <!-- Reference to a Transition XML resource defining the desired Transition
509             used to move Views in to the scene when returning from a previously-started Activity.
510             Corresponds to
511             {@link android.view.Window#setReenterTransition(android.transition.Transition)}. -->
512        <attr name="windowReenterTransition" format="reference"/>
513
514        <!-- Reference to a Transition XML resource defining the desired Transition
515             used to move shared elements transferred into the Window's initial content Scene.
516             Corresponds to {@link android.view.Window#setSharedElementEnterTransition(
517             android.transition.Transition)}. -->
518        <attr name="windowSharedElementEnterTransition" format="reference"/>
519
520        <!-- Reference to a Transition XML resource defining the desired Transition
521             used to move shared elements transferred back to a calling Activity.
522             Corresponds to {@link android.view.Window#setSharedElementReturnTransition(
523             android.transition.Transition)}. -->
524        <attr name="windowSharedElementReturnTransition" format="reference"/>
525
526        <!-- Reference to a Transition XML resource defining the desired Transition
527             used when starting a new Activity to move shared elements prior to transferring
528             to the called Activity.
529             Corresponds to {@link android.view.Window#setSharedElementExitTransition(
530             android.transition.Transition)}. -->
531        <attr name="windowSharedElementExitTransition" format="reference"/>
532
533        <!-- Reference to a Transition XML resource defining the desired Transition
534             used for shared elements transferred back to a calling Activity.
535             Corresponds to {@link android.view.Window#setSharedElementReenterTransition(
536             android.transition.Transition)}. -->
537        <attr name="windowSharedElementReenterTransition" format="reference"/>
538
539        <!-- Flag indicating whether this Window's transition should overlap with
540             the exiting transition of the calling Activity. Corresponds to
541             {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}.
542             The default value is true. -->
543        <attr name="windowAllowEnterTransitionOverlap" format="boolean"/>
544
545        <!-- Flag indicating whether this Window's transition should overlap with
546             the exiting transition of the called Activity when the called Activity
547             finishes. Corresponds to
548             {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}.
549             The default value is true. -->
550        <attr name="windowAllowReturnTransitionOverlap" format="boolean"/>
551
552        <!-- Indicates whether or not shared elements should use an overlay
553             during transitions. The default value is true. -->
554        <attr name="windowSharedElementsUseOverlay" format="boolean"/>
555
556        <!-- Internal layout used internally for window decor -->
557        <attr name="windowActionBarFullscreenDecorLayout" format="reference" />
558
559        <!-- The duration, in milliseconds, of the window background fade duration
560             when transitioning into or away from an Activity when called with an
561             Activity Transition. Corresponds to
562             {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. -->
563        <attr name="windowTransitionBackgroundFadeDuration" format="integer"/>
564
565        <!-- ============ -->
566        <!-- Floating toolbar styles -->
567        <!-- ============ -->
568       <eat-comment />
569       <attr name="floatingToolbarCloseDrawable" format="reference" />
570       <attr name="floatingToolbarForegroundColor" format="reference|color" />
571       <attr name="floatingToolbarItemBackgroundBorderlessDrawable" format="reference" />
572       <attr name="floatingToolbarItemBackgroundDrawable" format="reference" />
573       <attr name="floatingToolbarOpenDrawable" format="reference" />
574       <attr name="floatingToolbarPopupBackgroundDrawable" format="reference" />
575
576        <!-- ============ -->
577        <!-- Alert Dialog styles -->
578        <!-- ============ -->
579        <eat-comment />
580        <attr name="alertDialogStyle" format="reference" />
581        <attr name="alertDialogButtonGroupStyle" format="reference" />
582        <attr name="alertDialogCenterButtons" format="boolean" />
583
584        <!-- ============== -->
585        <!-- Image elements -->
586        <!-- ============== -->
587        <eat-comment />
588
589        <!-- Background that can be used behind parts of a UI that provide
590             details on data the user is selecting.  For example, this is
591             the background element of PreferenceActivity's embedded
592             preference fragment. -->
593        <attr name="detailsElementBackground" format="reference" />
594
595        <!-- Icon that should be used to indicate that an app is waiting for a fingerprint scan.
596             This should be used whenever an app is requesting the user to place a finger on the
597             fingerprint sensor. It can be combined with other drawables such as colored circles, so
598             the appearance matches the branding of the app requesting the fingerprint scan.-->
599        <attr name="fingerprintAuthDrawable" format="reference" />
600
601        <!-- ============ -->
602        <!-- Panel styles -->
603        <!-- ============ -->
604        <eat-comment />
605
606        <!-- The background of a panel when it is inset from the left and right edges of the screen. -->
607        <attr name="panelBackground" format="reference|color" />
608        <!-- The background of a panel when it extends to the left and right edges of the screen. -->
609        <attr name="panelFullBackground" format="reference|color" />
610        <!-- Default color of foreground panel imagery. -->
611        <attr name="panelColorForeground" format="reference|color" />
612        <!-- Color that matches (as closely as possible) the panel background. -->
613        <attr name="panelColorBackground" format="reference|color" />
614        <!-- Default appearance of panel text. -->
615        <attr name="panelTextAppearance" format="reference" />
616
617        <attr name="panelMenuIsCompact" format="boolean" />
618        <attr name="panelMenuListWidth" format="dimension" />
619        <attr name="panelMenuListTheme" format="reference" />
620
621        <!-- =================== -->
622        <!-- Other widget styles -->
623        <!-- =================== -->
624        <eat-comment />
625
626        <!-- Default AbsListView style. -->
627        <attr name="absListViewStyle" format="reference" />
628        <!-- Default AutoCompleteTextView style. -->
629        <attr name="autoCompleteTextViewStyle" format="reference" />
630        <!-- Default Checkbox style. -->
631        <attr name="checkboxStyle" format="reference" />
632        <!-- Default CheckedTextView style. -->
633        <attr name="checkedTextViewStyle" format="reference" />
634        <!-- Default ListView style for drop downs. -->
635        <attr name="dropDownListViewStyle" format="reference" />
636        <!-- Default EditText style. -->
637        <attr name="editTextStyle" format="reference" />
638        <!-- Default ExpandableListView style. -->
639        <attr name="expandableListViewStyle" format="reference" />
640        <!-- ExpandableListView with white background. -->
641        <attr name="expandableListViewWhiteStyle" format="reference" />
642        <!-- Default Gallery style. -->
643        <attr name="galleryStyle" format="reference" />
644        <!-- Default GestureOverlayView style. -->
645        <attr name="gestureOverlayViewStyle" format="reference" />
646        <!-- Default GridView style. -->
647        <attr name="gridViewStyle" format="reference" />
648        <!-- The style resource to use for an ImageButton. -->
649        <attr name="imageButtonStyle" format="reference" />
650        <!-- The style resource to use for an ImageButton that is an image well. -->
651        <attr name="imageWellStyle" format="reference" />
652        <!-- Default menu-style ListView style. -->
653        <attr name="listMenuViewStyle" format="reference" />
654        <!-- Default ListView style. -->
655        <attr name="listViewStyle" format="reference" />
656        <!-- ListView with white background. -->
657        <attr name="listViewWhiteStyle" format="reference" />
658        <!-- Default PopupWindow style. -->
659        <attr name="popupWindowStyle" format="reference" />
660        <!-- Default ProgressBar style. This is a medium circular progress bar. -->
661        <attr name="progressBarStyle" format="reference" />
662        <!-- Horizontal ProgressBar style. This is a horizontal progress bar. -->
663        <attr name="progressBarStyleHorizontal" format="reference" />
664        <!-- Small ProgressBar style. This is a small circular progress bar. -->
665        <attr name="progressBarStyleSmall" format="reference" />
666        <!-- Small ProgressBar in title style. This is a small circular progress bar that will be placed in title bars. -->
667        <attr name="progressBarStyleSmallTitle" format="reference" />
668        <!-- Large ProgressBar style. This is a large circular progress bar. -->
669        <attr name="progressBarStyleLarge" format="reference" />
670        <!-- Inverse ProgressBar style. This is a medium circular progress bar. -->
671        <attr name="progressBarStyleInverse" format="reference" />
672        <!-- Small inverse ProgressBar style. This is a small circular progress bar. -->
673        <attr name="progressBarStyleSmallInverse" format="reference" />
674        <!-- Large inverse ProgressBar style. This is a large circular progress bar. -->
675        <attr name="progressBarStyleLargeInverse" format="reference" />
676        <!-- Default SeekBar style. -->
677        <attr name="seekBarStyle" format="reference" />
678        <!-- Default RatingBar style. -->
679        <attr name="ratingBarStyle" format="reference" />
680        <!-- Indicator RatingBar style. -->
681        <attr name="ratingBarStyleIndicator" format="reference" />
682        <!-- Small indicator RatingBar style. -->
683        <attr name="ratingBarStyleSmall" format="reference" />
684        <!-- Default RadioButton style. -->
685        <attr name="radioButtonStyle" format="reference" />
686        <!-- Default ScrollView style. -->
687        <attr name="scrollViewStyle" format="reference" />
688        <!-- Default HorizontalScrollView style. -->
689        <attr name="horizontalScrollViewStyle" format="reference" />
690        <!-- Default Spinner style. -->
691        <attr name="spinnerStyle" format="reference" />
692        <!-- Default dropdown Spinner style. -->
693        <attr name="dropDownSpinnerStyle" format="reference" />
694        <!-- Default ActionBar dropdown style. -->
695        <attr name="actionDropDownStyle" format="reference" />
696        <!-- Default action button style. -->
697        <attr name="actionButtonStyle" format="reference" />
698        <!-- Default Star style. -->
699        <attr name="starStyle" format="reference" />
700        <!-- Default TabWidget style. -->
701        <attr name="tabWidgetStyle" format="reference" />
702        <!-- Default TextView style. -->
703        <attr name="textViewStyle" format="reference" />
704        <!-- Default WebTextView style. -->
705        <attr name="webTextViewStyle" format="reference" />
706        <!-- Default WebView style. -->
707        <attr name="webViewStyle" format="reference" />
708        <!-- Default style for drop down items. -->
709        <attr name="dropDownItemStyle" format="reference" />
710         <!-- Default style for spinner drop down items. -->
711        <attr name="spinnerDropDownItemStyle" format="reference" />
712        <!-- Default style for drop down hints. -->
713        <attr name="dropDownHintAppearance" format="reference" />
714        <!-- Default spinner item style. -->
715        <attr name="spinnerItemStyle" format="reference" />
716        <!-- Default MapView style. -->
717        <attr name="mapViewStyle" format="reference" />
718        <!-- Drawable used as an overlay on top of quickcontact photos. -->
719        <attr name="quickContactBadgeOverlay" format="reference" />
720        <!-- Default quickcontact badge style with small quickcontact window. -->
721        <attr name="quickContactBadgeStyleWindowSmall" format="reference" />
722        <!-- Default quickcontact badge style with medium quickcontact window. -->
723        <attr name="quickContactBadgeStyleWindowMedium" format="reference" />
724        <!-- Default quickcontact badge style with large quickcontact window. -->
725        <attr name="quickContactBadgeStyleWindowLarge" format="reference" />
726        <!-- Default quickcontact badge style with small quickcontact window. -->
727        <attr name="quickContactBadgeStyleSmallWindowSmall" format="reference" />
728        <!-- Default quickcontact badge style with medium quickcontact window. -->
729        <attr name="quickContactBadgeStyleSmallWindowMedium" format="reference" />
730        <!-- Default quickcontact badge style with large quickcontact window. -->
731        <attr name="quickContactBadgeStyleSmallWindowLarge" format="reference" />
732        <!-- Reference to a style that will be used for the window containing a text
733             selection anchor. -->
734        <attr name="textSelectHandleWindowStyle" format="reference" />
735        <!-- Reference to a style that will be used for the window containing a list of possible
736             text suggestions in an EditText. -->
737        <attr name="textSuggestionsWindowStyle" format="reference" />
738        <!-- Default ListPopupWindow style. -->
739        <attr name="listPopupWindowStyle" format="reference" />
740        <!-- Default PopupMenu style. -->
741        <attr name="popupMenuStyle" format="reference" />
742        <!-- Default context menu PopupMenu style. -->
743        <attr name="contextPopupMenuStyle" format="reference" />
744        <!-- Default StackView style. -->
745        <attr name="stackViewStyle" format="reference" />
746
747        <!-- Default style for the FragmentBreadCrumbs widget. This widget is deprecated
748             starting in API level 21 ({@link android.os.Build.VERSION_CODES#.L}). -->
749        <attr name="fragmentBreadCrumbsStyle" format="reference" />
750
751        <!-- NumberPicker style. -->
752        <attr name="numberPickerStyle" format="reference" />
753
754        <!-- The CalendarView style. -->
755        <attr name="calendarViewStyle" format="reference" />
756
757        <!-- The TimePicker style. -->
758        <attr name="timePickerStyle" format="reference" />
759
760        <!-- The TimePicker dialog theme. -->
761        <attr name="timePickerDialogTheme" format="reference" />
762
763        <!-- The DatePicker style. -->
764        <attr name="datePickerStyle" format="reference" />
765
766        <!-- The DatePicker dialog theme. -->
767        <attr name="datePickerDialogTheme" format="reference" />
768
769        <!-- Default ActivityChooserView style. -->
770        <attr name="activityChooserViewStyle" format="reference" />
771
772        <!-- Default Toolbar style. -->
773        <attr name="toolbarStyle" format="reference" />
774
775        <!-- Fast scroller styles -->
776        <eat-comment />
777
778        <!-- Drawable to use as the fast scroll thumb. -->
779        <attr name="fastScrollThumbDrawable" format="reference" />
780        <!-- Drawable to use as the fast scroll index preview window background
781             when shown on the right. -->
782        <attr name="fastScrollPreviewBackgroundRight" format="reference" />
783        <!-- Drawable to use as the fast scroll index preview window background
784             when shown on the left. -->
785        <attr name="fastScrollPreviewBackgroundLeft" format="reference" />
786        <!-- Drawable to use as the track for the fast scroll thumb.
787             This may be null. -->
788        <attr name="fastScrollTrackDrawable" format="reference" />
789        <!-- Position of the fast scroll index overlay window. -->
790        <attr name="fastScrollOverlayPosition">
791            <enum name="floating" value="0" />
792            <enum name="atThumb" value="1" />
793            <enum name="aboveThumb" value="2" />
794        </attr>
795        <!-- Text color for the fast scroll index overlay. Make sure it
796             plays nicely with fastScrollPreviewBackground[Left|Right]. -->
797        <attr name="fastScrollTextColor" format="color" />
798
799        <!-- =================== -->
800        <!-- Action bar styles   -->
801        <!-- =================== -->
802        <eat-comment />
803        <!-- Default style for tabs within an action bar -->
804        <attr name="actionBarTabStyle" format="reference" />
805        <attr name="actionBarTabBarStyle" format="reference" />
806        <attr name="actionBarTabTextStyle" format="reference" />
807        <attr name="actionOverflowButtonStyle" format="reference" />
808        <attr name="actionOverflowMenuStyle" format="reference" />
809        <!-- Reference to a theme that should be used to inflate popups
810             shown by widgets in the action bar. -->
811        <attr name="actionBarPopupTheme" format="reference" />
812        <!-- Reference to a style for the Action Bar -->
813        <attr name="actionBarStyle" format="reference" />
814        <!-- Reference to a style for the split Action Bar. This style
815             controls the split component that holds the menu/action
816             buttons. actionBarStyle is still used for the primary
817             bar. -->
818        <attr name="actionBarSplitStyle" format="reference" />
819        <!-- Reference to a theme that should be used to inflate the
820             action bar. This will be inherited by any widget inflated
821             into the action bar. -->
822        <attr name="actionBarTheme" format="reference" />
823        <!-- Reference to a theme that should be used to inflate widgets
824             and layouts destined for the action bar. Most of the time
825             this will be a reference to the current theme, but when
826             the action bar has a significantly different contrast
827             profile than the rest of the activity the difference
828             can become important. If this is set to @null the current
829             theme will be used.-->
830        <attr name="actionBarWidgetTheme" format="reference" />
831        <!-- Size of the Action Bar, including the contextual
832             bar used to present Action Modes. -->
833        <attr name="actionBarSize" format="dimension" >
834            <enum name="wrap_content" value="0" />
835        </attr>
836        <!-- Custom divider drawable to use for elements in the action bar. -->
837        <attr name="actionBarDivider" format="reference" />
838        <!-- Custom item state list drawable background for action bar items. -->
839        <attr name="actionBarItemBackground" format="reference" />
840        <!-- TextAppearance style that will be applied to text that
841             appears within action menu items. -->
842        <attr name="actionMenuTextAppearance" format="reference" />
843        <!-- Color for text that appears within action menu items. -->
844        <attr name="actionMenuTextColor" format="color|reference" />
845
846        <!-- =================== -->
847        <!-- Action mode styles  -->
848        <!-- =================== -->
849        <eat-comment />
850        <attr name="actionModeStyle" format="reference" />
851        <attr name="actionModeCloseButtonStyle" format="reference" />
852        <!-- Background drawable to use for action mode UI -->
853        <attr name="actionModeBackground" format="reference" />
854        <!-- Background drawable to use for action mode UI in the lower split bar -->
855        <attr name="actionModeSplitBackground" format="reference" />
856        <!-- Drawable to use for the close action mode button -->
857        <attr name="actionModeCloseDrawable" format="reference" />
858
859        <!-- Drawable to use for the Cut action button in Contextual Action Bar -->
860        <attr name="actionModeCutDrawable" format="reference" />
861        <!-- Drawable to use for the Copy action button in Contextual Action Bar -->
862        <attr name="actionModeCopyDrawable" format="reference" />
863        <!-- Drawable to use for the Paste action button in Contextual Action Bar -->
864        <attr name="actionModePasteDrawable" format="reference" />
865        <!-- Drawable to use for the Select all action button in Contextual Action Bar -->
866        <attr name="actionModeSelectAllDrawable" format="reference" />
867        <!-- Drawable to use for the Share action button in WebView selection action modes -->
868        <attr name="actionModeShareDrawable" format="reference" />
869        <!-- Drawable to use for the Find action button in WebView selection action modes -->
870        <attr name="actionModeFindDrawable" format="reference" />
871        <!-- Drawable to use for the Web Search action button in WebView selection action modes -->
872        <attr name="actionModeWebSearchDrawable" format="reference" />
873
874        <!-- PopupWindow style to use for action modes when showing as a window overlay. -->
875        <attr name="actionModePopupWindowStyle" format="reference" />
876
877        <!-- =================== -->
878        <!-- Preference styles   -->
879        <!-- =================== -->
880        <eat-comment />
881
882        <!-- Default style for PreferenceScreen. -->
883        <attr name="preferenceScreenStyle" format="reference" />
884        <!-- Default style for the PreferenceActivity. -->
885        <attr name="preferenceActivityStyle" format="reference" />
886        <!-- Default style for Headers pane in PreferenceActivity. -->
887        <attr name="preferenceFragmentStyle" format="reference" />
888        <!-- Default style for PreferenceCategory. -->
889        <attr name="preferenceCategoryStyle" format="reference" />
890        <!-- Default style for Preference. -->
891        <attr name="preferenceStyle" format="reference" />
892        <!-- Default style for informational Preference. -->
893        <attr name="preferenceInformationStyle" format="reference" />
894        <!-- Default style for CheckBoxPreference. -->
895        <attr name="checkBoxPreferenceStyle" format="reference" />
896        <!-- Default style for YesNoPreference. -->
897        <attr name="yesNoPreferenceStyle" format="reference" />
898        <!-- Default style for DialogPreference. -->
899        <attr name="dialogPreferenceStyle" format="reference" />
900        <!-- Default style for EditTextPreference. -->
901        <attr name="editTextPreferenceStyle" format="reference" />
902        <!-- @hide Default style for SeekBarDialogPreference. -->
903        <attr name="seekBarDialogPreferenceStyle" format="reference" />
904        <!-- Default style for RingtonePreference. -->
905        <attr name="ringtonePreferenceStyle" format="reference" />
906        <!-- The preference layout that has the child/tabbed effect. -->
907        <attr name="preferenceLayoutChild" format="reference" />
908        <!-- Preference panel style -->
909        <attr name="preferencePanelStyle" format="reference" />
910        <!-- Preference headers panel style -->
911        <attr name="preferenceHeaderPanelStyle" format="reference" />
912        <!-- Preference list style -->
913        <attr name="preferenceListStyle" format="reference" />
914        <!-- Preference fragment list style -->
915        <attr name="preferenceFragmentListStyle" format="reference" />
916        <!-- Preference fragment padding side -->
917        <attr name="preferenceFragmentPaddingSide" format="dimension" />
918        <!-- Default style for switch preferences. -->
919        <attr name="switchPreferenceStyle" format="reference" />
920        <!-- Default style for seekbar preferences. -->
921        <attr name="seekBarPreferenceStyle" format="reference" />
922
923        <!-- ============================ -->
924        <!-- Text selection handle styles -->
925        <!-- ============================ -->
926        <eat-comment />
927
928        <!-- Reference to a drawable that will be used to display a text selection
929             anchor on the left side of a selection region. -->
930        <attr name="textSelectHandleLeft" format="reference" />
931        <!-- Reference to a drawable that will be used to display a text selection
932             anchor on the right side of a selection region. -->
933        <attr name="textSelectHandleRight" format="reference" />
934        <!-- Reference to a drawable that will be used to display a text selection
935             anchor for positioning the cursor within text. -->
936        <attr name="textSelectHandle" format="reference" />
937        <!-- The layout of the view that is displayed on top of the cursor to paste inside a
938             TextEdit field. -->
939        <attr name="textEditPasteWindowLayout" format="reference" />
940        <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. -->
941        <attr name="textEditNoPasteWindowLayout" format="reference" />
942        <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the
943             insertion cursor because it would be clipped if it were positioned on top. -->
944        <attr name="textEditSidePasteWindowLayout" format="reference" />
945        <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. -->
946        <attr name="textEditSideNoPasteWindowLayout" format="reference" />
947
948        <!-- Layout of the TextView item that will populate the suggestion popup window. -->
949        <attr name="textEditSuggestionItemLayout" format="reference" />
950        <!-- Layout of the container of the suggestion popup window. -->
951        <attr name="textEditSuggestionContainerLayout" format="reference" />
952        <!-- Text appearance of the focused words to be replaced by suggested word. -->
953        <attr name="textEditSuggestionHighlightStyle" format="reference" />
954
955        <!-- Theme to use for dialogs spawned from this theme. -->
956        <attr name="dialogTheme" format="reference" />
957        <!-- Window decor layout to use in dialog mode with icons. -->
958        <attr name="dialogTitleIconsDecorLayout" format="reference" />
959        <!-- Window decor layout to use in dialog mode with custom titles. -->
960        <attr name="dialogCustomTitleDecorLayout" format="reference" />
961        <!-- Window decor layout to use in dialog mode with title only. -->
962        <attr name="dialogTitleDecorLayout" format="reference" />
963        <!-- Preferred padding for dialog content. -->
964        <attr name="dialogPreferredPadding" format="dimension" />
965
966        <!-- Theme to use for alert dialogs spawned from this theme. -->
967        <attr name="alertDialogTheme" format="reference" />
968        <!-- Icon drawable to use for alerts -->
969        <attr name="alertDialogIcon" format="reference" />
970
971        <!-- Theme to use for presentations spawned from this theme. -->
972        <attr name="presentationTheme" format="reference" />
973
974        <!-- Drawable to use for generic vertical dividers. -->
975        <attr name="dividerVertical" format="reference" />
976
977        <!-- Drawable to use for generic horizontal dividers. -->
978        <attr name="dividerHorizontal" format="reference" />
979
980        <!-- Style for button bars -->
981        <attr name="buttonBarStyle" format="reference" />
982
983        <!-- Style for buttons within button bars -->
984        <attr name="buttonBarButtonStyle" format="reference" />
985
986        <!-- Style for the "positive" buttons within button bars -->
987        <attr name="buttonBarPositiveButtonStyle" format="reference" />
988
989        <!-- Style for the "negative" buttons within button bars -->
990        <attr name="buttonBarNegativeButtonStyle" format="reference" />
991
992        <!-- Style for the "neutral" buttons within button bars -->
993        <attr name="buttonBarNeutralButtonStyle" format="reference" />
994
995        <!-- Style for the search query widget. -->
996        <attr name="searchViewStyle" format="reference" />
997
998        <!-- Style for segmented buttons - a container that houses several buttons
999             with the appearance of a singel button broken into segments. -->
1000        <attr name="segmentedButtonStyle" format="reference" />
1001
1002        <!-- Background drawable for bordered standalone items that need focus/pressed states. -->
1003        <attr name="selectableItemBackground" format="reference" />
1004
1005        <!-- Background drawable for borderless standalone items that need focus/pressed states. -->
1006        <attr name="selectableItemBackgroundBorderless" format="reference" />
1007
1008        <!-- Style for buttons without an explicit border, often used in groups. -->
1009        <attr name="borderlessButtonStyle" format="reference" />
1010
1011        <!-- Background to use for toasts -->
1012        <attr name="toastFrameBackground" format="reference" />
1013
1014        <!-- Background to use for tooltip popups -->
1015        <attr name="tooltipFrameBackground" format="reference" />
1016
1017        <!-- Foreground color to use for tooltip popups -->
1018        <attr name="tooltipForegroundColor" format="reference|color" />
1019
1020        <!-- Background color to use for tooltip popups -->
1021        <attr name="tooltipBackgroundColor" format="reference|color" />
1022
1023        <!-- Theme to use for Search Dialogs -->
1024        <attr name="searchDialogTheme" format="reference" />
1025
1026        <!-- Specifies a drawable to use for the 'home as up' indicator. -->
1027        <attr name="homeAsUpIndicator" format="reference" />
1028
1029        <!-- Preference frame layout styles. -->
1030        <attr name="preferenceFrameLayoutStyle" format="reference" />
1031
1032        <!-- Default style for the Switch widget. -->
1033        <attr name="switchStyle" format="reference" />
1034
1035        <!-- Default style for the MediaRouteButton widget. -->
1036        <attr name="mediaRouteButtonStyle" format="reference" />
1037
1038        <!-- ============== -->
1039        <!-- Pointer styles -->
1040        <!-- ============== -->
1041        <eat-comment />
1042
1043        <!-- The drawable for accessibility focused views. -->
1044        <attr name="accessibilityFocusedDrawable" format="reference" />
1045
1046        <!-- Drawable for WebView find-on-page dialogue's "next" button. @hide -->
1047        <attr name="findOnPageNextDrawable" format="reference" />
1048
1049        <!-- Drawable for WebView find-on-page dialogue's "previous" button. @hide -->
1050        <attr name="findOnPagePreviousDrawable" format="reference" />
1051
1052        <!-- ============= -->
1053        <!-- Color palette -->
1054        <!-- ============= -->
1055        <eat-comment />
1056
1057        <!-- The primary branding color for the app. By default, this is the color applied to the
1058             action bar background. -->
1059        <attr name="colorPrimary" format="color" />
1060
1061        <!-- Dark variant of the primary branding color. By default, this is the color applied to
1062             the status bar (via statusBarColor) and navigation bar (via navigationBarColor). -->
1063        <attr name="colorPrimaryDark" format="color" />
1064
1065        <!-- The secondary branding color for the app. -->
1066        <attr name="colorSecondary" format="color" />
1067
1068        <!-- Bright complement to the primary branding color. By default, this is the color applied
1069             to framework controls (via colorControlActivated). -->
1070        <attr name="colorAccent" format="color" />
1071
1072        <!-- The color applied to framework controls in their normal state. -->
1073        <attr name="colorControlNormal" format="color" />
1074
1075        <!-- The color applied to framework controls in their activated (ex. checked) state. -->
1076        <attr name="colorControlActivated" format="color" />
1077
1078        <!-- The color applied to framework control highlights (ex. ripples, list selectors). -->
1079        <attr name="colorControlHighlight" format="color" />
1080
1081        <!-- The color applied to framework buttons in their normal state. -->
1082        <attr name="colorButtonNormal" format="color" />
1083
1084        <!-- The color applied to framework switch thumbs in their normal state. -->
1085        <attr name="colorSwitchThumbNormal" format="color" />
1086
1087        <!-- The color applied to the edge effect on scrolling containers. -->
1088        <attr name="colorEdgeEffect" format="color" />
1089
1090        <!-- =================== -->
1091        <!-- Lighting properties -->
1092        <!-- =================== -->
1093        <eat-comment />
1094
1095        <!-- @hide The default Y position of the light used to project view shadows. -->
1096        <attr name="lightY" format="dimension" />
1097
1098        <!-- @hide The default Z position of the light used to project view shadows. -->
1099        <attr name="lightZ" format="dimension" />
1100
1101        <!-- @hide The default radius of the light used to project view shadows. -->
1102        <attr name="lightRadius" format="dimension" />
1103
1104        <!-- Alpha value of the ambient shadow projected by elevated views, between 0 and 1. -->
1105        <attr name="ambientShadowAlpha" format="float" />
1106
1107        <!-- Alpha value of the spot shadow projected by elevated views, between 0 and 1. -->
1108        <attr name="spotShadowAlpha" format="float" />
1109    </declare-styleable>
1110
1111    <!-- **************************************************************** -->
1112    <!-- Other non-theme attributes. -->
1113    <!-- **************************************************************** -->
1114    <eat-comment />
1115
1116    <!-- Size of text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp).
1117         Supported values include the following:<p/>
1118    <ul>
1119        <li><b>px</b> Pixels</li>
1120        <li><b>sp</b> Scaled pixels (scaled to relative pixel size on screen). See {@link android.util.DisplayMetrics} for more information.</li>
1121        <li><b>pt</b> Points</li>
1122        <li><b>dip</b> Device independent pixels. See {@link android.util.DisplayMetrics} for more information.</li>
1123    </ul>
1124        -->
1125    <attr name="textSize" format="dimension" />
1126
1127    <!-- Default font family. -->
1128    <attr name="fontFamily" format="string" />
1129
1130    <!-- Default text typeface. -->
1131    <attr name="typeface">
1132        <enum name="normal" value="0" />
1133        <enum name="sans" value="1" />
1134        <enum name="serif" value="2" />
1135        <enum name="monospace" value="3" />
1136    </attr>
1137
1138    <!-- Default text typeface style. -->
1139    <attr name="textStyle">
1140        <flag name="normal" value="0" />
1141        <flag name="bold" value="1" />
1142        <flag name="italic" value="2" />
1143    </attr>
1144
1145    <!-- Color of text (usually same as colorForeground). -->
1146    <attr name="textColor" format="reference|color" />
1147
1148    <!-- Color of highlighted text. -->
1149    <attr name="textColorHighlight" format="reference|color" />
1150
1151    <!-- Color of hint text (displayed when the field is empty). -->
1152    <attr name="textColorHint" format="reference|color" />
1153
1154    <!-- Color of link text (URLs). -->
1155    <attr name="textColorLink" format="reference|color" />
1156
1157    <!-- Reference to a drawable that will be drawn under the insertion cursor. -->
1158    <attr name="textCursorDrawable" format="reference" />
1159
1160    <!-- Indicates that the content of a non-editable TextView can be selected.
1161     Default value is false. EditText content is always selectable. -->
1162    <attr name="textIsSelectable" format="boolean" />
1163
1164    <!-- Where to ellipsize text. -->
1165    <attr name="ellipsize">
1166        <enum name="none" value="0" />
1167        <enum name="start" value="1" />
1168        <enum name="middle" value="2" />
1169        <enum name="end" value="3" />
1170        <enum name="marquee" value="4" />
1171    </attr>
1172
1173    <!-- The type of data being placed in a text field, used to help an
1174         input method decide how to let the user enter text.  The constants
1175         here correspond to those defined by
1176         {@link android.text.InputType}.  Generally you can select
1177         a single value, though some can be combined together as
1178         indicated.  Setting this attribute to anything besides
1179         <var>none</var> also implies that the text is editable. -->
1180    <attr name="inputType">
1181        <!-- There is no content type.  The text is not editable. -->
1182        <flag name="none" value="0x00000000" />
1183        <!-- Just plain old text.  Corresponds to
1184             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1185             {@link android.text.InputType#TYPE_TEXT_VARIATION_NORMAL}. -->
1186        <flag name="text" value="0x00000001" />
1187        <!-- Can be combined with <var>text</var> and its variations to
1188             request capitalization of all characters.  Corresponds to
1189             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_CHARACTERS}. -->
1190        <flag name="textCapCharacters" value="0x00001001" />
1191        <!-- Can be combined with <var>text</var> and its variations to
1192             request capitalization of the first character of every word.  Corresponds to
1193             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_WORDS}. -->
1194        <flag name="textCapWords" value="0x00002001" />
1195        <!-- Can be combined with <var>text</var> and its variations to
1196             request capitalization of the first character of every sentence.  Corresponds to
1197             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_SENTENCES}. -->
1198        <flag name="textCapSentences" value="0x00004001" />
1199        <!-- Can be combined with <var>text</var> and its variations to
1200             request auto-correction of text being input.  Corresponds to
1201             {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_CORRECT}. -->
1202        <flag name="textAutoCorrect" value="0x00008001" />
1203        <!-- Can be combined with <var>text</var> and its variations to
1204             specify that this field will be doing its own auto-completion and
1205             talking with the input method appropriately.  Corresponds to
1206             {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_COMPLETE}. -->
1207        <flag name="textAutoComplete" value="0x00010001" />
1208        <!-- Can be combined with <var>text</var> and its variations to
1209             allow multiple lines of text in the field.  If this flag is not set,
1210             the text field will be constrained to a single line.  Corresponds to
1211             {@link android.text.InputType#TYPE_TEXT_FLAG_MULTI_LINE}. -->
1212        <flag name="textMultiLine" value="0x00020001" />
1213        <!-- Can be combined with <var>text</var> and its variations to
1214             indicate that though the regular text view should not be multiple
1215             lines, the IME should provide multiple lines if it can.  Corresponds to
1216             {@link android.text.InputType#TYPE_TEXT_FLAG_IME_MULTI_LINE}. -->
1217        <flag name="textImeMultiLine" value="0x00040001" />
1218        <!-- Can be combined with <var>text</var> and its variations to
1219             indicate that the IME should not show any
1220             dictionary-based word suggestions.  Corresponds to
1221             {@link android.text.InputType#TYPE_TEXT_FLAG_NO_SUGGESTIONS}. -->
1222        <flag name="textNoSuggestions" value="0x00080001" />
1223        <!-- Text that will be used as a URI.  Corresponds to
1224             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1225             {@link android.text.InputType#TYPE_TEXT_VARIATION_URI}. -->
1226        <flag name="textUri" value="0x00000011" />
1227        <!-- Text that will be used as an e-mail address.  Corresponds to
1228             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1229             {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_ADDRESS}. -->
1230        <flag name="textEmailAddress" value="0x00000021" />
1231        <!-- Text that is being supplied as the subject of an e-mail.  Corresponds to
1232             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1233             {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_SUBJECT}. -->
1234        <flag name="textEmailSubject" value="0x00000031" />
1235        <!-- Text that is the content of a short message.  Corresponds to
1236             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1237             {@link android.text.InputType#TYPE_TEXT_VARIATION_SHORT_MESSAGE}. -->
1238        <flag name="textShortMessage" value="0x00000041" />
1239        <!-- Text that is the content of a long message.  Corresponds to
1240             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1241             {@link android.text.InputType#TYPE_TEXT_VARIATION_LONG_MESSAGE}. -->
1242        <flag name="textLongMessage" value="0x00000051" />
1243        <!-- Text that is the name of a person.  Corresponds to
1244             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1245             {@link android.text.InputType#TYPE_TEXT_VARIATION_PERSON_NAME}. -->
1246        <flag name="textPersonName" value="0x00000061" />
1247        <!-- Text that is being supplied as a postal mailing address.  Corresponds to
1248             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1249             {@link android.text.InputType#TYPE_TEXT_VARIATION_POSTAL_ADDRESS}. -->
1250        <flag name="textPostalAddress" value="0x00000071" />
1251        <!-- Text that is a password.  Corresponds to
1252             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1253             {@link android.text.InputType#TYPE_TEXT_VARIATION_PASSWORD}. -->
1254        <flag name="textPassword" value="0x00000081" />
1255        <!-- Text that is a password that should be visible.  Corresponds to
1256             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1257             {@link android.text.InputType#TYPE_TEXT_VARIATION_VISIBLE_PASSWORD}. -->
1258        <flag name="textVisiblePassword" value="0x00000091" />
1259        <!-- Text that is being supplied as text in a web form.  Corresponds to
1260             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1261             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EDIT_TEXT}. -->
1262        <flag name="textWebEditText" value="0x000000a1" />
1263        <!-- Text that is filtering some other data.  Corresponds to
1264             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1265             {@link android.text.InputType#TYPE_TEXT_VARIATION_FILTER}. -->
1266        <flag name="textFilter" value="0x000000b1" />
1267        <!-- Text that is for phonetic pronunciation, such as a phonetic name
1268             field in a contact entry.  Corresponds to
1269             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1270             {@link android.text.InputType#TYPE_TEXT_VARIATION_PHONETIC}. -->
1271        <flag name="textPhonetic" value="0x000000c1" />
1272        <!-- Text that will be used as an e-mail address on a web form.  Corresponds to
1273             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1274             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS}. -->
1275        <flag name="textWebEmailAddress" value="0x000000d1" />
1276        <!-- Text that will be used as a password on a web form.  Corresponds to
1277             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1278             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_PASSWORD}. -->
1279        <flag name="textWebPassword" value="0x000000e1" />
1280        <!-- A numeric only field.  Corresponds to
1281             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1282             {@link android.text.InputType#TYPE_NUMBER_VARIATION_NORMAL}. -->
1283        <flag name="number" value="0x00000002" />
1284        <!-- Can be combined with <var>number</var> and its other options to
1285             allow a signed number.  Corresponds to
1286             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1287             {@link android.text.InputType#TYPE_NUMBER_FLAG_SIGNED}. -->
1288        <flag name="numberSigned" value="0x00001002" />
1289        <!-- Can be combined with <var>number</var> and its other options to
1290             allow a decimal (fractional) number.  Corresponds to
1291             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1292             {@link android.text.InputType#TYPE_NUMBER_FLAG_DECIMAL}. -->
1293        <flag name="numberDecimal" value="0x00002002" />
1294        <!-- A numeric password field.  Corresponds to
1295             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1296             {@link android.text.InputType#TYPE_NUMBER_VARIATION_PASSWORD}. -->
1297        <flag name="numberPassword" value="0x00000012" />
1298        <!-- For entering a phone number.  Corresponds to
1299             {@link android.text.InputType#TYPE_CLASS_PHONE}. -->
1300        <flag name="phone" value="0x00000003" />
1301        <!-- For entering a date and time.  Corresponds to
1302             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1303             {@link android.text.InputType#TYPE_DATETIME_VARIATION_NORMAL}. -->
1304        <flag name="datetime" value="0x00000004" />
1305        <!-- For entering a date.  Corresponds to
1306             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1307             {@link android.text.InputType#TYPE_DATETIME_VARIATION_DATE}. -->
1308        <flag name="date" value="0x00000014" />
1309        <!-- For entering a time.  Corresponds to
1310             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1311             {@link android.text.InputType#TYPE_DATETIME_VARIATION_TIME}. -->
1312        <flag name="time" value="0x00000024" />
1313    </attr>
1314
1315    <!-- Additional features you can enable in an IME associated with an editor
1316         to improve the integration with your application.  The constants
1317         here correspond to those defined by
1318         {@link android.view.inputmethod.EditorInfo#imeOptions}. -->
1319    <attr name="imeOptions">
1320        <!-- There are no special semantics associated with this editor. -->
1321        <flag name="normal" value="0x00000000" />
1322        <!-- There is no specific action associated with this editor, let the
1323             editor come up with its own if it can.
1324             Corresponds to
1325             {@link android.view.inputmethod.EditorInfo#IME_NULL}. -->
1326        <flag name="actionUnspecified" value="0x00000000" />
1327        <!-- This editor has no action associated with it.
1328             Corresponds to
1329             {@link android.view.inputmethod.EditorInfo#IME_ACTION_NONE}. -->
1330        <flag name="actionNone" value="0x00000001" />
1331        <!-- The action key performs a "go"
1332             operation to take the user to the target of the text they typed.
1333             Typically used, for example, when entering a URL.
1334             Corresponds to
1335             {@link android.view.inputmethod.EditorInfo#IME_ACTION_GO}. -->
1336        <flag name="actionGo" value="0x00000002" />
1337        <!-- The action key performs a "search"
1338             operation, taking the user to the results of searching for the text
1339             the have typed (in whatever context is appropriate).
1340             Corresponds to
1341             {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEARCH}. -->
1342        <flag name="actionSearch" value="0x00000003" />
1343        <!-- The action key performs a "send"
1344             operation, delivering the text to its target.  This is typically used
1345             when composing a message.
1346             Corresponds to
1347             {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEND}. -->
1348        <flag name="actionSend" value="0x00000004" />
1349        <!-- The action key performs a "next"
1350             operation, taking the user to the next field that will accept text.
1351             Corresponds to
1352             {@link android.view.inputmethod.EditorInfo#IME_ACTION_NEXT}. -->
1353        <flag name="actionNext" value="0x00000005" />
1354        <!-- The action key performs a "done"
1355             operation, closing the soft input method.
1356             Corresponds to
1357             {@link android.view.inputmethod.EditorInfo#IME_ACTION_DONE}. -->
1358        <flag name="actionDone" value="0x00000006" />
1359        <!-- The action key performs a "previous"
1360             operation, taking the user to the previous field that will accept text.
1361             Corresponds to
1362             {@link android.view.inputmethod.EditorInfo#IME_ACTION_PREVIOUS}. -->
1363        <flag name="actionPrevious" value="0x00000007" />
1364        <!-- Used to request that the IME never go
1365             into fullscreen mode.  Applications need to be aware that the flag is not
1366             a guarantee, and not all IMEs will respect it.
1367             <p>Corresponds to
1368             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. -->
1369        <flag name="flagNoFullscreen" value="0x2000000" />
1370        <!-- Like flagNavigateNext, but
1371             specifies there is something interesting that a backward navigation
1372             can focus on.  If the user selects the IME's facility to backward
1373             navigate, this will show up in the application as an actionPrevious
1374             at {@link android.view.inputmethod.InputConnection#performEditorAction(int)
1375             InputConnection.performEditorAction(int)}.
1376             <p>Corresponds to
1377             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. -->
1378        <flag name="flagNavigatePrevious" value="0x4000000" />
1379        <!-- Used to specify that there is something
1380             interesting that a forward navigation can focus on. This is like using
1381             actionNext, except allows the IME to be multiline (with
1382             an enter key) as well as provide forward navigation.  Note that some
1383             IMEs may not be able to do this, especially when running on a small
1384             screen where there is little space.  In that case it does not need to
1385             present a UI for this option.  Like actionNext, if the
1386             user selects the IME's facility to forward navigate, this will show up
1387             in the application at
1388             {@link android.view.inputmethod.InputConnection#performEditorAction(int)
1389             InputConnection.performEditorAction(int)}.
1390             <p>Corresponds to
1391             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NAVIGATE_NEXT}. -->
1392        <flag name="flagNavigateNext" value="0x8000000" />
1393        <!-- Used to specify that the IME does not need
1394             to show its extracted text UI.  For input methods that may be fullscreen,
1395             often when in landscape mode, this allows them to be smaller and let part
1396             of the application be shown behind.  Though there will likely be limited
1397             access to the application available from the user, it can make the
1398             experience of a (mostly) fullscreen IME less jarring.  Note that when
1399             this flag is specified the IME may <em>not</em> be set up to be able
1400             to display text, so it should only be used in situations where this is
1401             not needed.
1402             <p>Corresponds to
1403             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_EXTRACT_UI}. -->
1404        <flag name="flagNoExtractUi" value="0x10000000" />
1405        <!-- Used in conjunction with a custom action, this indicates that the
1406             action should not be available as an accessory button when the
1407             input method is full-screen.
1408             Note that by setting this flag, there can be cases where the action
1409             is simply never available to the user.  Setting this generally means
1410             that you think showing text being edited is more important than the
1411             action you have supplied.
1412             <p>Corresponds to
1413             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ACCESSORY_ACTION}. -->
1414        <flag name="flagNoAccessoryAction" value="0x20000000" />
1415        <!-- Used in conjunction with a custom action,
1416             this indicates that the action should not be available in-line as
1417             a replacement for the "enter" key.  Typically this is
1418             because the action has such a significant impact or is not recoverable
1419             enough that accidentally hitting it should be avoided, such as sending
1420             a message.    Note that {@link android.widget.TextView} will
1421             automatically set this flag for you on multi-line text views.
1422             <p>Corresponds to
1423             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ENTER_ACTION}. -->
1424        <flag name="flagNoEnterAction" value="0x40000000" />
1425        <!-- Used to request that the IME should be capable of inputting ASCII
1426             characters.  The intention of this flag is to ensure that the user
1427             can type Roman alphabet characters in a {@link android.widget.TextView}
1428             used for, typically, account ID or password input.  It is expected that IMEs
1429             normally are able to input ASCII even without being told so (such IMEs
1430             already respect this flag in a sense), but there could be some cases they
1431             aren't when, for instance, only non-ASCII input languagaes like Arabic,
1432             Greek, Hebrew, Russian are enabled in the IME.  Applications need to be
1433             aware that the flag is not a guarantee, and not all IMEs will respect it.
1434             However, it is strongly recommended for IME authors to respect this flag
1435             especially when their IME could end up with a state that has only non-ASCII
1436             input languages enabled.
1437             <p>Corresponds to
1438             {@link android.view.inputmethod.EditorInfo#IME_FLAG_FORCE_ASCII}. -->
1439        <flag name="flagForceAscii" value="0x80000000" />
1440    </attr>
1441
1442    <!-- A coordinate in the X dimension. -->
1443    <attr name="x" format="dimension" />
1444    <!-- A coordinate in the Y dimension. -->
1445    <attr name="y" format="dimension" />
1446
1447    <!-- Specifies how an object should position its content, on both the X and Y axes,
1448         within its own bounds.  -->
1449    <attr name="gravity">
1450        <!-- Push object to the top of its container, not changing its size. -->
1451        <flag name="top" value="0x30" />
1452        <!-- Push object to the bottom of its container, not changing its size. -->
1453        <flag name="bottom" value="0x50" />
1454        <!-- Push object to the left of its container, not changing its size. -->
1455        <flag name="left" value="0x03" />
1456        <!-- Push object to the right of its container, not changing its size. -->
1457        <flag name="right" value="0x05" />
1458        <!-- Place object in the vertical center of its container, not changing its size. -->
1459        <flag name="center_vertical" value="0x10" />
1460        <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
1461        <flag name="fill_vertical" value="0x70" />
1462        <!-- Place object in the horizontal center of its container, not changing its size. -->
1463        <flag name="center_horizontal" value="0x01" />
1464        <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
1465        <flag name="fill_horizontal" value="0x07" />
1466        <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
1467        <flag name="center" value="0x11" />
1468        <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
1469        <flag name="fill" value="0x77" />
1470        <!-- Additional option that can be set to have the top and/or bottom edges of
1471             the child clipped to its container's bounds.
1472             The clip will be based on the vertical gravity: a top gravity will clip the bottom
1473             edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
1474        <flag name="clip_vertical" value="0x80" />
1475        <!-- Additional option that can be set to have the left and/or right edges of
1476             the child clipped to its container's bounds.
1477             The clip will be based on the horizontal gravity: a left gravity will clip the right
1478             edge, a right gravity will clip the left edge, and neither will clip both edges. -->
1479        <flag name="clip_horizontal" value="0x08" />
1480        <!-- Push object to the beginning of its container, not changing its size. -->
1481        <flag name="start" value="0x00800003" />
1482        <!-- Push object to the end of its container, not changing its size. -->
1483        <flag name="end" value="0x00800005" />
1484    </attr>
1485
1486    <!-- Controls whether links such as urls and email addresses are
1487         automatically found and converted to clickable links.  The default
1488         value is "none", disabling this feature. -->
1489    <attr name="autoLink">
1490        <!-- Match no patterns (default). -->
1491        <flag name="none" value="0x00" />
1492        <!-- Match Web URLs. -->
1493        <flag name="web" value="0x01" />
1494        <!-- Match email addresses. -->
1495        <flag name="email" value="0x02" />
1496        <!-- Match phone numbers. -->
1497        <flag name="phone" value="0x04" />
1498        <!-- Match map addresses. -->
1499        <flag name="map" value="0x08" />
1500        <!-- Match all patterns (equivalent to web|email|phone|map). -->
1501        <flag name="all" value="0x0f" />
1502    </attr>
1503
1504    <!-- Reference to an array resource that will populate a list/adapter. -->
1505    <attr name="entries" format="reference" />
1506
1507    <!-- Standard gravity constant that a child supplies to its parent.
1508         Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout. -->
1509    <attr name="layout_gravity">
1510        <!-- Push object to the top of its container, not changing its size. -->
1511        <flag name="top" value="0x30" />
1512        <!-- Push object to the bottom of its container, not changing its size. -->
1513        <flag name="bottom" value="0x50" />
1514        <!-- Push object to the left of its container, not changing its size. -->
1515        <flag name="left" value="0x03" />
1516        <!-- Push object to the right of its container, not changing its size. -->
1517        <flag name="right" value="0x05" />
1518        <!-- Place object in the vertical center of its container, not changing its size. -->
1519        <flag name="center_vertical" value="0x10" />
1520        <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
1521        <flag name="fill_vertical" value="0x70" />
1522        <!-- Place object in the horizontal center of its container, not changing its size. -->
1523        <flag name="center_horizontal" value="0x01" />
1524        <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
1525        <flag name="fill_horizontal" value="0x07" />
1526        <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
1527        <flag name="center" value="0x11" />
1528        <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
1529        <flag name="fill" value="0x77" />
1530        <!-- Additional option that can be set to have the top and/or bottom edges of
1531             the child clipped to its container's bounds.
1532             The clip will be based on the vertical gravity: a top gravity will clip the bottom
1533             edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
1534        <flag name="clip_vertical" value="0x80" />
1535        <!-- Additional option that can be set to have the left and/or right edges of
1536             the child clipped to its container's bounds.
1537             The clip will be based on the horizontal gravity: a left gravity will clip the right
1538             edge, a right gravity will clip the left edge, and neither will clip both edges. -->
1539        <flag name="clip_horizontal" value="0x08" />
1540        <!-- Push object to the beginning of its container, not changing its size. -->
1541        <flag name="start" value="0x00800003" />
1542        <!-- Push object to the end of its container, not changing its size. -->
1543        <flag name="end" value="0x00800005" />
1544    </attr>
1545
1546    <!-- Standard orientation constant. -->
1547    <attr name="orientation">
1548        <!-- Defines an horizontal widget. -->
1549        <enum name="horizontal" value="0" />
1550        <!-- Defines a vertical widget. -->
1551        <enum name="vertical" value="1" />
1552    </attr>
1553
1554    <!-- Alignment constants. -->
1555    <attr name="alignmentMode">
1556        <!-- Align the bounds of the children.
1557        See {@link android.widget.GridLayout#ALIGN_BOUNDS}. -->
1558        <enum name="alignBounds" value="0" />
1559        <!-- Align the margins of the children.
1560        See {@link android.widget.GridLayout#ALIGN_MARGINS}. -->
1561        <enum name="alignMargins" value="1" />
1562    </attr>
1563
1564    <!-- ========================== -->
1565    <!-- Key Codes                  -->
1566    <!-- ========================== -->
1567    <eat-comment />
1568
1569    <!-- This enum provides the same keycode values as can be found in
1570        {@link android.view.KeyEvent}. -->
1571    <attr name="keycode">
1572        <enum name="KEYCODE_UNKNOWN" value="0" />
1573        <enum name="KEYCODE_SOFT_LEFT" value="1" />
1574        <enum name="KEYCODE_SOFT_RIGHT" value="2" />
1575        <enum name="KEYCODE_HOME" value="3" />
1576        <enum name="KEYCODE_BACK" value="4" />
1577        <enum name="KEYCODE_CALL" value="5" />
1578        <enum name="KEYCODE_ENDCALL" value="6" />
1579        <enum name="KEYCODE_0" value="7" />
1580        <enum name="KEYCODE_1" value="8" />
1581        <enum name="KEYCODE_2" value="9" />
1582        <enum name="KEYCODE_3" value="10" />
1583        <enum name="KEYCODE_4" value="11" />
1584        <enum name="KEYCODE_5" value="12" />
1585        <enum name="KEYCODE_6" value="13" />
1586        <enum name="KEYCODE_7" value="14" />
1587        <enum name="KEYCODE_8" value="15" />
1588        <enum name="KEYCODE_9" value="16" />
1589        <enum name="KEYCODE_STAR" value="17" />
1590        <enum name="KEYCODE_POUND" value="18" />
1591        <enum name="KEYCODE_DPAD_UP" value="19" />
1592        <enum name="KEYCODE_DPAD_DOWN" value="20" />
1593        <enum name="KEYCODE_DPAD_LEFT" value="21" />
1594        <enum name="KEYCODE_DPAD_RIGHT" value="22" />
1595        <enum name="KEYCODE_DPAD_CENTER" value="23" />
1596        <enum name="KEYCODE_VOLUME_UP" value="24" />
1597        <enum name="KEYCODE_VOLUME_DOWN" value="25" />
1598        <enum name="KEYCODE_POWER" value="26" />
1599        <enum name="KEYCODE_CAMERA" value="27" />
1600        <enum name="KEYCODE_CLEAR" value="28" />
1601        <enum name="KEYCODE_A" value="29" />
1602        <enum name="KEYCODE_B" value="30" />
1603        <enum name="KEYCODE_C" value="31" />
1604        <enum name="KEYCODE_D" value="32" />
1605        <enum name="KEYCODE_E" value="33" />
1606        <enum name="KEYCODE_F" value="34" />
1607        <enum name="KEYCODE_G" value="35" />
1608        <enum name="KEYCODE_H" value="36" />
1609        <enum name="KEYCODE_I" value="37" />
1610        <enum name="KEYCODE_J" value="38" />
1611        <enum name="KEYCODE_K" value="39" />
1612        <enum name="KEYCODE_L" value="40" />
1613        <enum name="KEYCODE_M" value="41" />
1614        <enum name="KEYCODE_N" value="42" />
1615        <enum name="KEYCODE_O" value="43" />
1616        <enum name="KEYCODE_P" value="44" />
1617        <enum name="KEYCODE_Q" value="45" />
1618        <enum name="KEYCODE_R" value="46" />
1619        <enum name="KEYCODE_S" value="47" />
1620        <enum name="KEYCODE_T" value="48" />
1621        <enum name="KEYCODE_U" value="49" />
1622        <enum name="KEYCODE_V" value="50" />
1623        <enum name="KEYCODE_W" value="51" />
1624        <enum name="KEYCODE_X" value="52" />
1625        <enum name="KEYCODE_Y" value="53" />
1626        <enum name="KEYCODE_Z" value="54" />
1627        <enum name="KEYCODE_COMMA" value="55" />
1628        <enum name="KEYCODE_PERIOD" value="56" />
1629        <enum name="KEYCODE_ALT_LEFT" value="57" />
1630        <enum name="KEYCODE_ALT_RIGHT" value="58" />
1631        <enum name="KEYCODE_SHIFT_LEFT" value="59" />
1632        <enum name="KEYCODE_SHIFT_RIGHT" value="60" />
1633        <enum name="KEYCODE_TAB" value="61" />
1634        <enum name="KEYCODE_SPACE" value="62" />
1635        <enum name="KEYCODE_SYM" value="63" />
1636        <enum name="KEYCODE_EXPLORER" value="64" />
1637        <enum name="KEYCODE_ENVELOPE" value="65" />
1638        <enum name="KEYCODE_ENTER" value="66" />
1639        <enum name="KEYCODE_DEL" value="67" />
1640        <enum name="KEYCODE_GRAVE" value="68" />
1641        <enum name="KEYCODE_MINUS" value="69" />
1642        <enum name="KEYCODE_EQUALS" value="70" />
1643        <enum name="KEYCODE_LEFT_BRACKET" value="71" />
1644        <enum name="KEYCODE_RIGHT_BRACKET" value="72" />
1645        <enum name="KEYCODE_BACKSLASH" value="73" />
1646        <enum name="KEYCODE_SEMICOLON" value="74" />
1647        <enum name="KEYCODE_APOSTROPHE" value="75" />
1648        <enum name="KEYCODE_SLASH" value="76" />
1649        <enum name="KEYCODE_AT" value="77" />
1650        <enum name="KEYCODE_NUM" value="78" />
1651        <enum name="KEYCODE_HEADSETHOOK" value="79" />
1652        <enum name="KEYCODE_FOCUS" value="80" />
1653        <enum name="KEYCODE_PLUS" value="81" />
1654        <enum name="KEYCODE_MENU" value="82" />
1655        <enum name="KEYCODE_NOTIFICATION" value="83" />
1656        <enum name="KEYCODE_SEARCH" value="84" />
1657        <enum name="KEYCODE_MEDIA_PLAY_PAUSE" value="85" />
1658        <enum name="KEYCODE_MEDIA_STOP" value="86" />
1659        <enum name="KEYCODE_MEDIA_NEXT" value="87" />
1660        <enum name="KEYCODE_MEDIA_PREVIOUS" value="88" />
1661        <enum name="KEYCODE_MEDIA_REWIND" value="89" />
1662        <enum name="KEYCODE_MEDIA_FAST_FORWARD" value="90" />
1663        <enum name="KEYCODE_MUTE" value="91" />
1664        <enum name="KEYCODE_PAGE_UP" value="92" />
1665        <enum name="KEYCODE_PAGE_DOWN" value="93" />
1666        <enum name="KEYCODE_PICTSYMBOLS" value="94" />
1667        <enum name="KEYCODE_SWITCH_CHARSET" value="95" />
1668        <enum name="KEYCODE_BUTTON_A" value="96" />
1669        <enum name="KEYCODE_BUTTON_B" value="97" />
1670        <enum name="KEYCODE_BUTTON_C" value="98" />
1671        <enum name="KEYCODE_BUTTON_X" value="99" />
1672        <enum name="KEYCODE_BUTTON_Y" value="100" />
1673        <enum name="KEYCODE_BUTTON_Z" value="101" />
1674        <enum name="KEYCODE_BUTTON_L1" value="102" />
1675        <enum name="KEYCODE_BUTTON_R1" value="103" />
1676        <enum name="KEYCODE_BUTTON_L2" value="104" />
1677        <enum name="KEYCODE_BUTTON_R2" value="105" />
1678        <enum name="KEYCODE_BUTTON_THUMBL" value="106" />
1679        <enum name="KEYCODE_BUTTON_THUMBR" value="107" />
1680        <enum name="KEYCODE_BUTTON_START" value="108" />
1681        <enum name="KEYCODE_BUTTON_SELECT" value="109" />
1682        <enum name="KEYCODE_BUTTON_MODE" value="110" />
1683        <enum name="KEYCODE_ESCAPE" value="111" />
1684        <enum name="KEYCODE_FORWARD_DEL" value="112" />
1685        <enum name="KEYCODE_CTRL_LEFT" value="113" />
1686        <enum name="KEYCODE_CTRL_RIGHT" value="114" />
1687        <enum name="KEYCODE_CAPS_LOCK" value="115" />
1688        <enum name="KEYCODE_SCROLL_LOCK" value="116" />
1689        <enum name="KEYCODE_META_LEFT" value="117" />
1690        <enum name="KEYCODE_META_RIGHT" value="118" />
1691        <enum name="KEYCODE_FUNCTION" value="119" />
1692        <enum name="KEYCODE_SYSRQ" value="120" />
1693        <enum name="KEYCODE_BREAK" value="121" />
1694        <enum name="KEYCODE_MOVE_HOME" value="122" />
1695        <enum name="KEYCODE_MOVE_END" value="123" />
1696        <enum name="KEYCODE_INSERT" value="124" />
1697        <enum name="KEYCODE_FORWARD" value="125" />
1698        <enum name="KEYCODE_MEDIA_PLAY" value="126" />
1699        <enum name="KEYCODE_MEDIA_PAUSE" value="127" />
1700        <enum name="KEYCODE_MEDIA_CLOSE" value="128" />
1701        <enum name="KEYCODE_MEDIA_EJECT" value="129" />
1702        <enum name="KEYCODE_MEDIA_RECORD" value="130" />
1703        <enum name="KEYCODE_F1" value="131" />
1704        <enum name="KEYCODE_F2" value="132" />
1705        <enum name="KEYCODE_F3" value="133" />
1706        <enum name="KEYCODE_F4" value="134" />
1707        <enum name="KEYCODE_F5" value="135" />
1708        <enum name="KEYCODE_F6" value="136" />
1709        <enum name="KEYCODE_F7" value="137" />
1710        <enum name="KEYCODE_F8" value="138" />
1711        <enum name="KEYCODE_F9" value="139" />
1712        <enum name="KEYCODE_F10" value="140" />
1713        <enum name="KEYCODE_F11" value="141" />
1714        <enum name="KEYCODE_F12" value="142" />
1715        <enum name="KEYCODE_NUM_LOCK" value="143" />
1716        <enum name="KEYCODE_NUMPAD_0" value="144" />
1717        <enum name="KEYCODE_NUMPAD_1" value="145" />
1718        <enum name="KEYCODE_NUMPAD_2" value="146" />
1719        <enum name="KEYCODE_NUMPAD_3" value="147" />
1720        <enum name="KEYCODE_NUMPAD_4" value="148" />
1721        <enum name="KEYCODE_NUMPAD_5" value="149" />
1722        <enum name="KEYCODE_NUMPAD_6" value="150" />
1723        <enum name="KEYCODE_NUMPAD_7" value="151" />
1724        <enum name="KEYCODE_NUMPAD_8" value="152" />
1725        <enum name="KEYCODE_NUMPAD_9" value="153" />
1726        <enum name="KEYCODE_NUMPAD_DIVIDE" value="154" />
1727        <enum name="KEYCODE_NUMPAD_MULTIPLY" value="155" />
1728        <enum name="KEYCODE_NUMPAD_SUBTRACT" value="156" />
1729        <enum name="KEYCODE_NUMPAD_ADD" value="157" />
1730        <enum name="KEYCODE_NUMPAD_DOT" value="158" />
1731        <enum name="KEYCODE_NUMPAD_COMMA" value="159" />
1732        <enum name="KEYCODE_NUMPAD_ENTER" value="160" />
1733        <enum name="KEYCODE_NUMPAD_EQUALS" value="161" />
1734        <enum name="KEYCODE_NUMPAD_LEFT_PAREN" value="162" />
1735        <enum name="KEYCODE_NUMPAD_RIGHT_PAREN" value="163" />
1736        <enum name="KEYCODE_VOLUME_MUTE" value="164" />
1737        <enum name="KEYCODE_INFO" value="165" />
1738        <enum name="KEYCODE_CHANNEL_UP" value="166" />
1739        <enum name="KEYCODE_CHANNEL_DOWN" value="167" />
1740        <enum name="KEYCODE_ZOOM_IN" value="168" />
1741        <enum name="KEYCODE_ZOOM_OUT" value="169" />
1742        <enum name="KEYCODE_TV" value="170" />
1743        <enum name="KEYCODE_WINDOW" value="171" />
1744        <enum name="KEYCODE_GUIDE" value="172" />
1745        <enum name="KEYCODE_DVR" value="173" />
1746        <enum name="KEYCODE_BOOKMARK" value="174" />
1747        <enum name="KEYCODE_CAPTIONS" value="175" />
1748        <enum name="KEYCODE_SETTINGS" value="176" />
1749        <enum name="KEYCODE_TV_POWER" value="177" />
1750        <enum name="KEYCODE_TV_INPUT" value="178" />
1751        <enum name="KEYCODE_STB_POWER" value="179" />
1752        <enum name="KEYCODE_STB_INPUT" value="180" />
1753        <enum name="KEYCODE_AVR_POWER" value="181" />
1754        <enum name="KEYCODE_AVR_INPUT" value="182" />
1755        <enum name="KEYCODE_PROG_GRED" value="183" />
1756        <enum name="KEYCODE_PROG_GREEN" value="184" />
1757        <enum name="KEYCODE_PROG_YELLOW" value="185" />
1758        <enum name="KEYCODE_PROG_BLUE" value="186" />
1759        <enum name="KEYCODE_APP_SWITCH" value="187" />
1760        <enum name="KEYCODE_BUTTON_1" value="188" />
1761        <enum name="KEYCODE_BUTTON_2" value="189" />
1762        <enum name="KEYCODE_BUTTON_3" value="190" />
1763        <enum name="KEYCODE_BUTTON_4" value="191" />
1764        <enum name="KEYCODE_BUTTON_5" value="192" />
1765        <enum name="KEYCODE_BUTTON_6" value="193" />
1766        <enum name="KEYCODE_BUTTON_7" value="194" />
1767        <enum name="KEYCODE_BUTTON_8" value="195" />
1768        <enum name="KEYCODE_BUTTON_9" value="196" />
1769        <enum name="KEYCODE_BUTTON_10" value="197" />
1770        <enum name="KEYCODE_BUTTON_11" value="198" />
1771        <enum name="KEYCODE_BUTTON_12" value="199" />
1772        <enum name="KEYCODE_BUTTON_13" value="200" />
1773        <enum name="KEYCODE_BUTTON_14" value="201" />
1774        <enum name="KEYCODE_BUTTON_15" value="202" />
1775        <enum name="KEYCODE_BUTTON_16" value="203" />
1776        <enum name="KEYCODE_LANGUAGE_SWITCH" value="204" />
1777        <enum name="KEYCODE_MANNER_MODE" value="205" />
1778        <enum name="KEYCODE_3D_MODE" value="206" />
1779        <enum name="KEYCODE_CONTACTS" value="207" />
1780        <enum name="KEYCODE_CALENDAR" value="208" />
1781        <enum name="KEYCODE_MUSIC" value="209" />
1782        <enum name="KEYCODE_CALCULATOR" value="210" />
1783        <enum name="KEYCODE_ZENKAKU_HANKAKU" value="211" />
1784        <enum name="KEYCODE_EISU" value="212" />
1785        <enum name="KEYCODE_MUHENKAN" value="213" />
1786        <enum name="KEYCODE_HENKAN" value="214" />
1787        <enum name="KEYCODE_KATAKANA_HIRAGANA" value="215" />
1788        <enum name="KEYCODE_YEN" value="216" />
1789        <enum name="KEYCODE_RO" value="217" />
1790        <enum name="KEYCODE_KANA" value="218" />
1791        <enum name="KEYCODE_ASSIST" value="219" />
1792        <enum name="KEYCODE_BRIGHTNESS_DOWN" value="220" />
1793        <enum name="KEYCODE_BRIGHTNESS_UP" value="221" />
1794        <enum name="KEYCODE_MEDIA_AUDIO_TRACK" value="222" />
1795        <enum name="KEYCODE_MEDIA_SLEEP" value="223" />
1796        <enum name="KEYCODE_MEDIA_WAKEUP" value="224" />
1797        <enum name="KEYCODE_PAIRING" value="225" />
1798        <enum name="KEYCODE_MEDIA_TOP_MENU" value="226" />
1799        <enum name="KEYCODE_11" value="227" />
1800        <enum name="KEYCODE_12" value="228" />
1801        <enum name="KEYCODE_LAST_CHANNEL" value="229" />
1802        <enum name="KEYCODE_TV_DATA_SERVICE" value="230" />
1803        <enum name="KEYCODE_VOICE_ASSIST" value="231" />
1804        <enum name="KEYCODE_TV_RADIO_SERVICE" value="232" />
1805        <enum name="KEYCODE_TV_TELETEXT" value="233" />
1806        <enum name="KEYCODE_TV_NUMBER_ENTRY" value="234" />
1807        <enum name="KEYCODE_TV_TERRESTRIAL_ANALOG" value="235" />
1808        <enum name="KEYCODE_TV_TERRESTRIAL_DIGITAL" value="236" />
1809        <enum name="KEYCODE_TV_SATELLITE" value="237" />
1810        <enum name="KEYCODE_TV_SATELLITE_BS" value="238" />
1811        <enum name="KEYCODE_TV_SATELLITE_CS" value="239" />
1812        <enum name="KEYCODE_TV_SATELLITE_SERVICE" value="240" />
1813        <enum name="KEYCODE_TV_NETWORK" value="241" />
1814        <enum name="KEYCODE_TV_ANTENNA_CABLE" value="242" />
1815        <enum name="KEYCODE_TV_INPUT_HDMI_1" value="243" />
1816        <enum name="KEYCODE_TV_INPUT_HDMI_2" value="244" />
1817        <enum name="KEYCODE_TV_INPUT_HDMI_3" value="245" />
1818        <enum name="KEYCODE_TV_INPUT_HDMI_4" value="246" />
1819        <enum name="KEYCODE_TV_INPUT_COMPOSITE_1" value="247" />
1820        <enum name="KEYCODE_TV_INPUT_COMPOSITE_2" value="248" />
1821        <enum name="KEYCODE_TV_INPUT_COMPONENT_1" value="249" />
1822        <enum name="KEYCODE_TV_INPUT_COMPONENT_2" value="250" />
1823        <enum name="KEYCODE_TV_INPUT_VGA_1" value="251" />
1824        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION" value="252" />
1825        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP" value="253" />
1826        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN" value="254" />
1827        <enum name="KEYCODE_TV_ZOOM_MODE" value="255" />
1828        <enum name="KEYCODE_TV_CONTENTS_MENU" value="256" />
1829        <enum name="KEYCODE_TV_MEDIA_CONTEXT_MENU" value="257" />
1830        <enum name="KEYCODE_TV_TIMER_PROGRAMMING" value="258" />
1831        <enum name="KEYCODE_HELP" value="259" />
1832        <enum name="KEYCODE_NAVIGATE_PREVIOUS" value="260" />
1833        <enum name="KEYCODE_NAVIGATE_NEXT" value="261" />
1834        <enum name="KEYCODE_NAVIGATE_IN" value="262" />
1835        <enum name="KEYCODE_NAVIGATE_OUT" value="263" />
1836        <enum name="KEYCODE_STEM_PRIMARY" value="264" />
1837        <enum name="KEYCODE_STEM_1" value="265" />
1838        <enum name="KEYCODE_STEM_2" value="266" />
1839        <enum name="KEYCODE_STEM_3" value="267" />
1840        <enum name="KEYCODE_DPAD_UP_LEFT" value="268" />
1841        <enum name="KEYCODE_DPAD_DOWN_LEFT" value="269" />
1842        <enum name="KEYCODE_DPAD_UP_RIGHT" value="270" />
1843        <enum name="KEYCODE_DPAD_DOWN_RIGHT" value="271" />
1844        <enum name="KEYCODE_MEDIA_SKIP_FORWARD" value="272" />
1845        <enum name="KEYCODE_MEDIA_SKIP_BACKWARD" value="273" />
1846        <enum name="KEYCODE_MEDIA_STEP_FORWARD" value="274" />
1847        <enum name="KEYCODE_MEDIA_STEP_BACKWARD" value="275" />
1848        <enum name="KEYCODE_SOFT_SLEEP" value="276" />
1849        <enum name="KEYCODE_CUT" value="277" />
1850        <enum name="KEYCODE_COPY" value="278" />
1851        <enum name="KEYCODE_PASTE" value="279" />
1852        <enum name="KEYCODE_SYSTEM_NAVIGATION_UP" value="280" />
1853        <enum name="KEYCODE_SYSTEM_NAVIGATION_DOWN" value="281" />
1854        <enum name="KEYCODE_SYSTEM_NAVIGATION_LEFT" value="282" />
1855        <enum name="KEYCODE_SYSTEM_NAVIGATION_RIGHT" value="283" />
1856    </attr>
1857
1858    <!-- ***************************************************************** -->
1859    <!-- These define collections of attributes that can are with classes. -->
1860    <!-- ***************************************************************** -->
1861
1862    <!-- ========================== -->
1863    <!-- Special attribute classes. -->
1864    <!-- ========================== -->
1865    <eat-comment />
1866
1867    <!-- The set of attributes that describe a Windows's theme. -->
1868    <declare-styleable name="Window">
1869        <attr name="windowBackground" />
1870        <attr name="windowBackgroundFallback" />
1871        <attr name="windowContentOverlay" />
1872        <attr name="windowFrame" />
1873        <attr name="windowNoTitle" />
1874        <attr name="windowFullscreen" />
1875        <attr name="windowOverscan" />
1876        <attr name="windowIsFloating" />
1877        <attr name="windowIsTranslucent" />
1878        <attr name="windowShowWallpaper" />
1879        <attr name="windowAnimationStyle" />
1880        <attr name="windowSoftInputMode" />
1881        <attr name="windowDisablePreview" />
1882        <attr name="windowNoDisplay" />
1883        <attr name="textColor" />
1884        <attr name="backgroundDimEnabled" />
1885        <attr name="backgroundDimAmount" />
1886        <attr name="windowActionBar" />
1887        <attr name="windowActionModeOverlay" />
1888        <attr name="windowActionBarOverlay" />
1889        <attr name="windowEnableSplitTouch" />
1890        <attr name="windowCloseOnTouchOutside" />
1891        <attr name="windowTranslucentStatus" />
1892        <attr name="windowTranslucentNavigation" />
1893        <attr name="windowSwipeToDismiss" />
1894        <attr name="windowContentTransitions" />
1895        <attr name="windowActivityTransitions" />
1896        <attr name="windowContentTransitionManager" />
1897        <attr name="windowActionBarFullscreenDecorLayout" />
1898
1899        <!-- The minimum width the window is allowed to be, along the major
1900             axis of the screen.  That is, when in landscape.  Can be either
1901             an absolute dimension or a fraction of the screen size in that
1902             dimension. -->
1903        <attr name="windowMinWidthMajor" format="dimension|fraction" />
1904        <!-- The minimum width the window is allowed to be, along the minor
1905             axis of the screen.  That is, when in portrait.  Can be either
1906             an absolute dimension or a fraction of the screen size in that
1907             dimension. -->
1908        <attr name="windowMinWidthMinor" format="dimension|fraction" />
1909
1910        <!-- A fixed width for the window along the major axis of the screen,
1911             that is, when in landscape. Can be either an absolute dimension
1912             or a fraction of the screen size in that dimension. -->
1913        <attr name="windowFixedWidthMajor" format="dimension|fraction" />
1914        <!-- A fixed height for the window along the minor axis of the screen,
1915             that is, when in landscape. Can be either an absolute dimension
1916             or a fraction of the screen size in that dimension. -->
1917        <attr name="windowFixedHeightMinor" format="dimension|fraction" />
1918
1919        <!-- A fixed width for the window along the minor axis of the screen,
1920             that is, when in portrait. Can be either an absolute dimension
1921             or a fraction of the screen size in that dimension. -->
1922        <attr name="windowFixedWidthMinor" format="dimension|fraction" />
1923        <!-- A fixed height for the window along the major axis of the screen,
1924             that is, when in portrait. Can be either an absolute dimension
1925             or a fraction of the screen size in that dimension. -->
1926        <attr name="windowFixedHeightMajor" format="dimension|fraction" />
1927        <attr name="windowOutsetBottom" format="dimension" />
1928        <!-- Reference to a Transition XML resource defining the desired Transition
1929             used to move Views into the initial Window's content Scene. Corresponds to
1930             {@link android.view.Window#setEnterTransition(android.transition.Transition)}. -->
1931        <attr name="windowEnterTransition"/>
1932
1933        <!-- Reference to a Transition XML resource defining the desired Transition
1934             used to move Views out of the scene when the Window is
1935             preparing to close. Corresponds to
1936             {@link android.view.Window#setReturnTransition(android.transition.Transition)}. -->
1937        <attr name="windowReturnTransition"/>
1938
1939        <!-- Reference to a Transition XML resource defining the desired Transition
1940             used to move Views out of the Window's content Scene when launching a new Activity.
1941             Corresponds to
1942             {@link android.view.Window#setExitTransition(android.transition.Transition)}. -->
1943        <attr name="windowExitTransition"/>
1944
1945        <!-- Reference to a Transition XML resource defining the desired Transition
1946             used to move Views in to the scene when returning from a previously-started Activity.
1947             Corresponds to
1948             {@link android.view.Window#setReenterTransition(android.transition.Transition)}. -->
1949        <attr name="windowReenterTransition"/>
1950
1951        <!-- Reference to a Transition XML resource defining the desired Transition
1952             used to move shared elements transferred into the Window's initial content Scene.
1953             Corresponds to {@link android.view.Window#setSharedElementEnterTransition(
1954             android.transition.Transition)}. -->
1955        <attr name="windowSharedElementEnterTransition"/>
1956
1957        <!-- Reference to a Transition XML resource defining the desired Transition
1958             used to move shared elements transferred back to a calling Activity.
1959             Corresponds to {@link android.view.Window#setSharedElementReturnTransition(
1960             android.transition.Transition)}. -->
1961        <attr name="windowSharedElementReturnTransition"/>
1962
1963        <!-- Reference to a Transition XML resource defining the desired Transition
1964             used when starting a new Activity to move shared elements prior to transferring
1965             to the called Activity.
1966             Corresponds to {@link android.view.Window#setSharedElementExitTransition(
1967             android.transition.Transition)}. -->
1968        <attr name="windowSharedElementExitTransition"/>
1969
1970        <!-- Reference to a Transition XML resource defining the desired Transition
1971             used for shared elements transferred back to a calling Activity.
1972             Corresponds to {@link android.view.Window#setSharedElementReenterTransition(
1973             android.transition.Transition)}. -->
1974        <attr name="windowSharedElementReenterTransition"/>
1975
1976
1977        <!-- Flag indicating whether this Window's transition should overlap with
1978             the exiting transition of the calling Activity. Corresponds to
1979             {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. -->
1980        <attr name="windowAllowEnterTransitionOverlap"/>
1981
1982        <!-- Flag indicating whether this Window's transition should overlap with
1983             the exiting transition of the called Activity when the called Activity
1984             finishes. Corresponds to
1985             {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. -->
1986        <attr name="windowAllowReturnTransitionOverlap"/>
1987
1988        <!-- Indicates whether or not shared elements should use an overlay
1989             during transitions. The default value is true. -->
1990        <attr name="windowSharedElementsUseOverlay"/>
1991
1992        <!-- Flag indicating whether this Window is responsible for drawing the background for the
1993             system bars. If true and the window is not floating, the system bars are drawn with a
1994             transparent background and the corresponding areas in this window are filled with the
1995             colors specified in {@link android.R.attr#statusBarColor} and
1996             {@link android.R.attr#navigationBarColor}. Corresponds to
1997             {@link android.view.WindowManager.LayoutParams#FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS}. -->
1998        <attr name="windowDrawsSystemBarBackgrounds" format="boolean" />
1999
2000        <!-- The color for the status bar. If the color is not opaque, consider setting
2001             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and
2002             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN}.
2003             For this to take effect, the window must be drawing the system bar backgrounds with
2004             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not
2005             have been requested to be translucent with
2006             {@link android.R.attr#windowTranslucentStatus}.
2007             Corresponds to {@link android.view.Window#setStatusBarColor(int)}. -->
2008        <attr name="statusBarColor" format="color" />
2009
2010        <!-- The color for the navigation bar. If the color is not opaque, consider setting
2011             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and
2012             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION}.
2013             For this to take effect, the window must be drawing the system bar backgrounds with
2014             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not
2015             have been requested to be translucent with
2016             {@link android.R.attr#windowTranslucentNavigation}.
2017             Corresponds to {@link android.view.Window#setNavigationBarColor(int)}. -->
2018        <attr name="navigationBarColor" format="color" />
2019
2020        <!-- The duration, in milliseconds, of the window background fade duration
2021             when transitioning into or away from an Activity when called with an
2022             Activity Transition. Corresponds to
2023             {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. -->
2024        <attr name="windowTransitionBackgroundFadeDuration" />
2025
2026        <!-- Elevation to use for the window. -->
2027        <attr name="windowElevation" format="dimension" />
2028
2029        <!-- Whether to clip window content to the outline of the window background. -->
2030        <attr name="windowClipToOutline" format="boolean" />
2031
2032        <!-- If set, the status bar will be drawn such that it is compatible with a light
2033             status bar background.
2034             <p>For this to take effect, the window must be drawing the system bar backgrounds with
2035             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not
2036             have been requested to be translucent with
2037             {@link android.R.attr#windowTranslucentStatus}.
2038             Corresponds to setting {@link android.view.View#SYSTEM_UI_FLAG_LIGHT_STATUS_BAR} on
2039             the decor view. -->
2040        <attr name="windowLightStatusBar" format="boolean" />
2041    </declare-styleable>
2042
2043    <!-- The set of attributes that describe a AlertDialog's theme. -->
2044    <declare-styleable name="AlertDialog">
2045        <attr name="fullDark" format="reference|color" />
2046        <attr name="topDark" format="reference|color" />
2047        <attr name="centerDark" format="reference|color" />
2048        <attr name="bottomDark" format="reference|color" />
2049        <attr name="fullBright" format="reference|color" />
2050        <attr name="topBright" format="reference|color" />
2051        <attr name="centerBright" format="reference|color" />
2052        <attr name="bottomBright" format="reference|color" />
2053        <attr name="bottomMedium" format="reference|color" />
2054        <attr name="centerMedium" format="reference|color" />
2055        <attr name="layout" />
2056        <attr name="buttonPanelSideLayout" format="reference" />
2057        <attr name="listLayout" format="reference" />
2058        <attr name="multiChoiceItemLayout" format="reference" />
2059        <attr name="singleChoiceItemLayout" format="reference" />
2060        <attr name="listItemLayout" format="reference" />
2061        <attr name="progressLayout" format="reference" />
2062        <attr name="horizontalProgressLayout" format="reference" />
2063        <!-- @hide Not ready for public use. -->
2064        <attr name="showTitle" format="boolean" />
2065        <!-- @hide Whether fullDark, etc. should use default values if null. -->
2066        <attr name="needsDefaultBackgrounds" format="boolean" />
2067        <!-- @hide Workaround until we replace AlertController with custom layout. -->
2068        <attr name="controllerType">
2069            <!-- The default controller. -->
2070            <enum name="normal" value="0" />
2071            <!-- Controller for micro specific layout. -->
2072            <enum name="micro" value="1" />
2073        </attr>
2074        <!-- @hide Offset when scrolling to a selection. -->
2075        <attr name="selectionScrollOffset" format="dimension" />
2076    </declare-styleable>
2077
2078    <!-- @hide -->
2079    <declare-styleable name="ButtonBarLayout">
2080        <!-- Whether to automatically stack the buttons when there is not
2081             enough space to lay them out side-by-side. -->
2082        <attr name="allowStacking" format="boolean" />
2083    </declare-styleable>
2084
2085    <!-- Fragment animation class attributes. -->
2086    <declare-styleable name="FragmentAnimation">
2087        <attr name="fragmentOpenEnterAnimation" format="reference" />
2088        <attr name="fragmentOpenExitAnimation" format="reference" />
2089        <attr name="fragmentCloseEnterAnimation" format="reference" />
2090        <attr name="fragmentCloseExitAnimation" format="reference" />
2091        <attr name="fragmentFadeEnterAnimation" format="reference" />
2092        <attr name="fragmentFadeExitAnimation" format="reference" />
2093    </declare-styleable>
2094
2095    <!-- Window animation class attributes. -->
2096    <declare-styleable name="WindowAnimation">
2097        <!-- The animation used when a window is being added. -->
2098        <attr name="windowEnterAnimation" format="reference" />
2099        <!-- The animation used when a window is being removed. -->
2100        <attr name="windowExitAnimation" format="reference" />
2101        <!-- The animation used when a window is going from INVISIBLE to VISIBLE. -->
2102        <attr name="windowShowAnimation" format="reference" />
2103        <!-- The animation used when a window is going from VISIBLE to INVISIBLE. -->
2104        <attr name="windowHideAnimation" format="reference" />
2105
2106        <!--  When opening a new activity, this is the animation that is
2107              run on the next activity (which is entering the screen). -->
2108        <attr name="activityOpenEnterAnimation" format="reference" />
2109        <!--  When opening a new activity, this is the animation that is
2110              run on the previous activity (which is exiting the screen). -->
2111        <attr name="activityOpenExitAnimation" format="reference" />
2112        <!--  When closing the current activity, this is the animation that is
2113              run on the next activity (which is entering the screen). -->
2114        <attr name="activityCloseEnterAnimation" format="reference" />
2115        <!--  When closing the current activity, this is the animation that is
2116              run on the current activity (which is exiting the screen). -->
2117        <attr name="activityCloseExitAnimation" format="reference" />
2118        <!--  When opening an activity in a new task, this is the animation that is
2119              run on the activity of the new task (which is entering the screen). -->
2120        <attr name="taskOpenEnterAnimation" format="reference" />
2121        <!--  When opening an activity in a new task, this is the animation that is
2122              run on the activity of the old task (which is exiting the screen). -->
2123        <attr name="taskOpenExitAnimation" format="reference" />
2124        <!--  When opening an activity in a new task using Intent/FLAG_ACTIVITY_LAUNCH_BEHIND,
2125              this is the animation that is run on the activity of the new task (which is
2126              entering the screen and then leaving). -->
2127        <attr name="launchTaskBehindTargetAnimation" format="reference" />
2128        <!--  When opening an activity in a new task using Intent.FLAG_ACTIVITY_LAUNCH_BEHIND,
2129              this is the animation that is run on the activity of the old task (which is
2130              already on the screen and then stays on). -->
2131        <attr name="launchTaskBehindSourceAnimation" format="reference" />
2132        <!--  When closing the last activity of a task, this is the animation that is
2133              run on the activity of the next task (which is entering the screen). -->
2134        <attr name="taskCloseEnterAnimation" format="reference" />
2135        <!--  When opening an activity in a new task, this is the animation that is
2136              run on the activity of the old task (which is exiting the screen). -->
2137        <attr name="taskCloseExitAnimation" format="reference" />
2138        <!--  When bringing an existing task to the foreground, this is the
2139              animation that is run on the top activity of the task being brought
2140              to the foreground (which is entering the screen). -->
2141        <attr name="taskToFrontEnterAnimation" format="reference" />
2142        <!--  When bringing an existing task to the foreground, this is the
2143              animation that is run on the current foreground activity
2144              (which is exiting the screen). -->
2145        <attr name="taskToFrontExitAnimation" format="reference" />
2146        <!--  When sending the current task to the background, this is the
2147              animation that is run on the top activity of the task behind
2148              it (which is entering the screen). -->
2149        <attr name="taskToBackEnterAnimation" format="reference" />
2150        <!--  When sending the current task to the background, this is the
2151              animation that is run on the top activity of the current task
2152              (which is exiting the screen). -->
2153        <attr name="taskToBackExitAnimation" format="reference" />
2154
2155        <!--  When opening a new activity that shows the wallpaper, while
2156              currently not showing the wallpaper, this is the animation that
2157              is run on the new wallpaper activity (which is entering the screen). -->
2158        <attr name="wallpaperOpenEnterAnimation" format="reference" />
2159        <!--  When opening a new activity that shows the wallpaper, while
2160              currently not showing the wallpaper, this is the animation that
2161              is run on the current activity (which is exiting the screen). -->
2162        <attr name="wallpaperOpenExitAnimation" format="reference" />
2163        <!--  When opening a new activity that hides the wallpaper, while
2164              currently showing the wallpaper, this is the animation that
2165              is run on the new activity (which is entering the screen). -->
2166        <attr name="wallpaperCloseEnterAnimation" format="reference" />
2167        <!--  When opening a new activity that hides the wallpaper, while
2168              currently showing the wallpaper, this is the animation that
2169              is run on the old wallpaper activity (which is exiting the screen). -->
2170        <attr name="wallpaperCloseExitAnimation" format="reference" />
2171
2172        <!--  When opening a new activity that is on top of the wallpaper
2173              when the current activity is also on top of the wallpaper,
2174              this is the animation that is run on the new activity
2175              (which is entering the screen).  The wallpaper remains
2176              static behind the animation. -->
2177        <attr name="wallpaperIntraOpenEnterAnimation" format="reference" />
2178        <!--  When opening a new activity that is on top of the wallpaper
2179              when the current activity is also on top of the wallpaper,
2180              this is the animation that is run on the current activity
2181              (which is exiting the screen).  The wallpaper remains
2182              static behind the animation. -->
2183        <attr name="wallpaperIntraOpenExitAnimation" format="reference" />
2184        <!--  When closing a foreround activity that is on top of the wallpaper
2185              when the previous activity is also on top of the wallpaper,
2186              this is the animation that is run on the previous activity
2187              (which is entering the screen).  The wallpaper remains
2188              static behind the animation. -->
2189        <attr name="wallpaperIntraCloseEnterAnimation" format="reference" />
2190        <!--  When closing a foreround activity that is on top of the wallpaper
2191              when the previous activity is also on top of the wallpaper,
2192              this is the animation that is run on the current activity
2193              (which is exiting the screen).  The wallpaper remains
2194              static behind the animation. -->
2195        <attr name="wallpaperIntraCloseExitAnimation" format="reference" />
2196
2197        <!--  When opening a new activity from a RemoteViews, this is the
2198              animation that is run on the next activity (which is entering the
2199              screen). Requires config_overrideRemoteViewsActivityTransition to
2200              be true. -->
2201        <attr name="activityOpenRemoteViewsEnterAnimation" format="reference" />
2202
2203    </declare-styleable>
2204
2205    <!-- ============================= -->
2206    <!-- View package class attributes -->
2207    <!-- ============================= -->
2208    <eat-comment />
2209
2210    <!-- Attributes that can be used with {@link android.view.View} or
2211         any of its subclasses.  Also see {@link #ViewGroup_Layout} for
2212         attributes that are processed by the view's parent. -->
2213    <declare-styleable name="View">
2214        <!-- Supply an identifier name for this view, to later retrieve it
2215             with {@link android.view.View#findViewById View.findViewById()} or
2216             {@link android.app.Activity#findViewById Activity.findViewById()}.
2217             This must be a
2218             resource reference; typically you set this using the
2219             <code>@+</code> syntax to create a new ID resources.
2220             For example: <code>android:id="@+id/my_id"</code> which
2221             allows you to later retrieve the view
2222             with <code>findViewById(R.id.my_id)</code>. -->
2223        <attr name="id" format="reference" />
2224
2225        <!-- Supply a tag for this view containing a String, to be retrieved
2226             later with {@link android.view.View#getTag View.getTag()} or
2227             searched for with {@link android.view.View#findViewWithTag
2228             View.findViewWithTag()}.  It is generally preferable to use
2229             IDs (through the android:id attribute) instead of tags because
2230             they are faster and allow for compile-time type checking. -->
2231        <attr name="tag" format="string" />
2232
2233        <!-- The initial horizontal scroll offset, in pixels.-->
2234        <attr name="scrollX" format="dimension" />
2235
2236        <!-- The initial vertical scroll offset, in pixels. -->
2237        <attr name="scrollY" format="dimension" />
2238
2239        <!-- A drawable to use as the background.  This can be either a reference
2240             to a full drawable resource (such as a PNG image, 9-patch,
2241             XML state list description, etc), or a solid color such as "#ff000000"
2242            (black). -->
2243        <attr name="background" format="reference|color" />
2244
2245        <!-- Sets the padding, in pixels, of all four edges. Padding is defined as
2246             space between the edges of the view and the view's content. This value will take
2247             precedence over any of the edge-specific values, including
2248             paddingHorizontal and paddingVertical, if set. A view's size
2249             will include its padding. If a {@link android.R.attr#background}
2250             is provided, the padding will initially be set to that (0 if the
2251             drawable does not have padding). Explicitly setting a padding value
2252             will override the corresponding padding found in the background. -->
2253        <attr name="padding" format="dimension" />
2254        <!-- Sets the padding, in pixels, of the left and right edges; see
2255             {@link android.R.attr#padding}. This value will take precedence over
2256             paddingLeft, paddingRight, paddingStart, and paddingEnd, if set. -->
2257        <attr name="paddingHorizontal" format="dimension" />
2258        <!-- Sets the padding, in pixels, of the top and bottom edges; see
2259             {@link android.R.attr#padding}. This value will take precedence over
2260             paddingTop and paddingBottom, if set. -->
2261        <attr name="paddingVertical" format="dimension" />
2262        <!-- Sets the padding, in pixels, of the left edge; see {@link android.R.attr#padding}. -->
2263        <attr name="paddingLeft" format="dimension" />
2264        <!-- Sets the padding, in pixels, of the top edge; see {@link android.R.attr#padding}. -->
2265        <attr name="paddingTop" format="dimension" />
2266        <!-- Sets the padding, in pixels, of the right edge; see {@link android.R.attr#padding}. -->
2267        <attr name="paddingRight" format="dimension" />
2268        <!-- Sets the padding, in pixels, of the bottom edge; see {@link android.R.attr#padding}. -->
2269        <attr name="paddingBottom" format="dimension" />
2270        <!-- Sets the padding, in pixels, of the start edge; see {@link android.R.attr#padding}. -->
2271        <attr name="paddingStart" format="dimension" />
2272        <!-- Sets the padding, in pixels, of the end edge; see {@link android.R.attr#padding}. -->
2273        <attr name="paddingEnd" format="dimension" />
2274
2275        <!-- Boolean that controls whether a view can take focus.  By default the user can not
2276             move focus to a view; by setting this attribute to true the view is
2277             allowed to take focus.  This value does not impact the behavior of
2278             directly calling {@link android.view.View#requestFocus}, which will
2279             always request focus regardless of this view.  It only impacts where
2280             focus navigation will try to move focus. -->
2281        <attr name="focusable" format="boolean" />
2282
2283        <!-- Boolean that controls whether a view can take focus while in touch mode.
2284             If this is true for a view, that view can gain focus when clicked on, and can keep
2285             focus if another view is clicked on that doesn't have this attribute set to true. -->
2286        <attr name="focusableInTouchMode" format="boolean" />
2287
2288        <!-- Controls the initial visibility of the view.  -->
2289        <attr name="visibility">
2290            <!-- Visible on screen; the default value. -->
2291            <enum name="visible" value="0" />
2292            <!-- Not displayed, but taken into account during layout (space is left for it). -->
2293            <enum name="invisible" value="1" />
2294            <!-- Completely hidden, as if the view had not been added. -->
2295            <enum name="gone" value="2" />
2296        </attr>
2297
2298        <!-- Boolean internal attribute to adjust view layout based on
2299             system windows such as the status bar.
2300             If true, adjusts the padding of this view to leave space for the system windows.
2301             Will only take effect if this view is in a non-embedded activity. -->
2302        <attr name="fitsSystemWindows" format="boolean" />
2303
2304        <!-- Defines which scrollbars should be displayed on scrolling or not. -->
2305        <attr name="scrollbars">
2306            <!-- No scrollbar is displayed. -->
2307            <flag name="none" value="0x00000000" />
2308            <!-- Displays horizontal scrollbar only. -->
2309            <flag name="horizontal" value="0x00000100" />
2310            <!-- Displays vertical scrollbar only. -->
2311            <flag name="vertical" value="0x00000200" />
2312        </attr>
2313
2314        <!-- Controls the scrollbar style and position. The scrollbars can be overlaid or
2315             inset. When inset, they add to the padding of the view. And the
2316             scrollbars can be drawn inside the padding area or on the edge of
2317             the view. For example, if a view has a background drawable and you
2318             want to draw the scrollbars inside the padding specified by the
2319             drawable, you can use insideOverlay or insideInset. If you want them
2320             to appear at the edge of the view, ignoring the padding, then you can
2321             use outsideOverlay or outsideInset.-->
2322        <attr name="scrollbarStyle">
2323            <!-- Inside the padding and overlaid -->
2324            <enum name="insideOverlay" value="0x0" />
2325            <!-- Inside the padding and inset -->
2326            <enum name="insideInset" value="0x01000000" />
2327            <!-- Edge of the view and overlaid -->
2328            <enum name="outsideOverlay" value="0x02000000" />
2329            <!-- Edge of the view and inset -->
2330            <enum name="outsideInset" value="0x03000000" />
2331        </attr>
2332
2333        <!-- Set this if the view will serve as a scrolling container, meaning
2334             that it can be resized to shrink its overall window so that there
2335             will be space for an input method.  If not set, the default
2336             value will be true if "scrollbars" has the vertical scrollbar
2337             set, else it will be false. -->
2338        <attr name="isScrollContainer" format="boolean" />
2339
2340          <!-- Defines whether to fade out scrollbars when they are not in use. -->
2341         <attr name="fadeScrollbars" format="boolean" />
2342         <!-- Defines the delay in milliseconds that a scrollbar takes to fade out. -->
2343         <attr name="scrollbarFadeDuration" format="integer" />
2344         <!-- Defines the delay in milliseconds that a scrollbar waits before fade out. -->
2345        <attr name="scrollbarDefaultDelayBeforeFade" format="integer" />
2346        <!-- Sets the width of vertical scrollbars and height of horizontal scrollbars. -->
2347        <attr name="scrollbarSize" format="dimension" />
2348        <!-- Defines the horizontal scrollbar thumb drawable. -->
2349        <attr name="scrollbarThumbHorizontal" format="reference" />
2350        <!-- Defines the vertical scrollbar thumb drawable. -->
2351        <attr name="scrollbarThumbVertical" format="reference" />
2352        <!-- Defines the horizontal scrollbar track drawable. -->
2353        <attr name="scrollbarTrackHorizontal" format="reference" />
2354        <!-- Defines the vertical scrollbar track drawable. -->
2355        <attr name="scrollbarTrackVertical" format="reference" />
2356        <!-- Defines whether the horizontal scrollbar track should always be drawn. -->
2357        <attr name="scrollbarAlwaysDrawHorizontalTrack" format="boolean" />
2358        <!-- Defines whether the vertical scrollbar track should always be drawn. -->
2359        <attr name="scrollbarAlwaysDrawVerticalTrack" format="boolean" />
2360
2361        <!-- This attribute is ignored in API level 14
2362             ({@link android.os.Build.VERSION_CODES#ICE_CREAM_SANDWICH}) and higher.
2363             Using fading edges may introduce noticeable performance
2364             degradations and should be used only when required by the application's
2365             visual design. To request fading edges with API level 14 and above,
2366             use the <code>android:requiresFadingEdge</code> attribute instead. -->
2367        <attr name="fadingEdge">
2368            <!-- No edge is faded. -->
2369            <flag name="none" value="0x00000000" />
2370            <!-- Fades horizontal edges only. -->
2371            <flag name="horizontal" value="0x00001000" />
2372            <!-- Fades vertical edges only. -->
2373            <flag name="vertical" value="0x00002000" />
2374        </attr>
2375        <!-- Defines which edges should be faded on scrolling. -->
2376        <attr name="requiresFadingEdge">
2377            <!-- No edge is faded. -->
2378            <flag name="none" value="0x00000000" />
2379            <!-- Fades horizontal edges only. -->
2380            <flag name="horizontal" value="0x00001000" />
2381            <!-- Fades vertical edges only. -->
2382            <flag name="vertical" value="0x00002000" />
2383        </attr>
2384        <!-- Defines the length of the fading edges. -->
2385        <attr name="fadingEdgeLength" format="dimension" />
2386
2387        <!-- Defines the next view to give focus to when the next focus is
2388             {@link android.view.View#FOCUS_LEFT}.
2389
2390             If the reference refers to a view that does not exist or is part
2391             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2392             will result when the reference is accessed.-->
2393        <attr name="nextFocusLeft" format="reference"/>
2394
2395        <!-- Defines the next view to give focus to when the next focus is
2396             {@link android.view.View#FOCUS_RIGHT}
2397
2398             If the reference refers to a view that does not exist or is part
2399             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2400             will result when the reference is accessed.-->
2401        <attr name="nextFocusRight" format="reference"/>
2402
2403        <!-- Defines the next view to give focus to when the next focus is
2404             {@link android.view.View#FOCUS_UP}
2405
2406             If the reference refers to a view that does not exist or is part
2407             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2408             will result when the reference is accessed.-->
2409        <attr name="nextFocusUp" format="reference"/>
2410
2411        <!-- Defines the next view to give focus to when the next focus is
2412             {@link android.view.View#FOCUS_DOWN}
2413
2414             If the reference refers to a view that does not exist or is part
2415             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2416             will result when the reference is accessed.-->
2417        <attr name="nextFocusDown" format="reference"/>
2418
2419        <!-- Defines the next view to give focus to when the next focus is
2420             {@link android.view.View#FOCUS_FORWARD}
2421
2422             If the reference refers to a view that does not exist or is part
2423             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2424             will result when the reference is accessed.-->
2425        <attr name="nextFocusForward" format="reference"/>
2426
2427        <!-- Defines whether this view reacts to click events. -->
2428        <attr name="clickable" format="boolean" />
2429
2430        <!-- Defines whether this view reacts to long click events. -->
2431        <attr name="longClickable" format="boolean" />
2432
2433        <!--  Defines whether this view reacts to context click events. -->
2434        <attr name="contextClickable" format="boolean" />
2435
2436        <!-- If false, no state will be saved for this view when it is being
2437             frozen. The default is true, allowing the view to be saved
2438             (however it also must have an ID assigned to it for its
2439             state to be saved).  Setting this to false only disables the
2440             state for this view, not for its children which may still
2441             be saved. -->
2442        <attr name="saveEnabled" format="boolean" />
2443
2444        <!-- Specifies whether to filter touches when the view's window is obscured by
2445             another visible window.  When set to true, the view will not receive touches
2446             whenever a toast, dialog or other window appears above the view's window.
2447             Refer to the {@link android.view.View} security documentation for more details. -->
2448        <attr name="filterTouchesWhenObscured" format="boolean" />
2449
2450        <!-- Defines the quality of translucent drawing caches. This property is used
2451             only when the drawing cache is enabled and translucent. The default value is auto. -->
2452        <attr name="drawingCacheQuality">
2453            <!-- Lets the framework decide what quality level should be used
2454                 for the drawing cache. -->
2455            <enum name="auto" value="0" />
2456            <!-- Low quality. When set to low quality, the drawing cache uses a lower color
2457                 depth, thus losing precision in rendering gradients, but uses less memory. -->
2458            <enum name="low" value="1" />
2459            <!-- High quality. When set to high quality, the drawing cache uses a higher
2460                 color depth but uses more memory. -->
2461            <enum name="high" value="2" />
2462        </attr>
2463
2464        <!-- Controls whether the view's window should keep the screen on
2465             while visible. -->
2466        <attr name="keepScreenOn" format="boolean" />
2467
2468        <!-- When this attribute is set to true, the view gets its drawable state
2469             (focused, pressed, etc.) from its direct parent rather than from itself. -->
2470        <attr name="duplicateParentState" format="boolean" />
2471
2472        <!-- Defines the minimum height of the view. It is not guaranteed
2473             the view will be able to achieve this minimum height (for example,
2474             if its parent layout constrains it with less available height). -->
2475        <attr name="minHeight" />
2476
2477        <!-- Defines the minimum width of the view. It is not guaranteed
2478             the view will be able to achieve this minimum width (for example,
2479             if its parent layout constrains it with less available width). -->
2480        <attr name="minWidth" />
2481
2482        <!-- Boolean that controls whether a view should have sound effects
2483             enabled for events such as clicking and touching. -->
2484        <attr name="soundEffectsEnabled" format="boolean" />
2485
2486        <!-- Boolean that controls whether a view should have haptic feedback
2487             enabled for events such as long presses. -->
2488        <attr name="hapticFeedbackEnabled" format="boolean" />
2489
2490        <!-- Defines text that briefly describes content of the view. This property is used
2491             primarily for accessibility. Since some views do not have textual
2492             representation this attribute can be used for providing such. -->
2493        <attr name="contentDescription" format="string" localization="suggested" />
2494
2495        <!-- Sets the id of a view before which this one is visited in accessibility traversal.
2496             A screen-reader must visit the content of this view before the content of the one
2497             it precedes.
2498             @see android.view.View#setAccessibilityTraversalBefore(int)} -->
2499        <attr name="accessibilityTraversalBefore" format="integer" />
2500
2501        <!-- Sets the id of a view after which this one is visited in accessibility traversal.
2502             A screen-reader must visit the content of the other view before the content of
2503             this one.
2504             @see android.view.View#setAccessibilityTraversalAfter(int)} -->
2505        <attr name="accessibilityTraversalAfter" format="integer" />
2506
2507        <!-- Name of the method in this View's context to invoke when the view is
2508             clicked. This name must correspond to a public method that takes
2509             exactly one parameter of type View. For instance, if you specify
2510             <code>android:onClick="sayHello"</code>, you must declare a
2511             <code>public void sayHello(View v)</code> method of your context
2512             (typically, your Activity). -->
2513        <attr name="onClick" format="string" />
2514
2515        <!-- Defines over-scrolling behavior. This property is used only if the
2516             View is scrollable. Over-scrolling is the ability for the user to
2517             receive feedback when attempting to scroll beyond meaningful content. -->
2518        <attr name="overScrollMode">
2519            <!-- Always show over-scroll effects, even if the content fits entirely
2520                 within the available space. -->
2521            <enum name="always" value="0" />
2522            <!-- Only show over-scroll effects if the content is large
2523                 enough to meaningfully scroll. -->
2524            <enum name="ifContentScrolls" value="1" />
2525            <!-- Never show over-scroll effects. -->
2526            <enum name="never" value="2" />
2527        </attr>
2528
2529        <!-- alpha property of the view, as a value between 0 (completely transparent) and 1
2530             (completely opaque). -->
2531        <attr name="alpha" format="float" />
2532
2533        <!-- base z depth of the view -->
2534        <attr name="elevation" format="dimension" />
2535
2536        <!-- translation in x of the view. This value is added post-layout to the left
2537             property of the view, which is set by its layout. -->
2538        <attr name="translationX" format="dimension" />
2539
2540        <!-- translation in y of the view. This value is added post-layout to the top
2541             property of the view, which is set by its layout. -->
2542        <attr name="translationY" format="dimension" />
2543
2544        <!-- translation in z of the view. This value is added to its elevation. -->
2545        <attr name="translationZ" format="dimension" />
2546
2547        <!-- x location of the pivot point around which the view will rotate and scale.
2548             This xml attribute sets the pivotX property of the View. -->
2549        <attr name="transformPivotX" format="dimension" />
2550
2551        <!-- y location of the pivot point around which the view will rotate and scale.
2552             This xml attribute sets the pivotY property of the View. -->
2553        <attr name="transformPivotY" format="dimension" />
2554
2555        <!-- rotation of the view, in degrees. -->
2556        <attr name="rotation" format="float" />
2557
2558        <!-- rotation of the view around the x axis, in degrees. -->
2559        <attr name="rotationX" format="float" />
2560
2561        <!-- rotation of the view around the y axis, in degrees. -->
2562        <attr name="rotationY" format="float" />
2563
2564        <!-- scale of the view in the x direction. -->
2565        <attr name="scaleX" format="float" />
2566
2567        <!-- scale of the view in the y direction. -->
2568        <attr name="scaleY" format="float" />
2569
2570        <!-- Determines which side the vertical scroll bar should be placed on. -->
2571        <attr name="verticalScrollbarPosition">
2572            <!-- Place the scroll bar wherever the system default determines. -->
2573            <enum name="defaultPosition" value="0" />
2574            <!-- Place the scroll bar on the left. -->
2575            <enum name="left" value="1" />
2576            <!-- Place the scroll bar on the right. -->
2577            <enum name="right" value="2" />
2578        </attr>
2579
2580        <!-- Specifies the type of layer backing this view. The default value is none.
2581             Refer to {@link android.view.View#setLayerType(int, android.graphics.Paint)}
2582             for more information.-->
2583        <attr name="layerType">
2584            <!-- Don't use a layer. -->
2585            <enum name="none" value="0" />
2586            <!-- Use a software layer. Refer to
2587                 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for
2588                 more information. -->
2589            <enum name="software" value="1" />
2590            <!-- Use a hardware layer. Refer to
2591                 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for
2592                 more information. -->
2593            <enum name="hardware" value="2" />
2594        </attr>
2595
2596        <!-- Defines the direction of layout drawing. This typically is associated with writing
2597             direction of the language script used. The possible values are "ltr" for Left-to-Right,
2598             "rtl" for Right-to-Left, "locale", and "inherit" from parent view. If there is nothing
2599             to inherit, "locale" is used. "locale" falls back to "en-US". "ltr" is the direction
2600             used in "en-US". The default for this attribute is "inherit". -->
2601        <attr name="layoutDirection">
2602            <!-- Left-to-Right -->
2603            <enum name="ltr" value="0" />
2604            <!-- Right-to-Left -->
2605            <enum name="rtl" value="1" />
2606            <!-- Inherit from parent -->
2607            <enum name="inherit" value="2" />
2608            <!-- Locale -->
2609            <enum name="locale" value="3" />
2610        </attr>
2611
2612        <!-- Defines the direction of the text. -->
2613         <attr name="textDirection" format="integer">
2614            <!-- Default -->
2615            <enum name="inherit" value="0" />
2616            <!-- Default for the root view. The first strong directional character determines the
2617                 paragraph direction.  If there is no strong directional character, the paragraph
2618                 direction is the view’s resolved layout direction. -->
2619            <enum name="firstStrong" value="1" />
2620            <!-- The paragraph direction is RTL if it contains any strong RTL character, otherwise
2621                 it is LTR if it contains any strong LTR characters.  If there are neither, the
2622                 paragraph direction is the view’s resolved layout direction. -->
2623            <enum name="anyRtl" value="2" />
2624            <!-- The paragraph direction is left to right. -->
2625            <enum name="ltr" value="3" />
2626            <!-- The paragraph direction is right to left. -->
2627            <enum name="rtl" value="4" />
2628            <!-- The paragraph direction is coming from the system Locale. -->
2629            <enum name="locale" value="5" />
2630            <!-- The first strong directional character determines the paragraph direction. If
2631                 there is no strong directional character, the paragraph direction is LTR. -->
2632            <enum name="firstStrongLtr" value="6" />
2633            <!-- The first strong directional character determines the paragraph direction. If
2634                 there is no strong directional character, the paragraph direction is RTL. -->
2635            <enum name="firstStrongRtl" value="7" />
2636        </attr>
2637
2638        <!-- Defines the alignment of the text. -->
2639        <attr name="textAlignment" format="integer">
2640            <!-- Default -->
2641            <enum name="inherit" value="0" />
2642            <!-- Default for the root view. The gravity determines the alignment, ALIGN_NORMAL,
2643                ALIGN_CENTER, or ALIGN_OPPOSITE, which are relative to each paragraph’s
2644                text direction -->
2645            <enum name="gravity" value="1" />
2646            <!-- Align to the start of the paragraph, e.g. ALIGN_NORMAL. -->
2647            <enum name="textStart" value="2" />
2648            <!-- Align to the end of the paragraph, e.g. ALIGN_OPPOSITE. -->
2649            <enum name="textEnd" value="3" />
2650            <!-- Center the paragraph, e.g. ALIGN_CENTER. -->
2651            <enum name="center" value="4" />
2652            <!-- Align to the start of the view, which is ALIGN_LEFT if the view’s resolved
2653                layoutDirection is LTR, and ALIGN_RIGHT otherwise. -->
2654            <enum name="viewStart" value="5" />
2655            <!-- Align to the end of the view, which is ALIGN_RIGHT if the view’s resolved
2656                layoutDirection is LTR, and ALIGN_LEFT otherwise -->
2657            <enum name="viewEnd" value="6" />
2658        </attr>
2659
2660        <!-- Describes whether or not this view is important for accessibility.
2661             If it is important, the view fires accessibility events and is
2662             reported to accessibility services that query the screen. Note:
2663             While not recommended, an accessibility service may decide to
2664             ignore this attribute and operate on all views in the view tree. -->
2665        <attr name="importantForAccessibility" format="integer">
2666            <!-- The system determines whether the view is important for accessibility - default
2667                 (recommended). -->
2668            <enum name="auto" value="0" />
2669            <!-- The view is important for accessibility. -->
2670            <enum name="yes" value="1" />
2671            <!-- The view is not important for accessibility. -->
2672            <enum name="no" value="2" />
2673            <!-- The view is not important for accessibility, nor are any of its descendant
2674                 views. -->
2675            <enum name="noHideDescendants" value="4" />
2676        </attr>
2677
2678        <!-- Indicates to accessibility services whether the user should be notified when
2679             this view changes. -->
2680        <attr name="accessibilityLiveRegion" format="integer">
2681            <!-- Accessibility services should not announce changes to this view. -->
2682            <enum name="none" value="0" />
2683            <!-- Accessibility services should announce changes to this view. -->
2684            <enum name="polite" value="1" />
2685            <!-- Accessibility services should interrupt ongoing speech to immediately
2686                 announce changes to this view. -->
2687            <enum name="assertive" value="2" />
2688        </attr>
2689
2690        <!-- Specifies the id of a view for which this view serves as a label for
2691             accessibility purposes. For example, a TextView before an EditText in
2692             the UI usually specifies what infomation is contained in the EditText.
2693             Hence, the TextView is a label for the EditText. -->
2694        <attr name="labelFor" format="reference" />
2695
2696        <!-- Specifies a theme override for a view. When a theme override is set, the
2697             view will be inflated using a {@link android.content.Context} themed with
2698             the specified resource. During XML inflation, any child views under the
2699             view with a theme override will inherit the themed context. -->
2700        <attr name="theme" />
2701
2702        <!-- Names a View such that it can be identified for Transitions. Names should be
2703             unique in the View hierarchy. -->
2704        <attr name="transitionName" format="string" />
2705
2706        <!-- Specifies that this view should permit nested scrolling within a compatible
2707             ancestor view. -->
2708        <attr name="nestedScrollingEnabled" format="boolean" />
2709
2710        <!-- Sets the state-based animator for the View. -->
2711        <attr name="stateListAnimator" format="reference"/>
2712
2713        <!-- Tint to apply to the background. -->
2714        <attr name="backgroundTint" format="color" />
2715
2716        <!-- Blending mode used to apply the background tint. -->
2717        <attr name="backgroundTintMode">
2718            <!-- The tint is drawn on top of the drawable.
2719                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
2720            <enum name="src_over" value="3" />
2721            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
2722                 color channels are thrown out. [Sa * Da, Sc * Da] -->
2723            <enum name="src_in" value="5" />
2724            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
2725                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
2726            <enum name="src_atop" value="9" />
2727            <!-- Multiplies the color and alpha channels of the drawable with those of
2728                 the tint. [Sa * Da, Sc * Dc] -->
2729            <enum name="multiply" value="14" />
2730            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
2731            <enum name="screen" value="15" />
2732            <!-- Combines the tint and drawable color and alpha channels, clamping the
2733                 result to valid color values. Saturate(S + D) -->
2734            <enum name="add" value="16" />
2735        </attr>
2736
2737        <!-- ViewOutlineProvider used to determine the View's Outline. -->
2738        <attr name="outlineProvider">
2739            <!-- Default, background drawable-driven outline. -->
2740            <enum name="background" value="0" />
2741            <!-- No outline provider. -->
2742            <enum name="none" value="1" />
2743            <!-- Generates an opaque outline for the bounds of the view. -->
2744            <enum name="bounds" value="2" />
2745            <!-- Generates an opaque outline for the padded bounds of the view. -->
2746            <enum name="paddedBounds" value="3" />
2747        </attr>
2748
2749        <!-- Defines the drawable to draw over the content. This can be used as an overlay.
2750             The foreground drawable participates in the padding of the content if the gravity
2751             is set to fill. -->
2752        <attr name="foreground" format="reference|color" />
2753        <!-- Defines the gravity to apply to the foreground drawable. The gravity defaults
2754             to fill. -->
2755        <attr name="foregroundGravity">
2756            <!-- Push object to the top of its container, not changing its size. -->
2757            <flag name="top" value="0x30" />
2758            <!-- Push object to the bottom of its container, not changing its size. -->
2759            <flag name="bottom" value="0x50" />
2760            <!-- Push object to the left of its container, not changing its size. -->
2761            <flag name="left" value="0x03" />
2762            <!-- Push object to the right of its container, not changing its size. -->
2763            <flag name="right" value="0x05" />
2764            <!-- Place object in the vertical center of its container, not changing its size. -->
2765            <flag name="center_vertical" value="0x10" />
2766            <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
2767            <flag name="fill_vertical" value="0x70" />
2768            <!-- Place object in the horizontal center of its container, not changing its size. -->
2769            <flag name="center_horizontal" value="0x01" />
2770            <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
2771            <flag name="fill_horizontal" value="0x07" />
2772            <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
2773            <flag name="center" value="0x11" />
2774            <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
2775            <flag name="fill" value="0x77" />
2776            <!-- Additional option that can be set to have the top and/or bottom edges of
2777                 the child clipped to its container's bounds.
2778                 The clip will be based on the vertical gravity: a top gravity will clip the bottom
2779                 edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
2780            <flag name="clip_vertical" value="0x80" />
2781            <!-- Additional option that can be set to have the left and/or right edges of
2782                 the child clipped to its container's bounds.
2783                 The clip will be based on the horizontal gravity: a left gravity will clip the right
2784                 edge, a right gravity will clip the left edge, and neither will clip both edges. -->
2785            <flag name="clip_horizontal" value="0x08" />
2786        </attr>
2787        <!-- Defines whether the foreground drawable should be drawn inside the padding.
2788             This property is turned on by default. -->
2789        <attr name="foregroundInsidePadding" format="boolean" />
2790        <!-- Tint to apply to the foreground. -->
2791        <attr name="foregroundTint" format="color" />
2792        <!-- Blending mode used to apply the foreground tint. -->
2793        <attr name="foregroundTintMode">
2794            <!-- The tint is drawn on top of the drawable.
2795                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
2796            <enum name="src_over" value="3" />
2797            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
2798                 color channels are thrown out. [Sa * Da, Sc * Da] -->
2799            <enum name="src_in" value="5" />
2800            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
2801                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
2802            <enum name="src_atop" value="9" />
2803            <!-- Multiplies the color and alpha channels of the drawable with those of
2804                 the tint. [Sa * Da, Sc * Dc] -->
2805            <enum name="multiply" value="14" />
2806            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
2807            <enum name="screen" value="15" />
2808            <!-- Combines the tint and drawable color and alpha channels, clamping the
2809                 result to valid color values. Saturate(S + D) -->
2810            <enum name="add" value="16" />
2811        </attr>
2812
2813        <!-- Defines which scroll indicators should be displayed when the view
2814             can be scrolled. Multiple values may be combined using logical OR,
2815             for example "top|bottom". -->
2816        <attr name="scrollIndicators">
2817            <!-- No scroll indicators are displayed. -->
2818            <flag name="none" value="0x00" />
2819            <!-- Displays top scroll indicator when view can be scrolled up. -->
2820            <flag name="top" value="0x01" />
2821            <!-- Displays bottom scroll indicator when vew can be scrolled down. -->
2822            <flag name="bottom" value="0x02" />
2823            <!-- Displays left scroll indicator when vew can be scrolled left. -->
2824            <flag name="left" value="0x04" />
2825            <!-- Displays right scroll indicator when vew can be scrolled right. -->
2826            <flag name="right" value="0x08" />
2827            <!-- Displays right scroll indicator when vew can be scrolled in the
2828                 start direction. -->
2829            <flag name="start" value="0x10" />
2830            <!-- Displays right scroll indicator when vew can be scrolled in the
2831                 end direction. -->
2832            <flag name="end" value="0x20" />
2833        </attr>
2834
2835        <attr name="pointerIcon">
2836            <!-- Null icon, pointer becomes invisible. -->
2837            <enum name="none" value="0" />
2838            <!-- The default icon of arrow pointer. -->
2839            <enum name="arrow" value="1000" />
2840            <!-- Pointer icon indicating context-menu will appear. -->
2841            <enum name="context_menu" value="1001" />
2842            <!-- Pointer icon of a hand with the index finger. -->
2843            <enum name="hand" value="1002" />
2844            <!-- Pointer icon indicating help. -->
2845            <enum name="help" value="1003" />
2846            <!-- Pointer icon indicating something is going on and waiting. -->
2847            <enum name="wait" value="1004" />
2848            <!-- Pointer icon for cell and grid. -->
2849            <enum name="cell" value="1006" />
2850            <!-- Pointer icon of crosshair, indicating to spot a location. -->
2851            <enum name="crosshair" value="1007" />
2852            <!-- Pointer icon of I-beam, usually for text. -->
2853            <enum name="text" value="1008" />
2854            <!-- Pointer icon of I-beam with 90-degree rotated, for vertical text. -->
2855            <enum name="vertical_text" value="1009" />
2856            <!-- Pointer icon of 'alias', indicating an alias of/shortcut to something is to be
2857                 created. -->
2858            <enum name="alias" value="1010" />
2859            <!-- Pointer icon of 'copy', used for drag/drop. -->
2860            <enum name="copy" value="1011" />
2861            <!-- Pointer icon of 'no-drop', indicating the drop will not be accepted at the
2862                 current location. -->
2863            <enum name="no_drop" value="1012" />
2864            <!-- Pointer icon of four-way arrows, indicating scrolling all direction. -->
2865            <enum name="all_scroll" value="1013" />
2866            <!-- Pointer icon of horizontal double arrow, indicating horizontal resize. -->
2867            <enum name="horizontal_double_arrow" value="1014" />
2868            <!-- Pointer icon of vertical double arrow, indicating vertical resize. -->
2869            <enum name="vertical_double_arrow" value="1015" />
2870            <!-- Pointer icon of diagonal double arrow, starting from top-right to bottom-left.
2871                 Indicating freeform resize. -->
2872            <enum name="top_right_diagonal_double_arrow" value="1016" />
2873            <!-- Pointer icon of diagonal double arrow, starting from top-left to bottom-right.
2874                 Indicating freeform resize. -->
2875            <enum name="top_left_diagonal_double_arrow" value="1017" />
2876            <!-- Pointer icon indicating zoom-in. -->
2877            <enum name="zoom_in" value="1018" />
2878            <!-- Pointer icon indicating zoom-out. -->
2879            <enum name="zoom_out" value="1019" />
2880            <!-- Pointer icon of a hand sign to grab something. -->
2881            <enum name="grab" value="1020" />
2882            <!-- Pointer icon of a hand sign while grabbing something. -->
2883            <enum name="grabbing" value="1021" />
2884        </attr>
2885
2886        <!-- Whether this view has elements that may overlap when drawn. See
2887             {@link android.view.View#forceHasOverlappingRendering(boolean)}. -->
2888        <attr name="forceHasOverlappingRendering" format="boolean" />
2889
2890        <!-- Defines text displayed in a small popup window on hover or long press. -->
2891        <attr name="tooltip" format="string" localization="suggested" />
2892
2893        <!-- Whether this view is a root of a keyboard navigation cluster.
2894             See {@link android.view.View#setKeyboardNavigationCluster(boolean)}. -->
2895        <attr name="keyboardNavigationCluster" format="boolean" />
2896
2897        <!-- Whether this view is a root of a keyboard navigation section.
2898             See {@link android.view.View#setKeyboardNavigationSection(boolean)}. -->
2899        <attr name="keyboardNavigationSection" format="boolean" />
2900
2901        <!-- Defines the next keyboard navigation cluster.
2902
2903             If the reference refers to a view that does not exist or is part
2904             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2905             will result when the reference is accessed.-->
2906        <attr name="nextClusterForward" format="reference"/>
2907
2908        <!-- Defines the next keyboard navigation section.
2909
2910             If the reference refers to a view that does not exist or is part
2911             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2912             will result when the reference is accessed.-->
2913        <attr name="nextSectionForward" format="reference"/>
2914
2915    </declare-styleable>
2916
2917    <!-- Attributes that can be assigned to a tag for a particular View. -->
2918    <declare-styleable name="ViewTag">
2919        <!-- Specifies the key identifying a tag. This must be a resource reference. -->
2920        <attr name="id" />
2921        <!-- Specifies the value with which to tag the view. -->
2922        <attr name="value" />
2923    </declare-styleable>
2924
2925    <!-- Attributes that can be assigned to an &lt;include&gt; tag.
2926         @hide -->
2927    <declare-styleable name="Include">
2928        <attr name="id" />
2929        <attr name="visibility" />
2930    </declare-styleable>
2931
2932    <!-- Attributes that can be used with a {@link android.view.ViewGroup} or any
2933         of its subclasses.  Also see {@link #ViewGroup_Layout} for
2934         attributes that this class processes in its children. -->
2935    <declare-styleable name="ViewGroup">
2936        <!-- Defines whether changes in layout (caused by adding and removing items) should
2937             cause a LayoutTransition to run. When this flag is set to true, a default
2938             LayoutTransition object will be set on the ViewGroup container and default
2939             animations will run when these layout changes occur.-->
2940        <attr name="animateLayoutChanges" format="boolean" />
2941        <!-- Defines whether a child is limited to draw inside of its bounds or not.
2942             This is useful with animations that scale the size of the children to more
2943             than 100% for instance. In such a case, this property should be set to false
2944             to allow the children to draw outside of their bounds. The default value of
2945             this property is true. -->
2946        <attr name="clipChildren" format="boolean" />
2947        <!-- Defines whether the ViewGroup will clip its children and resize (but not clip) any
2948             EdgeEffect to its padding, if padding is not zero. This property is set to true by
2949             default. -->
2950        <attr name="clipToPadding" format="boolean" />
2951        <!-- Defines the layout animation to use the first time the ViewGroup is laid out.
2952             Layout animations can also be started manually after the first layout. -->
2953        <attr name="layoutAnimation" format="reference" />
2954        <!-- Defines whether layout animations should create a drawing cache for their
2955             children. Enabling the animation cache consumes more memory and requires
2956             a longer initialization but provides better performance. The animation
2957             cache is enabled by default. -->
2958        <attr name="animationCache" format="boolean" />
2959        <!-- Defines the persistence of the drawing cache. The drawing cache might be
2960             enabled by a ViewGroup for all its children in specific situations (for
2961             instance during a scrolling.) This property lets you persist the cache
2962             in memory after its initial usage. Persisting the cache consumes more
2963             memory but may prevent frequent garbage collection is the cache is created
2964             over and over again. By default the persistence is set to scrolling. -->
2965        <attr name="persistentDrawingCache">
2966            <!-- The drawing cache is not persisted after use. -->
2967            <flag name="none" value="0x0" />
2968            <!-- The drawing cache is persisted after a layout animation. -->
2969            <flag name="animation" value="0x1" />
2970            <!-- The drawing cache is persisted after a scroll. -->
2971            <flag name="scrolling" value="0x2" />
2972            <!-- The drawing cache is always persisted. -->
2973            <flag name="all" value="0x3" />
2974        </attr>
2975        <!-- Defines whether the ViewGroup should always draw its children using their
2976             drawing cache or not. The default value is true. -->
2977        <attr name="alwaysDrawnWithCache" format="boolean" />
2978        <!-- Sets whether this ViewGroup's drawable states also include
2979             its children's drawable states.  This is used, for example, to
2980             make a group appear to be focused when its child EditText or button
2981             is focused. -->
2982        <attr name="addStatesFromChildren" format="boolean" />
2983
2984        <!-- Defines the relationship between the ViewGroup and its descendants
2985             when looking for a View to take focus. -->
2986        <attr name="descendantFocusability">
2987            <!-- The ViewGroup will get focus before any of its descendants. -->
2988            <enum name="beforeDescendants" value="0" />
2989            <!-- The ViewGroup will get focus only if none of its descendants want it. -->
2990            <enum name="afterDescendants" value="1" />
2991            <!-- The ViewGroup will block its descendants from receiving focus. -->
2992            <enum name="blocksDescendants" value="2" />
2993        </attr>
2994
2995        <!-- Set to true if this ViewGroup blocks focus in the presence of a touchscreen. -->
2996        <attr name="touchscreenBlocksFocus" format="boolean" />
2997
2998        <!-- Sets whether this ViewGroup should split MotionEvents
2999             to separate child views during touch event dispatch.
3000             If false (default), touch events will be dispatched to
3001             the child view where the first pointer went down until
3002             the last pointer goes up.
3003             If true, touch events may be dispatched to multiple children.
3004             MotionEvents for each pointer will be dispatched to the child
3005             view where the initial ACTION_DOWN event happened.
3006             See {@link android.view.ViewGroup#setMotionEventSplittingEnabled(boolean)}
3007             for more information. -->
3008        <attr name="splitMotionEvents" format="boolean" />
3009
3010        <!-- Defines the layout mode of this ViewGroup. -->
3011        <attr name="layoutMode">
3012            <!-- Use the children's clip bounds when laying out this container. -->
3013            <enum name="clipBounds" value="0" />
3014            <!-- Use the children's optical bounds when laying out this container. -->
3015            <enum name="opticalBounds" value="1" />
3016        </attr>
3017
3018        <!-- Sets whether or not this ViewGroup should be treated as a single entity
3019             when doing an Activity transition. Typically, the elements inside a
3020             ViewGroup are each transitioned from the scene individually. The default
3021             for a ViewGroup is false unless it has a background. See
3022             {@link android.app.ActivityOptions#makeSceneTransitionAnimation(android.app.Activity,
3023             android.view.View, String)} for more information. Corresponds to
3024             {@link android.view.ViewGroup#setTransitionGroup(boolean)}.-->
3025        <attr name="transitionGroup" format="boolean" />
3026    </declare-styleable>
3027
3028    <!-- A {@link android.view.ViewStub} lets you lazily include other XML layouts
3029         inside your application at runtime. -->
3030    <declare-styleable name="ViewStub">
3031        <!-- Supply an identifier name for this view. -->
3032        <attr name="id" />
3033        <!-- Supply an identifier for the layout resource to inflate when the ViewStub
3034             becomes visible or when forced to do so. The layout resource must be a
3035             valid reference to a layout. -->
3036        <attr name="layout" format="reference" />
3037        <!-- Overrides the id of the inflated View with this value. -->
3038        <attr name="inflatedId" format="reference" />
3039    </declare-styleable>
3040
3041    <!-- ===================================== -->
3042    <!-- View package parent layout attributes -->
3043    <!-- ===================================== -->
3044    <eat-comment />
3045
3046    <!-- This is the basic set of layout attributes that are common to all
3047         layout managers.  These attributes are specified with the rest of
3048         a view's normal attributes (such as {@link android.R.attr#background},
3049         but will be parsed by the view's parent and ignored by the child.
3050        <p>The values defined here correspond to the base layout attribute
3051        class {@link android.view.ViewGroup.LayoutParams}. -->
3052    <declare-styleable name="ViewGroup_Layout">
3053        <!-- Specifies the basic width of the view.  This is a required attribute
3054             for any view inside of a containing layout manager.  Its value may
3055             be a dimension (such as "12dip") for a constant width or one of
3056             the special constants. -->
3057        <attr name="layout_width" format="dimension">
3058            <!-- The view should be as big as its parent (minus padding).
3059                 This constant is deprecated starting from API Level 8 and
3060                 is replaced by {@code match_parent}. -->
3061            <enum name="fill_parent" value="-1" />
3062            <!-- The view should be as big as its parent (minus padding).
3063                 Introduced in API Level 8. -->
3064            <enum name="match_parent" value="-1" />
3065            <!-- The view should be only big enough to enclose its content (plus padding). -->
3066            <enum name="wrap_content" value="-2" />
3067        </attr>
3068
3069        <!-- Specifies the basic height of the view.  This is a required attribute
3070             for any view inside of a containing layout manager.  Its value may
3071             be a dimension (such as "12dip") for a constant height or one of
3072             the special constants. -->
3073        <attr name="layout_height" format="dimension">
3074            <!-- The view should be as big as its parent (minus padding).
3075                 This constant is deprecated starting from API Level 8 and
3076                 is replaced by {@code match_parent}. -->
3077            <enum name="fill_parent" value="-1" />
3078            <!-- The view should be as big as its parent (minus padding).
3079                 Introduced in API Level 8. -->
3080            <enum name="match_parent" value="-1" />
3081            <!-- The view should be only big enough to enclose its content (plus padding). -->
3082            <enum name="wrap_content" value="-2" />
3083        </attr>
3084    </declare-styleable>
3085
3086    <!-- This is the basic set of layout attributes for layout managers that
3087         wish to place margins around their child views.
3088         These attributes are specified with the rest of
3089         a view's normal attributes (such as {@link android.R.attr#background},
3090         but will be parsed by the view's parent and ignored by the child.
3091        <p>The values defined here correspond to the base layout attribute
3092        class {@link android.view.ViewGroup.MarginLayoutParams}. -->
3093    <declare-styleable name="ViewGroup_MarginLayout">
3094        <attr name="layout_width" />
3095        <attr name="layout_height" />
3096        <!--  Specifies extra space on the left, top, right and bottom
3097              sides of this view.  If both layout_margin and any of layout_marginLeft,
3098              layout_marginRight, layout_marginStart, layout_marginEnd,
3099              layout_marginTop, and layout_marginBottom are
3100              also specified, the layout_margin value will take precedence over the
3101              edge-specific values. This space is outside this view's bounds.
3102              Margin values should be positive. -->
3103        <attr name="layout_margin" format="dimension"  />
3104        <!--  Specifies extra space on the left side of this view.
3105              This space is outside this view's bounds.
3106              Margin values should be positive. -->
3107        <attr name="layout_marginLeft" format="dimension"  />
3108        <!--  Specifies extra space on the top side of this view.
3109              This space is outside this view's bounds.
3110              Margin values should be positive.-->
3111        <attr name="layout_marginTop" format="dimension" />
3112        <!--  Specifies extra space on the right side of this view.
3113              This space is outside this view's bounds.
3114              Margin values should be positive.-->
3115        <attr name="layout_marginRight" format="dimension"  />
3116        <!--  Specifies extra space on the bottom side of this view.
3117              This space is outside this view's bounds.
3118              Margin values should be positive.-->
3119        <attr name="layout_marginBottom" format="dimension"  />
3120        <!--  Specifies extra space on the start side of this view.
3121              This space is outside this view's bounds.
3122              Margin values should be positive.-->
3123        <attr name="layout_marginStart" format="dimension"  />
3124        <!--  Specifies extra space on the end side of this view.
3125              This space is outside this view's bounds.
3126              Margin values should be positive.-->
3127        <attr name="layout_marginEnd" format="dimension"  />
3128        <!--  Specifies extra space on the left and right sides of this view.
3129              Specifying layout_marginHorizontal is equivalent to specifying
3130              either layout_marginLeft and layout_marginRight or
3131              layout_marginStart and layout_marginEnd with that same value.
3132              If both layout_marginHorizontal and any of layout_marginLeft,
3133              layout_marginRight, layout_marginStart, and layout_marginEnd are
3134              also specified, the layout_marginHorizontal value will take precedence over the
3135              edge-specific values. Also, layout_margin will always take precendent over
3136              any of these values, including layout_marginHorizontal.
3137              This space is outside this view's bounds.
3138              Margin values should be positive.-->
3139        <attr name="layout_marginHorizontal" format="dimension"  />
3140        <!--  Specifies extra space on the tyop and bottom sides of this view.
3141              Specifying layout_marginVertical is equivalent to specifying
3142              layout_marginTop and layout_marginBottom with that same value.
3143              If both layout_marginVertical and either/both layout_marginTop and
3144              layout_marginBottom are also specified, the layout_marginVertical value
3145              will take precedence over the edge-specific values.
3146              Also, layout_margin will always take precendent over
3147              any of these values, including layout_marginHorizontal.
3148              This space is outside this view's bounds.
3149              Margin values should be positive.-->
3150        <attr name="layout_marginVertical" format="dimension"  />
3151    </declare-styleable>
3152
3153    <!-- Use <code>input-method</code> as the root tag of the XML resource that
3154         describes an
3155         {@link android.view.inputmethod.InputMethod} service, which is
3156         referenced from its
3157         {@link android.view.inputmethod.InputMethod#SERVICE_META_DATA}
3158         meta-data entry.  Described here are the attributes that can be
3159         included in that tag. -->
3160    <declare-styleable name="InputMethod">
3161        <!-- Component name of an activity that allows the user to modify
3162             the settings for this service. -->
3163        <attr name="settingsActivity" format="string" />
3164        <!-- Set to true in all of the configurations for which this input
3165             method should be considered an option as the default. -->
3166        <attr name="isDefault" format="boolean" />
3167        <!-- Set to true if this input method supports ways to switch to
3168             a next input method (e.g. a globe key.). When this is true and
3169             InputMethodManager#shouldOfferSwitchingToNextInputMethod() returns true,
3170             the IME has to offer ways to invoke InputMethodManager#switchToNextInputMethod()
3171             accordingly.
3172             <p> Note that the system determines the most appropriate next input method
3173             and subtype in order to provide the consistent user experience in switching
3174             between IMEs and subtypes. -->
3175        <attr name="supportsSwitchingToNextInputMethod" format="boolean" />
3176    </declare-styleable>
3177
3178    <!-- This is the subtype of InputMethod. Subtype can describe locales (e.g. en_US, fr_FR...)
3179         and modes (e.g. voice, keyboard...), and is used for IME switch. This subtype allows
3180         the system to call the specified subtype of the IME directly. -->
3181    <declare-styleable name="InputMethod_Subtype">
3182        <!-- The name of the subtype. -->
3183        <attr name="label" />
3184        <!-- The icon of the subtype. -->
3185        <attr name="icon" />
3186        <!-- The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...)
3187             and will be passed to the IME when the framework calls the IME
3188             with the subtype. This is also used by the framework to know the supported locales
3189             of the IME.  -->
3190        <attr name="imeSubtypeLocale" format="string" />
3191        <!-- The mode of the subtype. This string can be a mode (e.g. voice, keyboard...) and this
3192             string will be passed to the IME when the framework calls the IME with the
3193             subtype.  {@link android.view.inputmethod.InputMethodSubtype#getLocale()} returns the
3194             value specified in this attribute.  -->
3195        <attr name="imeSubtypeMode" format="string" />
3196        <!-- Set true if the subtype is auxiliary.  An auxiliary subtype won't be shown in the
3197             input method selection list in the settings app.
3198             InputMethodManager#switchToLastInputMethod will ignore auxiliary subtypes when it
3199             chooses a target subtype. -->
3200        <attr name="isAuxiliary" format="boolean" />
3201        <!-- Set true when this subtype should be selected by default if no other subtypes are
3202             selected explicitly. Note that a subtype with this parameter being true will
3203             not be shown in the subtypes list. -->
3204        <attr name="overridesImplicitlyEnabledSubtype" format="boolean" />
3205        <!-- The extra value of the subtype. This string can be any string and will be passed to
3206             the IME when the framework calls the IME with the subtype.  -->
3207        <attr name="imeSubtypeExtraValue" format="string" />
3208        <!-- The unique id for the subtype. The input method framework keeps track of enabled
3209             subtypes by ID. When the IME package gets upgraded, enabled IDs will stay enabled even
3210             if other attributes are different. If the ID is unspecified (by calling the other
3211             constructor or 0. Arrays.hashCode(new Object[] {locale, mode, extraValue,
3212             isAuxiliary, overridesImplicitlyEnabledSubtype}) will be used instead. -->
3213        <attr name="subtypeId" format="integer"/>
3214        <!-- Set to true if this subtype is ASCII capable. If the subtype is ASCII
3215             capable, it should guarantee that the user can input ASCII characters with
3216             this subtype. This is important because many password fields only allow
3217             ASCII-characters. -->
3218        <attr name="isAsciiCapable" format="boolean" />
3219        <!-- The BCP-47 Language Tag of the subtype.  This replaces
3220        {@link android.R.styleable#InputMethod_Subtype_imeSubtypeLocale}.  -->
3221        <attr name="languageTag" format="string" />
3222    </declare-styleable>
3223
3224    <!-- Use <code>spell-checker</code> as the root tag of the XML resource that
3225         describes an
3226         {@link android.service.textservice.SpellCheckerService} service, which is
3227         referenced from its
3228         {@link android.view.textservice.SpellCheckerSession#SERVICE_META_DATA}
3229         meta-data entry.  Described here are the attributes that can be
3230         included in that tag. -->
3231    <declare-styleable name="SpellChecker">
3232        <!-- The name of the spell checker. -->
3233        <attr name="label" />
3234        <!-- Component name of an activity that allows the user to modify
3235             the settings for this service. -->
3236        <attr name="settingsActivity"/>
3237    </declare-styleable>
3238
3239    <!-- This is the subtype of the spell checker. Subtype can describe locales (e.g. en_US, fr_FR...) -->
3240    <declare-styleable name="SpellChecker_Subtype">
3241        <!-- The name of the subtype. -->
3242        <attr name="label" />
3243        <!-- The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...)
3244             This is also used by the framework to know the supported locales
3245             of the spell checker. {@link android.view.textservice.SpellCheckerSubtype#getLocale()}
3246             returns the value specified in this attribute.  -->
3247        <attr name="subtypeLocale" format="string" />
3248        <!-- The extra value of the subtype. This string can be any string and will be passed to
3249             the SpellChecker.  -->
3250        <attr name="subtypeExtraValue" format="string" />
3251        <!-- The unique id for the subtype. The text service (spell checker) framework keeps track
3252             of enabled subtypes by ID. When the spell checker package gets upgraded, enabled IDs
3253             will stay enabled even if other attributes are different. If the ID is unspecified or
3254             or explicitly specified to 0 in XML resources,
3255             {@code Arrays.hashCode(new Object[] {subtypeLocale, extraValue}) will be used instead.
3256              -->
3257        <attr name="subtypeId" />
3258        <!-- The BCP-47 Language Tag of the subtype.  This replaces
3259        {@link android.R.styleable#SpellChecker_Subtype_subtypeLocale}.  -->
3260        <attr name="languageTag" />
3261    </declare-styleable>
3262
3263    <!-- Use <code>accessibility-service</code> as the root tag of the XML resource that
3264         describes an {@link android.accessibilityservice.AccessibilityService} service,
3265         which is referenced from its
3266         {@link android.accessibilityservice.AccessibilityService#SERVICE_META_DATA}
3267         meta-data entry. -->
3268    <declare-styleable name="AccessibilityService">
3269        <!-- The event types this serivce would like to receive as specified in
3270             {@link android.view.accessibility.AccessibilityEvent}. This setting
3271             can be changed at runtime by calling
3272             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3273             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3274        <attr name="accessibilityEventTypes">
3275            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CLICKED} events.-->
3276            <flag name="typeViewClicked" value="0x00000001" />
3277            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_LONG_CLICKED} events. -->
3278            <flag name="typeViewLongClicked" value="0x00000002" />
3279            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SELECTED} events. -->
3280            <flag name="typeViewSelected" value="0x00000004" />
3281            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_FOCUSED} events. -->
3282            <flag name="typeViewFocused" value="0x00000008" />
3283            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_CHANGED} events. -->
3284            <flag name="typeViewTextChanged" value="0x00000010" />
3285            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_STATE_CHANGED} events. -->
3286            <flag name="typeWindowStateChanged" value="0x00000020" />
3287            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_NOTIFICATION_STATE_CHANGED} events. -->
3288            <flag name="typeNotificationStateChanged" value="0x00000040" />
3289            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_ENTER} events. -->
3290            <flag name="typeViewHoverEnter" value="0x00000080" />
3291            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_EXIT} events. -->
3292            <flag name="typeViewHoverExit" value="0x00000100" />
3293            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_START} events. -->
3294            <flag name="typeTouchExplorationGestureStart" value="0x00000200" />
3295            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_END} events. -->
3296            <flag name="typeTouchExplorationGestureEnd" value="0x00000400" />
3297            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_CONTENT_CHANGED} events. -->
3298            <flag name="typeWindowContentChanged" value="0x00000800" />
3299            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SCROLLED} events. -->
3300            <flag name="typeViewScrolled" value="0x000001000" />
3301            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_SELECTION_CHANGED} events. -->
3302            <flag name="typeViewTextSelectionChanged" value="0x000002000" />
3303            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ANNOUNCEMENT} events. -->
3304            <flag name="typeAnnouncement" value="0x00004000" />
3305            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUSED} events. -->
3306            <flag name="typeViewAccessibilityFocused" value="0x00008000" />
3307            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED} events. -->
3308            <flag name="typeViewAccessibilityFocusCleared" value="0x00010000" />
3309            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY} events. -->
3310            <flag name="typeViewTextTraversedAtMovementGranularity" value="0x00020000" />
3311            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_START} events. -->
3312            <flag name="typeGestureDetectionStart" value="0x00040000" />
3313            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_END} events. -->
3314            <flag name="typeGestureDetectionEnd" value="0x00080000" />
3315            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_START} events. -->
3316            <flag name="typeTouchInteractionStart" value="0x00100000" />
3317            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_END} events. -->
3318            <flag name="typeTouchInteractionEnd" value="0x00200000" />
3319            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOWS_CHANGED} events. -->
3320            <flag name="typeWindowsChanged" value="0x00400000" />
3321            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CONTEXT_CLICKED} events. -->
3322            <flag name="typeContextClicked" value="0x00800000" />
3323            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ASSIST_READING_CONTEXT} events. -->
3324            <flag name="typeAssistReadingContext" value="0x01000000" />
3325            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPES_ALL_MASK} i.e. all events. -->
3326            <flag name="typeAllMask" value="0xffffffff" />
3327        </attr>
3328        <!-- Comma separated package names from which this serivce would like to receive events (leave out for all packages).
3329             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3330             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3331        <attr name="packageNames" format="string" />
3332        <!-- The feedback types this serivce provides as specified in
3333             {@link android.accessibilityservice.AccessibilityServiceInfo}. This setting
3334             can be changed at runtime by calling
3335             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3336             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3337        <attr name="accessibilityFeedbackType">
3338            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_SPOKEN} feedback. -->
3339            <flag name="feedbackSpoken" value="0x00000001" />
3340            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_HAPTIC} feedback. -->
3341            <flag name="feedbackHaptic" value="0x00000002" />
3342            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_AUDIBLE} feedback. -->
3343            <flag name="feedbackAudible" value="0x00000004" />
3344            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_VISUAL} feedback. -->
3345            <flag name="feedbackVisual" value="0x00000008" />
3346            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_GENERIC} feedback. -->
3347            <flag name="feedbackGeneric" value="0x00000010" />
3348            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_ALL_MASK} feedback. -->
3349            <flag name="feedbackAllMask" value="0xffffffff" />
3350        </attr>
3351        <!-- The minimal period in milliseconds between two accessibility events of the same type
3352             are sent to this serivce. This setting can be changed at runtime by calling
3353             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3354             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3355        <attr name="notificationTimeout" format="integer" />
3356        <!-- Additional flags as specified in
3357             {@link android.accessibilityservice.AccessibilityServiceInfo}.
3358             This setting can be changed at runtime by calling
3359             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3360             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3361        <attr name="accessibilityFlags">
3362            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#DEFAULT} -->
3363            <flag name="flagDefault" value="0x00000001" />
3364            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_INCLUDE_NOT_IMPORTANT_VIEWS} -->
3365            <flag name="flagIncludeNotImportantViews" value="0x00000002" />
3366            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} -->
3367            <flag name="flagRequestTouchExplorationMode" value="0x00000004" />
3368            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} -->
3369            <flag name="flagRequestEnhancedWebAccessibility" value="0x00000008" />
3370            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REPORT_VIEW_IDS} -->
3371            <flag name="flagReportViewIds" value="0x00000010" />
3372            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} -->
3373            <flag name="flagRequestFilterKeyEvents" value="0x00000020" />
3374            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_RETRIEVE_INTERACTIVE_WINDOWS} -->
3375            <flag name="flagRetrieveInteractiveWindows" value="0x00000040" />
3376        </attr>
3377        <!-- Component name of an activity that allows the user to modify
3378             the settings for this service. This setting cannot be changed at runtime. -->
3379        <attr name="settingsActivity" />
3380        <!-- Attribute whether the accessibility service wants to be able to retrieve the
3381             active window content. This setting cannot be changed at runtime. -->
3382        <attr name="canRetrieveWindowContent" format="boolean" />
3383        <!-- Attribute whether the accessibility service wants to be able to request touch
3384             exploration mode in which touched items are spoken aloud and the UI can be
3385             explored via gestures.
3386             <p>
3387             Required to allow setting the {@link android.accessibilityservice
3388             #AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} flag.
3389             </p>
3390         -->
3391        <attr name="canRequestTouchExplorationMode" format="boolean" />
3392        <!-- Attribute whether the accessibility service wants to be able to request enhanced
3393             web accessibility enhancements. For example, installing scripts to make app
3394             content more accessible.
3395             <p>
3396             Required to allow setting the {@link android.accessibilityservice
3397             #AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} flag.
3398             </p>
3399         -->
3400        <attr name="canRequestEnhancedWebAccessibility" format="boolean" />
3401        <!-- Attribute whether the accessibility service wants to be able to request to
3402             filter key events.
3403             <p>
3404             Required to allow setting the {@link android.accessibilityservice
3405             #AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} flag.
3406             </p>
3407         -->
3408        <attr name="canRequestFilterKeyEvents" format="boolean" />
3409        <!-- Attribute whether the accessibility service wants to be able to control
3410             display magnification.
3411             <p>
3412             Required to allow setting the {@link android.accessibilityservice
3413             #AccessibilityServiceInfo#FLAG_CAN_CONTROL_MAGNIFICATION} flag.
3414             </p>
3415         -->
3416        <attr name="canControlMagnification" format="boolean" />
3417        <!-- Attribute whether the accessibility service wants to be able to perform gestures.
3418             <p>
3419             Required to allow setting the {@link android.accessibilityservice
3420             #AccessibilityServiceInfo#FLAG_CAN_PERFORM_GESTURES} flag.
3421             </p>
3422         -->
3423        <attr name="canPerformGestures" format="boolean" />
3424        <!-- Short description of the accessibility service purpose or behavior.-->
3425        <attr name="description" />
3426    </declare-styleable>
3427
3428    <!-- Use <code>print-service</code> as the root tag of the XML resource that
3429         describes an {@link android.printservice.PrintService} service, which is
3430         referenced from its {@link android.printservice.PrintService#SERVICE_META_DATA}
3431         meta-data entry. -->
3432    <declare-styleable name="PrintService">
3433        <!-- Fully qualified class name of an activity that allows the user to modify
3434             the settings for this service. -->
3435        <attr name="settingsActivity" />
3436        <!-- Fully qualified class name of an activity that allows the user to manually
3437             add printers to this print service. -->
3438        <attr name="addPrintersActivity" format="string"/>
3439        <!-- Fully qualified class name of an activity with advanced print options
3440             specific to this print service. -->
3441        <attr name="advancedPrintOptionsActivity" format="string"/>
3442        <!-- The vendor name if this print service is vendor specific. -->
3443        <attr name="vendor" format="string"/>
3444    </declare-styleable>
3445
3446    <!-- Use <code>host-apdu-service</code> as the root tag of the XML resource that
3447         describes an {@link android.nfc.cardemulation.HostApduService} service, which
3448         is referenced from its {@link android.nfc.cardemulation.HostApduService#SERVICE_META_DATA}
3449         entry. -->
3450    <declare-styleable name="HostApduService">
3451        <!-- Short description of the functionality the service implements. This attribute
3452             is mandatory.-->
3453        <attr name="description" />
3454        <!-- Whether the device must be unlocked before routing data to this service.
3455             The default is false.-->
3456        <attr name="requireDeviceUnlock" format="boolean"/>
3457        <!-- A drawable that can be rendered in Android's system UI for representing
3458             the service. -->
3459        <attr name="apduServiceBanner" format="reference"/>
3460        <!-- Component name of an activity that allows the user to modify
3461             the settings for this service. -->
3462        <attr name="settingsActivity"/>
3463    </declare-styleable>
3464
3465    <!-- Use <code>offhost-apdu-service</code> as the root tag of the XML resource that
3466         describes an {@link android.nfc.cardemulation.OffHostApduService}
3467         service, which is referenced from its
3468         {@link android.nfc.cardemulation.OffHostApduService#SERVICE_META_DATA} entry. -->
3469    <declare-styleable name="OffHostApduService">
3470        <!-- Short description of the functionality the service implements. This attribute
3471             is mandatory.-->
3472        <attr name="description" />
3473        <!-- A drawable that can be rendered in Android's system UI for representing
3474             the service. -->
3475        <attr name="apduServiceBanner"/>
3476        <!-- Component name of an activity that allows the user to modify
3477             the settings for this service. -->
3478        <attr name="settingsActivity"/>
3479    </declare-styleable>
3480
3481    <!-- Specify one or more <code>aid-group</code> elements inside a
3482         <code>host-apdu-service</code> or <code>offhost-apdu-service</code>
3483         element to define a group of ISO7816 Application ID (AIDs) that
3484         your service can handle.-->
3485    <declare-styleable name="AidGroup">
3486        <!-- Short description of what the AID group implements. This attribute is mandatory.-->
3487        <attr name="description" />
3488        <!-- The category attribute will be used by the Android platform to present
3489             multiple applications that register ISO 7816 Application IDs (AIDs) in the
3490             same category uniformly.
3491             Additionally, when a category is specified, Android will ensure that either
3492             all AIDs in this group are routed to this application, or none at all.
3493             This attribute is optional.-->
3494        <attr name="category" format="string" />
3495    </declare-styleable>
3496
3497    <!-- Specify one or more <code>aid-filter</code> elements inside a
3498         <code>aid-group</code> element to specify an ISO7816 Application ID (AID)
3499         your service can handle. -->
3500    <declare-styleable name="AidFilter">
3501        <!-- The ISO7816 Application ID. This attribute is mandatory. -->
3502        <attr name="name" />
3503    </declare-styleable>
3504
3505    <!-- Specify one or more <code>aid-prefix-filter</code> elements inside a
3506         <code>aid-group</code> element to specify an ISO7816 Application ID (AID)
3507         prefix your service can handle. -->
3508    <declare-styleable name="AidPrefixFilter">
3509        <!-- The ISO7816 Application ID. This attribute is mandatory. -->
3510        <attr name="name" />
3511    </declare-styleable>
3512
3513    <!-- Use <code>host-nfcf-service</code> as the root tag of the XML resource that
3514         describes an {@link android.nfc.cardemulation.HostNfcFService} service, which
3515         is referenced from its {@link android.nfc.cardemulation.HostNfcFService#SERVICE_META_DATA}
3516         entry. -->
3517    <declare-styleable name="HostNfcFService">
3518        <!-- Short description of the functionality the service implements. This attribute
3519             is mandatory.-->
3520        <attr name="description" />
3521    </declare-styleable>
3522
3523    <!-- Specify one or more <code>system-code-filter</code> elements inside a
3524         <code>host-nfcf-service</code> element to specify a System Code
3525         your service can handle. -->
3526    <declare-styleable name="SystemCodeFilter">
3527        <!-- The System Code. This attribute is mandatory. -->
3528        <attr name="name" />
3529    </declare-styleable>
3530
3531    <!-- Specify one or more <code>nfcid2-filter</code> elements inside a
3532         <code>host-nfcf-service</code> element to specify a NFCID2
3533         your service can handle. -->
3534    <declare-styleable name="Nfcid2Filter">
3535        <!-- The NFCID2. This attribute is mandatory. -->
3536        <attr name="name" />
3537    </declare-styleable>
3538
3539    <declare-styleable name="ActionMenuItemView">
3540        <attr name="minWidth" />
3541    </declare-styleable>
3542
3543    <!-- =============================== -->
3544    <!-- Widget package class attributes -->
3545    <!-- =============================== -->
3546    <eat-comment />
3547
3548    <declare-styleable name="AbsListView">
3549         <!-- Drawable used to indicate the currently selected item in the list. -->
3550        <attr name="listSelector" format="color|reference" />
3551        <!-- When set to true, the selector will be drawn over the selected item.
3552             Otherwise the selector is drawn behind the selected item. The default
3553             value is false. -->
3554        <attr name="drawSelectorOnTop" format="boolean" />
3555        <!-- Used by ListView and GridView to stack their content from the bottom. -->
3556        <attr name="stackFromBottom" format="boolean" />
3557        <!-- When set to true, the list uses a drawing cache during scrolling.
3558             This makes the rendering faster but uses more memory. The default
3559             value is true. -->
3560        <attr name="scrollingCache" format="boolean" />
3561        <!-- When set to true, the list will filter results as the user types. The
3562             List's adapter must support the Filterable interface for this to work. -->
3563        <attr name="textFilterEnabled" format="boolean" />
3564        <!-- Sets the transcript mode for the list. In transcript mode, the list
3565             scrolls to the bottom to make new items visible when they are added. -->
3566        <attr name="transcriptMode">
3567            <!-- Disables transcript mode. This is the default value. -->
3568            <enum name="disabled" value="0"/>
3569            <!-- The list will automatically scroll to the bottom when
3570                 a data set change notification is received and only if the last item is
3571                 already visible on screen. -->
3572            <enum name="normal" value="1" />
3573            <!-- The list will automatically scroll to the bottom, no matter what items
3574                 are currently visible. -->
3575            <enum name="alwaysScroll" value="2" />
3576        </attr>
3577        <!-- Indicates that this list will always be drawn on top of solid, single-color
3578             opaque background. This allows the list to optimize drawing. -->
3579        <attr name="cacheColorHint" format="color" />
3580        <!-- Enables the fast scroll thumb that can be dragged to quickly scroll through
3581             the list. -->
3582        <attr name="fastScrollEnabled" format="boolean" />
3583        <!-- Specifies the style of the fast scroll decorations. -->
3584        <attr name="fastScrollStyle" format="reference" />
3585        <!-- When set to true, the list will use a more refined calculation
3586             method based on the pixels height of the items visible on screen. This
3587             property is set to true by default but should be set to false if your adapter
3588             will display items of varying heights. When this property is set to true and
3589             your adapter displays items of varying heights, the scrollbar thumb will
3590             change size as the user scrolls through the list. When set to false, the list
3591             will use only the number of items in the adapter and the number of items visible
3592             on screen to determine the scrollbar's properties. -->
3593        <attr name="smoothScrollbar" format="boolean" />
3594        <!-- Defines the choice behavior for the view. By default, lists do not have
3595             any choice behavior. By setting the choiceMode to singleChoice, the list
3596             allows up to one item to be in a chosen state. By setting the choiceMode to
3597             multipleChoice, the list allows any number of items to be chosen.
3598             Finally, by setting the choiceMode to multipleChoiceModal the list allows
3599             any number of items to be chosen in a special selection mode.
3600             The application will supply a
3601             {@link android.widget.AbsListView.MultiChoiceModeListener} using
3602             {@link android.widget.AbsListView#setMultiChoiceModeListener} to control the
3603             selection mode. This uses the {@link android.view.ActionMode} API. -->
3604        <attr name="choiceMode">
3605            <!-- Normal list that does not indicate choices. -->
3606            <enum name="none" value="0" />
3607            <!-- The list allows up to one choice. -->
3608            <enum name="singleChoice" value="1" />
3609            <!-- The list allows multiple choices. -->
3610            <enum name="multipleChoice" value="2" />
3611            <!-- The list allows multiple choices in a custom selection mode. -->
3612            <enum name="multipleChoiceModal" value="3" />
3613        </attr>
3614
3615        <!-- When set to true, the list will always show the fast scroll interface.
3616             This setting implies fastScrollEnabled. -->
3617        <attr name="fastScrollAlwaysVisible" format="boolean" />
3618    </declare-styleable>
3619    <!-- @hide -->
3620    <declare-styleable name="RecycleListView">
3621        <!-- Bottom padding to use when no buttons are present. -->
3622        <attr name="paddingBottomNoButtons" format="dimension" />
3623        <!-- Top padding to use when no title is present. -->
3624        <attr name="paddingTopNoTitle" format="dimension" />
3625    </declare-styleable>
3626    <declare-styleable name="AbsSpinner">
3627        <!-- Reference to an array resource that will populate the Spinner.  For static content,
3628             this is simpler than populating the Spinner programmatically. -->
3629        <attr name="entries" />
3630    </declare-styleable>
3631    <declare-styleable name="AnalogClock">
3632        <attr name="dial" format="reference"/>
3633        <attr name="hand_hour" format="reference"/>
3634        <attr name="hand_minute" format="reference"/>
3635    </declare-styleable>
3636    <declare-styleable name="Button">
3637    </declare-styleable>
3638    <declare-styleable name="Chronometer">
3639        <!-- Format string: if specified, the Chronometer will display this
3640             string, with the first "%s" replaced by the current timer value
3641             in "MM:SS" or "H:MM:SS" form.
3642             If no format string is specified, the Chronometer will simply display
3643             "MM:SS" or "H:MM:SS". -->
3644        <attr name="format" format="string" localization="suggested" />
3645        <!-- Specifies whether this Chronometer counts down or counts up from the base.
3646              If not specified this is false and the Chronometer counts up. -->
3647        <attr name="countDown" format="boolean" />
3648    </declare-styleable>
3649    <declare-styleable name="CompoundButton">
3650        <!-- Indicates the initial checked state of this button. -->
3651        <attr name="checked" format="boolean" />
3652        <!-- Drawable used for the button graphic (e.g. checkbox, radio button, etc). -->
3653        <attr name="button" format="reference" />
3654        <!-- Tint to apply to the button graphic. -->
3655        <attr name="buttonTint" format="color" />
3656        <!-- Blending mode used to apply the button graphic tint. -->
3657        <attr name="buttonTintMode">
3658            <!-- The tint is drawn on top of the drawable.
3659                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3660            <enum name="src_over" value="3" />
3661            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3662                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3663            <enum name="src_in" value="5" />
3664            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3665                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3666            <enum name="src_atop" value="9" />
3667            <!-- Multiplies the color and alpha channels of the drawable with those of
3668                 the tint. [Sa * Da, Sc * Dc] -->
3669            <enum name="multiply" value="14" />
3670            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3671            <enum name="screen" value="15" />
3672            <!-- Combines the tint and drawable color and alpha channels, clamping the
3673                 result to valid color values. Saturate(S + D) -->
3674            <enum name="add" value="16" />
3675        </attr>
3676    </declare-styleable>
3677    <declare-styleable name="CheckedTextView">
3678        <!-- Indicates the initial checked state of this text. -->
3679        <attr name="checked" />
3680        <!-- Drawable used for the check mark graphic. -->
3681        <attr name="checkMark" format="reference"/>
3682        <!-- Tint to apply to the check mark. -->
3683        <attr name="checkMarkTint" format="color" />
3684        <!-- Blending mode used to apply the check mark tint. -->
3685        <attr name="checkMarkTintMode">
3686            <!-- The tint is drawn on top of the drawable.
3687                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3688            <enum name="src_over" value="3" />
3689            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3690                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3691            <enum name="src_in" value="5" />
3692            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3693                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3694            <enum name="src_atop" value="9" />
3695            <!-- Multiplies the color and alpha channels of the drawable with those of
3696                 the tint. [Sa * Da, Sc * Dc] -->
3697            <enum name="multiply" value="14" />
3698            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3699            <enum name="screen" value="15" />
3700            <!-- Combines the tint and drawable color and alpha channels, clamping the
3701                 result to valid color values. Saturate(S + D) -->
3702            <enum name="add" value="16" />
3703        </attr>
3704        <!-- Gravity for aligning a CheckedTextView's checkmark to one side or the other. -->
3705        <attr name="checkMarkGravity">
3706            <!-- Push object to the left of its container, not changing its size. -->
3707            <flag name="left" value="0x03" />
3708            <!-- Push object to the right of its container, not changing its size. -->
3709            <flag name="right" value="0x05" />
3710            <!-- Push object to the beginning of its container, not changing its size. -->
3711            <flag name="start" value="0x00800003" />
3712            <!-- Push object to the end of its container, not changing its size. -->
3713            <flag name="end" value="0x00800005" />
3714        </attr>
3715    </declare-styleable>
3716    <declare-styleable name="EditText">
3717    </declare-styleable>
3718    <declare-styleable name="FastScroll">
3719        <!-- Drawable used for the scroll bar thumb. -->
3720        <attr name="thumbDrawable" format="reference" />
3721        <!-- Minimum width of the thumb. -->
3722        <attr name="thumbMinWidth" format="dimension" />
3723        <!-- Minimum height of the thumb. -->
3724        <attr name="thumbMinHeight" format="dimension" />
3725        <!-- Drawable used for the scroll bar track. -->
3726        <attr name="trackDrawable" format="reference" />
3727        <!-- Drawable used for the section header preview when right-aligned. -->
3728        <attr name="backgroundRight" format="reference" />
3729        <!-- Drawable used for the section header preview when left-aligned. -->
3730        <attr name="backgroundLeft" format="reference" />
3731        <!-- Position of section header preview. -->
3732        <attr name="position">
3733            <!-- Floating at the top of the content. -->
3734            <enum name="floating" value="0" />
3735            <!-- Pinned to the thumb, vertically centered with the middle of the thumb. -->
3736            <enum name="atThumb" value="1" />
3737            <!-- Pinned to the thumb, vertically centered with the top edge of the thumb. -->
3738            <enum name="aboveThumb" value="2" />
3739        </attr>
3740        <attr name="textAppearance" />
3741        <attr name="textColor" />
3742        <attr name="textSize" />
3743        <!-- Minimum width of the section header preview. -->
3744        <attr name="minWidth" />
3745        <!-- Minimum height of the section header preview. -->
3746        <attr name="minHeight" />
3747        <!-- Padding for the section header preview. -->
3748        <attr name="padding" />
3749        <!-- Position of thumb in relation to the track. -->
3750        <attr name="thumbPosition">
3751            <!-- The thumb's midpoint is anchored to the track. At its
3752                 extremes, the thumb will extend half-way outside the
3753                 track. -->
3754            <enum name="midpoint" value="0" />
3755            <!-- The thumb is entirely inside the track. At its extremes,
3756                 the thumb will be contained entirely within the track. -->
3757            <enum name="inside" value="1" />
3758        </attr>
3759    </declare-styleable>
3760    <declare-styleable name="FrameLayout">
3761        <!-- Determines whether to measure all children or just those in
3762             the VISIBLE or INVISIBLE state when measuring. Defaults to false. -->
3763        <attr name="measureAllChildren" format="boolean" />
3764    </declare-styleable>
3765    <declare-styleable name="ExpandableListView">
3766        <!-- Indicator shown beside the group View. This can be a stateful Drawable. -->
3767        <attr name="groupIndicator" format="reference" />
3768        <!-- Indicator shown beside the child View. This can be a stateful Drawable. -->
3769        <attr name="childIndicator" format="reference" />
3770        <!-- The left bound for an item's indicator. To specify a left bound specific to children,
3771             use childIndicatorLeft. -->
3772        <attr name="indicatorLeft" format="dimension" />
3773        <!-- The right bound for an item's indicator. To specify a right bound specific to children,
3774             use childIndicatorRight. -->
3775        <attr name="indicatorRight" format="dimension" />
3776        <!-- The left bound for a child's indicator. -->
3777        <attr name="childIndicatorLeft" format="dimension" />
3778        <!-- The right bound for a child's indicator. -->
3779        <attr name="childIndicatorRight" format="dimension" />
3780        <!-- Drawable or color that is used as a divider for children. (It will drawn
3781             below and above child items.) The height of this will be the same as
3782             the height of the normal list item divider. -->
3783        <attr name="childDivider" format="reference|color" />
3784        <!-- The start bound for an item's indicator. To specify a start bound specific to children,
3785             use childIndicatorStart. -->
3786        <attr name="indicatorStart" format="dimension" />
3787        <!-- The end bound for an item's indicator. To specify a right bound specific to children,
3788             use childIndicatorEnd. -->
3789        <attr name="indicatorEnd" format="dimension" />
3790        <!-- The start bound for a child's indicator. -->
3791        <attr name="childIndicatorStart" format="dimension" />
3792        <!-- The end bound for a child's indicator. -->
3793        <attr name="childIndicatorEnd" format="dimension" />
3794    </declare-styleable>
3795    <declare-styleable name="Gallery">
3796        <attr name="gravity" />
3797        <!-- Sets how long a transition animation should run (in milliseconds)
3798             when layout has changed.  Only relevant if animation is turned on. -->
3799        <attr name="animationDuration" format="integer" min="0" />
3800        <attr name="spacing" format="dimension" />
3801        <!-- Sets the alpha on the items that are not selected. -->
3802        <attr name="unselectedAlpha" format="float" />
3803    </declare-styleable>
3804    <declare-styleable name="GridView">
3805        <!-- Defines the default horizontal spacing between columns. -->
3806        <attr name="horizontalSpacing" format="dimension" />
3807        <!-- Defines the default vertical spacing between rows. -->
3808        <attr name="verticalSpacing" format="dimension" />
3809        <!-- Defines how columns should stretch to fill the available empty space, if any. -->
3810        <attr name="stretchMode">
3811            <!-- Stretching is disabled. -->
3812            <enum name="none" value="0"/>
3813            <!-- The spacing between each column is stretched. -->
3814            <enum name="spacingWidth" value="1" />
3815            <!-- Each column is stretched equally. -->
3816            <enum name="columnWidth" value="2" />
3817            <!-- The spacing between each column is uniformly stretched.. -->
3818            <enum name="spacingWidthUniform" value="3" />
3819        </attr>
3820        <!-- Specifies the fixed width for each column. -->
3821        <attr name="columnWidth" format="dimension" />
3822        <!-- Defines how many columns to show. -->
3823        <attr name="numColumns" format="integer" min="0">
3824            <!-- Display as many columns as possible to fill the available space. -->
3825            <enum name="auto_fit" value="-1" />
3826        </attr>
3827        <!-- Specifies the gravity within each cell. -->
3828        <attr name="gravity" />
3829    </declare-styleable>
3830    <declare-styleable name="ImageSwitcher">
3831    </declare-styleable>
3832    <declare-styleable name="ImageView">
3833        <!-- Sets a drawable as the content of this ImageView. -->
3834        <attr name="src" format="reference|color" />
3835        <!-- Controls how the image should be resized or moved to match the size
3836             of this ImageView.  See {@link android.widget.ImageView.ScaleType} -->
3837        <attr name="scaleType">
3838            <!-- Scale using the image matrix when drawing. See
3839                 {@link android.widget.ImageView#setImageMatrix(Matrix)}. -->
3840            <enum name="matrix" value="0" />
3841            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#FILL}. -->
3842            <enum name="fitXY" value="1" />
3843            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#START}. -->
3844            <enum name="fitStart" value="2" />
3845            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#CENTER}. -->
3846            <enum name="fitCenter" value="3" />
3847            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#END}. -->
3848            <enum name="fitEnd" value="4" />
3849            <!-- Center the image in the view, but perform no scaling. -->
3850            <enum name="center" value="5" />
3851            <!-- Scale the image uniformly (maintain the image's aspect ratio) so both dimensions
3852                 (width and height) of the image will be equal to or larger than the corresponding
3853                 dimension of the view (minus padding). The image is then centered in the view. -->
3854            <enum name="centerCrop" value="6" />
3855            <!-- Scale the image uniformly (maintain the image's aspect ratio) so that both
3856                 dimensions (width and height) of the image will be equal to or less than the
3857                 corresponding dimension of the view (minus padding). The image is then centered in
3858                 the view. -->
3859            <enum name="centerInside" value="7" />
3860        </attr>
3861        <!-- Set this to true if you want the ImageView to adjust its bounds
3862             to preserve the aspect ratio of its drawable. -->
3863        <attr name="adjustViewBounds" format="boolean" />
3864        <!-- An optional argument to supply a maximum width for this view.
3865             See {see android.widget.ImageView#setMaxWidth} for details. -->
3866        <attr name="maxWidth" format="dimension" />
3867        <!-- An optional argument to supply a maximum height for this view.
3868             See {see android.widget.ImageView#setMaxHeight} for details. -->
3869        <attr name="maxHeight" format="dimension" />
3870        <!-- The tinting color for the image. By default, the tint will blend using SRC_ATOP mode.
3871             Please note that for compatibility reasons, this is NOT consistent with the default
3872             SRC_IN tint mode used by {@link android.widget.ImageView#setImageTintList} and by
3873             similar tint attributes on other views. -->
3874        <attr name="tint" format="color" />
3875        <!-- If true, the image view will be baseline aligned with based on its
3876             bottom edge. -->
3877        <attr name="baselineAlignBottom" format="boolean" />
3878         <!-- If true, the image will be cropped to fit within its padding. -->
3879        <attr name="cropToPadding" format="boolean" />
3880        <!-- The offset of the baseline within this view. See {see android.view.View#getBaseline}
3881             for details -->
3882        <attr name="baseline" format="dimension" />
3883        <!-- @hide The alpha value (0-255) set on the ImageView's drawable. Equivalent
3884             to calling ImageView.setAlpha(int), not the same as View.setAlpha(float). -->
3885        <attr name="drawableAlpha" format="integer" />
3886        <!-- Blending mode used to apply the image tint. -->
3887        <attr name="tintMode" />
3888    </declare-styleable>
3889    <declare-styleable name="ToggleButton">
3890        <!-- The text for the button when it is checked. -->
3891        <attr name="textOn" format="string" />
3892        <!-- The text for the button when it is not checked. -->
3893        <attr name="textOff" format="string" />
3894        <!-- The alpha to apply to the indicator when disabled. -->
3895        <attr name="disabledAlpha" />
3896    </declare-styleable>
3897    <declare-styleable name="RelativeLayout">
3898        <attr name="gravity" />
3899        <!-- Indicates what view should not be affected by gravity. -->
3900        <attr name="ignoreGravity" format="reference" />
3901    </declare-styleable>
3902    <declare-styleable name="LinearLayout">
3903        <!-- Should the layout be a column or a row?  Use "horizontal"
3904             for a row, "vertical" for a column.  The default is
3905             horizontal. -->
3906        <attr name="orientation" />
3907        <attr name="gravity" />
3908        <!-- When set to false, prevents the layout from aligning its children's
3909             baselines. This attribute is particularly useful when the children
3910             use different values for gravity. The default value is true. -->
3911        <attr name="baselineAligned" format="boolean" />
3912        <!-- When a linear layout is part of another layout that is baseline
3913          aligned, it can specify which of its children to baseline align to
3914          (that is, which child TextView).-->
3915        <attr name="baselineAlignedChildIndex" format="integer" min="0"/>
3916        <!-- Defines the maximum weight sum. If unspecified, the sum is computed
3917             by adding the layout_weight of all of the children. This can be
3918             used for instance to give a single child 50% of the total available
3919             space by giving it a layout_weight of 0.5 and setting the weightSum
3920             to 1.0. -->
3921        <attr name="weightSum" format="float" />
3922        <!-- When set to true, all children with a weight will be considered having
3923             the minimum size of the largest child. If false, all children are
3924             measured normally. -->
3925        <attr name="measureWithLargestChild" format="boolean" />
3926        <!-- Drawable to use as a vertical divider between buttons. -->
3927        <attr name="divider" />
3928        <!-- Setting for which dividers to show. -->
3929        <attr name="showDividers">
3930            <flag name="none" value="0" />
3931            <flag name="beginning" value="1" />
3932            <flag name="middle" value="2" />
3933            <flag name="end" value="4" />
3934        </attr>
3935        <!-- Size of padding on either end of a divider. -->
3936        <attr name="dividerPadding" format="dimension" />
3937    </declare-styleable>
3938    <declare-styleable name="GridLayout">
3939        <!-- The orientation property is not used during layout. It is only used to
3940        allocate row and column parameters when they are not specified by its children's
3941        layout paramters. GridLayout works like LinearLayout in this case;
3942        putting all the components either in a single row or in a single column -
3943        depending on the value of this flag. In the horizontal case, a columnCount
3944        property may be additionally supplied to force new rows to be created when a
3945        row is full. The rowCount attribute may be used similarly in the vertical case.
3946        The default is horizontal. -->
3947        <attr name="orientation" />
3948        <!-- The maxmimum number of rows to create when automatically positioning children. -->
3949        <attr name="rowCount" format="integer" />
3950        <!-- The maxmimum number of columns to create when automatically positioning children. -->
3951        <attr name="columnCount" format="integer" />
3952        <!-- When set to true, tells GridLayout to use default margins when none are specified
3953        in a view's layout parameters.
3954        The default value is false.
3955        See {@link android.widget.GridLayout#setUseDefaultMargins(boolean)}.-->
3956        <attr name="useDefaultMargins" format="boolean" />
3957        <!-- When set to alignMargins, causes alignment to take place between the outer
3958        boundary of a view, as defined by its margins. When set to alignBounds,
3959        causes alignment to take place between the edges of the view.
3960        The default is alignMargins.
3961        See {@link android.widget.GridLayout#setAlignmentMode(int)}.-->
3962        <attr name="alignmentMode" />
3963        <!-- When set to true, forces row boundaries to appear in the same order
3964        as row indices.
3965        The default is true.
3966        See {@link android.widget.GridLayout#setRowOrderPreserved(boolean)}.-->
3967        <attr name="rowOrderPreserved" format="boolean" />
3968        <!-- When set to true, forces column boundaries to appear in the same order
3969        as column indices.
3970        The default is true.
3971        See {@link android.widget.GridLayout#setColumnOrderPreserved(boolean)}.-->
3972        <attr name="columnOrderPreserved" format="boolean" />
3973    </declare-styleable>
3974    <declare-styleable name="ListView">
3975        <!-- Reference to an array resource that will populate the ListView.  For static content,
3976             this is simpler than populating the ListView programmatically. -->
3977        <attr name="entries" />
3978        <!-- Drawable or color to draw between list items. -->
3979        <attr name="divider" format="reference|color" />
3980        <!-- Height of the divider. Will use the intrinsic height of the divider if this
3981             is not specified. -->
3982        <attr name="dividerHeight" format="dimension" />
3983        <!-- When set to false, the ListView will not draw the divider after each header view.
3984             The default value is true. -->
3985        <attr name="headerDividersEnabled" format="boolean" />
3986        <!-- When set to false, the ListView will not draw the divider before each footer view.
3987             The default value is true. -->
3988        <attr name="footerDividersEnabled" format="boolean" />
3989        <!-- Drawable to draw above list content. -->
3990        <attr name="overScrollHeader" format="reference|color" />
3991        <!-- Drawable to draw below list content. -->
3992        <attr name="overScrollFooter" format="reference|color" />
3993    </declare-styleable>
3994    <declare-styleable name="PreferenceFrameLayout">
3995        <!-- Padding to use at the top of the prefs content. -->
3996        <attr name="borderTop" format="dimension" />
3997        <!-- Padding to use at the bottom of the prefs content. -->
3998        <attr name="borderBottom" format="dimension" />
3999        <!-- Padding to use at the left of the prefs content. -->
4000        <attr name="borderLeft" format="dimension" />
4001        <!-- Padding to use at the right of the prefs content. -->
4002        <attr name="borderRight" format="dimension" />
4003    </declare-styleable>
4004    <declare-styleable name="PreferenceFrameLayout_Layout">
4005        <!-- Padding to use at the top of the prefs content. -->
4006        <attr name="layout_removeBorders" format="boolean" />
4007    </declare-styleable>
4008    <declare-styleable name="MenuView">
4009        <!-- Default appearance of menu item text. -->
4010        <attr name="itemTextAppearance" format="reference" />
4011        <!-- Default horizontal divider between rows of menu items. -->
4012        <attr name="horizontalDivider" format="reference" />
4013        <!-- Default vertical divider between menu items. -->
4014        <attr name="verticalDivider" format="reference" />
4015        <!-- Default background for the menu header. -->
4016        <attr name="headerBackground" format="color|reference" />
4017        <!-- Default background for each menu item. -->
4018        <attr name="itemBackground" format="color|reference" />
4019        <!-- Default animations for the menu. -->
4020        <attr name="windowAnimationStyle" />
4021        <!-- Default disabled icon alpha for each menu item that shows an icon. -->
4022        <attr name="itemIconDisabledAlpha" format="float" />
4023        <!-- Whether space should be reserved in layout when an icon is missing. -->
4024        <attr name="preserveIconSpacing" format="boolean" />
4025        <!-- Drawable for the arrow icon indicating a particular item is a submenu. -->
4026        <attr name="subMenuArrow" format="reference" />
4027    </declare-styleable>
4028    <declare-styleable name="IconMenuView">
4029        <!-- Defines the height of each row. -->
4030        <attr name="rowHeight" format="dimension" />
4031        <!-- Defines the maximum number of rows displayed. -->
4032        <attr name="maxRows" format="integer" />
4033        <!-- Defines the maximum number of items per row. -->
4034        <attr name="maxItemsPerRow" format="integer" />
4035        <!-- Defines the maximum number of items to show. -->
4036        <attr name="maxItems" format="integer" />
4037        <!-- 'More' icon. -->
4038        <attr name="moreIcon" format="reference" />
4039    </declare-styleable>
4040
4041    <declare-styleable name="ProgressBar">
4042        <attr name="min" format="integer" />
4043        <!-- Defines the maximum value the progress can take. -->
4044        <attr name="max" format="integer" />
4045        <!-- Defines the default progress value, between 0 and max. -->
4046        <attr name="progress" format="integer" />
4047        <!-- Defines the secondary progress value, between 0 and max. This progress is drawn between
4048             the primary progress and the background.  It can be ideal for media scenarios such as
4049             showing the buffering progress while the default progress shows the play progress. -->
4050        <attr name="secondaryProgress" format="integer" />
4051        <!-- Allows to enable the indeterminate mode. In this mode the progress
4052         bar plays an infinite looping animation. -->
4053        <attr name="indeterminate" format="boolean" />
4054        <!-- Restricts to ONLY indeterminate mode (state-keeping progress mode will not work). -->
4055        <attr name="indeterminateOnly" format="boolean" />
4056        <!-- Drawable used for the indeterminate mode. -->
4057        <attr name="indeterminateDrawable" format="reference" />
4058        <!-- Drawable used for the progress mode. -->
4059        <attr name="progressDrawable" format="reference" />
4060        <!-- Duration of the indeterminate animation. -->
4061        <attr name="indeterminateDuration" format="integer" min="1" />
4062        <!-- Defines how the indeterminate mode should behave when the progress
4063        reaches max. -->
4064        <attr name="indeterminateBehavior">
4065            <!-- Progress starts over from 0. -->
4066            <enum name="repeat" value="1" />
4067            <!-- Progress keeps the current value and goes back to 0. -->
4068            <enum name="cycle" value="2" />
4069        </attr>
4070        <attr name="minWidth" format="dimension" />
4071        <attr name="maxWidth" />
4072        <attr name="minHeight" format="dimension" />
4073        <attr name="maxHeight" />
4074        <attr name="interpolator" format="reference" />
4075        <!-- Timeout between frames of animation in milliseconds
4076             {@deprecated Not used by the framework.} -->
4077        <attr name="animationResolution" format="integer" />
4078        <!-- Defines if the associated drawables need to be mirrored when in RTL mode.
4079             Default is false -->
4080        <attr name="mirrorForRtl" format="boolean" />
4081        <!-- Tint to apply to the progress indicator. -->
4082        <attr name="progressTint" format="color" />
4083        <!-- Blending mode used to apply the progress indicator tint. -->
4084        <attr name="progressTintMode">
4085            <!-- The tint is drawn on top of the drawable.
4086                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4087            <enum name="src_over" value="3" />
4088            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4089                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4090            <enum name="src_in" value="5" />
4091            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4092                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4093            <enum name="src_atop" value="9" />
4094            <!-- Multiplies the color and alpha channels of the drawable with those of
4095                 the tint. [Sa * Da, Sc * Dc] -->
4096            <enum name="multiply" value="14" />
4097            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4098            <enum name="screen" value="15" />
4099            <!-- Combines the tint and drawable color and alpha channels, clamping the
4100                 result to valid color values. Saturate(S + D) -->
4101            <enum name="add" value="16" />
4102        </attr>
4103        <!-- Tint to apply to the progress indicator background. -->
4104        <attr name="progressBackgroundTint" format="color" />
4105        <!-- Blending mode used to apply the progress indicator background tint. -->
4106        <attr name="progressBackgroundTintMode">
4107            <!-- The tint is drawn on top of the drawable.
4108                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4109            <enum name="src_over" value="3" />
4110            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4111                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4112            <enum name="src_in" value="5" />
4113            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4114                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4115            <enum name="src_atop" value="9" />
4116            <!-- Multiplies the color and alpha channels of the drawable with those of
4117                 the tint. [Sa * Da, Sc * Dc] -->
4118            <enum name="multiply" value="14" />
4119            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4120            <enum name="screen" value="15" />
4121            <!-- Combines the tint and drawable color and alpha channels, clamping the
4122                 result to valid color values. Saturate(S + D) -->
4123            <enum name="add" value="16" />
4124        </attr>
4125        <!-- Tint to apply to the secondary progress indicator. -->
4126        <attr name="secondaryProgressTint" format="color" />
4127        <!-- Blending mode used to apply the secondary progress indicator tint. -->
4128        <attr name="secondaryProgressTintMode">
4129            <!-- The tint is drawn on top of the drawable.
4130                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4131            <enum name="src_over" value="3" />
4132            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4133                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4134            <enum name="src_in" value="5" />
4135            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4136                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4137            <enum name="src_atop" value="9" />
4138            <!-- Multiplies the color and alpha channels of the drawable with those of
4139                 the tint. [Sa * Da, Sc * Dc] -->
4140            <enum name="multiply" value="14" />
4141            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4142            <enum name="screen" value="15" />
4143            <!-- Combines the tint and drawable color and alpha channels, clamping the
4144                 result to valid color values. Saturate(S + D) -->
4145            <enum name="add" value="16" />
4146        </attr>
4147        <!-- Tint to apply to the indeterminate progress indicator. -->
4148        <attr name="indeterminateTint" format="color" />
4149        <!-- Blending mode used to apply the indeterminate progress indicator tint. -->
4150        <attr name="indeterminateTintMode">
4151            <!-- The tint is drawn on top of the drawable.
4152                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4153            <enum name="src_over" value="3" />
4154            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4155                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4156            <enum name="src_in" value="5" />
4157            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4158                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4159            <enum name="src_atop" value="9" />
4160            <!-- Multiplies the color and alpha channels of the drawable with those of
4161                 the tint. [Sa * Da, Sc * Dc] -->
4162            <enum name="multiply" value="14" />
4163            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4164            <enum name="screen" value="15" />
4165            <!-- Combines the tint and drawable color and alpha channels, clamping the
4166                 result to valid color values. Saturate(S + D) -->
4167            <enum name="add" value="16" />
4168        </attr>
4169        <!-- Tint to apply to the background. -->
4170        <attr name="backgroundTint" />
4171        <!-- Blending mode used to apply the background tint. -->
4172        <attr name="backgroundTintMode" />
4173    </declare-styleable>
4174
4175    <declare-styleable name="SeekBar">
4176        <!-- Draws the thumb on a seekbar. -->
4177        <attr name="thumb" format="reference" />
4178        <!-- An offset for the thumb that allows it to extend out of the range of the track. -->
4179        <attr name="thumbOffset" format="dimension" />
4180        <!-- Whether to split the track and leave a gap for the thumb drawable. -->
4181        <attr name="splitTrack" format="boolean" />
4182        <!-- Whether to force the track's alpha to ?android:attr/disabledAlpha
4183             when disabled. This is required for Holo and Gingerbread, but
4184             should always be false for Material and  beyond.
4185             @hide Developers shouldn't need to change this. -->
4186        <attr name="useDisabledAlpha" format="boolean" />
4187        <!-- Tint to apply to the thumb drawable. -->
4188        <attr name="thumbTint" format="color" />
4189        <!-- Blending mode used to apply the thumb tint. -->
4190        <attr name="thumbTintMode">
4191            <!-- The tint is drawn on top of the drawable.
4192                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4193            <enum name="src_over" value="3" />
4194            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4195                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4196            <enum name="src_in" value="5" />
4197            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4198                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4199            <enum name="src_atop" value="9" />
4200            <!-- Multiplies the color and alpha channels of the drawable with those of
4201                 the tint. [Sa * Da, Sc * Dc] -->
4202            <enum name="multiply" value="14" />
4203            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4204            <enum name="screen" value="15" />
4205            <!-- Combines the tint and drawable color and alpha channels, clamping the
4206                 result to valid color values. Saturate(S + D) -->
4207            <enum name="add" value="16" />
4208        </attr>
4209        <!-- Drawable displayed at each progress position on a seekbar. -->
4210        <attr name="tickMark" format="reference" />
4211        <!-- Tint to apply to the tick mark drawable. -->
4212        <attr name="tickMarkTint" format="color" />
4213        <!-- Blending mode used to apply the tick mark tint. -->
4214        <attr name="tickMarkTintMode">
4215            <!-- The tint is drawn on top of the drawable.
4216                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4217            <enum name="src_over" value="3" />
4218            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4219                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4220            <enum name="src_in" value="5" />
4221            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4222                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4223            <enum name="src_atop" value="9" />
4224            <!-- Multiplies the color and alpha channels of the drawable with those of
4225                 the tint. [Sa * Da, Sc * Dc] -->
4226            <enum name="multiply" value="14" />
4227            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4228            <enum name="screen" value="15" />
4229            <!-- Combines the tint and drawable color and alpha channels, clamping the
4230                 result to valid color values. Saturate(S + D) -->
4231            <enum name="add" value="16" />
4232        </attr>
4233    </declare-styleable>
4234
4235    <declare-styleable name="StackView">
4236        <!-- Color of the res-out outline. -->
4237        <attr name="resOutColor" format="color" />
4238        <!-- Color of the outline of click feedback. -->
4239        <attr name="clickColor" format="color" />
4240    </declare-styleable>
4241
4242    <declare-styleable name="RatingBar">
4243        <!-- The number of stars (or rating items) to show. -->
4244        <attr name="numStars" format="integer" />
4245        <!-- The rating to set by default. -->
4246        <attr name="rating" format="float" />
4247        <!-- The step size of the rating. -->
4248        <attr name="stepSize" format="float" />
4249        <!-- Whether this rating bar is an indicator (and non-changeable by the user). -->
4250        <attr name="isIndicator" format="boolean" />
4251    </declare-styleable>
4252
4253    <declare-styleable name="RadioGroup">
4254        <!-- The id of the child radio button that should be checked by default
4255             within this radio group. -->
4256        <attr name="checkedButton" format="integer" />
4257        <!-- Should the radio group be a column or a row?  Use "horizontal"
4258             for a row, "vertical" for a column.  The default is
4259             vertical. -->
4260        <attr name="orientation" />
4261    </declare-styleable>
4262    <declare-styleable name="TableLayout">
4263        <!-- The zero-based index of the columns to stretch. The column indices
4264             must be separated by a comma: 1, 2, 5. Illegal and duplicate
4265             indices are ignored. You can stretch all columns by using the
4266             value "*" instead. Note that a column can be marked stretchable
4267             and shrinkable at the same time. -->
4268        <attr name="stretchColumns" format="string" />
4269       <!-- The zero-based index of the columns to shrink. The column indices
4270             must be separated by a comma: 1, 2, 5. Illegal and duplicate
4271             indices are ignored. You can shrink all columns by using the
4272             value "*" instead. Note that a column can be marked stretchable
4273             and shrinkable at the same time. -->
4274        <attr name="shrinkColumns" format="string" />
4275        <!-- The zero-based index of the columns to collapse. The column indices
4276             must be separated by a comma: 1, 2, 5. Illegal and duplicate
4277             indices are ignored. -->
4278        <attr name="collapseColumns" format="string" />
4279    </declare-styleable>
4280    <declare-styleable name="TableRow">
4281
4282    </declare-styleable>
4283    <declare-styleable name="TableRow_Cell">
4284        <!-- The index of the column in which this child should be. -->
4285        <attr name="layout_column" format="integer" />
4286        <!-- Defines how many columns this child should span.  Must be >= 1.-->
4287        <attr name="layout_span" format="integer" />
4288    </declare-styleable>
4289    <declare-styleable name="TabWidget">
4290        <!-- Drawable used to draw the divider between tabs. -->
4291        <attr name="divider" />
4292        <!-- Determines whether the strip under the tab indicators is drawn or not. -->
4293        <attr name="tabStripEnabled" format="boolean" />
4294        <!-- Drawable used to draw the left part of the strip underneath the tabs. -->
4295        <attr name="tabStripLeft" format="reference" />
4296        <!-- Drawable used to draw the right part of the strip underneath the tabs. -->
4297        <attr name="tabStripRight" format="reference" />
4298        <!-- Layout used to organize each tab's content. -->
4299        <attr name="tabLayout" format="reference" />
4300    </declare-styleable>
4301    <declare-styleable name="TextAppearance">
4302        <!-- Text color. -->
4303        <attr name="textColor" />
4304        <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
4305        <attr name="textSize" />
4306        <!-- Style (bold, italic, bolditalic) for the text. -->
4307        <attr name="textStyle" />
4308        <!-- Typeface (normal, sans, serif, monospace) for the text. -->
4309        <attr name="typeface" />
4310        <!-- Font family (named by string) for the text. -->
4311        <attr name="fontFamily" />
4312        <!-- Color of the text selection highlight. -->
4313        <attr name="textColorHighlight" />
4314        <!-- Color of the hint text. -->
4315        <attr name="textColorHint" />
4316        <!-- Color of the links. -->
4317        <attr name="textColorLink" />
4318        <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
4319        <attr name="textAllCaps" format="boolean" />
4320        <!-- Place a blurred shadow of text underneath the text, drawn with the
4321             specified color. The text shadow produced does not interact with
4322             properties on View that are responsible for real time shadows,
4323             {@link android.R.styleable#View_elevation elevation} and
4324             {@link android.R.styleable#View_translationZ translationZ}. -->
4325        <attr name="shadowColor" format="color" />
4326        <!-- Horizontal offset of the text shadow. -->
4327        <attr name="shadowDx" format="float" />
4328        <!-- Vertical offset of the text shadow. -->
4329        <attr name="shadowDy" format="float" />
4330        <!-- Blur radius of the text shadow. -->
4331        <attr name="shadowRadius" format="float" />
4332        <!-- Elegant text height, especially for less compacted complex script text. -->
4333        <attr name="elegantTextHeight" format="boolean" />
4334        <!-- Text letter-spacing. -->
4335        <attr name="letterSpacing" format="float" />
4336        <!-- Font feature settings. -->
4337        <attr name="fontFeatureSettings" format="string" />
4338    </declare-styleable>
4339    <declare-styleable name="TextClock">
4340        <!-- Specifies the formatting pattern used to show the time and/or date
4341             in 12-hour mode. Please refer to {@link android.text.format.DateFormat}
4342             for a complete description of accepted formatting patterns.
4343             The default pattern is a locale-appropriate equivalent of "h:mm a". -->
4344        <attr name="format12Hour" format="string"/>
4345        <!-- Specifies the formatting pattern used to show the time and/or date
4346             in 24-hour mode. Please refer to {@link android.text.format.DateFormat}
4347             for a complete description of accepted formatting patterns.
4348             The default pattern is a locale-appropriate equivalent of "H:mm". -->
4349        <attr name="format24Hour" format="string"/>
4350        <!-- Specifies the time zone to use. When this attribute is specified, the
4351             TextClock will ignore the time zone of the system. To use the user's
4352             time zone, do not specify this attribute. The default value is the
4353             user's time zone. Please refer to {@link java.util.TimeZone} for more
4354             information about time zone ids. -->
4355        <attr name="timeZone" format="string"/>
4356    </declare-styleable>
4357    <declare-styleable name="TextSwitcher">
4358    </declare-styleable>
4359    <declare-styleable name="TextView">
4360        <!-- Determines the minimum type that getText() will return.
4361             The default is "normal".
4362             Note that EditText and LogTextBox always return Editable,
4363             even if you specify something less powerful here. -->
4364        <attr name="bufferType">
4365            <!-- Can return any CharSequence, possibly a
4366             Spanned one if the source text was Spanned. -->
4367            <enum name="normal" value="0" />
4368            <!-- Can only return Spannable. -->
4369            <enum name="spannable" value="1" />
4370            <!-- Can only return Spannable and Editable. -->
4371            <enum name="editable" value="2" />
4372        </attr>
4373        <!-- Text to display. -->
4374        <attr name="text" format="string" localization="suggested" />
4375        <!-- Hint text to display when the text is empty. -->
4376        <attr name="hint" format="string" />
4377        <!-- Text color. -->
4378        <attr name="textColor" />
4379        <!-- Color of the text selection highlight. -->
4380        <attr name="textColorHighlight" />
4381        <!-- Color of the hint text. -->
4382        <attr name="textColorHint" />
4383        <!-- Base text color, typeface, size, and style. -->
4384        <attr name="textAppearance" />
4385        <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
4386        <attr name="textSize" />
4387        <!-- Sets the horizontal scaling factor for the text. -->
4388        <attr name="textScaleX" format="float" />
4389        <!-- Typeface (normal, sans, serif, monospace) for the text. -->
4390        <attr name="typeface" />
4391        <!-- Style (bold, italic, bolditalic) for the text. -->
4392        <attr name="textStyle" />
4393        <!-- Font family (named by string) for the text. -->
4394        <attr name="fontFamily" />
4395        <!-- Text color for links. -->
4396        <attr name="textColorLink" />
4397        <!-- Makes the cursor visible (the default) or invisible. -->
4398        <attr name="cursorVisible" format="boolean" />
4399        <!-- Makes the TextView be at most this many lines tall.
4400
4401        When used on an editable text, the <code>inputType</code> attribute's value must be
4402        combined with the <code>textMultiLine</code> flag for the maxLines attribute to apply. -->
4403        <attr name="maxLines" format="integer" min="0" />
4404        <!-- Makes the TextView be at most this many pixels tall. -->
4405        <attr name="maxHeight" />
4406        <!-- Makes the TextView be exactly this many lines tall. -->
4407        <attr name="lines" format="integer" min="0" />
4408        <!-- Makes the TextView be exactly this many pixels tall.
4409             You could get the same effect by specifying this number in the
4410             layout parameters. -->
4411        <attr name="height" format="dimension" />
4412        <!-- Makes the TextView be at least this many lines tall.
4413
4414        When used on an editable text, the <code>inputType</code> attribute's value must be
4415        combined with the <code>textMultiLine</code> flag for the minLines attribute to apply. -->
4416        <attr name="minLines" format="integer" min="0" />
4417        <!-- Makes the TextView be at least this many pixels tall. -->
4418        <attr name="minHeight" />
4419        <!-- Makes the TextView be at most this many ems wide. -->
4420        <attr name="maxEms" format="integer" min="0" />
4421        <!-- Makes the TextView be at most this many pixels wide. -->
4422        <attr name="maxWidth" />
4423        <!-- Makes the TextView be exactly this many ems wide. -->
4424        <attr name="ems" format="integer" min="0" />
4425        <!-- Makes the TextView be exactly this many pixels wide.
4426             You could get the same effect by specifying this number in the
4427             layout parameters. -->
4428        <attr name="width" format="dimension" />
4429        <!-- Makes the TextView be at least this many ems wide. -->
4430        <attr name="minEms" format="integer" min="0" />
4431        <!-- Makes the TextView be at least this many pixels wide. -->
4432        <attr name="minWidth" />
4433        <!-- Specifies how to align the text by the view's x- and/or y-axis
4434             when the text is smaller than the view. -->
4435        <attr name="gravity" />
4436        <!-- Whether the text is allowed to be wider than the view (and
4437             therefore can be scrolled horizontally). -->
4438        <attr name="scrollHorizontally" format="boolean" />
4439        <!-- Whether the characters of the field are displayed as
4440             password dots instead of themselves.
4441             {@deprecated Use inputType instead.} -->
4442        <attr name="password" format="boolean" />
4443        <!-- Constrains the text to a single horizontally scrolling line
4444             instead of letting it wrap onto multiple lines, and advances
4445             focus instead of inserting a newline when you press the
4446             enter key.
4447
4448             The default value is false (multi-line wrapped text mode) for non-editable text, but if
4449             you specify any value for inputType, the default is true (single-line input field mode).
4450
4451             {@deprecated This attribute is deprecated. Use <code>maxLines</code> instead to change
4452             the layout of a static text, and use the <code>textMultiLine</code> flag in the
4453             inputType attribute instead for editable text views (if both singleLine and inputType
4454             are supplied, the inputType flags will override the value of singleLine). } -->
4455        <attr name="singleLine" format="boolean" />
4456        <!-- Specifies whether the widget is enabled. The interpretation of the enabled state varies by subclass.
4457             For example, a non-enabled EditText prevents the user from editing the contained text, and
4458             a non-enabled Button prevents the user from tapping the button.
4459             The appearance of enabled and non-enabled widgets may differ, if the drawables referenced
4460             from evaluating state_enabled differ. -->
4461        <attr name="enabled" format="boolean" />
4462        <!-- If the text is selectable, select it all when the view takes
4463             focus. -->
4464        <attr name="selectAllOnFocus" format="boolean" />
4465        <!-- Leave enough room for ascenders and descenders instead of
4466             using the font ascent and descent strictly.  (Normally true). -->
4467        <attr name="includeFontPadding" format="boolean" />
4468        <!-- Set an input filter to constrain the text length to the
4469             specified number. -->
4470        <attr name="maxLength" format="integer" min="0" />
4471        <!-- Place a blurred shadow of text underneath the text, drawn with the
4472             specified color. The text shadow produced does not interact with
4473             properties on View that are responsible for real time shadows,
4474             {@link android.R.styleable#View_elevation elevation} and
4475             {@link android.R.styleable#View_translationZ translationZ}. -->
4476        <attr name="shadowColor" />
4477        <!-- Horizontal offset of the text shadow. -->
4478        <attr name="shadowDx" />
4479        <!-- Vertical offset of the text shadow. -->
4480        <attr name="shadowDy" />
4481        <!-- Blur radius of the text shadow. -->
4482        <attr name="shadowRadius" />
4483        <attr name="autoLink" />
4484        <!-- If set to false, keeps the movement method from being set
4485             to the link movement method even if autoLink causes links
4486             to be found. -->
4487        <attr name="linksClickable" format="boolean" />
4488        <!-- If set, specifies that this TextView has a numeric input method.
4489             The default is false.
4490             {@deprecated Use inputType instead.} -->
4491        <attr name="numeric">
4492            <!-- Input is numeric. -->
4493            <flag name="integer" value="0x01" />
4494            <!-- Input is numeric, with sign allowed. -->
4495            <flag name="signed" value="0x03" />
4496            <!-- Input is numeric, with decimals allowed. -->
4497            <flag name="decimal" value="0x05" />
4498        </attr>
4499        <!-- If set, specifies that this TextView has a numeric input method
4500             and that these specific characters are the ones that it will
4501             accept.
4502             If this is set, numeric is implied to be true.
4503             The default is false. -->
4504        <attr name="digits" format="string" />
4505        <!-- If set, specifies that this TextView has a phone number input
4506             method. The default is false.
4507             {@deprecated Use inputType instead.} -->
4508        <attr name="phoneNumber" format="boolean" />
4509        <!-- If set, specifies that this TextView should use the specified
4510             input method (specified by fully-qualified class name).
4511             {@deprecated Use inputType instead.} -->
4512        <attr name="inputMethod" format="string" />
4513        <!-- If set, specifies that this TextView has a textual input method
4514             and should automatically capitalize what the user types.
4515             The default is "none".
4516             {@deprecated Use inputType instead.} -->
4517        <attr name="capitalize">
4518            <!-- Don't automatically capitalize anything. -->
4519            <enum name="none" value="0" />
4520            <!-- Capitalize the first word of each sentence. -->
4521            <enum name="sentences" value="1" />
4522            <!-- Capitalize the first letter of every word. -->
4523            <enum name="words" value="2" />
4524            <!-- Capitalize every character. -->
4525            <enum name="characters" value="3" />
4526        </attr>
4527        <!-- If set, specifies that this TextView has a textual input method
4528             and automatically corrects some common spelling errors.
4529             The default is "false".
4530             {@deprecated Use inputType instead.} -->
4531        <attr name="autoText" format="boolean" />
4532        <!-- If set, specifies that this TextView has an input method.
4533             It will be a textual one unless it has otherwise been specified.
4534             For TextView, this is false by default.  For EditText, it is
4535             true by default.
4536             {@deprecated Use inputType instead.} -->
4537        <attr name="editable" format="boolean" />
4538        <!-- If set, the text view will include its current complete text
4539             inside of its frozen icicle in addition to meta-data such as
4540             the current cursor position.  By default this is disabled;
4541             it can be useful when the contents of a text view is not stored
4542             in a persistent place such as a content provider. For
4543             {@link android.widget.EditText} it is always enabled, regardless
4544             of the value of the attribute. -->
4545        <attr name="freezesText" format="boolean" />
4546        <!-- If set, causes words that are longer than the view is wide
4547             to be ellipsized instead of broken in the middle.
4548             You will often also want to set scrollHorizontally or singleLine
4549             as well so that the text as a whole is also constrained to
4550             a single line instead of still allowed to be broken onto
4551             multiple lines. -->
4552        <attr name="ellipsize" />
4553        <!-- The drawable to be drawn above the text. -->
4554        <attr name="drawableTop" format="reference|color" />
4555        <!-- The drawable to be drawn below the text. -->
4556        <attr name="drawableBottom" format="reference|color" />
4557        <!-- The drawable to be drawn to the left of the text. -->
4558        <attr name="drawableLeft" format="reference|color" />
4559        <!-- The drawable to be drawn to the right of the text. -->
4560        <attr name="drawableRight" format="reference|color" />
4561        <!-- The drawable to be drawn to the start of the text. -->
4562        <attr name="drawableStart" format="reference|color" />
4563        <!-- The drawable to be drawn to the end of the text. -->
4564        <attr name="drawableEnd" format="reference|color" />
4565        <!-- The padding between the drawables and the text. -->
4566        <attr name="drawablePadding" format="dimension" />
4567        <!-- Tint to apply to the compound (left, top, etc.) drawables. -->
4568        <attr name="drawableTint" format="color" />
4569        <!-- Blending mode used to apply the compound (left, top, etc.) drawables tint. -->
4570        <attr name="drawableTintMode">
4571            <!-- The tint is drawn on top of the drawable.
4572                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4573            <enum name="src_over" value="3" />
4574            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4575                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4576            <enum name="src_in" value="5" />
4577            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4578                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4579            <enum name="src_atop" value="9" />
4580            <!-- Multiplies the color and alpha channels of the drawable with those of
4581                 the tint. [Sa * Da, Sc * Dc] -->
4582            <enum name="multiply" value="14" />
4583            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4584            <enum name="screen" value="15" />
4585            <!-- Combines the tint and drawable color and alpha channels, clamping the
4586                 result to valid color values. Saturate(S + D) -->
4587            <enum name="add" value="16" />
4588        </attr>
4589        <!-- Extra spacing between lines of text. -->
4590        <attr name="lineSpacingExtra" format="dimension" />
4591        <!-- Extra spacing between lines of text, as a multiplier. -->
4592        <attr name="lineSpacingMultiplier" format="float" />
4593        <!-- The number of times to repeat the marquee animation. Only applied if the
4594             TextView has marquee enabled. -->
4595        <attr name="marqueeRepeatLimit" format="integer">
4596            <!-- Indicates that marquee should repeat indefinitely. -->
4597            <enum name="marquee_forever" value="-1" />
4598        </attr>
4599        <attr name="inputType" />
4600        <!-- Whether undo should be allowed for editable text. Defaults to true. -->
4601        <attr name="allowUndo" format="boolean" />
4602        <attr name="imeOptions" />
4603        <!-- An addition content type description to supply to the input
4604             method attached to the text view, which is private to the
4605             implementation of the input method.  This simply fills in
4606             the {@link android.view.inputmethod.EditorInfo#privateImeOptions
4607             EditorInfo.privateImeOptions} field when the input
4608             method is connected. -->
4609        <attr name="privateImeOptions" format="string" />
4610        <!-- Supply a value for
4611             {@link android.view.inputmethod.EditorInfo#actionLabel EditorInfo.actionLabel}
4612             used when an input method is connected to the text view. -->
4613        <attr name="imeActionLabel" format="string" />
4614        <!-- Supply a value for
4615             {@link android.view.inputmethod.EditorInfo#actionId EditorInfo.actionId}
4616             used when an input method is connected to the text view. -->
4617        <attr name="imeActionId" format="integer" />
4618        <!-- Reference to an
4619             {@link android.R.styleable#InputExtras &lt;input-extras&gt;}
4620             XML resource containing additional data to
4621             supply to an input method, which is private to the implementation
4622             of the input method.  This simply fills in
4623             the {@link android.view.inputmethod.EditorInfo#extras
4624             EditorInfo.extras} field when the input
4625             method is connected. -->
4626        <attr name="editorExtras" format="reference" />
4627
4628        <!-- Reference to a drawable that will be used to display a text selection
4629             anchor on the left side of a selection region. -->
4630        <attr name="textSelectHandleLeft" />
4631        <!-- Reference to a drawable that will be used to display a text selection
4632             anchor on the right side of a selection region. -->
4633        <attr name="textSelectHandleRight" />
4634        <!-- Reference to a drawable that will be used to display a text selection
4635             anchor for positioning the cursor within text. -->
4636        <attr name="textSelectHandle" />
4637        <!-- The layout of the view that is displayed on top of the cursor to paste inside a
4638             TextEdit field. -->
4639        <attr name="textEditPasteWindowLayout" />
4640        <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. -->
4641        <attr name="textEditNoPasteWindowLayout" />
4642        <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the
4643             insertion cursor because it would be clipped if it were positioned on top. -->
4644        <attr name="textEditSidePasteWindowLayout" />
4645        <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. -->
4646        <attr name="textEditSideNoPasteWindowLayout" />
4647
4648        <!-- Layout of the TextView item that will populate the suggestion popup window. -->
4649        <attr name="textEditSuggestionItemLayout" />
4650        <!-- Layout of the container of the suggestion popup window. -->
4651        <attr name="textEditSuggestionContainerLayout" />
4652        <!-- Style of the highlighted string in the suggestion popup window. -->
4653        <attr name="textEditSuggestionHighlightStyle" />
4654
4655
4656        <!-- Reference to a drawable that will be drawn under the insertion cursor. -->
4657        <attr name="textCursorDrawable" />
4658
4659        <!-- Indicates that the content of a non-editable text can be selected. -->
4660        <attr name="textIsSelectable" />
4661        <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
4662        <attr name="textAllCaps" />
4663        <!-- Elegant text height, especially for less compacted complex script text. -->
4664        <attr name="elegantTextHeight" />
4665        <!-- Text letter-spacing. -->
4666        <attr name="letterSpacing" />
4667        <!-- Font feature settings. -->
4668        <attr name="fontFeatureSettings" />
4669        <!-- Break strategy (control over paragraph layout). -->
4670        <attr name="breakStrategy">
4671            <!-- Line breaking uses simple strategy. -->
4672            <enum name="simple" value="0" />
4673            <!-- Line breaking uses high-quality strategy, including hyphenation. -->
4674            <enum name="high_quality" value="1" />
4675            <!-- Line breaking strategy balances line lengths. -->
4676            <enum name="balanced" value="2" />
4677        </attr>
4678        <!-- Frequency of automatic hyphenation. -->
4679        <attr name="hyphenationFrequency">
4680            <!-- No hyphenation. -->
4681            <enum name="none" value="0" />
4682            <!-- Less frequent hyphenation, useful for informal use cases, such
4683            as chat messages. -->
4684            <enum name="normal" value="1" />
4685            <!-- Standard amount of hyphenation, useful for running text and for
4686            screens with limited space for text. -->
4687            <enum name="full" value="2" />
4688        </attr>
4689        <!-- Specify the type of auto-size. -->
4690        <attr name="autoSizeText" format="enum">
4691            <!-- No auto-sizing (default). -->
4692            <enum name="none" value="0" />
4693            <!-- Uniform horizontal and vertical scaling. -->
4694            <enum name="xy" value="1" />
4695        </attr>
4696        <!-- Specify the auto-size step size if <code>autoSizeText</code> is set to
4697        <code>xy</code>. The default is 1px. Overwrites
4698        <code>autoSizeStepSizeSet</code> if set. -->
4699        <attr name="autoSizeStepGranularity" format="dimension" />
4700        <!-- Array of dimensions to be used in conjunction with
4701        <code>autoSizeText</code> set to <code>xy</code>. Overwrites
4702        <code>autoSizeStepGranularity</code> if set. -->
4703        <attr name="autoSizeStepSizeSet"/>
4704        <!-- The minimum text size constraint to be used when auto-sizing text -->
4705        <attr name="autoSizeMinTextSize" format="dimension" />
4706    </declare-styleable>
4707    <declare-styleable name="TextViewAppearance">
4708        <!-- Base text color, typeface, size, and style. -->
4709        <attr name="textAppearance" />
4710    </declare-styleable>
4711    <declare-styleable name="SelectionModeDrawables">
4712        <attr name="actionModeSelectAllDrawable" />
4713        <attr name="actionModeCutDrawable" />
4714        <attr name="actionModeCopyDrawable" />
4715        <attr name="actionModePasteDrawable" />
4716    </declare-styleable>
4717    <declare-styleable name="SuggestionSpan">
4718        <attr name="textUnderlineColor" />
4719        <attr name="textUnderlineThickness" />
4720    </declare-styleable>
4721    <!-- An <code>input-extras</code> is a container for extra data to supply to
4722         an input method.  Contains
4723         one more more {@link #Extra <extra>} tags.  -->
4724    <declare-styleable name="InputExtras">
4725    </declare-styleable>
4726    <declare-styleable name="AutoCompleteTextView">
4727        <!-- Defines the hint displayed in the drop down menu. -->
4728        <attr name="completionHint" format="string" />
4729        <!-- Defines the hint view displayed in the drop down menu. -->
4730        <attr name="completionHintView" format="reference" />
4731        <!-- Defines the number of characters that the user must type before
4732         completion suggestions are displayed in a drop down menu. -->
4733        <attr name="completionThreshold" format="integer" min="1" />
4734        <!-- Selector in a drop down list. -->
4735        <attr name="dropDownSelector" format="reference|color" />
4736        <!-- View to anchor the auto-complete dropdown to. If not specified, the text view itself
4737             is used. -->
4738        <attr name="dropDownAnchor" format="reference" />
4739        <!-- Specifies the basic width of the dropdown. Its value may
4740             be a dimension (such as "12dip") for a constant width,
4741             fill_parent or match_parent to match the width of the
4742             screen, or wrap_content to match the width of
4743             the anchored view. -->
4744        <attr name="dropDownWidth" format="dimension">
4745            <!-- The dropdown should fill the width of the screen.
4746                 This constant is deprecated starting from API Level 8 and
4747                 is replaced by {@code match_parent}. -->
4748            <enum name="fill_parent" value="-1" />
4749            <!-- The dropdown should fit the width of the screen.
4750                 Introduced in API Level 8. -->
4751            <enum name="match_parent" value="-1" />
4752            <!-- The dropdown should fit the width of its anchor. -->
4753            <enum name="wrap_content" value="-2" />
4754        </attr>
4755        <!-- Specifies the basic height of the dropdown. Its value may
4756             be a dimension (such as "12dip") for a constant height,
4757             fill_parent or match_parent to fill the height of the
4758             screen, or wrap_content to match the height of
4759             the content of the drop down. -->
4760        <attr name="dropDownHeight" format="dimension">
4761            <!-- The dropdown should fit the height of the screen.
4762                 This constant is deprecated starting from API Level 8 and
4763                 is replaced by {@code match_parent}. -->
4764            <enum name="fill_parent" value="-1" />
4765            <!-- The dropdown should fit the height of the screen.
4766                 Introduced in API Level 8. -->
4767            <enum name="match_parent" value="-1" />
4768            <!-- The dropdown should fit the height of the content. -->
4769            <enum name="wrap_content" value="-2" />
4770        </attr>
4771        <attr name="inputType" />
4772        <!-- Theme to use for the completion popup window. -->
4773        <attr name="popupTheme" />
4774    </declare-styleable>
4775    <declare-styleable name="PopupWindow">
4776        <!-- The background to use for the popup window. -->
4777        <attr name="popupBackground" format="reference|color" />
4778        <!-- Window elevation to use for the popup window. -->
4779        <attr name="popupElevation" format="dimension" />
4780        <!-- The animation style to use for the popup window. -->
4781        <attr name="popupAnimationStyle" format="reference" />
4782        <!-- Whether the popup window should overlap its anchor view. -->
4783        <attr name="overlapAnchor" format="boolean" />
4784        <!-- Transition used to move views into the popup window. -->
4785        <attr name="popupEnterTransition" format="reference" />
4786        <!-- Transition used to move views out of the popup window. -->
4787        <attr name="popupExitTransition" format="reference" />
4788    </declare-styleable>
4789    <declare-styleable name="ListPopupWindow">
4790        <!-- Amount of pixels by which the drop down should be offset vertically. -->
4791        <attr name="dropDownVerticalOffset" format="dimension" />
4792        <!-- Amount of pixels by which the drop down should be offset horizontally. -->
4793        <attr name="dropDownHorizontalOffset" format="dimension" />
4794    </declare-styleable>
4795    <declare-styleable name="ViewAnimator">
4796        <!-- Identifier for the animation to use when a view is shown. -->
4797        <attr name="inAnimation" format="reference" />
4798        <!-- Identifier for the animation to use when a view is hidden. -->
4799        <attr name="outAnimation" format="reference" />
4800        <!-- Defines whether to animate the current View when the ViewAnimation
4801             is first displayed. -->
4802        <attr name="animateFirstView" format="boolean" />
4803    </declare-styleable>
4804    <declare-styleable name="ViewFlipper">
4805        <attr name="flipInterval" format="integer" min="0" />
4806        <!-- When true, automatically start animating -->
4807        <attr name="autoStart" format="boolean" />
4808    </declare-styleable>
4809    <declare-styleable name="AdapterViewAnimator">
4810        <!-- Identifier for the animation to use when a view is shown. -->
4811        <attr name="inAnimation" />
4812        <!-- Identifier for the animation to use when a view is hidden. -->
4813        <attr name="outAnimation" />
4814        <!--Defines whether the animator loops to the first view once it
4815        has reached the end of the list. -->
4816        <attr name="loopViews" format="boolean" />
4817        <!-- Defines whether to animate the current View when the ViewAnimation
4818        is first displayed. -->
4819        <attr name="animateFirstView" />
4820    </declare-styleable>
4821    <declare-styleable name="AdapterViewFlipper">
4822        <attr name="flipInterval" />
4823        <!-- When true, automatically start animating -->
4824        <attr name="autoStart" />
4825    </declare-styleable>
4826    <declare-styleable name="ViewSwitcher">
4827    </declare-styleable>
4828    <declare-styleable name="ScrollView">
4829        <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
4830        <attr name="fillViewport" format="boolean" />
4831    </declare-styleable>
4832    <declare-styleable name="HorizontalScrollView">
4833        <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
4834        <attr name="fillViewport" />
4835    </declare-styleable>
4836    <declare-styleable name="Spinner">
4837        <!-- The prompt to display when the spinner's dialog is shown. -->
4838        <attr name="prompt" format="reference" />
4839        <!-- Display mode for spinner options. -->
4840        <attr name="spinnerMode" format="enum">
4841            <!-- Spinner options will be presented to the user as a dialog window. -->
4842            <enum name="dialog" value="0" />
4843            <!-- Spinner options will be presented to the user as an inline dropdown
4844                 anchored to the spinner widget itself. -->
4845            <enum name="dropdown" value="1" />
4846        </attr>
4847        <!-- List selector to use for spinnerMode="dropdown" display. -->
4848        <attr name="dropDownSelector" />
4849        <!-- Theme to use for the drop-down or dialog popup window. -->
4850        <attr name="popupTheme" />
4851        <!-- Background drawable to use for the dropdown in spinnerMode="dropdown". -->
4852        <attr name="popupBackground" />
4853        <!-- Window elevation to use for the dropdown in spinnerMode="dropdown". -->
4854        <attr name="popupElevation" />
4855        <!-- Width of the dropdown in spinnerMode="dropdown". -->
4856        <attr name="dropDownWidth" />
4857        <!-- Reference to a layout to use for displaying a prompt in the dropdown for
4858             spinnerMode="dropdown". This layout must contain a TextView with the id
4859             {@code @android:id/text1} to be populated with the prompt text. -->
4860        <attr name="popupPromptView" format="reference" />
4861        <!-- Gravity setting for positioning the currently selected item. -->
4862        <attr name="gravity" />
4863        <!-- Whether this spinner should mark child views as enabled/disabled when
4864             the spinner itself is enabled/disabled. -->
4865        <attr name="disableChildrenWhenDisabled" format="boolean" />
4866    </declare-styleable>
4867
4868    <declare-styleable name="DatePicker">
4869        <!-- The first day of week according to {@link java.util.Calendar}. -->
4870        <attr name="firstDayOfWeek" />
4871        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
4872        <attr name="minDate" format="string" />
4873        <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. -->
4874        <attr name="maxDate" format="string" />
4875
4876        <!-- Whether the spinners are shown. Only valid for "spinner" mode. -->
4877        <attr name="spinnersShown" format="boolean" />
4878        <!-- Whether the calendar view is shown. Only valid for "spinner" mode. -->
4879        <attr name="calendarViewShown" format="boolean" />
4880
4881        <!-- @hide The layout of the date picker. -->
4882        <attr name="internalLayout" format="reference"  />
4883        <!-- @hide The layout of the legacy DatePicker. -->
4884        <attr name="legacyLayout" />
4885
4886        <!-- The text color for the selected date header text, ex. "2014" or
4887             "Tue, Mar 18". This should be a color state list where the
4888             activated state will be used when the year picker or day picker is
4889             active.-->
4890        <attr name="headerTextColor" format="color" />
4891        <!-- The background for the selected date header. -->
4892        <attr name="headerBackground" />
4893
4894        <!-- The list year's text appearance in the list.
4895             {@deprecated Use yearListTextColor. }-->
4896        <attr name="yearListItemTextAppearance" format="reference" />
4897        <!-- @hide The list year's text appearance in the list when activated. -->
4898        <attr name="yearListItemActivatedTextAppearance" format="reference" />
4899        <!-- The text color list of the calendar. -->
4900        <attr name="calendarTextColor" format="color" />
4901
4902        <!-- Defines the look of the widget. Prior to the L release, the only choice was
4903             spinner. As of L, with the Material theme selected, the default layout is calendar,
4904             but this attribute can be used to force spinner to be used instead. -->
4905        <attr name="datePickerMode">
4906            <!-- Date picker with spinner controls to select the date. -->
4907            <enum name="spinner" value="1" />
4908            <!-- Date picker with calendar to select the date. -->
4909            <enum name="calendar" value="2" />
4910        </attr>
4911
4912        <!-- The first year (inclusive), for example "1940".
4913             {@deprecated Use minDate instead.} -->
4914        <attr name="startYear" format="integer" />
4915        <!-- The last year (inclusive), for example "2010".
4916             {@deprecated Use maxDate instead.} -->
4917        <attr name="endYear" format="integer" />
4918        <!-- The text appearance for the month (ex. May) in the selected date header.
4919             {@deprecated Use headerTextColor instead.} -->
4920        <attr name="headerMonthTextAppearance" format="reference" />
4921        <!-- The text appearance for the day of month (ex. 28) in the selected date header.
4922             {@deprecated Use headerTextColor instead.} -->
4923        <attr name="headerDayOfMonthTextAppearance" format="reference" />
4924        <!-- The text appearance for the year (ex. 2014) in the selected date header.
4925             {@deprecated Use headerTextColor instead.} -->
4926        <attr name="headerYearTextAppearance" format="reference" />
4927        <!-- The background color for the header's day of week.
4928             {@deprecated No longer displayed.} -->
4929        <attr name="dayOfWeekBackground" format="color" />
4930        <!-- The text color for the header's day of week.
4931             {@deprecated No longer displayed.} -->
4932        <attr name="dayOfWeekTextAppearance" format="reference" />
4933        <!-- The list year's selected circle color in the list.
4934             {@deprecated No longer displayed.} -->
4935        <attr name="yearListSelectorColor" format="color" />
4936
4937        <!-- @hide Whether this time picker is being displayed within a dialog,
4938             in which case it may ignore the requested time picker mode due to
4939             space considerations. -->
4940        <attr name="dialogMode" format="boolean" />
4941    </declare-styleable>
4942
4943    <declare-styleable name="TwoLineListItem">
4944        <attr name="mode">
4945            <!-- Always show only the first line. -->
4946            <enum name="oneLine" value="1" />
4947            <!-- When selected show both lines, otherwise show only the first line.
4948                 This is the default mode. -->
4949            <enum name="collapsing" value="2" />
4950            <!-- Always show both lines. -->
4951            <enum name="twoLine" value="3" />
4952        </attr>
4953    </declare-styleable>
4954
4955    <!-- SlidingDrawer specific attributes. These attributes are used to configure
4956         a SlidingDrawer from XML. -->
4957    <declare-styleable name="SlidingDrawer">
4958        <!-- Identifier for the child that represents the drawer's handle. -->
4959        <attr name="handle" format="reference" />
4960        <!-- Identifier for the child that represents the drawer's content. -->
4961        <attr name="content" format="reference" />
4962        <!-- Orientation of the SlidingDrawer. -->
4963        <attr name="orientation" />
4964        <!-- Extra offset for the handle at the bottom of the SlidingDrawer. -->
4965        <attr name="bottomOffset" format="dimension"  />
4966        <!-- Extra offset for the handle at the top of the SlidingDrawer. -->
4967        <attr name="topOffset" format="dimension"  />
4968        <!-- Indicates whether the drawer can be opened/closed by a single tap
4969             on the handle.  (If false, the user must drag or fling, or click
4970             using the trackball, to open/close the drawer.)  Default is true. -->
4971        <attr name="allowSingleTap" format="boolean" />
4972        <!-- Indicates whether the drawer should be opened/closed with an animation
4973             when the user clicks the handle. Default is true. -->
4974        <attr name="animateOnClick" format="boolean" />
4975    </declare-styleable>
4976
4977    <!-- GestureOverlayView specific attributes. These attributes are used to configure
4978         a GestureOverlayView from XML. -->
4979    <declare-styleable name="GestureOverlayView">
4980        <!-- Width of the stroke used to draw the gesture. -->
4981        <attr name="gestureStrokeWidth" format="float" />
4982        <!-- Color used to draw a gesture. -->
4983        <attr name="gestureColor" format="color" />
4984        <!-- Color used to draw the user's strokes until we are sure it's a gesture. -->
4985        <attr name="uncertainGestureColor" format="color" />
4986        <!-- Time, in milliseconds, to wait before the gesture fades out after the user
4987             is done drawing it. -->
4988        <attr name="fadeOffset" format="integer" />
4989        <!-- Duration, in milliseconds, of the fade out effect after the user is done
4990             drawing a gesture. -->
4991        <attr name="fadeDuration" format="integer" />
4992        <!-- Defines the type of strokes that define a gesture. -->
4993        <attr name="gestureStrokeType">
4994            <!-- A gesture is made of only one stroke. -->
4995            <enum name="single" value="0" />
4996            <!-- A gesture is made of multiple strokes. -->
4997            <enum name="multiple" value="1" />
4998        </attr>
4999        <!-- Minimum length of a stroke before it is recognized as a gesture. -->
5000        <attr name="gestureStrokeLengthThreshold" format="float" />
5001        <!-- Squareness threshold of a stroke before it is recognized as a gesture. -->
5002        <attr name="gestureStrokeSquarenessThreshold" format="float" />
5003        <!-- Minimum curve angle a stroke must contain before it is recognized as a gesture. -->
5004        <attr name="gestureStrokeAngleThreshold" format="float" />
5005        <!-- Defines whether the overlay should intercept the motion events when a gesture
5006             is recognized. -->
5007        <attr name="eventsInterceptionEnabled" format="boolean" />
5008        <!-- Defines whether the gesture will automatically fade out after being recognized. -->
5009        <attr name="fadeEnabled" format="boolean" />
5010        <!-- Indicates whether horizontal (when the orientation is vertical) or vertical
5011             (when orientation is horizontal) strokes automatically define a gesture. -->
5012        <attr name="orientation" />
5013    </declare-styleable>
5014
5015    <declare-styleable name="QuickContactBadge">
5016        <attr name="quickContactWindowSize">
5017            <enum name="modeSmall" value="1" />
5018            <enum name="modeMedium" value="2" />
5019            <enum name="modeLarge" value="3" />
5020        </attr>
5021    </declare-styleable>
5022
5023    <!-- ======================================= -->
5024    <!-- Widget package parent layout attributes -->
5025    <!-- ======================================= -->
5026    <eat-comment />
5027
5028    <declare-styleable name="AbsoluteLayout_Layout">
5029        <attr name="layout_x" format="dimension" />
5030        <attr name="layout_y" format="dimension" />
5031    </declare-styleable>
5032    <declare-styleable name="LinearLayout_Layout">
5033        <attr name="layout_width" />
5034        <attr name="layout_height" />
5035        <!-- Indicates how much of the extra space in the LinearLayout is
5036        allocated to the view associated with these LayoutParams. Specify
5037        0 if the view should not be stretched. Otherwise the extra pixels
5038        will be pro-rated among all views whose weight is greater than 0. -->
5039        <attr name="layout_weight" format="float" />
5040        <!-- Gravity specifies how a component should be placed in its group of cells.
5041        The default is {@link android.view.Gravity#TOP}.
5042        See {@link android.widget.LinearLayout#setGravity(int)}. -->
5043        <attr name="layout_gravity" />
5044    </declare-styleable>
5045    <declare-styleable name="GridLayout_Layout">
5046        <!-- The row boundary delimiting the top of the group of cells
5047        occupied by this view. -->
5048        <attr name="layout_row" format="integer" />
5049        <!-- The row span: the difference between the top and bottom
5050        boundaries delimiting the group of cells occupied by this view.
5051        The default is one.
5052        See {@link android.widget.GridLayout.Spec}. -->
5053        <attr name="layout_rowSpan" format="integer" min="1" />
5054        <!-- The relative proportion of vertical space that should be allocated to this view
5055        during excess space distribution. -->
5056        <attr name="layout_rowWeight" format="float" />
5057        <!-- The column boundary delimiting the left of the group of cells
5058        occupied by this view. -->
5059        <attr name="layout_column" />
5060        <!-- The column span: the difference between the right and left
5061        boundaries delimiting the group of cells occupied by this view.
5062        The default is one.
5063        See {@link android.widget.GridLayout.Spec}. -->
5064        <attr name="layout_columnSpan" format="integer" min="1" />
5065        <!-- The relative proportion of horizontal space that should be allocated to this view
5066        during excess space distribution. -->
5067        <attr name="layout_columnWeight" format="float" />
5068        <!-- Gravity specifies how a component should be placed in its group of cells.
5069        The default is LEFT | BASELINE.
5070        See {@link android.widget.GridLayout.LayoutParams#setGravity(int)}. -->
5071        <attr name="layout_gravity" />
5072    </declare-styleable>
5073    <declare-styleable name="FrameLayout_Layout">
5074        <attr name="layout_gravity" />
5075    </declare-styleable>
5076    <declare-styleable name="RelativeLayout_Layout">
5077        <!-- Positions the right edge of this view to the left of the given anchor view ID.
5078             Accommodates right margin of this view and left margin of anchor view. -->
5079        <attr name="layout_toLeftOf" format="reference" />
5080        <!-- Positions the left edge of this view to the right of the given anchor view ID.
5081            Accommodates left margin of this view and right margin of anchor view. -->
5082        <attr name="layout_toRightOf" format="reference" />
5083        <!-- Positions the bottom edge of this view above the given anchor view ID.
5084            Accommodates bottom margin of this view and top margin of anchor view. -->
5085        <attr name="layout_above" format="reference" />
5086        <!-- Positions the top edge of this view below the given anchor view ID.
5087            Accommodates top margin of this view and bottom margin of anchor view. -->
5088        <attr name="layout_below" format="reference" />
5089        <!-- Positions the baseline of this view on the baseline of the given anchor view ID. -->
5090        <attr name="layout_alignBaseline" format="reference" />
5091        <!-- Makes the left edge of this view match the left edge of the given anchor view ID.
5092            Accommodates left margin. -->
5093        <attr name="layout_alignLeft" format="reference" />
5094        <!-- Makes the top edge of this view match the top edge of the given anchor view ID.
5095            Accommodates top margin. -->
5096        <attr name="layout_alignTop" format="reference" />
5097        <!-- Makes the right edge of this view match the right edge of the given anchor view ID.
5098            Accommodates right margin. -->
5099        <attr name="layout_alignRight" format="reference" />
5100        <!-- Makes the bottom edge of this view match the bottom edge of the given anchor view ID.
5101            Accommodates bottom margin. -->
5102        <attr name="layout_alignBottom" format="reference" />
5103        <!-- If true, makes the left edge of this view match the left edge of the parent.
5104            Accommodates left margin. -->
5105        <attr name="layout_alignParentLeft" format="boolean" />
5106        <!-- If true, makes the top edge of this view match the top edge of the parent.
5107            Accommodates top margin. -->
5108        <attr name="layout_alignParentTop" format="boolean" />
5109        <!-- If true, makes the right edge of this view match the right edge of the parent.
5110            Accommodates right margin. -->
5111        <attr name="layout_alignParentRight" format="boolean" />
5112        <!-- If true, makes the bottom edge of this view match the bottom edge of the parent.
5113            Accommodates bottom margin. -->
5114        <attr name="layout_alignParentBottom" format="boolean" />
5115        <!-- If true, centers this child horizontally and vertically within its parent. -->
5116        <attr name="layout_centerInParent" format="boolean" />
5117        <!-- If true, centers this child horizontally within its parent. -->
5118        <attr name="layout_centerHorizontal" format="boolean" />
5119        <!-- If true, centers this child vertically within its parent. -->
5120        <attr name="layout_centerVertical" format="boolean" />
5121        <!-- If set to true, the parent will be used as the anchor when the anchor cannot be
5122             be found for layout_toLeftOf, layout_toRightOf, etc. -->
5123        <attr name="layout_alignWithParentIfMissing" format="boolean" />
5124        <!-- Positions the end edge of this view to the start of the given anchor view ID.
5125             Accommodates end margin of this view and start margin of anchor view. -->
5126        <attr name="layout_toStartOf" format="reference" />
5127        <!-- Positions the start edge of this view to the end of the given anchor view ID.
5128             Accommodates start margin of this view and end margin of anchor view. -->
5129        <attr name="layout_toEndOf" format="reference" />
5130        <!-- Makes the start edge of this view match the start edge of the given anchor view ID.
5131            Accommodates start margin. -->
5132        <attr name="layout_alignStart" format="reference" />
5133        <!-- Makes the end edge of this view match the end edge of the given anchor view ID.
5134            Accommodates end margin. -->
5135        <attr name="layout_alignEnd" format="reference" />
5136        <!-- If true, makes the start edge of this view match the start edge of the parent.
5137            Accommodates start margin. -->
5138        <attr name="layout_alignParentStart" format="boolean" />
5139        <!-- If true, makes the end edge of this view match the end edge of the parent.
5140            Accommodates end margin. -->
5141        <attr name="layout_alignParentEnd" format="boolean" />
5142    </declare-styleable>
5143    <declare-styleable name="VerticalSlider_Layout">
5144        <attr name="layout_scale" format="float" />
5145    </declare-styleable>
5146
5147    <!-- attributes for internal rotary widget used in lock screen and phone app
5148      @hide -->
5149    <declare-styleable name="RotarySelector">
5150        <!-- Use "horizontal" or "vertical".  The default is horizontal. -->
5151        <attr name="orientation" />
5152    </declare-styleable>
5153
5154    <!-- @hide -->
5155    <declare-styleable name="WeightedLinearLayout">
5156        <attr name="majorWeightMin" format="float" />
5157        <attr name="minorWeightMin" format="float" />
5158        <attr name="majorWeightMax" format="float" />
5159        <attr name="minorWeightMax" format="float" />
5160    </declare-styleable>
5161
5162    <declare-styleable name="CalendarView">
5163        <!-- The first day of week according to {@link java.util.Calendar}. -->
5164        <attr name="firstDayOfWeek" format="integer" />
5165        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
5166        <attr name="minDate" />
5167        <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. -->
5168        <attr name="maxDate" />
5169        <!-- The text appearance for the month and year in the calendar header. -->
5170        <attr name="monthTextAppearance" format="reference" />
5171        <!-- The text appearance for the week day abbreviation in the calendar header. -->
5172        <attr name="weekDayTextAppearance" format="reference" />
5173        <!-- The text appearance for the day numbers in the calendar grid. -->
5174        <attr name="dateTextAppearance" format="reference" />
5175        <!-- @hide The background color used for the day selection indicator. -->
5176        <attr name="daySelectorColor" format="color" />
5177        <!-- @hide The background color used for the day highlight indicator. -->
5178        <attr name="dayHighlightColor" format="color" />
5179        <!-- @hide Which style of calendar delegate to use. -->
5180        <attr name="calendarViewMode">
5181            <enum name="holo" value="0" />
5182            <enum name="material" value="1" />
5183        </attr>
5184
5185        <!-- @deprecated Whether do show week numbers. -->
5186        <attr name="showWeekNumber" format="boolean" />
5187        <!-- @deprecated The number of weeks to be shown. -->
5188        <attr name="shownWeekCount" format="integer"/>
5189        <!-- @deprecated The background color for the selected week. -->
5190        <attr name="selectedWeekBackgroundColor" format="color|reference" />
5191        <!-- @deprecated The color for the dates of the focused month. -->
5192        <attr name="focusedMonthDateColor" format="color|reference" />
5193        <!-- @deprecated The color for the dates of an unfocused month. -->
5194        <attr name="unfocusedMonthDateColor" format="color|reference" />
5195        <!-- @deprecated The color for the week numbers. -->
5196        <attr name="weekNumberColor" format="color|reference" />
5197        <!-- @deprecated The color for the separator line between weeks. -->
5198        <attr name="weekSeparatorLineColor" format="color|reference" />
5199        <!-- @deprecated Drawable for the vertical bar shown at the beginning and at the end of the selected date. -->
5200        <attr name="selectedDateVerticalBar" format="reference" />
5201    </declare-styleable>
5202
5203    <declare-styleable name="NumberPicker">
5204        <!-- @hide Color for the solid color background if such for optimized rendering. -->
5205        <attr name="solidColor" format="color|reference" />
5206        <!-- @hide The divider for making the selection area. -->
5207        <attr name="selectionDivider" format="reference" />
5208        <!-- @hide The height of the selection divider. -->
5209        <attr name="selectionDividerHeight" format="dimension" />
5210        <!-- @hide The distance between the two selection dividers. -->
5211        <attr name="selectionDividersDistance" format="dimension" />
5212        <!-- @hide The min height of the NumberPicker. -->
5213        <attr name="internalMinHeight" format="dimension" />
5214        <!-- @hide The max height of the NumberPicker. -->
5215        <attr name="internalMaxHeight" format="dimension" />
5216        <!-- @hide The min width of the NumberPicker. -->
5217        <attr name="internalMinWidth" format="dimension" />
5218        <!-- @hide The max width of the NumberPicker. -->
5219        <attr name="internalMaxWidth" format="dimension" />
5220        <!-- @hide The layout of the number picker. -->
5221        <attr name="internalLayout" />
5222        <!-- @hide The drawable for pressed virtual (increment/decrement) buttons. -->
5223        <attr name="virtualButtonPressedDrawable" format="reference"/>
5224        <!-- @hide If true then the selector wheel is hidden until the picker has focus. -->
5225        <attr name="hideWheelUntilFocused" format="boolean"/>
5226    </declare-styleable>
5227
5228    <declare-styleable name="TimePicker">
5229        <!-- @hide The layout of the legacy time picker. -->
5230        <attr name="legacyLayout" format="reference" />
5231        <!-- @hide The layout of the time picker. -->
5232        <attr name="internalLayout" />
5233
5234        <!-- The text color for the selected time header text, ex. "12" or
5235             "PM". This should be a color state list where the activated state
5236             will be used when the minute picker or hour picker is active.-->
5237        <attr name="headerTextColor" />
5238        <!-- The background for the header containing the currently selected time. -->
5239        <attr name="headerBackground" />
5240
5241        <!-- The color for the hours/minutes numbers. This should be a color
5242             state list where the activated state will be used when the number
5243             is active.-->
5244        <attr name="numbersTextColor" format="color" />
5245        <!-- The color for the inner hours numbers used in 24-hour mode. This
5246             should be a color state list where the activated state will be
5247             used when the number is active.-->
5248        <attr name="numbersInnerTextColor" format="color" />
5249        <!-- The background color for the hours/minutes numbers. -->
5250        <attr name="numbersBackgroundColor" format="color" />
5251        <!-- The color for the hours/minutes selector. -->
5252        <attr name="numbersSelectorColor" format="color" />
5253
5254        <!-- Defines the look of the widget. Prior to the L release, the only choice was
5255             spinner. As of L, with the Material theme selected, the default layout is clock,
5256             but this attribute can be used to force spinner to be used instead. -->
5257        <attr name="timePickerMode">
5258            <!-- Time picker with spinner controls to select the time. -->
5259            <enum name="spinner" value="1" />
5260            <!-- Time picker with clock face to select the time. -->
5261            <enum name="clock" value="2" />
5262        </attr>
5263
5264        <!-- The text appearance for the AM/PM header.
5265             @deprecated Use headerTextColor instead. -->
5266        <attr name="headerAmPmTextAppearance" format="reference" />
5267        <!-- The text appearance for the time header.
5268             @deprecated Use headerTextColor instead. -->
5269        <attr name="headerTimeTextAppearance" format="reference" />
5270        <!-- The color for the AM/PM selectors.
5271             {@deprecated Use headerTextColor instead.}-->
5272        <attr name="amPmTextColor" format="color" />
5273        <!-- The background color state list for the AM/PM selectors.
5274             {@deprecated Use headerBackground instead.}-->
5275        <attr name="amPmBackgroundColor" format="color" />
5276
5277        <!-- @hide Whether this time picker is being displayed within a dialog,
5278             in which case it may ignore the requested time picker mode due to
5279             space considerations. -->
5280        <attr name="dialogMode" />
5281    </declare-styleable>
5282
5283    <!-- ========================= -->
5284    <!-- Drawable class attributes -->
5285    <!-- ========================= -->
5286    <eat-comment />
5287
5288    <!-- Base attributes that are available to all Drawable objects. -->
5289    <declare-styleable name="Drawable">
5290        <!-- Provides initial visibility state of the drawable; the default
5291             value is false.  See
5292             {@link android.graphics.drawable.Drawable#setVisible}. -->
5293        <attr name="visible" format="boolean" />
5294        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5295             RTL (right-to-left).  See
5296             {@link android.graphics.drawable.Drawable#setAutoMirrored}. -->
5297        <attr name="autoMirrored" format="boolean" />
5298    </declare-styleable>
5299
5300    <!-- Drawable class used to wrap other drawables. -->
5301    <declare-styleable name="DrawableWrapper">
5302        <!-- The wrapped drawable. -->
5303        <attr name="drawable" />
5304    </declare-styleable>
5305
5306    <!-- Drawable used to render several states. Each state is represented by
5307         a child drawable. -->
5308    <declare-styleable name="StateListDrawable">
5309        <!-- Indicates whether the drawable should be initially visible. -->
5310        <attr name="visible" />
5311        <!-- If true, allows the drawable's padding to change based on the
5312             current state that is selected.  If false, the padding will
5313             stay the same (based on the maximum padding of all the states).
5314             Enabling this feature requires that the owner of the drawable
5315             deal with performing layout when the state changes, which is
5316             often not supported. -->
5317        <attr name="variablePadding" format="boolean" />
5318        <!-- If true, the drawable's reported internal size will remain
5319             constant as the state changes; the size is the maximum of all
5320             of the states.  If false, the size will vary based on the
5321             current state. -->
5322        <attr name="constantSize" format="boolean" />
5323        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5324             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5325             an RGB 565 screen). -->
5326        <attr name="dither" format="boolean" />
5327        <!-- Amount of time (in milliseconds) to fade in a new state drawable. -->
5328        <attr name="enterFadeDuration" format="integer" />
5329        <!-- Amount of time (in milliseconds) to fade out an old state drawable. -->
5330        <attr name="exitFadeDuration" format="integer" />
5331        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5332             RTL (right-to-left). -->
5333        <attr name="autoMirrored"/>
5334    </declare-styleable>
5335
5336    <!-- Drawable used to render several states with animated transitions. Each state
5337         is represented by a child drawable with an optional keyframe ID. -->
5338    <declare-styleable name="AnimatedStateListDrawable">
5339        <!-- Indicates whether the drawable should be initially visible. -->
5340        <attr name="visible" />
5341        <!-- If true, allows the drawable's padding to change based on the
5342             current state that is selected.  If false, the padding will
5343             stay the same (based on the maximum padding of all the states).
5344             Enabling this feature requires that the owner of the drawable
5345             deal with performing layout when the state changes, which is
5346             often not supported. -->
5347        <attr name="variablePadding" />
5348        <!-- If true, the drawable's reported internal size will remain
5349             constant as the state changes; the size is the maximum of all
5350             of the states.  If false, the size will vary based on the
5351             current state. -->
5352        <attr name="constantSize" />
5353        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5354             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5355             an RGB 565 screen). -->
5356        <attr name="dither" />
5357        <!-- Amount of time (in milliseconds) to fade in a new state drawable. -->
5358        <attr name="enterFadeDuration" />
5359        <!-- Amount of time (in milliseconds) to fade out an old state drawable. -->
5360        <attr name="exitFadeDuration" />
5361        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5362             RTL (right-to-left). -->
5363        <attr name="autoMirrored"/>
5364    </declare-styleable>
5365
5366    <!-- Represents a single state inside a StateListDrawable. -->
5367    <declare-styleable name="StateListDrawableItem">
5368        <!-- Reference to a drawable resource to use for the state. If not
5369             given, the drawable must be defined by the first child tag. -->
5370        <attr name="drawable" />
5371    </declare-styleable>
5372
5373    <!-- Transition used to animate between states with keyframe IDs. -->
5374    <declare-styleable name="AnimatedStateListDrawableItem">
5375        <!-- Reference to a drawable resource to use for the frame.  If not
5376             given, the drawable must be defined by the first child tag. -->
5377        <attr name="drawable" />
5378        <!-- Keyframe identifier for use in specifying transitions. -->
5379        <attr name="id" />
5380    </declare-styleable>
5381
5382    <!-- Transition used to animate between states with keyframe IDs. -->
5383    <declare-styleable name="AnimatedStateListDrawableTransition">
5384        <!-- Keyframe identifier for the starting state. -->
5385        <attr name="fromId" format="reference" />
5386        <!-- Keyframe identifier for the ending state. -->
5387        <attr name="toId" format="reference" />
5388        <!-- Reference to a animation drawable resource to use for the frame.  If not
5389             given, the animation drawable must be defined by the first child tag. -->
5390        <attr name="drawable" />
5391        <!-- Whether this transition is reversible. -->
5392        <attr name="reversible" format="boolean" />
5393    </declare-styleable>
5394
5395    <!-- Drawable used to render several animated frames. -->
5396    <declare-styleable name="AnimationDrawable">
5397        <attr name="visible" />
5398        <attr name="variablePadding" />
5399        <!-- If true, the animation will only run a single time and then
5400             stop.  If false (the default), it will continually run,
5401             restarting at the first frame after the last has finished. -->
5402        <attr name="oneshot" format="boolean" />
5403    </declare-styleable>
5404
5405    <!-- Represents a single frame inside an AnimationDrawable. -->
5406    <declare-styleable name="AnimationDrawableItem">
5407        <!-- Amount of time (in milliseconds) to display this frame. -->
5408        <attr name="duration" format="integer" />
5409        <!-- Reference to a drawable resource to use for the frame.  If not
5410             given, the drawable must be defined by the first child tag. -->
5411        <attr name="drawable" format="reference" />
5412    </declare-styleable>
5413
5414    <!-- Attributes that can be assigned to a StateListAnimator item. -->
5415    <declare-styleable name="StateListAnimatorItem">
5416        <attr name="animation"/>
5417    </declare-styleable>
5418
5419    <!-- Attributes that can be assigned to a ColorStateList item. -->
5420    <declare-styleable name="ColorStateListItem">
5421        <!-- Base color for this state. -->
5422        <attr name="color" />
5423        <!-- Alpha multiplier applied to the base color. -->
5424        <attr name="alpha" />
5425    </declare-styleable>
5426
5427    <!-- Drawable used to render according to the animation scale. Esp. when it is 0 due to battery
5428         saver mode. It should contain one animatable drawable and one static drawable.
5429         @hide -->
5430    <declare-styleable name="AnimationScaleListDrawable">
5431    </declare-styleable>
5432
5433    <!-- Attributes that can be assigned to a AnimationScaleListDrawable item.
5434         @hide -->
5435    <declare-styleable name="AnimationScaleListDrawableItem">
5436        <!-- Reference to a drawable resource to use for the state. If not
5437             given, the drawable must be defined by the first child tag. -->
5438        <attr name="drawable" />
5439    </declare-styleable>
5440
5441
5442    <!-- Drawable used to render a geometric shape, with a gradient or a solid color. -->
5443    <declare-styleable name="GradientDrawable">
5444        <!-- Indicates whether the drawable should intially be visible. -->
5445        <attr name="visible" />
5446        <!-- Enables or disables dithering. -->
5447        <attr name="dither" />
5448        <!-- Indicates what shape to fill with a gradient. -->
5449        <attr name="shape">
5450            <!-- Rectangle shape, with optional rounder corners. -->
5451            <enum name="rectangle" value="0" />
5452            <!-- Oval shape. -->
5453            <enum name="oval" value="1" />
5454            <!-- Line shape. -->
5455            <enum name="line" value="2" />
5456            <!-- Ring shape. -->
5457            <enum name="ring" value="3" />
5458        </attr>
5459        <!-- Inner radius of the ring expressed as a ratio of the ring's width. For instance,
5460             if innerRadiusRatio=9, then the inner radius equals the ring's width divided by 9.
5461             This value is ignored if innerRadius is defined. Default value is 9. -->
5462        <attr name="innerRadiusRatio" format="float" />
5463        <!-- Thickness of the ring expressed as a ratio of the ring's width. For instance,
5464             if thicknessRatio=3, then the thickness equals the ring's width divided by 3.
5465             This value is ignored if innerRadius is defined. Default value is 3. -->
5466        <attr name="thicknessRatio" format="float" />
5467        <!-- Inner radius of the ring. When defined, innerRadiusRatio is ignored. -->
5468        <attr name="innerRadius" format="dimension" />
5469        <!-- Thickness of the ring. When defined, thicknessRatio is ignored. -->
5470        <attr name="thickness" format="dimension" />
5471        <!-- Whether the drawable level value (see
5472             {@link android.graphics.drawable.Drawable#getLevel()}) is used to scale the shape.
5473             Scaling behavior depends on the shape type. For "ring", the angle is scaled from 0 to
5474             360. For all other types, there is no effect. The default value is true. -->
5475        <attr name="useLevel" />
5476        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5477             no tint is applied. May be a color state list. -->
5478        <attr name="tint" />
5479        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5480             default value is src_in, which treats the drawable as an alpha mask. -->
5481        <attr name="tintMode" />
5482        <!-- Left optical inset.
5483             @hide Until optical insets are fully supported. -->
5484        <attr name="opticalInsetLeft" />
5485        <!-- Top optical inset.
5486             @hide Until optical insets are fully supported. -->
5487        <attr name="opticalInsetTop" />
5488        <!-- Right optical inset.
5489             @hide Until optical insets are fully supported. -->
5490        <attr name="opticalInsetRight" />
5491        <!-- Bottom optical inset.
5492             @hide Until optical insets are fully supported. -->
5493        <attr name="opticalInsetBottom" />
5494    </declare-styleable>
5495
5496    <!-- Used to specify the size of the shape for GradientDrawable. -->
5497    <declare-styleable name="GradientDrawableSize">
5498        <!-- Width of the gradient shape. -->
5499        <attr name="width" />
5500        <!-- Height of the gradient shape. -->
5501        <attr name="height" />
5502    </declare-styleable>
5503
5504    <!-- Used to describe the gradient used to fill the shape of a GradientDrawable. -->
5505    <declare-styleable name="GradientDrawableGradient">
5506        <!-- Start color of the gradient. -->
5507        <attr name="startColor" format="color" />
5508        <!-- Optional center color. For linear gradients, use centerX or centerY to place the center
5509             color. -->
5510        <attr name="centerColor" format="color" />
5511        <!-- End color of the gradient. -->
5512        <attr name="endColor" format="color" />
5513        <!-- Whether the drawable level value (see
5514             {@link android.graphics.drawable.Drawable#getLevel()}) is used to scale the gradient.
5515             Scaling behavior varies based on gradient type. For "linear", adjusts the ending
5516             position along the gradient's axis of orientation. For "radial", adjusts the outer
5517             radius. For "sweep", adjusts the ending angle. The default value is false. -->
5518        <attr name="useLevel" format="boolean" />
5519        <!-- Angle of the gradient, used only with linear gradient. Must be a multiple of 45 in the
5520             range [0, 315]. -->
5521        <attr name="angle" format="float" />
5522        <!-- Type of gradient. The default type is linear. -->
5523        <attr name="type">
5524            <!-- Linear gradient extending across the center point. -->
5525            <enum name="linear" value="0" />
5526            <!-- Radial gradient extending from the center point outward. -->
5527            <enum name="radial" value="1" />
5528            <!-- Sweep (or angular) gradient sweeping counter-clockwise around the center point. -->
5529            <enum name="sweep"  value="2" />
5530        </attr>
5531        <!-- X-position of the center point of the gradient within the shape as a fraction of the
5532             width. The default value is 0.5. -->
5533        <attr name="centerX" format="float|fraction" />
5534        <!-- Y-position of the center point of the gradient within the shape as a fraction of the
5535             height. The default value is 0.5. -->
5536        <attr name="centerY" format="float|fraction" />
5537        <!-- Radius of the gradient, used only with radial gradient. May be an explicit dimension
5538             or a fractional value relative to the shape's minimum dimension. -->
5539        <attr name="gradientRadius" format="float|fraction|dimension" />
5540    </declare-styleable>
5541
5542    <!-- Used to fill the shape of GradientDrawable with a solid color. -->
5543    <declare-styleable name="GradientDrawableSolid">
5544        <!-- Solid color for the gradient shape. -->
5545        <attr name="color" format="color" />
5546    </declare-styleable>
5547
5548    <!-- Used to describe the optional stroke of a GradientDrawable. -->
5549    <declare-styleable name="GradientDrawableStroke">
5550        <!-- Width of the gradient shape's stroke. -->
5551        <attr name="width" />
5552        <!-- Color of the gradient shape's stroke. -->
5553        <attr name="color" />
5554        <!-- Length of a dash in the stroke. -->
5555        <attr name="dashWidth" format="dimension" />
5556        <!-- Gap between dashes in the stroke. -->
5557        <attr name="dashGap" format="dimension" />
5558    </declare-styleable>
5559
5560    <!-- Describes the corners for the rectangle shape of a GradientDrawable.
5561         This can be used to render rounded corners. -->
5562    <declare-styleable name="DrawableCorners">
5563        <!-- Defines the radius of the four corners. -->
5564        <attr name="radius" format="dimension" />
5565        <!-- Radius of the top left corner. -->
5566        <attr name="topLeftRadius" format="dimension" />
5567        <!-- Radius of the top right corner. -->
5568        <attr name="topRightRadius" format="dimension" />
5569        <!-- Radius of the bottom left corner. -->
5570        <attr name="bottomLeftRadius" format="dimension" />
5571        <!-- Radius of the bottom right corner. -->
5572        <attr name="bottomRightRadius" format="dimension" />
5573    </declare-styleable>
5574
5575    <!-- Used to specify the optional padding of a GradientDrawable. -->
5576    <declare-styleable name="GradientDrawablePadding">
5577        <!-- Amount of left padding inside the gradient shape. -->
5578        <attr name="left" format="dimension" />
5579        <!-- Amount of top padding inside the gradient shape. -->
5580        <attr name="top" format="dimension" />
5581        <!-- Amount of right padding inside the gradient shape. -->
5582        <attr name="right" format="dimension" />
5583        <!-- Amount of bottom padding inside the gradient shape. -->
5584        <attr name="bottom" format="dimension" />
5585    </declare-styleable>
5586
5587    <!-- Drawable used to render several drawables stacked on top of each other.
5588         Each child drawable can be controlled individually. -->
5589    <declare-styleable name="LayerDrawable">
5590        <!-- Indicates the opacity of the layer. This can be useful to allow the
5591              system to enable drawing optimizations. The default value is
5592              translucent. -->
5593        <attr name="opacity">
5594            <!-- Indicates that the layer is opaque and contains no transparent
5595                 nor translucent pixels. -->
5596            <enum name="opaque" value="-1" />
5597            <!-- The layer is completely transparent (no pixel will be drawn.) -->
5598            <enum name="transparent" value="-2" />
5599            <!-- The layer has translucent pixels. -->
5600            <enum name="translucent" value="-3" />
5601        </attr>
5602        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5603             RTL (right-to-left). -->
5604        <attr name="autoMirrored" />
5605        <!-- Indicates how layer padding should affect the bounds of subsequent layers.
5606             The default padding mode value is nest. -->
5607        <attr name="paddingMode">
5608            <!-- Nest each layer inside the padding of the previous layer. -->
5609            <enum name="nest" value="0" />
5610            <!-- Stack each layer directly atop the previous layer. -->
5611            <enum name="stack" value="1" />
5612        </attr>
5613        <!-- Explicit top padding. Overrides child padding. -->
5614        <attr name="paddingTop" />
5615        <!-- Explicit bottom padding. Overrides child padding. -->
5616        <attr name="paddingBottom" />
5617        <!-- Explicit left padding. Overrides child padding. -->
5618        <attr name="paddingLeft" />
5619        <!-- Explicit right padding. Overrides child padding. -->
5620        <attr name="paddingRight" />
5621        <!-- Explicit start padding. Overrides child padding. Takes precedence
5622             over absolute padding (e.g. left when layout direction is LTR). -->
5623        <attr name="paddingStart" />
5624        <!-- Explicit end padding. Overrides child padding. Takes precedence
5625             over absolute padding (e.g. right when layout direction is LTR). -->
5626        <attr name="paddingEnd" />
5627    </declare-styleable>
5628
5629    <!-- Describes an item (or child) of a LayerDrawable. -->
5630    <declare-styleable name="LayerDrawableItem">
5631        <!-- Left inset to apply to the layer. -->
5632        <attr name="left" />
5633        <!-- Top inset to apply to the layer. -->
5634        <attr name="top" />
5635        <!-- Right inset to apply to the layer. -->
5636        <attr name="right" />
5637        <!-- Bottom inset to apply to the layer. -->
5638        <attr name="bottom" />
5639        <!-- Start inset to apply to the layer. Overrides {@code left} or
5640             {@code right} depending on layout direction. -->
5641        <attr name="start" format="dimension" />
5642        <!-- End inset to apply to the layer. Overrides {@code left} or
5643             {@code right} depending on layout direction. -->
5644        <attr name="end" format="dimension" />
5645        <!-- Width of the layer. Defaults to the layer's intrinsic width. -->
5646        <attr name="width" />
5647        <!-- Height of the layer. Defaults to the layer's intrinsic height -->
5648        <attr name="height" />
5649        <!-- Gravity used to align the layer within its container. If no value
5650             is specified, the default behavior depends on whether an explicit
5651             width or height has been set, If no dimension is set, gravity in
5652             that direction defaults to {@code fill_horizontal} or
5653             {@code fill_vertical}; otherwise, it defaults to {@code left} or
5654             {@code top}. -->
5655        <attr name="gravity" />
5656        <!-- Drawable used to render the layer. -->
5657        <attr name="drawable" />
5658        <!-- Identifier of the layer. This can be used to retrieve the layer
5659             from a drawable container. -->
5660        <attr name="id" />
5661    </declare-styleable>
5662
5663    <declare-styleable name="LevelListDrawableItem">
5664        <!-- The minimum level allowed for this item. -->
5665        <attr name="minLevel" format="integer" />
5666        <!-- The maximum level allowed for this item. -->
5667        <attr name="maxLevel" format="integer" />
5668        <attr name="drawable" />
5669    </declare-styleable>
5670
5671    <!-- Drawable used to rotate another drawable. -->
5672    <declare-styleable name="RotateDrawable">
5673        <attr name="visible" />
5674        <attr name="fromDegrees" format="float" />
5675        <attr name="toDegrees" format="float" />
5676        <attr name="pivotX" format="float|fraction" />
5677        <attr name="pivotY" format="float|fraction" />
5678        <attr name="drawable" />
5679    </declare-styleable>
5680
5681    <declare-styleable name="AnimatedRotateDrawable">
5682        <attr name="visible" />
5683        <attr name="frameDuration" format="integer" />
5684        <attr name="framesCount" format="integer" />
5685        <attr name="pivotX" />
5686        <attr name="pivotY" />
5687        <attr name="drawable" />
5688    </declare-styleable>
5689
5690    <!-- Drawable used to render the Material progress indicator. -->
5691    <declare-styleable name="MaterialProgressDrawable">
5692        <attr name="visible" />
5693        <attr name="thickness" />
5694        <attr name="innerRadius" />
5695        <attr name="width" />
5696        <attr name="height" />
5697        <attr name="color" />
5698    </declare-styleable>
5699
5700    <!-- Drawable used to wrap and inset another drawable. -->
5701    <declare-styleable name="InsetDrawable">
5702        <attr name="visible" />
5703        <attr name="drawable" />
5704        <attr name="inset"  format="dimension"/>
5705        <attr name="insetLeft" format="dimension" />
5706        <attr name="insetRight" format="dimension" />
5707        <attr name="insetTop" format="dimension" />
5708        <attr name="insetBottom" format="dimension" />
5709    </declare-styleable>
5710
5711    <!-- Drawable used to draw bitmaps. -->
5712    <declare-styleable name="BitmapDrawable">
5713        <!-- Identifier of the bitmap file. This attribute is mandatory. -->
5714        <attr name="src" />
5715        <!-- Enables or disables antialiasing. Antialiasing can be used to smooth the
5716             edges of a bitmap when rotated. Default value is false. -->
5717        <attr name="antialias" format="boolean" />
5718        <!-- Enables or disables bitmap filtering. Filtering is used when the bitmap is
5719             shrunk or stretched to smooth its apperance. Default value is true. -->
5720        <attr name="filter" format="boolean" />
5721        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5722             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5723             an RGB 565 screen). Default value is true. -->
5724        <attr name="dither" />
5725        <!-- Defines the gravity for the bitmap. The gravity indicates where to position
5726             the drawable in its container if the bitmap is smaller than the container. -->
5727        <attr name="gravity" />
5728        <!-- Defines the tile mode. When the tile mode is enabled, the bitmap is repeated.
5729             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5730        <attr name="tileMode">
5731            <!-- Do not tile the bitmap. This is the default value. -->
5732            <enum name="disabled" value="-1" />
5733            <!-- Replicates the edge color. -->
5734            <enum name="clamp" value="0" />
5735            <!-- Repeats the bitmap in both direction. -->
5736            <enum name="repeat" value="1" />
5737            <!-- Repeats the shader's image horizontally and vertically, alternating
5738                 mirror images so that adjacent images always seam. -->
5739            <enum name="mirror" value="2" />
5740        </attr>
5741        <!-- Defines the horizontal tile mode. When the tile mode is enabled, the bitmap is repeated.
5742             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5743        <attr name="tileModeX">
5744            <!-- Do not tile the bitmap. This is the default value. -->
5745            <enum name="disabled" value="-1" />
5746            <!-- Replicates the edge color. -->
5747            <enum name="clamp" value="0" />
5748            <!-- Repeats the bitmap horizontally. -->
5749            <enum name="repeat" value="1" />
5750            <!-- Repeats the shader's image horizontally, alternating
5751                 mirror images so that adjacent images always seam. -->
5752            <enum name="mirror" value="2" />
5753        </attr>
5754        <!-- Defines the vertical tile mode. When the tile mode is enabled, the bitmap is repeated.
5755             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5756        <attr name="tileModeY">
5757            <!-- Do not tile the bitmap. This is the default value. -->
5758            <enum name="disabled" value="-1" />
5759            <!-- Replicates the edge color. -->
5760            <enum name="clamp" value="0" />
5761            <!-- Repeats the bitmap vertically. -->
5762            <enum name="repeat" value="1" />
5763            <!-- Repeats the shader's image vertically, alternating
5764                 mirror images so that adjacent images always seam. -->
5765            <enum name="mirror" value="2" />
5766        </attr>
5767        <!-- Enables or disables the mipmap hint. See
5768            {@link android.graphics.Bitmap#setHasMipMap(boolean)} for more information.
5769            Default value is false. -->
5770        <attr name="mipMap" format="boolean" />
5771        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5772             RTL (right-to-left). -->
5773        <attr name="autoMirrored" />
5774        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5775             no tint is applied. May be a color state list. -->
5776        <attr name="tint" />
5777        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5778             default value is src_in, which treats the drawable as an alpha mask. -->
5779        <attr name="tintMode">
5780            <!-- The tint is drawn on top of the drawable.
5781                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
5782            <enum name="src_over" value="3" />
5783            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
5784                 color channels are thrown out. [Sa * Da, Sc * Da] -->
5785            <enum name="src_in" value="5" />
5786            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
5787                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
5788            <enum name="src_atop" value="9" />
5789            <!-- Multiplies the color and alpha channels of the drawable with those of
5790                 the tint. [Sa * Da, Sc * Dc] -->
5791            <enum name="multiply" value="14" />
5792            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
5793            <enum name="screen" value="15" />
5794            <!-- Combines the tint and drawable color and alpha channels, clamping the
5795                 result to valid color values. Saturate(S + D) -->
5796            <enum name="add" value="16" />
5797        </attr>
5798        <!-- Specifies the alpha multiplier to apply to the base drawable. -->
5799        <attr name="alpha" />
5800    </declare-styleable>
5801
5802    <!-- Drawable used to draw 9-patches. -->
5803    <declare-styleable name="NinePatchDrawable">
5804        <!-- Identifier of the bitmap file. This attribute is mandatory. -->
5805        <attr name="src" />
5806        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5807             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5808             an RGB 565 screen). -->
5809        <attr name="dither" />
5810        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5811             RTL (right-to-left). -->
5812        <attr name="autoMirrored" />
5813        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5814             no tint is applied. May be a color state list. -->
5815        <attr name="tint" />
5816        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5817             default value is src_in, which treats the drawable as an alpha mask. -->
5818        <attr name="tintMode" />
5819        <!-- Specifies the alpha multiplier to apply to the base drawable. -->
5820        <attr name="alpha" />
5821    </declare-styleable>
5822
5823    <!-- Drawable used to draw a single color. -->
5824    <declare-styleable name="ColorDrawable">
5825        <!-- The color to use. -->
5826        <attr name="color" />
5827    </declare-styleable>
5828
5829    <!-- Drawable used to show animated touch feedback. -->
5830    <declare-styleable name="RippleDrawable">
5831        <!-- The color to use for ripple effects. This attribute is required. -->
5832        <attr name="color" />
5833        <!-- The radius of the ripple when fully expanded. By default, the
5834             radius is computed based on the size of the ripple's container. -->
5835        <attr name="radius" />
5836    </declare-styleable>
5837
5838    <declare-styleable name="ScaleDrawable">
5839        <!-- Scale width, expressed as a percentage of the drawable's bound. The value's
5840             format is XX%. For instance: 100%, 12.5%, etc.-->
5841        <attr name="scaleWidth" format="string" />
5842        <!-- Scale height, expressed as a percentage of the drawable's bound. The value's
5843             format is XX%. For instance: 100%, 12.5%, etc.-->
5844        <attr name="scaleHeight" format="string" />
5845        <!-- Specifies where the drawable is positioned after scaling. The default value is
5846             left. -->
5847        <attr name="scaleGravity">
5848            <!-- Push object to the top of its container, not changing its size. -->
5849            <flag name="top" value="0x30" />
5850            <!-- Push object to the bottom of its container, not changing its size. -->
5851            <flag name="bottom" value="0x50" />
5852            <!-- Push object to the left of its container, not changing its size. -->
5853            <flag name="left" value="0x03" />
5854            <!-- Push object to the right of its container, not changing its size. -->
5855            <flag name="right" value="0x05" />
5856            <!-- Place object in the vertical center of its container, not changing its size. -->
5857            <flag name="center_vertical" value="0x10" />
5858            <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
5859            <flag name="fill_vertical" value="0x70" />
5860            <!-- Place object in the horizontal center of its container, not changing its size. -->
5861            <flag name="center_horizontal" value="0x01" />
5862            <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
5863            <flag name="fill_horizontal" value="0x07" />
5864            <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
5865            <flag name="center" value="0x11" />
5866            <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
5867            <flag name="fill" value="0x77" />
5868            <!-- Additional option that can be set to have the top and/or bottom edges of
5869                 the child clipped to its container's bounds.
5870                 The clip will be based on the vertical gravity: a top gravity will clip the bottom
5871                 edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
5872            <flag name="clip_vertical" value="0x80" />
5873            <!-- Additional option that can be set to have the left and/or right edges of
5874                 the child clipped to its container's bounds.
5875                 The clip will be based on the horizontal gravity: a left gravity will clip the right
5876                 edge, a right gravity will clip the left edge, and neither will clip both edges. -->
5877            <flag name="clip_horizontal" value="0x08" />
5878            <!-- Push object to the beginning of its container, not changing its size. -->
5879            <flag name="start" value="0x00800003" />
5880            <!-- Push object to the end of its container, not changing its size. -->
5881            <flag name="end" value="0x00800005" />
5882        </attr>
5883        <!-- Specifies the initial drawable level in the range 0 to 10000. -->
5884        <attr name="level" format="integer" />
5885        <!-- Reference to a drawable resource to draw with the specified scale. -->
5886        <attr name="drawable" />
5887        <!-- Use the drawable's intrinsic width and height as minimum size values.
5888             Useful if the target drawable is a 9-patch or otherwise should not be scaled
5889             down beyond a minimum size. -->
5890        <attr name="useIntrinsicSizeAsMinimum" format="boolean" />
5891    </declare-styleable>
5892
5893    <declare-styleable name="ClipDrawable">
5894        <!-- The orientation for the clip. -->
5895        <attr name="clipOrientation">
5896            <!-- Clip the drawable horizontally. -->
5897            <flag name="horizontal" value="1" />
5898            <!-- Clip the drawable vertically. -->
5899            <flag name="vertical" value="2" />
5900        </attr>
5901        <!-- Specifies where to clip within the drawable. The default value is
5902             left. -->
5903        <attr name="gravity" />
5904        <!-- Reference to a drawable resource to draw with the specified scale. -->
5905        <attr name="drawable" />
5906    </declare-styleable>
5907
5908    <!-- Defines the padding of a ShapeDrawable. -->
5909    <declare-styleable name="ShapeDrawablePadding">
5910        <!-- Left padding. -->
5911        <attr name="left" />
5912        <!-- Top padding. -->
5913        <attr name="top" />
5914        <!-- Right padding. -->
5915        <attr name="right" />
5916        <!-- Bottom padding. -->
5917        <attr name="bottom" />
5918    </declare-styleable>
5919
5920    <!-- Drawable used to draw shapes. -->
5921    <declare-styleable name="ShapeDrawable">
5922        <!-- Defines the color of the shape. -->
5923        <attr name="color" />
5924        <!-- Defines the width of the shape. -->
5925        <attr name="width" />
5926        <!-- Defines the height of the shape. -->
5927        <attr name="height" />
5928        <!-- Enables or disables dithering. -->
5929        <attr name="dither" />
5930        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5931             no tint is applied. May be a color state list. -->
5932        <attr name="tint" />
5933        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5934             default value is src_in, which treats the drawable as an alpha mask. -->
5935        <attr name="tintMode" />
5936    </declare-styleable>
5937
5938    <!-- ========================== -->
5939    <!--   VectorDrawable class   -->
5940    <!-- ========================== -->
5941    <eat-comment />
5942
5943    <!-- Drawable used to draw vector paths. -->
5944    <declare-styleable name="VectorDrawable">
5945        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5946             no tint is applied. May be a color state list. -->
5947        <attr name="tint" />
5948        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5949             default value is src_in, which treats the drawable as an alpha mask. -->
5950        <attr name="tintMode" />
5951        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5952             RTL (right-to-left). -->
5953        <attr name="autoMirrored" />
5954        <!-- The intrinsic width of the Vector Drawable. -->
5955        <attr name="width" />
5956        <!-- The intrinsic height of the Vector Drawable. -->
5957        <attr name="height" />
5958        <!-- The width of the canvas the drawing is on. -->
5959        <attr name="viewportWidth" format="float"/>
5960        <!-- The height of the canvas the drawing is on. -->
5961        <attr name="viewportHeight" format="float"/>
5962        <!-- The name of this vector drawable -->
5963        <attr name="name" />
5964        <!-- The opacity of the whole vector drawable, as a value between 0
5965             (completely transparent) and 1 (completely opaque). -->
5966        <attr name="alpha" />
5967        <!-- Left optical inset.
5968             @hide Until optical insets are fully supported. -->
5969        <attr name="opticalInsetLeft" format="dimension" />
5970        <!-- Top optical inset.
5971             @hide Until optical insets are fully supported. -->
5972        <attr name="opticalInsetTop" format="dimension" />
5973        <!-- Right optical inset.
5974             @hide Until optical insets are fully supported. -->
5975        <attr name="opticalInsetRight" format="dimension" />
5976        <!-- Bottom optical inset.
5977             @hide Until optical insets are fully supported. -->
5978        <attr name="opticalInsetBottom" format="dimension" />
5979    </declare-styleable>
5980
5981    <!-- Defines the group used in VectorDrawables. -->
5982    <declare-styleable name="VectorDrawableGroup">
5983        <!-- The name of this group -->
5984        <attr name="name" />
5985        <!-- The amount to rotate the group -->
5986        <attr name="rotation" />
5987        <!-- The X coordinate of the center of rotation of a group -->
5988        <attr name="pivotX" />
5989        <!-- The Y coordinate of the center of rotation of a group -->
5990        <attr name="pivotY" />
5991        <!-- The amount to translate the group on X coordinate -->
5992        <attr name="translateX" format="float"/>
5993        <!-- The amount to translate the group on Y coordinate -->
5994        <attr name="translateY" format="float"/>
5995        <!-- The amount to scale the group on X coordinate -->
5996        <attr name="scaleX" />
5997        <!-- The amount to scale the group on X coordinate -->
5998        <attr name="scaleY" />
5999    </declare-styleable>
6000
6001    <!-- Defines the path used in VectorDrawables. -->
6002    <declare-styleable name="VectorDrawablePath">
6003        <!-- The name of this path -->
6004        <attr name="name" />
6005        <!-- The width a path stroke -->
6006        <attr name="strokeWidth" format="float" />
6007        <!-- The color to stroke the path if not defined implies no stroke-->
6008        <attr name="strokeColor" format="color" />
6009        <!-- The opacity of a path stroke, as a value between 0 (completely transparent)
6010             and 1 (completely opaque) -->
6011        <attr name="strokeAlpha" format="float" />
6012        <!-- The color to fill the path if not defined implies no fill-->
6013        <attr name="fillColor" format="color" />
6014        <!-- The alpha of the path fill, as a value between 0 (completely transparent)
6015             and 1 (completely opaque)-->
6016        <attr name="fillAlpha" format="float" />
6017        <!-- The specification of the operations that define the path  -->
6018        <attr name="pathData" format="string" />
6019        <!-- The fraction of the path to trim from the start from 0 to 1 -->
6020        <attr name="trimPathStart" format="float" />
6021        <!-- The fraction of the path to trim from the end from 0 to 1  -->
6022        <attr name="trimPathEnd" format="float" />
6023        <!-- Shift trim region (allows visible region to include the start and end) from 0 to 1  -->
6024        <attr name="trimPathOffset" format="float" />
6025        <!-- sets the linecap for a stroked path -->
6026        <attr name="strokeLineCap" format="enum">
6027            <enum name="butt" value="0"/>
6028            <enum name="round" value="1"/>
6029            <enum name="square" value="2"/>
6030        </attr>
6031        <!-- sets the lineJoin for a stroked path -->
6032        <attr name="strokeLineJoin" format="enum">
6033            <enum name="miter" value="0"/>
6034            <enum name="round" value="1"/>
6035            <enum name="bevel" value="2"/>
6036        </attr>
6037        <!-- sets the Miter limit for a stroked path -->
6038        <attr name="strokeMiterLimit" format="float"/>
6039        <!-- sets the fillType for a path. It is the same as SVG's "fill-rule" properties.
6040             For more details, see https://www.w3.org/TR/SVG/painting.html#FillRuleProperty -->
6041        <attr name="fillType" format="enum">
6042            <enum name="nonZero" value="0"/>
6043            <enum name="evenOdd" value="1"/>
6044        </attr>
6045    </declare-styleable>
6046
6047    <!-- Defines the clip path used in VectorDrawables. -->
6048    <declare-styleable name="VectorDrawableClipPath">
6049        <!-- The Name of this path -->
6050        <attr name="name" />
6051        <!-- The specification of the operations that define the path  -->
6052        <attr name="pathData"/>
6053    </declare-styleable>
6054
6055    <!-- ========================== -->
6056    <!--   AnimatedVectorDrawable class   -->
6057    <!-- ========================== -->
6058    <eat-comment />
6059
6060    <!-- Define the AnimatedVectorDrawable. -->
6061    <declare-styleable name="AnimatedVectorDrawable">
6062        <!-- The static vector drawable. -->
6063        <attr name="drawable" />
6064    </declare-styleable>
6065
6066    <!-- Defines the target used in the AnimatedVectorDrawable. -->
6067    <declare-styleable name="AnimatedVectorDrawableTarget">
6068        <!-- The name of the target path, group or vector drawable -->
6069        <attr name="name" />
6070        <!-- The animation for the target path, group or vector drawable -->
6071        <attr name="animation" />
6072    </declare-styleable>
6073
6074    <!-- ========================== -->
6075    <!-- Animation class attributes -->
6076    <!-- ========================== -->
6077    <eat-comment />
6078
6079    <declare-styleable name="Animation">
6080        <!-- Defines the interpolator used to smooth the animation movement in time. -->
6081        <attr name="interpolator" />
6082        <!-- When set to true, the value of fillBefore is taken into account. -->
6083        <attr name="fillEnabled" format="boolean" />
6084        <!-- When set to true or when fillEnabled is not set to true, the animation transformation
6085             is applied before the animation has started. The default value is true. -->
6086        <attr name="fillBefore" format="boolean" />
6087        <!-- When set to true, the animation transformation is applied after the animation is
6088             over. The default value is false. If fillEnabled is not set to true and the
6089             animation is not set on a View, fillAfter is assumed to be true.-->
6090        <attr name="fillAfter" format="boolean" />
6091        <!-- Amount of time (in milliseconds) for the animation to run. -->
6092        <attr name="duration" />
6093        <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
6094        <attr name="startOffset" format="integer" />
6095        <!-- Defines how many times the animation should repeat. The default value is 0. -->
6096        <attr name="repeatCount" format="integer">
6097            <enum name="infinite" value="-1" />
6098        </attr>
6099        <!-- Defines the animation behavior when it reaches the end and the repeat count is
6100             greater than 0 or infinite. The default value is restart. -->
6101        <attr name="repeatMode">
6102            <!-- The animation starts again from the beginning. -->
6103            <enum name="restart" value="1" />
6104            <!-- The animation plays backward. -->
6105            <enum name="reverse" value="2" />
6106        </attr>
6107        <!-- Allows for an adjustment of the Z ordering of the content being
6108             animated for the duration of the animation.  The default value is normal. -->
6109        <attr name="zAdjustment">
6110            <!-- The content being animated be kept in its current Z order. -->
6111            <enum name="normal" value="0" />
6112            <!-- The content being animated is forced on top of all other
6113                 content for the duration of the animation. -->
6114            <enum name="top" value="1" />
6115            <!-- The content being animated is forced under all other
6116                 content for the duration of the animation. -->
6117            <enum name="bottom" value="-1" />
6118        </attr>
6119        <!-- Special background behind animation.  Only for use with window
6120             animations.  Can only be a color, and only black.  If 0, the
6121             default, there is no background. -->
6122        <attr name="background" />
6123        <!-- Special option for window animations: if this window is on top
6124             of a wallpaper, don't animate the wallpaper with it. -->
6125        <attr name="detachWallpaper" format="boolean" />
6126    </declare-styleable>
6127
6128    <declare-styleable name="AnimationSet">
6129        <attr name="shareInterpolator" format="boolean" />
6130        <attr name="fillBefore" />
6131        <attr name="fillAfter" />
6132        <attr name="duration" />
6133        <attr name="startOffset" />
6134        <attr name="repeatMode" />
6135    </declare-styleable>
6136
6137    <declare-styleable name="RotateAnimation">
6138        <attr name="fromDegrees" />
6139        <attr name="toDegrees" />
6140        <attr name="pivotX" />
6141        <attr name="pivotY" />
6142    </declare-styleable>
6143
6144    <declare-styleable name="ScaleAnimation">
6145        <attr name="fromXScale" format="float|fraction|dimension" />
6146        <attr name="toXScale" format="float|fraction|dimension" />
6147        <attr name="fromYScale" format="float|fraction|dimension" />
6148        <attr name="toYScale" format="float|fraction|dimension" />
6149        <attr name="pivotX" />
6150        <attr name="pivotY" />
6151    </declare-styleable>
6152
6153    <declare-styleable name="TranslateAnimation">
6154        <attr name="fromXDelta" format="float|fraction" />
6155        <attr name="toXDelta" format="float|fraction" />
6156        <attr name="fromYDelta" format="float|fraction" />
6157        <attr name="toYDelta" format="float|fraction" />
6158    </declare-styleable>
6159
6160    <declare-styleable name="AlphaAnimation">
6161        <attr name="fromAlpha" format="float" />
6162        <attr name="toAlpha" format="float" />
6163    </declare-styleable>
6164
6165    <declare-styleable name="LayoutAnimation">
6166        <!-- Fraction of the animation duration used to delay the beginning of
6167         the animation of each child. -->
6168        <attr name="delay" format="float|fraction" />
6169        <!-- Animation to use on each child. -->
6170        <attr name="animation" format="reference" />
6171        <!-- The order in which the animations will be started. -->
6172        <attr name="animationOrder">
6173            <!-- Animations are started in the natural order. -->
6174            <enum name="normal" value="0" />
6175            <!-- Animations are started in the reverse order. -->
6176            <enum name="reverse" value="1" />
6177            <!-- Animations are started randomly. -->
6178            <enum name="random" value="2" />
6179        </attr>
6180        <!-- Interpolator used to interpolate the delay between the start of
6181         each animation. -->
6182        <attr name="interpolator" />
6183    </declare-styleable>
6184
6185    <declare-styleable name="GridLayoutAnimation">
6186        <!-- Fraction of the animation duration used to delay the beginning of
6187         the animation of each column. -->
6188        <attr name="columnDelay" format="float|fraction" />
6189        <!-- Fraction of the animation duration used to delay the beginning of
6190         the animation of each row. -->
6191        <attr name="rowDelay" format="float|fraction" />
6192        <!-- Direction of the animation in the grid. -->
6193        <attr name="direction">
6194            <!-- Animates columns from left to right. -->
6195            <flag name="left_to_right" value="0x0" />
6196            <!-- Animates columns from right to left. -->
6197            <flag name="right_to_left" value="0x1" />
6198            <!-- Animates rows from top to bottom. -->
6199            <flag name="top_to_bottom" value="0x0" />
6200            <!-- Animates rows from bottom to top. -->
6201            <flag name="bottom_to_top" value="0x2" />
6202        </attr>
6203        <!-- Priority of the rows and columns. When the priority is none,
6204         both rows and columns have the same priority. When the priority is
6205         column, the animations will be applied on the columns first. The same
6206         goes for rows. -->
6207        <attr name="directionPriority">
6208            <!-- Rows and columns are animated at the same time. -->
6209            <enum name="none"   value="0" />
6210            <!-- Columns are animated first. -->
6211            <enum name="column" value="1" />
6212            <!-- Rows are animated first. -->
6213            <enum name="row"    value="2" />
6214        </attr>
6215    </declare-styleable>
6216
6217    <declare-styleable name="AccelerateInterpolator">
6218        <!-- This is the amount of deceleration to add when easing in. -->
6219        <attr name="factor" format="float" />
6220    </declare-styleable>
6221
6222    <declare-styleable name="DecelerateInterpolator">
6223        <!-- This is the amount of acceleration to add when easing out. -->
6224        <attr name="factor" />
6225    </declare-styleable>
6226
6227    <declare-styleable name="CycleInterpolator">
6228        <attr name="cycles" format="float" />
6229    </declare-styleable>
6230
6231    <declare-styleable name="AnticipateInterpolator">
6232        <!-- This is the amount of tension. -->
6233        <attr name="tension" format="float" />
6234    </declare-styleable>
6235
6236    <declare-styleable name="OvershootInterpolator">
6237        <!-- This is the amount of tension. -->
6238        <attr name="tension" />
6239    </declare-styleable>
6240
6241    <declare-styleable name="AnticipateOvershootInterpolator">
6242        <!-- This is the amount of tension. -->
6243        <attr name="tension" />
6244        <!-- This is the amount by which to multiply the tension. -->
6245        <attr name="extraTension" format="float" />
6246    </declare-styleable>
6247
6248    <declare-styleable name="PathInterpolator">
6249        <!-- The x coordinate of the first control point of the cubic Bezier -->
6250        <attr name="controlX1" format="float" />
6251        <!-- The y coordinate of the first control point of the cubic Bezier -->
6252        <attr name="controlY1" format="float" />
6253        <!-- The x coordinate of the second control point of the cubic Bezier -->
6254        <attr name="controlX2" format="float" />
6255        <!-- The y coordinate of the second control point of the cubic Bezier -->
6256        <attr name="controlY2" format="float" />
6257        <!-- The control points defined as a path.
6258             When pathData is defined, then both of the control points of the
6259             cubic Bezier will be ignored. -->
6260        <attr name="pathData"/>
6261    </declare-styleable>
6262
6263    <!-- ========================== -->
6264    <!-- Transition attributes -->
6265    <!-- ========================== -->
6266    <eat-comment />
6267
6268    <!-- Use specific transition subclass names as the root tag of the XML resource that
6269         describes a {@link android.transition.Transition Transition},
6270         such as <code>changeBounds</code>, <code>fade</code>, and <code>transitionSet</code>. -->
6271    <declare-styleable name="Transition">
6272        <!-- Amount of time (in milliseconds) that the transition should run. -->
6273        <attr name="duration" />
6274        <!-- Delay in milliseconds before the transition starts. -->
6275        <attr name="startDelay" format="integer" />
6276        <!-- Interpolator to be used in the animations spawned by this transition. -->
6277        <attr name="interpolator" />
6278        <!-- The match order to use for the transition. This is a comma-separated
6279             list of values, containing one or more of the following:
6280             id, itemId, name, instance. These correspond to
6281             {@link android.transition.Transition#MATCH_ID},
6282             {@link android.transition.Transition#MATCH_ITEM_ID},
6283             {@link android.transition.Transition#MATCH_NAME}, and
6284             {@link android.transition.Transition#MATCH_INSTANCE}, respectively.
6285             This corresponds to {@link android.transition.Transition#setMatchOrder(int...)}. -->
6286        <attr name="matchOrder" format="string" />
6287    </declare-styleable>
6288
6289    <!-- @hide For internal use only. Use only as directed. -->
6290    <declare-styleable name="EpicenterTranslateClipReveal">
6291        <attr name="interpolatorX" format="reference" />
6292        <attr name="interpolatorY" format="reference" />
6293        <attr name="interpolatorZ" format="reference" />
6294    </declare-styleable>
6295
6296    <!-- Use <code>fade</code>as the root tag of the XML resource that
6297         describes a {@link android.transition.Fade Fade} transition.
6298         The attributes of the {@link android.R.styleable#Transition Transition}
6299         resource are available in addition to the specific attributes of Fade
6300         described here. -->
6301    <declare-styleable name="Fade">
6302        <!-- Equivalent to <code>transitionVisibilityMode</code>, fadingMode works only
6303             with the Fade transition. -->
6304        <attr name="fadingMode">
6305            <!-- Fade will only fade appearing items in. -->
6306            <enum name="fade_in" value="1" />
6307            <!-- Fade will only fade disappearing items out. -->
6308            <enum name="fade_out" value="2" />
6309            <!-- Fade will fade appearing items in and disappearing items out. -->
6310            <enum name="fade_in_out" value="3" />
6311        </attr>
6312    </declare-styleable>
6313
6314    <!-- Use <code>slide</code>as the root tag of the XML resource that
6315         describes a {@link android.transition.Slide Slide} transition.
6316         The attributes of the {@link android.R.styleable#Transition Transition}
6317         resource are available in addition to the specific attributes of Slide
6318         described here. -->
6319    <declare-styleable name="Slide">
6320        <attr name="slideEdge">
6321            <!-- Slide to and from the left edge of the Scene. -->
6322            <enum name="left" value="0x03" />
6323            <!-- Slide to and from the top edge of the Scene. -->
6324            <enum name="top" value="0x30" />
6325            <!-- Slide to and from the right edge of the Scene. -->
6326            <enum name="right" value="0x05" />
6327            <!-- Slide to and from the bottom edge of the Scene. -->
6328            <enum name="bottom" value="0x50" />
6329            <!-- Slide to and from the x-axis position at the start of the Scene root. -->
6330            <enum name="start" value="0x00800003"/>
6331            <!-- Slide to and from the x-axis position at the end of the Scene root. -->
6332            <enum name="end" value="0x00800005"/>
6333        </attr>
6334    </declare-styleable>
6335
6336    <!-- Use with {@link android.transition.Visibility} transitions, such as
6337         <code>slide</code>, <code>explode</code>, and <code>fade</code> to mark which
6338         views are supported. -->
6339    <declare-styleable name="VisibilityTransition">
6340        <!-- Changes whether the transition supports appearing and/or disappearing Views.
6341             Corresponds to {@link android.transition.Visibility#setMode(int)}. -->
6342        <attr name="transitionVisibilityMode">
6343            <!-- Only appearing Views will be supported. -->
6344            <flag name="mode_in" value="1" />
6345            <!-- Only disappearing Views will be supported. -->
6346            <flag name="mode_out" value="2" />
6347        </attr>
6348    </declare-styleable>
6349    <!-- Use <code>target</code> as the root tag of the XML resource that
6350     describes a {@link android.transition.Transition#addTarget(int)
6351     targetId} of a transition. There can be one or more targets inside
6352     a <code>targets</code> tag, which is itself inside an appropriate
6353     {@link android.R.styleable#Transition Transition} tag.
6354     -->
6355    <declare-styleable name="TransitionTarget">
6356        <!-- The id of a target on which this transition will animate changes. -->
6357        <attr name="targetId" format="reference" />
6358        <!-- The id of a target to exclude from this transition. -->
6359        <attr name="excludeId" format="reference" />
6360        <!-- The fully-qualified name of the Class to include in this transition. -->
6361        <attr name="targetClass" />
6362        <!-- The fully-qualified name of the Class to exclude from this transition. -->
6363        <attr name="excludeClass" format="string" />
6364        <!-- The transitionName of the target on which this transition will animation changes. -->
6365        <attr name="targetName" format="string" />
6366        <!-- The transitionName of the target to exclude from this transition. -->
6367        <attr name="excludeName" format="string" />
6368    </declare-styleable>
6369
6370    <!-- Use <code>set</code> as the root tag of the XML resource that
6371         describes a {@link android.transition.TransitionSet
6372         TransitionSet} transition. -->
6373    <declare-styleable name="TransitionSet">
6374        <attr name="transitionOrdering">
6375            <!-- child transitions should be played together. -->
6376            <enum name="together" value="0" />
6377            <!-- child transitions should be played sequentially, in the same order
6378            as the xml. -->
6379            <enum name="sequential" value="1" />
6380        </attr>
6381    </declare-styleable>
6382
6383    <!-- Use <code>changeTransform</code> as the root tag of the XML resource that
6384         describes a {@link android.transition.ChangeTransform} transition. -->
6385    <declare-styleable name="ChangeTransform">
6386        <!-- A parent change should use an overlay or affect the transform of the
6387             transitionining View. Default is true. Corresponds to
6388             {@link android.transition.ChangeTransform#setReparentWithOverlay(boolean)}. -->
6389        <attr name="reparentWithOverlay" format="boolean"/>
6390
6391        <!-- Tells ChangeTransform to track parent changes. Default is true. Corresponds to
6392             {@link android.transition.ChangeTransform#setReparent(boolean)}. -->
6393        <attr name="reparent" format="boolean"/>
6394    </declare-styleable>
6395
6396    <!-- Use <code>changeBounds</code>as the root tag of the XML resource that
6397         describes a {@link android.transition.ChangeBounds} transition.
6398         The attributes of the {@link android.R.styleable#Transition Transition}
6399         resource are available in addition to the specific attributes of ChangeBounds
6400         described here. -->
6401    <declare-styleable name="ChangeBounds">
6402        <!-- Resize the view by adjusting the clipBounds rather than changing the
6403             dimensions of the view itself. The default value is false. -->
6404        <attr name="resizeClip" format="boolean"/>
6405    </declare-styleable>
6406
6407    <!-- Use <code>transitionManager</code> as the root tag of the XML resource that
6408         describes a {@link android.transition.TransitionManager
6409         TransitionManager}. -->
6410    <declare-styleable name="TransitionManager">
6411        <!-- The id of a transition to be used in a particular scene change. -->
6412        <attr name="transition" format="reference" />
6413        <!-- The originating scene in this scene change. -->
6414        <attr name="fromScene" format="reference" />
6415        <!-- The destination scene in this scene change. -->
6416        <attr name="toScene" format="reference" />
6417    </declare-styleable>
6418
6419    <!-- Use <code>arcMotion</code> as the root tag of the XML resource that
6420         describes a {@link android.transition.ArcMotion}. This must be used
6421         within a transition with which the PathMotion should be associated. -->
6422    <declare-styleable name="ArcMotion">
6423        <!-- The minimum arc angle in degrees between the start and end points when
6424             they are close to horizontal. -->
6425        <attr name="minimumHorizontalAngle" format="float" />
6426        <!-- The minimum arc angle in degrees between the start and end points when
6427             they are close to vertical. -->
6428        <attr name="minimumVerticalAngle" format="float" />
6429        <!-- The maximum arc angle in degrees between the start and end points. -->
6430        <attr name="maximumAngle" format="float" />
6431    </declare-styleable>
6432
6433    <!-- Use <code>patternPathMotion</code> as the root tag of the XML resource that
6434         describes a {@link android.transition.PatternPathMotion}. This must be used
6435         within a transition with which the PathMotion should be associated. -->
6436    <declare-styleable name="PatternPathMotion">
6437        <!-- The path string describing the pattern to use for the PathPathMotion. -->
6438        <attr name="patternPathData" format="string" />
6439    </declare-styleable>
6440
6441    <!-- ========================== -->
6442    <!-- ValueAnimator class attributes -->
6443    <!-- ========================== -->
6444    <eat-comment />
6445
6446    <declare-styleable name="Animator">
6447        <!-- Defines the interpolator used to smooth the animation movement in time. -->
6448        <attr name="interpolator" />
6449        <!-- Amount of time (in milliseconds) for the animation to run. -->
6450        <attr name="duration" />
6451        <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
6452        <attr name="startOffset"/>
6453        <!-- Defines how many times the animation should repeat. The default value is 0. -->
6454        <attr name="repeatCount"/>
6455        <!-- Defines the animation behavior when it reaches the end and the repeat count is
6456             greater than 0 or infinite. The default value is restart. -->
6457        <attr name="repeatMode"/>
6458        <!-- Value the animation starts from. -->
6459        <attr name="valueFrom" format="float|integer|color|dimension|string"/>
6460        <!-- Value the animation animates to. -->
6461        <attr name="valueTo" format="float|integer|color|dimension|string"/>
6462        <!-- The type of valueFrom and valueTo. -->
6463        <attr name="valueType">
6464            <!-- The given values are floats. This is the default value if valueType is
6465                 unspecified. Note that if any value attribute has a color value
6466                 (beginning with "#"), then this attribute is ignored and the color values are
6467                 interpreted as integers. -->
6468            <enum name="floatType" value="0" />
6469            <!-- values are integers. -->
6470            <enum name="intType"   value="1" />
6471            <!-- values are paths defined as strings.
6472                 This type is used for path morphing in AnimatedVectorDrawable. -->
6473            <enum name="pathType"   value="2" />
6474            <!-- values are colors, which are integers starting with "#". -->
6475            <enum name="colorType"   value="3" />
6476        </attr>
6477        <!-- Placeholder for a deleted attribute. This should be removed before M release. -->
6478        <attr name="removeBeforeMRelease" format="integer" />
6479    </declare-styleable>
6480
6481    <declare-styleable name="PropertyValuesHolder">
6482        <attr name="valueType" />
6483        <attr name="propertyName" />
6484        <attr name="valueFrom" />
6485        <attr name="valueTo" />
6486    </declare-styleable>
6487
6488    <declare-styleable name="Keyframe">
6489        <attr name="valueType" />
6490        <attr name="value" />
6491        <attr name="fraction" format="float" />
6492        <!-- Defines a per-interval interpolator for this keyframe. This interpolator will be used
6493             to interpolate between this keyframe and the previous keyframe.-->
6494        <attr name="interpolator" />
6495    </declare-styleable>
6496
6497    <!-- ========================== -->
6498    <!-- ObjectAnimator class attributes -->
6499    <!-- ========================== -->
6500    <eat-comment />
6501
6502    <declare-styleable name="PropertyAnimator">
6503        <!-- Name of the property being animated. -->
6504        <attr name="propertyName" format="string"/>
6505        <!-- Name of the property being animated as the X coordinate of the pathData. -->
6506        <attr name="propertyXName" format="string"/>
6507        <!-- Name of the property being animated as the Y coordinate of the pathData. -->
6508        <attr name="propertyYName" format="string"/>
6509        <!-- The path used to animate the properties in the ObjectAnimator -->
6510        <attr name="pathData"/>
6511    </declare-styleable>
6512
6513
6514    <!-- ========================== -->
6515    <!-- AnimatorSet class attributes -->
6516    <!-- ========================== -->
6517    <eat-comment />
6518
6519    <declare-styleable name="AnimatorSet">
6520        <!-- Name of the property being animated. -->
6521        <attr name="ordering">
6522            <!-- child animations should be played together. -->
6523            <enum name="together" value="0" />
6524            <!-- child animations should be played sequentially, in the same order as the xml. -->
6525            <enum name="sequentially" value="1" />
6526        </attr>
6527    </declare-styleable>
6528
6529    <!-- ========================== -->
6530    <!-- State attributes           -->
6531    <!-- ========================== -->
6532    <eat-comment />
6533
6534    <!-- Set of framework-provided states that may be specified on a Drawable. Actual usage of
6535         states may vary between view implementations, as documented on the individual state
6536         attributes. -->
6537    <declare-styleable name="DrawableStates">
6538        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6539             set when a view has input focus. -->
6540        <attr name="state_focused" format="boolean" />
6541        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6542             set when a view's window has input focus. -->
6543        <attr name="state_window_focused" format="boolean" />
6544        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6545             set when a view is enabled. -->
6546        <attr name="state_enabled" format="boolean" />
6547        <!-- State identifier indicating that the object <var>may</var> display a check mark. See
6548             {@link android.R.attr#state_checked} for the identifier that indicates whether it is
6549             actually checked. -->
6550        <attr name="state_checkable" format="boolean"/>
6551        <!-- State identifier indicating that the object is currently checked.  See
6552             {@link android.R.attr#state_checkable} for an additional identifier that can indicate
6553             if any object may ever display a check, regardless of whether state_checked is
6554             currently set. -->
6555        <attr name="state_checked" format="boolean"/>
6556        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6557             set when a view (or one of its parents) is currently selected. -->
6558        <attr name="state_selected" format="boolean" />
6559        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6560             set when the user is pressing down in a view. -->
6561        <attr name="state_pressed" format="boolean" />
6562        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6563             set when a view or its parent has been "activated" meaning the user has currently
6564             marked it as being of interest.  This is an alternative representation of
6565             state_checked for when the state should be propagated down the view hierarchy. -->
6566        <attr name="state_activated" format="boolean" />
6567        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6568             set when a view or drawable is considered "active" by its host. Actual usage may vary
6569             between views. Consult the host view documentation for details. -->
6570        <attr name="state_active" format="boolean" />
6571        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6572             set when a view or drawable is considered "single" by its host. Actual usage may vary
6573             between views. Consult the host view documentation for details. -->
6574        <attr name="state_single" format="boolean" />
6575        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6576             set when a view or drawable is in the first position in an ordered set. Actual usage
6577             may vary between views. Consult the host view documentation for details. -->
6578        <attr name="state_first" format="boolean" />
6579        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6580             set when a view or drawable is in the middle position in an ordered set. Actual usage
6581             may vary between views. Consult the host view documentation for details. -->
6582        <attr name="state_middle" format="boolean" />
6583        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6584             set when a view or drawable is in the last position in an ordered set. Actual usage
6585             may vary between views. Consult the host view documentation for details. -->
6586        <attr name="state_last" format="boolean" />
6587        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6588             indicating that the Drawable is in a view that is hardware accelerated.
6589             This means that the device can at least render a full-screen scaled
6590             bitmap with one layer of text and bitmaps composited on top of it
6591             at 60fps.  When this is set, the colorBackgroundCacheHint will be
6592             ignored even if it specifies a solid color, since that optimization
6593             is not needed. -->
6594        <attr name="state_accelerated" format="boolean" />
6595        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6596             set when a pointer is hovering over the view. -->
6597        <attr name="state_hovered" format="boolean" />
6598        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6599             indicating that the Drawable is in a view that is capable of accepting a drop of
6600             the content currently being manipulated in a drag-and-drop operation. -->
6601        <attr name="state_drag_can_accept" format="boolean" />
6602        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6603             indicating that a drag operation (for which the Drawable's view is a valid recipient)
6604             is currently positioned over the Drawable. -->
6605        <attr name="state_drag_hovered" format="boolean" />
6606        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6607             indicating that a View has accessibility focus. -->
6608        <attr name="state_accessibility_focused" format="boolean" />
6609    </declare-styleable>
6610    <declare-styleable name="ViewDrawableStates">
6611        <attr name="state_pressed" />
6612        <attr name="state_focused" />
6613        <attr name="state_selected" />
6614        <attr name="state_window_focused" />
6615        <attr name="state_enabled" />
6616        <attr name="state_activated" />
6617        <attr name="state_accelerated" />
6618        <attr name="state_hovered" />
6619        <attr name="state_drag_can_accept" />
6620        <attr name="state_drag_hovered" />
6621    </declare-styleable>
6622    <!-- State array representing a menu item that is currently checked. -->
6623    <declare-styleable name="MenuItemCheckedState">
6624        <attr name="state_checkable" />
6625        <attr name="state_checked" />
6626    </declare-styleable>
6627    <!-- State array representing a menu item that is checkable but is not currently checked. -->
6628    <declare-styleable name="MenuItemUncheckedState">
6629        <attr name="state_checkable" />
6630    </declare-styleable>
6631    <!-- State array representing a menu item that is currently focused and checked. -->
6632    <declare-styleable name="MenuItemCheckedFocusedState">
6633        <attr name="state_checkable" />
6634        <attr name="state_checked" />
6635        <attr name="state_focused" />
6636    </declare-styleable>
6637    <!-- State array representing a menu item that is focused and checkable but is not currently checked. -->
6638    <declare-styleable name="MenuItemUncheckedFocusedState">
6639        <attr name="state_checkable" />
6640        <attr name="state_focused" />
6641    </declare-styleable>
6642    <!-- State array representing an expandable list child's indicator. -->
6643    <declare-styleable name="ExpandableListChildIndicatorState">
6644        <!-- State identifier indicating the child is the last child within its group. -->
6645        <attr name="state_last" />
6646    </declare-styleable>
6647    <!-- State array representing an expandable list group's indicator. -->
6648    <declare-styleable name="ExpandableListGroupIndicatorState">
6649        <!-- State identifier indicating the group is expanded. -->
6650        <attr name="state_expanded" format="boolean" />
6651        <!-- State identifier indicating the group is empty (has no children). -->
6652        <attr name="state_empty" format="boolean" />
6653    </declare-styleable>
6654    <declare-styleable name="PopupWindowBackgroundState">
6655        <!-- State identifier indicating the popup will be above the anchor. -->
6656        <attr name="state_above_anchor" format="boolean" />
6657    </declare-styleable>
6658    <declare-styleable name="TextViewMultiLineBackgroundState">
6659        <!-- State identifier indicating a TextView has a multi-line layout. -->
6660        <attr name="state_multiline" format="boolean" />
6661    </declare-styleable>
6662
6663    <!-- ***************************************************************** -->
6664    <!-- Support for Searchable activities. -->
6665    <!-- ***************************************************************** -->
6666    <eat-comment />
6667
6668    <!-- Searchable activities and applications must provide search configuration information
6669        in an XML file, typically called searchable.xml.  This file is referenced in your manifest.
6670        For a more in-depth discussion of search configuration, please refer to
6671        {@link android.app.SearchManager}. -->
6672    <declare-styleable name="Searchable">
6673          <!--<strong>This is deprecated.</strong><br/>The default
6674              application icon is now always used, so this attribute is
6675              obsolete.-->
6676        <attr name="icon" />
6677        <!-- This is the user-displayed name of the searchable activity.  <i>Required
6678            attribute.</i> -->
6679        <attr name="label" />
6680        <!-- If supplied, this string will be displayed as a hint to the user.  <i>Optional
6681            attribute.</i> -->
6682        <attr name="hint" />
6683        <!-- If supplied, this string will be displayed as the text of the "Search" button.
6684          <i>Optional attribute.</i>
6685          {@deprecated This will create a non-standard UI appearance, because the search bar UI is
6686                       changing to use only icons for its buttons.}-->
6687        <attr name="searchButtonText" format="string" />
6688        <attr name="inputType" />
6689        <attr name="imeOptions" />
6690
6691        <!-- Additional features are controlled by mode bits in this field.  Omitting
6692            this field, or setting to zero, provides default behavior.  <i>Optional attribute.</i>
6693        -->
6694        <attr name="searchMode">
6695          <!-- If set, this flag enables the display of the search target (label) within the
6696               search bar.  If neither bad mode is selected, no badge will be shown. -->
6697          <flag name="showSearchLabelAsBadge" value="0x04" />
6698          <!--<strong>This is deprecated.</strong><br/>The default
6699              application icon is now always used, so this option is
6700              obsolete.-->
6701          <flag name="showSearchIconAsBadge" value="0x08" />
6702          <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_INTENT_DATA to
6703               be considered as the text for suggestion query rewriting.  This should only
6704               be used when the values in SUGGEST_COLUMN_INTENT_DATA are suitable for user
6705               inspection and editing - typically, HTTP/HTTPS Uri's. -->
6706          <flag name="queryRewriteFromData" value="0x10" />
6707          <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_TEXT_1 to
6708               be considered as the text for suggestion query rewriting.  This should be used
6709               for suggestions in which no query text is provided and the SUGGEST_COLUMN_INTENT_DATA
6710               values are not suitable for user inspection and editing. -->
6711          <flag name="queryRewriteFromText" value="0x20" />
6712        </attr>
6713
6714        <!-- Voice search features are controlled by mode bits in this field.  Omitting
6715            this field, or setting to zero, provides default behavior.
6716            If showVoiceSearchButton is set, then launchWebSearch or launchRecognizer must
6717            also be set.  <i>Optional attribute.</i>
6718        -->
6719        <attr name="voiceSearchMode">
6720          <!-- If set, display a voice search button.  This only takes effect if voice search is
6721               available on the device. -->
6722          <flag name="showVoiceSearchButton" value="0x01" />
6723          <!-- If set, the voice search button will take the user directly to a built-in
6724               voice web search activity.  Most applications will not use this flag, as it
6725               will take the user away from the activity in which search was invoked. -->
6726          <flag name="launchWebSearch" value="0x02" />
6727          <!-- If set, the voice search button will take the user directly to a built-in
6728               voice recording activity.  This activity will prompt the user to speak,
6729               transcribe the spoken text, and forward the resulting query
6730               text to the searchable activity, just as if the user had typed it into
6731               the search UI and clicked the search button. -->
6732          <flag name="launchRecognizer" value="0x04" />
6733        </attr>
6734
6735        <!-- If provided, this specifies the language model that should be used by the
6736             voice recognition system.  See
6737             {@link android.speech.RecognizerIntent#EXTRA_LANGUAGE_MODEL } for more information.
6738             If not provided, the default value
6739             {@link android.speech.RecognizerIntent#LANGUAGE_MODEL_FREE_FORM } will be used. -->
6740        <attr name="voiceLanguageModel" format="string" />
6741        <!-- If provided, this specifies a prompt that will be displayed during voice input. -->
6742        <attr name="voicePromptText" format="string" />
6743        <!-- If provided, this specifies the spoken language to be expected, and that it will be
6744             different than the one set in the {@link java.util.Locale#getDefault()}. -->
6745        <attr name="voiceLanguage" format="string" />
6746        <!-- If provided, enforces the maximum number of results to return, including the "best"
6747             result which will always be provided as the SEARCH intent's primary query.  Must be one
6748             or greater.  If not provided, the recognizer will choose how many results to return.
6749             -->
6750        <attr name="voiceMaxResults" format="integer" />
6751
6752        <!-- If provided, this is the trigger indicating that the searchable activity
6753            provides suggestions as well.  The value must be a fully-qualified content provider
6754            authority (e.g. "com.example.android.apis.SuggestionProvider") and should match the
6755            "android:authorities" tag in your content provider's manifest entry.  <i>Optional
6756            attribute.</i> -->
6757        <attr name="searchSuggestAuthority" format="string" />
6758        <!-- If provided, this will be inserted in the suggestions query Uri, after the authority
6759            you have provide but before the standard suggestions path. <i>Optional attribute.</i>
6760            -->
6761        <attr name="searchSuggestPath" format="string" />
6762        <!-- If provided, suggestion queries will be passed into your query function
6763            as the <i>selection</i> parameter.  Typically this will be a WHERE clause for your
6764            database, and will contain a single question mark, which represents the actual query
6765            string that has been typed by the user.  If not provided, then the user query text
6766            will be appended to the query Uri (after an additional "/".)  <i>Optional
6767            attribute.</i> -->
6768        <attr name="searchSuggestSelection" format="string" />
6769
6770        <!-- If provided, and not overridden by an action in the selected suggestion, this
6771            string will be placed in the action field of the {@link android.content.Intent Intent}
6772            when the user clicks a suggestion.  <i>Optional attribute.</i> -->
6773        <attr name="searchSuggestIntentAction" format="string" />
6774        <!-- If provided, and not overridden by an action in the selected suggestion, this
6775            string will be placed in the data field of the {@link android.content.Intent Intent}
6776            when the user clicks a suggestion.  <i>Optional attribute.</i> -->
6777        <attr name="searchSuggestIntentData" format="string" />
6778
6779        <!-- If provided, this is the minimum number of characters needed to trigger
6780             search suggestions. The default value is 0. <i>Optional attribute.</i> -->
6781        <attr name="searchSuggestThreshold" format="integer" />
6782
6783        <!-- If provided and <code>true</code>, this searchable activity will be
6784             included in any global lists of search targets.
6785             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6786        <attr name="includeInGlobalSearch" format="boolean" />
6787
6788        <!-- If provided and <code>true</code>, this searchable activity will be invoked for all
6789             queries in a particular session. If set to <code>false</code> and the activity
6790             returned zero results for a query, it will not be invoked again in that session for
6791             supersets of that zero-results query. For example, if the activity returned zero
6792             results for "bo", it would not be queried again for "bob".
6793             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6794        <attr name="queryAfterZeroResults" format="boolean" />
6795        <!-- If provided, this string will be used to describe the searchable item in the
6796             searchable items settings within system search settings. <i>Optional
6797             attribute.</i> -->
6798        <attr name="searchSettingsDescription" format="string" />
6799
6800        <!-- If provided and <code>true</code>, URLs entered in the search dialog while searching
6801             within this activity would be detected and treated as URLs (show a 'go' button in the
6802             keyboard and invoke the browser directly when user launches the URL instead of passing
6803             the URL to the activity). If set to <code>false</code> any URLs entered are treated as
6804             normal query text.
6805             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6806        <attr name="autoUrlDetect" format="boolean" />
6807
6808    </declare-styleable>
6809
6810    <!-- In order to process special action keys during search, you must define them using
6811            one or more "ActionKey" elements in your Searchable metadata.  For a more in-depth
6812            discussion of action code handling, please refer to {@link android.app.SearchManager}.
6813    -->
6814    <declare-styleable name="SearchableActionKey">
6815        <!-- This attribute denotes the action key you wish to respond to.  Note that not
6816            all action keys are actually supported using this mechanism, as many of them are
6817            used for typing, navigation, or system functions.  This will be added to the
6818            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6819            searchable activity.  To examine the key code, use
6820            {@link android.content.Intent#getIntExtra getIntExtra(SearchManager.ACTION_KEY)}.
6821            <p>Note, in addition to the keycode, you must also provide one or more of the action
6822            specifier attributes.  <i>Required attribute.</i> -->
6823        <attr name="keycode" />
6824
6825        <!-- If you wish to handle an action key during normal search query entry, you
6826            must define an action string here.  This will be added to the
6827            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6828            searchable activity.  To examine the string, use
6829            {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
6830            <i>Optional attribute.</i> -->
6831        <attr name="queryActionMsg"  format="string" />
6832
6833        <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
6834            selected</i>, there are two ways to handle this.  If <i>all</i> of your suggestions
6835            can handle the action key, you can simply define the action message using this
6836            attribute.  This will be added to the
6837            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6838            searchable activity.  To examine the string, use
6839            {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
6840            <i>Optional attribute.</i> -->
6841        <attr name="suggestActionMsg"  format="string" />
6842
6843        <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
6844            selected</i>, but you do not wish to enable this action key for every suggestion,
6845            then you can use this attribute to control it on a suggestion-by-suggestion basis.
6846            First, you must define a column (and name it here) where your suggestions will include
6847            the action string.  Then, in your content provider, you must provide this column, and
6848            when desired, provide data in this column.
6849            The search manager will look at your suggestion cursor, using the string
6850            provided here in order to select a column, and will use that to select a string from
6851            the cursor.  That string will be added to the
6852            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to
6853            your searchable activity.  To examine the string, use
6854            {@link android.content.Intent#getStringExtra
6855            getStringExtra(SearchManager.ACTION_MSG)}.  <i>If the data does not exist for the
6856            selection suggestion, the action key will be ignored.</i><i>Optional attribute.</i> -->
6857        <attr name="suggestActionMsgColumn" format="string" />
6858
6859    </declare-styleable>
6860
6861    <!-- ***************************************************************** -->
6862    <!-- Support for MapView. -->
6863    <!-- ***************************************************************** -->
6864    <eat-comment />
6865
6866    <!-- The set of attributes for a MapView. -->
6867    <declare-styleable name="MapView">
6868        <!-- Value is a string that specifies the Maps API Key to use. -->
6869        <attr name="apiKey" format="string" />
6870    </declare-styleable>
6871
6872    <!-- **************************************************************** -->
6873    <!-- Menu XML inflation. -->
6874    <!-- **************************************************************** -->
6875    <eat-comment />
6876
6877    <!-- Base attributes that are available to all Menu objects. -->
6878    <declare-styleable name="Menu">
6879    </declare-styleable>
6880
6881    <!-- Base attributes that are available to all groups. -->
6882    <declare-styleable name="MenuGroup">
6883
6884        <!-- The ID of the group. -->
6885        <attr name="id" />
6886
6887        <!-- The category applied to all items within this group.
6888             (This will be or'ed with the orderInCategory attribute.) -->
6889        <attr name="menuCategory">
6890            <!-- Items are part of a container. -->
6891            <enum name="container" value="0x00010000" />
6892            <!-- Items are provided by the system. -->
6893            <enum name="system" value="0x00020000" />
6894            <!-- Items are user-supplied secondary (infrequently used). -->
6895            <enum name="secondary" value="0x00030000" />
6896            <!-- Items are alternative actions. -->
6897            <enum name="alternative" value="0x00040000" />
6898        </attr>
6899
6900        <!-- The order within the category applied to all items within this group.
6901             (This will be or'ed with the category attribute.) -->
6902        <attr name="orderInCategory" format="integer" />
6903
6904        <!-- Whether the items are capable of displaying a check mark. -->
6905        <attr name="checkableBehavior">
6906            <!-- The items are not checkable. -->
6907            <enum name="none" value="0" />
6908            <!-- The items are all checkable. -->
6909            <enum name="all" value="1" />
6910            <!-- The items are checkable and there will only be a single checked item in
6911                 this group. -->
6912            <enum name="single" value="2" />
6913        </attr>
6914
6915        <!-- Whether the items are shown/visible. -->
6916        <attr name="visible" />
6917
6918        <!-- Whether the items are enabled. -->
6919        <attr name="enabled" />
6920
6921    </declare-styleable>
6922
6923    <!-- Base attributes that are available to all Item objects. -->
6924    <declare-styleable name="MenuItem">
6925
6926        <!-- The ID of the item. -->
6927        <attr name="id" />
6928
6929        <!-- The category applied to the item.
6930             (This will be or'ed with the orderInCategory attribute.) -->
6931        <attr name="menuCategory" />
6932
6933        <!-- The order within the category applied to the item.
6934             (This will be or'ed with the category attribute.) -->
6935        <attr name="orderInCategory" />
6936
6937        <!-- The title associated with the item. -->
6938        <attr name="title" format="string" />
6939
6940        <!-- The condensed title associated with the item.  This is used in situations where the
6941             normal title may be too long to be displayed. -->
6942        <attr name="titleCondensed" format="string" />
6943
6944        <!-- The icon associated with this item.  This icon will not always be shown, so
6945             the title should be sufficient in describing this item. -->
6946        <attr name="icon" />
6947
6948        <!-- The alphabetic shortcut key.  This is the shortcut when using a keyboard
6949             with alphabetic keys. -->
6950        <attr name="alphabeticShortcut" format="string" />
6951
6952        <!-- The numeric shortcut key.  This is the shortcut when using a numeric (e.g., 12-key)
6953             keyboard. -->
6954        <attr name="numericShortcut" format="string" />
6955
6956        <!-- Whether the item is capable of displaying a check mark. -->
6957        <attr name="checkable" format="boolean" />
6958
6959        <!-- Whether the item is checked.  Note that you must first have enabled checking with
6960             the checkable attribute or else the check mark will not appear. -->
6961        <attr name="checked" />
6962
6963        <!-- Whether the item is shown/visible. -->
6964        <attr name="visible" />
6965
6966        <!-- Whether the item is enabled. -->
6967        <attr name="enabled" />
6968
6969        <!-- Name of a method on the Context used to inflate the menu that will be
6970             called when the item is clicked. -->
6971        <attr name="onClick" />
6972
6973        <!-- How this item should display in the Action Bar, if present. -->
6974        <attr name="showAsAction">
6975            <!-- Never show this item in an action bar, show it in the overflow menu instead.
6976                 Mutually exclusive with "ifRoom" and "always". -->
6977            <flag name="never" value="0" />
6978            <!-- Show this item in an action bar if there is room for it as determined
6979                 by the system. Favor this option over "always" where possible.
6980                 Mutually exclusive with "never" and "always". -->
6981            <flag name="ifRoom" value="1" />
6982            <!-- Always show this item in an actionbar, even if it would override
6983                 the system's limits of how much stuff to put there. This may make
6984                 your action bar look bad on some screens. In most cases you should
6985                 use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never". -->
6986            <flag name="always" value="2" />
6987            <!-- When this item is shown as an action in the action bar, show a text
6988                 label with it even if it has an icon representation. -->
6989            <flag name="withText" value="4" />
6990            <!-- This item's action view collapses to a normal menu
6991                 item. When expanded, the action view takes over a
6992                 larger segment of its container. -->
6993            <flag name="collapseActionView" value="8" />
6994        </attr>
6995
6996        <!-- An optional layout to be used as an action view.
6997             See {@link android.view.MenuItem#setActionView(android.view.View)}
6998             for more info. -->
6999        <attr name="actionLayout" format="reference" />
7000
7001        <!-- The name of an optional View class to instantiate and use as an
7002             action view. See {@link android.view.MenuItem#setActionView(android.view.View)}
7003             for more info. -->
7004        <attr name="actionViewClass" format="string" />
7005
7006        <!-- The name of an optional ActionProvider class to instantiate an action view
7007             and perform operations such as default action for that menu item.
7008             See {@link android.view.MenuItem#setActionProvider(android.view.ActionProvider)}
7009             for more info. -->
7010        <attr name="actionProviderClass" format="string" />
7011
7012        <!-- The content description associated with the item. -->
7013        <attr name="contentDescription" format="string" />
7014
7015        <!-- The tooltip text associated with the item. -->
7016        <attr name="tooltip" format="string" />
7017
7018    </declare-styleable>
7019
7020    <!-- Attrbitutes for a ActvityChooserView. -->
7021    <declare-styleable name="ActivityChooserView">
7022        <!-- The maximal number of items initially shown in the activity list. -->
7023        <attr name="initialActivityCount" format="string" />
7024        <!-- The drawable to show in the button for expanding the activities overflow popup.
7025             <strong>Note:</strong> Clients would like to set this drawable
7026             as a clue about the action the chosen activity will perform. For
7027             example, if share activity is to be chosen the drawable should
7028             give a clue that sharing is to be performed.
7029         -->
7030        <attr name="expandActivityOverflowButtonDrawable" format="reference" />
7031    </declare-styleable>
7032
7033    <!-- **************************************************************** -->
7034    <!-- Preferences framework. -->
7035    <!-- **************************************************************** -->
7036    <eat-comment />
7037
7038    <!-- Base attributes available to PreferenceGroup. -->
7039    <declare-styleable name="PreferenceGroup">
7040        <!-- Whether to order the Preference under this group as they appear in the XML file.
7041             If this is false, the ordering will follow the Preference order attribute and
7042             default to alphabetic for those without the order attribute. -->
7043        <attr name="orderingFromXml" format="boolean" />
7044    </declare-styleable>
7045
7046    <!-- Attribute for a header describing the item shown in the top-level list
7047         from which the selects the set of preference to dig in to. -->
7048    <declare-styleable name="PreferenceHeader">
7049        <!-- Identifier value for the header. -->
7050        <attr name="id" />
7051        <!-- The title of the item that is shown to the user. -->
7052        <attr name="title" />
7053        <!-- The summary for the item. -->
7054        <attr name="summary" format="string" />
7055        <!-- The title for the bread crumb of this item. -->
7056        <attr name="breadCrumbTitle" format="string" />
7057        <!-- The short title for the bread crumb of this item. -->
7058        <attr name="breadCrumbShortTitle" format="string" />
7059        <!-- An icon for the item. -->
7060        <attr name="icon" />
7061        <!-- The fragment that is displayed when the user selects this item. -->
7062        <attr name="fragment" format="string" />
7063    </declare-styleable>
7064
7065    <!-- WARNING:  If adding attributes to Preference, make sure it does not conflict
7066                   with a View's attributes.  Some subclasses (e.g., EditTextPreference)
7067                   proxy all attributes to its EditText widget. -->
7068    <eat-comment />
7069
7070    <!-- Base attributes available to Preference. -->
7071    <declare-styleable name="Preference">
7072        <!-- The optional icon for the preference -->
7073        <attr name="icon" />
7074        <!-- The key to store the Preference value. -->
7075        <attr name="key" format="string" />
7076        <!-- The title for the Preference. In API 25 and earlier, this value is read as a
7077         plain string with styling information stripped. -->
7078        <attr name="title" />
7079        <!-- The summary for the Preference. In API 25 and earlier, this value is read as a
7080         plain string with styling information stripped. -->
7081        <attr name="summary" />
7082        <!-- The order for the Preference (lower values are to be ordered first). If this is not
7083             specified, the default ordering will be alphabetic. -->
7084        <attr name="order" format="integer" />
7085        <!-- When used inside of a modern PreferenceActivity, this declares
7086             a new PreferenceFragment to be shown when the user selects this item. -->
7087        <attr name="fragment" />
7088        <!-- The layout for the Preference in a PreferenceActivity screen. This should
7089             rarely need to be changed, look at widgetLayout instead. -->
7090        <attr name="layout" />
7091        <!-- The layout for the controllable widget portion of a Preference. This is inflated
7092             into the layout for a Preference and should be used more frequently than
7093             the layout attribute. For example, a checkbox preference would specify
7094             a custom layout (consisting of just the CheckBox) here. -->
7095        <attr name="widgetLayout" format="reference" />
7096        <!-- Whether the Preference is enabled. -->
7097        <attr name="enabled" />
7098        <!-- Whether the Preference is selectable. -->
7099        <attr name="selectable" format="boolean" />
7100        <!-- The key of another Preference that this Preference will depend on.  If the other
7101             Preference is not set or is off, this Preference will be disabled. -->
7102        <attr name="dependency" format="string" />
7103        <!-- Whether the Preference stores its value to the shared preferences. -->
7104        <attr name="persistent" />
7105        <!-- The default value for the preference, which will be set either if persistence
7106             is off or persistence is on and the preference is not found in the persistent
7107             storage.  -->
7108        <attr name="defaultValue" format="string|boolean|integer|reference|float" />
7109        <!-- Whether the view of this Preference should be disabled when
7110             this Preference is disabled. -->
7111        <attr name="shouldDisableView" format="boolean" />
7112    </declare-styleable>
7113
7114    <!-- Base attributes available to CheckBoxPreference. -->
7115    <declare-styleable name="CheckBoxPreference">
7116        <!-- The summary for the Preference in a PreferenceActivity screen when the
7117             CheckBoxPreference is checked. If separate on/off summaries are not
7118             needed, the summary attribute can be used instead. -->
7119        <attr name="summaryOn" format="string" />
7120        <!-- The summary for the Preference in a PreferenceActivity screen when the
7121             CheckBoxPreference is unchecked. If separate on/off summaries are not
7122             needed, the summary attribute can be used instead. -->
7123        <attr name="summaryOff" format="string" />
7124        <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
7125             dependents will be disabled when this is unchecked, so the value of this preference is false. -->
7126        <attr name="disableDependentsState" format="boolean" />
7127    </declare-styleable>
7128
7129    <!-- Base attributes available to DialogPreference. -->
7130    <declare-styleable name="DialogPreference">
7131        <!-- The title in the dialog. -->
7132        <attr name="dialogTitle" format="string" />
7133        <!-- The message in the dialog. If a dialogLayout is provided and contains
7134             a TextView with ID android:id/message, this message will be placed in there. -->
7135        <attr name="dialogMessage" format="string" />
7136        <!-- The icon for the dialog. -->
7137        <attr name="dialogIcon" format="reference" />
7138        <!-- The positive button text for the dialog. Set to @null to hide the positive button. -->
7139        <attr name="positiveButtonText" format="string" />
7140        <!-- The negative button text for the dialog. Set to @null to hide the negative button. -->
7141        <attr name="negativeButtonText" format="string" />
7142        <!-- A layout to be used as the content View for the dialog. By default, this shouldn't
7143             be needed. If a custom DialogPreference is required, this should be set. For example,
7144             the EditTextPreference uses a layout with an EditText as this attribute. -->
7145        <attr name="dialogLayout" format="reference" />
7146    </declare-styleable>
7147
7148    <!-- Base attributes available to ListPreference. -->
7149    <declare-styleable name="ListPreference">
7150        <!-- The human-readable array to present as a list. Each entry must have a corresponding
7151             index in entryValues. -->
7152        <attr name="entries" />
7153        <!-- The array to find the value to save for a preference when an entry from
7154             entries is selected. If a user clicks on the second item in entries, the
7155             second item in this array will be saved to the preference. -->
7156        <attr name="entryValues" format="reference" />
7157    </declare-styleable>
7158
7159    <declare-styleable name="MultiSelectListPreference">
7160        <!-- The human-readable array to present as a list. Each entry must have a corresponding
7161             index in entryValues. -->
7162        <attr name="entries" />
7163        <!-- The array to find the value to save for a preference when an entry from
7164             entries is selected. If a user clicks the second item in entries, the
7165             second item in this array will be saved to the preference. -->
7166        <attr name="entryValues" />
7167    </declare-styleable>
7168
7169    <!-- Base attributes available to RingtonePreference. -->
7170    <declare-styleable name="RingtonePreference">
7171        <!-- Which ringtone type(s) to show in the picker. -->
7172        <attr name="ringtoneType">
7173            <!-- Ringtones. -->
7174            <flag name="ringtone" value="1" />
7175            <!-- Notification sounds. -->
7176            <flag name="notification" value="2" />
7177            <!-- Alarm sounds. -->
7178            <flag name="alarm" value="4" />
7179            <!-- All available ringtone sounds. -->
7180            <flag name="all" value="7" />
7181        </attr>
7182        <!-- Whether to show an item for a default sound. -->
7183        <attr name="showDefault" format="boolean" />
7184        <!-- Whether to show an item for 'Silent'. -->
7185        <attr name="showSilent" format="boolean" />
7186    </declare-styleable>
7187
7188    <!-- Base attributes available to VolumePreference. -->
7189    <declare-styleable name="VolumePreference">
7190        <!-- Different audio stream types. -->
7191        <attr name="streamType">
7192            <enum name="voice" value="0" />
7193            <enum name="system" value="1" />
7194            <enum name="ring" value="2" />
7195            <enum name="music" value="3" />
7196            <enum name="alarm" value="4" />
7197        </attr>
7198    </declare-styleable>
7199
7200    <declare-styleable name="InputMethodService">
7201        <!-- Background to use for entire input method when it is being
7202             shown in fullscreen mode with the extract view, to ensure
7203             that it completely covers the application.  This allows,
7204             for example, the candidate view to be hidden
7205             while in fullscreen mode without having the application show through
7206             behind it.-->
7207        <attr name="imeFullscreenBackground" format="reference|color" />
7208        <!-- Animation to use when showing the fullscreen extract UI after
7209             it had previously been hidden. -->
7210        <attr name="imeExtractEnterAnimation" format="reference" />
7211        <!-- Animation to use when hiding the fullscreen extract UI after
7212             it had previously been shown. -->
7213        <attr name="imeExtractExitAnimation" format="reference" />
7214    </declare-styleable>
7215
7216    <declare-styleable name="VoiceInteractionSession">
7217    </declare-styleable>
7218
7219    <declare-styleable name="KeyboardView">
7220        <!-- Default KeyboardView style. -->
7221        <attr name="keyboardViewStyle" format="reference" />
7222
7223        <!-- Image for the key. This image needs to be a StateListDrawable, with the following
7224             possible states: normal, pressed, checkable, checkable+pressed, checkable+checked,
7225             checkable+checked+pressed. -->
7226        <attr name="keyBackground" format="reference" />
7227
7228        <!-- Size of the text for character keys. -->
7229        <attr name="keyTextSize" format="dimension" />
7230
7231        <!-- Size of the text for custom keys with some text and no icon. -->
7232        <attr name="labelTextSize" format="dimension" />
7233
7234        <!-- Color to use for the label in a key. -->
7235        <attr name="keyTextColor" format="color" />
7236
7237        <!-- Layout resource for key press feedback.-->
7238        <attr name="keyPreviewLayout" format="reference" />
7239
7240        <!-- Vertical offset of the key press feedback from the key. -->
7241        <attr name="keyPreviewOffset" format="dimension" />
7242
7243        <!-- Height of the key press feedback popup. -->
7244        <attr name="keyPreviewHeight" format="dimension" />
7245
7246        <!-- Amount to offset the touch Y coordinate by, for bias correction. -->
7247        <attr name="verticalCorrection" format="dimension" />
7248
7249        <!-- Layout resource for popup keyboards. -->
7250        <attr name="popupLayout" format="reference" />
7251
7252        <attr name="shadowColor" />
7253        <attr name="shadowRadius" />
7254    </declare-styleable>
7255
7256    <declare-styleable name="KeyboardViewPreviewState">
7257        <!-- State for {@link android.inputmethodservice.KeyboardView KeyboardView}
7258                key preview background. -->
7259        <attr name="state_long_pressable" format="boolean" />
7260    </declare-styleable>
7261
7262    <declare-styleable name="Keyboard">
7263        <!-- Default width of a key, in pixels or percentage of display width. -->
7264        <attr name="keyWidth" format="dimension|fraction" />
7265        <!-- Default height of a key, in pixels or percentage of display width. -->
7266        <attr name="keyHeight" format="dimension|fraction" />
7267        <!-- Default horizontal gap between keys. -->
7268        <attr name="horizontalGap" format="dimension|fraction" />
7269        <!-- Default vertical gap between rows of keys. -->
7270        <attr name="verticalGap" format="dimension|fraction" />
7271    </declare-styleable>
7272
7273    <declare-styleable name="Keyboard_Row">
7274        <!-- Row edge flags. -->
7275        <attr name="rowEdgeFlags">
7276            <!-- Row is anchored to the top of the keyboard. -->
7277            <flag name="top" value="4" />
7278            <!-- Row is anchored to the bottom of the keyboard. -->
7279            <flag name="bottom" value="8" />
7280        </attr>
7281        <!-- Mode of the keyboard. If the mode doesn't match the
7282             requested keyboard mode, the row will be skipped. -->
7283        <attr name="keyboardMode" format="reference" />
7284    </declare-styleable>
7285
7286    <declare-styleable name="Keyboard_Key">
7287        <!-- The unicode value or comma-separated values that this key outputs. -->
7288        <attr name="codes" format="integer|string" />
7289        <!-- The XML keyboard layout of any popup keyboard. -->
7290        <attr name="popupKeyboard" format="reference" />
7291        <!-- The characters to display in the popup keyboard. -->
7292        <attr name="popupCharacters" format="string" />
7293        <!-- Key edge flags. -->
7294        <attr name="keyEdgeFlags">
7295            <!-- Key is anchored to the left of the keyboard. -->
7296            <flag name="left" value="1" />
7297            <!-- Key is anchored to the right of the keyboard. -->
7298            <flag name="right" value="2" />
7299        </attr>
7300        <!-- Whether this is a modifier key such as Alt or Shift. -->
7301        <attr name="isModifier" format="boolean" />
7302        <!-- Whether this is a toggle key. -->
7303        <attr name="isSticky" format="boolean" />
7304        <!-- Whether long-pressing on this key will make it repeat. -->
7305        <attr name="isRepeatable" format="boolean" />
7306        <!-- The icon to show in the popup preview. -->
7307        <attr name="iconPreview" format="reference" />
7308        <!-- The string of characters to output when this key is pressed. -->
7309        <attr name="keyOutputText" format="string" />
7310        <!-- The label to display on the key. -->
7311        <attr name="keyLabel" format="string" />
7312        <!-- The icon to display on the key instead of the label. -->
7313        <attr name="keyIcon" format="reference" />
7314        <!-- Mode of the keyboard. If the mode doesn't match the
7315             requested keyboard mode, the key will be skipped. -->
7316        <attr name="keyboardMode" />
7317    </declare-styleable>
7318
7319    <!-- =============================== -->
7320    <!-- AppWidget package class attributes -->
7321    <!-- =============================== -->
7322    <eat-comment />
7323
7324    <!-- Use <code>appwidget-provider</code> as the root tag of the XML resource that
7325         describes an AppWidget provider.  See {@link android.appwidget android.appwidget}
7326         package for more info.
7327     -->
7328    <declare-styleable name="AppWidgetProviderInfo">
7329        <!-- Minimum width of the AppWidget. -->
7330        <attr name="minWidth"/>
7331        <!-- Minimum height of the AppWidget. -->
7332        <attr name="minHeight"/>
7333        <!-- Minimum width that the AppWidget can be resized to. -->
7334        <attr name="minResizeWidth" format="dimension"/>
7335        <!-- Minimum height that the AppWidget can be resized to. -->
7336        <attr name="minResizeHeight" format="dimension"/>
7337        <!-- Update period in milliseconds, or 0 if the AppWidget will update itself. -->
7338        <attr name="updatePeriodMillis" format="integer" />
7339        <!-- A resource id of a layout. -->
7340        <attr name="initialLayout" format="reference" />
7341        <!-- A resource id of a layout. -->
7342        <attr name="initialKeyguardLayout" format="reference" />
7343        <!-- A class name in the AppWidget's package to be launched to configure.
7344             If not supplied, then no activity will be launched. -->
7345        <attr name="configure" format="string" />
7346        <!-- A preview of what the AppWidget will look like after it's configured.
7347              If not supplied, the AppWidget's icon will be used. -->
7348        <attr name="previewImage" format="reference" />
7349        <!-- The view id of the AppWidget subview which should be auto-advanced.
7350             by the widget's host. -->
7351        <attr name="autoAdvanceViewId" format="reference" />
7352        <!-- Optional parameter which indicates if and how this widget can be
7353             resized. Supports combined values using | operator. -->
7354        <attr name="resizeMode" format="integer">
7355            <flag name="none" value="0x0" />
7356            <flag name="horizontal" value="0x1" />
7357            <flag name="vertical" value="0x2" />
7358        </attr>
7359        <!-- Optional parameter which indicates where this widget can be shown,
7360             ie. home screen, keyguard, search bar or any combination thereof.
7361             Supports combined values using | operator. -->
7362        <attr name="widgetCategory" format="integer">
7363            <flag name="home_screen" value="0x1" />
7364            <flag name="keyguard" value="0x2" />
7365            <flag name="searchbox" value="0x4" />
7366        </attr>
7367    </declare-styleable>
7368
7369    <!-- =============================== -->
7370    <!-- Wallpaper preview attributes    -->
7371    <!-- =============================== -->
7372    <eat-comment />
7373
7374    <!-- Use <code>wallpaper-preview</code> as the root tag of the XML resource that
7375         describes a wallpaper preview. -->
7376    <declare-styleable name="WallpaperPreviewInfo">
7377        <!-- A resource id of a static drawable. -->
7378        <attr name="staticWallpaperPreview" format="reference" />
7379    </declare-styleable>
7380
7381    <!-- =============================== -->
7382    <!-- App package class attributes -->
7383    <!-- =============================== -->
7384    <eat-comment />
7385
7386    <!-- ============================= -->
7387    <!-- View package class attributes -->
7388    <!-- ============================= -->
7389    <eat-comment />
7390
7391    <!-- Attributes that can be used with <code>&lt;fragment&gt;</code>
7392         tags inside of the layout of an Activity.  This instantiates
7393         the given {@link android.app.Fragment} and inserts its content
7394         view into the current location in the layout. -->
7395    <declare-styleable name="Fragment">
7396        <!-- Supply the name of the fragment class to instantiate. -->
7397        <attr name="name" />
7398
7399        <!-- Supply an identifier name for the top-level view, to later retrieve it
7400             with {@link android.view.View#findViewById View.findViewById()} or
7401             {@link android.app.Activity#findViewById Activity.findViewById()}.
7402             This must be a
7403             resource reference; typically you set this using the
7404             <code>@+</code> syntax to create a new ID resources.
7405             For example: <code>android:id="@+id/my_id"</code> which
7406             allows you to later retrieve the view
7407             with <code>findViewById(R.id.my_id)</code>. -->
7408        <attr name="id" />
7409
7410        <!-- Supply a tag for the top-level view containing a String, to be retrieved
7411             later with {@link android.view.View#getTag View.getTag()} or
7412             searched for with {@link android.view.View#findViewWithTag
7413             View.findViewWithTag()}.  It is generally preferable to use
7414             IDs (through the android:id attribute) instead of tags because
7415             they are faster and allow for compile-time type checking. -->
7416        <attr name="tag" />
7417
7418        <!-- The Transition that will be used to move Views out of the scene when the
7419             fragment is removed, hidden, or detached when not popping the back stack.
7420             Corresponds to {@link android.app.Fragment#setExitTransition(
7421             android.transition.Transition)} -->
7422        <attr name="fragmentExitTransition" format="reference"/>
7423
7424        <!-- The Transition that will be used to move Views into the initial scene.
7425             Corresponds to {@link android.app.Fragment#setEnterTransition(
7426             android.transition.Transition)} -->
7427        <attr name="fragmentEnterTransition" format="reference"/>
7428
7429        <!-- The Transition that will be used for shared elements transferred into the content
7430             Scene.
7431             Corresponds to {@link android.app.Fragment#setSharedElementEnterTransition(
7432             android.transition.Transition)} -->
7433        <attr name="fragmentSharedElementEnterTransition" format="reference"/>
7434
7435        <!-- The Transition that will be used to move Views out of the scene when the Fragment is
7436             preparing to be removed, hidden, or detached because of popping the back stack.
7437             Corresponds to {@link android.app.Fragment#setReturnTransition(
7438             android.transition.Transition)} -->
7439        <attr name="fragmentReturnTransition" format="reference"/>
7440
7441        <!-- The Transition that will be used for shared elements transferred back during a
7442             pop of the back stack. This Transition acts in the leaving Fragment.
7443             Corresponds to {@link android.app.Fragment#setSharedElementReturnTransition(
7444             android.transition.Transition)} -->
7445        <attr name="fragmentSharedElementReturnTransition" format="reference"/>
7446
7447        <!-- The Transition that will be used to move Views in to the scene when returning due
7448             to popping a back stack.
7449             Corresponds to {@link android.app.Fragment#setReenterTransition(
7450             android.transition.Transition)} -->
7451        <attr name="fragmentReenterTransition" format="reference"/>
7452
7453        <!-- Sets whether the enter and exit transitions should overlap when transitioning
7454             forward.
7455             Corresponds to {@link android.app.Fragment#setAllowEnterTransitionOverlap(
7456             boolean)} -->
7457        <attr name="fragmentAllowEnterTransitionOverlap" format="reference"/>
7458
7459        <!-- Sets whether the enter and exit transitions should overlap when transitioning
7460             because of popping the back stack.
7461             Corresponds to {@link android.app.Fragment#setAllowReturnTransitionOverlap(
7462             boolean)} -->
7463        <attr name="fragmentAllowReturnTransitionOverlap" format="reference"/>
7464    </declare-styleable>
7465
7466    <!-- Use <code>device-admin</code> as the root tag of the XML resource that
7467         describes a
7468         {@link android.app.admin.DeviceAdminReceiver}, which is
7469         referenced from its
7470         {@link android.app.admin.DeviceAdminReceiver#DEVICE_ADMIN_META_DATA}
7471         meta-data entry.  Described here are the attributes that can be
7472         included in that tag. -->
7473    <declare-styleable name="DeviceAdmin">
7474        <!-- Control whether the admin is visible to the user, even when it
7475             is not enabled.  This is true by default.  You may want to make
7476             it false if your admin does not make sense to be turned on
7477             unless some explicit action happens in your app. -->
7478        <attr name="visible" />
7479    </declare-styleable>
7480
7481    <!-- Use <code>wallpaper</code> as the root tag of the XML resource that
7482         describes an
7483         {@link android.service.wallpaper.WallpaperService}, which is
7484         referenced from its
7485         {@link android.service.wallpaper.WallpaperService#SERVICE_META_DATA}
7486         meta-data entry.  Described here are the attributes that can be
7487         included in that tag. -->
7488    <declare-styleable name="Wallpaper">
7489        <attr name="settingsActivity" />
7490
7491        <!-- Reference to the wallpaper's thumbnail bitmap. -->
7492        <attr name="thumbnail" format="reference" />
7493
7494        <!-- Name of the author and/or source/collection of this component, e.g. Art Collection, Picasso. -->
7495        <attr name="author" format="reference" />
7496
7497        <!-- Short description of the component's purpose or behavior. -->
7498        <attr name="description" />
7499
7500        <!-- Uri that specifies a link for further context of this wallpaper, e.g. http://www.picasso.org. -->
7501        <attr name="contextUri" format="reference" />
7502
7503        <!-- Title of the uri that specifies a link for further context of this wallpaper, e.g. Explore collection. -->
7504        <attr name="contextDescription" format="reference" />
7505
7506        <!-- Whether to show any metadata when previewing the wallpaper. If this value is
7507             set to true, any component that shows a preview of this live wallpaper should also show
7508             accompanying information like the title, the description, the author and the context
7509             description of this wallpaper so the user gets to know further information about this
7510             wallpaper. -->
7511        <attr name="showMetadataInPreview" format="boolean" />
7512
7513    </declare-styleable>
7514
7515    <!-- Use <code>dream</code> as the root tag of the XML resource that
7516         describes an
7517         {@link android.service.dreams.DreamService}, which is
7518         referenced from its
7519         {@link android.service.dreams.DreamService#DREAM_META_DATA}
7520         meta-data entry.  Described here are the attributes that can be
7521         included in that tag. -->
7522    <declare-styleable name="Dream">
7523        <!-- Component name of an activity that allows the user to modify
7524             the settings for this dream. -->
7525        <attr name="settingsActivity" />
7526    </declare-styleable>
7527
7528    <!-- @SystemApi Use <code>trust-agent</code> as the root tag of the XML resource that
7529         describes an {@link android.service.trust.TrustAgentService}, which is
7530         referenced from its {@link android.service.trust.TrustAgentService#TRUST_AGENT_META_DATA}
7531         meta-data entry.  Described here are the attributes that can be included in that tag.
7532         @hide -->
7533    <declare-styleable name="TrustAgent">
7534        <!-- @SystemApi Component name of an activity that allows the user to modify
7535             the settings for this trust agent. @hide -->
7536        <attr name="settingsActivity" />
7537        <!-- @SystemApi Title for a preference that allows that user to launch the
7538             activity to modify trust agent settings. @hide -->
7539        <attr name="title" />
7540        <!-- @SystemApi Summary for the same preference as the title. @hide -->
7541        <attr name="summary" />
7542        <!-- @SystemApi Whether trust agent can unlock a user profile @hide -->
7543        <attr name="unlockProfile" format="boolean"/>
7544    </declare-styleable>
7545
7546    <!-- =============================== -->
7547    <!-- Accounts package class attributes -->
7548    <!-- =============================== -->
7549    <eat-comment />
7550
7551    <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
7552         describes an account authenticator.
7553     -->
7554    <declare-styleable name="AccountAuthenticator">
7555        <!-- The account type this authenticator handles. -->
7556        <attr name="accountType" format="string"/>
7557        <!-- The user-visible name of the authenticator. -->
7558        <attr name="label"/>
7559        <!-- The icon of the authenticator. -->
7560        <attr name="icon"/>
7561        <!-- Smaller icon of the authenticator. -->
7562        <attr name="smallIcon" format="reference"/>
7563        <!-- A preferences.xml file for authenticator-specific settings. -->
7564        <attr name="accountPreferences" format="reference"/>
7565        <!-- Account handles its own token storage and permissions.
7566             Default to false
7567          -->
7568        <attr name="customTokens" format="boolean"/>
7569    </declare-styleable>
7570
7571    <!-- =============================== -->
7572    <!-- Accounts package class attributes -->
7573    <!-- =============================== -->
7574    <eat-comment />
7575
7576    <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
7577         describes an account authenticator.
7578     -->
7579    <declare-styleable name="SyncAdapter">
7580        <!-- the authority of a content provider. -->
7581        <attr name="contentAuthority" format="string"/>
7582        <attr name="accountType"/>
7583        <attr name="userVisible" format="boolean"/>
7584        <attr name="supportsUploading" format="boolean"/>
7585        <!-- Set to true to tell the SyncManager that this SyncAdapter supports
7586             multiple simultaneous syncs for the same account type and authority.
7587             Otherwise the SyncManager will be sure not to issue a start sync request
7588             to this SyncAdapter if the SyncAdapter is already syncing another account.
7589             Defaults to false.
7590             -->
7591        <attr name="allowParallelSyncs" format="boolean"/>
7592        <!-- Set to true to tell the SyncManager to automatically call setIsSyncable(..., ..., 1)
7593             for the SyncAdapter instead of issuaing an initialization sync to the SyncAdapter.
7594             Defaults to false.
7595             -->
7596        <attr name="isAlwaysSyncable" format="boolean"/>
7597        <!-- If provided, specifies the action of the settings
7598             activity for this SyncAdapter.
7599             -->
7600        <attr name="settingsActivity"/>
7601    </declare-styleable>
7602
7603    <!-- =============================== -->
7604    <!-- Contacts meta-data attributes -->
7605    <!-- =============================== -->
7606    <eat-comment />
7607
7608    <!-- TODO: remove this deprecated styleable. -->
7609    <eat-comment />
7610    <declare-styleable name="Icon">
7611        <attr name="icon" />
7612        <attr name="mimeType" />
7613    </declare-styleable>
7614
7615    <!-- TODO: remove this deprecated styleable -->
7616    <eat-comment />
7617    <declare-styleable name="IconDefault">
7618        <attr name="icon" />
7619    </declare-styleable>
7620
7621    <!-- Maps a specific contact data MIME-type to styling information. -->
7622    <declare-styleable name="ContactsDataKind">
7623        <!-- Mime-type handled by this mapping. -->
7624        <attr name="mimeType" />
7625        <!-- Icon used to represent data of this kind. -->
7626        <attr name="icon" />
7627        <!-- Column in data table that summarizes this data. -->
7628        <attr name="summaryColumn" format="string" />
7629        <!-- Column in data table that contains details for this data. -->
7630        <attr name="detailColumn" format="string" />
7631        <!-- Flag indicating that detail should be built from SocialProvider. -->
7632        <attr name="detailSocialSummary" format="boolean" />
7633        <!-- Resource representing the term "All Contacts" (e.g. "All Friends" or
7634        "All connections"). Optional (Default is "All Contacts"). -->
7635        <attr name="allContactsName" format="string" />
7636    </declare-styleable>
7637
7638    <!-- =============================== -->
7639    <!-- TabSelector class attributes -->
7640    <!-- =============================== -->
7641    <eat-comment />
7642
7643    <declare-styleable name="SlidingTab">
7644        <!-- Use "horizontal" for a row, "vertical" for a column.  The default is horizontal. -->
7645        <attr name="orientation" />
7646    </declare-styleable>
7647
7648    <!-- =============================== -->
7649    <!-- GlowPadView class attributes -->
7650    <!-- =============================== -->
7651    <eat-comment />
7652    <declare-styleable name="GlowPadView">
7653        <!-- Reference to an array resource that be used as description for the targets around the circle.
7654             {@deprecated Removed.} -->
7655        <attr name="targetDescriptions" format="reference" />
7656
7657        <!-- Reference to an array resource that be used to announce the directions with targets around the circle.
7658             {@deprecated Removed.}-->
7659        <attr name="directionDescriptions" format="reference" />
7660    </declare-styleable>
7661
7662    <!-- =============================== -->
7663    <!-- Location package class attributes -->
7664    <!-- =============================== -->
7665    <eat-comment />
7666
7667    <!-- Use <code>injected-location-setting</code> as the root tag of the XML resource that
7668         describes an injected "Location services" setting. Note that the status value (subtitle)
7669         for the setting is specified dynamically by a subclass of SettingInjectorService.
7670     -->
7671    <declare-styleable name="SettingInjectorService">
7672        <!-- The title for the preference. -->
7673        <attr name="title"/>
7674        <!-- The icon for the preference, should refer to all apps covered by the setting. Typically
7675             a generic icon for the developer. -->
7676        <attr name="icon"/>
7677        <!-- The activity to launch when the setting is clicked on. -->
7678        <attr name="settingsActivity"/>
7679    </declare-styleable>
7680
7681    <!-- =============================== -->
7682    <!-- LockPatternView class attributes -->
7683    <!-- =============================== -->
7684    <eat-comment />
7685
7686    <declare-styleable name="LockPatternView">
7687        <!-- Aspect to use when drawing LockPatternView. Choices are "square"(default), "lock_width"
7688             or "lock_height" -->
7689        <attr name="aspect" format="string" />
7690        <!-- Color to use when drawing LockPatternView paths. -->
7691        <attr name="pathColor" format="color|reference" />
7692        <!-- The regular pattern color -->
7693        <attr name="regularColor" format="color|reference" />
7694        <!-- The error color -->
7695        <attr name="errorColor" format="color|reference" />
7696        <!-- The success color -->
7697        <attr name="successColor" format="color|reference"/>
7698    </declare-styleable>
7699
7700    <!-- Use <code>recognition-service</code> as the root tag of the XML resource that
7701         describes a {@link android.speech.RecognitionService}, which is referenced from
7702         its {@link android.speech.RecognitionService#SERVICE_META_DATA} meta-data entry.
7703         Described here are the attributes that can be included in that tag. -->
7704    <declare-styleable name="RecognitionService">
7705        <attr name="settingsActivity" />
7706    </declare-styleable>
7707
7708    <!-- Use <code>voice-interaction-service</code> as the root tag of the XML resource that
7709         describes a {@link android.service.voice.VoiceInteractionService}, which is referenced from
7710         its {@link android.service.voice.VoiceInteractionService#SERVICE_META_DATA} meta-data entry.
7711         Described here are the attributes that can be included in that tag. -->
7712    <declare-styleable name="VoiceInteractionService">
7713        <!-- The service that hosts active voice interaction sessions.  This is required. -->
7714        <attr name="sessionService" format="string" />
7715        <!-- The service that provides voice recognition.  This is required.  When the user
7716             selects this voice interaction service, they will also be implicitly selecting
7717             the component here for their recognition service. -->
7718        <attr name="recognitionService" format="string" />
7719        <attr name="settingsActivity" />
7720        <!-- Flag indicating whether this voice interaction service is capable of handling the
7721             assist action. -->
7722        <attr name="supportsAssist" format="boolean" />
7723        <!-- Flag indicating whether this voice interaction service is capable of being launched
7724             from the keyguard. -->
7725        <attr name="supportsLaunchVoiceAssistFromKeyguard" format="boolean" />
7726        <!-- Flag indicating whether this voice interaction service can handle local voice
7727             interaction requests from an Activity. This flag is new in
7728             {@link android.os.Build.VERSION_CODES#N} and not used in previous versions. -->
7729        <attr name="supportsLocalInteraction" format="boolean" />
7730    </declare-styleable>
7731
7732    <!-- Use <code>voice-enrollment-application</code>
7733         as the root tag of the XML resource that escribes the supported keyphrases (hotwords)
7734         by the enrollment application.
7735         Described here are the attributes that can be included in that tag.
7736         @hide
7737         @SystemApi -->
7738    <declare-styleable name="VoiceEnrollmentApplication">
7739        <!-- A globally unique ID for the keyphrase. @hide @SystemApi -->
7740        <attr name="searchKeyphraseId" format="integer" />
7741        <!-- The actual keyphrase/hint text, or empty if not keyphrase dependent. @hide @SystemApi -->
7742        <attr name="searchKeyphrase" format="string" />
7743        <!-- A comma separated list of BCP-47 language tag for locales that are supported
7744             for this keyphrase, or empty if not locale dependent. @hide @SystemApi -->
7745        <attr name="searchKeyphraseSupportedLocales" format="string" />
7746        <!-- Flags for supported recognition modes. @hide @SystemApi -->
7747        <attr name="searchKeyphraseRecognitionFlags">
7748            <flag name="none" value="0" />
7749            <flag name="voiceTrigger" value="0x1" />
7750            <flag name="userIdentification" value="0x2" />
7751        </attr>
7752    </declare-styleable>
7753
7754    <!-- Attributes used to style the Action Bar. -->
7755    <declare-styleable name="ActionBar">
7756        <!-- The type of navigation to use. -->
7757        <attr name="navigationMode">
7758            <!-- Normal static title text -->
7759            <enum name="normal" value="0" />
7760            <!-- The action bar will use a selection list for navigation. -->
7761            <enum name="listMode" value="1" />
7762            <!-- The action bar will use a series of horizontal tabs for navigation. -->
7763            <enum name="tabMode" value="2" />
7764        </attr>
7765        <!-- Options affecting how the action bar is displayed. -->
7766        <attr name="displayOptions">
7767            <flag name="none" value="0" />
7768            <flag name="useLogo" value="0x1" />
7769            <flag name="showHome" value="0x2" />
7770            <flag name="homeAsUp" value="0x4" />
7771            <flag name="showTitle" value="0x8" />
7772            <flag name="showCustom" value="0x10" />
7773            <flag name="disableHome" value="0x20" />
7774        </attr>
7775        <!-- Specifies title text used for navigationMode="normal" -->
7776        <attr name="title" />
7777        <!-- Specifies subtitle text used for navigationMode="normal" -->
7778        <attr name="subtitle" format="string" />
7779        <!-- Specifies a style to use for title text. -->
7780        <attr name="titleTextStyle" format="reference" />
7781        <!-- Specifies a style to use for subtitle text. -->
7782        <attr name="subtitleTextStyle" format="reference" />
7783        <!-- Specifies the drawable used for the application icon. -->
7784        <attr name="icon" />
7785        <!-- Specifies the drawable used for the application logo. -->
7786        <attr name="logo" />
7787        <!-- Specifies the drawable used for item dividers. -->
7788        <attr name="divider" />
7789        <!-- Specifies a background drawable for the action bar. -->
7790        <attr name="background" />
7791        <!-- Specifies a background drawable for a second stacked row of the action bar. -->
7792        <attr name="backgroundStacked" format="reference|color" />
7793        <!-- Specifies a background drawable for the bottom component of a split action bar. -->
7794        <attr name="backgroundSplit" format="reference|color" />
7795        <!-- Specifies a layout for custom navigation. Overrides navigationMode. -->
7796        <attr name="customNavigationLayout" format="reference" />
7797        <!-- Specifies a fixed height. -->
7798        <attr name="height" />
7799        <!-- Specifies a layout to use for the "home" section of the action bar. -->
7800        <attr name="homeLayout" format="reference" />
7801        <!-- Specifies a style resource to use for an embedded progress bar. -->
7802        <attr name="progressBarStyle" />
7803        <!-- Specifies a style resource to use for an indeterminate progress spinner. -->
7804        <attr name="indeterminateProgressStyle" format="reference" />
7805        <!-- Specifies the horizontal padding on either end for an embedded progress bar. -->
7806        <attr name="progressBarPadding" format="dimension" />
7807        <!-- Up navigation glyph -->
7808        <attr name="homeAsUpIndicator" />
7809        <!-- Specifies padding that should be applied to the left and right sides of
7810             system-provided items in the bar. -->
7811        <attr name="itemPadding" format="dimension" />
7812        <!-- Set true to hide the action bar on a vertical nested scroll of content. -->
7813        <attr name="hideOnContentScroll" format="boolean" />
7814        <!-- Minimum inset for content views within a bar. Navigation buttons and
7815             menu views are excepted. Only valid for some themes and configurations. -->
7816        <attr name="contentInsetStart" format="dimension" />
7817        <!-- Minimum inset for content views within a bar. Navigation buttons and
7818             menu views are excepted. Only valid for some themes and configurations. -->
7819        <attr name="contentInsetEnd" format="dimension" />
7820        <!-- Minimum inset for content views within a bar. Navigation buttons and
7821             menu views are excepted. Only valid for some themes and configurations. -->
7822        <attr name="contentInsetLeft" format="dimension" />
7823        <!-- Minimum inset for content views within a bar. Navigation buttons and
7824             menu views are excepted. Only valid for some themes and configurations. -->
7825        <attr name="contentInsetRight" format="dimension" />
7826        <!-- Minimum inset for content views within a bar when a navigation button
7827             is present, such as the Up button. Only valid for some themes and configurations. -->
7828        <attr name="contentInsetStartWithNavigation" format="dimension" />
7829        <!-- Minimum inset for content views within a bar when actions from a menu
7830             are present. Only valid for some themes and configurations. -->
7831        <attr name="contentInsetEndWithActions" format="dimension" />
7832        <!-- Elevation for the action bar itself -->
7833        <attr name="elevation" />
7834        <!-- Reference to a theme that should be used to inflate popups
7835             shown by widgets in the action bar. -->
7836        <attr name="popupTheme" />
7837    </declare-styleable>
7838
7839    <declare-styleable name="ActionMode">
7840        <!-- Specifies a style to use for title text. -->
7841        <attr name="titleTextStyle" />
7842        <!-- Specifies a style to use for subtitle text. -->
7843        <attr name="subtitleTextStyle" />
7844        <!-- Specifies a background for the action mode bar. -->
7845        <attr name="background" />
7846        <!-- Specifies a background for the split action mode bar. -->
7847        <attr name="backgroundSplit" />
7848        <!-- Specifies a fixed height for the action mode bar. -->
7849        <attr name="height" />
7850        <!-- Specifies a layout to use for the "close" item at the starting edge. -->
7851        <attr name="closeItemLayout" format="reference" />
7852    </declare-styleable>
7853
7854    <declare-styleable name="SearchView">
7855        <!-- The layout to use for the search view. -->
7856        <attr name="layout" />
7857        <!-- The default state of the SearchView. If true, it will be iconified when not in
7858             use and expanded when clicked. -->
7859        <attr name="iconifiedByDefault" format="boolean" />
7860        <!-- An optional maximum width of the SearchView. -->
7861        <attr name="maxWidth" />
7862        <!-- An optional query hint string to be displayed in the empty query field. -->
7863        <attr name="queryHint" format="string" />
7864        <!-- Default query hint used when {@code queryHint} is undefined and
7865             the search view's {@code SearchableInfo} does not provide a hint.
7866             @hide -->
7867        <attr name="defaultQueryHint" format="string" />
7868        <!-- The IME options to set on the query text field. -->
7869        <attr name="imeOptions" />
7870        <!-- The input type to set on the query text field. -->
7871        <attr name="inputType" />
7872        <!-- Close button icon -->
7873        <attr name="closeIcon" format="reference" />
7874        <!-- Go button icon -->
7875        <attr name="goIcon" format="reference" />
7876        <!-- Search icon -->
7877        <attr name="searchIcon" format="reference" />
7878        <!-- Search icon displayed as a text field hint -->
7879        <attr name="searchHintIcon" format="reference" />
7880        <!-- Voice button icon -->
7881        <attr name="voiceIcon" format="reference" />
7882        <!-- Commit icon shown in the query suggestion row -->
7883        <attr name="commitIcon" format="reference" />
7884        <!-- Layout for query suggestion rows -->
7885        <attr name="suggestionRowLayout" format="reference" />
7886        <!-- Background for the section containing the search query -->
7887        <attr name="queryBackground" format="reference" />
7888        <!-- Background for the section containing the action (e.g. voice search) -->
7889        <attr name="submitBackground" format="reference" />
7890        <attr name="focusable" />
7891    </declare-styleable>
7892
7893    <declare-styleable name="Switch">
7894        <!-- Drawable to use as the "thumb" that switches back and forth. -->
7895        <attr name="thumb" />
7896        <!-- Tint to apply to the thumb. -->
7897        <attr name="thumbTint" />
7898        <!-- Blending mode used to apply the thumb tint. -->
7899        <attr name="thumbTintMode" />
7900        <!-- Drawable to use as the "track" that the switch thumb slides within. -->
7901        <attr name="track" format="reference" />
7902        <!-- Tint to apply to the track. -->
7903        <attr name="trackTint" format="color" />
7904        <!-- Blending mode used to apply the track tint. -->
7905        <attr name="trackTintMode">
7906            <!-- The tint is drawn on top of the drawable.
7907                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
7908            <enum name="src_over" value="3" />
7909            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
7910                 color channels are thrown out. [Sa * Da, Sc * Da] -->
7911            <enum name="src_in" value="5" />
7912            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
7913                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
7914            <enum name="src_atop" value="9" />
7915            <!-- Multiplies the color and alpha channels of the drawable with those of
7916                 the tint. [Sa * Da, Sc * Dc] -->
7917            <enum name="multiply" value="14" />
7918            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
7919            <enum name="screen" value="15" />
7920            <!-- Combines the tint and drawable color and alpha channels, clamping the
7921                 result to valid color values. Saturate(S + D) -->
7922            <enum name="add" value="16" />
7923        </attr>
7924        <!-- Text to use when the switch is in the checked/"on" state. -->
7925        <attr name="textOn" />
7926        <!-- Text to use when the switch is in the unchecked/"off" state. -->
7927        <attr name="textOff" />
7928        <!-- Amount of padding on either side of text within the switch thumb. -->
7929        <attr name="thumbTextPadding" format="dimension" />
7930        <!-- TextAppearance style for text displayed on the switch thumb. -->
7931        <attr name="switchTextAppearance" format="reference" />
7932        <!-- Minimum width for the switch component -->
7933        <attr name="switchMinWidth" format="dimension" />
7934        <!-- Minimum space between the switch and caption text -->
7935        <attr name="switchPadding" format="dimension" />
7936        <!-- Whether to split the track and leave a gap for the thumb drawable. -->
7937        <attr name="splitTrack" />
7938        <!-- Whether to draw on/off text. -->
7939        <attr name="showText" format="boolean" />
7940    </declare-styleable>
7941
7942    <declare-styleable name="Pointer">
7943        <!-- Reference to a pointer icon drawable with STYLE_ARROW -->
7944        <attr name="pointerIconArrow" format="reference" />
7945        <!-- Reference to a pointer icon drawable with STYLE_SPOT_HOVER -->
7946        <attr name="pointerIconSpotHover" format="reference" />
7947        <!-- Reference to a pointer icon drawable with STYLE_SPOT_TOUCH -->
7948        <attr name="pointerIconSpotTouch" format="reference" />
7949        <!-- Reference to a pointer icon drawable with STYLE_SPOT_ANCHOR -->
7950        <attr name="pointerIconSpotAnchor" format="reference" />
7951        <!-- Reference to a pointer drawable with STYLE_CONTEXT_MENU -->
7952        <attr name="pointerIconContextMenu" format="reference"/>
7953        <!-- Reference to a pointer drawable with STYLE_HAND -->
7954        <attr name="pointerIconHand" format="reference"/>
7955        <!-- Reference to a pointer drawable with STYLE_HELP -->
7956        <attr name="pointerIconHelp" format="reference"/>
7957        <!-- Reference to a pointer drawable with STYLE_WAIT -->
7958        <attr name="pointerIconWait" format="reference"/>
7959        <!-- Reference to a pointer drawable with STYLE_CELL -->
7960        <attr name="pointerIconCell" format="reference"/>
7961        <!-- Reference to a pointer drawable with STYLE_CROSSHAIR -->
7962        <attr name="pointerIconCrosshair" format="reference"/>
7963        <!-- Reference to a pointer drawable with STYLE_TEXT -->
7964        <attr name="pointerIconText" format="reference"/>
7965        <!-- Reference to a pointer drawable with STYLE_VERTICAL_TEXT -->
7966        <attr name="pointerIconVerticalText" format="reference"/>
7967        <!-- Reference to a pointer drawable with STYLE_ALIAS -->
7968        <attr name="pointerIconAlias" format="reference"/>
7969        <!-- Reference to a pointer drawable with STYLE_COPY -->
7970        <attr name="pointerIconCopy" format="reference"/>
7971        <!-- Reference to a pointer drawable with STYLE_NODROP -->
7972        <attr name="pointerIconNodrop" format="reference"/>
7973        <!-- Reference to a pointer drawable with STYLE_ALL_SCROLL -->
7974        <attr name="pointerIconAllScroll" format="reference"/>
7975        <!-- Reference to a pointer drawable with STYLE_HORIZONTAL_DOUBLE_ARROW -->
7976        <attr name="pointerIconHorizontalDoubleArrow" format="reference"/>
7977        <!-- Reference to a pointer drawable with STYLE_VERTICAL_DOUBLE_ARROW -->
7978        <attr name="pointerIconVerticalDoubleArrow" format="reference"/>
7979        <!-- Reference to a pointer drawable with STYLE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW -->
7980        <attr name="pointerIconTopRightDiagonalDoubleArrow" format="reference"/>
7981        <!-- Reference to a pointer drawable with STYLE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW -->
7982        <attr name="pointerIconTopLeftDiagonalDoubleArrow" format="reference"/>
7983        <!-- Reference to a pointer drawable with STYLE_ZOOM_IN -->
7984        <attr name="pointerIconZoomIn" format="reference"/>
7985        <!-- Reference to a pointer drawable with STYLE_ZOOM_OUT -->
7986        <attr name="pointerIconZoomOut" format="reference"/>
7987        <!-- Reference to a pointer drawable with STYLE_GRAB -->
7988        <attr name="pointerIconGrab" format="reference"/>
7989        <!-- Reference to a pointer drawable with STYLE_GRABBING -->
7990        <attr name="pointerIconGrabbing" format="reference"/>
7991    </declare-styleable>
7992
7993    <declare-styleable name="PointerIcon">
7994        <!-- Drawable to use as the icon bitmap. -->
7995        <attr name="bitmap" format="reference" />
7996        <!-- X coordinate of the icon hot spot. -->
7997        <attr name="hotSpotX" format="dimension" />
7998        <!-- Y coordinate of the icon hot spot. -->
7999        <attr name="hotSpotY" format="dimension" />
8000    </declare-styleable>
8001
8002    <declare-styleable name="Storage">
8003        <!-- path to mount point for the storage -->
8004        <attr name="mountPoint" format="string" />
8005        <!-- user visible description of the storage -->
8006        <attr name="storageDescription" format="string" />
8007        <!-- true if the storage is the primary external storage -->
8008        <attr name="primary" format="boolean" />
8009        <!-- true if the storage is removable -->
8010        <attr name="removable" format="boolean" />
8011        <!-- true if the storage is emulated via the FUSE sdcard daemon -->
8012        <attr name="emulated" format="boolean" />
8013        <!-- number of megabytes of storage MTP should reserve for free storage
8014             (used for emulated storage that is shared with system's data partition) -->
8015        <attr name="mtpReserve" format="integer" />
8016        <!-- true if the storage can be shared via USB mass storage -->
8017        <attr name="allowMassStorage" format="boolean" />
8018        <!-- maximum file size for the volume in megabytes, zero or unspecified if it is unbounded -->
8019        <attr name="maxFileSize" format="integer" />
8020    </declare-styleable>
8021
8022    <declare-styleable name="SwitchPreference">
8023        <!-- The summary for the Preference in a PreferenceActivity screen when the
8024             SwitchPreference is checked. If separate on/off summaries are not
8025             needed, the summary attribute can be used instead. -->
8026        <attr name="summaryOn" />
8027        <!-- The summary for the Preference in a PreferenceActivity screen when the
8028             SwitchPreference is unchecked. If separate on/off summaries are not
8029             needed, the summary attribute can be used instead. -->
8030        <attr name="summaryOff" />
8031        <!-- The text used on the switch itself when in the "on" state.
8032             This should be a very SHORT string, as it appears in a small space. -->
8033        <attr name="switchTextOn" format="string" />
8034        <!-- The text used on the switch itself when in the "off" state.
8035             This should be a very SHORT string, as it appears in a small space. -->
8036        <attr name="switchTextOff" format="string" />
8037        <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
8038             dependents will be disabled when this is unchecked, so the value of this preference is false. -->
8039        <attr name="disableDependentsState" />
8040    </declare-styleable>
8041
8042    <declare-styleable name="SeekBarPreference">
8043        <attr name="layout" />
8044        <!-- Attribute indicating whether the slider within this preference can be adjusted, that is
8045        pressing left/right keys when this preference is focused will move the slider accordingly (e.g.
8046        inline adjustable preferences). False, if the slider within the preference is read-only and
8047        cannot be adjusted. By default, the seekbar is adjustable. -->
8048        <attr name="adjustable" format="boolean" />
8049        <!-- Flag indicating whether the TextView next to the seekbar that shows the current seekbar value will be
8050        displayed. If true, the view is VISIBLE; if false, the view will be GONE. By default, this view is VISIBLE. -->
8051        <attr name="showSeekBarValue" format="boolean" />
8052    </declare-styleable>
8053
8054    <!-- Base attributes available to PreferenceFragment. -->
8055    <declare-styleable name="PreferenceFragment">
8056        <!-- The layout for the PreferenceFragment. This should rarely need to be changed. -->
8057        <attr name="layout" />
8058        <attr name="divider" />
8059    </declare-styleable>
8060
8061    <!-- Base attributes available to PreferenceScreen. -->
8062    <declare-styleable name="PreferenceScreen">
8063        <!-- The layout for the PreferenceScreen. This should rarely need to be changed. -->
8064        <attr name="screenLayout" format="reference" />
8065        <attr name="divider" />
8066    </declare-styleable>
8067
8068    <!-- Base attributes available to PreferenceActivity. -->
8069    <declare-styleable name="PreferenceActivity">
8070        <!-- The layout for the Preference Activity. This should rarely need to be changed. -->
8071        <attr name="layout" />
8072        <!-- The layout for the Preference Header. This should rarely need to be changed. -->
8073        <attr name="headerLayout" format="reference" />
8074        <!-- true if the Icon view will be removed when there is none and thus not showing
8075             the fixed margins. -->
8076        <attr name="headerRemoveIconIfEmpty" format="boolean" />
8077    </declare-styleable>
8078
8079    <!-- Use <code>tts-engine</code> as the root tag of the XML resource that
8080         describes a text to speech engine implemented as a subclass of
8081         {@link android.speech.tts.TextToSpeechService}.
8082
8083         The XML resource must be referenced from its
8084         {@link android.speech.tts.TextToSpeech.Engine#SERVICE_META_DATA} meta-data
8085         entry. -->
8086    <declare-styleable name="TextToSpeechEngine">
8087        <attr name="settingsActivity" />
8088    </declare-styleable>
8089
8090    <!-- Use <code>keyboard-layouts</code> as the root tag of the XML resource that
8091         describes a collection of keyboard layouts provided by an application.
8092         Each keyboard layout is declared by a <code>keyboard-layout</code> tag
8093         with these attributes.
8094
8095         The XML resource that contains the keyboard layouts must be referenced from its
8096         {@link android.hardware.input.InputManager#META_DATA_KEYBOARD_LAYOUTS}
8097         meta-data entry used with broadcast receivers for
8098         {@link android.hardware.input.InputManager#ACTION_QUERY_KEYBOARD_LAYOUTS}. -->
8099    <declare-styleable name="KeyboardLayout">
8100        <!-- The name of the keyboard layout, must be unique in the receiver. -->
8101        <attr name="name" />
8102        <!-- The display label of the keyboard layout. -->
8103        <attr name="label" />
8104        <!-- The key character map file resource. -->
8105        <attr name="keyboardLayout" format="reference" />
8106        <!-- The locales the given keyboard layout corresponds to. -->
8107        <attr name="locale" format="string" />
8108        <!-- The vendor ID of the hardware the given layout corresponds to. @hide -->
8109        <attr name="vendorId" format="integer" />
8110        <!-- The product ID of the hardware the given layout corresponds to. @hide -->
8111        <attr name="productId" format="integer" />
8112    </declare-styleable>
8113
8114    <declare-styleable name="MediaRouteButton">
8115        <!-- This drawable is a state list where the "activated" state
8116             indicates active media routing. Non-activated indicates
8117             that media is playing to the local device only.
8118             @hide -->
8119        <attr name="externalRouteEnabledDrawable" format="reference" />
8120
8121        <!-- The types of media routes the button and its resulting
8122             chooser will filter by. -->
8123        <attr name="mediaRouteTypes" format="integer">
8124            <!-- Allow selection of live audio routes. -->
8125            <enum name="liveAudio" value="0x1" />
8126            <!-- Allow selection of user (app-specified) routes. -->
8127            <enum name="user" value="0x800000" />
8128        </attr>
8129
8130        <attr name="minWidth" />
8131        <attr name="minHeight" />
8132    </declare-styleable>
8133
8134    <!-- PagedView specific attributes. These attributes are used to customize
8135         a PagedView view in XML files. -->
8136    <declare-styleable name="PagedView">
8137        <!-- The space between adjacent pages of the PagedView. -->
8138        <attr name="pageSpacing" format="dimension" />
8139        <!-- The padding for the scroll indicator area -->
8140        <attr name="scrollIndicatorPaddingLeft" format="dimension" />
8141        <attr name="scrollIndicatorPaddingRight" format="dimension" />
8142    </declare-styleable>
8143
8144    <declare-styleable name="KeyguardGlowStripView">
8145        <attr name="dotSize" format="dimension" />
8146        <attr name="numDots" format="integer" />
8147        <attr name="glowDot" format="reference" />
8148        <attr name="leftToRight" format="boolean" />
8149    </declare-styleable>
8150
8151    <!-- Some child types have special behavior. -->
8152    <attr name="layout_childType">
8153        <!-- No special behavior. Layout will proceed as normal. -->
8154        <enum name="none" value="0" />
8155        <!-- Widget container.
8156             This will be resized in response to certain events. -->
8157        <enum name="widget" value="1" />
8158        <!-- Security challenge container.
8159             This will be dismissed/shown in response to certain events,
8160             possibly obscuring widget elements. -->
8161        <enum name="challenge" value="2" />
8162        <!-- User switcher.
8163             This will consume space from the total layout area. -->
8164        <enum name="userSwitcher" value="3" />
8165        <!-- Scrim. This will block access to child views that
8166             come before it in the child list in bouncer mode. -->
8167        <enum name="scrim" value="4" />
8168        <!-- The home for widgets. All widgets will be descendents of this. -->
8169        <enum name="widgets" value="5" />
8170        <!-- This is a handle that is used for expanding the
8171             security challenge container when it is collapsed. -->
8172        <enum name="expandChallengeHandle" value="6" />
8173        <!-- Delete drop target.  This will be the drop target to delete pages. -->
8174        <enum name="pageDeleteDropTarget" value="7" />
8175    </attr>
8176
8177    <!-- Attributes that can be used with <code>&lt;FragmentBreadCrumbs&gt;</code>
8178    tags. -->
8179    <declare-styleable name="FragmentBreadCrumbs">
8180        <attr name="gravity" />
8181        <attr name="itemLayout" format="reference" />
8182        <attr name="itemColor" format="color|reference" />
8183    </declare-styleable>
8184
8185    <declare-styleable name="Toolbar">
8186        <attr name="titleTextAppearance" format="reference" />
8187        <attr name="subtitleTextAppearance" format="reference" />
8188        <attr name="title" />
8189        <attr name="subtitle" />
8190        <attr name="gravity" />
8191        <!--  Specifies extra space on the left, start, right and end sides
8192              of the toolbar's title. Margin values should be positive. -->
8193        <attr name="titleMargin" format="dimension" />
8194        <!--  Specifies extra space on the start side of the toolbar's title.
8195              If both this attribute and titleMargin are specified, then this
8196              attribute takes precedence. Margin values should be positive. -->
8197        <attr name="titleMarginStart" format="dimension" />
8198        <!--  Specifies extra space on the end side of the toolbar's title.
8199              If both this attribute and titleMargin are specified, then this
8200              attribute takes precedence. Margin values should be positive. -->
8201        <attr name="titleMarginEnd" format="dimension" />
8202        <!--  Specifies extra space on the top side of the toolbar's title.
8203              If both this attribute and titleMargin are specified, then this
8204              attribute takes precedence. Margin values should be positive. -->
8205        <attr name="titleMarginTop" format="dimension" />
8206        <!--  Specifies extra space on the bottom side of the toolbar's title.
8207              If both this attribute and titleMargin are specified, then this
8208              attribute takes precedence. Margin values should be positive. -->
8209        <attr name="titleMarginBottom" format="dimension" />
8210        <attr name="contentInsetStart" />
8211        <attr name="contentInsetEnd" />
8212        <attr name="contentInsetLeft" />
8213        <attr name="contentInsetRight" />
8214        <attr name="contentInsetStartWithNavigation" />
8215        <attr name="contentInsetEndWithActions" />
8216        <attr name="maxButtonHeight" format="dimension" />
8217        <attr name="navigationButtonStyle" format="reference" />
8218        <attr name="buttonGravity">
8219            <!-- Push object to the top of its container, not changing its size. -->
8220            <flag name="top" value="0x30" />
8221            <!-- Push object to the bottom of its container, not changing its size. -->
8222            <flag name="bottom" value="0x50" />
8223        </attr>
8224        <!-- Icon drawable to use for the collapse button. -->
8225        <attr name="collapseIcon" format="reference" />
8226        <!-- Text to set as the content description for the collapse button. -->
8227        <attr name="collapseContentDescription" format="string" />
8228        <!-- Reference to a theme that should be used to inflate popups
8229             shown by widgets in the toolbar. -->
8230        <attr name="popupTheme" format="reference" />
8231        <!-- Icon drawable to use for the navigation button located at
8232             the start of the toolbar. -->
8233        <attr name="navigationIcon" format="reference" />
8234        <!-- Text to set as the content description for the navigation button
8235             located at the start of the toolbar. -->
8236        <attr name="navigationContentDescription" format="string" />
8237        <!-- Drawable to set as the logo that appears at the starting side of
8238             the Toolbar, just after the navigation button. -->
8239        <attr name="logo" />
8240        <!-- A content description string to describe the appearance of the
8241             associated logo image. -->
8242        <attr name="logoDescription" format="string" />
8243        <!-- A color to apply to the title string. -->
8244        <attr name="titleTextColor" format="color" />
8245        <!-- A color to apply to the subtitle string. -->
8246        <attr name="subtitleTextColor" format="color" />
8247    </declare-styleable>
8248
8249    <declare-styleable name="Toolbar_LayoutParams">
8250        <attr name="layout_gravity" />
8251    </declare-styleable>
8252
8253    <declare-styleable name="ActionBar_LayoutParams">
8254        <attr name="layout_gravity" />
8255    </declare-styleable>
8256
8257    <!-- Used as a filter array on the theme to pull out only the EdgeEffect-relevant bits. -->
8258    <declare-styleable name="EdgeEffect">
8259        <attr name="colorEdgeEffect" />
8260    </declare-styleable>
8261
8262    <!-- Use <code>tv-input</code> as the root tag of the XML resource that describes a
8263         {@link android.media.tv.TvInputService}, which is referenced from its
8264         {@link android.media.tv.TvInputService#SERVICE_META_DATA} meta-data entry.
8265         Described here are the attributes that can be included in that tag. -->
8266    <declare-styleable name="TvInputService">
8267        <!-- Component name of an activity that allows the user to set up this service. -->
8268        <attr name="setupActivity" format="string" />
8269        <!-- Component name of an activity that allows the user to modify the settings for this
8270             service. -->
8271        <attr name="settingsActivity" />
8272        <!-- Attribute whether the TV input service can record programs. This value can be changed
8273             at runtime by calling
8274             {@link android.media.tv.TvInputManager#updateTvInputInfo(android.media.tv.TvInputInfo)}. -->
8275        <attr name="canRecord" format="boolean" />
8276        <!-- The number of tuners that the TV input service is associated with. This value can be
8277             changed at runtime by calling
8278             {@link android.media.tv.TvInputManager#updateTvInputInfo(android.media.tv.TvInputInfo)}. -->
8279        <attr name="tunerCount" format="integer" />
8280    </declare-styleable>
8281
8282    <!-- Attributes that can be used with <code>rating-system-definition</code> tags inside of the
8283         XML resource that describes TV content rating of a {@link android.media.tv.TvInputService},
8284         which is referenced from its
8285         {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. -->
8286    <declare-styleable name="RatingSystemDefinition">
8287        <!-- The unique name of the content rating system. -->
8288        <attr name="name" />
8289        <!-- The title of the content rating system which is shown to the user. -->
8290        <attr name="title" />
8291        <!-- The short description of the content rating system. -->
8292        <attr name="description" />
8293        <!-- The country code associated with the content rating system, which consists of two
8294             uppercase letters that conform to the ISO 3166 standard. -->
8295        <attr name="country" format="string" />
8296    </declare-styleable>
8297
8298    <!-- Attributes that can be used with <code>rating-definition</code> tags inside of the XML
8299         resource that describes TV content rating of a {@link android.media.tv.TvInputService},
8300         which is referenced from its
8301         {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. -->
8302    <declare-styleable name="RatingDefinition">
8303        <!-- The unique name of the content rating. -->
8304        <attr name="name" />
8305        <!-- The title of the content rating which is shown to the user. -->
8306        <attr name="title" />
8307        <!-- The short description of the content rating. -->
8308        <attr name="description" />
8309        <!-- The age associated with the content rating. The content of this rating is suitable for
8310             people of this age or above. -->
8311        <attr name="contentAgeHint" format="integer" />
8312    </declare-styleable>
8313
8314    <declare-styleable name="ResolverDrawerLayout">
8315        <attr name="maxWidth" />
8316        <attr name="maxCollapsedHeight" format="dimension" />
8317        <attr name="maxCollapsedHeightSmall" format="dimension" />
8318    </declare-styleable>
8319
8320    <declare-styleable name="MessagingLinearLayout">
8321        <attr name="maxHeight" />
8322        <attr name="spacing" />
8323    </declare-styleable>
8324
8325    <declare-styleable name="DateTimeView">
8326        <attr name="showRelative" format="boolean" />
8327    </declare-styleable>
8328
8329    <declare-styleable name="ResolverDrawerLayout_LayoutParams">
8330        <attr name="layout_alwaysShow" format="boolean" />
8331        <attr name="layout_ignoreOffset" format="boolean" />
8332        <attr name="layout_gravity" />
8333        <attr name="layout_hasNestedScrollIndicator" format="boolean" />
8334    </declare-styleable>
8335
8336    <!-- @hide -->
8337    <declare-styleable name="Lighting">
8338        <attr name="lightY" />
8339        <attr name="lightZ" />
8340        <attr name="lightRadius" />
8341        <attr name="ambientShadowAlpha" />
8342        <attr name="spotShadowAlpha" />
8343    </declare-styleable>
8344
8345    <declare-styleable name="RestrictionEntry">
8346        <attr name="key" />
8347        <attr name="restrictionType">
8348            <enum name="hidden" value="0" />
8349            <enum name="bool" value="1" />
8350            <enum name="choice" value="2" />
8351            <enum name="multi-select" value="4" />
8352            <enum name="integer" value="5" />
8353            <enum name="string" value="6" />
8354            <enum name="bundle" value="7" />
8355            <enum name="bundle_array" value="8" />
8356        </attr>
8357        <attr name="title" />
8358        <attr name="description" />
8359        <attr name="defaultValue" />
8360        <attr name="entries" />
8361        <attr name="entryValues" />
8362    </declare-styleable>
8363
8364    <!-- Used to describe the gradient for fill or stroke in a path of VectorDrawable. -->
8365    <declare-styleable name="GradientColor">
8366        <!-- Start color of the gradient. -->
8367        <attr name="startColor" />
8368        <!-- Optional center color. -->
8369        <attr name="centerColor" />
8370        <!-- End color of the gradient. -->
8371        <attr name="endColor" />
8372        <!-- Type of gradient. The default type is linear. -->
8373        <attr name="type" />
8374
8375        <!-- Only applied to RadialGradient-->
8376        <!-- Radius of the gradient, used only with radial gradient. -->
8377        <attr name="gradientRadius" />
8378
8379        <!-- Only applied to SweepGradient / RadialGradient-->
8380        <!-- X coordinate of the center of the gradient within the path. -->
8381        <attr name="centerX" />
8382        <!-- Y coordinate of the center of the gradient within the path. -->
8383        <attr name="centerY" />
8384
8385        <!-- LinearGradient specific -->
8386        <!-- X coordinate of the start point origin of the gradient.
8387             Defined in same coordinates as the path itself -->
8388        <attr name="startX" format="float" />
8389        <!-- Y coordinate of the start point of the gradient within the shape.
8390             Defined in same coordinates as the path itself -->
8391        <attr name="startY" format="float" />
8392        <!-- X coordinate of the end point origin of the gradient.
8393             Defined in same coordinates as the path itself -->
8394        <attr name="endX" format="float" />
8395        <!-- Y coordinate of the end point of the gradient within the shape.
8396             Defined in same coordinates as the path itself -->
8397        <attr name="endY" format="float" />
8398
8399        <!-- Defines the tile mode of the gradient. SweepGradient don't support tiling. -->
8400        <attr name="tileMode"/>
8401    </declare-styleable>
8402
8403    <!-- Describes an item of a GradientColor. Minimally need 2 items to define the gradient
8404         Colors defined in <item> override the simple color attributes such as
8405         "startColor / centerColor / endColor" are ignored -->
8406    <declare-styleable name="GradientColorItem">
8407        <!-- The offset (or ratio) of this current color item inside the gradient.
8408             The value is only meaningful when it is between 0 and 1. -->
8409        <attr name="offset" format="float" />
8410        <!-- The current color for the offset inside the gradient. -->
8411        <attr name="color" />
8412    </declare-styleable>
8413
8414    <!-- @hide Attributes which will be read by the Activity to intialize the
8415               base activity TaskDescription. -->
8416    <declare-styleable name="ActivityTaskDescription">
8417        <!-- @hide From Theme.colorPrimary, used for the TaskDescription primary 
8418                   color. -->
8419        <attr name="colorPrimary" />
8420        <!-- @hide From Theme.colorBackground, used for the TaskDescription background
8421                   color. -->
8422        <attr name="colorBackground" />
8423    </declare-styleable>
8424
8425    <declare-styleable name="Shortcut">
8426        <attr name="shortcutId" format="string" />
8427        <attr name="enabled" />
8428        <attr name="icon" />
8429        <attr name="shortcutShortLabel" format="reference" />
8430        <attr name="shortcutLongLabel" format="reference" />
8431        <attr name="shortcutDisabledMessage" format="reference" />
8432    </declare-styleable>
8433
8434    <declare-styleable name="ShortcutCategories">
8435        <attr name="name" />
8436    </declare-styleable>
8437
8438    <!-- Attributes that are read when parsing a <font> tag, which is a child of
8439         <font-family>. -->
8440    <declare-styleable name="FontFamilyFont">
8441        <attr name="fontStyle">
8442            <enum name="normal" value="0" />
8443            <enum name="italic" value="1" />
8444        </attr>
8445        <attr name="font" format="reference" />
8446        <attr name="fontWeight" format="integer" />
8447    </declare-styleable>
8448</resources>
8449