attrs.xml revision 7354b30d9081abdaf36b3e93eb224e728dfc8ecd
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        <!-- Color that matches (as closely as possible) the window background. -->
35        <attr name="colorBackground" format="color" />
36        <!-- This is a hint for a solid color that can be used for caching
37             rendered views.  This should be the color of the background when
38             there is a solid background color; it should be null when the
39             background is a texture or translucent.  When a device is able
40             to use accelerated drawing (thus setting state_accelerated), the
41             cache hint is ignored and always assumed to be transparent. -->
42        <attr name="colorBackgroundCacheHint" format="color" />
43
44        <!-- Default highlight color for items that are pressed. -->
45        <attr name="colorPressedHighlight" format="color" />
46        <!-- Default highlight color for items that are long-pressed. -->
47        <attr name="colorLongPressedHighlight" format="color" />
48        <!-- Default highlight color for items that are
49             focused. (Focused meaning cursor-based selection.) -->
50        <attr name="colorFocusedHighlight" format="color" />
51        <!-- Default highlight color for items that are
52             activated. (Activated meaning persistent selection.) -->
53        <attr name="colorActivatedHighlight" format="color" />
54        <!-- Default highlight color for items in multiple selection
55             mode. -->
56        <attr name="colorMultiSelectHighlight" format="color" />
57
58        <!-- Default disabled alpha for widgets that set enabled/disabled alpha programmatically. -->
59        <attr name="disabledAlpha" format="float" />
60        <!-- Default background dim amount when a menu, dialog, or something similar pops up. -->
61        <attr name="backgroundDimAmount" format="float" />
62        <!-- Control whether dimming behind the window is enabled.  The default
63             theme does not set this value, meaning it is based on whether the
64             window is floating. -->
65        <attr name="backgroundDimEnabled" format="boolean" />
66
67        <!-- =========== -->
68        <!-- Text styles -->
69        <!-- =========== -->
70        <eat-comment />
71
72        <!-- Default appearance of text: color, typeface, size, and style. -->
73        <attr name="textAppearance" format="reference" />
74        <!-- Default appearance of text against an inverted background:
75             color, typeface, size, and style. -->
76        <attr name="textAppearanceInverse" format="reference" />
77
78        <!-- The most prominent text color.  -->
79        <attr name="textColorPrimary" format="reference|color" />
80        <!-- Secondary text color. -->
81        <attr name="textColorSecondary" format="reference|color" />
82        <!-- Tertiary text color. -->
83        <attr name="textColorTertiary" format="reference|color" />
84
85        <!-- Primary inverse text color, useful for inverted backgrounds. -->
86        <attr name="textColorPrimaryInverse" format="reference|color" />
87        <!-- Secondary inverse text color, useful for inverted backgrounds. -->
88        <attr name="textColorSecondaryInverse" format="reference|color" />
89        <!-- Tertiary inverse text color, useful for inverted backgrounds. -->
90        <attr name="textColorTertiaryInverse" format="reference|color" />
91
92        <!-- Inverse hint text color. -->
93        <attr name="textColorHintInverse" format="reference|color" />
94
95        <!-- Bright text color. Only differentiates based on the disabled state. -->
96        <attr name="textColorPrimaryDisableOnly" format="reference|color" />
97
98        <!-- Bright inverse text color. Only differentiates based on the disabled state. -->
99        <attr name="textColorPrimaryInverseDisableOnly" format="reference|color" />
100
101        <!-- Bright text color. This does not differentiate the disabled state. As an example,
102             buttons use this since they display the disabled state via the background and not the
103             foreground text color. -->
104        <attr name="textColorPrimaryNoDisable" format="reference|color" />
105        <!-- Dim text color. This does not differentiate the disabled state. -->
106        <attr name="textColorSecondaryNoDisable" format="reference|color" />
107
108        <!-- Bright inverse text color. This does not differentiate the disabled state. -->
109        <attr name="textColorPrimaryInverseNoDisable" format="reference|color" />
110        <!-- Dim inverse text color. This does not differentiate the disabled state. -->
111        <attr name="textColorSecondaryInverseNoDisable" format="reference|color" />
112
113        <!-- Bright text color for use over activated backgrounds. -->
114        <attr name="textColorPrimaryActivated" format="reference|color" />
115        <!-- Dim text color for use over activated backgrounds. -->
116        <attr name="textColorSecondaryActivated" format="reference|color" />
117
118        <!-- Text color for urls in search suggestions, used by things like global search and the browser. @hide -->
119        <attr name="textColorSearchUrl" format="reference|color" />
120
121        <!-- Color of highlighted text, when used in a light theme. -->
122        <attr name="textColorHighlightInverse" format="reference|color" />
123        <!-- Color of link text (URLs), when used in a light theme. -->
124        <attr name="textColorLinkInverse" format="reference|color" />
125
126        <!-- Color of list item text in alert dialogs. -->
127        <attr name="textColorAlertDialogListItem" format="reference|color" />
128
129        <!-- Search widget more corpus result item background. -->
130        <attr name="searchWidgetCorpusItemBackground" format="reference|color" />
131
132        <!-- Text color, typeface, size, and style for "large" text. Defaults to primary text color. -->
133        <attr name="textAppearanceLarge" format="reference" />
134        <!-- Text color, typeface, size, and style for "medium" text. Defaults to primary text color. -->
135        <attr name="textAppearanceMedium" format="reference" />
136        <!-- Text color, typeface, size, and style for "small" text. Defaults to secondary text color. -->
137        <attr name="textAppearanceSmall" format="reference" />
138
139        <!-- Text color, typeface, size, and style for "large" inverse text. Defaults to primary inverse text color. -->
140        <attr name="textAppearanceLargeInverse" format="reference" />
141        <!-- Text color, typeface, size, and style for "medium" inverse text. Defaults to primary inverse text color. -->
142        <attr name="textAppearanceMediumInverse" format="reference" />
143        <!-- Text color, typeface, size, and style for "small" inverse text. Defaults to secondary inverse text color. -->
144        <attr name="textAppearanceSmallInverse" format="reference" />
145
146        <!-- Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color. -->
147        <attr name="textAppearanceSearchResultTitle" format="reference" />
148        <!-- Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color. -->
149        <attr name="textAppearanceSearchResultSubtitle" format="reference" />
150
151        <!-- Text color, typeface, size, and style for the text inside of a button. -->
152        <attr name="textAppearanceButton" format="reference" />
153
154        <!-- Text color, typeface, size, and style for the text inside of a popup menu. -->
155        <attr name="textAppearanceLargePopupMenu" format="reference" />
156
157        <!-- Text color, typeface, size, and style for small text inside of a popup menu. -->
158        <attr name="textAppearanceSmallPopupMenu" format="reference" />
159
160        <!-- The underline color and thickness for easy correct suggestion -->
161        <attr name="textAppearanceEasyCorrectSuggestion" format="reference" />
162
163        <!-- The underline color and thickness for misspelled suggestion -->
164        <attr name="textAppearanceMisspelledSuggestion" format="reference" />
165
166        <!-- The underline color and thickness for auto correction suggestion -->
167        <attr name="textAppearanceAutoCorrectionSuggestion" format="reference" />
168
169        <!--  The underline color -->
170        <attr name="textUnderlineColor" format="reference|color" />
171        <!--  The underline thickness -->
172        <attr name="textUnderlineThickness" format="reference|dimension" />
173
174        <!-- EditText text foreground color. -->
175        <attr name="editTextColor" format="reference|color" />
176        <!-- EditText background drawable. -->
177        <attr name="editTextBackground" format="reference" />
178
179        <!-- Popup text displayed in TextView when setError is used. -->
180        <attr name="errorMessageBackground" format="reference" />
181        <!-- Background used instead of errorMessageBackground when the popup has to be above. -->
182        <attr name="errorMessageAboveBackground" format="reference" />
183
184        <!-- A styled string, specifying the style to be used for showing
185             inline candidate text when composing with an input method.  The
186             text itself will be ignored, but the style spans will be applied
187             to the candidate text as it is edited. -->
188        <attr name="candidatesTextStyleSpans" format="reference|string" />
189
190        <!-- Drawable to use for check marks. -->
191        <attr name="textCheckMark" format="reference" />
192        <attr name="textCheckMarkInverse" format="reference" />
193
194        <!-- Drawable to use for multiple choice indicators. -->
195        <attr name="listChoiceIndicatorMultiple" format="reference" />
196
197        <!-- Drawable to use for single choice indicators. -->
198        <attr name="listChoiceIndicatorSingle" format="reference" />
199
200        <!-- Drawable used as a background for selected list items. -->
201        <attr name="listChoiceBackgroundIndicator" format="reference" />
202
203        <!-- Drawable used as a background for activated items. -->
204        <attr name="activatedBackgroundIndicator" format="reference" />
205
206        <!-- ============= -->
207        <!-- Button styles -->
208        <!-- ============= -->
209        <eat-comment />
210
211        <!-- Normal Button style. -->
212        <attr name="buttonStyle" format="reference" />
213
214        <!-- Small Button style. -->
215        <attr name="buttonStyleSmall" format="reference" />
216
217        <!-- Button style to inset into an EditText. -->
218        <attr name="buttonStyleInset" format="reference" />
219
220        <!-- ToggleButton style. -->
221        <attr name="buttonStyleToggle" format="reference" />
222
223        <!-- ============== -->
224        <!-- Gallery styles -->
225        <!-- ============== -->
226        <eat-comment />
227
228        <!-- The preferred background for gallery items. This should be set
229             as the background of any Views you provide from the Adapter. -->
230        <attr name="galleryItemBackground" format="reference" />
231
232        <!-- =========== -->
233        <!-- List styles -->
234        <!-- =========== -->
235        <eat-comment />
236
237        <!-- The preferred list item height. -->
238        <attr name="listPreferredItemHeight" format="dimension" />
239        <!-- A smaller, sleeker list item height. -->
240        <attr name="listPreferredItemHeightSmall" format="dimension" />
241        <!-- A larger, more robust list item height. -->
242        <attr name="listPreferredItemHeightLarge" format="dimension" />
243        <!-- The list item height for search results. @hide -->
244        <attr name="searchResultListItemHeight" format="dimension" />
245
246        <!-- The preferred padding along the left edge of list items. -->
247        <attr name="listPreferredItemPaddingLeft" format="dimension" />
248        <!-- The preferred padding along the right edge of list items. -->
249        <attr name="listPreferredItemPaddingRight" format="dimension" />
250
251        <!-- The preferred TextAppearance for the primary text of list items. -->
252        <attr name="textAppearanceListItem" format="reference" />
253        <!-- The preferred TextAppearance for the secondary text of list items. -->
254        <attr name="textAppearanceListItemSecondary" format="reference" />
255        <!-- The preferred TextAppearance for the primary text of small list items. -->
256        <attr name="textAppearanceListItemSmall" format="reference" />
257
258        <!-- The drawable for the list divider. -->
259        <attr name="listDivider" format="reference" />
260        <!-- The list divider used in alert dialogs. -->
261        <attr name="listDividerAlertDialog" format="reference" />
262        <!-- TextView style for list separators. -->
263        <attr name="listSeparatorTextViewStyle" format="reference" />
264        <!-- The preferred left padding for an expandable list item (for child-specific layouts,
265             use expandableListPreferredChildPaddingLeft). This takes into account
266             the indicator that will be shown to next to the item. -->
267        <attr name="expandableListPreferredItemPaddingLeft" format="dimension" />
268        <!-- The preferred left padding for an expandable list item that is a child.
269             If this is not provided, it defaults to the expandableListPreferredItemPaddingLeft. -->
270        <attr name="expandableListPreferredChildPaddingLeft" format="dimension" />
271        <!-- The preferred left bound for an expandable list item's indicator. For a child-specific
272             indicator, use expandableListPreferredChildIndicatorLeft. -->
273        <attr name="expandableListPreferredItemIndicatorLeft" format="dimension" />
274        <!-- The preferred right bound for an expandable list item's indicator. For a child-specific
275             indicator, use expandableListPreferredChildIndicatorRight. -->
276        <attr name="expandableListPreferredItemIndicatorRight" format="dimension" />
277        <!-- The preferred left bound for an expandable list child's indicator. -->
278        <attr name="expandableListPreferredChildIndicatorLeft" format="dimension" />
279        <!-- The preferred right bound for an expandable list child's indicator. -->
280        <attr name="expandableListPreferredChildIndicatorRight" format="dimension" />
281
282        <!-- The preferred item height for dropdown lists. -->
283        <attr name="dropdownListPreferredItemHeight" format="dimension" />
284
285        <!-- The preferred padding along the start edge of list items. -->
286        <attr name="listPreferredItemPaddingStart" format="dimension" />
287        <!-- The preferred padding along the end edge of list items. -->
288        <attr name="listPreferredItemPaddingEnd" format="dimension" />
289
290        <!-- ============= -->
291        <!-- Window styles -->
292        <!-- ============= -->
293        <eat-comment />
294
295        <!-- Drawable to use as the overall window background.  As of
296             {@link android.os.Build.VERSION_CODES#HONEYCOMB}, this may
297             be a selector that uses state_accelerated to pick a non-solid
298             color when running on devices that can draw such a bitmap
299             with complex compositing on top at 60fps.
300
301             <p>There are a few special considerations to use when setting this
302             drawable:
303             <ul>
304             <li> This information will be used to infer the pixel format
305                  for your window's surface.  If the drawable has any
306                  non-opaque pixels, your window will be translucent
307                  (32 bpp).
308             <li> If you want to draw the entire background
309                  yourself, you should set this drawable to some solid
310                  color that closely matches that background (so the
311                  system's preview of your window will match), and
312                  then in code manually set your window's background to
313                  null so it will not be drawn.
314             </ul> -->
315        <attr name="windowBackground" format="reference" />
316        <!-- Drawable to draw selectively within the inset areas when the windowBackground
317             has been set to null. This protects against seeing visual garbage in the
318             surface when the app has not drawn any content into this area. -->
319        <attr name="windowBackgroundFallback" format="reference" />
320        <!-- Drawable to use as a frame around the window. -->
321        <attr name="windowFrame" format="reference" />
322        <!-- Flag indicating whether there should be no title on this window. -->
323        <attr name="windowNoTitle" format="boolean" />
324        <!-- Flag indicating whether this window should fill the entire screen.  Corresponds
325             to {@link android.view.WindowManager.LayoutParams#FLAG_FULLSCREEN}. -->
326        <attr name="windowFullscreen" format="boolean" />
327        <!-- Flag indicating whether this window should extend into overscan region.  Corresponds
328             to {@link android.view.WindowManager.LayoutParams#FLAG_LAYOUT_IN_OVERSCAN}. -->
329        <attr name="windowOverscan" format="boolean" />
330        <!-- Flag indicating whether this is a floating window. -->
331        <attr name="windowIsFloating" format="boolean" />
332        <!-- Flag indicating whether this is a translucent window. -->
333        <attr name="windowIsTranslucent" format="boolean" />
334        <!-- Flag indicating that this window's background should be the
335             user's current wallpaper.  Corresponds
336             to {@link android.view.WindowManager.LayoutParams#FLAG_SHOW_WALLPAPER}. -->
337        <attr name="windowShowWallpaper" format="boolean" />
338        <!-- This Drawable is overlaid over the foreground of the Window's content area, usually
339             to place a shadow below the title.  -->
340        <attr name="windowContentOverlay" format="reference" />
341        <!-- The style resource to use for a window's title bar height. -->
342        <attr name="windowTitleSize" format="dimension" />
343        <!-- The style resource to use for a window's title text. -->
344        <attr name="windowTitleStyle" format="reference" />
345        <!-- The style resource to use for a window's title area. -->
346        <attr name="windowTitleBackgroundStyle" format="reference" />
347
348        <!-- Reference to a style resource holding
349             the set of window animations to use, which can be
350             any of the attributes defined by
351             {@link android.R.styleable#WindowAnimation}. -->
352        <attr name="windowAnimationStyle" format="reference" />
353
354        <!-- Flag indicating whether this window should have an Action Bar
355             in place of the usual title bar. -->
356        <attr name="windowActionBar" format="boolean" />
357
358        <!-- Flag indicating whether this window's Action Bar should overlay
359             application content. Does nothing if the window would not
360             have an Action Bar. -->
361        <attr name="windowActionBarOverlay" format="boolean" />
362
363        <!-- Flag indicating whether action modes should overlay window content
364             when there is not reserved space for their UI (such as an Action Bar). -->
365        <attr name="windowActionModeOverlay" format="boolean" />
366
367        <!-- Defines the default soft input state that this window would
368             like when it is displayed.  Corresponds
369             to {@link android.view.WindowManager.LayoutParams#softInputMode}. -->
370        <attr name="windowSoftInputMode">
371            <!-- Not specified, use what the system thinks is best.  This
372                 is the default. -->
373            <flag name="stateUnspecified" value="0" />
374            <!-- Leave the soft input window as-is, in whatever state it
375                 last was. -->
376            <flag name="stateUnchanged" value="1" />
377            <!-- Make the soft input area hidden when normally appropriate
378                 (when the user is navigating forward to your window). -->
379            <flag name="stateHidden" value="2" />
380            <!-- Always make the soft input area hidden when this window
381                 has input focus. -->
382            <flag name="stateAlwaysHidden" value="3" />
383            <!-- Make the soft input area visible when normally appropriate
384                 (when the user is navigating forward to your window). -->
385            <flag name="stateVisible" value="4" />
386            <!-- Always make the soft input area visible when this window
387                 has input focus. -->
388            <flag name="stateAlwaysVisible" value="5" />
389
390            <!-- The window resize/pan adjustment has not been specified,
391                 the system will automatically select between resize and pan
392                 modes, depending
393                 on whether the content of the window has any layout views
394                 that can scroll their contents.  If there is such a view,
395                 then the window will be resized, with the assumption being
396                 that the resizeable area can be reduced to make room for
397                 the input UI. -->
398            <flag name="adjustUnspecified" value="0x00" />
399            <!-- Always resize the window: the content area of the window is
400                 reduced to make room for the soft input area. -->
401            <flag name="adjustResize" value="0x10" />
402            <!-- Don't resize the window to make room for the soft input area;
403                 instead pan the contents of the window as focus moves inside
404                 of it so that the user can see what they are typing.  This is
405                 generally less desireable than panning because the user may
406                 need to close the input area to get at and interact with
407                 parts of the window. -->
408            <flag name="adjustPan" value="0x20" />
409            <!-- Don't resize <em>or</em> pan the window to make room for the
410                 soft input area; the window is never adjusted for it. -->
411            <flag name="adjustNothing" value="0x30" />
412        </attr>
413
414        <!-- Flag allowing you to disable the preview animation for a window.
415             The default value is false; if set to true, the system can never
416             use the window's theme to show a preview of it before your
417             actual instance is shown to the user. -->
418        <attr name="windowDisablePreview" format="boolean" />
419
420        <!-- Flag indicating that this window should not be displayed at all.
421             The default value is false; if set to true, and this window is
422             the main window of an Activity, then it will never actually
423             be added to the window manager.  This means that your activity
424             must immediately quit without waiting for user interaction,
425             because there will be no such interaction coming. -->
426        <attr name="windowNoDisplay" format="boolean" />
427
428        <!-- Flag indicating that this window should allow touches to be split
429             across other windows that also support split touch.
430             The default value is true for applications with a targetSdkVersion
431             of Honeycomb or newer; false otherwise.
432             When this flag is false, the first pointer that goes down determines
433             the window to which all subsequent touches go until all pointers go up.
434             When this flag is true, each pointer (not necessarily the first) that
435             goes down determines the window to which all subsequent touches of that
436             pointer will go until that pointers go up thereby enabling touches
437             with multiple pointers to be split across multiple windows. -->
438        <attr name="windowEnableSplitTouch" format="boolean" />
439
440        <!-- Control whether a container should automatically close itself if
441             the user touches outside of it.  This only applies to activities
442             and dialogs.
443
444             <p>Note: this attribute will only be respected for applications
445             that are targeting {@link android.os.Build.VERSION_CODES#HONEYCOMB}
446             or later. -->
447        <attr name="windowCloseOnTouchOutside" format="boolean" />
448
449        <!-- Flag indicating whether this window requests a translucent status bar.  Corresponds
450             to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_STATUS}. -->
451        <attr name="windowTranslucentStatus" format="boolean" />
452
453        <!-- Flag indicating whether this window requests a translucent navigation bar.  Corresponds
454             to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_NAVIGATION}. -->
455        <attr name="windowTranslucentNavigation" format="boolean" />
456
457        <!-- Flag to indicate that a window can be swiped away to be dismissed.
458             Corresponds to {@link android.view.Window#FEATURE_SWIPE_TO_DISMISS} -->
459        <attr name="windowSwipeToDismiss" format="boolean" />
460
461        <!-- Flag indicating whether this window requests that content changes be performed
462             as scene changes with transitions. Corresponds to
463             {@link android.view.Window#FEATURE_CONTENT_TRANSITIONS}. -->
464        <attr name="windowContentTransitions" format="boolean" />
465
466        <!-- Reference to a TransitionManager XML resource defining the desired
467             transitions between different window content. -->
468        <attr name="windowContentTransitionManager" format="reference" />
469
470        <!-- Flag indicating whether this window allows Activity Transitions.
471             Corresponds to {@link android.view.Window#FEATURE_ACTIVITY_TRANSITIONS}. -->
472        <attr name="windowActivityTransitions" format="boolean" />
473
474        <!-- Reference to a Transition XML resource defining the desired Transition
475             used to move Views into the initial Window's content Scene. Corresponds to
476             {@link android.view.Window#setEnterTransition(android.transition.Transition)}. -->
477        <attr name="windowEnterTransition" format="reference"/>
478
479        <!-- Reference to a Transition XML resource defining the desired Transition
480             used to move Views out of the scene when the Window is
481             preparing to close. Corresponds to
482             {@link android.view.Window#setReturnTransition(android.transition.Transition)}. -->
483        <attr name="windowReturnTransition" format="reference"/>
484
485        <!-- Reference to a Transition XML resource defining the desired Transition
486             used to move Views out of the Window's content Scene when launching a new Activity.
487             Corresponds to
488             {@link android.view.Window#setExitTransition(android.transition.Transition)}. -->
489        <attr name="windowExitTransition" format="reference"/>
490
491        <!-- Reference to a Transition XML resource defining the desired Transition
492             used to move Views in to the scene when returning from a previously-started Activity.
493             Corresponds to
494             {@link android.view.Window#setReenterTransition(android.transition.Transition)}. -->
495        <attr name="windowReenterTransition" format="reference"/>
496
497        <!-- Reference to a Transition XML resource defining the desired Transition
498             used to move shared elements transferred into the Window's initial content Scene.
499             Corresponds to {@link android.view.Window#setSharedElementEnterTransition(
500             android.transition.Transition)}. -->
501        <attr name="windowSharedElementEnterTransition" format="reference"/>
502
503        <!-- Reference to a Transition XML resource defining the desired Transition
504             used to move shared elements transferred back to a calling Activity.
505             Corresponds to {@link android.view.Window#setSharedElementReturnTransition(
506             android.transition.Transition)}. -->
507        <attr name="windowSharedElementReturnTransition" format="reference"/>
508
509        <!-- Reference to a Transition XML resource defining the desired Transition
510             used when starting a new Activity to move shared elements prior to transferring
511             to the called Activity.
512             Corresponds to {@link android.view.Window#setSharedElementExitTransition(
513             android.transition.Transition)}. -->
514        <attr name="windowSharedElementExitTransition" format="reference"/>
515
516        <!-- Reference to a Transition XML resource defining the desired Transition
517             used for shared elements transferred back to a calling Activity.
518             Corresponds to {@link android.view.Window#setSharedElementReenterTransition(
519             android.transition.Transition)}. -->
520        <attr name="windowSharedElementReenterTransition" format="reference"/>
521
522        <!-- Flag indicating whether this Window's transition should overlap with
523             the exiting transition of the calling Activity. Corresponds to
524             {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. -->
525        <attr name="windowAllowEnterTransitionOverlap" format="boolean"/>
526
527        <!-- Flag indicating whether this Window's transition should overlap with
528             the exiting transition of the called Activity when the called Activity
529             finishes. Corresponds to
530             {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. -->
531        <attr name="windowAllowReturnTransitionOverlap" format="boolean"/>
532
533        <!-- Indicates whether or not shared elements should use an overlay
534             during transitions. The default value is true. -->
535        <attr name="windowSharedElementsUseOverlay" format="boolean"/>
536
537        <!-- Internal layout used internally for window decor -->
538        <attr name="windowActionBarFullscreenDecorLayout" format="reference" />
539
540        <!-- The duration, in milliseconds, of the window background fade duration
541             when transitioning into or away from an Activity when called with an
542             Activity Transition. Corresponds to
543             {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. -->
544        <attr name="windowTransitionBackgroundFadeDuration" format="integer"/>
545
546        <!-- ============ -->
547        <!-- Alert Dialog styles -->
548        <!-- ============ -->
549        <eat-comment />
550        <attr name="alertDialogStyle" format="reference" />
551        <attr name="alertDialogButtonGroupStyle" format="reference" />
552        <attr name="alertDialogCenterButtons" format="boolean" />
553
554        <!-- ============== -->
555        <!-- Image elements -->
556        <!-- ============== -->
557        <eat-comment />
558
559        <!-- Background that can be used behind parts of a UI that provide
560             details on data the user is selecting.  For example, this is
561             the background element of PreferenceActivity's embedded
562             preference fragment. -->
563        <attr name="detailsElementBackground" format="reference" />
564
565        <!-- ============ -->
566        <!-- Panel styles -->
567        <!-- ============ -->
568        <eat-comment />
569
570        <!-- The background of a panel when it is inset from the left and right edges of the screen. -->
571        <attr name="panelBackground" format="reference|color" />
572        <!-- The background of a panel when it extends to the left and right edges of the screen. -->
573        <attr name="panelFullBackground" format="reference|color" />
574        <!-- Default color of foreground panel imagery. -->
575        <attr name="panelColorForeground" format="reference|color" />
576        <!-- Color that matches (as closely as possible) the panel background. -->
577        <attr name="panelColorBackground" format="reference|color" />
578        <!-- Default appearance of panel text. -->
579        <attr name="panelTextAppearance" format="reference" />
580
581        <attr name="panelMenuIsCompact" format="boolean" />
582        <attr name="panelMenuListWidth" format="dimension" />
583        <attr name="panelMenuListTheme" format="reference" />
584
585        <!-- =================== -->
586        <!-- Other widget styles -->
587        <!-- =================== -->
588        <eat-comment />
589
590        <!-- Default AbsListView style. -->
591        <attr name="absListViewStyle" format="reference" />
592        <!-- Default AutoCompleteTextView style. -->
593        <attr name="autoCompleteTextViewStyle" format="reference" />
594        <!-- Default Checkbox style. -->
595        <attr name="checkboxStyle" format="reference" />
596        <!-- Default CheckedTextView style. -->
597        <attr name="checkedTextViewStyle" format="reference" />
598        <!-- Default ListView style for drop downs. -->
599        <attr name="dropDownListViewStyle" format="reference" />
600        <!-- Default EditText style. -->
601        <attr name="editTextStyle" format="reference" />
602        <!-- Default ExpandableListView style. -->
603        <attr name="expandableListViewStyle" format="reference" />
604        <!-- ExpandableListView with white background. -->
605        <attr name="expandableListViewWhiteStyle" format="reference" />
606        <!-- Default Gallery style. -->
607        <attr name="galleryStyle" format="reference" />
608        <!-- Default GestureOverlayView style. -->
609        <attr name="gestureOverlayViewStyle" format="reference" />
610        <!-- Default GridView style. -->
611        <attr name="gridViewStyle" format="reference" />
612        <!-- The style resource to use for an ImageButton. -->
613        <attr name="imageButtonStyle" format="reference" />
614        <!-- The style resource to use for an ImageButton that is an image well. -->
615        <attr name="imageWellStyle" format="reference" />
616        <!-- Default ListView style. -->
617        <attr name="listViewStyle" format="reference" />
618        <!-- ListView with white background. -->
619        <attr name="listViewWhiteStyle" format="reference" />
620        <!-- Default PopupWindow style. -->
621        <attr name="popupWindowStyle" format="reference" />
622        <!-- Default ProgressBar style. This is a medium circular progress bar. -->
623        <attr name="progressBarStyle" format="reference" />
624        <!-- Horizontal ProgressBar style. This is a horizontal progress bar. -->
625        <attr name="progressBarStyleHorizontal" format="reference" />
626        <!-- Small ProgressBar style. This is a small circular progress bar. -->
627        <attr name="progressBarStyleSmall" format="reference" />
628        <!-- Small ProgressBar in title style. This is a small circular progress bar that will be placed in title bars. -->
629        <attr name="progressBarStyleSmallTitle" format="reference" />
630        <!-- Large ProgressBar style. This is a large circular progress bar. -->
631        <attr name="progressBarStyleLarge" format="reference" />
632        <!-- Inverse ProgressBar style. This is a medium circular progress bar. -->
633        <attr name="progressBarStyleInverse" format="reference" />
634        <!-- Small inverse ProgressBar style. This is a small circular progress bar. -->
635        <attr name="progressBarStyleSmallInverse" format="reference" />
636        <!-- Large inverse ProgressBar style. This is a large circular progress bar. -->
637        <attr name="progressBarStyleLargeInverse" format="reference" />
638        <!-- Default SeekBar style. -->
639        <attr name="seekBarStyle" format="reference" />
640        <!-- Default RatingBar style. -->
641        <attr name="ratingBarStyle" format="reference" />
642        <!-- Indicator RatingBar style. -->
643        <attr name="ratingBarStyleIndicator" format="reference" />
644        <!-- Small indicator RatingBar style. -->
645        <attr name="ratingBarStyleSmall" format="reference" />
646        <!-- Default RadioButton style. -->
647        <attr name="radioButtonStyle" format="reference" />
648        <!-- Default ScrollView style. -->
649        <attr name="scrollViewStyle" format="reference" />
650        <!-- Default HorizontalScrollView style. -->
651        <attr name="horizontalScrollViewStyle" format="reference" />
652        <!-- Default Spinner style. -->
653        <attr name="spinnerStyle" format="reference" />
654        <!-- Default dropdown Spinner style. -->
655        <attr name="dropDownSpinnerStyle" format="reference" />
656        <!-- Default ActionBar dropdown style. -->
657        <attr name="actionDropDownStyle" format="reference" />
658        <!-- Default action button style. -->
659        <attr name="actionButtonStyle" format="reference" />
660        <!-- Default Star style. -->
661        <attr name="starStyle" format="reference" />
662        <!-- Default TabWidget style. -->
663        <attr name="tabWidgetStyle" format="reference" />
664        <!-- Default TextView style. -->
665        <attr name="textViewStyle" format="reference" />
666        <!-- Default WebTextView style. -->
667        <attr name="webTextViewStyle" format="reference" />
668        <!-- Default WebView style. -->
669        <attr name="webViewStyle" format="reference" />
670        <!-- Default style for drop down items. -->
671        <attr name="dropDownItemStyle" format="reference" />
672         <!-- Default style for spinner drop down items. -->
673        <attr name="spinnerDropDownItemStyle" format="reference" />
674        <!-- Default style for drop down hints. -->
675        <attr name="dropDownHintAppearance" format="reference" />
676        <!-- Default spinner item style. -->
677        <attr name="spinnerItemStyle" format="reference" />
678        <!-- Default MapView style. -->
679        <attr name="mapViewStyle" format="reference" />
680        <!-- Drawable used as an overlay on top of quickcontact photos. -->
681        <attr name="quickContactBadgeOverlay" format="reference" />
682        <!-- Default quickcontact badge style with small quickcontact window. -->
683        <attr name="quickContactBadgeStyleWindowSmall" format="reference" />
684        <!-- Default quickcontact badge style with medium quickcontact window. -->
685        <attr name="quickContactBadgeStyleWindowMedium" format="reference" />
686        <!-- Default quickcontact badge style with large quickcontact window. -->
687        <attr name="quickContactBadgeStyleWindowLarge" format="reference" />
688        <!-- Default quickcontact badge style with small quickcontact window. -->
689        <attr name="quickContactBadgeStyleSmallWindowSmall" format="reference" />
690        <!-- Default quickcontact badge style with medium quickcontact window. -->
691        <attr name="quickContactBadgeStyleSmallWindowMedium" format="reference" />
692        <!-- Default quickcontact badge style with large quickcontact window. -->
693        <attr name="quickContactBadgeStyleSmallWindowLarge" format="reference" />
694        <!-- Reference to a style that will be used for the window containing a text
695             selection anchor. -->
696        <attr name="textSelectHandleWindowStyle" format="reference" />
697        <!-- Reference to a style that will be used for the window containing a list of possible
698             text suggestions in an EditText. -->
699        <attr name="textSuggestionsWindowStyle" format="reference" />
700        <!-- Default ListPopupWindow style. -->
701        <attr name="listPopupWindowStyle" format="reference" />
702        <!-- Default PopupMenu style. -->
703        <attr name="popupMenuStyle" format="reference" />
704        <!-- Default StackView style. -->
705        <attr name="stackViewStyle" format="reference" />
706
707        <!-- Default style for the FragmentBreadCrumbs widget. This widget is deprecated
708             starting in API level 21 ({@link android.os.Build.VERSION_CODES#.L}). -->
709        <attr name="fragmentBreadCrumbsStyle" format="reference" />
710
711        <!-- NumberPicker style. -->
712        <attr name="numberPickerStyle" format="reference" />
713
714        <!-- The CalendarView style. -->
715        <attr name="calendarViewStyle" format="reference" />
716
717        <!-- The TimePicker style. -->
718        <attr name="timePickerStyle" format="reference" />
719
720        <!-- The TimePicker dialog theme. -->
721        <attr name="timePickerDialogTheme" format="reference" />
722
723        <!-- The DatePicker style. -->
724        <attr name="datePickerStyle" format="reference" />
725
726        <!-- The DatePicker dialog theme. -->
727        <attr name="datePickerDialogTheme" format="reference" />
728
729        <!-- Default ActivityChooserView style. -->
730        <attr name="activityChooserViewStyle" format="reference" />
731
732        <!-- Default Toolbar style. -->
733        <attr name="toolbarStyle" format="reference" />
734
735        <!-- Fast scroller styles -->
736        <eat-comment />
737
738        <!-- Drawable to use as the fast scroll thumb. -->
739        <attr name="fastScrollThumbDrawable" format="reference" />
740        <!-- Drawable to use as the fast scroll index preview window background
741             when shown on the right. -->
742        <attr name="fastScrollPreviewBackgroundRight" format="reference" />
743        <!-- Drawable to use as the fast scroll index preview window background
744             when shown on the left. -->
745        <attr name="fastScrollPreviewBackgroundLeft" format="reference" />
746        <!-- Drawable to use as the track for the fast scroll thumb.
747             This may be null. -->
748        <attr name="fastScrollTrackDrawable" format="reference" />
749        <!-- Position of the fast scroll index overlay window. -->
750        <attr name="fastScrollOverlayPosition">
751            <enum name="floating" value="0" />
752            <enum name="atThumb" value="1" />
753            <enum name="aboveThumb" value="2" />
754        </attr>
755        <!-- Text color for the fast scroll index overlay. Make sure it
756             plays nicely with fastScrollPreviewBackground[Left|Right]. -->
757        <attr name="fastScrollTextColor" format="color" />
758
759        <!-- =================== -->
760        <!-- Action bar styles   -->
761        <!-- =================== -->
762        <eat-comment />
763        <!-- Default style for tabs within an action bar -->
764        <attr name="actionBarTabStyle" format="reference" />
765        <attr name="actionBarTabBarStyle" format="reference" />
766        <attr name="actionBarTabTextStyle" format="reference" />
767        <attr name="actionOverflowButtonStyle" format="reference" />
768        <attr name="actionOverflowMenuStyle" format="reference" />
769        <!-- Reference to a theme that should be used to inflate popups
770             shown by widgets in the action bar. -->
771        <attr name="actionBarPopupTheme" format="reference" />
772        <!-- Reference to a style for the Action Bar -->
773        <attr name="actionBarStyle" format="reference" />
774        <!-- Reference to a style for the split Action Bar. This style
775             controls the split component that holds the menu/action
776             buttons. actionBarStyle is still used for the primary
777             bar. -->
778        <attr name="actionBarSplitStyle" format="reference" />
779        <!-- Reference to a theme that should be used to inflate the
780             action bar. This will be inherited by any widget inflated
781             into the action bar. -->
782        <attr name="actionBarTheme" format="reference" />
783        <!-- Reference to a theme that should be used to inflate widgets
784             and layouts destined for the action bar. Most of the time
785             this will be a reference to the current theme, but when
786             the action bar has a significantly different contrast
787             profile than the rest of the activity the difference
788             can become important. If this is set to @null the current
789             theme will be used.-->
790        <attr name="actionBarWidgetTheme" format="reference" />
791        <!-- Size of the Action Bar, including the contextual
792             bar used to present Action Modes. -->
793        <attr name="actionBarSize" format="dimension" >
794            <enum name="wrap_content" value="0" />
795        </attr>
796        <!-- Custom divider drawable to use for elements in the action bar. -->
797        <attr name="actionBarDivider" format="reference" />
798        <!-- Custom item state list drawable background for action bar items. -->
799        <attr name="actionBarItemBackground" format="reference" />
800        <!-- TextAppearance style that will be applied to text that
801             appears within action menu items. -->
802        <attr name="actionMenuTextAppearance" format="reference" />
803        <!-- Color for text that appears within action menu items. -->
804        <attr name="actionMenuTextColor" format="color|reference" />
805
806        <!-- =================== -->
807        <!-- Action mode styles  -->
808        <!-- =================== -->
809        <eat-comment />
810        <attr name="actionModeStyle" format="reference" />
811        <attr name="actionModeCloseButtonStyle" format="reference" />
812        <!-- Background drawable to use for action mode UI -->
813        <attr name="actionModeBackground" format="reference" />
814        <!-- Background drawable to use for action mode UI in the lower split bar -->
815        <attr name="actionModeSplitBackground" format="reference" />
816        <!-- Drawable to use for the close action mode button -->
817        <attr name="actionModeCloseDrawable" format="reference" />
818
819        <!-- Drawable to use for the Cut action button in Contextual Action Bar -->
820        <attr name="actionModeCutDrawable" format="reference" />
821        <!-- Drawable to use for the Copy action button in Contextual Action Bar -->
822        <attr name="actionModeCopyDrawable" format="reference" />
823        <!-- Drawable to use for the Paste action button in Contextual Action Bar -->
824        <attr name="actionModePasteDrawable" format="reference" />
825        <!-- Drawable to use for the Select all action button in Contextual Action Bar -->
826        <attr name="actionModeSelectAllDrawable" format="reference" />
827        <!-- Drawable to use for the Share action button in WebView selection action modes -->
828        <attr name="actionModeShareDrawable" format="reference" />
829        <!-- Drawable to use for the Find action button in WebView selection action modes -->
830        <attr name="actionModeFindDrawable" format="reference" />
831        <!-- Drawable to use for the Web Search action button in WebView selection action modes -->
832        <attr name="actionModeWebSearchDrawable" format="reference" />
833
834        <!-- PopupWindow style to use for action modes when showing as a window overlay. -->
835        <attr name="actionModePopupWindowStyle" format="reference" />
836
837        <!-- =================== -->
838        <!-- Preference styles   -->
839        <!-- =================== -->
840        <eat-comment />
841
842        <!-- Default style for PreferenceScreen. -->
843        <attr name="preferenceScreenStyle" format="reference" />
844        <!-- Default style for the PreferenceActivity. -->
845        <attr name="preferenceActivityStyle" format="reference" />
846        <!-- Default style for Headers pane in PreferenceActivity. -->
847        <attr name="preferenceFragmentStyle" format="reference" />
848        <!-- Default style for PreferenceCategory. -->
849        <attr name="preferenceCategoryStyle" format="reference" />
850        <!-- Default style for Preference. -->
851        <attr name="preferenceStyle" format="reference" />
852        <!-- Default style for informational Preference. -->
853        <attr name="preferenceInformationStyle" format="reference" />
854        <!-- Default style for CheckBoxPreference. -->
855        <attr name="checkBoxPreferenceStyle" format="reference" />
856        <!-- Default style for YesNoPreference. -->
857        <attr name="yesNoPreferenceStyle" format="reference" />
858        <!-- Default style for DialogPreference. -->
859        <attr name="dialogPreferenceStyle" format="reference" />
860        <!-- Default style for EditTextPreference. -->
861        <attr name="editTextPreferenceStyle" format="reference" />
862        <!-- Default style for RingtonePreference. -->
863        <attr name="ringtonePreferenceStyle" format="reference" />
864        <!-- The preference layout that has the child/tabbed effect. -->
865        <attr name="preferenceLayoutChild" format="reference" />
866        <!-- Preference panel style -->
867        <attr name="preferencePanelStyle" format="reference" />
868        <!-- Preference headers panel style -->
869        <attr name="preferenceHeaderPanelStyle" format="reference" />
870        <!-- Preference list style -->
871        <attr name="preferenceListStyle" format="reference" />
872        <!-- Preference fragment list style -->
873        <attr name="preferenceFragmentListStyle" format="reference" />
874        <!-- Preference fragment padding side -->
875        <attr name="preferenceFragmentPaddingSide" format="dimension" />
876        <!-- Default style for switch preferences. -->
877        <attr name="switchPreferenceStyle" format="reference" />
878        <!-- Default style for seekbar preferences. -->
879        <attr name="seekBarPreferenceStyle" format="reference" />
880
881        <!-- ============================ -->
882        <!-- Text selection handle styles -->
883        <!-- ============================ -->
884        <eat-comment />
885
886        <!-- Reference to a drawable that will be used to display a text selection
887             anchor on the left side of a selection region. -->
888        <attr name="textSelectHandleLeft" format="reference" />
889        <!-- Reference to a drawable that will be used to display a text selection
890             anchor on the right side of a selection region. -->
891        <attr name="textSelectHandleRight" format="reference" />
892        <!-- Reference to a drawable that will be used to display a text selection
893             anchor for positioning the cursor within text. -->
894        <attr name="textSelectHandle" format="reference" />
895        <!-- The layout of the view that is displayed on top of the cursor to paste inside a
896             TextEdit field. -->
897        <attr name="textEditPasteWindowLayout" format="reference" />
898        <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. -->
899        <attr name="textEditNoPasteWindowLayout" format="reference" />
900        <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the
901             insertion cursor because it would be clipped if it were positioned on top. -->
902        <attr name="textEditSidePasteWindowLayout" format="reference" />
903        <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. -->
904        <attr name="textEditSideNoPasteWindowLayout" format="reference" />
905
906        <!-- Layout of the TextView item that will populate the suggestion popup window. -->
907        <attr name="textEditSuggestionItemLayout" format="reference" />
908
909        <!-- Theme to use for dialogs spawned from this theme. -->
910        <attr name="dialogTheme" format="reference" />
911        <!-- Window decor layout to use in dialog mode with icons. -->
912        <attr name="dialogTitleIconsDecorLayout" format="reference" />
913        <!-- Window decor layout to use in dialog mode with custom titles. -->
914        <attr name="dialogCustomTitleDecorLayout" format="reference" />
915        <!-- Window decor layout to use in dialog mode with title only. -->
916        <attr name="dialogTitleDecorLayout" format="reference" />
917        <!-- Preferred padding for dialog content. -->
918        <attr name="dialogPreferredPadding" format="dimension" />
919
920        <!-- Theme to use for alert dialogs spawned from this theme. -->
921        <attr name="alertDialogTheme" format="reference" />
922        <!-- Icon drawable to use for alerts -->
923        <attr name="alertDialogIcon" format="reference" />
924
925        <!-- Theme to use for presentations spawned from this theme. -->
926        <attr name="presentationTheme" format="reference" />
927
928        <!-- Drawable to use for generic vertical dividers. -->
929        <attr name="dividerVertical" format="reference" />
930
931        <!-- Drawable to use for generic horizontal dividers. -->
932        <attr name="dividerHorizontal" format="reference" />
933
934        <!-- Style for button bars -->
935        <attr name="buttonBarStyle" format="reference" />
936
937        <!-- Style for buttons within button bars -->
938        <attr name="buttonBarButtonStyle" format="reference" />
939
940        <!-- Style for the "positive" buttons within button bars -->
941        <attr name="buttonBarPositiveButtonStyle" format="reference" />
942
943        <!-- Style for the "negative" buttons within button bars -->
944        <attr name="buttonBarNegativeButtonStyle" format="reference" />
945
946        <!-- Style for the "neutral" buttons within button bars -->
947        <attr name="buttonBarNeutralButtonStyle" format="reference" />
948
949        <!-- Style for the search query widget. -->
950        <attr name="searchViewStyle" format="reference" />
951
952        <!-- Style for segmented buttons - a container that houses several buttons
953             with the appearance of a singel button broken into segments. -->
954        <attr name="segmentedButtonStyle" format="reference" />
955
956        <!-- Background drawable for bordered standalone items that need focus/pressed states. -->
957        <attr name="selectableItemBackground" format="reference" />
958
959        <!-- Background drawable for borderless standalone items that need focus/pressed states. -->
960        <attr name="selectableItemBackgroundBorderless" format="reference" />
961
962        <!-- Style for buttons without an explicit border, often used in groups. -->
963        <attr name="borderlessButtonStyle" format="reference" />
964
965        <!-- Background to use for toasts -->
966        <attr name="toastFrameBackground" format="reference" />
967
968        <!-- Theme to use for Search Dialogs -->
969        <attr name="searchDialogTheme" format="reference" />
970
971        <!-- Specifies a drawable to use for the 'home as up' indicator. -->
972        <attr name="homeAsUpIndicator" format="reference" />
973
974        <!-- Preference frame layout styles. -->
975        <attr name="preferenceFrameLayoutStyle" format="reference" />
976
977        <!-- Default style for the Switch widget. -->
978        <attr name="switchStyle" format="reference" />
979
980        <!-- Default style for the MediaRouteButton widget. -->
981        <attr name="mediaRouteButtonStyle" format="reference" />
982
983        <!-- ============== -->
984        <!-- Pointer styles -->
985        <!-- ============== -->
986        <eat-comment />
987
988        <!-- Reference to the Pointer style -->
989        <attr name="pointerStyle" format="reference" />
990
991        <!-- The drawable for accessibility focused views. -->
992        <attr name="accessibilityFocusedDrawable" format="reference" />
993
994        <!-- Drawable for WebView find-on-page dialogue's "next" button. @hide -->
995        <attr name="findOnPageNextDrawable" format="reference" />
996
997        <!-- Drawable for WebView find-on-page dialogue's "previous" button. @hide -->
998        <attr name="findOnPagePreviousDrawable" format="reference" />
999
1000        <!-- ============= -->
1001        <!-- Color palette -->
1002        <!-- ============= -->
1003        <eat-comment />
1004
1005        <!-- The primary branding color for the app. By default, this is the color applied to the
1006             action bar background. -->
1007        <attr name="colorPrimary" format="color" />
1008
1009        <!-- Dark variant of the primary branding color. By default, this is the color applied to
1010             the status bar (via statusBarColor) and navigation bar (via navigationBarColor). -->
1011        <attr name="colorPrimaryDark" format="color" />
1012
1013        <!-- Bright complement to the primary branding color. By default, this is the color applied
1014             to framework controls (via colorControlActivated). -->
1015        <attr name="colorAccent" format="color" />
1016
1017        <!-- The color applied to framework controls in their normal state. -->
1018        <attr name="colorControlNormal" format="color" />
1019
1020        <!-- The color applied to framework controls in their activated (ex. checked) state. -->
1021        <attr name="colorControlActivated" format="color" />
1022
1023        <!-- The color applied to framework control highlights (ex. ripples, list selectors). -->
1024        <attr name="colorControlHighlight" format="color" />
1025
1026        <!-- The color applied to framework buttons in their normal state. -->
1027        <attr name="colorButtonNormal" format="color" />
1028
1029        <!-- The color applied to framework switch thumbs in their normal state. -->
1030        <attr name="colorSwitchThumbNormal" format="color" />
1031
1032        <!-- @hide The background used by framework controls. -->
1033        <attr name="controlBackground" format="color" />
1034
1035        <!-- The color applied to the edge effect on scrolling containers. -->
1036        <attr name="colorEdgeEffect" format="color" />
1037
1038        <!-- =================== -->
1039        <!-- Lighting properties -->
1040        <!-- =================== -->
1041        <eat-comment />
1042
1043        <!-- @hide The default Y position of the light used to project view shadows. -->
1044        <attr name="lightY" format="dimension" />
1045
1046        <!-- @hide The default Z position of the light used to project view shadows. -->
1047        <attr name="lightZ" format="dimension" />
1048
1049        <!-- @hide The default radius of the light used to project view shadows. -->
1050        <attr name="lightRadius" format="dimension" />
1051
1052        <!-- Alpha value of the ambient shadow projected by elevated views, between 0 and 1. -->
1053        <attr name="ambientShadowAlpha" format="float" />
1054
1055        <!-- Alpha value of the spot shadow projected by elevated views, between 0 and 1. -->
1056        <attr name="spotShadowAlpha" format="float" />
1057    </declare-styleable>
1058
1059    <!-- **************************************************************** -->
1060    <!-- Other non-theme attributes. -->
1061    <!-- **************************************************************** -->
1062    <eat-comment />
1063
1064    <!-- Size of text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp).
1065         Supported values include the following:<p/>
1066    <ul>
1067        <li><b>px</b> Pixels</li>
1068        <li><b>sp</b> Scaled pixels (scaled to relative pixel size on screen). See {@link android.util.DisplayMetrics} for more information.</li>
1069        <li><b>pt</b> Points</li>
1070        <li><b>dip</b> Device independent pixels. See {@link android.util.DisplayMetrics} for more information.</li>
1071    </ul>
1072        -->
1073    <attr name="textSize" format="dimension" />
1074
1075    <!-- Default font family. -->
1076    <attr name="fontFamily" format="string" />
1077
1078    <!-- Default text typeface. -->
1079    <attr name="typeface">
1080        <enum name="normal" value="0" />
1081        <enum name="sans" value="1" />
1082        <enum name="serif" value="2" />
1083        <enum name="monospace" value="3" />
1084    </attr>
1085
1086    <!-- Default text typeface style. -->
1087    <attr name="textStyle">
1088        <flag name="normal" value="0" />
1089        <flag name="bold" value="1" />
1090        <flag name="italic" value="2" />
1091    </attr>
1092
1093    <!-- Color of text (usually same as colorForeground). -->
1094    <attr name="textColor" format="reference|color" />
1095
1096    <!-- Color of highlighted text. -->
1097    <attr name="textColorHighlight" format="reference|color" />
1098
1099    <!-- Color of hint text (displayed when the field is empty). -->
1100    <attr name="textColorHint" format="reference|color" />
1101
1102    <!-- Color of link text (URLs). -->
1103    <attr name="textColorLink" format="reference|color" />
1104
1105    <!-- Reference to a drawable that will be drawn under the insertion cursor. -->
1106    <attr name="textCursorDrawable" format="reference" />
1107
1108    <!-- Indicates that the content of a non-editable TextView can be selected.
1109     Default value is false. EditText content is always selectable. -->
1110    <attr name="textIsSelectable" format="boolean" />
1111
1112    <!-- Where to ellipsize text. -->
1113    <attr name="ellipsize">
1114        <enum name="none" value="0" />
1115        <enum name="start" value="1" />
1116        <enum name="middle" value="2" />
1117        <enum name="end" value="3" />
1118        <enum name="marquee" value="4" />
1119    </attr>
1120
1121    <!-- The type of data being placed in a text field, used to help an
1122         input method decide how to let the user enter text.  The constants
1123         here correspond to those defined by
1124         {@link android.text.InputType}.  Generally you can select
1125         a single value, though some can be combined together as
1126         indicated.  Setting this attribute to anything besides
1127         <var>none</var> also implies that the text is editable. -->
1128    <attr name="inputType">
1129        <!-- There is no content type.  The text is not editable. -->
1130        <flag name="none" value="0x00000000" />
1131        <!-- Just plain old text.  Corresponds to
1132             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1133             {@link android.text.InputType#TYPE_TEXT_VARIATION_NORMAL}. -->
1134        <flag name="text" value="0x00000001" />
1135        <!-- Can be combined with <var>text</var> and its variations to
1136             request capitalization of all characters.  Corresponds to
1137             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_CHARACTERS}. -->
1138        <flag name="textCapCharacters" value="0x00001001" />
1139        <!-- Can be combined with <var>text</var> and its variations to
1140             request capitalization of the first character of every word.  Corresponds to
1141             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_WORDS}. -->
1142        <flag name="textCapWords" value="0x00002001" />
1143        <!-- Can be combined with <var>text</var> and its variations to
1144             request capitalization of the first character of every sentence.  Corresponds to
1145             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_SENTENCES}. -->
1146        <flag name="textCapSentences" value="0x00004001" />
1147        <!-- Can be combined with <var>text</var> and its variations to
1148             request auto-correction of text being input.  Corresponds to
1149             {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_CORRECT}. -->
1150        <flag name="textAutoCorrect" value="0x00008001" />
1151        <!-- Can be combined with <var>text</var> and its variations to
1152             specify that this field will be doing its own auto-completion and
1153             talking with the input method appropriately.  Corresponds to
1154             {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_COMPLETE}. -->
1155        <flag name="textAutoComplete" value="0x00010001" />
1156        <!-- Can be combined with <var>text</var> and its variations to
1157             allow multiple lines of text in the field.  If this flag is not set,
1158             the text field will be constrained to a single line.  Corresponds to
1159             {@link android.text.InputType#TYPE_TEXT_FLAG_MULTI_LINE}. -->
1160        <flag name="textMultiLine" value="0x00020001" />
1161        <!-- Can be combined with <var>text</var> and its variations to
1162             indicate that though the regular text view should not be multiple
1163             lines, the IME should provide multiple lines if it can.  Corresponds to
1164             {@link android.text.InputType#TYPE_TEXT_FLAG_IME_MULTI_LINE}. -->
1165        <flag name="textImeMultiLine" value="0x00040001" />
1166        <!-- Can be combined with <var>text</var> and its variations to
1167             indicate that the IME should not show any
1168             dictionary-based word suggestions.  Corresponds to
1169             {@link android.text.InputType#TYPE_TEXT_FLAG_NO_SUGGESTIONS}. -->
1170        <flag name="textNoSuggestions" value="0x00080001" />
1171        <!-- Text that will be used as a URI.  Corresponds to
1172             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1173             {@link android.text.InputType#TYPE_TEXT_VARIATION_URI}. -->
1174        <flag name="textUri" value="0x00000011" />
1175        <!-- Text that will be used as an e-mail address.  Corresponds to
1176             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1177             {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_ADDRESS}. -->
1178        <flag name="textEmailAddress" value="0x00000021" />
1179        <!-- Text that is being supplied as the subject of an e-mail.  Corresponds to
1180             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1181             {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_SUBJECT}. -->
1182        <flag name="textEmailSubject" value="0x00000031" />
1183        <!-- Text that is the content of a short message.  Corresponds to
1184             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1185             {@link android.text.InputType#TYPE_TEXT_VARIATION_SHORT_MESSAGE}. -->
1186        <flag name="textShortMessage" value="0x00000041" />
1187        <!-- Text that is the content of a long message.  Corresponds to
1188             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1189             {@link android.text.InputType#TYPE_TEXT_VARIATION_LONG_MESSAGE}. -->
1190        <flag name="textLongMessage" value="0x00000051" />
1191        <!-- Text that is the name of a person.  Corresponds to
1192             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1193             {@link android.text.InputType#TYPE_TEXT_VARIATION_PERSON_NAME}. -->
1194        <flag name="textPersonName" value="0x00000061" />
1195        <!-- Text that is being supplied as a postal mailing address.  Corresponds to
1196             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1197             {@link android.text.InputType#TYPE_TEXT_VARIATION_POSTAL_ADDRESS}. -->
1198        <flag name="textPostalAddress" value="0x00000071" />
1199        <!-- Text that is a password.  Corresponds to
1200             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1201             {@link android.text.InputType#TYPE_TEXT_VARIATION_PASSWORD}. -->
1202        <flag name="textPassword" value="0x00000081" />
1203        <!-- Text that is a password that should be visible.  Corresponds to
1204             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1205             {@link android.text.InputType#TYPE_TEXT_VARIATION_VISIBLE_PASSWORD}. -->
1206        <flag name="textVisiblePassword" value="0x00000091" />
1207        <!-- Text that is being supplied as text in a web form.  Corresponds to
1208             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1209             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EDIT_TEXT}. -->
1210        <flag name="textWebEditText" value="0x000000a1" />
1211        <!-- Text that is filtering some other data.  Corresponds to
1212             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1213             {@link android.text.InputType#TYPE_TEXT_VARIATION_FILTER}. -->
1214        <flag name="textFilter" value="0x000000b1" />
1215        <!-- Text that is for phonetic pronunciation, such as a phonetic name
1216             field in a contact entry.  Corresponds to
1217             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1218             {@link android.text.InputType#TYPE_TEXT_VARIATION_PHONETIC}. -->
1219        <flag name="textPhonetic" value="0x000000c1" />
1220        <!-- Text that will be used as an e-mail address on a web form.  Corresponds to
1221             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1222             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS}. -->
1223        <flag name="textWebEmailAddress" value="0x000000d1" />
1224        <!-- Text that will be used as a password on a web form.  Corresponds to
1225             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1226             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_PASSWORD}. -->
1227        <flag name="textWebPassword" value="0x000000e1" />
1228        <!-- A numeric only field.  Corresponds to
1229             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1230             {@link android.text.InputType#TYPE_NUMBER_VARIATION_NORMAL}. -->
1231        <flag name="number" value="0x00000002" />
1232        <!-- Can be combined with <var>number</var> and its other options to
1233             allow a signed number.  Corresponds to
1234             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1235             {@link android.text.InputType#TYPE_NUMBER_FLAG_SIGNED}. -->
1236        <flag name="numberSigned" value="0x00001002" />
1237        <!-- Can be combined with <var>number</var> and its other options to
1238             allow a decimal (fractional) number.  Corresponds to
1239             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1240             {@link android.text.InputType#TYPE_NUMBER_FLAG_DECIMAL}. -->
1241        <flag name="numberDecimal" value="0x00002002" />
1242        <!-- A numeric password field.  Corresponds to
1243             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1244             {@link android.text.InputType#TYPE_NUMBER_VARIATION_PASSWORD}. -->
1245        <flag name="numberPassword" value="0x00000012" />
1246        <!-- For entering a phone number.  Corresponds to
1247             {@link android.text.InputType#TYPE_CLASS_PHONE}. -->
1248        <flag name="phone" value="0x00000003" />
1249        <!-- For entering a date and time.  Corresponds to
1250             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1251             {@link android.text.InputType#TYPE_DATETIME_VARIATION_NORMAL}. -->
1252        <flag name="datetime" value="0x00000004" />
1253        <!-- For entering a date.  Corresponds to
1254             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1255             {@link android.text.InputType#TYPE_DATETIME_VARIATION_DATE}. -->
1256        <flag name="date" value="0x00000014" />
1257        <!-- For entering a time.  Corresponds to
1258             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1259             {@link android.text.InputType#TYPE_DATETIME_VARIATION_TIME}. -->
1260        <flag name="time" value="0x00000024" />
1261    </attr>
1262
1263    <!-- Additional features you can enable in an IME associated with an editor
1264         to improve the integration with your application.  The constants
1265         here correspond to those defined by
1266         {@link android.view.inputmethod.EditorInfo#imeOptions}. -->
1267    <attr name="imeOptions">
1268        <!-- There are no special semantics associated with this editor. -->
1269        <flag name="normal" value="0x00000000" />
1270        <!-- There is no specific action associated with this editor, let the
1271             editor come up with its own if it can.
1272             Corresponds to
1273             {@link android.view.inputmethod.EditorInfo#IME_NULL}. -->
1274        <flag name="actionUnspecified" value="0x00000000" />
1275        <!-- This editor has no action associated with it.
1276             Corresponds to
1277             {@link android.view.inputmethod.EditorInfo#IME_ACTION_NONE}. -->
1278        <flag name="actionNone" value="0x00000001" />
1279        <!-- The action key performs a "go"
1280             operation to take the user to the target of the text they typed.
1281             Typically used, for example, when entering a URL.
1282             Corresponds to
1283             {@link android.view.inputmethod.EditorInfo#IME_ACTION_GO}. -->
1284        <flag name="actionGo" value="0x00000002" />
1285        <!-- The action key performs a "search"
1286             operation, taking the user to the results of searching for the text
1287             the have typed (in whatever context is appropriate).
1288             Corresponds to
1289             {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEARCH}. -->
1290        <flag name="actionSearch" value="0x00000003" />
1291        <!-- The action key performs a "send"
1292             operation, delivering the text to its target.  This is typically used
1293             when composing a message.
1294             Corresponds to
1295             {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEND}. -->
1296        <flag name="actionSend" value="0x00000004" />
1297        <!-- The action key performs a "next"
1298             operation, taking the user to the next field that will accept text.
1299             Corresponds to
1300             {@link android.view.inputmethod.EditorInfo#IME_ACTION_NEXT}. -->
1301        <flag name="actionNext" value="0x00000005" />
1302        <!-- The action key performs a "done"
1303             operation, closing the soft input method.
1304             Corresponds to
1305             {@link android.view.inputmethod.EditorInfo#IME_ACTION_DONE}. -->
1306        <flag name="actionDone" value="0x00000006" />
1307        <!-- The action key performs a "previous"
1308             operation, taking the user to the previous field that will accept text.
1309             Corresponds to
1310             {@link android.view.inputmethod.EditorInfo#IME_ACTION_PREVIOUS}. -->
1311        <flag name="actionPrevious" value="0x00000007" />
1312        <!-- Used to request that the IME never go
1313             into fullscreen mode.  Applications need to be aware that the flag is not
1314             a guarantee, and not all IMEs will respect it.
1315             <p>Corresponds to
1316             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. -->
1317        <flag name="flagNoFullscreen" value="0x2000000" />
1318        <!-- Like flagNavigateNext, but
1319             specifies there is something interesting that a backward navigation
1320             can focus on.  If the user selects the IME's facility to backward
1321             navigate, this will show up in the application as an actionPrevious
1322             at {@link android.view.inputmethod.InputConnection#performEditorAction(int)
1323             InputConnection.performEditorAction(int)}.
1324             <p>Corresponds to
1325             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. -->
1326        <flag name="flagNavigatePrevious" value="0x4000000" />
1327        <!-- Used to specify that there is something
1328             interesting that a forward navigation can focus on. This is like using
1329             actionNext, except allows the IME to be multiline (with
1330             an enter key) as well as provide forward navigation.  Note that some
1331             IMEs may not be able to do this, especially when running on a small
1332             screen where there is little space.  In that case it does not need to
1333             present a UI for this option.  Like actionNext, if the
1334             user selects the IME's facility to forward navigate, this will show up
1335             in the application at
1336             {@link android.view.inputmethod.InputConnection#performEditorAction(int)
1337             InputConnection.performEditorAction(int)}.
1338             <p>Corresponds to
1339             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NAVIGATE_NEXT}. -->
1340        <flag name="flagNavigateNext" value="0x8000000" />
1341        <!-- Used to specify that the IME does not need
1342             to show its extracted text UI.  For input methods that may be fullscreen,
1343             often when in landscape mode, this allows them to be smaller and let part
1344             of the application be shown behind.  Though there will likely be limited
1345             access to the application available from the user, it can make the
1346             experience of a (mostly) fullscreen IME less jarring.  Note that when
1347             this flag is specified the IME may <em>not</em> be set up to be able
1348             to display text, so it should only be used in situations where this is
1349             not needed.
1350             <p>Corresponds to
1351             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_EXTRACT_UI}. -->
1352        <flag name="flagNoExtractUi" value="0x10000000" />
1353        <!-- Used in conjunction with a custom action, this indicates that the
1354             action should not be available as an accessory button when the
1355             input method is full-screen.
1356             Note that by setting this flag, there can be cases where the action
1357             is simply never available to the user.  Setting this generally means
1358             that you think showing text being edited is more important than the
1359             action you have supplied.
1360             <p>Corresponds to
1361             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ACCESSORY_ACTION}. -->
1362        <flag name="flagNoAccessoryAction" value="0x20000000" />
1363        <!-- Used in conjunction with a custom action,
1364             this indicates that the action should not be available in-line as
1365             a replacement for the "enter" key.  Typically this is
1366             because the action has such a significant impact or is not recoverable
1367             enough that accidentally hitting it should be avoided, such as sending
1368             a message.    Note that {@link android.widget.TextView} will
1369             automatically set this flag for you on multi-line text views.
1370             <p>Corresponds to
1371             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ENTER_ACTION}. -->
1372        <flag name="flagNoEnterAction" value="0x40000000" />
1373        <!-- Used to request that the IME should be capable of inputting ASCII
1374             characters.  The intention of this flag is to ensure that the user
1375             can type Roman alphabet characters in a {@link android.widget.TextView}
1376             used for, typically, account ID or password input.  It is expected that IMEs
1377             normally are able to input ASCII even without being told so (such IMEs
1378             already respect this flag in a sense), but there could be some cases they
1379             aren't when, for instance, only non-ASCII input languagaes like Arabic,
1380             Greek, Hebrew, Russian are enabled in the IME.  Applications need to be
1381             aware that the flag is not a guarantee, and not all IMEs will respect it.
1382             However, it is strongly recommended for IME authors to respect this flag
1383             especially when their IME could end up with a state that has only non-ASCII
1384             input languages enabled.
1385             <p>Corresponds to
1386             {@link android.view.inputmethod.EditorInfo#IME_FLAG_FORCE_ASCII}. -->
1387        <flag name="flagForceAscii" value="0x80000000" />
1388    </attr>
1389
1390    <!-- A coordinate in the X dimension. -->
1391    <attr name="x" format="dimension" />
1392    <!-- A coordinate in the Y dimension. -->
1393    <attr name="y" format="dimension" />
1394
1395    <!-- Specifies how an object should position its content, on both the X and Y axes,
1396         within its own bounds.  -->
1397    <attr name="gravity">
1398        <!-- Push object to the top of its container, not changing its size. -->
1399        <flag name="top" value="0x30" />
1400        <!-- Push object to the bottom of its container, not changing its size. -->
1401        <flag name="bottom" value="0x50" />
1402        <!-- Push object to the left of its container, not changing its size. -->
1403        <flag name="left" value="0x03" />
1404        <!-- Push object to the right of its container, not changing its size. -->
1405        <flag name="right" value="0x05" />
1406        <!-- Place object in the vertical center of its container, not changing its size. -->
1407        <flag name="center_vertical" value="0x10" />
1408        <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
1409        <flag name="fill_vertical" value="0x70" />
1410        <!-- Place object in the horizontal center of its container, not changing its size. -->
1411        <flag name="center_horizontal" value="0x01" />
1412        <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
1413        <flag name="fill_horizontal" value="0x07" />
1414        <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
1415        <flag name="center" value="0x11" />
1416        <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
1417        <flag name="fill" value="0x77" />
1418        <!-- Additional option that can be set to have the top and/or bottom edges of
1419             the child clipped to its container's bounds.
1420             The clip will be based on the vertical gravity: a top gravity will clip the bottom
1421             edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
1422        <flag name="clip_vertical" value="0x80" />
1423        <!-- Additional option that can be set to have the left and/or right edges of
1424             the child clipped to its container's bounds.
1425             The clip will be based on the horizontal gravity: a left gravity will clip the right
1426             edge, a right gravity will clip the left edge, and neither will clip both edges. -->
1427        <flag name="clip_horizontal" value="0x08" />
1428        <!-- Push object to the beginning of its container, not changing its size. -->
1429        <flag name="start" value="0x00800003" />
1430        <!-- Push object to the end of its container, not changing its size. -->
1431        <flag name="end" value="0x00800005" />
1432    </attr>
1433
1434    <!-- Controls whether links such as urls and email addresses are
1435         automatically found and converted to clickable links.  The default
1436         value is "none", disabling this feature. -->
1437    <attr name="autoLink">
1438        <!-- Match no patterns (default). -->
1439        <flag name="none" value="0x00" />
1440        <!-- Match Web URLs. -->
1441        <flag name="web" value="0x01" />
1442        <!-- Match email addresses. -->
1443        <flag name="email" value="0x02" />
1444        <!-- Match phone numbers. -->
1445        <flag name="phone" value="0x04" />
1446        <!-- Match map addresses. -->
1447        <flag name="map" value="0x08" />
1448        <!-- Match all patterns (equivalent to web|email|phone|map). -->
1449        <flag name="all" value="0x0f" />
1450    </attr>
1451
1452    <!-- Reference to an array resource that will populate a list/adapter. -->
1453    <attr name="entries" format="reference" />
1454
1455    <!-- Standard gravity constant that a child supplies to its parent.
1456         Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout. -->
1457    <attr name="layout_gravity">
1458        <!-- Push object to the top of its container, not changing its size. -->
1459        <flag name="top" value="0x30" />
1460        <!-- Push object to the bottom of its container, not changing its size. -->
1461        <flag name="bottom" value="0x50" />
1462        <!-- Push object to the left of its container, not changing its size. -->
1463        <flag name="left" value="0x03" />
1464        <!-- Push object to the right of its container, not changing its size. -->
1465        <flag name="right" value="0x05" />
1466        <!-- Place object in the vertical center of its container, not changing its size. -->
1467        <flag name="center_vertical" value="0x10" />
1468        <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
1469        <flag name="fill_vertical" value="0x70" />
1470        <!-- Place object in the horizontal center of its container, not changing its size. -->
1471        <flag name="center_horizontal" value="0x01" />
1472        <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
1473        <flag name="fill_horizontal" value="0x07" />
1474        <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
1475        <flag name="center" value="0x11" />
1476        <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
1477        <flag name="fill" value="0x77" />
1478        <!-- Additional option that can be set to have the top and/or bottom edges of
1479             the child clipped to its container's bounds.
1480             The clip will be based on the vertical gravity: a top gravity will clip the bottom
1481             edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
1482        <flag name="clip_vertical" value="0x80" />
1483        <!-- Additional option that can be set to have the left and/or right edges of
1484             the child clipped to its container's bounds.
1485             The clip will be based on the horizontal gravity: a left gravity will clip the right
1486             edge, a right gravity will clip the left edge, and neither will clip both edges. -->
1487        <flag name="clip_horizontal" value="0x08" />
1488        <!-- Push object to the beginning of its container, not changing its size. -->
1489        <flag name="start" value="0x00800003" />
1490        <!-- Push object to the end of its container, not changing its size. -->
1491        <flag name="end" value="0x00800005" />
1492    </attr>
1493
1494    <!-- Standard orientation constant. -->
1495    <attr name="orientation">
1496        <!-- Defines an horizontal widget. -->
1497        <enum name="horizontal" value="0" />
1498        <!-- Defines a vertical widget. -->
1499        <enum name="vertical" value="1" />
1500    </attr>
1501
1502    <!-- Alignment constants. -->
1503    <attr name="alignmentMode">
1504        <!-- Align the bounds of the children.
1505        See {@link android.widget.GridLayout#ALIGN_BOUNDS}. -->
1506        <enum name="alignBounds" value="0" />
1507        <!-- Align the margins of the children.
1508        See {@link android.widget.GridLayout#ALIGN_MARGINS}. -->
1509        <enum name="alignMargins" value="1" />
1510    </attr>
1511
1512    <!-- ========================== -->
1513    <!-- Key Codes                  -->
1514    <!-- ========================== -->
1515    <eat-comment />
1516
1517    <!-- This enum provides the same keycode values as can be found in
1518        {@link android.view.KeyEvent}. -->
1519    <attr name="keycode">
1520        <enum name="KEYCODE_UNKNOWN" value="0" />
1521        <enum name="KEYCODE_SOFT_LEFT" value="1" />
1522        <enum name="KEYCODE_SOFT_RIGHT" value="2" />
1523        <enum name="KEYCODE_HOME" value="3" />
1524        <enum name="KEYCODE_BACK" value="4" />
1525        <enum name="KEYCODE_CALL" value="5" />
1526        <enum name="KEYCODE_ENDCALL" value="6" />
1527        <enum name="KEYCODE_0" value="7" />
1528        <enum name="KEYCODE_1" value="8" />
1529        <enum name="KEYCODE_2" value="9" />
1530        <enum name="KEYCODE_3" value="10" />
1531        <enum name="KEYCODE_4" value="11" />
1532        <enum name="KEYCODE_5" value="12" />
1533        <enum name="KEYCODE_6" value="13" />
1534        <enum name="KEYCODE_7" value="14" />
1535        <enum name="KEYCODE_8" value="15" />
1536        <enum name="KEYCODE_9" value="16" />
1537        <enum name="KEYCODE_STAR" value="17" />
1538        <enum name="KEYCODE_POUND" value="18" />
1539        <enum name="KEYCODE_DPAD_UP" value="19" />
1540        <enum name="KEYCODE_DPAD_DOWN" value="20" />
1541        <enum name="KEYCODE_DPAD_LEFT" value="21" />
1542        <enum name="KEYCODE_DPAD_RIGHT" value="22" />
1543        <enum name="KEYCODE_DPAD_CENTER" value="23" />
1544        <enum name="KEYCODE_VOLUME_UP" value="24" />
1545        <enum name="KEYCODE_VOLUME_DOWN" value="25" />
1546        <enum name="KEYCODE_POWER" value="26" />
1547        <enum name="KEYCODE_CAMERA" value="27" />
1548        <enum name="KEYCODE_CLEAR" value="28" />
1549        <enum name="KEYCODE_A" value="29" />
1550        <enum name="KEYCODE_B" value="30" />
1551        <enum name="KEYCODE_C" value="31" />
1552        <enum name="KEYCODE_D" value="32" />
1553        <enum name="KEYCODE_E" value="33" />
1554        <enum name="KEYCODE_F" value="34" />
1555        <enum name="KEYCODE_G" value="35" />
1556        <enum name="KEYCODE_H" value="36" />
1557        <enum name="KEYCODE_I" value="37" />
1558        <enum name="KEYCODE_J" value="38" />
1559        <enum name="KEYCODE_K" value="39" />
1560        <enum name="KEYCODE_L" value="40" />
1561        <enum name="KEYCODE_M" value="41" />
1562        <enum name="KEYCODE_N" value="42" />
1563        <enum name="KEYCODE_O" value="43" />
1564        <enum name="KEYCODE_P" value="44" />
1565        <enum name="KEYCODE_Q" value="45" />
1566        <enum name="KEYCODE_R" value="46" />
1567        <enum name="KEYCODE_S" value="47" />
1568        <enum name="KEYCODE_T" value="48" />
1569        <enum name="KEYCODE_U" value="49" />
1570        <enum name="KEYCODE_V" value="50" />
1571        <enum name="KEYCODE_W" value="51" />
1572        <enum name="KEYCODE_X" value="52" />
1573        <enum name="KEYCODE_Y" value="53" />
1574        <enum name="KEYCODE_Z" value="54" />
1575        <enum name="KEYCODE_COMMA" value="55" />
1576        <enum name="KEYCODE_PERIOD" value="56" />
1577        <enum name="KEYCODE_ALT_LEFT" value="57" />
1578        <enum name="KEYCODE_ALT_RIGHT" value="58" />
1579        <enum name="KEYCODE_SHIFT_LEFT" value="59" />
1580        <enum name="KEYCODE_SHIFT_RIGHT" value="60" />
1581        <enum name="KEYCODE_TAB" value="61" />
1582        <enum name="KEYCODE_SPACE" value="62" />
1583        <enum name="KEYCODE_SYM" value="63" />
1584        <enum name="KEYCODE_EXPLORER" value="64" />
1585        <enum name="KEYCODE_ENVELOPE" value="65" />
1586        <enum name="KEYCODE_ENTER" value="66" />
1587        <enum name="KEYCODE_DEL" value="67" />
1588        <enum name="KEYCODE_GRAVE" value="68" />
1589        <enum name="KEYCODE_MINUS" value="69" />
1590        <enum name="KEYCODE_EQUALS" value="70" />
1591        <enum name="KEYCODE_LEFT_BRACKET" value="71" />
1592        <enum name="KEYCODE_RIGHT_BRACKET" value="72" />
1593        <enum name="KEYCODE_BACKSLASH" value="73" />
1594        <enum name="KEYCODE_SEMICOLON" value="74" />
1595        <enum name="KEYCODE_APOSTROPHE" value="75" />
1596        <enum name="KEYCODE_SLASH" value="76" />
1597        <enum name="KEYCODE_AT" value="77" />
1598        <enum name="KEYCODE_NUM" value="78" />
1599        <enum name="KEYCODE_HEADSETHOOK" value="79" />
1600        <enum name="KEYCODE_FOCUS" value="80" />
1601        <enum name="KEYCODE_PLUS" value="81" />
1602        <enum name="KEYCODE_MENU" value="82" />
1603        <enum name="KEYCODE_NOTIFICATION" value="83" />
1604        <enum name="KEYCODE_SEARCH" value="84" />
1605        <enum name="KEYCODE_MEDIA_PLAY_PAUSE" value="85" />
1606        <enum name="KEYCODE_MEDIA_STOP" value="86" />
1607        <enum name="KEYCODE_MEDIA_NEXT" value="87" />
1608        <enum name="KEYCODE_MEDIA_PREVIOUS" value="88" />
1609        <enum name="KEYCODE_MEDIA_REWIND" value="89" />
1610        <enum name="KEYCODE_MEDIA_FAST_FORWARD" value="90" />
1611        <enum name="KEYCODE_MUTE" value="91" />
1612        <enum name="KEYCODE_PAGE_UP" value="92" />
1613        <enum name="KEYCODE_PAGE_DOWN" value="93" />
1614        <enum name="KEYCODE_PICTSYMBOLS" value="94" />
1615        <enum name="KEYCODE_SWITCH_CHARSET" value="95" />
1616        <enum name="KEYCODE_BUTTON_A" value="96" />
1617        <enum name="KEYCODE_BUTTON_B" value="97" />
1618        <enum name="KEYCODE_BUTTON_C" value="98" />
1619        <enum name="KEYCODE_BUTTON_X" value="99" />
1620        <enum name="KEYCODE_BUTTON_Y" value="100" />
1621        <enum name="KEYCODE_BUTTON_Z" value="101" />
1622        <enum name="KEYCODE_BUTTON_L1" value="102" />
1623        <enum name="KEYCODE_BUTTON_R1" value="103" />
1624        <enum name="KEYCODE_BUTTON_L2" value="104" />
1625        <enum name="KEYCODE_BUTTON_R2" value="105" />
1626        <enum name="KEYCODE_BUTTON_THUMBL" value="106" />
1627        <enum name="KEYCODE_BUTTON_THUMBR" value="107" />
1628        <enum name="KEYCODE_BUTTON_START" value="108" />
1629        <enum name="KEYCODE_BUTTON_SELECT" value="109" />
1630        <enum name="KEYCODE_BUTTON_MODE" value="110" />
1631        <enum name="KEYCODE_ESCAPE" value="111" />
1632        <enum name="KEYCODE_FORWARD_DEL" value="112" />
1633        <enum name="KEYCODE_CTRL_LEFT" value="113" />
1634        <enum name="KEYCODE_CTRL_RIGHT" value="114" />
1635        <enum name="KEYCODE_CAPS_LOCK" value="115" />
1636        <enum name="KEYCODE_SCROLL_LOCK" value="116" />
1637        <enum name="KEYCODE_META_LEFT" value="117" />
1638        <enum name="KEYCODE_META_RIGHT" value="118" />
1639        <enum name="KEYCODE_FUNCTION" value="119" />
1640        <enum name="KEYCODE_SYSRQ" value="120" />
1641        <enum name="KEYCODE_BREAK" value="121" />
1642        <enum name="KEYCODE_MOVE_HOME" value="122" />
1643        <enum name="KEYCODE_MOVE_END" value="123" />
1644        <enum name="KEYCODE_INSERT" value="124" />
1645        <enum name="KEYCODE_FORWARD" value="125" />
1646        <enum name="KEYCODE_MEDIA_PLAY" value="126" />
1647        <enum name="KEYCODE_MEDIA_PAUSE" value="127" />
1648        <enum name="KEYCODE_MEDIA_CLOSE" value="128" />
1649        <enum name="KEYCODE_MEDIA_EJECT" value="129" />
1650        <enum name="KEYCODE_MEDIA_RECORD" value="130" />
1651        <enum name="KEYCODE_F1" value="131" />
1652        <enum name="KEYCODE_F2" value="132" />
1653        <enum name="KEYCODE_F3" value="133" />
1654        <enum name="KEYCODE_F4" value="134" />
1655        <enum name="KEYCODE_F5" value="135" />
1656        <enum name="KEYCODE_F6" value="136" />
1657        <enum name="KEYCODE_F7" value="137" />
1658        <enum name="KEYCODE_F8" value="138" />
1659        <enum name="KEYCODE_F9" value="139" />
1660        <enum name="KEYCODE_F10" value="140" />
1661        <enum name="KEYCODE_F11" value="141" />
1662        <enum name="KEYCODE_F12" value="142" />
1663        <enum name="KEYCODE_NUM_LOCK" value="143" />
1664        <enum name="KEYCODE_NUMPAD_0" value="144" />
1665        <enum name="KEYCODE_NUMPAD_1" value="145" />
1666        <enum name="KEYCODE_NUMPAD_2" value="146" />
1667        <enum name="KEYCODE_NUMPAD_3" value="147" />
1668        <enum name="KEYCODE_NUMPAD_4" value="148" />
1669        <enum name="KEYCODE_NUMPAD_5" value="149" />
1670        <enum name="KEYCODE_NUMPAD_6" value="150" />
1671        <enum name="KEYCODE_NUMPAD_7" value="151" />
1672        <enum name="KEYCODE_NUMPAD_8" value="152" />
1673        <enum name="KEYCODE_NUMPAD_9" value="153" />
1674        <enum name="KEYCODE_NUMPAD_DIVIDE" value="154" />
1675        <enum name="KEYCODE_NUMPAD_MULTIPLY" value="155" />
1676        <enum name="KEYCODE_NUMPAD_SUBTRACT" value="156" />
1677        <enum name="KEYCODE_NUMPAD_ADD" value="157" />
1678        <enum name="KEYCODE_NUMPAD_DOT" value="158" />
1679        <enum name="KEYCODE_NUMPAD_COMMA" value="159" />
1680        <enum name="KEYCODE_NUMPAD_ENTER" value="160" />
1681        <enum name="KEYCODE_NUMPAD_EQUALS" value="161" />
1682        <enum name="KEYCODE_NUMPAD_LEFT_PAREN" value="162" />
1683        <enum name="KEYCODE_NUMPAD_RIGHT_PAREN" value="163" />
1684        <enum name="KEYCODE_VOLUME_MUTE" value="164" />
1685        <enum name="KEYCODE_INFO" value="165" />
1686        <enum name="KEYCODE_CHANNEL_UP" value="166" />
1687        <enum name="KEYCODE_CHANNEL_DOWN" value="167" />
1688        <enum name="KEYCODE_ZOOM_IN" value="168" />
1689        <enum name="KEYCODE_ZOOM_OUT" value="169" />
1690        <enum name="KEYCODE_TV" value="170" />
1691        <enum name="KEYCODE_WINDOW" value="171" />
1692        <enum name="KEYCODE_GUIDE" value="172" />
1693        <enum name="KEYCODE_DVR" value="173" />
1694        <enum name="KEYCODE_BOOKMARK" value="174" />
1695        <enum name="KEYCODE_CAPTIONS" value="175" />
1696        <enum name="KEYCODE_SETTINGS" value="176" />
1697        <enum name="KEYCODE_TV_POWER" value="177" />
1698        <enum name="KEYCODE_TV_INPUT" value="178" />
1699        <enum name="KEYCODE_STB_POWER" value="179" />
1700        <enum name="KEYCODE_STB_INPUT" value="180" />
1701        <enum name="KEYCODE_AVR_POWER" value="181" />
1702        <enum name="KEYCODE_AVR_INPUT" value="182" />
1703        <enum name="KEYCODE_PROG_GRED" value="183" />
1704        <enum name="KEYCODE_PROG_GREEN" value="184" />
1705        <enum name="KEYCODE_PROG_YELLOW" value="185" />
1706        <enum name="KEYCODE_PROG_BLUE" value="186" />
1707        <enum name="KEYCODE_APP_SWITCH" value="187" />
1708        <enum name="KEYCODE_BUTTON_1" value="188" />
1709        <enum name="KEYCODE_BUTTON_2" value="189" />
1710        <enum name="KEYCODE_BUTTON_3" value="190" />
1711        <enum name="KEYCODE_BUTTON_4" value="191" />
1712        <enum name="KEYCODE_BUTTON_5" value="192" />
1713        <enum name="KEYCODE_BUTTON_6" value="193" />
1714        <enum name="KEYCODE_BUTTON_7" value="194" />
1715        <enum name="KEYCODE_BUTTON_8" value="195" />
1716        <enum name="KEYCODE_BUTTON_9" value="196" />
1717        <enum name="KEYCODE_BUTTON_10" value="197" />
1718        <enum name="KEYCODE_BUTTON_11" value="198" />
1719        <enum name="KEYCODE_BUTTON_12" value="199" />
1720        <enum name="KEYCODE_BUTTON_13" value="200" />
1721        <enum name="KEYCODE_BUTTON_14" value="201" />
1722        <enum name="KEYCODE_BUTTON_15" value="202" />
1723        <enum name="KEYCODE_BUTTON_16" value="203" />
1724        <enum name="KEYCODE_LANGUAGE_SWITCH" value="204" />
1725        <enum name="KEYCODE_MANNER_MODE" value="205" />
1726        <enum name="KEYCODE_3D_MODE" value="206" />
1727        <enum name="KEYCODE_CONTACTS" value="207" />
1728        <enum name="KEYCODE_CALENDAR" value="208" />
1729        <enum name="KEYCODE_MUSIC" value="209" />
1730        <enum name="KEYCODE_CALCULATOR" value="210" />
1731        <enum name="KEYCODE_ZENKAKU_HANKAKU" value="211" />
1732        <enum name="KEYCODE_EISU" value="212" />
1733        <enum name="KEYCODE_MUHENKAN" value="213" />
1734        <enum name="KEYCODE_HENKAN" value="214" />
1735        <enum name="KEYCODE_KATAKANA_HIRAGANA" value="215" />
1736        <enum name="KEYCODE_YEN" value="216" />
1737        <enum name="KEYCODE_RO" value="217" />
1738        <enum name="KEYCODE_KANA" value="218" />
1739        <enum name="KEYCODE_ASSIST" value="219" />
1740        <enum name="KEYCODE_BRIGHTNESS_DOWN" value="220" />
1741        <enum name="KEYCODE_BRIGHTNESS_UP" value="221" />
1742        <enum name="KEYCODE_MEDIA_AUDIO_TRACK" value="222" />
1743        <enum name="KEYCODE_MEDIA_SLEEP" value="223" />
1744        <enum name="KEYCODE_MEDIA_WAKEUP" value="224" />
1745        <enum name="KEYCODE_PAIRING" value="225" />
1746        <enum name="KEYCODE_MEDIA_TOP_MENU" value="226" />
1747        <enum name="KEYCODE_11" value="227" />
1748        <enum name="KEYCODE_12" value="228" />
1749        <enum name="KEYCODE_LAST_CHANNEL" value="229" />
1750        <enum name="KEYCODE_TV_DATA_SERVICE" value="230" />
1751        <enum name="KEYCODE_VOICE_ASSIST" value="231" />
1752        <enum name="KEYCODE_TV_RADIO_SERVICE" value="232" />
1753        <enum name="KEYCODE_TV_TELETEXT" value="233" />
1754        <enum name="KEYCODE_TV_NUMBER_ENTRY" value="234" />
1755        <enum name="KEYCODE_TV_TERRESTRIAL_ANALOG" value="235" />
1756        <enum name="KEYCODE_TV_TERRESTRIAL_DIGITAL" value="236" />
1757        <enum name="KEYCODE_TV_SATELLITE" value="237" />
1758        <enum name="KEYCODE_TV_SATELLITE_BS" value="238" />
1759        <enum name="KEYCODE_TV_SATELLITE_CS" value="239" />
1760        <enum name="KEYCODE_TV_SATELLITE_SERVICE" value="240" />
1761        <enum name="KEYCODE_TV_NETWORK" value="241" />
1762        <enum name="KEYCODE_TV_ANTENNA_CABLE" value="242" />
1763        <enum name="KEYCODE_TV_INPUT_HDMI_1" value="243" />
1764        <enum name="KEYCODE_TV_INPUT_HDMI_2" value="244" />
1765        <enum name="KEYCODE_TV_INPUT_HDMI_3" value="245" />
1766        <enum name="KEYCODE_TV_INPUT_HDMI_4" value="246" />
1767        <enum name="KEYCODE_TV_INPUT_COMPOSITE_1" value="247" />
1768        <enum name="KEYCODE_TV_INPUT_COMPOSITE_2" value="248" />
1769        <enum name="KEYCODE_TV_INPUT_COMPONENT_1" value="249" />
1770        <enum name="KEYCODE_TV_INPUT_COMPONENT_2" value="250" />
1771        <enum name="KEYCODE_TV_INPUT_VGA_1" value="251" />
1772        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION" value="252" />
1773        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP" value="253" />
1774        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN" value="254" />
1775        <enum name="KEYCODE_TV_ZOOM_MODE" value="255" />
1776        <enum name="KEYCODE_TV_CONTENTS_MENU" value="256" />
1777        <enum name="KEYCODE_TV_MEDIA_CONTEXT_MENU" value="257" />
1778        <enum name="KEYCODE_TV_TIMER_PROGRAMMING" value="258" />
1779        <enum name="KEYCODE_HELP" value="259" />
1780    </attr>
1781
1782    <!-- ***************************************************************** -->
1783    <!-- These define collections of attributes that can are with classes. -->
1784    <!-- ***************************************************************** -->
1785
1786    <!-- ========================== -->
1787    <!-- Special attribute classes. -->
1788    <!-- ========================== -->
1789    <eat-comment />
1790
1791    <!-- The set of attributes that describe a Windows's theme. -->
1792    <declare-styleable name="Window">
1793        <attr name="windowBackground" />
1794        <attr name="windowBackgroundFallback" />
1795        <attr name="windowContentOverlay" />
1796        <attr name="windowFrame" />
1797        <attr name="windowNoTitle" />
1798        <attr name="windowFullscreen" />
1799        <attr name="windowOverscan" />
1800        <attr name="windowIsFloating" />
1801        <attr name="windowIsTranslucent" />
1802        <attr name="windowShowWallpaper" />
1803        <attr name="windowAnimationStyle" />
1804        <attr name="windowSoftInputMode" />
1805        <attr name="windowDisablePreview" />
1806        <attr name="windowNoDisplay" />
1807        <attr name="textColor" />
1808        <attr name="backgroundDimEnabled" />
1809        <attr name="backgroundDimAmount" />
1810        <attr name="windowActionBar" />
1811        <attr name="windowActionModeOverlay" />
1812        <attr name="windowActionBarOverlay" />
1813        <attr name="windowEnableSplitTouch" />
1814        <attr name="windowCloseOnTouchOutside" />
1815        <attr name="windowTranslucentStatus" />
1816        <attr name="windowTranslucentNavigation" />
1817        <attr name="windowSwipeToDismiss" />
1818        <attr name="windowContentTransitions" />
1819        <attr name="windowActivityTransitions" />
1820        <attr name="windowContentTransitionManager" />
1821        <attr name="windowActionBarFullscreenDecorLayout" />
1822
1823        <!-- The minimum width the window is allowed to be, along the major
1824             axis of the screen.  That is, when in landscape.  Can be either
1825             an absolute dimension or a fraction of the screen size in that
1826             dimension. -->
1827        <attr name="windowMinWidthMajor" format="dimension|fraction" />
1828        <!-- The minimum width the window is allowed to be, along the minor
1829             axis of the screen.  That is, when in portrait.  Can be either
1830             an absolute dimension or a fraction of the screen size in that
1831             dimension. -->
1832        <attr name="windowMinWidthMinor" format="dimension|fraction" />
1833
1834        <!-- A fixed width for the window along the major axis of the screen,
1835             that is, when in landscape. Can be either an absolute dimension
1836             or a fraction of the screen size in that dimension. -->
1837        <attr name="windowFixedWidthMajor" format="dimension|fraction" />
1838        <!-- A fixed height for the window along the minor axis of the screen,
1839             that is, when in landscape. Can be either an absolute dimension
1840             or a fraction of the screen size in that dimension. -->
1841        <attr name="windowFixedHeightMinor" format="dimension|fraction" />
1842
1843        <!-- A fixed width for the window along the minor axis of the screen,
1844             that is, when in portrait. Can be either an absolute dimension
1845             or a fraction of the screen size in that dimension. -->
1846        <attr name="windowFixedWidthMinor" format="dimension|fraction" />
1847        <!-- A fixed height for the window along the major axis of the screen,
1848             that is, when in portrait. Can be either an absolute dimension
1849             or a fraction of the screen size in that dimension. -->
1850        <attr name="windowFixedHeightMajor" format="dimension|fraction" />
1851        <attr name="windowOutsetBottom" format="dimension" />
1852        <!-- Reference to a Transition XML resource defining the desired Transition
1853             used to move Views into the initial Window's content Scene. Corresponds to
1854             {@link android.view.Window#setEnterTransition(android.transition.Transition)}. -->
1855        <attr name="windowEnterTransition"/>
1856
1857        <!-- Reference to a Transition XML resource defining the desired Transition
1858             used to move Views out of the scene when the Window is
1859             preparing to close. Corresponds to
1860             {@link android.view.Window#setReturnTransition(android.transition.Transition)}. -->
1861        <attr name="windowReturnTransition"/>
1862
1863        <!-- Reference to a Transition XML resource defining the desired Transition
1864             used to move Views out of the Window's content Scene when launching a new Activity.
1865             Corresponds to
1866             {@link android.view.Window#setExitTransition(android.transition.Transition)}. -->
1867        <attr name="windowExitTransition"/>
1868
1869        <!-- Reference to a Transition XML resource defining the desired Transition
1870             used to move Views in to the scene when returning from a previously-started Activity.
1871             Corresponds to
1872             {@link android.view.Window#setReenterTransition(android.transition.Transition)}. -->
1873        <attr name="windowReenterTransition"/>
1874
1875        <!-- Reference to a Transition XML resource defining the desired Transition
1876             used to move shared elements transferred into the Window's initial content Scene.
1877             Corresponds to {@link android.view.Window#setSharedElementEnterTransition(
1878             android.transition.Transition)}. -->
1879        <attr name="windowSharedElementEnterTransition"/>
1880
1881        <!-- Reference to a Transition XML resource defining the desired Transition
1882             used to move shared elements transferred back to a calling Activity.
1883             Corresponds to {@link android.view.Window#setSharedElementReturnTransition(
1884             android.transition.Transition)}. -->
1885        <attr name="windowSharedElementReturnTransition"/>
1886
1887        <!-- Reference to a Transition XML resource defining the desired Transition
1888             used when starting a new Activity to move shared elements prior to transferring
1889             to the called Activity.
1890             Corresponds to {@link android.view.Window#setSharedElementExitTransition(
1891             android.transition.Transition)}. -->
1892        <attr name="windowSharedElementExitTransition"/>
1893
1894        <!-- Reference to a Transition XML resource defining the desired Transition
1895             used for shared elements transferred back to a calling Activity.
1896             Corresponds to {@link android.view.Window#setSharedElementReenterTransition(
1897             android.transition.Transition)}. -->
1898        <attr name="windowSharedElementReenterTransition"/>
1899
1900
1901        <!-- Flag indicating whether this Window's transition should overlap with
1902             the exiting transition of the calling Activity. Corresponds to
1903             {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. -->
1904        <attr name="windowAllowEnterTransitionOverlap"/>
1905
1906        <!-- Flag indicating whether this Window's transition should overlap with
1907             the exiting transition of the called Activity when the called Activity
1908             finishes. Corresponds to
1909             {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. -->
1910        <attr name="windowAllowReturnTransitionOverlap"/>
1911
1912        <!-- Indicates whether or not shared elements should use an overlay
1913             during transitions. The default value is true. -->
1914        <attr name="windowSharedElementsUseOverlay"/>
1915
1916        <!-- Flag indicating whether this Window is responsible for drawing the background for the
1917             system bars. If true and the window is not floating, the system bars are drawn with a
1918             transparent background and the corresponding areas in this window are filled with the
1919             colors specified in {@link android.R.attr#statusBarColor} and
1920             {@link android.R.attr#navigationBarColor}. Corresponds to
1921             {@link android.view.WindowManager.LayoutParams#FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS}. -->
1922        <attr name="windowDrawsSystemBarBackgrounds" format="boolean" />
1923
1924        <!-- The color for the status bar. If the color is not opaque, consider setting
1925             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and
1926             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN}.
1927             For this to take effect, the window must be drawing the system bar backgrounds with
1928             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not
1929             have been requested to be translucent with
1930             {@link android.R.attr#windowTranslucentStatus}.
1931             Corresponds to {@link android.view.Window#setStatusBarColor(int)}. -->
1932        <attr name="statusBarColor" format="color" />
1933
1934        <!-- The color for the navigation bar. If the color is not opaque, consider setting
1935             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and
1936             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION}.
1937             For this to take effect, the window must be drawing the system bar backgrounds with
1938             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not
1939             have been requested to be translucent with
1940             {@link android.R.attr#windowTranslucentNavigation}.
1941             Corresponds to {@link android.view.Window#setNavigationBarColor(int)}. -->
1942        <attr name="navigationBarColor" format="color" />
1943
1944        <!-- The duration, in milliseconds, of the window background fade duration
1945             when transitioning into or away from an Activity when called with an
1946             Activity Transition. Corresponds to
1947             {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. -->
1948        <attr name="windowTransitionBackgroundFadeDuration" />
1949
1950        <!-- Elevation to use for the window. -->
1951        <attr name="windowElevation" format="dimension" />
1952
1953        <!-- Whether to clip window content to the outline of the window background. -->
1954        <attr name="windowClipToOutline" format="boolean" />
1955    </declare-styleable>
1956
1957    <!-- The set of attributes that describe a AlertDialog's theme. -->
1958    <declare-styleable name="AlertDialog">
1959        <attr name="fullDark" format="reference|color" />
1960        <attr name="topDark" format="reference|color" />
1961        <attr name="centerDark" format="reference|color" />
1962        <attr name="bottomDark" format="reference|color" />
1963        <attr name="fullBright" format="reference|color" />
1964        <attr name="topBright" format="reference|color" />
1965        <attr name="centerBright" format="reference|color" />
1966        <attr name="bottomBright" format="reference|color" />
1967        <attr name="bottomMedium" format="reference|color" />
1968        <attr name="centerMedium" format="reference|color" />
1969        <attr name="layout" />
1970        <attr name="buttonPanelSideLayout" format="reference" />
1971        <attr name="listLayout" format="reference" />
1972        <attr name="multiChoiceItemLayout" format="reference" />
1973        <attr name="singleChoiceItemLayout" format="reference" />
1974        <attr name="listItemLayout" format="reference" />
1975        <attr name="progressLayout" format="reference" />
1976        <attr name="horizontalProgressLayout" format="reference" />
1977        <!-- @hide Whether fullDark, etc. should use default values if null. -->
1978        <attr name="needsDefaultBackgrounds" format="boolean" />
1979    </declare-styleable>
1980
1981    <!-- Fragment animation class attributes. -->
1982    <declare-styleable name="FragmentAnimation">
1983        <attr name="fragmentOpenEnterAnimation" format="reference" />
1984        <attr name="fragmentOpenExitAnimation" format="reference" />
1985        <attr name="fragmentCloseEnterAnimation" format="reference" />
1986        <attr name="fragmentCloseExitAnimation" format="reference" />
1987        <attr name="fragmentFadeEnterAnimation" format="reference" />
1988        <attr name="fragmentFadeExitAnimation" format="reference" />
1989    </declare-styleable>
1990
1991    <!-- Window animation class attributes. -->
1992    <declare-styleable name="WindowAnimation">
1993        <!-- The animation used when a window is being added. -->
1994        <attr name="windowEnterAnimation" format="reference" />
1995        <!-- The animation used when a window is being removed. -->
1996        <attr name="windowExitAnimation" format="reference" />
1997        <!-- The animation used when a window is going from INVISIBLE to VISIBLE. -->
1998        <attr name="windowShowAnimation" format="reference" />
1999        <!-- The animation used when a window is going from VISIBLE to INVISIBLE. -->
2000        <attr name="windowHideAnimation" format="reference" />
2001
2002        <!--  When opening a new activity, this is the animation that is
2003              run on the next activity (which is entering the screen). -->
2004        <attr name="activityOpenEnterAnimation" format="reference" />
2005        <!--  When opening a new activity, this is the animation that is
2006              run on the previous activity (which is exiting the screen). -->
2007        <attr name="activityOpenExitAnimation" format="reference" />
2008        <!--  When closing the current activity, this is the animation that is
2009              run on the next activity (which is entering the screen). -->
2010        <attr name="activityCloseEnterAnimation" format="reference" />
2011        <!--  When closing the current activity, this is the animation that is
2012              run on the current activity (which is exiting the screen). -->
2013        <attr name="activityCloseExitAnimation" format="reference" />
2014        <!--  When opening an activity in a new task, this is the animation that is
2015              run on the activity of the new task (which is entering the screen). -->
2016        <attr name="taskOpenEnterAnimation" format="reference" />
2017        <!--  When opening an activity in a new task, this is the animation that is
2018              run on the activity of the old task (which is exiting the screen). -->
2019        <attr name="taskOpenExitAnimation" format="reference" />
2020        <!--  When opening an activity in a new task using Intent/FLAG_ACTIVITY_LAUNCH_BEHIND,
2021              this is the animation that is run on the activity of the new task (which is
2022              entering the screen and then leaving). -->
2023        <attr name="launchTaskBehindTargetAnimation" format="reference" />
2024        <!--  When opening an activity in a new task using Intent.FLAG_ACTIVITY_LAUNCH_BEHIND,
2025              this is the animation that is run on the activity of the old task (which is
2026              already on the screen and then stays on). -->
2027        <attr name="launchTaskBehindSourceAnimation" format="reference" />
2028        <!--  When closing the last activity of a task, this is the animation that is
2029              run on the activity of the next task (which is entering the screen). -->
2030        <attr name="taskCloseEnterAnimation" format="reference" />
2031        <!--  When opening an activity in a new task, this is the animation that is
2032              run on the activity of the old task (which is exiting the screen). -->
2033        <attr name="taskCloseExitAnimation" format="reference" />
2034        <!--  When bringing an existing task to the foreground, this is the
2035              animation that is run on the top activity of the task being brought
2036              to the foreground (which is entering the screen). -->
2037        <attr name="taskToFrontEnterAnimation" format="reference" />
2038        <!--  When bringing an existing task to the foreground, this is the
2039              animation that is run on the current foreground activity
2040              (which is exiting the screen). -->
2041        <attr name="taskToFrontExitAnimation" format="reference" />
2042        <!--  When sending the current task to the background, this is the
2043              animation that is run on the top activity of the task behind
2044              it (which is entering the screen). -->
2045        <attr name="taskToBackEnterAnimation" format="reference" />
2046        <!--  When sending the current task to the background, this is the
2047              animation that is run on the top activity of the current task
2048              (which is exiting the screen). -->
2049        <attr name="taskToBackExitAnimation" format="reference" />
2050
2051        <!--  When opening a new activity that shows the wallpaper, while
2052              currently not showing the wallpaper, this is the animation that
2053              is run on the new wallpaper activity (which is entering the screen). -->
2054        <attr name="wallpaperOpenEnterAnimation" format="reference" />
2055        <!--  When opening a new activity that shows the wallpaper, while
2056              currently not showing the wallpaper, this is the animation that
2057              is run on the current activity (which is exiting the screen). -->
2058        <attr name="wallpaperOpenExitAnimation" format="reference" />
2059        <!--  When opening a new activity that hides the wallpaper, while
2060              currently showing the wallpaper, this is the animation that
2061              is run on the new activity (which is entering the screen). -->
2062        <attr name="wallpaperCloseEnterAnimation" format="reference" />
2063        <!--  When opening a new activity that hides the wallpaper, while
2064              currently showing the wallpaper, this is the animation that
2065              is run on the old wallpaper activity (which is exiting the screen). -->
2066        <attr name="wallpaperCloseExitAnimation" format="reference" />
2067
2068        <!--  When opening a new activity that is on top of the wallpaper
2069              when the current activity is also on top of the wallpaper,
2070              this is the animation that is run on the new activity
2071              (which is entering the screen).  The wallpaper remains
2072              static behind the animation. -->
2073        <attr name="wallpaperIntraOpenEnterAnimation" format="reference" />
2074        <!--  When opening a new activity that is on top of the wallpaper
2075              when the current activity is also on top of the wallpaper,
2076              this is the animation that is run on the current activity
2077              (which is exiting the screen).  The wallpaper remains
2078              static behind the animation. -->
2079        <attr name="wallpaperIntraOpenExitAnimation" format="reference" />
2080        <!--  When closing a foreround activity that is on top of the wallpaper
2081              when the previous activity is also on top of the wallpaper,
2082              this is the animation that is run on the previous activity
2083              (which is entering the screen).  The wallpaper remains
2084              static behind the animation. -->
2085        <attr name="wallpaperIntraCloseEnterAnimation" format="reference" />
2086        <!--  When closing a foreround activity that is on top of the wallpaper
2087              when the previous activity is also on top of the wallpaper,
2088              this is the animation that is run on the current activity
2089              (which is exiting the screen).  The wallpaper remains
2090              static behind the animation. -->
2091        <attr name="wallpaperIntraCloseExitAnimation" format="reference" />
2092    </declare-styleable>
2093
2094    <!-- ============================= -->
2095    <!-- View package class attributes -->
2096    <!-- ============================= -->
2097    <eat-comment />
2098
2099    <!-- Attributes that can be used with {@link android.view.View} or
2100         any of its subclasses.  Also see {@link #ViewGroup_Layout} for
2101         attributes that are processed by the view's parent. -->
2102    <declare-styleable name="View">
2103        <!-- Supply an identifier name for this view, to later retrieve it
2104             with {@link android.view.View#findViewById View.findViewById()} or
2105             {@link android.app.Activity#findViewById Activity.findViewById()}.
2106             This must be a
2107             resource reference; typically you set this using the
2108             <code>@+</code> syntax to create a new ID resources.
2109             For example: <code>android:id="@+id/my_id"</code> which
2110             allows you to later retrieve the view
2111             with <code>findViewById(R.id.my_id)</code>. -->
2112        <attr name="id" format="reference" />
2113
2114        <!-- Supply a tag for this view containing a String, to be retrieved
2115             later with {@link android.view.View#getTag View.getTag()} or
2116             searched for with {@link android.view.View#findViewWithTag
2117             View.findViewWithTag()}.  It is generally preferable to use
2118             IDs (through the android:id attribute) instead of tags because
2119             they are faster and allow for compile-time type checking. -->
2120        <attr name="tag" format="string" />
2121
2122        <!-- The initial horizontal scroll offset, in pixels.-->
2123        <attr name="scrollX" format="dimension" />
2124
2125        <!-- The initial vertical scroll offset, in pixels. -->
2126        <attr name="scrollY" format="dimension" />
2127
2128        <!-- A drawable to use as the background.  This can be either a reference
2129             to a full drawable resource (such as a PNG image, 9-patch,
2130             XML state list description, etc), or a solid color such as "#ff000000"
2131            (black). -->
2132        <attr name="background" format="reference|color" />
2133
2134        <!-- Sets the padding, in pixels, of all four edges.  Padding is defined as
2135             space between the edges of the view and the view's content. A views size
2136             will include it's padding.  If a {@link android.R.attr#background}
2137             is provided, the padding will initially be set to that (0 if the
2138             drawable does not have padding).  Explicitly setting a padding value
2139             will override the corresponding padding found in the background. -->
2140        <attr name="padding" format="dimension" />
2141        <!-- Sets the padding, in pixels, of the left edge; see {@link android.R.attr#padding}. -->
2142        <attr name="paddingLeft" format="dimension" />
2143        <!-- Sets the padding, in pixels, of the top edge; see {@link android.R.attr#padding}. -->
2144        <attr name="paddingTop" format="dimension" />
2145        <!-- Sets the padding, in pixels, of the right edge; see {@link android.R.attr#padding}. -->
2146        <attr name="paddingRight" format="dimension" />
2147        <!-- Sets the padding, in pixels, of the bottom edge; see {@link android.R.attr#padding}. -->
2148        <attr name="paddingBottom" format="dimension" />
2149        <!-- Sets the padding, in pixels, of the start edge; see {@link android.R.attr#padding}. -->
2150        <attr name="paddingStart" format="dimension" />
2151        <!-- Sets the padding, in pixels, of the end edge; see {@link android.R.attr#padding}. -->
2152        <attr name="paddingEnd" format="dimension" />
2153
2154        <!-- Boolean that controls whether a view can take focus.  By default the user can not
2155             move focus to a view; by setting this attribute to true the view is
2156             allowed to take focus.  This value does not impact the behavior of
2157             directly calling {@link android.view.View#requestFocus}, which will
2158             always request focus regardless of this view.  It only impacts where
2159             focus navigation will try to move focus. -->
2160        <attr name="focusable" format="boolean" />
2161
2162        <!-- Boolean that controls whether a view can take focus while in touch mode.
2163             If this is true for a view, that view can gain focus when clicked on, and can keep
2164             focus if another view is clicked on that doesn't have this attribute set to true. -->
2165        <attr name="focusableInTouchMode" format="boolean" />
2166
2167        <!-- Controls the initial visibility of the view.  -->
2168        <attr name="visibility">
2169            <!-- Visible on screen; the default value. -->
2170            <enum name="visible" value="0" />
2171            <!-- Not displayed, but taken into account during layout (space is left for it). -->
2172            <enum name="invisible" value="1" />
2173            <!-- Completely hidden, as if the view had not been added. -->
2174            <enum name="gone" value="2" />
2175        </attr>
2176
2177        <!-- Boolean internal attribute to adjust view layout based on
2178             system windows such as the status bar.
2179             If true, adjusts the padding of this view to leave space for the system windows.
2180             Will only take effect if this view is in a non-embedded activity. -->
2181        <attr name="fitsSystemWindows" format="boolean" />
2182
2183        <!-- Defines which scrollbars should be displayed on scrolling or not. -->
2184        <attr name="scrollbars">
2185            <!-- No scrollbar is displayed. -->
2186            <flag name="none" value="0x00000000" />
2187            <!-- Displays horizontal scrollbar only. -->
2188            <flag name="horizontal" value="0x00000100" />
2189            <!-- Displays vertical scrollbar only. -->
2190            <flag name="vertical" value="0x00000200" />
2191        </attr>
2192
2193        <!-- Controls the scrollbar style and position. The scrollbars can be overlaid or
2194             inset. When inset, they add to the padding of the view. And the
2195             scrollbars can be drawn inside the padding area or on the edge of
2196             the view. For example, if a view has a background drawable and you
2197             want to draw the scrollbars inside the padding specified by the
2198             drawable, you can use insideOverlay or insideInset. If you want them
2199             to appear at the edge of the view, ignoring the padding, then you can
2200             use outsideOverlay or outsideInset.-->
2201        <attr name="scrollbarStyle">
2202            <!-- Inside the padding and overlaid -->
2203            <enum name="insideOverlay" value="0x0" />
2204            <!-- Inside the padding and inset -->
2205            <enum name="insideInset" value="0x01000000" />
2206            <!-- Edge of the view and overlaid -->
2207            <enum name="outsideOverlay" value="0x02000000" />
2208            <!-- Edge of the view and inset -->
2209            <enum name="outsideInset" value="0x03000000" />
2210        </attr>
2211
2212        <!-- Set this if the view will serve as a scrolling container, meaning
2213             that it can be resized to shrink its overall window so that there
2214             will be space for an input method.  If not set, the default
2215             value will be true if "scrollbars" has the vertical scrollbar
2216             set, else it will be false. -->
2217        <attr name="isScrollContainer" format="boolean" />
2218
2219          <!-- Defines whether to fade out scrollbars when they are not in use. -->
2220         <attr name="fadeScrollbars" format="boolean" />
2221         <!-- Defines the delay in milliseconds that a scrollbar takes to fade out. -->
2222         <attr name="scrollbarFadeDuration" format="integer" />
2223         <!-- Defines the delay in milliseconds that a scrollbar waits before fade out. -->
2224        <attr name="scrollbarDefaultDelayBeforeFade" format="integer" />
2225        <!-- Sets the width of vertical scrollbars and height of horizontal scrollbars. -->
2226        <attr name="scrollbarSize" format="dimension" />
2227        <!-- Defines the horizontal scrollbar thumb drawable. -->
2228        <attr name="scrollbarThumbHorizontal" format="reference" />
2229        <!-- Defines the vertical scrollbar thumb drawable. -->
2230        <attr name="scrollbarThumbVertical" format="reference" />
2231        <!-- Defines the horizontal scrollbar track drawable. -->
2232        <attr name="scrollbarTrackHorizontal" format="reference" />
2233        <!-- Defines the vertical scrollbar track drawable. -->
2234        <attr name="scrollbarTrackVertical" format="reference" />
2235        <!-- Defines whether the horizontal scrollbar track should always be drawn. -->
2236        <attr name="scrollbarAlwaysDrawHorizontalTrack" format="boolean" />
2237        <!-- Defines whether the vertical scrollbar track should always be drawn. -->
2238        <attr name="scrollbarAlwaysDrawVerticalTrack" format="boolean" />
2239
2240        <!-- This attribute is deprecated and will be ignored as of
2241             API level 14 ({@link android.os.Build.VERSION_CODES#ICE_CREAM_SANDWICH}).
2242             Using fading edges may introduce noticeable performance
2243             degradations and should be used only when required by the application's
2244             visual design. To request fading edges with API level 14 and above,
2245             use the <code>android:requiresFadingEdge</code> attribute instead. -->
2246        <attr name="fadingEdge">
2247            <!-- No edge is faded. -->
2248            <flag name="none" value="0x00000000" />
2249            <!-- Fades horizontal edges only. -->
2250            <flag name="horizontal" value="0x00001000" />
2251            <!-- Fades vertical edges only. -->
2252            <flag name="vertical" value="0x00002000" />
2253        </attr>
2254        <!-- Defines which edges should be faded on scrolling. -->
2255        <attr name="requiresFadingEdge">
2256            <!-- No edge is faded. -->
2257            <flag name="none" value="0x00000000" />
2258            <!-- Fades horizontal edges only. -->
2259            <flag name="horizontal" value="0x00001000" />
2260            <!-- Fades vertical edges only. -->
2261            <flag name="vertical" value="0x00002000" />
2262        </attr>
2263        <!-- Defines the length of the fading edges. -->
2264        <attr name="fadingEdgeLength" format="dimension" />
2265
2266        <!-- Defines the next view to give focus to when the next focus is
2267             {@link android.view.View#FOCUS_LEFT}.
2268
2269             If the reference refers to a view that does not exist or is part
2270             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2271             will result when the reference is accessed.-->
2272        <attr name="nextFocusLeft" format="reference"/>
2273
2274        <!-- Defines the next view to give focus to when the next focus is
2275             {@link android.view.View#FOCUS_RIGHT}
2276
2277             If the reference refers to a view that does not exist or is part
2278             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2279             will result when the reference is accessed.-->
2280        <attr name="nextFocusRight" format="reference"/>
2281
2282        <!-- Defines the next view to give focus to when the next focus is
2283             {@link android.view.View#FOCUS_UP}
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="nextFocusUp" format="reference"/>
2289
2290        <!-- Defines the next view to give focus to when the next focus is
2291             {@link android.view.View#FOCUS_DOWN}
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="nextFocusDown" format="reference"/>
2297
2298        <!-- Defines the next view to give focus to when the next focus is
2299             {@link android.view.View#FOCUS_FORWARD}
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="nextFocusForward" format="reference"/>
2305
2306        <!-- Defines whether this view reacts to click events. -->
2307        <attr name="clickable" format="boolean" />
2308
2309        <!-- Defines whether this view reacts to long click events. -->
2310        <attr name="longClickable" format="boolean" />
2311
2312        <!-- If unset, no state will be saved for this view when it is being
2313             frozen. The default is true, allowing the view to be saved
2314             (however it also must have an ID assigned to it for its
2315             state to be saved).  Setting this to false only disables the
2316             state for this view, not for its children which may still
2317             be saved. -->
2318        <attr name="saveEnabled" format="boolean" />
2319
2320        <!-- Specifies whether to filter touches when the view's window is obscured by
2321             another visible window.  When set to true, the view will not receive touches
2322             whenever a toast, dialog or other window appears above the view's window.
2323             Refer to the {@link android.view.View} security documentation for more details. -->
2324        <attr name="filterTouchesWhenObscured" format="boolean" />
2325
2326        <!-- Defines the quality of translucent drawing caches. This property is used
2327             only when the drawing cache is enabled and translucent. The default value is auto. -->
2328        <attr name="drawingCacheQuality">
2329            <!-- Lets the framework decide what quality level should be used
2330                 for the drawing cache. -->
2331            <enum name="auto" value="0" />
2332            <!-- Low quality. When set to low quality, the drawing cache uses a lower color
2333                 depth, thus losing precision in rendering gradients, but uses less memory. -->
2334            <enum name="low" value="1" />
2335            <!-- High quality. When set to high quality, the drawing cache uses a higher
2336                 color depth but uses more memory. -->
2337            <enum name="high" value="2" />
2338        </attr>
2339
2340        <!-- Controls whether the view's window should keep the screen on
2341             while visible. -->
2342        <attr name="keepScreenOn" format="boolean" />
2343
2344        <!-- When this attribute is set to true, the view gets its drawable state
2345             (focused, pressed, etc.) from its direct parent rather than from itself. -->
2346        <attr name="duplicateParentState" format="boolean" />
2347
2348        <!-- Defines the minimum height of the view. It is not guaranteed
2349             the view will be able to achieve this minimum height (for example,
2350             if its parent layout constrains it with less available height). -->
2351        <attr name="minHeight" />
2352
2353        <!-- Defines the minimum width of the view. It is not guaranteed
2354             the view will be able to achieve this minimum width (for example,
2355             if its parent layout constrains it with less available width). -->
2356        <attr name="minWidth" />
2357
2358        <!-- Boolean that controls whether a view should have sound effects
2359             enabled for events such as clicking and touching. -->
2360        <attr name="soundEffectsEnabled" format="boolean" />
2361
2362        <!-- Boolean that controls whether a view should have haptic feedback
2363             enabled for events such as long presses. -->
2364        <attr name="hapticFeedbackEnabled" format="boolean" />
2365
2366        <!-- Defines text that briefly describes content of the view. This property is used
2367             primarily for accessibility. Since some views do not have textual
2368             representation this attribute can be used for providing such. -->
2369        <attr name="contentDescription" format="string" localization="suggested" />
2370
2371        <!-- Sets the id of a view before which this one is visited in accessibility traversal.
2372             A screen-reader must visit the content of this view before the content of the one
2373             it precedes.
2374             @see android.view.View#setAccessibilityTraversalBefore(int)} -->
2375        <attr name="accessibilityTraversalBefore" format="integer" />
2376
2377        <!-- Sets the id of a view after which this one is visited in accessibility traversal.
2378             A screen-reader must visit the content of the other view before the content of
2379             this one.
2380             @see android.view.View#setAccessibilityTraversalAfter(int)} -->
2381        <attr name="accessibilityTraversalAfter" format="integer" />
2382
2383        <!-- Name of the method in this View's context to invoke when the view is
2384             clicked. This name must correspond to a public method that takes
2385             exactly one parameter of type View. For instance, if you specify
2386             <code>android:onClick="sayHello"</code>, you must declare a
2387             <code>public void sayHello(View v)</code> method of your context
2388             (typically, your Activity). -->
2389        <attr name="onClick" format="string" />
2390
2391        <!-- Defines over-scrolling behavior. This property is used only if the
2392             View is scrollable. Over-scrolling is the ability for the user to
2393             receive feedback when attempting to scroll beyond meaningful content. -->
2394        <attr name="overScrollMode">
2395            <!-- Always show over-scroll effects, even if the content fits entirely
2396                 within the available space. -->
2397            <enum name="always" value="0" />
2398            <!-- Only show over-scroll effects if the content is large
2399                 enough to meaningfully scroll. -->
2400            <enum name="ifContentScrolls" value="1" />
2401            <!-- Never show over-scroll effects. -->
2402            <enum name="never" value="2" />
2403        </attr>
2404
2405        <!-- alpha property of the view, as a value between 0 (completely transparent) and 1
2406             (completely opaque). -->
2407        <attr name="alpha" format="float" />
2408
2409        <!-- base z depth of the view -->
2410        <attr name="elevation" format="dimension" />
2411
2412        <!-- translation in x of the view. This value is added post-layout to the left
2413             property of the view, which is set by its layout. -->
2414        <attr name="translationX" format="dimension" />
2415
2416        <!-- translation in y of the view. This value is added post-layout to the top
2417             property of the view, which is set by its layout. -->
2418        <attr name="translationY" format="dimension" />
2419
2420        <!-- translation in z of the view. This value is added to its elevation. -->
2421        <attr name="translationZ" format="dimension" />
2422
2423        <!-- x location of the pivot point around which the view will rotate and scale.
2424             This xml attribute sets the pivotX property of the View. -->
2425        <attr name="transformPivotX" format="dimension" />
2426
2427        <!-- y location of the pivot point around which the view will rotate and scale.
2428             This xml attribute sets the pivotY property of the View. -->
2429        <attr name="transformPivotY" format="dimension" />
2430
2431        <!-- rotation of the view, in degrees. -->
2432        <attr name="rotation" format="float" />
2433
2434        <!-- rotation of the view around the x axis, in degrees. -->
2435        <attr name="rotationX" format="float" />
2436
2437        <!-- rotation of the view around the y axis, in degrees. -->
2438        <attr name="rotationY" format="float" />
2439
2440        <!-- scale of the view in the x direction. -->
2441        <attr name="scaleX" format="float" />
2442
2443        <!-- scale of the view in the y direction. -->
2444        <attr name="scaleY" format="float" />
2445
2446        <!-- Determines which side the vertical scroll bar should be placed on. -->
2447        <attr name="verticalScrollbarPosition">
2448            <!-- Place the scroll bar wherever the system default determines. -->
2449            <enum name="defaultPosition" value="0" />
2450            <!-- Place the scroll bar on the left. -->
2451            <enum name="left" value="1" />
2452            <!-- Place the scroll bar on the right. -->
2453            <enum name="right" value="2" />
2454        </attr>
2455
2456        <!-- Specifies the type of layer backing this view. The default value is none.
2457             Refer to {@link android.view.View#setLayerType(int, android.graphics.Paint)}
2458             for more information.-->
2459        <attr name="layerType">
2460            <!-- Don't use a layer. -->
2461            <enum name="none" value="0" />
2462            <!-- Use a software layer. Refer to
2463                 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for
2464                 more information. -->
2465            <enum name="software" value="1" />
2466            <!-- Use a hardware layer. Refer to
2467                 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for
2468                 more information. -->
2469            <enum name="hardware" value="2" />
2470        </attr>
2471
2472        <!-- Defines the direction of layout drawing. This typically is associated with writing
2473             direction of the language script used. The possible values are "ltr" for Left-to-Right,
2474             "rtl" for Right-to-Left, "locale" and "inherit" from parent view. If there is nothing
2475             to inherit, "locale" is used. "locale" falls back to "en-US". "ltr" is the direction
2476             used in "en-US". The default for this attribute is "inherit". -->
2477        <attr name="layoutDirection">
2478            <!-- Left-to-Right -->
2479            <enum name="ltr" value="0" />
2480            <!-- Right-to-Left -->
2481            <enum name="rtl" value="1" />
2482            <!-- Inherit from parent -->
2483            <enum name="inherit" value="2" />
2484            <!-- Locale -->
2485            <enum name="locale" value="3" />
2486        </attr>
2487
2488        <!-- Defines the direction of the text. A heuristic is used to determine the resolved text
2489              direction of paragraphs. -->
2490         <attr name="textDirection" format="integer">
2491            <!-- Default -->
2492            <enum name="inherit" value="0" />
2493            <!-- Default for the root view. The first strong directional character determines the
2494                 paragraph direction.  If there is no strong directional character, the paragraph
2495                 direction is the view’s resolved layout direction. -->
2496            <enum name="firstStrong" value="1" />
2497            <!-- The paragraph direction is RTL if it contains any strong RTL character, otherwise
2498                 it is LTR if it contains any strong LTR characters.  If there are neither, the
2499                 paragraph direction is the view’s resolved layout direction. -->
2500            <enum name="anyRtl" value="2" />
2501            <!-- The paragraph direction is left to right. -->
2502            <enum name="ltr" value="3" />
2503            <!-- The paragraph direction is right to left. -->
2504            <enum name="rtl" value="4" />
2505            <!-- The paragraph direction is coming from the system Locale. -->
2506            <enum name="locale" value="5" />
2507        </attr>
2508
2509        <!-- Defines the alignment of the text. A heuristic is used to determine the resolved
2510            text alignment. -->
2511        <attr name="textAlignment" format="integer">
2512            <!-- Default -->
2513            <enum name="inherit" value="0" />
2514            <!-- Default for the root view. The gravity determines the alignment, ALIGN_NORMAL,
2515                ALIGN_CENTER, or ALIGN_OPPOSITE, which are relative to each paragraph’s
2516                text direction -->
2517            <enum name="gravity" value="1" />
2518            <!-- Align to the start of the paragraph, e.g. ALIGN_NORMAL. -->
2519            <enum name="textStart" value="2" />
2520            <!-- Align to the end of the paragraph, e.g. ALIGN_OPPOSITE. -->
2521            <enum name="textEnd" value="3" />
2522            <!-- Center the paragraph, e.g. ALIGN_CENTER. -->
2523            <enum name="center" value="4" />
2524            <!-- Align to the start of the view, which is ALIGN_LEFT if the view’s resolved
2525                layoutDirection is LTR, and ALIGN_RIGHT otherwise. -->
2526            <enum name="viewStart" value="5" />
2527            <!-- Align to the end of the view, which is ALIGN_RIGHT if the view’s resolved
2528                layoutDirection is LTR, and ALIGN_LEFT otherwise -->
2529            <enum name="viewEnd" value="6" />
2530        </attr>
2531
2532        <!-- Controls how this View is important for accessibility which is if it fires
2533             accessibility events and if it is reported to accessibility services that
2534             query the screen. Note: While not recommended, an accessibility service may
2535             decide to ignore this attribute and operate on all views in the view tree. -->
2536        <attr name="importantForAccessibility" format="integer">
2537            <!-- The system determines whether the view is important for accessibility - default
2538                 (recommended). -->
2539            <enum name="auto" value="0" />
2540            <!-- The view is important for accessibility. -->
2541            <enum name="yes" value="1" />
2542            <!-- The view is not important for accessibility. -->
2543            <enum name="no" value="2" />
2544            <!-- The view is not important for accessibility, nor are any of its descendant
2545                 views. -->
2546            <enum name="noHideDescendants" value="4" />
2547        </attr>
2548
2549        <!-- Indicates to accessibility services whether the user should be notified when
2550             this view changes. -->
2551        <attr name="accessibilityLiveRegion" format="integer">
2552            <!-- Accessibility services should not announce changes to this view. -->
2553            <enum name="none" value="0" />
2554            <!-- Accessibility services should announce changes to this view. -->
2555            <enum name="polite" value="1" />
2556            <!-- Accessibility services should interrupt ongoing speech to immediately
2557                 announce changes to this view. -->
2558            <enum name="assertive" value="2" />
2559        </attr>
2560
2561        <!-- Specifies the id of a view for which this view serves as a label for
2562             accessibility purposes. For example, a TextView before an EditText in
2563             the UI usually specifies what infomation is contained in the EditText.
2564             Hence, the TextView is a label for the EditText. -->
2565        <attr name="labelFor" format="reference" />
2566
2567        <!-- Specifies a theme override for a view. When a theme override is set, the
2568             view will be inflated using a {@link android.content.Context} themed with
2569             the specified resource. During XML inflation, any child views under the
2570             view with a theme override will inherit the themed context. -->
2571        <attr name="theme" />
2572
2573        <!-- Names a View such that it can be identified for Transitions. Names should be
2574             unique in the View hierarchy. -->
2575        <attr name="transitionName" format="string" />
2576
2577        <!-- Specifies that this view should permit nested scrolling within a compatible
2578             ancestor view. -->
2579        <attr name="nestedScrollingEnabled" format="boolean" />
2580
2581        <!-- Sets the state-based animator for the View. -->
2582        <attr name="stateListAnimator" format="reference"/>
2583
2584        <!-- Tint to apply to the background. -->
2585        <attr name="backgroundTint" format="color" />
2586
2587        <!-- Blending mode used to apply the background tint. -->
2588        <attr name="backgroundTintMode">
2589            <!-- The tint is drawn on top of the drawable.
2590                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
2591            <enum name="src_over" value="3" />
2592            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
2593                 color channels are thrown out. [Sa * Da, Sc * Da] -->
2594            <enum name="src_in" value="5" />
2595            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
2596                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
2597            <enum name="src_atop" value="9" />
2598            <!-- Multiplies the color and alpha channels of the drawable with those of
2599                 the tint. [Sa * Da, Sc * Dc] -->
2600            <enum name="multiply" value="14" />
2601            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
2602            <enum name="screen" value="15" />
2603            <!-- Combines the tint and drawable color and alpha channels, clamping the
2604                 result to valid color values. Saturate(S + D) -->
2605            <enum name="add" value="16" />
2606        </attr>
2607
2608        <!-- ViewOutlineProvider used to determine the View's Outline. -->
2609        <attr name="outlineProvider">
2610            <!-- Default, background drawable-driven outline. -->
2611            <enum name="background" value="0" />
2612            <!-- No outline provider. -->
2613            <enum name="none" value="1" />
2614            <!-- Generates an opaque outline for the bounds of the view. -->
2615            <enum name="bounds" value="2" />
2616            <!-- Generates an opaque outline for the padded bounds of the view. -->
2617            <enum name="paddedBounds" value="3" />
2618        </attr>
2619
2620    </declare-styleable>
2621
2622    <!-- Attributes that can be assigned to a tag for a particular View. -->
2623    <declare-styleable name="ViewTag">
2624        <!-- Specifies the key identifying a tag. This must be a resource reference. -->
2625        <attr name="id" />
2626        <!-- Specifies the value with which to tag the view. -->
2627        <attr name="value" />
2628    </declare-styleable>
2629
2630    <!-- Attributes that can be assigned to an &lt;include&gt; tag. -->
2631    <declare-styleable name="Include">
2632        <attr name="id" />
2633        <attr name="visibility" />
2634    </declare-styleable>
2635
2636    <!-- Attributes that can be used with a {@link android.view.ViewGroup} or any
2637         of its subclasses.  Also see {@link #ViewGroup_Layout} for
2638         attributes that this class processes in its children. -->
2639    <declare-styleable name="ViewGroup">
2640        <!-- Defines whether changes in layout (caused by adding and removing items) should
2641             cause a LayoutTransition to run. When this flag is set to true, a default
2642             LayoutTransition object will be set on the ViewGroup container and default
2643             animations will run when these layout changes occur.-->
2644        <attr name="animateLayoutChanges" format="boolean" />
2645        <!-- Defines whether a child is limited to draw inside of its bounds or not.
2646             This is useful with animations that scale the size of the children to more
2647             than 100% for instance. In such a case, this property should be set to false
2648             to allow the children to draw outside of their bounds. The default value of
2649             this property is true. -->
2650        <attr name="clipChildren" format="boolean" />
2651        <!-- Defines whether the ViewGroup will clip its children to its padding, if
2652             padding is not zero. This property is set to true by default. -->
2653        <attr name="clipToPadding" format="boolean" />
2654        <!-- Defines the layout animation to use the first time the ViewGroup is laid out.
2655             Layout animations can also be started manually after the first layout. -->
2656        <attr name="layoutAnimation" format="reference" />
2657        <!-- Defines whether layout animations should create a drawing cache for their
2658             children. Enabling the animation cache consumes more memory and requires
2659             a longer initialization but provides better performance. The animation
2660             cache is enabled by default. -->
2661        <attr name="animationCache" format="boolean" />
2662        <!-- Defines the persistence of the drawing cache. The drawing cache might be
2663             enabled by a ViewGroup for all its children in specific situations (for
2664             instance during a scrolling.) This property lets you persist the cache
2665             in memory after its initial usage. Persisting the cache consumes more
2666             memory but may prevent frequent garbage collection is the cache is created
2667             over and over again. By default the persistence is set to scrolling. -->
2668        <attr name="persistentDrawingCache">
2669            <!-- The drawing cache is not persisted after use. -->
2670            <flag name="none" value="0x0" />
2671            <!-- The drawing cache is persisted after a layout animation. -->
2672            <flag name="animation" value="0x1" />
2673            <!-- The drawing cache is persisted after a scroll. -->
2674            <flag name="scrolling" value="0x2" />
2675            <!-- The drawing cache is always persisted. -->
2676            <flag name="all" value="0x3" />
2677        </attr>
2678        <!-- Defines whether the ViewGroup should always draw its children using their
2679             drawing cache or not. The default value is true. -->
2680        <attr name="alwaysDrawnWithCache" format="boolean" />
2681        <!-- Sets whether this ViewGroup's drawable states also include
2682             its children's drawable states.  This is used, for example, to
2683             make a group appear to be focused when its child EditText or button
2684             is focused. -->
2685        <attr name="addStatesFromChildren" format="boolean" />
2686
2687        <!-- Defines the relationship between the ViewGroup and its descendants
2688             when looking for a View to take focus. -->
2689        <attr name="descendantFocusability">
2690            <!-- The ViewGroup will get focus before any of its descendants. -->
2691            <enum name="beforeDescendants" value="0" />
2692            <!-- The ViewGroup will get focus only if none of its descendants want it. -->
2693            <enum name="afterDescendants" value="1" />
2694            <!-- The ViewGroup will block its descendants from receiving focus. -->
2695            <enum name="blocksDescendants" value="2" />
2696        </attr>
2697
2698        <!-- Set to true if this ViewGroup blocks focus in the presence of a touchscreen. -->
2699        <attr name="touchscreenBlocksFocus" format="boolean" />
2700
2701        <!-- Sets whether this ViewGroup should split MotionEvents
2702             to separate child views during touch event dispatch.
2703             If false (default), touch events will be dispatched to
2704             the child view where the first pointer went down until
2705             the last pointer goes up.
2706             If true, touch events may be dispatched to multiple children.
2707             MotionEvents for each pointer will be dispatched to the child
2708             view where the initial ACTION_DOWN event happened.
2709             See {@link android.view.ViewGroup#setMotionEventSplittingEnabled(boolean)}
2710             for more information. -->
2711        <attr name="splitMotionEvents" format="boolean" />
2712
2713        <!-- Defines the layout mode of this ViewGroup. -->
2714        <attr name="layoutMode">
2715            <!-- Use the children's clip bounds when laying out this container. -->
2716            <enum name="clipBounds" value="0" />
2717            <!-- Use the children's optical bounds when laying out this container. -->
2718            <enum name="opticalBounds" value="1" />
2719        </attr>
2720
2721        <!-- Sets whether or not this ViewGroup should be treated as a single entity
2722             when doing an Activity transition. Typically, the elements inside a
2723             ViewGroup are each transitioned from the scene individually. The default
2724             for a ViewGroup is false unless it has a background. See
2725             {@link android.app.ActivityOptions#makeSceneTransitionAnimation(android.app.Activity,
2726             android.view.View, String)} for more information. Corresponds to
2727             {@link android.view.ViewGroup#setTransitionGroup(boolean)}.-->
2728        <attr name="transitionGroup" format="boolean" />
2729    </declare-styleable>
2730
2731    <!-- A {@link android.view.ViewStub} lets you lazily include other XML layouts
2732         inside your application at runtime. -->
2733    <declare-styleable name="ViewStub">
2734        <!-- Supply an identifier name for this view. -->
2735        <attr name="id" />
2736        <!-- Supply an identifier for the layout resource to inflate when the ViewStub
2737             becomes visible or when forced to do so. The layout resource must be a
2738             valid reference to a layout. -->
2739        <attr name="layout" format="reference" />
2740        <!-- Overrides the id of the inflated View with this value. -->
2741        <attr name="inflatedId" format="reference" />
2742    </declare-styleable>
2743
2744    <!-- ===================================== -->
2745    <!-- View package parent layout attributes -->
2746    <!-- ===================================== -->
2747    <eat-comment />
2748
2749    <!-- This is the basic set of layout attributes that are common to all
2750         layout managers.  These attributes are specified with the rest of
2751         a view's normal attributes (such as {@link android.R.attr#background},
2752         but will be parsed by the view's parent and ignored by the child.
2753        <p>The values defined here correspond to the base layout attribute
2754        class {@link android.view.ViewGroup.LayoutParams}. -->
2755    <declare-styleable name="ViewGroup_Layout">
2756        <!-- Specifies the basic width of the view.  This is a required attribute
2757             for any view inside of a containing layout manager.  Its value may
2758             be a dimension (such as "12dip") for a constant width or one of
2759             the special constants. -->
2760        <attr name="layout_width" format="dimension">
2761            <!-- The view should be as big as its parent (minus padding).
2762                 This constant is deprecated starting from API Level 8 and
2763                 is replaced by {@code match_parent}. -->
2764            <enum name="fill_parent" value="-1" />
2765            <!-- The view should be as big as its parent (minus padding).
2766                 Introduced in API Level 8. -->
2767            <enum name="match_parent" value="-1" />
2768            <!-- The view should be only big enough to enclose its content (plus padding). -->
2769            <enum name="wrap_content" value="-2" />
2770        </attr>
2771
2772        <!-- Specifies the basic height of the view.  This is a required attribute
2773             for any view inside of a containing layout manager.  Its value may
2774             be a dimension (such as "12dip") for a constant height or one of
2775             the special constants. -->
2776        <attr name="layout_height" format="dimension">
2777            <!-- The view should be as big as its parent (minus padding).
2778                 This constant is deprecated starting from API Level 8 and
2779                 is replaced by {@code match_parent}. -->
2780            <enum name="fill_parent" value="-1" />
2781            <!-- The view should be as big as its parent (minus padding).
2782                 Introduced in API Level 8. -->
2783            <enum name="match_parent" value="-1" />
2784            <!-- The view should be only big enough to enclose its content (plus padding). -->
2785            <enum name="wrap_content" value="-2" />
2786        </attr>
2787    </declare-styleable>
2788
2789    <!-- This is the basic set of layout attributes for layout managers that
2790         wish to place margins around their child views.
2791         These attributes are specified with the rest of
2792         a view's normal attributes (such as {@link android.R.attr#background},
2793         but will be parsed by the view's parent and ignored by the child.
2794        <p>The values defined here correspond to the base layout attribute
2795        class {@link android.view.ViewGroup.MarginLayoutParams}. -->
2796    <declare-styleable name="ViewGroup_MarginLayout">
2797        <attr name="layout_width" />
2798        <attr name="layout_height" />
2799        <!--  Specifies extra space on the left, top, right and bottom
2800              sides of this view. This space is outside this view's bounds.
2801              Margin values should be positive. -->
2802        <attr name="layout_margin" format="dimension"  />
2803        <!--  Specifies extra space on the left side of this view.
2804              This space is outside this view's bounds.
2805              Margin values should be positive. -->
2806        <attr name="layout_marginLeft" format="dimension"  />
2807        <!--  Specifies extra space on the top side of this view.
2808              This space is outside this view's bounds.
2809              Margin values should be positive.-->
2810        <attr name="layout_marginTop" format="dimension" />
2811        <!--  Specifies extra space on the right side of this view.
2812              This space is outside this view's bounds.
2813              Margin values should be positive.-->
2814        <attr name="layout_marginRight" format="dimension"  />
2815        <!--  Specifies extra space on the bottom side of this view.
2816              This space is outside this view's bounds.
2817              Margin values should be positive.-->
2818        <attr name="layout_marginBottom" format="dimension"  />
2819        <!--  Specifies extra space on the start side of this view.
2820              This space is outside this view's bounds.
2821              Margin values should be positive.-->
2822        <attr name="layout_marginStart" format="dimension"  />
2823        <!--  Specifies extra space on the end side of this view.
2824              This space is outside this view's bounds.
2825              Margin values should be positive.-->
2826        <attr name="layout_marginEnd" format="dimension"  />
2827    </declare-styleable>
2828
2829    <!-- Use <code>input-method</code> as the root tag of the XML resource that
2830         describes an
2831         {@link android.view.inputmethod.InputMethod} service, which is
2832         referenced from its
2833         {@link android.view.inputmethod.InputMethod#SERVICE_META_DATA}
2834         meta-data entry.  Described here are the attributes that can be
2835         included in that tag. -->
2836    <declare-styleable name="InputMethod">
2837        <!-- Component name of an activity that allows the user to modify
2838             the settings for this service. -->
2839        <attr name="settingsActivity" format="string" />
2840        <!-- Set to true in all of the configurations for which this input
2841             method should be considered an option as the default. -->
2842        <attr name="isDefault" format="boolean" />
2843        <!-- Set to true if this input method supports ways to switch to
2844             a next input method (e.g. a globe key.). When this is true and
2845             InputMethodManager#shouldOfferSwitchingToNextInputMethod() returns true,
2846             the IME has to offer ways to invoke InputMethodManager#switchToNextInputMethod()
2847             accordingly.
2848             <p> Note that the system determines the most appropriate next input method
2849             and subtype in order to provide the consistent user experience in switching
2850             between IMEs and subtypes. -->
2851        <attr name="supportsSwitchingToNextInputMethod" format="boolean" />
2852    </declare-styleable>
2853
2854    <!-- This is the subtype of InputMethod. Subtype can describe locales (e.g. en_US, fr_FR...)
2855         and modes (e.g. voice, keyboard...), and is used for IME switch. This subtype allows
2856         the system to call the specified subtype of the IME directly. -->
2857    <declare-styleable name="InputMethod_Subtype">
2858        <!-- The name of the subtype. -->
2859        <attr name="label" />
2860        <!-- The icon of the subtype. -->
2861        <attr name="icon" />
2862        <!-- The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...)
2863             and will be passed to the IME when the framework calls the IME
2864             with the subtype. This is also used by the framework to know the supported locales
2865             of the IME.  -->
2866        <attr name="imeSubtypeLocale" format="string" />
2867        <!-- The mode of the subtype. This string can be a mode (e.g. voice, keyboard...) and this
2868             string will be passed to the IME when the framework calls the IME with the
2869             subtype.  -->
2870        <attr name="imeSubtypeMode" format="string" />
2871        <!-- Set true if the subtype is auxiliary.  An auxiliary subtype won't be shown in the
2872             input method selection list in the settings app.
2873             InputMethodManager#switchToLastInputMethod will ignore auxiliary subtypes when it
2874             chooses a target subtype. -->
2875        <attr name="isAuxiliary" format="boolean" />
2876        <!-- Set true when this subtype should be selected by default if no other subtypes are
2877             selected explicitly. Note that a subtype with this parameter being true will
2878             not be shown in the subtypes list. -->
2879        <attr name="overridesImplicitlyEnabledSubtype" format="boolean" />
2880        <!-- The extra value of the subtype. This string can be any string and will be passed to
2881             the IME when the framework calls the IME with the subtype.  -->
2882        <attr name="imeSubtypeExtraValue" format="string" />
2883        <!-- The unique id for the subtype. The input method framework keeps track of enabled
2884             subtypes by ID. When the IME package gets upgraded, enabled IDs will stay enabled even
2885             if other attributes are different. If the ID is unspecified (by calling the other
2886             constructor or 0. Arrays.hashCode(new Object[] {locale, mode, extraValue,
2887             isAuxiliary, overridesImplicitlyEnabledSubtype}) will be used instead. -->
2888        <attr name="subtypeId" format="integer"/>
2889        <!-- Set to true if this subtype is ASCII capable. If the subtype is ASCII
2890             capable, it should guarantee that the user can input ASCII characters with
2891             this subtype. This is important because many password fields only allow
2892             ASCII-characters. -->
2893        <attr name="isAsciiCapable" format="boolean" />
2894    </declare-styleable>
2895
2896    <!-- Use <code>spell-checker</code> as the root tag of the XML resource that
2897         describes an
2898         {@link android.service.textservice.SpellCheckerService} service, which is
2899         referenced from its
2900         {@link android.view.textservice.SpellCheckerSession#SERVICE_META_DATA}
2901         meta-data entry.  Described here are the attributes that can be
2902         included in that tag. -->
2903    <declare-styleable name="SpellChecker">
2904        <!-- The name of the spell checker. -->
2905        <attr name="label" />
2906        <!-- Component name of an activity that allows the user to modify
2907             the settings for this service. -->
2908        <attr name="settingsActivity"/>
2909    </declare-styleable>
2910
2911    <!-- This is the subtype of the spell checker. Subtype can describe locales (e.g. en_US, fr_FR...) -->
2912    <declare-styleable name="SpellChecker_Subtype">
2913        <!-- The name of the subtype. -->
2914        <attr name="label" />
2915        <!-- The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...)
2916             This is also used by the framework to know the supported locales
2917             of the spell checker.  -->
2918        <attr name="subtypeLocale" format="string" />
2919        <!-- The extra value of the subtype. This string can be any string and will be passed to
2920             the SpellChecker.  -->
2921        <attr name="subtypeExtraValue" format="string" />
2922    </declare-styleable>
2923
2924    <!-- Use <code>accessibility-service</code> as the root tag of the XML resource that
2925         describes an {@link android.accessibilityservice.AccessibilityService} service,
2926         which is referenced from its
2927         {@link android.accessibilityservice.AccessibilityService#SERVICE_META_DATA}
2928         meta-data entry. -->
2929    <declare-styleable name="AccessibilityService">
2930        <!-- The event types this serivce would like to receive as specified in
2931             {@link android.view.accessibility.AccessibilityEvent}. This setting
2932             can be changed at runtime by calling
2933             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
2934             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
2935        <attr name="accessibilityEventTypes">
2936            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CLICKED} events.-->
2937            <flag name="typeViewClicked" value="0x00000001" />
2938            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_LONG_CLICKED} events. -->
2939            <flag name="typeViewLongClicked" value="0x00000002" />
2940            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SELECTED} events. -->
2941            <flag name="typeViewSelected" value="0x00000004" />
2942            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_FOCUSED} events. -->
2943            <flag name="typeViewFocused" value="0x00000008" />
2944            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_CHANGED} events. -->
2945            <flag name="typeViewTextChanged" value="0x00000010" />
2946            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_STATE_CHANGED} events. -->
2947            <flag name="typeWindowStateChanged" value="0x00000020" />
2948            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_NOTIFICATION_STATE_CHANGED} events. -->
2949            <flag name="typeNotificationStateChanged" value="0x00000040" />
2950            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_ENTER} events. -->
2951            <flag name="typeViewHoverEnter" value="0x00000080" />
2952            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_EXIT} events. -->
2953            <flag name="typeViewHoverExit" value="0x00000100" />
2954            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_START} events. -->
2955            <flag name="typeTouchExplorationGestureStart" value="0x00000200" />
2956            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_END} events. -->
2957            <flag name="typeTouchExplorationGestureEnd" value="0x00000400" />
2958            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_CONTENT_CHANGED} events. -->
2959            <flag name="typeWindowContentChanged" value="0x00000800" />
2960            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SCROLLED} events. -->
2961            <flag name="typeViewScrolled" value="0x000001000" />
2962            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_SELECTION_CHANGED} events. -->
2963            <flag name="typeViewTextSelectionChanged" value="0x000002000" />
2964            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ANNOUNCEMENT} events. -->
2965            <flag name="typeAnnouncement" value="0x00004000" />
2966            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUSED} events. -->
2967            <flag name="typeViewAccessibilityFocused" value="0x00008000" />
2968            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED} events. -->
2969            <flag name="typeViewAccessibilityFocusCleared" value="0x00010000" />
2970            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY} events. -->
2971            <flag name="typeViewTextTraversedAtMovementGranularity" value="0x00020000" />
2972            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_START} events. -->
2973            <flag name="typeGestureDetectionStart" value="0x00040000" />
2974            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_END} events. -->
2975            <flag name="typeGestureDetectionEnd" value="0x00080000" />
2976            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_START} events. -->
2977            <flag name="typeTouchInteractionStart" value="0x00100000" />
2978            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_END} events. -->
2979            <flag name="typeTouchInteractionEnd" value="0x00200000" />
2980            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOWS_CHANGED} events. -->
2981            <flag name="typeWindowsChanged" value="0x00400000" />
2982            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPES_ALL_MASK} i.e. all events. -->
2983            <flag name="typeAllMask" value="0xffffffff" />
2984        </attr>
2985        <!-- Comma separated package names from which this serivce would like to receive events (leave out for all packages).
2986             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
2987             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
2988        <attr name="packageNames" format="string" />
2989        <!-- The feedback types this serivce provides as specified in
2990             {@link android.accessibilityservice.AccessibilityServiceInfo}. This setting
2991             can be changed at runtime by calling
2992             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
2993             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
2994        <attr name="accessibilityFeedbackType">
2995            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_SPOKEN} feedback. -->
2996            <flag name="feedbackSpoken" value="0x00000001" />
2997            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_HAPTIC} feedback. -->
2998            <flag name="feedbackHaptic" value="0x00000002" />
2999            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_AUDIBLE} feedback. -->
3000            <flag name="feedbackAudible" value="0x00000004" />
3001            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_VISUAL} feedback. -->
3002            <flag name="feedbackVisual" value="0x00000008" />
3003            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_GENERIC} feedback. -->
3004            <flag name="feedbackGeneric" value="0x00000010" />
3005            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_ALL_MASK} feedback. -->
3006            <flag name="feedbackAllMask" value="0xffffffff" />
3007        </attr>
3008        <!-- The minimal period in milliseconds between two accessibility events of the same type
3009             are sent to this serivce. This setting can be changed at runtime by calling
3010             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3011             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3012        <attr name="notificationTimeout" format="integer" />
3013        <!-- Additional flags as specified in
3014             {@link android.accessibilityservice.AccessibilityServiceInfo}.
3015             This setting can be changed at runtime by calling
3016             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3017             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3018        <attr name="accessibilityFlags">
3019            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#DEFAULT} -->
3020            <flag name="flagDefault" value="0x00000001" />
3021            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_INCLUDE_NOT_IMPORTANT_VIEWS} -->
3022            <flag name="flagIncludeNotImportantViews" value="0x00000002" />
3023            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} -->
3024            <flag name="flagRequestTouchExplorationMode" value="0x00000004" />
3025            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} -->
3026            <flag name="flagRequestEnhancedWebAccessibility" value="0x00000008" />
3027            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REPORT_VIEW_IDS} -->
3028            <flag name="flagReportViewIds" value="0x00000010" />
3029            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} -->
3030            <flag name="flagRequestFilterKeyEvents" value="0x00000020" />
3031            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_RETRIEVE_INTERACTIVE_WINDOWS} -->
3032            <flag name="flagRetrieveInteractiveWindows" value="0x00000040" />
3033        </attr>
3034        <!-- Component name of an activity that allows the user to modify
3035             the settings for this service. This setting cannot be changed at runtime. -->
3036        <attr name="settingsActivity" />
3037        <!-- Attribute whether the accessibility service wants to be able to retrieve the
3038             active window content. This setting cannot be changed at runtime. -->
3039        <attr name="canRetrieveWindowContent" format="boolean" />
3040        <!-- Attribute whether the accessibility service wants to be able to request touch
3041             exploration mode in which touched items are spoken aloud and the UI can be
3042             explored via gestures.
3043             <p>
3044             Required to allow setting the {@link android.accessibilityservice
3045             #AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} flag.
3046             </p>
3047         -->
3048        <attr name="canRequestTouchExplorationMode" format="boolean" />
3049        <!-- Attribute whether the accessibility service wants to be able to request enhanced
3050             web accessibility enhancements. For example, installing scripts to make app
3051             content more accessible.
3052             <p>
3053             Required to allow setting the {@link android.accessibilityservice
3054             #AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} flag.
3055             </p>
3056         -->
3057        <attr name="canRequestEnhancedWebAccessibility" format="boolean" />
3058        <!-- Attribute whether the accessibility service wants to be able to request to
3059             filter key events.
3060             <p>
3061             Required to allow setting the {@link android.accessibilityservice
3062             #AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} flag.
3063             </p>
3064         -->
3065        <attr name="canRequestFilterKeyEvents" format="boolean" />
3066        <!-- Short description of the accessibility serivce purpose or behavior.-->
3067        <attr name="description" />
3068    </declare-styleable>
3069
3070    <!-- Use <code>print-service</code> as the root tag of the XML resource that
3071         describes an {@link android.printservice.PrintService} service, which is
3072         referenced from its {@link android.printservice.PrintService#SERVICE_META_DATA}
3073         meta-data entry. -->
3074    <declare-styleable name="PrintService">
3075        <!-- Fully qualified class name of an activity that allows the user to modify
3076             the settings for this service. -->
3077        <attr name="settingsActivity" />
3078        <!-- Fully qualified class name of an activity that allows the user to manually
3079             add printers to this print service. -->
3080        <attr name="addPrintersActivity" format="string"/>
3081        <!-- Fully qualified class name of an activity with advanced print options
3082             specific to this print service. -->
3083        <attr name="advancedPrintOptionsActivity" format="string"/>
3084        <!-- The vendor name if this print service is vendor specific. -->
3085        <attr name="vendor" format="string"/>
3086    </declare-styleable>
3087
3088    <!-- Use <code>host-apdu-service</code> as the root tag of the XML resource that
3089         describes an {@link android.nfc.cardemulation.HostApduService} service, which
3090         is referenced from its {@link android.nfc.cardemulation.HostApduService#SERVICE_META_DATA}
3091         entry. -->
3092    <declare-styleable name="HostApduService">
3093        <!-- Short description of the functionality the service implements. This attribute
3094             is mandatory.-->
3095        <attr name="description" />
3096        <!-- Whether the device must be unlocked before routing data to this service.
3097             The default is false.-->
3098        <attr name="requireDeviceUnlock" format="boolean"/>
3099        <!-- A drawable that can be rendered in Android's system UI for representing
3100             the service. -->
3101        <attr name="apduServiceBanner" format="reference"/>
3102    </declare-styleable>
3103
3104    <!-- Use <code>offhost-apdu-service</code> as the root tag of the XML resource that
3105         describes an {@link android.nfc.cardemulation.OffHostApduService}
3106         service, which is referenced from its
3107         {@link android.nfc.cardemulation.OffHostApduService#SERVICE_META_DATA} entry. -->
3108    <declare-styleable name="OffHostApduService">
3109        <!-- Short description of the functionality the service implements. This attribute
3110             is mandatory.-->
3111        <attr name="description" />
3112        <!-- A drawable that can be rendered in Android's system UI for representing
3113             the service. -->
3114        <attr name="apduServiceBanner"/>
3115    </declare-styleable>
3116
3117    <!-- Specify one or more <code>aid-group</code> elements inside a
3118         <code>host-apdu-service</code> or <code>offhost-apdu-service</code>
3119         element to define a group of ISO7816 Application ID (AIDs) that
3120         your service can handle.-->
3121    <declare-styleable name="AidGroup">
3122        <!-- Short description of what the AID group implements. This attribute is mandatory.-->
3123        <attr name="description" />
3124        <!-- The category attribute will be used by the Android platform to present
3125             multiple applications that register ISO 7816 Application IDs (AIDs) in the
3126             same category uniformly.
3127             Additionally, when a category is specified, Android will ensure that either
3128             all AIDs in this group are routed to this application, or none at all.
3129             This attribute is optional.-->
3130        <attr name="category" format="string" />
3131    </declare-styleable>
3132
3133    <!-- Specify one or more <code>aid-filter</code> elements inside a
3134         <code>aid-group</code> element to specify an ISO7816 Application ID (AID)
3135         your service can handle. -->
3136    <declare-styleable name="AidFilter">
3137        <!-- The ISO7816 Application ID. This attribute is mandatory. -->
3138        <attr name="name" />
3139    </declare-styleable>
3140
3141    <!-- Specify one or more <code>aid-prefix-filter</code> elements inside a
3142         <code>aid-group</code> element to specify an ISO7816 Application ID (AID)
3143         prefix your service can handle. -->
3144    <declare-styleable name="AidPrefixFilter">
3145        <!-- The ISO7816 Application ID. This attribute is mandatory. -->
3146        <attr name="name" />
3147    </declare-styleable>
3148
3149    <declare-styleable name="ActionMenuItemView">
3150        <attr name="minWidth" />
3151    </declare-styleable>
3152
3153    <!-- =============================== -->
3154    <!-- Widget package class attributes -->
3155    <!-- =============================== -->
3156    <eat-comment />
3157
3158    <declare-styleable name="AbsListView">
3159         <!-- Drawable used to indicate the currently selected item in the list. -->
3160        <attr name="listSelector" format="color|reference" />
3161        <!-- When set to true, the selector will be drawn over the selected item.
3162             Otherwise the selector is drawn behind the selected item. The default
3163             value is false. -->
3164        <attr name="drawSelectorOnTop" format="boolean" />
3165        <!-- Used by ListView and GridView to stack their content from the bottom. -->
3166        <attr name="stackFromBottom" format="boolean" />
3167        <!-- When set to true, the list uses a drawing cache during scrolling.
3168             This makes the rendering faster but uses more memory. The default
3169             value is true. -->
3170        <attr name="scrollingCache" format="boolean" />
3171        <!-- When set to true, the list will filter results as the user types. The
3172             List's adapter must support the Filterable interface for this to work. -->
3173        <attr name="textFilterEnabled" format="boolean" />
3174        <!-- Sets the transcript mode for the list. In transcript mode, the list
3175             scrolls to the bottom to make new items visible when they are added. -->
3176        <attr name="transcriptMode">
3177            <!-- Disables transcript mode. This is the default value. -->
3178            <enum name="disabled" value="0"/>
3179            <!-- The list will automatically scroll to the bottom when
3180                 a data set change notification is received and only if the last item is
3181                 already visible on screen. -->
3182            <enum name="normal" value="1" />
3183            <!-- The list will automatically scroll to the bottom, no matter what items
3184                 are currently visible. -->
3185            <enum name="alwaysScroll" value="2" />
3186        </attr>
3187        <!-- Indicates that this list will always be drawn on top of solid, single-color
3188             opaque background. This allows the list to optimize drawing. -->
3189        <attr name="cacheColorHint" format="color" />
3190        <!-- Enables the fast scroll thumb that can be dragged to quickly scroll through
3191             the list. -->
3192        <attr name="fastScrollEnabled" format="boolean" />
3193        <!-- Specifies the style of the fast scroll decorations. -->
3194        <attr name="fastScrollStyle" format="reference" />
3195        <!-- When set to true, the list will use a more refined calculation
3196             method based on the pixels height of the items visible on screen. This
3197             property is set to true by default but should be set to false if your adapter
3198             will display items of varying heights. When this property is set to true and
3199             your adapter displays items of varying heights, the scrollbar thumb will
3200             change size as the user scrolls through the list. When set to fale, the list
3201             will use only the number of items in the adapter and the number of items visible
3202             on screen to determine the scrollbar's properties. -->
3203        <attr name="smoothScrollbar" format="boolean" />
3204        <!-- Defines the choice behavior for the view. By default, lists do not have
3205             any choice behavior. By setting the choiceMode to singleChoice, the list
3206             allows up to one item to be in a chosen state. By setting the choiceMode to
3207             multipleChoice, the list allows any number of items to be chosen.
3208             Finally, by setting the choiceMode to multipleChoiceModal the list allows
3209             any number of items to be chosen in a special selection mode.
3210             The application will supply a
3211             {@link android.widget.AbsListView.MultiChoiceModeListener} using
3212             {@link android.widget.AbsListView#setMultiChoiceModeListener} to control the
3213             selection mode. This uses the {@link android.view.ActionMode} API. -->
3214        <attr name="choiceMode">
3215            <!-- Normal list that does not indicate choices. -->
3216            <enum name="none" value="0" />
3217            <!-- The list allows up to one choice. -->
3218            <enum name="singleChoice" value="1" />
3219            <!-- The list allows multiple choices. -->
3220            <enum name="multipleChoice" value="2" />
3221            <!-- The list allows multiple choices in a custom selection mode. -->
3222            <enum name="multipleChoiceModal" value="3" />
3223        </attr>
3224
3225        <!-- When set to true, the list will always show the fast scroll interface.
3226             This setting implies fastScrollEnabled. -->
3227        <attr name="fastScrollAlwaysVisible" format="boolean" />
3228    </declare-styleable>
3229    <declare-styleable name="AbsSpinner">
3230        <!-- Reference to an array resource that will populate the Spinner.  For static content,
3231             this is simpler than populating the Spinner programmatically. -->
3232        <attr name="entries" />
3233    </declare-styleable>
3234    <declare-styleable name="AnalogClock">
3235        <attr name="dial" format="reference"/>
3236        <attr name="hand_hour" format="reference"/>
3237        <attr name="hand_minute" format="reference"/>
3238    </declare-styleable>
3239    <declare-styleable name="Button">
3240    </declare-styleable>
3241    <declare-styleable name="Chronometer">
3242        <!-- Format string: if specified, the Chronometer will display this
3243             string, with the first "%s" replaced by the current timer value
3244             in "MM:SS" or "H:MM:SS" form.
3245             If no format string is specified, the Chronometer will simply display
3246             "MM:SS" or "H:MM:SS". -->
3247        <attr name="format" format="string" localization="suggested" />
3248    </declare-styleable>
3249    <declare-styleable name="CompoundButton">
3250        <!-- Indicates the initial checked state of this button. -->
3251        <attr name="checked" format="boolean" />
3252        <!-- Drawable used for the button graphic (e.g. checkbox, radio button, etc). -->
3253        <attr name="button" format="reference" />
3254        <!-- Tint to apply to the button graphic. -->
3255        <attr name="buttonTint" format="color" />
3256        <!-- Blending mode used to apply the button graphic tint. -->
3257        <attr name="buttonTintMode">
3258            <!-- The tint is drawn on top of the drawable.
3259                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3260            <enum name="src_over" value="3" />
3261            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3262                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3263            <enum name="src_in" value="5" />
3264            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3265                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3266            <enum name="src_atop" value="9" />
3267            <!-- Multiplies the color and alpha channels of the drawable with those of
3268                 the tint. [Sa * Da, Sc * Dc] -->
3269            <enum name="multiply" value="14" />
3270            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3271            <enum name="screen" value="15" />
3272            <!-- Combines the tint and drawable color and alpha channels, clamping the
3273                 result to valid color values. Saturate(S + D) -->
3274            <enum name="add" value="16" />
3275        </attr>
3276    </declare-styleable>
3277    <declare-styleable name="CheckedTextView">
3278        <!-- Indicates the initial checked state of this text. -->
3279        <attr name="checked" />
3280        <!-- Drawable used for the check mark graphic. -->
3281        <attr name="checkMark" format="reference"/>
3282        <!-- Tint to apply to the check mark. -->
3283        <attr name="checkMarkTint" format="color" />
3284        <!-- Blending mode used to apply the check mark tint. -->
3285        <attr name="checkMarkTintMode">
3286            <!-- The tint is drawn on top of the drawable.
3287                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3288            <enum name="src_over" value="3" />
3289            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3290                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3291            <enum name="src_in" value="5" />
3292            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3293                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3294            <enum name="src_atop" value="9" />
3295            <!-- Multiplies the color and alpha channels of the drawable with those of
3296                 the tint. [Sa * Da, Sc * Dc] -->
3297            <enum name="multiply" value="14" />
3298            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3299            <enum name="screen" value="15" />
3300            <!-- Combines the tint and drawable color and alpha channels, clamping the
3301                 result to valid color values. Saturate(S + D) -->
3302            <enum name="add" value="16" />
3303        </attr>
3304        <!-- Gravity for aligning a CheckedTextView's checkmark to one side or the other. -->
3305        <attr name="checkMarkGravity">
3306            <!-- Push object to the left of its container, not changing its size. -->
3307            <flag name="left" value="0x03" />
3308            <!-- Push object to the right of its container, not changing its size. -->
3309            <flag name="right" value="0x05" />
3310            <!-- Push object to the beginning of its container, not changing its size. -->
3311            <flag name="start" value="0x00800003" />
3312            <!-- Push object to the end of its container, not changing its size. -->
3313            <flag name="end" value="0x00800005" />
3314        </attr>
3315    </declare-styleable>
3316    <declare-styleable name="EditText">
3317    </declare-styleable>
3318    <declare-styleable name="FastScroll">
3319        <!-- Drawable used for the scroll bar thumb. -->
3320        <attr name="thumbDrawable" format="reference" />
3321        <!-- Minimum width of the thumb. -->
3322        <attr name="thumbMinWidth" format="dimension" />
3323        <!-- Minimum height of the thumb. -->
3324        <attr name="thumbMinHeight" format="dimension" />
3325        <!-- Drawable used for the scroll bar track. -->
3326        <attr name="trackDrawable" format="reference" />
3327        <!-- Drawable used for the section header preview when right-aligned. -->
3328        <attr name="backgroundRight" format="reference" />
3329        <!-- Drawable used for the section header preview when left-aligned. -->
3330        <attr name="backgroundLeft" format="reference" />
3331        <!-- Position of section header preview. -->
3332        <attr name="position">
3333            <!-- Floating at the top of the content. -->
3334            <enum name="floating" value="0" />
3335            <!-- Pinned alongside the thumb. -->
3336            <enum name="atThumb" value="1" />
3337            <!-- Pinned above the thumb. -->
3338            <enum name="aboveThumb" value="2" />
3339        </attr>
3340        <attr name="textAppearance" />
3341        <attr name="textColor" />
3342        <attr name="textSize" />
3343        <!-- Minimum width of the section header preview. -->
3344        <attr name="minWidth" />
3345        <!-- Minimum height of the section header preview. -->
3346        <attr name="minHeight" />
3347        <!-- Padding for the section header preview. -->
3348        <attr name="padding" />
3349    </declare-styleable>
3350    <declare-styleable name="FrameLayout">
3351        <!-- Defines the drawable to draw over the content. This can be used as an overlay.
3352             The foreground drawable participates in the padding of the content if the gravity
3353             is set to fill. -->
3354        <attr name="foreground" format="reference|color" />
3355        <!-- Defines the gravity to apply to the foreground drawable. The gravity defaults
3356             to fill. -->
3357        <attr name="foregroundGravity">
3358            <!-- Push object to the top of its container, not changing its size. -->
3359            <flag name="top" value="0x30" />
3360            <!-- Push object to the bottom of its container, not changing its size. -->
3361            <flag name="bottom" value="0x50" />
3362            <!-- Push object to the left of its container, not changing its size. -->
3363            <flag name="left" value="0x03" />
3364            <!-- Push object to the right of its container, not changing its size. -->
3365            <flag name="right" value="0x05" />
3366            <!-- Place object in the vertical center of its container, not changing its size. -->
3367            <flag name="center_vertical" value="0x10" />
3368            <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
3369            <flag name="fill_vertical" value="0x70" />
3370            <!-- Place object in the horizontal center of its container, not changing its size. -->
3371            <flag name="center_horizontal" value="0x01" />
3372            <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
3373            <flag name="fill_horizontal" value="0x07" />
3374            <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
3375            <flag name="center" value="0x11" />
3376            <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
3377            <flag name="fill" value="0x77" />
3378            <!-- Additional option that can be set to have the top and/or bottom edges of
3379                 the child clipped to its container's bounds.
3380                 The clip will be based on the vertical gravity: a top gravity will clip the bottom
3381                 edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
3382            <flag name="clip_vertical" value="0x80" />
3383            <!-- Additional option that can be set to have the left and/or right edges of
3384                 the child clipped to its container's bounds.
3385                 The clip will be based on the horizontal gravity: a left gravity will clip the right
3386                 edge, a right gravity will clip the left edge, and neither will clip both edges. -->
3387            <flag name="clip_horizontal" value="0x08" />
3388        </attr>
3389        <!-- Defines whether the foreground drawable should be drawn inside the padding.
3390             This property is turned on by default. -->
3391        <attr name="foregroundInsidePadding" format="boolean" />
3392        <!-- Determines whether to measure all children or just those in
3393             the VISIBLE or INVISIBLE state when measuring. Defaults to false. -->
3394        <attr name="measureAllChildren" format="boolean" />
3395        <!-- Tint to apply to the foreground. -->
3396        <attr name="foregroundTint" format="color" />
3397        <!-- Blending mode used to apply the foreground tint. -->
3398        <attr name="foregroundTintMode">
3399            <!-- The tint is drawn on top of the drawable.
3400                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3401            <enum name="src_over" value="3" />
3402            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3403                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3404            <enum name="src_in" value="5" />
3405            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3406                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3407            <enum name="src_atop" value="9" />
3408            <!-- Multiplies the color and alpha channels of the drawable with those of
3409                 the tint. [Sa * Da, Sc * Dc] -->
3410            <enum name="multiply" value="14" />
3411            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3412            <enum name="screen" value="15" />
3413            <!-- Combines the tint and drawable color and alpha channels, clamping the
3414                 result to valid color values. Saturate(S + D) -->
3415            <enum name="add" value="16" />
3416        </attr>
3417    </declare-styleable>
3418    <declare-styleable name="ExpandableListView">
3419        <!-- Indicator shown beside the group View. This can be a stateful Drawable. -->
3420        <attr name="groupIndicator" format="reference" />
3421        <!-- Indicator shown beside the child View. This can be a stateful Drawable. -->
3422        <attr name="childIndicator" format="reference" />
3423        <!-- The left bound for an item's indicator. To specify a left bound specific to children,
3424             use childIndicatorLeft. -->
3425        <attr name="indicatorLeft" format="dimension" />
3426        <!-- The right bound for an item's indicator. To specify a right bound specific to children,
3427             use childIndicatorRight. -->
3428        <attr name="indicatorRight" format="dimension" />
3429        <!-- The left bound for a child's indicator. -->
3430        <attr name="childIndicatorLeft" format="dimension" />
3431        <!-- The right bound for a child's indicator. -->
3432        <attr name="childIndicatorRight" format="dimension" />
3433        <!-- Drawable or color that is used as a divider for children. (It will drawn
3434             below and above child items.) The height of this will be the same as
3435             the height of the normal list item divider. -->
3436        <attr name="childDivider" format="reference|color" />
3437        <!-- The start bound for an item's indicator. To specify a start bound specific to children,
3438             use childIndicatorStart. -->
3439        <attr name="indicatorStart" format="dimension" />
3440        <!-- The end bound for an item's indicator. To specify a right bound specific to children,
3441             use childIndicatorEnd. -->
3442        <attr name="indicatorEnd" format="dimension" />
3443        <!-- The start bound for a child's indicator. -->
3444        <attr name="childIndicatorStart" format="dimension" />
3445        <!-- The end bound for a child's indicator. -->
3446        <attr name="childIndicatorEnd" format="dimension" />
3447    </declare-styleable>
3448    <declare-styleable name="Gallery">
3449        <attr name="gravity" />
3450        <!-- Sets how long a transition animation should run (in milliseconds)
3451             when layout has changed.  Only relevant if animation is turned on. -->
3452        <attr name="animationDuration" format="integer" min="0" />
3453        <attr name="spacing" format="dimension" />
3454        <!-- Sets the alpha on the items that are not selected. -->
3455        <attr name="unselectedAlpha" format="float" />
3456    </declare-styleable>
3457    <declare-styleable name="GridView">
3458        <!-- Defines the default horizontal spacing between columns. -->
3459        <attr name="horizontalSpacing" format="dimension" />
3460        <!-- Defines the default vertical spacing between rows. -->
3461        <attr name="verticalSpacing" format="dimension" />
3462        <!-- Defines how columns should stretch to fill the available empty space, if any. -->
3463        <attr name="stretchMode">
3464            <!-- Stretching is disabled. -->
3465            <enum name="none" value="0"/>
3466            <!-- The spacing between each column is stretched. -->
3467            <enum name="spacingWidth" value="1" />
3468            <!-- Each column is stretched equally. -->
3469            <enum name="columnWidth" value="2" />
3470            <!-- The spacing between each column is uniformly stretched.. -->
3471            <enum name="spacingWidthUniform" value="3" />
3472        </attr>
3473        <!-- Specifies the fixed width for each column. -->
3474        <attr name="columnWidth" format="dimension" />
3475        <!-- Defines how many columns to show. -->
3476        <attr name="numColumns" format="integer" min="0">
3477            <!-- Display as many columns as possible to fill the available space. -->
3478            <enum name="auto_fit" value="-1" />
3479        </attr>
3480        <!-- Specifies the gravity within each cell. -->
3481        <attr name="gravity" />
3482    </declare-styleable>
3483    <declare-styleable name="ImageSwitcher">
3484    </declare-styleable>
3485    <declare-styleable name="ImageView">
3486        <!-- Sets a drawable as the content of this ImageView. -->
3487        <attr name="src" format="reference|color" />
3488        <!-- Controls how the image should be resized or moved to match the size
3489             of this ImageView. -->
3490        <attr name="scaleType">
3491            <enum name="matrix" value="0" />
3492            <enum name="fitXY" value="1" />
3493            <enum name="fitStart" value="2" />
3494            <enum name="fitCenter" value="3" />
3495            <enum name="fitEnd" value="4" />
3496            <enum name="center" value="5" />
3497            <enum name="centerCrop" value="6" />
3498            <enum name="centerInside" value="7" />
3499        </attr>
3500        <!-- Set this to true if you want the ImageView to adjust its bounds
3501             to preserve the aspect ratio of its drawable. -->
3502        <attr name="adjustViewBounds" format="boolean" />
3503        <!-- An optional argument to supply a maximum width for this view.
3504             See {see android.widget.ImageView#setMaxWidth} for details. -->
3505        <attr name="maxWidth" format="dimension" />
3506        <!-- An optional argument to supply a maximum height for this view.
3507             See {see android.widget.ImageView#setMaxHeight} for details. -->
3508        <attr name="maxHeight" format="dimension" />
3509        <!-- Set a tinting color for the image. By default, the tint will blend using SRC_ATOP mode. -->
3510        <attr name="tint" format="color" />
3511        <!-- If true, the image view will be baseline aligned with based on its
3512             bottom edge. -->
3513        <attr name="baselineAlignBottom" format="boolean" />
3514         <!-- If true, the image will be cropped to fit within its padding. -->
3515        <attr name="cropToPadding" format="boolean" />
3516        <!-- The offset of the baseline within this view. See {see android.view.View#getBaseline}
3517             for details -->
3518        <attr name="baseline" format="dimension" />
3519        <!-- @hide The alpha value (0-255) set on the ImageView's drawable. Equivalent
3520             to calling ImageView.setAlpha(int), not the same as View.setAlpha(float). -->
3521        <attr name="drawableAlpha" format="integer" />
3522        <!-- Blending mode used to apply the image tint. -->
3523        <attr name="tintMode" />
3524    </declare-styleable>
3525    <declare-styleable name="ToggleButton">
3526        <!-- The text for the button when it is checked. -->
3527        <attr name="textOn" format="string" />
3528        <!-- The text for the button when it is not checked. -->
3529        <attr name="textOff" format="string" />
3530        <!-- The alpha to apply to the indicator when disabled. -->
3531        <attr name="disabledAlpha" />
3532    </declare-styleable>
3533    <declare-styleable name="RelativeLayout">
3534        <attr name="gravity" />
3535        <!-- Indicates what view should not be affected by gravity. -->
3536        <attr name="ignoreGravity" format="reference" />
3537    </declare-styleable>
3538    <declare-styleable name="LinearLayout">
3539        <!-- Should the layout be a column or a row?  Use "horizontal"
3540             for a row, "vertical" for a column.  The default is
3541             horizontal. -->
3542        <attr name="orientation" />
3543        <attr name="gravity" />
3544        <!-- When set to false, prevents the layout from aligning its children's
3545             baselines. This attribute is particularly useful when the children
3546             use different values for gravity. The default value is true. -->
3547        <attr name="baselineAligned" format="boolean" />
3548        <!-- When a linear layout is part of another layout that is baseline
3549          aligned, it can specify which of its children to baseline align to
3550          (that is, which child TextView).-->
3551        <attr name="baselineAlignedChildIndex" format="integer" min="0"/>
3552        <!-- Defines the maximum weight sum. If unspecified, the sum is computed
3553             by adding the layout_weight of all of the children. This can be
3554             used for instance to give a single child 50% of the total available
3555             space by giving it a layout_weight of 0.5 and setting the weightSum
3556             to 1.0. -->
3557        <attr name="weightSum" format="float" />
3558        <!-- When set to true, all children with a weight will be considered having
3559             the minimum size of the largest child. If false, all children are
3560             measured normally. -->
3561        <attr name="measureWithLargestChild" format="boolean" />
3562        <!-- Drawable to use as a vertical divider between buttons. -->
3563        <attr name="divider" />
3564        <!-- Setting for which dividers to show. -->
3565        <attr name="showDividers">
3566            <flag name="none" value="0" />
3567            <flag name="beginning" value="1" />
3568            <flag name="middle" value="2" />
3569            <flag name="end" value="4" />
3570        </attr>
3571        <!-- Size of padding on either end of a divider. -->
3572        <attr name="dividerPadding" format="dimension" />
3573    </declare-styleable>
3574    <declare-styleable name="GridLayout">
3575        <!-- The orientation property is not used during layout. It is only used to
3576        allocate row and column parameters when they are not specified by its children's
3577        layout paramters. GridLayout works like LinearLayout in this case;
3578        putting all the components either in a single row or in a single column -
3579        depending on the value of this flag. In the horizontal case, a columnCount
3580        property may be additionally supplied to force new rows to be created when a
3581        row is full. The rowCount attribute may be used similarly in the vertical case.
3582        The default is horizontal. -->
3583        <attr name="orientation" />
3584        <!-- The maxmimum number of rows to create when automatically positioning children. -->
3585        <attr name="rowCount" format="integer" />
3586        <!-- The maxmimum number of columns to create when automatically positioning children. -->
3587        <attr name="columnCount" format="integer" />
3588        <!-- When set to true, tells GridLayout to use default margins when none are specified
3589        in a view's layout parameters.
3590        The default value is false.
3591        See {@link android.widget.GridLayout#setUseDefaultMargins(boolean)}.-->
3592        <attr name="useDefaultMargins" format="boolean" />
3593        <!-- When set to alignMargins, causes alignment to take place between the outer
3594        boundary of a view, as defined by its margins. When set to alignBounds,
3595        causes alignment to take place between the edges of the view.
3596        The default is alignMargins.
3597        See {@link android.widget.GridLayout#setAlignmentMode(int)}.-->
3598        <attr name="alignmentMode" />
3599        <!-- When set to true, forces row boundaries to appear in the same order
3600        as row indices.
3601        The default is true.
3602        See {@link android.widget.GridLayout#setRowOrderPreserved(boolean)}.-->
3603        <attr name="rowOrderPreserved" format="boolean" />
3604        <!-- When set to true, forces column boundaries to appear in the same order
3605        as column indices.
3606        The default is true.
3607        See {@link android.widget.GridLayout#setColumnOrderPreserved(boolean)}.-->
3608        <attr name="columnOrderPreserved" format="boolean" />
3609    </declare-styleable>
3610    <declare-styleable name="ListView">
3611        <!-- Reference to an array resource that will populate the ListView.  For static content,
3612             this is simpler than populating the ListView programmatically. -->
3613        <attr name="entries" />
3614        <!-- Drawable or color to draw between list items. -->
3615        <attr name="divider" format="reference|color" />
3616        <!-- Height of the divider. Will use the intrinsic height of the divider if this
3617             is not specified. -->
3618        <attr name="dividerHeight" format="dimension" />
3619        <!-- When set to false, the ListView will not draw the divider after each header view.
3620             The default value is true. -->
3621        <attr name="headerDividersEnabled" format="boolean" />
3622        <!-- When set to false, the ListView will not draw the divider before each footer view.
3623             The default value is true. -->
3624        <attr name="footerDividersEnabled" format="boolean" />
3625        <!-- Drawable to draw above list content. -->
3626        <attr name="overScrollHeader" format="reference|color" />
3627        <!-- Drawable to draw below list content. -->
3628        <attr name="overScrollFooter" format="reference|color" />
3629    </declare-styleable>
3630    <declare-styleable name="PreferenceFrameLayout">
3631        <!-- Padding to use at the top of the prefs content. -->
3632        <attr name="borderTop" format="dimension" />
3633        <!-- Padding to use at the bottom of the prefs content. -->
3634        <attr name="borderBottom" format="dimension" />
3635        <!-- Padding to use at the left of the prefs content. -->
3636        <attr name="borderLeft" format="dimension" />
3637        <!-- Padding to use at the right of the prefs content. -->
3638        <attr name="borderRight" format="dimension" />
3639    </declare-styleable>
3640    <declare-styleable name="PreferenceFrameLayout_Layout">
3641        <!-- Padding to use at the top of the prefs content. -->
3642        <attr name="layout_removeBorders" format="boolean" />
3643    </declare-styleable>
3644    <declare-styleable name="MenuView">
3645        <!-- Default appearance of menu item text. -->
3646        <attr name="itemTextAppearance" format="reference" />
3647        <!-- Default horizontal divider between rows of menu items. -->
3648        <attr name="horizontalDivider" format="reference" />
3649        <!-- Default vertical divider between menu items. -->
3650        <attr name="verticalDivider" format="reference" />
3651        <!-- Default background for the menu header. -->
3652        <attr name="headerBackground" format="color|reference" />
3653        <!-- Default background for each menu item. -->
3654        <attr name="itemBackground" format="color|reference" />
3655        <!-- Default animations for the menu. -->
3656        <attr name="windowAnimationStyle" />
3657        <!-- Default disabled icon alpha for each menu item that shows an icon. -->
3658        <attr name="itemIconDisabledAlpha" format="float" />
3659        <!-- Whether space should be reserved in layout when an icon is missing. -->
3660        <attr name="preserveIconSpacing" format="boolean" />
3661    </declare-styleable>
3662    <declare-styleable name="IconMenuView">
3663        <!-- Defines the height of each row. -->
3664        <attr name="rowHeight" format="dimension" />
3665        <!-- Defines the maximum number of rows displayed. -->
3666        <attr name="maxRows" format="integer" />
3667        <!-- Defines the maximum number of items per row. -->
3668        <attr name="maxItemsPerRow" format="integer" />
3669        <!-- Defines the maximum number of items to show. -->
3670        <attr name="maxItems" format="integer" />
3671        <!-- 'More' icon. -->
3672        <attr name="moreIcon" format="reference" />
3673    </declare-styleable>
3674
3675    <declare-styleable name="ProgressBar">
3676        <!-- Defines the maximum value the progress can take. -->
3677        <attr name="max" format="integer" />
3678        <!-- Defines the default progress value, between 0 and max. -->
3679        <attr name="progress" format="integer" />
3680        <!-- Defines the secondary progress value, between 0 and max. This progress is drawn between
3681             the primary progress and the background.  It can be ideal for media scenarios such as
3682             showing the buffering progress while the default progress shows the play progress. -->
3683        <attr name="secondaryProgress" format="integer" />
3684        <!-- Allows to enable the indeterminate mode. In this mode the progress
3685         bar plays an infinite looping animation. -->
3686        <attr name="indeterminate" format="boolean" />
3687        <!-- Restricts to ONLY indeterminate mode (state-keeping progress mode will not work). -->
3688        <attr name="indeterminateOnly" format="boolean" />
3689        <!-- Drawable used for the indeterminate mode. -->
3690        <attr name="indeterminateDrawable" format="reference" />
3691        <!-- Drawable used for the progress mode. -->
3692        <attr name="progressDrawable" format="reference" />
3693        <!-- Duration of the indeterminate animation. -->
3694        <attr name="indeterminateDuration" format="integer" min="1" />
3695        <!-- Defines how the indeterminate mode should behave when the progress
3696        reaches max. -->
3697        <attr name="indeterminateBehavior">
3698            <!-- Progress starts over from 0. -->
3699            <enum name="repeat" value="1" />
3700            <!-- Progress keeps the current value and goes back to 0. -->
3701            <enum name="cycle" value="2" />
3702        </attr>
3703        <attr name="minWidth" format="dimension" />
3704        <attr name="maxWidth" />
3705        <attr name="minHeight" format="dimension" />
3706        <attr name="maxHeight" />
3707        <attr name="interpolator" format="reference" />
3708        <!-- Timeout between frames of animation in milliseconds
3709             {@deprecated Not used by the framework.} -->
3710        <attr name="animationResolution" format="integer" />
3711        <!-- Defines if the associated drawables need to be mirrored when in RTL mode.
3712             Default is false -->
3713        <attr name="mirrorForRtl" format="boolean" />
3714        <!-- Tint to apply to the progress indicator. -->
3715        <attr name="progressTint" format="color" />
3716        <!-- Blending mode used to apply the progress indicator tint. -->
3717        <attr name="progressTintMode">
3718            <!-- The tint is drawn on top of the drawable.
3719                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3720            <enum name="src_over" value="3" />
3721            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3722                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3723            <enum name="src_in" value="5" />
3724            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3725                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3726            <enum name="src_atop" value="9" />
3727            <!-- Multiplies the color and alpha channels of the drawable with those of
3728                 the tint. [Sa * Da, Sc * Dc] -->
3729            <enum name="multiply" value="14" />
3730            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3731            <enum name="screen" value="15" />
3732            <!-- Combines the tint and drawable color and alpha channels, clamping the
3733                 result to valid color values. Saturate(S + D) -->
3734            <enum name="add" value="16" />
3735        </attr>
3736        <!-- Tint to apply to the progress indicator background. -->
3737        <attr name="progressBackgroundTint" format="color" />
3738        <!-- Blending mode used to apply the progress indicator background tint. -->
3739        <attr name="progressBackgroundTintMode">
3740            <!-- The tint is drawn on top of the drawable.
3741                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3742            <enum name="src_over" value="3" />
3743            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3744                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3745            <enum name="src_in" value="5" />
3746            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3747                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3748            <enum name="src_atop" value="9" />
3749            <!-- Multiplies the color and alpha channels of the drawable with those of
3750                 the tint. [Sa * Da, Sc * Dc] -->
3751            <enum name="multiply" value="14" />
3752            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3753            <enum name="screen" value="15" />
3754            <!-- Combines the tint and drawable color and alpha channels, clamping the
3755                 result to valid color values. Saturate(S + D) -->
3756            <enum name="add" value="16" />
3757        </attr>
3758        <!-- Tint to apply to the secondary progress indicator. -->
3759        <attr name="secondaryProgressTint" format="color" />
3760        <!-- Blending mode used to apply the secondary progress indicator tint. -->
3761        <attr name="secondaryProgressTintMode">
3762            <!-- The tint is drawn on top of the drawable.
3763                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3764            <enum name="src_over" value="3" />
3765            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3766                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3767            <enum name="src_in" value="5" />
3768            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3769                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3770            <enum name="src_atop" value="9" />
3771            <!-- Multiplies the color and alpha channels of the drawable with those of
3772                 the tint. [Sa * Da, Sc * Dc] -->
3773            <enum name="multiply" value="14" />
3774            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3775            <enum name="screen" value="15" />
3776            <!-- Combines the tint and drawable color and alpha channels, clamping the
3777                 result to valid color values. Saturate(S + D) -->
3778            <enum name="add" value="16" />
3779        </attr>
3780        <!-- Tint to apply to the indeterminate progress indicator. -->
3781        <attr name="indeterminateTint" format="color" />
3782        <!-- Blending mode used to apply the indeterminate progress indicator tint. -->
3783        <attr name="indeterminateTintMode">
3784            <!-- The tint is drawn on top of the drawable.
3785                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3786            <enum name="src_over" value="3" />
3787            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3788                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3789            <enum name="src_in" value="5" />
3790            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3791                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3792            <enum name="src_atop" value="9" />
3793            <!-- Multiplies the color and alpha channels of the drawable with those of
3794                 the tint. [Sa * Da, Sc * Dc] -->
3795            <enum name="multiply" value="14" />
3796            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3797            <enum name="screen" value="15" />
3798            <!-- Combines the tint and drawable color and alpha channels, clamping the
3799                 result to valid color values. Saturate(S + D) -->
3800            <enum name="add" value="16" />
3801        </attr>
3802        <!-- Tint to apply to the background. -->
3803        <attr name="backgroundTint" />
3804        <!-- Blending mode used to apply the background tint. -->
3805        <attr name="backgroundTintMode" />
3806    </declare-styleable>
3807
3808    <declare-styleable name="SeekBar">
3809        <!-- Draws the thumb on a seekbar. -->
3810        <attr name="thumb" format="reference" />
3811        <!-- An offset for the thumb that allows it to extend out of the range of the track. -->
3812        <attr name="thumbOffset" format="dimension" />
3813        <!-- Whether to split the track and leave a gap for the thumb drawable. -->
3814        <attr name="splitTrack" format="boolean" />
3815        <!-- Tint to apply to the button graphic. -->
3816        <attr name="thumbTint" format="color" />
3817        <!-- Blending mode used to apply the button graphic tint. -->
3818        <attr name="thumbTintMode">
3819            <!-- The tint is drawn on top of the drawable.
3820                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3821            <enum name="src_over" value="3" />
3822            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3823                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3824            <enum name="src_in" value="5" />
3825            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3826                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3827            <enum name="src_atop" value="9" />
3828            <!-- Multiplies the color and alpha channels of the drawable with those of
3829                 the tint. [Sa * Da, Sc * Dc] -->
3830            <enum name="multiply" value="14" />
3831            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3832            <enum name="screen" value="15" />
3833            <!-- Combines the tint and drawable color and alpha channels, clamping the
3834                 result to valid color values. Saturate(S + D) -->
3835            <enum name="add" value="16" />
3836        </attr>
3837    </declare-styleable>
3838
3839    <declare-styleable name="StackView">
3840        <!-- Color of the res-out outline. -->
3841        <attr name="resOutColor" format="color" />
3842        <!-- Color of the outline of click feedback. -->
3843        <attr name="clickColor" format="color" />
3844    </declare-styleable>
3845
3846    <declare-styleable name="RatingBar">
3847        <!-- The number of stars (or rating items) to show. -->
3848        <attr name="numStars" format="integer" />
3849        <!-- The rating to set by default. -->
3850        <attr name="rating" format="float" />
3851        <!-- The step size of the rating. -->
3852        <attr name="stepSize" format="float" />
3853        <!-- Whether this rating bar is an indicator (and non-changeable by the user). -->
3854        <attr name="isIndicator" format="boolean" />
3855    </declare-styleable>
3856
3857    <declare-styleable name="RadioGroup">
3858        <!-- The id of the child radio button that should be checked by default
3859             within this radio group. -->
3860        <attr name="checkedButton" format="integer" />
3861        <!-- Should the radio group be a column or a row?  Use "horizontal"
3862             for a row, "vertical" for a column.  The default is
3863             vertical. -->
3864        <attr name="orientation" />
3865    </declare-styleable>
3866    <declare-styleable name="TableLayout">
3867        <!-- The zero-based index of the columns to stretch. The column indices
3868             must be separated by a comma: 1, 2, 5. Illegal and duplicate
3869             indices are ignored. You can stretch all columns by using the
3870             value "*" instead. Note that a column can be marked stretchable
3871             and shrinkable at the same time. -->
3872        <attr name="stretchColumns" format="string" />
3873       <!-- The zero-based index of the columns to shrink. The column indices
3874             must be separated by a comma: 1, 2, 5. Illegal and duplicate
3875             indices are ignored. You can shrink all columns by using the
3876             value "*" instead. Note that a column can be marked stretchable
3877             and shrinkable at the same time. -->
3878        <attr name="shrinkColumns" format="string" />
3879        <!-- The zero-based index of the columns to collapse. The column indices
3880             must be separated by a comma: 1, 2, 5. Illegal and duplicate
3881             indices are ignored. -->
3882        <attr name="collapseColumns" format="string" />
3883    </declare-styleable>
3884    <declare-styleable name="TableRow">
3885
3886    </declare-styleable>
3887    <declare-styleable name="TableRow_Cell">
3888        <!-- The index of the column in which this child should be. -->
3889        <attr name="layout_column" format="integer" />
3890        <!-- Defines how many columns this child should span.  Must be >= 1.-->
3891        <attr name="layout_span" format="integer" />
3892    </declare-styleable>
3893    <declare-styleable name="TabWidget">
3894        <!-- Drawable used to draw the divider between tabs. -->
3895        <attr name="divider" />
3896        <!-- Determines whether the strip under the tab indicators is drawn or not. -->
3897        <attr name="tabStripEnabled" format="boolean" />
3898        <!-- Drawable used to draw the left part of the strip underneath the tabs. -->
3899        <attr name="tabStripLeft" format="reference" />
3900        <!-- Drawable used to draw the right part of the strip underneath the tabs. -->
3901        <attr name="tabStripRight" format="reference" />
3902        <!-- Layout used to organize each tab's content. -->
3903        <attr name="tabLayout" format="reference" />
3904    </declare-styleable>
3905    <declare-styleable name="TextAppearance">
3906        <!-- Text color. -->
3907        <attr name="textColor" />
3908        <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
3909        <attr name="textSize" />
3910        <!-- Style (bold, italic, bolditalic) for the text. -->
3911        <attr name="textStyle" />
3912        <!-- Typeface (normal, sans, serif, monospace) for the text. -->
3913        <attr name="typeface" />
3914        <!-- Font family (named by string) for the text. -->
3915        <attr name="fontFamily" />
3916        <!-- Color of the text selection highlight. -->
3917        <attr name="textColorHighlight" />
3918        <!-- Color of the hint text. -->
3919        <attr name="textColorHint" />
3920        <!-- Color of the links. -->
3921        <attr name="textColorLink" />
3922        <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
3923        <attr name="textAllCaps" format="boolean" />
3924        <!-- Place a blurred shadow of text underneath the text, drawn with the
3925             specified color. The text shadow produced does not interact with
3926             properties on View that are responsible for real time shadows,
3927             {@link android.R.styleable#View_elevation elevation} and
3928             {@link android.R.styleable#View_translationZ translationZ}. -->
3929        <attr name="shadowColor" format="color" />
3930        <!-- Horizontal offset of the text shadow. -->
3931        <attr name="shadowDx" format="float" />
3932        <!-- Vertical offset of the text shadow. -->
3933        <attr name="shadowDy" format="float" />
3934        <!-- Blur radius of the text shadow. -->
3935        <attr name="shadowRadius" format="float" />
3936        <!-- Elegant text height, especially for less compacted complex script text. -->
3937        <attr name="elegantTextHeight" format="boolean" />
3938        <!-- Text letter-spacing. -->
3939        <attr name="letterSpacing" format="float" />
3940        <!-- Font feature settings. -->
3941        <attr name="fontFeatureSettings" format="string" />
3942    </declare-styleable>
3943    <declare-styleable name="TextClock">
3944        <!-- Specifies the formatting pattern used to show the time and/or date
3945             in 12-hour mode. Please refer to {@link android.text.format.DateFormat}
3946             for a complete description of accepted formatting patterns.
3947             The default pattern is a locale-appropriate equivalent of "h:mm a". -->
3948        <attr name="format12Hour" format="string"/>
3949        <!-- Specifies the formatting pattern used to show the time and/or date
3950             in 24-hour mode. Please refer to {@link android.text.format.DateFormat}
3951             for a complete description of accepted formatting patterns.
3952             The default pattern is a locale-appropriate equivalent of "H:mm". -->
3953        <attr name="format24Hour" format="string"/>
3954        <!-- Specifies the time zone to use. When this attribute is specified, the
3955             TextClock will ignore the time zone of the system. To use the user's
3956             time zone, do not specify this attribute. The default value is the
3957             user's time zone. Please refer to {@link java.util.TimeZone} for more
3958             information about time zone ids. -->
3959        <attr name="timeZone" format="string"/>
3960    </declare-styleable>
3961    <declare-styleable name="TextSwitcher">
3962    </declare-styleable>
3963    <declare-styleable name="TextView">
3964        <!-- Determines the minimum type that getText() will return.
3965             The default is "normal".
3966             Note that EditText and LogTextBox always return Editable,
3967             even if you specify something less powerful here. -->
3968        <attr name="bufferType">
3969            <!-- Can return any CharSequence, possibly a
3970             Spanned one if the source text was Spanned. -->
3971            <enum name="normal" value="0" />
3972            <!-- Can only return Spannable. -->
3973            <enum name="spannable" value="1" />
3974            <!-- Can only return Spannable and Editable. -->
3975            <enum name="editable" value="2" />
3976        </attr>
3977        <!-- Text to display. -->
3978        <attr name="text" format="string" localization="suggested" />
3979        <!-- Hint text to display when the text is empty. -->
3980        <attr name="hint" format="string" />
3981        <!-- Text color. -->
3982        <attr name="textColor" />
3983        <!-- Color of the text selection highlight. -->
3984        <attr name="textColorHighlight" />
3985        <!-- Color of the hint text. -->
3986        <attr name="textColorHint" />
3987        <!-- Base text color, typeface, size, and style. -->
3988        <attr name="textAppearance" />
3989        <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
3990        <attr name="textSize" />
3991        <!-- Sets the horizontal scaling factor for the text. -->
3992        <attr name="textScaleX" format="float" />
3993        <!-- Typeface (normal, sans, serif, monospace) for the text. -->
3994        <attr name="typeface" />
3995        <!-- Style (bold, italic, bolditalic) for the text. -->
3996        <attr name="textStyle" />
3997        <!-- Font family (named by string) for the text. -->
3998        <attr name="fontFamily" />
3999        <!-- Text color for links. -->
4000        <attr name="textColorLink" />
4001        <!-- Makes the cursor visible (the default) or invisible. -->
4002        <attr name="cursorVisible" format="boolean" />
4003        <!-- Makes the TextView be at most this many lines tall.
4004
4005        When used on an editable text, the <code>inputType</code> attribute's value must be
4006        combined with the <code>textMultiLine</code> flag for the maxLines attribute to apply. -->
4007        <attr name="maxLines" format="integer" min="0" />
4008        <!-- Makes the TextView be at most this many pixels tall. -->
4009        <attr name="maxHeight" />
4010        <!-- Makes the TextView be exactly this many lines tall. -->
4011        <attr name="lines" format="integer" min="0" />
4012        <!-- Makes the TextView be exactly this many pixels tall.
4013             You could get the same effect by specifying this number in the
4014             layout parameters. -->
4015        <attr name="height" format="dimension" />
4016        <!-- Makes the TextView be at least this many lines tall.
4017
4018        When used on an editable text, the <code>inputType</code> attribute's value must be
4019        combined with the <code>textMultiLine</code> flag for the minLines attribute to apply. -->
4020        <attr name="minLines" format="integer" min="0" />
4021        <!-- Makes the TextView be at least this many pixels tall. -->
4022        <attr name="minHeight" />
4023        <!-- Makes the TextView be at most this many ems wide. -->
4024        <attr name="maxEms" format="integer" min="0" />
4025        <!-- Makes the TextView be at most this many pixels wide. -->
4026        <attr name="maxWidth" />
4027        <!-- Makes the TextView be exactly this many ems wide. -->
4028        <attr name="ems" format="integer" min="0" />
4029        <!-- Makes the TextView be exactly this many pixels wide.
4030             You could get the same effect by specifying this number in the
4031             layout parameters. -->
4032        <attr name="width" format="dimension" />
4033        <!-- Makes the TextView be at least this many ems wide. -->
4034        <attr name="minEms" format="integer" min="0" />
4035        <!-- Makes the TextView be at least this many pixels wide. -->
4036        <attr name="minWidth" />
4037        <!-- Specifies how to align the text by the view's x- and/or y-axis
4038             when the text is smaller than the view. -->
4039        <attr name="gravity" />
4040        <!-- Whether the text is allowed to be wider than the view (and
4041             therefore can be scrolled horizontally). -->
4042        <attr name="scrollHorizontally" format="boolean" />
4043        <!-- Whether the characters of the field are displayed as
4044             password dots instead of themselves.
4045             {@deprecated Use inputType instead.} -->
4046        <attr name="password" format="boolean" />
4047        <!-- Constrains the text to a single horizontally scrolling line
4048             instead of letting it wrap onto multiple lines, and advances
4049             focus instead of inserting a newline when you press the
4050             enter key.
4051
4052             The default value is false (multi-line wrapped text mode) for non-editable text, but if
4053             you specify any value for inputType, the default is true (single-line input field mode).
4054
4055             {@deprecated This attribute is deprecated. Use <code>maxLines</code> instead to change
4056             the layout of a static text, and use the <code>textMultiLine</code> flag in the
4057             inputType attribute instead for editable text views (if both singleLine and inputType
4058             are supplied, the inputType flags will override the value of singleLine). } -->
4059        <attr name="singleLine" format="boolean" />
4060        <!-- Specifies whether the widget is enabled. The interpretation of the enabled state varies by subclass.
4061             For example, a non-enabled EditText prevents the user from editing the contained text, and
4062             a non-enabled Button prevents the user from tapping the button.
4063             The appearance of enabled and non-enabled widgets may differ, if the drawables referenced
4064             from evaluating state_enabled differ. -->
4065        <attr name="enabled" format="boolean" />
4066        <!-- If the text is selectable, select it all when the view takes
4067             focus. -->
4068        <attr name="selectAllOnFocus" format="boolean" />
4069        <!-- Leave enough room for ascenders and descenders instead of
4070             using the font ascent and descent strictly.  (Normally true). -->
4071        <attr name="includeFontPadding" format="boolean" />
4072        <!-- Set an input filter to constrain the text length to the
4073             specified number. -->
4074        <attr name="maxLength" format="integer" min="0" />
4075        <!-- Place a blurred shadow of text underneath the text, drawn with the
4076             specified color. The text shadow produced does not interact with
4077             properties on View that are responsible for real time shadows,
4078             {@link android.R.styleable#View_elevation elevation} and
4079             {@link android.R.styleable#View_translationZ translationZ}. -->
4080        <attr name="shadowColor" />
4081        <!-- Horizontal offset of the text shadow. -->
4082        <attr name="shadowDx" />
4083        <!-- Vertical offset of the text shadow. -->
4084        <attr name="shadowDy" />
4085        <!-- Blur radius of the text shadow. -->
4086        <attr name="shadowRadius" />
4087        <attr name="autoLink" />
4088        <!-- If set to false, keeps the movement method from being set
4089             to the link movement method even if autoLink causes links
4090             to be found. -->
4091        <attr name="linksClickable" format="boolean" />
4092        <!-- If set, specifies that this TextView has a numeric input method.
4093             The default is false.
4094             {@deprecated Use inputType instead.} -->
4095        <attr name="numeric">
4096            <!-- Input is numeric. -->
4097            <flag name="integer" value="0x01" />
4098            <!-- Input is numeric, with sign allowed. -->
4099            <flag name="signed" value="0x03" />
4100            <!-- Input is numeric, with decimals allowed. -->
4101            <flag name="decimal" value="0x05" />
4102        </attr>
4103        <!-- If set, specifies that this TextView has a numeric input method
4104             and that these specific characters are the ones that it will
4105             accept.
4106             If this is set, numeric is implied to be true.
4107             The default is false. -->
4108        <attr name="digits" format="string" />
4109        <!-- If set, specifies that this TextView has a phone number input
4110             method. The default is false.
4111             {@deprecated Use inputType instead.} -->
4112        <attr name="phoneNumber" format="boolean" />
4113        <!-- If set, specifies that this TextView should use the specified
4114             input method (specified by fully-qualified class name).
4115             {@deprecated Use inputType instead.} -->
4116        <attr name="inputMethod" format="string" />
4117        <!-- If set, specifies that this TextView has a textual input method
4118             and should automatically capitalize what the user types.
4119             The default is "none".
4120             {@deprecated Use inputType instead.} -->
4121        <attr name="capitalize">
4122            <!-- Don't automatically capitalize anything. -->
4123            <enum name="none" value="0" />
4124            <!-- Capitalize the first word of each sentence. -->
4125            <enum name="sentences" value="1" />
4126            <!-- Capitalize the first letter of every word. -->
4127            <enum name="words" value="2" />
4128            <!-- Capitalize every character. -->
4129            <enum name="characters" value="3" />
4130        </attr>
4131        <!-- If set, specifies that this TextView has a textual input method
4132             and automatically corrects some common spelling errors.
4133             The default is "false".
4134             {@deprecated Use inputType instead.} -->
4135        <attr name="autoText" format="boolean" />
4136        <!-- If set, specifies that this TextView has an input method.
4137             It will be a textual one unless it has otherwise been specified.
4138             For TextView, this is false by default.  For EditText, it is
4139             true by default.
4140             {@deprecated Use inputType instead.} -->
4141        <attr name="editable" format="boolean" />
4142        <!-- If set, the text view will include its current complete text
4143             inside of its frozen icicle in addition to meta-data such as
4144             the current cursor position.  By default this is disabled;
4145             it can be useful when the contents of a text view is not stored
4146             in a persistent place such as a content provider. -->
4147        <attr name="freezesText" format="boolean" />
4148        <!-- If set, causes words that are longer than the view is wide
4149             to be ellipsized instead of broken in the middle.
4150             You will often also want to set scrollHorizontally or singleLine
4151             as well so that the text as a whole is also constrained to
4152             a single line instead of still allowed to be broken onto
4153             multiple lines. -->
4154        <attr name="ellipsize" />
4155        <!-- The drawable to be drawn above the text. -->
4156        <attr name="drawableTop" format="reference|color" />
4157        <!-- The drawable to be drawn below the text. -->
4158        <attr name="drawableBottom" format="reference|color" />
4159        <!-- The drawable to be drawn to the left of the text. -->
4160        <attr name="drawableLeft" format="reference|color" />
4161        <!-- The drawable to be drawn to the right of the text. -->
4162        <attr name="drawableRight" format="reference|color" />
4163        <!-- The drawable to be drawn to the start of the text. -->
4164        <attr name="drawableStart" format="reference|color" />
4165        <!-- The drawable to be drawn to the end of the text. -->
4166        <attr name="drawableEnd" format="reference|color" />
4167        <!-- The padding between the drawables and the text. -->
4168        <attr name="drawablePadding" format="dimension" />
4169        <!-- Tint to apply to the compound (left, top, etc.) drawables. -->
4170        <attr name="drawableTint" format="color" />
4171        <!-- Blending mode used to apply the compound (left, top, etc.) drawables tint. -->
4172        <attr name="drawableTintMode">
4173            <!-- The tint is drawn on top of the drawable.
4174                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4175            <enum name="src_over" value="3" />
4176            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4177                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4178            <enum name="src_in" value="5" />
4179            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4180                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4181            <enum name="src_atop" value="9" />
4182            <!-- Multiplies the color and alpha channels of the drawable with those of
4183                 the tint. [Sa * Da, Sc * Dc] -->
4184            <enum name="multiply" value="14" />
4185            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4186            <enum name="screen" value="15" />
4187            <!-- Combines the tint and drawable color and alpha channels, clamping the
4188                 result to valid color values. Saturate(S + D) -->
4189            <enum name="add" value="16" />
4190        </attr>
4191        <!-- Extra spacing between lines of text. -->
4192        <attr name="lineSpacingExtra" format="dimension" />
4193        <!-- Extra spacing between lines of text, as a multiplier. -->
4194        <attr name="lineSpacingMultiplier" format="float" />
4195        <!-- The number of times to repeat the marquee animation. Only applied if the
4196             TextView has marquee enabled. -->
4197        <attr name="marqueeRepeatLimit" format="integer">
4198            <!-- Indicates that marquee should repeat indefinitely. -->
4199            <enum name="marquee_forever" value="-1" />
4200        </attr>
4201        <attr name="inputType" />
4202        <attr name="imeOptions" />
4203        <!-- An addition content type description to supply to the input
4204             method attached to the text view, which is private to the
4205             implementation of the input method.  This simply fills in
4206             the {@link android.view.inputmethod.EditorInfo#privateImeOptions
4207             EditorInfo.privateImeOptions} field when the input
4208             method is connected. -->
4209        <attr name="privateImeOptions" format="string" />
4210        <!-- Supply a value for
4211             {@link android.view.inputmethod.EditorInfo#actionLabel EditorInfo.actionLabel}
4212             used when an input method is connected to the text view. -->
4213        <attr name="imeActionLabel" format="string" />
4214        <!-- Supply a value for
4215             {@link android.view.inputmethod.EditorInfo#actionId EditorInfo.actionId}
4216             used when an input method is connected to the text view. -->
4217        <attr name="imeActionId" format="integer" />
4218        <!-- Reference to an
4219             {@link android.R.styleable#InputExtras &lt;input-extras&gt;}
4220             XML resource containing additional data to
4221             supply to an input method, which is private to the implementation
4222             of the input method.  This simply fills in
4223             the {@link android.view.inputmethod.EditorInfo#extras
4224             EditorInfo.extras} field when the input
4225             method is connected. -->
4226        <attr name="editorExtras" format="reference" />
4227
4228        <!-- Reference to a drawable that will be used to display a text selection
4229             anchor on the left side of a selection region. -->
4230        <attr name="textSelectHandleLeft" />
4231        <!-- Reference to a drawable that will be used to display a text selection
4232             anchor on the right side of a selection region. -->
4233        <attr name="textSelectHandleRight" />
4234        <!-- Reference to a drawable that will be used to display a text selection
4235             anchor for positioning the cursor within text. -->
4236        <attr name="textSelectHandle" />
4237        <!-- The layout of the view that is displayed on top of the cursor to paste inside a
4238             TextEdit field. -->
4239        <attr name="textEditPasteWindowLayout" />
4240        <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. -->
4241        <attr name="textEditNoPasteWindowLayout" />
4242        <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the
4243             insertion cursor because it would be clipped if it were positioned on top. -->
4244        <attr name="textEditSidePasteWindowLayout" />
4245        <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. -->
4246        <attr name="textEditSideNoPasteWindowLayout" />
4247
4248        <!-- Layout of the TextView item that will populate the suggestion popup window. -->
4249        <attr name="textEditSuggestionItemLayout" />
4250
4251
4252        <!-- Reference to a drawable that will be drawn under the insertion cursor. -->
4253        <attr name="textCursorDrawable" />
4254
4255        <!-- Indicates that the content of a non-editable text can be selected. -->
4256        <attr name="textIsSelectable" />
4257        <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
4258        <attr name="textAllCaps" />
4259        <!-- Elegant text height, especially for less compacted complex script text. -->
4260        <attr name="elegantTextHeight" />
4261        <!-- Text letter-spacing. -->
4262        <attr name="letterSpacing" />
4263        <!-- Font feature settings. -->
4264        <attr name="fontFeatureSettings" />
4265    </declare-styleable>
4266    <declare-styleable name="TextViewAppearance">
4267        <!-- Base text color, typeface, size, and style. -->
4268        <attr name="textAppearance" />
4269    </declare-styleable>
4270    <declare-styleable name="SelectionModeDrawables">
4271        <attr name="actionModeSelectAllDrawable" />
4272        <attr name="actionModeCutDrawable" />
4273        <attr name="actionModeCopyDrawable" />
4274        <attr name="actionModePasteDrawable" />
4275    </declare-styleable>
4276    <declare-styleable name="SuggestionSpan">
4277        <attr name="textUnderlineColor" />
4278        <attr name="textUnderlineThickness" />
4279    </declare-styleable>
4280    <!-- An <code>input-extras</code> is a container for extra data to supply to
4281         an input method.  Contains
4282         one more more {@link #Extra <extra>} tags.  -->
4283    <declare-styleable name="InputExtras">
4284    </declare-styleable>
4285    <declare-styleable name="AutoCompleteTextView">
4286        <!-- Defines the hint displayed in the drop down menu. -->
4287        <attr name="completionHint" format="string" />
4288        <!-- Defines the hint view displayed in the drop down menu. -->
4289        <attr name="completionHintView" format="reference" />
4290        <!-- Defines the number of characters that the user must type before
4291         completion suggestions are displayed in a drop down menu. -->
4292        <attr name="completionThreshold" format="integer" min="1" />
4293        <!-- Selector in a drop down list. -->
4294        <attr name="dropDownSelector" format="reference|color" />
4295        <!-- View to anchor the auto-complete dropdown to. If not specified, the text view itself
4296             is used. -->
4297        <attr name="dropDownAnchor" format="reference" />
4298        <!-- Specifies the basic width of the dropdown. Its value may
4299             be a dimension (such as "12dip") for a constant width,
4300             fill_parent or match_parent to match the width of the
4301             screen, or wrap_content to match the width of
4302             the anchored view. -->
4303        <attr name="dropDownWidth" format="dimension">
4304            <!-- The dropdown should fill the width of the screen.
4305                 This constant is deprecated starting from API Level 8 and
4306                 is replaced by {@code match_parent}. -->
4307            <enum name="fill_parent" value="-1" />
4308            <!-- The dropdown should fit the width of the screen.
4309                 Introduced in API Level 8. -->
4310            <enum name="match_parent" value="-1" />
4311            <!-- The dropdown should fit the width of its anchor. -->
4312            <enum name="wrap_content" value="-2" />
4313        </attr>
4314        <!-- Specifies the basic height of the dropdown. Its value may
4315             be a dimension (such as "12dip") for a constant height,
4316             fill_parent or match_parent to fill the height of the
4317             screen, or wrap_content to match the height of
4318             the content of the drop down. -->
4319        <attr name="dropDownHeight" format="dimension">
4320            <!-- The dropdown should fit the height of the screen.
4321                 This constant is deprecated starting from API Level 8 and
4322                 is replaced by {@code match_parent}. -->
4323            <enum name="fill_parent" value="-1" />
4324            <!-- The dropdown should fit the height of the screen.
4325                 Introduced in API Level 8. -->
4326            <enum name="match_parent" value="-1" />
4327            <!-- The dropdown should fit the height of the content. -->
4328            <enum name="wrap_content" value="-2" />
4329        </attr>
4330        <attr name="inputType" />
4331    </declare-styleable>
4332    <declare-styleable name="PopupWindow">
4333        <!-- The background to use for the popup window. -->
4334        <attr name="popupBackground" format="reference|color" />
4335        <!-- Window elevation to use for the popup window. -->
4336        <attr name="popupElevation" format="dimension" />
4337        <!-- The animation style to use for the popup window. -->
4338        <attr name="popupAnimationStyle" format="reference" />
4339        <!-- Whether the popup window should overlap its anchor view. -->
4340        <attr name="overlapAnchor" format="boolean" />
4341        <!-- Transition used to move views into the popup window. -->
4342        <attr name="popupEnterTransition" format="reference" />
4343        <!-- Transition used to move views out of the popup window. -->
4344        <attr name="popupExitTransition" format="reference" />
4345    </declare-styleable>
4346    <declare-styleable name="ListPopupWindow">
4347        <!-- Amount of pixels by which the drop down should be offset vertically. -->
4348        <attr name="dropDownVerticalOffset" format="dimension" />
4349        <!-- Amount of pixels by which the drop down should be offset horizontally. -->
4350        <attr name="dropDownHorizontalOffset" format="dimension" />
4351    </declare-styleable>
4352    <declare-styleable name="ViewAnimator">
4353        <!-- Identifier for the animation to use when a view is shown. -->
4354        <attr name="inAnimation" format="reference" />
4355        <!-- Identifier for the animation to use when a view is hidden. -->
4356        <attr name="outAnimation" format="reference" />
4357        <!-- Defines whether to animate the current View when the ViewAnimation
4358             is first displayed. -->
4359        <attr name="animateFirstView" format="boolean" />
4360    </declare-styleable>
4361    <declare-styleable name="ViewFlipper">
4362        <attr name="flipInterval" format="integer" min="0" />
4363        <!-- When true, automatically start animating -->
4364        <attr name="autoStart" format="boolean" />
4365    </declare-styleable>
4366    <declare-styleable name="AdapterViewAnimator">
4367        <!-- Identifier for the animation to use when a view is shown. -->
4368        <attr name="inAnimation" />
4369        <!-- Identifier for the animation to use when a view is hidden. -->
4370        <attr name="outAnimation" />
4371        <!--Defines whether the animator loops to the first view once it
4372        has reached the end of the list. -->
4373        <attr name="loopViews" format="boolean" />
4374        <!-- Defines whether to animate the current View when the ViewAnimation
4375        is first displayed. -->
4376        <attr name="animateFirstView" />
4377    </declare-styleable>
4378    <declare-styleable name="AdapterViewFlipper">
4379        <attr name="flipInterval" />
4380        <!-- When true, automatically start animating -->
4381        <attr name="autoStart" />
4382    </declare-styleable>
4383    <declare-styleable name="ViewSwitcher">
4384    </declare-styleable>
4385    <declare-styleable name="ScrollView">
4386        <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
4387        <attr name="fillViewport" format="boolean" />
4388    </declare-styleable>
4389    <declare-styleable name="HorizontalScrollView">
4390        <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
4391        <attr name="fillViewport" />
4392    </declare-styleable>
4393    <declare-styleable name="Spinner">
4394        <!-- The prompt to display when the spinner's dialog is shown. -->
4395        <attr name="prompt" format="reference" />
4396        <!-- Display mode for spinner options. -->
4397        <attr name="spinnerMode" format="enum">
4398            <!-- Spinner options will be presented to the user as a dialog window. -->
4399            <enum name="dialog" value="0" />
4400            <!-- Spinner options will be presented to the user as an inline dropdown
4401                 anchored to the spinner widget itself. -->
4402            <enum name="dropdown" value="1" />
4403        </attr>
4404        <!-- List selector to use for spinnerMode="dropdown" display. -->
4405        <attr name="dropDownSelector" />
4406        <!-- Theme to use for the drop-down or dialog popup window. -->
4407        <attr name="popupTheme" />
4408        <!-- Background drawable to use for the dropdown in spinnerMode="dropdown". -->
4409        <attr name="popupBackground" />
4410        <!-- Window elevation to use for the dropdown in spinnerMode="dropdown". -->
4411        <attr name="popupElevation" />
4412        <!-- Width of the dropdown in spinnerMode="dropdown". -->
4413        <attr name="dropDownWidth" />
4414        <!-- Reference to a layout to use for displaying a prompt in the dropdown for
4415             spinnerMode="dropdown". This layout must contain a TextView with the id
4416             {@code @android:id/text1} to be populated with the prompt text. -->
4417        <attr name="popupPromptView" format="reference" />
4418        <!-- Gravity setting for positioning the currently selected item. -->
4419        <attr name="gravity" />
4420        <!-- Whether this spinner should mark child views as enabled/disabled when
4421             the spinner itself is enabled/disabled. -->
4422        <attr name="disableChildrenWhenDisabled" format="boolean" />
4423    </declare-styleable>
4424
4425    <declare-styleable name="DatePicker">
4426        <!-- The first year (inclusive), for example "1940".
4427             {@deprecated Use minDate instead.} -->
4428        <attr name="startYear" format="integer" />
4429        <!-- The last year (inclusive), for example "2010".
4430             {@deprecated Use maxDate instead.} -->
4431        <attr name="endYear" format="integer" />
4432        <!-- Whether the spinners are shown. -->
4433        <attr name="spinnersShown" format="boolean" />
4434        <!-- Whether the calendar view is shown. -->
4435        <attr name="calendarViewShown" format="boolean" />
4436        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
4437        <attr name="minDate" format="string" />
4438        <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. -->
4439        <attr name="maxDate" format="string" />
4440        <!-- The first day of week according to {@link java.util.Calendar}. -->
4441        <attr name="firstDayOfWeek" />
4442        <!-- @hide The layout of the date picker. -->
4443        <attr name="internalLayout" format="reference"  />
4444        <!-- @hide The layout of the legacy DatePicker. -->
4445        <attr name="legacyLayout" />
4446        <!-- The background color for the date selector 's day of week. -->
4447        <attr name="dayOfWeekBackground" format="color|reference" />
4448        <!-- The text color for the date selector's day of week. -->
4449        <attr name="dayOfWeekTextAppearance" format="reference" />
4450        <!-- The month's text appearance in the date selector. -->
4451        <attr name="headerMonthTextAppearance" format="reference" />
4452        <!-- The day of month's text appearance in the date selector. -->
4453        <attr name="headerDayOfMonthTextAppearance" format="reference" />
4454        <!-- The year's text appearance in the date selector. -->
4455        <attr name="headerYearTextAppearance" format="reference" />
4456        <!-- The background for the date selector. -->
4457        <attr name="headerBackground" />
4458        <!-- @hide The selected text color for the date selector. Used as a
4459             backup if the text appearance does not explicitly have a color
4460             set for the selected state. -->
4461        <attr name="headerSelectedTextColor" />
4462        <!-- The list year's text appearance in the list. -->
4463        <attr name="yearListItemTextAppearance" format="reference" />
4464        <!-- The list year's selected circle color in the list. -->
4465        <attr name="yearListSelectorColor" format="color" />
4466        <!-- The text color list of the calendar. -->
4467        <attr name="calendarTextColor" format="color" />
4468        <!-- @hide The activated background color for the calendar. -->
4469        <attr name="calendarDayBackgroundColor" format="color" />
4470        <!-- Defines the look of the widget. Prior to the L release, the only choice was
4471             spinner. As of L, with the Material theme selected, the default layout is calendar,
4472             but this attribute can be used to force spinner to be used instead. -->
4473        <attr name="datePickerMode">
4474            <!-- Date picker with spinner controls to select the date. -->
4475            <enum name="spinner" value="1" />
4476            <!-- Date picker with calendar to select the date. -->
4477            <enum name="calendar" value="2" />
4478        </attr>
4479    </declare-styleable>
4480
4481    <declare-styleable name="TwoLineListItem">
4482        <attr name="mode">
4483            <!-- Always show only the first line. -->
4484            <enum name="oneLine" value="1" />
4485            <!-- When selected show both lines, otherwise show only the first line.
4486                 This is the default mode. -->
4487            <enum name="collapsing" value="2" />
4488            <!-- Always show both lines. -->
4489            <enum name="twoLine" value="3" />
4490        </attr>
4491    </declare-styleable>
4492
4493    <!-- SlidingDrawer specific attributes. These attributes are used to configure
4494         a SlidingDrawer from XML. -->
4495    <declare-styleable name="SlidingDrawer">
4496        <!-- Identifier for the child that represents the drawer's handle. -->
4497        <attr name="handle" format="reference" />
4498        <!-- Identifier for the child that represents the drawer's content. -->
4499        <attr name="content" format="reference" />
4500        <!-- Orientation of the SlidingDrawer. -->
4501        <attr name="orientation" />
4502        <!-- Extra offset for the handle at the bottom of the SlidingDrawer. -->
4503        <attr name="bottomOffset" format="dimension"  />
4504        <!-- Extra offset for the handle at the top of the SlidingDrawer. -->
4505        <attr name="topOffset" format="dimension"  />
4506        <!-- Indicates whether the drawer can be opened/closed by a single tap
4507             on the handle.  (If false, the user must drag or fling, or click
4508             using the trackball, to open/close the drawer.)  Default is true. -->
4509        <attr name="allowSingleTap" format="boolean" />
4510        <!-- Indicates whether the drawer should be opened/closed with an animation
4511             when the user clicks the handle. Default is true. -->
4512        <attr name="animateOnClick" format="boolean" />
4513    </declare-styleable>
4514
4515    <!-- GestureOverlayView specific attributes. These attributes are used to configure
4516         a GestureOverlayView from XML. -->
4517    <declare-styleable name="GestureOverlayView">
4518        <!-- Width of the stroke used to draw the gesture. -->
4519        <attr name="gestureStrokeWidth" format="float" />
4520        <!-- Color used to draw a gesture. -->
4521        <attr name="gestureColor" format="color" />
4522        <!-- Color used to draw the user's strokes until we are sure it's a gesture. -->
4523        <attr name="uncertainGestureColor" format="color" />
4524        <!-- Time, in milliseconds, to wait before the gesture fades out after the user
4525             is done drawing it. -->
4526        <attr name="fadeOffset" format="integer" />
4527        <!-- Duration, in milliseconds, of the fade out effect after the user is done
4528             drawing a gesture. -->
4529        <attr name="fadeDuration" format="integer" />
4530        <!-- Defines the type of strokes that define a gesture. -->
4531        <attr name="gestureStrokeType">
4532            <!-- A gesture is made of only one stroke. -->
4533            <enum name="single" value="0" />
4534            <!-- A gesture is made of multiple strokes. -->
4535            <enum name="multiple" value="1" />
4536        </attr>
4537        <!-- Minimum length of a stroke before it is recognized as a gesture. -->
4538        <attr name="gestureStrokeLengthThreshold" format="float" />
4539        <!-- Squareness threshold of a stroke before it is recognized as a gesture. -->
4540        <attr name="gestureStrokeSquarenessThreshold" format="float" />
4541        <!-- Minimum curve angle a stroke must contain before it is recognized as a gesture. -->
4542        <attr name="gestureStrokeAngleThreshold" format="float" />
4543        <!-- Defines whether the overlay should intercept the motion events when a gesture
4544             is recognized. -->
4545        <attr name="eventsInterceptionEnabled" format="boolean" />
4546        <!-- Defines whether the gesture will automatically fade out after being recognized. -->
4547        <attr name="fadeEnabled" format="boolean" />
4548        <!-- Indicates whether horizontal (when the orientation is vertical) or vertical
4549             (when orientation is horizontal) strokes automatically define a gesture. -->
4550        <attr name="orientation" />
4551    </declare-styleable>
4552
4553    <declare-styleable name="QuickContactBadge">
4554        <attr name="quickContactWindowSize">
4555            <enum name="modeSmall" value="1" />
4556            <enum name="modeMedium" value="2" />
4557            <enum name="modeLarge" value="3" />
4558        </attr>
4559    </declare-styleable>
4560
4561    <!-- ======================================= -->
4562    <!-- Widget package parent layout attributes -->
4563    <!-- ======================================= -->
4564    <eat-comment />
4565
4566    <declare-styleable name="AbsoluteLayout_Layout">
4567        <attr name="layout_x" format="dimension" />
4568        <attr name="layout_y" format="dimension" />
4569    </declare-styleable>
4570    <declare-styleable name="LinearLayout_Layout">
4571        <attr name="layout_width" />
4572        <attr name="layout_height" />
4573        <attr name="layout_weight" format="float" />
4574        <attr name="layout_gravity" />
4575    </declare-styleable>
4576    <declare-styleable name="GridLayout_Layout">
4577        <!-- The row boundary delimiting the top of the group of cells
4578        occupied by this view. -->
4579        <attr name="layout_row" format="integer" />
4580        <!-- The row span: the difference between the top and bottom
4581        boundaries delimiting the group of cells occupied by this view.
4582        The default is one.
4583        See {@link android.widget.GridLayout.Spec}. -->
4584        <attr name="layout_rowSpan" format="integer" min="1" />
4585        <!-- The relative proportion of vertical space that should be allocated to this view
4586        during excess space distribution. -->
4587        <attr name="layout_rowWeight" format="float" />
4588        <!-- The column boundary delimiting the left of the group of cells
4589        occupied by this view. -->
4590        <attr name="layout_column" />
4591        <!-- The column span: the difference between the right and left
4592        boundaries delimiting the group of cells occupied by this view.
4593        The default is one.
4594        See {@link android.widget.GridLayout.Spec}. -->
4595        <attr name="layout_columnSpan" format="integer" min="1" />
4596        <!-- The relative proportion of horizontal space that should be allocated to this view
4597        during excess space distribution. -->
4598        <attr name="layout_columnWeight" format="float" />
4599        <!-- Gravity specifies how a component should be placed in its group of cells.
4600        The default is LEFT | BASELINE.
4601        See {@link android.widget.GridLayout.LayoutParams#setGravity(int)}. -->
4602        <attr name="layout_gravity" />
4603    </declare-styleable>
4604    <declare-styleable name="FrameLayout_Layout">
4605        <attr name="layout_gravity" />
4606    </declare-styleable>
4607    <declare-styleable name="RelativeLayout_Layout">
4608        <!-- Positions the right edge of this view to the left of the given anchor view ID.
4609             Accommodates right margin of this view and left margin of anchor view. -->
4610        <attr name="layout_toLeftOf" format="reference" />
4611        <!-- Positions the left edge of this view to the right of the given anchor view ID.
4612            Accommodates left margin of this view and right margin of anchor view. -->
4613        <attr name="layout_toRightOf" format="reference" />
4614        <!-- Positions the bottom edge of this view above the given anchor view ID.
4615            Accommodates bottom margin of this view and top margin of anchor view. -->
4616        <attr name="layout_above" format="reference" />
4617        <!-- Positions the top edge of this view below the given anchor view ID.
4618            Accommodates top margin of this view and bottom margin of anchor view. -->
4619        <attr name="layout_below" format="reference" />
4620        <!-- Positions the baseline of this view on the baseline of the given anchor view ID. -->
4621        <attr name="layout_alignBaseline" format="reference" />
4622        <!-- Makes the left edge of this view match the left edge of the given anchor view ID.
4623            Accommodates left margin. -->
4624        <attr name="layout_alignLeft" format="reference" />
4625        <!-- Makes the top edge of this view match the top edge of the given anchor view ID.
4626            Accommodates top margin. -->
4627        <attr name="layout_alignTop" format="reference" />
4628        <!-- Makes the right edge of this view match the right edge of the given anchor view ID.
4629            Accommodates right margin. -->
4630        <attr name="layout_alignRight" format="reference" />
4631        <!-- Makes the bottom edge of this view match the bottom edge of the given anchor view ID.
4632            Accommodates bottom margin. -->
4633        <attr name="layout_alignBottom" format="reference" />
4634        <!-- If true, makes the left edge of this view match the left edge of the parent.
4635            Accommodates left margin. -->
4636        <attr name="layout_alignParentLeft" format="boolean" />
4637        <!-- If true, makes the top edge of this view match the top edge of the parent.
4638            Accommodates top margin. -->
4639        <attr name="layout_alignParentTop" format="boolean" />
4640        <!-- If true, makes the right edge of this view match the right edge of the parent.
4641            Accommodates right margin. -->
4642        <attr name="layout_alignParentRight" format="boolean" />
4643        <!-- If true, makes the bottom edge of this view match the bottom edge of the parent.
4644            Accommodates bottom margin. -->
4645        <attr name="layout_alignParentBottom" format="boolean" />
4646        <!-- If true, centers this child horizontally and vertically within its parent. -->
4647        <attr name="layout_centerInParent" format="boolean" />
4648        <!-- If true, centers this child horizontally within its parent. -->
4649        <attr name="layout_centerHorizontal" format="boolean" />
4650        <!-- If true, centers this child vertically within its parent. -->
4651        <attr name="layout_centerVertical" format="boolean" />
4652        <!-- If set to true, the parent will be used as the anchor when the anchor cannot be
4653             be found for layout_toLeftOf, layout_toRightOf, etc. -->
4654        <attr name="layout_alignWithParentIfMissing" format="boolean" />
4655        <!-- Positions the end edge of this view to the start of the given anchor view ID.
4656             Accommodates end margin of this view and start margin of anchor view. -->
4657        <attr name="layout_toStartOf" format="reference" />
4658        <!-- Positions the start edge of this view to the end of the given anchor view ID.
4659             Accommodates start margin of this view and end margin of anchor view. -->
4660        <attr name="layout_toEndOf" format="reference" />
4661        <!-- Makes the start edge of this view match the start edge of the given anchor view ID.
4662            Accommodates start margin. -->
4663        <attr name="layout_alignStart" format="reference" />
4664        <!-- Makes the end edge of this view match the end edge of the given anchor view ID.
4665            Accommodates end margin. -->
4666        <attr name="layout_alignEnd" format="reference" />
4667        <!-- If true, makes the start edge of this view match the start edge of the parent.
4668            Accommodates start margin. -->
4669        <attr name="layout_alignParentStart" format="boolean" />
4670        <!-- If true, makes the end edge of this view match the end edge of the parent.
4671            Accommodates end margin. -->
4672        <attr name="layout_alignParentEnd" format="boolean" />
4673    </declare-styleable>
4674    <declare-styleable name="VerticalSlider_Layout">
4675        <attr name="layout_scale" format="float" />
4676    </declare-styleable>
4677
4678    <!-- attributes for internal rotary widget used in lock screen and phone app
4679      @hide -->
4680    <declare-styleable name="RotarySelector">
4681        <!-- Use "horizontal" or "vertical".  The default is horizontal. -->
4682        <attr name="orientation" />
4683    </declare-styleable>
4684
4685    <!-- @hide -->
4686    <declare-styleable name="WeightedLinearLayout">
4687        <attr name="majorWeightMin" format="float" />
4688        <attr name="minorWeightMin" format="float" />
4689        <attr name="majorWeightMax" format="float" />
4690        <attr name="minorWeightMax" format="float" />
4691    </declare-styleable>
4692
4693    <declare-styleable name="CalendarView">
4694        <!-- The first day of week according to {@link java.util.Calendar}. -->
4695        <attr name="firstDayOfWeek" format="integer" />
4696        <!-- Whether do show week numbers. -->
4697        <attr name="showWeekNumber" format="boolean" />
4698        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
4699        <attr name="minDate" />
4700        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
4701        <attr name="maxDate" />
4702        <!-- The number of weeks to be shown. -->
4703        <attr name="shownWeekCount" format="integer"/>
4704        <!-- The background color for the selected week. -->
4705        <attr name="selectedWeekBackgroundColor" format="color|reference" />
4706        <!-- The color for the dates of the focused month. -->
4707        <attr name="focusedMonthDateColor" format="color|reference" />
4708        <!-- The color for the dates of an unfocused month. -->
4709        <attr name="unfocusedMonthDateColor" format="color|reference" />
4710        <!-- The color for the week numbers. -->
4711        <attr name="weekNumberColor" format="color|reference" />
4712        <!-- The color for the separator line between weeks. -->
4713        <attr name="weekSeparatorLineColor" format="color|reference" />
4714        <!-- Drawable for the vertical bar shown at the beginning and at the end of the selected date. -->
4715        <attr name="selectedDateVerticalBar" format="reference" />
4716        <!-- The text appearance for the week day abbreviation of the calendar header. -->
4717        <attr name="weekDayTextAppearance" format="reference" />
4718        <!-- The text appearance for the calendar dates. -->
4719        <attr name="dateTextAppearance" format="reference" />
4720        <!-- The number of weeks to be shown. -->
4721        <attr name="calendarViewMode">
4722            <enum name="holo" value="0" />
4723            <enum name="material" value="1" />
4724        </attr>
4725    </declare-styleable>
4726
4727    <declare-styleable name="NumberPicker">
4728        <!-- @hide Color for the solid color background if such for optimized rendering. -->
4729        <attr name="solidColor" format="color|reference" />
4730        <!-- @hide The divider for making the selection area. -->
4731        <attr name="selectionDivider" format="reference" />
4732        <!-- @hide The height of the selection divider. -->
4733        <attr name="selectionDividerHeight" format="dimension" />
4734        <!-- @hide The distance between the two selection dividers. -->
4735        <attr name="selectionDividersDistance" format="dimension" />
4736        <!-- @hide The min height of the NumberPicker. -->
4737        <attr name="internalMinHeight" format="dimension" />
4738        <!-- @hide The max height of the NumberPicker. -->
4739        <attr name="internalMaxHeight" format="dimension" />
4740        <!-- @hide The min width of the NumberPicker. -->
4741        <attr name="internalMinWidth" format="dimension" />
4742        <!-- @hide The max width of the NumberPicker. -->
4743        <attr name="internalMaxWidth" format="dimension" />
4744        <!-- @hide The layout of the number picker. -->
4745        <attr name="internalLayout" />
4746        <!-- @hide The drawable for pressed virtual (increment/decrement) buttons. -->
4747        <attr name="virtualButtonPressedDrawable" format="reference"/>
4748        <!-- @hide If true then the selector wheel is hidden until the picker has focus. -->
4749        <attr name="hideWheelUntilFocused" format="boolean"/>
4750    </declare-styleable>
4751
4752    <declare-styleable name="TimePicker">
4753        <!-- @hide The layout of the legacy time picker. -->
4754        <attr name="legacyLayout" format="reference" />
4755        <!-- @hide The layout of the time picker. -->
4756        <attr name="internalLayout" />
4757        <!-- The text appearance for the AM/PM header. -->
4758        <attr name="headerAmPmTextAppearance" format="reference" />
4759        <!-- The text appearance for the time header. -->
4760        <attr name="headerTimeTextAppearance" format="reference" />
4761        <!-- @hide The text color for selected time header of the TimePicker.
4762             This will override the value from the text appearance if it does
4763             not explicitly have a color set for the selected state. -->
4764        <attr name="headerSelectedTextColor" format="color" />
4765        <!-- The background for the header containing the currently selected time. -->
4766        <attr name="headerBackground" />
4767        <!-- The color for the hours/minutes numbers. -->
4768        <attr name="numbersTextColor" format="color" />
4769        <!-- The background color for the hours/minutes numbers. -->
4770        <attr name="numbersBackgroundColor" format="color" />
4771        <!-- The color for the AM/PM selectors. -->
4772        <attr name="amPmTextColor" format="color" />
4773        <!-- The background color state list for the AM/PM selectors. -->
4774        <attr name="amPmBackgroundColor" format="color" />
4775        <!-- @hide The background color for the AM/PM selectors of the
4776             TimePicker when selected. Used if the background color does not
4777             explicitly have a color set for the selected state. -->
4778        <attr name="amPmSelectedBackgroundColor" format="color" />
4779        <!-- The color for the hours/minutes selector. -->
4780        <attr name="numbersSelectorColor" format="color" />
4781        <!-- Defines the look of the widget. Prior to the L release, the only choice was
4782             spinner. As of L, with the Material theme selected, the default layout is clock,
4783             but this attribute can be used to force spinner to be used instead. -->
4784        <attr name="timePickerMode">
4785            <!-- Time picker with spinner controls to select the time. -->
4786            <enum name="spinner" value="1" />
4787            <!-- Time picker with clock face to select the time. -->
4788            <enum name="clock" value="2" />
4789        </attr>
4790    </declare-styleable>
4791
4792    <!-- ========================= -->
4793    <!-- Drawable class attributes -->
4794    <!-- ========================= -->
4795    <eat-comment />
4796
4797    <!-- Base attributes that are available to all Drawable objects. -->
4798    <declare-styleable name="Drawable">
4799        <!-- Provides initial visibility state of the drawable; the default
4800             value is false.  See
4801             {@link android.graphics.drawable.Drawable#setVisible}. -->
4802        <attr name="visible" format="boolean" />
4803        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
4804             RTL (right-to-left).  See
4805             {@link android.graphics.drawable.Drawable#setAutoMirrored}. -->
4806        <attr name="autoMirrored" format="boolean" />
4807    </declare-styleable>
4808
4809    <!-- Drawable used to render several states. Each state is represented by
4810         a child drawable. -->
4811    <declare-styleable name="StateListDrawable">
4812        <!-- Indicates whether the drawable should be initially visible. -->
4813        <attr name="visible" />
4814        <!-- If true, allows the drawable's padding to change based on the
4815             current state that is selected.  If false, the padding will
4816             stay the same (based on the maximum padding of all the states).
4817             Enabling this feature requires that the owner of the drawable
4818             deal with performing layout when the state changes, which is
4819             often not supported. -->
4820        <attr name="variablePadding" format="boolean" />
4821        <!-- If true, the drawable's reported internal size will remain
4822             constant as the state changes; the size is the maximum of all
4823             of the states.  If false, the size will vary based on the
4824             current state. -->
4825        <attr name="constantSize" format="boolean" />
4826        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
4827             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
4828             an RGB 565 screen). -->
4829        <attr name="dither" format="boolean" />
4830        <!-- Amount of time (in milliseconds) to fade in a new state drawable. -->
4831        <attr name="enterFadeDuration" format="integer" />
4832        <!-- Amount of time (in milliseconds) to fade out an old state drawable. -->
4833        <attr name="exitFadeDuration" format="integer" />
4834        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
4835             RTL (right-to-left). -->
4836        <attr name="autoMirrored"/>
4837    </declare-styleable>
4838
4839    <!-- Drawable used to render several states with animated transitions. Each state
4840         is represented by a child drawable with an optional keyframe ID. -->
4841    <declare-styleable name="AnimatedStateListDrawable">
4842        <!-- Indicates whether the drawable should be initially visible. -->
4843        <attr name="visible" />
4844        <!-- If true, allows the drawable's padding to change based on the
4845             current state that is selected.  If false, the padding will
4846             stay the same (based on the maximum padding of all the states).
4847             Enabling this feature requires that the owner of the drawable
4848             deal with performing layout when the state changes, which is
4849             often not supported. -->
4850        <attr name="variablePadding" />
4851        <!-- If true, the drawable's reported internal size will remain
4852             constant as the state changes; the size is the maximum of all
4853             of the states.  If false, the size will vary based on the
4854             current state. -->
4855        <attr name="constantSize" />
4856        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
4857             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
4858             an RGB 565 screen). -->
4859        <attr name="dither" />
4860        <!-- Amount of time (in milliseconds) to fade in a new state drawable. -->
4861        <attr name="enterFadeDuration" />
4862        <!-- Amount of time (in milliseconds) to fade out an old state drawable. -->
4863        <attr name="exitFadeDuration" />
4864        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
4865             RTL (right-to-left). -->
4866        <attr name="autoMirrored"/>
4867    </declare-styleable>
4868
4869    <!-- Represents a single state inside a StateListDrawable. -->
4870    <declare-styleable name="StateListDrawableItem">
4871        <!-- Reference to a drawable resource to use for the state. If not
4872             given, the drawable must be defined by the first child tag. -->
4873        <attr name="drawable" />
4874    </declare-styleable>
4875
4876    <!-- Transition used to animate between states with keyframe IDs. -->
4877    <declare-styleable name="AnimatedStateListDrawableItem">
4878        <!-- Reference to a drawable resource to use for the frame.  If not
4879             given, the drawable must be defined by the first child tag. -->
4880        <attr name="drawable" />
4881        <!-- Keyframe identifier for use in specifying transitions. -->
4882        <attr name="id" />
4883    </declare-styleable>
4884
4885    <!-- Transition used to animate between states with keyframe IDs. -->
4886    <declare-styleable name="AnimatedStateListDrawableTransition">
4887        <!-- Keyframe identifier for the starting state. -->
4888        <attr name="fromId" format="reference" />
4889        <!-- Keyframe identifier for the ending state. -->
4890        <attr name="toId" format="reference" />
4891        <!-- Reference to a animation drawable resource to use for the frame.  If not
4892             given, the animation drawable must be defined by the first child tag. -->
4893        <attr name="drawable" />
4894        <!-- Whether this transition is reversible. -->
4895        <attr name="reversible" format="boolean" />
4896    </declare-styleable>
4897
4898    <!-- Drawable used to render several animated frames. -->
4899    <declare-styleable name="AnimationDrawable">
4900        <attr name="visible" />
4901        <attr name="variablePadding" />
4902        <!-- If true, the animation will only run a single time and then
4903             stop.  If false (the default), it will continually run,
4904             restarting at the first frame after the last has finished. -->
4905        <attr name="oneshot" format="boolean" />
4906    </declare-styleable>
4907
4908    <!-- Represents a single frame inside an AnimationDrawable. -->
4909    <declare-styleable name="AnimationDrawableItem">
4910        <!-- Amount of time (in milliseconds) to display this frame. -->
4911        <attr name="duration" format="integer" />
4912        <!-- Reference to a drawable resource to use for the frame.  If not
4913             given, the drawable must be defined by the first child tag. -->
4914        <attr name="drawable" format="reference" />
4915    </declare-styleable>
4916
4917    <!-- Attributes that can be assigned to a StateListAnimator item. -->
4918    <declare-styleable name="StateListAnimatorItem">
4919        <attr name="animation"/>
4920    </declare-styleable>
4921
4922    <!-- Attributes that can be assigned to a ColorStateList item. -->
4923    <declare-styleable name="ColorStateListItem">
4924        <!-- Base color for this state. -->
4925        <attr name="color" />
4926        <!-- Alpha multiplier applied to the base color. -->
4927        <attr name="alpha" />
4928    </declare-styleable>
4929
4930    <!-- Drawable used to render a geometric shape, with a gradient or a solid color. -->
4931    <declare-styleable name="GradientDrawable">
4932        <!-- Indicates whether the drawable should intially be visible. -->
4933        <attr name="visible" />
4934        <!-- Enables or disables dithering. -->
4935        <attr name="dither" />
4936        <!-- Indicates what shape to fill with a gradient. -->
4937        <attr name="shape">
4938            <!-- Rectangle shape, with optional rounder corners. -->
4939            <enum name="rectangle" value="0" />
4940            <!-- Oval shape. -->
4941            <enum name="oval" value="1" />
4942            <!-- Line shape. -->
4943            <enum name="line" value="2" />
4944            <!-- Ring shape. -->
4945            <enum name="ring" value="3" />
4946        </attr>
4947        <!-- Inner radius of the ring expressed as a ratio of the ring's width. For instance,
4948             if innerRadiusRatio=9, then the inner radius equals the ring's width divided by 9.
4949             This value is ignored if innerRadius is defined. Default value is 9. -->
4950        <attr name="innerRadiusRatio" format="float" />
4951        <!-- Thickness of the ring expressed as a ratio of the ring's width. For instance,
4952             if thicknessRatio=3, then the thickness equals the ring's width divided by 3.
4953             This value is ignored if innerRadius is defined. Default value is 3. -->
4954        <attr name="thicknessRatio" format="float" />
4955        <!-- Inner radius of the ring. When defined, innerRadiusRatio is ignored. -->
4956        <attr name="innerRadius" format="dimension" />
4957        <!-- Thickness of the ring. When defined, thicknessRatio is ignored. -->
4958        <attr name="thickness" format="dimension" />
4959        <!-- Indicates whether the drawable's level affects the way the gradient is drawn. -->
4960        <attr name="useLevel" />
4961        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
4962             no tint is applied. May be a color state list. -->
4963        <attr name="tint" />
4964        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
4965             default value is src_in, which treats the drawable as an alpha mask. -->
4966        <attr name="tintMode" />
4967    </declare-styleable>
4968
4969    <!-- Used to specify the size of the shape for GradientDrawable. -->
4970    <declare-styleable name="GradientDrawableSize">
4971        <!-- Width of the gradient shape. -->
4972        <attr name="width" />
4973        <!-- Height of the gradient shape. -->
4974        <attr name="height" />
4975    </declare-styleable>
4976
4977    <!-- Used to describe the gradient used to fill the shape of a GradientDrawable. -->
4978    <declare-styleable name="GradientDrawableGradient">
4979        <!-- Start color of the gradient. -->
4980        <attr name="startColor" format="color" />
4981        <!-- Optional center color. For linear gradients, use centerX or centerY
4982             to place the center color. -->
4983        <attr name="centerColor" format="color" />
4984        <!-- End color of the gradient. -->
4985        <attr name="endColor" format="color" />
4986        <attr name="useLevel" format="boolean" />
4987        <!-- Angle of the gradient. -->
4988        <attr name="angle" format="float" />
4989        <!-- Type of gradient. The default type is linear. -->
4990        <attr name="type">
4991            <!-- Linear gradient. -->
4992            <enum name="linear" value="0" />
4993            <!-- Radial, or circular, gradient. -->
4994            <enum name="radial" value="1" />
4995            <!-- Sweep, or angled or diamond, gradient. -->
4996            <enum name="sweep"  value="2" />
4997        </attr>
4998        <!-- X coordinate of the origin of the gradient within the shape. -->
4999        <attr name="centerX" format="float|fraction" />
5000        <!-- Y coordinate of the origin of the gradient within the shape. -->
5001        <attr name="centerY" format="float|fraction" />
5002        <!-- Radius of the gradient, used only with radial gradient. -->
5003        <attr name="gradientRadius" format="float|fraction|dimension" />
5004    </declare-styleable>
5005
5006    <!-- Used to fill the shape of GradientDrawable with a solid color. -->
5007    <declare-styleable name="GradientDrawableSolid">
5008        <!-- Solid color for the gradient shape. -->
5009        <attr name="color" format="color" />
5010    </declare-styleable>
5011
5012    <!-- Used to describe the optional stroke of a GradientDrawable. -->
5013    <declare-styleable name="GradientDrawableStroke">
5014        <!-- Width of the gradient shape's stroke. -->
5015        <attr name="width" />
5016        <!-- Color of the gradient shape's stroke. -->
5017        <attr name="color" />
5018        <!-- Length of a dash in the stroke. -->
5019        <attr name="dashWidth" format="dimension" />
5020        <!-- Gap between dashes in the stroke. -->
5021        <attr name="dashGap" format="dimension" />
5022    </declare-styleable>
5023
5024    <!-- Describes the corners for the rectangle shape of a GradientDrawable.
5025         This can be used to render rounded corners. -->
5026    <declare-styleable name="DrawableCorners">
5027        <!-- Defines the radius of the four corners. -->
5028        <attr name="radius" format="dimension" />
5029        <!-- Radius of the top left corner. -->
5030        <attr name="topLeftRadius" format="dimension" />
5031        <!-- Radius of the top right corner. -->
5032        <attr name="topRightRadius" format="dimension" />
5033        <!-- Radius of the bottom left corner. -->
5034        <attr name="bottomLeftRadius" format="dimension" />
5035        <!-- Radius of the bottom right corner. -->
5036        <attr name="bottomRightRadius" format="dimension" />
5037    </declare-styleable>
5038
5039    <!-- Used to specify the optional padding of a GradientDrawable. -->
5040    <declare-styleable name="GradientDrawablePadding">
5041        <!-- Amount of left padding inside the gradient shape. -->
5042        <attr name="left" format="dimension" />
5043        <!-- Amount of top padding inside the gradient shape. -->
5044        <attr name="top" format="dimension" />
5045        <!-- Amount of right padding inside the gradient shape. -->
5046        <attr name="right" format="dimension" />
5047        <!-- Amount of bottom padding inside the gradient shape. -->
5048        <attr name="bottom" format="dimension" />
5049    </declare-styleable>
5050
5051    <!-- Drawable used to render several drawables stacked on top of each other.
5052         Each child drawable can be controlled individually. -->
5053    <declare-styleable name="LayerDrawable">
5054        <!-- Indicates the opacity of the layer. This can be useful to allow the
5055              system to enable drawing optimizations. The default value is
5056              translucent. -->
5057        <attr name="opacity">
5058            <!-- Indicates that the layer is opaque and contains no transparent
5059                 nor translucent pixels. -->
5060            <enum name="opaque" value="-1" />
5061            <!-- The layer is completely transparent (no pixel will be drawn.) -->
5062            <enum name="transparent" value="-2" />
5063            <!-- The layer has translucent pixels. -->
5064            <enum name="translucent" value="-3" />
5065        </attr>
5066        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5067             RTL (right-to-left). -->
5068        <attr name="autoMirrored" />
5069        <!-- Indicates how layer padding should affect the bounds of subsequent layers.
5070             The default padding mode value is nest. -->
5071        <attr name="paddingMode">
5072            <!-- Nest each layer inside the padding of the previous layer. -->
5073            <enum name="nest" value="0" />
5074            <!-- Stack each layer directly atop the previous layer. -->
5075            <enum name="stack" value="1" />
5076        </attr>
5077    </declare-styleable>
5078
5079    <!-- Describes an item (or child) of a LayerDrawable. -->
5080    <declare-styleable name="LayerDrawableItem">
5081        <!-- Left inset to apply to the layer. -->
5082        <attr name="left" />
5083        <!-- Top inset to apply to the layer. -->
5084        <attr name="top" />
5085        <!-- Right inset to apply to the layer. -->
5086        <attr name="right" />
5087        <!-- Bottom inset to apply to the layer. -->
5088        <attr name="bottom" />
5089        <!-- Start inset to apply to the layer. Overrides {@code left} or
5090             {@code right} depending on layout direction. -->
5091        <attr name="start" format="dimension" />
5092        <!-- End inset to apply to the layer. Overrides {@code left} or
5093             {@code right} depending on layout direction. -->
5094        <attr name="end" format="dimension" />
5095        <!-- Width of the layer. Defaults to the layer's intrinsic width. -->
5096        <attr name="width" />
5097        <!-- Height of the layer. Defaults to the layer's intrinsic height -->
5098        <attr name="height" />
5099        <!-- Gravity used to align the layer within its container. If no value
5100             is specified, the default behavior depends on whether an explicit
5101             width or height has been set, If no dimension is set, gravity in
5102             that direction defaults to {@code fill_horizontal} or
5103             {@code fill_vertical}; otherwise, it defaults to {@code left} or
5104             {@code top}. -->
5105        <attr name="gravity" />
5106        <!-- Drawable used to render the layer. -->
5107        <attr name="drawable" />
5108        <!-- Identifier of the layer. This can be used to retrieve the layer
5109             from a drawable container. -->
5110        <attr name="id" />
5111    </declare-styleable>
5112
5113    <declare-styleable name="LevelListDrawableItem">
5114        <!-- The minimum level allowed for this item. -->
5115        <attr name="minLevel" format="integer" />
5116        <!-- The maximum level allowed for this item. -->
5117        <attr name="maxLevel" format="integer" />
5118        <attr name="drawable" />
5119    </declare-styleable>
5120
5121    <!-- Drawable used to rotate another drawable. -->
5122    <declare-styleable name="RotateDrawable">
5123        <attr name="visible" />
5124        <attr name="fromDegrees" format="float" />
5125        <attr name="toDegrees" format="float" />
5126        <attr name="pivotX" format="float|fraction" />
5127        <attr name="pivotY" format="float|fraction" />
5128        <attr name="drawable" />
5129    </declare-styleable>
5130
5131    <declare-styleable name="AnimatedRotateDrawable">
5132        <attr name="visible" />
5133        <attr name="frameDuration" format="integer" />
5134        <attr name="framesCount" format="integer" />
5135        <attr name="pivotX" />
5136        <attr name="pivotY" />
5137        <attr name="drawable" />
5138    </declare-styleable>
5139
5140    <!-- Drawable used to render the Material progress indicator. -->
5141    <declare-styleable name="MaterialProgressDrawable">
5142        <attr name="visible" />
5143        <attr name="thickness" />
5144        <attr name="innerRadius" />
5145        <attr name="width" />
5146        <attr name="height" />
5147        <attr name="color" />
5148    </declare-styleable>
5149
5150    <declare-styleable name="InsetDrawable">
5151        <attr name="visible" />
5152        <attr name="drawable" />
5153        <attr name="inset"  format="dimension"/>
5154        <attr name="insetLeft" format="dimension" />
5155        <attr name="insetRight" format="dimension" />
5156        <attr name="insetTop" format="dimension" />
5157        <attr name="insetBottom" format="dimension" />
5158    </declare-styleable>
5159
5160    <!-- Drawable used to draw bitmaps. -->
5161    <declare-styleable name="BitmapDrawable">
5162        <!-- Identifier of the bitmap file. This attribute is mandatory. -->
5163        <attr name="src" />
5164        <!-- Enables or disables antialiasing. Antialiasing can be used to smooth the
5165             edges of a bitmap when rotated. Default value is false. -->
5166        <attr name="antialias" format="boolean" />
5167        <!-- Enables or disables bitmap filtering. Filtering is used when the bitmap is
5168             shrunk or stretched to smooth its apperance. Default value is true. -->
5169        <attr name="filter" format="boolean" />
5170        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5171             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5172             an RGB 565 screen). Default value is true. -->
5173        <attr name="dither" />
5174        <!-- Defines the gravity for the bitmap. The gravity indicates where to position
5175             the drawable in its container if the bitmap is smaller than the container. -->
5176        <attr name="gravity" />
5177        <!-- Defines the tile mode. When the tile mode is enabled, the bitmap is repeated.
5178             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5179        <attr name="tileMode">
5180            <!-- Do not tile the bitmap. This is the default value. -->
5181            <enum name="disabled" value="-1" />
5182            <!-- Replicates the edge color. -->
5183            <enum name="clamp" value="0" />
5184            <!-- Repeats the bitmap in both direction. -->
5185            <enum name="repeat" value="1" />
5186            <!-- Repeats the shader's image horizontally and vertically, alternating
5187                 mirror images so that adjacent images always seam. -->
5188            <enum name="mirror" value="2" />
5189        </attr>
5190        <!-- Defines the horizontal tile mode. When the tile mode is enabled, the bitmap is repeated.
5191             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5192        <attr name="tileModeX">
5193            <!-- Do not tile the bitmap. This is the default value. -->
5194            <enum name="disabled" value="-1" />
5195            <!-- Replicates the edge color. -->
5196            <enum name="clamp" value="0" />
5197            <!-- Repeats the bitmap horizontally. -->
5198            <enum name="repeat" value="1" />
5199            <!-- Repeats the shader's image horizontally, alternating
5200                 mirror images so that adjacent images always seam. -->
5201            <enum name="mirror" value="2" />
5202        </attr>
5203        <!-- Defines the vertical tile mode. When the tile mode is enabled, the bitmap is repeated.
5204             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5205        <attr name="tileModeY">
5206            <!-- Do not tile the bitmap. This is the default value. -->
5207            <enum name="disabled" value="-1" />
5208            <!-- Replicates the edge color. -->
5209            <enum name="clamp" value="0" />
5210            <!-- Repeats the bitmap vertically. -->
5211            <enum name="repeat" value="1" />
5212            <!-- Repeats the shader's image vertically, alternating
5213                 mirror images so that adjacent images always seam. -->
5214            <enum name="mirror" value="2" />
5215        </attr>
5216        <!-- Enables or disables the mipmap hint. See
5217            {@link android.graphics.Bitmap#setHasMipMap(boolean)} for more information.
5218            Default value is false. -->
5219        <attr name="mipMap" format="boolean" />
5220        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5221             RTL (right-to-left). -->
5222        <attr name="autoMirrored" />
5223        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5224             no tint is applied. May be a color state list. -->
5225        <attr name="tint" />
5226        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5227             default value is src_in, which treats the drawable as an alpha mask. -->
5228        <attr name="tintMode">
5229            <!-- The tint is drawn on top of the drawable.
5230                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
5231            <enum name="src_over" value="3" />
5232            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
5233                 color channels are thrown out. [Sa * Da, Sc * Da] -->
5234            <enum name="src_in" value="5" />
5235            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
5236                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
5237            <enum name="src_atop" value="9" />
5238            <!-- Multiplies the color and alpha channels of the drawable with those of
5239                 the tint. [Sa * Da, Sc * Dc] -->
5240            <enum name="multiply" value="14" />
5241            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
5242            <enum name="screen" value="15" />
5243            <!-- Combines the tint and drawable color and alpha channels, clamping the
5244                 result to valid color values. Saturate(S + D) -->
5245            <enum name="add" value="16" />
5246        </attr>
5247        <!-- Specifies the alpha multiplier to apply to the base drawable. -->
5248        <attr name="alpha" />
5249    </declare-styleable>
5250
5251    <!-- Drawable used to draw 9-patches. -->
5252    <declare-styleable name="NinePatchDrawable">
5253        <!-- Identifier of the bitmap file. This attribute is mandatory. -->
5254        <attr name="src" />
5255        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5256             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5257             an RGB 565 screen). -->
5258        <attr name="dither" />
5259        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5260             RTL (right-to-left). -->
5261        <attr name="autoMirrored" />
5262        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5263             no tint is applied. May be a color state list. -->
5264        <attr name="tint" />
5265        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5266             default value is src_in, which treats the drawable as an alpha mask. -->
5267        <attr name="tintMode" />
5268        <!-- Specifies the alpha multiplier to apply to the base drawable. -->
5269        <attr name="alpha" />
5270    </declare-styleable>
5271
5272    <!-- Drawable used to draw a single color. -->
5273    <declare-styleable name="ColorDrawable">
5274        <!-- The color to use. -->
5275        <attr name="color" />
5276    </declare-styleable>
5277
5278    <!-- Drawable used to show animated touch feedback. -->
5279    <declare-styleable name="RippleDrawable">
5280        <!-- The color to use for ripple effects. This attribute is required. -->
5281        <attr name="color" />
5282    </declare-styleable>
5283
5284    <declare-styleable name="ScaleDrawable">
5285        <!-- Scale width, expressed as a percentage of the drawable's bound. The value's
5286             format is XX%. For instance: 100%, 12.5%, etc.-->
5287        <attr name="scaleWidth" format="string" />
5288        <!-- Scale height, expressed as a percentage of the drawable's bound. The value's
5289             format is XX%. For instance: 100%, 12.5%, etc.-->
5290        <attr name="scaleHeight" format="string" />
5291        <!-- Specifies where the drawable is positioned after scaling. The default value is
5292             left. -->
5293        <attr name="scaleGravity">
5294            <!-- Push object to the top of its container, not changing its size. -->
5295            <flag name="top" value="0x30" />
5296            <!-- Push object to the bottom of its container, not changing its size. -->
5297            <flag name="bottom" value="0x50" />
5298            <!-- Push object to the left of its container, not changing its size. -->
5299            <flag name="left" value="0x03" />
5300            <!-- Push object to the right of its container, not changing its size. -->
5301            <flag name="right" value="0x05" />
5302            <!-- Place object in the vertical center of its container, not changing its size. -->
5303            <flag name="center_vertical" value="0x10" />
5304            <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
5305            <flag name="fill_vertical" value="0x70" />
5306            <!-- Place object in the horizontal center of its container, not changing its size. -->
5307            <flag name="center_horizontal" value="0x01" />
5308            <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
5309            <flag name="fill_horizontal" value="0x07" />
5310            <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
5311            <flag name="center" value="0x11" />
5312            <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
5313            <flag name="fill" value="0x77" />
5314            <!-- Additional option that can be set to have the top and/or bottom edges of
5315                 the child clipped to its container's bounds.
5316                 The clip will be based on the vertical gravity: a top gravity will clip the bottom
5317                 edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
5318            <flag name="clip_vertical" value="0x80" />
5319            <!-- Additional option that can be set to have the left and/or right edges of
5320                 the child clipped to its container's bounds.
5321                 The clip will be based on the horizontal gravity: a left gravity will clip the right
5322                 edge, a right gravity will clip the left edge, and neither will clip both edges. -->
5323            <flag name="clip_horizontal" value="0x08" />
5324            <!-- Push object to the beginning of its container, not changing its size. -->
5325            <flag name="start" value="0x00800003" />
5326            <!-- Push object to the end of its container, not changing its size. -->
5327            <flag name="end" value="0x00800005" />
5328        </attr>
5329        <!-- Reference to a drawable resource to draw with the specified scale. -->
5330        <attr name="drawable" />
5331        <!-- Use the drawable's intrinsic width and height as minimum size values.
5332             Useful if the target drawable is a 9-patch or otherwise should not be scaled
5333             down beyond a minimum size. -->
5334        <attr name="useIntrinsicSizeAsMinimum" format="boolean" />
5335    </declare-styleable>
5336
5337    <declare-styleable name="ClipDrawable">
5338        <!-- The orientation for the clip. -->
5339        <attr name="clipOrientation">
5340            <!-- Clip the drawable horizontally. -->
5341            <flag name="horizontal" value="1" />
5342            <!-- Clip the drawable vertically. -->
5343            <flag name="vertical" value="2" />
5344        </attr>
5345        <!-- Specifies where to clip within the drawable. The default value is
5346             left. -->
5347        <attr name="gravity" />
5348        <!-- Reference to a drawable resource to draw with the specified scale. -->
5349        <attr name="drawable" />
5350    </declare-styleable>
5351
5352    <!-- Defines the padding of a ShapeDrawable. -->
5353    <declare-styleable name="ShapeDrawablePadding">
5354        <!-- Left padding. -->
5355        <attr name="left" />
5356        <!-- Top padding. -->
5357        <attr name="top" />
5358        <!-- Right padding. -->
5359        <attr name="right" />
5360        <!-- Bottom padding. -->
5361        <attr name="bottom" />
5362    </declare-styleable>
5363
5364    <!-- Drawable used to draw shapes. -->
5365    <declare-styleable name="ShapeDrawable">
5366        <!-- Defines the color of the shape. -->
5367        <attr name="color" />
5368        <!-- Defines the width of the shape. -->
5369        <attr name="width" />
5370        <!-- Defines the height of the shape. -->
5371        <attr name="height" />
5372        <!-- Enables or disables dithering. -->
5373        <attr name="dither" />
5374        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5375             no tint is applied. May be a color state list. -->
5376        <attr name="tint" />
5377        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5378             default value is src_in, which treats the drawable as an alpha mask. -->
5379        <attr name="tintMode" />
5380    </declare-styleable>
5381
5382    <!-- ========================== -->
5383    <!--   VectorDrawable class   -->
5384    <!-- ========================== -->
5385    <eat-comment />
5386
5387    <!-- Drawable used to draw vector paths. -->
5388    <declare-styleable name="VectorDrawable">
5389        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5390             no tint is applied. May be a color state list. -->
5391        <attr name="tint" />
5392        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5393             default value is src_in, which treats the drawable as an alpha mask. -->
5394        <attr name="tintMode" />
5395        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5396             RTL (right-to-left). -->
5397        <attr name="autoMirrored" />
5398        <!-- The intrinsic width of the Vector Drawable. -->
5399        <attr name="width" />
5400        <!-- The intrinsic height of the Vector Drawable. -->
5401        <attr name="height" />
5402        <!-- The width of the canvas the drawing is on. -->
5403        <attr name="viewportWidth" format="float"/>
5404        <!-- The height of the canvas the drawing is on. -->
5405        <attr name="viewportHeight" format="float"/>
5406        <!-- The name of this vector drawable -->
5407        <attr name="name" />
5408        <!-- The opacity of the whole vector drawable, as a value between 0
5409             (completely transparent) and 1 (completely opaque). -->
5410        <attr name="alpha" />
5411    </declare-styleable>
5412
5413    <!-- Defines the group used in VectorDrawables. -->
5414    <declare-styleable name="VectorDrawableGroup">
5415        <!-- The name of this group -->
5416        <attr name="name" />
5417        <!-- The amount to rotate the group -->
5418        <attr name="rotation" />
5419        <!-- The X coordinate of the center of rotation of a group -->
5420        <attr name="pivotX" />
5421        <!-- The Y coordinate of the center of rotation of a group -->
5422        <attr name="pivotY" />
5423        <!-- The amount to translate the group on X coordinate -->
5424        <attr name="translateX" format="float"/>
5425        <!-- The amount to translate the group on Y coordinate -->
5426        <attr name="translateY" format="float"/>
5427        <!-- The amount to scale the group on X coordinate -->
5428        <attr name="scaleX" />
5429        <!-- The amount to scale the group on X coordinate -->
5430        <attr name="scaleY" />
5431    </declare-styleable>
5432
5433    <!-- Defines the path used in VectorDrawables. -->
5434    <declare-styleable name="VectorDrawablePath">
5435        <!-- The name of this path -->
5436        <attr name="name" />
5437        <!-- The width a path stroke -->
5438        <attr name="strokeWidth" format="float" />
5439        <!-- The color to stroke the path if not defined implies no stroke-->
5440        <attr name="strokeColor" format="color" />
5441        <!-- The opacity of a path stroke, as a value between 0 (completely transparent)
5442             and 1 (completely opaque) -->
5443        <attr name="strokeAlpha" format="float" />
5444        <!-- The color to fill the path if not defined implies no fill-->
5445        <attr name="fillColor" format="color" />
5446        <!-- The alpha of the path fill, as a value between 0 (completely transparent)
5447             and 1 (completely opaque)-->
5448        <attr name="fillAlpha" format="float" />
5449        <!-- The specification of the operations that define the path  -->
5450        <attr name="pathData" format="string" />
5451        <!-- The fraction of the path to trim from the start from 0 to 1 -->
5452        <attr name="trimPathStart" format="float" />
5453        <!-- The fraction of the path to trim from the end from 0 to 1  -->
5454        <attr name="trimPathEnd" format="float" />
5455        <!-- Shift trim region (allows visible region to include the start and end) from 0 to 1  -->
5456        <attr name="trimPathOffset" format="float" />
5457        <!-- sets the linecap for a stroked path -->
5458        <attr name="strokeLineCap" format="enum">
5459            <enum name="butt" value="0"/>
5460            <enum name="round" value="1"/>
5461            <enum name="square" value="2"/>
5462        </attr>
5463        <!-- sets the lineJoin for a stroked path -->
5464        <attr name="strokeLineJoin" format="enum">
5465            <enum name="miter" value="0"/>
5466            <enum name="round" value="1"/>
5467            <enum name="bevel" value="2"/>
5468        </attr>
5469        <!-- sets the Miter limit for a stroked path -->
5470        <attr name="strokeMiterLimit" format="float"/>
5471    </declare-styleable>
5472
5473    <!-- Defines the clip path used in VectorDrawables. -->
5474    <declare-styleable name="VectorDrawableClipPath">
5475        <!-- The Name of this path -->
5476        <attr name="name" />
5477        <!-- The specification of the operations that define the path  -->
5478        <attr name="pathData"/>
5479    </declare-styleable>
5480
5481    <!-- ========================== -->
5482    <!--   AnimatedVectorDrawable class   -->
5483    <!-- ========================== -->
5484    <eat-comment />
5485
5486    <!-- Define the AnimatedVectorDrawable. -->
5487    <declare-styleable name="AnimatedVectorDrawable">
5488        <!-- The static vector drawable. -->
5489        <attr name="drawable" />
5490    </declare-styleable>
5491
5492    <!-- Defines the target used in the AnimatedVectorDrawable. -->
5493    <declare-styleable name="AnimatedVectorDrawableTarget">
5494        <!-- The name of the target path, group or vector drawable -->
5495        <attr name="name" />
5496        <!-- The animation for the target path, group or vector drawable -->
5497        <attr name="animation" />
5498    </declare-styleable>
5499
5500    <!-- ========================== -->
5501    <!-- Animation class attributes -->
5502    <!-- ========================== -->
5503    <eat-comment />
5504
5505    <declare-styleable name="Animation">
5506        <!-- Defines the interpolator used to smooth the animation movement in time. -->
5507        <attr name="interpolator" />
5508        <!-- When set to true, the value of fillBefore is taken into account. -->
5509        <attr name="fillEnabled" format="boolean" />
5510        <!-- When set to true or when fillEnabled is not set to true, the animation transformation
5511             is applied before the animation has started. The default value is true. -->
5512        <attr name="fillBefore" format="boolean" />
5513        <!-- When set to true, the animation transformation is applied after the animation is
5514             over. The default value is false. If fillEnabled is not set to true and the
5515             animation is not set on a View, fillAfter is assumed to be true.-->
5516        <attr name="fillAfter" format="boolean" />
5517        <!-- Amount of time (in milliseconds) for the animation to run. -->
5518        <attr name="duration" />
5519        <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
5520        <attr name="startOffset" format="integer" />
5521        <!-- Defines how many times the animation should repeat. The default value is 0. -->
5522        <attr name="repeatCount" format="integer">
5523            <enum name="infinite" value="-1" />
5524        </attr>
5525        <!-- Defines the animation behavior when it reaches the end and the repeat count is
5526             greater than 0 or infinite. The default value is restart. -->
5527        <attr name="repeatMode">
5528            <!-- The animation starts again from the beginning. -->
5529            <enum name="restart" value="1" />
5530            <!-- The animation plays backward. -->
5531            <enum name="reverse" value="2" />
5532        </attr>
5533        <!-- Allows for an adjustment of the Z ordering of the content being
5534             animated for the duration of the animation.  The default value is normal. -->
5535        <attr name="zAdjustment">
5536            <!-- The content being animated be kept in its current Z order. -->
5537            <enum name="normal" value="0" />
5538            <!-- The content being animated is forced on top of all other
5539                 content for the duration of the animation. -->
5540            <enum name="top" value="1" />
5541            <!-- The content being animated is forced under all other
5542                 content for the duration of the animation. -->
5543            <enum name="bottom" value="-1" />
5544        </attr>
5545        <!-- Special background behind animation.  Only for use with window
5546             animations.  Can only be a color, and only black.  If 0, the
5547             default, there is no background. -->
5548        <attr name="background" />
5549        <!-- Special option for window animations: if this window is on top
5550             of a wallpaper, don't animate the wallpaper with it. -->
5551        <attr name="detachWallpaper" format="boolean" />
5552    </declare-styleable>
5553
5554    <declare-styleable name="AnimationSet">
5555        <attr name="shareInterpolator" format="boolean" />
5556        <attr name="fillBefore" />
5557        <attr name="fillAfter" />
5558        <attr name="duration" />
5559        <attr name="startOffset" />
5560        <attr name="repeatMode" />
5561    </declare-styleable>
5562
5563    <declare-styleable name="RotateAnimation">
5564        <attr name="fromDegrees" />
5565        <attr name="toDegrees" />
5566        <attr name="pivotX" />
5567        <attr name="pivotY" />
5568    </declare-styleable>
5569
5570    <declare-styleable name="ScaleAnimation">
5571        <attr name="fromXScale" format="float|fraction|dimension" />
5572        <attr name="toXScale" format="float|fraction|dimension" />
5573        <attr name="fromYScale" format="float|fraction|dimension" />
5574        <attr name="toYScale" format="float|fraction|dimension" />
5575        <attr name="pivotX" />
5576        <attr name="pivotY" />
5577    </declare-styleable>
5578
5579    <declare-styleable name="TranslateAnimation">
5580        <attr name="fromXDelta" format="float|fraction" />
5581        <attr name="toXDelta" format="float|fraction" />
5582        <attr name="fromYDelta" format="float|fraction" />
5583        <attr name="toYDelta" format="float|fraction" />
5584    </declare-styleable>
5585
5586    <declare-styleable name="AlphaAnimation">
5587        <attr name="fromAlpha" format="float" />
5588        <attr name="toAlpha" format="float" />
5589    </declare-styleable>
5590
5591    <declare-styleable name="LayoutAnimation">
5592        <!-- Fraction of the animation duration used to delay the beginning of
5593         the animation of each child. -->
5594        <attr name="delay" format="float|fraction" />
5595        <!-- Animation to use on each child. -->
5596        <attr name="animation" format="reference" />
5597        <!-- The order in which the animations will be started. -->
5598        <attr name="animationOrder">
5599            <!-- Animations are started in the natural order. -->
5600            <enum name="normal" value="0" />
5601            <!-- Animations are started in the reverse order. -->
5602            <enum name="reverse" value="1" />
5603            <!-- Animations are started randomly. -->
5604            <enum name="random" value="2" />
5605        </attr>
5606        <!-- Interpolator used to interpolate the delay between the start of
5607         each animation. -->
5608        <attr name="interpolator" />
5609    </declare-styleable>
5610
5611    <declare-styleable name="GridLayoutAnimation">
5612        <!-- Fraction of the animation duration used to delay the beginning of
5613         the animation of each column. -->
5614        <attr name="columnDelay" format="float|fraction" />
5615        <!-- Fraction of the animation duration used to delay the beginning of
5616         the animation of each row. -->
5617        <attr name="rowDelay" format="float|fraction" />
5618        <!-- Direction of the animation in the grid. -->
5619        <attr name="direction">
5620            <!-- Animates columns from left to right. -->
5621            <flag name="left_to_right" value="0x0" />
5622            <!-- Animates columns from right to left. -->
5623            <flag name="right_to_left" value="0x1" />
5624            <!-- Animates rows from top to bottom. -->
5625            <flag name="top_to_bottom" value="0x0" />
5626            <!-- Animates rows from bottom to top. -->
5627            <flag name="bottom_to_top" value="0x2" />
5628        </attr>
5629        <!-- Priority of the rows and columns. When the priority is none,
5630         both rows and columns have the same priority. When the priority is
5631         column, the animations will be applied on the columns first. The same
5632         goes for rows. -->
5633        <attr name="directionPriority">
5634            <!-- Rows and columns are animated at the same time. -->
5635            <enum name="none"   value="0" />
5636            <!-- Columns are animated first. -->
5637            <enum name="column" value="1" />
5638            <!-- Rows are animated first. -->
5639            <enum name="row"    value="2" />
5640        </attr>
5641    </declare-styleable>
5642
5643    <declare-styleable name="AccelerateInterpolator">
5644        <!-- This is the amount of deceleration to add when easing in. -->
5645        <attr name="factor" format="float" />
5646    </declare-styleable>
5647
5648    <declare-styleable name="DecelerateInterpolator">
5649        <!-- This is the amount of acceleration to add when easing out. -->
5650        <attr name="factor" />
5651    </declare-styleable>
5652
5653    <declare-styleable name="CycleInterpolator">
5654        <attr name="cycles" format="float" />
5655    </declare-styleable>
5656
5657    <declare-styleable name="AnticipateInterpolator">
5658        <!-- This is the amount of tension. -->
5659        <attr name="tension" format="float" />
5660    </declare-styleable>
5661
5662    <declare-styleable name="OvershootInterpolator">
5663        <!-- This is the amount of tension. -->
5664        <attr name="tension" />
5665    </declare-styleable>
5666
5667    <declare-styleable name="AnticipateOvershootInterpolator">
5668        <!-- This is the amount of tension. -->
5669        <attr name="tension" />
5670        <!-- This is the amount by which to multiply the tension. -->
5671        <attr name="extraTension" format="float" />
5672    </declare-styleable>
5673
5674    <declare-styleable name="PathInterpolator">
5675        <!-- The x coordinate of the first control point of the cubic Bezier -->
5676        <attr name="controlX1" format="float" />
5677        <!-- The y coordinate of the first control point of the cubic Bezier -->
5678        <attr name="controlY1" format="float" />
5679        <!-- The x coordinate of the second control point of the cubic Bezier -->
5680        <attr name="controlX2" format="float" />
5681        <!-- The y coordinate of the second control point of the cubic Bezier -->
5682        <attr name="controlY2" format="float" />
5683        <!-- The control points defined as a path.
5684             When pathData is defined, then both of the control points of the
5685             cubic Bezier will be ignored. -->
5686        <attr name="pathData"/>
5687    </declare-styleable>
5688
5689    <!-- ========================== -->
5690    <!-- Transition attributes -->
5691    <!-- ========================== -->
5692    <eat-comment />
5693
5694    <!-- Use specific transition subclass names as the root tag of the XML resource that
5695         describes a {@link android.transition.Transition Transition},
5696         such as <code>changeBounds</code>, <code>fade</code>, and <code>transitionSet</code>. -->
5697    <declare-styleable name="Transition">
5698        <!-- Amount of time (in milliseconds) that the transition should run. -->
5699        <attr name="duration" />
5700        <!-- Delay in milliseconds before the transition starts. -->
5701        <attr name="startDelay" format="integer" />
5702        <!-- Interpolator to be used in the animations spawned by this transition. -->
5703        <attr name="interpolator" />
5704        <!-- The match order to use for the transition. This is a comma-separated
5705             list of values, containing one or more of the following:
5706             id, itemId, name, instance. These correspond to
5707             {@link android.transition.Transition#MATCH_ID},
5708             {@link android.transition.Transition#MATCH_ITEM_ID},
5709             {@link android.transition.Transition#MATCH_NAME}, and
5710             {@link android.transition.Transition#MATCH_INSTANCE}, respectively.
5711             This corresponds to {@link android.transition.Transition#setMatchOrder(int...)}. -->
5712        <attr name="matchOrder" format="string" />
5713    </declare-styleable>
5714
5715    <!-- Use <code>fade</code>as the root tag of the XML resource that
5716         describes a {@link android.transition.Fade Fade} transition.
5717         The attributes of the {@link android.R.styleable#Transition Transition}
5718         resource are available in addition to the specific attributes of Fade
5719         described here. -->
5720    <declare-styleable name="Fade">
5721        <!-- Equivalent to <code>transitionVisibilityMode</code>, fadingMode works only
5722             with the Fade transition. -->
5723        <attr name="fadingMode">
5724            <!-- Fade will only fade appearing items in. -->
5725            <enum name="fade_in" value="1" />
5726            <!-- Fade will only fade disappearing items out. -->
5727            <enum name="fade_out" value="2" />
5728            <!-- Fade will fade appearing items in and disappearing items out. -->
5729            <enum name="fade_in_out" value="3" />
5730        </attr>
5731    </declare-styleable>
5732
5733    <!-- Use <code>slide</code>as the root tag of the XML resource that
5734         describes a {@link android.transition.Slide Slide} transition.
5735         The attributes of the {@link android.R.styleable#Transition Transition}
5736         resource are available in addition to the specific attributes of Slide
5737         described here. -->
5738    <declare-styleable name="Slide">
5739        <attr name="slideEdge">
5740            <!-- Slide to and from the left edge of the Scene. -->
5741            <enum name="left" value="0x03" />
5742            <!-- Slide to and from the top edge of the Scene. -->
5743            <enum name="top" value="0x30" />
5744            <!-- Slide to and from the right edge of the Scene. -->
5745            <enum name="right" value="0x05" />
5746            <!-- Slide to and from the bottom edge of the Scene. -->
5747            <enum name="bottom" value="0x50" />
5748            <!-- Slide to and from the x-axis position at the start of the Scene root. -->
5749            <enum name="start" value="0x00800003"/>
5750            <!-- Slide to and from the x-axis position at the end of the Scene root. -->
5751            <enum name="end" value="0x00800005"/>
5752        </attr>
5753    </declare-styleable>
5754
5755    <!-- Use with {@link android.transition.Visibility} transitions, such as
5756         <code>slide</code>, <code>explode</code>, and <code>fade</code> to mark which
5757         views are supported. -->
5758    <declare-styleable name="VisibilityTransition">
5759        <!-- Changes whether the transition supports appearing and/or disappearing Views.
5760             Corresponds to {@link android.transition.Visibility#setMode(int)}. -->
5761        <attr name="transitionVisibilityMode">
5762            <!-- Only appearing Views will be supported. -->
5763            <flag name="mode_in" value="1" />
5764            <!-- Only disappearing Views will be supported. -->
5765            <flag name="mode_out" value="2" />
5766        </attr>
5767    </declare-styleable>
5768    <!-- Use <code>target</code> as the root tag of the XML resource that
5769     describes a {@link android.transition.Transition#addTarget(int)
5770     targetId} of a transition. There can be one or more targets inside
5771     a <code>targets</code> tag, which is itself inside an appropriate
5772     {@link android.R.styleable#Transition Transition} tag.
5773     -->
5774    <declare-styleable name="TransitionTarget">
5775        <!-- The id of a target on which this transition will animate changes. -->
5776        <attr name="targetId" format="reference" />
5777        <!-- The id of a target to exclude from this transition. -->
5778        <attr name="excludeId" format="reference" />
5779        <!-- The fully-qualified name of the Class to include in this transition. -->
5780        <attr name="targetClass" />
5781        <!-- The fully-qualified name of the Class to exclude from this transition. -->
5782        <attr name="excludeClass" format="string" />
5783        <!-- The transitionName of the target on which this transition will animation changes. -->
5784        <attr name="targetName" format="string" />
5785        <!-- The transitionName of the target to exclude from this transition. -->
5786        <attr name="excludeName" format="string" />
5787    </declare-styleable>
5788
5789    <!-- Use <code>set</code> as the root tag of the XML resource that
5790         describes a {@link android.transition.TransitionSet
5791         TransitionSet} transition. -->
5792    <declare-styleable name="TransitionSet">
5793        <attr name="transitionOrdering">
5794            <!-- child transitions should be played together. -->
5795            <enum name="together" value="0" />
5796            <!-- child transitions should be played sequentially, in the same order
5797            as the xml. -->
5798            <enum name="sequential" value="1" />
5799        </attr>
5800    </declare-styleable>
5801
5802    <!-- Use <code>changeTransform</code> as the root tag of the XML resource that
5803         describes a {@link android.transition.ChangeTransform} transition. -->
5804    <declare-styleable name="ChangeTransform">
5805        <!-- A parent change should use an overlay or affect the transform of the
5806             transitionining View. Default is true. Corresponds to
5807             {@link android.transition.ChangeTransform#setReparentWithOverlay(boolean)}. -->
5808        <attr name="reparentWithOverlay" format="boolean"/>
5809
5810        <!-- Tells ChangeTransform to track parent changes. Default is true. Corresponds to
5811             {@link android.transition.ChangeTransform#setReparent(boolean)}. -->
5812        <attr name="reparent" format="boolean"/>
5813    </declare-styleable>
5814
5815    <!-- Use <code>changeBounds</code>as the root tag of the XML resource that
5816         describes a {@link android.transition.ChangeBounds} transition.
5817         The attributes of the {@link android.R.styleable#Transition Transition}
5818         resource are available in addition to the specific attributes of ChangeBounds
5819         described here. -->
5820    <declare-styleable name="ChangeBounds">
5821        <!-- Resize the view by adjusting the clipBounds rather than changing the
5822             dimensions of the view itself. The default value is false. -->
5823        <attr name="resizeClip" format="boolean"/>
5824    </declare-styleable>
5825
5826    <!-- Use <code>transitionManager</code> as the root tag of the XML resource that
5827         describes a {@link android.transition.TransitionManager
5828         TransitionManager}. -->
5829    <declare-styleable name="TransitionManager">
5830        <!-- The id of a transition to be used in a particular scene change. -->
5831        <attr name="transition" format="reference" />
5832        <!-- The originating scene in this scene change. -->
5833        <attr name="fromScene" format="reference" />
5834        <!-- The destination scene in this scene change. -->
5835        <attr name="toScene" format="reference" />
5836    </declare-styleable>
5837
5838    <!-- Use <code>arcMotion</code> as the root tag of the XML resource that
5839         describes a {@link android.transition.ArcMotion}. This must be used
5840         within a transition with which the PathMotion should be associated. -->
5841    <declare-styleable name="ArcMotion">
5842        <!-- The minimum arc angle in degrees between the start and end points when
5843             they are close to horizontal. -->
5844        <attr name="minimumHorizontalAngle" format="float" />
5845        <!-- The minimum arc angle in degrees between the start and end points when
5846             they are close to vertical. -->
5847        <attr name="minimumVerticalAngle" format="float" />
5848        <!-- The maximum arc angle in degrees between the start and end points. -->
5849        <attr name="maximumAngle" format="float" />
5850    </declare-styleable>
5851
5852    <!-- Use <code>patternPathMotion</code> as the root tag of the XML resource that
5853         describes a {@link android.transition.PatternPathMotion}. This must be used
5854         within a transition with which the PathMotion should be associated. -->
5855    <declare-styleable name="PatternPathMotion">
5856        <!-- The path string describing the pattern to use for the PathPathMotion. -->
5857        <attr name="patternPathData" format="string" />
5858    </declare-styleable>
5859
5860    <!-- ========================== -->
5861    <!-- ValueAnimator class attributes -->
5862    <!-- ========================== -->
5863    <eat-comment />
5864
5865    <declare-styleable name="Animator">
5866        <!-- Defines the interpolator used to smooth the animation movement in time. -->
5867        <attr name="interpolator" />
5868        <!-- Amount of time (in milliseconds) for the animation to run. -->
5869        <attr name="duration" />
5870        <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
5871        <attr name="startOffset"/>
5872        <!-- Defines how many times the animation should repeat. The default value is 0. -->
5873        <attr name="repeatCount"/>
5874        <!-- Defines the animation behavior when it reaches the end and the repeat count is
5875             greater than 0 or infinite. The default value is restart. -->
5876        <attr name="repeatMode"/>
5877        <!-- Value the animation starts from. -->
5878        <attr name="valueFrom" format="float|integer|color|dimension|string"/>
5879        <!-- Value the animation animates to. -->
5880        <attr name="valueTo" format="float|integer|color|dimension|string"/>
5881        <!-- The type of valueFrom and valueTo. -->
5882        <attr name="valueType">
5883            <!-- The given values are floats. This is the default value if valueType is
5884                 unspecified. Note that if any value attribute has a color value
5885                 (beginning with "#"), then this attribute is ignored and the color values are
5886                 interpreted as integers. -->
5887            <enum name="floatType" value="0" />
5888            <!-- values are integers. -->
5889            <enum name="intType"   value="1" />
5890            <!-- values are paths defined as strings.
5891                 This type is used for path morphing in AnimatedVectorDrawable. -->
5892            <enum name="pathType"   value="2" />
5893            <!-- values are colors, which are integers starting with "#". -->
5894            <enum name="colorType"   value="3" />
5895        </attr>
5896    </declare-styleable>
5897
5898    <declare-styleable name="PropertyValuesHolder">
5899        <attr name="valueType" />
5900        <attr name="propertyName" />
5901        <attr name="valueFrom" />
5902        <attr name="valueTo" />
5903    </declare-styleable>
5904
5905    <declare-styleable name="Keyframe">
5906        <attr name="valueType" />
5907        <attr name="value" />
5908        <attr name="fraction" format="float" />
5909    </declare-styleable>
5910
5911    <!-- ========================== -->
5912    <!-- ObjectAnimator class attributes -->
5913    <!-- ========================== -->
5914    <eat-comment />
5915
5916    <declare-styleable name="PropertyAnimator">
5917        <!-- Name of the property being animated. -->
5918        <attr name="propertyName" format="string"/>
5919        <!-- Name of the property being animated as the X coordinate of the pathData. -->
5920        <attr name="propertyXName" format="string"/>
5921        <!-- Name of the property being animated as the Y coordinate of the pathData. -->
5922        <attr name="propertyYName" format="string"/>
5923        <!-- The path used to animate the properties in the ObjectAnimator -->
5924        <attr name="pathData"/>
5925    </declare-styleable>
5926
5927
5928    <!-- ========================== -->
5929    <!-- AnimatorSet class attributes -->
5930    <!-- ========================== -->
5931    <eat-comment />
5932
5933    <declare-styleable name="AnimatorSet">
5934        <!-- Name of the property being animated. -->
5935        <attr name="ordering">
5936            <!-- child animations should be played together. -->
5937            <enum name="together" value="0" />
5938            <!-- child animations should be played sequentially, in the same order as the xml. -->
5939            <enum name="sequentially" value="1" />
5940        </attr>
5941    </declare-styleable>
5942
5943    <!-- ========================== -->
5944    <!-- State attributes           -->
5945    <!-- ========================== -->
5946    <eat-comment />
5947
5948    <!-- Drawable states.
5949         The mapping of Drawable states to a particular drawables is specified
5950         in the "state" elements of a Widget's "selector" element.
5951         Possible values:
5952         <ul>
5953         <li>"state_focused"
5954         <li>"state_window_focused"
5955         <li>"state_enabled"
5956         <li>"state_checked"
5957         <li>"state_selected"
5958         <li>"state_active"
5959         <li>"state_single"
5960         <li>"state_first"
5961         <li>"state_mid"
5962         <li>"state_last"
5963         <li>"state_only"
5964         <li>"state_pressed"
5965         <li>"state_activated"
5966         <li>"state_error"
5967         <li>"state_circle"
5968         <li>"state_rect"
5969         <li>"state_grow"
5970         <li>"state_move"
5971         <li>"state_hovered"
5972         <li>"state_drag_can_accept"
5973         <li>"state_drag_hovered"
5974         <li>"state_accessibility_focused"
5975         </ul>  -->
5976    <declare-styleable name="DrawableStates">
5977        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
5978             set when a view has input focus. -->
5979        <attr name="state_focused" format="boolean" />
5980        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
5981             set when a view's window has input focus. -->
5982        <attr name="state_window_focused" format="boolean" />
5983        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
5984             set when a view is enabled. -->
5985        <attr name="state_enabled" format="boolean" />
5986        <!-- State identifier indicating that the object <var>may</var> display a check mark.
5987             See {@link R.attr#state_checked} for the identifier that indicates whether it is
5988             actually checked. -->
5989        <attr name="state_checkable" format="boolean"/>
5990        <!-- State identifier indicating that the object is currently checked.  See
5991             {@link R.attr#state_checkable} for an additional identifier that can indicate if
5992             any object may ever display a check, regardless of whether state_checked is
5993             currently set. -->
5994        <attr name="state_checked" format="boolean"/>
5995        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
5996             set when a view (or one of its parents) is currently selected. -->
5997        <attr name="state_selected" format="boolean" />
5998        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
5999             set when the user is pressing down in a view. -->
6000        <attr name="state_pressed" format="boolean" />
6001        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6002             set when a view or its parent has been "activated" meaning the user has currently
6003             marked it as being of interest.  This is an alternative representation of
6004             state_checked for when the state should be propagated down the view hierarchy. -->
6005        <attr name="state_activated" format="boolean" />
6006        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
6007        <attr name="state_active" format="boolean" />
6008        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
6009        <attr name="state_single" format="boolean" />
6010        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
6011        <attr name="state_first" format="boolean" />
6012        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
6013        <attr name="state_middle" format="boolean" />
6014        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
6015        <attr name="state_last" format="boolean" />
6016        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6017             indicating that the Drawable is in a view that is hardware accelerated.
6018             This means that the device can at least render a full-screen scaled
6019             bitmap with one layer of text and bitmaps composited on top of it
6020             at 60fps.  When this is set, the colorBackgroundCacheHint will be
6021             ignored even if it specifies a solid color, since that optimization
6022             is not needed. -->
6023        <attr name="state_accelerated" format="boolean" />
6024        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6025             set when a pointer is hovering over the view. -->
6026        <attr name="state_hovered" format="boolean" />
6027        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6028             indicating that the Drawable is in a view that is capable of accepting a drop of
6029             the content currently being manipulated in a drag-and-drop operation. -->
6030        <attr name="state_drag_can_accept" format="boolean" />
6031        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6032             indicating that a drag operation (for which the Drawable's view is a valid recipient)
6033             is currently positioned over the Drawable. -->
6034        <attr name="state_drag_hovered" format="boolean" />
6035        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6036             indicating that a View has accessibility focus. -->
6037        <attr name="state_accessibility_focused" format="boolean" />
6038    </declare-styleable>
6039    <declare-styleable name="ViewDrawableStates">
6040        <attr name="state_pressed" />
6041        <attr name="state_focused" />
6042        <attr name="state_selected" />
6043        <attr name="state_window_focused" />
6044        <attr name="state_enabled" />
6045        <attr name="state_activated" />
6046        <attr name="state_accelerated" />
6047        <attr name="state_hovered" />
6048        <attr name="state_drag_can_accept" />
6049        <attr name="state_drag_hovered" />
6050    </declare-styleable>
6051    <!-- State array representing a menu item that is currently checked. -->
6052    <declare-styleable name="MenuItemCheckedState">
6053        <attr name="state_checkable" />
6054        <attr name="state_checked" />
6055    </declare-styleable>
6056    <!-- State array representing a menu item that is checkable but is not currently checked. -->
6057    <declare-styleable name="MenuItemUncheckedState">
6058        <attr name="state_checkable" />
6059    </declare-styleable>
6060    <!-- State array representing a menu item that is currently focused and checked. -->
6061    <declare-styleable name="MenuItemCheckedFocusedState">
6062        <attr name="state_checkable" />
6063        <attr name="state_checked" />
6064        <attr name="state_focused" />
6065    </declare-styleable>
6066    <!-- State array representing a menu item that is focused and checkable but is not currently checked. -->
6067    <declare-styleable name="MenuItemUncheckedFocusedState">
6068        <attr name="state_checkable" />
6069        <attr name="state_focused" />
6070    </declare-styleable>
6071    <!-- State array representing an expandable list child's indicator. -->
6072    <declare-styleable name="ExpandableListChildIndicatorState">
6073        <!-- State identifier indicating the child is the last child within its group. -->
6074        <attr name="state_last" />
6075    </declare-styleable>
6076    <!-- State array representing an expandable list group's indicator. -->
6077    <declare-styleable name="ExpandableListGroupIndicatorState">
6078        <!-- State identifier indicating the group is expanded. -->
6079        <attr name="state_expanded" format="boolean" />
6080        <!-- State identifier indicating the group is empty (has no children). -->
6081        <attr name="state_empty" format="boolean" />
6082    </declare-styleable>
6083    <declare-styleable name="PopupWindowBackgroundState">
6084        <!-- State identifier indicating the popup will be above the anchor. -->
6085        <attr name="state_above_anchor" format="boolean" />
6086    </declare-styleable>
6087    <declare-styleable name="TextViewMultiLineBackgroundState">
6088        <!-- State identifier indicating a TextView has a multi-line layout. -->
6089        <attr name="state_multiline" format="boolean" />
6090    </declare-styleable>
6091
6092    <!-- ***************************************************************** -->
6093    <!-- Support for Searchable activities. -->
6094    <!-- ***************************************************************** -->
6095    <eat-comment />
6096
6097    <!-- Searchable activities and applications must provide search configuration information
6098        in an XML file, typically called searchable.xml.  This file is referenced in your manifest.
6099        For a more in-depth discussion of search configuration, please refer to
6100        {@link android.app.SearchManager}. -->
6101    <declare-styleable name="Searchable">
6102          <!--<strong>This is deprecated.</strong><br/>The default
6103              application icon is now always used, so this attribute is
6104              obsolete.-->
6105        <attr name="icon" />
6106        <!-- This is the user-displayed name of the searchable activity.  <i>Required
6107            attribute.</i> -->
6108        <attr name="label" />
6109        <!-- If supplied, this string will be displayed as a hint to the user.  <i>Optional
6110            attribute.</i> -->
6111        <attr name="hint" />
6112        <!-- If supplied, this string will be displayed as the text of the "Search" button.
6113          <i>Optional attribute.</i>
6114          {@deprecated This will create a non-standard UI appearance, because the search bar UI is
6115                       changing to use only icons for its buttons.}-->
6116        <attr name="searchButtonText" format="string" />
6117        <attr name="inputType" />
6118        <attr name="imeOptions" />
6119
6120        <!-- Additional features are controlled by mode bits in this field.  Omitting
6121            this field, or setting to zero, provides default behavior.  <i>Optional attribute.</i>
6122        -->
6123        <attr name="searchMode">
6124          <!-- If set, this flag enables the display of the search target (label) within the
6125               search bar.  If neither bad mode is selected, no badge will be shown. -->
6126          <flag name="showSearchLabelAsBadge" value="0x04" />
6127          <!--<strong>This is deprecated.</strong><br/>The default
6128              application icon is now always used, so this option is
6129              obsolete.-->
6130          <flag name="showSearchIconAsBadge" value="0x08" />
6131          <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_INTENT_DATA to
6132               be considered as the text for suggestion query rewriting.  This should only
6133               be used when the values in SUGGEST_COLUMN_INTENT_DATA are suitable for user
6134               inspection and editing - typically, HTTP/HTTPS Uri's. -->
6135          <flag name="queryRewriteFromData" value="0x10" />
6136          <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_TEXT_1 to
6137               be considered as the text for suggestion query rewriting.  This should be used
6138               for suggestions in which no query text is provided and the SUGGEST_COLUMN_INTENT_DATA
6139               values are not suitable for user inspection and editing. -->
6140          <flag name="queryRewriteFromText" value="0x20" />
6141        </attr>
6142
6143        <!-- Voice search features are controlled by mode bits in this field.  Omitting
6144            this field, or setting to zero, provides default behavior.
6145            If showVoiceSearchButton is set, then launchWebSearch or launchRecognizer must
6146            also be set.  <i>Optional attribute.</i>
6147        -->
6148        <attr name="voiceSearchMode">
6149          <!-- If set, display a voice search button.  This only takes effect if voice search is
6150               available on the device. -->
6151          <flag name="showVoiceSearchButton" value="0x01" />
6152          <!-- If set, the voice search button will take the user directly to a built-in
6153               voice web search activity.  Most applications will not use this flag, as it
6154               will take the user away from the activity in which search was invoked. -->
6155          <flag name="launchWebSearch" value="0x02" />
6156          <!-- If set, the voice search button will take the user directly to a built-in
6157               voice recording activity.  This activity will prompt the user to speak,
6158               transcribe the spoken text, and forward the resulting query
6159               text to the searchable activity, just as if the user had typed it into
6160               the search UI and clicked the search button. -->
6161          <flag name="launchRecognizer" value="0x04" />
6162        </attr>
6163
6164        <!-- If provided, this specifies the language model that should be used by the
6165             voice recognition system.  See
6166             {@link android.speech.RecognizerIntent#EXTRA_LANGUAGE_MODEL } for more information.
6167             If not provided, the default value
6168             {@link android.speech.RecognizerIntent#LANGUAGE_MODEL_FREE_FORM } will be used. -->
6169        <attr name="voiceLanguageModel" format="string" />
6170        <!-- If provided, this specifies a prompt that will be displayed during voice input. -->
6171        <attr name="voicePromptText" format="string" />
6172        <!-- If provided, this specifies the spoken language to be expected, and that it will be
6173             different than the one set in the {@link java.util.Locale#getDefault()}. -->
6174        <attr name="voiceLanguage" format="string" />
6175        <!-- If provided, enforces the maximum number of results to return, including the "best"
6176             result which will always be provided as the SEARCH intent's primary query.  Must be one
6177             or greater.  If not provided, the recognizer will choose how many results to return.
6178             -->
6179        <attr name="voiceMaxResults" format="integer" />
6180
6181        <!-- If provided, this is the trigger indicating that the searchable activity
6182            provides suggestions as well.  The value must be a fully-qualified content provider
6183            authority (e.g. "com.example.android.apis.SuggestionProvider") and should match the
6184            "android:authorities" tag in your content provider's manifest entry.  <i>Optional
6185            attribute.</i> -->
6186        <attr name="searchSuggestAuthority" format="string" />
6187        <!-- If provided, this will be inserted in the suggestions query Uri, after the authority
6188            you have provide but before the standard suggestions path. <i>Optional attribute.</i>
6189            -->
6190        <attr name="searchSuggestPath" format="string" />
6191        <!-- If provided, suggestion queries will be passed into your query function
6192            as the <i>selection</i> parameter.  Typically this will be a WHERE clause for your
6193            database, and will contain a single question mark, which represents the actual query
6194            string that has been typed by the user.  If not provided, then the user query text
6195            will be appended to the query Uri (after an additional "/".)  <i>Optional
6196            attribute.</i> -->
6197        <attr name="searchSuggestSelection" format="string" />
6198
6199        <!-- If provided, and not overridden by an action in the selected suggestion, this
6200            string will be placed in the action field of the {@link android.content.Intent Intent}
6201            when the user clicks a suggestion.  <i>Optional attribute.</i> -->
6202        <attr name="searchSuggestIntentAction" format="string" />
6203        <!-- If provided, and not overridden by an action in the selected suggestion, this
6204            string will be placed in the data field of the {@link android.content.Intent Intent}
6205            when the user clicks a suggestion.  <i>Optional attribute.</i> -->
6206        <attr name="searchSuggestIntentData" format="string" />
6207
6208        <!-- If provided, this is the minimum number of characters needed to trigger
6209             search suggestions. The default value is 0. <i>Optional attribute.</i> -->
6210        <attr name="searchSuggestThreshold" format="integer" />
6211
6212        <!-- If provided and <code>true</code>, this searchable activity will be
6213             included in any global lists of search targets.
6214             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6215        <attr name="includeInGlobalSearch" format="boolean" />
6216
6217        <!-- If provided and <code>true</code>, this searchable activity will be invoked for all
6218             queries in a particular session. If set to <code>false</code> and the activity
6219             returned zero results for a query, it will not be invoked again in that session for
6220             supersets of that zero-results query. For example, if the activity returned zero
6221             results for "bo", it would not be queried again for "bob".
6222             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6223        <attr name="queryAfterZeroResults" format="boolean" />
6224        <!-- If provided, this string will be used to describe the searchable item in the
6225             searchable items settings within system search settings. <i>Optional
6226             attribute.</i> -->
6227        <attr name="searchSettingsDescription" format="string" />
6228
6229        <!-- If provided and <code>true</code>, URLs entered in the search dialog while searching
6230             within this activity would be detected and treated as URLs (show a 'go' button in the
6231             keyboard and invoke the browser directly when user launches the URL instead of passing
6232             the URL to the activity). If set to <code>false</code> any URLs entered are treated as
6233             normal query text.
6234             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6235        <attr name="autoUrlDetect" format="boolean" />
6236
6237    </declare-styleable>
6238
6239    <!-- In order to process special action keys during search, you must define them using
6240            one or more "ActionKey" elements in your Searchable metadata.  For a more in-depth
6241            discussion of action code handling, please refer to {@link android.app.SearchManager}.
6242    -->
6243    <declare-styleable name="SearchableActionKey">
6244        <!-- This attribute denotes the action key you wish to respond to.  Note that not
6245            all action keys are actually supported using this mechanism, as many of them are
6246            used for typing, navigation, or system functions.  This will be added to the
6247            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6248            searchable activity.  To examine the key code, use
6249            {@link android.content.Intent#getIntExtra getIntExtra(SearchManager.ACTION_KEY)}.
6250            <p>Note, in addition to the keycode, you must also provide one or more of the action
6251            specifier attributes.  <i>Required attribute.</i> -->
6252        <attr name="keycode" />
6253
6254        <!-- If you wish to handle an action key during normal search query entry, you
6255            must define an action string here.  This will be added to the
6256            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6257            searchable activity.  To examine the string, use
6258            {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
6259            <i>Optional attribute.</i> -->
6260        <attr name="queryActionMsg"  format="string" />
6261
6262        <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
6263            selected</i>, there are two ways to handle this.  If <i>all</i> of your suggestions
6264            can handle the action key, you can simply define the action message using this
6265            attribute.  This will be added to the
6266            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6267            searchable activity.  To examine the string, use
6268            {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
6269            <i>Optional attribute.</i> -->
6270        <attr name="suggestActionMsg"  format="string" />
6271
6272        <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
6273            selected</i>, but you do not wish to enable this action key for every suggestion,
6274            then you can use this attribute to control it on a suggestion-by-suggestion basis.
6275            First, you must define a column (and name it here) where your suggestions will include
6276            the action string.  Then, in your content provider, you must provide this column, and
6277            when desired, provide data in this column.
6278            The search manager will look at your suggestion cursor, using the string
6279            provided here in order to select a column, and will use that to select a string from
6280            the cursor.  That string will be added to the
6281            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to
6282            your searchable activity.  To examine the string, use
6283            {@link android.content.Intent#getStringExtra
6284            getStringExtra(SearchManager.ACTION_MSG)}.  <i>If the data does not exist for the
6285            selection suggestion, the action key will be ignored.</i><i>Optional attribute.</i> -->
6286        <attr name="suggestActionMsgColumn" format="string" />
6287
6288    </declare-styleable>
6289
6290    <!-- ***************************************************************** -->
6291    <!-- Support for MapView. -->
6292    <!-- ***************************************************************** -->
6293    <eat-comment />
6294
6295    <!-- The set of attributes for a MapView. -->
6296    <declare-styleable name="MapView">
6297        <!-- Value is a string that specifies the Maps API Key to use. -->
6298        <attr name="apiKey" format="string" />
6299    </declare-styleable>
6300
6301    <!-- **************************************************************** -->
6302    <!-- Menu XML inflation. -->
6303    <!-- **************************************************************** -->
6304    <eat-comment />
6305
6306    <!-- Base attributes that are available to all Menu objects. -->
6307    <declare-styleable name="Menu">
6308    </declare-styleable>
6309
6310    <!-- Base attributes that are available to all groups. -->
6311    <declare-styleable name="MenuGroup">
6312
6313        <!-- The ID of the group. -->
6314        <attr name="id" />
6315
6316        <!-- The category applied to all items within this group.
6317             (This will be or'ed with the orderInCategory attribute.) -->
6318        <attr name="menuCategory">
6319            <!-- Items are part of a container. -->
6320            <enum name="container" value="0x00010000" />
6321            <!-- Items are provided by the system. -->
6322            <enum name="system" value="0x00020000" />
6323            <!-- Items are user-supplied secondary (infrequently used). -->
6324            <enum name="secondary" value="0x00030000" />
6325            <!-- Items are alternative actions. -->
6326            <enum name="alternative" value="0x00040000" />
6327        </attr>
6328
6329        <!-- The order within the category applied to all items within this group.
6330             (This will be or'ed with the category attribute.) -->
6331        <attr name="orderInCategory" format="integer" />
6332
6333        <!-- Whether the items are capable of displaying a check mark. -->
6334        <attr name="checkableBehavior">
6335            <!-- The items are not checkable. -->
6336            <enum name="none" value="0" />
6337            <!-- The items are all checkable. -->
6338            <enum name="all" value="1" />
6339            <!-- The items are checkable and there will only be a single checked item in
6340                 this group. -->
6341            <enum name="single" value="2" />
6342        </attr>
6343
6344        <!-- Whether the items are shown/visible. -->
6345        <attr name="visible" />
6346
6347        <!-- Whether the items are enabled. -->
6348        <attr name="enabled" />
6349
6350    </declare-styleable>
6351
6352    <!-- Base attributes that are available to all Item objects. -->
6353    <declare-styleable name="MenuItem">
6354
6355        <!-- The ID of the item. -->
6356        <attr name="id" />
6357
6358        <!-- The category applied to the item.
6359             (This will be or'ed with the orderInCategory attribute.) -->
6360        <attr name="menuCategory" />
6361
6362        <!-- The order within the category applied to the item.
6363             (This will be or'ed with the category attribute.) -->
6364        <attr name="orderInCategory" />
6365
6366        <!-- The title associated with the item. -->
6367        <attr name="title" format="string" />
6368
6369        <!-- The condensed title associated with the item.  This is used in situations where the
6370             normal title may be too long to be displayed. -->
6371        <attr name="titleCondensed" format="string" />
6372
6373        <!-- The icon associated with this item.  This icon will not always be shown, so
6374             the title should be sufficient in describing this item. -->
6375        <attr name="icon" />
6376
6377        <!-- The alphabetic shortcut key.  This is the shortcut when using a keyboard
6378             with alphabetic keys. -->
6379        <attr name="alphabeticShortcut" format="string" />
6380
6381        <!-- The numeric shortcut key.  This is the shortcut when using a numeric (e.g., 12-key)
6382             keyboard. -->
6383        <attr name="numericShortcut" format="string" />
6384
6385        <!-- Whether the item is capable of displaying a check mark. -->
6386        <attr name="checkable" format="boolean" />
6387
6388        <!-- Whether the item is checked.  Note that you must first have enabled checking with
6389             the checkable attribute or else the check mark will not appear. -->
6390        <attr name="checked" />
6391
6392        <!-- Whether the item is shown/visible. -->
6393        <attr name="visible" />
6394
6395        <!-- Whether the item is enabled. -->
6396        <attr name="enabled" />
6397
6398        <!-- Name of a method on the Context used to inflate the menu that will be
6399             called when the item is clicked. -->
6400        <attr name="onClick" />
6401
6402        <!-- How this item should display in the Action Bar, if present. -->
6403        <attr name="showAsAction">
6404            <!-- Never show this item in an action bar, show it in the overflow menu instead.
6405                 Mutually exclusive with "ifRoom" and "always". -->
6406            <flag name="never" value="0" />
6407            <!-- Show this item in an action bar if there is room for it as determined
6408                 by the system. Favor this option over "always" where possible.
6409                 Mutually exclusive with "never" and "always". -->
6410            <flag name="ifRoom" value="1" />
6411            <!-- Always show this item in an actionbar, even if it would override
6412                 the system's limits of how much stuff to put there. This may make
6413                 your action bar look bad on some screens. In most cases you should
6414                 use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never". -->
6415            <flag name="always" value="2" />
6416            <!-- When this item is shown as an action in the action bar, show a text
6417                 label with it even if it has an icon representation. -->
6418            <flag name="withText" value="4" />
6419            <!-- This item's action view collapses to a normal menu
6420                 item. When expanded, the action view takes over a
6421                 larger segment of its container. -->
6422            <flag name="collapseActionView" value="8" />
6423        </attr>
6424
6425        <!-- An optional layout to be used as an action view.
6426             See {@link android.view.MenuItem#setActionView(android.view.View)}
6427             for more info. -->
6428        <attr name="actionLayout" format="reference" />
6429
6430        <!-- The name of an optional View class to instantiate and use as an
6431             action view. See {@link android.view.MenuItem#setActionView(android.view.View)}
6432             for more info. -->
6433        <attr name="actionViewClass" format="string" />
6434
6435        <!-- The name of an optional ActionProvider class to instantiate an action view
6436             and perform operations such as default action for that menu item.
6437             See {@link android.view.MenuItem#setActionProvider(android.view.ActionProvider)}
6438             for more info. -->
6439        <attr name="actionProviderClass" format="string" />
6440
6441    </declare-styleable>
6442
6443    <!-- Attrbitutes for a ActvityChooserView. -->
6444    <declare-styleable name="ActivityChooserView">
6445        <!-- The maximal number of items initially shown in the activity list. -->
6446        <attr name="initialActivityCount" format="string" />
6447        <!-- The drawable to show in the button for expanding the activities overflow popup.
6448             <strong>Note:</strong> Clients would like to set this drawable
6449             as a clue about the action the chosen activity will perform. For
6450             example, if share activity is to be chosen the drawable should
6451             give a clue that sharing is to be performed.
6452         -->
6453        <attr name="expandActivityOverflowButtonDrawable" format="reference" />
6454    </declare-styleable>
6455
6456    <!-- **************************************************************** -->
6457    <!-- Preferences framework. -->
6458    <!-- **************************************************************** -->
6459    <eat-comment />
6460
6461    <!-- Base attributes available to PreferenceGroup. -->
6462    <declare-styleable name="PreferenceGroup">
6463        <!-- Whether to order the Preference under this group as they appear in the XML file.
6464             If this is false, the ordering will follow the Preference order attribute and
6465             default to alphabetic for those without the order attribute. -->
6466        <attr name="orderingFromXml" format="boolean" />
6467    </declare-styleable>
6468
6469    <!-- Attribute for a header describing the item shown in the top-level list
6470         from which the selects the set of preference to dig in to. -->
6471    <declare-styleable name="PreferenceHeader">
6472        <!-- Identifier value for the header. -->
6473        <attr name="id" />
6474        <!-- The title of the item that is shown to the user. -->
6475        <attr name="title" />
6476        <!-- The summary for the item. -->
6477        <attr name="summary" format="string" />
6478        <!-- The title for the bread crumb of this item. -->
6479        <attr name="breadCrumbTitle" format="string" />
6480        <!-- The short title for the bread crumb of this item. -->
6481        <attr name="breadCrumbShortTitle" format="string" />
6482        <!-- An icon for the item. -->
6483        <attr name="icon" />
6484        <!-- The fragment that is displayed when the user selects this item. -->
6485        <attr name="fragment" format="string" />
6486    </declare-styleable>
6487
6488    <!-- WARNING:  If adding attributes to Preference, make sure it does not conflict
6489                   with a View's attributes.  Some subclasses (e.g., EditTextPreference)
6490                   proxy all attributes to its EditText widget. -->
6491    <eat-comment />
6492
6493    <!-- Base attributes available to Preference. -->
6494    <declare-styleable name="Preference">
6495        <!-- The optional icon for the preference -->
6496        <attr name="icon" />
6497        <!-- The key to store the Preference value. -->
6498        <attr name="key" format="string" />
6499        <!-- The title for the Preference in a PreferenceActivity screen. -->
6500        <attr name="title" />
6501        <!-- The summary for the Preference in a PreferenceActivity screen. -->
6502        <attr name="summary" />
6503        <!-- The order for the Preference (lower values are to be ordered first). If this is not
6504             specified, the default ordering will be alphabetic. -->
6505        <attr name="order" format="integer" />
6506        <!-- When used inside of a modern PreferenceActivity, this declares
6507             a new PreferenceFragment to be shown when the user selects this item. -->
6508        <attr name="fragment" />
6509        <!-- The layout for the Preference in a PreferenceActivity screen. This should
6510             rarely need to be changed, look at widgetLayout instead. -->
6511        <attr name="layout" />
6512        <!-- The layout for the controllable widget portion of a Preference. This is inflated
6513             into the layout for a Preference and should be used more frequently than
6514             the layout attribute. For example, a checkbox preference would specify
6515             a custom layout (consisting of just the CheckBox) here. -->
6516        <attr name="widgetLayout" format="reference" />
6517        <!-- Whether the Preference is enabled. -->
6518        <attr name="enabled" />
6519        <!-- Whether the Preference is selectable. -->
6520        <attr name="selectable" format="boolean" />
6521        <!-- The key of another Preference that this Preference will depend on.  If the other
6522             Preference is not set or is off, this Preference will be disabled. -->
6523        <attr name="dependency" format="string" />
6524        <!-- Whether the Preference stores its value to the shared preferences. -->
6525        <attr name="persistent" />
6526        <!-- The default value for the preference, which will be set either if persistence
6527             is off or persistence is on and the preference is not found in the persistent
6528             storage.  -->
6529        <attr name="defaultValue" format="string|boolean|integer|reference|float" />
6530        <!-- Whether the view of this Preference should be disabled when
6531             this Preference is disabled. -->
6532        <attr name="shouldDisableView" format="boolean" />
6533    </declare-styleable>
6534
6535    <!-- Base attributes available to CheckBoxPreference. -->
6536    <declare-styleable name="CheckBoxPreference">
6537        <!-- The summary for the Preference in a PreferenceActivity screen when the
6538             CheckBoxPreference is checked. If separate on/off summaries are not
6539             needed, the summary attribute can be used instead. -->
6540        <attr name="summaryOn" format="string" />
6541        <!-- The summary for the Preference in a PreferenceActivity screen when the
6542             CheckBoxPreference is unchecked. If separate on/off summaries are not
6543             needed, the summary attribute can be used instead. -->
6544        <attr name="summaryOff" format="string" />
6545        <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
6546             dependents will be disabled when this is unchecked, so the value of this preference is false. -->
6547        <attr name="disableDependentsState" format="boolean" />
6548    </declare-styleable>
6549
6550    <!-- Base attributes available to DialogPreference. -->
6551    <declare-styleable name="DialogPreference">
6552        <!-- The title in the dialog. -->
6553        <attr name="dialogTitle" format="string" />
6554        <!-- The message in the dialog. If a dialogLayout is provided and contains
6555             a TextView with ID android:id/message, this message will be placed in there. -->
6556        <attr name="dialogMessage" format="string" />
6557        <!-- The icon for the dialog. -->
6558        <attr name="dialogIcon" format="reference" />
6559        <!-- The positive button text for the dialog. Set to @null to hide the positive button. -->
6560        <attr name="positiveButtonText" format="string" />
6561        <!-- The negative button text for the dialog. Set to @null to hide the negative button. -->
6562        <attr name="negativeButtonText" format="string" />
6563        <!-- A layout to be used as the content View for the dialog. By default, this shouldn't
6564             be needed. If a custom DialogPreference is required, this should be set. For example,
6565             the EditTextPreference uses a layout with an EditText as this attribute. -->
6566        <attr name="dialogLayout" format="reference" />
6567    </declare-styleable>
6568
6569    <!-- Base attributes available to ListPreference. -->
6570    <declare-styleable name="ListPreference">
6571        <!-- The human-readable array to present as a list. Each entry must have a corresponding
6572             index in entryValues. -->
6573        <attr name="entries" />
6574        <!-- The array to find the value to save for a preference when an entry from
6575             entries is selected. If a user clicks on the second item in entries, the
6576             second item in this array will be saved to the preference. -->
6577        <attr name="entryValues" format="reference" />
6578    </declare-styleable>
6579
6580    <declare-styleable name="MultiSelectListPreference">
6581        <!-- The human-readable array to present as a list. Each entry must have a corresponding
6582             index in entryValues. -->
6583        <attr name="entries" />
6584        <!-- The array to find the value to save for a preference when an entry from
6585             entries is selected. If a user clicks the second item in entries, the
6586             second item in this array will be saved to the preference. -->
6587        <attr name="entryValues" />
6588    </declare-styleable>
6589
6590    <!-- Base attributes available to RingtonePreference. -->
6591    <declare-styleable name="RingtonePreference">
6592        <!-- Which ringtone type(s) to show in the picker. -->
6593        <attr name="ringtoneType">
6594            <!-- Ringtones. -->
6595            <flag name="ringtone" value="1" />
6596            <!-- Notification sounds. -->
6597            <flag name="notification" value="2" />
6598            <!-- Alarm sounds. -->
6599            <flag name="alarm" value="4" />
6600            <!-- All available ringtone sounds. -->
6601            <flag name="all" value="7" />
6602        </attr>
6603        <!-- Whether to show an item for a default sound. -->
6604        <attr name="showDefault" format="boolean" />
6605        <!-- Whether to show an item for 'Silent'. -->
6606        <attr name="showSilent" format="boolean" />
6607    </declare-styleable>
6608
6609    <!-- Base attributes available to VolumePreference. -->
6610    <declare-styleable name="VolumePreference">
6611        <!-- Different audio stream types. -->
6612        <attr name="streamType">
6613            <enum name="voice" value="0" />
6614            <enum name="system" value="1" />
6615            <enum name="ring" value="2" />
6616            <enum name="music" value="3" />
6617            <enum name="alarm" value="4" />
6618        </attr>
6619    </declare-styleable>
6620
6621    <declare-styleable name="InputMethodService">
6622        <!-- Background to use for entire input method when it is being
6623             shown in fullscreen mode with the extract view, to ensure
6624             that it completely covers the application.  This allows,
6625             for example, the candidate view to be hidden
6626             while in fullscreen mode without having the application show through
6627             behind it.-->
6628        <attr name="imeFullscreenBackground" format="reference|color" />
6629        <!-- Animation to use when showing the fullscreen extract UI after
6630             it had previously been hidden. -->
6631        <attr name="imeExtractEnterAnimation" format="reference" />
6632        <!-- Animation to use when hiding the fullscreen extract UI after
6633             it had previously been shown. -->
6634        <attr name="imeExtractExitAnimation" format="reference" />
6635    </declare-styleable>
6636
6637    <declare-styleable name="VoiceInteractionSession">
6638    </declare-styleable>
6639
6640    <declare-styleable name="KeyboardView">
6641        <!-- Default KeyboardView style. -->
6642        <attr name="keyboardViewStyle" format="reference" />
6643
6644        <!-- Image for the key. This image needs to be a StateListDrawable, with the following
6645             possible states: normal, pressed, checkable, checkable+pressed, checkable+checked,
6646             checkable+checked+pressed. -->
6647        <attr name="keyBackground" format="reference" />
6648
6649        <!-- Size of the text for character keys. -->
6650        <attr name="keyTextSize" format="dimension" />
6651
6652        <!-- Size of the text for custom keys with some text and no icon. -->
6653        <attr name="labelTextSize" format="dimension" />
6654
6655        <!-- Color to use for the label in a key. -->
6656        <attr name="keyTextColor" format="color" />
6657
6658        <!-- Layout resource for key press feedback.-->
6659        <attr name="keyPreviewLayout" format="reference" />
6660
6661        <!-- Vertical offset of the key press feedback from the key. -->
6662        <attr name="keyPreviewOffset" format="dimension" />
6663
6664        <!-- Height of the key press feedback popup. -->
6665        <attr name="keyPreviewHeight" format="dimension" />
6666
6667        <!-- Amount to offset the touch Y coordinate by, for bias correction. -->
6668        <attr name="verticalCorrection" format="dimension" />
6669
6670        <!-- Layout resource for popup keyboards. -->
6671        <attr name="popupLayout" format="reference" />
6672
6673        <attr name="shadowColor" />
6674        <attr name="shadowRadius" />
6675    </declare-styleable>
6676
6677    <declare-styleable name="KeyboardViewPreviewState">
6678        <!-- State for {@link android.inputmethodservice.KeyboardView KeyboardView}
6679                key preview background. -->
6680        <attr name="state_long_pressable" format="boolean" />
6681    </declare-styleable>
6682
6683    <declare-styleable name="Keyboard">
6684        <!-- Default width of a key, in pixels or percentage of display width. -->
6685        <attr name="keyWidth" format="dimension|fraction" />
6686        <!-- Default height of a key, in pixels or percentage of display width. -->
6687        <attr name="keyHeight" format="dimension|fraction" />
6688        <!-- Default horizontal gap between keys. -->
6689        <attr name="horizontalGap" format="dimension|fraction" />
6690        <!-- Default vertical gap between rows of keys. -->
6691        <attr name="verticalGap" format="dimension|fraction" />
6692    </declare-styleable>
6693
6694    <declare-styleable name="Keyboard_Row">
6695        <!-- Row edge flags. -->
6696        <attr name="rowEdgeFlags">
6697            <!-- Row is anchored to the top of the keyboard. -->
6698            <flag name="top" value="4" />
6699            <!-- Row is anchored to the bottom of the keyboard. -->
6700            <flag name="bottom" value="8" />
6701        </attr>
6702        <!-- Mode of the keyboard. If the mode doesn't match the
6703             requested keyboard mode, the row will be skipped. -->
6704        <attr name="keyboardMode" format="reference" />
6705    </declare-styleable>
6706
6707    <declare-styleable name="Keyboard_Key">
6708        <!-- The unicode value or comma-separated values that this key outputs. -->
6709        <attr name="codes" format="integer|string" />
6710        <!-- The XML keyboard layout of any popup keyboard. -->
6711        <attr name="popupKeyboard" format="reference" />
6712        <!-- The characters to display in the popup keyboard. -->
6713        <attr name="popupCharacters" format="string" />
6714        <!-- Key edge flags. -->
6715        <attr name="keyEdgeFlags">
6716            <!-- Key is anchored to the left of the keyboard. -->
6717            <flag name="left" value="1" />
6718            <!-- Key is anchored to the right of the keyboard. -->
6719            <flag name="right" value="2" />
6720        </attr>
6721        <!-- Whether this is a modifier key such as Alt or Shift. -->
6722        <attr name="isModifier" format="boolean" />
6723        <!-- Whether this is a toggle key. -->
6724        <attr name="isSticky" format="boolean" />
6725        <!-- Whether long-pressing on this key will make it repeat. -->
6726        <attr name="isRepeatable" format="boolean" />
6727        <!-- The icon to show in the popup preview. -->
6728        <attr name="iconPreview" format="reference" />
6729        <!-- The string of characters to output when this key is pressed. -->
6730        <attr name="keyOutputText" format="string" />
6731        <!-- The label to display on the key. -->
6732        <attr name="keyLabel" format="string" />
6733        <!-- The icon to display on the key instead of the label. -->
6734        <attr name="keyIcon" format="reference" />
6735        <!-- Mode of the keyboard. If the mode doesn't match the
6736             requested keyboard mode, the key will be skipped. -->
6737        <attr name="keyboardMode" />
6738    </declare-styleable>
6739
6740    <!-- =============================== -->
6741    <!-- AppWidget package class attributes -->
6742    <!-- =============================== -->
6743    <eat-comment />
6744
6745    <!-- Use <code>appwidget-provider</code> as the root tag of the XML resource that
6746         describes an AppWidget provider.  See {@link android.appwidget android.appwidget}
6747         package for more info.
6748     -->
6749    <declare-styleable name="AppWidgetProviderInfo">
6750        <!-- Minimum width of the AppWidget. -->
6751        <attr name="minWidth"/>
6752        <!-- Minimum height of the AppWidget. -->
6753        <attr name="minHeight"/>
6754        <!-- Minimum width that the AppWidget can be resized to. -->
6755        <attr name="minResizeWidth" format="dimension"/>
6756        <!-- Minimum height that the AppWidget can be resized to. -->
6757        <attr name="minResizeHeight" format="dimension"/>
6758        <!-- Update period in milliseconds, or 0 if the AppWidget will update itself. -->
6759        <attr name="updatePeriodMillis" format="integer" />
6760        <!-- A resource id of a layout. -->
6761        <attr name="initialLayout" format="reference" />
6762        <!-- A resource id of a layout. -->
6763        <attr name="initialKeyguardLayout" format="reference" />
6764        <!-- A class name in the AppWidget's package to be launched to configure.
6765             If not supplied, then no activity will be launched. -->
6766        <attr name="configure" format="string" />
6767        <!-- A preview of what the AppWidget will look like after it's configured.
6768              If not supplied, the AppWidget's icon will be used. -->
6769        <attr name="previewImage" format="reference" />
6770        <!-- The view id of the AppWidget subview which should be auto-advanced.
6771             by the widget's host. -->
6772        <attr name="autoAdvanceViewId" format="reference" />
6773        <!-- Optional parameter which indicates if and how this widget can be
6774             resized. Supports combined values using | operator. -->
6775        <attr name="resizeMode" format="integer">
6776            <flag name="none" value="0x0" />
6777            <flag name="horizontal" value="0x1" />
6778            <flag name="vertical" value="0x2" />
6779        </attr>
6780        <!-- Optional parameter which indicates where this widget can be shown,
6781             ie. home screen, keyguard, search bar or any combination thereof.
6782             Supports combined values using | operator. -->
6783        <attr name="widgetCategory" format="integer">
6784            <flag name="home_screen" value="0x1" />
6785            <flag name="keyguard" value="0x2" />
6786            <flag name="searchbox" value="0x4" />
6787        </attr>
6788    </declare-styleable>
6789
6790    <!-- =============================== -->
6791    <!-- Wallpaper preview attributes    -->
6792    <!-- =============================== -->
6793    <eat-comment />
6794
6795    <!-- Use <code>wallpaper-preview</code> as the root tag of the XML resource that
6796         describes a wallpaper preview. -->
6797    <declare-styleable name="WallpaperPreviewInfo">
6798        <!-- A resource id of a static drawable. -->
6799        <attr name="staticWallpaperPreview" format="reference" />
6800    </declare-styleable>
6801
6802    <!-- =============================== -->
6803    <!-- App package class attributes -->
6804    <!-- =============================== -->
6805    <eat-comment />
6806
6807    <!-- ============================= -->
6808    <!-- View package class attributes -->
6809    <!-- ============================= -->
6810    <eat-comment />
6811
6812    <!-- Attributes that can be used with <code>&lt;fragment&gt;</code>
6813         tags inside of the layout of an Activity.  This instantiates
6814         the given {@link android.app.Fragment} and inserts its content
6815         view into the current location in the layout. -->
6816    <declare-styleable name="Fragment">
6817        <!-- Supply the name of the fragment class to instantiate. -->
6818        <attr name="name" />
6819
6820        <!-- Supply an identifier name for the top-level view, to later retrieve it
6821             with {@link android.view.View#findViewById View.findViewById()} or
6822             {@link android.app.Activity#findViewById Activity.findViewById()}.
6823             This must be a
6824             resource reference; typically you set this using the
6825             <code>@+</code> syntax to create a new ID resources.
6826             For example: <code>android:id="@+id/my_id"</code> which
6827             allows you to later retrieve the view
6828             with <code>findViewById(R.id.my_id)</code>. -->
6829        <attr name="id" />
6830
6831        <!-- Supply a tag for the top-level view containing a String, to be retrieved
6832             later with {@link android.view.View#getTag View.getTag()} or
6833             searched for with {@link android.view.View#findViewWithTag
6834             View.findViewWithTag()}.  It is generally preferable to use
6835             IDs (through the android:id attribute) instead of tags because
6836             they are faster and allow for compile-time type checking. -->
6837        <attr name="tag" />
6838
6839        <!-- The Transition that will be used to move Views out of the scene when the
6840             fragment is removed, hidden, or detached when not popping the back stack.
6841             Corresponds to {@link android.app.Fragment#setExitTransition(
6842             android.transition.Transition)} -->
6843        <attr name="fragmentExitTransition" format="reference"/>
6844
6845        <!-- The Transition that will be used to move Views into the initial scene.
6846             Corresponds to {@link android.app.Fragment#setEnterTransition(
6847             android.transition.Transition)} -->
6848        <attr name="fragmentEnterTransition" format="reference"/>
6849
6850        <!-- The Transition that will be used for shared elements transferred into the content
6851             Scene.
6852             Corresponds to {@link android.app.Fragment#setSharedElementEnterTransition(
6853             android.transition.Transition)} -->
6854        <attr name="fragmentSharedElementEnterTransition" format="reference"/>
6855
6856        <!-- The Transition that will be used to move Views out of the scene when the Fragment is
6857             preparing to be removed, hidden, or detached because of popping the back stack.
6858             Corresponds to {@link android.app.Fragment#setReturnTransition(
6859             android.transition.Transition)} -->
6860        <attr name="fragmentReturnTransition" format="reference"/>
6861
6862        <!-- The Transition that will be used for shared elements transferred back during a
6863             pop of the back stack. This Transition acts in the leaving Fragment.
6864             Corresponds to {@link android.app.Fragment#setSharedElementReturnTransition(
6865             android.transition.Transition)} -->
6866        <attr name="fragmentSharedElementReturnTransition" format="reference"/>
6867
6868        <!-- The Transition that will be used to move Views in to the scene when returning due
6869             to popping a back stack.
6870             Corresponds to {@link android.app.Fragment#setReenterTransition(
6871             android.transition.Transition)} -->
6872        <attr name="fragmentReenterTransition" format="reference"/>
6873
6874        <!-- Sets whether the enter and exit transitions should overlap when transitioning
6875             forward.
6876             Corresponds to {@link android.app.Fragment#setAllowEnterTransitionOverlap(
6877             boolean)} -->
6878        <attr name="fragmentAllowEnterTransitionOverlap" format="reference"/>
6879
6880        <!-- Sets whether the enter and exit transitions should overlap when transitioning
6881             because of popping the back stack.
6882             Corresponds to {@link android.app.Fragment#setAllowReturnTransitionOverlap(
6883             boolean)} -->
6884        <attr name="fragmentAllowReturnTransitionOverlap" format="reference"/>
6885    </declare-styleable>
6886
6887    <!-- Use <code>device-admin</code> as the root tag of the XML resource that
6888         describes a
6889         {@link android.app.admin.DeviceAdminReceiver}, which is
6890         referenced from its
6891         {@link android.app.admin.DeviceAdminReceiver#DEVICE_ADMIN_META_DATA}
6892         meta-data entry.  Described here are the attributes that can be
6893         included in that tag. -->
6894    <declare-styleable name="DeviceAdmin">
6895        <!-- Control whether the admin is visible to the user, even when it
6896             is not enabled.  This is true by default.  You may want to make
6897             it false if your admin does not make sense to be turned on
6898             unless some explicit action happens in your app. -->
6899        <attr name="visible" />
6900    </declare-styleable>
6901
6902    <!-- Use <code>wallpaper</code> as the root tag of the XML resource that
6903         describes an
6904         {@link android.service.wallpaper.WallpaperService}, which is
6905         referenced from its
6906         {@link android.service.wallpaper.WallpaperService#SERVICE_META_DATA}
6907         meta-data entry.  Described here are the attributes that can be
6908         included in that tag. -->
6909    <declare-styleable name="Wallpaper">
6910        <attr name="settingsActivity" />
6911
6912        <!-- Reference to a the wallpaper's thumbnail bitmap. -->
6913        <attr name="thumbnail" format="reference" />
6914
6915        <!-- Name of the author of this component, e.g. Google. -->
6916        <attr name="author" format="reference" />
6917
6918        <!-- Short description of the component's purpose or behavior. -->
6919        <attr name="description" />
6920    </declare-styleable>
6921
6922    <!-- Use <code>dream</code> as the root tag of the XML resource that
6923         describes an
6924         {@link android.service.dreams.DreamService}, which is
6925         referenced from its
6926         {@link android.service.dreams.DreamService#DREAM_META_DATA}
6927         meta-data entry.  Described here are the attributes that can be
6928         included in that tag. -->
6929    <declare-styleable name="Dream">
6930        <!-- Component name of an activity that allows the user to modify
6931             the settings for this dream. -->
6932        <attr name="settingsActivity" />
6933    </declare-styleable>
6934
6935    <!-- @SystemApi Use <code>trust-agent</code> as the root tag of the XML resource that
6936         describes an {@link android.service.trust.TrustAgentService}, which is
6937         referenced from its {@link android.service.trust.TrustAgentService#TRUST_AGENT_META_DATA}
6938         meta-data entry.  Described here are the attributes that can be included in that tag.
6939         @hide -->
6940    <declare-styleable name="TrustAgent">
6941        <!-- @SystemApi Component name of an activity that allows the user to modify
6942             the settings for this trust agent. @hide -->
6943        <attr name="settingsActivity" />
6944        <!-- @SystemApi Title for a preference that allows that user to launch the
6945             activity to modify trust agent settings. @hide -->
6946        <attr name="title" />
6947        <!-- @SystemApi Summary for the same preference as the title. @hide -->
6948        <attr name="summary" />
6949    </declare-styleable>
6950
6951    <!-- =============================== -->
6952    <!-- Accounts package class attributes -->
6953    <!-- =============================== -->
6954    <eat-comment />
6955
6956    <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
6957         describes an account authenticator.
6958     -->
6959    <declare-styleable name="AccountAuthenticator">
6960        <!-- The account type this authenticator handles. -->
6961        <attr name="accountType" format="string"/>
6962        <!-- The user-visible name of the authenticator. -->
6963        <attr name="label"/>
6964        <!-- The icon of the authenticator. -->
6965        <attr name="icon"/>
6966        <!-- Smaller icon of the authenticator. -->
6967        <attr name="smallIcon" format="reference"/>
6968        <!-- A preferences.xml file for authenticator-specific settings. -->
6969        <attr name="accountPreferences" format="reference"/>
6970        <!-- Account handles its own token storage and permissions.
6971             Default to false
6972          -->
6973        <attr name="customTokens" format="boolean"/>
6974    </declare-styleable>
6975
6976    <!-- =============================== -->
6977    <!-- Accounts package class attributes -->
6978    <!-- =============================== -->
6979    <eat-comment />
6980
6981    <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
6982         describes an account authenticator.
6983     -->
6984    <declare-styleable name="SyncAdapter">
6985        <!-- the authority of a content provider. -->
6986        <attr name="contentAuthority" format="string"/>
6987        <attr name="accountType"/>
6988        <attr name="userVisible" format="boolean"/>
6989        <attr name="supportsUploading" format="boolean"/>
6990        <!-- Set to true to tell the SyncManager that this SyncAdapter supports
6991             multiple simultaneous syncs for the same account type and authority.
6992             Otherwise the SyncManager will be sure not to issue a start sync request
6993             to this SyncAdapter if the SyncAdapter is already syncing another account.
6994             Defaults to false.
6995             -->
6996        <attr name="allowParallelSyncs" format="boolean"/>
6997        <!-- Set to true to tell the SyncManager to automatically call setIsSyncable(..., ..., 1)
6998             for the SyncAdapter instead of issuaing an initialization sync to the SyncAdapter.
6999             Defaults to false.
7000             -->
7001        <attr name="isAlwaysSyncable" format="boolean"/>
7002        <!-- If provided, specifies the action of the settings
7003             activity for this SyncAdapter.
7004             -->
7005        <attr name="settingsActivity"/>
7006    </declare-styleable>
7007
7008    <!-- =============================== -->
7009    <!-- Contacts meta-data attributes -->
7010    <!-- =============================== -->
7011    <eat-comment />
7012
7013    <!-- TODO: remove this deprecated styleable. -->
7014    <eat-comment />
7015    <declare-styleable name="Icon">
7016        <attr name="icon" />
7017        <attr name="mimeType" />
7018    </declare-styleable>
7019
7020    <!-- TODO: remove this deprecated styleable -->
7021    <eat-comment />
7022    <declare-styleable name="IconDefault">
7023        <attr name="icon" />
7024    </declare-styleable>
7025
7026    <!-- Maps a specific contact data MIME-type to styling information. -->
7027    <declare-styleable name="ContactsDataKind">
7028        <!-- Mime-type handled by this mapping. -->
7029        <attr name="mimeType" />
7030        <!-- Icon used to represent data of this kind. -->
7031        <attr name="icon" />
7032        <!-- Column in data table that summarizes this data. -->
7033        <attr name="summaryColumn" format="string" />
7034        <!-- Column in data table that contains details for this data. -->
7035        <attr name="detailColumn" format="string" />
7036        <!-- Flag indicating that detail should be built from SocialProvider. -->
7037        <attr name="detailSocialSummary" format="boolean" />
7038        <!-- Resource representing the term "All Contacts" (e.g. "All Friends" or
7039        "All connections"). Optional (Default is "All Contacts"). -->
7040        <attr name="allContactsName" format="string" />
7041    </declare-styleable>
7042
7043    <!-- =============================== -->
7044    <!-- TabSelector class attributes -->
7045    <!-- =============================== -->
7046    <eat-comment />
7047
7048    <declare-styleable name="SlidingTab">
7049        <!-- Use "horizontal" for a row, "vertical" for a column.  The default is horizontal. -->
7050        <attr name="orientation" />
7051    </declare-styleable>
7052
7053    <!-- =============================== -->
7054    <!-- GlowPadView class attributes -->
7055    <!-- =============================== -->
7056    <eat-comment />
7057    <declare-styleable name="GlowPadView">
7058        <!-- Reference to an array resource that be used as description for the targets around the circle.
7059             {@deprecated Removed.} -->
7060        <attr name="targetDescriptions" format="reference" />
7061
7062        <!-- Reference to an array resource that be used to announce the directions with targets around the circle.
7063             {@deprecated Removed.}-->
7064        <attr name="directionDescriptions" format="reference" />
7065    </declare-styleable>
7066
7067    <!-- =============================== -->
7068    <!-- Location package class attributes -->
7069    <!-- =============================== -->
7070    <eat-comment />
7071
7072    <!-- Use <code>injected-location-setting</code> as the root tag of the XML resource that
7073         describes an injected "Location services" setting. Note that the status value (subtitle)
7074         for the setting is specified dynamically by a subclass of SettingInjectorService.
7075     -->
7076    <declare-styleable name="SettingInjectorService">
7077        <!-- The title for the preference. -->
7078        <attr name="title"/>
7079        <!-- The icon for the preference, should refer to all apps covered by the setting. Typically
7080             a generic icon for the developer. -->
7081        <attr name="icon"/>
7082        <!-- The activity to launch when the setting is clicked on. -->
7083        <attr name="settingsActivity"/>
7084    </declare-styleable>
7085
7086    <!-- =============================== -->
7087    <!-- LockPatternView class attributes -->
7088    <!-- =============================== -->
7089    <eat-comment />
7090
7091    <declare-styleable name="LockPatternView">
7092        <!-- Aspect to use when drawing LockPatternView. Choices are "square"(default), "lock_width"
7093             or "lock_height" -->
7094        <attr name="aspect" format="string" />
7095        <!-- Color to use when drawing LockPatternView paths. -->
7096        <attr name="pathColor" format="color|reference" />
7097        <!-- The regular pattern color -->
7098        <attr name="regularColor" format="color|reference" />
7099        <!-- The error color -->
7100        <attr name="errorColor" format="color|reference" />
7101        <!-- The success color -->
7102        <attr name="successColor" format="color|reference"/>
7103    </declare-styleable>
7104
7105    <!-- Use <code>recognition-service</code> as the root tag of the XML resource that
7106         describes a {@link android.speech.RecognitionService}, which is referenced from
7107         its {@link android.speech.RecognitionService#SERVICE_META_DATA} meta-data entry.
7108         Described here are the attributes that can be included in that tag. -->
7109    <declare-styleable name="RecognitionService">
7110        <attr name="settingsActivity" />
7111    </declare-styleable>
7112
7113    <!-- Use <code>voice-interaction-service</code> as the root tag of the XML resource that
7114         describes a {@link android.service.voice.VoiceInteractionService}, which is referenced from
7115         its {@link android.service.voice.VoiceInteractionService#SERVICE_META_DATA} meta-data entry.
7116         Described here are the attributes that can be included in that tag. -->
7117    <declare-styleable name="VoiceInteractionService">
7118        <!-- The service that hosts active voice interaction sessions.  This is required. -->
7119        <attr name="sessionService" format="string" />
7120        <!-- The service that provides voice recognition.  This is required.  When the user
7121             selects this voice interaction service, they will also be implicitly selecting
7122             the component here for their recognition service. -->
7123        <attr name="recognitionService" format="string" />
7124        <attr name="settingsActivity" />
7125    </declare-styleable>
7126
7127    <!-- Use <code>voice-enrollment-application</code>
7128         as the root tag of the XML resource that escribes the supported keyphrases (hotwords)
7129         by the enrollment application.
7130         Described here are the attributes that can be included in that tag.
7131         @hide
7132         @SystemApi -->
7133    <declare-styleable name="VoiceEnrollmentApplication">
7134        <!-- A globally unique ID for the keyphrase. @hide @SystemApi -->
7135        <attr name="searchKeyphraseId" format="integer" />
7136        <!-- The actual keyphrase/hint text, or empty if not keyphrase dependent. @hide @SystemApi -->
7137        <attr name="searchKeyphrase" format="string" />
7138        <!-- A comma separated list of BCP-47 language tag for locales that are supported
7139             for this keyphrase, or empty if not locale dependent. @hide @SystemApi -->
7140        <attr name="searchKeyphraseSupportedLocales" format="string" />
7141        <!-- Flags for supported recognition modes. @hide @SystemApi -->
7142        <attr name="searchKeyphraseRecognitionFlags">
7143            <flag name="none" value="0" />
7144            <flag name="voiceTrigger" value="0x1" />
7145            <flag name="userIdentification" value="0x2" />
7146        </attr>
7147    </declare-styleable>
7148
7149    <!-- Attributes used to style the Action Bar. -->
7150    <declare-styleable name="ActionBar">
7151        <!-- The type of navigation to use. -->
7152        <attr name="navigationMode">
7153            <!-- Normal static title text -->
7154            <enum name="normal" value="0" />
7155            <!-- The action bar will use a selection list for navigation. -->
7156            <enum name="listMode" value="1" />
7157            <!-- The action bar will use a series of horizontal tabs for navigation. -->
7158            <enum name="tabMode" value="2" />
7159        </attr>
7160        <!-- Options affecting how the action bar is displayed. -->
7161        <attr name="displayOptions">
7162            <flag name="none" value="0" />
7163            <flag name="useLogo" value="0x1" />
7164            <flag name="showHome" value="0x2" />
7165            <flag name="homeAsUp" value="0x4" />
7166            <flag name="showTitle" value="0x8" />
7167            <flag name="showCustom" value="0x10" />
7168            <flag name="disableHome" value="0x20" />
7169        </attr>
7170        <!-- Specifies title text used for navigationMode="normal" -->
7171        <attr name="title" />
7172        <!-- Specifies subtitle text used for navigationMode="normal" -->
7173        <attr name="subtitle" format="string" />
7174        <!-- Specifies a style to use for title text. -->
7175        <attr name="titleTextStyle" format="reference" />
7176        <!-- Specifies a style to use for subtitle text. -->
7177        <attr name="subtitleTextStyle" format="reference" />
7178        <!-- Specifies the drawable used for the application icon. -->
7179        <attr name="icon" />
7180        <!-- Specifies the drawable used for the application logo. -->
7181        <attr name="logo" />
7182        <!-- Specifies the drawable used for item dividers. -->
7183        <attr name="divider" />
7184        <!-- Specifies a background drawable for the action bar. -->
7185        <attr name="background" />
7186        <!-- Specifies a background drawable for a second stacked row of the action bar. -->
7187        <attr name="backgroundStacked" format="reference|color" />
7188        <!-- Specifies a background drawable for the bottom component of a split action bar. -->
7189        <attr name="backgroundSplit" format="reference|color" />
7190        <!-- Specifies a layout for custom navigation. Overrides navigationMode. -->
7191        <attr name="customNavigationLayout" format="reference" />
7192        <!-- Specifies a fixed height. -->
7193        <attr name="height" />
7194        <!-- Specifies a layout to use for the "home" section of the action bar. -->
7195        <attr name="homeLayout" format="reference" />
7196        <!-- Specifies a style resource to use for an embedded progress bar. -->
7197        <attr name="progressBarStyle" />
7198        <!-- Specifies a style resource to use for an indeterminate progress spinner. -->
7199        <attr name="indeterminateProgressStyle" format="reference" />
7200        <!-- Specifies the horizontal padding on either end for an embedded progress bar. -->
7201        <attr name="progressBarPadding" format="dimension" />
7202        <!-- Up navigation glyph -->
7203        <attr name="homeAsUpIndicator" />
7204        <!-- Specifies padding that should be applied to the left and right sides of
7205             system-provided items in the bar. -->
7206        <attr name="itemPadding" format="dimension" />
7207        <!-- Set true to hide the action bar on a vertical nested scroll of content. -->
7208        <attr name="hideOnContentScroll" format="boolean" />
7209        <!-- Minimum inset for content views within a bar. Navigation buttons and
7210             menu views are excepted. Only valid for some themes and configurations. -->
7211        <attr name="contentInsetStart" format="dimension" />
7212        <!-- Minimum inset for content views within a bar. Navigation buttons and
7213             menu views are excepted. Only valid for some themes and configurations. -->
7214        <attr name="contentInsetEnd" format="dimension" />
7215        <!-- Minimum inset for content views within a bar. Navigation buttons and
7216             menu views are excepted. Only valid for some themes and configurations. -->
7217        <attr name="contentInsetLeft" format="dimension" />
7218        <!-- Minimum inset for content views within a bar. Navigation buttons and
7219             menu views are excepted. Only valid for some themes and configurations. -->
7220        <attr name="contentInsetRight" format="dimension" />
7221        <!-- Elevation for the action bar itself -->
7222        <attr name="elevation" />
7223        <!-- Reference to a theme that should be used to inflate popups
7224             shown by widgets in the action bar. -->
7225        <attr name="popupTheme" />
7226    </declare-styleable>
7227
7228    <declare-styleable name="ActionMode">
7229        <!-- Specifies a style to use for title text. -->
7230        <attr name="titleTextStyle" />
7231        <!-- Specifies a style to use for subtitle text. -->
7232        <attr name="subtitleTextStyle" />
7233        <!-- Specifies a background for the action mode bar. -->
7234        <attr name="background" />
7235        <!-- Specifies a background for the split action mode bar. -->
7236        <attr name="backgroundSplit" />
7237        <!-- Specifies a fixed height for the action mode bar. -->
7238        <attr name="height" />
7239        <!-- Specifies a layout to use for the "close" item at the starting edge. -->
7240        <attr name="closeItemLayout" format="reference" />
7241    </declare-styleable>
7242
7243    <declare-styleable name="SearchView">
7244        <!-- The layout to use for the search view. -->
7245        <attr name="layout" />
7246        <!-- The default state of the SearchView. If true, it will be iconified when not in
7247             use and expanded when clicked. -->
7248        <attr name="iconifiedByDefault" format="boolean" />
7249        <!-- An optional maximum width of the SearchView. -->
7250        <attr name="maxWidth" />
7251        <!-- An optional query hint string to be displayed in the empty query field. -->
7252        <attr name="queryHint" format="string" />
7253        <!-- The IME options to set on the query text field. -->
7254        <attr name="imeOptions" />
7255        <!-- The input type to set on the query text field. -->
7256        <attr name="inputType" />
7257        <!-- Close button icon -->
7258        <attr name="closeIcon" format="reference" />
7259        <!-- Go button icon -->
7260        <attr name="goIcon" format="reference" />
7261        <!-- Search icon -->
7262        <attr name="searchIcon" format="reference" />
7263        <!-- Search icon displayed as a text field hint -->
7264        <attr name="searchHintIcon" format="reference" />
7265        <!-- Voice button icon -->
7266        <attr name="voiceIcon" format="reference" />
7267        <!-- Commit icon shown in the query suggestion row -->
7268        <attr name="commitIcon" format="reference" />
7269        <!-- Layout for query suggestion rows -->
7270        <attr name="suggestionRowLayout" format="reference" />
7271        <!-- Background for the section containing the search query -->
7272        <attr name="queryBackground" format="reference" />
7273        <!-- Background for the section containing the action (e.g. voice search) -->
7274        <attr name="submitBackground" format="reference" />
7275        <attr name="focusable" />
7276    </declare-styleable>
7277
7278    <declare-styleable name="Switch">
7279        <!-- Drawable to use as the "thumb" that switches back and forth. -->
7280        <attr name="thumb" />
7281        <!-- Tint to apply to the thumb. -->
7282        <attr name="thumbTint" />
7283        <!-- Blending mode used to apply the thumb tint. -->
7284        <attr name="thumbTintMode" />
7285        <!-- Drawable to use as the "track" that the switch thumb slides within. -->
7286        <attr name="track" format="reference" />
7287        <!-- Tint to apply to the track. -->
7288        <attr name="trackTint" format="color" />
7289        <!-- Blending mode used to apply the track tint. -->
7290        <attr name="trackTintMode">
7291            <!-- The tint is drawn on top of the drawable.
7292                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
7293            <enum name="src_over" value="3" />
7294            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
7295                 color channels are thrown out. [Sa * Da, Sc * Da] -->
7296            <enum name="src_in" value="5" />
7297            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
7298                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
7299            <enum name="src_atop" value="9" />
7300            <!-- Multiplies the color and alpha channels of the drawable with those of
7301                 the tint. [Sa * Da, Sc * Dc] -->
7302            <enum name="multiply" value="14" />
7303            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
7304            <enum name="screen" value="15" />
7305            <!-- Combines the tint and drawable color and alpha channels, clamping the
7306                 result to valid color values. Saturate(S + D) -->
7307            <enum name="add" value="16" />
7308        </attr>
7309        <!-- Text to use when the switch is in the checked/"on" state. -->
7310        <attr name="textOn" />
7311        <!-- Text to use when the switch is in the unchecked/"off" state. -->
7312        <attr name="textOff" />
7313        <!-- Amount of padding on either side of text within the switch thumb. -->
7314        <attr name="thumbTextPadding" format="dimension" />
7315        <!-- TextAppearance style for text displayed on the switch thumb. -->
7316        <attr name="switchTextAppearance" format="reference" />
7317        <!-- Minimum width for the switch component -->
7318        <attr name="switchMinWidth" format="dimension" />
7319        <!-- Minimum space between the switch and caption text -->
7320        <attr name="switchPadding" format="dimension" />
7321        <!-- Whether to split the track and leave a gap for the thumb drawable. -->
7322        <attr name="splitTrack" />
7323        <!-- Whether to draw on/off text. -->
7324        <attr name="showText" format="boolean" />
7325    </declare-styleable>
7326
7327    <declare-styleable name="Pointer">
7328        <!-- Reference to a pointer icon drawable with STYLE_ARROW -->
7329        <attr name="pointerIconArrow" format="reference" />
7330        <!-- Reference to a pointer icon drawable with STYLE_SPOT_HOVER -->
7331        <attr name="pointerIconSpotHover" format="reference" />
7332        <!-- Reference to a pointer icon drawable with STYLE_SPOT_TOUCH -->
7333        <attr name="pointerIconSpotTouch" format="reference" />
7334        <!-- Reference to a pointer icon drawable with STYLE_SPOT_ANCHOR -->
7335        <attr name="pointerIconSpotAnchor" format="reference" />
7336    </declare-styleable>
7337
7338    <declare-styleable name="PointerIcon">
7339        <!-- Drawable to use as the icon bitmap. -->
7340        <attr name="bitmap" format="reference" />
7341        <!-- X coordinate of the icon hot spot. -->
7342        <attr name="hotSpotX" format="dimension" />
7343        <!-- Y coordinate of the icon hot spot. -->
7344        <attr name="hotSpotY" format="dimension" />
7345    </declare-styleable>
7346
7347    <declare-styleable name="Storage">
7348        <!-- path to mount point for the storage -->
7349        <attr name="mountPoint" format="string" />
7350        <!-- user visible description of the storage -->
7351        <attr name="storageDescription" format="string" />
7352        <!-- true if the storage is the primary external storage -->
7353        <attr name="primary" format="boolean" />
7354        <!-- true if the storage is removable -->
7355        <attr name="removable" format="boolean" />
7356        <!-- true if the storage is emulated via the FUSE sdcard daemon -->
7357        <attr name="emulated" format="boolean" />
7358        <!-- number of megabytes of storage MTP should reserve for free storage
7359             (used for emulated storage that is shared with system's data partition) -->
7360        <attr name="mtpReserve" format="integer" />
7361        <!-- true if the storage can be shared via USB mass storage -->
7362        <attr name="allowMassStorage" format="boolean" />
7363        <!-- maximum file size for the volume in megabytes, zero or unspecified if it is unbounded -->
7364        <attr name="maxFileSize" format="integer" />
7365    </declare-styleable>
7366
7367    <declare-styleable name="SwitchPreference">
7368        <!-- The summary for the Preference in a PreferenceActivity screen when the
7369             SwitchPreference is checked. If separate on/off summaries are not
7370             needed, the summary attribute can be used instead. -->
7371        <attr name="summaryOn" />
7372        <!-- The summary for the Preference in a PreferenceActivity screen when the
7373             SwitchPreference is unchecked. If separate on/off summaries are not
7374             needed, the summary attribute can be used instead. -->
7375        <attr name="summaryOff" />
7376        <!-- The text used on the switch itself when in the "on" state.
7377             This should be a very SHORT string, as it appears in a small space. -->
7378        <attr name="switchTextOn" format="string" />
7379        <!-- The text used on the switch itself when in the "off" state.
7380             This should be a very SHORT string, as it appears in a small space. -->
7381        <attr name="switchTextOff" format="string" />
7382        <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
7383             dependents will be disabled when this is unchecked, so the value of this preference is false. -->
7384        <attr name="disableDependentsState" />
7385    </declare-styleable>
7386
7387    <declare-styleable name="SeekBarPreference">
7388        <attr name="layout" />
7389    </declare-styleable>
7390
7391    <!-- Base attributes available to PreferenceFragment. -->
7392    <declare-styleable name="PreferenceFragment">
7393        <!-- The layout for the PreferenceFragment. This should rarely need to be changed. -->
7394        <attr name="layout" />
7395    </declare-styleable>
7396
7397    <!-- Base attributes available to PreferenceActivity. -->
7398    <declare-styleable name="PreferenceActivity">
7399        <!-- The layout for the Preference Activity. This should rarely need to be changed. -->
7400        <attr name="layout" />
7401        <!-- The layout for the Preference Header. This should rarely need to be changed. -->
7402        <attr name="headerLayout" format="reference" />
7403        <!-- true if the Icon view will be removed when there is none and thus not showing
7404             the fixed margins. -->
7405        <attr name="headerRemoveIconIfEmpty" format="boolean" />
7406    </declare-styleable>
7407
7408    <!-- Use <code>tts-engine</code> as the root tag of the XML resource that
7409         describes a text to speech engine implemented as a subclass of
7410         {@link android.speech.tts.TextToSpeechService}.
7411
7412         The XML resource must be referenced from its
7413         {@link android.speech.tts.TextToSpeech.Engine#SERVICE_META_DATA} meta-data
7414         entry. -->
7415    <declare-styleable name="TextToSpeechEngine">
7416        <attr name="settingsActivity" />
7417    </declare-styleable>
7418
7419    <!-- Use <code>keyboard-layouts</code> as the root tag of the XML resource that
7420         describes a collection of keyboard layouts provided by an application.
7421         Each keyboard layout is declared by a <code>keyboard-layout</code> tag
7422         with these attributes.
7423
7424         The XML resource that contains the keyboard layouts must be referenced from its
7425         {@link android.hardware.input.InputManager#META_DATA_KEYBOARD_LAYOUTS}
7426         meta-data entry used with broadcast receivers for
7427         {@link android.hardware.input.InputManager#ACTION_QUERY_KEYBOARD_LAYOUTS}. -->
7428    <declare-styleable name="KeyboardLayout">
7429        <!-- The name of the keyboard layout, must be unique in the receiver. -->
7430        <attr name="name" />
7431        <!-- The display label of the keyboard layout. -->
7432        <attr name="label" />
7433        <!-- The key character map file resource. -->
7434        <attr name="keyboardLayout" format="reference" />
7435    </declare-styleable>
7436
7437    <declare-styleable name="MediaRouteButton">
7438        <!-- This drawable is a state list where the "activated" state
7439             indicates active media routing. Non-activated indicates
7440             that media is playing to the local device only.
7441             @hide -->
7442        <attr name="externalRouteEnabledDrawable" format="reference" />
7443
7444        <!-- The types of media routes the button and its resulting
7445             chooser will filter by. -->
7446        <attr name="mediaRouteTypes" format="integer">
7447            <!-- Allow selection of live audio routes. -->
7448            <enum name="liveAudio" value="0x1" />
7449            <!-- Allow selection of user (app-specified) routes. -->
7450            <enum name="user" value="0x800000" />
7451        </attr>
7452
7453        <attr name="minWidth" />
7454        <attr name="minHeight" />
7455    </declare-styleable>
7456
7457    <!-- PagedView specific attributes. These attributes are used to customize
7458         a PagedView view in XML files. -->
7459    <declare-styleable name="PagedView">
7460        <!-- The space between adjacent pages of the PagedView. -->
7461        <attr name="pageSpacing" format="dimension" />
7462        <!-- The padding for the scroll indicator area -->
7463        <attr name="scrollIndicatorPaddingLeft" format="dimension" />
7464        <attr name="scrollIndicatorPaddingRight" format="dimension" />
7465    </declare-styleable>
7466
7467    <declare-styleable name="KeyguardGlowStripView">
7468        <attr name="dotSize" format="dimension" />
7469        <attr name="numDots" format="integer" />
7470        <attr name="glowDot" format="reference" />
7471        <attr name="leftToRight" format="boolean" />
7472    </declare-styleable>
7473
7474    <!-- Some child types have special behavior. -->
7475    <attr name="layout_childType">
7476        <!-- No special behavior. Layout will proceed as normal. -->
7477        <enum name="none" value="0" />
7478        <!-- Widget container.
7479             This will be resized in response to certain events. -->
7480        <enum name="widget" value="1" />
7481        <!-- Security challenge container.
7482             This will be dismissed/shown in response to certain events,
7483             possibly obscuring widget elements. -->
7484        <enum name="challenge" value="2" />
7485        <!-- User switcher.
7486             This will consume space from the total layout area. -->
7487        <enum name="userSwitcher" value="3" />
7488        <!-- Scrim. This will block access to child views that
7489             come before it in the child list in bouncer mode. -->
7490        <enum name="scrim" value="4" />
7491        <!-- The home for widgets. All widgets will be descendents of this. -->
7492        <enum name="widgets" value="5" />
7493        <!-- This is a handle that is used for expanding the
7494             security challenge container when it is collapsed. -->
7495        <enum name="expandChallengeHandle" value="6" />
7496        <!-- Delete drop target.  This will be the drop target to delete pages. -->
7497        <enum name="pageDeleteDropTarget" value="7" />
7498    </attr>
7499
7500    <!-- Attributes that can be used with <code>&lt;FragmentBreadCrumbs&gt;</code>
7501    tags. -->
7502    <declare-styleable name="FragmentBreadCrumbs">
7503        <attr name="gravity" />
7504        <attr name="itemLayout" format="reference" />
7505        <attr name="itemColor" format="color|reference" />
7506    </declare-styleable>
7507
7508    <declare-styleable name="Toolbar">
7509        <attr name="titleTextAppearance" format="reference" />
7510        <attr name="subtitleTextAppearance" format="reference" />
7511        <attr name="title" />
7512        <attr name="subtitle" />
7513        <attr name="gravity" />
7514        <attr name="titleMargins" format="dimension" />
7515        <attr name="titleMarginStart" format="dimension" />
7516        <attr name="titleMarginEnd" format="dimension" />
7517        <attr name="titleMarginTop" format="dimension" />
7518        <attr name="titleMarginBottom" format="dimension" />
7519        <attr name="contentInsetStart" />
7520        <attr name="contentInsetEnd" />
7521        <attr name="contentInsetLeft" />
7522        <attr name="contentInsetRight" />
7523        <attr name="maxButtonHeight" format="dimension" />
7524        <attr name="navigationButtonStyle" format="reference" />
7525        <attr name="buttonGravity">
7526            <!-- Push object to the top of its container, not changing its size. -->
7527            <flag name="top" value="0x30" />
7528            <!-- Push object to the bottom of its container, not changing its size. -->
7529            <flag name="bottom" value="0x50" />
7530        </attr>
7531        <!-- Icon drawable to use for the collapse button. -->
7532        <attr name="collapseIcon" format="reference" />
7533        <!-- Text to set as the content description for the collapse button. -->
7534        <attr name="collapseContentDescription" format="string" />
7535        <!-- Reference to a theme that should be used to inflate popups
7536             shown by widgets in the toolbar. -->
7537        <attr name="popupTheme" format="reference" />
7538        <!-- Icon drawable to use for the navigation button located at
7539             the start of the toolbar. -->
7540        <attr name="navigationIcon" format="reference" />
7541        <!-- Text to set as the content description for the navigation button
7542             located at the start of the toolbar. -->
7543        <attr name="navigationContentDescription" format="string" />
7544    </declare-styleable>
7545
7546    <declare-styleable name="Toolbar_LayoutParams">
7547        <attr name="layout_gravity" />
7548    </declare-styleable>
7549
7550    <declare-styleable name="ActionBar_LayoutParams">
7551        <attr name="layout_gravity" />
7552    </declare-styleable>
7553
7554    <!-- Used as a filter array on the theme to pull out only the EdgeEffect-relevant bits. -->
7555    <declare-styleable name="EdgeEffect">
7556        <attr name="colorEdgeEffect" />
7557    </declare-styleable>
7558
7559    <!-- Use <code>tv-input</code> as the root tag of the XML resource that describes a
7560         {@link android.media.tv.TvInputService}, which is referenced from its
7561         {@link android.media.tv.TvInputService#SERVICE_META_DATA} meta-data entry.
7562         Described here are the attributes that can be included in that tag. -->
7563    <declare-styleable name="TvInputService">
7564        <!-- Component name of an activity for setup of this service.
7565             The setup includes scanning channels and registering EPG data. -->
7566        <attr name="setupActivity" format="string" />
7567        <!-- Component name of an activity that allows the user to modify
7568             the settings for this service. -->
7569        <attr name="settingsActivity" />
7570    </declare-styleable>
7571
7572    <!-- Attributes that can be used with <code>rating-system-definition</code> tags inside of the
7573         XML resource that describes TV content rating of a {@link android.media.tv.TvInputService},
7574         which is referenced from its
7575         {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. -->
7576    <declare-styleable name="RatingSystemDefinition">
7577        <!-- The unique name of the content rating system. -->
7578        <attr name="name" />
7579        <!-- The title of the content rating system which is shown to the user. -->
7580        <attr name="title" />
7581        <!-- The short description of the content rating system. -->
7582        <attr name="description" />
7583        <!-- The country code associated with the content rating system, which consists of two
7584             uppercase letters that conform to the ISO 3166 standard. -->
7585        <attr name="country" format="string" />
7586    </declare-styleable>
7587
7588    <!-- Attributes that can be used with <code>rating-definition</code> tags inside of the XML
7589         resource that describes TV content rating of a {@link android.media.tv.TvInputService},
7590         which is referenced from its
7591         {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. -->
7592    <declare-styleable name="RatingDefinition">
7593        <!-- The unique name of the content rating. -->
7594        <attr name="name" />
7595        <!-- The title of the content rating which is shown to the user. -->
7596        <attr name="title" />
7597        <!-- The short description of the content rating. -->
7598        <attr name="description" />
7599        <!-- The age associated with the content rating. The content of this rating is suitable for
7600             people of this age or above. -->
7601        <attr name="contentAgeHint" format="integer" />
7602    </declare-styleable>
7603
7604    <declare-styleable name="ResolverDrawerLayout">
7605        <attr name="maxWidth" />
7606        <attr name="maxCollapsedHeight" format="dimension" />
7607        <attr name="maxCollapsedHeightSmall" format="dimension" />
7608    </declare-styleable>
7609
7610    <declare-styleable name="ResolverDrawerLayout_LayoutParams">
7611        <attr name="layout_alwaysShow" format="boolean" />
7612        <attr name="layout_ignoreOffset" format="boolean" />
7613        <attr name="layout_gravity" />
7614    </declare-styleable>
7615
7616    <!-- @hide -->
7617    <declare-styleable name="Lighting">
7618        <attr name="lightY" />
7619        <attr name="lightZ" />
7620        <attr name="lightRadius" />
7621        <attr name="ambientShadowAlpha" />
7622        <attr name="spotShadowAlpha" />
7623    </declare-styleable>
7624
7625    <declare-styleable name="RestrictionEntry">
7626        <attr name="key" />
7627        <attr name="restrictionType">
7628            <enum name="hidden" value="0" />
7629            <enum name="bool" value="1" />
7630            <enum name="choice" value="2" />
7631            <enum name="multi-select" value="4" />
7632            <enum name="integer" value="5" />
7633            <enum name="string" value="6" />
7634        </attr>
7635        <attr name="title" />
7636        <attr name="description" />
7637        <attr name="defaultValue" />
7638        <attr name="entries" />
7639        <attr name="entryValues" />
7640    </declare-styleable>
7641</resources>
7642