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