attrs.xml revision e860891b1a7d4c1b581f294fa5831999caac6506
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        <!-- Default color of foreground imagery. -->
31        <attr name="colorForeground" format="color" />
32        <!-- Default color of foreground imagery on an inverted background. -->
33        <attr name="colorForegroundInverse" format="color" />
34        <!-- Default color of background imagery, ex. full-screen windows. -->
35        <attr name="colorBackground" format="color" />
36        <!-- Default color of background imagery for floating components, ex. dialogs, popups, and cards. -->
37        <attr name="colorBackgroundFloating" format="color" />
38        <!-- This is a hint for a solid color that can be used for caching
39             rendered views.  This should be the color of the background when
40             there is a solid background color; it should be null when the
41             background is a texture or translucent.  When a device is able
42             to use accelerated drawing (thus setting state_accelerated), the
43             cache hint is ignored and always assumed to be transparent. -->
44        <attr name="colorBackgroundCacheHint" format="color" />
45
46        <!-- Default highlight color for items that are pressed. -->
47        <attr name="colorPressedHighlight" format="color" />
48        <!-- Default highlight color for items that are long-pressed. -->
49        <attr name="colorLongPressedHighlight" format="color" />
50        <!-- Default highlight color for items that are
51             focused. (Focused meaning cursor-based selection.) -->
52        <attr name="colorFocusedHighlight" format="color" />
53        <!-- Default highlight color for items that are
54             activated. (Activated meaning persistent selection.) -->
55        <attr name="colorActivatedHighlight" format="color" />
56        <!-- Default highlight color for items in multiple selection
57             mode. -->
58        <attr name="colorMultiSelectHighlight" format="color" />
59
60        <!-- Default disabled alpha for widgets that set enabled/disabled alpha programmatically. -->
61        <attr name="disabledAlpha" format="float" />
62        <!-- Default background dim amount when a menu, dialog, or something similar pops up. -->
63        <attr name="backgroundDimAmount" format="float" />
64        <!-- Control whether dimming behind the window is enabled.  The default
65             theme does not set this value, meaning it is based on whether the
66             window is floating. -->
67        <attr name="backgroundDimEnabled" format="boolean" />
68
69        <!-- =========== -->
70        <!-- Text styles -->
71        <!-- =========== -->
72        <eat-comment />
73
74        <!-- Default appearance of text: color, typeface, size, and style. -->
75        <attr name="textAppearance" format="reference" />
76        <!-- Default appearance of text against an inverted background:
77             color, typeface, size, and style. -->
78        <attr name="textAppearanceInverse" format="reference" />
79
80        <!-- The most prominent text color.  -->
81        <attr name="textColorPrimary" format="reference|color" />
82        <!-- Secondary text color. -->
83        <attr name="textColorSecondary" format="reference|color" />
84        <!-- Tertiary text color. -->
85        <attr name="textColorTertiary" format="reference|color" />
86
87        <!-- Primary inverse text color, useful for inverted backgrounds. -->
88        <attr name="textColorPrimaryInverse" format="reference|color" />
89        <!-- Secondary inverse text color, useful for inverted backgrounds. -->
90        <attr name="textColorSecondaryInverse" format="reference|color" />
91        <!-- Tertiary inverse text color, useful for inverted backgrounds. -->
92        <attr name="textColorTertiaryInverse" format="reference|color" />
93
94        <!-- Inverse hint text color. -->
95        <attr name="textColorHintInverse" format="reference|color" />
96
97        <!-- Bright text color. Only differentiates based on the disabled state. -->
98        <attr name="textColorPrimaryDisableOnly" format="reference|color" />
99
100        <!-- Bright inverse text color. Only differentiates based on the disabled state. -->
101        <attr name="textColorPrimaryInverseDisableOnly" format="reference|color" />
102
103        <!-- Bright text color. This does not differentiate the disabled state. As an example,
104             buttons use this since they display the disabled state via the background and not the
105             foreground text color. -->
106        <attr name="textColorPrimaryNoDisable" format="reference|color" />
107        <!-- Dim text color. This does not differentiate the disabled state. -->
108        <attr name="textColorSecondaryNoDisable" format="reference|color" />
109
110        <!-- Bright inverse text color. This does not differentiate the disabled state. -->
111        <attr name="textColorPrimaryInverseNoDisable" format="reference|color" />
112        <!-- Dim inverse text color. This does not differentiate the disabled state. -->
113        <attr name="textColorSecondaryInverseNoDisable" format="reference|color" />
114
115        <!-- Bright text color for use over activated backgrounds. -->
116        <attr name="textColorPrimaryActivated" format="reference|color" />
117        <!-- Dim text color for use over activated backgrounds. -->
118        <attr name="textColorSecondaryActivated" format="reference|color" />
119
120        <!-- Text color for urls in search suggestions, used by things like global search and the browser. @hide -->
121        <attr name="textColorSearchUrl" format="reference|color" />
122
123        <!-- Color of highlighted text, when used in a light theme. -->
124        <attr name="textColorHighlightInverse" format="reference|color" />
125        <!-- Color of link text (URLs), when used in a light theme. -->
126        <attr name="textColorLinkInverse" format="reference|color" />
127
128        <!-- Color of list item text in alert dialogs. -->
129        <attr name="textColorAlertDialogListItem" format="reference|color" />
130
131        <!-- Search widget more corpus result item background. -->
132        <attr name="searchWidgetCorpusItemBackground" format="reference|color" />
133
134        <!-- Text color, typeface, size, and style for "large" text. Defaults to primary text color. -->
135        <attr name="textAppearanceLarge" format="reference" />
136        <!-- Text color, typeface, size, and style for "medium" text. Defaults to primary text color. -->
137        <attr name="textAppearanceMedium" format="reference" />
138        <!-- Text color, typeface, size, and style for "small" text. Defaults to secondary text color. -->
139        <attr name="textAppearanceSmall" format="reference" />
140
141        <!-- Text color, typeface, size, and style for "large" inverse text. Defaults to primary inverse text color. -->
142        <attr name="textAppearanceLargeInverse" format="reference" />
143        <!-- Text color, typeface, size, and style for "medium" inverse text. Defaults to primary inverse text color. -->
144        <attr name="textAppearanceMediumInverse" format="reference" />
145        <!-- Text color, typeface, size, and style for "small" inverse text. Defaults to secondary inverse text color. -->
146        <attr name="textAppearanceSmallInverse" format="reference" />
147
148        <!-- Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color. -->
149        <attr name="textAppearanceSearchResultTitle" format="reference" />
150        <!-- Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color. -->
151        <attr name="textAppearanceSearchResultSubtitle" format="reference" />
152
153        <!-- Text color, typeface, size, and style for the text inside of a button. -->
154        <attr name="textAppearanceButton" format="reference" />
155
156        <!-- Text color, typeface, size, and style for the text inside of a popup menu. -->
157        <attr name="textAppearanceLargePopupMenu" format="reference" />
158
159        <!-- Text color, typeface, size, and style for small text inside of a popup menu. -->
160        <attr name="textAppearanceSmallPopupMenu" format="reference" />
161
162        <!-- The underline color and thickness for easy correct suggestion -->
163        <attr name="textAppearanceEasyCorrectSuggestion" format="reference" />
164
165        <!-- The underline color and thickness for misspelled suggestion -->
166        <attr name="textAppearanceMisspelledSuggestion" format="reference" />
167
168        <!-- The underline color and thickness for auto correction suggestion -->
169        <attr name="textAppearanceAutoCorrectionSuggestion" format="reference" />
170
171        <!--  The underline color -->
172        <attr name="textUnderlineColor" format="reference|color" />
173        <!--  The underline thickness -->
174        <attr name="textUnderlineThickness" format="reference|dimension" />
175
176        <!-- EditText text foreground color. -->
177        <attr name="editTextColor" format="reference|color" />
178        <!-- EditText background drawable. -->
179        <attr name="editTextBackground" format="reference" />
180
181        <!-- Popup text displayed in TextView when setError is used. -->
182        <attr name="errorMessageBackground" format="reference" />
183        <!-- Background used instead of errorMessageBackground when the popup has to be above. -->
184        <attr name="errorMessageAboveBackground" format="reference" />
185
186        <!-- A styled string, specifying the style to be used for showing
187             inline candidate text when composing with an input method.  The
188             text itself will be ignored, but the style spans will be applied
189             to the candidate text as it is edited. -->
190        <attr name="candidatesTextStyleSpans" format="reference|string" />
191
192        <!-- Drawable to use for check marks. -->
193        <attr name="textCheckMark" format="reference" />
194        <attr name="textCheckMarkInverse" format="reference" />
195
196        <!-- Drawable to use for multiple choice indicators. -->
197        <attr name="listChoiceIndicatorMultiple" format="reference" />
198
199        <!-- Drawable to use for single choice indicators. -->
200        <attr name="listChoiceIndicatorSingle" format="reference" />
201
202        <!-- Drawable used as a background for selected list items. -->
203        <attr name="listChoiceBackgroundIndicator" format="reference" />
204
205        <!-- Drawable used as a background for activated items. -->
206        <attr name="activatedBackgroundIndicator" format="reference" />
207
208        <!-- ============= -->
209        <!-- Button styles -->
210        <!-- ============= -->
211        <eat-comment />
212
213        <!-- Normal Button style. -->
214        <attr name="buttonStyle" format="reference" />
215
216        <!-- Small Button style. -->
217        <attr name="buttonStyleSmall" format="reference" />
218
219        <!-- Button style to inset into an EditText. -->
220        <attr name="buttonStyleInset" format="reference" />
221
222        <!-- ToggleButton style. -->
223        <attr name="buttonStyleToggle" format="reference" />
224
225        <!-- ============== -->
226        <!-- Gallery styles -->
227        <!-- ============== -->
228        <eat-comment />
229
230        <!-- The preferred background for gallery items. This should be set
231             as the background of any Views you provide from the Adapter. -->
232        <attr name="galleryItemBackground" format="reference" />
233
234        <!-- =========== -->
235        <!-- List styles -->
236        <!-- =========== -->
237        <eat-comment />
238
239        <!-- The preferred list item height. -->
240        <attr name="listPreferredItemHeight" format="dimension" />
241        <!-- A smaller, sleeker list item height. -->
242        <attr name="listPreferredItemHeightSmall" format="dimension" />
243        <!-- A larger, more robust list item height. -->
244        <attr name="listPreferredItemHeightLarge" format="dimension" />
245        <!-- The list item height for search results. @hide -->
246        <attr name="searchResultListItemHeight" format="dimension" />
247
248        <!-- The preferred padding along the left edge of list items. -->
249        <attr name="listPreferredItemPaddingLeft" format="dimension" />
250        <!-- The preferred padding along the right edge of list items. -->
251        <attr name="listPreferredItemPaddingRight" format="dimension" />
252
253        <!-- The preferred TextAppearance for the primary text of list items. -->
254        <attr name="textAppearanceListItem" format="reference" />
255        <!-- The preferred TextAppearance for the secondary text of list items. -->
256        <attr name="textAppearanceListItemSecondary" format="reference" />
257        <!-- The preferred TextAppearance for the primary text of small list items. -->
258        <attr name="textAppearanceListItemSmall" format="reference" />
259
260        <!-- The drawable for the list divider. -->
261        <attr name="listDivider" format="reference" />
262        <!-- The list divider used in alert dialogs. -->
263        <attr name="listDividerAlertDialog" format="reference" />
264        <!-- TextView style for list separators. -->
265        <attr name="listSeparatorTextViewStyle" format="reference" />
266        <!-- The preferred left padding for an expandable list item (for child-specific layouts,
267             use expandableListPreferredChildPaddingLeft). This takes into account
268             the indicator that will be shown to next to the item. -->
269        <attr name="expandableListPreferredItemPaddingLeft" format="dimension" />
270        <!-- The preferred left padding for an expandable list item that is a child.
271             If this is not provided, it defaults to the expandableListPreferredItemPaddingLeft. -->
272        <attr name="expandableListPreferredChildPaddingLeft" format="dimension" />
273        <!-- The preferred left bound for an expandable list item's indicator. For a child-specific
274             indicator, use expandableListPreferredChildIndicatorLeft. -->
275        <attr name="expandableListPreferredItemIndicatorLeft" format="dimension" />
276        <!-- The preferred right bound for an expandable list item's indicator. For a child-specific
277             indicator, use expandableListPreferredChildIndicatorRight. -->
278        <attr name="expandableListPreferredItemIndicatorRight" format="dimension" />
279        <!-- The preferred left bound for an expandable list child's indicator. -->
280        <attr name="expandableListPreferredChildIndicatorLeft" format="dimension" />
281        <!-- The preferred right bound for an expandable list child's indicator. -->
282        <attr name="expandableListPreferredChildIndicatorRight" format="dimension" />
283
284        <!-- The preferred item height for dropdown lists. -->
285        <attr name="dropdownListPreferredItemHeight" format="dimension" />
286
287        <!-- The preferred padding along the start edge of list items. -->
288        <attr name="listPreferredItemPaddingStart" format="dimension" />
289        <!-- The preferred padding along the end edge of list items. -->
290        <attr name="listPreferredItemPaddingEnd" format="dimension" />
291
292        <!-- ============= -->
293        <!-- Window styles -->
294        <!-- ============= -->
295        <eat-comment />
296
297        <!-- Drawable to use as the overall window background.  As of
298             {@link android.os.Build.VERSION_CODES#HONEYCOMB}, this may
299             be a selector that uses state_accelerated to pick a non-solid
300             color when running on devices that can draw such a bitmap
301             with complex compositing on top at 60fps.
302
303             <p>There are a few special considerations to use when setting this
304             drawable:
305             <ul>
306             <li> This information will be used to infer the pixel format
307                  for your window's surface.  If the drawable has any
308                  non-opaque pixels, your window will be translucent
309                  (32 bpp).
310             <li> If you want to draw the entire background
311                  yourself, you should set this drawable to some solid
312                  color that closely matches that background (so the
313                  system's preview of your window will match), and
314                  then in code manually set your window's background to
315                  null so it will not be drawn.
316             </ul> -->
317        <attr name="windowBackground" format="reference" />
318        <!-- Drawable to draw selectively within the inset areas when the windowBackground
319             has been set to null. This protects against seeing visual garbage in the
320             surface when the app has not drawn any content into this area. -->
321        <attr name="windowBackgroundFallback" format="reference" />
322        <!-- Drawable to use as a frame around the window. -->
323        <attr name="windowFrame" format="reference" />
324        <!-- Flag indicating whether there should be no title on this window. -->
325        <attr name="windowNoTitle" format="boolean" />
326        <!-- Flag indicating whether this window should fill the entire screen.  Corresponds
327             to {@link android.view.WindowManager.LayoutParams#FLAG_FULLSCREEN}. -->
328        <attr name="windowFullscreen" format="boolean" />
329        <!-- Flag indicating whether this window should extend into overscan region.  Corresponds
330             to {@link android.view.WindowManager.LayoutParams#FLAG_LAYOUT_IN_OVERSCAN}. -->
331        <attr name="windowOverscan" format="boolean" />
332        <!-- Flag indicating whether this is a floating window. -->
333        <attr name="windowIsFloating" format="boolean" />
334        <!-- Flag indicating whether this is a translucent window. If this attribute is unset (but
335             not if set to false), the window might still be considered translucent, if
336             windowSwipeToDismiss is set to true. -->
337        <attr name="windowIsTranslucent" format="boolean" />
338        <!-- Flag indicating that this window's background should be the
339             user's current wallpaper.  Corresponds
340             to {@link android.view.WindowManager.LayoutParams#FLAG_SHOW_WALLPAPER}. -->
341        <attr name="windowShowWallpaper" format="boolean" />
342        <!-- This Drawable is overlaid over the foreground of the Window's content area, usually
343             to place a shadow below the title.  -->
344        <attr name="windowContentOverlay" format="reference" />
345        <!-- The style resource to use for a window's title bar height. -->
346        <attr name="windowTitleSize" format="dimension" />
347        <!-- The style resource to use for a window's title text. -->
348        <attr name="windowTitleStyle" format="reference" />
349        <!-- The style resource to use for a window's title area. -->
350        <attr name="windowTitleBackgroundStyle" format="reference" />
351
352        <!-- Reference to a style resource holding
353             the set of window animations to use, which can be
354             any of the attributes defined by
355             {@link android.R.styleable#WindowAnimation}. -->
356        <attr name="windowAnimationStyle" format="reference" />
357
358        <!-- Flag indicating whether this window should have an Action Bar
359             in place of the usual title bar. -->
360        <attr name="windowActionBar" format="boolean" />
361
362        <!-- Flag indicating whether this window's Action Bar should overlay
363             application content. Does nothing if the window would not
364             have an Action Bar. -->
365        <attr name="windowActionBarOverlay" format="boolean" />
366
367        <!-- Flag indicating whether action modes should overlay window content
368             when there is not reserved space for their UI (such as an Action Bar). -->
369        <attr name="windowActionModeOverlay" format="boolean" />
370
371        <!-- Defines the default soft input state that this window would
372             like when it is displayed.  Corresponds
373             to {@link android.view.WindowManager.LayoutParams#softInputMode}. -->
374        <attr name="windowSoftInputMode">
375            <!-- Not specified, use what the system thinks is best.  This
376                 is the default. -->
377            <flag name="stateUnspecified" value="0" />
378            <!-- Leave the soft input window as-is, in whatever state it
379                 last was. -->
380            <flag name="stateUnchanged" value="1" />
381            <!-- Make the soft input area hidden when normally appropriate
382                 (when the user is navigating forward to your window). -->
383            <flag name="stateHidden" value="2" />
384            <!-- Always make the soft input area hidden when this window
385                 has input focus. -->
386            <flag name="stateAlwaysHidden" value="3" />
387            <!-- Make the soft input area visible when normally appropriate
388                 (when the user is navigating forward to your window). -->
389            <flag name="stateVisible" value="4" />
390            <!-- Always make the soft input area visible when this window
391                 has input focus. -->
392            <flag name="stateAlwaysVisible" value="5" />
393
394            <!-- The window resize/pan adjustment has not been specified,
395                 the system will automatically select between resize and pan
396                 modes, depending
397                 on whether the content of the window has any layout views
398                 that can scroll their contents.  If there is such a view,
399                 then the window will be resized, with the assumption being
400                 that the resizeable area can be reduced to make room for
401                 the input UI. -->
402            <flag name="adjustUnspecified" value="0x00" />
403            <!-- Always resize the window: the content area of the window is
404                 reduced to make room for the soft input area. -->
405            <flag name="adjustResize" value="0x10" />
406            <!-- Don't resize the window to make room for the soft input area;
407                 instead pan the contents of the window as focus moves inside
408                 of it so that the user can see what they are typing.  This is
409                 generally less desireable than panning because the user may
410                 need to close the input area to get at and interact with
411                 parts of the window. -->
412            <flag name="adjustPan" value="0x20" />
413            <!-- Don't resize <em>or</em> pan the window to make room for the
414                 soft input area; the window is never adjusted for it. -->
415            <flag name="adjustNothing" value="0x30" />
416        </attr>
417
418        <!-- Flag allowing you to disable the preview animation for a window.
419             The default value is false; if set to true, the system can never
420             use the window's theme to show a preview of it before your
421             actual instance is shown to the user. -->
422        <attr name="windowDisablePreview" format="boolean" />
423
424        <!-- Flag indicating that this window should not be displayed at all.
425             The default value is false; if set to true, and this window is
426             the main window of an Activity, then it will never actually
427             be added to the window manager.  This means that your activity
428             must immediately quit without waiting for user interaction,
429             because there will be no such interaction coming. -->
430        <attr name="windowNoDisplay" format="boolean" />
431
432        <!-- Flag indicating that this window should allow touches to be split
433             across other windows that also support split touch.
434             The default value is true for applications with a targetSdkVersion
435             of Honeycomb or newer; false otherwise.
436             When this flag is false, the first pointer that goes down determines
437             the window to which all subsequent touches go until all pointers go up.
438             When this flag is true, each pointer (not necessarily the first) that
439             goes down determines the window to which all subsequent touches of that
440             pointer will go until that pointers go up thereby enabling touches
441             with multiple pointers to be split across multiple windows. -->
442        <attr name="windowEnableSplitTouch" format="boolean" />
443
444        <!-- Control whether a container should automatically close itself if
445             the user touches outside of it.  This only applies to activities
446             and dialogs.
447
448             <p>Note: this attribute will only be respected for applications
449             that are targeting {@link android.os.Build.VERSION_CODES#HONEYCOMB}
450             or later. -->
451        <attr name="windowCloseOnTouchOutside" format="boolean" />
452
453        <!-- Flag indicating whether this window requests a translucent status bar.  Corresponds
454             to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_STATUS}. -->
455        <attr name="windowTranslucentStatus" format="boolean" />
456
457        <!-- Flag indicating whether this window requests a translucent navigation bar.  Corresponds
458             to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_NAVIGATION}. -->
459        <attr name="windowTranslucentNavigation" format="boolean" />
460
461        <!-- Flag to indicate that a window can be swiped away to be dismissed.
462             Corresponds to {@link android.view.Window#FEATURE_SWIPE_TO_DISMISS}. It will also
463             dynamically change translucency of the window, if the windowIsTranslucent is not set.
464             If windowIsTranslucent is set (to either true or false) it will obey that setting. -->
465        <attr name="windowSwipeToDismiss" format="boolean" />
466
467        <!-- Flag indicating whether this window requests that content changes be performed
468             as scene changes with transitions. Corresponds to
469             {@link android.view.Window#FEATURE_CONTENT_TRANSITIONS}. -->
470        <attr name="windowContentTransitions" format="boolean" />
471
472        <!-- Reference to a TransitionManager XML resource defining the desired
473             transitions between different window content. -->
474        <attr name="windowContentTransitionManager" format="reference" />
475
476        <!-- Flag indicating whether this window allows Activity Transitions.
477             Corresponds to {@link android.view.Window#FEATURE_ACTIVITY_TRANSITIONS}. -->
478        <attr name="windowActivityTransitions" format="boolean" />
479
480        <!-- Reference to a Transition XML resource defining the desired Transition
481             used to move Views into the initial Window's content Scene. Corresponds to
482             {@link android.view.Window#setEnterTransition(android.transition.Transition)}. -->
483        <attr name="windowEnterTransition" format="reference"/>
484
485        <!-- Reference to a Transition XML resource defining the desired Transition
486             used to move Views out of the scene when the Window is
487             preparing to close. Corresponds to
488             {@link android.view.Window#setReturnTransition(android.transition.Transition)}. -->
489        <attr name="windowReturnTransition" format="reference"/>
490
491        <!-- Reference to a Transition XML resource defining the desired Transition
492             used to move Views out of the Window's content Scene when launching a new Activity.
493             Corresponds to
494             {@link android.view.Window#setExitTransition(android.transition.Transition)}. -->
495        <attr name="windowExitTransition" format="reference"/>
496
497        <!-- Reference to a Transition XML resource defining the desired Transition
498             used to move Views in to the scene when returning from a previously-started Activity.
499             Corresponds to
500             {@link android.view.Window#setReenterTransition(android.transition.Transition)}. -->
501        <attr name="windowReenterTransition" format="reference"/>
502
503        <!-- Reference to a Transition XML resource defining the desired Transition
504             used to move shared elements transferred into the Window's initial content Scene.
505             Corresponds to {@link android.view.Window#setSharedElementEnterTransition(
506             android.transition.Transition)}. -->
507        <attr name="windowSharedElementEnterTransition" format="reference"/>
508
509        <!-- Reference to a Transition XML resource defining the desired Transition
510             used to move shared elements transferred back to a calling Activity.
511             Corresponds to {@link android.view.Window#setSharedElementReturnTransition(
512             android.transition.Transition)}. -->
513        <attr name="windowSharedElementReturnTransition" format="reference"/>
514
515        <!-- Reference to a Transition XML resource defining the desired Transition
516             used when starting a new Activity to move shared elements prior to transferring
517             to the called Activity.
518             Corresponds to {@link android.view.Window#setSharedElementExitTransition(
519             android.transition.Transition)}. -->
520        <attr name="windowSharedElementExitTransition" format="reference"/>
521
522        <!-- Reference to a Transition XML resource defining the desired Transition
523             used for shared elements transferred back to a calling Activity.
524             Corresponds to {@link android.view.Window#setSharedElementReenterTransition(
525             android.transition.Transition)}. -->
526        <attr name="windowSharedElementReenterTransition" format="reference"/>
527
528        <!-- Flag indicating whether this Window's transition should overlap with
529             the exiting transition of the calling Activity. Corresponds to
530             {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. -->
531        <attr name="windowAllowEnterTransitionOverlap" format="boolean"/>
532
533        <!-- Flag indicating whether this Window's transition should overlap with
534             the exiting transition of the called Activity when the called Activity
535             finishes. Corresponds to
536             {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. -->
537        <attr name="windowAllowReturnTransitionOverlap" format="boolean"/>
538
539        <!-- Indicates whether or not shared elements should use an overlay
540             during transitions. The default value is true. -->
541        <attr name="windowSharedElementsUseOverlay" format="boolean"/>
542
543        <!-- Internal layout used internally for window decor -->
544        <attr name="windowActionBarFullscreenDecorLayout" format="reference" />
545
546        <!-- The duration, in milliseconds, of the window background fade duration
547             when transitioning into or away from an Activity when called with an
548             Activity Transition. Corresponds to
549             {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. -->
550        <attr name="windowTransitionBackgroundFadeDuration" format="integer"/>
551
552        <!-- ============ -->
553        <!-- Alert Dialog styles -->
554        <!-- ============ -->
555        <eat-comment />
556        <attr name="alertDialogStyle" format="reference" />
557        <attr name="alertDialogButtonGroupStyle" format="reference" />
558        <attr name="alertDialogCenterButtons" format="boolean" />
559
560        <!-- ============== -->
561        <!-- Image elements -->
562        <!-- ============== -->
563        <eat-comment />
564
565        <!-- Background that can be used behind parts of a UI that provide
566             details on data the user is selecting.  For example, this is
567             the background element of PreferenceActivity's embedded
568             preference fragment. -->
569        <attr name="detailsElementBackground" format="reference" />
570
571        <!-- Drawable that should be used to indicate that an app is waiting for a fingerprint scan. -->
572        <attr name="fingerprintDrawable" format="reference" />
573
574        <!-- ============ -->
575        <!-- Panel styles -->
576        <!-- ============ -->
577        <eat-comment />
578
579        <!-- The background of a panel when it is inset from the left and right edges of the screen. -->
580        <attr name="panelBackground" format="reference|color" />
581        <!-- The background of a panel when it extends to the left and right edges of the screen. -->
582        <attr name="panelFullBackground" format="reference|color" />
583        <!-- Default color of foreground panel imagery. -->
584        <attr name="panelColorForeground" format="reference|color" />
585        <!-- Color that matches (as closely as possible) the panel background. -->
586        <attr name="panelColorBackground" format="reference|color" />
587        <!-- Default appearance of panel text. -->
588        <attr name="panelTextAppearance" format="reference" />
589
590        <attr name="panelMenuIsCompact" format="boolean" />
591        <attr name="panelMenuListWidth" format="dimension" />
592        <attr name="panelMenuListTheme" format="reference" />
593
594        <!-- =================== -->
595        <!-- Other widget styles -->
596        <!-- =================== -->
597        <eat-comment />
598
599        <!-- Default AbsListView style. -->
600        <attr name="absListViewStyle" format="reference" />
601        <!-- Default AutoCompleteTextView style. -->
602        <attr name="autoCompleteTextViewStyle" format="reference" />
603        <!-- Default Checkbox style. -->
604        <attr name="checkboxStyle" format="reference" />
605        <!-- Default CheckedTextView style. -->
606        <attr name="checkedTextViewStyle" format="reference" />
607        <!-- Default ListView style for drop downs. -->
608        <attr name="dropDownListViewStyle" format="reference" />
609        <!-- Default EditText style. -->
610        <attr name="editTextStyle" format="reference" />
611        <!-- Default ExpandableListView style. -->
612        <attr name="expandableListViewStyle" format="reference" />
613        <!-- ExpandableListView with white background. -->
614        <attr name="expandableListViewWhiteStyle" format="reference" />
615        <!-- Default Gallery style. -->
616        <attr name="galleryStyle" format="reference" />
617        <!-- Default GestureOverlayView style. -->
618        <attr name="gestureOverlayViewStyle" format="reference" />
619        <!-- Default GridView style. -->
620        <attr name="gridViewStyle" format="reference" />
621        <!-- The style resource to use for an ImageButton. -->
622        <attr name="imageButtonStyle" format="reference" />
623        <!-- The style resource to use for an ImageButton that is an image well. -->
624        <attr name="imageWellStyle" format="reference" />
625        <!-- Default ListView style. -->
626        <attr name="listViewStyle" format="reference" />
627        <!-- ListView with white background. -->
628        <attr name="listViewWhiteStyle" format="reference" />
629        <!-- Default PopupWindow style. -->
630        <attr name="popupWindowStyle" format="reference" />
631        <!-- Default ProgressBar style. This is a medium circular progress bar. -->
632        <attr name="progressBarStyle" format="reference" />
633        <!-- Horizontal ProgressBar style. This is a horizontal progress bar. -->
634        <attr name="progressBarStyleHorizontal" format="reference" />
635        <!-- Small ProgressBar style. This is a small circular progress bar. -->
636        <attr name="progressBarStyleSmall" format="reference" />
637        <!-- Small ProgressBar in title style. This is a small circular progress bar that will be placed in title bars. -->
638        <attr name="progressBarStyleSmallTitle" format="reference" />
639        <!-- Large ProgressBar style. This is a large circular progress bar. -->
640        <attr name="progressBarStyleLarge" format="reference" />
641        <!-- Inverse ProgressBar style. This is a medium circular progress bar. -->
642        <attr name="progressBarStyleInverse" format="reference" />
643        <!-- Small inverse ProgressBar style. This is a small circular progress bar. -->
644        <attr name="progressBarStyleSmallInverse" format="reference" />
645        <!-- Large inverse ProgressBar style. This is a large circular progress bar. -->
646        <attr name="progressBarStyleLargeInverse" format="reference" />
647        <!-- Default SeekBar style. -->
648        <attr name="seekBarStyle" format="reference" />
649        <!-- Default RatingBar style. -->
650        <attr name="ratingBarStyle" format="reference" />
651        <!-- Indicator RatingBar style. -->
652        <attr name="ratingBarStyleIndicator" format="reference" />
653        <!-- Small indicator RatingBar style. -->
654        <attr name="ratingBarStyleSmall" format="reference" />
655        <!-- Default RadioButton style. -->
656        <attr name="radioButtonStyle" format="reference" />
657        <!-- Default ScrollView style. -->
658        <attr name="scrollViewStyle" format="reference" />
659        <!-- Default HorizontalScrollView style. -->
660        <attr name="horizontalScrollViewStyle" format="reference" />
661        <!-- Default Spinner style. -->
662        <attr name="spinnerStyle" format="reference" />
663        <!-- Default dropdown Spinner style. -->
664        <attr name="dropDownSpinnerStyle" format="reference" />
665        <!-- Default ActionBar dropdown style. -->
666        <attr name="actionDropDownStyle" format="reference" />
667        <!-- Default action button style. -->
668        <attr name="actionButtonStyle" format="reference" />
669        <!-- Default Star style. -->
670        <attr name="starStyle" format="reference" />
671        <!-- Default TabWidget style. -->
672        <attr name="tabWidgetStyle" format="reference" />
673        <!-- Default TextView style. -->
674        <attr name="textViewStyle" format="reference" />
675        <!-- Default WebTextView style. -->
676        <attr name="webTextViewStyle" format="reference" />
677        <!-- Default WebView style. -->
678        <attr name="webViewStyle" format="reference" />
679        <!-- Default style for drop down items. -->
680        <attr name="dropDownItemStyle" format="reference" />
681         <!-- Default style for spinner drop down items. -->
682        <attr name="spinnerDropDownItemStyle" format="reference" />
683        <!-- Default style for drop down hints. -->
684        <attr name="dropDownHintAppearance" format="reference" />
685        <!-- Default spinner item style. -->
686        <attr name="spinnerItemStyle" format="reference" />
687        <!-- Default MapView style. -->
688        <attr name="mapViewStyle" format="reference" />
689        <!-- Drawable used as an overlay on top of quickcontact photos. -->
690        <attr name="quickContactBadgeOverlay" format="reference" />
691        <!-- Default quickcontact badge style with small quickcontact window. -->
692        <attr name="quickContactBadgeStyleWindowSmall" format="reference" />
693        <!-- Default quickcontact badge style with medium quickcontact window. -->
694        <attr name="quickContactBadgeStyleWindowMedium" format="reference" />
695        <!-- Default quickcontact badge style with large quickcontact window. -->
696        <attr name="quickContactBadgeStyleWindowLarge" format="reference" />
697        <!-- Default quickcontact badge style with small quickcontact window. -->
698        <attr name="quickContactBadgeStyleSmallWindowSmall" format="reference" />
699        <!-- Default quickcontact badge style with medium quickcontact window. -->
700        <attr name="quickContactBadgeStyleSmallWindowMedium" format="reference" />
701        <!-- Default quickcontact badge style with large quickcontact window. -->
702        <attr name="quickContactBadgeStyleSmallWindowLarge" format="reference" />
703        <!-- Reference to a style that will be used for the window containing a text
704             selection anchor. -->
705        <attr name="textSelectHandleWindowStyle" format="reference" />
706        <!-- Reference to a style that will be used for the window containing a list of possible
707             text suggestions in an EditText. -->
708        <attr name="textSuggestionsWindowStyle" format="reference" />
709        <!-- Default ListPopupWindow style. -->
710        <attr name="listPopupWindowStyle" format="reference" />
711        <!-- Default PopupMenu style. -->
712        <attr name="popupMenuStyle" format="reference" />
713        <!-- Default StackView style. -->
714        <attr name="stackViewStyle" format="reference" />
715
716        <!-- Default style for the FragmentBreadCrumbs widget. This widget is deprecated
717             starting in API level 21 ({@link android.os.Build.VERSION_CODES#.L}). -->
718        <attr name="fragmentBreadCrumbsStyle" format="reference" />
719
720        <!-- NumberPicker style. -->
721        <attr name="numberPickerStyle" format="reference" />
722
723        <!-- The CalendarView style. -->
724        <attr name="calendarViewStyle" format="reference" />
725
726        <!-- The TimePicker style. -->
727        <attr name="timePickerStyle" format="reference" />
728
729        <!-- The TimePicker dialog theme. -->
730        <attr name="timePickerDialogTheme" format="reference" />
731
732        <!-- The DatePicker style. -->
733        <attr name="datePickerStyle" format="reference" />
734
735        <!-- The DatePicker dialog theme. -->
736        <attr name="datePickerDialogTheme" format="reference" />
737
738        <!-- Default ActivityChooserView style. -->
739        <attr name="activityChooserViewStyle" format="reference" />
740
741        <!-- Default Toolbar style. -->
742        <attr name="toolbarStyle" format="reference" />
743
744        <!-- Fast scroller styles -->
745        <eat-comment />
746
747        <!-- Drawable to use as the fast scroll thumb. -->
748        <attr name="fastScrollThumbDrawable" format="reference" />
749        <!-- Drawable to use as the fast scroll index preview window background
750             when shown on the right. -->
751        <attr name="fastScrollPreviewBackgroundRight" format="reference" />
752        <!-- Drawable to use as the fast scroll index preview window background
753             when shown on the left. -->
754        <attr name="fastScrollPreviewBackgroundLeft" format="reference" />
755        <!-- Drawable to use as the track for the fast scroll thumb.
756             This may be null. -->
757        <attr name="fastScrollTrackDrawable" format="reference" />
758        <!-- Position of the fast scroll index overlay window. -->
759        <attr name="fastScrollOverlayPosition">
760            <enum name="floating" value="0" />
761            <enum name="atThumb" value="1" />
762            <enum name="aboveThumb" value="2" />
763        </attr>
764        <!-- Text color for the fast scroll index overlay. Make sure it
765             plays nicely with fastScrollPreviewBackground[Left|Right]. -->
766        <attr name="fastScrollTextColor" format="color" />
767
768        <!-- =================== -->
769        <!-- Action bar styles   -->
770        <!-- =================== -->
771        <eat-comment />
772        <!-- Default style for tabs within an action bar -->
773        <attr name="actionBarTabStyle" format="reference" />
774        <attr name="actionBarTabBarStyle" format="reference" />
775        <attr name="actionBarTabTextStyle" format="reference" />
776        <attr name="actionOverflowButtonStyle" format="reference" />
777        <attr name="actionOverflowMenuStyle" format="reference" />
778        <!-- Reference to a theme that should be used to inflate popups
779             shown by widgets in the action bar. -->
780        <attr name="actionBarPopupTheme" format="reference" />
781        <!-- Reference to a style for the Action Bar -->
782        <attr name="actionBarStyle" format="reference" />
783        <!-- Reference to a style for the split Action Bar. This style
784             controls the split component that holds the menu/action
785             buttons. actionBarStyle is still used for the primary
786             bar. -->
787        <attr name="actionBarSplitStyle" format="reference" />
788        <!-- Reference to a theme that should be used to inflate the
789             action bar. This will be inherited by any widget inflated
790             into the action bar. -->
791        <attr name="actionBarTheme" format="reference" />
792        <!-- Reference to a theme that should be used to inflate widgets
793             and layouts destined for the action bar. Most of the time
794             this will be a reference to the current theme, but when
795             the action bar has a significantly different contrast
796             profile than the rest of the activity the difference
797             can become important. If this is set to @null the current
798             theme will be used.-->
799        <attr name="actionBarWidgetTheme" format="reference" />
800        <!-- Size of the Action Bar, including the contextual
801             bar used to present Action Modes. -->
802        <attr name="actionBarSize" format="dimension" >
803            <enum name="wrap_content" value="0" />
804        </attr>
805        <!-- Custom divider drawable to use for elements in the action bar. -->
806        <attr name="actionBarDivider" format="reference" />
807        <!-- Custom item state list drawable background for action bar items. -->
808        <attr name="actionBarItemBackground" format="reference" />
809        <!-- TextAppearance style that will be applied to text that
810             appears within action menu items. -->
811        <attr name="actionMenuTextAppearance" format="reference" />
812        <!-- Color for text that appears within action menu items. -->
813        <attr name="actionMenuTextColor" format="color|reference" />
814
815        <!-- =================== -->
816        <!-- Action mode styles  -->
817        <!-- =================== -->
818        <eat-comment />
819        <attr name="actionModeStyle" format="reference" />
820        <attr name="actionModeCloseButtonStyle" format="reference" />
821        <!-- Background drawable to use for action mode UI -->
822        <attr name="actionModeBackground" format="reference" />
823        <!-- Background drawable to use for action mode UI in the lower split bar -->
824        <attr name="actionModeSplitBackground" format="reference" />
825        <!-- Drawable to use for the close action mode button -->
826        <attr name="actionModeCloseDrawable" format="reference" />
827
828        <!-- Drawable to use for the Cut action button in Contextual Action Bar -->
829        <attr name="actionModeCutDrawable" format="reference" />
830        <!-- Drawable to use for the Copy action button in Contextual Action Bar -->
831        <attr name="actionModeCopyDrawable" format="reference" />
832        <!-- Drawable to use for the Paste action button in Contextual Action Bar -->
833        <attr name="actionModePasteDrawable" format="reference" />
834        <!-- Drawable to use for the Select all action button in Contextual Action Bar -->
835        <attr name="actionModeSelectAllDrawable" format="reference" />
836        <!-- Drawable to use for the Share action button in WebView selection action modes -->
837        <attr name="actionModeShareDrawable" format="reference" />
838        <!-- Drawable to use for the Find action button in WebView selection action modes -->
839        <attr name="actionModeFindDrawable" format="reference" />
840        <!-- Drawable to use for the Web Search action button in WebView selection action modes -->
841        <attr name="actionModeWebSearchDrawable" format="reference" />
842
843        <!-- PopupWindow style to use for action modes when showing as a window overlay. -->
844        <attr name="actionModePopupWindowStyle" format="reference" />
845
846        <!-- =================== -->
847        <!-- Preference styles   -->
848        <!-- =================== -->
849        <eat-comment />
850
851        <!-- Default style for PreferenceScreen. -->
852        <attr name="preferenceScreenStyle" format="reference" />
853        <!-- Default style for the PreferenceActivity. -->
854        <attr name="preferenceActivityStyle" format="reference" />
855        <!-- Default style for Headers pane in PreferenceActivity. -->
856        <attr name="preferenceFragmentStyle" format="reference" />
857        <!-- Default style for PreferenceCategory. -->
858        <attr name="preferenceCategoryStyle" format="reference" />
859        <!-- Default style for Preference. -->
860        <attr name="preferenceStyle" format="reference" />
861        <!-- Default style for informational Preference. -->
862        <attr name="preferenceInformationStyle" format="reference" />
863        <!-- Default style for CheckBoxPreference. -->
864        <attr name="checkBoxPreferenceStyle" format="reference" />
865        <!-- Default style for YesNoPreference. -->
866        <attr name="yesNoPreferenceStyle" format="reference" />
867        <!-- Default style for DialogPreference. -->
868        <attr name="dialogPreferenceStyle" format="reference" />
869        <!-- Default style for EditTextPreference. -->
870        <attr name="editTextPreferenceStyle" format="reference" />
871        <!-- Default style for RingtonePreference. -->
872        <attr name="ringtonePreferenceStyle" format="reference" />
873        <!-- The preference layout that has the child/tabbed effect. -->
874        <attr name="preferenceLayoutChild" format="reference" />
875        <!-- Preference panel style -->
876        <attr name="preferencePanelStyle" format="reference" />
877        <!-- Preference headers panel style -->
878        <attr name="preferenceHeaderPanelStyle" format="reference" />
879        <!-- Preference list style -->
880        <attr name="preferenceListStyle" format="reference" />
881        <!-- Preference fragment list style -->
882        <attr name="preferenceFragmentListStyle" format="reference" />
883        <!-- Preference fragment padding side -->
884        <attr name="preferenceFragmentPaddingSide" format="dimension" />
885        <!-- Default style for switch preferences. -->
886        <attr name="switchPreferenceStyle" format="reference" />
887        <!-- Default style for seekbar preferences. -->
888        <attr name="seekBarPreferenceStyle" format="reference" />
889
890        <!-- ============================ -->
891        <!-- Text selection handle styles -->
892        <!-- ============================ -->
893        <eat-comment />
894
895        <!-- Reference to a drawable that will be used to display a text selection
896             anchor on the left side of a selection region. -->
897        <attr name="textSelectHandleLeft" format="reference" />
898        <!-- Reference to a drawable that will be used to display a text selection
899             anchor on the right side of a selection region. -->
900        <attr name="textSelectHandleRight" format="reference" />
901        <!-- Reference to a drawable that will be used to display a text selection
902             anchor for positioning the cursor within text. -->
903        <attr name="textSelectHandle" format="reference" />
904        <!-- The layout of the view that is displayed on top of the cursor to paste inside a
905             TextEdit field. -->
906        <attr name="textEditPasteWindowLayout" format="reference" />
907        <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. -->
908        <attr name="textEditNoPasteWindowLayout" format="reference" />
909        <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the
910             insertion cursor because it would be clipped if it were positioned on top. -->
911        <attr name="textEditSidePasteWindowLayout" format="reference" />
912        <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. -->
913        <attr name="textEditSideNoPasteWindowLayout" format="reference" />
914
915        <!-- Layout of the TextView item that will populate the suggestion popup window. -->
916        <attr name="textEditSuggestionItemLayout" format="reference" />
917
918        <!-- Theme to use for dialogs spawned from this theme. -->
919        <attr name="dialogTheme" format="reference" />
920        <!-- Window decor layout to use in dialog mode with icons. -->
921        <attr name="dialogTitleIconsDecorLayout" format="reference" />
922        <!-- Window decor layout to use in dialog mode with custom titles. -->
923        <attr name="dialogCustomTitleDecorLayout" format="reference" />
924        <!-- Window decor layout to use in dialog mode with title only. -->
925        <attr name="dialogTitleDecorLayout" format="reference" />
926        <!-- Preferred padding for dialog content. -->
927        <attr name="dialogPreferredPadding" format="dimension" />
928
929        <!-- Theme to use for alert dialogs spawned from this theme. -->
930        <attr name="alertDialogTheme" format="reference" />
931        <!-- Icon drawable to use for alerts -->
932        <attr name="alertDialogIcon" format="reference" />
933
934        <!-- Theme to use for presentations spawned from this theme. -->
935        <attr name="presentationTheme" format="reference" />
936
937        <!-- Drawable to use for generic vertical dividers. -->
938        <attr name="dividerVertical" format="reference" />
939
940        <!-- Drawable to use for generic horizontal dividers. -->
941        <attr name="dividerHorizontal" format="reference" />
942
943        <!-- Style for button bars -->
944        <attr name="buttonBarStyle" format="reference" />
945
946        <!-- Style for buttons within button bars -->
947        <attr name="buttonBarButtonStyle" format="reference" />
948
949        <!-- Style for the "positive" buttons within button bars -->
950        <attr name="buttonBarPositiveButtonStyle" format="reference" />
951
952        <!-- Style for the "negative" buttons within button bars -->
953        <attr name="buttonBarNegativeButtonStyle" format="reference" />
954
955        <!-- Style for the "neutral" buttons within button bars -->
956        <attr name="buttonBarNeutralButtonStyle" format="reference" />
957
958        <!-- Style for the search query widget. -->
959        <attr name="searchViewStyle" format="reference" />
960
961        <!-- Style for segmented buttons - a container that houses several buttons
962             with the appearance of a singel button broken into segments. -->
963        <attr name="segmentedButtonStyle" format="reference" />
964
965        <!-- Background drawable for bordered standalone items that need focus/pressed states. -->
966        <attr name="selectableItemBackground" format="reference" />
967
968        <!-- Background drawable for borderless standalone items that need focus/pressed states. -->
969        <attr name="selectableItemBackgroundBorderless" format="reference" />
970
971        <!-- Style for buttons without an explicit border, often used in groups. -->
972        <attr name="borderlessButtonStyle" format="reference" />
973
974        <!-- Background to use for toasts -->
975        <attr name="toastFrameBackground" format="reference" />
976
977        <!-- Theme to use for Search Dialogs -->
978        <attr name="searchDialogTheme" format="reference" />
979
980        <!-- Specifies a drawable to use for the 'home as up' indicator. -->
981        <attr name="homeAsUpIndicator" format="reference" />
982
983        <!-- Preference frame layout styles. -->
984        <attr name="preferenceFrameLayoutStyle" format="reference" />
985
986        <!-- Default style for the Switch widget. -->
987        <attr name="switchStyle" format="reference" />
988
989        <!-- Default style for the MediaRouteButton widget. -->
990        <attr name="mediaRouteButtonStyle" format="reference" />
991
992        <!-- ============== -->
993        <!-- Pointer styles -->
994        <!-- ============== -->
995        <eat-comment />
996
997        <!-- Reference to the Pointer style -->
998        <attr name="pointerStyle" format="reference" />
999
1000        <!-- The drawable for accessibility focused views. -->
1001        <attr name="accessibilityFocusedDrawable" format="reference" />
1002
1003        <!-- Drawable for WebView find-on-page dialogue's "next" button. @hide -->
1004        <attr name="findOnPageNextDrawable" format="reference" />
1005
1006        <!-- Drawable for WebView find-on-page dialogue's "previous" button. @hide -->
1007        <attr name="findOnPagePreviousDrawable" format="reference" />
1008
1009        <!-- ============= -->
1010        <!-- Color palette -->
1011        <!-- ============= -->
1012        <eat-comment />
1013
1014        <!-- The primary branding color for the app. By default, this is the color applied to the
1015             action bar background. -->
1016        <attr name="colorPrimary" format="color" />
1017
1018        <!-- Dark variant of the primary branding color. By default, this is the color applied to
1019             the status bar (via statusBarColor) and navigation bar (via navigationBarColor). -->
1020        <attr name="colorPrimaryDark" format="color" />
1021
1022        <!-- Bright complement to the primary branding color. By default, this is the color applied
1023             to framework controls (via colorControlActivated). -->
1024        <attr name="colorAccent" format="color" />
1025
1026        <!-- The color applied to framework controls in their normal state. -->
1027        <attr name="colorControlNormal" format="color" />
1028
1029        <!-- The color applied to framework controls in their activated (ex. checked) state. -->
1030        <attr name="colorControlActivated" format="color" />
1031
1032        <!-- The color applied to framework control highlights (ex. ripples, list selectors). -->
1033        <attr name="colorControlHighlight" format="color" />
1034
1035        <!-- The color applied to framework buttons in their normal state. -->
1036        <attr name="colorButtonNormal" format="color" />
1037
1038        <!-- The color applied to framework switch thumbs in their normal state. -->
1039        <attr name="colorSwitchThumbNormal" format="color" />
1040
1041        <!-- The color applied to the edge effect on scrolling containers. -->
1042        <attr name="colorEdgeEffect" format="color" />
1043
1044        <!-- =================== -->
1045        <!-- Lighting properties -->
1046        <!-- =================== -->
1047        <eat-comment />
1048
1049        <!-- @hide The default Y position of the light used to project view shadows. -->
1050        <attr name="lightY" format="dimension" />
1051
1052        <!-- @hide The default Z position of the light used to project view shadows. -->
1053        <attr name="lightZ" format="dimension" />
1054
1055        <!-- @hide The default radius of the light used to project view shadows. -->
1056        <attr name="lightRadius" format="dimension" />
1057
1058        <!-- Alpha value of the ambient shadow projected by elevated views, between 0 and 1. -->
1059        <attr name="ambientShadowAlpha" format="float" />
1060
1061        <!-- Alpha value of the spot shadow projected by elevated views, between 0 and 1. -->
1062        <attr name="spotShadowAlpha" format="float" />
1063    </declare-styleable>
1064
1065    <!-- **************************************************************** -->
1066    <!-- Other non-theme attributes. -->
1067    <!-- **************************************************************** -->
1068    <eat-comment />
1069
1070    <!-- Size of text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp).
1071         Supported values include the following:<p/>
1072    <ul>
1073        <li><b>px</b> Pixels</li>
1074        <li><b>sp</b> Scaled pixels (scaled to relative pixel size on screen). See {@link android.util.DisplayMetrics} for more information.</li>
1075        <li><b>pt</b> Points</li>
1076        <li><b>dip</b> Device independent pixels. See {@link android.util.DisplayMetrics} for more information.</li>
1077    </ul>
1078        -->
1079    <attr name="textSize" format="dimension" />
1080
1081    <!-- Default font family. -->
1082    <attr name="fontFamily" format="string" />
1083
1084    <!-- Default text typeface. -->
1085    <attr name="typeface">
1086        <enum name="normal" value="0" />
1087        <enum name="sans" value="1" />
1088        <enum name="serif" value="2" />
1089        <enum name="monospace" value="3" />
1090    </attr>
1091
1092    <!-- Default text typeface style. -->
1093    <attr name="textStyle">
1094        <flag name="normal" value="0" />
1095        <flag name="bold" value="1" />
1096        <flag name="italic" value="2" />
1097    </attr>
1098
1099    <!-- Color of text (usually same as colorForeground). -->
1100    <attr name="textColor" format="reference|color" />
1101
1102    <!-- Color of highlighted text. -->
1103    <attr name="textColorHighlight" format="reference|color" />
1104
1105    <!-- Color of hint text (displayed when the field is empty). -->
1106    <attr name="textColorHint" format="reference|color" />
1107
1108    <!-- Color of link text (URLs). -->
1109    <attr name="textColorLink" format="reference|color" />
1110
1111    <!-- Reference to a drawable that will be drawn under the insertion cursor. -->
1112    <attr name="textCursorDrawable" format="reference" />
1113
1114    <!-- Indicates that the content of a non-editable TextView can be selected.
1115     Default value is false. EditText content is always selectable. -->
1116    <attr name="textIsSelectable" format="boolean" />
1117
1118    <!-- Where to ellipsize text. -->
1119    <attr name="ellipsize">
1120        <enum name="none" value="0" />
1121        <enum name="start" value="1" />
1122        <enum name="middle" value="2" />
1123        <enum name="end" value="3" />
1124        <enum name="marquee" value="4" />
1125    </attr>
1126
1127    <!-- The type of data being placed in a text field, used to help an
1128         input method decide how to let the user enter text.  The constants
1129         here correspond to those defined by
1130         {@link android.text.InputType}.  Generally you can select
1131         a single value, though some can be combined together as
1132         indicated.  Setting this attribute to anything besides
1133         <var>none</var> also implies that the text is editable. -->
1134    <attr name="inputType">
1135        <!-- There is no content type.  The text is not editable. -->
1136        <flag name="none" value="0x00000000" />
1137        <!-- Just plain old text.  Corresponds to
1138             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1139             {@link android.text.InputType#TYPE_TEXT_VARIATION_NORMAL}. -->
1140        <flag name="text" value="0x00000001" />
1141        <!-- Can be combined with <var>text</var> and its variations to
1142             request capitalization of all characters.  Corresponds to
1143             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_CHARACTERS}. -->
1144        <flag name="textCapCharacters" value="0x00001001" />
1145        <!-- Can be combined with <var>text</var> and its variations to
1146             request capitalization of the first character of every word.  Corresponds to
1147             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_WORDS}. -->
1148        <flag name="textCapWords" value="0x00002001" />
1149        <!-- Can be combined with <var>text</var> and its variations to
1150             request capitalization of the first character of every sentence.  Corresponds to
1151             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_SENTENCES}. -->
1152        <flag name="textCapSentences" value="0x00004001" />
1153        <!-- Can be combined with <var>text</var> and its variations to
1154             request auto-correction of text being input.  Corresponds to
1155             {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_CORRECT}. -->
1156        <flag name="textAutoCorrect" value="0x00008001" />
1157        <!-- Can be combined with <var>text</var> and its variations to
1158             specify that this field will be doing its own auto-completion and
1159             talking with the input method appropriately.  Corresponds to
1160             {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_COMPLETE}. -->
1161        <flag name="textAutoComplete" value="0x00010001" />
1162        <!-- Can be combined with <var>text</var> and its variations to
1163             allow multiple lines of text in the field.  If this flag is not set,
1164             the text field will be constrained to a single line.  Corresponds to
1165             {@link android.text.InputType#TYPE_TEXT_FLAG_MULTI_LINE}. -->
1166        <flag name="textMultiLine" value="0x00020001" />
1167        <!-- Can be combined with <var>text</var> and its variations to
1168             indicate that though the regular text view should not be multiple
1169             lines, the IME should provide multiple lines if it can.  Corresponds to
1170             {@link android.text.InputType#TYPE_TEXT_FLAG_IME_MULTI_LINE}. -->
1171        <flag name="textImeMultiLine" value="0x00040001" />
1172        <!-- Can be combined with <var>text</var> and its variations to
1173             indicate that the IME should not show any
1174             dictionary-based word suggestions.  Corresponds to
1175             {@link android.text.InputType#TYPE_TEXT_FLAG_NO_SUGGESTIONS}. -->
1176        <flag name="textNoSuggestions" value="0x00080001" />
1177        <!-- Text that will be used as a URI.  Corresponds to
1178             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1179             {@link android.text.InputType#TYPE_TEXT_VARIATION_URI}. -->
1180        <flag name="textUri" value="0x00000011" />
1181        <!-- Text that will be used as an e-mail address.  Corresponds to
1182             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1183             {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_ADDRESS}. -->
1184        <flag name="textEmailAddress" value="0x00000021" />
1185        <!-- Text that is being supplied as the subject of an e-mail.  Corresponds to
1186             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1187             {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_SUBJECT}. -->
1188        <flag name="textEmailSubject" value="0x00000031" />
1189        <!-- Text that is the content of a short message.  Corresponds to
1190             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1191             {@link android.text.InputType#TYPE_TEXT_VARIATION_SHORT_MESSAGE}. -->
1192        <flag name="textShortMessage" value="0x00000041" />
1193        <!-- Text that is the content of a long message.  Corresponds to
1194             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1195             {@link android.text.InputType#TYPE_TEXT_VARIATION_LONG_MESSAGE}. -->
1196        <flag name="textLongMessage" value="0x00000051" />
1197        <!-- Text that is the name of a person.  Corresponds to
1198             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1199             {@link android.text.InputType#TYPE_TEXT_VARIATION_PERSON_NAME}. -->
1200        <flag name="textPersonName" value="0x00000061" />
1201        <!-- Text that is being supplied as a postal mailing address.  Corresponds to
1202             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1203             {@link android.text.InputType#TYPE_TEXT_VARIATION_POSTAL_ADDRESS}. -->
1204        <flag name="textPostalAddress" value="0x00000071" />
1205        <!-- Text that is a password.  Corresponds to
1206             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1207             {@link android.text.InputType#TYPE_TEXT_VARIATION_PASSWORD}. -->
1208        <flag name="textPassword" value="0x00000081" />
1209        <!-- Text that is a password that should be visible.  Corresponds to
1210             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1211             {@link android.text.InputType#TYPE_TEXT_VARIATION_VISIBLE_PASSWORD}. -->
1212        <flag name="textVisiblePassword" value="0x00000091" />
1213        <!-- Text that is being supplied as text in a web form.  Corresponds to
1214             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1215             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EDIT_TEXT}. -->
1216        <flag name="textWebEditText" value="0x000000a1" />
1217        <!-- Text that is filtering some other data.  Corresponds to
1218             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1219             {@link android.text.InputType#TYPE_TEXT_VARIATION_FILTER}. -->
1220        <flag name="textFilter" value="0x000000b1" />
1221        <!-- Text that is for phonetic pronunciation, such as a phonetic name
1222             field in a contact entry.  Corresponds to
1223             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1224             {@link android.text.InputType#TYPE_TEXT_VARIATION_PHONETIC}. -->
1225        <flag name="textPhonetic" value="0x000000c1" />
1226        <!-- Text that will be used as an e-mail address on a web form.  Corresponds to
1227             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1228             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS}. -->
1229        <flag name="textWebEmailAddress" value="0x000000d1" />
1230        <!-- Text that will be used as a password on a web form.  Corresponds to
1231             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1232             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_PASSWORD}. -->
1233        <flag name="textWebPassword" value="0x000000e1" />
1234        <!-- A numeric only field.  Corresponds to
1235             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1236             {@link android.text.InputType#TYPE_NUMBER_VARIATION_NORMAL}. -->
1237        <flag name="number" value="0x00000002" />
1238        <!-- Can be combined with <var>number</var> and its other options to
1239             allow a signed number.  Corresponds to
1240             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1241             {@link android.text.InputType#TYPE_NUMBER_FLAG_SIGNED}. -->
1242        <flag name="numberSigned" value="0x00001002" />
1243        <!-- Can be combined with <var>number</var> and its other options to
1244             allow a decimal (fractional) number.  Corresponds to
1245             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1246             {@link android.text.InputType#TYPE_NUMBER_FLAG_DECIMAL}. -->
1247        <flag name="numberDecimal" value="0x00002002" />
1248        <!-- A numeric password field.  Corresponds to
1249             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1250             {@link android.text.InputType#TYPE_NUMBER_VARIATION_PASSWORD}. -->
1251        <flag name="numberPassword" value="0x00000012" />
1252        <!-- For entering a phone number.  Corresponds to
1253             {@link android.text.InputType#TYPE_CLASS_PHONE}. -->
1254        <flag name="phone" value="0x00000003" />
1255        <!-- For entering a date and time.  Corresponds to
1256             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1257             {@link android.text.InputType#TYPE_DATETIME_VARIATION_NORMAL}. -->
1258        <flag name="datetime" value="0x00000004" />
1259        <!-- For entering a date.  Corresponds to
1260             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1261             {@link android.text.InputType#TYPE_DATETIME_VARIATION_DATE}. -->
1262        <flag name="date" value="0x00000014" />
1263        <!-- For entering a time.  Corresponds to
1264             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1265             {@link android.text.InputType#TYPE_DATETIME_VARIATION_TIME}. -->
1266        <flag name="time" value="0x00000024" />
1267    </attr>
1268
1269    <!-- Additional features you can enable in an IME associated with an editor
1270         to improve the integration with your application.  The constants
1271         here correspond to those defined by
1272         {@link android.view.inputmethod.EditorInfo#imeOptions}. -->
1273    <attr name="imeOptions">
1274        <!-- There are no special semantics associated with this editor. -->
1275        <flag name="normal" value="0x00000000" />
1276        <!-- There is no specific action associated with this editor, let the
1277             editor come up with its own if it can.
1278             Corresponds to
1279             {@link android.view.inputmethod.EditorInfo#IME_NULL}. -->
1280        <flag name="actionUnspecified" value="0x00000000" />
1281        <!-- This editor has no action associated with it.
1282             Corresponds to
1283             {@link android.view.inputmethod.EditorInfo#IME_ACTION_NONE}. -->
1284        <flag name="actionNone" value="0x00000001" />
1285        <!-- The action key performs a "go"
1286             operation to take the user to the target of the text they typed.
1287             Typically used, for example, when entering a URL.
1288             Corresponds to
1289             {@link android.view.inputmethod.EditorInfo#IME_ACTION_GO}. -->
1290        <flag name="actionGo" value="0x00000002" />
1291        <!-- The action key performs a "search"
1292             operation, taking the user to the results of searching for the text
1293             the have typed (in whatever context is appropriate).
1294             Corresponds to
1295             {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEARCH}. -->
1296        <flag name="actionSearch" value="0x00000003" />
1297        <!-- The action key performs a "send"
1298             operation, delivering the text to its target.  This is typically used
1299             when composing a message.
1300             Corresponds to
1301             {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEND}. -->
1302        <flag name="actionSend" value="0x00000004" />
1303        <!-- The action key performs a "next"
1304             operation, taking the user to the next field that will accept text.
1305             Corresponds to
1306             {@link android.view.inputmethod.EditorInfo#IME_ACTION_NEXT}. -->
1307        <flag name="actionNext" value="0x00000005" />
1308        <!-- The action key performs a "done"
1309             operation, closing the soft input method.
1310             Corresponds to
1311             {@link android.view.inputmethod.EditorInfo#IME_ACTION_DONE}. -->
1312        <flag name="actionDone" value="0x00000006" />
1313        <!-- The action key performs a "previous"
1314             operation, taking the user to the previous field that will accept text.
1315             Corresponds to
1316             {@link android.view.inputmethod.EditorInfo#IME_ACTION_PREVIOUS}. -->
1317        <flag name="actionPrevious" value="0x00000007" />
1318        <!-- Used to request that the IME never go
1319             into fullscreen mode.  Applications need to be aware that the flag is not
1320             a guarantee, and not all IMEs will respect it.
1321             <p>Corresponds to
1322             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. -->
1323        <flag name="flagNoFullscreen" value="0x2000000" />
1324        <!-- Like flagNavigateNext, but
1325             specifies there is something interesting that a backward navigation
1326             can focus on.  If the user selects the IME's facility to backward
1327             navigate, this will show up in the application as an actionPrevious
1328             at {@link android.view.inputmethod.InputConnection#performEditorAction(int)
1329             InputConnection.performEditorAction(int)}.
1330             <p>Corresponds to
1331             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. -->
1332        <flag name="flagNavigatePrevious" value="0x4000000" />
1333        <!-- Used to specify that there is something
1334             interesting that a forward navigation can focus on. This is like using
1335             actionNext, except allows the IME to be multiline (with
1336             an enter key) as well as provide forward navigation.  Note that some
1337             IMEs may not be able to do this, especially when running on a small
1338             screen where there is little space.  In that case it does not need to
1339             present a UI for this option.  Like actionNext, if the
1340             user selects the IME's facility to forward navigate, this will show up
1341             in the application at
1342             {@link android.view.inputmethod.InputConnection#performEditorAction(int)
1343             InputConnection.performEditorAction(int)}.
1344             <p>Corresponds to
1345             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NAVIGATE_NEXT}. -->
1346        <flag name="flagNavigateNext" value="0x8000000" />
1347        <!-- Used to specify that the IME does not need
1348             to show its extracted text UI.  For input methods that may be fullscreen,
1349             often when in landscape mode, this allows them to be smaller and let part
1350             of the application be shown behind.  Though there will likely be limited
1351             access to the application available from the user, it can make the
1352             experience of a (mostly) fullscreen IME less jarring.  Note that when
1353             this flag is specified the IME may <em>not</em> be set up to be able
1354             to display text, so it should only be used in situations where this is
1355             not needed.
1356             <p>Corresponds to
1357             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_EXTRACT_UI}. -->
1358        <flag name="flagNoExtractUi" value="0x10000000" />
1359        <!-- Used in conjunction with a custom action, this indicates that the
1360             action should not be available as an accessory button when the
1361             input method is full-screen.
1362             Note that by setting this flag, there can be cases where the action
1363             is simply never available to the user.  Setting this generally means
1364             that you think showing text being edited is more important than the
1365             action you have supplied.
1366             <p>Corresponds to
1367             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ACCESSORY_ACTION}. -->
1368        <flag name="flagNoAccessoryAction" value="0x20000000" />
1369        <!-- Used in conjunction with a custom action,
1370             this indicates that the action should not be available in-line as
1371             a replacement for the "enter" key.  Typically this is
1372             because the action has such a significant impact or is not recoverable
1373             enough that accidentally hitting it should be avoided, such as sending
1374             a message.    Note that {@link android.widget.TextView} will
1375             automatically set this flag for you on multi-line text views.
1376             <p>Corresponds to
1377             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ENTER_ACTION}. -->
1378        <flag name="flagNoEnterAction" value="0x40000000" />
1379        <!-- Used to request that the IME should be capable of inputting ASCII
1380             characters.  The intention of this flag is to ensure that the user
1381             can type Roman alphabet characters in a {@link android.widget.TextView}
1382             used for, typically, account ID or password input.  It is expected that IMEs
1383             normally are able to input ASCII even without being told so (such IMEs
1384             already respect this flag in a sense), but there could be some cases they
1385             aren't when, for instance, only non-ASCII input languagaes like Arabic,
1386             Greek, Hebrew, Russian are enabled in the IME.  Applications need to be
1387             aware that the flag is not a guarantee, and not all IMEs will respect it.
1388             However, it is strongly recommended for IME authors to respect this flag
1389             especially when their IME could end up with a state that has only non-ASCII
1390             input languages enabled.
1391             <p>Corresponds to
1392             {@link android.view.inputmethod.EditorInfo#IME_FLAG_FORCE_ASCII}. -->
1393        <flag name="flagForceAscii" value="0x80000000" />
1394    </attr>
1395
1396    <!-- A coordinate in the X dimension. -->
1397    <attr name="x" format="dimension" />
1398    <!-- A coordinate in the Y dimension. -->
1399    <attr name="y" format="dimension" />
1400
1401    <!-- Specifies how an object should position its content, on both the X and Y axes,
1402         within its own bounds.  -->
1403    <attr name="gravity">
1404        <!-- Push object to the top of its container, not changing its size. -->
1405        <flag name="top" value="0x30" />
1406        <!-- Push object to the bottom of its container, not changing its size. -->
1407        <flag name="bottom" value="0x50" />
1408        <!-- Push object to the left of its container, not changing its size. -->
1409        <flag name="left" value="0x03" />
1410        <!-- Push object to the right of its container, not changing its size. -->
1411        <flag name="right" value="0x05" />
1412        <!-- Place object in the vertical center of its container, not changing its size. -->
1413        <flag name="center_vertical" value="0x10" />
1414        <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
1415        <flag name="fill_vertical" value="0x70" />
1416        <!-- Place object in the horizontal center of its container, not changing its size. -->
1417        <flag name="center_horizontal" value="0x01" />
1418        <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
1419        <flag name="fill_horizontal" value="0x07" />
1420        <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
1421        <flag name="center" value="0x11" />
1422        <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
1423        <flag name="fill" value="0x77" />
1424        <!-- Additional option that can be set to have the top and/or bottom edges of
1425             the child clipped to its container's bounds.
1426             The clip will be based on the vertical gravity: a top gravity will clip the bottom
1427             edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
1428        <flag name="clip_vertical" value="0x80" />
1429        <!-- Additional option that can be set to have the left and/or right edges of
1430             the child clipped to its container's bounds.
1431             The clip will be based on the horizontal gravity: a left gravity will clip the right
1432             edge, a right gravity will clip the left edge, and neither will clip both edges. -->
1433        <flag name="clip_horizontal" value="0x08" />
1434        <!-- Push object to the beginning of its container, not changing its size. -->
1435        <flag name="start" value="0x00800003" />
1436        <!-- Push object to the end of its container, not changing its size. -->
1437        <flag name="end" value="0x00800005" />
1438    </attr>
1439
1440    <!-- Controls whether links such as urls and email addresses are
1441         automatically found and converted to clickable links.  The default
1442         value is "none", disabling this feature. -->
1443    <attr name="autoLink">
1444        <!-- Match no patterns (default). -->
1445        <flag name="none" value="0x00" />
1446        <!-- Match Web URLs. -->
1447        <flag name="web" value="0x01" />
1448        <!-- Match email addresses. -->
1449        <flag name="email" value="0x02" />
1450        <!-- Match phone numbers. -->
1451        <flag name="phone" value="0x04" />
1452        <!-- Match map addresses. -->
1453        <flag name="map" value="0x08" />
1454        <!-- Match all patterns (equivalent to web|email|phone|map). -->
1455        <flag name="all" value="0x0f" />
1456    </attr>
1457
1458    <!-- Reference to an array resource that will populate a list/adapter. -->
1459    <attr name="entries" format="reference" />
1460
1461    <!-- Standard gravity constant that a child supplies to its parent.
1462         Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout. -->
1463    <attr name="layout_gravity">
1464        <!-- Push object to the top of its container, not changing its size. -->
1465        <flag name="top" value="0x30" />
1466        <!-- Push object to the bottom of its container, not changing its size. -->
1467        <flag name="bottom" value="0x50" />
1468        <!-- Push object to the left of its container, not changing its size. -->
1469        <flag name="left" value="0x03" />
1470        <!-- Push object to the right of its container, not changing its size. -->
1471        <flag name="right" value="0x05" />
1472        <!-- Place object in the vertical center of its container, not changing its size. -->
1473        <flag name="center_vertical" value="0x10" />
1474        <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
1475        <flag name="fill_vertical" value="0x70" />
1476        <!-- Place object in the horizontal center of its container, not changing its size. -->
1477        <flag name="center_horizontal" value="0x01" />
1478        <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
1479        <flag name="fill_horizontal" value="0x07" />
1480        <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
1481        <flag name="center" value="0x11" />
1482        <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
1483        <flag name="fill" value="0x77" />
1484        <!-- Additional option that can be set to have the top and/or bottom edges of
1485             the child clipped to its container's bounds.
1486             The clip will be based on the vertical gravity: a top gravity will clip the bottom
1487             edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
1488        <flag name="clip_vertical" value="0x80" />
1489        <!-- Additional option that can be set to have the left and/or right edges of
1490             the child clipped to its container's bounds.
1491             The clip will be based on the horizontal gravity: a left gravity will clip the right
1492             edge, a right gravity will clip the left edge, and neither will clip both edges. -->
1493        <flag name="clip_horizontal" value="0x08" />
1494        <!-- Push object to the beginning of its container, not changing its size. -->
1495        <flag name="start" value="0x00800003" />
1496        <!-- Push object to the end of its container, not changing its size. -->
1497        <flag name="end" value="0x00800005" />
1498    </attr>
1499
1500    <!-- Standard orientation constant. -->
1501    <attr name="orientation">
1502        <!-- Defines an horizontal widget. -->
1503        <enum name="horizontal" value="0" />
1504        <!-- Defines a vertical widget. -->
1505        <enum name="vertical" value="1" />
1506    </attr>
1507
1508    <!-- Alignment constants. -->
1509    <attr name="alignmentMode">
1510        <!-- Align the bounds of the children.
1511        See {@link android.widget.GridLayout#ALIGN_BOUNDS}. -->
1512        <enum name="alignBounds" value="0" />
1513        <!-- Align the margins of the children.
1514        See {@link android.widget.GridLayout#ALIGN_MARGINS}. -->
1515        <enum name="alignMargins" value="1" />
1516    </attr>
1517
1518    <!-- ========================== -->
1519    <!-- Key Codes                  -->
1520    <!-- ========================== -->
1521    <eat-comment />
1522
1523    <!-- This enum provides the same keycode values as can be found in
1524        {@link android.view.KeyEvent}. -->
1525    <attr name="keycode">
1526        <enum name="KEYCODE_UNKNOWN" value="0" />
1527        <enum name="KEYCODE_SOFT_LEFT" value="1" />
1528        <enum name="KEYCODE_SOFT_RIGHT" value="2" />
1529        <enum name="KEYCODE_HOME" value="3" />
1530        <enum name="KEYCODE_BACK" value="4" />
1531        <enum name="KEYCODE_CALL" value="5" />
1532        <enum name="KEYCODE_ENDCALL" value="6" />
1533        <enum name="KEYCODE_0" value="7" />
1534        <enum name="KEYCODE_1" value="8" />
1535        <enum name="KEYCODE_2" value="9" />
1536        <enum name="KEYCODE_3" value="10" />
1537        <enum name="KEYCODE_4" value="11" />
1538        <enum name="KEYCODE_5" value="12" />
1539        <enum name="KEYCODE_6" value="13" />
1540        <enum name="KEYCODE_7" value="14" />
1541        <enum name="KEYCODE_8" value="15" />
1542        <enum name="KEYCODE_9" value="16" />
1543        <enum name="KEYCODE_STAR" value="17" />
1544        <enum name="KEYCODE_POUND" value="18" />
1545        <enum name="KEYCODE_DPAD_UP" value="19" />
1546        <enum name="KEYCODE_DPAD_DOWN" value="20" />
1547        <enum name="KEYCODE_DPAD_LEFT" value="21" />
1548        <enum name="KEYCODE_DPAD_RIGHT" value="22" />
1549        <enum name="KEYCODE_DPAD_CENTER" value="23" />
1550        <enum name="KEYCODE_VOLUME_UP" value="24" />
1551        <enum name="KEYCODE_VOLUME_DOWN" value="25" />
1552        <enum name="KEYCODE_POWER" value="26" />
1553        <enum name="KEYCODE_CAMERA" value="27" />
1554        <enum name="KEYCODE_CLEAR" value="28" />
1555        <enum name="KEYCODE_A" value="29" />
1556        <enum name="KEYCODE_B" value="30" />
1557        <enum name="KEYCODE_C" value="31" />
1558        <enum name="KEYCODE_D" value="32" />
1559        <enum name="KEYCODE_E" value="33" />
1560        <enum name="KEYCODE_F" value="34" />
1561        <enum name="KEYCODE_G" value="35" />
1562        <enum name="KEYCODE_H" value="36" />
1563        <enum name="KEYCODE_I" value="37" />
1564        <enum name="KEYCODE_J" value="38" />
1565        <enum name="KEYCODE_K" value="39" />
1566        <enum name="KEYCODE_L" value="40" />
1567        <enum name="KEYCODE_M" value="41" />
1568        <enum name="KEYCODE_N" value="42" />
1569        <enum name="KEYCODE_O" value="43" />
1570        <enum name="KEYCODE_P" value="44" />
1571        <enum name="KEYCODE_Q" value="45" />
1572        <enum name="KEYCODE_R" value="46" />
1573        <enum name="KEYCODE_S" value="47" />
1574        <enum name="KEYCODE_T" value="48" />
1575        <enum name="KEYCODE_U" value="49" />
1576        <enum name="KEYCODE_V" value="50" />
1577        <enum name="KEYCODE_W" value="51" />
1578        <enum name="KEYCODE_X" value="52" />
1579        <enum name="KEYCODE_Y" value="53" />
1580        <enum name="KEYCODE_Z" value="54" />
1581        <enum name="KEYCODE_COMMA" value="55" />
1582        <enum name="KEYCODE_PERIOD" value="56" />
1583        <enum name="KEYCODE_ALT_LEFT" value="57" />
1584        <enum name="KEYCODE_ALT_RIGHT" value="58" />
1585        <enum name="KEYCODE_SHIFT_LEFT" value="59" />
1586        <enum name="KEYCODE_SHIFT_RIGHT" value="60" />
1587        <enum name="KEYCODE_TAB" value="61" />
1588        <enum name="KEYCODE_SPACE" value="62" />
1589        <enum name="KEYCODE_SYM" value="63" />
1590        <enum name="KEYCODE_EXPLORER" value="64" />
1591        <enum name="KEYCODE_ENVELOPE" value="65" />
1592        <enum name="KEYCODE_ENTER" value="66" />
1593        <enum name="KEYCODE_DEL" value="67" />
1594        <enum name="KEYCODE_GRAVE" value="68" />
1595        <enum name="KEYCODE_MINUS" value="69" />
1596        <enum name="KEYCODE_EQUALS" value="70" />
1597        <enum name="KEYCODE_LEFT_BRACKET" value="71" />
1598        <enum name="KEYCODE_RIGHT_BRACKET" value="72" />
1599        <enum name="KEYCODE_BACKSLASH" value="73" />
1600        <enum name="KEYCODE_SEMICOLON" value="74" />
1601        <enum name="KEYCODE_APOSTROPHE" value="75" />
1602        <enum name="KEYCODE_SLASH" value="76" />
1603        <enum name="KEYCODE_AT" value="77" />
1604        <enum name="KEYCODE_NUM" value="78" />
1605        <enum name="KEYCODE_HEADSETHOOK" value="79" />
1606        <enum name="KEYCODE_FOCUS" value="80" />
1607        <enum name="KEYCODE_PLUS" value="81" />
1608        <enum name="KEYCODE_MENU" value="82" />
1609        <enum name="KEYCODE_NOTIFICATION" value="83" />
1610        <enum name="KEYCODE_SEARCH" value="84" />
1611        <enum name="KEYCODE_MEDIA_PLAY_PAUSE" value="85" />
1612        <enum name="KEYCODE_MEDIA_STOP" value="86" />
1613        <enum name="KEYCODE_MEDIA_NEXT" value="87" />
1614        <enum name="KEYCODE_MEDIA_PREVIOUS" value="88" />
1615        <enum name="KEYCODE_MEDIA_REWIND" value="89" />
1616        <enum name="KEYCODE_MEDIA_FAST_FORWARD" value="90" />
1617        <enum name="KEYCODE_MUTE" value="91" />
1618        <enum name="KEYCODE_PAGE_UP" value="92" />
1619        <enum name="KEYCODE_PAGE_DOWN" value="93" />
1620        <enum name="KEYCODE_PICTSYMBOLS" value="94" />
1621        <enum name="KEYCODE_SWITCH_CHARSET" value="95" />
1622        <enum name="KEYCODE_BUTTON_A" value="96" />
1623        <enum name="KEYCODE_BUTTON_B" value="97" />
1624        <enum name="KEYCODE_BUTTON_C" value="98" />
1625        <enum name="KEYCODE_BUTTON_X" value="99" />
1626        <enum name="KEYCODE_BUTTON_Y" value="100" />
1627        <enum name="KEYCODE_BUTTON_Z" value="101" />
1628        <enum name="KEYCODE_BUTTON_L1" value="102" />
1629        <enum name="KEYCODE_BUTTON_R1" value="103" />
1630        <enum name="KEYCODE_BUTTON_L2" value="104" />
1631        <enum name="KEYCODE_BUTTON_R2" value="105" />
1632        <enum name="KEYCODE_BUTTON_THUMBL" value="106" />
1633        <enum name="KEYCODE_BUTTON_THUMBR" value="107" />
1634        <enum name="KEYCODE_BUTTON_START" value="108" />
1635        <enum name="KEYCODE_BUTTON_SELECT" value="109" />
1636        <enum name="KEYCODE_BUTTON_MODE" value="110" />
1637        <enum name="KEYCODE_ESCAPE" value="111" />
1638        <enum name="KEYCODE_FORWARD_DEL" value="112" />
1639        <enum name="KEYCODE_CTRL_LEFT" value="113" />
1640        <enum name="KEYCODE_CTRL_RIGHT" value="114" />
1641        <enum name="KEYCODE_CAPS_LOCK" value="115" />
1642        <enum name="KEYCODE_SCROLL_LOCK" value="116" />
1643        <enum name="KEYCODE_META_LEFT" value="117" />
1644        <enum name="KEYCODE_META_RIGHT" value="118" />
1645        <enum name="KEYCODE_FUNCTION" value="119" />
1646        <enum name="KEYCODE_SYSRQ" value="120" />
1647        <enum name="KEYCODE_BREAK" value="121" />
1648        <enum name="KEYCODE_MOVE_HOME" value="122" />
1649        <enum name="KEYCODE_MOVE_END" value="123" />
1650        <enum name="KEYCODE_INSERT" value="124" />
1651        <enum name="KEYCODE_FORWARD" value="125" />
1652        <enum name="KEYCODE_MEDIA_PLAY" value="126" />
1653        <enum name="KEYCODE_MEDIA_PAUSE" value="127" />
1654        <enum name="KEYCODE_MEDIA_CLOSE" value="128" />
1655        <enum name="KEYCODE_MEDIA_EJECT" value="129" />
1656        <enum name="KEYCODE_MEDIA_RECORD" value="130" />
1657        <enum name="KEYCODE_F1" value="131" />
1658        <enum name="KEYCODE_F2" value="132" />
1659        <enum name="KEYCODE_F3" value="133" />
1660        <enum name="KEYCODE_F4" value="134" />
1661        <enum name="KEYCODE_F5" value="135" />
1662        <enum name="KEYCODE_F6" value="136" />
1663        <enum name="KEYCODE_F7" value="137" />
1664        <enum name="KEYCODE_F8" value="138" />
1665        <enum name="KEYCODE_F9" value="139" />
1666        <enum name="KEYCODE_F10" value="140" />
1667        <enum name="KEYCODE_F11" value="141" />
1668        <enum name="KEYCODE_F12" value="142" />
1669        <enum name="KEYCODE_NUM_LOCK" value="143" />
1670        <enum name="KEYCODE_NUMPAD_0" value="144" />
1671        <enum name="KEYCODE_NUMPAD_1" value="145" />
1672        <enum name="KEYCODE_NUMPAD_2" value="146" />
1673        <enum name="KEYCODE_NUMPAD_3" value="147" />
1674        <enum name="KEYCODE_NUMPAD_4" value="148" />
1675        <enum name="KEYCODE_NUMPAD_5" value="149" />
1676        <enum name="KEYCODE_NUMPAD_6" value="150" />
1677        <enum name="KEYCODE_NUMPAD_7" value="151" />
1678        <enum name="KEYCODE_NUMPAD_8" value="152" />
1679        <enum name="KEYCODE_NUMPAD_9" value="153" />
1680        <enum name="KEYCODE_NUMPAD_DIVIDE" value="154" />
1681        <enum name="KEYCODE_NUMPAD_MULTIPLY" value="155" />
1682        <enum name="KEYCODE_NUMPAD_SUBTRACT" value="156" />
1683        <enum name="KEYCODE_NUMPAD_ADD" value="157" />
1684        <enum name="KEYCODE_NUMPAD_DOT" value="158" />
1685        <enum name="KEYCODE_NUMPAD_COMMA" value="159" />
1686        <enum name="KEYCODE_NUMPAD_ENTER" value="160" />
1687        <enum name="KEYCODE_NUMPAD_EQUALS" value="161" />
1688        <enum name="KEYCODE_NUMPAD_LEFT_PAREN" value="162" />
1689        <enum name="KEYCODE_NUMPAD_RIGHT_PAREN" value="163" />
1690        <enum name="KEYCODE_VOLUME_MUTE" value="164" />
1691        <enum name="KEYCODE_INFO" value="165" />
1692        <enum name="KEYCODE_CHANNEL_UP" value="166" />
1693        <enum name="KEYCODE_CHANNEL_DOWN" value="167" />
1694        <enum name="KEYCODE_ZOOM_IN" value="168" />
1695        <enum name="KEYCODE_ZOOM_OUT" value="169" />
1696        <enum name="KEYCODE_TV" value="170" />
1697        <enum name="KEYCODE_WINDOW" value="171" />
1698        <enum name="KEYCODE_GUIDE" value="172" />
1699        <enum name="KEYCODE_DVR" value="173" />
1700        <enum name="KEYCODE_BOOKMARK" value="174" />
1701        <enum name="KEYCODE_CAPTIONS" value="175" />
1702        <enum name="KEYCODE_SETTINGS" value="176" />
1703        <enum name="KEYCODE_TV_POWER" value="177" />
1704        <enum name="KEYCODE_TV_INPUT" value="178" />
1705        <enum name="KEYCODE_STB_POWER" value="179" />
1706        <enum name="KEYCODE_STB_INPUT" value="180" />
1707        <enum name="KEYCODE_AVR_POWER" value="181" />
1708        <enum name="KEYCODE_AVR_INPUT" value="182" />
1709        <enum name="KEYCODE_PROG_GRED" value="183" />
1710        <enum name="KEYCODE_PROG_GREEN" value="184" />
1711        <enum name="KEYCODE_PROG_YELLOW" value="185" />
1712        <enum name="KEYCODE_PROG_BLUE" value="186" />
1713        <enum name="KEYCODE_APP_SWITCH" value="187" />
1714        <enum name="KEYCODE_BUTTON_1" value="188" />
1715        <enum name="KEYCODE_BUTTON_2" value="189" />
1716        <enum name="KEYCODE_BUTTON_3" value="190" />
1717        <enum name="KEYCODE_BUTTON_4" value="191" />
1718        <enum name="KEYCODE_BUTTON_5" value="192" />
1719        <enum name="KEYCODE_BUTTON_6" value="193" />
1720        <enum name="KEYCODE_BUTTON_7" value="194" />
1721        <enum name="KEYCODE_BUTTON_8" value="195" />
1722        <enum name="KEYCODE_BUTTON_9" value="196" />
1723        <enum name="KEYCODE_BUTTON_10" value="197" />
1724        <enum name="KEYCODE_BUTTON_11" value="198" />
1725        <enum name="KEYCODE_BUTTON_12" value="199" />
1726        <enum name="KEYCODE_BUTTON_13" value="200" />
1727        <enum name="KEYCODE_BUTTON_14" value="201" />
1728        <enum name="KEYCODE_BUTTON_15" value="202" />
1729        <enum name="KEYCODE_BUTTON_16" value="203" />
1730        <enum name="KEYCODE_LANGUAGE_SWITCH" value="204" />
1731        <enum name="KEYCODE_MANNER_MODE" value="205" />
1732        <enum name="KEYCODE_3D_MODE" value="206" />
1733        <enum name="KEYCODE_CONTACTS" value="207" />
1734        <enum name="KEYCODE_CALENDAR" value="208" />
1735        <enum name="KEYCODE_MUSIC" value="209" />
1736        <enum name="KEYCODE_CALCULATOR" value="210" />
1737        <enum name="KEYCODE_ZENKAKU_HANKAKU" value="211" />
1738        <enum name="KEYCODE_EISU" value="212" />
1739        <enum name="KEYCODE_MUHENKAN" value="213" />
1740        <enum name="KEYCODE_HENKAN" value="214" />
1741        <enum name="KEYCODE_KATAKANA_HIRAGANA" value="215" />
1742        <enum name="KEYCODE_YEN" value="216" />
1743        <enum name="KEYCODE_RO" value="217" />
1744        <enum name="KEYCODE_KANA" value="218" />
1745        <enum name="KEYCODE_ASSIST" value="219" />
1746        <enum name="KEYCODE_BRIGHTNESS_DOWN" value="220" />
1747        <enum name="KEYCODE_BRIGHTNESS_UP" value="221" />
1748        <enum name="KEYCODE_MEDIA_AUDIO_TRACK" value="222" />
1749        <enum name="KEYCODE_MEDIA_SLEEP" value="223" />
1750        <enum name="KEYCODE_MEDIA_WAKEUP" value="224" />
1751        <enum name="KEYCODE_PAIRING" value="225" />
1752        <enum name="KEYCODE_MEDIA_TOP_MENU" value="226" />
1753        <enum name="KEYCODE_11" value="227" />
1754        <enum name="KEYCODE_12" value="228" />
1755        <enum name="KEYCODE_LAST_CHANNEL" value="229" />
1756        <enum name="KEYCODE_TV_DATA_SERVICE" value="230" />
1757        <enum name="KEYCODE_VOICE_ASSIST" value="231" />
1758        <enum name="KEYCODE_TV_RADIO_SERVICE" value="232" />
1759        <enum name="KEYCODE_TV_TELETEXT" value="233" />
1760        <enum name="KEYCODE_TV_NUMBER_ENTRY" value="234" />
1761        <enum name="KEYCODE_TV_TERRESTRIAL_ANALOG" value="235" />
1762        <enum name="KEYCODE_TV_TERRESTRIAL_DIGITAL" value="236" />
1763        <enum name="KEYCODE_TV_SATELLITE" value="237" />
1764        <enum name="KEYCODE_TV_SATELLITE_BS" value="238" />
1765        <enum name="KEYCODE_TV_SATELLITE_CS" value="239" />
1766        <enum name="KEYCODE_TV_SATELLITE_SERVICE" value="240" />
1767        <enum name="KEYCODE_TV_NETWORK" value="241" />
1768        <enum name="KEYCODE_TV_ANTENNA_CABLE" value="242" />
1769        <enum name="KEYCODE_TV_INPUT_HDMI_1" value="243" />
1770        <enum name="KEYCODE_TV_INPUT_HDMI_2" value="244" />
1771        <enum name="KEYCODE_TV_INPUT_HDMI_3" value="245" />
1772        <enum name="KEYCODE_TV_INPUT_HDMI_4" value="246" />
1773        <enum name="KEYCODE_TV_INPUT_COMPOSITE_1" value="247" />
1774        <enum name="KEYCODE_TV_INPUT_COMPOSITE_2" value="248" />
1775        <enum name="KEYCODE_TV_INPUT_COMPONENT_1" value="249" />
1776        <enum name="KEYCODE_TV_INPUT_COMPONENT_2" value="250" />
1777        <enum name="KEYCODE_TV_INPUT_VGA_1" value="251" />
1778        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION" value="252" />
1779        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP" value="253" />
1780        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN" value="254" />
1781        <enum name="KEYCODE_TV_ZOOM_MODE" value="255" />
1782        <enum name="KEYCODE_TV_CONTENTS_MENU" value="256" />
1783        <enum name="KEYCODE_TV_MEDIA_CONTEXT_MENU" value="257" />
1784        <enum name="KEYCODE_TV_TIMER_PROGRAMMING" value="258" />
1785        <enum name="KEYCODE_HELP" value="259" />
1786        <enum name="KEYCODE_NAVIGATE_PREVIOUS" value="260" />
1787        <enum name="KEYCODE_NAVIGATE_NEXT" value="261" />
1788        <enum name="KEYCODE_NAVIGATE_IN" value="262" />
1789        <enum name="KEYCODE_NAVIGATE_OUT" value="263" />
1790    </attr>
1791
1792    <!-- ***************************************************************** -->
1793    <!-- These define collections of attributes that can are with classes. -->
1794    <!-- ***************************************************************** -->
1795
1796    <!-- ========================== -->
1797    <!-- Special attribute classes. -->
1798    <!-- ========================== -->
1799    <eat-comment />
1800
1801    <!-- The set of attributes that describe a Windows's theme. -->
1802    <declare-styleable name="Window">
1803        <attr name="windowBackground" />
1804        <attr name="windowBackgroundFallback" />
1805        <attr name="windowContentOverlay" />
1806        <attr name="windowFrame" />
1807        <attr name="windowNoTitle" />
1808        <attr name="windowFullscreen" />
1809        <attr name="windowOverscan" />
1810        <attr name="windowIsFloating" />
1811        <attr name="windowIsTranslucent" />
1812        <attr name="windowShowWallpaper" />
1813        <attr name="windowAnimationStyle" />
1814        <attr name="windowSoftInputMode" />
1815        <attr name="windowDisablePreview" />
1816        <attr name="windowNoDisplay" />
1817        <attr name="textColor" />
1818        <attr name="backgroundDimEnabled" />
1819        <attr name="backgroundDimAmount" />
1820        <attr name="windowActionBar" />
1821        <attr name="windowActionModeOverlay" />
1822        <attr name="windowActionBarOverlay" />
1823        <attr name="windowEnableSplitTouch" />
1824        <attr name="windowCloseOnTouchOutside" />
1825        <attr name="windowTranslucentStatus" />
1826        <attr name="windowTranslucentNavigation" />
1827        <attr name="windowSwipeToDismiss" />
1828        <attr name="windowContentTransitions" />
1829        <attr name="windowActivityTransitions" />
1830        <attr name="windowContentTransitionManager" />
1831        <attr name="windowActionBarFullscreenDecorLayout" />
1832
1833        <!-- The minimum width the window is allowed to be, along the major
1834             axis of the screen.  That is, when in landscape.  Can be either
1835             an absolute dimension or a fraction of the screen size in that
1836             dimension. -->
1837        <attr name="windowMinWidthMajor" format="dimension|fraction" />
1838        <!-- The minimum width the window is allowed to be, along the minor
1839             axis of the screen.  That is, when in portrait.  Can be either
1840             an absolute dimension or a fraction of the screen size in that
1841             dimension. -->
1842        <attr name="windowMinWidthMinor" format="dimension|fraction" />
1843
1844        <!-- A fixed width for the window along the major axis of the screen,
1845             that is, when in landscape. Can be either an absolute dimension
1846             or a fraction of the screen size in that dimension. -->
1847        <attr name="windowFixedWidthMajor" format="dimension|fraction" />
1848        <!-- A fixed height for the window along the minor axis of the screen,
1849             that is, when in landscape. Can be either an absolute dimension
1850             or a fraction of the screen size in that dimension. -->
1851        <attr name="windowFixedHeightMinor" format="dimension|fraction" />
1852
1853        <!-- A fixed width for the window along the minor axis of the screen,
1854             that is, when in portrait. Can be either an absolute dimension
1855             or a fraction of the screen size in that dimension. -->
1856        <attr name="windowFixedWidthMinor" format="dimension|fraction" />
1857        <!-- A fixed height for the window along the major axis of the screen,
1858             that is, when in portrait. Can be either an absolute dimension
1859             or a fraction of the screen size in that dimension. -->
1860        <attr name="windowFixedHeightMajor" format="dimension|fraction" />
1861        <attr name="windowOutsetBottom" format="dimension" />
1862        <!-- Reference to a Transition XML resource defining the desired Transition
1863             used to move Views into the initial Window's content Scene. Corresponds to
1864             {@link android.view.Window#setEnterTransition(android.transition.Transition)}. -->
1865        <attr name="windowEnterTransition"/>
1866
1867        <!-- Reference to a Transition XML resource defining the desired Transition
1868             used to move Views out of the scene when the Window is
1869             preparing to close. Corresponds to
1870             {@link android.view.Window#setReturnTransition(android.transition.Transition)}. -->
1871        <attr name="windowReturnTransition"/>
1872
1873        <!-- Reference to a Transition XML resource defining the desired Transition
1874             used to move Views out of the Window's content Scene when launching a new Activity.
1875             Corresponds to
1876             {@link android.view.Window#setExitTransition(android.transition.Transition)}. -->
1877        <attr name="windowExitTransition"/>
1878
1879        <!-- Reference to a Transition XML resource defining the desired Transition
1880             used to move Views in to the scene when returning from a previously-started Activity.
1881             Corresponds to
1882             {@link android.view.Window#setReenterTransition(android.transition.Transition)}. -->
1883        <attr name="windowReenterTransition"/>
1884
1885        <!-- Reference to a Transition XML resource defining the desired Transition
1886             used to move shared elements transferred into the Window's initial content Scene.
1887             Corresponds to {@link android.view.Window#setSharedElementEnterTransition(
1888             android.transition.Transition)}. -->
1889        <attr name="windowSharedElementEnterTransition"/>
1890
1891        <!-- Reference to a Transition XML resource defining the desired Transition
1892             used to move shared elements transferred back to a calling Activity.
1893             Corresponds to {@link android.view.Window#setSharedElementReturnTransition(
1894             android.transition.Transition)}. -->
1895        <attr name="windowSharedElementReturnTransition"/>
1896
1897        <!-- Reference to a Transition XML resource defining the desired Transition
1898             used when starting a new Activity to move shared elements prior to transferring
1899             to the called Activity.
1900             Corresponds to {@link android.view.Window#setSharedElementExitTransition(
1901             android.transition.Transition)}. -->
1902        <attr name="windowSharedElementExitTransition"/>
1903
1904        <!-- Reference to a Transition XML resource defining the desired Transition
1905             used for shared elements transferred back to a calling Activity.
1906             Corresponds to {@link android.view.Window#setSharedElementReenterTransition(
1907             android.transition.Transition)}. -->
1908        <attr name="windowSharedElementReenterTransition"/>
1909
1910
1911        <!-- Flag indicating whether this Window's transition should overlap with
1912             the exiting transition of the calling Activity. Corresponds to
1913             {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. -->
1914        <attr name="windowAllowEnterTransitionOverlap"/>
1915
1916        <!-- Flag indicating whether this Window's transition should overlap with
1917             the exiting transition of the called Activity when the called Activity
1918             finishes. Corresponds to
1919             {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. -->
1920        <attr name="windowAllowReturnTransitionOverlap"/>
1921
1922        <!-- Indicates whether or not shared elements should use an overlay
1923             during transitions. The default value is true. -->
1924        <attr name="windowSharedElementsUseOverlay"/>
1925
1926        <!-- Flag indicating whether this Window is responsible for drawing the background for the
1927             system bars. If true and the window is not floating, the system bars are drawn with a
1928             transparent background and the corresponding areas in this window are filled with the
1929             colors specified in {@link android.R.attr#statusBarColor} and
1930             {@link android.R.attr#navigationBarColor}. Corresponds to
1931             {@link android.view.WindowManager.LayoutParams#FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS}. -->
1932        <attr name="windowDrawsSystemBarBackgrounds" format="boolean" />
1933
1934        <!-- The color for the status bar. If the color is not opaque, consider setting
1935             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and
1936             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN}.
1937             For this to take effect, the window must be drawing the system bar backgrounds with
1938             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not
1939             have been requested to be translucent with
1940             {@link android.R.attr#windowTranslucentStatus}.
1941             Corresponds to {@link android.view.Window#setStatusBarColor(int)}. -->
1942        <attr name="statusBarColor" format="color" />
1943
1944        <!-- The color for the navigation bar. If the color is not opaque, consider setting
1945             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and
1946             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION}.
1947             For this to take effect, the window must be drawing the system bar backgrounds with
1948             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not
1949             have been requested to be translucent with
1950             {@link android.R.attr#windowTranslucentNavigation}.
1951             Corresponds to {@link android.view.Window#setNavigationBarColor(int)}. -->
1952        <attr name="navigationBarColor" format="color" />
1953
1954        <!-- The duration, in milliseconds, of the window background fade duration
1955             when transitioning into or away from an Activity when called with an
1956             Activity Transition. Corresponds to
1957             {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. -->
1958        <attr name="windowTransitionBackgroundFadeDuration" />
1959
1960        <!-- Elevation to use for the window. -->
1961        <attr name="windowElevation" format="dimension" />
1962
1963        <!-- Whether to clip window content to the outline of the window background. -->
1964        <attr name="windowClipToOutline" format="boolean" />
1965
1966        <!-- If set, the status bar will be drawn such that it is compatible with a light
1967             status bar background.
1968             <p>For this to take effect, the window must be drawing the system bar backgrounds with
1969             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not
1970             have been requested to be translucent with
1971             {@link android.R.attr#windowTranslucentStatus}.
1972             Corresponds to setting {@link android.view.View#SYSTEM_UI_FLAG_LIGHT_STATUS_BAR} on
1973             the decor view. -->
1974        <attr name="windowLightStatusBar" format="boolean" />
1975    </declare-styleable>
1976
1977    <!-- The set of attributes that describe a AlertDialog's theme. -->
1978    <declare-styleable name="AlertDialog">
1979        <attr name="fullDark" format="reference|color" />
1980        <attr name="topDark" format="reference|color" />
1981        <attr name="centerDark" format="reference|color" />
1982        <attr name="bottomDark" format="reference|color" />
1983        <attr name="fullBright" format="reference|color" />
1984        <attr name="topBright" format="reference|color" />
1985        <attr name="centerBright" format="reference|color" />
1986        <attr name="bottomBright" format="reference|color" />
1987        <attr name="bottomMedium" format="reference|color" />
1988        <attr name="centerMedium" format="reference|color" />
1989        <attr name="layout" />
1990        <attr name="buttonPanelSideLayout" format="reference" />
1991        <attr name="listLayout" format="reference" />
1992        <attr name="multiChoiceItemLayout" format="reference" />
1993        <attr name="singleChoiceItemLayout" format="reference" />
1994        <attr name="listItemLayout" format="reference" />
1995        <attr name="progressLayout" format="reference" />
1996        <attr name="horizontalProgressLayout" format="reference" />
1997        <!-- @hide Whether fullDark, etc. should use default values if null. -->
1998        <attr name="needsDefaultBackgrounds" format="boolean" />
1999    </declare-styleable>
2000
2001    <!-- @hide -->
2002    <declare-styleable name="ButtonBarLayout">
2003        <!-- Whether to automatically stack the buttons when there is not
2004             enough space to lay them out side-by-side. -->
2005        <attr name="allowStacking" format="boolean" />
2006    </declare-styleable>
2007
2008    <!-- Fragment animation class attributes. -->
2009    <declare-styleable name="FragmentAnimation">
2010        <attr name="fragmentOpenEnterAnimation" format="reference" />
2011        <attr name="fragmentOpenExitAnimation" format="reference" />
2012        <attr name="fragmentCloseEnterAnimation" format="reference" />
2013        <attr name="fragmentCloseExitAnimation" format="reference" />
2014        <attr name="fragmentFadeEnterAnimation" format="reference" />
2015        <attr name="fragmentFadeExitAnimation" format="reference" />
2016    </declare-styleable>
2017
2018    <!-- Window animation class attributes. -->
2019    <declare-styleable name="WindowAnimation">
2020        <!-- The animation used when a window is being added. -->
2021        <attr name="windowEnterAnimation" format="reference" />
2022        <!-- The animation used when a window is being removed. -->
2023        <attr name="windowExitAnimation" format="reference" />
2024        <!-- The animation used when a window is going from INVISIBLE to VISIBLE. -->
2025        <attr name="windowShowAnimation" format="reference" />
2026        <!-- The animation used when a window is going from VISIBLE to INVISIBLE. -->
2027        <attr name="windowHideAnimation" format="reference" />
2028
2029        <!--  When opening a new activity, this is the animation that is
2030              run on the next activity (which is entering the screen). -->
2031        <attr name="activityOpenEnterAnimation" format="reference" />
2032        <!--  When opening a new activity, this is the animation that is
2033              run on the previous activity (which is exiting the screen). -->
2034        <attr name="activityOpenExitAnimation" format="reference" />
2035        <!--  When closing the current activity, this is the animation that is
2036              run on the next activity (which is entering the screen). -->
2037        <attr name="activityCloseEnterAnimation" format="reference" />
2038        <!--  When closing the current activity, this is the animation that is
2039              run on the current activity (which is exiting the screen). -->
2040        <attr name="activityCloseExitAnimation" format="reference" />
2041        <!--  When opening an activity in a new task, this is the animation that is
2042              run on the activity of the new task (which is entering the screen). -->
2043        <attr name="taskOpenEnterAnimation" format="reference" />
2044        <!--  When opening an activity in a new task, this is the animation that is
2045              run on the activity of the old task (which is exiting the screen). -->
2046        <attr name="taskOpenExitAnimation" format="reference" />
2047        <!--  When opening an activity in a new task using Intent/FLAG_ACTIVITY_LAUNCH_BEHIND,
2048              this is the animation that is run on the activity of the new task (which is
2049              entering the screen and then leaving). -->
2050        <attr name="launchTaskBehindTargetAnimation" format="reference" />
2051        <!--  When opening an activity in a new task using Intent.FLAG_ACTIVITY_LAUNCH_BEHIND,
2052              this is the animation that is run on the activity of the old task (which is
2053              already on the screen and then stays on). -->
2054        <attr name="launchTaskBehindSourceAnimation" format="reference" />
2055        <!--  When closing the last activity of a task, this is the animation that is
2056              run on the activity of the next task (which is entering the screen). -->
2057        <attr name="taskCloseEnterAnimation" format="reference" />
2058        <!--  When opening an activity in a new task, this is the animation that is
2059              run on the activity of the old task (which is exiting the screen). -->
2060        <attr name="taskCloseExitAnimation" format="reference" />
2061        <!--  When bringing an existing task to the foreground, this is the
2062              animation that is run on the top activity of the task being brought
2063              to the foreground (which is entering the screen). -->
2064        <attr name="taskToFrontEnterAnimation" format="reference" />
2065        <!--  When bringing an existing task to the foreground, this is the
2066              animation that is run on the current foreground activity
2067              (which is exiting the screen). -->
2068        <attr name="taskToFrontExitAnimation" format="reference" />
2069        <!--  When sending the current task to the background, this is the
2070              animation that is run on the top activity of the task behind
2071              it (which is entering the screen). -->
2072        <attr name="taskToBackEnterAnimation" format="reference" />
2073        <!--  When sending the current task to the background, this is the
2074              animation that is run on the top activity of the current task
2075              (which is exiting the screen). -->
2076        <attr name="taskToBackExitAnimation" format="reference" />
2077
2078        <!--  When opening a new activity that shows the wallpaper, while
2079              currently not showing the wallpaper, this is the animation that
2080              is run on the new wallpaper activity (which is entering the screen). -->
2081        <attr name="wallpaperOpenEnterAnimation" format="reference" />
2082        <!--  When opening a new activity that shows the wallpaper, while
2083              currently not showing the wallpaper, this is the animation that
2084              is run on the current activity (which is exiting the screen). -->
2085        <attr name="wallpaperOpenExitAnimation" format="reference" />
2086        <!--  When opening a new activity that hides the wallpaper, while
2087              currently showing the wallpaper, this is the animation that
2088              is run on the new activity (which is entering the screen). -->
2089        <attr name="wallpaperCloseEnterAnimation" format="reference" />
2090        <!--  When opening a new activity that hides the wallpaper, while
2091              currently showing the wallpaper, this is the animation that
2092              is run on the old wallpaper activity (which is exiting the screen). -->
2093        <attr name="wallpaperCloseExitAnimation" format="reference" />
2094
2095        <!--  When opening a new activity that is on top of the wallpaper
2096              when the current activity is also on top of the wallpaper,
2097              this is the animation that is run on the new activity
2098              (which is entering the screen).  The wallpaper remains
2099              static behind the animation. -->
2100        <attr name="wallpaperIntraOpenEnterAnimation" format="reference" />
2101        <!--  When opening a new activity that is on top of the wallpaper
2102              when the current activity is also on top of the wallpaper,
2103              this is the animation that is run on the current activity
2104              (which is exiting the screen).  The wallpaper remains
2105              static behind the animation. -->
2106        <attr name="wallpaperIntraOpenExitAnimation" format="reference" />
2107        <!--  When closing a foreround activity that is on top of the wallpaper
2108              when the previous activity is also on top of the wallpaper,
2109              this is the animation that is run on the previous activity
2110              (which is entering the screen).  The wallpaper remains
2111              static behind the animation. -->
2112        <attr name="wallpaperIntraCloseEnterAnimation" format="reference" />
2113        <!--  When closing a foreround activity that is on top of the wallpaper
2114              when the previous activity is also on top of the wallpaper,
2115              this is the animation that is run on the current activity
2116              (which is exiting the screen).  The wallpaper remains
2117              static behind the animation. -->
2118        <attr name="wallpaperIntraCloseExitAnimation" format="reference" />
2119    </declare-styleable>
2120
2121    <!-- ============================= -->
2122    <!-- View package class attributes -->
2123    <!-- ============================= -->
2124    <eat-comment />
2125
2126    <!-- Attributes that can be used with {@link android.view.View} or
2127         any of its subclasses.  Also see {@link #ViewGroup_Layout} for
2128         attributes that are processed by the view's parent. -->
2129    <declare-styleable name="View">
2130        <!-- Supply an identifier name for this view, to later retrieve it
2131             with {@link android.view.View#findViewById View.findViewById()} or
2132             {@link android.app.Activity#findViewById Activity.findViewById()}.
2133             This must be a
2134             resource reference; typically you set this using the
2135             <code>@+</code> syntax to create a new ID resources.
2136             For example: <code>android:id="@+id/my_id"</code> which
2137             allows you to later retrieve the view
2138             with <code>findViewById(R.id.my_id)</code>. -->
2139        <attr name="id" format="reference" />
2140
2141        <!-- Supply a tag for this view containing a String, to be retrieved
2142             later with {@link android.view.View#getTag View.getTag()} or
2143             searched for with {@link android.view.View#findViewWithTag
2144             View.findViewWithTag()}.  It is generally preferable to use
2145             IDs (through the android:id attribute) instead of tags because
2146             they are faster and allow for compile-time type checking. -->
2147        <attr name="tag" format="string" />
2148
2149        <!-- The initial horizontal scroll offset, in pixels.-->
2150        <attr name="scrollX" format="dimension" />
2151
2152        <!-- The initial vertical scroll offset, in pixels. -->
2153        <attr name="scrollY" format="dimension" />
2154
2155        <!-- A drawable to use as the background.  This can be either a reference
2156             to a full drawable resource (such as a PNG image, 9-patch,
2157             XML state list description, etc), or a solid color such as "#ff000000"
2158            (black). -->
2159        <attr name="background" format="reference|color" />
2160
2161        <!-- Sets the padding, in pixels, of all four edges.  Padding is defined as
2162             space between the edges of the view and the view's content. A views size
2163             will include it's padding.  If a {@link android.R.attr#background}
2164             is provided, the padding will initially be set to that (0 if the
2165             drawable does not have padding).  Explicitly setting a padding value
2166             will override the corresponding padding found in the background. -->
2167        <attr name="padding" format="dimension" />
2168        <!-- Sets the padding, in pixels, of the left edge; see {@link android.R.attr#padding}. -->
2169        <attr name="paddingLeft" format="dimension" />
2170        <!-- Sets the padding, in pixels, of the top edge; see {@link android.R.attr#padding}. -->
2171        <attr name="paddingTop" format="dimension" />
2172        <!-- Sets the padding, in pixels, of the right edge; see {@link android.R.attr#padding}. -->
2173        <attr name="paddingRight" format="dimension" />
2174        <!-- Sets the padding, in pixels, of the bottom edge; see {@link android.R.attr#padding}. -->
2175        <attr name="paddingBottom" format="dimension" />
2176        <!-- Sets the padding, in pixels, of the start edge; see {@link android.R.attr#padding}. -->
2177        <attr name="paddingStart" format="dimension" />
2178        <!-- Sets the padding, in pixels, of the end edge; see {@link android.R.attr#padding}. -->
2179        <attr name="paddingEnd" format="dimension" />
2180
2181        <!-- Boolean that controls whether a view can take focus.  By default the user can not
2182             move focus to a view; by setting this attribute to true the view is
2183             allowed to take focus.  This value does not impact the behavior of
2184             directly calling {@link android.view.View#requestFocus}, which will
2185             always request focus regardless of this view.  It only impacts where
2186             focus navigation will try to move focus. -->
2187        <attr name="focusable" format="boolean" />
2188
2189        <!-- Boolean that controls whether a view can take focus while in touch mode.
2190             If this is true for a view, that view can gain focus when clicked on, and can keep
2191             focus if another view is clicked on that doesn't have this attribute set to true. -->
2192        <attr name="focusableInTouchMode" format="boolean" />
2193
2194        <!-- Controls the initial visibility of the view.  -->
2195        <attr name="visibility">
2196            <!-- Visible on screen; the default value. -->
2197            <enum name="visible" value="0" />
2198            <!-- Not displayed, but taken into account during layout (space is left for it). -->
2199            <enum name="invisible" value="1" />
2200            <!-- Completely hidden, as if the view had not been added. -->
2201            <enum name="gone" value="2" />
2202        </attr>
2203
2204        <!-- Boolean internal attribute to adjust view layout based on
2205             system windows such as the status bar.
2206             If true, adjusts the padding of this view to leave space for the system windows.
2207             Will only take effect if this view is in a non-embedded activity. -->
2208        <attr name="fitsSystemWindows" format="boolean" />
2209
2210        <!-- Defines which scrollbars should be displayed on scrolling or not. -->
2211        <attr name="scrollbars">
2212            <!-- No scrollbar is displayed. -->
2213            <flag name="none" value="0x00000000" />
2214            <!-- Displays horizontal scrollbar only. -->
2215            <flag name="horizontal" value="0x00000100" />
2216            <!-- Displays vertical scrollbar only. -->
2217            <flag name="vertical" value="0x00000200" />
2218        </attr>
2219
2220        <!-- Controls the scrollbar style and position. The scrollbars can be overlaid or
2221             inset. When inset, they add to the padding of the view. And the
2222             scrollbars can be drawn inside the padding area or on the edge of
2223             the view. For example, if a view has a background drawable and you
2224             want to draw the scrollbars inside the padding specified by the
2225             drawable, you can use insideOverlay or insideInset. If you want them
2226             to appear at the edge of the view, ignoring the padding, then you can
2227             use outsideOverlay or outsideInset.-->
2228        <attr name="scrollbarStyle">
2229            <!-- Inside the padding and overlaid -->
2230            <enum name="insideOverlay" value="0x0" />
2231            <!-- Inside the padding and inset -->
2232            <enum name="insideInset" value="0x01000000" />
2233            <!-- Edge of the view and overlaid -->
2234            <enum name="outsideOverlay" value="0x02000000" />
2235            <!-- Edge of the view and inset -->
2236            <enum name="outsideInset" value="0x03000000" />
2237        </attr>
2238
2239        <!-- Set this if the view will serve as a scrolling container, meaning
2240             that it can be resized to shrink its overall window so that there
2241             will be space for an input method.  If not set, the default
2242             value will be true if "scrollbars" has the vertical scrollbar
2243             set, else it will be false. -->
2244        <attr name="isScrollContainer" format="boolean" />
2245
2246          <!-- Defines whether to fade out scrollbars when they are not in use. -->
2247         <attr name="fadeScrollbars" format="boolean" />
2248         <!-- Defines the delay in milliseconds that a scrollbar takes to fade out. -->
2249         <attr name="scrollbarFadeDuration" format="integer" />
2250         <!-- Defines the delay in milliseconds that a scrollbar waits before fade out. -->
2251        <attr name="scrollbarDefaultDelayBeforeFade" format="integer" />
2252        <!-- Sets the width of vertical scrollbars and height of horizontal scrollbars. -->
2253        <attr name="scrollbarSize" format="dimension" />
2254        <!-- Defines the horizontal scrollbar thumb drawable. -->
2255        <attr name="scrollbarThumbHorizontal" format="reference" />
2256        <!-- Defines the vertical scrollbar thumb drawable. -->
2257        <attr name="scrollbarThumbVertical" format="reference" />
2258        <!-- Defines the horizontal scrollbar track drawable. -->
2259        <attr name="scrollbarTrackHorizontal" format="reference" />
2260        <!-- Defines the vertical scrollbar track drawable. -->
2261        <attr name="scrollbarTrackVertical" format="reference" />
2262        <!-- Defines whether the horizontal scrollbar track should always be drawn. -->
2263        <attr name="scrollbarAlwaysDrawHorizontalTrack" format="boolean" />
2264        <!-- Defines whether the vertical scrollbar track should always be drawn. -->
2265        <attr name="scrollbarAlwaysDrawVerticalTrack" format="boolean" />
2266
2267        <!-- This attribute is deprecated and will be ignored as of
2268             API level 14 ({@link android.os.Build.VERSION_CODES#ICE_CREAM_SANDWICH}).
2269             Using fading edges may introduce noticeable performance
2270             degradations and should be used only when required by the application's
2271             visual design. To request fading edges with API level 14 and above,
2272             use the <code>android:requiresFadingEdge</code> attribute instead. -->
2273        <attr name="fadingEdge">
2274            <!-- No edge is faded. -->
2275            <flag name="none" value="0x00000000" />
2276            <!-- Fades horizontal edges only. -->
2277            <flag name="horizontal" value="0x00001000" />
2278            <!-- Fades vertical edges only. -->
2279            <flag name="vertical" value="0x00002000" />
2280        </attr>
2281        <!-- Defines which edges should be faded on scrolling. -->
2282        <attr name="requiresFadingEdge">
2283            <!-- No edge is faded. -->
2284            <flag name="none" value="0x00000000" />
2285            <!-- Fades horizontal edges only. -->
2286            <flag name="horizontal" value="0x00001000" />
2287            <!-- Fades vertical edges only. -->
2288            <flag name="vertical" value="0x00002000" />
2289        </attr>
2290        <!-- Defines the length of the fading edges. -->
2291        <attr name="fadingEdgeLength" format="dimension" />
2292
2293        <!-- Defines the next view to give focus to when the next focus is
2294             {@link android.view.View#FOCUS_LEFT}.
2295
2296             If the reference refers to a view that does not exist or is part
2297             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2298             will result when the reference is accessed.-->
2299        <attr name="nextFocusLeft" format="reference"/>
2300
2301        <!-- Defines the next view to give focus to when the next focus is
2302             {@link android.view.View#FOCUS_RIGHT}
2303
2304             If the reference refers to a view that does not exist or is part
2305             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2306             will result when the reference is accessed.-->
2307        <attr name="nextFocusRight" format="reference"/>
2308
2309        <!-- Defines the next view to give focus to when the next focus is
2310             {@link android.view.View#FOCUS_UP}
2311
2312             If the reference refers to a view that does not exist or is part
2313             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2314             will result when the reference is accessed.-->
2315        <attr name="nextFocusUp" format="reference"/>
2316
2317        <!-- Defines the next view to give focus to when the next focus is
2318             {@link android.view.View#FOCUS_DOWN}
2319
2320             If the reference refers to a view that does not exist or is part
2321             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2322             will result when the reference is accessed.-->
2323        <attr name="nextFocusDown" format="reference"/>
2324
2325        <!-- Defines the next view to give focus to when the next focus is
2326             {@link android.view.View#FOCUS_FORWARD}
2327
2328             If the reference refers to a view that does not exist or is part
2329             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2330             will result when the reference is accessed.-->
2331        <attr name="nextFocusForward" format="reference"/>
2332
2333        <!-- Defines whether this view reacts to click events. -->
2334        <attr name="clickable" format="boolean" />
2335
2336        <!-- Defines whether this view reacts to long click events. -->
2337        <attr name="longClickable" format="boolean" />
2338
2339        <!--  Defines whether this view reacts to context click events. -->
2340        <attr name="contextClickable" format="boolean" />
2341
2342        <!-- If false, no state will be saved for this view when it is being
2343             frozen. The default is true, allowing the view to be saved
2344             (however it also must have an ID assigned to it for its
2345             state to be saved).  Setting this to false only disables the
2346             state for this view, not for its children which may still
2347             be saved. -->
2348        <attr name="saveEnabled" format="boolean" />
2349
2350        <!-- Specifies whether to filter touches when the view's window is obscured by
2351             another visible window.  When set to true, the view will not receive touches
2352             whenever a toast, dialog or other window appears above the view's window.
2353             Refer to the {@link android.view.View} security documentation for more details. -->
2354        <attr name="filterTouchesWhenObscured" format="boolean" />
2355
2356        <!-- Defines the quality of translucent drawing caches. This property is used
2357             only when the drawing cache is enabled and translucent. The default value is auto. -->
2358        <attr name="drawingCacheQuality">
2359            <!-- Lets the framework decide what quality level should be used
2360                 for the drawing cache. -->
2361            <enum name="auto" value="0" />
2362            <!-- Low quality. When set to low quality, the drawing cache uses a lower color
2363                 depth, thus losing precision in rendering gradients, but uses less memory. -->
2364            <enum name="low" value="1" />
2365            <!-- High quality. When set to high quality, the drawing cache uses a higher
2366                 color depth but uses more memory. -->
2367            <enum name="high" value="2" />
2368        </attr>
2369
2370        <!-- Controls whether the view's window should keep the screen on
2371             while visible. -->
2372        <attr name="keepScreenOn" format="boolean" />
2373
2374        <!-- When this attribute is set to true, the view gets its drawable state
2375             (focused, pressed, etc.) from its direct parent rather than from itself. -->
2376        <attr name="duplicateParentState" format="boolean" />
2377
2378        <!-- Defines the minimum height of the view. It is not guaranteed
2379             the view will be able to achieve this minimum height (for example,
2380             if its parent layout constrains it with less available height). -->
2381        <attr name="minHeight" />
2382
2383        <!-- Defines the minimum width of the view. It is not guaranteed
2384             the view will be able to achieve this minimum width (for example,
2385             if its parent layout constrains it with less available width). -->
2386        <attr name="minWidth" />
2387
2388        <!-- Boolean that controls whether a view should have sound effects
2389             enabled for events such as clicking and touching. -->
2390        <attr name="soundEffectsEnabled" format="boolean" />
2391
2392        <!-- Boolean that controls whether a view should have haptic feedback
2393             enabled for events such as long presses. -->
2394        <attr name="hapticFeedbackEnabled" format="boolean" />
2395
2396        <!-- Defines text that briefly describes content of the view. This property is used
2397             primarily for accessibility. Since some views do not have textual
2398             representation this attribute can be used for providing such. -->
2399        <attr name="contentDescription" format="string" localization="suggested" />
2400
2401        <!-- Sets the id of a view before which this one is visited in accessibility traversal.
2402             A screen-reader must visit the content of this view before the content of the one
2403             it precedes.
2404             @see android.view.View#setAccessibilityTraversalBefore(int)} -->
2405        <attr name="accessibilityTraversalBefore" format="integer" />
2406
2407        <!-- Sets the id of a view after which this one is visited in accessibility traversal.
2408             A screen-reader must visit the content of the other view before the content of
2409             this one.
2410             @see android.view.View#setAccessibilityTraversalAfter(int)} -->
2411        <attr name="accessibilityTraversalAfter" format="integer" />
2412
2413        <!-- Name of the method in this View's context to invoke when the view is
2414             clicked. This name must correspond to a public method that takes
2415             exactly one parameter of type View. For instance, if you specify
2416             <code>android:onClick="sayHello"</code>, you must declare a
2417             <code>public void sayHello(View v)</code> method of your context
2418             (typically, your Activity). -->
2419        <attr name="onClick" format="string" />
2420
2421        <!-- Defines over-scrolling behavior. This property is used only if the
2422             View is scrollable. Over-scrolling is the ability for the user to
2423             receive feedback when attempting to scroll beyond meaningful content. -->
2424        <attr name="overScrollMode">
2425            <!-- Always show over-scroll effects, even if the content fits entirely
2426                 within the available space. -->
2427            <enum name="always" value="0" />
2428            <!-- Only show over-scroll effects if the content is large
2429                 enough to meaningfully scroll. -->
2430            <enum name="ifContentScrolls" value="1" />
2431            <!-- Never show over-scroll effects. -->
2432            <enum name="never" value="2" />
2433        </attr>
2434
2435        <!-- alpha property of the view, as a value between 0 (completely transparent) and 1
2436             (completely opaque). -->
2437        <attr name="alpha" format="float" />
2438
2439        <!-- base z depth of the view -->
2440        <attr name="elevation" format="dimension" />
2441
2442        <!-- translation in x of the view. This value is added post-layout to the left
2443             property of the view, which is set by its layout. -->
2444        <attr name="translationX" format="dimension" />
2445
2446        <!-- translation in y of the view. This value is added post-layout to the top
2447             property of the view, which is set by its layout. -->
2448        <attr name="translationY" format="dimension" />
2449
2450        <!-- translation in z of the view. This value is added to its elevation. -->
2451        <attr name="translationZ" format="dimension" />
2452
2453        <!-- x location of the pivot point around which the view will rotate and scale.
2454             This xml attribute sets the pivotX property of the View. -->
2455        <attr name="transformPivotX" format="dimension" />
2456
2457        <!-- y location of the pivot point around which the view will rotate and scale.
2458             This xml attribute sets the pivotY property of the View. -->
2459        <attr name="transformPivotY" format="dimension" />
2460
2461        <!-- rotation of the view, in degrees. -->
2462        <attr name="rotation" format="float" />
2463
2464        <!-- rotation of the view around the x axis, in degrees. -->
2465        <attr name="rotationX" format="float" />
2466
2467        <!-- rotation of the view around the y axis, in degrees. -->
2468        <attr name="rotationY" format="float" />
2469
2470        <!-- scale of the view in the x direction. -->
2471        <attr name="scaleX" format="float" />
2472
2473        <!-- scale of the view in the y direction. -->
2474        <attr name="scaleY" format="float" />
2475
2476        <!-- Determines which side the vertical scroll bar should be placed on. -->
2477        <attr name="verticalScrollbarPosition">
2478            <!-- Place the scroll bar wherever the system default determines. -->
2479            <enum name="defaultPosition" value="0" />
2480            <!-- Place the scroll bar on the left. -->
2481            <enum name="left" value="1" />
2482            <!-- Place the scroll bar on the right. -->
2483            <enum name="right" value="2" />
2484        </attr>
2485
2486        <!-- Specifies the type of layer backing this view. The default value is none.
2487             Refer to {@link android.view.View#setLayerType(int, android.graphics.Paint)}
2488             for more information.-->
2489        <attr name="layerType">
2490            <!-- Don't use a layer. -->
2491            <enum name="none" value="0" />
2492            <!-- Use a software layer. Refer to
2493                 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for
2494                 more information. -->
2495            <enum name="software" value="1" />
2496            <!-- Use a hardware layer. Refer to
2497                 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for
2498                 more information. -->
2499            <enum name="hardware" value="2" />
2500        </attr>
2501
2502        <!-- Defines the direction of layout drawing. This typically is associated with writing
2503             direction of the language script used. The possible values are "ltr" for Left-to-Right,
2504             "rtl" for Right-to-Left, "locale" and "inherit" from parent view. If there is nothing
2505             to inherit, "locale" is used. "locale" falls back to "en-US". "ltr" is the direction
2506             used in "en-US". The default for this attribute is "inherit". -->
2507        <attr name="layoutDirection">
2508            <!-- Left-to-Right -->
2509            <enum name="ltr" value="0" />
2510            <!-- Right-to-Left -->
2511            <enum name="rtl" value="1" />
2512            <!-- Inherit from parent -->
2513            <enum name="inherit" value="2" />
2514            <!-- Locale -->
2515            <enum name="locale" value="3" />
2516        </attr>
2517
2518        <!-- Defines the direction of the text. A heuristic is used to determine the resolved text
2519              direction of paragraphs. -->
2520         <attr name="textDirection" format="integer">
2521            <!-- Default -->
2522            <enum name="inherit" value="0" />
2523            <!-- Default for the root view. The first strong directional character determines the
2524                 paragraph direction.  If there is no strong directional character, the paragraph
2525                 direction is the view’s resolved layout direction. -->
2526            <enum name="firstStrong" value="1" />
2527            <!-- The paragraph direction is RTL if it contains any strong RTL character, otherwise
2528                 it is LTR if it contains any strong LTR characters.  If there are neither, the
2529                 paragraph direction is the view’s resolved layout direction. -->
2530            <enum name="anyRtl" value="2" />
2531            <!-- The paragraph direction is left to right. -->
2532            <enum name="ltr" value="3" />
2533            <!-- The paragraph direction is right to left. -->
2534            <enum name="rtl" value="4" />
2535            <!-- The paragraph direction is coming from the system Locale. -->
2536            <enum name="locale" value="5" />
2537            <!-- The first strong directional character determines the paragraph direction. If
2538                 there is no strong directional character, the paragraph direction is LTR. -->
2539            <enum name="firstStrongLtr" value="6" />
2540            <!-- The first strong directional character determines the paragraph direction. If
2541                 there is no strong directional character, the paragraph direction is RTL. -->
2542            <enum name="firstStrongRtl" value="7" />
2543        </attr>
2544
2545        <!-- Defines the alignment of the text. A heuristic is used to determine the resolved
2546            text alignment. -->
2547        <attr name="textAlignment" format="integer">
2548            <!-- Default -->
2549            <enum name="inherit" value="0" />
2550            <!-- Default for the root view. The gravity determines the alignment, ALIGN_NORMAL,
2551                ALIGN_CENTER, or ALIGN_OPPOSITE, which are relative to each paragraph’s
2552                text direction -->
2553            <enum name="gravity" value="1" />
2554            <!-- Align to the start of the paragraph, e.g. ALIGN_NORMAL. -->
2555            <enum name="textStart" value="2" />
2556            <!-- Align to the end of the paragraph, e.g. ALIGN_OPPOSITE. -->
2557            <enum name="textEnd" value="3" />
2558            <!-- Center the paragraph, e.g. ALIGN_CENTER. -->
2559            <enum name="center" value="4" />
2560            <!-- Align to the start of the view, which is ALIGN_LEFT if the view’s resolved
2561                layoutDirection is LTR, and ALIGN_RIGHT otherwise. -->
2562            <enum name="viewStart" value="5" />
2563            <!-- Align to the end of the view, which is ALIGN_RIGHT if the view’s resolved
2564                layoutDirection is LTR, and ALIGN_LEFT otherwise -->
2565            <enum name="viewEnd" value="6" />
2566        </attr>
2567
2568        <!-- Controls how this View is important for accessibility which is if it fires
2569             accessibility events and if it is reported to accessibility services that
2570             query the screen. Note: While not recommended, an accessibility service may
2571             decide to ignore this attribute and operate on all views in the view tree. -->
2572        <attr name="importantForAccessibility" format="integer">
2573            <!-- The system determines whether the view is important for accessibility - default
2574                 (recommended). -->
2575            <enum name="auto" value="0" />
2576            <!-- The view is important for accessibility. -->
2577            <enum name="yes" value="1" />
2578            <!-- The view is not important for accessibility. -->
2579            <enum name="no" value="2" />
2580            <!-- The view is not important for accessibility, nor are any of its descendant
2581                 views. -->
2582            <enum name="noHideDescendants" value="4" />
2583        </attr>
2584
2585        <!-- Indicates to accessibility services whether the user should be notified when
2586             this view changes. -->
2587        <attr name="accessibilityLiveRegion" format="integer">
2588            <!-- Accessibility services should not announce changes to this view. -->
2589            <enum name="none" value="0" />
2590            <!-- Accessibility services should announce changes to this view. -->
2591            <enum name="polite" value="1" />
2592            <!-- Accessibility services should interrupt ongoing speech to immediately
2593                 announce changes to this view. -->
2594            <enum name="assertive" value="2" />
2595        </attr>
2596
2597        <!-- Specifies the id of a view for which this view serves as a label for
2598             accessibility purposes. For example, a TextView before an EditText in
2599             the UI usually specifies what infomation is contained in the EditText.
2600             Hence, the TextView is a label for the EditText. -->
2601        <attr name="labelFor" format="reference" />
2602
2603        <!-- Specifies a theme override for a view. When a theme override is set, the
2604             view will be inflated using a {@link android.content.Context} themed with
2605             the specified resource. During XML inflation, any child views under the
2606             view with a theme override will inherit the themed context. -->
2607        <attr name="theme" />
2608
2609        <!-- Names a View such that it can be identified for Transitions. Names should be
2610             unique in the View hierarchy. -->
2611        <attr name="transitionName" format="string" />
2612
2613        <!-- Specifies that this view should permit nested scrolling within a compatible
2614             ancestor view. -->
2615        <attr name="nestedScrollingEnabled" format="boolean" />
2616
2617        <!-- Sets the state-based animator for the View. -->
2618        <attr name="stateListAnimator" format="reference"/>
2619
2620        <!-- Tint to apply to the background. -->
2621        <attr name="backgroundTint" format="color" />
2622
2623        <!-- Blending mode used to apply the background tint. -->
2624        <attr name="backgroundTintMode">
2625            <!-- The tint is drawn on top of the drawable.
2626                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
2627            <enum name="src_over" value="3" />
2628            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
2629                 color channels are thrown out. [Sa * Da, Sc * Da] -->
2630            <enum name="src_in" value="5" />
2631            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
2632                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
2633            <enum name="src_atop" value="9" />
2634            <!-- Multiplies the color and alpha channels of the drawable with those of
2635                 the tint. [Sa * Da, Sc * Dc] -->
2636            <enum name="multiply" value="14" />
2637            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
2638            <enum name="screen" value="15" />
2639            <!-- Combines the tint and drawable color and alpha channels, clamping the
2640                 result to valid color values. Saturate(S + D) -->
2641            <enum name="add" value="16" />
2642        </attr>
2643
2644        <!-- ViewOutlineProvider used to determine the View's Outline. -->
2645        <attr name="outlineProvider">
2646            <!-- Default, background drawable-driven outline. -->
2647            <enum name="background" value="0" />
2648            <!-- No outline provider. -->
2649            <enum name="none" value="1" />
2650            <!-- Generates an opaque outline for the bounds of the view. -->
2651            <enum name="bounds" value="2" />
2652            <!-- Generates an opaque outline for the padded bounds of the view. -->
2653            <enum name="paddedBounds" value="3" />
2654        </attr>
2655
2656        <!-- Defines the drawable to draw over the content. This can be used as an overlay.
2657             The foreground drawable participates in the padding of the content if the gravity
2658             is set to fill. -->
2659        <attr name="foreground" format="reference|color" />
2660        <!-- Defines the gravity to apply to the foreground drawable. The gravity defaults
2661             to fill. -->
2662        <attr name="foregroundGravity">
2663            <!-- Push object to the top of its container, not changing its size. -->
2664            <flag name="top" value="0x30" />
2665            <!-- Push object to the bottom of its container, not changing its size. -->
2666            <flag name="bottom" value="0x50" />
2667            <!-- Push object to the left of its container, not changing its size. -->
2668            <flag name="left" value="0x03" />
2669            <!-- Push object to the right of its container, not changing its size. -->
2670            <flag name="right" value="0x05" />
2671            <!-- Place object in the vertical center of its container, not changing its size. -->
2672            <flag name="center_vertical" value="0x10" />
2673            <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
2674            <flag name="fill_vertical" value="0x70" />
2675            <!-- Place object in the horizontal center of its container, not changing its size. -->
2676            <flag name="center_horizontal" value="0x01" />
2677            <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
2678            <flag name="fill_horizontal" value="0x07" />
2679            <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
2680            <flag name="center" value="0x11" />
2681            <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
2682            <flag name="fill" value="0x77" />
2683            <!-- Additional option that can be set to have the top and/or bottom edges of
2684                 the child clipped to its container's bounds.
2685                 The clip will be based on the vertical gravity: a top gravity will clip the bottom
2686                 edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
2687            <flag name="clip_vertical" value="0x80" />
2688            <!-- Additional option that can be set to have the left and/or right edges of
2689                 the child clipped to its container's bounds.
2690                 The clip will be based on the horizontal gravity: a left gravity will clip the right
2691                 edge, a right gravity will clip the left edge, and neither will clip both edges. -->
2692            <flag name="clip_horizontal" value="0x08" />
2693        </attr>
2694        <!-- Defines whether the foreground drawable should be drawn inside the padding.
2695             This property is turned on by default. -->
2696        <attr name="foregroundInsidePadding" format="boolean" />
2697        <!-- Tint to apply to the foreground. -->
2698        <attr name="foregroundTint" format="color" />
2699        <!-- Blending mode used to apply the foreground tint. -->
2700        <attr name="foregroundTintMode">
2701            <!-- The tint is drawn on top of the drawable.
2702                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
2703            <enum name="src_over" value="3" />
2704            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
2705                 color channels are thrown out. [Sa * Da, Sc * Da] -->
2706            <enum name="src_in" value="5" />
2707            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
2708                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
2709            <enum name="src_atop" value="9" />
2710            <!-- Multiplies the color and alpha channels of the drawable with those of
2711                 the tint. [Sa * Da, Sc * Dc] -->
2712            <enum name="multiply" value="14" />
2713            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
2714            <enum name="screen" value="15" />
2715            <!-- Combines the tint and drawable color and alpha channels, clamping the
2716                 result to valid color values. Saturate(S + D) -->
2717            <enum name="add" value="16" />
2718        </attr>
2719
2720        <!-- Defines which scroll indicators should be displayed when the view
2721             can be scrolled. Multiple values may be combined using logical OR,
2722             for example "top|bottom". -->
2723        <attr name="scrollIndicators">
2724            <!-- No scroll indicators are displayed. -->
2725            <flag name="none" value="0x00" />
2726            <!-- Displays top scroll indicator when view can be scrolled up. -->
2727            <flag name="top" value="0x01" />
2728            <!-- Displays bottom scroll indicator when vew can be scrolled down. -->
2729            <flag name="bottom" value="0x02" />
2730            <!-- Displays left scroll indicator when vew can be scrolled left. -->
2731            <flag name="left" value="0x04" />
2732            <!-- Displays right scroll indicator when vew can be scrolled right. -->
2733            <flag name="right" value="0x08" />
2734            <!-- Displays right scroll indicator when vew can be scrolled in the
2735                 start direction. -->
2736            <flag name="start" value="0x10" />
2737            <!-- Displays right scroll indicator when vew can be scrolled in the
2738                 end direction. -->
2739            <flag name="end" value="0x20" />
2740        </attr>
2741
2742    </declare-styleable>
2743
2744    <!-- Attributes that can be assigned to a tag for a particular View. -->
2745    <declare-styleable name="ViewTag">
2746        <!-- Specifies the key identifying a tag. This must be a resource reference. -->
2747        <attr name="id" />
2748        <!-- Specifies the value with which to tag the view. -->
2749        <attr name="value" />
2750    </declare-styleable>
2751
2752    <!-- Attributes that can be assigned to an &lt;include&gt; tag.
2753         @hide -->
2754    <declare-styleable name="Include">
2755        <attr name="id" />
2756        <attr name="visibility" />
2757    </declare-styleable>
2758
2759    <!-- Attributes that can be used with a {@link android.view.ViewGroup} or any
2760         of its subclasses.  Also see {@link #ViewGroup_Layout} for
2761         attributes that this class processes in its children. -->
2762    <declare-styleable name="ViewGroup">
2763        <!-- Defines whether changes in layout (caused by adding and removing items) should
2764             cause a LayoutTransition to run. When this flag is set to true, a default
2765             LayoutTransition object will be set on the ViewGroup container and default
2766             animations will run when these layout changes occur.-->
2767        <attr name="animateLayoutChanges" format="boolean" />
2768        <!-- Defines whether a child is limited to draw inside of its bounds or not.
2769             This is useful with animations that scale the size of the children to more
2770             than 100% for instance. In such a case, this property should be set to false
2771             to allow the children to draw outside of their bounds. The default value of
2772             this property is true. -->
2773        <attr name="clipChildren" format="boolean" />
2774        <!-- Defines whether the ViewGroup will clip its children and resize (but not clip) any
2775             EdgeEffect to its padding, if padding is not zero. This property is set to true by
2776             default. -->
2777        <attr name="clipToPadding" format="boolean" />
2778        <!-- Defines the layout animation to use the first time the ViewGroup is laid out.
2779             Layout animations can also be started manually after the first layout. -->
2780        <attr name="layoutAnimation" format="reference" />
2781        <!-- Defines whether layout animations should create a drawing cache for their
2782             children. Enabling the animation cache consumes more memory and requires
2783             a longer initialization but provides better performance. The animation
2784             cache is enabled by default. -->
2785        <attr name="animationCache" format="boolean" />
2786        <!-- Defines the persistence of the drawing cache. The drawing cache might be
2787             enabled by a ViewGroup for all its children in specific situations (for
2788             instance during a scrolling.) This property lets you persist the cache
2789             in memory after its initial usage. Persisting the cache consumes more
2790             memory but may prevent frequent garbage collection is the cache is created
2791             over and over again. By default the persistence is set to scrolling. -->
2792        <attr name="persistentDrawingCache">
2793            <!-- The drawing cache is not persisted after use. -->
2794            <flag name="none" value="0x0" />
2795            <!-- The drawing cache is persisted after a layout animation. -->
2796            <flag name="animation" value="0x1" />
2797            <!-- The drawing cache is persisted after a scroll. -->
2798            <flag name="scrolling" value="0x2" />
2799            <!-- The drawing cache is always persisted. -->
2800            <flag name="all" value="0x3" />
2801        </attr>
2802        <!-- Defines whether the ViewGroup should always draw its children using their
2803             drawing cache or not. The default value is true. -->
2804        <attr name="alwaysDrawnWithCache" format="boolean" />
2805        <!-- Sets whether this ViewGroup's drawable states also include
2806             its children's drawable states.  This is used, for example, to
2807             make a group appear to be focused when its child EditText or button
2808             is focused. -->
2809        <attr name="addStatesFromChildren" format="boolean" />
2810
2811        <!-- Defines the relationship between the ViewGroup and its descendants
2812             when looking for a View to take focus. -->
2813        <attr name="descendantFocusability">
2814            <!-- The ViewGroup will get focus before any of its descendants. -->
2815            <enum name="beforeDescendants" value="0" />
2816            <!-- The ViewGroup will get focus only if none of its descendants want it. -->
2817            <enum name="afterDescendants" value="1" />
2818            <!-- The ViewGroup will block its descendants from receiving focus. -->
2819            <enum name="blocksDescendants" value="2" />
2820        </attr>
2821
2822        <!-- Set to true if this ViewGroup blocks focus in the presence of a touchscreen. -->
2823        <attr name="touchscreenBlocksFocus" format="boolean" />
2824
2825        <!-- Sets whether this ViewGroup should split MotionEvents
2826             to separate child views during touch event dispatch.
2827             If false (default), touch events will be dispatched to
2828             the child view where the first pointer went down until
2829             the last pointer goes up.
2830             If true, touch events may be dispatched to multiple children.
2831             MotionEvents for each pointer will be dispatched to the child
2832             view where the initial ACTION_DOWN event happened.
2833             See {@link android.view.ViewGroup#setMotionEventSplittingEnabled(boolean)}
2834             for more information. -->
2835        <attr name="splitMotionEvents" format="boolean" />
2836
2837        <!-- Defines the layout mode of this ViewGroup. -->
2838        <attr name="layoutMode">
2839            <!-- Use the children's clip bounds when laying out this container. -->
2840            <enum name="clipBounds" value="0" />
2841            <!-- Use the children's optical bounds when laying out this container. -->
2842            <enum name="opticalBounds" value="1" />
2843        </attr>
2844
2845        <!-- Sets whether or not this ViewGroup should be treated as a single entity
2846             when doing an Activity transition. Typically, the elements inside a
2847             ViewGroup are each transitioned from the scene individually. The default
2848             for a ViewGroup is false unless it has a background. See
2849             {@link android.app.ActivityOptions#makeSceneTransitionAnimation(android.app.Activity,
2850             android.view.View, String)} for more information. Corresponds to
2851             {@link android.view.ViewGroup#setTransitionGroup(boolean)}.-->
2852        <attr name="transitionGroup" format="boolean" />
2853    </declare-styleable>
2854
2855    <!-- A {@link android.view.ViewStub} lets you lazily include other XML layouts
2856         inside your application at runtime. -->
2857    <declare-styleable name="ViewStub">
2858        <!-- Supply an identifier name for this view. -->
2859        <attr name="id" />
2860        <!-- Supply an identifier for the layout resource to inflate when the ViewStub
2861             becomes visible or when forced to do so. The layout resource must be a
2862             valid reference to a layout. -->
2863        <attr name="layout" format="reference" />
2864        <!-- Overrides the id of the inflated View with this value. -->
2865        <attr name="inflatedId" format="reference" />
2866    </declare-styleable>
2867
2868    <!-- ===================================== -->
2869    <!-- View package parent layout attributes -->
2870    <!-- ===================================== -->
2871    <eat-comment />
2872
2873    <!-- This is the basic set of layout attributes that are common to all
2874         layout managers.  These attributes are specified with the rest of
2875         a view's normal attributes (such as {@link android.R.attr#background},
2876         but will be parsed by the view's parent and ignored by the child.
2877        <p>The values defined here correspond to the base layout attribute
2878        class {@link android.view.ViewGroup.LayoutParams}. -->
2879    <declare-styleable name="ViewGroup_Layout">
2880        <!-- Specifies the basic width of the view.  This is a required attribute
2881             for any view inside of a containing layout manager.  Its value may
2882             be a dimension (such as "12dip") for a constant width or one of
2883             the special constants. -->
2884        <attr name="layout_width" format="dimension">
2885            <!-- The view should be as big as its parent (minus padding).
2886                 This constant is deprecated starting from API Level 8 and
2887                 is replaced by {@code match_parent}. -->
2888            <enum name="fill_parent" value="-1" />
2889            <!-- The view should be as big as its parent (minus padding).
2890                 Introduced in API Level 8. -->
2891            <enum name="match_parent" value="-1" />
2892            <!-- The view should be only big enough to enclose its content (plus padding). -->
2893            <enum name="wrap_content" value="-2" />
2894        </attr>
2895
2896        <!-- Specifies the basic height of the view.  This is a required attribute
2897             for any view inside of a containing layout manager.  Its value may
2898             be a dimension (such as "12dip") for a constant height or one of
2899             the special constants. -->
2900        <attr name="layout_height" format="dimension">
2901            <!-- The view should be as big as its parent (minus padding).
2902                 This constant is deprecated starting from API Level 8 and
2903                 is replaced by {@code match_parent}. -->
2904            <enum name="fill_parent" value="-1" />
2905            <!-- The view should be as big as its parent (minus padding).
2906                 Introduced in API Level 8. -->
2907            <enum name="match_parent" value="-1" />
2908            <!-- The view should be only big enough to enclose its content (plus padding). -->
2909            <enum name="wrap_content" value="-2" />
2910        </attr>
2911    </declare-styleable>
2912
2913    <!-- This is the basic set of layout attributes for layout managers that
2914         wish to place margins around their child views.
2915         These attributes are specified with the rest of
2916         a view's normal attributes (such as {@link android.R.attr#background},
2917         but will be parsed by the view's parent and ignored by the child.
2918        <p>The values defined here correspond to the base layout attribute
2919        class {@link android.view.ViewGroup.MarginLayoutParams}. -->
2920    <declare-styleable name="ViewGroup_MarginLayout">
2921        <attr name="layout_width" />
2922        <attr name="layout_height" />
2923        <!--  Specifies extra space on the left, top, right and bottom
2924              sides of this view. This space is outside this view's bounds.
2925              Margin values should be positive. -->
2926        <attr name="layout_margin" format="dimension"  />
2927        <!--  Specifies extra space on the left side of this view.
2928              This space is outside this view's bounds.
2929              Margin values should be positive. -->
2930        <attr name="layout_marginLeft" format="dimension"  />
2931        <!--  Specifies extra space on the top side of this view.
2932              This space is outside this view's bounds.
2933              Margin values should be positive.-->
2934        <attr name="layout_marginTop" format="dimension" />
2935        <!--  Specifies extra space on the right side of this view.
2936              This space is outside this view's bounds.
2937              Margin values should be positive.-->
2938        <attr name="layout_marginRight" format="dimension"  />
2939        <!--  Specifies extra space on the bottom side of this view.
2940              This space is outside this view's bounds.
2941              Margin values should be positive.-->
2942        <attr name="layout_marginBottom" format="dimension"  />
2943        <!--  Specifies extra space on the start side of this view.
2944              This space is outside this view's bounds.
2945              Margin values should be positive.-->
2946        <attr name="layout_marginStart" format="dimension"  />
2947        <!--  Specifies extra space on the end side of this view.
2948              This space is outside this view's bounds.
2949              Margin values should be positive.-->
2950        <attr name="layout_marginEnd" format="dimension"  />
2951    </declare-styleable>
2952
2953    <!-- Use <code>input-method</code> as the root tag of the XML resource that
2954         describes an
2955         {@link android.view.inputmethod.InputMethod} service, which is
2956         referenced from its
2957         {@link android.view.inputmethod.InputMethod#SERVICE_META_DATA}
2958         meta-data entry.  Described here are the attributes that can be
2959         included in that tag. -->
2960    <declare-styleable name="InputMethod">
2961        <!-- Component name of an activity that allows the user to modify
2962             the settings for this service. -->
2963        <attr name="settingsActivity" format="string" />
2964        <!-- Set to true in all of the configurations for which this input
2965             method should be considered an option as the default. -->
2966        <attr name="isDefault" format="boolean" />
2967        <!-- Set to true if this input method supports ways to switch to
2968             a next input method (e.g. a globe key.). When this is true and
2969             InputMethodManager#shouldOfferSwitchingToNextInputMethod() returns true,
2970             the IME has to offer ways to invoke InputMethodManager#switchToNextInputMethod()
2971             accordingly.
2972             <p> Note that the system determines the most appropriate next input method
2973             and subtype in order to provide the consistent user experience in switching
2974             between IMEs and subtypes. -->
2975        <attr name="supportsSwitchingToNextInputMethod" format="boolean" />
2976    </declare-styleable>
2977
2978    <!-- This is the subtype of InputMethod. Subtype can describe locales (e.g. en_US, fr_FR...)
2979         and modes (e.g. voice, keyboard...), and is used for IME switch. This subtype allows
2980         the system to call the specified subtype of the IME directly. -->
2981    <declare-styleable name="InputMethod_Subtype">
2982        <!-- The name of the subtype. -->
2983        <attr name="label" />
2984        <!-- The icon of the subtype. -->
2985        <attr name="icon" />
2986        <!-- The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...)
2987             and will be passed to the IME when the framework calls the IME
2988             with the subtype. This is also used by the framework to know the supported locales
2989             of the IME.  -->
2990        <attr name="imeSubtypeLocale" format="string" />
2991        <!-- The mode of the subtype. This string can be a mode (e.g. voice, keyboard...) and this
2992             string will be passed to the IME when the framework calls the IME with the
2993             subtype.  -->
2994        <attr name="imeSubtypeMode" format="string" />
2995        <!-- Set true if the subtype is auxiliary.  An auxiliary subtype won't be shown in the
2996             input method selection list in the settings app.
2997             InputMethodManager#switchToLastInputMethod will ignore auxiliary subtypes when it
2998             chooses a target subtype. -->
2999        <attr name="isAuxiliary" format="boolean" />
3000        <!-- Set true when this subtype should be selected by default if no other subtypes are
3001             selected explicitly. Note that a subtype with this parameter being true will
3002             not be shown in the subtypes list. -->
3003        <attr name="overridesImplicitlyEnabledSubtype" format="boolean" />
3004        <!-- The extra value of the subtype. This string can be any string and will be passed to
3005             the IME when the framework calls the IME with the subtype.  -->
3006        <attr name="imeSubtypeExtraValue" format="string" />
3007        <!-- The unique id for the subtype. The input method framework keeps track of enabled
3008             subtypes by ID. When the IME package gets upgraded, enabled IDs will stay enabled even
3009             if other attributes are different. If the ID is unspecified (by calling the other
3010             constructor or 0. Arrays.hashCode(new Object[] {locale, mode, extraValue,
3011             isAuxiliary, overridesImplicitlyEnabledSubtype}) will be used instead. -->
3012        <attr name="subtypeId" format="integer"/>
3013        <!-- Set to true if this subtype is ASCII capable. If the subtype is ASCII
3014             capable, it should guarantee that the user can input ASCII characters with
3015             this subtype. This is important because many password fields only allow
3016             ASCII-characters. -->
3017        <attr name="isAsciiCapable" format="boolean" />
3018    </declare-styleable>
3019
3020    <!-- Use <code>spell-checker</code> as the root tag of the XML resource that
3021         describes an
3022         {@link android.service.textservice.SpellCheckerService} service, which is
3023         referenced from its
3024         {@link android.view.textservice.SpellCheckerSession#SERVICE_META_DATA}
3025         meta-data entry.  Described here are the attributes that can be
3026         included in that tag. -->
3027    <declare-styleable name="SpellChecker">
3028        <!-- The name of the spell checker. -->
3029        <attr name="label" />
3030        <!-- Component name of an activity that allows the user to modify
3031             the settings for this service. -->
3032        <attr name="settingsActivity"/>
3033    </declare-styleable>
3034
3035    <!-- This is the subtype of the spell checker. Subtype can describe locales (e.g. en_US, fr_FR...) -->
3036    <declare-styleable name="SpellChecker_Subtype">
3037        <!-- The name of the subtype. -->
3038        <attr name="label" />
3039        <!-- The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...)
3040             This is also used by the framework to know the supported locales
3041             of the spell checker.  -->
3042        <attr name="subtypeLocale" format="string" />
3043        <!-- The extra value of the subtype. This string can be any string and will be passed to
3044             the SpellChecker.  -->
3045        <attr name="subtypeExtraValue" format="string" />
3046    </declare-styleable>
3047
3048    <!-- Use <code>accessibility-service</code> as the root tag of the XML resource that
3049         describes an {@link android.accessibilityservice.AccessibilityService} service,
3050         which is referenced from its
3051         {@link android.accessibilityservice.AccessibilityService#SERVICE_META_DATA}
3052         meta-data entry. -->
3053    <declare-styleable name="AccessibilityService">
3054        <!-- The event types this serivce would like to receive as specified in
3055             {@link android.view.accessibility.AccessibilityEvent}. This setting
3056             can be changed at runtime by calling
3057             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3058             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3059        <attr name="accessibilityEventTypes">
3060            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CLICKED} events.-->
3061            <flag name="typeViewClicked" value="0x00000001" />
3062            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_LONG_CLICKED} events. -->
3063            <flag name="typeViewLongClicked" value="0x00000002" />
3064            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SELECTED} events. -->
3065            <flag name="typeViewSelected" value="0x00000004" />
3066            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_FOCUSED} events. -->
3067            <flag name="typeViewFocused" value="0x00000008" />
3068            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_CHANGED} events. -->
3069            <flag name="typeViewTextChanged" value="0x00000010" />
3070            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_STATE_CHANGED} events. -->
3071            <flag name="typeWindowStateChanged" value="0x00000020" />
3072            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_NOTIFICATION_STATE_CHANGED} events. -->
3073            <flag name="typeNotificationStateChanged" value="0x00000040" />
3074            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_ENTER} events. -->
3075            <flag name="typeViewHoverEnter" value="0x00000080" />
3076            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_EXIT} events. -->
3077            <flag name="typeViewHoverExit" value="0x00000100" />
3078            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_START} events. -->
3079            <flag name="typeTouchExplorationGestureStart" value="0x00000200" />
3080            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_END} events. -->
3081            <flag name="typeTouchExplorationGestureEnd" value="0x00000400" />
3082            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_CONTENT_CHANGED} events. -->
3083            <flag name="typeWindowContentChanged" value="0x00000800" />
3084            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SCROLLED} events. -->
3085            <flag name="typeViewScrolled" value="0x000001000" />
3086            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_SELECTION_CHANGED} events. -->
3087            <flag name="typeViewTextSelectionChanged" value="0x000002000" />
3088            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ANNOUNCEMENT} events. -->
3089            <flag name="typeAnnouncement" value="0x00004000" />
3090            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUSED} events. -->
3091            <flag name="typeViewAccessibilityFocused" value="0x00008000" />
3092            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED} events. -->
3093            <flag name="typeViewAccessibilityFocusCleared" value="0x00010000" />
3094            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY} events. -->
3095            <flag name="typeViewTextTraversedAtMovementGranularity" value="0x00020000" />
3096            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_START} events. -->
3097            <flag name="typeGestureDetectionStart" value="0x00040000" />
3098            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_END} events. -->
3099            <flag name="typeGestureDetectionEnd" value="0x00080000" />
3100            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_START} events. -->
3101            <flag name="typeTouchInteractionStart" value="0x00100000" />
3102            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_END} events. -->
3103            <flag name="typeTouchInteractionEnd" value="0x00200000" />
3104            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOWS_CHANGED} events. -->
3105            <flag name="typeWindowsChanged" value="0x00400000" />
3106            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CONTEXT_CLICKED} events. -->
3107            <flag name="typeContextClicked" value="0x00800000" />
3108            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPES_ALL_MASK} i.e. all events. -->
3109            <flag name="typeAllMask" value="0xffffffff" />
3110        </attr>
3111        <!-- Comma separated package names from which this serivce would like to receive events (leave out for all packages).
3112             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3113             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3114        <attr name="packageNames" format="string" />
3115        <!-- The feedback types this serivce provides as specified in
3116             {@link android.accessibilityservice.AccessibilityServiceInfo}. This setting
3117             can be changed at runtime by calling
3118             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3119             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3120        <attr name="accessibilityFeedbackType">
3121            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_SPOKEN} feedback. -->
3122            <flag name="feedbackSpoken" value="0x00000001" />
3123            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_HAPTIC} feedback. -->
3124            <flag name="feedbackHaptic" value="0x00000002" />
3125            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_AUDIBLE} feedback. -->
3126            <flag name="feedbackAudible" value="0x00000004" />
3127            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_VISUAL} feedback. -->
3128            <flag name="feedbackVisual" value="0x00000008" />
3129            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_GENERIC} feedback. -->
3130            <flag name="feedbackGeneric" value="0x00000010" />
3131            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_ALL_MASK} feedback. -->
3132            <flag name="feedbackAllMask" value="0xffffffff" />
3133        </attr>
3134        <!-- The minimal period in milliseconds between two accessibility events of the same type
3135             are sent to this serivce. This setting can be changed at runtime by calling
3136             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3137             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3138        <attr name="notificationTimeout" format="integer" />
3139        <!-- Additional flags as specified in
3140             {@link android.accessibilityservice.AccessibilityServiceInfo}.
3141             This setting can be changed at runtime by calling
3142             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3143             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3144        <attr name="accessibilityFlags">
3145            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#DEFAULT} -->
3146            <flag name="flagDefault" value="0x00000001" />
3147            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_INCLUDE_NOT_IMPORTANT_VIEWS} -->
3148            <flag name="flagIncludeNotImportantViews" value="0x00000002" />
3149            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} -->
3150            <flag name="flagRequestTouchExplorationMode" value="0x00000004" />
3151            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} -->
3152            <flag name="flagRequestEnhancedWebAccessibility" value="0x00000008" />
3153            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REPORT_VIEW_IDS} -->
3154            <flag name="flagReportViewIds" value="0x00000010" />
3155            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} -->
3156            <flag name="flagRequestFilterKeyEvents" value="0x00000020" />
3157            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_RETRIEVE_INTERACTIVE_WINDOWS} -->
3158            <flag name="flagRetrieveInteractiveWindows" value="0x00000040" />
3159        </attr>
3160        <!-- Component name of an activity that allows the user to modify
3161             the settings for this service. This setting cannot be changed at runtime. -->
3162        <attr name="settingsActivity" />
3163        <!-- Attribute whether the accessibility service wants to be able to retrieve the
3164             active window content. This setting cannot be changed at runtime. -->
3165        <attr name="canRetrieveWindowContent" format="boolean" />
3166        <!-- Attribute whether the accessibility service wants to be able to request touch
3167             exploration mode in which touched items are spoken aloud and the UI can be
3168             explored via gestures.
3169             <p>
3170             Required to allow setting the {@link android.accessibilityservice
3171             #AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} flag.
3172             </p>
3173         -->
3174        <attr name="canRequestTouchExplorationMode" format="boolean" />
3175        <!-- Attribute whether the accessibility service wants to be able to request enhanced
3176             web accessibility enhancements. For example, installing scripts to make app
3177             content more accessible.
3178             <p>
3179             Required to allow setting the {@link android.accessibilityservice
3180             #AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} flag.
3181             </p>
3182         -->
3183        <attr name="canRequestEnhancedWebAccessibility" format="boolean" />
3184        <!-- Attribute whether the accessibility service wants to be able to request to
3185             filter key events.
3186             <p>
3187             Required to allow setting the {@link android.accessibilityservice
3188             #AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} flag.
3189             </p>
3190         -->
3191        <attr name="canRequestFilterKeyEvents" format="boolean" />
3192        <!-- Short description of the accessibility serivce purpose or behavior.-->
3193        <attr name="description" />
3194    </declare-styleable>
3195
3196    <!-- Use <code>print-service</code> as the root tag of the XML resource that
3197         describes an {@link android.printservice.PrintService} service, which is
3198         referenced from its {@link android.printservice.PrintService#SERVICE_META_DATA}
3199         meta-data entry. -->
3200    <declare-styleable name="PrintService">
3201        <!-- Fully qualified class name of an activity that allows the user to modify
3202             the settings for this service. -->
3203        <attr name="settingsActivity" />
3204        <!-- Fully qualified class name of an activity that allows the user to manually
3205             add printers to this print service. -->
3206        <attr name="addPrintersActivity" format="string"/>
3207        <!-- Fully qualified class name of an activity with advanced print options
3208             specific to this print service. -->
3209        <attr name="advancedPrintOptionsActivity" format="string"/>
3210        <!-- The vendor name if this print service is vendor specific. -->
3211        <attr name="vendor" format="string"/>
3212    </declare-styleable>
3213
3214    <!-- Use <code>host-apdu-service</code> as the root tag of the XML resource that
3215         describes an {@link android.nfc.cardemulation.HostApduService} service, which
3216         is referenced from its {@link android.nfc.cardemulation.HostApduService#SERVICE_META_DATA}
3217         entry. -->
3218    <declare-styleable name="HostApduService">
3219        <!-- Short description of the functionality the service implements. This attribute
3220             is mandatory.-->
3221        <attr name="description" />
3222        <!-- Whether the device must be unlocked before routing data to this service.
3223             The default is false.-->
3224        <attr name="requireDeviceUnlock" format="boolean"/>
3225        <!-- A drawable that can be rendered in Android's system UI for representing
3226             the service. -->
3227        <attr name="apduServiceBanner" format="reference"/>
3228        <!-- Allows the app to update the description and service banner at run-time -->
3229        <attr name="dynamicResources" format="boolean"/>
3230        <!-- Component name of an activity that allows the user to modify
3231             the settings for this service. -->
3232        <attr name="settingsActivity"/>
3233    </declare-styleable>
3234
3235    <!-- Use <code>offhost-apdu-service</code> as the root tag of the XML resource that
3236         describes an {@link android.nfc.cardemulation.OffHostApduService}
3237         service, which is referenced from its
3238         {@link android.nfc.cardemulation.OffHostApduService#SERVICE_META_DATA} entry. -->
3239    <declare-styleable name="OffHostApduService">
3240        <!-- Short description of the functionality the service implements. This attribute
3241             is mandatory.-->
3242        <attr name="description" />
3243        <!-- A drawable that can be rendered in Android's system UI for representing
3244             the service. -->
3245        <attr name="apduServiceBanner"/>
3246        <!-- Allows the app to update the description and service banner at run-time -->
3247        <attr name="dynamicResources"/>
3248        <!-- Component name of an activity that allows the user to modify
3249             the settings for this service. -->
3250        <attr name="settingsActivity"/>
3251    </declare-styleable>
3252
3253    <!-- Specify one or more <code>aid-group</code> elements inside a
3254         <code>host-apdu-service</code> or <code>offhost-apdu-service</code>
3255         element to define a group of ISO7816 Application ID (AIDs) that
3256         your service can handle.-->
3257    <declare-styleable name="AidGroup">
3258        <!-- Short description of what the AID group implements. This attribute is mandatory.-->
3259        <attr name="description" />
3260        <!-- The category attribute will be used by the Android platform to present
3261             multiple applications that register ISO 7816 Application IDs (AIDs) in the
3262             same category uniformly.
3263             Additionally, when a category is specified, Android will ensure that either
3264             all AIDs in this group are routed to this application, or none at all.
3265             This attribute is optional.-->
3266        <attr name="category" format="string" />
3267    </declare-styleable>
3268
3269    <!-- Specify one or more <code>aid-filter</code> elements inside a
3270         <code>aid-group</code> element to specify an ISO7816 Application ID (AID)
3271         your service can handle. -->
3272    <declare-styleable name="AidFilter">
3273        <!-- The ISO7816 Application ID. This attribute is mandatory. -->
3274        <attr name="name" />
3275    </declare-styleable>
3276
3277    <!-- Specify one or more <code>aid-prefix-filter</code> elements inside a
3278         <code>aid-group</code> element to specify an ISO7816 Application ID (AID)
3279         prefix your service can handle. -->
3280    <declare-styleable name="AidPrefixFilter">
3281        <!-- The ISO7816 Application ID. This attribute is mandatory. -->
3282        <attr name="name" />
3283    </declare-styleable>
3284
3285    <declare-styleable name="ActionMenuItemView">
3286        <attr name="minWidth" />
3287    </declare-styleable>
3288
3289    <!-- =============================== -->
3290    <!-- Widget package class attributes -->
3291    <!-- =============================== -->
3292    <eat-comment />
3293
3294    <declare-styleable name="AbsListView">
3295         <!-- Drawable used to indicate the currently selected item in the list. -->
3296        <attr name="listSelector" format="color|reference" />
3297        <!-- When set to true, the selector will be drawn over the selected item.
3298             Otherwise the selector is drawn behind the selected item. The default
3299             value is false. -->
3300        <attr name="drawSelectorOnTop" format="boolean" />
3301        <!-- Used by ListView and GridView to stack their content from the bottom. -->
3302        <attr name="stackFromBottom" format="boolean" />
3303        <!-- When set to true, the list uses a drawing cache during scrolling.
3304             This makes the rendering faster but uses more memory. The default
3305             value is true. -->
3306        <attr name="scrollingCache" format="boolean" />
3307        <!-- When set to true, the list will filter results as the user types. The
3308             List's adapter must support the Filterable interface for this to work. -->
3309        <attr name="textFilterEnabled" format="boolean" />
3310        <!-- Sets the transcript mode for the list. In transcript mode, the list
3311             scrolls to the bottom to make new items visible when they are added. -->
3312        <attr name="transcriptMode">
3313            <!-- Disables transcript mode. This is the default value. -->
3314            <enum name="disabled" value="0"/>
3315            <!-- The list will automatically scroll to the bottom when
3316                 a data set change notification is received and only if the last item is
3317                 already visible on screen. -->
3318            <enum name="normal" value="1" />
3319            <!-- The list will automatically scroll to the bottom, no matter what items
3320                 are currently visible. -->
3321            <enum name="alwaysScroll" value="2" />
3322        </attr>
3323        <!-- Indicates that this list will always be drawn on top of solid, single-color
3324             opaque background. This allows the list to optimize drawing. -->
3325        <attr name="cacheColorHint" format="color" />
3326        <!-- Enables the fast scroll thumb that can be dragged to quickly scroll through
3327             the list. -->
3328        <attr name="fastScrollEnabled" format="boolean" />
3329        <!-- Specifies the style of the fast scroll decorations. -->
3330        <attr name="fastScrollStyle" format="reference" />
3331        <!-- When set to true, the list will use a more refined calculation
3332             method based on the pixels height of the items visible on screen. This
3333             property is set to true by default but should be set to false if your adapter
3334             will display items of varying heights. When this property is set to true and
3335             your adapter displays items of varying heights, the scrollbar thumb will
3336             change size as the user scrolls through the list. When set to fale, the list
3337             will use only the number of items in the adapter and the number of items visible
3338             on screen to determine the scrollbar's properties. -->
3339        <attr name="smoothScrollbar" format="boolean" />
3340        <!-- Defines the choice behavior for the view. By default, lists do not have
3341             any choice behavior. By setting the choiceMode to singleChoice, the list
3342             allows up to one item to be in a chosen state. By setting the choiceMode to
3343             multipleChoice, the list allows any number of items to be chosen.
3344             Finally, by setting the choiceMode to multipleChoiceModal the list allows
3345             any number of items to be chosen in a special selection mode.
3346             The application will supply a
3347             {@link android.widget.AbsListView.MultiChoiceModeListener} using
3348             {@link android.widget.AbsListView#setMultiChoiceModeListener} to control the
3349             selection mode. This uses the {@link android.view.ActionMode} API. -->
3350        <attr name="choiceMode">
3351            <!-- Normal list that does not indicate choices. -->
3352            <enum name="none" value="0" />
3353            <!-- The list allows up to one choice. -->
3354            <enum name="singleChoice" value="1" />
3355            <!-- The list allows multiple choices. -->
3356            <enum name="multipleChoice" value="2" />
3357            <!-- The list allows multiple choices in a custom selection mode. -->
3358            <enum name="multipleChoiceModal" value="3" />
3359        </attr>
3360
3361        <!-- When set to true, the list will always show the fast scroll interface.
3362             This setting implies fastScrollEnabled. -->
3363        <attr name="fastScrollAlwaysVisible" format="boolean" />
3364    </declare-styleable>
3365    <declare-styleable name="AbsSpinner">
3366        <!-- Reference to an array resource that will populate the Spinner.  For static content,
3367             this is simpler than populating the Spinner programmatically. -->
3368        <attr name="entries" />
3369    </declare-styleable>
3370    <declare-styleable name="AnalogClock">
3371        <attr name="dial" format="reference"/>
3372        <attr name="hand_hour" format="reference"/>
3373        <attr name="hand_minute" format="reference"/>
3374    </declare-styleable>
3375    <declare-styleable name="Button">
3376    </declare-styleable>
3377    <declare-styleable name="Chronometer">
3378        <!-- Format string: if specified, the Chronometer will display this
3379             string, with the first "%s" replaced by the current timer value
3380             in "MM:SS" or "H:MM:SS" form.
3381             If no format string is specified, the Chronometer will simply display
3382             "MM:SS" or "H:MM:SS". -->
3383        <attr name="format" format="string" localization="suggested" />
3384    </declare-styleable>
3385    <declare-styleable name="CompoundButton">
3386        <!-- Indicates the initial checked state of this button. -->
3387        <attr name="checked" format="boolean" />
3388        <!-- Drawable used for the button graphic (e.g. checkbox, radio button, etc). -->
3389        <attr name="button" format="reference" />
3390        <!-- Tint to apply to the button graphic. -->
3391        <attr name="buttonTint" format="color" />
3392        <!-- Blending mode used to apply the button graphic tint. -->
3393        <attr name="buttonTintMode">
3394            <!-- The tint is drawn on top of the drawable.
3395                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3396            <enum name="src_over" value="3" />
3397            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3398                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3399            <enum name="src_in" value="5" />
3400            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3401                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3402            <enum name="src_atop" value="9" />
3403            <!-- Multiplies the color and alpha channels of the drawable with those of
3404                 the tint. [Sa * Da, Sc * Dc] -->
3405            <enum name="multiply" value="14" />
3406            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3407            <enum name="screen" value="15" />
3408            <!-- Combines the tint and drawable color and alpha channels, clamping the
3409                 result to valid color values. Saturate(S + D) -->
3410            <enum name="add" value="16" />
3411        </attr>
3412    </declare-styleable>
3413    <declare-styleable name="CheckedTextView">
3414        <!-- Indicates the initial checked state of this text. -->
3415        <attr name="checked" />
3416        <!-- Drawable used for the check mark graphic. -->
3417        <attr name="checkMark" format="reference"/>
3418        <!-- Tint to apply to the check mark. -->
3419        <attr name="checkMarkTint" format="color" />
3420        <!-- Blending mode used to apply the check mark tint. -->
3421        <attr name="checkMarkTintMode">
3422            <!-- The tint is drawn on top of the drawable.
3423                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3424            <enum name="src_over" value="3" />
3425            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3426                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3427            <enum name="src_in" value="5" />
3428            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3429                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3430            <enum name="src_atop" value="9" />
3431            <!-- Multiplies the color and alpha channels of the drawable with those of
3432                 the tint. [Sa * Da, Sc * Dc] -->
3433            <enum name="multiply" value="14" />
3434            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3435            <enum name="screen" value="15" />
3436            <!-- Combines the tint and drawable color and alpha channels, clamping the
3437                 result to valid color values. Saturate(S + D) -->
3438            <enum name="add" value="16" />
3439        </attr>
3440        <!-- Gravity for aligning a CheckedTextView's checkmark to one side or the other. -->
3441        <attr name="checkMarkGravity">
3442            <!-- Push object to the left of its container, not changing its size. -->
3443            <flag name="left" value="0x03" />
3444            <!-- Push object to the right of its container, not changing its size. -->
3445            <flag name="right" value="0x05" />
3446            <!-- Push object to the beginning of its container, not changing its size. -->
3447            <flag name="start" value="0x00800003" />
3448            <!-- Push object to the end of its container, not changing its size. -->
3449            <flag name="end" value="0x00800005" />
3450        </attr>
3451    </declare-styleable>
3452    <declare-styleable name="EditText">
3453    </declare-styleable>
3454    <declare-styleable name="FastScroll">
3455        <!-- Drawable used for the scroll bar thumb. -->
3456        <attr name="thumbDrawable" format="reference" />
3457        <!-- Minimum width of the thumb. -->
3458        <attr name="thumbMinWidth" format="dimension" />
3459        <!-- Minimum height of the thumb. -->
3460        <attr name="thumbMinHeight" format="dimension" />
3461        <!-- Drawable used for the scroll bar track. -->
3462        <attr name="trackDrawable" format="reference" />
3463        <!-- Drawable used for the section header preview when right-aligned. -->
3464        <attr name="backgroundRight" format="reference" />
3465        <!-- Drawable used for the section header preview when left-aligned. -->
3466        <attr name="backgroundLeft" format="reference" />
3467        <!-- Position of section header preview. -->
3468        <attr name="position">
3469            <!-- Floating at the top of the content. -->
3470            <enum name="floating" value="0" />
3471            <!-- Pinned to the thumb, vertically centered with the middle of the thumb. -->
3472            <enum name="atThumb" value="1" />
3473            <!-- Pinned to the thumb, vertically centered with the top edge of the thumb. -->
3474            <enum name="aboveThumb" value="2" />
3475        </attr>
3476        <attr name="textAppearance" />
3477        <attr name="textColor" />
3478        <attr name="textSize" />
3479        <!-- Minimum width of the section header preview. -->
3480        <attr name="minWidth" />
3481        <!-- Minimum height of the section header preview. -->
3482        <attr name="minHeight" />
3483        <!-- Padding for the section header preview. -->
3484        <attr name="padding" />
3485        <!-- Position of thumb in relation to the track. -->
3486        <attr name="thumbPosition">
3487            <!-- The thumb's midpoint is anchored to the track. At its
3488                 extremes, the thumb will extend half-way outside the
3489                 track. -->
3490            <enum name="midpoint" value="0" />
3491            <!-- The thumb is entirely inside the track. At its extremes,
3492                 the thumb will be contained entirely within the track. -->
3493            <enum name="inside" value="1" />
3494        </attr>
3495    </declare-styleable>
3496    <declare-styleable name="FrameLayout">
3497        <!-- Determines whether to measure all children or just those in
3498             the VISIBLE or INVISIBLE state when measuring. Defaults to false. -->
3499        <attr name="measureAllChildren" format="boolean" />
3500    </declare-styleable>
3501    <declare-styleable name="ExpandableListView">
3502        <!-- Indicator shown beside the group View. This can be a stateful Drawable. -->
3503        <attr name="groupIndicator" format="reference" />
3504        <!-- Indicator shown beside the child View. This can be a stateful Drawable. -->
3505        <attr name="childIndicator" format="reference" />
3506        <!-- The left bound for an item's indicator. To specify a left bound specific to children,
3507             use childIndicatorLeft. -->
3508        <attr name="indicatorLeft" format="dimension" />
3509        <!-- The right bound for an item's indicator. To specify a right bound specific to children,
3510             use childIndicatorRight. -->
3511        <attr name="indicatorRight" format="dimension" />
3512        <!-- The left bound for a child's indicator. -->
3513        <attr name="childIndicatorLeft" format="dimension" />
3514        <!-- The right bound for a child's indicator. -->
3515        <attr name="childIndicatorRight" format="dimension" />
3516        <!-- Drawable or color that is used as a divider for children. (It will drawn
3517             below and above child items.) The height of this will be the same as
3518             the height of the normal list item divider. -->
3519        <attr name="childDivider" format="reference|color" />
3520        <!-- The start bound for an item's indicator. To specify a start bound specific to children,
3521             use childIndicatorStart. -->
3522        <attr name="indicatorStart" format="dimension" />
3523        <!-- The end bound for an item's indicator. To specify a right bound specific to children,
3524             use childIndicatorEnd. -->
3525        <attr name="indicatorEnd" format="dimension" />
3526        <!-- The start bound for a child's indicator. -->
3527        <attr name="childIndicatorStart" format="dimension" />
3528        <!-- The end bound for a child's indicator. -->
3529        <attr name="childIndicatorEnd" format="dimension" />
3530    </declare-styleable>
3531    <declare-styleable name="Gallery">
3532        <attr name="gravity" />
3533        <!-- Sets how long a transition animation should run (in milliseconds)
3534             when layout has changed.  Only relevant if animation is turned on. -->
3535        <attr name="animationDuration" format="integer" min="0" />
3536        <attr name="spacing" format="dimension" />
3537        <!-- Sets the alpha on the items that are not selected. -->
3538        <attr name="unselectedAlpha" format="float" />
3539    </declare-styleable>
3540    <declare-styleable name="GridView">
3541        <!-- Defines the default horizontal spacing between columns. -->
3542        <attr name="horizontalSpacing" format="dimension" />
3543        <!-- Defines the default vertical spacing between rows. -->
3544        <attr name="verticalSpacing" format="dimension" />
3545        <!-- Defines how columns should stretch to fill the available empty space, if any. -->
3546        <attr name="stretchMode">
3547            <!-- Stretching is disabled. -->
3548            <enum name="none" value="0"/>
3549            <!-- The spacing between each column is stretched. -->
3550            <enum name="spacingWidth" value="1" />
3551            <!-- Each column is stretched equally. -->
3552            <enum name="columnWidth" value="2" />
3553            <!-- The spacing between each column is uniformly stretched.. -->
3554            <enum name="spacingWidthUniform" value="3" />
3555        </attr>
3556        <!-- Specifies the fixed width for each column. -->
3557        <attr name="columnWidth" format="dimension" />
3558        <!-- Defines how many columns to show. -->
3559        <attr name="numColumns" format="integer" min="0">
3560            <!-- Display as many columns as possible to fill the available space. -->
3561            <enum name="auto_fit" value="-1" />
3562        </attr>
3563        <!-- Specifies the gravity within each cell. -->
3564        <attr name="gravity" />
3565    </declare-styleable>
3566    <declare-styleable name="ImageSwitcher">
3567    </declare-styleable>
3568    <declare-styleable name="ImageView">
3569        <!-- Sets a drawable as the content of this ImageView. -->
3570        <attr name="src" format="reference|color" />
3571        <!-- Controls how the image should be resized or moved to match the size
3572             of this ImageView.  See {@link android.widget.ImageView.ScaleType} -->
3573        <attr name="scaleType">
3574            <!-- Scale using the image matrix when drawing. See  
3575                 {@link android.widget.ImageView#setImageMatrix(Matrix)}. -->
3576            <enum name="matrix" value="0" />
3577            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#FILL}. -->
3578            <enum name="fitXY" value="1" />
3579            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#START}. -->
3580            <enum name="fitStart" value="2" />
3581            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#CENTER}. -->
3582            <enum name="fitCenter" value="3" />
3583            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#END}. -->
3584            <enum name="fitEnd" value="4" />
3585            <!-- Center the image in the view, but perform no scaling. -->
3586            <enum name="center" value="5" />
3587            <!-- Scale the image uniformly (maintain the image's aspect ratio) so both dimensions 
3588                 (width and height) of the image will be equal to or larger than the corresponding
3589                 dimension of the view (minus padding). The image is then centered in the view. -->
3590            <enum name="centerCrop" value="6" />
3591            <!-- Scale the image uniformly (maintain the image's aspect ratio) so that both
3592                 dimensions (width and height) of the image will be equal to or less than the
3593                 corresponding dimension of the view (minus padding). The image is then centered in
3594                 the view. -->
3595            <enum name="centerInside" value="7" />
3596        </attr>
3597        <!-- Set this to true if you want the ImageView to adjust its bounds
3598             to preserve the aspect ratio of its drawable. -->
3599        <attr name="adjustViewBounds" format="boolean" />
3600        <!-- An optional argument to supply a maximum width for this view.
3601             See {see android.widget.ImageView#setMaxWidth} for details. -->
3602        <attr name="maxWidth" format="dimension" />
3603        <!-- An optional argument to supply a maximum height for this view.
3604             See {see android.widget.ImageView#setMaxHeight} for details. -->
3605        <attr name="maxHeight" format="dimension" />
3606        <!-- Set a tinting color for the image. By default, the tint will blend using SRC_ATOP mode. -->
3607        <attr name="tint" format="color" />
3608        <!-- If true, the image view will be baseline aligned with based on its
3609             bottom edge. -->
3610        <attr name="baselineAlignBottom" format="boolean" />
3611         <!-- If true, the image will be cropped to fit within its padding. -->
3612        <attr name="cropToPadding" format="boolean" />
3613        <!-- The offset of the baseline within this view. See {see android.view.View#getBaseline}
3614             for details -->
3615        <attr name="baseline" format="dimension" />
3616        <!-- @hide The alpha value (0-255) set on the ImageView's drawable. Equivalent
3617             to calling ImageView.setAlpha(int), not the same as View.setAlpha(float). -->
3618        <attr name="drawableAlpha" format="integer" />
3619        <!-- Blending mode used to apply the image tint. -->
3620        <attr name="tintMode" />
3621    </declare-styleable>
3622    <declare-styleable name="ToggleButton">
3623        <!-- The text for the button when it is checked. -->
3624        <attr name="textOn" format="string" />
3625        <!-- The text for the button when it is not checked. -->
3626        <attr name="textOff" format="string" />
3627        <!-- The alpha to apply to the indicator when disabled. -->
3628        <attr name="disabledAlpha" />
3629    </declare-styleable>
3630    <declare-styleable name="RelativeLayout">
3631        <attr name="gravity" />
3632        <!-- Indicates what view should not be affected by gravity. -->
3633        <attr name="ignoreGravity" format="reference" />
3634    </declare-styleable>
3635    <declare-styleable name="LinearLayout">
3636        <!-- Should the layout be a column or a row?  Use "horizontal"
3637             for a row, "vertical" for a column.  The default is
3638             horizontal. -->
3639        <attr name="orientation" />
3640        <attr name="gravity" />
3641        <!-- When set to false, prevents the layout from aligning its children's
3642             baselines. This attribute is particularly useful when the children
3643             use different values for gravity. The default value is true. -->
3644        <attr name="baselineAligned" format="boolean" />
3645        <!-- When a linear layout is part of another layout that is baseline
3646          aligned, it can specify which of its children to baseline align to
3647          (that is, which child TextView).-->
3648        <attr name="baselineAlignedChildIndex" format="integer" min="0"/>
3649        <!-- Defines the maximum weight sum. If unspecified, the sum is computed
3650             by adding the layout_weight of all of the children. This can be
3651             used for instance to give a single child 50% of the total available
3652             space by giving it a layout_weight of 0.5 and setting the weightSum
3653             to 1.0. -->
3654        <attr name="weightSum" format="float" />
3655        <!-- When set to true, all children with a weight will be considered having
3656             the minimum size of the largest child. If false, all children are
3657             measured normally. -->
3658        <attr name="measureWithLargestChild" format="boolean" />
3659        <!-- Drawable to use as a vertical divider between buttons. -->
3660        <attr name="divider" />
3661        <!-- Setting for which dividers to show. -->
3662        <attr name="showDividers">
3663            <flag name="none" value="0" />
3664            <flag name="beginning" value="1" />
3665            <flag name="middle" value="2" />
3666            <flag name="end" value="4" />
3667        </attr>
3668        <!-- Size of padding on either end of a divider. -->
3669        <attr name="dividerPadding" format="dimension" />
3670    </declare-styleable>
3671    <declare-styleable name="GridLayout">
3672        <!-- The orientation property is not used during layout. It is only used to
3673        allocate row and column parameters when they are not specified by its children's
3674        layout paramters. GridLayout works like LinearLayout in this case;
3675        putting all the components either in a single row or in a single column -
3676        depending on the value of this flag. In the horizontal case, a columnCount
3677        property may be additionally supplied to force new rows to be created when a
3678        row is full. The rowCount attribute may be used similarly in the vertical case.
3679        The default is horizontal. -->
3680        <attr name="orientation" />
3681        <!-- The maxmimum number of rows to create when automatically positioning children. -->
3682        <attr name="rowCount" format="integer" />
3683        <!-- The maxmimum number of columns to create when automatically positioning children. -->
3684        <attr name="columnCount" format="integer" />
3685        <!-- When set to true, tells GridLayout to use default margins when none are specified
3686        in a view's layout parameters.
3687        The default value is false.
3688        See {@link android.widget.GridLayout#setUseDefaultMargins(boolean)}.-->
3689        <attr name="useDefaultMargins" format="boolean" />
3690        <!-- When set to alignMargins, causes alignment to take place between the outer
3691        boundary of a view, as defined by its margins. When set to alignBounds,
3692        causes alignment to take place between the edges of the view.
3693        The default is alignMargins.
3694        See {@link android.widget.GridLayout#setAlignmentMode(int)}.-->
3695        <attr name="alignmentMode" />
3696        <!-- When set to true, forces row boundaries to appear in the same order
3697        as row indices.
3698        The default is true.
3699        See {@link android.widget.GridLayout#setRowOrderPreserved(boolean)}.-->
3700        <attr name="rowOrderPreserved" format="boolean" />
3701        <!-- When set to true, forces column boundaries to appear in the same order
3702        as column indices.
3703        The default is true.
3704        See {@link android.widget.GridLayout#setColumnOrderPreserved(boolean)}.-->
3705        <attr name="columnOrderPreserved" format="boolean" />
3706    </declare-styleable>
3707    <declare-styleable name="ListView">
3708        <!-- Reference to an array resource that will populate the ListView.  For static content,
3709             this is simpler than populating the ListView programmatically. -->
3710        <attr name="entries" />
3711        <!-- Drawable or color to draw between list items. -->
3712        <attr name="divider" format="reference|color" />
3713        <!-- Height of the divider. Will use the intrinsic height of the divider if this
3714             is not specified. -->
3715        <attr name="dividerHeight" format="dimension" />
3716        <!-- When set to false, the ListView will not draw the divider after each header view.
3717             The default value is true. -->
3718        <attr name="headerDividersEnabled" format="boolean" />
3719        <!-- When set to false, the ListView will not draw the divider before each footer view.
3720             The default value is true. -->
3721        <attr name="footerDividersEnabled" format="boolean" />
3722        <!-- Drawable to draw above list content. -->
3723        <attr name="overScrollHeader" format="reference|color" />
3724        <!-- Drawable to draw below list content. -->
3725        <attr name="overScrollFooter" format="reference|color" />
3726    </declare-styleable>
3727    <declare-styleable name="PreferenceFrameLayout">
3728        <!-- Padding to use at the top of the prefs content. -->
3729        <attr name="borderTop" format="dimension" />
3730        <!-- Padding to use at the bottom of the prefs content. -->
3731        <attr name="borderBottom" format="dimension" />
3732        <!-- Padding to use at the left of the prefs content. -->
3733        <attr name="borderLeft" format="dimension" />
3734        <!-- Padding to use at the right of the prefs content. -->
3735        <attr name="borderRight" format="dimension" />
3736    </declare-styleable>
3737    <declare-styleable name="PreferenceFrameLayout_Layout">
3738        <!-- Padding to use at the top of the prefs content. -->
3739        <attr name="layout_removeBorders" format="boolean" />
3740    </declare-styleable>
3741    <declare-styleable name="MenuView">
3742        <!-- Default appearance of menu item text. -->
3743        <attr name="itemTextAppearance" format="reference" />
3744        <!-- Default horizontal divider between rows of menu items. -->
3745        <attr name="horizontalDivider" format="reference" />
3746        <!-- Default vertical divider between menu items. -->
3747        <attr name="verticalDivider" format="reference" />
3748        <!-- Default background for the menu header. -->
3749        <attr name="headerBackground" format="color|reference" />
3750        <!-- Default background for each menu item. -->
3751        <attr name="itemBackground" format="color|reference" />
3752        <!-- Default animations for the menu. -->
3753        <attr name="windowAnimationStyle" />
3754        <!-- Default disabled icon alpha for each menu item that shows an icon. -->
3755        <attr name="itemIconDisabledAlpha" format="float" />
3756        <!-- Whether space should be reserved in layout when an icon is missing. -->
3757        <attr name="preserveIconSpacing" format="boolean" />
3758    </declare-styleable>
3759    <declare-styleable name="IconMenuView">
3760        <!-- Defines the height of each row. -->
3761        <attr name="rowHeight" format="dimension" />
3762        <!-- Defines the maximum number of rows displayed. -->
3763        <attr name="maxRows" format="integer" />
3764        <!-- Defines the maximum number of items per row. -->
3765        <attr name="maxItemsPerRow" format="integer" />
3766        <!-- Defines the maximum number of items to show. -->
3767        <attr name="maxItems" format="integer" />
3768        <!-- 'More' icon. -->
3769        <attr name="moreIcon" format="reference" />
3770    </declare-styleable>
3771
3772    <declare-styleable name="ProgressBar">
3773        <!-- Defines the maximum value the progress can take. -->
3774        <attr name="max" format="integer" />
3775        <!-- Defines the default progress value, between 0 and max. -->
3776        <attr name="progress" format="integer" />
3777        <!-- Defines the secondary progress value, between 0 and max. This progress is drawn between
3778             the primary progress and the background.  It can be ideal for media scenarios such as
3779             showing the buffering progress while the default progress shows the play progress. -->
3780        <attr name="secondaryProgress" format="integer" />
3781        <!-- Allows to enable the indeterminate mode. In this mode the progress
3782         bar plays an infinite looping animation. -->
3783        <attr name="indeterminate" format="boolean" />
3784        <!-- Restricts to ONLY indeterminate mode (state-keeping progress mode will not work). -->
3785        <attr name="indeterminateOnly" format="boolean" />
3786        <!-- Drawable used for the indeterminate mode. -->
3787        <attr name="indeterminateDrawable" format="reference" />
3788        <!-- Drawable used for the progress mode. -->
3789        <attr name="progressDrawable" format="reference" />
3790        <!-- Duration of the indeterminate animation. -->
3791        <attr name="indeterminateDuration" format="integer" min="1" />
3792        <!-- Defines how the indeterminate mode should behave when the progress
3793        reaches max. -->
3794        <attr name="indeterminateBehavior">
3795            <!-- Progress starts over from 0. -->
3796            <enum name="repeat" value="1" />
3797            <!-- Progress keeps the current value and goes back to 0. -->
3798            <enum name="cycle" value="2" />
3799        </attr>
3800        <attr name="minWidth" format="dimension" />
3801        <attr name="maxWidth" />
3802        <attr name="minHeight" format="dimension" />
3803        <attr name="maxHeight" />
3804        <attr name="interpolator" format="reference" />
3805        <!-- Timeout between frames of animation in milliseconds
3806             {@deprecated Not used by the framework.} -->
3807        <attr name="animationResolution" format="integer" />
3808        <!-- Defines if the associated drawables need to be mirrored when in RTL mode.
3809             Default is false -->
3810        <attr name="mirrorForRtl" format="boolean" />
3811        <!-- Tint to apply to the progress indicator. -->
3812        <attr name="progressTint" format="color" />
3813        <!-- Blending mode used to apply the progress indicator tint. -->
3814        <attr name="progressTintMode">
3815            <!-- The tint is drawn on top of the drawable.
3816                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3817            <enum name="src_over" value="3" />
3818            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3819                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3820            <enum name="src_in" value="5" />
3821            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3822                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3823            <enum name="src_atop" value="9" />
3824            <!-- Multiplies the color and alpha channels of the drawable with those of
3825                 the tint. [Sa * Da, Sc * Dc] -->
3826            <enum name="multiply" value="14" />
3827            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3828            <enum name="screen" value="15" />
3829            <!-- Combines the tint and drawable color and alpha channels, clamping the
3830                 result to valid color values. Saturate(S + D) -->
3831            <enum name="add" value="16" />
3832        </attr>
3833        <!-- Tint to apply to the progress indicator background. -->
3834        <attr name="progressBackgroundTint" format="color" />
3835        <!-- Blending mode used to apply the progress indicator background tint. -->
3836        <attr name="progressBackgroundTintMode">
3837            <!-- The tint is drawn on top of the drawable.
3838                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3839            <enum name="src_over" value="3" />
3840            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3841                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3842            <enum name="src_in" value="5" />
3843            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3844                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3845            <enum name="src_atop" value="9" />
3846            <!-- Multiplies the color and alpha channels of the drawable with those of
3847                 the tint. [Sa * Da, Sc * Dc] -->
3848            <enum name="multiply" value="14" />
3849            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3850            <enum name="screen" value="15" />
3851            <!-- Combines the tint and drawable color and alpha channels, clamping the
3852                 result to valid color values. Saturate(S + D) -->
3853            <enum name="add" value="16" />
3854        </attr>
3855        <!-- Tint to apply to the secondary progress indicator. -->
3856        <attr name="secondaryProgressTint" format="color" />
3857        <!-- Blending mode used to apply the secondary progress indicator tint. -->
3858        <attr name="secondaryProgressTintMode">
3859            <!-- The tint is drawn on top of the drawable.
3860                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3861            <enum name="src_over" value="3" />
3862            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3863                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3864            <enum name="src_in" value="5" />
3865            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3866                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3867            <enum name="src_atop" value="9" />
3868            <!-- Multiplies the color and alpha channels of the drawable with those of
3869                 the tint. [Sa * Da, Sc * Dc] -->
3870            <enum name="multiply" value="14" />
3871            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3872            <enum name="screen" value="15" />
3873            <!-- Combines the tint and drawable color and alpha channels, clamping the
3874                 result to valid color values. Saturate(S + D) -->
3875            <enum name="add" value="16" />
3876        </attr>
3877        <!-- Tint to apply to the indeterminate progress indicator. -->
3878        <attr name="indeterminateTint" format="color" />
3879        <!-- Blending mode used to apply the indeterminate progress indicator tint. -->
3880        <attr name="indeterminateTintMode">
3881            <!-- The tint is drawn on top of the drawable.
3882                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3883            <enum name="src_over" value="3" />
3884            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3885                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3886            <enum name="src_in" value="5" />
3887            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3888                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3889            <enum name="src_atop" value="9" />
3890            <!-- Multiplies the color and alpha channels of the drawable with those of
3891                 the tint. [Sa * Da, Sc * Dc] -->
3892            <enum name="multiply" value="14" />
3893            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3894            <enum name="screen" value="15" />
3895            <!-- Combines the tint and drawable color and alpha channels, clamping the
3896                 result to valid color values. Saturate(S + D) -->
3897            <enum name="add" value="16" />
3898        </attr>
3899        <!-- Tint to apply to the background. -->
3900        <attr name="backgroundTint" />
3901        <!-- Blending mode used to apply the background tint. -->
3902        <attr name="backgroundTintMode" />
3903    </declare-styleable>
3904
3905    <declare-styleable name="SeekBar">
3906        <!-- Draws the thumb on a seekbar. -->
3907        <attr name="thumb" format="reference" />
3908        <!-- An offset for the thumb that allows it to extend out of the range of the track. -->
3909        <attr name="thumbOffset" format="dimension" />
3910        <!-- Whether to split the track and leave a gap for the thumb drawable. -->
3911        <attr name="splitTrack" format="boolean" />
3912        <!-- Whether to force the track's alpha to ?android:attr/disabledAlpha
3913             when disabled. This is required for Holo and Gingerbread, but
3914             should always be false for Material and  beyond.
3915             @hide Developers shouldn't need to change this. -->
3916        <attr name="useDisabledAlpha" format="boolean" />
3917        <!-- Tint to apply to the button graphic. -->
3918        <attr name="thumbTint" format="color" />
3919        <!-- Blending mode used to apply the button graphic tint. -->
3920        <attr name="thumbTintMode">
3921            <!-- The tint is drawn on top of the drawable.
3922                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3923            <enum name="src_over" value="3" />
3924            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3925                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3926            <enum name="src_in" value="5" />
3927            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3928                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3929            <enum name="src_atop" value="9" />
3930            <!-- Multiplies the color and alpha channels of the drawable with those of
3931                 the tint. [Sa * Da, Sc * Dc] -->
3932            <enum name="multiply" value="14" />
3933            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3934            <enum name="screen" value="15" />
3935            <!-- Combines the tint and drawable color and alpha channels, clamping the
3936                 result to valid color values. Saturate(S + D) -->
3937            <enum name="add" value="16" />
3938        </attr>
3939    </declare-styleable>
3940
3941    <declare-styleable name="StackView">
3942        <!-- Color of the res-out outline. -->
3943        <attr name="resOutColor" format="color" />
3944        <!-- Color of the outline of click feedback. -->
3945        <attr name="clickColor" format="color" />
3946    </declare-styleable>
3947
3948    <declare-styleable name="RatingBar">
3949        <!-- The number of stars (or rating items) to show. -->
3950        <attr name="numStars" format="integer" />
3951        <!-- The rating to set by default. -->
3952        <attr name="rating" format="float" />
3953        <!-- The step size of the rating. -->
3954        <attr name="stepSize" format="float" />
3955        <!-- Whether this rating bar is an indicator (and non-changeable by the user). -->
3956        <attr name="isIndicator" format="boolean" />
3957    </declare-styleable>
3958
3959    <declare-styleable name="RadioGroup">
3960        <!-- The id of the child radio button that should be checked by default
3961             within this radio group. -->
3962        <attr name="checkedButton" format="integer" />
3963        <!-- Should the radio group be a column or a row?  Use "horizontal"
3964             for a row, "vertical" for a column.  The default is
3965             vertical. -->
3966        <attr name="orientation" />
3967    </declare-styleable>
3968    <declare-styleable name="TableLayout">
3969        <!-- The zero-based index of the columns to stretch. The column indices
3970             must be separated by a comma: 1, 2, 5. Illegal and duplicate
3971             indices are ignored. You can stretch all columns by using the
3972             value "*" instead. Note that a column can be marked stretchable
3973             and shrinkable at the same time. -->
3974        <attr name="stretchColumns" format="string" />
3975       <!-- The zero-based index of the columns to shrink. The column indices
3976             must be separated by a comma: 1, 2, 5. Illegal and duplicate
3977             indices are ignored. You can shrink all columns by using the
3978             value "*" instead. Note that a column can be marked stretchable
3979             and shrinkable at the same time. -->
3980        <attr name="shrinkColumns" format="string" />
3981        <!-- The zero-based index of the columns to collapse. The column indices
3982             must be separated by a comma: 1, 2, 5. Illegal and duplicate
3983             indices are ignored. -->
3984        <attr name="collapseColumns" format="string" />
3985    </declare-styleable>
3986    <declare-styleable name="TableRow">
3987
3988    </declare-styleable>
3989    <declare-styleable name="TableRow_Cell">
3990        <!-- The index of the column in which this child should be. -->
3991        <attr name="layout_column" format="integer" />
3992        <!-- Defines how many columns this child should span.  Must be >= 1.-->
3993        <attr name="layout_span" format="integer" />
3994    </declare-styleable>
3995    <declare-styleable name="TabWidget">
3996        <!-- Drawable used to draw the divider between tabs. -->
3997        <attr name="divider" />
3998        <!-- Determines whether the strip under the tab indicators is drawn or not. -->
3999        <attr name="tabStripEnabled" format="boolean" />
4000        <!-- Drawable used to draw the left part of the strip underneath the tabs. -->
4001        <attr name="tabStripLeft" format="reference" />
4002        <!-- Drawable used to draw the right part of the strip underneath the tabs. -->
4003        <attr name="tabStripRight" format="reference" />
4004        <!-- Layout used to organize each tab's content. -->
4005        <attr name="tabLayout" format="reference" />
4006    </declare-styleable>
4007    <declare-styleable name="TextAppearance">
4008        <!-- Text color. -->
4009        <attr name="textColor" />
4010        <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
4011        <attr name="textSize" />
4012        <!-- Style (bold, italic, bolditalic) for the text. -->
4013        <attr name="textStyle" />
4014        <!-- Typeface (normal, sans, serif, monospace) for the text. -->
4015        <attr name="typeface" />
4016        <!-- Font family (named by string) for the text. -->
4017        <attr name="fontFamily" />
4018        <!-- Color of the text selection highlight. -->
4019        <attr name="textColorHighlight" />
4020        <!-- Color of the hint text. -->
4021        <attr name="textColorHint" />
4022        <!-- Color of the links. -->
4023        <attr name="textColorLink" />
4024        <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
4025        <attr name="textAllCaps" format="boolean" />
4026        <!-- Place a blurred shadow of text underneath the text, drawn with the
4027             specified color. The text shadow produced does not interact with
4028             properties on View that are responsible for real time shadows,
4029             {@link android.R.styleable#View_elevation elevation} and
4030             {@link android.R.styleable#View_translationZ translationZ}. -->
4031        <attr name="shadowColor" format="color" />
4032        <!-- Horizontal offset of the text shadow. -->
4033        <attr name="shadowDx" format="float" />
4034        <!-- Vertical offset of the text shadow. -->
4035        <attr name="shadowDy" format="float" />
4036        <!-- Blur radius of the text shadow. -->
4037        <attr name="shadowRadius" format="float" />
4038        <!-- Elegant text height, especially for less compacted complex script text. -->
4039        <attr name="elegantTextHeight" format="boolean" />
4040        <!-- Text letter-spacing. -->
4041        <attr name="letterSpacing" format="float" />
4042        <!-- Font feature settings. -->
4043        <attr name="fontFeatureSettings" format="string" />
4044    </declare-styleable>
4045    <declare-styleable name="TextClock">
4046        <!-- Specifies the formatting pattern used to show the time and/or date
4047             in 12-hour mode. Please refer to {@link android.text.format.DateFormat}
4048             for a complete description of accepted formatting patterns.
4049             The default pattern is a locale-appropriate equivalent of "h:mm a". -->
4050        <attr name="format12Hour" format="string"/>
4051        <!-- Specifies the formatting pattern used to show the time and/or date
4052             in 24-hour mode. Please refer to {@link android.text.format.DateFormat}
4053             for a complete description of accepted formatting patterns.
4054             The default pattern is a locale-appropriate equivalent of "H:mm". -->
4055        <attr name="format24Hour" format="string"/>
4056        <!-- Specifies the time zone to use. When this attribute is specified, the
4057             TextClock will ignore the time zone of the system. To use the user's
4058             time zone, do not specify this attribute. The default value is the
4059             user's time zone. Please refer to {@link java.util.TimeZone} for more
4060             information about time zone ids. -->
4061        <attr name="timeZone" format="string"/>
4062    </declare-styleable>
4063    <declare-styleable name="TextSwitcher">
4064    </declare-styleable>
4065    <declare-styleable name="TextView">
4066        <!-- Determines the minimum type that getText() will return.
4067             The default is "normal".
4068             Note that EditText and LogTextBox always return Editable,
4069             even if you specify something less powerful here. -->
4070        <attr name="bufferType">
4071            <!-- Can return any CharSequence, possibly a
4072             Spanned one if the source text was Spanned. -->
4073            <enum name="normal" value="0" />
4074            <!-- Can only return Spannable. -->
4075            <enum name="spannable" value="1" />
4076            <!-- Can only return Spannable and Editable. -->
4077            <enum name="editable" value="2" />
4078        </attr>
4079        <!-- Text to display. -->
4080        <attr name="text" format="string" localization="suggested" />
4081        <!-- Hint text to display when the text is empty. -->
4082        <attr name="hint" format="string" />
4083        <!-- Text color. -->
4084        <attr name="textColor" />
4085        <!-- Color of the text selection highlight. -->
4086        <attr name="textColorHighlight" />
4087        <!-- Color of the hint text. -->
4088        <attr name="textColorHint" />
4089        <!-- Base text color, typeface, size, and style. -->
4090        <attr name="textAppearance" />
4091        <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
4092        <attr name="textSize" />
4093        <!-- Sets the horizontal scaling factor for the text. -->
4094        <attr name="textScaleX" format="float" />
4095        <!-- Typeface (normal, sans, serif, monospace) for the text. -->
4096        <attr name="typeface" />
4097        <!-- Style (bold, italic, bolditalic) for the text. -->
4098        <attr name="textStyle" />
4099        <!-- Font family (named by string) for the text. -->
4100        <attr name="fontFamily" />
4101        <!-- Text color for links. -->
4102        <attr name="textColorLink" />
4103        <!-- Makes the cursor visible (the default) or invisible. -->
4104        <attr name="cursorVisible" format="boolean" />
4105        <!-- Makes the TextView be at most this many lines tall.
4106
4107        When used on an editable text, the <code>inputType</code> attribute's value must be
4108        combined with the <code>textMultiLine</code> flag for the maxLines attribute to apply. -->
4109        <attr name="maxLines" format="integer" min="0" />
4110        <!-- Makes the TextView be at most this many pixels tall. -->
4111        <attr name="maxHeight" />
4112        <!-- Makes the TextView be exactly this many lines tall. -->
4113        <attr name="lines" format="integer" min="0" />
4114        <!-- Makes the TextView be exactly this many pixels tall.
4115             You could get the same effect by specifying this number in the
4116             layout parameters. -->
4117        <attr name="height" format="dimension" />
4118        <!-- Makes the TextView be at least this many lines tall.
4119
4120        When used on an editable text, the <code>inputType</code> attribute's value must be
4121        combined with the <code>textMultiLine</code> flag for the minLines attribute to apply. -->
4122        <attr name="minLines" format="integer" min="0" />
4123        <!-- Makes the TextView be at least this many pixels tall. -->
4124        <attr name="minHeight" />
4125        <!-- Makes the TextView be at most this many ems wide. -->
4126        <attr name="maxEms" format="integer" min="0" />
4127        <!-- Makes the TextView be at most this many pixels wide. -->
4128        <attr name="maxWidth" />
4129        <!-- Makes the TextView be exactly this many ems wide. -->
4130        <attr name="ems" format="integer" min="0" />
4131        <!-- Makes the TextView be exactly this many pixels wide.
4132             You could get the same effect by specifying this number in the
4133             layout parameters. -->
4134        <attr name="width" format="dimension" />
4135        <!-- Makes the TextView be at least this many ems wide. -->
4136        <attr name="minEms" format="integer" min="0" />
4137        <!-- Makes the TextView be at least this many pixels wide. -->
4138        <attr name="minWidth" />
4139        <!-- Specifies how to align the text by the view's x- and/or y-axis
4140             when the text is smaller than the view. -->
4141        <attr name="gravity" />
4142        <!-- Whether the text is allowed to be wider than the view (and
4143             therefore can be scrolled horizontally). -->
4144        <attr name="scrollHorizontally" format="boolean" />
4145        <!-- Whether the characters of the field are displayed as
4146             password dots instead of themselves.
4147             {@deprecated Use inputType instead.} -->
4148        <attr name="password" format="boolean" />
4149        <!-- Constrains the text to a single horizontally scrolling line
4150             instead of letting it wrap onto multiple lines, and advances
4151             focus instead of inserting a newline when you press the
4152             enter key.
4153
4154             The default value is false (multi-line wrapped text mode) for non-editable text, but if
4155             you specify any value for inputType, the default is true (single-line input field mode).
4156
4157             {@deprecated This attribute is deprecated. Use <code>maxLines</code> instead to change
4158             the layout of a static text, and use the <code>textMultiLine</code> flag in the
4159             inputType attribute instead for editable text views (if both singleLine and inputType
4160             are supplied, the inputType flags will override the value of singleLine). } -->
4161        <attr name="singleLine" format="boolean" />
4162        <!-- Specifies whether the widget is enabled. The interpretation of the enabled state varies by subclass.
4163             For example, a non-enabled EditText prevents the user from editing the contained text, and
4164             a non-enabled Button prevents the user from tapping the button.
4165             The appearance of enabled and non-enabled widgets may differ, if the drawables referenced
4166             from evaluating state_enabled differ. -->
4167        <attr name="enabled" format="boolean" />
4168        <!-- If the text is selectable, select it all when the view takes
4169             focus. -->
4170        <attr name="selectAllOnFocus" format="boolean" />
4171        <!-- Leave enough room for ascenders and descenders instead of
4172             using the font ascent and descent strictly.  (Normally true). -->
4173        <attr name="includeFontPadding" format="boolean" />
4174        <!-- Set an input filter to constrain the text length to the
4175             specified number. -->
4176        <attr name="maxLength" format="integer" min="0" />
4177        <!-- Place a blurred shadow of text underneath the text, drawn with the
4178             specified color. The text shadow produced does not interact with
4179             properties on View that are responsible for real time shadows,
4180             {@link android.R.styleable#View_elevation elevation} and
4181             {@link android.R.styleable#View_translationZ translationZ}. -->
4182        <attr name="shadowColor" />
4183        <!-- Horizontal offset of the text shadow. -->
4184        <attr name="shadowDx" />
4185        <!-- Vertical offset of the text shadow. -->
4186        <attr name="shadowDy" />
4187        <!-- Blur radius of the text shadow. -->
4188        <attr name="shadowRadius" />
4189        <attr name="autoLink" />
4190        <!-- If set to false, keeps the movement method from being set
4191             to the link movement method even if autoLink causes links
4192             to be found. -->
4193        <attr name="linksClickable" format="boolean" />
4194        <!-- If set, specifies that this TextView has a numeric input method.
4195             The default is false.
4196             {@deprecated Use inputType instead.} -->
4197        <attr name="numeric">
4198            <!-- Input is numeric. -->
4199            <flag name="integer" value="0x01" />
4200            <!-- Input is numeric, with sign allowed. -->
4201            <flag name="signed" value="0x03" />
4202            <!-- Input is numeric, with decimals allowed. -->
4203            <flag name="decimal" value="0x05" />
4204        </attr>
4205        <!-- If set, specifies that this TextView has a numeric input method
4206             and that these specific characters are the ones that it will
4207             accept.
4208             If this is set, numeric is implied to be true.
4209             The default is false. -->
4210        <attr name="digits" format="string" />
4211        <!-- If set, specifies that this TextView has a phone number input
4212             method. The default is false.
4213             {@deprecated Use inputType instead.} -->
4214        <attr name="phoneNumber" format="boolean" />
4215        <!-- If set, specifies that this TextView should use the specified
4216             input method (specified by fully-qualified class name).
4217             {@deprecated Use inputType instead.} -->
4218        <attr name="inputMethod" format="string" />
4219        <!-- If set, specifies that this TextView has a textual input method
4220             and should automatically capitalize what the user types.
4221             The default is "none".
4222             {@deprecated Use inputType instead.} -->
4223        <attr name="capitalize">
4224            <!-- Don't automatically capitalize anything. -->
4225            <enum name="none" value="0" />
4226            <!-- Capitalize the first word of each sentence. -->
4227            <enum name="sentences" value="1" />
4228            <!-- Capitalize the first letter of every word. -->
4229            <enum name="words" value="2" />
4230            <!-- Capitalize every character. -->
4231            <enum name="characters" value="3" />
4232        </attr>
4233        <!-- If set, specifies that this TextView has a textual input method
4234             and automatically corrects some common spelling errors.
4235             The default is "false".
4236             {@deprecated Use inputType instead.} -->
4237        <attr name="autoText" format="boolean" />
4238        <!-- If set, specifies that this TextView has an input method.
4239             It will be a textual one unless it has otherwise been specified.
4240             For TextView, this is false by default.  For EditText, it is
4241             true by default.
4242             {@deprecated Use inputType instead.} -->
4243        <attr name="editable" format="boolean" />
4244        <!-- If set, the text view will include its current complete text
4245             inside of its frozen icicle in addition to meta-data such as
4246             the current cursor position.  By default this is disabled;
4247             it can be useful when the contents of a text view is not stored
4248             in a persistent place such as a content provider. -->
4249        <attr name="freezesText" format="boolean" />
4250        <!-- If set, causes words that are longer than the view is wide
4251             to be ellipsized instead of broken in the middle.
4252             You will often also want to set scrollHorizontally or singleLine
4253             as well so that the text as a whole is also constrained to
4254             a single line instead of still allowed to be broken onto
4255             multiple lines. -->
4256        <attr name="ellipsize" />
4257        <!-- The drawable to be drawn above the text. -->
4258        <attr name="drawableTop" format="reference|color" />
4259        <!-- The drawable to be drawn below the text. -->
4260        <attr name="drawableBottom" format="reference|color" />
4261        <!-- The drawable to be drawn to the left of the text. -->
4262        <attr name="drawableLeft" format="reference|color" />
4263        <!-- The drawable to be drawn to the right of the text. -->
4264        <attr name="drawableRight" format="reference|color" />
4265        <!-- The drawable to be drawn to the start of the text. -->
4266        <attr name="drawableStart" format="reference|color" />
4267        <!-- The drawable to be drawn to the end of the text. -->
4268        <attr name="drawableEnd" format="reference|color" />
4269        <!-- The padding between the drawables and the text. -->
4270        <attr name="drawablePadding" format="dimension" />
4271        <!-- Tint to apply to the compound (left, top, etc.) drawables. -->
4272        <attr name="drawableTint" format="color" />
4273        <!-- Blending mode used to apply the compound (left, top, etc.) drawables tint. -->
4274        <attr name="drawableTintMode">
4275            <!-- The tint is drawn on top of the drawable.
4276                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4277            <enum name="src_over" value="3" />
4278            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4279                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4280            <enum name="src_in" value="5" />
4281            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4282                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4283            <enum name="src_atop" value="9" />
4284            <!-- Multiplies the color and alpha channels of the drawable with those of
4285                 the tint. [Sa * Da, Sc * Dc] -->
4286            <enum name="multiply" value="14" />
4287            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4288            <enum name="screen" value="15" />
4289            <!-- Combines the tint and drawable color and alpha channels, clamping the
4290                 result to valid color values. Saturate(S + D) -->
4291            <enum name="add" value="16" />
4292        </attr>
4293        <!-- Extra spacing between lines of text. -->
4294        <attr name="lineSpacingExtra" format="dimension" />
4295        <!-- Extra spacing between lines of text, as a multiplier. -->
4296        <attr name="lineSpacingMultiplier" format="float" />
4297        <!-- The number of times to repeat the marquee animation. Only applied if the
4298             TextView has marquee enabled. -->
4299        <attr name="marqueeRepeatLimit" format="integer">
4300            <!-- Indicates that marquee should repeat indefinitely. -->
4301            <enum name="marquee_forever" value="-1" />
4302        </attr>
4303        <attr name="inputType" />
4304        <!-- Whether undo should be allowed for editable text. Defaults to true. -->
4305        <attr name="allowUndo" format="boolean" />
4306        <attr name="imeOptions" />
4307        <!-- An addition content type description to supply to the input
4308             method attached to the text view, which is private to the
4309             implementation of the input method.  This simply fills in
4310             the {@link android.view.inputmethod.EditorInfo#privateImeOptions
4311             EditorInfo.privateImeOptions} field when the input
4312             method is connected. -->
4313        <attr name="privateImeOptions" format="string" />
4314        <!-- Supply a value for
4315             {@link android.view.inputmethod.EditorInfo#actionLabel EditorInfo.actionLabel}
4316             used when an input method is connected to the text view. -->
4317        <attr name="imeActionLabel" format="string" />
4318        <!-- Supply a value for
4319             {@link android.view.inputmethod.EditorInfo#actionId EditorInfo.actionId}
4320             used when an input method is connected to the text view. -->
4321        <attr name="imeActionId" format="integer" />
4322        <!-- Reference to an
4323             {@link android.R.styleable#InputExtras &lt;input-extras&gt;}
4324             XML resource containing additional data to
4325             supply to an input method, which is private to the implementation
4326             of the input method.  This simply fills in
4327             the {@link android.view.inputmethod.EditorInfo#extras
4328             EditorInfo.extras} field when the input
4329             method is connected. -->
4330        <attr name="editorExtras" format="reference" />
4331
4332        <!-- Reference to a drawable that will be used to display a text selection
4333             anchor on the left side of a selection region. -->
4334        <attr name="textSelectHandleLeft" />
4335        <!-- Reference to a drawable that will be used to display a text selection
4336             anchor on the right side of a selection region. -->
4337        <attr name="textSelectHandleRight" />
4338        <!-- Reference to a drawable that will be used to display a text selection
4339             anchor for positioning the cursor within text. -->
4340        <attr name="textSelectHandle" />
4341        <!-- The layout of the view that is displayed on top of the cursor to paste inside a
4342             TextEdit field. -->
4343        <attr name="textEditPasteWindowLayout" />
4344        <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. -->
4345        <attr name="textEditNoPasteWindowLayout" />
4346        <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the
4347             insertion cursor because it would be clipped if it were positioned on top. -->
4348        <attr name="textEditSidePasteWindowLayout" />
4349        <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. -->
4350        <attr name="textEditSideNoPasteWindowLayout" />
4351
4352        <!-- Layout of the TextView item that will populate the suggestion popup window. -->
4353        <attr name="textEditSuggestionItemLayout" />
4354
4355
4356        <!-- Reference to a drawable that will be drawn under the insertion cursor. -->
4357        <attr name="textCursorDrawable" />
4358
4359        <!-- Indicates that the content of a non-editable text can be selected. -->
4360        <attr name="textIsSelectable" />
4361        <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
4362        <attr name="textAllCaps" />
4363        <!-- Elegant text height, especially for less compacted complex script text. -->
4364        <attr name="elegantTextHeight" />
4365        <!-- Text letter-spacing. -->
4366        <attr name="letterSpacing" />
4367        <!-- Font feature settings. -->
4368        <attr name="fontFeatureSettings" />
4369        <!-- Break strategy (control over paragraph layout). -->
4370        <attr name="breakStrategy">
4371            <!-- Line breaking uses simple strategy. -->
4372            <enum name="simple" value="0" />
4373            <!-- Line breaking uses high-quality strategy, including hyphenation. -->
4374            <enum name="high_quality" value="1" />
4375            <!-- Line breaking stratgegy balances line lengths. -->
4376            <enum name="balanced" value="2" />
4377        </attr>
4378        <!-- Frequency of automatic hyphenation. -->
4379        <attr name="hyphenationFrequency">
4380            <!-- No hyphenation. -->
4381            <enum name="none" value="0" />
4382            <!-- Less frequent hyphenation, useful for informal use cases, such
4383            as chat messages. -->
4384            <enum name="normal" value="1" />
4385            <!-- Standard amount of hyphenation, useful for running text and for
4386            screens with limited space for text. -->
4387            <enum name="full" value="2" />
4388        </attr>
4389        <!-- Array of indents, one dimension value per line, left side. -->
4390        <attr name="leftIndents" format="reference" />
4391        <!-- Array of indents, one dimension value per line, right side. -->
4392        <attr name="rightIndents" format="reference" />
4393    </declare-styleable>
4394    <declare-styleable name="TextViewAppearance">
4395        <!-- Base text color, typeface, size, and style. -->
4396        <attr name="textAppearance" />
4397    </declare-styleable>
4398    <declare-styleable name="SelectionModeDrawables">
4399        <attr name="actionModeSelectAllDrawable" />
4400        <attr name="actionModeCutDrawable" />
4401        <attr name="actionModeCopyDrawable" />
4402        <attr name="actionModePasteDrawable" />
4403    </declare-styleable>
4404    <declare-styleable name="SuggestionSpan">
4405        <attr name="textUnderlineColor" />
4406        <attr name="textUnderlineThickness" />
4407    </declare-styleable>
4408    <!-- An <code>input-extras</code> is a container for extra data to supply to
4409         an input method.  Contains
4410         one more more {@link #Extra <extra>} tags.  -->
4411    <declare-styleable name="InputExtras">
4412    </declare-styleable>
4413    <declare-styleable name="AutoCompleteTextView">
4414        <!-- Defines the hint displayed in the drop down menu. -->
4415        <attr name="completionHint" format="string" />
4416        <!-- Defines the hint view displayed in the drop down menu. -->
4417        <attr name="completionHintView" format="reference" />
4418        <!-- Defines the number of characters that the user must type before
4419         completion suggestions are displayed in a drop down menu. -->
4420        <attr name="completionThreshold" format="integer" min="1" />
4421        <!-- Selector in a drop down list. -->
4422        <attr name="dropDownSelector" format="reference|color" />
4423        <!-- View to anchor the auto-complete dropdown to. If not specified, the text view itself
4424             is used. -->
4425        <attr name="dropDownAnchor" format="reference" />
4426        <!-- Specifies the basic width of the dropdown. Its value may
4427             be a dimension (such as "12dip") for a constant width,
4428             fill_parent or match_parent to match the width of the
4429             screen, or wrap_content to match the width of
4430             the anchored view. -->
4431        <attr name="dropDownWidth" format="dimension">
4432            <!-- The dropdown should fill the width of the screen.
4433                 This constant is deprecated starting from API Level 8 and
4434                 is replaced by {@code match_parent}. -->
4435            <enum name="fill_parent" value="-1" />
4436            <!-- The dropdown should fit the width of the screen.
4437                 Introduced in API Level 8. -->
4438            <enum name="match_parent" value="-1" />
4439            <!-- The dropdown should fit the width of its anchor. -->
4440            <enum name="wrap_content" value="-2" />
4441        </attr>
4442        <!-- Specifies the basic height of the dropdown. Its value may
4443             be a dimension (such as "12dip") for a constant height,
4444             fill_parent or match_parent to fill the height of the
4445             screen, or wrap_content to match the height of
4446             the content of the drop down. -->
4447        <attr name="dropDownHeight" format="dimension">
4448            <!-- The dropdown should fit the height of the screen.
4449                 This constant is deprecated starting from API Level 8 and
4450                 is replaced by {@code match_parent}. -->
4451            <enum name="fill_parent" value="-1" />
4452            <!-- The dropdown should fit the height of the screen.
4453                 Introduced in API Level 8. -->
4454            <enum name="match_parent" value="-1" />
4455            <!-- The dropdown should fit the height of the content. -->
4456            <enum name="wrap_content" value="-2" />
4457        </attr>
4458        <attr name="inputType" />
4459    </declare-styleable>
4460    <declare-styleable name="PopupWindow">
4461        <!-- The background to use for the popup window. -->
4462        <attr name="popupBackground" format="reference|color" />
4463        <!-- Window elevation to use for the popup window. -->
4464        <attr name="popupElevation" format="dimension" />
4465        <!-- The animation style to use for the popup window. -->
4466        <attr name="popupAnimationStyle" format="reference" />
4467        <!-- Whether the popup window should overlap its anchor view. -->
4468        <attr name="overlapAnchor" format="boolean" />
4469        <!-- Transition used to move views into the popup window. -->
4470        <attr name="popupEnterTransition" format="reference" />
4471        <!-- Transition used to move views out of the popup window. -->
4472        <attr name="popupExitTransition" format="reference" />
4473    </declare-styleable>
4474    <declare-styleable name="ListPopupWindow">
4475        <!-- Amount of pixels by which the drop down should be offset vertically. -->
4476        <attr name="dropDownVerticalOffset" format="dimension" />
4477        <!-- Amount of pixels by which the drop down should be offset horizontally. -->
4478        <attr name="dropDownHorizontalOffset" format="dimension" />
4479    </declare-styleable>
4480    <declare-styleable name="ViewAnimator">
4481        <!-- Identifier for the animation to use when a view is shown. -->
4482        <attr name="inAnimation" format="reference" />
4483        <!-- Identifier for the animation to use when a view is hidden. -->
4484        <attr name="outAnimation" format="reference" />
4485        <!-- Defines whether to animate the current View when the ViewAnimation
4486             is first displayed. -->
4487        <attr name="animateFirstView" format="boolean" />
4488    </declare-styleable>
4489    <declare-styleable name="ViewFlipper">
4490        <attr name="flipInterval" format="integer" min="0" />
4491        <!-- When true, automatically start animating -->
4492        <attr name="autoStart" format="boolean" />
4493    </declare-styleable>
4494    <declare-styleable name="AdapterViewAnimator">
4495        <!-- Identifier for the animation to use when a view is shown. -->
4496        <attr name="inAnimation" />
4497        <!-- Identifier for the animation to use when a view is hidden. -->
4498        <attr name="outAnimation" />
4499        <!--Defines whether the animator loops to the first view once it
4500        has reached the end of the list. -->
4501        <attr name="loopViews" format="boolean" />
4502        <!-- Defines whether to animate the current View when the ViewAnimation
4503        is first displayed. -->
4504        <attr name="animateFirstView" />
4505    </declare-styleable>
4506    <declare-styleable name="AdapterViewFlipper">
4507        <attr name="flipInterval" />
4508        <!-- When true, automatically start animating -->
4509        <attr name="autoStart" />
4510    </declare-styleable>
4511    <declare-styleable name="ViewSwitcher">
4512    </declare-styleable>
4513    <declare-styleable name="ScrollView">
4514        <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
4515        <attr name="fillViewport" format="boolean" />
4516    </declare-styleable>
4517    <declare-styleable name="HorizontalScrollView">
4518        <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
4519        <attr name="fillViewport" />
4520    </declare-styleable>
4521    <declare-styleable name="Spinner">
4522        <!-- The prompt to display when the spinner's dialog is shown. -->
4523        <attr name="prompt" format="reference" />
4524        <!-- Display mode for spinner options. -->
4525        <attr name="spinnerMode" format="enum">
4526            <!-- Spinner options will be presented to the user as a dialog window. -->
4527            <enum name="dialog" value="0" />
4528            <!-- Spinner options will be presented to the user as an inline dropdown
4529                 anchored to the spinner widget itself. -->
4530            <enum name="dropdown" value="1" />
4531        </attr>
4532        <!-- List selector to use for spinnerMode="dropdown" display. -->
4533        <attr name="dropDownSelector" />
4534        <!-- Theme to use for the drop-down or dialog popup window. -->
4535        <attr name="popupTheme" />
4536        <!-- Background drawable to use for the dropdown in spinnerMode="dropdown". -->
4537        <attr name="popupBackground" />
4538        <!-- Window elevation to use for the dropdown in spinnerMode="dropdown". -->
4539        <attr name="popupElevation" />
4540        <!-- Width of the dropdown in spinnerMode="dropdown". -->
4541        <attr name="dropDownWidth" />
4542        <!-- Reference to a layout to use for displaying a prompt in the dropdown for
4543             spinnerMode="dropdown". This layout must contain a TextView with the id
4544             {@code @android:id/text1} to be populated with the prompt text. -->
4545        <attr name="popupPromptView" format="reference" />
4546        <!-- Gravity setting for positioning the currently selected item. -->
4547        <attr name="gravity" />
4548        <!-- Whether this spinner should mark child views as enabled/disabled when
4549             the spinner itself is enabled/disabled. -->
4550        <attr name="disableChildrenWhenDisabled" format="boolean" />
4551    </declare-styleable>
4552
4553    <declare-styleable name="DatePicker">
4554        <!-- The first day of week according to {@link java.util.Calendar}. -->
4555        <attr name="firstDayOfWeek" />
4556        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
4557        <attr name="minDate" format="string" />
4558        <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. -->
4559        <attr name="maxDate" format="string" />
4560
4561        <!-- Whether the spinners are shown. Only valid for "spinner" mode. -->
4562        <attr name="spinnersShown" format="boolean" />
4563        <!-- Whether the calendar view is shown. Only valid for "spinner" mode. -->
4564        <attr name="calendarViewShown" format="boolean" />
4565
4566        <!-- @hide The layout of the date picker. -->
4567        <attr name="internalLayout" format="reference"  />
4568        <!-- @hide The layout of the legacy DatePicker. -->
4569        <attr name="legacyLayout" />
4570
4571        <!-- The text color for the selected date header text, ex. "2014" or
4572             "Tue, Mar 18". This should be a color state list where the
4573             activated state will be used when the year picker or day picker is
4574             active.-->
4575        <attr name="headerTextColor" format="color" />
4576        <!-- The background for the selected date header. -->
4577        <attr name="headerBackground" />
4578
4579        <!-- The list year's text appearance in the list.
4580             {@deprecated Use yearListTextColor. }-->
4581        <attr name="yearListItemTextAppearance" format="reference" />
4582        <!-- @hide The list year's text appearance in the list when activated. -->
4583        <attr name="yearListItemActivatedTextAppearance" format="reference" />
4584        <!-- The text color list of the calendar. -->
4585        <attr name="calendarTextColor" format="color" />
4586
4587        <!-- Defines the look of the widget. Prior to the L release, the only choice was
4588             spinner. As of L, with the Material theme selected, the default layout is calendar,
4589             but this attribute can be used to force spinner to be used instead. -->
4590        <attr name="datePickerMode">
4591            <!-- Date picker with spinner controls to select the date. -->
4592            <enum name="spinner" value="1" />
4593            <!-- Date picker with calendar to select the date. -->
4594            <enum name="calendar" value="2" />
4595        </attr>
4596
4597        <!-- The first year (inclusive), for example "1940".
4598             {@deprecated Use minDate instead.} -->
4599        <attr name="startYear" format="integer" />
4600        <!-- The last year (inclusive), for example "2010".
4601             {@deprecated Use maxDate instead.} -->
4602        <attr name="endYear" format="integer" />
4603        <!-- The text appearance for the month (ex. May) in the selected date header.
4604             {@deprecated Use headerTextColor instead.} -->
4605        <attr name="headerMonthTextAppearance" format="reference" />
4606        <!-- The text appearance for the day of month (ex. 28) in the selected date header.
4607             {@deprecated Use headerTextColor instead.} -->
4608        <attr name="headerDayOfMonthTextAppearance" format="reference" />
4609        <!-- The text appearance for the year (ex. 2014) in the selected date header.
4610             {@deprecated Use headerTextColor instead.} -->
4611        <attr name="headerYearTextAppearance" format="reference" />
4612        <!-- The background color for the header's day of week.
4613             {@deprecated No longer displayed.} -->
4614        <attr name="dayOfWeekBackground" format="color" />
4615        <!-- The text color for the header's day of week.
4616             {@deprecated No longer displayed.} -->
4617        <attr name="dayOfWeekTextAppearance" format="reference" />
4618        <!-- The list year's selected circle color in the list.
4619             {@deprecated No longer displayed.} -->
4620        <attr name="yearListSelectorColor" format="color" />
4621    </declare-styleable>
4622
4623    <declare-styleable name="TwoLineListItem">
4624        <attr name="mode">
4625            <!-- Always show only the first line. -->
4626            <enum name="oneLine" value="1" />
4627            <!-- When selected show both lines, otherwise show only the first line.
4628                 This is the default mode. -->
4629            <enum name="collapsing" value="2" />
4630            <!-- Always show both lines. -->
4631            <enum name="twoLine" value="3" />
4632        </attr>
4633    </declare-styleable>
4634
4635    <!-- SlidingDrawer specific attributes. These attributes are used to configure
4636         a SlidingDrawer from XML. -->
4637    <declare-styleable name="SlidingDrawer">
4638        <!-- Identifier for the child that represents the drawer's handle. -->
4639        <attr name="handle" format="reference" />
4640        <!-- Identifier for the child that represents the drawer's content. -->
4641        <attr name="content" format="reference" />
4642        <!-- Orientation of the SlidingDrawer. -->
4643        <attr name="orientation" />
4644        <!-- Extra offset for the handle at the bottom of the SlidingDrawer. -->
4645        <attr name="bottomOffset" format="dimension"  />
4646        <!-- Extra offset for the handle at the top of the SlidingDrawer. -->
4647        <attr name="topOffset" format="dimension"  />
4648        <!-- Indicates whether the drawer can be opened/closed by a single tap
4649             on the handle.  (If false, the user must drag or fling, or click
4650             using the trackball, to open/close the drawer.)  Default is true. -->
4651        <attr name="allowSingleTap" format="boolean" />
4652        <!-- Indicates whether the drawer should be opened/closed with an animation
4653             when the user clicks the handle. Default is true. -->
4654        <attr name="animateOnClick" format="boolean" />
4655    </declare-styleable>
4656
4657    <!-- GestureOverlayView specific attributes. These attributes are used to configure
4658         a GestureOverlayView from XML. -->
4659    <declare-styleable name="GestureOverlayView">
4660        <!-- Width of the stroke used to draw the gesture. -->
4661        <attr name="gestureStrokeWidth" format="float" />
4662        <!-- Color used to draw a gesture. -->
4663        <attr name="gestureColor" format="color" />
4664        <!-- Color used to draw the user's strokes until we are sure it's a gesture. -->
4665        <attr name="uncertainGestureColor" format="color" />
4666        <!-- Time, in milliseconds, to wait before the gesture fades out after the user
4667             is done drawing it. -->
4668        <attr name="fadeOffset" format="integer" />
4669        <!-- Duration, in milliseconds, of the fade out effect after the user is done
4670             drawing a gesture. -->
4671        <attr name="fadeDuration" format="integer" />
4672        <!-- Defines the type of strokes that define a gesture. -->
4673        <attr name="gestureStrokeType">
4674            <!-- A gesture is made of only one stroke. -->
4675            <enum name="single" value="0" />
4676            <!-- A gesture is made of multiple strokes. -->
4677            <enum name="multiple" value="1" />
4678        </attr>
4679        <!-- Minimum length of a stroke before it is recognized as a gesture. -->
4680        <attr name="gestureStrokeLengthThreshold" format="float" />
4681        <!-- Squareness threshold of a stroke before it is recognized as a gesture. -->
4682        <attr name="gestureStrokeSquarenessThreshold" format="float" />
4683        <!-- Minimum curve angle a stroke must contain before it is recognized as a gesture. -->
4684        <attr name="gestureStrokeAngleThreshold" format="float" />
4685        <!-- Defines whether the overlay should intercept the motion events when a gesture
4686             is recognized. -->
4687        <attr name="eventsInterceptionEnabled" format="boolean" />
4688        <!-- Defines whether the gesture will automatically fade out after being recognized. -->
4689        <attr name="fadeEnabled" format="boolean" />
4690        <!-- Indicates whether horizontal (when the orientation is vertical) or vertical
4691             (when orientation is horizontal) strokes automatically define a gesture. -->
4692        <attr name="orientation" />
4693    </declare-styleable>
4694
4695    <declare-styleable name="QuickContactBadge">
4696        <attr name="quickContactWindowSize">
4697            <enum name="modeSmall" value="1" />
4698            <enum name="modeMedium" value="2" />
4699            <enum name="modeLarge" value="3" />
4700        </attr>
4701    </declare-styleable>
4702
4703    <!-- ======================================= -->
4704    <!-- Widget package parent layout attributes -->
4705    <!-- ======================================= -->
4706    <eat-comment />
4707
4708    <declare-styleable name="AbsoluteLayout_Layout">
4709        <attr name="layout_x" format="dimension" />
4710        <attr name="layout_y" format="dimension" />
4711    </declare-styleable>
4712    <declare-styleable name="LinearLayout_Layout">
4713        <attr name="layout_width" />
4714        <attr name="layout_height" />
4715        <attr name="layout_weight" format="float" />
4716        <attr name="layout_gravity" />
4717    </declare-styleable>
4718    <declare-styleable name="GridLayout_Layout">
4719        <!-- The row boundary delimiting the top of the group of cells
4720        occupied by this view. -->
4721        <attr name="layout_row" format="integer" />
4722        <!-- The row span: the difference between the top and bottom
4723        boundaries delimiting the group of cells occupied by this view.
4724        The default is one.
4725        See {@link android.widget.GridLayout.Spec}. -->
4726        <attr name="layout_rowSpan" format="integer" min="1" />
4727        <!-- The relative proportion of vertical space that should be allocated to this view
4728        during excess space distribution. -->
4729        <attr name="layout_rowWeight" format="float" />
4730        <!-- The column boundary delimiting the left of the group of cells
4731        occupied by this view. -->
4732        <attr name="layout_column" />
4733        <!-- The column span: the difference between the right and left
4734        boundaries delimiting the group of cells occupied by this view.
4735        The default is one.
4736        See {@link android.widget.GridLayout.Spec}. -->
4737        <attr name="layout_columnSpan" format="integer" min="1" />
4738        <!-- The relative proportion of horizontal space that should be allocated to this view
4739        during excess space distribution. -->
4740        <attr name="layout_columnWeight" format="float" />
4741        <!-- Gravity specifies how a component should be placed in its group of cells.
4742        The default is LEFT | BASELINE.
4743        See {@link android.widget.GridLayout.LayoutParams#setGravity(int)}. -->
4744        <attr name="layout_gravity" />
4745    </declare-styleable>
4746    <declare-styleable name="FrameLayout_Layout">
4747        <attr name="layout_gravity" />
4748    </declare-styleable>
4749    <declare-styleable name="RelativeLayout_Layout">
4750        <!-- Positions the right edge of this view to the left of the given anchor view ID.
4751             Accommodates right margin of this view and left margin of anchor view. -->
4752        <attr name="layout_toLeftOf" format="reference" />
4753        <!-- Positions the left edge of this view to the right of the given anchor view ID.
4754            Accommodates left margin of this view and right margin of anchor view. -->
4755        <attr name="layout_toRightOf" format="reference" />
4756        <!-- Positions the bottom edge of this view above the given anchor view ID.
4757            Accommodates bottom margin of this view and top margin of anchor view. -->
4758        <attr name="layout_above" format="reference" />
4759        <!-- Positions the top edge of this view below the given anchor view ID.
4760            Accommodates top margin of this view and bottom margin of anchor view. -->
4761        <attr name="layout_below" format="reference" />
4762        <!-- Positions the baseline of this view on the baseline of the given anchor view ID. -->
4763        <attr name="layout_alignBaseline" format="reference" />
4764        <!-- Makes the left edge of this view match the left edge of the given anchor view ID.
4765            Accommodates left margin. -->
4766        <attr name="layout_alignLeft" format="reference" />
4767        <!-- Makes the top edge of this view match the top edge of the given anchor view ID.
4768            Accommodates top margin. -->
4769        <attr name="layout_alignTop" format="reference" />
4770        <!-- Makes the right edge of this view match the right edge of the given anchor view ID.
4771            Accommodates right margin. -->
4772        <attr name="layout_alignRight" format="reference" />
4773        <!-- Makes the bottom edge of this view match the bottom edge of the given anchor view ID.
4774            Accommodates bottom margin. -->
4775        <attr name="layout_alignBottom" format="reference" />
4776        <!-- If true, makes the left edge of this view match the left edge of the parent.
4777            Accommodates left margin. -->
4778        <attr name="layout_alignParentLeft" format="boolean" />
4779        <!-- If true, makes the top edge of this view match the top edge of the parent.
4780            Accommodates top margin. -->
4781        <attr name="layout_alignParentTop" format="boolean" />
4782        <!-- If true, makes the right edge of this view match the right edge of the parent.
4783            Accommodates right margin. -->
4784        <attr name="layout_alignParentRight" format="boolean" />
4785        <!-- If true, makes the bottom edge of this view match the bottom edge of the parent.
4786            Accommodates bottom margin. -->
4787        <attr name="layout_alignParentBottom" format="boolean" />
4788        <!-- If true, centers this child horizontally and vertically within its parent. -->
4789        <attr name="layout_centerInParent" format="boolean" />
4790        <!-- If true, centers this child horizontally within its parent. -->
4791        <attr name="layout_centerHorizontal" format="boolean" />
4792        <!-- If true, centers this child vertically within its parent. -->
4793        <attr name="layout_centerVertical" format="boolean" />
4794        <!-- If set to true, the parent will be used as the anchor when the anchor cannot be
4795             be found for layout_toLeftOf, layout_toRightOf, etc. -->
4796        <attr name="layout_alignWithParentIfMissing" format="boolean" />
4797        <!-- Positions the end edge of this view to the start of the given anchor view ID.
4798             Accommodates end margin of this view and start margin of anchor view. -->
4799        <attr name="layout_toStartOf" format="reference" />
4800        <!-- Positions the start edge of this view to the end of the given anchor view ID.
4801             Accommodates start margin of this view and end margin of anchor view. -->
4802        <attr name="layout_toEndOf" format="reference" />
4803        <!-- Makes the start edge of this view match the start edge of the given anchor view ID.
4804            Accommodates start margin. -->
4805        <attr name="layout_alignStart" format="reference" />
4806        <!-- Makes the end edge of this view match the end edge of the given anchor view ID.
4807            Accommodates end margin. -->
4808        <attr name="layout_alignEnd" format="reference" />
4809        <!-- If true, makes the start edge of this view match the start edge of the parent.
4810            Accommodates start margin. -->
4811        <attr name="layout_alignParentStart" format="boolean" />
4812        <!-- If true, makes the end edge of this view match the end edge of the parent.
4813            Accommodates end margin. -->
4814        <attr name="layout_alignParentEnd" format="boolean" />
4815    </declare-styleable>
4816    <declare-styleable name="VerticalSlider_Layout">
4817        <attr name="layout_scale" format="float" />
4818    </declare-styleable>
4819
4820    <!-- attributes for internal rotary widget used in lock screen and phone app
4821      @hide -->
4822    <declare-styleable name="RotarySelector">
4823        <!-- Use "horizontal" or "vertical".  The default is horizontal. -->
4824        <attr name="orientation" />
4825    </declare-styleable>
4826
4827    <!-- @hide -->
4828    <declare-styleable name="WeightedLinearLayout">
4829        <attr name="majorWeightMin" format="float" />
4830        <attr name="minorWeightMin" format="float" />
4831        <attr name="majorWeightMax" format="float" />
4832        <attr name="minorWeightMax" format="float" />
4833    </declare-styleable>
4834
4835    <declare-styleable name="CalendarView">
4836        <!-- The first day of week according to {@link java.util.Calendar}. -->
4837        <attr name="firstDayOfWeek" format="integer" />
4838        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
4839        <attr name="minDate" />
4840        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
4841        <attr name="maxDate" />
4842        <!-- The text appearance for the month and year in the calendar header. -->
4843        <attr name="monthTextAppearance" format="reference" />
4844        <!-- The text appearance for the week day abbreviation in the calendar header. -->
4845        <attr name="weekDayTextAppearance" format="reference" />
4846        <!-- The text appearance for the day numbers in the calendar grid. -->
4847        <attr name="dateTextAppearance" format="reference" />
4848        <!-- @hide The background color used for the day selection indicator. -->
4849        <attr name="daySelectorColor" format="color" />
4850        <!-- @hide The background color used for the day highlight indicator. -->
4851        <attr name="dayHighlightColor" format="color" />
4852        <!-- @hide Which style of calendar delegate to use. -->
4853        <attr name="calendarViewMode">
4854            <enum name="holo" value="0" />
4855            <enum name="material" value="1" />
4856        </attr>
4857
4858        <!-- @deprecated Whether do show week numbers. -->
4859        <attr name="showWeekNumber" format="boolean" />
4860        <!-- @deprecated The number of weeks to be shown. -->
4861        <attr name="shownWeekCount" format="integer"/>
4862        <!-- @deprecated The background color for the selected week. -->
4863        <attr name="selectedWeekBackgroundColor" format="color|reference" />
4864        <!-- @deprecated The color for the dates of the focused month. -->
4865        <attr name="focusedMonthDateColor" format="color|reference" />
4866        <!-- @deprecated The color for the dates of an unfocused month. -->
4867        <attr name="unfocusedMonthDateColor" format="color|reference" />
4868        <!-- @deprecated The color for the week numbers. -->
4869        <attr name="weekNumberColor" format="color|reference" />
4870        <!-- @deprecated The color for the separator line between weeks. -->
4871        <attr name="weekSeparatorLineColor" format="color|reference" />
4872        <!-- @deprecated Drawable for the vertical bar shown at the beginning and at the end of the selected date. -->
4873        <attr name="selectedDateVerticalBar" format="reference" />
4874    </declare-styleable>
4875
4876    <declare-styleable name="NumberPicker">
4877        <!-- @hide Color for the solid color background if such for optimized rendering. -->
4878        <attr name="solidColor" format="color|reference" />
4879        <!-- @hide The divider for making the selection area. -->
4880        <attr name="selectionDivider" format="reference" />
4881        <!-- @hide The height of the selection divider. -->
4882        <attr name="selectionDividerHeight" format="dimension" />
4883        <!-- @hide The distance between the two selection dividers. -->
4884        <attr name="selectionDividersDistance" format="dimension" />
4885        <!-- @hide The min height of the NumberPicker. -->
4886        <attr name="internalMinHeight" format="dimension" />
4887        <!-- @hide The max height of the NumberPicker. -->
4888        <attr name="internalMaxHeight" format="dimension" />
4889        <!-- @hide The min width of the NumberPicker. -->
4890        <attr name="internalMinWidth" format="dimension" />
4891        <!-- @hide The max width of the NumberPicker. -->
4892        <attr name="internalMaxWidth" format="dimension" />
4893        <!-- @hide The layout of the number picker. -->
4894        <attr name="internalLayout" />
4895        <!-- @hide The drawable for pressed virtual (increment/decrement) buttons. -->
4896        <attr name="virtualButtonPressedDrawable" format="reference"/>
4897        <!-- @hide If true then the selector wheel is hidden until the picker has focus. -->
4898        <attr name="hideWheelUntilFocused" format="boolean"/>
4899    </declare-styleable>
4900
4901    <declare-styleable name="TimePicker">
4902        <!-- @hide The layout of the legacy time picker. -->
4903        <attr name="legacyLayout" format="reference" />
4904        <!-- @hide The layout of the time picker. -->
4905        <attr name="internalLayout" />
4906
4907        <!-- The text color for the selected time header text, ex. "12" or
4908             "PM". This should be a color state list where the activated state
4909             will be used when the minute picker or hour picker is active.-->
4910        <attr name="headerTextColor" />
4911        <!-- The background for the header containing the currently selected time. -->
4912        <attr name="headerBackground" />
4913
4914        <!-- The color for the hours/minutes numbers. This should be a color
4915             state list where the activated state will be used when the number
4916             is active.-->
4917        <attr name="numbersTextColor" format="color" />
4918        <!-- The color for the inner hours numbers used in 24-hour mode. This
4919             should be a color state list where the activated state will be
4920             used when the number is active.-->
4921        <attr name="numbersInnerTextColor" format="color" />
4922        <!-- The background color for the hours/minutes numbers. -->
4923        <attr name="numbersBackgroundColor" format="color" />
4924        <!-- The color for the hours/minutes selector. -->
4925        <attr name="numbersSelectorColor" format="color" />
4926
4927        <!-- Defines the look of the widget. Prior to the L release, the only choice was
4928             spinner. As of L, with the Material theme selected, the default layout is clock,
4929             but this attribute can be used to force spinner to be used instead. -->
4930        <attr name="timePickerMode">
4931            <!-- Time picker with spinner controls to select the time. -->
4932            <enum name="spinner" value="1" />
4933            <!-- Time picker with clock face to select the time. -->
4934            <enum name="clock" value="2" />
4935        </attr>
4936
4937        <!-- The text appearance for the AM/PM header.
4938             @deprecated Use headerTextColor instead. -->
4939        <attr name="headerAmPmTextAppearance" format="reference" />
4940        <!-- The text appearance for the time header.
4941             @deprecated Use headerTextColor instead. -->
4942        <attr name="headerTimeTextAppearance" format="reference" />
4943        <!-- The color for the AM/PM selectors.
4944             {@deprecated Use headerTextColor instead.}-->
4945        <attr name="amPmTextColor" format="color" />
4946        <!-- The background color state list for the AM/PM selectors.
4947             {@deprecated Use headerBackground instead.}-->
4948        <attr name="amPmBackgroundColor" format="color" />
4949    </declare-styleable>
4950
4951    <!-- ========================= -->
4952    <!-- Drawable class attributes -->
4953    <!-- ========================= -->
4954    <eat-comment />
4955
4956    <!-- Base attributes that are available to all Drawable objects. -->
4957    <declare-styleable name="Drawable">
4958        <!-- Provides initial visibility state of the drawable; the default
4959             value is false.  See
4960             {@link android.graphics.drawable.Drawable#setVisible}. -->
4961        <attr name="visible" format="boolean" />
4962        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
4963             RTL (right-to-left).  See
4964             {@link android.graphics.drawable.Drawable#setAutoMirrored}. -->
4965        <attr name="autoMirrored" format="boolean" />
4966    </declare-styleable>
4967
4968    <!-- Drawable used to render several states. Each state is represented by
4969         a child drawable. -->
4970    <declare-styleable name="StateListDrawable">
4971        <!-- Indicates whether the drawable should be initially visible. -->
4972        <attr name="visible" />
4973        <!-- If true, allows the drawable's padding to change based on the
4974             current state that is selected.  If false, the padding will
4975             stay the same (based on the maximum padding of all the states).
4976             Enabling this feature requires that the owner of the drawable
4977             deal with performing layout when the state changes, which is
4978             often not supported. -->
4979        <attr name="variablePadding" format="boolean" />
4980        <!-- If true, the drawable's reported internal size will remain
4981             constant as the state changes; the size is the maximum of all
4982             of the states.  If false, the size will vary based on the
4983             current state. -->
4984        <attr name="constantSize" format="boolean" />
4985        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
4986             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
4987             an RGB 565 screen). -->
4988        <attr name="dither" format="boolean" />
4989        <!-- Amount of time (in milliseconds) to fade in a new state drawable. -->
4990        <attr name="enterFadeDuration" format="integer" />
4991        <!-- Amount of time (in milliseconds) to fade out an old state drawable. -->
4992        <attr name="exitFadeDuration" format="integer" />
4993        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
4994             RTL (right-to-left). -->
4995        <attr name="autoMirrored"/>
4996    </declare-styleable>
4997
4998    <!-- Drawable used to render several states with animated transitions. Each state
4999         is represented by a child drawable with an optional keyframe ID. -->
5000    <declare-styleable name="AnimatedStateListDrawable">
5001        <!-- Indicates whether the drawable should be initially visible. -->
5002        <attr name="visible" />
5003        <!-- If true, allows the drawable's padding to change based on the
5004             current state that is selected.  If false, the padding will
5005             stay the same (based on the maximum padding of all the states).
5006             Enabling this feature requires that the owner of the drawable
5007             deal with performing layout when the state changes, which is
5008             often not supported. -->
5009        <attr name="variablePadding" />
5010        <!-- If true, the drawable's reported internal size will remain
5011             constant as the state changes; the size is the maximum of all
5012             of the states.  If false, the size will vary based on the
5013             current state. -->
5014        <attr name="constantSize" />
5015        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5016             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5017             an RGB 565 screen). -->
5018        <attr name="dither" />
5019        <!-- Amount of time (in milliseconds) to fade in a new state drawable. -->
5020        <attr name="enterFadeDuration" />
5021        <!-- Amount of time (in milliseconds) to fade out an old state drawable. -->
5022        <attr name="exitFadeDuration" />
5023        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5024             RTL (right-to-left). -->
5025        <attr name="autoMirrored"/>
5026    </declare-styleable>
5027
5028    <!-- Represents a single state inside a StateListDrawable. -->
5029    <declare-styleable name="StateListDrawableItem">
5030        <!-- Reference to a drawable resource to use for the state. If not
5031             given, the drawable must be defined by the first child tag. -->
5032        <attr name="drawable" />
5033    </declare-styleable>
5034
5035    <!-- Transition used to animate between states with keyframe IDs. -->
5036    <declare-styleable name="AnimatedStateListDrawableItem">
5037        <!-- Reference to a drawable resource to use for the frame.  If not
5038             given, the drawable must be defined by the first child tag. -->
5039        <attr name="drawable" />
5040        <!-- Keyframe identifier for use in specifying transitions. -->
5041        <attr name="id" />
5042    </declare-styleable>
5043
5044    <!-- Transition used to animate between states with keyframe IDs. -->
5045    <declare-styleable name="AnimatedStateListDrawableTransition">
5046        <!-- Keyframe identifier for the starting state. -->
5047        <attr name="fromId" format="reference" />
5048        <!-- Keyframe identifier for the ending state. -->
5049        <attr name="toId" format="reference" />
5050        <!-- Reference to a animation drawable resource to use for the frame.  If not
5051             given, the animation drawable must be defined by the first child tag. -->
5052        <attr name="drawable" />
5053        <!-- Whether this transition is reversible. -->
5054        <attr name="reversible" format="boolean" />
5055    </declare-styleable>
5056
5057    <!-- Drawable used to render several animated frames. -->
5058    <declare-styleable name="AnimationDrawable">
5059        <attr name="visible" />
5060        <attr name="variablePadding" />
5061        <!-- If true, the animation will only run a single time and then
5062             stop.  If false (the default), it will continually run,
5063             restarting at the first frame after the last has finished. -->
5064        <attr name="oneshot" format="boolean" />
5065    </declare-styleable>
5066
5067    <!-- Represents a single frame inside an AnimationDrawable. -->
5068    <declare-styleable name="AnimationDrawableItem">
5069        <!-- Amount of time (in milliseconds) to display this frame. -->
5070        <attr name="duration" format="integer" />
5071        <!-- Reference to a drawable resource to use for the frame.  If not
5072             given, the drawable must be defined by the first child tag. -->
5073        <attr name="drawable" format="reference" />
5074    </declare-styleable>
5075
5076    <!-- Attributes that can be assigned to a StateListAnimator item. -->
5077    <declare-styleable name="StateListAnimatorItem">
5078        <attr name="animation"/>
5079    </declare-styleable>
5080
5081    <!-- Attributes that can be assigned to a ColorStateList item. -->
5082    <declare-styleable name="ColorStateListItem">
5083        <!-- Base color for this state. -->
5084        <attr name="color" />
5085        <!-- Alpha multiplier applied to the base color. -->
5086        <attr name="alpha" />
5087    </declare-styleable>
5088
5089    <!-- Drawable used to render a geometric shape, with a gradient or a solid color. -->
5090    <declare-styleable name="GradientDrawable">
5091        <!-- Indicates whether the drawable should intially be visible. -->
5092        <attr name="visible" />
5093        <!-- Enables or disables dithering. -->
5094        <attr name="dither" />
5095        <!-- Indicates what shape to fill with a gradient. -->
5096        <attr name="shape">
5097            <!-- Rectangle shape, with optional rounder corners. -->
5098            <enum name="rectangle" value="0" />
5099            <!-- Oval shape. -->
5100            <enum name="oval" value="1" />
5101            <!-- Line shape. -->
5102            <enum name="line" value="2" />
5103            <!-- Ring shape. -->
5104            <enum name="ring" value="3" />
5105        </attr>
5106        <!-- Inner radius of the ring expressed as a ratio of the ring's width. For instance,
5107             if innerRadiusRatio=9, then the inner radius equals the ring's width divided by 9.
5108             This value is ignored if innerRadius is defined. Default value is 9. -->
5109        <attr name="innerRadiusRatio" format="float" />
5110        <!-- Thickness of the ring expressed as a ratio of the ring's width. For instance,
5111             if thicknessRatio=3, then the thickness equals the ring's width divided by 3.
5112             This value is ignored if innerRadius is defined. Default value is 3. -->
5113        <attr name="thicknessRatio" format="float" />
5114        <!-- Inner radius of the ring. When defined, innerRadiusRatio is ignored. -->
5115        <attr name="innerRadius" format="dimension" />
5116        <!-- Thickness of the ring. When defined, thicknessRatio is ignored. -->
5117        <attr name="thickness" format="dimension" />
5118        <!-- Indicates whether the drawable's level affects the way the gradient is drawn. -->
5119        <attr name="useLevel" />
5120        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5121             no tint is applied. May be a color state list. -->
5122        <attr name="tint" />
5123        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5124             default value is src_in, which treats the drawable as an alpha mask. -->
5125        <attr name="tintMode" />
5126        <!-- Left optical inset.
5127             @hide Until optical insets are fully supported. -->
5128        <attr name="opticalInsetLeft" />
5129        <!-- Top optical inset.
5130             @hide Until optical insets are fully supported. -->
5131        <attr name="opticalInsetTop" />
5132        <!-- Right optical inset.
5133             @hide Until optical insets are fully supported. -->
5134        <attr name="opticalInsetRight" />
5135        <!-- Bottom optical inset.
5136             @hide Until optical insets are fully supported. -->
5137        <attr name="opticalInsetBottom" />
5138    </declare-styleable>
5139
5140    <!-- Used to specify the size of the shape for GradientDrawable. -->
5141    <declare-styleable name="GradientDrawableSize">
5142        <!-- Width of the gradient shape. -->
5143        <attr name="width" />
5144        <!-- Height of the gradient shape. -->
5145        <attr name="height" />
5146    </declare-styleable>
5147
5148    <!-- Used to describe the gradient used to fill the shape of a GradientDrawable. -->
5149    <declare-styleable name="GradientDrawableGradient">
5150        <!-- Start color of the gradient. -->
5151        <attr name="startColor" format="color" />
5152        <!-- Optional center color. For linear gradients, use centerX or centerY
5153             to place the center color. -->
5154        <attr name="centerColor" format="color" />
5155        <!-- End color of the gradient. -->
5156        <attr name="endColor" format="color" />
5157        <attr name="useLevel" format="boolean" />
5158        <!-- Angle of the gradient. -->
5159        <attr name="angle" format="float" />
5160        <!-- Type of gradient. The default type is linear. -->
5161        <attr name="type">
5162            <!-- Linear gradient. -->
5163            <enum name="linear" value="0" />
5164            <!-- Radial, or circular, gradient. -->
5165            <enum name="radial" value="1" />
5166            <!-- Sweep, or angled or diamond, gradient. -->
5167            <enum name="sweep"  value="2" />
5168        </attr>
5169        <!-- X coordinate of the origin of the gradient within the shape. -->
5170        <attr name="centerX" format="float|fraction" />
5171        <!-- Y coordinate of the origin of the gradient within the shape. -->
5172        <attr name="centerY" format="float|fraction" />
5173        <!-- Radius of the gradient, used only with radial gradient. -->
5174        <attr name="gradientRadius" format="float|fraction|dimension" />
5175    </declare-styleable>
5176
5177    <!-- Used to fill the shape of GradientDrawable with a solid color. -->
5178    <declare-styleable name="GradientDrawableSolid">
5179        <!-- Solid color for the gradient shape. -->
5180        <attr name="color" format="color" />
5181    </declare-styleable>
5182
5183    <!-- Used to describe the optional stroke of a GradientDrawable. -->
5184    <declare-styleable name="GradientDrawableStroke">
5185        <!-- Width of the gradient shape's stroke. -->
5186        <attr name="width" />
5187        <!-- Color of the gradient shape's stroke. -->
5188        <attr name="color" />
5189        <!-- Length of a dash in the stroke. -->
5190        <attr name="dashWidth" format="dimension" />
5191        <!-- Gap between dashes in the stroke. -->
5192        <attr name="dashGap" format="dimension" />
5193    </declare-styleable>
5194
5195    <!-- Describes the corners for the rectangle shape of a GradientDrawable.
5196         This can be used to render rounded corners. -->
5197    <declare-styleable name="DrawableCorners">
5198        <!-- Defines the radius of the four corners. -->
5199        <attr name="radius" format="dimension" />
5200        <!-- Radius of the top left corner. -->
5201        <attr name="topLeftRadius" format="dimension" />
5202        <!-- Radius of the top right corner. -->
5203        <attr name="topRightRadius" format="dimension" />
5204        <!-- Radius of the bottom left corner. -->
5205        <attr name="bottomLeftRadius" format="dimension" />
5206        <!-- Radius of the bottom right corner. -->
5207        <attr name="bottomRightRadius" format="dimension" />
5208    </declare-styleable>
5209
5210    <!-- Used to specify the optional padding of a GradientDrawable. -->
5211    <declare-styleable name="GradientDrawablePadding">
5212        <!-- Amount of left padding inside the gradient shape. -->
5213        <attr name="left" format="dimension" />
5214        <!-- Amount of top padding inside the gradient shape. -->
5215        <attr name="top" format="dimension" />
5216        <!-- Amount of right padding inside the gradient shape. -->
5217        <attr name="right" format="dimension" />
5218        <!-- Amount of bottom padding inside the gradient shape. -->
5219        <attr name="bottom" format="dimension" />
5220    </declare-styleable>
5221
5222    <!-- Drawable used to render several drawables stacked on top of each other.
5223         Each child drawable can be controlled individually. -->
5224    <declare-styleable name="LayerDrawable">
5225        <!-- Indicates the opacity of the layer. This can be useful to allow the
5226              system to enable drawing optimizations. The default value is
5227              translucent. -->
5228        <attr name="opacity">
5229            <!-- Indicates that the layer is opaque and contains no transparent
5230                 nor translucent pixels. -->
5231            <enum name="opaque" value="-1" />
5232            <!-- The layer is completely transparent (no pixel will be drawn.) -->
5233            <enum name="transparent" value="-2" />
5234            <!-- The layer has translucent pixels. -->
5235            <enum name="translucent" value="-3" />
5236        </attr>
5237        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5238             RTL (right-to-left). -->
5239        <attr name="autoMirrored" />
5240        <!-- Indicates how layer padding should affect the bounds of subsequent layers.
5241             The default padding mode value is nest. -->
5242        <attr name="paddingMode">
5243            <!-- Nest each layer inside the padding of the previous layer. -->
5244            <enum name="nest" value="0" />
5245            <!-- Stack each layer directly atop the previous layer. -->
5246            <enum name="stack" value="1" />
5247        </attr>
5248        <!-- Explicit top padding. Overrides child padding. -->
5249        <attr name="paddingTop" />
5250        <!-- Explicit bottom padding. Overrides child padding. -->
5251        <attr name="paddingBottom" />
5252        <!-- Explicit left padding. Overrides child padding. -->
5253        <attr name="paddingLeft" />
5254        <!-- Explicit right padding. Overrides child padding. -->
5255        <attr name="paddingRight" />
5256        <!-- Explicit start padding. Overrides child padding. Takes precedence
5257             over absolute padding (e.g. left when layout direction is LTR). -->
5258        <attr name="paddingStart" />
5259        <!-- Explicit end padding. Overrides child padding. Takes precedence
5260             over absolute padding (e.g. right when layout direction is LTR). -->
5261        <attr name="paddingEnd" />
5262    </declare-styleable>
5263
5264    <!-- Describes an item (or child) of a LayerDrawable. -->
5265    <declare-styleable name="LayerDrawableItem">
5266        <!-- Left inset to apply to the layer. -->
5267        <attr name="left" />
5268        <!-- Top inset to apply to the layer. -->
5269        <attr name="top" />
5270        <!-- Right inset to apply to the layer. -->
5271        <attr name="right" />
5272        <!-- Bottom inset to apply to the layer. -->
5273        <attr name="bottom" />
5274        <!-- Start inset to apply to the layer. Overrides {@code left} or
5275             {@code right} depending on layout direction. -->
5276        <attr name="start" format="dimension" />
5277        <!-- End inset to apply to the layer. Overrides {@code left} or
5278             {@code right} depending on layout direction. -->
5279        <attr name="end" format="dimension" />
5280        <!-- Width of the layer. Defaults to the layer's intrinsic width. -->
5281        <attr name="width" />
5282        <!-- Height of the layer. Defaults to the layer's intrinsic height -->
5283        <attr name="height" />
5284        <!-- Gravity used to align the layer within its container. If no value
5285             is specified, the default behavior depends on whether an explicit
5286             width or height has been set, If no dimension is set, gravity in
5287             that direction defaults to {@code fill_horizontal} or
5288             {@code fill_vertical}; otherwise, it defaults to {@code left} or
5289             {@code top}. -->
5290        <attr name="gravity" />
5291        <!-- Drawable used to render the layer. -->
5292        <attr name="drawable" />
5293        <!-- Identifier of the layer. This can be used to retrieve the layer
5294             from a drawable container. -->
5295        <attr name="id" />
5296    </declare-styleable>
5297
5298    <declare-styleable name="LevelListDrawableItem">
5299        <!-- The minimum level allowed for this item. -->
5300        <attr name="minLevel" format="integer" />
5301        <!-- The maximum level allowed for this item. -->
5302        <attr name="maxLevel" format="integer" />
5303        <attr name="drawable" />
5304    </declare-styleable>
5305
5306    <!-- Drawable used to rotate another drawable. -->
5307    <declare-styleable name="RotateDrawable">
5308        <attr name="visible" />
5309        <attr name="fromDegrees" format="float" />
5310        <attr name="toDegrees" format="float" />
5311        <attr name="pivotX" format="float|fraction" />
5312        <attr name="pivotY" format="float|fraction" />
5313        <attr name="drawable" />
5314    </declare-styleable>
5315
5316    <declare-styleable name="AnimatedRotateDrawable">
5317        <attr name="visible" />
5318        <attr name="frameDuration" format="integer" />
5319        <attr name="framesCount" format="integer" />
5320        <attr name="pivotX" />
5321        <attr name="pivotY" />
5322        <attr name="drawable" />
5323    </declare-styleable>
5324
5325    <!-- Drawable used to render the Material progress indicator. -->
5326    <declare-styleable name="MaterialProgressDrawable">
5327        <attr name="visible" />
5328        <attr name="thickness" />
5329        <attr name="innerRadius" />
5330        <attr name="width" />
5331        <attr name="height" />
5332        <attr name="color" />
5333    </declare-styleable>
5334
5335    <declare-styleable name="InsetDrawable">
5336        <attr name="visible" />
5337        <attr name="drawable" />
5338        <attr name="inset"  format="dimension"/>
5339        <attr name="insetLeft" format="dimension" />
5340        <attr name="insetRight" format="dimension" />
5341        <attr name="insetTop" format="dimension" />
5342        <attr name="insetBottom" format="dimension" />
5343    </declare-styleable>
5344
5345    <!-- Drawable used to draw bitmaps. -->
5346    <declare-styleable name="BitmapDrawable">
5347        <!-- Identifier of the bitmap file. This attribute is mandatory. -->
5348        <attr name="src" />
5349        <!-- Enables or disables antialiasing. Antialiasing can be used to smooth the
5350             edges of a bitmap when rotated. Default value is false. -->
5351        <attr name="antialias" format="boolean" />
5352        <!-- Enables or disables bitmap filtering. Filtering is used when the bitmap is
5353             shrunk or stretched to smooth its apperance. Default value is true. -->
5354        <attr name="filter" format="boolean" />
5355        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5356             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5357             an RGB 565 screen). Default value is true. -->
5358        <attr name="dither" />
5359        <!-- Defines the gravity for the bitmap. The gravity indicates where to position
5360             the drawable in its container if the bitmap is smaller than the container. -->
5361        <attr name="gravity" />
5362        <!-- Defines the tile mode. When the tile mode is enabled, the bitmap is repeated.
5363             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5364        <attr name="tileMode">
5365            <!-- Do not tile the bitmap. This is the default value. -->
5366            <enum name="disabled" value="-1" />
5367            <!-- Replicates the edge color. -->
5368            <enum name="clamp" value="0" />
5369            <!-- Repeats the bitmap in both direction. -->
5370            <enum name="repeat" value="1" />
5371            <!-- Repeats the shader's image horizontally and vertically, alternating
5372                 mirror images so that adjacent images always seam. -->
5373            <enum name="mirror" value="2" />
5374        </attr>
5375        <!-- Defines the horizontal tile mode. When the tile mode is enabled, the bitmap is repeated.
5376             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5377        <attr name="tileModeX">
5378            <!-- Do not tile the bitmap. This is the default value. -->
5379            <enum name="disabled" value="-1" />
5380            <!-- Replicates the edge color. -->
5381            <enum name="clamp" value="0" />
5382            <!-- Repeats the bitmap horizontally. -->
5383            <enum name="repeat" value="1" />
5384            <!-- Repeats the shader's image horizontally, alternating
5385                 mirror images so that adjacent images always seam. -->
5386            <enum name="mirror" value="2" />
5387        </attr>
5388        <!-- Defines the vertical tile mode. When the tile mode is enabled, the bitmap is repeated.
5389             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5390        <attr name="tileModeY">
5391            <!-- Do not tile the bitmap. This is the default value. -->
5392            <enum name="disabled" value="-1" />
5393            <!-- Replicates the edge color. -->
5394            <enum name="clamp" value="0" />
5395            <!-- Repeats the bitmap vertically. -->
5396            <enum name="repeat" value="1" />
5397            <!-- Repeats the shader's image vertically, alternating
5398                 mirror images so that adjacent images always seam. -->
5399            <enum name="mirror" value="2" />
5400        </attr>
5401        <!-- Enables or disables the mipmap hint. See
5402            {@link android.graphics.Bitmap#setHasMipMap(boolean)} for more information.
5403            Default value is false. -->
5404        <attr name="mipMap" format="boolean" />
5405        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5406             RTL (right-to-left). -->
5407        <attr name="autoMirrored" />
5408        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5409             no tint is applied. May be a color state list. -->
5410        <attr name="tint" />
5411        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5412             default value is src_in, which treats the drawable as an alpha mask. -->
5413        <attr name="tintMode">
5414            <!-- The tint is drawn on top of the drawable.
5415                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
5416            <enum name="src_over" value="3" />
5417            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
5418                 color channels are thrown out. [Sa * Da, Sc * Da] -->
5419            <enum name="src_in" value="5" />
5420            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
5421                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
5422            <enum name="src_atop" value="9" />
5423            <!-- Multiplies the color and alpha channels of the drawable with those of
5424                 the tint. [Sa * Da, Sc * Dc] -->
5425            <enum name="multiply" value="14" />
5426            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
5427            <enum name="screen" value="15" />
5428            <!-- Combines the tint and drawable color and alpha channels, clamping the
5429                 result to valid color values. Saturate(S + D) -->
5430            <enum name="add" value="16" />
5431        </attr>
5432        <!-- Specifies the alpha multiplier to apply to the base drawable. -->
5433        <attr name="alpha" />
5434    </declare-styleable>
5435
5436    <!-- Drawable used to draw 9-patches. -->
5437    <declare-styleable name="NinePatchDrawable">
5438        <!-- Identifier of the bitmap file. This attribute is mandatory. -->
5439        <attr name="src" />
5440        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5441             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5442             an RGB 565 screen). -->
5443        <attr name="dither" />
5444        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5445             RTL (right-to-left). -->
5446        <attr name="autoMirrored" />
5447        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5448             no tint is applied. May be a color state list. -->
5449        <attr name="tint" />
5450        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5451             default value is src_in, which treats the drawable as an alpha mask. -->
5452        <attr name="tintMode" />
5453        <!-- Specifies the alpha multiplier to apply to the base drawable. -->
5454        <attr name="alpha" />
5455    </declare-styleable>
5456
5457    <!-- Drawable used to draw a single color. -->
5458    <declare-styleable name="ColorDrawable">
5459        <!-- The color to use. -->
5460        <attr name="color" />
5461    </declare-styleable>
5462
5463    <!-- Drawable used to show animated touch feedback. -->
5464    <declare-styleable name="RippleDrawable">
5465        <!-- The color to use for ripple effects. This attribute is required. -->
5466        <attr name="color" />
5467        <!-- The radius of the ripple when fully expanded. By default, the
5468             radius is computed based on the size of the ripple's container. -->
5469        <attr name="radius" />
5470    </declare-styleable>
5471
5472    <declare-styleable name="ScaleDrawable">
5473        <!-- Scale width, expressed as a percentage of the drawable's bound. The value's
5474             format is XX%. For instance: 100%, 12.5%, etc.-->
5475        <attr name="scaleWidth" format="string" />
5476        <!-- Scale height, expressed as a percentage of the drawable's bound. The value's
5477             format is XX%. For instance: 100%, 12.5%, etc.-->
5478        <attr name="scaleHeight" format="string" />
5479        <!-- Specifies where the drawable is positioned after scaling. The default value is
5480             left. -->
5481        <attr name="scaleGravity">
5482            <!-- Push object to the top of its container, not changing its size. -->
5483            <flag name="top" value="0x30" />
5484            <!-- Push object to the bottom of its container, not changing its size. -->
5485            <flag name="bottom" value="0x50" />
5486            <!-- Push object to the left of its container, not changing its size. -->
5487            <flag name="left" value="0x03" />
5488            <!-- Push object to the right of its container, not changing its size. -->
5489            <flag name="right" value="0x05" />
5490            <!-- Place object in the vertical center of its container, not changing its size. -->
5491            <flag name="center_vertical" value="0x10" />
5492            <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
5493            <flag name="fill_vertical" value="0x70" />
5494            <!-- Place object in the horizontal center of its container, not changing its size. -->
5495            <flag name="center_horizontal" value="0x01" />
5496            <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
5497            <flag name="fill_horizontal" value="0x07" />
5498            <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
5499            <flag name="center" value="0x11" />
5500            <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
5501            <flag name="fill" value="0x77" />
5502            <!-- Additional option that can be set to have the top and/or bottom edges of
5503                 the child clipped to its container's bounds.
5504                 The clip will be based on the vertical gravity: a top gravity will clip the bottom
5505                 edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
5506            <flag name="clip_vertical" value="0x80" />
5507            <!-- Additional option that can be set to have the left and/or right edges of
5508                 the child clipped to its container's bounds.
5509                 The clip will be based on the horizontal gravity: a left gravity will clip the right
5510                 edge, a right gravity will clip the left edge, and neither will clip both edges. -->
5511            <flag name="clip_horizontal" value="0x08" />
5512            <!-- Push object to the beginning of its container, not changing its size. -->
5513            <flag name="start" value="0x00800003" />
5514            <!-- Push object to the end of its container, not changing its size. -->
5515            <flag name="end" value="0x00800005" />
5516        </attr>
5517        <!-- Reference to a drawable resource to draw with the specified scale. -->
5518        <attr name="drawable" />
5519        <!-- Use the drawable's intrinsic width and height as minimum size values.
5520             Useful if the target drawable is a 9-patch or otherwise should not be scaled
5521             down beyond a minimum size. -->
5522        <attr name="useIntrinsicSizeAsMinimum" format="boolean" />
5523    </declare-styleable>
5524
5525    <declare-styleable name="ClipDrawable">
5526        <!-- The orientation for the clip. -->
5527        <attr name="clipOrientation">
5528            <!-- Clip the drawable horizontally. -->
5529            <flag name="horizontal" value="1" />
5530            <!-- Clip the drawable vertically. -->
5531            <flag name="vertical" value="2" />
5532        </attr>
5533        <!-- Specifies where to clip within the drawable. The default value is
5534             left. -->
5535        <attr name="gravity" />
5536        <!-- Reference to a drawable resource to draw with the specified scale. -->
5537        <attr name="drawable" />
5538    </declare-styleable>
5539
5540    <!-- Defines the padding of a ShapeDrawable. -->
5541    <declare-styleable name="ShapeDrawablePadding">
5542        <!-- Left padding. -->
5543        <attr name="left" />
5544        <!-- Top padding. -->
5545        <attr name="top" />
5546        <!-- Right padding. -->
5547        <attr name="right" />
5548        <!-- Bottom padding. -->
5549        <attr name="bottom" />
5550    </declare-styleable>
5551
5552    <!-- Drawable used to draw shapes. -->
5553    <declare-styleable name="ShapeDrawable">
5554        <!-- Defines the color of the shape. -->
5555        <attr name="color" />
5556        <!-- Defines the width of the shape. -->
5557        <attr name="width" />
5558        <!-- Defines the height of the shape. -->
5559        <attr name="height" />
5560        <!-- Enables or disables dithering. -->
5561        <attr name="dither" />
5562        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5563             no tint is applied. May be a color state list. -->
5564        <attr name="tint" />
5565        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5566             default value is src_in, which treats the drawable as an alpha mask. -->
5567        <attr name="tintMode" />
5568    </declare-styleable>
5569
5570    <!-- ========================== -->
5571    <!--   VectorDrawable class   -->
5572    <!-- ========================== -->
5573    <eat-comment />
5574
5575    <!-- Drawable used to draw vector paths. -->
5576    <declare-styleable name="VectorDrawable">
5577        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5578             no tint is applied. May be a color state list. -->
5579        <attr name="tint" />
5580        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5581             default value is src_in, which treats the drawable as an alpha mask. -->
5582        <attr name="tintMode" />
5583        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5584             RTL (right-to-left). -->
5585        <attr name="autoMirrored" />
5586        <!-- The intrinsic width of the Vector Drawable. -->
5587        <attr name="width" />
5588        <!-- The intrinsic height of the Vector Drawable. -->
5589        <attr name="height" />
5590        <!-- The width of the canvas the drawing is on. -->
5591        <attr name="viewportWidth" format="float"/>
5592        <!-- The height of the canvas the drawing is on. -->
5593        <attr name="viewportHeight" format="float"/>
5594        <!-- The name of this vector drawable -->
5595        <attr name="name" />
5596        <!-- The opacity of the whole vector drawable, as a value between 0
5597             (completely transparent) and 1 (completely opaque). -->
5598        <attr name="alpha" />
5599        <!-- Left optical inset.
5600             @hide Until optical insets are fully supported. -->
5601        <attr name="opticalInsetLeft" format="dimension" />
5602        <!-- Top optical inset.
5603             @hide Until optical insets are fully supported. -->
5604        <attr name="opticalInsetTop" format="dimension" />
5605        <!-- Right optical inset.
5606             @hide Until optical insets are fully supported. -->
5607        <attr name="opticalInsetRight" format="dimension" />
5608        <!-- Bottom optical inset.
5609             @hide Until optical insets are fully supported. -->
5610        <attr name="opticalInsetBottom" format="dimension" />
5611    </declare-styleable>
5612
5613    <!-- Defines the group used in VectorDrawables. -->
5614    <declare-styleable name="VectorDrawableGroup">
5615        <!-- The name of this group -->
5616        <attr name="name" />
5617        <!-- The amount to rotate the group -->
5618        <attr name="rotation" />
5619        <!-- The X coordinate of the center of rotation of a group -->
5620        <attr name="pivotX" />
5621        <!-- The Y coordinate of the center of rotation of a group -->
5622        <attr name="pivotY" />
5623        <!-- The amount to translate the group on X coordinate -->
5624        <attr name="translateX" format="float"/>
5625        <!-- The amount to translate the group on Y coordinate -->
5626        <attr name="translateY" format="float"/>
5627        <!-- The amount to scale the group on X coordinate -->
5628        <attr name="scaleX" />
5629        <!-- The amount to scale the group on X coordinate -->
5630        <attr name="scaleY" />
5631    </declare-styleable>
5632
5633    <!-- Defines the path used in VectorDrawables. -->
5634    <declare-styleable name="VectorDrawablePath">
5635        <!-- The name of this path -->
5636        <attr name="name" />
5637        <!-- The width a path stroke -->
5638        <attr name="strokeWidth" format="float" />
5639        <!-- The color to stroke the path if not defined implies no stroke-->
5640        <attr name="strokeColor" format="color" />
5641        <!-- The opacity of a path stroke, as a value between 0 (completely transparent)
5642             and 1 (completely opaque) -->
5643        <attr name="strokeAlpha" format="float" />
5644        <!-- The color to fill the path if not defined implies no fill-->
5645        <attr name="fillColor" format="color" />
5646        <!-- The alpha of the path fill, as a value between 0 (completely transparent)
5647             and 1 (completely opaque)-->
5648        <attr name="fillAlpha" format="float" />
5649        <!-- The specification of the operations that define the path  -->
5650        <attr name="pathData" format="string" />
5651        <!-- The fraction of the path to trim from the start from 0 to 1 -->
5652        <attr name="trimPathStart" format="float" />
5653        <!-- The fraction of the path to trim from the end from 0 to 1  -->
5654        <attr name="trimPathEnd" format="float" />
5655        <!-- Shift trim region (allows visible region to include the start and end) from 0 to 1  -->
5656        <attr name="trimPathOffset" format="float" />
5657        <!-- sets the linecap for a stroked path -->
5658        <attr name="strokeLineCap" format="enum">
5659            <enum name="butt" value="0"/>
5660            <enum name="round" value="1"/>
5661            <enum name="square" value="2"/>
5662        </attr>
5663        <!-- sets the lineJoin for a stroked path -->
5664        <attr name="strokeLineJoin" format="enum">
5665            <enum name="miter" value="0"/>
5666            <enum name="round" value="1"/>
5667            <enum name="bevel" value="2"/>
5668        </attr>
5669        <!-- sets the Miter limit for a stroked path -->
5670        <attr name="strokeMiterLimit" format="float"/>
5671    </declare-styleable>
5672
5673    <!-- Defines the clip path used in VectorDrawables. -->
5674    <declare-styleable name="VectorDrawableClipPath">
5675        <!-- The Name of this path -->
5676        <attr name="name" />
5677        <!-- The specification of the operations that define the path  -->
5678        <attr name="pathData"/>
5679    </declare-styleable>
5680
5681    <!-- ========================== -->
5682    <!--   AnimatedVectorDrawable class   -->
5683    <!-- ========================== -->
5684    <eat-comment />
5685
5686    <!-- Define the AnimatedVectorDrawable. -->
5687    <declare-styleable name="AnimatedVectorDrawable">
5688        <!-- The static vector drawable. -->
5689        <attr name="drawable" />
5690    </declare-styleable>
5691
5692    <!-- Defines the target used in the AnimatedVectorDrawable. -->
5693    <declare-styleable name="AnimatedVectorDrawableTarget">
5694        <!-- The name of the target path, group or vector drawable -->
5695        <attr name="name" />
5696        <!-- The animation for the target path, group or vector drawable -->
5697        <attr name="animation" />
5698    </declare-styleable>
5699
5700    <!-- ========================== -->
5701    <!-- Animation class attributes -->
5702    <!-- ========================== -->
5703    <eat-comment />
5704
5705    <declare-styleable name="Animation">
5706        <!-- Defines the interpolator used to smooth the animation movement in time. -->
5707        <attr name="interpolator" />
5708        <!-- When set to true, the value of fillBefore is taken into account. -->
5709        <attr name="fillEnabled" format="boolean" />
5710        <!-- When set to true or when fillEnabled is not set to true, the animation transformation
5711             is applied before the animation has started. The default value is true. -->
5712        <attr name="fillBefore" format="boolean" />
5713        <!-- When set to true, the animation transformation is applied after the animation is
5714             over. The default value is false. If fillEnabled is not set to true and the
5715             animation is not set on a View, fillAfter is assumed to be true.-->
5716        <attr name="fillAfter" format="boolean" />
5717        <!-- Amount of time (in milliseconds) for the animation to run. -->
5718        <attr name="duration" />
5719        <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
5720        <attr name="startOffset" format="integer" />
5721        <!-- Defines how many times the animation should repeat. The default value is 0. -->
5722        <attr name="repeatCount" format="integer">
5723            <enum name="infinite" value="-1" />
5724        </attr>
5725        <!-- Defines the animation behavior when it reaches the end and the repeat count is
5726             greater than 0 or infinite. The default value is restart. -->
5727        <attr name="repeatMode">
5728            <!-- The animation starts again from the beginning. -->
5729            <enum name="restart" value="1" />
5730            <!-- The animation plays backward. -->
5731            <enum name="reverse" value="2" />
5732        </attr>
5733        <!-- Allows for an adjustment of the Z ordering of the content being
5734             animated for the duration of the animation.  The default value is normal. -->
5735        <attr name="zAdjustment">
5736            <!-- The content being animated be kept in its current Z order. -->
5737            <enum name="normal" value="0" />
5738            <!-- The content being animated is forced on top of all other
5739                 content for the duration of the animation. -->
5740            <enum name="top" value="1" />
5741            <!-- The content being animated is forced under all other
5742                 content for the duration of the animation. -->
5743            <enum name="bottom" value="-1" />
5744        </attr>
5745        <!-- Special background behind animation.  Only for use with window
5746             animations.  Can only be a color, and only black.  If 0, the
5747             default, there is no background. -->
5748        <attr name="background" />
5749        <!-- Special option for window animations: if this window is on top
5750             of a wallpaper, don't animate the wallpaper with it. -->
5751        <attr name="detachWallpaper" format="boolean" />
5752    </declare-styleable>
5753
5754    <declare-styleable name="AnimationSet">
5755        <attr name="shareInterpolator" format="boolean" />
5756        <attr name="fillBefore" />
5757        <attr name="fillAfter" />
5758        <attr name="duration" />
5759        <attr name="startOffset" />
5760        <attr name="repeatMode" />
5761    </declare-styleable>
5762
5763    <declare-styleable name="RotateAnimation">
5764        <attr name="fromDegrees" />
5765        <attr name="toDegrees" />
5766        <attr name="pivotX" />
5767        <attr name="pivotY" />
5768    </declare-styleable>
5769
5770    <declare-styleable name="ScaleAnimation">
5771        <attr name="fromXScale" format="float|fraction|dimension" />
5772        <attr name="toXScale" format="float|fraction|dimension" />
5773        <attr name="fromYScale" format="float|fraction|dimension" />
5774        <attr name="toYScale" format="float|fraction|dimension" />
5775        <attr name="pivotX" />
5776        <attr name="pivotY" />
5777    </declare-styleable>
5778
5779    <declare-styleable name="TranslateAnimation">
5780        <attr name="fromXDelta" format="float|fraction" />
5781        <attr name="toXDelta" format="float|fraction" />
5782        <attr name="fromYDelta" format="float|fraction" />
5783        <attr name="toYDelta" format="float|fraction" />
5784    </declare-styleable>
5785
5786    <declare-styleable name="AlphaAnimation">
5787        <attr name="fromAlpha" format="float" />
5788        <attr name="toAlpha" format="float" />
5789    </declare-styleable>
5790
5791    <declare-styleable name="LayoutAnimation">
5792        <!-- Fraction of the animation duration used to delay the beginning of
5793         the animation of each child. -->
5794        <attr name="delay" format="float|fraction" />
5795        <!-- Animation to use on each child. -->
5796        <attr name="animation" format="reference" />
5797        <!-- The order in which the animations will be started. -->
5798        <attr name="animationOrder">
5799            <!-- Animations are started in the natural order. -->
5800            <enum name="normal" value="0" />
5801            <!-- Animations are started in the reverse order. -->
5802            <enum name="reverse" value="1" />
5803            <!-- Animations are started randomly. -->
5804            <enum name="random" value="2" />
5805        </attr>
5806        <!-- Interpolator used to interpolate the delay between the start of
5807         each animation. -->
5808        <attr name="interpolator" />
5809    </declare-styleable>
5810
5811    <declare-styleable name="GridLayoutAnimation">
5812        <!-- Fraction of the animation duration used to delay the beginning of
5813         the animation of each column. -->
5814        <attr name="columnDelay" format="float|fraction" />
5815        <!-- Fraction of the animation duration used to delay the beginning of
5816         the animation of each row. -->
5817        <attr name="rowDelay" format="float|fraction" />
5818        <!-- Direction of the animation in the grid. -->
5819        <attr name="direction">
5820            <!-- Animates columns from left to right. -->
5821            <flag name="left_to_right" value="0x0" />
5822            <!-- Animates columns from right to left. -->
5823            <flag name="right_to_left" value="0x1" />
5824            <!-- Animates rows from top to bottom. -->
5825            <flag name="top_to_bottom" value="0x0" />
5826            <!-- Animates rows from bottom to top. -->
5827            <flag name="bottom_to_top" value="0x2" />
5828        </attr>
5829        <!-- Priority of the rows and columns. When the priority is none,
5830         both rows and columns have the same priority. When the priority is
5831         column, the animations will be applied on the columns first. The same
5832         goes for rows. -->
5833        <attr name="directionPriority">
5834            <!-- Rows and columns are animated at the same time. -->
5835            <enum name="none"   value="0" />
5836            <!-- Columns are animated first. -->
5837            <enum name="column" value="1" />
5838            <!-- Rows are animated first. -->
5839            <enum name="row"    value="2" />
5840        </attr>
5841    </declare-styleable>
5842
5843    <declare-styleable name="AccelerateInterpolator">
5844        <!-- This is the amount of deceleration to add when easing in. -->
5845        <attr name="factor" format="float" />
5846    </declare-styleable>
5847
5848    <declare-styleable name="DecelerateInterpolator">
5849        <!-- This is the amount of acceleration to add when easing out. -->
5850        <attr name="factor" />
5851    </declare-styleable>
5852
5853    <declare-styleable name="CycleInterpolator">
5854        <attr name="cycles" format="float" />
5855    </declare-styleable>
5856
5857    <declare-styleable name="AnticipateInterpolator">
5858        <!-- This is the amount of tension. -->
5859        <attr name="tension" format="float" />
5860    </declare-styleable>
5861
5862    <declare-styleable name="OvershootInterpolator">
5863        <!-- This is the amount of tension. -->
5864        <attr name="tension" />
5865    </declare-styleable>
5866
5867    <declare-styleable name="AnticipateOvershootInterpolator">
5868        <!-- This is the amount of tension. -->
5869        <attr name="tension" />
5870        <!-- This is the amount by which to multiply the tension. -->
5871        <attr name="extraTension" format="float" />
5872    </declare-styleable>
5873
5874    <declare-styleable name="PathInterpolator">
5875        <!-- The x coordinate of the first control point of the cubic Bezier -->
5876        <attr name="controlX1" format="float" />
5877        <!-- The y coordinate of the first control point of the cubic Bezier -->
5878        <attr name="controlY1" format="float" />
5879        <!-- The x coordinate of the second control point of the cubic Bezier -->
5880        <attr name="controlX2" format="float" />
5881        <!-- The y coordinate of the second control point of the cubic Bezier -->
5882        <attr name="controlY2" format="float" />
5883        <!-- The control points defined as a path.
5884             When pathData is defined, then both of the control points of the
5885             cubic Bezier will be ignored. -->
5886        <attr name="pathData"/>
5887    </declare-styleable>
5888
5889    <!-- ========================== -->
5890    <!-- Transition attributes -->
5891    <!-- ========================== -->
5892    <eat-comment />
5893
5894    <!-- Use specific transition subclass names as the root tag of the XML resource that
5895         describes a {@link android.transition.Transition Transition},
5896         such as <code>changeBounds</code>, <code>fade</code>, and <code>transitionSet</code>. -->
5897    <declare-styleable name="Transition">
5898        <!-- Amount of time (in milliseconds) that the transition should run. -->
5899        <attr name="duration" />
5900        <!-- Delay in milliseconds before the transition starts. -->
5901        <attr name="startDelay" format="integer" />
5902        <!-- Interpolator to be used in the animations spawned by this transition. -->
5903        <attr name="interpolator" />
5904        <!-- The match order to use for the transition. This is a comma-separated
5905             list of values, containing one or more of the following:
5906             id, itemId, name, instance. These correspond to
5907             {@link android.transition.Transition#MATCH_ID},
5908             {@link android.transition.Transition#MATCH_ITEM_ID},
5909             {@link android.transition.Transition#MATCH_NAME}, and
5910             {@link android.transition.Transition#MATCH_INSTANCE}, respectively.
5911             This corresponds to {@link android.transition.Transition#setMatchOrder(int...)}. -->
5912        <attr name="matchOrder" format="string" />
5913    </declare-styleable>
5914
5915    <!-- @hide For internal use only. Use only as directed. -->
5916    <declare-styleable name="EpicenterTranslateClipReveal">
5917        <attr name="interpolatorX" format="reference" />
5918        <attr name="interpolatorY" format="reference" />
5919        <attr name="interpolatorZ" format="reference" />
5920    </declare-styleable>
5921
5922    <!-- Use <code>fade</code>as the root tag of the XML resource that
5923         describes a {@link android.transition.Fade Fade} transition.
5924         The attributes of the {@link android.R.styleable#Transition Transition}
5925         resource are available in addition to the specific attributes of Fade
5926         described here. -->
5927    <declare-styleable name="Fade">
5928        <!-- Equivalent to <code>transitionVisibilityMode</code>, fadingMode works only
5929             with the Fade transition. -->
5930        <attr name="fadingMode">
5931            <!-- Fade will only fade appearing items in. -->
5932            <enum name="fade_in" value="1" />
5933            <!-- Fade will only fade disappearing items out. -->
5934            <enum name="fade_out" value="2" />
5935            <!-- Fade will fade appearing items in and disappearing items out. -->
5936            <enum name="fade_in_out" value="3" />
5937        </attr>
5938    </declare-styleable>
5939
5940    <!-- Use <code>slide</code>as the root tag of the XML resource that
5941         describes a {@link android.transition.Slide Slide} transition.
5942         The attributes of the {@link android.R.styleable#Transition Transition}
5943         resource are available in addition to the specific attributes of Slide
5944         described here. -->
5945    <declare-styleable name="Slide">
5946        <attr name="slideEdge">
5947            <!-- Slide to and from the left edge of the Scene. -->
5948            <enum name="left" value="0x03" />
5949            <!-- Slide to and from the top edge of the Scene. -->
5950            <enum name="top" value="0x30" />
5951            <!-- Slide to and from the right edge of the Scene. -->
5952            <enum name="right" value="0x05" />
5953            <!-- Slide to and from the bottom edge of the Scene. -->
5954            <enum name="bottom" value="0x50" />
5955            <!-- Slide to and from the x-axis position at the start of the Scene root. -->
5956            <enum name="start" value="0x00800003"/>
5957            <!-- Slide to and from the x-axis position at the end of the Scene root. -->
5958            <enum name="end" value="0x00800005"/>
5959        </attr>
5960    </declare-styleable>
5961
5962    <!-- Use with {@link android.transition.Visibility} transitions, such as
5963         <code>slide</code>, <code>explode</code>, and <code>fade</code> to mark which
5964         views are supported. -->
5965    <declare-styleable name="VisibilityTransition">
5966        <!-- Changes whether the transition supports appearing and/or disappearing Views.
5967             Corresponds to {@link android.transition.Visibility#setMode(int)}. -->
5968        <attr name="transitionVisibilityMode">
5969            <!-- Only appearing Views will be supported. -->
5970            <flag name="mode_in" value="1" />
5971            <!-- Only disappearing Views will be supported. -->
5972            <flag name="mode_out" value="2" />
5973        </attr>
5974    </declare-styleable>
5975    <!-- Use <code>target</code> as the root tag of the XML resource that
5976     describes a {@link android.transition.Transition#addTarget(int)
5977     targetId} of a transition. There can be one or more targets inside
5978     a <code>targets</code> tag, which is itself inside an appropriate
5979     {@link android.R.styleable#Transition Transition} tag.
5980     -->
5981    <declare-styleable name="TransitionTarget">
5982        <!-- The id of a target on which this transition will animate changes. -->
5983        <attr name="targetId" format="reference" />
5984        <!-- The id of a target to exclude from this transition. -->
5985        <attr name="excludeId" format="reference" />
5986        <!-- The fully-qualified name of the Class to include in this transition. -->
5987        <attr name="targetClass" />
5988        <!-- The fully-qualified name of the Class to exclude from this transition. -->
5989        <attr name="excludeClass" format="string" />
5990        <!-- The transitionName of the target on which this transition will animation changes. -->
5991        <attr name="targetName" format="string" />
5992        <!-- The transitionName of the target to exclude from this transition. -->
5993        <attr name="excludeName" format="string" />
5994    </declare-styleable>
5995
5996    <!-- Use <code>set</code> as the root tag of the XML resource that
5997         describes a {@link android.transition.TransitionSet
5998         TransitionSet} transition. -->
5999    <declare-styleable name="TransitionSet">
6000        <attr name="transitionOrdering">
6001            <!-- child transitions should be played together. -->
6002            <enum name="together" value="0" />
6003            <!-- child transitions should be played sequentially, in the same order
6004            as the xml. -->
6005            <enum name="sequential" value="1" />
6006        </attr>
6007    </declare-styleable>
6008
6009    <!-- Use <code>changeTransform</code> as the root tag of the XML resource that
6010         describes a {@link android.transition.ChangeTransform} transition. -->
6011    <declare-styleable name="ChangeTransform">
6012        <!-- A parent change should use an overlay or affect the transform of the
6013             transitionining View. Default is true. Corresponds to
6014             {@link android.transition.ChangeTransform#setReparentWithOverlay(boolean)}. -->
6015        <attr name="reparentWithOverlay" format="boolean"/>
6016
6017        <!-- Tells ChangeTransform to track parent changes. Default is true. Corresponds to
6018             {@link android.transition.ChangeTransform#setReparent(boolean)}. -->
6019        <attr name="reparent" format="boolean"/>
6020    </declare-styleable>
6021
6022    <!-- Use <code>changeBounds</code>as the root tag of the XML resource that
6023         describes a {@link android.transition.ChangeBounds} transition.
6024         The attributes of the {@link android.R.styleable#Transition Transition}
6025         resource are available in addition to the specific attributes of ChangeBounds
6026         described here. -->
6027    <declare-styleable name="ChangeBounds">
6028        <!-- Resize the view by adjusting the clipBounds rather than changing the
6029             dimensions of the view itself. The default value is false. -->
6030        <attr name="resizeClip" format="boolean"/>
6031    </declare-styleable>
6032
6033    <!-- Use <code>transitionManager</code> as the root tag of the XML resource that
6034         describes a {@link android.transition.TransitionManager
6035         TransitionManager}. -->
6036    <declare-styleable name="TransitionManager">
6037        <!-- The id of a transition to be used in a particular scene change. -->
6038        <attr name="transition" format="reference" />
6039        <!-- The originating scene in this scene change. -->
6040        <attr name="fromScene" format="reference" />
6041        <!-- The destination scene in this scene change. -->
6042        <attr name="toScene" format="reference" />
6043    </declare-styleable>
6044
6045    <!-- Use <code>arcMotion</code> as the root tag of the XML resource that
6046         describes a {@link android.transition.ArcMotion}. This must be used
6047         within a transition with which the PathMotion should be associated. -->
6048    <declare-styleable name="ArcMotion">
6049        <!-- The minimum arc angle in degrees between the start and end points when
6050             they are close to horizontal. -->
6051        <attr name="minimumHorizontalAngle" format="float" />
6052        <!-- The minimum arc angle in degrees between the start and end points when
6053             they are close to vertical. -->
6054        <attr name="minimumVerticalAngle" format="float" />
6055        <!-- The maximum arc angle in degrees between the start and end points. -->
6056        <attr name="maximumAngle" format="float" />
6057    </declare-styleable>
6058
6059    <!-- Use <code>patternPathMotion</code> as the root tag of the XML resource that
6060         describes a {@link android.transition.PatternPathMotion}. This must be used
6061         within a transition with which the PathMotion should be associated. -->
6062    <declare-styleable name="PatternPathMotion">
6063        <!-- The path string describing the pattern to use for the PathPathMotion. -->
6064        <attr name="patternPathData" format="string" />
6065    </declare-styleable>
6066
6067    <!-- ========================== -->
6068    <!-- ValueAnimator class attributes -->
6069    <!-- ========================== -->
6070    <eat-comment />
6071
6072    <declare-styleable name="Animator">
6073        <!-- Defines the interpolator used to smooth the animation movement in time. -->
6074        <attr name="interpolator" />
6075        <!-- Amount of time (in milliseconds) for the animation to run. -->
6076        <attr name="duration" />
6077        <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
6078        <attr name="startOffset"/>
6079        <!-- Defines how many times the animation should repeat. The default value is 0. -->
6080        <attr name="repeatCount"/>
6081        <!-- Defines the animation behavior when it reaches the end and the repeat count is
6082             greater than 0 or infinite. The default value is restart. -->
6083        <attr name="repeatMode"/>
6084        <!-- Value the animation starts from. -->
6085        <attr name="valueFrom" format="float|integer|color|dimension|string"/>
6086        <!-- Value the animation animates to. -->
6087        <attr name="valueTo" format="float|integer|color|dimension|string"/>
6088        <!-- The type of valueFrom and valueTo. -->
6089        <attr name="valueType">
6090            <!-- The given values are floats. This is the default value if valueType is
6091                 unspecified. Note that if any value attribute has a color value
6092                 (beginning with "#"), then this attribute is ignored and the color values are
6093                 interpreted as integers. -->
6094            <enum name="floatType" value="0" />
6095            <!-- values are integers. -->
6096            <enum name="intType"   value="1" />
6097            <!-- values are paths defined as strings.
6098                 This type is used for path morphing in AnimatedVectorDrawable. -->
6099            <enum name="pathType"   value="2" />
6100            <!-- values are colors, which are integers starting with "#". -->
6101            <enum name="colorType"   value="3" />
6102        </attr>
6103        <!-- Placeholder for a deleted attribute. This should be removed before M release. -->
6104        <attr name="removeBeforeMRelease" format="integer" />
6105    </declare-styleable>
6106
6107    <declare-styleable name="PropertyValuesHolder">
6108        <attr name="valueType" />
6109        <attr name="propertyName" />
6110        <attr name="valueFrom" />
6111        <attr name="valueTo" />
6112    </declare-styleable>
6113
6114    <declare-styleable name="Keyframe">
6115        <attr name="valueType" />
6116        <attr name="value" />
6117        <attr name="fraction" format="float" />
6118        <!-- Defines a per-interval interpolator for this keyframe. This interpolator will be used
6119             to interpolate between this keyframe and the previous keyframe.-->
6120        <attr name="interpolator" />
6121    </declare-styleable>
6122
6123    <!-- ========================== -->
6124    <!-- ObjectAnimator class attributes -->
6125    <!-- ========================== -->
6126    <eat-comment />
6127
6128    <declare-styleable name="PropertyAnimator">
6129        <!-- Name of the property being animated. -->
6130        <attr name="propertyName" format="string"/>
6131        <!-- Name of the property being animated as the X coordinate of the pathData. -->
6132        <attr name="propertyXName" format="string"/>
6133        <!-- Name of the property being animated as the Y coordinate of the pathData. -->
6134        <attr name="propertyYName" format="string"/>
6135        <!-- The path used to animate the properties in the ObjectAnimator -->
6136        <attr name="pathData"/>
6137    </declare-styleable>
6138
6139
6140    <!-- ========================== -->
6141    <!-- AnimatorSet class attributes -->
6142    <!-- ========================== -->
6143    <eat-comment />
6144
6145    <declare-styleable name="AnimatorSet">
6146        <!-- Name of the property being animated. -->
6147        <attr name="ordering">
6148            <!-- child animations should be played together. -->
6149            <enum name="together" value="0" />
6150            <!-- child animations should be played sequentially, in the same order as the xml. -->
6151            <enum name="sequentially" value="1" />
6152        </attr>
6153    </declare-styleable>
6154
6155    <!-- ========================== -->
6156    <!-- State attributes           -->
6157    <!-- ========================== -->
6158    <eat-comment />
6159
6160    <!-- Drawable states.
6161         The mapping of Drawable states to a particular drawables is specified
6162         in the "state" elements of a Widget's "selector" element.
6163         Possible values:
6164         <ul>
6165         <li>"state_focused"
6166         <li>"state_window_focused"
6167         <li>"state_enabled"
6168         <li>"state_checked"
6169         <li>"state_selected"
6170         <li>"state_active"
6171         <li>"state_single"
6172         <li>"state_first"
6173         <li>"state_mid"
6174         <li>"state_last"
6175         <li>"state_only"
6176         <li>"state_pressed"
6177         <li>"state_activated"
6178         <li>"state_error"
6179         <li>"state_circle"
6180         <li>"state_rect"
6181         <li>"state_grow"
6182         <li>"state_move"
6183         <li>"state_hovered"
6184         <li>"state_drag_can_accept"
6185         <li>"state_drag_hovered"
6186         <li>"state_accessibility_focused"
6187         </ul>  -->
6188    <declare-styleable name="DrawableStates">
6189        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6190             set when a view has input focus. -->
6191        <attr name="state_focused" format="boolean" />
6192        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6193             set when a view's window has input focus. -->
6194        <attr name="state_window_focused" format="boolean" />
6195        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6196             set when a view is enabled. -->
6197        <attr name="state_enabled" format="boolean" />
6198        <!-- State identifier indicating that the object <var>may</var> display a check mark.
6199             See {@link android.R.attr#state_checked} for the identifier that indicates whether it is
6200             actually checked. -->
6201        <attr name="state_checkable" format="boolean"/>
6202        <!-- State identifier indicating that the object is currently checked.  See
6203             {@link android.R.attr#state_checkable} for an additional identifier that can indicate if
6204             any object may ever display a check, regardless of whether state_checked is
6205             currently set. -->
6206        <attr name="state_checked" format="boolean"/>
6207        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6208             set when a view (or one of its parents) is currently selected. -->
6209        <attr name="state_selected" format="boolean" />
6210        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6211             set when the user is pressing down in a view. -->
6212        <attr name="state_pressed" format="boolean" />
6213        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6214             set when a view or its parent has been "activated" meaning the user has currently
6215             marked it as being of interest.  This is an alternative representation of
6216             state_checked for when the state should be propagated down the view hierarchy. -->
6217        <attr name="state_activated" format="boolean" />
6218        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
6219        <attr name="state_active" format="boolean" />
6220        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
6221        <attr name="state_single" format="boolean" />
6222        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
6223        <attr name="state_first" format="boolean" />
6224        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
6225        <attr name="state_middle" format="boolean" />
6226        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
6227        <attr name="state_last" format="boolean" />
6228        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6229             indicating that the Drawable is in a view that is hardware accelerated.
6230             This means that the device can at least render a full-screen scaled
6231             bitmap with one layer of text and bitmaps composited on top of it
6232             at 60fps.  When this is set, the colorBackgroundCacheHint will be
6233             ignored even if it specifies a solid color, since that optimization
6234             is not needed. -->
6235        <attr name="state_accelerated" format="boolean" />
6236        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6237             set when a pointer is hovering over the view. -->
6238        <attr name="state_hovered" format="boolean" />
6239        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6240             indicating that the Drawable is in a view that is capable of accepting a drop of
6241             the content currently being manipulated in a drag-and-drop operation. -->
6242        <attr name="state_drag_can_accept" format="boolean" />
6243        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6244             indicating that a drag operation (for which the Drawable's view is a valid recipient)
6245             is currently positioned over the Drawable. -->
6246        <attr name="state_drag_hovered" format="boolean" />
6247        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6248             indicating that a View has accessibility focus. -->
6249        <attr name="state_accessibility_focused" format="boolean" />
6250    </declare-styleable>
6251    <declare-styleable name="ViewDrawableStates">
6252        <attr name="state_pressed" />
6253        <attr name="state_focused" />
6254        <attr name="state_selected" />
6255        <attr name="state_window_focused" />
6256        <attr name="state_enabled" />
6257        <attr name="state_activated" />
6258        <attr name="state_accelerated" />
6259        <attr name="state_hovered" />
6260        <attr name="state_drag_can_accept" />
6261        <attr name="state_drag_hovered" />
6262    </declare-styleable>
6263    <!-- State array representing a menu item that is currently checked. -->
6264    <declare-styleable name="MenuItemCheckedState">
6265        <attr name="state_checkable" />
6266        <attr name="state_checked" />
6267    </declare-styleable>
6268    <!-- State array representing a menu item that is checkable but is not currently checked. -->
6269    <declare-styleable name="MenuItemUncheckedState">
6270        <attr name="state_checkable" />
6271    </declare-styleable>
6272    <!-- State array representing a menu item that is currently focused and checked. -->
6273    <declare-styleable name="MenuItemCheckedFocusedState">
6274        <attr name="state_checkable" />
6275        <attr name="state_checked" />
6276        <attr name="state_focused" />
6277    </declare-styleable>
6278    <!-- State array representing a menu item that is focused and checkable but is not currently checked. -->
6279    <declare-styleable name="MenuItemUncheckedFocusedState">
6280        <attr name="state_checkable" />
6281        <attr name="state_focused" />
6282    </declare-styleable>
6283    <!-- State array representing an expandable list child's indicator. -->
6284    <declare-styleable name="ExpandableListChildIndicatorState">
6285        <!-- State identifier indicating the child is the last child within its group. -->
6286        <attr name="state_last" />
6287    </declare-styleable>
6288    <!-- State array representing an expandable list group's indicator. -->
6289    <declare-styleable name="ExpandableListGroupIndicatorState">
6290        <!-- State identifier indicating the group is expanded. -->
6291        <attr name="state_expanded" format="boolean" />
6292        <!-- State identifier indicating the group is empty (has no children). -->
6293        <attr name="state_empty" format="boolean" />
6294    </declare-styleable>
6295    <declare-styleable name="PopupWindowBackgroundState">
6296        <!-- State identifier indicating the popup will be above the anchor. -->
6297        <attr name="state_above_anchor" format="boolean" />
6298    </declare-styleable>
6299    <declare-styleable name="TextViewMultiLineBackgroundState">
6300        <!-- State identifier indicating a TextView has a multi-line layout. -->
6301        <attr name="state_multiline" format="boolean" />
6302    </declare-styleable>
6303
6304    <!-- ***************************************************************** -->
6305    <!-- Support for Searchable activities. -->
6306    <!-- ***************************************************************** -->
6307    <eat-comment />
6308
6309    <!-- Searchable activities and applications must provide search configuration information
6310        in an XML file, typically called searchable.xml.  This file is referenced in your manifest.
6311        For a more in-depth discussion of search configuration, please refer to
6312        {@link android.app.SearchManager}. -->
6313    <declare-styleable name="Searchable">
6314          <!--<strong>This is deprecated.</strong><br/>The default
6315              application icon is now always used, so this attribute is
6316              obsolete.-->
6317        <attr name="icon" />
6318        <!-- This is the user-displayed name of the searchable activity.  <i>Required
6319            attribute.</i> -->
6320        <attr name="label" />
6321        <!-- If supplied, this string will be displayed as a hint to the user.  <i>Optional
6322            attribute.</i> -->
6323        <attr name="hint" />
6324        <!-- If supplied, this string will be displayed as the text of the "Search" button.
6325          <i>Optional attribute.</i>
6326          {@deprecated This will create a non-standard UI appearance, because the search bar UI is
6327                       changing to use only icons for its buttons.}-->
6328        <attr name="searchButtonText" format="string" />
6329        <attr name="inputType" />
6330        <attr name="imeOptions" />
6331
6332        <!-- Additional features are controlled by mode bits in this field.  Omitting
6333            this field, or setting to zero, provides default behavior.  <i>Optional attribute.</i>
6334        -->
6335        <attr name="searchMode">
6336          <!-- If set, this flag enables the display of the search target (label) within the
6337               search bar.  If neither bad mode is selected, no badge will be shown. -->
6338          <flag name="showSearchLabelAsBadge" value="0x04" />
6339          <!--<strong>This is deprecated.</strong><br/>The default
6340              application icon is now always used, so this option is
6341              obsolete.-->
6342          <flag name="showSearchIconAsBadge" value="0x08" />
6343          <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_INTENT_DATA to
6344               be considered as the text for suggestion query rewriting.  This should only
6345               be used when the values in SUGGEST_COLUMN_INTENT_DATA are suitable for user
6346               inspection and editing - typically, HTTP/HTTPS Uri's. -->
6347          <flag name="queryRewriteFromData" value="0x10" />
6348          <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_TEXT_1 to
6349               be considered as the text for suggestion query rewriting.  This should be used
6350               for suggestions in which no query text is provided and the SUGGEST_COLUMN_INTENT_DATA
6351               values are not suitable for user inspection and editing. -->
6352          <flag name="queryRewriteFromText" value="0x20" />
6353        </attr>
6354
6355        <!-- Voice search features are controlled by mode bits in this field.  Omitting
6356            this field, or setting to zero, provides default behavior.
6357            If showVoiceSearchButton is set, then launchWebSearch or launchRecognizer must
6358            also be set.  <i>Optional attribute.</i>
6359        -->
6360        <attr name="voiceSearchMode">
6361          <!-- If set, display a voice search button.  This only takes effect if voice search is
6362               available on the device. -->
6363          <flag name="showVoiceSearchButton" value="0x01" />
6364          <!-- If set, the voice search button will take the user directly to a built-in
6365               voice web search activity.  Most applications will not use this flag, as it
6366               will take the user away from the activity in which search was invoked. -->
6367          <flag name="launchWebSearch" value="0x02" />
6368          <!-- If set, the voice search button will take the user directly to a built-in
6369               voice recording activity.  This activity will prompt the user to speak,
6370               transcribe the spoken text, and forward the resulting query
6371               text to the searchable activity, just as if the user had typed it into
6372               the search UI and clicked the search button. -->
6373          <flag name="launchRecognizer" value="0x04" />
6374        </attr>
6375
6376        <!-- If provided, this specifies the language model that should be used by the
6377             voice recognition system.  See
6378             {@link android.speech.RecognizerIntent#EXTRA_LANGUAGE_MODEL } for more information.
6379             If not provided, the default value
6380             {@link android.speech.RecognizerIntent#LANGUAGE_MODEL_FREE_FORM } will be used. -->
6381        <attr name="voiceLanguageModel" format="string" />
6382        <!-- If provided, this specifies a prompt that will be displayed during voice input. -->
6383        <attr name="voicePromptText" format="string" />
6384        <!-- If provided, this specifies the spoken language to be expected, and that it will be
6385             different than the one set in the {@link java.util.Locale#getDefault()}. -->
6386        <attr name="voiceLanguage" format="string" />
6387        <!-- If provided, enforces the maximum number of results to return, including the "best"
6388             result which will always be provided as the SEARCH intent's primary query.  Must be one
6389             or greater.  If not provided, the recognizer will choose how many results to return.
6390             -->
6391        <attr name="voiceMaxResults" format="integer" />
6392
6393        <!-- If provided, this is the trigger indicating that the searchable activity
6394            provides suggestions as well.  The value must be a fully-qualified content provider
6395            authority (e.g. "com.example.android.apis.SuggestionProvider") and should match the
6396            "android:authorities" tag in your content provider's manifest entry.  <i>Optional
6397            attribute.</i> -->
6398        <attr name="searchSuggestAuthority" format="string" />
6399        <!-- If provided, this will be inserted in the suggestions query Uri, after the authority
6400            you have provide but before the standard suggestions path. <i>Optional attribute.</i>
6401            -->
6402        <attr name="searchSuggestPath" format="string" />
6403        <!-- If provided, suggestion queries will be passed into your query function
6404            as the <i>selection</i> parameter.  Typically this will be a WHERE clause for your
6405            database, and will contain a single question mark, which represents the actual query
6406            string that has been typed by the user.  If not provided, then the user query text
6407            will be appended to the query Uri (after an additional "/".)  <i>Optional
6408            attribute.</i> -->
6409        <attr name="searchSuggestSelection" format="string" />
6410
6411        <!-- If provided, and not overridden by an action in the selected suggestion, this
6412            string will be placed in the action field of the {@link android.content.Intent Intent}
6413            when the user clicks a suggestion.  <i>Optional attribute.</i> -->
6414        <attr name="searchSuggestIntentAction" format="string" />
6415        <!-- If provided, and not overridden by an action in the selected suggestion, this
6416            string will be placed in the data field of the {@link android.content.Intent Intent}
6417            when the user clicks a suggestion.  <i>Optional attribute.</i> -->
6418        <attr name="searchSuggestIntentData" format="string" />
6419
6420        <!-- If provided, this is the minimum number of characters needed to trigger
6421             search suggestions. The default value is 0. <i>Optional attribute.</i> -->
6422        <attr name="searchSuggestThreshold" format="integer" />
6423
6424        <!-- If provided and <code>true</code>, this searchable activity will be
6425             included in any global lists of search targets.
6426             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6427        <attr name="includeInGlobalSearch" format="boolean" />
6428
6429        <!-- If provided and <code>true</code>, this searchable activity will be invoked for all
6430             queries in a particular session. If set to <code>false</code> and the activity
6431             returned zero results for a query, it will not be invoked again in that session for
6432             supersets of that zero-results query. For example, if the activity returned zero
6433             results for "bo", it would not be queried again for "bob".
6434             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6435        <attr name="queryAfterZeroResults" format="boolean" />
6436        <!-- If provided, this string will be used to describe the searchable item in the
6437             searchable items settings within system search settings. <i>Optional
6438             attribute.</i> -->
6439        <attr name="searchSettingsDescription" format="string" />
6440
6441        <!-- If provided and <code>true</code>, URLs entered in the search dialog while searching
6442             within this activity would be detected and treated as URLs (show a 'go' button in the
6443             keyboard and invoke the browser directly when user launches the URL instead of passing
6444             the URL to the activity). If set to <code>false</code> any URLs entered are treated as
6445             normal query text.
6446             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6447        <attr name="autoUrlDetect" format="boolean" />
6448
6449    </declare-styleable>
6450
6451    <!-- In order to process special action keys during search, you must define them using
6452            one or more "ActionKey" elements in your Searchable metadata.  For a more in-depth
6453            discussion of action code handling, please refer to {@link android.app.SearchManager}.
6454    -->
6455    <declare-styleable name="SearchableActionKey">
6456        <!-- This attribute denotes the action key you wish to respond to.  Note that not
6457            all action keys are actually supported using this mechanism, as many of them are
6458            used for typing, navigation, or system functions.  This will be added to the
6459            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6460            searchable activity.  To examine the key code, use
6461            {@link android.content.Intent#getIntExtra getIntExtra(SearchManager.ACTION_KEY)}.
6462            <p>Note, in addition to the keycode, you must also provide one or more of the action
6463            specifier attributes.  <i>Required attribute.</i> -->
6464        <attr name="keycode" />
6465
6466        <!-- If you wish to handle an action key during normal search query entry, you
6467            must define an action string here.  This will be added to the
6468            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6469            searchable activity.  To examine the string, use
6470            {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
6471            <i>Optional attribute.</i> -->
6472        <attr name="queryActionMsg"  format="string" />
6473
6474        <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
6475            selected</i>, there are two ways to handle this.  If <i>all</i> of your suggestions
6476            can handle the action key, you can simply define the action message using this
6477            attribute.  This will be added to the
6478            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6479            searchable activity.  To examine the string, use
6480            {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
6481            <i>Optional attribute.</i> -->
6482        <attr name="suggestActionMsg"  format="string" />
6483
6484        <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
6485            selected</i>, but you do not wish to enable this action key for every suggestion,
6486            then you can use this attribute to control it on a suggestion-by-suggestion basis.
6487            First, you must define a column (and name it here) where your suggestions will include
6488            the action string.  Then, in your content provider, you must provide this column, and
6489            when desired, provide data in this column.
6490            The search manager will look at your suggestion cursor, using the string
6491            provided here in order to select a column, and will use that to select a string from
6492            the cursor.  That string will be added to the
6493            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to
6494            your searchable activity.  To examine the string, use
6495            {@link android.content.Intent#getStringExtra
6496            getStringExtra(SearchManager.ACTION_MSG)}.  <i>If the data does not exist for the
6497            selection suggestion, the action key will be ignored.</i><i>Optional attribute.</i> -->
6498        <attr name="suggestActionMsgColumn" format="string" />
6499
6500    </declare-styleable>
6501
6502    <!-- ***************************************************************** -->
6503    <!-- Support for MapView. -->
6504    <!-- ***************************************************************** -->
6505    <eat-comment />
6506
6507    <!-- The set of attributes for a MapView. -->
6508    <declare-styleable name="MapView">
6509        <!-- Value is a string that specifies the Maps API Key to use. -->
6510        <attr name="apiKey" format="string" />
6511    </declare-styleable>
6512
6513    <!-- **************************************************************** -->
6514    <!-- Menu XML inflation. -->
6515    <!-- **************************************************************** -->
6516    <eat-comment />
6517
6518    <!-- Base attributes that are available to all Menu objects. -->
6519    <declare-styleable name="Menu">
6520    </declare-styleable>
6521
6522    <!-- Base attributes that are available to all groups. -->
6523    <declare-styleable name="MenuGroup">
6524
6525        <!-- The ID of the group. -->
6526        <attr name="id" />
6527
6528        <!-- The category applied to all items within this group.
6529             (This will be or'ed with the orderInCategory attribute.) -->
6530        <attr name="menuCategory">
6531            <!-- Items are part of a container. -->
6532            <enum name="container" value="0x00010000" />
6533            <!-- Items are provided by the system. -->
6534            <enum name="system" value="0x00020000" />
6535            <!-- Items are user-supplied secondary (infrequently used). -->
6536            <enum name="secondary" value="0x00030000" />
6537            <!-- Items are alternative actions. -->
6538            <enum name="alternative" value="0x00040000" />
6539        </attr>
6540
6541        <!-- The order within the category applied to all items within this group.
6542             (This will be or'ed with the category attribute.) -->
6543        <attr name="orderInCategory" format="integer" />
6544
6545        <!-- Whether the items are capable of displaying a check mark. -->
6546        <attr name="checkableBehavior">
6547            <!-- The items are not checkable. -->
6548            <enum name="none" value="0" />
6549            <!-- The items are all checkable. -->
6550            <enum name="all" value="1" />
6551            <!-- The items are checkable and there will only be a single checked item in
6552                 this group. -->
6553            <enum name="single" value="2" />
6554        </attr>
6555
6556        <!-- Whether the items are shown/visible. -->
6557        <attr name="visible" />
6558
6559        <!-- Whether the items are enabled. -->
6560        <attr name="enabled" />
6561
6562    </declare-styleable>
6563
6564    <!-- Base attributes that are available to all Item objects. -->
6565    <declare-styleable name="MenuItem">
6566
6567        <!-- The ID of the item. -->
6568        <attr name="id" />
6569
6570        <!-- The category applied to the item.
6571             (This will be or'ed with the orderInCategory attribute.) -->
6572        <attr name="menuCategory" />
6573
6574        <!-- The order within the category applied to the item.
6575             (This will be or'ed with the category attribute.) -->
6576        <attr name="orderInCategory" />
6577
6578        <!-- The title associated with the item. -->
6579        <attr name="title" format="string" />
6580
6581        <!-- The condensed title associated with the item.  This is used in situations where the
6582             normal title may be too long to be displayed. -->
6583        <attr name="titleCondensed" format="string" />
6584
6585        <!-- The icon associated with this item.  This icon will not always be shown, so
6586             the title should be sufficient in describing this item. -->
6587        <attr name="icon" />
6588
6589        <!-- The alphabetic shortcut key.  This is the shortcut when using a keyboard
6590             with alphabetic keys. -->
6591        <attr name="alphabeticShortcut" format="string" />
6592
6593        <!-- The numeric shortcut key.  This is the shortcut when using a numeric (e.g., 12-key)
6594             keyboard. -->
6595        <attr name="numericShortcut" format="string" />
6596
6597        <!-- Whether the item is capable of displaying a check mark. -->
6598        <attr name="checkable" format="boolean" />
6599
6600        <!-- Whether the item is checked.  Note that you must first have enabled checking with
6601             the checkable attribute or else the check mark will not appear. -->
6602        <attr name="checked" />
6603
6604        <!-- Whether the item is shown/visible. -->
6605        <attr name="visible" />
6606
6607        <!-- Whether the item is enabled. -->
6608        <attr name="enabled" />
6609
6610        <!-- Name of a method on the Context used to inflate the menu that will be
6611             called when the item is clicked. -->
6612        <attr name="onClick" />
6613
6614        <!-- How this item should display in the Action Bar, if present. -->
6615        <attr name="showAsAction">
6616            <!-- Never show this item in an action bar, show it in the overflow menu instead.
6617                 Mutually exclusive with "ifRoom" and "always". -->
6618            <flag name="never" value="0" />
6619            <!-- Show this item in an action bar if there is room for it as determined
6620                 by the system. Favor this option over "always" where possible.
6621                 Mutually exclusive with "never" and "always". -->
6622            <flag name="ifRoom" value="1" />
6623            <!-- Always show this item in an actionbar, even if it would override
6624                 the system's limits of how much stuff to put there. This may make
6625                 your action bar look bad on some screens. In most cases you should
6626                 use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never". -->
6627            <flag name="always" value="2" />
6628            <!-- When this item is shown as an action in the action bar, show a text
6629                 label with it even if it has an icon representation. -->
6630            <flag name="withText" value="4" />
6631            <!-- This item's action view collapses to a normal menu
6632                 item. When expanded, the action view takes over a
6633                 larger segment of its container. -->
6634            <flag name="collapseActionView" value="8" />
6635        </attr>
6636
6637        <!-- An optional layout to be used as an action view.
6638             See {@link android.view.MenuItem#setActionView(android.view.View)}
6639             for more info. -->
6640        <attr name="actionLayout" format="reference" />
6641
6642        <!-- The name of an optional View class to instantiate and use as an
6643             action view. See {@link android.view.MenuItem#setActionView(android.view.View)}
6644             for more info. -->
6645        <attr name="actionViewClass" format="string" />
6646
6647        <!-- The name of an optional ActionProvider class to instantiate an action view
6648             and perform operations such as default action for that menu item.
6649             See {@link android.view.MenuItem#setActionProvider(android.view.ActionProvider)}
6650             for more info. -->
6651        <attr name="actionProviderClass" format="string" />
6652
6653        <!-- An optional tint for the item's icon.
6654             See {@link android.view.MenuItem#setIconTintList(android.content.res.ColorStateList)}
6655             for more info. -->
6656        <attr name="iconTint" format="color" />
6657
6658        <!-- The blending mode used for tinting the item's icon
6659             See {@link android.view.MenuItem#setIconTintMode(android.graphics.PorterDuff.Mode)}
6660             for more info. -->
6661        <attr name="iconTintMode">
6662            <!-- The tint is drawn on top of the drawable.
6663                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
6664            <enum name="src_over" value="3" />
6665            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
6666                 color channels are thrown out. [Sa * Da, Sc * Da] -->
6667            <enum name="src_in" value="5" />
6668            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
6669                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
6670            <enum name="src_atop" value="9" />
6671            <!-- Multiplies the color and alpha channels of the drawable with those of
6672                 the tint. [Sa * Da, Sc * Dc] -->
6673            <enum name="multiply" value="14" />
6674            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
6675            <enum name="screen" value="15" />
6676            <!-- Combines the tint and drawable color and alpha channels, clamping the
6677                 result to valid color values. Saturate(S + D) -->
6678            <enum name="add" value="16" />
6679        </attr>
6680    </declare-styleable>
6681
6682    <!-- Attrbitutes for a ActvityChooserView. -->
6683    <declare-styleable name="ActivityChooserView">
6684        <!-- The maximal number of items initially shown in the activity list. -->
6685        <attr name="initialActivityCount" format="string" />
6686        <!-- The drawable to show in the button for expanding the activities overflow popup.
6687             <strong>Note:</strong> Clients would like to set this drawable
6688             as a clue about the action the chosen activity will perform. For
6689             example, if share activity is to be chosen the drawable should
6690             give a clue that sharing is to be performed.
6691         -->
6692        <attr name="expandActivityOverflowButtonDrawable" format="reference" />
6693    </declare-styleable>
6694
6695    <!-- **************************************************************** -->
6696    <!-- Preferences framework. -->
6697    <!-- **************************************************************** -->
6698    <eat-comment />
6699
6700    <!-- Base attributes available to PreferenceGroup. -->
6701    <declare-styleable name="PreferenceGroup">
6702        <!-- Whether to order the Preference under this group as they appear in the XML file.
6703             If this is false, the ordering will follow the Preference order attribute and
6704             default to alphabetic for those without the order attribute. -->
6705        <attr name="orderingFromXml" format="boolean" />
6706    </declare-styleable>
6707
6708    <!-- Attribute for a header describing the item shown in the top-level list
6709         from which the selects the set of preference to dig in to. -->
6710    <declare-styleable name="PreferenceHeader">
6711        <!-- Identifier value for the header. -->
6712        <attr name="id" />
6713        <!-- The title of the item that is shown to the user. -->
6714        <attr name="title" />
6715        <!-- The summary for the item. -->
6716        <attr name="summary" format="string" />
6717        <!-- The title for the bread crumb of this item. -->
6718        <attr name="breadCrumbTitle" format="string" />
6719        <!-- The short title for the bread crumb of this item. -->
6720        <attr name="breadCrumbShortTitle" format="string" />
6721        <!-- An icon for the item. -->
6722        <attr name="icon" />
6723        <!-- The fragment that is displayed when the user selects this item. -->
6724        <attr name="fragment" format="string" />
6725    </declare-styleable>
6726
6727    <!-- WARNING:  If adding attributes to Preference, make sure it does not conflict
6728                   with a View's attributes.  Some subclasses (e.g., EditTextPreference)
6729                   proxy all attributes to its EditText widget. -->
6730    <eat-comment />
6731
6732    <!-- Base attributes available to Preference. -->
6733    <declare-styleable name="Preference">
6734        <!-- The optional icon for the preference -->
6735        <attr name="icon" />
6736        <!-- The key to store the Preference value. -->
6737        <attr name="key" format="string" />
6738        <!-- The title for the Preference in a PreferenceActivity screen. -->
6739        <attr name="title" />
6740        <!-- The summary for the Preference in a PreferenceActivity screen. -->
6741        <attr name="summary" />
6742        <!-- The order for the Preference (lower values are to be ordered first). If this is not
6743             specified, the default ordering will be alphabetic. -->
6744        <attr name="order" format="integer" />
6745        <!-- When used inside of a modern PreferenceActivity, this declares
6746             a new PreferenceFragment to be shown when the user selects this item. -->
6747        <attr name="fragment" />
6748        <!-- The layout for the Preference in a PreferenceActivity screen. This should
6749             rarely need to be changed, look at widgetLayout instead. -->
6750        <attr name="layout" />
6751        <!-- The layout for the controllable widget portion of a Preference. This is inflated
6752             into the layout for a Preference and should be used more frequently than
6753             the layout attribute. For example, a checkbox preference would specify
6754             a custom layout (consisting of just the CheckBox) here. -->
6755        <attr name="widgetLayout" format="reference" />
6756        <!-- Whether the Preference is enabled. -->
6757        <attr name="enabled" />
6758        <!-- Whether the Preference is selectable. -->
6759        <attr name="selectable" format="boolean" />
6760        <!-- The key of another Preference that this Preference will depend on.  If the other
6761             Preference is not set or is off, this Preference will be disabled. -->
6762        <attr name="dependency" format="string" />
6763        <!-- Whether the Preference stores its value to the shared preferences. -->
6764        <attr name="persistent" />
6765        <!-- The default value for the preference, which will be set either if persistence
6766             is off or persistence is on and the preference is not found in the persistent
6767             storage.  -->
6768        <attr name="defaultValue" format="string|boolean|integer|reference|float" />
6769        <!-- Whether the view of this Preference should be disabled when
6770             this Preference is disabled. -->
6771        <attr name="shouldDisableView" format="boolean" />
6772    </declare-styleable>
6773
6774    <!-- Base attributes available to CheckBoxPreference. -->
6775    <declare-styleable name="CheckBoxPreference">
6776        <!-- The summary for the Preference in a PreferenceActivity screen when the
6777             CheckBoxPreference is checked. If separate on/off summaries are not
6778             needed, the summary attribute can be used instead. -->
6779        <attr name="summaryOn" format="string" />
6780        <!-- The summary for the Preference in a PreferenceActivity screen when the
6781             CheckBoxPreference is unchecked. If separate on/off summaries are not
6782             needed, the summary attribute can be used instead. -->
6783        <attr name="summaryOff" format="string" />
6784        <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
6785             dependents will be disabled when this is unchecked, so the value of this preference is false. -->
6786        <attr name="disableDependentsState" format="boolean" />
6787    </declare-styleable>
6788
6789    <!-- Base attributes available to DialogPreference. -->
6790    <declare-styleable name="DialogPreference">
6791        <!-- The title in the dialog. -->
6792        <attr name="dialogTitle" format="string" />
6793        <!-- The message in the dialog. If a dialogLayout is provided and contains
6794             a TextView with ID android:id/message, this message will be placed in there. -->
6795        <attr name="dialogMessage" format="string" />
6796        <!-- The icon for the dialog. -->
6797        <attr name="dialogIcon" format="reference" />
6798        <!-- The positive button text for the dialog. Set to @null to hide the positive button. -->
6799        <attr name="positiveButtonText" format="string" />
6800        <!-- The negative button text for the dialog. Set to @null to hide the negative button. -->
6801        <attr name="negativeButtonText" format="string" />
6802        <!-- A layout to be used as the content View for the dialog. By default, this shouldn't
6803             be needed. If a custom DialogPreference is required, this should be set. For example,
6804             the EditTextPreference uses a layout with an EditText as this attribute. -->
6805        <attr name="dialogLayout" format="reference" />
6806    </declare-styleable>
6807
6808    <!-- Base attributes available to ListPreference. -->
6809    <declare-styleable name="ListPreference">
6810        <!-- The human-readable array to present as a list. Each entry must have a corresponding
6811             index in entryValues. -->
6812        <attr name="entries" />
6813        <!-- The array to find the value to save for a preference when an entry from
6814             entries is selected. If a user clicks on the second item in entries, the
6815             second item in this array will be saved to the preference. -->
6816        <attr name="entryValues" format="reference" />
6817    </declare-styleable>
6818
6819    <declare-styleable name="MultiSelectListPreference">
6820        <!-- The human-readable array to present as a list. Each entry must have a corresponding
6821             index in entryValues. -->
6822        <attr name="entries" />
6823        <!-- The array to find the value to save for a preference when an entry from
6824             entries is selected. If a user clicks the second item in entries, the
6825             second item in this array will be saved to the preference. -->
6826        <attr name="entryValues" />
6827    </declare-styleable>
6828
6829    <!-- Base attributes available to RingtonePreference. -->
6830    <declare-styleable name="RingtonePreference">
6831        <!-- Which ringtone type(s) to show in the picker. -->
6832        <attr name="ringtoneType">
6833            <!-- Ringtones. -->
6834            <flag name="ringtone" value="1" />
6835            <!-- Notification sounds. -->
6836            <flag name="notification" value="2" />
6837            <!-- Alarm sounds. -->
6838            <flag name="alarm" value="4" />
6839            <!-- All available ringtone sounds. -->
6840            <flag name="all" value="7" />
6841        </attr>
6842        <!-- Whether to show an item for a default sound. -->
6843        <attr name="showDefault" format="boolean" />
6844        <!-- Whether to show an item for 'Silent'. -->
6845        <attr name="showSilent" format="boolean" />
6846    </declare-styleable>
6847
6848    <!-- Base attributes available to VolumePreference. -->
6849    <declare-styleable name="VolumePreference">
6850        <!-- Different audio stream types. -->
6851        <attr name="streamType">
6852            <enum name="voice" value="0" />
6853            <enum name="system" value="1" />
6854            <enum name="ring" value="2" />
6855            <enum name="music" value="3" />
6856            <enum name="alarm" value="4" />
6857        </attr>
6858    </declare-styleable>
6859
6860    <declare-styleable name="InputMethodService">
6861        <!-- Background to use for entire input method when it is being
6862             shown in fullscreen mode with the extract view, to ensure
6863             that it completely covers the application.  This allows,
6864             for example, the candidate view to be hidden
6865             while in fullscreen mode without having the application show through
6866             behind it.-->
6867        <attr name="imeFullscreenBackground" format="reference|color" />
6868        <!-- Animation to use when showing the fullscreen extract UI after
6869             it had previously been hidden. -->
6870        <attr name="imeExtractEnterAnimation" format="reference" />
6871        <!-- Animation to use when hiding the fullscreen extract UI after
6872             it had previously been shown. -->
6873        <attr name="imeExtractExitAnimation" format="reference" />
6874    </declare-styleable>
6875
6876    <declare-styleable name="VoiceInteractionSession">
6877    </declare-styleable>
6878
6879    <declare-styleable name="KeyboardView">
6880        <!-- Default KeyboardView style. -->
6881        <attr name="keyboardViewStyle" format="reference" />
6882
6883        <!-- Image for the key. This image needs to be a StateListDrawable, with the following
6884             possible states: normal, pressed, checkable, checkable+pressed, checkable+checked,
6885             checkable+checked+pressed. -->
6886        <attr name="keyBackground" format="reference" />
6887
6888        <!-- Size of the text for character keys. -->
6889        <attr name="keyTextSize" format="dimension" />
6890
6891        <!-- Size of the text for custom keys with some text and no icon. -->
6892        <attr name="labelTextSize" format="dimension" />
6893
6894        <!-- Color to use for the label in a key. -->
6895        <attr name="keyTextColor" format="color" />
6896
6897        <!-- Layout resource for key press feedback.-->
6898        <attr name="keyPreviewLayout" format="reference" />
6899
6900        <!-- Vertical offset of the key press feedback from the key. -->
6901        <attr name="keyPreviewOffset" format="dimension" />
6902
6903        <!-- Height of the key press feedback popup. -->
6904        <attr name="keyPreviewHeight" format="dimension" />
6905
6906        <!-- Amount to offset the touch Y coordinate by, for bias correction. -->
6907        <attr name="verticalCorrection" format="dimension" />
6908
6909        <!-- Layout resource for popup keyboards. -->
6910        <attr name="popupLayout" format="reference" />
6911
6912        <attr name="shadowColor" />
6913        <attr name="shadowRadius" />
6914    </declare-styleable>
6915
6916    <declare-styleable name="KeyboardViewPreviewState">
6917        <!-- State for {@link android.inputmethodservice.KeyboardView KeyboardView}
6918                key preview background. -->
6919        <attr name="state_long_pressable" format="boolean" />
6920    </declare-styleable>
6921
6922    <declare-styleable name="Keyboard">
6923        <!-- Default width of a key, in pixels or percentage of display width. -->
6924        <attr name="keyWidth" format="dimension|fraction" />
6925        <!-- Default height of a key, in pixels or percentage of display width. -->
6926        <attr name="keyHeight" format="dimension|fraction" />
6927        <!-- Default horizontal gap between keys. -->
6928        <attr name="horizontalGap" format="dimension|fraction" />
6929        <!-- Default vertical gap between rows of keys. -->
6930        <attr name="verticalGap" format="dimension|fraction" />
6931    </declare-styleable>
6932
6933    <declare-styleable name="Keyboard_Row">
6934        <!-- Row edge flags. -->
6935        <attr name="rowEdgeFlags">
6936            <!-- Row is anchored to the top of the keyboard. -->
6937            <flag name="top" value="4" />
6938            <!-- Row is anchored to the bottom of the keyboard. -->
6939            <flag name="bottom" value="8" />
6940        </attr>
6941        <!-- Mode of the keyboard. If the mode doesn't match the
6942             requested keyboard mode, the row will be skipped. -->
6943        <attr name="keyboardMode" format="reference" />
6944    </declare-styleable>
6945
6946    <declare-styleable name="Keyboard_Key">
6947        <!-- The unicode value or comma-separated values that this key outputs. -->
6948        <attr name="codes" format="integer|string" />
6949        <!-- The XML keyboard layout of any popup keyboard. -->
6950        <attr name="popupKeyboard" format="reference" />
6951        <!-- The characters to display in the popup keyboard. -->
6952        <attr name="popupCharacters" format="string" />
6953        <!-- Key edge flags. -->
6954        <attr name="keyEdgeFlags">
6955            <!-- Key is anchored to the left of the keyboard. -->
6956            <flag name="left" value="1" />
6957            <!-- Key is anchored to the right of the keyboard. -->
6958            <flag name="right" value="2" />
6959        </attr>
6960        <!-- Whether this is a modifier key such as Alt or Shift. -->
6961        <attr name="isModifier" format="boolean" />
6962        <!-- Whether this is a toggle key. -->
6963        <attr name="isSticky" format="boolean" />
6964        <!-- Whether long-pressing on this key will make it repeat. -->
6965        <attr name="isRepeatable" format="boolean" />
6966        <!-- The icon to show in the popup preview. -->
6967        <attr name="iconPreview" format="reference" />
6968        <!-- The string of characters to output when this key is pressed. -->
6969        <attr name="keyOutputText" format="string" />
6970        <!-- The label to display on the key. -->
6971        <attr name="keyLabel" format="string" />
6972        <!-- The icon to display on the key instead of the label. -->
6973        <attr name="keyIcon" format="reference" />
6974        <!-- Mode of the keyboard. If the mode doesn't match the
6975             requested keyboard mode, the key will be skipped. -->
6976        <attr name="keyboardMode" />
6977    </declare-styleable>
6978
6979    <!-- =============================== -->
6980    <!-- AppWidget package class attributes -->
6981    <!-- =============================== -->
6982    <eat-comment />
6983
6984    <!-- Use <code>appwidget-provider</code> as the root tag of the XML resource that
6985         describes an AppWidget provider.  See {@link android.appwidget android.appwidget}
6986         package for more info.
6987     -->
6988    <declare-styleable name="AppWidgetProviderInfo">
6989        <!-- Minimum width of the AppWidget. -->
6990        <attr name="minWidth"/>
6991        <!-- Minimum height of the AppWidget. -->
6992        <attr name="minHeight"/>
6993        <!-- Minimum width that the AppWidget can be resized to. -->
6994        <attr name="minResizeWidth" format="dimension"/>
6995        <!-- Minimum height that the AppWidget can be resized to. -->
6996        <attr name="minResizeHeight" format="dimension"/>
6997        <!-- Update period in milliseconds, or 0 if the AppWidget will update itself. -->
6998        <attr name="updatePeriodMillis" format="integer" />
6999        <!-- A resource id of a layout. -->
7000        <attr name="initialLayout" format="reference" />
7001        <!-- A resource id of a layout. -->
7002        <attr name="initialKeyguardLayout" format="reference" />
7003        <!-- A class name in the AppWidget's package to be launched to configure.
7004             If not supplied, then no activity will be launched. -->
7005        <attr name="configure" format="string" />
7006        <!-- A preview of what the AppWidget will look like after it's configured.
7007              If not supplied, the AppWidget's icon will be used. -->
7008        <attr name="previewImage" format="reference" />
7009        <!-- The view id of the AppWidget subview which should be auto-advanced.
7010             by the widget's host. -->
7011        <attr name="autoAdvanceViewId" format="reference" />
7012        <!-- Optional parameter which indicates if and how this widget can be
7013             resized. Supports combined values using | operator. -->
7014        <attr name="resizeMode" format="integer">
7015            <flag name="none" value="0x0" />
7016            <flag name="horizontal" value="0x1" />
7017            <flag name="vertical" value="0x2" />
7018        </attr>
7019        <!-- Optional parameter which indicates where this widget can be shown,
7020             ie. home screen, keyguard, search bar or any combination thereof.
7021             Supports combined values using | operator. -->
7022        <attr name="widgetCategory" format="integer">
7023            <flag name="home_screen" value="0x1" />
7024            <flag name="keyguard" value="0x2" />
7025            <flag name="searchbox" value="0x4" />
7026        </attr>
7027    </declare-styleable>
7028
7029    <!-- =============================== -->
7030    <!-- Wallpaper preview attributes    -->
7031    <!-- =============================== -->
7032    <eat-comment />
7033
7034    <!-- Use <code>wallpaper-preview</code> as the root tag of the XML resource that
7035         describes a wallpaper preview. -->
7036    <declare-styleable name="WallpaperPreviewInfo">
7037        <!-- A resource id of a static drawable. -->
7038        <attr name="staticWallpaperPreview" format="reference" />
7039    </declare-styleable>
7040
7041    <!-- =============================== -->
7042    <!-- App package class attributes -->
7043    <!-- =============================== -->
7044    <eat-comment />
7045
7046    <!-- ============================= -->
7047    <!-- View package class attributes -->
7048    <!-- ============================= -->
7049    <eat-comment />
7050
7051    <!-- Attributes that can be used with <code>&lt;fragment&gt;</code>
7052         tags inside of the layout of an Activity.  This instantiates
7053         the given {@link android.app.Fragment} and inserts its content
7054         view into the current location in the layout. -->
7055    <declare-styleable name="Fragment">
7056        <!-- Supply the name of the fragment class to instantiate. -->
7057        <attr name="name" />
7058
7059        <!-- Supply an identifier name for the top-level view, to later retrieve it
7060             with {@link android.view.View#findViewById View.findViewById()} or
7061             {@link android.app.Activity#findViewById Activity.findViewById()}.
7062             This must be a
7063             resource reference; typically you set this using the
7064             <code>@+</code> syntax to create a new ID resources.
7065             For example: <code>android:id="@+id/my_id"</code> which
7066             allows you to later retrieve the view
7067             with <code>findViewById(R.id.my_id)</code>. -->
7068        <attr name="id" />
7069
7070        <!-- Supply a tag for the top-level view containing a String, to be retrieved
7071             later with {@link android.view.View#getTag View.getTag()} or
7072             searched for with {@link android.view.View#findViewWithTag
7073             View.findViewWithTag()}.  It is generally preferable to use
7074             IDs (through the android:id attribute) instead of tags because
7075             they are faster and allow for compile-time type checking. -->
7076        <attr name="tag" />
7077
7078        <!-- The Transition that will be used to move Views out of the scene when the
7079             fragment is removed, hidden, or detached when not popping the back stack.
7080             Corresponds to {@link android.app.Fragment#setExitTransition(
7081             android.transition.Transition)} -->
7082        <attr name="fragmentExitTransition" format="reference"/>
7083
7084        <!-- The Transition that will be used to move Views into the initial scene.
7085             Corresponds to {@link android.app.Fragment#setEnterTransition(
7086             android.transition.Transition)} -->
7087        <attr name="fragmentEnterTransition" format="reference"/>
7088
7089        <!-- The Transition that will be used for shared elements transferred into the content
7090             Scene.
7091             Corresponds to {@link android.app.Fragment#setSharedElementEnterTransition(
7092             android.transition.Transition)} -->
7093        <attr name="fragmentSharedElementEnterTransition" format="reference"/>
7094
7095        <!-- The Transition that will be used to move Views out of the scene when the Fragment is
7096             preparing to be removed, hidden, or detached because of popping the back stack.
7097             Corresponds to {@link android.app.Fragment#setReturnTransition(
7098             android.transition.Transition)} -->
7099        <attr name="fragmentReturnTransition" format="reference"/>
7100
7101        <!-- The Transition that will be used for shared elements transferred back during a
7102             pop of the back stack. This Transition acts in the leaving Fragment.
7103             Corresponds to {@link android.app.Fragment#setSharedElementReturnTransition(
7104             android.transition.Transition)} -->
7105        <attr name="fragmentSharedElementReturnTransition" format="reference"/>
7106
7107        <!-- The Transition that will be used to move Views in to the scene when returning due
7108             to popping a back stack.
7109             Corresponds to {@link android.app.Fragment#setReenterTransition(
7110             android.transition.Transition)} -->
7111        <attr name="fragmentReenterTransition" format="reference"/>
7112
7113        <!-- Sets whether the enter and exit transitions should overlap when transitioning
7114             forward.
7115             Corresponds to {@link android.app.Fragment#setAllowEnterTransitionOverlap(
7116             boolean)} -->
7117        <attr name="fragmentAllowEnterTransitionOverlap" format="reference"/>
7118
7119        <!-- Sets whether the enter and exit transitions should overlap when transitioning
7120             because of popping the back stack.
7121             Corresponds to {@link android.app.Fragment#setAllowReturnTransitionOverlap(
7122             boolean)} -->
7123        <attr name="fragmentAllowReturnTransitionOverlap" format="reference"/>
7124    </declare-styleable>
7125
7126    <!-- Use <code>device-admin</code> as the root tag of the XML resource that
7127         describes a
7128         {@link android.app.admin.DeviceAdminReceiver}, which is
7129         referenced from its
7130         {@link android.app.admin.DeviceAdminReceiver#DEVICE_ADMIN_META_DATA}
7131         meta-data entry.  Described here are the attributes that can be
7132         included in that tag. -->
7133    <declare-styleable name="DeviceAdmin">
7134        <!-- Control whether the admin is visible to the user, even when it
7135             is not enabled.  This is true by default.  You may want to make
7136             it false if your admin does not make sense to be turned on
7137             unless some explicit action happens in your app. -->
7138        <attr name="visible" />
7139    </declare-styleable>
7140
7141    <!-- Use <code>wallpaper</code> as the root tag of the XML resource that
7142         describes an
7143         {@link android.service.wallpaper.WallpaperService}, which is
7144         referenced from its
7145         {@link android.service.wallpaper.WallpaperService#SERVICE_META_DATA}
7146         meta-data entry.  Described here are the attributes that can be
7147         included in that tag. -->
7148    <declare-styleable name="Wallpaper">
7149        <attr name="settingsActivity" />
7150
7151        <!-- Reference to a the wallpaper's thumbnail bitmap. -->
7152        <attr name="thumbnail" format="reference" />
7153
7154        <!-- Name of the author of this component, e.g. Google. -->
7155        <attr name="author" format="reference" />
7156
7157        <!-- Short description of the component's purpose or behavior. -->
7158        <attr name="description" />
7159    </declare-styleable>
7160
7161    <!-- Use <code>dream</code> as the root tag of the XML resource that
7162         describes an
7163         {@link android.service.dreams.DreamService}, which is
7164         referenced from its
7165         {@link android.service.dreams.DreamService#DREAM_META_DATA}
7166         meta-data entry.  Described here are the attributes that can be
7167         included in that tag. -->
7168    <declare-styleable name="Dream">
7169        <!-- Component name of an activity that allows the user to modify
7170             the settings for this dream. -->
7171        <attr name="settingsActivity" />
7172    </declare-styleable>
7173
7174    <!-- @SystemApi Use <code>trust-agent</code> as the root tag of the XML resource that
7175         describes an {@link android.service.trust.TrustAgentService}, which is
7176         referenced from its {@link android.service.trust.TrustAgentService#TRUST_AGENT_META_DATA}
7177         meta-data entry.  Described here are the attributes that can be included in that tag.
7178         @hide -->
7179    <declare-styleable name="TrustAgent">
7180        <!-- @SystemApi Component name of an activity that allows the user to modify
7181             the settings for this trust agent. @hide -->
7182        <attr name="settingsActivity" />
7183        <!-- @SystemApi Title for a preference that allows that user to launch the
7184             activity to modify trust agent settings. @hide -->
7185        <attr name="title" />
7186        <!-- @SystemApi Summary for the same preference as the title. @hide -->
7187        <attr name="summary" />
7188    </declare-styleable>
7189
7190    <!-- =============================== -->
7191    <!-- Accounts package class attributes -->
7192    <!-- =============================== -->
7193    <eat-comment />
7194
7195    <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
7196         describes an account authenticator.
7197     -->
7198    <declare-styleable name="AccountAuthenticator">
7199        <!-- The account type this authenticator handles. -->
7200        <attr name="accountType" format="string"/>
7201        <!-- The user-visible name of the authenticator. -->
7202        <attr name="label"/>
7203        <!-- The icon of the authenticator. -->
7204        <attr name="icon"/>
7205        <!-- Smaller icon of the authenticator. -->
7206        <attr name="smallIcon" format="reference"/>
7207        <!-- A preferences.xml file for authenticator-specific settings. -->
7208        <attr name="accountPreferences" format="reference"/>
7209        <!-- Account handles its own token storage and permissions.
7210             Default to false
7211          -->
7212        <attr name="customTokens" format="boolean"/>
7213    </declare-styleable>
7214
7215    <!-- =============================== -->
7216    <!-- Accounts package class attributes -->
7217    <!-- =============================== -->
7218    <eat-comment />
7219
7220    <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
7221         describes an account authenticator.
7222     -->
7223    <declare-styleable name="SyncAdapter">
7224        <!-- the authority of a content provider. -->
7225        <attr name="contentAuthority" format="string"/>
7226        <attr name="accountType"/>
7227        <attr name="userVisible" format="boolean"/>
7228        <attr name="supportsUploading" format="boolean"/>
7229        <!-- Set to true to tell the SyncManager that this SyncAdapter supports
7230             multiple simultaneous syncs for the same account type and authority.
7231             Otherwise the SyncManager will be sure not to issue a start sync request
7232             to this SyncAdapter if the SyncAdapter is already syncing another account.
7233             Defaults to false.
7234             -->
7235        <attr name="allowParallelSyncs" format="boolean"/>
7236        <!-- Set to true to tell the SyncManager to automatically call setIsSyncable(..., ..., 1)
7237             for the SyncAdapter instead of issuaing an initialization sync to the SyncAdapter.
7238             Defaults to false.
7239             -->
7240        <attr name="isAlwaysSyncable" format="boolean"/>
7241        <!-- If provided, specifies the action of the settings
7242             activity for this SyncAdapter.
7243             -->
7244        <attr name="settingsActivity"/>
7245    </declare-styleable>
7246
7247    <!-- =============================== -->
7248    <!-- Contacts meta-data attributes -->
7249    <!-- =============================== -->
7250    <eat-comment />
7251
7252    <!-- TODO: remove this deprecated styleable. -->
7253    <eat-comment />
7254    <declare-styleable name="Icon">
7255        <attr name="icon" />
7256        <attr name="mimeType" />
7257    </declare-styleable>
7258
7259    <!-- TODO: remove this deprecated styleable -->
7260    <eat-comment />
7261    <declare-styleable name="IconDefault">
7262        <attr name="icon" />
7263    </declare-styleable>
7264
7265    <!-- Maps a specific contact data MIME-type to styling information. -->
7266    <declare-styleable name="ContactsDataKind">
7267        <!-- Mime-type handled by this mapping. -->
7268        <attr name="mimeType" />
7269        <!-- Icon used to represent data of this kind. -->
7270        <attr name="icon" />
7271        <!-- Column in data table that summarizes this data. -->
7272        <attr name="summaryColumn" format="string" />
7273        <!-- Column in data table that contains details for this data. -->
7274        <attr name="detailColumn" format="string" />
7275        <!-- Flag indicating that detail should be built from SocialProvider. -->
7276        <attr name="detailSocialSummary" format="boolean" />
7277        <!-- Resource representing the term "All Contacts" (e.g. "All Friends" or
7278        "All connections"). Optional (Default is "All Contacts"). -->
7279        <attr name="allContactsName" format="string" />
7280    </declare-styleable>
7281
7282    <!-- =============================== -->
7283    <!-- TabSelector class attributes -->
7284    <!-- =============================== -->
7285    <eat-comment />
7286
7287    <declare-styleable name="SlidingTab">
7288        <!-- Use "horizontal" for a row, "vertical" for a column.  The default is horizontal. -->
7289        <attr name="orientation" />
7290    </declare-styleable>
7291
7292    <!-- =============================== -->
7293    <!-- GlowPadView class attributes -->
7294    <!-- =============================== -->
7295    <eat-comment />
7296    <declare-styleable name="GlowPadView">
7297        <!-- Reference to an array resource that be used as description for the targets around the circle.
7298             {@deprecated Removed.} -->
7299        <attr name="targetDescriptions" format="reference" />
7300
7301        <!-- Reference to an array resource that be used to announce the directions with targets around the circle.
7302             {@deprecated Removed.}-->
7303        <attr name="directionDescriptions" format="reference" />
7304    </declare-styleable>
7305
7306    <!-- =============================== -->
7307    <!-- Location package class attributes -->
7308    <!-- =============================== -->
7309    <eat-comment />
7310
7311    <!-- Use <code>injected-location-setting</code> as the root tag of the XML resource that
7312         describes an injected "Location services" setting. Note that the status value (subtitle)
7313         for the setting is specified dynamically by a subclass of SettingInjectorService.
7314     -->
7315    <declare-styleable name="SettingInjectorService">
7316        <!-- The title for the preference. -->
7317        <attr name="title"/>
7318        <!-- The icon for the preference, should refer to all apps covered by the setting. Typically
7319             a generic icon for the developer. -->
7320        <attr name="icon"/>
7321        <!-- The activity to launch when the setting is clicked on. -->
7322        <attr name="settingsActivity"/>
7323    </declare-styleable>
7324
7325    <!-- =============================== -->
7326    <!-- LockPatternView class attributes -->
7327    <!-- =============================== -->
7328    <eat-comment />
7329
7330    <declare-styleable name="LockPatternView">
7331        <!-- Aspect to use when drawing LockPatternView. Choices are "square"(default), "lock_width"
7332             or "lock_height" -->
7333        <attr name="aspect" format="string" />
7334        <!-- Color to use when drawing LockPatternView paths. -->
7335        <attr name="pathColor" format="color|reference" />
7336        <!-- The regular pattern color -->
7337        <attr name="regularColor" format="color|reference" />
7338        <!-- The error color -->
7339        <attr name="errorColor" format="color|reference" />
7340        <!-- The success color -->
7341        <attr name="successColor" format="color|reference"/>
7342    </declare-styleable>
7343
7344    <!-- Use <code>recognition-service</code> as the root tag of the XML resource that
7345         describes a {@link android.speech.RecognitionService}, which is referenced from
7346         its {@link android.speech.RecognitionService#SERVICE_META_DATA} meta-data entry.
7347         Described here are the attributes that can be included in that tag. -->
7348    <declare-styleable name="RecognitionService">
7349        <attr name="settingsActivity" />
7350    </declare-styleable>
7351
7352    <!-- Use <code>voice-interaction-service</code> as the root tag of the XML resource that
7353         describes a {@link android.service.voice.VoiceInteractionService}, which is referenced from
7354         its {@link android.service.voice.VoiceInteractionService#SERVICE_META_DATA} meta-data entry.
7355         Described here are the attributes that can be included in that tag. -->
7356    <declare-styleable name="VoiceInteractionService">
7357        <!-- The service that hosts active voice interaction sessions.  This is required. -->
7358        <attr name="sessionService" format="string" />
7359        <!-- The service that provides voice recognition.  This is required.  When the user
7360             selects this voice interaction service, they will also be implicitly selecting
7361             the component here for their recognition service. -->
7362        <attr name="recognitionService" format="string" />
7363        <attr name="settingsActivity" />
7364        <!-- Flag indicating whether this voice interaction service is capable of handling the
7365             assist action. -->
7366        <attr name="supportsAssist" format="boolean" />
7367        <!-- Flag indicating whether this voice interaction service is capable of being launched
7368             from the keyguard. -->
7369        <attr name="supportsLaunchVoiceAssistFromKeyguard" format="boolean" />
7370    </declare-styleable>
7371
7372    <!-- Use <code>voice-enrollment-application</code>
7373         as the root tag of the XML resource that escribes the supported keyphrases (hotwords)
7374         by the enrollment application.
7375         Described here are the attributes that can be included in that tag.
7376         @hide
7377         @SystemApi -->
7378    <declare-styleable name="VoiceEnrollmentApplication">
7379        <!-- A globally unique ID for the keyphrase. @hide @SystemApi -->
7380        <attr name="searchKeyphraseId" format="integer" />
7381        <!-- The actual keyphrase/hint text, or empty if not keyphrase dependent. @hide @SystemApi -->
7382        <attr name="searchKeyphrase" format="string" />
7383        <!-- A comma separated list of BCP-47 language tag for locales that are supported
7384             for this keyphrase, or empty if not locale dependent. @hide @SystemApi -->
7385        <attr name="searchKeyphraseSupportedLocales" format="string" />
7386        <!-- Flags for supported recognition modes. @hide @SystemApi -->
7387        <attr name="searchKeyphraseRecognitionFlags">
7388            <flag name="none" value="0" />
7389            <flag name="voiceTrigger" value="0x1" />
7390            <flag name="userIdentification" value="0x2" />
7391        </attr>
7392    </declare-styleable>
7393
7394    <!-- Attributes used to style the Action Bar. -->
7395    <declare-styleable name="ActionBar">
7396        <!-- The type of navigation to use. -->
7397        <attr name="navigationMode">
7398            <!-- Normal static title text -->
7399            <enum name="normal" value="0" />
7400            <!-- The action bar will use a selection list for navigation. -->
7401            <enum name="listMode" value="1" />
7402            <!-- The action bar will use a series of horizontal tabs for navigation. -->
7403            <enum name="tabMode" value="2" />
7404        </attr>
7405        <!-- Options affecting how the action bar is displayed. -->
7406        <attr name="displayOptions">
7407            <flag name="none" value="0" />
7408            <flag name="useLogo" value="0x1" />
7409            <flag name="showHome" value="0x2" />
7410            <flag name="homeAsUp" value="0x4" />
7411            <flag name="showTitle" value="0x8" />
7412            <flag name="showCustom" value="0x10" />
7413            <flag name="disableHome" value="0x20" />
7414        </attr>
7415        <!-- Specifies title text used for navigationMode="normal" -->
7416        <attr name="title" />
7417        <!-- Specifies subtitle text used for navigationMode="normal" -->
7418        <attr name="subtitle" format="string" />
7419        <!-- Specifies a style to use for title text. -->
7420        <attr name="titleTextStyle" format="reference" />
7421        <!-- Specifies a style to use for subtitle text. -->
7422        <attr name="subtitleTextStyle" format="reference" />
7423        <!-- Specifies the drawable used for the application icon. -->
7424        <attr name="icon" />
7425        <!-- Specifies the drawable used for the application logo. -->
7426        <attr name="logo" />
7427        <!-- Specifies the drawable used for item dividers. -->
7428        <attr name="divider" />
7429        <!-- Specifies a background drawable for the action bar. -->
7430        <attr name="background" />
7431        <!-- Specifies a background drawable for a second stacked row of the action bar. -->
7432        <attr name="backgroundStacked" format="reference|color" />
7433        <!-- Specifies a background drawable for the bottom component of a split action bar. -->
7434        <attr name="backgroundSplit" format="reference|color" />
7435        <!-- Specifies a layout for custom navigation. Overrides navigationMode. -->
7436        <attr name="customNavigationLayout" format="reference" />
7437        <!-- Specifies a fixed height. -->
7438        <attr name="height" />
7439        <!-- Specifies a layout to use for the "home" section of the action bar. -->
7440        <attr name="homeLayout" format="reference" />
7441        <!-- Specifies a style resource to use for an embedded progress bar. -->
7442        <attr name="progressBarStyle" />
7443        <!-- Specifies a style resource to use for an indeterminate progress spinner. -->
7444        <attr name="indeterminateProgressStyle" format="reference" />
7445        <!-- Specifies the horizontal padding on either end for an embedded progress bar. -->
7446        <attr name="progressBarPadding" format="dimension" />
7447        <!-- Up navigation glyph -->
7448        <attr name="homeAsUpIndicator" />
7449        <!-- Specifies padding that should be applied to the left and right sides of
7450             system-provided items in the bar. -->
7451        <attr name="itemPadding" format="dimension" />
7452        <!-- Set true to hide the action bar on a vertical nested scroll of content. -->
7453        <attr name="hideOnContentScroll" format="boolean" />
7454        <!-- Minimum inset for content views within a bar. Navigation buttons and
7455             menu views are excepted. Only valid for some themes and configurations. -->
7456        <attr name="contentInsetStart" format="dimension" />
7457        <!-- Minimum inset for content views within a bar. Navigation buttons and
7458             menu views are excepted. Only valid for some themes and configurations. -->
7459        <attr name="contentInsetEnd" format="dimension" />
7460        <!-- Minimum inset for content views within a bar. Navigation buttons and
7461             menu views are excepted. Only valid for some themes and configurations. -->
7462        <attr name="contentInsetLeft" format="dimension" />
7463        <!-- Minimum inset for content views within a bar. Navigation buttons and
7464             menu views are excepted. Only valid for some themes and configurations. -->
7465        <attr name="contentInsetRight" format="dimension" />
7466        <!-- Elevation for the action bar itself -->
7467        <attr name="elevation" />
7468        <!-- Reference to a theme that should be used to inflate popups
7469             shown by widgets in the action bar. -->
7470        <attr name="popupTheme" />
7471    </declare-styleable>
7472
7473    <declare-styleable name="ActionMode">
7474        <!-- Specifies a style to use for title text. -->
7475        <attr name="titleTextStyle" />
7476        <!-- Specifies a style to use for subtitle text. -->
7477        <attr name="subtitleTextStyle" />
7478        <!-- Specifies a background for the action mode bar. -->
7479        <attr name="background" />
7480        <!-- Specifies a background for the split action mode bar. -->
7481        <attr name="backgroundSplit" />
7482        <!-- Specifies a fixed height for the action mode bar. -->
7483        <attr name="height" />
7484        <!-- Specifies a layout to use for the "close" item at the starting edge. -->
7485        <attr name="closeItemLayout" format="reference" />
7486    </declare-styleable>
7487
7488    <declare-styleable name="SearchView">
7489        <!-- The layout to use for the search view. -->
7490        <attr name="layout" />
7491        <!-- The default state of the SearchView. If true, it will be iconified when not in
7492             use and expanded when clicked. -->
7493        <attr name="iconifiedByDefault" format="boolean" />
7494        <!-- An optional maximum width of the SearchView. -->
7495        <attr name="maxWidth" />
7496        <!-- An optional query hint string to be displayed in the empty query field. -->
7497        <attr name="queryHint" format="string" />
7498        <!-- Default query hint used when {@code queryHint} is undefined and
7499             the search view's {@code SearchableInfo} does not provide a hint.
7500             @hide -->
7501        <attr name="defaultQueryHint" format="string" />
7502        <!-- The IME options to set on the query text field. -->
7503        <attr name="imeOptions" />
7504        <!-- The input type to set on the query text field. -->
7505        <attr name="inputType" />
7506        <!-- Close button icon -->
7507        <attr name="closeIcon" format="reference" />
7508        <!-- Go button icon -->
7509        <attr name="goIcon" format="reference" />
7510        <!-- Search icon -->
7511        <attr name="searchIcon" format="reference" />
7512        <!-- Search icon displayed as a text field hint -->
7513        <attr name="searchHintIcon" format="reference" />
7514        <!-- Voice button icon -->
7515        <attr name="voiceIcon" format="reference" />
7516        <!-- Commit icon shown in the query suggestion row -->
7517        <attr name="commitIcon" format="reference" />
7518        <!-- Layout for query suggestion rows -->
7519        <attr name="suggestionRowLayout" format="reference" />
7520        <!-- Background for the section containing the search query -->
7521        <attr name="queryBackground" format="reference" />
7522        <!-- Background for the section containing the action (e.g. voice search) -->
7523        <attr name="submitBackground" format="reference" />
7524        <attr name="focusable" />
7525    </declare-styleable>
7526
7527    <declare-styleable name="Switch">
7528        <!-- Drawable to use as the "thumb" that switches back and forth. -->
7529        <attr name="thumb" />
7530        <!-- Tint to apply to the thumb. -->
7531        <attr name="thumbTint" />
7532        <!-- Blending mode used to apply the thumb tint. -->
7533        <attr name="thumbTintMode" />
7534        <!-- Drawable to use as the "track" that the switch thumb slides within. -->
7535        <attr name="track" format="reference" />
7536        <!-- Tint to apply to the track. -->
7537        <attr name="trackTint" format="color" />
7538        <!-- Blending mode used to apply the track tint. -->
7539        <attr name="trackTintMode">
7540            <!-- The tint is drawn on top of the drawable.
7541                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
7542            <enum name="src_over" value="3" />
7543            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
7544                 color channels are thrown out. [Sa * Da, Sc * Da] -->
7545            <enum name="src_in" value="5" />
7546            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
7547                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
7548            <enum name="src_atop" value="9" />
7549            <!-- Multiplies the color and alpha channels of the drawable with those of
7550                 the tint. [Sa * Da, Sc * Dc] -->
7551            <enum name="multiply" value="14" />
7552            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
7553            <enum name="screen" value="15" />
7554            <!-- Combines the tint and drawable color and alpha channels, clamping the
7555                 result to valid color values. Saturate(S + D) -->
7556            <enum name="add" value="16" />
7557        </attr>
7558        <!-- Text to use when the switch is in the checked/"on" state. -->
7559        <attr name="textOn" />
7560        <!-- Text to use when the switch is in the unchecked/"off" state. -->
7561        <attr name="textOff" />
7562        <!-- Amount of padding on either side of text within the switch thumb. -->
7563        <attr name="thumbTextPadding" format="dimension" />
7564        <!-- TextAppearance style for text displayed on the switch thumb. -->
7565        <attr name="switchTextAppearance" format="reference" />
7566        <!-- Minimum width for the switch component -->
7567        <attr name="switchMinWidth" format="dimension" />
7568        <!-- Minimum space between the switch and caption text -->
7569        <attr name="switchPadding" format="dimension" />
7570        <!-- Whether to split the track and leave a gap for the thumb drawable. -->
7571        <attr name="splitTrack" />
7572        <!-- Whether to draw on/off text. -->
7573        <attr name="showText" format="boolean" />
7574    </declare-styleable>
7575
7576    <declare-styleable name="Pointer">
7577        <!-- Reference to a pointer icon drawable with STYLE_ARROW -->
7578        <attr name="pointerIconArrow" format="reference" />
7579        <!-- Reference to a pointer icon drawable with STYLE_SPOT_HOVER -->
7580        <attr name="pointerIconSpotHover" format="reference" />
7581        <!-- Reference to a pointer icon drawable with STYLE_SPOT_TOUCH -->
7582        <attr name="pointerIconSpotTouch" format="reference" />
7583        <!-- Reference to a pointer icon drawable with STYLE_SPOT_ANCHOR -->
7584        <attr name="pointerIconSpotAnchor" format="reference" />
7585    </declare-styleable>
7586
7587    <declare-styleable name="PointerIcon">
7588        <!-- Drawable to use as the icon bitmap. -->
7589        <attr name="bitmap" format="reference" />
7590        <!-- X coordinate of the icon hot spot. -->
7591        <attr name="hotSpotX" format="dimension" />
7592        <!-- Y coordinate of the icon hot spot. -->
7593        <attr name="hotSpotY" format="dimension" />
7594    </declare-styleable>
7595
7596    <declare-styleable name="Storage">
7597        <!-- path to mount point for the storage -->
7598        <attr name="mountPoint" format="string" />
7599        <!-- user visible description of the storage -->
7600        <attr name="storageDescription" format="string" />
7601        <!-- true if the storage is the primary external storage -->
7602        <attr name="primary" format="boolean" />
7603        <!-- true if the storage is removable -->
7604        <attr name="removable" format="boolean" />
7605        <!-- true if the storage is emulated via the FUSE sdcard daemon -->
7606        <attr name="emulated" format="boolean" />
7607        <!-- number of megabytes of storage MTP should reserve for free storage
7608             (used for emulated storage that is shared with system's data partition) -->
7609        <attr name="mtpReserve" format="integer" />
7610        <!-- true if the storage can be shared via USB mass storage -->
7611        <attr name="allowMassStorage" format="boolean" />
7612        <!-- maximum file size for the volume in megabytes, zero or unspecified if it is unbounded -->
7613        <attr name="maxFileSize" format="integer" />
7614    </declare-styleable>
7615
7616    <declare-styleable name="SwitchPreference">
7617        <!-- The summary for the Preference in a PreferenceActivity screen when the
7618             SwitchPreference is checked. If separate on/off summaries are not
7619             needed, the summary attribute can be used instead. -->
7620        <attr name="summaryOn" />
7621        <!-- The summary for the Preference in a PreferenceActivity screen when the
7622             SwitchPreference is unchecked. If separate on/off summaries are not
7623             needed, the summary attribute can be used instead. -->
7624        <attr name="summaryOff" />
7625        <!-- The text used on the switch itself when in the "on" state.
7626             This should be a very SHORT string, as it appears in a small space. -->
7627        <attr name="switchTextOn" format="string" />
7628        <!-- The text used on the switch itself when in the "off" state.
7629             This should be a very SHORT string, as it appears in a small space. -->
7630        <attr name="switchTextOff" format="string" />
7631        <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
7632             dependents will be disabled when this is unchecked, so the value of this preference is false. -->
7633        <attr name="disableDependentsState" />
7634    </declare-styleable>
7635
7636    <declare-styleable name="SeekBarPreference">
7637        <attr name="layout" />
7638    </declare-styleable>
7639
7640    <!-- Base attributes available to PreferenceFragment. -->
7641    <declare-styleable name="PreferenceFragment">
7642        <!-- The layout for the PreferenceFragment. This should rarely need to be changed. -->
7643        <attr name="layout" />
7644    </declare-styleable>
7645
7646    <!-- Base attributes available to PreferenceActivity. -->
7647    <declare-styleable name="PreferenceActivity">
7648        <!-- The layout for the Preference Activity. This should rarely need to be changed. -->
7649        <attr name="layout" />
7650        <!-- The layout for the Preference Header. This should rarely need to be changed. -->
7651        <attr name="headerLayout" format="reference" />
7652        <!-- true if the Icon view will be removed when there is none and thus not showing
7653             the fixed margins. -->
7654        <attr name="headerRemoveIconIfEmpty" format="boolean" />
7655    </declare-styleable>
7656
7657    <!-- Use <code>tts-engine</code> as the root tag of the XML resource that
7658         describes a text to speech engine implemented as a subclass of
7659         {@link android.speech.tts.TextToSpeechService}.
7660
7661         The XML resource must be referenced from its
7662         {@link android.speech.tts.TextToSpeech.Engine#SERVICE_META_DATA} meta-data
7663         entry. -->
7664    <declare-styleable name="TextToSpeechEngine">
7665        <attr name="settingsActivity" />
7666    </declare-styleable>
7667
7668    <!-- Use <code>keyboard-layouts</code> as the root tag of the XML resource that
7669         describes a collection of keyboard layouts provided by an application.
7670         Each keyboard layout is declared by a <code>keyboard-layout</code> tag
7671         with these attributes.
7672
7673         The XML resource that contains the keyboard layouts must be referenced from its
7674         {@link android.hardware.input.InputManager#META_DATA_KEYBOARD_LAYOUTS}
7675         meta-data entry used with broadcast receivers for
7676         {@link android.hardware.input.InputManager#ACTION_QUERY_KEYBOARD_LAYOUTS}. -->
7677    <declare-styleable name="KeyboardLayout">
7678        <!-- The name of the keyboard layout, must be unique in the receiver. -->
7679        <attr name="name" />
7680        <!-- The display label of the keyboard layout. -->
7681        <attr name="label" />
7682        <!-- The key character map file resource. -->
7683        <attr name="keyboardLayout" format="reference" />
7684    </declare-styleable>
7685
7686    <declare-styleable name="MediaRouteButton">
7687        <!-- This drawable is a state list where the "activated" state
7688             indicates active media routing. Non-activated indicates
7689             that media is playing to the local device only.
7690             @hide -->
7691        <attr name="externalRouteEnabledDrawable" format="reference" />
7692
7693        <!-- The types of media routes the button and its resulting
7694             chooser will filter by. -->
7695        <attr name="mediaRouteTypes" format="integer">
7696            <!-- Allow selection of live audio routes. -->
7697            <enum name="liveAudio" value="0x1" />
7698            <!-- Allow selection of user (app-specified) routes. -->
7699            <enum name="user" value="0x800000" />
7700        </attr>
7701
7702        <attr name="minWidth" />
7703        <attr name="minHeight" />
7704    </declare-styleable>
7705
7706    <!-- PagedView specific attributes. These attributes are used to customize
7707         a PagedView view in XML files. -->
7708    <declare-styleable name="PagedView">
7709        <!-- The space between adjacent pages of the PagedView. -->
7710        <attr name="pageSpacing" format="dimension" />
7711        <!-- The padding for the scroll indicator area -->
7712        <attr name="scrollIndicatorPaddingLeft" format="dimension" />
7713        <attr name="scrollIndicatorPaddingRight" format="dimension" />
7714    </declare-styleable>
7715
7716    <declare-styleable name="KeyguardGlowStripView">
7717        <attr name="dotSize" format="dimension" />
7718        <attr name="numDots" format="integer" />
7719        <attr name="glowDot" format="reference" />
7720        <attr name="leftToRight" format="boolean" />
7721    </declare-styleable>
7722
7723    <!-- Some child types have special behavior. -->
7724    <attr name="layout_childType">
7725        <!-- No special behavior. Layout will proceed as normal. -->
7726        <enum name="none" value="0" />
7727        <!-- Widget container.
7728             This will be resized in response to certain events. -->
7729        <enum name="widget" value="1" />
7730        <!-- Security challenge container.
7731             This will be dismissed/shown in response to certain events,
7732             possibly obscuring widget elements. -->
7733        <enum name="challenge" value="2" />
7734        <!-- User switcher.
7735             This will consume space from the total layout area. -->
7736        <enum name="userSwitcher" value="3" />
7737        <!-- Scrim. This will block access to child views that
7738             come before it in the child list in bouncer mode. -->
7739        <enum name="scrim" value="4" />
7740        <!-- The home for widgets. All widgets will be descendents of this. -->
7741        <enum name="widgets" value="5" />
7742        <!-- This is a handle that is used for expanding the
7743             security challenge container when it is collapsed. -->
7744        <enum name="expandChallengeHandle" value="6" />
7745        <!-- Delete drop target.  This will be the drop target to delete pages. -->
7746        <enum name="pageDeleteDropTarget" value="7" />
7747    </attr>
7748
7749    <!-- Attributes that can be used with <code>&lt;FragmentBreadCrumbs&gt;</code>
7750    tags. -->
7751    <declare-styleable name="FragmentBreadCrumbs">
7752        <attr name="gravity" />
7753        <attr name="itemLayout" format="reference" />
7754        <attr name="itemColor" format="color|reference" />
7755    </declare-styleable>
7756
7757    <declare-styleable name="Toolbar">
7758        <attr name="titleTextAppearance" format="reference" />
7759        <attr name="subtitleTextAppearance" format="reference" />
7760        <attr name="title" />
7761        <attr name="subtitle" />
7762        <attr name="gravity" />
7763        <attr name="titleMargins" format="dimension" />
7764        <attr name="titleMarginStart" format="dimension" />
7765        <attr name="titleMarginEnd" format="dimension" />
7766        <attr name="titleMarginTop" format="dimension" />
7767        <attr name="titleMarginBottom" format="dimension" />
7768        <attr name="contentInsetStart" />
7769        <attr name="contentInsetEnd" />
7770        <attr name="contentInsetLeft" />
7771        <attr name="contentInsetRight" />
7772        <attr name="maxButtonHeight" format="dimension" />
7773        <attr name="navigationButtonStyle" format="reference" />
7774        <attr name="buttonGravity">
7775            <!-- Push object to the top of its container, not changing its size. -->
7776            <flag name="top" value="0x30" />
7777            <!-- Push object to the bottom of its container, not changing its size. -->
7778            <flag name="bottom" value="0x50" />
7779        </attr>
7780        <!-- Icon drawable to use for the collapse button. -->
7781        <attr name="collapseIcon" format="reference" />
7782        <!-- Text to set as the content description for the collapse button. -->
7783        <attr name="collapseContentDescription" format="string" />
7784        <!-- Reference to a theme that should be used to inflate popups
7785             shown by widgets in the toolbar. -->
7786        <attr name="popupTheme" format="reference" />
7787        <!-- Icon drawable to use for the navigation button located at
7788             the start of the toolbar. -->
7789        <attr name="navigationIcon" format="reference" />
7790        <!-- Text to set as the content description for the navigation button
7791             located at the start of the toolbar. -->
7792        <attr name="navigationContentDescription" format="string" />
7793
7794        <!-- Tint used for the navigation button -->
7795        <attr name="navigationTint" format="color" />
7796        <!-- The blending mode used for tinting the navigation button -->
7797        <attr name="navigationTintMode">
7798            <!-- The tint is drawn on top of the drawable.
7799                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
7800            <enum name="src_over" value="3" />
7801            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
7802                 color channels are thrown out. [Sa * Da, Sc * Da] -->
7803            <enum name="src_in" value="5" />
7804            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
7805                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
7806            <enum name="src_atop" value="9" />
7807            <!-- Multiplies the color and alpha channels of the drawable with those of
7808                 the tint. [Sa * Da, Sc * Dc] -->
7809            <enum name="multiply" value="14" />
7810            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
7811            <enum name="screen" value="15" />
7812            <!-- Combines the tint and drawable color and alpha channels, clamping the
7813                 result to valid color values. Saturate(S + D). Only works on APIv 11+ -->
7814            <enum name="add" value="16" />
7815        </attr>
7816
7817        <!-- Tint used for the overflow button -->
7818        <attr name="overflowTint" format="color" />
7819        <!-- The blending mode used for tinting the overflow button -->
7820        <attr name="overflowTintMode">
7821            <!-- The tint is drawn on top of the drawable.
7822                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
7823            <enum name="src_over" value="3" />
7824            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
7825                 color channels are thrown out. [Sa * Da, Sc * Da] -->
7826            <enum name="src_in" value="5" />
7827            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
7828                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
7829            <enum name="src_atop" value="9" />
7830            <!-- Multiplies the color and alpha channels of the drawable with those of
7831                 the tint. [Sa * Da, Sc * Dc] -->
7832            <enum name="multiply" value="14" />
7833            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
7834            <enum name="screen" value="15" />
7835            <!-- Combines the tint and drawable color and alpha channels, clamping the
7836                 result to valid color values. Saturate(S + D). Only works on APIv 11+ -->
7837            <enum name="add" value="16" />
7838        </attr>
7839    </declare-styleable>
7840
7841    <declare-styleable name="Toolbar_LayoutParams">
7842        <attr name="layout_gravity" />
7843    </declare-styleable>
7844
7845    <declare-styleable name="ActionBar_LayoutParams">
7846        <attr name="layout_gravity" />
7847    </declare-styleable>
7848
7849    <!-- Used as a filter array on the theme to pull out only the EdgeEffect-relevant bits. -->
7850    <declare-styleable name="EdgeEffect">
7851        <attr name="colorEdgeEffect" />
7852    </declare-styleable>
7853
7854    <!-- Use <code>tv-input</code> as the root tag of the XML resource that describes a
7855         {@link android.media.tv.TvInputService}, which is referenced from its
7856         {@link android.media.tv.TvInputService#SERVICE_META_DATA} meta-data entry.
7857         Described here are the attributes that can be included in that tag. -->
7858    <declare-styleable name="TvInputService">
7859        <!-- Component name of an activity for setup of this service.
7860             The setup includes scanning channels and registering EPG data. -->
7861        <attr name="setupActivity" format="string" />
7862        <!-- Component name of an activity that allows the user to modify
7863             the settings for this service. -->
7864        <attr name="settingsActivity" />
7865    </declare-styleable>
7866
7867    <!-- Attributes that can be used with <code>rating-system-definition</code> tags inside of the
7868         XML resource that describes TV content rating of a {@link android.media.tv.TvInputService},
7869         which is referenced from its
7870         {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. -->
7871    <declare-styleable name="RatingSystemDefinition">
7872        <!-- The unique name of the content rating system. -->
7873        <attr name="name" />
7874        <!-- The title of the content rating system which is shown to the user. -->
7875        <attr name="title" />
7876        <!-- The short description of the content rating system. -->
7877        <attr name="description" />
7878        <!-- The country code associated with the content rating system, which consists of two
7879             uppercase letters that conform to the ISO 3166 standard. -->
7880        <attr name="country" format="string" />
7881    </declare-styleable>
7882
7883    <!-- Attributes that can be used with <code>rating-definition</code> tags inside of the XML
7884         resource that describes TV content rating of a {@link android.media.tv.TvInputService},
7885         which is referenced from its
7886         {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. -->
7887    <declare-styleable name="RatingDefinition">
7888        <!-- The unique name of the content rating. -->
7889        <attr name="name" />
7890        <!-- The title of the content rating which is shown to the user. -->
7891        <attr name="title" />
7892        <!-- The short description of the content rating. -->
7893        <attr name="description" />
7894        <!-- The age associated with the content rating. The content of this rating is suitable for
7895             people of this age or above. -->
7896        <attr name="contentAgeHint" format="integer" />
7897    </declare-styleable>
7898
7899    <declare-styleable name="ResolverDrawerLayout">
7900        <attr name="maxWidth" />
7901        <attr name="maxCollapsedHeight" format="dimension" />
7902        <attr name="maxCollapsedHeightSmall" format="dimension" />
7903    </declare-styleable>
7904
7905    <declare-styleable name="ResolverDrawerLayout_LayoutParams">
7906        <attr name="layout_alwaysShow" format="boolean" />
7907        <attr name="layout_ignoreOffset" format="boolean" />
7908        <attr name="layout_gravity" />
7909    </declare-styleable>
7910
7911    <!-- @hide -->
7912    <declare-styleable name="Lighting">
7913        <attr name="lightY" />
7914        <attr name="lightZ" />
7915        <attr name="lightRadius" />
7916        <attr name="ambientShadowAlpha" />
7917        <attr name="spotShadowAlpha" />
7918    </declare-styleable>
7919
7920    <declare-styleable name="RestrictionEntry">
7921        <attr name="key" />
7922        <attr name="restrictionType">
7923            <enum name="hidden" value="0" />
7924            <enum name="bool" value="1" />
7925            <enum name="choice" value="2" />
7926            <enum name="multi-select" value="4" />
7927            <enum name="integer" value="5" />
7928            <enum name="string" value="6" />
7929            <enum name="bundle" value="7" />
7930            <enum name="bundle_array" value="8" />
7931        </attr>
7932        <attr name="title" />
7933        <attr name="description" />
7934        <attr name="defaultValue" />
7935        <attr name="entries" />
7936        <attr name="entryValues" />
7937    </declare-styleable>
7938</resources>
7939