attrs.xml revision b2536cf473a6fc386eea75ab8c97edf3a1ad323b
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        <!-- Text color for urls in search suggestions, used by things like global search and the browser. @hide -->
114        <attr name="textColorSearchUrl" format="reference|color" />
115
116        <!-- Color of highlighted text, when used in a light theme. -->
117        <attr name="textColorHighlightInverse" format="reference|color" />
118        <!-- Color of link text (URLs), when used in a light theme. -->
119        <attr name="textColorLinkInverse" format="reference|color" />
120
121        <!-- Color of list item text in alert dialogs. -->
122        <attr name="textColorAlertDialogListItem" format="reference|color" />
123
124        <!-- Search widget more corpus result item background. -->
125        <attr name="searchWidgetCorpusItemBackground" format="reference|color" />
126
127        <!-- Text color, typeface, size, and style for "large" text. Defaults to primary text color. -->
128        <attr name="textAppearanceLarge" format="reference" />
129        <!-- Text color, typeface, size, and style for "medium" text. Defaults to primary text color. -->
130        <attr name="textAppearanceMedium" format="reference" />
131        <!-- Text color, typeface, size, and style for "small" text. Defaults to secondary text color. -->
132        <attr name="textAppearanceSmall" format="reference" />
133
134        <!-- Text color, typeface, size, and style for "large" inverse text. Defaults to primary inverse text color. -->
135        <attr name="textAppearanceLargeInverse" format="reference" />
136        <!-- Text color, typeface, size, and style for "medium" inverse text. Defaults to primary inverse text color. -->
137        <attr name="textAppearanceMediumInverse" format="reference" />
138        <!-- Text color, typeface, size, and style for "small" inverse text. Defaults to secondary inverse text color. -->
139        <attr name="textAppearanceSmallInverse" format="reference" />
140
141        <!-- Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color. -->
142        <attr name="textAppearanceSearchResultTitle" format="reference" />
143        <!-- Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color. -->
144        <attr name="textAppearanceSearchResultSubtitle" format="reference" />
145
146        <!-- Text color, typeface, size, and style for the text inside of a button. -->
147        <attr name="textAppearanceButton" format="reference" />
148
149        <!-- Text color, typeface, size, and style for the text inside of a popup menu. -->
150        <attr name="textAppearanceLargePopupMenu" format="reference" />
151
152        <!-- Text color, typeface, size, and style for small text inside of a popup menu. -->
153        <attr name="textAppearanceSmallPopupMenu" format="reference" />
154
155        <!-- The underline color and thickness for easy correct suggestion -->
156        <attr name="textAppearanceEasyCorrectSuggestion" format="reference" />
157
158        <!-- The underline color and thickness for misspelled suggestion -->
159        <attr name="textAppearanceMisspelledSuggestion" format="reference" />
160
161        <!-- The underline color and thickness for auto correction suggestion -->
162        <attr name="textAppearanceAutoCorrectionSuggestion" format="reference" />
163
164        <!--  The underline color -->
165        <attr name="textUnderlineColor" format="reference|color" />
166        <!--  The underline thickness -->
167        <attr name="textUnderlineThickness" format="reference|dimension" />
168
169        <!-- EditText text foreground color. -->
170        <attr name="editTextColor" format="reference|color" />
171        <!-- EditText background drawable. -->
172        <attr name="editTextBackground" format="reference" />
173
174        <!-- Popup text displayed in TextView when setError is used. -->
175        <attr name="errorMessageBackground" format="reference" />
176        <!-- Background used instead of errorMessageBackground when the popup has to be above. -->
177        <attr name="errorMessageAboveBackground" format="reference" />
178
179        <!-- A styled string, specifying the style to be used for showing
180             inline candidate text when composing with an input method.  The
181             text itself will be ignored, but the style spans will be applied
182             to the candidate text as it is edited. -->
183        <attr name="candidatesTextStyleSpans" format="reference|string" />
184
185        <!-- Drawable to use for check marks. -->
186        <attr name="textCheckMark" format="reference" />
187        <attr name="textCheckMarkInverse" format="reference" />
188
189        <!-- Drawable to use for multiple choice indicators. -->
190        <attr name="listChoiceIndicatorMultiple" format="reference" />
191
192        <!-- Drawable to use for single choice indicators. -->
193        <attr name="listChoiceIndicatorSingle" format="reference" />
194
195        <!-- Drawable used as a background for selected list items. -->
196        <attr name="listChoiceBackgroundIndicator" format="reference" />
197
198        <!-- Drawable used as a background for activated items. -->
199        <attr name="activatedBackgroundIndicator" format="reference" />
200
201        <!-- ============= -->
202        <!-- Button styles -->
203        <!-- ============= -->
204        <eat-comment />
205
206        <!-- Normal Button style. -->
207        <attr name="buttonStyle" format="reference" />
208
209        <!-- Small Button style. -->
210        <attr name="buttonStyleSmall" format="reference" />
211
212        <!-- Button style to inset into an EditText. -->
213        <attr name="buttonStyleInset" format="reference" />
214
215        <!-- ToggleButton style. -->
216        <attr name="buttonStyleToggle" format="reference" />
217
218        <!-- ============== -->
219        <!-- Gallery styles -->
220        <!-- ============== -->
221        <eat-comment />
222
223        <!-- The preferred background for gallery items. This should be set
224             as the background of any Views you provide from the Adapter. -->
225        <attr name="galleryItemBackground" format="reference" />
226
227        <!-- =========== -->
228        <!-- List styles -->
229        <!-- =========== -->
230        <eat-comment />
231
232        <!-- The preferred list item height. -->
233        <attr name="listPreferredItemHeight" format="dimension" />
234        <!-- A smaller, sleeker list item height. -->
235        <attr name="listPreferredItemHeightSmall" format="dimension" />
236        <!-- A larger, more robust list item height. -->
237        <attr name="listPreferredItemHeightLarge" format="dimension" />
238        <!-- The list item height for search results. @hide -->
239        <attr name="searchResultListItemHeight" format="dimension" />
240
241        <!-- The preferred padding along the left edge of list items. -->
242        <attr name="listPreferredItemPaddingLeft" format="dimension" />
243        <!-- The preferred padding along the right edge of list items. -->
244        <attr name="listPreferredItemPaddingRight" format="dimension" />
245
246        <!-- The preferred TextAppearance for the primary text of list items. -->
247        <attr name="textAppearanceListItem" format="reference" />
248        <!-- The preferred TextAppearance for the secondary text of list items. -->
249        <attr name="textAppearanceListItemSecondary" format="reference" />
250        <!-- The preferred TextAppearance for the primary text of small list items. -->
251        <attr name="textAppearanceListItemSmall" format="reference" />
252
253        <!-- The drawable for the list divider. -->
254        <attr name="listDivider" format="reference" />
255        <!-- The list divider used in alert dialogs. -->
256        <attr name="listDividerAlertDialog" format="reference" />
257        <!-- TextView style for list separators. -->
258        <attr name="listSeparatorTextViewStyle" format="reference" />
259        <!-- The preferred left padding for an expandable list item (for child-specific layouts,
260             use expandableListPreferredChildPaddingLeft). This takes into account
261             the indicator that will be shown to next to the item. -->
262        <attr name="expandableListPreferredItemPaddingLeft" format="dimension" />
263        <!-- The preferred left padding for an expandable list item that is a child.
264             If this is not provided, it defaults to the expandableListPreferredItemPaddingLeft. -->
265        <attr name="expandableListPreferredChildPaddingLeft" format="dimension" />
266        <!-- The preferred left bound for an expandable list item's indicator. For a child-specific
267             indicator, use expandableListPreferredChildIndicatorLeft. -->
268        <attr name="expandableListPreferredItemIndicatorLeft" format="dimension" />
269        <!-- The preferred right bound for an expandable list item's indicator. For a child-specific
270             indicator, use expandableListPreferredChildIndicatorRight. -->
271        <attr name="expandableListPreferredItemIndicatorRight" format="dimension" />
272        <!-- The preferred left bound for an expandable list child's indicator. -->
273        <attr name="expandableListPreferredChildIndicatorLeft" format="dimension" />
274        <!-- The preferred right bound for an expandable list child's indicator. -->
275        <attr name="expandableListPreferredChildIndicatorRight" format="dimension" />
276
277        <!-- The preferred item height for dropdown lists. -->
278        <attr name="dropdownListPreferredItemHeight" format="dimension" />
279
280        <!-- The preferred padding along the start edge of list items. -->
281        <attr name="listPreferredItemPaddingStart" format="dimension" />
282        <!-- The preferred padding along the end edge of list items. -->
283        <attr name="listPreferredItemPaddingEnd" format="dimension" />
284
285        <!-- ============= -->
286        <!-- Window styles -->
287        <!-- ============= -->
288        <eat-comment />
289
290        <!-- Drawable to use as the overall window background.  As of
291             {@link android.os.Build.VERSION_CODES#HONEYCOMB}, this may
292             be a selector that uses state_accelerated to pick a non-solid
293             color when running on devices that can draw such a bitmap
294             with complex compositing on top at 60fps.
295
296             <p>There are a few special considerations to use when setting this
297             drawable:
298             <ul>
299             <li> This information will be used to infer the pixel format
300                  for your window's surface.  If the drawable has any
301                  non-opaque pixels, your window will be translucent
302                  (32 bpp).
303             <li> If you want to draw the entire background
304                  yourself, you should set this drawable to some solid
305                  color that closely matches that background (so the
306                  system's preview of your window will match), and
307                  then in code manually set your window's background to
308                  null so it will not be drawn.
309             </ul> -->
310        <attr name="windowBackground" format="reference" />
311        <!-- Drawable to use as a frame around the window. -->
312        <attr name="windowFrame" format="reference" />
313        <!-- Flag indicating whether there should be no title on this window. -->
314        <attr name="windowNoTitle" format="boolean" />
315        <!-- Flag indicating whether this window should fill the entire screen.  Corresponds
316             to {@link android.view.WindowManager.LayoutParams#FLAG_FULLSCREEN}. -->
317        <attr name="windowFullscreen" format="boolean" />
318        <!-- Flag indicating whether this window should extend into overscan region.  Corresponds
319             to {@link android.view.WindowManager.LayoutParams#FLAG_LAYOUT_IN_OVERSCAN}. -->
320        <attr name="windowOverscan" format="boolean" />
321        <!-- Flag indicating whether this is a floating window. -->
322        <attr name="windowIsFloating" format="boolean" />
323        <!-- Flag indicating whether this is a translucent window. -->
324        <attr name="windowIsTranslucent" format="boolean" />
325        <!-- Flag indicating that this window's background should be the
326             user's current wallpaper.  Corresponds
327             to {@link android.view.WindowManager.LayoutParams#FLAG_SHOW_WALLPAPER}. -->
328        <attr name="windowShowWallpaper" format="boolean" />
329        <!-- This Drawable is overlaid over the foreground of the Window's content area, usually
330             to place a shadow below the title.  -->
331        <attr name="windowContentOverlay" format="reference" />
332        <!-- The style resource to use for a window's title bar height. -->
333        <attr name="windowTitleSize" format="dimension" />
334        <!-- The style resource to use for a window's title text. -->
335        <attr name="windowTitleStyle" format="reference" />
336        <!-- The style resource to use for a window's title area. -->
337        <attr name="windowTitleBackgroundStyle" format="reference" />
338
339        <!-- Reference to a style resource holding
340             the set of window animations to use, which can be
341             any of the attributes defined by
342             {@link android.R.styleable#WindowAnimation}. -->
343        <attr name="windowAnimationStyle" format="reference" />
344
345        <!-- Flag indicating whether this window should have an Action Bar
346             in place of the usual title bar. -->
347        <attr name="windowActionBar" format="boolean" />
348
349        <!-- Flag indicating whether this window's Action Bar should overlay
350             application content. Does nothing if the window would not
351             have an Action Bar. -->
352        <attr name="windowActionBarOverlay" format="boolean" />
353
354        <!-- Flag indicating whether action modes should overlay window content
355             when there is not reserved space for their UI (such as an Action Bar). -->
356        <attr name="windowActionModeOverlay" format="boolean" />
357
358        <!-- Defines the default soft input state that this window would
359             like when it is displayed.  Corresponds
360             to {@link android.view.WindowManager.LayoutParams#softInputMode}. -->
361        <attr name="windowSoftInputMode">
362            <!-- Not specified, use what the system thinks is best.  This
363                 is the default. -->
364            <flag name="stateUnspecified" value="0" />
365            <!-- Leave the soft input window as-is, in whatever state it
366                 last was. -->
367            <flag name="stateUnchanged" value="1" />
368            <!-- Make the soft input area hidden when normally appropriate
369                 (when the user is navigating forward to your window). -->
370            <flag name="stateHidden" value="2" />
371            <!-- Always make the soft input area hidden when this window
372                 has input focus. -->
373            <flag name="stateAlwaysHidden" value="3" />
374            <!-- Make the soft input area visible when normally appropriate
375                 (when the user is navigating forward to your window). -->
376            <flag name="stateVisible" value="4" />
377            <!-- Always make the soft input area visible when this window
378                 has input focus. -->
379            <flag name="stateAlwaysVisible" value="5" />
380
381            <!-- The window resize/pan adjustment has not been specified,
382                 the system will automatically select between resize and pan
383                 modes, depending
384                 on whether the content of the window has any layout views
385                 that can scroll their contents.  If there is such a view,
386                 then the window will be resized, with the assumption being
387                 that the resizeable area can be reduced to make room for
388                 the input UI. -->
389            <flag name="adjustUnspecified" value="0x00" />
390            <!-- Always resize the window: the content area of the window is
391                 reduced to make room for the soft input area. -->
392            <flag name="adjustResize" value="0x10" />
393            <!-- Don't resize the window to make room for the soft input area;
394                 instead pan the contents of the window as focus moves inside
395                 of it so that the user can see what they are typing.  This is
396                 generally less desireable than panning because the user may
397                 need to close the input area to get at and interact with
398                 parts of the window. -->
399            <flag name="adjustPan" value="0x20" />
400            <!-- Don't resize <em>or</em> pan the window to make room for the
401                 soft input area; the window is never adjusted for it. -->
402            <flag name="adjustNothing" value="0x30" />
403        </attr>
404
405        <!-- Flag allowing you to disable the preview animation for a window.
406             The default value is false; if set to true, the system can never
407             use the window's theme to show a preview of it before your
408             actual instance is shown to the user. -->
409        <attr name="windowDisablePreview" format="boolean" />
410
411        <!-- Flag indicating that this window should not be displayed at all.
412             The default value is false; if set to true, and this window is
413             the main window of an Activity, then it will never actually
414             be added to the window manager.  This means that your activity
415             must immediately quit without waiting for user interaction,
416             because there will be no such interaction coming. -->
417        <attr name="windowNoDisplay" format="boolean" />
418
419        <!-- Flag indicating that this window should allow touches to be split
420             across other windows that also support split touch.
421             The default value is true for applications with a targetSdkVersion
422             of Honeycomb or newer; false otherwise.
423             When this flag is false, the first pointer that goes down determines
424             the window to which all subsequent touches go until all pointers go up.
425             When this flag is true, each pointer (not necessarily the first) that
426             goes down determines the window to which all subsequent touches of that
427             pointer will go until that pointers go up thereby enabling touches
428             with multiple pointers to be split across multiple windows. -->
429        <attr name="windowEnableSplitTouch" format="boolean" />
430
431        <!-- Control whether a container should automatically close itself if
432             the user touches outside of it.  This only applies to activities
433             and dialogs.
434
435             <p>Note: this attribute will only be respected for applications
436             that are targeting {@link android.os.Build.VERSION_CODES#HONEYCOMB}
437             or later. -->
438        <attr name="windowCloseOnTouchOutside" format="boolean" />
439
440        <!-- Flag indicating whether this window requests a translucent status bar.  Corresponds
441             to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_STATUS}. -->
442        <attr name="windowTranslucentStatus" format="boolean" />
443
444        <!-- Flag indicating whether this window requests a translucent navigation bar.  Corresponds
445             to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_NAVIGATION}. -->
446        <attr name="windowTranslucentNavigation" format="boolean" />
447
448        <!-- Flag to indicate that a window can be swiped away to be dismissed.
449             Corresponds to {@link android.view.Window#FEATURE_SWIPE_TO_DISMISS} -->
450        <attr name="windowSwipeToDismiss" format="boolean" />
451
452        <!-- Flag indicating whether this window requests that content changes be performed
453             as scene changes with transitions. Corresponds to
454             {@link android.view.Window#FEATURE_CONTENT_TRANSITIONS}. -->
455        <attr name="windowContentTransitions" format="boolean" />
456
457        <!-- Reference to a TransitionManager XML resource defining the desired
458             transitions between different window content. -->
459        <attr name="windowContentTransitionManager" format="reference" />
460
461        <!-- Reference to a Transition XML resource defining the desired Transition
462             used to move Views into the initial Window's content Scene. Corresponds to
463             {@link android.view.Window#setEnterTransition(android.transition.Transition)}. -->
464        <attr name="windowEnterTransition" format="reference"/>
465
466        <!-- Reference to a Transition XML resource defining the desired Transition
467             used to move Views out of the scene when the Window is
468             preparing to close. Corresponds to
469             {@link android.view.Window#setReturnTransition(android.transition.Transition)}. -->
470        <attr name="windowReturnTransition" format="reference"/>
471
472        <!-- Reference to a Transition XML resource defining the desired Transition
473             used to move Views out of the Window's content Scene when launching a new Activity.
474             Corresponds to
475             {@link android.view.Window#setExitTransition(android.transition.Transition)}. -->
476        <attr name="windowExitTransition" format="reference"/>
477
478        <!-- Reference to a Transition XML resource defining the desired Transition
479             used to move Views in to the scene when returning from a previously-started Activity.
480             Corresponds to
481             {@link android.view.Window#setReenterTransition(android.transition.Transition)}. -->
482        <attr name="windowReenterTransition" format="reference"/>
483
484        <!-- Reference to a Transition XML resource defining the desired Transition
485             used to move shared elements transferred into the Window's initial content Scene.
486             Corresponds to {@link android.view.Window#setSharedElementEnterTransition(
487             android.transition.Transition)}. -->
488        <attr name="windowSharedElementEnterTransition" format="reference"/>
489
490        <!-- Reference to a Transition XML resource defining the desired Transition
491             used to move shared elements transferred back to a calling Activity.
492             Corresponds to {@link android.view.Window#setSharedElementReturnTransition(
493             android.transition.Transition)}. -->
494        <attr name="windowSharedElementReturnTransition" format="reference"/>
495
496        <!-- Reference to a Transition XML resource defining the desired Transition
497             used when starting a new Activity to move shared elements prior to transferring
498             to the called Activity.
499             Corresponds to {@link android.view.Window#setSharedElementExitTransition(
500             android.transition.Transition)}. -->
501        <attr name="windowSharedElementExitTransition" format="reference"/>
502
503        <!-- Reference to a Transition XML resource defining the desired Transition
504             used for shared elements transferred back to a calling Activity.
505             Corresponds to {@link android.view.Window#setSharedElementReenterTransition(
506             android.transition.Transition)}. -->
507        <attr name="windowSharedElementReenterTransition" format="reference"/>
508
509        <!-- Flag indicating whether this Window's transition should overlap with
510             the exiting transition of the calling Activity. Corresponds to
511             {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. -->
512        <attr name="windowAllowEnterTransitionOverlap" format="boolean"/>
513
514        <!-- Flag indicating whether this Window's transition should overlap with
515             the exiting transition of the called Activity when the called Activity
516             finishes. Corresponds to
517             {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. -->
518        <attr name="windowAllowReturnTransitionOverlap" format="boolean"/>
519
520        <!-- Indicates whether or not shared elements should use an overlay
521             during transitions. The default value is true. -->
522        <attr name="windowSharedElementsUseOverlay" format="boolean"/>
523
524        <!-- Internal layout used internally for window decor -->
525        <attr name="windowActionBarFullscreenDecorLayout" format="reference" />
526
527        <!-- The duration, in milliseconds, of the window background fade duration
528             when transitioning into or away from an Activity when called with an
529             Activity Transition. Corresponds to
530             {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. -->
531        <attr name="windowTransitionBackgroundFadeDuration" format="integer"/>
532
533        <!-- ============ -->
534        <!-- Alert Dialog styles -->
535        <!-- ============ -->
536        <eat-comment />
537        <attr name="alertDialogStyle" format="reference" />
538        <attr name="alertDialogButtonGroupStyle" format="reference" />
539        <attr name="alertDialogCenterButtons" format="boolean" />
540
541        <!-- ============== -->
542        <!-- Image elements -->
543        <!-- ============== -->
544        <eat-comment />
545
546        <!-- Background that can be used behind parts of a UI that provide
547             details on data the user is selecting.  For example, this is
548             the background element of PreferenceActivity's embedded
549             preference fragment. -->
550        <attr name="detailsElementBackground" format="reference" />
551
552        <!-- ============ -->
553        <!-- Panel styles -->
554        <!-- ============ -->
555        <eat-comment />
556
557        <!-- The background of a panel when it is inset from the left and right edges of the screen. -->
558        <attr name="panelBackground" format="reference|color" />
559        <!-- The background of a panel when it extends to the left and right edges of the screen. -->
560        <attr name="panelFullBackground" format="reference|color" />
561        <!-- Default color of foreground panel imagery. -->
562        <attr name="panelColorForeground" format="reference|color" />
563        <!-- Color that matches (as closely as possible) the panel background. -->
564        <attr name="panelColorBackground" format="reference|color" />
565        <!-- Default appearance of panel text. -->
566        <attr name="panelTextAppearance" format="reference" />
567
568        <attr name="panelMenuIsCompact" format="boolean" />
569        <attr name="panelMenuListWidth" format="dimension" />
570        <attr name="panelMenuListTheme" format="reference" />
571
572        <!-- =================== -->
573        <!-- Other widget styles -->
574        <!-- =================== -->
575        <eat-comment />
576
577        <!-- Default AbsListView style. -->
578        <attr name="absListViewStyle" format="reference" />
579        <!-- Default AutoCompleteTextView style. -->
580        <attr name="autoCompleteTextViewStyle" format="reference" />
581        <!-- Default Checkbox style. -->
582        <attr name="checkboxStyle" format="reference" />
583        <!-- Default CheckedTextView style. -->
584        <attr name="checkedTextViewStyle" format="reference" />
585        <!-- Default ListView style for drop downs. -->
586        <attr name="dropDownListViewStyle" format="reference" />
587        <!-- Default EditText style. -->
588        <attr name="editTextStyle" format="reference" />
589        <!-- Default ExpandableListView style. -->
590        <attr name="expandableListViewStyle" format="reference" />
591        <!-- ExpandableListView with white background. -->
592        <attr name="expandableListViewWhiteStyle" format="reference" />
593        <!-- Default Gallery style. -->
594        <attr name="galleryStyle" format="reference" />
595        <!-- Default GestureOverlayView style. -->
596        <attr name="gestureOverlayViewStyle" format="reference" />
597        <!-- Default GridView style. -->
598        <attr name="gridViewStyle" format="reference" />
599        <!-- The style resource to use for an ImageButton. -->
600        <attr name="imageButtonStyle" format="reference" />
601        <!-- The style resource to use for an ImageButton that is an image well. -->
602        <attr name="imageWellStyle" format="reference" />
603        <!-- Default ListView style. -->
604        <attr name="listViewStyle" format="reference" />
605        <!-- ListView with white background. -->
606        <attr name="listViewWhiteStyle" format="reference" />
607        <!-- Default PopupWindow style. -->
608        <attr name="popupWindowStyle" format="reference" />
609        <!-- Default ProgressBar style. This is a medium circular progress bar. -->
610        <attr name="progressBarStyle" format="reference" />
611        <!-- Horizontal ProgressBar style. This is a horizontal progress bar. -->
612        <attr name="progressBarStyleHorizontal" format="reference" />
613        <!-- Small ProgressBar style. This is a small circular progress bar. -->
614        <attr name="progressBarStyleSmall" format="reference" />
615        <!-- Small ProgressBar in title style. This is a small circular progress bar that will be placed in title bars. -->
616        <attr name="progressBarStyleSmallTitle" format="reference" />
617        <!-- Large ProgressBar style. This is a large circular progress bar. -->
618        <attr name="progressBarStyleLarge" format="reference" />
619        <!-- Inverse ProgressBar style. This is a medium circular progress bar. -->
620        <attr name="progressBarStyleInverse" format="reference" />
621        <!-- Small inverse ProgressBar style. This is a small circular progress bar. -->
622        <attr name="progressBarStyleSmallInverse" format="reference" />
623        <!-- Large inverse ProgressBar style. This is a large circular progress bar. -->
624        <attr name="progressBarStyleLargeInverse" format="reference" />
625        <!-- Default SeekBar style. -->
626        <attr name="seekBarStyle" format="reference" />
627        <!-- Default RatingBar style. -->
628        <attr name="ratingBarStyle" format="reference" />
629        <!-- Indicator RatingBar style. -->
630        <attr name="ratingBarStyleIndicator" format="reference" />
631        <!-- Small indicator RatingBar style. -->
632        <attr name="ratingBarStyleSmall" format="reference" />
633        <!-- Default RadioButton style. -->
634        <attr name="radioButtonStyle" format="reference" />
635        <!-- Default ScrollView style. -->
636        <attr name="scrollViewStyle" format="reference" />
637        <!-- Default HorizontalScrollView style. -->
638        <attr name="horizontalScrollViewStyle" format="reference" />
639        <!-- Default Spinner style. -->
640        <attr name="spinnerStyle" format="reference" />
641        <!-- Default dropdown Spinner style. -->
642        <attr name="dropDownSpinnerStyle" format="reference" />
643        <!-- Default ActionBar dropdown style. -->
644        <attr name="actionDropDownStyle" format="reference" />
645        <!-- Default action button style. -->
646        <attr name="actionButtonStyle" format="reference" />
647        <!-- Default Star style. -->
648        <attr name="starStyle" format="reference" />
649        <!-- Default TabWidget style. -->
650        <attr name="tabWidgetStyle" format="reference" />
651        <!-- Default TextView style. -->
652        <attr name="textViewStyle" format="reference" />
653        <!-- Default WebTextView style. -->
654        <attr name="webTextViewStyle" format="reference" />
655        <!-- Default WebView style. -->
656        <attr name="webViewStyle" format="reference" />
657        <!-- Default style for drop down items. -->
658        <attr name="dropDownItemStyle" format="reference" />
659         <!-- Default style for spinner drop down items. -->
660        <attr name="spinnerDropDownItemStyle" format="reference" />
661        <!-- Default style for drop down hints. -->
662        <attr name="dropDownHintAppearance" format="reference" />
663        <!-- Default spinner item style. -->
664        <attr name="spinnerItemStyle" format="reference" />
665        <!-- Default MapView style. -->
666        <attr name="mapViewStyle" format="reference" />
667        <!-- Drawable used as an overlay on top of quickcontact photos. -->
668        <attr name="quickContactBadgeOverlay" format="reference" />
669        <!-- Default quickcontact badge style with small quickcontact window. -->
670        <attr name="quickContactBadgeStyleWindowSmall" format="reference" />
671        <!-- Default quickcontact badge style with medium quickcontact window. -->
672        <attr name="quickContactBadgeStyleWindowMedium" format="reference" />
673        <!-- Default quickcontact badge style with large quickcontact window. -->
674        <attr name="quickContactBadgeStyleWindowLarge" format="reference" />
675        <!-- Default quickcontact badge style with small quickcontact window. -->
676        <attr name="quickContactBadgeStyleSmallWindowSmall" format="reference" />
677        <!-- Default quickcontact badge style with medium quickcontact window. -->
678        <attr name="quickContactBadgeStyleSmallWindowMedium" format="reference" />
679        <!-- Default quickcontact badge style with large quickcontact window. -->
680        <attr name="quickContactBadgeStyleSmallWindowLarge" format="reference" />
681        <!-- Reference to a style that will be used for the window containing a text
682             selection anchor. -->
683        <attr name="textSelectHandleWindowStyle" format="reference" />
684        <!-- Reference to a style that will be used for the window containing a list of possible
685             text suggestions in an EditText. -->
686        <attr name="textSuggestionsWindowStyle" format="reference" />
687        <!-- Default ListPopupWindow style. -->
688        <attr name="listPopupWindowStyle" format="reference" />
689        <!-- Default PopupMenu style. -->
690        <attr name="popupMenuStyle" format="reference" />
691        <!-- Default StackView style. -->
692        <attr name="stackViewStyle" format="reference" />
693
694        <!-- Default style for the FragmentBreadCrumbs widget. This widget is deprecated
695             starting in API level 21 ({@link android.os.Build.VERSION_CODES#.L}). -->
696        <attr name="fragmentBreadCrumbsStyle" format="reference" />
697
698        <!-- NumberPicker style. -->
699        <attr name="numberPickerStyle" format="reference" />
700
701        <!-- The CalendarView style. -->
702        <attr name="calendarViewStyle" format="reference" />
703
704        <!-- The TimePicker style. -->
705        <attr name="timePickerStyle" format="reference" />
706
707        <!-- The TimePicker dialog theme. -->
708        <attr name="timePickerDialogTheme" format="reference" />
709
710        <!-- The DatePicker style. -->
711        <attr name="datePickerStyle" format="reference" />
712
713        <!-- The DatePicker dialog theme. -->
714        <attr name="datePickerDialogTheme" format="reference" />
715
716        <!-- Default ActivityChooserView style. -->
717        <attr name="activityChooserViewStyle" format="reference" />
718
719        <!-- Default Toolbar style. -->
720        <attr name="toolbarStyle" format="reference" />
721
722        <!-- Fast scroller styles -->
723        <eat-comment />
724
725        <!-- Drawable to use as the fast scroll thumb. -->
726        <attr name="fastScrollThumbDrawable" format="reference" />
727        <!-- Drawable to use as the fast scroll index preview window background
728             when shown on the right. -->
729        <attr name="fastScrollPreviewBackgroundRight" format="reference" />
730        <!-- Drawable to use as the fast scroll index preview window background
731             when shown on the left. -->
732        <attr name="fastScrollPreviewBackgroundLeft" format="reference" />
733        <!-- Drawable to use as the track for the fast scroll thumb.
734             This may be null. -->
735        <attr name="fastScrollTrackDrawable" format="reference" />
736        <!-- Position of the fast scroll index overlay window. -->
737        <attr name="fastScrollOverlayPosition">
738            <enum name="floating" value="0" />
739            <enum name="atThumb" value="1" />
740            <enum name="aboveThumb" value="2" />
741        </attr>
742        <!-- Text color for the fast scroll index overlay. Make sure it
743             plays nicely with fastScrollPreviewBackground[Left|Right]. -->
744        <attr name="fastScrollTextColor" format="color" />
745
746        <!-- =================== -->
747        <!-- Action bar styles   -->
748        <!-- =================== -->
749        <eat-comment />
750        <!-- Default style for tabs within an action bar -->
751        <attr name="actionBarTabStyle" format="reference" />
752        <attr name="actionBarTabBarStyle" format="reference" />
753        <attr name="actionBarTabTextStyle" format="reference" />
754        <attr name="actionOverflowButtonStyle" format="reference" />
755        <attr name="actionOverflowMenuStyle" format="reference" />
756        <!-- Reference to a theme that should be used to inflate popups
757             shown by widgets in the action bar. -->
758        <attr name="actionBarPopupTheme" format="reference" />
759        <!-- Reference to a style for the Action Bar -->
760        <attr name="actionBarStyle" format="reference" />
761        <!-- Reference to a style for the split Action Bar. This style
762             controls the split component that holds the menu/action
763             buttons. actionBarStyle is still used for the primary
764             bar. -->
765        <attr name="actionBarSplitStyle" format="reference" />
766        <!-- Reference to a theme that should be used to inflate the
767             action bar. This will be inherited by any widget inflated
768             into the action bar. -->
769        <attr name="actionBarTheme" format="reference" />
770        <!-- Reference to a theme that should be used to inflate widgets
771             and layouts destined for the action bar. Most of the time
772             this will be a reference to the current theme, but when
773             the action bar has a significantly different contrast
774             profile than the rest of the activity the difference
775             can become important. If this is set to @null the current
776             theme will be used.-->
777        <attr name="actionBarWidgetTheme" format="reference" />
778        <!-- Size of the Action Bar, including the contextual
779             bar used to present Action Modes. -->
780        <attr name="actionBarSize" format="dimension" >
781            <enum name="wrap_content" value="0" />
782        </attr>
783        <!-- Custom divider drawable to use for elements in the action bar. -->
784        <attr name="actionBarDivider" format="reference" />
785        <!-- Custom item state list drawable background for action bar items. -->
786        <attr name="actionBarItemBackground" format="reference" />
787        <!-- TextAppearance style that will be applied to text that
788             appears within action menu items. -->
789        <attr name="actionMenuTextAppearance" format="reference" />
790        <!-- Color for text that appears within action menu items. -->
791        <attr name="actionMenuTextColor" format="color|reference" />
792
793        <!-- =================== -->
794        <!-- Action mode styles  -->
795        <!-- =================== -->
796        <eat-comment />
797        <attr name="actionModeStyle" format="reference" />
798        <attr name="actionModeCloseButtonStyle" format="reference" />
799        <!-- Background drawable to use for action mode UI -->
800        <attr name="actionModeBackground" format="reference" />
801        <!-- Background drawable to use for action mode UI in the lower split bar -->
802        <attr name="actionModeSplitBackground" format="reference" />
803        <!-- Drawable to use for the close action mode button -->
804        <attr name="actionModeCloseDrawable" format="reference" />
805
806        <!-- Drawable to use for the Cut action button in Contextual Action Bar -->
807        <attr name="actionModeCutDrawable" format="reference" />
808        <!-- Drawable to use for the Copy action button in Contextual Action Bar -->
809        <attr name="actionModeCopyDrawable" format="reference" />
810        <!-- Drawable to use for the Paste action button in Contextual Action Bar -->
811        <attr name="actionModePasteDrawable" format="reference" />
812        <!-- Drawable to use for the Select all action button in Contextual Action Bar -->
813        <attr name="actionModeSelectAllDrawable" format="reference" />
814        <!-- Drawable to use for the Share action button in WebView selection action modes -->
815        <attr name="actionModeShareDrawable" format="reference" />
816        <!-- Drawable to use for the Find action button in WebView selection action modes -->
817        <attr name="actionModeFindDrawable" format="reference" />
818        <!-- Drawable to use for the Web Search action button in WebView selection action modes -->
819        <attr name="actionModeWebSearchDrawable" format="reference" />
820
821        <!-- PopupWindow style to use for action modes when showing as a window overlay. -->
822        <attr name="actionModePopupWindowStyle" format="reference" />
823
824        <!-- =================== -->
825        <!-- Preference styles   -->
826        <!-- =================== -->
827        <eat-comment />
828
829        <!-- Default style for PreferenceScreen. -->
830        <attr name="preferenceScreenStyle" format="reference" />
831        <!-- Default style for Headers pane in PreferenceActivity. -->
832        <attr name="preferenceFragmentStyle" format="reference" />
833        <!-- Default style for PreferenceCategory. -->
834        <attr name="preferenceCategoryStyle" format="reference" />
835        <!-- Default style for Preference. -->
836        <attr name="preferenceStyle" format="reference" />
837        <!-- Default style for informational Preference. -->
838        <attr name="preferenceInformationStyle" format="reference" />
839        <!-- Default style for CheckBoxPreference. -->
840        <attr name="checkBoxPreferenceStyle" format="reference" />
841        <!-- Default style for YesNoPreference. -->
842        <attr name="yesNoPreferenceStyle" format="reference" />
843        <!-- Default style for DialogPreference. -->
844        <attr name="dialogPreferenceStyle" format="reference" />
845        <!-- Default style for EditTextPreference. -->
846        <attr name="editTextPreferenceStyle" format="reference" />
847        <!-- Default style for RingtonePreference. -->
848        <attr name="ringtonePreferenceStyle" format="reference" />
849        <!-- The preference layout that has the child/tabbed effect. -->
850        <attr name="preferenceLayoutChild" format="reference" />
851        <!-- Preference panel style -->
852        <attr name="preferencePanelStyle" format="reference" />
853        <!-- Preference headers panel style -->
854        <attr name="preferenceHeaderPanelStyle" format="reference" />
855        <!-- Preference list style -->
856        <attr name="preferenceListStyle" format="reference" />
857        <!-- Preference fragment list style -->
858        <attr name="preferenceFragmentListStyle" format="reference" />
859        <!-- Preference fragment padding side -->
860        <attr name="preferenceFragmentPaddingSide" format="dimension" />
861        <!-- Default style for switch preferences. -->
862        <attr name="switchPreferenceStyle" format="reference" />
863        <!-- Default style for seekbar preferences. -->
864        <attr name="seekBarPreferenceStyle" format="reference" />
865
866        <!-- ============================ -->
867        <!-- Text selection handle styles -->
868        <!-- ============================ -->
869        <eat-comment />
870
871        <!-- Reference to a drawable that will be used to display a text selection
872             anchor on the left side of a selection region. -->
873        <attr name="textSelectHandleLeft" format="reference" />
874        <!-- Reference to a drawable that will be used to display a text selection
875             anchor on the right side of a selection region. -->
876        <attr name="textSelectHandleRight" format="reference" />
877        <!-- Reference to a drawable that will be used to display a text selection
878             anchor for positioning the cursor within text. -->
879        <attr name="textSelectHandle" format="reference" />
880        <!-- The layout of the view that is displayed on top of the cursor to paste inside a
881             TextEdit field. -->
882        <attr name="textEditPasteWindowLayout" format="reference" />
883        <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. -->
884        <attr name="textEditNoPasteWindowLayout" format="reference" />
885        <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the
886             insertion cursor because it would be clipped if it were positioned on top. -->
887        <attr name="textEditSidePasteWindowLayout" format="reference" />
888        <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. -->
889        <attr name="textEditSideNoPasteWindowLayout" format="reference" />
890
891        <!-- Layout of the TextView item that will populate the suggestion popup window. -->
892        <attr name="textEditSuggestionItemLayout" format="reference" />
893
894        <!-- Theme to use for dialogs spawned from this theme. -->
895        <attr name="dialogTheme" format="reference" />
896        <!-- Window decor layout to use in dialog mode with icons -->
897        <attr name="dialogTitleIconsDecorLayout" format="reference" />
898        <!-- Window decor layout to use in dialog mode with custom titles -->
899        <attr name="dialogCustomTitleDecorLayout" format="reference" />
900        <!-- Window decor layout to use in dialog mode with title only -->
901        <attr name="dialogTitleDecorLayout" format="reference" />
902
903        <!-- Theme to use for alert dialogs spawned from this theme. -->
904        <attr name="alertDialogTheme" format="reference" />
905        <!-- Icon drawable to use for alerts -->
906        <attr name="alertDialogIcon" format="reference" />
907
908        <!-- Theme to use for presentations spawned from this theme. -->
909        <attr name="presentationTheme" format="reference" />
910
911        <!-- Drawable to use for generic vertical dividers. -->
912        <attr name="dividerVertical" format="reference" />
913
914        <!-- Drawable to use for generic horizontal dividers. -->
915        <attr name="dividerHorizontal" format="reference" />
916
917        <!-- Style for button bars -->
918        <attr name="buttonBarStyle" format="reference" />
919
920        <!-- Style for buttons within button bars -->
921        <attr name="buttonBarButtonStyle" format="reference" />
922
923        <!-- Style for the "positive" buttons within button bars -->
924        <attr name="buttonBarPositiveButtonStyle" format="reference" />
925
926        <!-- Style for the "negative" buttons within button bars -->
927        <attr name="buttonBarNegativeButtonStyle" format="reference" />
928
929        <!-- Style for the "neutral" buttons within button bars -->
930        <attr name="buttonBarNeutralButtonStyle" format="reference" />
931
932        <!-- Style for the search query widget. -->
933        <attr name="searchViewStyle" format="reference" />
934
935        <!-- Style for segmented buttons - a container that houses several buttons
936             with the appearance of a singel button broken into segments. -->
937        <attr name="segmentedButtonStyle" format="reference" />
938
939        <!-- Background drawable for bordered standalone items that need focus/pressed states. -->
940        <attr name="selectableItemBackground" format="reference" />
941
942        <!-- Background drawable for borderless standalone items that need focus/pressed states. -->
943        <attr name="selectableItemBackgroundBorderless" format="reference" />
944
945        <!-- Style for buttons without an explicit border, often used in groups. -->
946        <attr name="borderlessButtonStyle" format="reference" />
947
948        <!-- Background to use for toasts -->
949        <attr name="toastFrameBackground" format="reference" />
950
951        <!-- Theme to use for Search Dialogs -->
952        <attr name="searchDialogTheme" format="reference" />
953
954        <!-- Specifies a drawable to use for the 'home as up' indicator. -->
955        <attr name="homeAsUpIndicator" format="reference" />
956
957        <!-- Preference frame layout styles. -->
958        <attr name="preferenceFrameLayoutStyle" format="reference" />
959
960        <!-- Default style for the Switch widget. -->
961        <attr name="switchStyle" format="reference" />
962
963        <!-- Default style for the MediaRouteButton widget. -->
964        <attr name="mediaRouteButtonStyle" format="reference" />
965
966        <!-- ============== -->
967        <!-- Pointer styles -->
968        <!-- ============== -->
969        <eat-comment />
970
971        <!-- Reference to the Pointer style -->
972        <attr name="pointerStyle" format="reference" />
973
974        <!-- The drawable for accessibility focused views. -->
975        <attr name="accessibilityFocusedDrawable" format="reference" />
976
977        <!-- Drawable for WebView find-on-page dialogue's "next" button. @hide -->
978        <attr name="findOnPageNextDrawable" format="reference" />
979
980        <!-- Drawable for WebView find-on-page dialogue's "previous" button. @hide -->
981        <attr name="findOnPagePreviousDrawable" format="reference" />
982
983        <!-- ============= -->
984        <!-- Color palette -->
985        <!-- ============= -->
986        <eat-comment />
987
988        <!-- The primary branding color for the app. By default, this is the color applied to the
989             action bar background. -->
990        <attr name="colorPrimary" format="color" />
991
992        <!-- Dark variant of the primary branding color. By default, this is the color applied to
993             the status bar (via statusBarColor) and navigation bar (via navigationBarColor). -->
994        <attr name="colorPrimaryDark" format="color" />
995
996        <!-- Bright complement to the primary branding color. By default, this is the color applied
997             to framework controls (via colorControlActivated). -->
998        <attr name="colorAccent" format="color" />
999
1000        <!-- The color applied to framework controls in their normal state. -->
1001        <attr name="colorControlNormal" format="color" />
1002
1003        <!-- The color applied to framework controls in their activated (ex. checked) state. -->
1004        <attr name="colorControlActivated" format="color" />
1005
1006        <!-- The color applied to framework control highlights (ex. ripples, list selectors). -->
1007        <attr name="colorControlHighlight" format="color" />
1008
1009        <!-- The color applied to framework buttons in their normal state. -->
1010        <attr name="colorButtonNormal" format="color" />
1011
1012        <!-- The color applied to framework switch thumbs in their normal state. -->
1013        <attr name="colorSwitchThumbNormal" format="color" />
1014
1015        <!-- =================== -->
1016        <!-- Lighting properties -->
1017        <!-- =================== -->
1018        <eat-comment />
1019
1020        <!-- @hide The default Y position of the light used to project view shadows. -->
1021        <attr name="lightY" format="dimension" />
1022
1023        <!-- @hide The default Z position of the light used to project view shadows. -->
1024        <attr name="lightZ" format="dimension" />
1025
1026        <!-- @hide The default radius of the light used to project view shadows. -->
1027        <attr name="lightRadius" format="dimension" />
1028
1029        <!-- Alpha value of the ambient shadow projected by elevated views, between 0 and 1. -->
1030        <attr name="ambientShadowAlpha" format="float" />
1031
1032        <!-- Alpha value of the spot shadow projected by elevated views, between 0 and 1. -->
1033        <attr name="spotShadowAlpha" format="float" />
1034    </declare-styleable>
1035
1036    <!-- **************************************************************** -->
1037    <!-- Other non-theme attributes. -->
1038    <!-- **************************************************************** -->
1039    <eat-comment />
1040
1041    <!-- Size of text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp).
1042         Supported values include the following:<p/>
1043    <ul>
1044        <li><b>px</b> Pixels</li>
1045        <li><b>sp</b> Scaled pixels (scaled to relative pixel size on screen). See {@link android.util.DisplayMetrics} for more information.</li>
1046        <li><b>pt</b> Points</li>
1047        <li><b>dip</b> Device independent pixels. See {@link android.util.DisplayMetrics} for more information.</li>
1048    </ul>
1049        -->
1050    <attr name="textSize" format="dimension" />
1051
1052    <!-- Default font family. -->
1053    <attr name="fontFamily" format="string" />
1054
1055    <!-- Default text typeface. -->
1056    <attr name="typeface">
1057        <enum name="normal" value="0" />
1058        <enum name="sans" value="1" />
1059        <enum name="serif" value="2" />
1060        <enum name="monospace" value="3" />
1061    </attr>
1062
1063    <!-- Default text typeface style. -->
1064    <attr name="textStyle">
1065        <flag name="normal" value="0" />
1066        <flag name="bold" value="1" />
1067        <flag name="italic" value="2" />
1068    </attr>
1069
1070    <!-- Color of text (usually same as colorForeground). -->
1071    <attr name="textColor" format="reference|color" />
1072
1073    <!-- Color of highlighted text. -->
1074    <attr name="textColorHighlight" format="reference|color" />
1075
1076    <!-- Color of hint text (displayed when the field is empty). -->
1077    <attr name="textColorHint" format="reference|color" />
1078
1079    <!-- Color of link text (URLs). -->
1080    <attr name="textColorLink" format="reference|color" />
1081
1082    <!-- Reference to a drawable that will be drawn under the insertion cursor. -->
1083    <attr name="textCursorDrawable" format="reference" />
1084
1085    <!-- Indicates that the content of a non-editable TextView can be selected.
1086     Default value is false. EditText content is always selectable. -->
1087    <attr name="textIsSelectable" format="boolean" />
1088
1089    <!-- Where to ellipsize text. -->
1090    <attr name="ellipsize">
1091        <enum name="none" value="0" />
1092        <enum name="start" value="1" />
1093        <enum name="middle" value="2" />
1094        <enum name="end" value="3" />
1095        <enum name="marquee" value="4" />
1096    </attr>
1097
1098    <!-- The type of data being placed in a text field, used to help an
1099         input method decide how to let the user enter text.  The constants
1100         here correspond to those defined by
1101         {@link android.text.InputType}.  Generally you can select
1102         a single value, though some can be combined together as
1103         indicated.  Setting this attribute to anything besides
1104         <var>none</var> also implies that the text is editable. -->
1105    <attr name="inputType">
1106        <!-- There is no content type.  The text is not editable. -->
1107        <flag name="none" value="0x00000000" />
1108        <!-- Just plain old text.  Corresponds to
1109             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1110             {@link android.text.InputType#TYPE_TEXT_VARIATION_NORMAL}. -->
1111        <flag name="text" value="0x00000001" />
1112        <!-- Can be combined with <var>text</var> and its variations to
1113             request capitalization of all characters.  Corresponds to
1114             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_CHARACTERS}. -->
1115        <flag name="textCapCharacters" value="0x00001001" />
1116        <!-- Can be combined with <var>text</var> and its variations to
1117             request capitalization of the first character of every word.  Corresponds to
1118             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_WORDS}. -->
1119        <flag name="textCapWords" value="0x00002001" />
1120        <!-- Can be combined with <var>text</var> and its variations to
1121             request capitalization of the first character of every sentence.  Corresponds to
1122             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_SENTENCES}. -->
1123        <flag name="textCapSentences" value="0x00004001" />
1124        <!-- Can be combined with <var>text</var> and its variations to
1125             request auto-correction of text being input.  Corresponds to
1126             {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_CORRECT}. -->
1127        <flag name="textAutoCorrect" value="0x00008001" />
1128        <!-- Can be combined with <var>text</var> and its variations to
1129             specify that this field will be doing its own auto-completion and
1130             talking with the input method appropriately.  Corresponds to
1131             {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_COMPLETE}. -->
1132        <flag name="textAutoComplete" value="0x00010001" />
1133        <!-- Can be combined with <var>text</var> and its variations to
1134             allow multiple lines of text in the field.  If this flag is not set,
1135             the text field will be constrained to a single line.  Corresponds to
1136             {@link android.text.InputType#TYPE_TEXT_FLAG_MULTI_LINE}. -->
1137        <flag name="textMultiLine" value="0x00020001" />
1138        <!-- Can be combined with <var>text</var> and its variations to
1139             indicate that though the regular text view should not be multiple
1140             lines, the IME should provide multiple lines if it can.  Corresponds to
1141             {@link android.text.InputType#TYPE_TEXT_FLAG_IME_MULTI_LINE}. -->
1142        <flag name="textImeMultiLine" value="0x00040001" />
1143        <!-- Can be combined with <var>text</var> and its variations to
1144             indicate that the IME should not show any
1145             dictionary-based word suggestions.  Corresponds to
1146             {@link android.text.InputType#TYPE_TEXT_FLAG_NO_SUGGESTIONS}. -->
1147        <flag name="textNoSuggestions" value="0x00080001" />
1148        <!-- Text that will be used as a URI.  Corresponds to
1149             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1150             {@link android.text.InputType#TYPE_TEXT_VARIATION_URI}. -->
1151        <flag name="textUri" value="0x00000011" />
1152        <!-- Text that will be used as an e-mail address.  Corresponds to
1153             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1154             {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_ADDRESS}. -->
1155        <flag name="textEmailAddress" value="0x00000021" />
1156        <!-- Text that is being supplied as the subject of an e-mail.  Corresponds to
1157             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1158             {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_SUBJECT}. -->
1159        <flag name="textEmailSubject" value="0x00000031" />
1160        <!-- Text that is the content of a short message.  Corresponds to
1161             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1162             {@link android.text.InputType#TYPE_TEXT_VARIATION_SHORT_MESSAGE}. -->
1163        <flag name="textShortMessage" value="0x00000041" />
1164        <!-- Text that is the content of a long message.  Corresponds to
1165             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1166             {@link android.text.InputType#TYPE_TEXT_VARIATION_LONG_MESSAGE}. -->
1167        <flag name="textLongMessage" value="0x00000051" />
1168        <!-- Text that is the name of a person.  Corresponds to
1169             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1170             {@link android.text.InputType#TYPE_TEXT_VARIATION_PERSON_NAME}. -->
1171        <flag name="textPersonName" value="0x00000061" />
1172        <!-- Text that is being supplied as a postal mailing address.  Corresponds to
1173             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1174             {@link android.text.InputType#TYPE_TEXT_VARIATION_POSTAL_ADDRESS}. -->
1175        <flag name="textPostalAddress" value="0x00000071" />
1176        <!-- Text that is a password.  Corresponds to
1177             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1178             {@link android.text.InputType#TYPE_TEXT_VARIATION_PASSWORD}. -->
1179        <flag name="textPassword" value="0x00000081" />
1180        <!-- Text that is a password that should be visible.  Corresponds to
1181             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1182             {@link android.text.InputType#TYPE_TEXT_VARIATION_VISIBLE_PASSWORD}. -->
1183        <flag name="textVisiblePassword" value="0x00000091" />
1184        <!-- Text that is being supplied as text in a web form.  Corresponds to
1185             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1186             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EDIT_TEXT}. -->
1187        <flag name="textWebEditText" value="0x000000a1" />
1188        <!-- Text that is filtering some other data.  Corresponds to
1189             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1190             {@link android.text.InputType#TYPE_TEXT_VARIATION_FILTER}. -->
1191        <flag name="textFilter" value="0x000000b1" />
1192        <!-- Text that is for phonetic pronunciation, such as a phonetic name
1193             field in a contact entry.  Corresponds to
1194             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1195             {@link android.text.InputType#TYPE_TEXT_VARIATION_PHONETIC}. -->
1196        <flag name="textPhonetic" value="0x000000c1" />
1197        <!-- Text that will be used as an e-mail address on a web form.  Corresponds to
1198             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1199             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS}. -->
1200        <flag name="textWebEmailAddress" value="0x000000d1" />
1201        <!-- Text that will be used as a password on a web form.  Corresponds to
1202             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1203             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_PASSWORD}. -->
1204        <flag name="textWebPassword" value="0x000000e1" />
1205        <!-- A numeric only field.  Corresponds to
1206             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1207             {@link android.text.InputType#TYPE_NUMBER_VARIATION_NORMAL}. -->
1208        <flag name="number" value="0x00000002" />
1209        <!-- Can be combined with <var>number</var> and its other options to
1210             allow a signed number.  Corresponds to
1211             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1212             {@link android.text.InputType#TYPE_NUMBER_FLAG_SIGNED}. -->
1213        <flag name="numberSigned" value="0x00001002" />
1214        <!-- Can be combined with <var>number</var> and its other options to
1215             allow a decimal (fractional) number.  Corresponds to
1216             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1217             {@link android.text.InputType#TYPE_NUMBER_FLAG_DECIMAL}. -->
1218        <flag name="numberDecimal" value="0x00002002" />
1219        <!-- A numeric password field.  Corresponds to
1220             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1221             {@link android.text.InputType#TYPE_NUMBER_VARIATION_PASSWORD}. -->
1222        <flag name="numberPassword" value="0x00000012" />
1223        <!-- For entering a phone number.  Corresponds to
1224             {@link android.text.InputType#TYPE_CLASS_PHONE}. -->
1225        <flag name="phone" value="0x00000003" />
1226        <!-- For entering a date and time.  Corresponds to
1227             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1228             {@link android.text.InputType#TYPE_DATETIME_VARIATION_NORMAL}. -->
1229        <flag name="datetime" value="0x00000004" />
1230        <!-- For entering a date.  Corresponds to
1231             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1232             {@link android.text.InputType#TYPE_DATETIME_VARIATION_DATE}. -->
1233        <flag name="date" value="0x00000014" />
1234        <!-- For entering a time.  Corresponds to
1235             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1236             {@link android.text.InputType#TYPE_DATETIME_VARIATION_TIME}. -->
1237        <flag name="time" value="0x00000024" />
1238    </attr>
1239
1240    <!-- Additional features you can enable in an IME associated with an editor
1241         to improve the integration with your application.  The constants
1242         here correspond to those defined by
1243         {@link android.view.inputmethod.EditorInfo#imeOptions}. -->
1244    <attr name="imeOptions">
1245        <!-- There are no special semantics associated with this editor. -->
1246        <flag name="normal" value="0x00000000" />
1247        <!-- There is no specific action associated with this editor, let the
1248             editor come up with its own if it can.
1249             Corresponds to
1250             {@link android.view.inputmethod.EditorInfo#IME_NULL}. -->
1251        <flag name="actionUnspecified" value="0x00000000" />
1252        <!-- This editor has no action associated with it.
1253             Corresponds to
1254             {@link android.view.inputmethod.EditorInfo#IME_ACTION_NONE}. -->
1255        <flag name="actionNone" value="0x00000001" />
1256        <!-- The action key performs a "go"
1257             operation to take the user to the target of the text they typed.
1258             Typically used, for example, when entering a URL.
1259             Corresponds to
1260             {@link android.view.inputmethod.EditorInfo#IME_ACTION_GO}. -->
1261        <flag name="actionGo" value="0x00000002" />
1262        <!-- The action key performs a "search"
1263             operation, taking the user to the results of searching for the text
1264             the have typed (in whatever context is appropriate).
1265             Corresponds to
1266             {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEARCH}. -->
1267        <flag name="actionSearch" value="0x00000003" />
1268        <!-- The action key performs a "send"
1269             operation, delivering the text to its target.  This is typically used
1270             when composing a message.
1271             Corresponds to
1272             {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEND}. -->
1273        <flag name="actionSend" value="0x00000004" />
1274        <!-- The action key performs a "next"
1275             operation, taking the user to the next field that will accept text.
1276             Corresponds to
1277             {@link android.view.inputmethod.EditorInfo#IME_ACTION_NEXT}. -->
1278        <flag name="actionNext" value="0x00000005" />
1279        <!-- The action key performs a "done"
1280             operation, closing the soft input method.
1281             Corresponds to
1282             {@link android.view.inputmethod.EditorInfo#IME_ACTION_DONE}. -->
1283        <flag name="actionDone" value="0x00000006" />
1284        <!-- The action key performs a "previous"
1285             operation, taking the user to the previous field that will accept text.
1286             Corresponds to
1287             {@link android.view.inputmethod.EditorInfo#IME_ACTION_PREVIOUS}. -->
1288        <flag name="actionPrevious" value="0x00000007" />
1289        <!-- Used to request that the IME never go
1290             into fullscreen mode.  Applications need to be aware that the flag is not
1291             a guarantee, and not all IMEs will respect it.
1292             <p>Corresponds to
1293             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. -->
1294        <flag name="flagNoFullscreen" value="0x2000000" />
1295        <!-- Like flagNavigateNext, but
1296             specifies there is something interesting that a backward navigation
1297             can focus on.  If the user selects the IME's facility to backward
1298             navigate, this will show up in the application as an actionPrevious
1299             at {@link android.view.inputmethod.InputConnection#performEditorAction(int)
1300             InputConnection.performEditorAction(int)}.
1301             <p>Corresponds to
1302             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. -->
1303        <flag name="flagNavigatePrevious" value="0x4000000" />
1304        <!-- Used to specify that there is something
1305             interesting that a forward navigation can focus on. This is like using
1306             actionNext, except allows the IME to be multiline (with
1307             an enter key) as well as provide forward navigation.  Note that some
1308             IMEs may not be able to do this, especially when running on a small
1309             screen where there is little space.  In that case it does not need to
1310             present a UI for this option.  Like actionNext, if the
1311             user selects the IME's facility to forward navigate, this will show up
1312             in the application at
1313             {@link android.view.inputmethod.InputConnection#performEditorAction(int)
1314             InputConnection.performEditorAction(int)}.
1315             <p>Corresponds to
1316             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NAVIGATE_NEXT}. -->
1317        <flag name="flagNavigateNext" value="0x8000000" />
1318        <!-- Used to specify that the IME does not need
1319             to show its extracted text UI.  For input methods that may be fullscreen,
1320             often when in landscape mode, this allows them to be smaller and let part
1321             of the application be shown behind.  Though there will likely be limited
1322             access to the application available from the user, it can make the
1323             experience of a (mostly) fullscreen IME less jarring.  Note that when
1324             this flag is specified the IME may <em>not</em> be set up to be able
1325             to display text, so it should only be used in situations where this is
1326             not needed.
1327             <p>Corresponds to
1328             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_EXTRACT_UI}. -->
1329        <flag name="flagNoExtractUi" value="0x10000000" />
1330        <!-- Used in conjunction with a custom action, this indicates that the
1331             action should not be available as an accessory button when the
1332             input method is full-screen.
1333             Note that by setting this flag, there can be cases where the action
1334             is simply never available to the user.  Setting this generally means
1335             that you think showing text being edited is more important than the
1336             action you have supplied.
1337             <p>Corresponds to
1338             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ACCESSORY_ACTION}. -->
1339        <flag name="flagNoAccessoryAction" value="0x20000000" />
1340        <!-- Used in conjunction with a custom action,
1341             this indicates that the action should not be available in-line as
1342             a replacement for the "enter" key.  Typically this is
1343             because the action has such a significant impact or is not recoverable
1344             enough that accidentally hitting it should be avoided, such as sending
1345             a message.    Note that {@link android.widget.TextView} will
1346             automatically set this flag for you on multi-line text views.
1347             <p>Corresponds to
1348             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ENTER_ACTION}. -->
1349        <flag name="flagNoEnterAction" value="0x40000000" />
1350        <!-- Used to request that the IME should be capable of inputting ASCII
1351             characters.  The intention of this flag is to ensure that the user
1352             can type Roman alphabet characters in a {@link android.widget.TextView}
1353             used for, typically, account ID or password input.  It is expected that IMEs
1354             normally are able to input ASCII even without being told so (such IMEs
1355             already respect this flag in a sense), but there could be some cases they
1356             aren't when, for instance, only non-ASCII input languagaes like Arabic,
1357             Greek, Hebrew, Russian are enabled in the IME.  Applications need to be
1358             aware that the flag is not a guarantee, and not all IMEs will respect it.
1359             However, it is strongly recommended for IME authors to respect this flag
1360             especially when their IME could end up with a state that has only non-ASCII
1361             input languages enabled.
1362             <p>Corresponds to
1363             {@link android.view.inputmethod.EditorInfo#IME_FLAG_FORCE_ASCII}. -->
1364        <flag name="flagForceAscii" value="0x80000000" />
1365    </attr>
1366
1367    <!-- A coordinate in the X dimension. -->
1368    <attr name="x" format="dimension" />
1369    <!-- A coordinate in the Y dimension. -->
1370    <attr name="y" format="dimension" />
1371
1372    <!-- Specifies how an object should position its content, on both the X and Y axes,
1373         within its own bounds.  -->
1374    <attr name="gravity">
1375        <!-- Push object to the top of its container, not changing its size. -->
1376        <flag name="top" value="0x30" />
1377        <!-- Push object to the bottom of its container, not changing its size. -->
1378        <flag name="bottom" value="0x50" />
1379        <!-- Push object to the left of its container, not changing its size. -->
1380        <flag name="left" value="0x03" />
1381        <!-- Push object to the right of its container, not changing its size. -->
1382        <flag name="right" value="0x05" />
1383        <!-- Place object in the vertical center of its container, not changing its size. -->
1384        <flag name="center_vertical" value="0x10" />
1385        <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
1386        <flag name="fill_vertical" value="0x70" />
1387        <!-- Place object in the horizontal center of its container, not changing its size. -->
1388        <flag name="center_horizontal" value="0x01" />
1389        <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
1390        <flag name="fill_horizontal" value="0x07" />
1391        <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
1392        <flag name="center" value="0x11" />
1393        <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
1394        <flag name="fill" value="0x77" />
1395        <!-- Additional option that can be set to have the top and/or bottom edges of
1396             the child clipped to its container's bounds.
1397             The clip will be based on the vertical gravity: a top gravity will clip the bottom
1398             edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
1399        <flag name="clip_vertical" value="0x80" />
1400        <!-- Additional option that can be set to have the left and/or right edges of
1401             the child clipped to its container's bounds.
1402             The clip will be based on the horizontal gravity: a left gravity will clip the right
1403             edge, a right gravity will clip the left edge, and neither will clip both edges. -->
1404        <flag name="clip_horizontal" value="0x08" />
1405        <!-- Push object to the beginning of its container, not changing its size. -->
1406        <flag name="start" value="0x00800003" />
1407        <!-- Push object to the end of its container, not changing its size. -->
1408        <flag name="end" value="0x00800005" />
1409    </attr>
1410
1411    <!-- Controls whether links such as urls and email addresses are
1412         automatically found and converted to clickable links.  The default
1413         value is "none", disabling this feature. -->
1414    <attr name="autoLink">
1415        <!-- Match no patterns (default). -->
1416        <flag name="none" value="0x00" />
1417        <!-- Match Web URLs. -->
1418        <flag name="web" value="0x01" />
1419        <!-- Match email addresses. -->
1420        <flag name="email" value="0x02" />
1421        <!-- Match phone numbers. -->
1422        <flag name="phone" value="0x04" />
1423        <!-- Match map addresses. -->
1424        <flag name="map" value="0x08" />
1425        <!-- Match all patterns (equivalent to web|email|phone|map). -->
1426        <flag name="all" value="0x0f" />
1427    </attr>
1428
1429    <!-- Reference to an array resource that will populate a list/adapter. -->
1430    <attr name="entries" format="reference" />
1431
1432    <!-- Standard gravity constant that a child supplies to its parent.
1433         Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout. -->
1434    <attr name="layout_gravity">
1435        <!-- Push object to the top of its container, not changing its size. -->
1436        <flag name="top" value="0x30" />
1437        <!-- Push object to the bottom of its container, not changing its size. -->
1438        <flag name="bottom" value="0x50" />
1439        <!-- Push object to the left of its container, not changing its size. -->
1440        <flag name="left" value="0x03" />
1441        <!-- Push object to the right of its container, not changing its size. -->
1442        <flag name="right" value="0x05" />
1443        <!-- Place object in the vertical center of its container, not changing its size. -->
1444        <flag name="center_vertical" value="0x10" />
1445        <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
1446        <flag name="fill_vertical" value="0x70" />
1447        <!-- Place object in the horizontal center of its container, not changing its size. -->
1448        <flag name="center_horizontal" value="0x01" />
1449        <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
1450        <flag name="fill_horizontal" value="0x07" />
1451        <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
1452        <flag name="center" value="0x11" />
1453        <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
1454        <flag name="fill" value="0x77" />
1455        <!-- Additional option that can be set to have the top and/or bottom edges of
1456             the child clipped to its container's bounds.
1457             The clip will be based on the vertical gravity: a top gravity will clip the bottom
1458             edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
1459        <flag name="clip_vertical" value="0x80" />
1460        <!-- Additional option that can be set to have the left and/or right edges of
1461             the child clipped to its container's bounds.
1462             The clip will be based on the horizontal gravity: a left gravity will clip the right
1463             edge, a right gravity will clip the left edge, and neither will clip both edges. -->
1464        <flag name="clip_horizontal" value="0x08" />
1465        <!-- Push object to the beginning of its container, not changing its size. -->
1466        <flag name="start" value="0x00800003" />
1467        <!-- Push object to the end of its container, not changing its size. -->
1468        <flag name="end" value="0x00800005" />
1469    </attr>
1470
1471    <!-- Standard orientation constant. -->
1472    <attr name="orientation">
1473        <!-- Defines an horizontal widget. -->
1474        <enum name="horizontal" value="0" />
1475        <!-- Defines a vertical widget. -->
1476        <enum name="vertical" value="1" />
1477    </attr>
1478
1479    <!-- Alignment constants. -->
1480    <attr name="alignmentMode">
1481        <!-- Align the bounds of the children.
1482        See {@link android.widget.GridLayout#ALIGN_BOUNDS}. -->
1483        <enum name="alignBounds" value="0" />
1484        <!-- Align the margins of the children.
1485        See {@link android.widget.GridLayout#ALIGN_MARGINS}. -->
1486        <enum name="alignMargins" value="1" />
1487    </attr>
1488
1489    <!-- ========================== -->
1490    <!-- Key Codes                  -->
1491    <!-- ========================== -->
1492    <eat-comment />
1493
1494    <!-- This enum provides the same keycode values as can be found in
1495        {@link android.view.KeyEvent}. -->
1496    <attr name="keycode">
1497        <enum name="KEYCODE_UNKNOWN" value="0" />
1498        <enum name="KEYCODE_SOFT_LEFT" value="1" />
1499        <enum name="KEYCODE_SOFT_RIGHT" value="2" />
1500        <enum name="KEYCODE_HOME" value="3" />
1501        <enum name="KEYCODE_BACK" value="4" />
1502        <enum name="KEYCODE_CALL" value="5" />
1503        <enum name="KEYCODE_ENDCALL" value="6" />
1504        <enum name="KEYCODE_0" value="7" />
1505        <enum name="KEYCODE_1" value="8" />
1506        <enum name="KEYCODE_2" value="9" />
1507        <enum name="KEYCODE_3" value="10" />
1508        <enum name="KEYCODE_4" value="11" />
1509        <enum name="KEYCODE_5" value="12" />
1510        <enum name="KEYCODE_6" value="13" />
1511        <enum name="KEYCODE_7" value="14" />
1512        <enum name="KEYCODE_8" value="15" />
1513        <enum name="KEYCODE_9" value="16" />
1514        <enum name="KEYCODE_STAR" value="17" />
1515        <enum name="KEYCODE_POUND" value="18" />
1516        <enum name="KEYCODE_DPAD_UP" value="19" />
1517        <enum name="KEYCODE_DPAD_DOWN" value="20" />
1518        <enum name="KEYCODE_DPAD_LEFT" value="21" />
1519        <enum name="KEYCODE_DPAD_RIGHT" value="22" />
1520        <enum name="KEYCODE_DPAD_CENTER" value="23" />
1521        <enum name="KEYCODE_VOLUME_UP" value="24" />
1522        <enum name="KEYCODE_VOLUME_DOWN" value="25" />
1523        <enum name="KEYCODE_POWER" value="26" />
1524        <enum name="KEYCODE_CAMERA" value="27" />
1525        <enum name="KEYCODE_CLEAR" value="28" />
1526        <enum name="KEYCODE_A" value="29" />
1527        <enum name="KEYCODE_B" value="30" />
1528        <enum name="KEYCODE_C" value="31" />
1529        <enum name="KEYCODE_D" value="32" />
1530        <enum name="KEYCODE_E" value="33" />
1531        <enum name="KEYCODE_F" value="34" />
1532        <enum name="KEYCODE_G" value="35" />
1533        <enum name="KEYCODE_H" value="36" />
1534        <enum name="KEYCODE_I" value="37" />
1535        <enum name="KEYCODE_J" value="38" />
1536        <enum name="KEYCODE_K" value="39" />
1537        <enum name="KEYCODE_L" value="40" />
1538        <enum name="KEYCODE_M" value="41" />
1539        <enum name="KEYCODE_N" value="42" />
1540        <enum name="KEYCODE_O" value="43" />
1541        <enum name="KEYCODE_P" value="44" />
1542        <enum name="KEYCODE_Q" value="45" />
1543        <enum name="KEYCODE_R" value="46" />
1544        <enum name="KEYCODE_S" value="47" />
1545        <enum name="KEYCODE_T" value="48" />
1546        <enum name="KEYCODE_U" value="49" />
1547        <enum name="KEYCODE_V" value="50" />
1548        <enum name="KEYCODE_W" value="51" />
1549        <enum name="KEYCODE_X" value="52" />
1550        <enum name="KEYCODE_Y" value="53" />
1551        <enum name="KEYCODE_Z" value="54" />
1552        <enum name="KEYCODE_COMMA" value="55" />
1553        <enum name="KEYCODE_PERIOD" value="56" />
1554        <enum name="KEYCODE_ALT_LEFT" value="57" />
1555        <enum name="KEYCODE_ALT_RIGHT" value="58" />
1556        <enum name="KEYCODE_SHIFT_LEFT" value="59" />
1557        <enum name="KEYCODE_SHIFT_RIGHT" value="60" />
1558        <enum name="KEYCODE_TAB" value="61" />
1559        <enum name="KEYCODE_SPACE" value="62" />
1560        <enum name="KEYCODE_SYM" value="63" />
1561        <enum name="KEYCODE_EXPLORER" value="64" />
1562        <enum name="KEYCODE_ENVELOPE" value="65" />
1563        <enum name="KEYCODE_ENTER" value="66" />
1564        <enum name="KEYCODE_DEL" value="67" />
1565        <enum name="KEYCODE_GRAVE" value="68" />
1566        <enum name="KEYCODE_MINUS" value="69" />
1567        <enum name="KEYCODE_EQUALS" value="70" />
1568        <enum name="KEYCODE_LEFT_BRACKET" value="71" />
1569        <enum name="KEYCODE_RIGHT_BRACKET" value="72" />
1570        <enum name="KEYCODE_BACKSLASH" value="73" />
1571        <enum name="KEYCODE_SEMICOLON" value="74" />
1572        <enum name="KEYCODE_APOSTROPHE" value="75" />
1573        <enum name="KEYCODE_SLASH" value="76" />
1574        <enum name="KEYCODE_AT" value="77" />
1575        <enum name="KEYCODE_NUM" value="78" />
1576        <enum name="KEYCODE_HEADSETHOOK" value="79" />
1577        <enum name="KEYCODE_FOCUS" value="80" />
1578        <enum name="KEYCODE_PLUS" value="81" />
1579        <enum name="KEYCODE_MENU" value="82" />
1580        <enum name="KEYCODE_NOTIFICATION" value="83" />
1581        <enum name="KEYCODE_SEARCH" value="84" />
1582        <enum name="KEYCODE_MEDIA_PLAY_PAUSE" value="85" />
1583        <enum name="KEYCODE_MEDIA_STOP" value="86" />
1584        <enum name="KEYCODE_MEDIA_NEXT" value="87" />
1585        <enum name="KEYCODE_MEDIA_PREVIOUS" value="88" />
1586        <enum name="KEYCODE_MEDIA_REWIND" value="89" />
1587        <enum name="KEYCODE_MEDIA_FAST_FORWARD" value="90" />
1588        <enum name="KEYCODE_MUTE" value="91" />
1589        <enum name="KEYCODE_PAGE_UP" value="92" />
1590        <enum name="KEYCODE_PAGE_DOWN" value="93" />
1591        <enum name="KEYCODE_PICTSYMBOLS" value="94" />
1592        <enum name="KEYCODE_SWITCH_CHARSET" value="95" />
1593        <enum name="KEYCODE_BUTTON_A" value="96" />
1594        <enum name="KEYCODE_BUTTON_B" value="97" />
1595        <enum name="KEYCODE_BUTTON_C" value="98" />
1596        <enum name="KEYCODE_BUTTON_X" value="99" />
1597        <enum name="KEYCODE_BUTTON_Y" value="100" />
1598        <enum name="KEYCODE_BUTTON_Z" value="101" />
1599        <enum name="KEYCODE_BUTTON_L1" value="102" />
1600        <enum name="KEYCODE_BUTTON_R1" value="103" />
1601        <enum name="KEYCODE_BUTTON_L2" value="104" />
1602        <enum name="KEYCODE_BUTTON_R2" value="105" />
1603        <enum name="KEYCODE_BUTTON_THUMBL" value="106" />
1604        <enum name="KEYCODE_BUTTON_THUMBR" value="107" />
1605        <enum name="KEYCODE_BUTTON_START" value="108" />
1606        <enum name="KEYCODE_BUTTON_SELECT" value="109" />
1607        <enum name="KEYCODE_BUTTON_MODE" value="110" />
1608        <enum name="KEYCODE_ESCAPE" value="111" />
1609        <enum name="KEYCODE_FORWARD_DEL" value="112" />
1610        <enum name="KEYCODE_CTRL_LEFT" value="113" />
1611        <enum name="KEYCODE_CTRL_RIGHT" value="114" />
1612        <enum name="KEYCODE_CAPS_LOCK" value="115" />
1613        <enum name="KEYCODE_SCROLL_LOCK" value="116" />
1614        <enum name="KEYCODE_META_LEFT" value="117" />
1615        <enum name="KEYCODE_META_RIGHT" value="118" />
1616        <enum name="KEYCODE_FUNCTION" value="119" />
1617        <enum name="KEYCODE_SYSRQ" value="120" />
1618        <enum name="KEYCODE_BREAK" value="121" />
1619        <enum name="KEYCODE_MOVE_HOME" value="122" />
1620        <enum name="KEYCODE_MOVE_END" value="123" />
1621        <enum name="KEYCODE_INSERT" value="124" />
1622        <enum name="KEYCODE_FORWARD" value="125" />
1623        <enum name="KEYCODE_MEDIA_PLAY" value="126" />
1624        <enum name="KEYCODE_MEDIA_PAUSE" value="127" />
1625        <enum name="KEYCODE_MEDIA_CLOSE" value="128" />
1626        <enum name="KEYCODE_MEDIA_EJECT" value="129" />
1627        <enum name="KEYCODE_MEDIA_RECORD" value="130" />
1628        <enum name="KEYCODE_F1" value="131" />
1629        <enum name="KEYCODE_F2" value="132" />
1630        <enum name="KEYCODE_F3" value="133" />
1631        <enum name="KEYCODE_F4" value="134" />
1632        <enum name="KEYCODE_F5" value="135" />
1633        <enum name="KEYCODE_F6" value="136" />
1634        <enum name="KEYCODE_F7" value="137" />
1635        <enum name="KEYCODE_F8" value="138" />
1636        <enum name="KEYCODE_F9" value="139" />
1637        <enum name="KEYCODE_F10" value="140" />
1638        <enum name="KEYCODE_F11" value="141" />
1639        <enum name="KEYCODE_F12" value="142" />
1640        <enum name="KEYCODE_NUM_LOCK" value="143" />
1641        <enum name="KEYCODE_NUMPAD_0" value="144" />
1642        <enum name="KEYCODE_NUMPAD_1" value="145" />
1643        <enum name="KEYCODE_NUMPAD_2" value="146" />
1644        <enum name="KEYCODE_NUMPAD_3" value="147" />
1645        <enum name="KEYCODE_NUMPAD_4" value="148" />
1646        <enum name="KEYCODE_NUMPAD_5" value="149" />
1647        <enum name="KEYCODE_NUMPAD_6" value="150" />
1648        <enum name="KEYCODE_NUMPAD_7" value="151" />
1649        <enum name="KEYCODE_NUMPAD_8" value="152" />
1650        <enum name="KEYCODE_NUMPAD_9" value="153" />
1651        <enum name="KEYCODE_NUMPAD_DIVIDE" value="154" />
1652        <enum name="KEYCODE_NUMPAD_MULTIPLY" value="155" />
1653        <enum name="KEYCODE_NUMPAD_SUBTRACT" value="156" />
1654        <enum name="KEYCODE_NUMPAD_ADD" value="157" />
1655        <enum name="KEYCODE_NUMPAD_DOT" value="158" />
1656        <enum name="KEYCODE_NUMPAD_COMMA" value="159" />
1657        <enum name="KEYCODE_NUMPAD_ENTER" value="160" />
1658        <enum name="KEYCODE_NUMPAD_EQUALS" value="161" />
1659        <enum name="KEYCODE_NUMPAD_LEFT_PAREN" value="162" />
1660        <enum name="KEYCODE_NUMPAD_RIGHT_PAREN" value="163" />
1661        <enum name="KEYCODE_VOLUME_MUTE" value="164" />
1662        <enum name="KEYCODE_INFO" value="165" />
1663        <enum name="KEYCODE_CHANNEL_UP" value="166" />
1664        <enum name="KEYCODE_CHANNEL_DOWN" value="167" />
1665        <enum name="KEYCODE_ZOOM_IN" value="168" />
1666        <enum name="KEYCODE_ZOOM_OUT" value="169" />
1667        <enum name="KEYCODE_TV" value="170" />
1668        <enum name="KEYCODE_WINDOW" value="171" />
1669        <enum name="KEYCODE_GUIDE" value="172" />
1670        <enum name="KEYCODE_DVR" value="173" />
1671        <enum name="KEYCODE_BOOKMARK" value="174" />
1672        <enum name="KEYCODE_CAPTIONS" value="175" />
1673        <enum name="KEYCODE_SETTINGS" value="176" />
1674        <enum name="KEYCODE_TV_POWER" value="177" />
1675        <enum name="KEYCODE_TV_INPUT" value="178" />
1676        <enum name="KEYCODE_STB_POWER" value="179" />
1677        <enum name="KEYCODE_STB_INPUT" value="180" />
1678        <enum name="KEYCODE_AVR_POWER" value="181" />
1679        <enum name="KEYCODE_AVR_INPUT" value="182" />
1680        <enum name="KEYCODE_PROG_GRED" value="183" />
1681        <enum name="KEYCODE_PROG_GREEN" value="184" />
1682        <enum name="KEYCODE_PROG_YELLOW" value="185" />
1683        <enum name="KEYCODE_PROG_BLUE" value="186" />
1684        <enum name="KEYCODE_APP_SWITCH" value="187" />
1685        <enum name="KEYCODE_BUTTON_1" value="188" />
1686        <enum name="KEYCODE_BUTTON_2" value="189" />
1687        <enum name="KEYCODE_BUTTON_3" value="190" />
1688        <enum name="KEYCODE_BUTTON_4" value="191" />
1689        <enum name="KEYCODE_BUTTON_5" value="192" />
1690        <enum name="KEYCODE_BUTTON_6" value="193" />
1691        <enum name="KEYCODE_BUTTON_7" value="194" />
1692        <enum name="KEYCODE_BUTTON_8" value="195" />
1693        <enum name="KEYCODE_BUTTON_9" value="196" />
1694        <enum name="KEYCODE_BUTTON_10" value="197" />
1695        <enum name="KEYCODE_BUTTON_11" value="198" />
1696        <enum name="KEYCODE_BUTTON_12" value="199" />
1697        <enum name="KEYCODE_BUTTON_13" value="200" />
1698        <enum name="KEYCODE_BUTTON_14" value="201" />
1699        <enum name="KEYCODE_BUTTON_15" value="202" />
1700        <enum name="KEYCODE_BUTTON_16" value="203" />
1701        <enum name="KEYCODE_LANGUAGE_SWITCH" value="204" />
1702        <enum name="KEYCODE_MANNER_MODE" value="205" />
1703        <enum name="KEYCODE_3D_MODE" value="206" />
1704        <enum name="KEYCODE_CONTACTS" value="207" />
1705        <enum name="KEYCODE_CALENDAR" value="208" />
1706        <enum name="KEYCODE_MUSIC" value="209" />
1707        <enum name="KEYCODE_CALCULATOR" value="210" />
1708        <enum name="KEYCODE_ZENKAKU_HANKAKU" value="211" />
1709        <enum name="KEYCODE_EISU" value="212" />
1710        <enum name="KEYCODE_MUHENKAN" value="213" />
1711        <enum name="KEYCODE_HENKAN" value="214" />
1712        <enum name="KEYCODE_KATAKANA_HIRAGANA" value="215" />
1713        <enum name="KEYCODE_YEN" value="216" />
1714        <enum name="KEYCODE_RO" value="217" />
1715        <enum name="KEYCODE_KANA" value="218" />
1716        <enum name="KEYCODE_ASSIST" value="219" />
1717        <enum name="KEYCODE_BRIGHTNESS_DOWN" value="220" />
1718        <enum name="KEYCODE_BRIGHTNESS_UP" value="221" />
1719        <enum name="KEYCODE_MEDIA_AUDIO_TRACK" value="222" />
1720        <enum name="KEYCODE_MEDIA_SLEEP" value="223" />
1721        <enum name="KEYCODE_MEDIA_WAKEUP" value="224" />
1722        <enum name="KEYCODE_PAIRING" value="225" />
1723        <enum name="KEYCODE_MEDIA_TOP_MENU" value="226" />
1724        <enum name="KEYCODE_11" value="227" />
1725        <enum name="KEYCODE_12" value="228" />
1726        <enum name="KEYCODE_LAST_CHANNEL" value="229" />
1727        <enum name="KEYCODE_TV_DATA_SERVICE" value="230" />
1728        <enum name="KEYCODE_VOICE_ASSIST" value="231" />
1729        <enum name="KEYCODE_TV_RADIO_SERVICE" value="232" />
1730        <enum name="KEYCODE_TV_TELETEXT" value="233" />
1731        <enum name="KEYCODE_TV_NUMBER_ENTRY" value="234" />
1732        <enum name="KEYCODE_TV_TERRESTRIAL_ANALOG" value="235" />
1733        <enum name="KEYCODE_TV_TERRESTRIAL_DIGITAL" value="236" />
1734        <enum name="KEYCODE_TV_SATELLITE" value="237" />
1735        <enum name="KEYCODE_TV_SATELLITE_BS" value="238" />
1736        <enum name="KEYCODE_TV_SATELLITE_CS" value="239" />
1737        <enum name="KEYCODE_TV_SATELLITE_SERVICE" value="240" />
1738        <enum name="KEYCODE_TV_NETWORK" value="241" />
1739        <enum name="KEYCODE_TV_ANTENNA_CABLE" value="242" />
1740        <enum name="KEYCODE_TV_INPUT_HDMI_1" value="243" />
1741        <enum name="KEYCODE_TV_INPUT_HDMI_2" value="244" />
1742        <enum name="KEYCODE_TV_INPUT_HDMI_3" value="245" />
1743        <enum name="KEYCODE_TV_INPUT_HDMI_4" value="246" />
1744        <enum name="KEYCODE_TV_INPUT_COMPOSITE_1" value="247" />
1745        <enum name="KEYCODE_TV_INPUT_COMPOSITE_2" value="248" />
1746        <enum name="KEYCODE_TV_INPUT_COMPONENT_1" value="249" />
1747        <enum name="KEYCODE_TV_INPUT_COMPONENT_2" value="250" />
1748        <enum name="KEYCODE_TV_INPUT_VGA_1" value="251" />
1749        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION" value="252" />
1750        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP" value="253" />
1751        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN" value="254" />
1752        <enum name="KEYCODE_TV_ZOOM_MODE" value="255" />
1753        <enum name="KEYCODE_TV_CONTENTS_MENU" value="256" />
1754        <enum name="KEYCODE_TV_MEDIA_CONTEXT_MENU" value="257" />
1755        <enum name="KEYCODE_TV_TIMER_PROGRAMMING" value="258" />
1756        <enum name="KEYCODE_HELP" value="259" />
1757    </attr>
1758
1759    <!-- ***************************************************************** -->
1760    <!-- These define collections of attributes that can are with classes. -->
1761    <!-- ***************************************************************** -->
1762
1763    <!-- ========================== -->
1764    <!-- Special attribute classes. -->
1765    <!-- ========================== -->
1766    <eat-comment />
1767
1768    <!-- The set of attributes that describe a Windows's theme. -->
1769    <declare-styleable name="Window">
1770        <attr name="windowBackground" />
1771        <attr name="windowContentOverlay" />
1772        <attr name="windowFrame" />
1773        <attr name="windowNoTitle" />
1774        <attr name="windowFullscreen" />
1775        <attr name="windowOverscan" />
1776        <attr name="windowIsFloating" />
1777        <attr name="windowIsTranslucent" />
1778        <attr name="windowShowWallpaper" />
1779        <attr name="windowAnimationStyle" />
1780        <attr name="windowSoftInputMode" />
1781        <attr name="windowDisablePreview" />
1782        <attr name="windowNoDisplay" />
1783        <attr name="textColor" />
1784        <attr name="backgroundDimEnabled" />
1785        <attr name="backgroundDimAmount" />
1786        <attr name="windowActionBar" />
1787        <attr name="windowActionModeOverlay" />
1788        <attr name="windowActionBarOverlay" />
1789        <attr name="windowEnableSplitTouch" />
1790        <attr name="windowCloseOnTouchOutside" />
1791        <attr name="windowTranslucentStatus" />
1792        <attr name="windowTranslucentNavigation" />
1793        <attr name="windowSwipeToDismiss" />
1794        <attr name="windowContentTransitions" />
1795        <attr name="windowContentTransitionManager" />
1796        <attr name="windowActionBarFullscreenDecorLayout" />
1797
1798        <!-- The minimum width the window is allowed to be, along the major
1799             axis of the screen.  That is, when in landscape.  Can be either
1800             an absolute dimension or a fraction of the screen size in that
1801             dimension. -->
1802        <attr name="windowMinWidthMajor" format="dimension|fraction" />
1803        <!-- The minimum width the window is allowed to be, along the minor
1804             axis of the screen.  That is, when in portrait.  Can be either
1805             an absolute dimension or a fraction of the screen size in that
1806             dimension. -->
1807        <attr name="windowMinWidthMinor" format="dimension|fraction" />
1808
1809        <!-- A fixed width for the window along the major axis of the screen,
1810             that is, when in landscape. Can be either an absolute dimension
1811             or a fraction of the screen size in that dimension. -->
1812        <attr name="windowFixedWidthMajor" format="dimension|fraction" />
1813        <!-- A fixed height for the window along the minor axis of the screen,
1814             that is, when in landscape. Can be either an absolute dimension
1815             or a fraction of the screen size in that dimension. -->
1816        <attr name="windowFixedHeightMinor" format="dimension|fraction" />
1817
1818        <!-- A fixed width for the window along the minor axis of the screen,
1819             that is, when in portrait. Can be either an absolute dimension
1820             or a fraction of the screen size in that dimension. -->
1821        <attr name="windowFixedWidthMinor" format="dimension|fraction" />
1822        <!-- A fixed height for the window along the major axis of the screen,
1823             that is, when in portrait. Can be either an absolute dimension
1824             or a fraction of the screen size in that dimension. -->
1825        <attr name="windowFixedHeightMajor" format="dimension|fraction" />
1826        <attr name="windowOutsetBottom" format="dimension" />
1827        <!-- Reference to a Transition XML resource defining the desired Transition
1828             used to move Views into the initial Window's content Scene. Corresponds to
1829             {@link android.view.Window#setEnterTransition(android.transition.Transition)}. -->
1830        <attr name="windowEnterTransition"/>
1831
1832        <!-- Reference to a Transition XML resource defining the desired Transition
1833             used to move Views out of the scene when the Window is
1834             preparing to close. Corresponds to
1835             {@link android.view.Window#setReturnTransition(android.transition.Transition)}. -->
1836        <attr name="windowReturnTransition"/>
1837
1838        <!-- Reference to a Transition XML resource defining the desired Transition
1839             used to move Views out of the Window's content Scene when launching a new Activity.
1840             Corresponds to
1841             {@link android.view.Window#setExitTransition(android.transition.Transition)}. -->
1842        <attr name="windowExitTransition"/>
1843
1844        <!-- Reference to a Transition XML resource defining the desired Transition
1845             used to move Views in to the scene when returning from a previously-started Activity.
1846             Corresponds to
1847             {@link android.view.Window#setReenterTransition(android.transition.Transition)}. -->
1848        <attr name="windowReenterTransition"/>
1849
1850        <!-- Reference to a Transition XML resource defining the desired Transition
1851             used to move shared elements transferred into the Window's initial content Scene.
1852             Corresponds to {@link android.view.Window#setSharedElementEnterTransition(
1853             android.transition.Transition)}. -->
1854        <attr name="windowSharedElementEnterTransition"/>
1855
1856        <!-- Reference to a Transition XML resource defining the desired Transition
1857             used to move shared elements transferred back to a calling Activity.
1858             Corresponds to {@link android.view.Window#setSharedElementReturnTransition(
1859             android.transition.Transition)}. -->
1860        <attr name="windowSharedElementReturnTransition"/>
1861
1862        <!-- Reference to a Transition XML resource defining the desired Transition
1863             used when starting a new Activity to move shared elements prior to transferring
1864             to the called Activity.
1865             Corresponds to {@link android.view.Window#setSharedElementExitTransition(
1866             android.transition.Transition)}. -->
1867        <attr name="windowSharedElementExitTransition"/>
1868
1869        <!-- Reference to a Transition XML resource defining the desired Transition
1870             used for shared elements transferred back to a calling Activity.
1871             Corresponds to {@link android.view.Window#setSharedElementReenterTransition(
1872             android.transition.Transition)}. -->
1873        <attr name="windowSharedElementReenterTransition"/>
1874
1875
1876        <!-- Flag indicating whether this Window's transition should overlap with
1877             the exiting transition of the calling Activity. Corresponds to
1878             {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. -->
1879        <attr name="windowAllowEnterTransitionOverlap"/>
1880
1881        <!-- Flag indicating whether this Window's transition should overlap with
1882             the exiting transition of the called Activity when the called Activity
1883             finishes. Corresponds to
1884             {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. -->
1885        <attr name="windowAllowReturnTransitionOverlap"/>
1886
1887        <!-- Indicates whether or not shared elements should use an overlay
1888             during transitions. The default value is true. -->
1889        <attr name="windowSharedElementsUseOverlay"/>
1890
1891        <!-- Flag indicating whether this Window is responsible for drawing the background for the
1892             system bars. If true and the window is not floating, the system bars are drawn with a
1893             transparent background and the corresponding areas in this window are filled with the
1894             colors specified in {@link android.R.attr#statusBarColor} and
1895             {@link android.R.attr#navigationBarColor}. Corresponds to
1896             {@link android.view.WindowManager.LayoutParams#FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS}. -->
1897        <attr name="windowDrawsSystemBarBackgrounds" format="boolean" />
1898
1899        <!-- The color for the status bar. If the color is not opaque, consider setting
1900             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and
1901             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN}.
1902             For this to take effect, the window must be drawing the system bar backgrounds with
1903             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not
1904             have been requested to be translucent with
1905             {@link android.R.attr#windowTranslucentStatus}.
1906             Corresponds to {@link android.view.Window#setStatusBarColor(int)}. -->
1907        <attr name="statusBarColor" format="color" />
1908
1909        <!-- The color for the navigation bar. If the color is not opaque, consider setting
1910             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and
1911             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION}.
1912             For this to take effect, the window must be drawing the system bar backgrounds with
1913             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not
1914             have been requested to be translucent with
1915             {@link android.R.attr#windowTranslucentNavigation}.
1916             Corresponds to {@link android.view.Window#setNavigationBarColor(int)}. -->
1917        <attr name="navigationBarColor" format="color" />
1918
1919        <!-- The duration, in milliseconds, of the window background fade duration
1920             when transitioning into or away from an Activity when called with an
1921             Activity Transition. Corresponds to
1922             {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. -->
1923        <attr name="windowTransitionBackgroundFadeDuration" />
1924
1925        <!-- Elevation to use for the window. -->
1926        <attr name="windowElevation" format="dimension" />
1927
1928        <!-- Whether to clip window content to the outline of the window background. -->
1929        <attr name="windowClipToOutline" format="boolean" />
1930    </declare-styleable>
1931
1932    <!-- The set of attributes that describe a AlertDialog's theme. -->
1933    <declare-styleable name="AlertDialog">
1934        <attr name="fullDark" format="reference|color" />
1935        <attr name="topDark" format="reference|color" />
1936        <attr name="centerDark" format="reference|color" />
1937        <attr name="bottomDark" format="reference|color" />
1938        <attr name="fullBright" format="reference|color" />
1939        <attr name="topBright" format="reference|color" />
1940        <attr name="centerBright" format="reference|color" />
1941        <attr name="bottomBright" format="reference|color" />
1942        <attr name="bottomMedium" format="reference|color" />
1943        <attr name="centerMedium" format="reference|color" />
1944        <attr name="layout" />
1945        <attr name="buttonPanelSideLayout" format="reference" />
1946        <attr name="listLayout" format="reference" />
1947        <attr name="multiChoiceItemLayout" format="reference" />
1948        <attr name="singleChoiceItemLayout" format="reference" />
1949        <attr name="listItemLayout" format="reference" />
1950        <attr name="progressLayout" format="reference" />
1951        <attr name="horizontalProgressLayout" format="reference" />
1952    </declare-styleable>
1953
1954    <!-- Fragment animation class attributes. -->
1955    <declare-styleable name="FragmentAnimation">
1956        <attr name="fragmentOpenEnterAnimation" format="reference" />
1957        <attr name="fragmentOpenExitAnimation" format="reference" />
1958        <attr name="fragmentCloseEnterAnimation" format="reference" />
1959        <attr name="fragmentCloseExitAnimation" format="reference" />
1960        <attr name="fragmentFadeEnterAnimation" format="reference" />
1961        <attr name="fragmentFadeExitAnimation" format="reference" />
1962    </declare-styleable>
1963
1964    <!-- Window animation class attributes. -->
1965    <declare-styleable name="WindowAnimation">
1966        <!-- The animation used when a window is being added. -->
1967        <attr name="windowEnterAnimation" format="reference" />
1968        <!-- The animation used when a window is being removed. -->
1969        <attr name="windowExitAnimation" format="reference" />
1970        <!-- The animation used when a window is going from INVISIBLE to VISIBLE. -->
1971        <attr name="windowShowAnimation" format="reference" />
1972        <!-- The animation used when a window is going from VISIBLE to INVISIBLE. -->
1973        <attr name="windowHideAnimation" format="reference" />
1974
1975        <!--  When opening a new activity, this is the animation that is
1976              run on the next activity (which is entering the screen). -->
1977        <attr name="activityOpenEnterAnimation" format="reference" />
1978        <!--  When opening a new activity, this is the animation that is
1979              run on the previous activity (which is exiting the screen). -->
1980        <attr name="activityOpenExitAnimation" format="reference" />
1981        <!--  When closing the current activity, this is the animation that is
1982              run on the next activity (which is entering the screen). -->
1983        <attr name="activityCloseEnterAnimation" format="reference" />
1984        <!--  When closing the current activity, this is the animation that is
1985              run on the current activity (which is exiting the screen). -->
1986        <attr name="activityCloseExitAnimation" format="reference" />
1987        <!--  When opening an activity in a new task, this is the animation that is
1988              run on the activity of the new task (which is entering the screen). -->
1989        <attr name="taskOpenEnterAnimation" format="reference" />
1990        <!--  When opening an activity in a new task, this is the animation that is
1991              run on the activity of the old task (which is exiting the screen). -->
1992        <attr name="taskOpenExitAnimation" format="reference" />
1993        <!--  When opening an activity in a new task using Intent/FLAG_ACTIVITY_LAUNCH_BEHIND,
1994              this is the animation that is run on the activity of the new task (which is
1995              entering the screen and then leaving). -->
1996        <attr name="launchTaskBehindTargetAnimation" format="reference" />
1997        <!--  When opening an activity in a new task using Intent.FLAG_ACTIVITY_LAUNCH_BEHIND,
1998              this is the animation that is run on the activity of the old task (which is
1999              already on the screen and then stays on). -->
2000        <attr name="launchTaskBehindSourceAnimation" format="reference" />
2001        <!--  When closing the last activity of a task, this is the animation that is
2002              run on the activity of the next task (which is entering the screen). -->
2003        <attr name="taskCloseEnterAnimation" format="reference" />
2004        <!--  When opening an activity in a new task, this is the animation that is
2005              run on the activity of the old task (which is exiting the screen). -->
2006        <attr name="taskCloseExitAnimation" format="reference" />
2007        <!--  When bringing an existing task to the foreground, this is the
2008              animation that is run on the top activity of the task being brought
2009              to the foreground (which is entering the screen). -->
2010        <attr name="taskToFrontEnterAnimation" format="reference" />
2011        <!--  When bringing an existing task to the foreground, this is the
2012              animation that is run on the current foreground activity
2013              (which is exiting the screen). -->
2014        <attr name="taskToFrontExitAnimation" format="reference" />
2015        <!--  When sending the current task to the background, this is the
2016              animation that is run on the top activity of the task behind
2017              it (which is entering the screen). -->
2018        <attr name="taskToBackEnterAnimation" format="reference" />
2019        <!--  When sending the current task to the background, this is the
2020              animation that is run on the top activity of the current task
2021              (which is exiting the screen). -->
2022        <attr name="taskToBackExitAnimation" format="reference" />
2023
2024        <!--  When opening a new activity that shows the wallpaper, while
2025              currently not showing the wallpaper, this is the animation that
2026              is run on the new wallpaper activity (which is entering the screen). -->
2027        <attr name="wallpaperOpenEnterAnimation" format="reference" />
2028        <!--  When opening a new activity that shows the wallpaper, while
2029              currently not showing the wallpaper, this is the animation that
2030              is run on the current activity (which is exiting the screen). -->
2031        <attr name="wallpaperOpenExitAnimation" format="reference" />
2032        <!--  When opening a new activity that hides the wallpaper, while
2033              currently showing the wallpaper, this is the animation that
2034              is run on the new activity (which is entering the screen). -->
2035        <attr name="wallpaperCloseEnterAnimation" format="reference" />
2036        <!--  When opening a new activity that hides the wallpaper, while
2037              currently showing the wallpaper, this is the animation that
2038              is run on the old wallpaper activity (which is exiting the screen). -->
2039        <attr name="wallpaperCloseExitAnimation" format="reference" />
2040
2041        <!--  When opening a new activity that is on top of the wallpaper
2042              when the current activity is also on top of the wallpaper,
2043              this is the animation that is run on the new activity
2044              (which is entering the screen).  The wallpaper remains
2045              static behind the animation. -->
2046        <attr name="wallpaperIntraOpenEnterAnimation" format="reference" />
2047        <!--  When opening a new activity that is on top of the wallpaper
2048              when the current activity is also on top of the wallpaper,
2049              this is the animation that is run on the current activity
2050              (which is exiting the screen).  The wallpaper remains
2051              static behind the animation. -->
2052        <attr name="wallpaperIntraOpenExitAnimation" format="reference" />
2053        <!--  When closing a foreround activity that is on top of the wallpaper
2054              when the previous activity is also on top of the wallpaper,
2055              this is the animation that is run on the previous activity
2056              (which is entering the screen).  The wallpaper remains
2057              static behind the animation. -->
2058        <attr name="wallpaperIntraCloseEnterAnimation" format="reference" />
2059        <!--  When closing a foreround activity that is on top of the wallpaper
2060              when the previous activity is also on top of the wallpaper,
2061              this is the animation that is run on the current activity
2062              (which is exiting the screen).  The wallpaper remains
2063              static behind the animation. -->
2064        <attr name="wallpaperIntraCloseExitAnimation" format="reference" />
2065    </declare-styleable>
2066
2067    <!-- ============================= -->
2068    <!-- View package class attributes -->
2069    <!-- ============================= -->
2070    <eat-comment />
2071
2072    <!-- Attributes that can be used with {@link android.view.View} or
2073         any of its subclasses.  Also see {@link #ViewGroup_Layout} for
2074         attributes that are processed by the view's parent. -->
2075    <declare-styleable name="View">
2076        <!-- Supply an identifier name for this view, to later retrieve it
2077             with {@link android.view.View#findViewById View.findViewById()} or
2078             {@link android.app.Activity#findViewById Activity.findViewById()}.
2079             This must be a
2080             resource reference; typically you set this using the
2081             <code>@+</code> syntax to create a new ID resources.
2082             For example: <code>android:id="@+id/my_id"</code> which
2083             allows you to later retrieve the view
2084             with <code>findViewById(R.id.my_id)</code>. -->
2085        <attr name="id" format="reference" />
2086
2087        <!-- Supply a tag for this view containing a String, to be retrieved
2088             later with {@link android.view.View#getTag View.getTag()} or
2089             searched for with {@link android.view.View#findViewWithTag
2090             View.findViewWithTag()}.  It is generally preferable to use
2091             IDs (through the android:id attribute) instead of tags because
2092             they are faster and allow for compile-time type checking. -->
2093        <attr name="tag" format="string" />
2094
2095        <!-- The initial horizontal scroll offset, in pixels.-->
2096        <attr name="scrollX" format="dimension" />
2097
2098        <!-- The initial vertical scroll offset, in pixels. -->
2099        <attr name="scrollY" format="dimension" />
2100
2101        <!-- A drawable to use as the background.  This can be either a reference
2102             to a full drawable resource (such as a PNG image, 9-patch,
2103             XML state list description, etc), or a solid color such as "#ff000000"
2104            (black). -->
2105        <attr name="background" format="reference|color" />
2106
2107        <!-- Sets the padding, in pixels, of all four edges.  Padding is defined as
2108             space between the edges of the view and the view's content. A views size
2109             will include it's padding.  If a {@link android.R.attr#background}
2110             is provided, the padding will initially be set to that (0 if the
2111             drawable does not have padding).  Explicitly setting a padding value
2112             will override the corresponding padding found in the background. -->
2113        <attr name="padding" format="dimension" />
2114        <!-- Sets the padding, in pixels, of the left edge; see {@link android.R.attr#padding}. -->
2115        <attr name="paddingLeft" format="dimension" />
2116        <!-- Sets the padding, in pixels, of the top edge; see {@link android.R.attr#padding}. -->
2117        <attr name="paddingTop" format="dimension" />
2118        <!-- Sets the padding, in pixels, of the right edge; see {@link android.R.attr#padding}. -->
2119        <attr name="paddingRight" format="dimension" />
2120        <!-- Sets the padding, in pixels, of the bottom edge; see {@link android.R.attr#padding}. -->
2121        <attr name="paddingBottom" format="dimension" />
2122        <!-- Sets the padding, in pixels, of the start edge; see {@link android.R.attr#padding}. -->
2123        <attr name="paddingStart" format="dimension" />
2124        <!-- Sets the padding, in pixels, of the end edge; see {@link android.R.attr#padding}. -->
2125        <attr name="paddingEnd" format="dimension" />
2126
2127        <!-- Boolean that controls whether a view can take focus.  By default the user can not
2128             move focus to a view; by setting this attribute to true the view is
2129             allowed to take focus.  This value does not impact the behavior of
2130             directly calling {@link android.view.View#requestFocus}, which will
2131             always request focus regardless of this view.  It only impacts where
2132             focus navigation will try to move focus. -->
2133        <attr name="focusable" format="boolean" />
2134
2135        <!-- Boolean that controls whether a view can take focus while in touch mode.
2136             If this is true for a view, that view can gain focus when clicked on, and can keep
2137             focus if another view is clicked on that doesn't have this attribute set to true. -->
2138        <attr name="focusableInTouchMode" format="boolean" />
2139
2140        <!-- Controls the initial visibility of the view.  -->
2141        <attr name="visibility">
2142            <!-- Visible on screen; the default value. -->
2143            <enum name="visible" value="0" />
2144            <!-- Not displayed, but taken into account during layout (space is left for it). -->
2145            <enum name="invisible" value="1" />
2146            <!-- Completely hidden, as if the view had not been added. -->
2147            <enum name="gone" value="2" />
2148        </attr>
2149
2150        <!-- Boolean internal attribute to adjust view layout based on
2151             system windows such as the status bar.
2152             If true, adjusts the padding of this view to leave space for the system windows.
2153             Will only take effect if this view is in a non-embedded activity. -->
2154        <attr name="fitsSystemWindows" format="boolean" />
2155
2156        <!-- Defines which scrollbars should be displayed on scrolling or not. -->
2157        <attr name="scrollbars">
2158            <!-- No scrollbar is displayed. -->
2159            <flag name="none" value="0x00000000" />
2160            <!-- Displays horizontal scrollbar only. -->
2161            <flag name="horizontal" value="0x00000100" />
2162            <!-- Displays vertical scrollbar only. -->
2163            <flag name="vertical" value="0x00000200" />
2164        </attr>
2165
2166        <!-- Controls the scrollbar style and position. The scrollbars can be overlaid or
2167             inset. When inset, they add to the padding of the view. And the
2168             scrollbars can be drawn inside the padding area or on the edge of
2169             the view. For example, if a view has a background drawable and you
2170             want to draw the scrollbars inside the padding specified by the
2171             drawable, you can use insideOverlay or insideInset. If you want them
2172             to appear at the edge of the view, ignoring the padding, then you can
2173             use outsideOverlay or outsideInset.-->
2174        <attr name="scrollbarStyle">
2175            <!-- Inside the padding and overlaid -->
2176            <enum name="insideOverlay" value="0x0" />
2177            <!-- Inside the padding and inset -->
2178            <enum name="insideInset" value="0x01000000" />
2179            <!-- Edge of the view and overlaid -->
2180            <enum name="outsideOverlay" value="0x02000000" />
2181            <!-- Edge of the view and inset -->
2182            <enum name="outsideInset" value="0x03000000" />
2183        </attr>
2184
2185        <!-- Set this if the view will serve as a scrolling container, meaing
2186             that it can be resized to shrink its overall window so that there
2187             will be space for an input method.  If not set, the default
2188             value will be true if "scrollbars" has the vertical scrollbar
2189             set, else it will be false. -->
2190        <attr name="isScrollContainer" format="boolean" />
2191
2192          <!-- Defines whether to fade out scrollbars when they are not in use. -->
2193         <attr name="fadeScrollbars" format="boolean" />
2194         <!-- Defines the delay in milliseconds that a scrollbar takes to fade out. -->
2195         <attr name="scrollbarFadeDuration" format="integer" />
2196         <!-- Defines the delay in milliseconds that a scrollbar waits before fade out. -->
2197        <attr name="scrollbarDefaultDelayBeforeFade" format="integer" />
2198        <!-- Sets the width of vertical scrollbars and height of horizontal scrollbars. -->
2199        <attr name="scrollbarSize" format="dimension" />
2200        <!-- Defines the horizontal scrollbar thumb drawable. -->
2201        <attr name="scrollbarThumbHorizontal" format="reference" />
2202        <!-- Defines the vertical scrollbar thumb drawable. -->
2203        <attr name="scrollbarThumbVertical" format="reference" />
2204        <!-- Defines the horizontal scrollbar track drawable. -->
2205        <attr name="scrollbarTrackHorizontal" format="reference" />
2206        <!-- Defines the vertical scrollbar track drawable. -->
2207        <attr name="scrollbarTrackVertical" format="reference" />
2208        <!-- Defines whether the horizontal scrollbar track should always be drawn. -->
2209        <attr name="scrollbarAlwaysDrawHorizontalTrack" format="boolean" />
2210        <!-- Defines whether the vertical scrollbar track should always be drawn. -->
2211        <attr name="scrollbarAlwaysDrawVerticalTrack" format="boolean" />
2212
2213        <!-- This attribute is deprecated and will be ignored as of
2214             API level 14 ({@link android.os.Build.VERSION_CODES#ICE_CREAM_SANDWICH}).
2215             Using fading edges may introduce noticeable performance
2216             degradations and should be used only when required by the application's
2217             visual design. To request fading edges with API level 14 and above,
2218             use the <code>android:requiresFadingEdge</code> attribute instead. -->
2219        <attr name="fadingEdge">
2220            <!-- No edge is faded. -->
2221            <flag name="none" value="0x00000000" />
2222            <!-- Fades horizontal edges only. -->
2223            <flag name="horizontal" value="0x00001000" />
2224            <!-- Fades vertical edges only. -->
2225            <flag name="vertical" value="0x00002000" />
2226        </attr>
2227        <!-- Defines which edges should be faded on scrolling. -->
2228        <attr name="requiresFadingEdge">
2229            <!-- No edge is faded. -->
2230            <flag name="none" value="0x00000000" />
2231            <!-- Fades horizontal edges only. -->
2232            <flag name="horizontal" value="0x00001000" />
2233            <!-- Fades vertical edges only. -->
2234            <flag name="vertical" value="0x00002000" />
2235        </attr>
2236        <!-- Defines the length of the fading edges. -->
2237        <attr name="fadingEdgeLength" format="dimension" />
2238
2239        <!-- Defines the next view to give focus to when the next focus is
2240             {@link android.view.View#FOCUS_LEFT}.
2241
2242             If the reference refers to a view that does not exist or is part
2243             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2244             will result when the reference is accessed.-->
2245        <attr name="nextFocusLeft" format="reference"/>
2246
2247        <!-- Defines the next view to give focus to when the next focus is
2248             {@link android.view.View#FOCUS_RIGHT}
2249
2250             If the reference refers to a view that does not exist or is part
2251             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2252             will result when the reference is accessed.-->
2253        <attr name="nextFocusRight" format="reference"/>
2254
2255        <!-- Defines the next view to give focus to when the next focus is
2256             {@link android.view.View#FOCUS_UP}
2257
2258             If the reference refers to a view that does not exist or is part
2259             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2260             will result when the reference is accessed.-->
2261        <attr name="nextFocusUp" format="reference"/>
2262
2263        <!-- Defines the next view to give focus to when the next focus is
2264             {@link android.view.View#FOCUS_DOWN}
2265
2266             If the reference refers to a view that does not exist or is part
2267             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2268             will result when the reference is accessed.-->
2269        <attr name="nextFocusDown" format="reference"/>
2270
2271        <!-- Defines the next view to give focus to when the next focus is
2272             {@link android.view.View#FOCUS_FORWARD}
2273
2274             If the reference refers to a view that does not exist or is part
2275             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2276             will result when the reference is accessed.-->
2277        <attr name="nextFocusForward" format="reference"/>
2278
2279        <!-- Defines whether this view reacts to click events. -->
2280        <attr name="clickable" format="boolean" />
2281
2282        <!-- Defines whether this view reacts to long click events. -->
2283        <attr name="longClickable" format="boolean" />
2284
2285        <!-- If unset, no state will be saved for this view when it is being
2286             frozen. The default is true, allowing the view to be saved
2287             (however it also must have an ID assigned to it for its
2288             state to be saved).  Setting this to false only disables the
2289             state for this view, not for its children which may still
2290             be saved. -->
2291        <attr name="saveEnabled" format="boolean" />
2292
2293        <!-- Specifies whether to filter touches when the view's window is obscured by
2294             another visible window.  When set to true, the view will not receive touches
2295             whenever a toast, dialog or other window appears above the view's window.
2296             Refer to the {@link android.view.View} security documentation for more details. -->
2297        <attr name="filterTouchesWhenObscured" format="boolean" />
2298
2299        <!-- Defines the quality of translucent drawing caches. This property is used
2300             only when the drawing cache is enabled and translucent. The default value is auto. -->
2301        <attr name="drawingCacheQuality">
2302            <!-- Lets the framework decide what quality level should be used
2303                 for the drawing cache. -->
2304            <enum name="auto" value="0" />
2305            <!-- Low quality. When set to low quality, the drawing cache uses a lower color
2306                 depth, thus losing precision in rendering gradients, but uses less memory. -->
2307            <enum name="low" value="1" />
2308            <!-- High quality. When set to high quality, the drawing cache uses a higher
2309                 color depth but uses more memory. -->
2310            <enum name="high" value="2" />
2311        </attr>
2312
2313        <!-- Controls whether the view's window should keep the screen on
2314             while visible. -->
2315        <attr name="keepScreenOn" format="boolean" />
2316
2317        <!-- When this attribute is set to true, the view gets its drawable state
2318             (focused, pressed, etc.) from its direct parent rather than from itself. -->
2319        <attr name="duplicateParentState" format="boolean" />
2320
2321        <!-- Defines the minimum height of the view. It is not guaranteed
2322             the view will be able to achieve this minimum height (for example,
2323             if its parent layout constrains it with less available height). -->
2324        <attr name="minHeight" />
2325
2326        <!-- Defines the minimum width of the view. It is not guaranteed
2327             the view will be able to achieve this minimum width (for example,
2328             if its parent layout constrains it with less available width). -->
2329        <attr name="minWidth" />
2330
2331        <!-- Boolean that controls whether a view should have sound effects
2332             enabled for events such as clicking and touching. -->
2333        <attr name="soundEffectsEnabled" format="boolean" />
2334
2335        <!-- Boolean that controls whether a view should have haptic feedback
2336             enabled for events such as long presses. -->
2337        <attr name="hapticFeedbackEnabled" format="boolean" />
2338
2339        <!-- Defines text that briefly describes content of the view. This property is used
2340             primarily for accessibility. Since some views do not have textual
2341             representation this attribute can be used for providing such. -->
2342        <attr name="contentDescription" format="string" localization="suggested" />
2343
2344        <!-- Name of the method in this View's context to invoke when the view is
2345             clicked. This name must correspond to a public method that takes
2346             exactly one parameter of type View. For instance, if you specify
2347             <code>android:onClick="sayHello"</code>, you must declare a
2348             <code>public void sayHello(View v)</code> method of your context
2349             (typically, your Activity). -->
2350        <attr name="onClick" format="string" />
2351
2352        <!-- Defines over-scrolling behavior. This property is used only if the
2353             View is scrollable. Over-scrolling is the ability for the user to
2354             receive feedback when attempting to scroll beyond meaningful content. -->
2355        <attr name="overScrollMode">
2356            <!-- Always show over-scroll effects, even if the content fits entirely
2357                 within the available space. -->
2358            <enum name="always" value="0" />
2359            <!-- Only show over-scroll effects if the content is large
2360                 enough to meaningfully scroll. -->
2361            <enum name="ifContentScrolls" value="1" />
2362            <!-- Never show over-scroll effects. -->
2363            <enum name="never" value="2" />
2364        </attr>
2365
2366        <!-- alpha property of the view, as a value between 0 (completely transparent) and 1
2367             (completely opaque). -->
2368        <attr name="alpha" format="float" />
2369
2370        <!-- base z depth of the view -->
2371        <attr name="elevation" format="dimension" />
2372
2373        <!-- translation in x of the view. This value is added post-layout to the left
2374             property of the view, which is set by its layout. -->
2375        <attr name="translationX" format="dimension" />
2376
2377        <!-- translation in y of the view. This value is added post-layout to the top
2378             property of the view, which is set by its layout. -->
2379        <attr name="translationY" format="dimension" />
2380
2381        <!-- translation in z of the view. This value is added to its elevation. -->
2382        <attr name="translationZ" format="dimension" />
2383
2384        <!-- x location of the pivot point around which the view will rotate and scale.
2385             This xml attribute sets the pivotX property of the View. -->
2386        <attr name="transformPivotX" format="dimension" />
2387
2388        <!-- y location of the pivot point around which the view will rotate and scale.
2389             This xml attribute sets the pivotY property of the View. -->
2390        <attr name="transformPivotY" format="dimension" />
2391
2392        <!-- rotation of the view, in degrees. -->
2393        <attr name="rotation" format="float" />
2394
2395        <!-- rotation of the view around the x axis, in degrees. -->
2396        <attr name="rotationX" format="float" />
2397
2398        <!-- rotation of the view around the y axis, in degrees. -->
2399        <attr name="rotationY" format="float" />
2400
2401        <!-- scale of the view in the x direction. -->
2402        <attr name="scaleX" format="float" />
2403
2404        <!-- scale of the view in the y direction. -->
2405        <attr name="scaleY" format="float" />
2406
2407        <!-- Determines which side the vertical scroll bar should be placed on. -->
2408        <attr name="verticalScrollbarPosition">
2409            <!-- Place the scroll bar wherever the system default determines. -->
2410            <enum name="defaultPosition" value="0" />
2411            <!-- Place the scroll bar on the left. -->
2412            <enum name="left" value="1" />
2413            <!-- Place the scroll bar on the right. -->
2414            <enum name="right" value="2" />
2415        </attr>
2416
2417        <!-- Specifies the type of layer backing this view. The default value is none.
2418             Refer to {@link android.view.View#setLayerType(int, android.graphics.Paint)}
2419             for more information.-->
2420        <attr name="layerType">
2421            <!-- Don't use a layer. -->
2422            <enum name="none" value="0" />
2423            <!-- Use a software layer. Refer to
2424                 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for
2425                 more information. -->
2426            <enum name="software" value="1" />
2427            <!-- Use a hardware layer. Refer to
2428                 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for
2429                 more information. -->
2430            <enum name="hardware" value="2" />
2431        </attr>
2432
2433        <!-- Defines the direction of layout drawing. This typically is associated with writing
2434             direction of the language script used. The possible values are "ltr" for Left-to-Right,
2435             "rtl" for Right-to-Left, "locale" and "inherit" from parent view. If there is nothing
2436             to inherit, "locale" is used. "locale" falls back to "en-US". "ltr" is the direction
2437             used in "en-US". The default for this attribute is "inherit". -->
2438        <attr name="layoutDirection">
2439            <!-- Left-to-Right -->
2440            <enum name="ltr" value="0" />
2441            <!-- Right-to-Left -->
2442            <enum name="rtl" value="1" />
2443            <!-- Inherit from parent -->
2444            <enum name="inherit" value="2" />
2445            <!-- Locale -->
2446            <enum name="locale" value="3" />
2447        </attr>
2448
2449        <!-- Defines the direction of the text. A heuristic is used to determine the resolved text
2450              direction of paragraphs. -->
2451         <attr name="textDirection" format="integer">
2452            <!-- Default -->
2453            <enum name="inherit" value="0" />
2454            <!-- Default for the root view. The first strong directional character determines the
2455                 paragraph direction.  If there is no strong directional character, the paragraph
2456                 direction is the view’s resolved layout direction. -->
2457            <enum name="firstStrong" value="1" />
2458            <!-- The paragraph direction is RTL if it contains any strong RTL character, otherwise
2459                 it is LTR if it contains any strong LTR characters.  If there are neither, the
2460                 paragraph direction is the view’s resolved layout direction. -->
2461            <enum name="anyRtl" value="2" />
2462            <!-- The paragraph direction is left to right. -->
2463            <enum name="ltr" value="3" />
2464            <!-- The paragraph direction is right to left. -->
2465            <enum name="rtl" value="4" />
2466            <!-- The paragraph direction is coming from the system Locale. -->
2467            <enum name="locale" value="5" />
2468        </attr>
2469
2470        <!-- Defines the alignment of the text. A heuristic is used to determine the resolved
2471            text alignment. -->
2472        <attr name="textAlignment" format="integer">
2473            <!-- Default -->
2474            <enum name="inherit" value="0" />
2475            <!-- Default for the root view. The gravity determines the alignment, ALIGN_NORMAL,
2476                ALIGN_CENTER, or ALIGN_OPPOSITE, which are relative to each paragraph’s
2477                text direction -->
2478            <enum name="gravity" value="1" />
2479            <!-- Align to the start of the paragraph, e.g. ALIGN_NORMAL. -->
2480            <enum name="textStart" value="2" />
2481            <!-- Align to the end of the paragraph, e.g. ALIGN_OPPOSITE. -->
2482            <enum name="textEnd" value="3" />
2483            <!-- Center the paragraph, e.g. ALIGN_CENTER. -->
2484            <enum name="center" value="4" />
2485            <!-- Align to the start of the view, which is ALIGN_LEFT if the view’s resolved
2486                layoutDirection is LTR, and ALIGN_RIGHT otherwise. -->
2487            <enum name="viewStart" value="5" />
2488            <!-- Align to the end of the view, which is ALIGN_RIGHT if the view’s resolved
2489                layoutDirection is LTR, and ALIGN_LEFT otherwise -->
2490            <enum name="viewEnd" value="6" />
2491        </attr>
2492
2493        <!-- Controls how this View is important for accessibility which is if it fires
2494             accessibility events and if it is reported to accessibility services that
2495             query the screen. Note: While not recommended, an accessibility service may
2496             decide to ignore this attribute and operate on all views in the view tree. -->
2497        <attr name="importantForAccessibility" format="integer">
2498            <!-- The system determines whether the view is important for accessibility - default
2499                 (recommended). -->
2500            <enum name="auto" value="0" />
2501            <!-- The view is important for accessibility. -->
2502            <enum name="yes" value="1" />
2503            <!-- The view is not important for accessibility. -->
2504            <enum name="no" value="2" />
2505            <!-- The view is not important for accessibility, nor are any of its descendant
2506                 views. -->
2507            <enum name="noHideDescendants" value="4" />
2508        </attr>
2509
2510        <!-- Indicates to accessibility services whether the user should be notified when
2511             this view changes. -->
2512        <attr name="accessibilityLiveRegion" format="integer">
2513            <!-- Accessibility services should not announce changes to this view. -->
2514            <enum name="none" value="0" />
2515            <!-- Accessibility services should announce changes to this view. -->
2516            <enum name="polite" value="1" />
2517            <!-- Accessibility services should interrupt ongoing speech to immediately
2518                 announce changes to this view. -->
2519            <enum name="assertive" value="2" />
2520        </attr>
2521
2522        <!-- Specifies the id of a view for which this view serves as a label for
2523             accessibility purposes. For example, a TextView before an EditText in
2524             the UI usually specifies what infomation is contained in the EditText.
2525             Hence, the TextView is a label for the EditText. -->
2526        <attr name="labelFor" format="reference" />
2527
2528        <!-- Specifies a theme override for a view. When a theme override is set, the
2529             view will be inflated using a {@link android.content.Context} themed with
2530             the specified resource. During XML inflation, any child views under the
2531             view with a theme override will inherit the themed context. -->
2532        <attr name="theme" />
2533
2534        <!-- Names a View such that it can be identified for Transitions. Names should be
2535             unique in the View hierarchy. -->
2536        <attr name="transitionName" format="string" />
2537
2538        <!-- Specifies that this view should permit nested scrolling within a compatible
2539             ancestor view. -->
2540        <attr name="nestedScrollingEnabled" format="boolean" />
2541
2542        <!-- Sets the state-based animator for the View. -->
2543        <attr name="stateListAnimator" format="reference"/>
2544
2545        <!-- Tint to apply to the background. -->
2546        <attr name="backgroundTint" format="color" />
2547
2548        <!-- Blending mode used to apply the background tint. -->
2549        <attr name="backgroundTintMode">
2550            <!-- The tint is drawn on top of the drawable.
2551                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
2552            <enum name="src_over" value="3" />
2553            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
2554                 color channels are thrown out. [Sa * Da, Sc * Da] -->
2555            <enum name="src_in" value="5" />
2556            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
2557                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
2558            <enum name="src_atop" value="9" />
2559            <!-- Multiplies the color and alpha channels of the drawable with those of
2560                 the tint. [Sa * Da, Sc * Dc] -->
2561            <enum name="multiply" value="14" />
2562            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
2563            <enum name="screen" value="15" />
2564            <!-- Combines the tint and drawable color and alpha channels, clamping the
2565                 result to valid color values. Saturate(S + D) -->
2566            <enum name="add" value="16" />
2567        </attr>
2568
2569        <!-- ViewOutlineProvider used to determine the View's Outline. -->
2570        <attr name="outlineProvider">
2571            <!-- Default, background drawable-driven outline. -->
2572            <enum name="background" value="0" />
2573            <!-- No outline provider. -->
2574            <enum name="none" value="1" />
2575            <!-- Generates an opaque outline for the bounds of the view. -->
2576            <enum name="bounds" value="2" />
2577            <!-- Generates an opaque outline for the padded bounds of the view. -->
2578            <enum name="paddedBounds" value="3" />
2579        </attr>
2580
2581    </declare-styleable>
2582
2583    <!-- Attributes that can be assigned to a tag for a particular View. -->
2584    <declare-styleable name="ViewTag">
2585        <!-- Specifies the key identifying a tag. This must be a resource reference. -->
2586        <attr name="id" />
2587        <!-- Specifies the value with which to tag the view. -->
2588        <attr name="value" />
2589    </declare-styleable>
2590
2591    <!-- Attributes that can be used with a {@link android.view.ViewGroup} or any
2592         of its subclasses.  Also see {@link #ViewGroup_Layout} for
2593         attributes that this class processes in its children. -->
2594    <declare-styleable name="ViewGroup">
2595        <!-- Defines whether changes in layout (caused by adding and removing items) should
2596             cause a LayoutTransition to run. When this flag is set to true, a default
2597             LayoutTransition object will be set on the ViewGroup container and default
2598             animations will run when these layout changes occur.-->
2599        <attr name="animateLayoutChanges" format="boolean" />
2600        <!-- Defines whether a child is limited to draw inside of its bounds or not.
2601             This is useful with animations that scale the size of the children to more
2602             than 100% for instance. In such a case, this property should be set to false
2603             to allow the children to draw outside of their bounds. The default value of
2604             this property is true. -->
2605        <attr name="clipChildren" format="boolean" />
2606        <!-- Defines whether the ViewGroup will clip its drawing surface so as to exclude
2607             the padding area. This property is set to true by default. -->
2608        <attr name="clipToPadding" format="boolean" />
2609        <!-- Defines the layout animation to use the first time the ViewGroup is laid out.
2610             Layout animations can also be started manually after the first layout. -->
2611        <attr name="layoutAnimation" format="reference" />
2612        <!-- Defines whether layout animations should create a drawing cache for their
2613             children. Enabling the animation cache consumes more memory and requires
2614             a longer initialization but provides better performance. The animation
2615             cache is enabled by default. -->
2616        <attr name="animationCache" format="boolean" />
2617        <!-- Defines the persistence of the drawing cache. The drawing cache might be
2618             enabled by a ViewGroup for all its children in specific situations (for
2619             instance during a scrolling.) This property lets you persist the cache
2620             in memory after its initial usage. Persisting the cache consumes more
2621             memory but may prevent frequent garbage collection is the cache is created
2622             over and over again. By default the persistence is set to scrolling. -->
2623        <attr name="persistentDrawingCache">
2624            <!-- The drawing cache is not persisted after use. -->
2625            <flag name="none" value="0x0" />
2626            <!-- The drawing cache is persisted after a layout animation. -->
2627            <flag name="animation" value="0x1" />
2628            <!-- The drawing cache is persisted after a scroll. -->
2629            <flag name="scrolling" value="0x2" />
2630            <!-- The drawing cache is always persisted. -->
2631            <flag name="all" value="0x3" />
2632        </attr>
2633        <!-- Defines whether the ViewGroup should always draw its children using their
2634             drawing cache or not. The default value is true. -->
2635        <attr name="alwaysDrawnWithCache" format="boolean" />
2636        <!-- Sets whether this ViewGroup's drawable states also include
2637             its children's drawable states.  This is used, for example, to
2638             make a group appear to be focused when its child EditText or button
2639             is focused. -->
2640        <attr name="addStatesFromChildren" format="boolean" />
2641
2642        <!-- Defines the relationship between the ViewGroup and its descendants
2643             when looking for a View to take focus. -->
2644        <attr name="descendantFocusability">
2645            <!-- The ViewGroup will get focus before any of its descendants. -->
2646            <enum name="beforeDescendants" value="0" />
2647            <!-- The ViewGroup will get focus only if none of its descendants want it. -->
2648            <enum name="afterDescendants" value="1" />
2649            <!-- The ViewGroup will block its descendants from receiving focus. -->
2650            <enum name="blocksDescendants" value="2" />
2651        </attr>
2652
2653        <!-- Set to true if this ViewGroup blocks focus in the presence of a touchscreen. -->
2654        <attr name="touchscreenBlocksFocus" format="boolean" />
2655
2656        <!-- Sets whether this ViewGroup should split MotionEvents
2657             to separate child views during touch event dispatch.
2658             If false (default), touch events will be dispatched to
2659             the child view where the first pointer went down until
2660             the last pointer goes up.
2661             If true, touch events may be dispatched to multiple children.
2662             MotionEvents for each pointer will be dispatched to the child
2663             view where the initial ACTION_DOWN event happened.
2664             See {@link android.view.ViewGroup#setMotionEventSplittingEnabled(boolean)}
2665             for more information. -->
2666        <attr name="splitMotionEvents" format="boolean" />
2667
2668        <!-- Defines the layout mode of this ViewGroup. -->
2669        <attr name="layoutMode">
2670            <!-- Use the children's clip bounds when laying out this container. -->
2671            <enum name="clipBounds" value="0" />
2672            <!-- Use the children's optical bounds when laying out this container. -->
2673            <enum name="opticalBounds" value="1" />
2674        </attr>
2675
2676        <!-- Sets whether or not this ViewGroup should be treated as a single entity
2677             when doing an Activity transition. Typically, the elements inside a
2678             ViewGroup are each transitioned from the scene individually. The default
2679             for a ViewGroup is false unless it has a background. See
2680             {@link android.app.ActivityOptions#makeSceneTransitionAnimation(android.app.Activity,
2681             android.view.View, String)} for more information. Corresponds to
2682             {@link android.view.ViewGroup#setTransitionGroup(boolean)}.-->
2683        <attr name="transitionGroup" format="boolean" />
2684    </declare-styleable>
2685
2686    <!-- A {@link android.view.ViewStub} lets you lazily include other XML layouts
2687         inside your application at runtime. -->
2688    <declare-styleable name="ViewStub">
2689        <!-- Supply an identifier for the layout resource to inflate when the ViewStub
2690             becomes visible or when forced to do so. The layout resource must be a
2691             valid reference to a layout. -->
2692        <attr name="layout" format="reference" />
2693        <!-- Overrides the id of the inflated View with this value. -->
2694        <attr name="inflatedId" format="reference" />
2695    </declare-styleable>
2696
2697    <!-- ===================================== -->
2698    <!-- View package parent layout attributes -->
2699    <!-- ===================================== -->
2700    <eat-comment />
2701
2702    <!-- This is the basic set of layout attributes that are common to all
2703         layout managers.  These attributes are specified with the rest of
2704         a view's normal attributes (such as {@link android.R.attr#background},
2705         but will be parsed by the view's parent and ignored by the child.
2706        <p>The values defined here correspond to the base layout attribute
2707        class {@link android.view.ViewGroup.LayoutParams}. -->
2708    <declare-styleable name="ViewGroup_Layout">
2709        <!-- Specifies the basic width of the view.  This is a required attribute
2710             for any view inside of a containing layout manager.  Its value may
2711             be a dimension (such as "12dip") for a constant width or one of
2712             the special constants. -->
2713        <attr name="layout_width" format="dimension">
2714            <!-- The view should be as big as its parent (minus padding).
2715                 This constant is deprecated starting from API Level 8 and
2716                 is replaced by {@code match_parent}. -->
2717            <enum name="fill_parent" value="-1" />
2718            <!-- The view should be as big as its parent (minus padding).
2719                 Introduced in API Level 8. -->
2720            <enum name="match_parent" value="-1" />
2721            <!-- The view should be only big enough to enclose its content (plus padding). -->
2722            <enum name="wrap_content" value="-2" />
2723        </attr>
2724
2725        <!-- Specifies the basic height of the view.  This is a required attribute
2726             for any view inside of a containing layout manager.  Its value may
2727             be a dimension (such as "12dip") for a constant height or one of
2728             the special constants. -->
2729        <attr name="layout_height" format="dimension">
2730            <!-- The view should be as big as its parent (minus padding).
2731                 This constant is deprecated starting from API Level 8 and
2732                 is replaced by {@code match_parent}. -->
2733            <enum name="fill_parent" value="-1" />
2734            <!-- The view should be as big as its parent (minus padding).
2735                 Introduced in API Level 8. -->
2736            <enum name="match_parent" value="-1" />
2737            <!-- The view should be only big enough to enclose its content (plus padding). -->
2738            <enum name="wrap_content" value="-2" />
2739        </attr>
2740    </declare-styleable>
2741
2742    <!-- This is the basic set of layout attributes for layout managers that
2743         wish to place margins around their child views.
2744         These attributes are specified with the rest of
2745         a view's normal attributes (such as {@link android.R.attr#background},
2746         but will be parsed by the view's parent and ignored by the child.
2747        <p>The values defined here correspond to the base layout attribute
2748        class {@link android.view.ViewGroup.MarginLayoutParams}. -->
2749    <declare-styleable name="ViewGroup_MarginLayout">
2750        <attr name="layout_width" />
2751        <attr name="layout_height" />
2752        <!--  Specifies extra space on the left, top, right and bottom
2753              sides of this view. This space is outside this view's bounds. -->
2754        <attr name="layout_margin" format="dimension"  />
2755        <!--  Specifies extra space on the left side of this view.
2756              This space is outside this view's bounds. -->
2757        <attr name="layout_marginLeft" format="dimension"  />
2758        <!--  Specifies extra space on the top side of this view.
2759              This space is outside this view's bounds. -->
2760        <attr name="layout_marginTop" format="dimension" />
2761        <!--  Specifies extra space on the right side of this view.
2762              This space is outside this view's bounds. -->
2763        <attr name="layout_marginRight" format="dimension"  />
2764        <!--  Specifies extra space on the bottom side of this view.
2765              This space is outside this view's bounds. -->
2766        <attr name="layout_marginBottom" format="dimension"  />
2767        <!--  Specifies extra space on the start side of this view.
2768              This space is outside this view's bounds. -->
2769        <attr name="layout_marginStart" format="dimension"  />
2770        <!--  Specifies extra space on the end side of this view.
2771              This space is outside this view's bounds. -->
2772        <attr name="layout_marginEnd" format="dimension"  />
2773    </declare-styleable>
2774
2775    <!-- Use <code>input-method</code> as the root tag of the XML resource that
2776         describes an
2777         {@link android.view.inputmethod.InputMethod} service, which is
2778         referenced from its
2779         {@link android.view.inputmethod.InputMethod#SERVICE_META_DATA}
2780         meta-data entry.  Described here are the attributes that can be
2781         included in that tag. -->
2782    <declare-styleable name="InputMethod">
2783        <!-- Component name of an activity that allows the user to modify
2784             the settings for this service. -->
2785        <attr name="settingsActivity" format="string" />
2786        <!-- Set to true in all of the configurations for which this input
2787             method should be considered an option as the default. -->
2788        <attr name="isDefault" format="boolean" />
2789        <!-- Set to true if this input method supports ways to switch to
2790             a next input method (e.g. a globe key.). When this is true and
2791             InputMethodManager#shouldOfferSwitchingToNextInputMethod() returns true,
2792             the IME has to offer ways to invoke InputMethodManager#switchToNextInputMethod()
2793             accordingly.
2794             <p> Note that the system determines the most appropriate next input method
2795             and subtype in order to provide the consistent user experience in switching
2796             between IMEs and subtypes. -->
2797        <attr name="supportsSwitchingToNextInputMethod" format="boolean" />
2798    </declare-styleable>
2799
2800    <!-- This is the subtype of InputMethod. Subtype can describe locales (e.g. en_US, fr_FR...)
2801         and modes (e.g. voice, keyboard...), and is used for IME switch. This subtype allows
2802         the system to call the specified subtype of the IME directly. -->
2803    <declare-styleable name="InputMethod_Subtype">
2804        <!-- The name of the subtype. -->
2805        <attr name="label" />
2806        <!-- The icon of the subtype. -->
2807        <attr name="icon" />
2808        <!-- The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...)
2809             and will be passed to the IME when the framework calls the IME
2810             with the subtype. This is also used by the framework to know the supported locales
2811             of the IME.  -->
2812        <attr name="imeSubtypeLocale" format="string" />
2813        <!-- The mode of the subtype. This string can be a mode (e.g. voice, keyboard...) and this
2814             string will be passed to the IME when the framework calls the IME with the
2815             subtype.  -->
2816        <attr name="imeSubtypeMode" format="string" />
2817        <!-- Set true if the subtype is auxiliary.  An auxiliary subtype won't be shown in the
2818             input method selection list in the settings app.
2819             InputMethodManager#switchToLastInputMethod will ignore auxiliary subtypes when it
2820             chooses a target subtype. -->
2821        <attr name="isAuxiliary" format="boolean" />
2822        <!-- Set true when this subtype should be selected by default if no other subtypes are
2823             selected explicitly. Note that a subtype with this parameter being true will
2824             not be shown in the subtypes list. -->
2825        <attr name="overridesImplicitlyEnabledSubtype" format="boolean" />
2826        <!-- The extra value of the subtype. This string can be any string and will be passed to
2827             the IME when the framework calls the IME with the subtype.  -->
2828        <attr name="imeSubtypeExtraValue" format="string" />
2829        <!-- The unique id for the subtype. The input method framework keeps track of enabled
2830             subtypes by ID. When the IME package gets upgraded, enabled IDs will stay enabled even
2831             if other attributes are different. If the ID is unspecified (by calling the other
2832             constructor or 0. Arrays.hashCode(new Object[] {locale, mode, extraValue,
2833             isAuxiliary, overridesImplicitlyEnabledSubtype}) will be used instead. -->
2834        <attr name="subtypeId" format="integer"/>
2835        <!-- Set to true if this subtype is ASCII capable. If the subtype is ASCII
2836             capable, it should guarantee that the user can input ASCII characters with
2837             this subtype. This is important because many password fields only allow
2838             ASCII-characters. -->
2839        <attr name="isAsciiCapable" format="boolean" />
2840    </declare-styleable>
2841
2842    <!-- Use <code>spell-checker</code> as the root tag of the XML resource that
2843         describes an
2844         {@link android.service.textservice.SpellCheckerService} service, which is
2845         referenced from its
2846         {@link android.view.textservice.SpellCheckerSession#SERVICE_META_DATA}
2847         meta-data entry.  Described here are the attributes that can be
2848         included in that tag. -->
2849    <declare-styleable name="SpellChecker">
2850        <!-- The name of the spell checker. -->
2851        <attr name="label" />
2852        <!-- Component name of an activity that allows the user to modify
2853             the settings for this service. -->
2854        <attr name="settingsActivity"/>
2855    </declare-styleable>
2856
2857    <!-- This is the subtype of the spell checker. Subtype can describe locales (e.g. en_US, fr_FR...) -->
2858    <declare-styleable name="SpellChecker_Subtype">
2859        <!-- The name of the subtype. -->
2860        <attr name="label" />
2861        <!-- The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...)
2862             This is also used by the framework to know the supported locales
2863             of the spell checker.  -->
2864        <attr name="subtypeLocale" format="string" />
2865        <!-- The extra value of the subtype. This string can be any string and will be passed to
2866             the SpellChecker.  -->
2867        <attr name="subtypeExtraValue" format="string" />
2868    </declare-styleable>
2869
2870    <!-- Use <code>accessibility-service</code> as the root tag of the XML resource that
2871         describes an {@link android.accessibilityservice.AccessibilityService} service,
2872         which is referenced from its
2873         {@link android.accessibilityservice.AccessibilityService#SERVICE_META_DATA}
2874         meta-data entry. -->
2875    <declare-styleable name="AccessibilityService">
2876        <!-- The event types this serivce would like to receive as specified in
2877             {@link android.view.accessibility.AccessibilityEvent}. This setting
2878             can be changed at runtime by calling
2879             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
2880             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
2881        <attr name="accessibilityEventTypes">
2882            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CLICKED} events.-->
2883            <flag name="typeViewClicked" value="0x00000001" />
2884            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_LONG_CLICKED} events. -->
2885            <flag name="typeViewLongClicked" value="0x00000002" />
2886            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SELECTED} events. -->
2887            <flag name="typeViewSelected" value="0x00000004" />
2888            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_FOCUSED} events. -->
2889            <flag name="typeViewFocused" value="0x00000008" />
2890            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_CHANGED} events. -->
2891            <flag name="typeViewTextChanged" value="0x00000010" />
2892            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_STATE_CHANGED} events. -->
2893            <flag name="typeWindowStateChanged" value="0x00000020" />
2894            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_NOTIFICATION_STATE_CHANGED} events. -->
2895            <flag name="typeNotificationStateChanged" value="0x00000040" />
2896            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_ENTER} events. -->
2897            <flag name="typeViewHoverEnter" value="0x00000080" />
2898            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_EXIT} events. -->
2899            <flag name="typeViewHoverExit" value="0x00000100" />
2900            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_START} events. -->
2901            <flag name="typeTouchExplorationGestureStart" value="0x00000200" />
2902            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_END} events. -->
2903            <flag name="typeTouchExplorationGestureEnd" value="0x00000400" />
2904            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_CONTENT_CHANGED} events. -->
2905            <flag name="typeWindowContentChanged" value="0x00000800" />
2906            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SCROLLED} events. -->
2907            <flag name="typeViewScrolled" value="0x000001000" />
2908            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_SELECTION_CHANGED} events. -->
2909            <flag name="typeViewTextSelectionChanged" value="0x000002000" />
2910            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPES_ALL_MASK} i.e. all events. -->
2911            <flag name="typeAllMask" value="0xffffffff" />
2912        </attr>
2913        <!-- Comma separated package names from which this serivce would like to receive events (leave out for all packages).
2914             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
2915             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
2916        <attr name="packageNames" format="string" />
2917        <!-- The feedback types this serivce provides as specified in
2918             {@link android.accessibilityservice.AccessibilityServiceInfo}. This setting
2919             can be changed at runtime by calling
2920             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
2921             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
2922        <attr name="accessibilityFeedbackType">
2923            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_SPOKEN} feedback. -->
2924            <flag name="feedbackSpoken" value="0x00000001" />
2925            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_HAPTIC} feedback. -->
2926            <flag name="feedbackHaptic" value="0x00000002" />
2927            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_AUDIBLE} feedback. -->
2928            <flag name="feedbackAudible" value="0x00000004" />
2929            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_VISUAL} feedback. -->
2930            <flag name="feedbackVisual" value="0x00000008" />
2931            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_GENERIC} feedback. -->
2932            <flag name="feedbackGeneric" value="0x00000010" />
2933            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_ALL_MASK} feedback. -->
2934            <flag name="feedbackAllMask" value="0xffffffff" />
2935        </attr>
2936        <!-- The minimal period in milliseconds between two accessibility events of the same type
2937             are sent to this serivce. This setting can be changed at runtime by calling
2938             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
2939             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
2940        <attr name="notificationTimeout" format="integer" />
2941        <!-- Additional flags as specified in
2942             {@link android.accessibilityservice.AccessibilityServiceInfo}.
2943             This setting can be changed at runtime by calling
2944             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
2945             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
2946        <attr name="accessibilityFlags">
2947            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#DEFAULT} -->
2948            <flag name="flagDefault" value="0x00000001" />
2949            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_INCLUDE_NOT_IMPORTANT_VIEWS} -->
2950            <flag name="flagIncludeNotImportantViews" value="0x00000002" />
2951            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} -->
2952            <flag name="flagRequestTouchExplorationMode" value="0x00000004" />
2953            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} -->
2954            <flag name="flagRequestEnhancedWebAccessibility" value="0x00000008" />
2955            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REPORT_VIEW_IDS} -->
2956            <flag name="flagReportViewIds" value="0x00000010" />
2957            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} -->
2958            <flag name="flagRequestFilterKeyEvents" value="0x00000020" />
2959            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_RETRIEVE_INTERACTIVE_WINDOWS} -->
2960            <flag name="flagRetrieveInteractiveWindows" value="0x00000040" />
2961        </attr>
2962        <!-- Component name of an activity that allows the user to modify
2963             the settings for this service. This setting cannot be changed at runtime. -->
2964        <attr name="settingsActivity" />
2965        <!-- Attribute whether the accessibility service wants to be able to retrieve the
2966             active window content. This setting cannot be changed at runtime. -->
2967        <attr name="canRetrieveWindowContent" format="boolean" />
2968        <!-- Attribute whether the accessibility service wants to be able to request touch
2969             exploration mode in which touched items are spoken aloud and the UI can be
2970             explored via gestures.
2971             <p>
2972             Required to allow setting the {@link android.accessibilityservice
2973             #AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} flag.
2974             </p>
2975         -->
2976        <attr name="canRequestTouchExplorationMode" format="boolean" />
2977        <!-- Attribute whether the accessibility service wants to be able to request enhanced
2978             web accessibility enhancements. For example, installing scripts to make app
2979             content more accessible.
2980             <p>
2981             Required to allow setting the {@link android.accessibilityservice
2982             #AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} flag.
2983             </p>
2984         -->
2985        <attr name="canRequestEnhancedWebAccessibility" format="boolean" />
2986        <!-- Attribute whether the accessibility service wants to be able to request to
2987             filter key events.
2988             <p>
2989             Required to allow setting the {@link android.accessibilityservice
2990             #AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} flag.
2991             </p>
2992         -->
2993        <attr name="canRequestFilterKeyEvents" format="boolean" />
2994        <!-- Short description of the accessibility serivce purpose or behavior.-->
2995        <attr name="description" />
2996    </declare-styleable>
2997
2998    <!-- Use <code>print-service</code> as the root tag of the XML resource that
2999         describes an {@link android.printservice.PrintService} service, which is
3000         referenced from its {@link android.printservice.PrintService#SERVICE_META_DATA}
3001         meta-data entry. -->
3002    <declare-styleable name="PrintService">
3003        <!-- Fully qualified class name of an activity that allows the user to modify
3004             the settings for this service. -->
3005        <attr name="settingsActivity" />
3006        <!-- Fully qualified class name of an activity that allows the user to manually
3007             add printers to this print service. -->
3008        <attr name="addPrintersActivity" format="string"/>
3009        <!-- Fully qualified class name of an activity with advanced print options
3010             specific to this print service. -->
3011        <attr name="advancedPrintOptionsActivity" format="string"/>
3012        <!-- The vendor name if this print service is vendor specific. -->
3013        <attr name="vendor" format="string"/>
3014    </declare-styleable>
3015
3016    <!-- Use <code>host-apdu-service</code> as the root tag of the XML resource that
3017         describes an {@link android.nfc.cardemulation.HostApduService} service, which
3018         is referenced from its {@link android.nfc.cardemulation.HostApduService#SERVICE_META_DATA}
3019         entry. -->
3020    <declare-styleable name="HostApduService">
3021        <!-- Short description of the functionality the service implements. This attribute
3022             is mandatory.-->
3023        <attr name="description" />
3024        <!-- Whether the device must be unlocked before routing data to this service.
3025             The default is false.-->
3026        <attr name="requireDeviceUnlock" format="boolean"/>
3027        <!-- A drawable that can be rendered in Android's system UI for representing
3028             the service. -->
3029        <attr name="apduServiceBanner" format="reference"/>
3030    </declare-styleable>
3031
3032    <!-- Use <code>offhost-apdu-service</code> as the root tag of the XML resource that
3033         describes an {@link android.nfc.cardemulation.OffHostApduService}
3034         service, which is referenced from its
3035         {@link android.nfc.cardemulation.OffHostApduService#SERVICE_META_DATA} entry. -->
3036    <declare-styleable name="OffHostApduService">
3037        <!-- Short description of the functionality the service implements. This attribute
3038             is mandatory.-->
3039        <attr name="description" />
3040        <!-- A drawable that can be rendered in Android's system UI for representing
3041             the service. -->
3042        <attr name="apduServiceBanner"/>
3043    </declare-styleable>
3044
3045    <!-- Specify one or more <code>aid-group</code> elements inside a
3046         <code>host-apdu-service</code> or <code>offhost-apdu-service</code>
3047         element to define a group of ISO7816 Application ID (AIDs) that
3048         your service can handle.-->
3049    <declare-styleable name="AidGroup">
3050        <!-- Short description of what the AID group implements. This attribute is mandatory.-->
3051        <attr name="description" />
3052        <!-- The category attribute will be used by the Android platform to present
3053             multiple applications that register ISO 7816 Application IDs (AIDs) in the
3054             same category uniformly.
3055             Additionally, when a category is specified, Android will ensure that either
3056             all AIDs in this group are routed to this application, or none at all.
3057             This attribute is optional.-->
3058        <attr name="category" format="string" />
3059    </declare-styleable>
3060
3061    <!-- Specify one or more <code>aid-filter</code> elements inside a
3062         <code>aid-group</code> element to specify an ISO7816 Application ID (AID)
3063         your service can handle. -->
3064    <declare-styleable name="AidFilter">
3065        <!-- The ISO7816 Application ID. This attribute is mandatory. -->
3066        <attr name="name" />
3067    </declare-styleable>
3068
3069    <!-- Specify one or more <code>aid-prefix-filter</code> elements inside a
3070         <code>aid-group</code> element to specify an ISO7816 Application ID (AID)
3071         prefix your service can handle. -->
3072    <declare-styleable name="AidPrefixFilter">
3073        <!-- The ISO7816 Application ID. This attribute is mandatory. -->
3074        <attr name="name" />
3075    </declare-styleable>
3076
3077    <declare-styleable name="ActionMenuItemView">
3078        <attr name="minWidth" />
3079    </declare-styleable>
3080
3081    <!-- =============================== -->
3082    <!-- Widget package class attributes -->
3083    <!-- =============================== -->
3084    <eat-comment />
3085
3086    <declare-styleable name="AbsListView">
3087         <!-- Drawable used to indicate the currently selected item in the list. -->
3088        <attr name="listSelector" format="color|reference" />
3089        <!-- When set to true, the selector will be drawn over the selected item.
3090             Otherwise the selector is drawn behind the selected item. The default
3091             value is false. -->
3092        <attr name="drawSelectorOnTop" format="boolean" />
3093        <!-- Used by ListView and GridView to stack their content from the bottom. -->
3094        <attr name="stackFromBottom" format="boolean" />
3095        <!-- When set to true, the list uses a drawing cache during scrolling.
3096             This makes the rendering faster but uses more memory. The default
3097             value is true. -->
3098        <attr name="scrollingCache" format="boolean" />
3099        <!-- When set to true, the list will filter results as the user types. The
3100             List's adapter must support the Filterable interface for this to work. -->
3101        <attr name="textFilterEnabled" format="boolean" />
3102        <!-- Sets the transcript mode for the list. In transcript mode, the list
3103             scrolls to the bottom to make new items visible when they are added. -->
3104        <attr name="transcriptMode">
3105            <!-- Disables transcript mode. This is the default value. -->
3106            <enum name="disabled" value="0"/>
3107            <!-- The list will automatically scroll to the bottom when
3108                 a data set change notification is received and only if the last item is
3109                 already visible on screen. -->
3110            <enum name="normal" value="1" />
3111            <!-- The list will automatically scroll to the bottom, no matter what items
3112                 are currently visible. -->
3113            <enum name="alwaysScroll" value="2" />
3114        </attr>
3115        <!-- Indicates that this list will always be drawn on top of solid, single-color
3116             opaque background. This allows the list to optimize drawing. -->
3117        <attr name="cacheColorHint" format="color" />
3118        <!-- Enables the fast scroll thumb that can be dragged to quickly scroll through
3119             the list. -->
3120        <attr name="fastScrollEnabled" format="boolean" />
3121        <!-- Specifies the style of the fast scroll decorations. -->
3122        <attr name="fastScrollStyle" format="reference" />
3123        <!-- When set to true, the list will use a more refined calculation
3124             method based on the pixels height of the items visible on screen. This
3125             property is set to true by default but should be set to false if your adapter
3126             will display items of varying heights. When this property is set to true and
3127             your adapter displays items of varying heights, the scrollbar thumb will
3128             change size as the user scrolls through the list. When set to fale, the list
3129             will use only the number of items in the adapter and the number of items visible
3130             on screen to determine the scrollbar's properties. -->
3131        <attr name="smoothScrollbar" format="boolean" />
3132        <!-- Defines the choice behavior for the view. By default, lists do not have
3133             any choice behavior. By setting the choiceMode to singleChoice, the list
3134             allows up to one item to be in a chosen state. By setting the choiceMode to
3135             multipleChoice, the list allows any number of items to be chosen.
3136             Finally, by setting the choiceMode to multipleChoiceModal the list allows
3137             any number of items to be chosen in a special selection mode.
3138             The application will supply a
3139             {@link android.widget.AbsListView.MultiChoiceModeListener} using
3140             {@link android.widget.AbsListView#setMultiChoiceModeListener} to control the
3141             selection mode. This uses the {@link android.view.ActionMode} API. -->
3142        <attr name="choiceMode">
3143            <!-- Normal list that does not indicate choices. -->
3144            <enum name="none" value="0" />
3145            <!-- The list allows up to one choice. -->
3146            <enum name="singleChoice" value="1" />
3147            <!-- The list allows multiple choices. -->
3148            <enum name="multipleChoice" value="2" />
3149            <!-- The list allows multiple choices in a custom selection mode. -->
3150            <enum name="multipleChoiceModal" value="3" />
3151        </attr>
3152
3153        <!-- When set to true, the list will always show the fast scroll interface.
3154             This setting implies fastScrollEnabled. -->
3155        <attr name="fastScrollAlwaysVisible" format="boolean" />
3156    </declare-styleable>
3157    <declare-styleable name="AbsSpinner">
3158        <!-- Reference to an array resource that will populate the Spinner.  For static content,
3159             this is simpler than populating the Spinner programmatically. -->
3160        <attr name="entries" />
3161    </declare-styleable>
3162    <declare-styleable name="AnalogClock">
3163        <attr name="dial" format="reference"/>
3164        <attr name="hand_hour" format="reference"/>
3165        <attr name="hand_minute" format="reference"/>
3166    </declare-styleable>
3167    <declare-styleable name="Button">
3168    </declare-styleable>
3169    <declare-styleable name="Chronometer">
3170        <!-- Format string: if specified, the Chronometer will display this
3171             string, with the first "%s" replaced by the current timer value
3172             in "MM:SS" or "H:MM:SS" form.
3173             If no format string is specified, the Chronometer will simply display
3174             "MM:SS" or "H:MM:SS". -->
3175        <attr name="format" format="string" localization="suggested" />
3176    </declare-styleable>
3177    <declare-styleable name="CompoundButton">
3178        <!-- Indicates the initial checked state of this button. -->
3179        <attr name="checked" format="boolean" />
3180        <!-- Drawable used for the button graphic (e.g. checkbox, radio button, etc). -->
3181        <attr name="button" format="reference" />
3182        <!-- Tint to apply to the button graphic. -->
3183        <attr name="buttonTint" format="color" />
3184        <!-- Blending mode used to apply the button graphic tint. -->
3185        <attr name="buttonTintMode">
3186            <!-- The tint is drawn on top of the drawable.
3187                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3188            <enum name="src_over" value="3" />
3189            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3190                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3191            <enum name="src_in" value="5" />
3192            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3193                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3194            <enum name="src_atop" value="9" />
3195            <!-- Multiplies the color and alpha channels of the drawable with those of
3196                 the tint. [Sa * Da, Sc * Dc] -->
3197            <enum name="multiply" value="14" />
3198            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3199            <enum name="screen" value="15" />
3200            <!-- Combines the tint and drawable color and alpha channels, clamping the
3201                 result to valid color values. Saturate(S + D) -->
3202            <enum name="add" value="16" />
3203        </attr>
3204    </declare-styleable>
3205    <declare-styleable name="CheckedTextView">
3206        <!-- Indicates the initial checked state of this text. -->
3207        <attr name="checked" />
3208        <!-- Drawable used for the check mark graphic. -->
3209        <attr name="checkMark" format="reference"/>
3210        <!-- Tint to apply to the check mark. -->
3211        <attr name="checkMarkTint" format="color" />
3212        <!-- Blending mode used to apply the check mark tint. -->
3213        <attr name="checkMarkTintMode">
3214            <!-- The tint is drawn on top of the drawable.
3215                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3216            <enum name="src_over" value="3" />
3217            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3218                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3219            <enum name="src_in" value="5" />
3220            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3221                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3222            <enum name="src_atop" value="9" />
3223            <!-- Multiplies the color and alpha channels of the drawable with those of
3224                 the tint. [Sa * Da, Sc * Dc] -->
3225            <enum name="multiply" value="14" />
3226            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3227            <enum name="screen" value="15" />
3228            <!-- Combines the tint and drawable color and alpha channels, clamping the
3229                 result to valid color values. Saturate(S + D) -->
3230            <enum name="add" value="16" />
3231        </attr>
3232        <!-- Gravity for aligning a CheckedTextView's checkmark to one side or the other. -->
3233        <attr name="checkMarkGravity">
3234            <!-- Push object to the left of its container, not changing its size. -->
3235            <flag name="left" value="0x03" />
3236            <!-- Push object to the right of its container, not changing its size. -->
3237            <flag name="right" value="0x05" />
3238            <!-- Push object to the beginning of its container, not changing its size. -->
3239            <flag name="start" value="0x00800003" />
3240            <!-- Push object to the end of its container, not changing its size. -->
3241            <flag name="end" value="0x00800005" />
3242        </attr>
3243    </declare-styleable>
3244    <declare-styleable name="EditText">
3245    </declare-styleable>
3246    <declare-styleable name="FastScroll">
3247        <!-- Drawable used for the scroll bar thumb. -->
3248        <attr name="thumbDrawable" format="reference" />
3249        <!-- Minimum width of the thumb. -->
3250        <attr name="thumbMinWidth" format="dimension" />
3251        <!-- Minimum height of the thumb. -->
3252        <attr name="thumbMinHeight" format="dimension" />
3253        <!-- Drawable used for the scroll bar track. -->
3254        <attr name="trackDrawable" format="reference" />
3255        <!-- Drawable used for the section header preview when right-aligned. -->
3256        <attr name="backgroundRight" format="reference" />
3257        <!-- Drawable used for the section header preview when left-aligned. -->
3258        <attr name="backgroundLeft" format="reference" />
3259        <!-- Position of section header preview. -->
3260        <attr name="position">
3261            <!-- Floating at the top of the content. -->
3262            <enum name="floating" value="0" />
3263            <!-- Pinned alongside the thumb. -->
3264            <enum name="atThumb" value="1" />
3265            <!-- Pinned above the thumb. -->
3266            <enum name="aboveThumb" value="2" />
3267        </attr>
3268        <attr name="textAppearance" />
3269        <attr name="textColor" />
3270        <attr name="textSize" />
3271        <!-- Minimum width of the section header preview. -->
3272        <attr name="minWidth" />
3273        <!-- Minimum height of the section header preview. -->
3274        <attr name="minHeight" />
3275        <!-- Padding for the section header preview. -->
3276        <attr name="padding" />
3277    </declare-styleable>
3278    <declare-styleable name="FrameLayout">
3279        <!-- Defines the drawable to draw over the content. This can be used as an overlay.
3280             The foreground drawable participates in the padding of the content if the gravity
3281             is set to fill. -->
3282        <attr name="foreground" format="reference|color" />
3283        <!-- Defines the gravity to apply to the foreground drawable. The gravity defaults
3284             to fill. -->
3285        <attr name="foregroundGravity">
3286            <!-- Push object to the top of its container, not changing its size. -->
3287            <flag name="top" value="0x30" />
3288            <!-- Push object to the bottom of its container, not changing its size. -->
3289            <flag name="bottom" value="0x50" />
3290            <!-- Push object to the left of its container, not changing its size. -->
3291            <flag name="left" value="0x03" />
3292            <!-- Push object to the right of its container, not changing its size. -->
3293            <flag name="right" value="0x05" />
3294            <!-- Place object in the vertical center of its container, not changing its size. -->
3295            <flag name="center_vertical" value="0x10" />
3296            <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
3297            <flag name="fill_vertical" value="0x70" />
3298            <!-- Place object in the horizontal center of its container, not changing its size. -->
3299            <flag name="center_horizontal" value="0x01" />
3300            <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
3301            <flag name="fill_horizontal" value="0x07" />
3302            <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
3303            <flag name="center" value="0x11" />
3304            <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
3305            <flag name="fill" value="0x77" />
3306            <!-- Additional option that can be set to have the top and/or bottom edges of
3307                 the child clipped to its container's bounds.
3308                 The clip will be based on the vertical gravity: a top gravity will clip the bottom
3309                 edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
3310            <flag name="clip_vertical" value="0x80" />
3311            <!-- Additional option that can be set to have the left and/or right edges of
3312                 the child clipped to its container's bounds.
3313                 The clip will be based on the horizontal gravity: a left gravity will clip the right
3314                 edge, a right gravity will clip the left edge, and neither will clip both edges. -->
3315            <flag name="clip_horizontal" value="0x08" />
3316        </attr>
3317        <!-- Defines whether the foreground drawable should be drawn inside the padding.
3318             This property is turned on by default. -->
3319        <attr name="foregroundInsidePadding" format="boolean" />
3320        <!-- Determines whether to measure all children or just those in
3321             the VISIBLE or INVISIBLE state when measuring. Defaults to false. -->
3322        <attr name="measureAllChildren" format="boolean" />
3323        <!-- Tint to apply to the foreground. -->
3324        <attr name="foregroundTint" format="color" />
3325        <!-- Blending mode used to apply the foreground tint. -->
3326        <attr name="foregroundTintMode">
3327            <!-- The tint is drawn on top of the drawable.
3328                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3329            <enum name="src_over" value="3" />
3330            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3331                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3332            <enum name="src_in" value="5" />
3333            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3334                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3335            <enum name="src_atop" value="9" />
3336            <!-- Multiplies the color and alpha channels of the drawable with those of
3337                 the tint. [Sa * Da, Sc * Dc] -->
3338            <enum name="multiply" value="14" />
3339            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3340            <enum name="screen" value="15" />
3341            <!-- Combines the tint and drawable color and alpha channels, clamping the
3342                 result to valid color values. Saturate(S + D) -->
3343            <enum name="add" value="16" />
3344        </attr>
3345    </declare-styleable>
3346    <declare-styleable name="ExpandableListView">
3347        <!-- Indicator shown beside the group View. This can be a stateful Drawable. -->
3348        <attr name="groupIndicator" format="reference" />
3349        <!-- Indicator shown beside the child View. This can be a stateful Drawable. -->
3350        <attr name="childIndicator" format="reference" />
3351        <!-- The left bound for an item's indicator. To specify a left bound specific to children,
3352             use childIndicatorLeft. -->
3353        <attr name="indicatorLeft" format="dimension" />
3354        <!-- The right bound for an item's indicator. To specify a right bound specific to children,
3355             use childIndicatorRight. -->
3356        <attr name="indicatorRight" format="dimension" />
3357        <!-- The left bound for a child's indicator. -->
3358        <attr name="childIndicatorLeft" format="dimension" />
3359        <!-- The right bound for a child's indicator. -->
3360        <attr name="childIndicatorRight" format="dimension" />
3361        <!-- Drawable or color that is used as a divider for children. (It will drawn
3362             below and above child items.) The height of this will be the same as
3363             the height of the normal list item divider. -->
3364        <attr name="childDivider" format="reference|color" />
3365        <!-- The start bound for an item's indicator. To specify a start bound specific to children,
3366             use childIndicatorStart. -->
3367        <attr name="indicatorStart" format="dimension" />
3368        <!-- The end bound for an item's indicator. To specify a right bound specific to children,
3369             use childIndicatorEnd. -->
3370        <attr name="indicatorEnd" format="dimension" />
3371        <!-- The start bound for a child's indicator. -->
3372        <attr name="childIndicatorStart" format="dimension" />
3373        <!-- The end bound for a child's indicator. -->
3374        <attr name="childIndicatorEnd" format="dimension" />
3375    </declare-styleable>
3376    <declare-styleable name="Gallery">
3377        <attr name="gravity" />
3378        <!-- Sets how long a transition animation should run (in milliseconds)
3379             when layout has changed.  Only relevant if animation is turned on. -->
3380        <attr name="animationDuration" format="integer" min="0" />
3381        <attr name="spacing" format="dimension" />
3382        <!-- Sets the alpha on the items that are not selected. -->
3383        <attr name="unselectedAlpha" format="float" />
3384    </declare-styleable>
3385    <declare-styleable name="GridView">
3386        <!-- Defines the default horizontal spacing between columns. -->
3387        <attr name="horizontalSpacing" format="dimension" />
3388        <!-- Defines the default vertical spacing between rows. -->
3389        <attr name="verticalSpacing" format="dimension" />
3390        <!-- Defines how columns should stretch to fill the available empty space, if any. -->
3391        <attr name="stretchMode">
3392            <!-- Stretching is disabled. -->
3393            <enum name="none" value="0"/>
3394            <!-- The spacing between each column is stretched. -->
3395            <enum name="spacingWidth" value="1" />
3396            <!-- Each column is stretched equally. -->
3397            <enum name="columnWidth" value="2" />
3398            <!-- The spacing between each column is uniformly stretched.. -->
3399            <enum name="spacingWidthUniform" value="3" />
3400        </attr>
3401        <!-- Specifies the fixed width for each column. -->
3402        <attr name="columnWidth" format="dimension" />
3403        <!-- Defines how many columns to show. -->
3404        <attr name="numColumns" format="integer" min="0">
3405            <!-- Display as many columns as possible to fill the available space. -->
3406            <enum name="auto_fit" value="-1" />
3407        </attr>
3408        <!-- Specifies the gravity within each cell. -->
3409        <attr name="gravity" />
3410    </declare-styleable>
3411    <declare-styleable name="ImageSwitcher">
3412    </declare-styleable>
3413    <declare-styleable name="ImageView">
3414        <!-- Sets a drawable as the content of this ImageView. -->
3415        <attr name="src" format="reference|color" />
3416        <!-- Controls how the image should be resized or moved to match the size
3417             of this ImageView. -->
3418        <attr name="scaleType">
3419            <enum name="matrix" value="0" />
3420            <enum name="fitXY" value="1" />
3421            <enum name="fitStart" value="2" />
3422            <enum name="fitCenter" value="3" />
3423            <enum name="fitEnd" value="4" />
3424            <enum name="center" value="5" />
3425            <enum name="centerCrop" value="6" />
3426            <enum name="centerInside" value="7" />
3427        </attr>
3428        <!-- Set this to true if you want the ImageView to adjust its bounds
3429             to preserve the aspect ratio of its drawable. -->
3430        <attr name="adjustViewBounds" format="boolean" />
3431        <!-- An optional argument to supply a maximum width for this view.
3432             See {see android.widget.ImageView#setMaxWidth} for details. -->
3433        <attr name="maxWidth" format="dimension" />
3434        <!-- An optional argument to supply a maximum height for this view.
3435             See {see android.widget.ImageView#setMaxHeight} for details. -->
3436        <attr name="maxHeight" format="dimension" />
3437        <!-- Set a tinting color for the image. -->
3438        <attr name="tint" format="color" />
3439        <!-- If true, the image view will be baseline aligned with based on its
3440             bottom edge. -->
3441        <attr name="baselineAlignBottom" format="boolean" />
3442         <!-- If true, the image will be cropped to fit within its padding. -->
3443        <attr name="cropToPadding" format="boolean" />
3444        <!-- The offset of the baseline within this view. See {see android.view.View#getBaseline}
3445             for details -->
3446        <attr name="baseline" format="dimension" />
3447        <!-- @hide The alpha value (0-255) set on the ImageView's drawable. Equivalent
3448             to calling ImageView.setAlpha(int), not the same as View.setAlpha(float). -->
3449        <attr name="drawableAlpha" format="integer" />
3450        <!-- Tint to apply to the image. -->
3451        <attr name="tint" />
3452        <!-- Blending mode used to apply the image tint. -->
3453        <attr name="tintMode" />
3454    </declare-styleable>
3455    <declare-styleable name="ToggleButton">
3456        <!-- The text for the button when it is checked. -->
3457        <attr name="textOn" format="string" />
3458        <!-- The text for the button when it is not checked. -->
3459        <attr name="textOff" format="string" />
3460        <!-- The alpha to apply to the indicator when disabled. -->
3461        <attr name="disabledAlpha" />
3462    </declare-styleable>
3463    <declare-styleable name="RelativeLayout">
3464        <attr name="gravity" />
3465        <!-- Indicates what view should not be affected by gravity. -->
3466        <attr name="ignoreGravity" format="reference" />
3467    </declare-styleable>
3468    <declare-styleable name="LinearLayout">
3469        <!-- Should the layout be a column or a row?  Use "horizontal"
3470             for a row, "vertical" for a column.  The default is
3471             horizontal. -->
3472        <attr name="orientation" />
3473        <attr name="gravity" />
3474        <!-- When set to false, prevents the layout from aligning its children's
3475             baselines. This attribute is particularly useful when the children
3476             use different values for gravity. The default value is true. -->
3477        <attr name="baselineAligned" format="boolean" />
3478        <!-- When a linear layout is part of another layout that is baseline
3479          aligned, it can specify which of its children to baseline align to
3480          (that is, which child TextView).-->
3481        <attr name="baselineAlignedChildIndex" format="integer" min="0"/>
3482        <!-- Defines the maximum weight sum. If unspecified, the sum is computed
3483             by adding the layout_weight of all of the children. This can be
3484             used for instance to give a single child 50% of the total available
3485             space by giving it a layout_weight of 0.5 and setting the weightSum
3486             to 1.0. -->
3487        <attr name="weightSum" format="float" />
3488        <!-- When set to true, all children with a weight will be considered having
3489             the minimum size of the largest child. If false, all children are
3490             measured normally. -->
3491        <attr name="measureWithLargestChild" format="boolean" />
3492        <!-- Drawable to use as a vertical divider between buttons. -->
3493        <attr name="divider" />
3494        <!-- Setting for which dividers to show. -->
3495        <attr name="showDividers">
3496            <flag name="none" value="0" />
3497            <flag name="beginning" value="1" />
3498            <flag name="middle" value="2" />
3499            <flag name="end" value="4" />
3500        </attr>
3501        <!-- Size of padding on either end of a divider. -->
3502        <attr name="dividerPadding" format="dimension" />
3503    </declare-styleable>
3504    <declare-styleable name="GridLayout">
3505        <!-- The orientation property is not used during layout. It is only used to
3506        allocate row and column parameters when they are not specified by its children's
3507        layout paramters. GridLayout works like LinearLayout in this case;
3508        putting all the components either in a single row or in a single column -
3509        depending on the value of this flag. In the horizontal case, a columnCount
3510        property may be additionally supplied to force new rows to be created when a
3511        row is full. The rowCount attribute may be used similarly in the vertical case.
3512        The default is horizontal. -->
3513        <attr name="orientation" />
3514        <!-- The maxmimum number of rows to create when automatically positioning children. -->
3515        <attr name="rowCount" format="integer" />
3516        <!-- The maxmimum number of columns to create when automatically positioning children. -->
3517        <attr name="columnCount" format="integer" />
3518        <!-- When set to true, tells GridLayout to use default margins when none are specified
3519        in a view's layout parameters.
3520        The default value is false.
3521        See {@link android.widget.GridLayout#setUseDefaultMargins(boolean)}.-->
3522        <attr name="useDefaultMargins" format="boolean" />
3523        <!-- When set to alignMargins, causes alignment to take place between the outer
3524        boundary of a view, as defined by its margins. When set to alignBounds,
3525        causes alignment to take place between the edges of the view.
3526        The default is alignMargins.
3527        See {@link android.widget.GridLayout#setAlignmentMode(int)}.-->
3528        <attr name="alignmentMode" />
3529        <!-- When set to true, forces row boundaries to appear in the same order
3530        as row indices.
3531        The default is true.
3532        See {@link android.widget.GridLayout#setRowOrderPreserved(boolean)}.-->
3533        <attr name="rowOrderPreserved" format="boolean" />
3534        <!-- When set to true, forces column boundaries to appear in the same order
3535        as column indices.
3536        The default is true.
3537        See {@link android.widget.GridLayout#setColumnOrderPreserved(boolean)}.-->
3538        <attr name="columnOrderPreserved" format="boolean" />
3539    </declare-styleable>
3540    <declare-styleable name="ListView">
3541        <!-- Reference to an array resource that will populate the ListView.  For static content,
3542             this is simpler than populating the ListView programmatically. -->
3543        <attr name="entries" />
3544        <!-- Drawable or color to draw between list items. -->
3545        <attr name="divider" format="reference|color" />
3546        <!-- Height of the divider. Will use the intrinsic height of the divider if this
3547             is not specified. -->
3548        <attr name="dividerHeight" format="dimension" />
3549        <!-- When set to false, the ListView will not draw the divider after each header view.
3550             The default value is true. -->
3551        <attr name="headerDividersEnabled" format="boolean" />
3552        <!-- When set to false, the ListView will not draw the divider before each footer view.
3553             The default value is true. -->
3554        <attr name="footerDividersEnabled" format="boolean" />
3555        <!-- Drawable to draw above list content. -->
3556        <attr name="overScrollHeader" format="reference|color" />
3557        <!-- Drawable to draw below list content. -->
3558        <attr name="overScrollFooter" format="reference|color" />
3559    </declare-styleable>
3560    <declare-styleable name="PreferenceFrameLayout">
3561        <!-- Padding to use at the top of the prefs content. -->
3562        <attr name="borderTop" format="dimension" />
3563        <!-- Padding to use at the bottom of the prefs content. -->
3564        <attr name="borderBottom" format="dimension" />
3565        <!-- Padding to use at the left of the prefs content. -->
3566        <attr name="borderLeft" format="dimension" />
3567        <!-- Padding to use at the right of the prefs content. -->
3568        <attr name="borderRight" format="dimension" />
3569    </declare-styleable>
3570    <declare-styleable name="PreferenceFrameLayout_Layout">
3571        <!-- Padding to use at the top of the prefs content. -->
3572        <attr name="layout_removeBorders" format="boolean" />
3573    </declare-styleable>
3574    <declare-styleable name="MenuView">
3575        <!-- Default appearance of menu item text. -->
3576        <attr name="itemTextAppearance" format="reference" />
3577        <!-- Default horizontal divider between rows of menu items. -->
3578        <attr name="horizontalDivider" format="reference" />
3579        <!-- Default vertical divider between menu items. -->
3580        <attr name="verticalDivider" format="reference" />
3581        <!-- Default background for the menu header. -->
3582        <attr name="headerBackground" format="color|reference" />
3583        <!-- Default background for each menu item. -->
3584        <attr name="itemBackground" format="color|reference" />
3585        <!-- Default animations for the menu. -->
3586        <attr name="windowAnimationStyle" />
3587        <!-- Default disabled icon alpha for each menu item that shows an icon. -->
3588        <attr name="itemIconDisabledAlpha" format="float" />
3589        <!-- Whether space should be reserved in layout when an icon is missing. -->
3590        <attr name="preserveIconSpacing" format="boolean" />
3591    </declare-styleable>
3592    <declare-styleable name="IconMenuView">
3593        <!-- Defines the height of each row. -->
3594        <attr name="rowHeight" format="dimension" />
3595        <!-- Defines the maximum number of rows displayed. -->
3596        <attr name="maxRows" format="integer" />
3597        <!-- Defines the maximum number of items per row. -->
3598        <attr name="maxItemsPerRow" format="integer" />
3599        <!-- Defines the maximum number of items to show. -->
3600        <attr name="maxItems" format="integer" />
3601        <!-- 'More' icon. -->
3602        <attr name="moreIcon" format="reference" />
3603    </declare-styleable>
3604
3605    <declare-styleable name="ProgressBar">
3606        <!-- Defines the maximum value the progress can take. -->
3607        <attr name="max" format="integer" />
3608        <!-- Defines the default progress value, between 0 and max. -->
3609        <attr name="progress" format="integer" />
3610        <!-- Defines the secondary progress value, between 0 and max. This progress is drawn between
3611             the primary progress and the background.  It can be ideal for media scenarios such as
3612             showing the buffering progress while the default progress shows the play progress. -->
3613        <attr name="secondaryProgress" format="integer" />
3614        <!-- Allows to enable the indeterminate mode. In this mode the progress
3615         bar plays an infinite looping animation. -->
3616        <attr name="indeterminate" format="boolean" />
3617        <!-- Restricts to ONLY indeterminate mode (state-keeping progress mode will not work). -->
3618        <attr name="indeterminateOnly" format="boolean" />
3619        <!-- Drawable used for the indeterminate mode. -->
3620        <attr name="indeterminateDrawable" format="reference" />
3621        <!-- Drawable used for the progress mode. -->
3622        <attr name="progressDrawable" format="reference" />
3623        <!-- Duration of the indeterminate animation. -->
3624        <attr name="indeterminateDuration" format="integer" min="1" />
3625        <!-- Defines how the indeterminate mode should behave when the progress
3626        reaches max. -->
3627        <attr name="indeterminateBehavior">
3628            <!-- Progress starts over from 0. -->
3629            <enum name="repeat" value="1" />
3630            <!-- Progress keeps the current value and goes back to 0. -->
3631            <enum name="cycle" value="2" />
3632        </attr>
3633        <attr name="minWidth" format="dimension" />
3634        <attr name="maxWidth" />
3635        <attr name="minHeight" format="dimension" />
3636        <attr name="maxHeight" />
3637        <attr name="interpolator" format="reference" />
3638        <!-- Timeout between frames of animation in milliseconds
3639             {@deprecated Not used by the framework.} -->
3640        <attr name="animationResolution" format="integer" />
3641        <!-- Defines if the associated drawables need to be mirrored when in RTL mode.
3642             Default is false -->
3643        <attr name="mirrorForRtl" format="boolean" />
3644        <!-- Tint to apply to the progress indicator. -->
3645        <attr name="progressTint" format="color" />
3646        <!-- Blending mode used to apply the progress indicator tint. -->
3647        <attr name="progressTintMode">
3648            <!-- The tint is drawn on top of the drawable.
3649                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3650            <enum name="src_over" value="3" />
3651            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3652                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3653            <enum name="src_in" value="5" />
3654            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3655                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3656            <enum name="src_atop" value="9" />
3657            <!-- Multiplies the color and alpha channels of the drawable with those of
3658                 the tint. [Sa * Da, Sc * Dc] -->
3659            <enum name="multiply" value="14" />
3660            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3661            <enum name="screen" value="15" />
3662            <!-- Combines the tint and drawable color and alpha channels, clamping the
3663                 result to valid color values. Saturate(S + D) -->
3664            <enum name="add" value="16" />
3665        </attr>
3666        <!-- Tint to apply to the progress indicator background. -->
3667        <attr name="progressBackgroundTint" format="color" />
3668        <!-- Blending mode used to apply the progress indicator background tint. -->
3669        <attr name="progressBackgroundTintMode">
3670            <!-- The tint is drawn on top of the drawable.
3671                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3672            <enum name="src_over" value="3" />
3673            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3674                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3675            <enum name="src_in" value="5" />
3676            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3677                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3678            <enum name="src_atop" value="9" />
3679            <!-- Multiplies the color and alpha channels of the drawable with those of
3680                 the tint. [Sa * Da, Sc * Dc] -->
3681            <enum name="multiply" value="14" />
3682            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3683            <enum name="screen" value="15" />
3684            <!-- Combines the tint and drawable color and alpha channels, clamping the
3685                 result to valid color values. Saturate(S + D) -->
3686            <enum name="add" value="16" />
3687        </attr>
3688        <!-- Tint to apply to the secondary progress indicator. -->
3689        <attr name="secondaryProgressTint" format="color" />
3690        <!-- Blending mode used to apply the secondary progress indicator tint. -->
3691        <attr name="secondaryProgressTintMode">
3692            <!-- The tint is drawn on top of the drawable.
3693                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3694            <enum name="src_over" value="3" />
3695            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3696                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3697            <enum name="src_in" value="5" />
3698            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3699                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3700            <enum name="src_atop" value="9" />
3701            <!-- Multiplies the color and alpha channels of the drawable with those of
3702                 the tint. [Sa * Da, Sc * Dc] -->
3703            <enum name="multiply" value="14" />
3704            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3705            <enum name="screen" value="15" />
3706            <!-- Combines the tint and drawable color and alpha channels, clamping the
3707                 result to valid color values. Saturate(S + D) -->
3708            <enum name="add" value="16" />
3709        </attr>
3710        <!-- Tint to apply to the indeterminate progress indicator. -->
3711        <attr name="indeterminateTint" format="color" />
3712        <!-- Blending mode used to apply the indeterminate progress indicator tint. -->
3713        <attr name="indeterminateTintMode">
3714            <!-- The tint is drawn on top of the drawable.
3715                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3716            <enum name="src_over" value="3" />
3717            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3718                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3719            <enum name="src_in" value="5" />
3720            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3721                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3722            <enum name="src_atop" value="9" />
3723            <!-- Multiplies the color and alpha channels of the drawable with those of
3724                 the tint. [Sa * Da, Sc * Dc] -->
3725            <enum name="multiply" value="14" />
3726            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3727            <enum name="screen" value="15" />
3728            <!-- Combines the tint and drawable color and alpha channels, clamping the
3729                 result to valid color values. Saturate(S + D) -->
3730            <enum name="add" value="16" />
3731        </attr>
3732        <!-- Tint to apply to the background. -->
3733        <attr name="backgroundTint" />
3734        <!-- Blending mode used to apply the background tint. -->
3735        <attr name="backgroundTintMode" />
3736    </declare-styleable>
3737
3738    <declare-styleable name="SeekBar">
3739        <!-- Draws the thumb on a seekbar. -->
3740        <attr name="thumb" format="reference" />
3741        <!-- An offset for the thumb that allows it to extend out of the range of the track. -->
3742        <attr name="thumbOffset" format="dimension" />
3743        <!-- Whether to split the track and leave a gap for the thumb drawable. -->
3744        <attr name="splitTrack" format="boolean" />
3745        <!-- Tint to apply to the button graphic. -->
3746        <attr name="thumbTint" format="color" />
3747        <!-- Blending mode used to apply the button graphic tint. -->
3748        <attr name="thumbTintMode">
3749            <!-- The tint is drawn on top of the drawable.
3750                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3751            <enum name="src_over" value="3" />
3752            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3753                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3754            <enum name="src_in" value="5" />
3755            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3756                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3757            <enum name="src_atop" value="9" />
3758            <!-- Multiplies the color and alpha channels of the drawable with those of
3759                 the tint. [Sa * Da, Sc * Dc] -->
3760            <enum name="multiply" value="14" />
3761            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3762            <enum name="screen" value="15" />
3763            <!-- Combines the tint and drawable color and alpha channels, clamping the
3764                 result to valid color values. Saturate(S + D) -->
3765            <enum name="add" value="16" />
3766        </attr>
3767    </declare-styleable>
3768
3769    <declare-styleable name="StackView">
3770        <!-- Color of the res-out outline. -->
3771        <attr name="resOutColor" format="color" />
3772        <!-- Color of the outline of click feedback. -->
3773        <attr name="clickColor" format="color" />
3774    </declare-styleable>
3775
3776    <declare-styleable name="RatingBar">
3777        <!-- The number of stars (or rating items) to show. -->
3778        <attr name="numStars" format="integer" />
3779        <!-- The rating to set by default. -->
3780        <attr name="rating" format="float" />
3781        <!-- The step size of the rating. -->
3782        <attr name="stepSize" format="float" />
3783        <!-- Whether this rating bar is an indicator (and non-changeable by the user). -->
3784        <attr name="isIndicator" format="boolean" />
3785    </declare-styleable>
3786
3787    <declare-styleable name="RadioGroup">
3788        <!-- The id of the child radio button that should be checked by default
3789             within this radio group. -->
3790        <attr name="checkedButton" format="integer" />
3791        <!-- Should the radio group be a column or a row?  Use "horizontal"
3792             for a row, "vertical" for a column.  The default is
3793             vertical. -->
3794        <attr name="orientation" />
3795    </declare-styleable>
3796    <declare-styleable name="TableLayout">
3797        <!-- The zero-based index of the columns to stretch. The column indices
3798             must be separated by a comma: 1, 2, 5. Illegal and duplicate
3799             indices are ignored. You can stretch all columns by using the
3800             value "*" instead. Note that a column can be marked stretchable
3801             and shrinkable at the same time. -->
3802        <attr name="stretchColumns" format="string" />
3803       <!-- The zero-based index of the columns to shrink. The column indices
3804             must be separated by a comma: 1, 2, 5. Illegal and duplicate
3805             indices are ignored. You can shrink all columns by using the
3806             value "*" instead. Note that a column can be marked stretchable
3807             and shrinkable at the same time. -->
3808        <attr name="shrinkColumns" format="string" />
3809        <!-- The zero-based index of the columns to collapse. The column indices
3810             must be separated by a comma: 1, 2, 5. Illegal and duplicate
3811             indices are ignored. -->
3812        <attr name="collapseColumns" format="string" />
3813    </declare-styleable>
3814    <declare-styleable name="TableRow">
3815
3816    </declare-styleable>
3817    <declare-styleable name="TableRow_Cell">
3818        <!-- The index of the column in which this child should be. -->
3819        <attr name="layout_column" format="integer" />
3820        <!-- Defines how many columns this child should span.  Must be >= 1.-->
3821        <attr name="layout_span" format="integer" />
3822    </declare-styleable>
3823    <declare-styleable name="TabWidget">
3824        <!-- Drawable used to draw the divider between tabs. -->
3825        <attr name="divider" />
3826        <!-- Determines whether the strip under the tab indicators is drawn or not. -->
3827        <attr name="tabStripEnabled" format="boolean" />
3828        <!-- Drawable used to draw the left part of the strip underneath the tabs. -->
3829        <attr name="tabStripLeft" format="reference" />
3830        <!-- Drawable used to draw the right part of the strip underneath the tabs. -->
3831        <attr name="tabStripRight" format="reference" />
3832        <!-- Layout used to organize each tab's content. -->
3833        <attr name="tabLayout" format="reference" />
3834    </declare-styleable>
3835    <declare-styleable name="TextAppearance">
3836        <!-- Text color. -->
3837        <attr name="textColor" />
3838        <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
3839        <attr name="textSize" />
3840        <!-- Style (bold, italic, bolditalic) for the text. -->
3841        <attr name="textStyle" />
3842        <!-- Typeface (normal, sans, serif, monospace) for the text. -->
3843        <attr name="typeface" />
3844        <!-- Font family (named by string) for the text. -->
3845        <attr name="fontFamily" />
3846        <!-- Color of the text selection highlight. -->
3847        <attr name="textColorHighlight" />
3848        <!-- Color of the hint text. -->
3849        <attr name="textColorHint" />
3850        <!-- Color of the links. -->
3851        <attr name="textColorLink" />
3852        <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
3853        <attr name="textAllCaps" format="boolean" />
3854        <!-- Place a blurred shadow of text underneath the text, drawn with the
3855             specified color. The text shadow produced does not interact with
3856             properties on View that are responsible for real time shadows,
3857             {@link android.R.styleable#View_elevation elevation} and
3858             {@link android.R.styleable#View_translationZ translationZ}. -->
3859        <attr name="shadowColor" format="color" />
3860        <!-- Horizontal offset of the text shadow. -->
3861        <attr name="shadowDx" format="float" />
3862        <!-- Vertical offset of the text shadow. -->
3863        <attr name="shadowDy" format="float" />
3864        <!-- Blur radius of the text shadow. -->
3865        <attr name="shadowRadius" format="float" />
3866        <!-- Elegant text height, especially for less compacted complex script text. -->
3867        <attr name="elegantTextHeight" format="boolean" />
3868        <!-- Text letter-spacing. -->
3869        <attr name="letterSpacing" format="float" />
3870        <!-- Font feature settings. -->
3871        <attr name="fontFeatureSettings" format="string" />
3872    </declare-styleable>
3873    <declare-styleable name="TextClock">
3874        <!-- Specifies the formatting pattern used to show the time and/or date
3875             in 12-hour mode. Please refer to {@link android.text.format.DateFormat}
3876             for a complete description of accepted formatting patterns.
3877             The default pattern is a locale-appropriate equivalent of "h:mm a". -->
3878        <attr name="format12Hour" format="string"/>
3879        <!-- Specifies the formatting pattern used to show the time and/or date
3880             in 24-hour mode. Please refer to {@link android.text.format.DateFormat}
3881             for a complete description of accepted formatting patterns.
3882             The default pattern is a locale-appropriate equivalent of "H:mm". -->
3883        <attr name="format24Hour" format="string"/>
3884        <!-- Specifies the time zone to use. When this attribute is specified, the
3885             TextClock will ignore the time zone of the system. To use the user's
3886             time zone, do not specify this attribute. The default value is the
3887             user's time zone. Please refer to {@link java.util.TimeZone} for more
3888             information about time zone ids. -->
3889        <attr name="timeZone" format="string"/>
3890    </declare-styleable>
3891    <declare-styleable name="TextSwitcher">
3892    </declare-styleable>
3893    <declare-styleable name="TextView">
3894        <!-- Determines the minimum type that getText() will return.
3895             The default is "normal".
3896             Note that EditText and LogTextBox always return Editable,
3897             even if you specify something less powerful here. -->
3898        <attr name="bufferType">
3899            <!-- Can return any CharSequence, possibly a
3900             Spanned one if the source text was Spanned. -->
3901            <enum name="normal" value="0" />
3902            <!-- Can only return Spannable. -->
3903            <enum name="spannable" value="1" />
3904            <!-- Can only return Spannable and Editable. -->
3905            <enum name="editable" value="2" />
3906        </attr>
3907        <!-- Text to display. -->
3908        <attr name="text" format="string" localization="suggested" />
3909        <!-- Hint text to display when the text is empty. -->
3910        <attr name="hint" format="string" />
3911        <!-- Text color. -->
3912        <attr name="textColor" />
3913        <!-- Color of the text selection highlight. -->
3914        <attr name="textColorHighlight" />
3915        <!-- Color of the hint text. -->
3916        <attr name="textColorHint" />
3917        <!-- Base text color, typeface, size, and style. -->
3918        <attr name="textAppearance" />
3919        <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
3920        <attr name="textSize" />
3921        <!-- Sets the horizontal scaling factor for the text. -->
3922        <attr name="textScaleX" format="float" />
3923        <!-- Typeface (normal, sans, serif, monospace) for the text. -->
3924        <attr name="typeface" />
3925        <!-- Style (bold, italic, bolditalic) for the text. -->
3926        <attr name="textStyle" />
3927        <!-- Font family (named by string) for the text. -->
3928        <attr name="fontFamily" />
3929        <!-- Text color for links. -->
3930        <attr name="textColorLink" />
3931        <!-- Makes the cursor visible (the default) or invisible. -->
3932        <attr name="cursorVisible" format="boolean" />
3933        <!-- Makes the TextView be at most this many lines tall.
3934
3935        When used on an editable text, the <code>inputType</code> attribute's value must be
3936        combined with the <code>textMultiLine</code> flag for the maxLines attribute to apply. -->
3937        <attr name="maxLines" format="integer" min="0" />
3938        <!-- Makes the TextView be at most this many pixels tall. -->
3939        <attr name="maxHeight" />
3940        <!-- Makes the TextView be exactly this many lines tall. -->
3941        <attr name="lines" format="integer" min="0" />
3942        <!-- Makes the TextView be exactly this many pixels tall.
3943             You could get the same effect by specifying this number in the
3944             layout parameters. -->
3945        <attr name="height" format="dimension" />
3946        <!-- Makes the TextView be at least this many lines tall.
3947
3948        When used on an editable text, the <code>inputType</code> attribute's value must be
3949        combined with the <code>textMultiLine</code> flag for the minLines attribute to apply. -->
3950        <attr name="minLines" format="integer" min="0" />
3951        <!-- Makes the TextView be at least this many pixels tall. -->
3952        <attr name="minHeight" />
3953        <!-- Makes the TextView be at most this many ems wide. -->
3954        <attr name="maxEms" format="integer" min="0" />
3955        <!-- Makes the TextView be at most this many pixels wide. -->
3956        <attr name="maxWidth" />
3957        <!-- Makes the TextView be exactly this many ems wide. -->
3958        <attr name="ems" format="integer" min="0" />
3959        <!-- Makes the TextView be exactly this many pixels wide.
3960             You could get the same effect by specifying this number in the
3961             layout parameters. -->
3962        <attr name="width" format="dimension" />
3963        <!-- Makes the TextView be at least this many ems wide. -->
3964        <attr name="minEms" format="integer" min="0" />
3965        <!-- Makes the TextView be at least this many pixels wide. -->
3966        <attr name="minWidth" />
3967        <!-- Specifies how to align the text by the view's x- and/or y-axis
3968             when the text is smaller than the view. -->
3969        <attr name="gravity" />
3970        <!-- Whether the text is allowed to be wider than the view (and
3971             therefore can be scrolled horizontally). -->
3972        <attr name="scrollHorizontally" format="boolean" />
3973        <!-- Whether the characters of the field are displayed as
3974             password dots instead of themselves.
3975             {@deprecated Use inputType instead.} -->
3976        <attr name="password" format="boolean" />
3977        <!-- Constrains the text to a single horizontally scrolling line
3978             instead of letting it wrap onto multiple lines, and advances
3979             focus instead of inserting a newline when you press the
3980             enter key.
3981
3982             The default value is false (multi-line wrapped text mode) for non-editable text, but if
3983             you specify any value for inputType, the default is true (single-line input field mode).
3984
3985             {@deprecated This attribute is deprecated. Use <code>maxLines</code> instead to change
3986             the layout of a static text, and use the <code>textMultiLine</code> flag in the
3987             inputType attribute instead for editable text views (if both singleLine and inputType
3988             are supplied, the inputType flags will override the value of singleLine). } -->
3989        <attr name="singleLine" format="boolean" />
3990        <!-- Specifies whether the widget is enabled. The interpretation of the enabled state varies by subclass.
3991             For example, a non-enabled EditText prevents the user from editing the contained text, and
3992             a non-enabled Button prevents the user from tapping the button.
3993             The appearance of enabled and non-enabled widgets may differ, if the drawables referenced
3994             from evaluating state_enabled differ. -->
3995        <attr name="enabled" format="boolean" />
3996        <!-- If the text is selectable, select it all when the view takes
3997             focus. -->
3998        <attr name="selectAllOnFocus" format="boolean" />
3999        <!-- Leave enough room for ascenders and descenders instead of
4000             using the font ascent and descent strictly.  (Normally true). -->
4001        <attr name="includeFontPadding" format="boolean" />
4002        <!-- Set an input filter to constrain the text length to the
4003             specified number. -->
4004        <attr name="maxLength" format="integer" min="0" />
4005        <!-- Place a blurred shadow of text underneath the text, drawn with the
4006             specified color. The text shadow produced does not interact with
4007             properties on View that are responsible for real time shadows,
4008             {@link android.R.styleable#View_elevation elevation} and
4009             {@link android.R.styleable#View_translationZ translationZ}. -->
4010        <attr name="shadowColor" />
4011        <!-- Horizontal offset of the text shadow. -->
4012        <attr name="shadowDx" />
4013        <!-- Vertical offset of the text shadow. -->
4014        <attr name="shadowDy" />
4015        <!-- Blur radius of the text shadow. -->
4016        <attr name="shadowRadius" />
4017        <attr name="autoLink" />
4018        <!-- If set to false, keeps the movement method from being set
4019             to the link movement method even if autoLink causes links
4020             to be found. -->
4021        <attr name="linksClickable" format="boolean" />
4022        <!-- If set, specifies that this TextView has a numeric input method.
4023             The default is false.
4024             {@deprecated Use inputType instead.} -->
4025        <attr name="numeric">
4026            <!-- Input is numeric. -->
4027            <flag name="integer" value="0x01" />
4028            <!-- Input is numeric, with sign allowed. -->
4029            <flag name="signed" value="0x03" />
4030            <!-- Input is numeric, with decimals allowed. -->
4031            <flag name="decimal" value="0x05" />
4032        </attr>
4033        <!-- If set, specifies that this TextView has a numeric input method
4034             and that these specific characters are the ones that it will
4035             accept.
4036             If this is set, numeric is implied to be true.
4037             The default is false. -->
4038        <attr name="digits" format="string" />
4039        <!-- If set, specifies that this TextView has a phone number input
4040             method. The default is false.
4041             {@deprecated Use inputType instead.} -->
4042        <attr name="phoneNumber" format="boolean" />
4043        <!-- If set, specifies that this TextView should use the specified
4044             input method (specified by fully-qualified class name).
4045             {@deprecated Use inputType instead.} -->
4046        <attr name="inputMethod" format="string" />
4047        <!-- If set, specifies that this TextView has a textual input method
4048             and should automatically capitalize what the user types.
4049             The default is "none".
4050             {@deprecated Use inputType instead.} -->
4051        <attr name="capitalize">
4052            <!-- Don't automatically capitalize anything. -->
4053            <enum name="none" value="0" />
4054            <!-- Capitalize the first word of each sentence. -->
4055            <enum name="sentences" value="1" />
4056            <!-- Capitalize the first letter of every word. -->
4057            <enum name="words" value="2" />
4058            <!-- Capitalize every character. -->
4059            <enum name="characters" value="3" />
4060        </attr>
4061        <!-- If set, specifies that this TextView has a textual input method
4062             and automatically corrects some common spelling errors.
4063             The default is "false".
4064             {@deprecated Use inputType instead.} -->
4065        <attr name="autoText" format="boolean" />
4066        <!-- If set, specifies that this TextView has an input method.
4067             It will be a textual one unless it has otherwise been specified.
4068             For TextView, this is false by default.  For EditText, it is
4069             true by default.
4070             {@deprecated Use inputType instead.} -->
4071        <attr name="editable" format="boolean" />
4072        <!-- If set, the text view will include its current complete text
4073             inside of its frozen icicle in addition to meta-data such as
4074             the current cursor position.  By default this is disabled;
4075             it can be useful when the contents of a text view is not stored
4076             in a persistent place such as a content provider. -->
4077        <attr name="freezesText" format="boolean" />
4078        <!-- If set, causes words that are longer than the view is wide
4079             to be ellipsized instead of broken in the middle.
4080             You will often also want to set scrollHorizontally or singleLine
4081             as well so that the text as a whole is also constrained to
4082             a single line instead of still allowed to be broken onto
4083             multiple lines. -->
4084        <attr name="ellipsize" />
4085        <!-- The drawable to be drawn above the text. -->
4086        <attr name="drawableTop" format="reference|color" />
4087        <!-- The drawable to be drawn below the text. -->
4088        <attr name="drawableBottom" format="reference|color" />
4089        <!-- The drawable to be drawn to the left of the text. -->
4090        <attr name="drawableLeft" format="reference|color" />
4091        <!-- The drawable to be drawn to the right of the text. -->
4092        <attr name="drawableRight" format="reference|color" />
4093        <!-- The drawable to be drawn to the start of the text. -->
4094        <attr name="drawableStart" format="reference|color" />
4095        <!-- The drawable to be drawn to the end of the text. -->
4096        <attr name="drawableEnd" format="reference|color" />
4097        <!-- The padding between the drawables and the text. -->
4098        <attr name="drawablePadding" format="dimension" />
4099        <!-- Extra spacing between lines of text. -->
4100        <attr name="lineSpacingExtra" format="dimension" />
4101        <!-- Extra spacing between lines of text, as a multiplier. -->
4102        <attr name="lineSpacingMultiplier" format="float" />
4103        <!-- The number of times to repeat the marquee animation. Only applied if the
4104             TextView has marquee enabled. -->
4105        <attr name="marqueeRepeatLimit" format="integer">
4106            <!-- Indicates that marquee should repeat indefinitely. -->
4107            <enum name="marquee_forever" value="-1" />
4108        </attr>
4109        <attr name="inputType" />
4110        <attr name="imeOptions" />
4111        <!-- An addition content type description to supply to the input
4112             method attached to the text view, which is private to the
4113             implementation of the input method.  This simply fills in
4114             the {@link android.view.inputmethod.EditorInfo#privateImeOptions
4115             EditorInfo.privateImeOptions} field when the input
4116             method is connected. -->
4117        <attr name="privateImeOptions" format="string" />
4118        <!-- Supply a value for
4119             {@link android.view.inputmethod.EditorInfo#actionLabel EditorInfo.actionLabel}
4120             used when an input method is connected to the text view. -->
4121        <attr name="imeActionLabel" format="string" />
4122        <!-- Supply a value for
4123             {@link android.view.inputmethod.EditorInfo#actionId EditorInfo.actionId}
4124             used when an input method is connected to the text view. -->
4125        <attr name="imeActionId" format="integer" />
4126        <!-- Reference to an
4127             {@link android.R.styleable#InputExtras &lt;input-extras&gt;}
4128             XML resource containing additional data to
4129             supply to an input method, which is private to the implementation
4130             of the input method.  This simply fills in
4131             the {@link android.view.inputmethod.EditorInfo#extras
4132             EditorInfo.extras} field when the input
4133             method is connected. -->
4134        <attr name="editorExtras" format="reference" />
4135
4136        <!-- Reference to a drawable that will be used to display a text selection
4137             anchor on the left side of a selection region. -->
4138        <attr name="textSelectHandleLeft" />
4139        <!-- Reference to a drawable that will be used to display a text selection
4140             anchor on the right side of a selection region. -->
4141        <attr name="textSelectHandleRight" />
4142        <!-- Reference to a drawable that will be used to display a text selection
4143             anchor for positioning the cursor within text. -->
4144        <attr name="textSelectHandle" />
4145        <!-- The layout of the view that is displayed on top of the cursor to paste inside a
4146             TextEdit field. -->
4147        <attr name="textEditPasteWindowLayout" />
4148        <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. -->
4149        <attr name="textEditNoPasteWindowLayout" />
4150        <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the
4151             insertion cursor because it would be clipped if it were positioned on top. -->
4152        <attr name="textEditSidePasteWindowLayout" />
4153        <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. -->
4154        <attr name="textEditSideNoPasteWindowLayout" />
4155
4156        <!-- Layout of the TextView item that will populate the suggestion popup window. -->
4157        <attr name="textEditSuggestionItemLayout" />
4158
4159
4160        <!-- Reference to a drawable that will be drawn under the insertion cursor. -->
4161        <attr name="textCursorDrawable" />
4162
4163        <!-- Indicates that the content of a non-editable text can be selected. -->
4164        <attr name="textIsSelectable" />
4165        <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
4166        <attr name="textAllCaps" />
4167        <!-- Elegant text height, especially for less compacted complex script text. -->
4168        <attr name="elegantTextHeight" />
4169        <!-- Text letter-spacing. -->
4170        <attr name="letterSpacing" />
4171        <!-- Font feature settings. -->
4172        <attr name="fontFeatureSettings" />
4173    </declare-styleable>
4174    <declare-styleable name="TextViewAppearance">
4175        <!-- Base text color, typeface, size, and style. -->
4176        <attr name="textAppearance" />
4177    </declare-styleable>
4178    <declare-styleable name="SelectionModeDrawables">
4179        <attr name="actionModeSelectAllDrawable" />
4180        <attr name="actionModeCutDrawable" />
4181        <attr name="actionModeCopyDrawable" />
4182        <attr name="actionModePasteDrawable" />
4183    </declare-styleable>
4184    <declare-styleable name="SuggestionSpan">
4185        <attr name="textUnderlineColor" />
4186        <attr name="textUnderlineThickness" />
4187    </declare-styleable>
4188    <!-- An <code>input-extras</code> is a container for extra data to supply to
4189         an input method.  Contains
4190         one more more {@link #Extra <extra>} tags.  -->
4191    <declare-styleable name="InputExtras">
4192    </declare-styleable>
4193    <declare-styleable name="AutoCompleteTextView">
4194        <!-- Defines the hint displayed in the drop down menu. -->
4195        <attr name="completionHint" format="string" />
4196        <!-- Defines the hint view displayed in the drop down menu. -->
4197        <attr name="completionHintView" format="reference" />
4198        <!-- Defines the number of characters that the user must type before
4199         completion suggestions are displayed in a drop down menu. -->
4200        <attr name="completionThreshold" format="integer" min="1" />
4201        <!-- Selector in a drop down list. -->
4202        <attr name="dropDownSelector" format="reference|color" />
4203        <!-- View to anchor the auto-complete dropdown to. If not specified, the text view itself
4204             is used. -->
4205        <attr name="dropDownAnchor" format="reference" />
4206        <!-- Specifies the basic width of the dropdown. Its value may
4207             be a dimension (such as "12dip") for a constant width,
4208             fill_parent or match_parent to match the width of the
4209             screen, or wrap_content to match the width of
4210             the anchored view. -->
4211        <attr name="dropDownWidth" format="dimension">
4212            <!-- The dropdown should fill the width of the screen.
4213                 This constant is deprecated starting from API Level 8 and
4214                 is replaced by {@code match_parent}. -->
4215            <enum name="fill_parent" value="-1" />
4216            <!-- The dropdown should fit the width of the screen.
4217                 Introduced in API Level 8. -->
4218            <enum name="match_parent" value="-1" />
4219            <!-- The dropdown should fit the width of its anchor. -->
4220            <enum name="wrap_content" value="-2" />
4221        </attr>
4222        <!-- Specifies the basic height of the dropdown. Its value may
4223             be a dimension (such as "12dip") for a constant height,
4224             fill_parent or match_parent to fill the height of the
4225             screen, or wrap_content to match the height of
4226             the content of the drop down. -->
4227        <attr name="dropDownHeight" format="dimension">
4228            <!-- The dropdown should fit the height of the screen.
4229                 This constant is deprecated starting from API Level 8 and
4230                 is replaced by {@code match_parent}. -->
4231            <enum name="fill_parent" value="-1" />
4232            <!-- The dropdown should fit the height of the screen.
4233                 Introduced in API Level 8. -->
4234            <enum name="match_parent" value="-1" />
4235            <!-- The dropdown should fit the height of the content. -->
4236            <enum name="wrap_content" value="-2" />
4237        </attr>
4238        <attr name="inputType" />
4239    </declare-styleable>
4240    <declare-styleable name="PopupWindow">
4241        <!-- The background to use for the popup window. -->
4242        <attr name="popupBackground" format="reference|color" />
4243        <!-- Window elevation to use for the popup window. -->
4244        <attr name="popupElevation" format="dimension" />
4245        <!-- The animation style to use for the popup window. -->
4246        <attr name="popupAnimationStyle" format="reference" />
4247        <!-- Whether the popup window should overlap its anchor view. -->
4248        <attr name="overlapAnchor" format="boolean" />
4249    </declare-styleable>
4250    <declare-styleable name="ListPopupWindow">
4251        <!-- Amount of pixels by which the drop down should be offset vertically. -->
4252        <attr name="dropDownVerticalOffset" format="dimension" />
4253        <!-- Amount of pixels by which the drop down should be offset horizontally. -->
4254        <attr name="dropDownHorizontalOffset" format="dimension" />
4255    </declare-styleable>
4256    <declare-styleable name="ViewAnimator">
4257        <!-- Identifier for the animation to use when a view is shown. -->
4258        <attr name="inAnimation" format="reference" />
4259        <!-- Identifier for the animation to use when a view is hidden. -->
4260        <attr name="outAnimation" format="reference" />
4261        <!-- Defines whether to animate the current View when the ViewAnimation
4262             is first displayed. -->
4263        <attr name="animateFirstView" format="boolean" />
4264    </declare-styleable>
4265    <declare-styleable name="ViewFlipper">
4266        <attr name="flipInterval" format="integer" min="0" />
4267        <!-- When true, automatically start animating -->
4268        <attr name="autoStart" format="boolean" />
4269    </declare-styleable>
4270    <declare-styleable name="AdapterViewAnimator">
4271        <!-- Identifier for the animation to use when a view is shown. -->
4272        <attr name="inAnimation" />
4273        <!-- Identifier for the animation to use when a view is hidden. -->
4274        <attr name="outAnimation" />
4275        <!--Defines whether the animator loops to the first view once it
4276        has reached the end of the list. -->
4277        <attr name="loopViews" format="boolean" />
4278        <!-- Defines whether to animate the current View when the ViewAnimation
4279        is first displayed. -->
4280        <attr name="animateFirstView" />
4281    </declare-styleable>
4282    <declare-styleable name="AdapterViewFlipper">
4283        <attr name="flipInterval" />
4284        <!-- When true, automatically start animating -->
4285        <attr name="autoStart" />
4286    </declare-styleable>
4287    <declare-styleable name="ViewSwitcher">
4288    </declare-styleable>
4289    <declare-styleable name="ScrollView">
4290        <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
4291        <attr name="fillViewport" format="boolean" />
4292    </declare-styleable>
4293    <declare-styleable name="HorizontalScrollView">
4294        <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
4295        <attr name="fillViewport" />
4296    </declare-styleable>
4297    <declare-styleable name="Spinner">
4298        <!-- The prompt to display when the spinner's dialog is shown. -->
4299        <attr name="prompt" format="reference" />
4300        <!-- Display mode for spinner options. -->
4301        <attr name="spinnerMode" format="enum">
4302            <!-- Spinner options will be presented to the user as a dialog window. -->
4303            <enum name="dialog" value="0" />
4304            <!-- Spinner options will be presented to the user as an inline dropdown
4305                 anchored to the spinner widget itself. -->
4306            <enum name="dropdown" value="1" />
4307        </attr>
4308        <!-- List selector to use for spinnerMode="dropdown" display. -->
4309        <attr name="dropDownSelector" />
4310        <!-- Background drawable to use for the dropdown in spinnerMode="dropdown". -->
4311        <attr name="popupBackground" />
4312        <!-- Window elevation to use for the dropdown in spinnerMode="dropdown". -->
4313        <attr name="popupElevation" />
4314        <!-- Width of the dropdown in spinnerMode="dropdown". -->
4315        <attr name="dropDownWidth" />
4316        <!-- Reference to a layout to use for displaying a prompt in the dropdown for
4317             spinnerMode="dropdown". This layout must contain a TextView with the id
4318             {@code @android:id/text1} to be populated with the prompt text. -->
4319        <attr name="popupPromptView" format="reference" />
4320        <!-- Gravity setting for positioning the currently selected item. -->
4321        <attr name="gravity" />
4322        <!-- Whether this spinner should mark child views as enabled/disabled when
4323             the spinner itself is enabled/disabled. -->
4324        <attr name="disableChildrenWhenDisabled" format="boolean" />
4325    </declare-styleable>
4326
4327    <declare-styleable name="DatePicker">
4328        <!-- The first year (inclusive), for example "1940".
4329             {@deprecated Use minDate instead.} -->
4330        <attr name="startYear" format="integer" />
4331        <!-- The last year (inclusive), for example "2010".
4332             {@deprecated Use maxDate instead.} -->
4333        <attr name="endYear" format="integer" />
4334        <!-- Whether the spinners are shown. -->
4335        <attr name="spinnersShown" format="boolean" />
4336        <!-- Whether the calendar view is shown. -->
4337        <attr name="calendarViewShown" format="boolean" />
4338        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
4339        <attr name="minDate" format="string" />
4340        <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. -->
4341        <attr name="maxDate" format="string" />
4342        <!-- @hide The layout of the date picker. -->
4343        <attr name="internalLayout" format="reference"  />
4344        <!-- @hide The layout of the legacy DatePicker. -->
4345        <attr name="legacyLayout" />
4346        <!-- The background color for the date selector 's day of week. -->
4347        <attr name="dayOfWeekBackgroundColor" format="color" />
4348        <!-- The text color for the date selector's day of week. -->
4349        <attr name="dayOfWeekTextAppearance" format="reference" />
4350        <!-- The month's text appearance in the date selector. -->
4351        <attr name="headerMonthTextAppearance" format="reference" />
4352        <!-- The day of month's text appearance in the date selector. -->
4353        <attr name="headerDayOfMonthTextAppearance" format="reference" />
4354        <!-- The year's text appearance in the date selector. -->
4355        <attr name="headerYearTextAppearance" format="reference" />
4356        <!-- The background color for the date selector. -->
4357        <attr name="headerBackgroundColor" />
4358        <!-- @hide The selected text color for the date selector. Used as a
4359             backup if the text appearance does not explicitly have a color
4360             set for the selected state. -->
4361        <attr name="headerSelectedTextColor" />
4362        <!-- The list year's text appearance in the list. -->
4363        <attr name="yearListItemTextAppearance" format="reference" />
4364        <!-- The list year's selected circle color in the list. -->
4365        <attr name="yearListSelectorColor" format="color" />
4366        <!-- The text color list of the calendar. -->
4367        <attr name="calendarTextColor" format="color" />
4368        <!-- @hide The selected text color for the calendar. Used as a backup
4369             if the text color does not explicitly have a color set for the
4370             selected state. -->
4371        <attr name="calendarSelectedTextColor" format="color" />
4372        <!-- Defines the look of the widget. Prior to the L release, the only choice was
4373             spinner. As of L, with the Material theme selected, the default layout is calendar,
4374             but this attribute can be used to force spinner to be used instead. -->
4375        <attr name="datePickerMode">
4376            <!-- Date picker with spinner controls to select the date. -->
4377            <enum name="spinner" value="1" />
4378            <!-- Date picker with calendar to select the date. -->
4379            <enum name="calendar" value="2" />
4380        </attr>
4381    </declare-styleable>
4382
4383    <declare-styleable name="TwoLineListItem">
4384        <attr name="mode">
4385            <!-- Always show only the first line. -->
4386            <enum name="oneLine" value="1" />
4387            <!-- When selected show both lines, otherwise show only the first line.
4388                 This is the default mode. -->
4389            <enum name="collapsing" value="2" />
4390            <!-- Always show both lines. -->
4391            <enum name="twoLine" value="3" />
4392        </attr>
4393    </declare-styleable>
4394
4395    <!-- SlidingDrawer specific attributes. These attributes are used to configure
4396         a SlidingDrawer from XML. -->
4397    <declare-styleable name="SlidingDrawer">
4398        <!-- Identifier for the child that represents the drawer's handle. -->
4399        <attr name="handle" format="reference" />
4400        <!-- Identifier for the child that represents the drawer's content. -->
4401        <attr name="content" format="reference" />
4402        <!-- Orientation of the SlidingDrawer. -->
4403        <attr name="orientation" />
4404        <!-- Extra offset for the handle at the bottom of the SlidingDrawer. -->
4405        <attr name="bottomOffset" format="dimension"  />
4406        <!-- Extra offset for the handle at the top of the SlidingDrawer. -->
4407        <attr name="topOffset" format="dimension"  />
4408        <!-- Indicates whether the drawer can be opened/closed by a single tap
4409             on the handle.  (If false, the user must drag or fling, or click
4410             using the trackball, to open/close the drawer.)  Default is true. -->
4411        <attr name="allowSingleTap" format="boolean" />
4412        <!-- Indicates whether the drawer should be opened/closed with an animation
4413             when the user clicks the handle. Default is true. -->
4414        <attr name="animateOnClick" format="boolean" />
4415    </declare-styleable>
4416
4417    <!-- GestureOverlayView specific attributes. These attributes are used to configure
4418         a GestureOverlayView from XML. -->
4419    <declare-styleable name="GestureOverlayView">
4420        <!-- Width of the stroke used to draw the gesture. -->
4421        <attr name="gestureStrokeWidth" format="float" />
4422        <!-- Color used to draw a gesture. -->
4423        <attr name="gestureColor" format="color" />
4424        <!-- Color used to draw the user's strokes until we are sure it's a gesture. -->
4425        <attr name="uncertainGestureColor" format="color" />
4426        <!-- Time, in milliseconds, to wait before the gesture fades out after the user
4427             is done drawing it. -->
4428        <attr name="fadeOffset" format="integer" />
4429        <!-- Duration, in milliseconds, of the fade out effect after the user is done
4430             drawing a gesture. -->
4431        <attr name="fadeDuration" format="integer" />
4432        <!-- Defines the type of strokes that define a gesture. -->
4433        <attr name="gestureStrokeType">
4434            <!-- A gesture is made of only one stroke. -->
4435            <enum name="single" value="0" />
4436            <!-- A gesture is made of multiple strokes. -->
4437            <enum name="multiple" value="1" />
4438        </attr>
4439        <!-- Minimum length of a stroke before it is recognized as a gesture. -->
4440        <attr name="gestureStrokeLengthThreshold" format="float" />
4441        <!-- Squareness threshold of a stroke before it is recognized as a gesture. -->
4442        <attr name="gestureStrokeSquarenessThreshold" format="float" />
4443        <!-- Minimum curve angle a stroke must contain before it is recognized as a gesture. -->
4444        <attr name="gestureStrokeAngleThreshold" format="float" />
4445        <!-- Defines whether the overlay should intercept the motion events when a gesture
4446             is recognized. -->
4447        <attr name="eventsInterceptionEnabled" format="boolean" />
4448        <!-- Defines whether the gesture will automatically fade out after being recognized. -->
4449        <attr name="fadeEnabled" format="boolean" />
4450        <!-- Indicates whether horizontal (when the orientation is vertical) or vertical
4451             (when orientation is horizontal) strokes automatically define a gesture. -->
4452        <attr name="orientation" />
4453    </declare-styleable>
4454
4455    <declare-styleable name="QuickContactBadge">
4456        <attr name="quickContactWindowSize">
4457            <enum name="modeSmall" value="1" />
4458            <enum name="modeMedium" value="2" />
4459            <enum name="modeLarge" value="3" />
4460        </attr>
4461    </declare-styleable>
4462
4463    <!-- ======================================= -->
4464    <!-- Widget package parent layout attributes -->
4465    <!-- ======================================= -->
4466    <eat-comment />
4467
4468    <declare-styleable name="AbsoluteLayout_Layout">
4469        <attr name="layout_x" format="dimension" />
4470        <attr name="layout_y" format="dimension" />
4471    </declare-styleable>
4472    <declare-styleable name="LinearLayout_Layout">
4473        <attr name="layout_width" />
4474        <attr name="layout_height" />
4475        <attr name="layout_weight" format="float" />
4476        <attr name="layout_gravity" />
4477    </declare-styleable>
4478    <declare-styleable name="GridLayout_Layout">
4479        <!-- The row boundary delimiting the top of the group of cells
4480        occupied by this view. -->
4481        <attr name="layout_row" format="integer" />
4482        <!-- The row span: the difference between the bottom and top
4483        boundaries delimiting the group of cells occupied by this view.
4484        The default is one.
4485        See {@link android.widget.GridLayout.Spec}. -->
4486        <attr name="layout_rowSpan" format="integer" min="1" />
4487        <!-- The relative proportion of horizontal space that should be allocated to this view
4488        during excess space distribution. -->
4489        <attr name="layout_rowWeight" format="float" />
4490        <!-- The column boundary delimiting the left of the group of cells
4491        occupied by this view. -->
4492        <attr name="layout_column" />
4493        <!-- The column span: the difference between the right and left
4494        boundaries delimiting the group of cells occupied by this view.
4495        The default is one.
4496        See {@link android.widget.GridLayout.Spec}. -->
4497        <attr name="layout_columnSpan" format="integer" min="1" />
4498        <!-- The relative proportion of vertical space that should be allocated to this view
4499        during excess space distribution. -->
4500        <attr name="layout_columnWeight" format="float" />
4501        <!-- Gravity specifies how a component should be placed in its group of cells.
4502        The default is LEFT | BASELINE.
4503        See {@link android.widget.GridLayout.LayoutParams#setGravity(int)}. -->
4504        <attr name="layout_gravity" />
4505    </declare-styleable>
4506    <declare-styleable name="FrameLayout_Layout">
4507        <attr name="layout_gravity" />
4508    </declare-styleable>
4509    <declare-styleable name="RelativeLayout_Layout">
4510        <!-- Positions the right edge of this view to the left of the given anchor view ID.
4511             Accommodates right margin of this view and left margin of anchor view. -->
4512        <attr name="layout_toLeftOf" format="reference" />
4513        <!-- Positions the left edge of this view to the right of the given anchor view ID.
4514            Accommodates left margin of this view and right margin of anchor view. -->
4515        <attr name="layout_toRightOf" format="reference" />
4516        <!-- Positions the bottom edge of this view above the given anchor view ID.
4517            Accommodates bottom margin of this view and top margin of anchor view. -->
4518        <attr name="layout_above" format="reference" />
4519        <!-- Positions the top edge of this view below the given anchor view ID.
4520            Accommodates top margin of this view and bottom margin of anchor view. -->
4521        <attr name="layout_below" format="reference" />
4522        <!-- Positions the baseline of this view on the baseline of the given anchor view ID. -->
4523        <attr name="layout_alignBaseline" format="reference" />
4524        <!-- Makes the left edge of this view match the left edge of the given anchor view ID.
4525            Accommodates left margin. -->
4526        <attr name="layout_alignLeft" format="reference" />
4527        <!-- Makes the top edge of this view match the top edge of the given anchor view ID.
4528            Accommodates top margin. -->
4529        <attr name="layout_alignTop" format="reference" />
4530        <!-- Makes the right edge of this view match the right edge of the given anchor view ID.
4531            Accommodates right margin. -->
4532        <attr name="layout_alignRight" format="reference" />
4533        <!-- Makes the bottom edge of this view match the bottom edge of the given anchor view ID.
4534            Accommodates bottom margin. -->
4535        <attr name="layout_alignBottom" format="reference" />
4536        <!-- If true, makes the left edge of this view match the left edge of the parent.
4537            Accommodates left margin. -->
4538        <attr name="layout_alignParentLeft" format="boolean" />
4539        <!-- If true, makes the top edge of this view match the top edge of the parent.
4540            Accommodates top margin. -->
4541        <attr name="layout_alignParentTop" format="boolean" />
4542        <!-- If true, makes the right edge of this view match the right edge of the parent.
4543            Accommodates right margin. -->
4544        <attr name="layout_alignParentRight" format="boolean" />
4545        <!-- If true, makes the bottom edge of this view match the bottom edge of the parent.
4546            Accommodates bottom margin. -->
4547        <attr name="layout_alignParentBottom" format="boolean" />
4548        <!-- If true, centers this child horizontally and vertically within its parent. -->
4549        <attr name="layout_centerInParent" format="boolean" />
4550        <!-- If true, centers this child horizontally within its parent. -->
4551        <attr name="layout_centerHorizontal" format="boolean" />
4552        <!-- If true, centers this child vertically within its parent. -->
4553        <attr name="layout_centerVertical" format="boolean" />
4554        <!-- If set to true, the parent will be used as the anchor when the anchor cannot be
4555             be found for layout_toLeftOf, layout_toRightOf, etc. -->
4556        <attr name="layout_alignWithParentIfMissing" format="boolean" />
4557        <!-- Positions the end edge of this view to the start of the given anchor view ID.
4558             Accommodates end margin of this view and start margin of anchor view. -->
4559        <attr name="layout_toStartOf" format="reference" />
4560        <!-- Positions the start edge of this view to the end of the given anchor view ID.
4561             Accommodates start margin of this view and end margin of anchor view. -->
4562        <attr name="layout_toEndOf" format="reference" />
4563        <!-- Makes the start edge of this view match the start edge of the given anchor view ID.
4564            Accommodates start margin. -->
4565        <attr name="layout_alignStart" format="reference" />
4566        <!-- Makes the end edge of this view match the end edge of the given anchor view ID.
4567            Accommodates end margin. -->
4568        <attr name="layout_alignEnd" format="reference" />
4569        <!-- If true, makes the start edge of this view match the start edge of the parent.
4570            Accommodates start margin. -->
4571        <attr name="layout_alignParentStart" format="boolean" />
4572        <!-- If true, makes the end edge of this view match the end edge of the parent.
4573            Accommodates end margin. -->
4574        <attr name="layout_alignParentEnd" format="boolean" />
4575    </declare-styleable>
4576    <declare-styleable name="VerticalSlider_Layout">
4577        <attr name="layout_scale" format="float" />
4578    </declare-styleable>
4579
4580    <!-- attributes for internal rotary widget used in lock screen and phone app
4581      @hide -->
4582    <declare-styleable name="RotarySelector">
4583        <!-- Use "horizontal" or "vertical".  The default is horizontal. -->
4584        <attr name="orientation" />
4585    </declare-styleable>
4586
4587    <!-- @hide -->
4588    <declare-styleable name="WeightedLinearLayout">
4589        <attr name="majorWeightMin" format="float" />
4590        <attr name="minorWeightMin" format="float" />
4591        <attr name="majorWeightMax" format="float" />
4592        <attr name="minorWeightMax" format="float" />
4593    </declare-styleable>
4594
4595    <declare-styleable name="CalendarView">
4596        <!-- The first day of week according to {@link java.util.Calendar}. -->
4597        <attr name="firstDayOfWeek" format="integer" />
4598        <!-- Whether do show week numbers. -->
4599        <attr name="showWeekNumber" format="boolean" />
4600        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
4601        <attr name="minDate" />
4602        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
4603        <attr name="maxDate" />
4604        <!-- The number of weeks to be shown. -->
4605        <attr name="shownWeekCount" format="integer"/>
4606        <!-- The background color for the selected week. -->
4607        <attr name="selectedWeekBackgroundColor" format="color|reference" />
4608        <!-- The color for the dates of the focused month. -->
4609        <attr name="focusedMonthDateColor" format="color|reference" />
4610        <!-- The color for the dates of an unfocused month. -->
4611        <attr name="unfocusedMonthDateColor" format="color|reference" />
4612        <!-- The color for the week numbers. -->
4613        <attr name="weekNumberColor" format="color|reference" />
4614        <!-- The color for the separator line between weeks. -->
4615        <attr name="weekSeparatorLineColor" format="color|reference" />
4616        <!-- Drawable for the vertical bar shown at the beginning and at the end of the selected date. -->
4617        <attr name="selectedDateVerticalBar" format="reference" />
4618        <!-- The text appearance for the week day abbreviation of the calendar header. -->
4619        <attr name="weekDayTextAppearance" format="reference" />
4620        <!-- The text appearance for the calendar dates. -->
4621        <attr name="dateTextAppearance" format="reference" />
4622    </declare-styleable>
4623
4624    <declare-styleable name="NumberPicker">
4625        <!-- @hide Color for the solid color background if such for optimized rendering. -->
4626        <attr name="solidColor" format="color|reference" />
4627        <!-- @hide The divider for making the selection area. -->
4628        <attr name="selectionDivider" format="reference" />
4629        <!-- @hide The height of the selection divider. -->
4630        <attr name="selectionDividerHeight" format="dimension" />
4631        <!-- @hide The distance between the two selection dividers. -->
4632        <attr name="selectionDividersDistance" format="dimension" />
4633        <!-- @hide The min height of the NumberPicker. -->
4634        <attr name="internalMinHeight" format="dimension" />
4635        <!-- @hide The max height of the NumberPicker. -->
4636        <attr name="internalMaxHeight" format="dimension" />
4637        <!-- @hide The min width of the NumberPicker. -->
4638        <attr name="internalMinWidth" format="dimension" />
4639        <!-- @hide The max width of the NumberPicker. -->
4640        <attr name="internalMaxWidth" format="dimension" />
4641        <!-- @hide The layout of the number picker. -->
4642        <attr name="internalLayout" />
4643        <!-- @hide The drawable for pressed virtual (increment/decrement) buttons. -->
4644        <attr name="virtualButtonPressedDrawable" format="reference"/>
4645        <!-- @hide If true then the selector wheel is hidden until the picker has focus. -->
4646        <attr name="hideWheelUntilFocused" format="boolean"/>
4647    </declare-styleable>
4648
4649    <declare-styleable name="TimePicker">
4650        <!-- @hide The layout of the legacy time picker. -->
4651        <attr name="legacyLayout" format="reference" />
4652        <!-- @hide The layout of the time picker. -->
4653        <attr name="internalLayout" />
4654        <!-- The text appearance for the AM/PM header of the TimePicker. -->
4655        <attr name="headerAmPmTextAppearance" format="reference" />
4656        <!-- The text appearance for the time header of the TimePicker. -->
4657        <attr name="headerTimeTextAppearance" format="reference" />
4658        <!-- @hide The text color for selected time header of the TimePicker.
4659             This will override the value from the text appearance if it does
4660             not explicitly have a color set for the selected state. -->
4661        <attr name="headerSelectedTextColor" format="color" />
4662        <!-- The background color for the header of the TimePicker. -->
4663        <attr name="headerBackgroundColor" format="color" />
4664        <!-- The color for the hours/minutes numbers of the TimePicker. -->
4665        <attr name="numbersTextColor" format="color" />
4666        <!-- The background color for the hours/minutes numbers of the TimePicker. -->
4667        <attr name="numbersBackgroundColor" format="color" />
4668        <!-- The color for the AM/PM selectors of the TimePicker. -->
4669        <attr name="amPmTextColor" format="color" />
4670        <!-- The background color state list for the AM/PM selectors of the TimePicker. -->
4671        <attr name="amPmBackgroundColor" format="color" />
4672        <!-- @hide The background color for the AM/PM selectors of the
4673             TimePicker when selected. Used if the background color does not
4674             explicitly have a color set for the selected state. -->
4675        <attr name="amPmSelectedBackgroundColor" format="color" />
4676        <!-- The color for the hours/minutes selector of the TimePicker. -->
4677        <attr name="numbersSelectorColor" format="color" />
4678        <!-- Defines the look of the widget. Prior to the L release, the only choice was
4679             spinner. As of L, with the Material theme selected, the default layout is clock,
4680             but this attribute can be used to force spinner to be used instead. -->
4681        <attr name="timePickerMode">
4682            <!-- Time picker with spinner controls to select the time. -->
4683            <enum name="spinner" value="1" />
4684            <!-- Time picker with clock face to select the time. -->
4685            <enum name="clock" value="2" />
4686        </attr>
4687    </declare-styleable>
4688
4689    <!-- ========================= -->
4690    <!-- Drawable class attributes -->
4691    <!-- ========================= -->
4692    <eat-comment />
4693
4694    <!-- Base attributes that are available to all Drawable objects. -->
4695    <declare-styleable name="Drawable">
4696        <!-- Provides initial visibility state of the drawable; the default
4697             value is false.  See
4698             {@link android.graphics.drawable.Drawable#setVisible}. -->
4699        <attr name="visible" format="boolean" />
4700        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
4701             RTL (right-to-left).  See
4702             {@link android.graphics.drawable.Drawable#setAutoMirrored}. -->
4703        <attr name="autoMirrored" format="boolean" />
4704    </declare-styleable>
4705
4706    <!-- Drawable used to render several states. Each state is represented by
4707         a child drawable. -->
4708    <declare-styleable name="StateListDrawable">
4709        <!-- Indicates whether the drawable should be initially visible. -->
4710        <attr name="visible" />
4711        <!-- If true, allows the drawable's padding to change based on the
4712             current state that is selected.  If false, the padding will
4713             stay the same (based on the maximum padding of all the states).
4714             Enabling this feature requires that the owner of the drawable
4715             deal with performing layout when the state changes, which is
4716             often not supported. -->
4717        <attr name="variablePadding" format="boolean" />
4718        <!-- If true, the drawable's reported internal size will remain
4719             constant as the state changes; the size is the maximum of all
4720             of the states.  If false, the size will vary based on the
4721             current state. -->
4722        <attr name="constantSize" format="boolean" />
4723        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
4724             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
4725             an RGB 565 screen). -->
4726        <attr name="dither" format="boolean" />
4727        <!-- Amount of time (in milliseconds) to fade in a new state drawable. -->
4728        <attr name="enterFadeDuration" format="integer" />
4729        <!-- Amount of time (in milliseconds) to fade out an old state drawable. -->
4730        <attr name="exitFadeDuration" format="integer" />
4731        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
4732             RTL (right-to-left). -->
4733        <attr name="autoMirrored"/>
4734    </declare-styleable>
4735
4736    <!-- Drawable used to render several states with animated transitions. Each state
4737         is represented by a child drawable with an optional keyframe ID. -->
4738    <declare-styleable name="AnimatedStateListDrawable">
4739        <!-- Indicates whether the drawable should be initially visible. -->
4740        <attr name="visible" />
4741        <!-- If true, allows the drawable's padding to change based on the
4742             current state that is selected.  If false, the padding will
4743             stay the same (based on the maximum padding of all the states).
4744             Enabling this feature requires that the owner of the drawable
4745             deal with performing layout when the state changes, which is
4746             often not supported. -->
4747        <attr name="variablePadding" />
4748        <!-- If true, the drawable's reported internal size will remain
4749             constant as the state changes; the size is the maximum of all
4750             of the states.  If false, the size will vary based on the
4751             current state. -->
4752        <attr name="constantSize" />
4753        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
4754             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
4755             an RGB 565 screen). -->
4756        <attr name="dither" />
4757        <!-- Amount of time (in milliseconds) to fade in a new state drawable. -->
4758        <attr name="enterFadeDuration" />
4759        <!-- Amount of time (in milliseconds) to fade out an old state drawable. -->
4760        <attr name="exitFadeDuration" />
4761        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
4762             RTL (right-to-left). -->
4763        <attr name="autoMirrored"/>
4764    </declare-styleable>
4765
4766    <!-- Transition used to animate between states with keyframe IDs. -->
4767    <declare-styleable name="AnimatedStateListDrawableItem">
4768        <!-- Reference to a drawable resource to use for the frame.  If not
4769             given, the drawable must be defined by the first child tag. -->
4770        <attr name="drawable" />
4771        <!-- Keyframe identifier for use in specifying transitions. -->
4772        <attr name="id" />
4773    </declare-styleable>
4774
4775    <!-- Transition used to animate between states with keyframe IDs. -->
4776    <declare-styleable name="AnimatedStateListDrawableTransition">
4777        <!-- Keyframe identifier for the starting state. -->
4778        <attr name="fromId" format="reference" />
4779        <!-- Keyframe identifier for the ending state. -->
4780        <attr name="toId" format="reference" />
4781        <!-- Reference to a animation drawable resource to use for the frame.  If not
4782             given, the animation drawable must be defined by the first child tag. -->
4783        <attr name="drawable" />
4784        <!-- Whether this transition is reversible. -->
4785        <attr name="reversible" format="boolean" />
4786    </declare-styleable>
4787
4788    <!-- Drawable used to render several animated frames. -->
4789    <declare-styleable name="AnimationDrawable">
4790        <attr name="visible" />
4791        <attr name="variablePadding" />
4792        <!-- If true, the animation will only run a single time and then
4793             stop.  If false (the default), it will continually run,
4794             restarting at the first frame after the last has finished. -->
4795        <attr name="oneshot" format="boolean" />
4796    </declare-styleable>
4797
4798    <!-- Represents a single frame inside an AnimationDrawable. -->
4799    <declare-styleable name="AnimationDrawableItem">
4800        <!-- Amount of time (in milliseconds) to display this frame. -->
4801        <attr name="duration" format="integer" />
4802        <!-- Reference to a drawable resource to use for the frame.  If not
4803             given, the drawable must be defined by the first child tag. -->
4804        <attr name="drawable" format="reference" />
4805    </declare-styleable>
4806
4807    <!-- Attributes that can be assigned to a StateListAnimator item. -->
4808    <declare-styleable name="StateListAnimatorItem">
4809        <attr name="animation"/>
4810    </declare-styleable>
4811
4812    <!-- Drawable used to render a geometric shape, with a gradient or a solid color. -->
4813    <declare-styleable name="GradientDrawable">
4814        <!-- Indicates whether the drawable should intially be visible. -->
4815        <attr name="visible" />
4816        <!-- Enables or disables dithering. -->
4817        <attr name="dither" />
4818        <!-- Indicates what shape to fill with a gradient. -->
4819        <attr name="shape">
4820            <!-- Rectangle shape, with optional rounder corners. -->
4821            <enum name="rectangle" value="0" />
4822            <!-- Oval shape. -->
4823            <enum name="oval" value="1" />
4824            <!-- Line shape. -->
4825            <enum name="line" value="2" />
4826            <!-- Ring shape. -->
4827            <enum name="ring" value="3" />
4828        </attr>
4829        <!-- Inner radius of the ring expressed as a ratio of the ring's width. For instance,
4830             if innerRadiusRatio=9, then the inner radius equals the ring's width divided by 9.
4831             This value is ignored if innerRadius is defined. Default value is 9. -->
4832        <attr name="innerRadiusRatio" format="float" />
4833        <!-- Thickness of the ring expressed as a ratio of the ring's width. For instance,
4834             if thicknessRatio=3, then the thickness equals the ring's width divided by 3.
4835             This value is ignored if innerRadius is defined. Default value is 3. -->
4836        <attr name="thicknessRatio" format="float" />
4837        <!-- Inner radius of the ring. When defined, innerRadiusRatio is ignored. -->
4838        <attr name="innerRadius" format="dimension" />
4839        <!-- Thickness of the ring. When defined, thicknessRatio is ignored. -->
4840        <attr name="thickness" format="dimension" />
4841        <!-- Indicates whether the drawable's level affects the way the gradient is drawn. -->
4842        <attr name="useLevel" />
4843    </declare-styleable>
4844
4845    <!-- Used to specify the size of the shape for GradientDrawable. -->
4846    <declare-styleable name="GradientDrawableSize">
4847        <!-- Width of the gradient shape. -->
4848        <attr name="width" />
4849        <!-- Height of the gradient shape. -->
4850        <attr name="height" />
4851    </declare-styleable>
4852
4853    <!-- Used to describe the gradient used to fill the shape of a GradientDrawable. -->
4854    <declare-styleable name="GradientDrawableGradient">
4855        <!-- Start color of the gradient. -->
4856        <attr name="startColor" format="color" />
4857        <!-- Optional center color. For linear gradients, use centerX or centerY
4858             to place the center color. -->
4859        <attr name="centerColor" format="color" />
4860        <!-- End color of the gradient. -->
4861        <attr name="endColor" format="color" />
4862        <attr name="useLevel" format="boolean" />
4863        <!-- Angle of the gradient. -->
4864        <attr name="angle" format="float" />
4865        <!-- Type of gradient. The default type is linear. -->
4866        <attr name="type">
4867            <!-- Linear gradient. -->
4868            <enum name="linear" value="0" />
4869            <!-- Radial, or circular, gradient. -->
4870            <enum name="radial" value="1" />
4871            <!-- Sweep, or angled or diamond, gradient. -->
4872            <enum name="sweep"  value="2" />
4873        </attr>
4874        <!-- X coordinate of the origin of the gradient within the shape. -->
4875        <attr name="centerX" format="float|fraction" />
4876        <!-- Y coordinate of the origin of the gradient within the shape. -->
4877        <attr name="centerY" format="float|fraction" />
4878        <!-- Radius of the gradient, used only with radial gradient. -->
4879        <attr name="gradientRadius" format="float|fraction" />
4880    </declare-styleable>
4881
4882    <!-- Used to fill the shape of GradientDrawable with a solid color. -->
4883    <declare-styleable name="GradientDrawableSolid">
4884        <!-- Solid color for the gradient shape. -->
4885        <attr name="color" format="color" />
4886    </declare-styleable>
4887
4888    <!-- Used to describe the optional stroke of a GradientDrawable. -->
4889    <declare-styleable name="GradientDrawableStroke">
4890        <!-- Width of the gradient shape's stroke. -->
4891        <attr name="width" />
4892        <!-- Color of the gradient shape's stroke. -->
4893        <attr name="color" />
4894        <!-- Length of a dash in the stroke. -->
4895        <attr name="dashWidth" format="dimension" />
4896        <!-- Gap between dashes in the stroke. -->
4897        <attr name="dashGap" format="dimension" />
4898    </declare-styleable>
4899
4900    <!-- Describes the corners for the rectangle shape of a GradientDrawable.
4901         This can be used to render rounded corners. -->
4902    <declare-styleable name="DrawableCorners">
4903        <!-- Defines the radius of the four corners. -->
4904        <attr name="radius" format="dimension" />
4905        <!-- Radius of the top left corner. -->
4906        <attr name="topLeftRadius" format="dimension" />
4907        <!-- Radius of the top right corner. -->
4908        <attr name="topRightRadius" format="dimension" />
4909        <!-- Radius of the bottom left corner. -->
4910        <attr name="bottomLeftRadius" format="dimension" />
4911        <!-- Radius of the bottom right corner. -->
4912        <attr name="bottomRightRadius" format="dimension" />
4913    </declare-styleable>
4914
4915    <!-- Used to specify the optional padding of a GradientDrawable. -->
4916    <declare-styleable name="GradientDrawablePadding">
4917        <!-- Amount of left padding inside the gradient shape. -->
4918        <attr name="left" format="dimension" />
4919        <!-- Amount of top padding inside the gradient shape. -->
4920        <attr name="top" format="dimension" />
4921        <!-- Amount of right padding inside the gradient shape. -->
4922        <attr name="right" format="dimension" />
4923        <!-- Amount of bottom padding inside the gradient shape. -->
4924        <attr name="bottom" format="dimension" />
4925    </declare-styleable>
4926
4927    <!-- Drawable used to render several drawables stacked on top of each other.
4928         Each child drawable can be controlled individually. -->
4929    <declare-styleable name="LayerDrawable">
4930        <!-- Indicates the opacity of the layer. This can be useful to allow the
4931              system to enable drawing optimizations. The default value is
4932              translucent. -->
4933        <attr name="opacity">
4934            <!-- Indicates that the layer is opaque and contains no transparent
4935                 nor translucent pixels. -->
4936            <enum name="opaque" value="-1" />
4937            <!-- The layer is completely transparent (no pixel will be drawn.) -->
4938            <enum name="transparent" value="-2" />
4939            <!-- The layer has translucent pixels. -->
4940            <enum name="translucent" value="-3" />
4941        </attr>
4942        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
4943             RTL (right-to-left). -->
4944        <attr name="autoMirrored" />
4945        <!-- Indicates how layer padding should affect the bounds of subsequent layers.
4946             The default padding mode value is nest. -->
4947        <attr name="paddingMode">
4948            <!-- Nest each layer inside the padding of the previous layer. -->
4949            <enum name="nest" value="0" />
4950            <!-- Stack each layer directly atop the previous layer. -->
4951            <enum name="stack" value="1" />
4952        </attr>
4953    </declare-styleable>
4954
4955    <!-- Describes an item (or child) of a LayerDrawable. -->
4956    <declare-styleable name="LayerDrawableItem">
4957        <!-- Left coordinate of the layer. -->
4958        <attr name="left" />
4959        <!-- Top coordinate of the layer. -->
4960        <attr name="top" />
4961        <!-- Right coordinate of the layer. -->
4962        <attr name="right" />
4963        <!-- Bottom coordinate of the layer. -->
4964        <attr name="bottom" />
4965        <!-- Drawable used to render the layer. -->
4966        <attr name="drawable" />
4967        <!-- Identifier of the layer. This can be used to retrieve the layer
4968             from a drawable container. -->
4969        <attr name="id" />
4970    </declare-styleable>
4971
4972    <declare-styleable name="LevelListDrawableItem">
4973        <!-- The minimum level allowed for this item. -->
4974        <attr name="minLevel" format="integer" />
4975        <!-- The maximum level allowed for this item. -->
4976        <attr name="maxLevel" format="integer" />
4977        <attr name="drawable" />
4978    </declare-styleable>
4979
4980    <!-- Drawable used to rotate another drawable. -->
4981    <declare-styleable name="RotateDrawable">
4982        <attr name="visible" />
4983        <attr name="fromDegrees" format="float" />
4984        <attr name="toDegrees" format="float" />
4985        <attr name="pivotX" format="float|fraction" />
4986        <attr name="pivotY" format="float|fraction" />
4987        <attr name="drawable" />
4988    </declare-styleable>
4989
4990    <declare-styleable name="AnimatedRotateDrawable">
4991        <attr name="visible" />
4992        <attr name="frameDuration" format="integer" />
4993        <attr name="framesCount" format="integer" />
4994        <attr name="pivotX" />
4995        <attr name="pivotY" />
4996        <attr name="drawable" />
4997    </declare-styleable>
4998
4999    <!-- Drawable used to render the Material progress indicator. -->
5000    <declare-styleable name="MaterialProgressDrawable">
5001        <attr name="visible" />
5002        <attr name="thickness" />
5003        <attr name="innerRadius" />
5004        <attr name="width" />
5005        <attr name="height" />
5006        <attr name="color" />
5007    </declare-styleable>
5008
5009    <declare-styleable name="InsetDrawable">
5010        <attr name="visible" />
5011        <attr name="drawable" />
5012        <attr name="inset"  format="dimension"/>
5013        <attr name="insetLeft" format="dimension" />
5014        <attr name="insetRight" format="dimension" />
5015        <attr name="insetTop" format="dimension" />
5016        <attr name="insetBottom" format="dimension" />
5017    </declare-styleable>
5018
5019    <!-- Drawable used to draw bitmaps. -->
5020    <declare-styleable name="BitmapDrawable">
5021        <!-- Identifier of the bitmap file. This attribute is mandatory. -->
5022        <attr name="src" />
5023        <!-- Enables or disables antialiasing. Antialiasing can be used to smooth the
5024             edges of a bitmap when rotated. Default value is false. -->
5025        <attr name="antialias" format="boolean" />
5026        <!-- Enables or disables bitmap filtering. Filtering is used when the bitmap is
5027             shrunk or stretched to smooth its apperance. Default value is true. -->
5028        <attr name="filter" format="boolean" />
5029        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5030             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5031             an RGB 565 screen). Default value is true. -->
5032        <attr name="dither" />
5033        <!-- Defines the gravity for the bitmap. The gravity indicates where to position
5034             the drawable in its container if the bitmap is smaller than the container. -->
5035        <attr name="gravity" />
5036        <!-- Defines the tile mode. When the tile mode is enabled, the bitmap is repeated.
5037             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5038        <attr name="tileMode">
5039            <!-- Do not tile the bitmap. This is the default value. -->
5040            <enum name="disabled" value="-1" />
5041            <!-- Replicates the edge color. -->
5042            <enum name="clamp" value="0" />
5043            <!-- Repeats the bitmap in both direction. -->
5044            <enum name="repeat" value="1" />
5045            <!-- Repeats the shader's image horizontally and vertically, alternating
5046                 mirror images so that adjacent images always seam. -->
5047            <enum name="mirror" value="2" />
5048        </attr>
5049        <!-- Defines the horizontal tile mode. When the tile mode is enabled, the bitmap is repeated.
5050             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5051        <attr name="tileModeX">
5052            <!-- Do not tile the bitmap. This is the default value. -->
5053            <enum name="disabled" value="-1" />
5054            <!-- Replicates the edge color. -->
5055            <enum name="clamp" value="0" />
5056            <!-- Repeats the bitmap horizontally. -->
5057            <enum name="repeat" value="1" />
5058            <!-- Repeats the shader's image horizontally, alternating
5059                 mirror images so that adjacent images always seam. -->
5060            <enum name="mirror" value="2" />
5061        </attr>
5062        <!-- Defines the vertical tile mode. When the tile mode is enabled, the bitmap is repeated.
5063             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5064        <attr name="tileModeY">
5065            <!-- Do not tile the bitmap. This is the default value. -->
5066            <enum name="disabled" value="-1" />
5067            <!-- Replicates the edge color. -->
5068            <enum name="clamp" value="0" />
5069            <!-- Repeats the bitmap vertically. -->
5070            <enum name="repeat" value="1" />
5071            <!-- Repeats the shader's image vertically, alternating
5072                 mirror images so that adjacent images always seam. -->
5073            <enum name="mirror" value="2" />
5074        </attr>
5075        <!-- Enables or disables the mipmap hint. See
5076            {@link android.graphics.Bitmap#setHasMipMap(boolean)} for more information.
5077            Default value is false. -->
5078        <attr name="mipMap" format="boolean" />
5079        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5080             RTL (right-to-left). -->
5081        <attr name="autoMirrored" />
5082        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5083             no tint is applied. May be a color state list. -->
5084        <attr name="tint" />
5085        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5086             default value is src_in, which treats the drawable as an alpha mask. -->
5087        <attr name="tintMode">
5088            <!-- The tint is drawn on top of the drawable.
5089                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
5090            <enum name="src_over" value="3" />
5091            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
5092                 color channels are thrown out. [Sa * Da, Sc * Da] -->
5093            <enum name="src_in" value="5" />
5094            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
5095                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
5096            <enum name="src_atop" value="9" />
5097            <!-- Multiplies the color and alpha channels of the drawable with those of
5098                 the tint. [Sa * Da, Sc * Dc] -->
5099            <enum name="multiply" value="14" />
5100            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
5101            <enum name="screen" value="15" />
5102            <!-- Combines the tint and drawable color and alpha channels, clamping the
5103                 result to valid color values. Saturate(S + D) -->
5104            <enum name="add" value="16" />
5105        </attr>
5106        <!-- Specifies the alpha multiplier to apply to the base drawable. -->
5107        <attr name="alpha" />
5108    </declare-styleable>
5109
5110    <!-- Drawable used to draw 9-patches. -->
5111    <declare-styleable name="NinePatchDrawable">
5112        <!-- Identifier of the bitmap file. This attribute is mandatory. -->
5113        <attr name="src" />
5114        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5115             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5116             an RGB 565 screen). -->
5117        <attr name="dither" />
5118        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5119             RTL (right-to-left). -->
5120        <attr name="autoMirrored" />
5121        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5122             no tint is applied. May be a color state list. -->
5123        <attr name="tint" />
5124        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5125             default value is src_in, which treats the drawable as an alpha mask. -->
5126        <attr name="tintMode" />
5127        <!-- Specifies the alpha multiplier to apply to the base drawable. -->
5128        <attr name="alpha" />
5129    </declare-styleable>
5130
5131    <!-- Drawable used to draw a single color. -->
5132    <declare-styleable name="ColorDrawable">
5133        <!-- The color to use. -->
5134        <attr name="color" />
5135    </declare-styleable>
5136
5137    <!-- Drawable used to show animated touch feedback. -->
5138    <declare-styleable name="RippleDrawable">
5139        <!-- The color to use for ripple effects. This attribute is required. -->
5140        <attr name="color" />
5141    </declare-styleable>
5142
5143    <declare-styleable name="ScaleDrawable">
5144        <!-- Scale width, expressed as a percentage of the drawable's bound. The value's
5145             format is XX%. For instance: 100%, 12.5%, etc.-->
5146        <attr name="scaleWidth" format="string" />
5147        <!-- Scale height, expressed as a percentage of the drawable's bound. The value's
5148             format is XX%. For instance: 100%, 12.5%, etc.-->
5149        <attr name="scaleHeight" format="string" />
5150        <!-- Specifies where the drawable is positioned after scaling. The default value is
5151             left. -->
5152        <attr name="scaleGravity">
5153            <!-- Push object to the top of its container, not changing its size. -->
5154            <flag name="top" value="0x30" />
5155            <!-- Push object to the bottom of its container, not changing its size. -->
5156            <flag name="bottom" value="0x50" />
5157            <!-- Push object to the left of its container, not changing its size. -->
5158            <flag name="left" value="0x03" />
5159            <!-- Push object to the right of its container, not changing its size. -->
5160            <flag name="right" value="0x05" />
5161            <!-- Place object in the vertical center of its container, not changing its size. -->
5162            <flag name="center_vertical" value="0x10" />
5163            <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
5164            <flag name="fill_vertical" value="0x70" />
5165            <!-- Place object in the horizontal center of its container, not changing its size. -->
5166            <flag name="center_horizontal" value="0x01" />
5167            <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
5168            <flag name="fill_horizontal" value="0x07" />
5169            <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
5170            <flag name="center" value="0x11" />
5171            <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
5172            <flag name="fill" value="0x77" />
5173            <!-- Additional option that can be set to have the top and/or bottom edges of
5174                 the child clipped to its container's bounds.
5175                 The clip will be based on the vertical gravity: a top gravity will clip the bottom
5176                 edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
5177            <flag name="clip_vertical" value="0x80" />
5178            <!-- Additional option that can be set to have the left and/or right edges of
5179                 the child clipped to its container's bounds.
5180                 The clip will be based on the horizontal gravity: a left gravity will clip the right
5181                 edge, a right gravity will clip the left edge, and neither will clip both edges. -->
5182            <flag name="clip_horizontal" value="0x08" />
5183            <!-- Push object to the beginning of its container, not changing its size. -->
5184            <flag name="start" value="0x00800003" />
5185            <!-- Push object to the end of its container, not changing its size. -->
5186            <flag name="end" value="0x00800005" />
5187        </attr>
5188        <!-- Reference to a drawable resource to draw with the specified scale. -->
5189        <attr name="drawable" />
5190        <!-- Use the drawable's intrinsic width and height as minimum size values.
5191             Useful if the target drawable is a 9-patch or otherwise should not be scaled
5192             down beyond a minimum size. -->
5193        <attr name="useIntrinsicSizeAsMinimum" format="boolean" />
5194    </declare-styleable>
5195
5196    <declare-styleable name="ClipDrawable">
5197        <!-- The orientation for the clip. -->
5198        <attr name="clipOrientation">
5199            <!-- Clip the drawable horizontally. -->
5200            <flag name="horizontal" value="1" />
5201            <!-- Clip the drawable vertically. -->
5202            <flag name="vertical" value="2" />
5203        </attr>
5204        <!-- Specifies where to clip within the drawable. The default value is
5205             left. -->
5206        <attr name="gravity" />
5207        <!-- Reference to a drawable resource to draw with the specified scale. -->
5208        <attr name="drawable" />
5209    </declare-styleable>
5210
5211    <!-- Defines the padding of a ShapeDrawable. -->
5212    <declare-styleable name="ShapeDrawablePadding">
5213        <!-- Left padding. -->
5214        <attr name="left" />
5215        <!-- Top padding. -->
5216        <attr name="top" />
5217        <!-- Right padding. -->
5218        <attr name="right" />
5219        <!-- Bottom padding. -->
5220        <attr name="bottom" />
5221    </declare-styleable>
5222
5223    <!-- Drawable used to draw shapes. -->
5224    <declare-styleable name="ShapeDrawable">
5225        <!-- Defines the color of the shape. -->
5226        <attr name="color" />
5227        <!-- Defines the width of the shape. -->
5228        <attr name="width" />
5229        <!-- Defines the height of the shape. -->
5230        <attr name="height" />
5231        <!-- Enables or disables dithering. -->
5232        <attr name="dither" />
5233        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5234             no tint is applied. May be a color state list. -->
5235        <attr name="tint" />
5236        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5237             default value is src_in, which treats the drawable as an alpha mask. -->
5238        <attr name="tintMode" />
5239    </declare-styleable>
5240
5241    <!-- ========================== -->
5242    <!--   VectorDrawable class   -->
5243    <!-- ========================== -->
5244    <eat-comment />
5245
5246    <!-- Drawable used to draw vector paths. -->
5247    <declare-styleable name="VectorDrawable">
5248        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5249             no tint is applied. May be a color state list. -->
5250        <attr name="tint" />
5251        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5252             default value is src_in, which treats the drawable as an alpha mask. -->
5253        <attr name="tintMode" />
5254        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5255             RTL (right-to-left). -->
5256        <attr name="autoMirrored" />
5257        <!-- The intrinsic width of the Vector Drawable. -->
5258        <attr name="width" />
5259        <!-- The intrinsic height of the Vector Drawable. -->
5260        <attr name="height" />
5261        <!-- The width of the canvas the drawing is on. -->
5262        <attr name="viewportWidth" format="float"/>
5263        <!-- The height of the canvas the drawing is on. -->
5264        <attr name="viewportHeight" format="float"/>
5265    </declare-styleable>
5266
5267    <!-- Defines the group used in VectorDrawables. -->
5268    <declare-styleable name="VectorDrawableGroup">
5269        <!-- The Name of this group -->
5270        <attr name="name" />
5271        <!-- The amount to rotate the group -->
5272        <attr name="rotation" />
5273        <!-- The X coordinate of the center of rotation of a group -->
5274        <attr name="pivotX" />
5275        <!-- The Y coordinate of the center of rotation of a group -->
5276        <attr name="pivotY" />
5277        <!-- The amount to translate the group on X coordinate -->
5278        <attr name="translateX" format="float"/>
5279        <!-- The amount to translate the group on Y coordinate -->
5280        <attr name="translateY" format="float"/>
5281        <!-- The amount to scale the group on X coordinate -->
5282        <attr name="scaleX" />
5283        <!-- The amount to scale the group on X coordinate -->
5284        <attr name="scaleY" />
5285        <!-- The alpha of the group (0 is transparent and 1 is opaque) -->
5286        <attr name="alpha" />
5287    </declare-styleable>
5288
5289    <!-- Defines the path used in VectorDrawables. -->
5290    <declare-styleable name="VectorDrawablePath">
5291        <!-- The Name of this path -->
5292        <attr name="name" />
5293        <!-- The width a path stroke -->
5294        <attr name="strokeWidth" format="float" />
5295        <!-- The color to stroke the path if not defined implies no stroke-->
5296        <attr name="strokeColor" format="color" />
5297        <!-- The color to fill the path if not defined implies no fill-->
5298        <attr name="fillColor" format="color" />
5299        <!-- The specification of the operations that define the path  -->
5300        <attr name="pathData" format="string" />
5301        <!-- The fraction of the path to trim from the start from 0 to 1 -->
5302        <attr name="trimPathStart" format="float" />
5303        <!-- The fraction of the path to trim from the end from 0 to 1  -->
5304        <attr name="trimPathEnd" format="float" />
5305        <!-- Shift trim region (allows visible region to include the start and end) from 0 to 1  -->
5306        <attr name="trimPathOffset" format="float" />
5307        <!-- sets the linecap for a stroked path -->
5308        <attr name="strokeLineCap" format="enum">
5309            <enum name="butt" value="0"/>
5310            <enum name="round" value="1"/>
5311            <enum name="square" value="2"/>
5312        </attr>
5313        <!-- sets the lineJoin for a stroked path -->
5314        <attr name="strokeLineJoin" format="enum">
5315            <enum name="miter" value="0"/>
5316            <enum name="round" value="1"/>
5317            <enum name="bevel" value="2"/>
5318        </attr>
5319        <!-- sets the Miter limit for a stroked path -->
5320        <attr name="strokeMiterLimit" format="float"/>
5321    </declare-styleable>
5322
5323    <!-- Defines the clip path used in VectorDrawables. -->
5324    <declare-styleable name="VectorDrawableClipPath">
5325        <!-- The Name of this path -->
5326        <attr name="name" />
5327        <!-- The specification of the operations that define the path  -->
5328        <attr name="pathData"/>
5329    </declare-styleable>
5330
5331    <!-- ========================== -->
5332    <!--   AnimatedVectorDrawable class   -->
5333    <!-- ========================== -->
5334    <eat-comment />
5335
5336    <!-- Define the AnimatedVectorDrawable. -->
5337    <declare-styleable name="AnimatedVectorDrawable">
5338        <!-- The static vector drawable. -->
5339        <attr name="drawable" />
5340    </declare-styleable>
5341
5342    <!-- Defines the target path or group used in the AnimatedVectorDrawable. -->
5343    <declare-styleable name="AnimatedVectorDrawableTarget">
5344        <!-- The name of this target path or group -->
5345        <attr name="name" />
5346        <!-- The animation for this target path or group -->
5347        <attr name="animation" />
5348    </declare-styleable>
5349
5350    <!-- ========================== -->
5351    <!-- Animation class attributes -->
5352    <!-- ========================== -->
5353    <eat-comment />
5354
5355    <declare-styleable name="Animation">
5356        <!-- Defines the interpolator used to smooth the animation movement in time. -->
5357        <attr name="interpolator" />
5358        <!-- When set to true, the value of fillBefore is taken into account. -->
5359        <attr name="fillEnabled" format="boolean" />
5360        <!-- When set to true or when fillEnabled is not set to true, the animation transformation
5361             is applied before the animation has started. The default value is true. -->
5362        <attr name="fillBefore" format="boolean" />
5363        <!-- When set to true, the animation transformation is applied after the animation is
5364             over. The default value is false. If fillEnabled is not set to true and the
5365             animation is not set on a View, fillAfter is assumed to be true.-->
5366        <attr name="fillAfter" format="boolean" />
5367        <!-- Amount of time (in milliseconds) for the animation to run. -->
5368        <attr name="duration" />
5369        <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
5370        <attr name="startOffset" format="integer" />
5371        <!-- Defines how many times the animation should repeat. The default value is 0. -->
5372        <attr name="repeatCount" format="integer">
5373            <enum name="infinite" value="-1" />
5374        </attr>
5375        <!-- Defines the animation behavior when it reaches the end and the repeat count is
5376             greater than 0 or infinite. The default value is restart. -->
5377        <attr name="repeatMode">
5378            <!-- The animation starts again from the beginning. -->
5379            <enum name="restart" value="1" />
5380            <!-- The animation plays backward. -->
5381            <enum name="reverse" value="2" />
5382        </attr>
5383        <!-- Allows for an adjustment of the Z ordering of the content being
5384             animated for the duration of the animation.  The default value is normal. -->
5385        <attr name="zAdjustment">
5386            <!-- The content being animated be kept in its current Z order. -->
5387            <enum name="normal" value="0" />
5388            <!-- The content being animated is forced on top of all other
5389                 content for the duration of the animation. -->
5390            <enum name="top" value="1" />
5391            <!-- The content being animated is forced under all other
5392                 content for the duration of the animation. -->
5393            <enum name="bottom" value="-1" />
5394        </attr>
5395        <!-- Special background behind animation.  Only for use with window
5396             animations.  Can only be a color, and only black.  If 0, the
5397             default, there is no background. -->
5398        <attr name="background" />
5399        <!-- Special option for window animations: if this window is on top
5400             of a wallpaper, don't animate the wallpaper with it. -->
5401        <attr name="detachWallpaper" format="boolean" />
5402    </declare-styleable>
5403
5404    <declare-styleable name="AnimationSet">
5405        <attr name="shareInterpolator" format="boolean" />
5406        <attr name="fillBefore" />
5407        <attr name="fillAfter" />
5408        <attr name="duration" />
5409        <attr name="startOffset" />
5410        <attr name="repeatMode" />
5411    </declare-styleable>
5412
5413    <declare-styleable name="RotateAnimation">
5414        <attr name="fromDegrees" />
5415        <attr name="toDegrees" />
5416        <attr name="pivotX" />
5417        <attr name="pivotY" />
5418    </declare-styleable>
5419
5420    <declare-styleable name="ScaleAnimation">
5421        <attr name="fromXScale" format="float|fraction|dimension" />
5422        <attr name="toXScale" format="float|fraction|dimension" />
5423        <attr name="fromYScale" format="float|fraction|dimension" />
5424        <attr name="toYScale" format="float|fraction|dimension" />
5425        <attr name="pivotX" />
5426        <attr name="pivotY" />
5427    </declare-styleable>
5428
5429    <declare-styleable name="TranslateAnimation">
5430        <attr name="fromXDelta" format="float|fraction" />
5431        <attr name="toXDelta" format="float|fraction" />
5432        <attr name="fromYDelta" format="float|fraction" />
5433        <attr name="toYDelta" format="float|fraction" />
5434    </declare-styleable>
5435
5436    <declare-styleable name="AlphaAnimation">
5437        <attr name="fromAlpha" format="float" />
5438        <attr name="toAlpha" format="float" />
5439    </declare-styleable>
5440
5441    <declare-styleable name="LayoutAnimation">
5442        <!-- Fraction of the animation duration used to delay the beginning of
5443         the animation of each child. -->
5444        <attr name="delay" format="float|fraction" />
5445        <!-- Animation to use on each child. -->
5446        <attr name="animation" format="reference" />
5447        <!-- The order in which the animations will be started. -->
5448        <attr name="animationOrder">
5449            <!-- Animations are started in the natural order. -->
5450            <enum name="normal" value="0" />
5451            <!-- Animations are started in the reverse order. -->
5452            <enum name="reverse" value="1" />
5453            <!-- Animations are started randomly. -->
5454            <enum name="random" value="2" />
5455        </attr>
5456        <!-- Interpolator used to interpolate the delay between the start of
5457         each animation. -->
5458        <attr name="interpolator" />
5459    </declare-styleable>
5460
5461    <declare-styleable name="GridLayoutAnimation">
5462        <!-- Fraction of the animation duration used to delay the beginning of
5463         the animation of each column. -->
5464        <attr name="columnDelay" format="float|fraction" />
5465        <!-- Fraction of the animation duration used to delay the beginning of
5466         the animation of each row. -->
5467        <attr name="rowDelay" format="float|fraction" />
5468        <!-- Direction of the animation in the grid. -->
5469        <attr name="direction">
5470            <!-- Animates columns from left to right. -->
5471            <flag name="left_to_right" value="0x0" />
5472            <!-- Animates columns from right to left. -->
5473            <flag name="right_to_left" value="0x1" />
5474            <!-- Animates rows from top to bottom. -->
5475            <flag name="top_to_bottom" value="0x0" />
5476            <!-- Animates rows from bottom to top. -->
5477            <flag name="bottom_to_top" value="0x2" />
5478        </attr>
5479        <!-- Priority of the rows and columns. When the priority is none,
5480         both rows and columns have the same priority. When the priority is
5481         column, the animations will be applied on the columns first. The same
5482         goes for rows. -->
5483        <attr name="directionPriority">
5484            <!-- Rows and columns are animated at the same time. -->
5485            <enum name="none"   value="0" />
5486            <!-- Columns are animated first. -->
5487            <enum name="column" value="1" />
5488            <!-- Rows are animated first. -->
5489            <enum name="row"    value="2" />
5490        </attr>
5491    </declare-styleable>
5492
5493    <declare-styleable name="AccelerateInterpolator">
5494        <!-- This is the amount of deceleration to add when easing in. -->
5495        <attr name="factor" format="float" />
5496    </declare-styleable>
5497
5498    <declare-styleable name="DecelerateInterpolator">
5499        <!-- This is the amount of acceleration to add when easing out. -->
5500        <attr name="factor" />
5501    </declare-styleable>
5502
5503    <declare-styleable name="CycleInterpolator">
5504        <attr name="cycles" format="float" />
5505    </declare-styleable>
5506
5507    <declare-styleable name="AnticipateInterpolator">
5508        <!-- This is the amount of tension. -->
5509        <attr name="tension" format="float" />
5510    </declare-styleable>
5511
5512    <declare-styleable name="OvershootInterpolator">
5513        <!-- This is the amount of tension. -->
5514        <attr name="tension" />
5515    </declare-styleable>
5516
5517    <declare-styleable name="AnticipateOvershootInterpolator">
5518        <!-- This is the amount of tension. -->
5519        <attr name="tension" />
5520        <!-- This is the amount by which to multiply the tension. -->
5521        <attr name="extraTension" format="float" />
5522    </declare-styleable>
5523
5524    <declare-styleable name="PathInterpolator">
5525        <!-- The x coordinate of the first control point of the cubic Bezier -->
5526        <attr name="controlX1" format="float" />
5527        <!-- The y coordinate of the first control point of the cubic Bezier -->
5528        <attr name="controlY1" format="float" />
5529        <!-- The x coordinate of the second control point of the cubic Bezier -->
5530        <attr name="controlX2" format="float" />
5531        <!-- The y coordinate of the second control point of the cubic Bezier -->
5532        <attr name="controlY2" format="float" />
5533        <!-- The control points defined as a path.
5534             When pathData is defined, then both of the control points of the
5535             cubic Bezier will be ignored. -->
5536        <attr name="pathData"/>
5537    </declare-styleable>
5538
5539    <!-- ========================== -->
5540    <!-- Transition attributes -->
5541    <!-- ========================== -->
5542    <eat-comment />
5543
5544    <!-- Use specific transition subclass names as the root tag of the XML resource that
5545         describes a {@link android.transition.Transition Transition},
5546         such as <code>changeBounds</code>, <code>fade</code>, and <code>transitionSet</code>. -->
5547    <declare-styleable name="Transition">
5548        <!-- Amount of time (in milliseconds) that the transition should run. -->
5549        <attr name="duration" />
5550        <!-- Delay in milliseconds before the transition starts. -->
5551        <attr name="startDelay" format="integer" />
5552        <!-- Interpolator to be used in the animations spawned by this transition. -->
5553        <attr name="interpolator" />
5554        <!-- The match order to use for the transition. This is a comma-separated
5555             list of values, containing one or more of the following:
5556             id, itemId, name, instance. These correspond to
5557             {@link android.transition.Transition#MATCH_ID},
5558             {@link android.transition.Transition#MATCH_ITEM_ID},
5559             {@link android.transition.Transition#MATCH_NAME}, and
5560             {@link android.transition.Transition#MATCH_INSTANCE}, respectively.
5561             This corresponds to {@link android.transition.Transition#setMatchOrder(int...)}. -->
5562        <attr name="matchOrder" format="string" />
5563    </declare-styleable>
5564
5565    <!-- Use <code>fade</code>as the root tag of the XML resource that
5566         describes a {@link android.transition.Fade Fade} transition.
5567         The attributes of the {@link android.R.styleable#Transition Transition}
5568         resource are available in addition to the specific attributes of Fade
5569         described here. -->
5570    <declare-styleable name="Fade">
5571        <!-- Equivalent to <code>transitionVisibilityMode</code>, fadingMode works only
5572             with the Fade transition. -->
5573        <attr name="fadingMode">
5574            <!-- Fade will only fade appearing items in. -->
5575            <enum name="fade_in" value="1" />
5576            <!-- Fade will only fade disappearing items out. -->
5577            <enum name="fade_out" value="2" />
5578            <!-- Fade will fade appearing items in and disappearing items out. -->
5579            <enum name="fade_in_out" value="3" />
5580        </attr>
5581    </declare-styleable>
5582
5583    <!-- Use <code>slide</code>as the root tag of the XML resource that
5584         describes a {@link android.transition.Slide Slide} transition.
5585         The attributes of the {@link android.R.styleable#Transition Transition}
5586         resource are available in addition to the specific attributes of Slide
5587         described here. -->
5588    <declare-styleable name="Slide">
5589        <attr name="slideEdge">
5590            <!-- Slide to and from the left edge of the Scene. -->
5591            <enum name="left" value="0x03" />
5592            <!-- Slide to and from the top edge of the Scene. -->
5593            <enum name="top" value="0x30" />
5594            <!-- Slide to and from the right edge of the Scene. -->
5595            <enum name="right" value="0x05" />
5596            <!-- Slide to and from the bottom edge of the Scene. -->
5597            <enum name="bottom" value="0x50" />
5598        </attr>
5599    </declare-styleable>
5600
5601    <!-- Use with {@link android.transition.Visibility} transitions, such as
5602         <code>slide</code>, <code>explode</code>, and <code>fade</code> to mark which
5603         views are supported. -->
5604    <declare-styleable name="VisibilityTransition">
5605        <!-- Changes whether the transition supports appearing and/or disappearing Views.
5606             Corresponds to {@link android.transition.Visibility#setMode(int)}. -->
5607        <attr name="transitionVisibilityMode">
5608            <!-- Only appearing Views will be supported. -->
5609            <flag name="mode_in" value="1" />
5610            <!-- Only disappearing Views will be supported. -->
5611            <flag name="mode_out" value="2" />
5612        </attr>
5613    </declare-styleable>
5614    <!-- Use <code>target</code> as the root tag of the XML resource that
5615     describes a {@link android.transition.Transition#addTarget(int)
5616     targetId} of a transition. There can be one or more targets inside
5617     a <code>targets</code> tag, which is itself inside an appropriate
5618     {@link android.R.styleable#Transition Transition} tag.
5619     -->
5620    <declare-styleable name="TransitionTarget">
5621        <!-- The id of a target on which this transition will animate changes. -->
5622        <attr name="targetId" format="reference" />
5623        <!-- The id of a target to exclude from this transition. -->
5624        <attr name="excludeId" format="reference" />
5625        <!-- The fully-qualified name of the Class to include in this transition. -->
5626        <attr name="targetClass" />
5627        <!-- The fully-qualified name of the Class to exclude from this transition. -->
5628        <attr name="excludeClass" format="string" />
5629        <!-- The transitionName of the target on which this transition will animation changes. -->
5630        <attr name="targetName" format="string" />
5631        <!-- The transitionName of the target to exclude from this transition. -->
5632        <attr name="excludeName" format="string" />
5633    </declare-styleable>
5634
5635    <!-- Use <code>set</code> as the root tag of the XML resource that
5636         describes a {@link android.transition.TransitionSet
5637         TransitionSet} transition. -->
5638    <declare-styleable name="TransitionSet">
5639        <attr name="transitionOrdering">
5640            <!-- child transitions should be played together. -->
5641            <enum name="together" value="0" />
5642            <!-- child transitions should be played sequentially, in the same order
5643            as the xml. -->
5644            <enum name="sequential" value="1" />
5645        </attr>
5646    </declare-styleable>
5647
5648    <!-- Use <code>changeTransform</code> as the root tag of the XML resource that
5649         describes a {@link android.transition.ChangeTransform} transition. -->
5650    <declare-styleable name="ChangeTransform">
5651        <!-- A parent change should use an overlay or affect the transform of the
5652             transitionining View. Default is true. Corresponds to
5653             {@link android.transition.ChangeTransform#setReparentWithOverlay(boolean)}. -->
5654        <attr name="reparentWithOverlay" format="boolean"/>
5655
5656        <!-- Tells ChangeTransform to track parent changes. Default is true. Corresponds to
5657             {@link android.transition.ChangeTransform#setReparent(boolean)}. -->
5658        <attr name="reparent" format="boolean"/>
5659    </declare-styleable>
5660
5661    <!-- Use <code>transitionManager</code> as the root tag of the XML resource that
5662         describes a {@link android.transition.TransitionManager
5663         TransitionManager}. -->
5664    <declare-styleable name="TransitionManager">
5665        <!-- The id of a transition to be used in a particular scene change. -->
5666        <attr name="transition" format="reference" />
5667        <!-- The originating scene in this scene change. -->
5668        <attr name="fromScene" format="reference" />
5669        <!-- The destination scene in this scene change. -->
5670        <attr name="toScene" format="reference" />
5671    </declare-styleable>
5672
5673    <!-- Use <code>arcMotion</code> as the root tag of the XML resource that
5674         describes a {@link android.transition.ArcMotion}. This must be used
5675         within a transition with which the PathMotion should be associated. -->
5676    <declare-styleable name="ArcMotion">
5677        <!-- The minimum arc angle in degrees between the start and end points when
5678             they are close to horizontal. -->
5679        <attr name="minimumHorizontalAngle" format="float" />
5680        <!-- The minimum arc angle in degrees between the start and end points when
5681             they are close to vertical. -->
5682        <attr name="minimumVerticalAngle" format="float" />
5683        <!-- The maximum arc angle in degrees between the start and end points. -->
5684        <attr name="maximumAngle" format="float" />
5685    </declare-styleable>
5686
5687    <!-- Use <code>patternMotion</code> as the root tag of the XML resource that
5688         describes a {@link android.transition.PatternMotion}. This must be used
5689         within a transition with which the PathMotion should be associated. -->
5690    <declare-styleable name="PatternMotion">
5691        <!-- The path string describing the pattern to use for the PathMotion. -->
5692        <attr name="pathData" />
5693    </declare-styleable>
5694
5695    <!-- ========================== -->
5696    <!-- ValueAnimator class attributes -->
5697    <!-- ========================== -->
5698    <eat-comment />
5699
5700    <declare-styleable name="Animator">
5701        <!-- Defines the interpolator used to smooth the animation movement in time. -->
5702        <attr name="interpolator" />
5703        <!-- Amount of time (in milliseconds) for the animation to run. -->
5704        <attr name="duration" />
5705        <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
5706        <attr name="startOffset"/>
5707        <!-- Defines how many times the animation should repeat. The default value is 0. -->
5708        <attr name="repeatCount"/>
5709        <!-- Defines the animation behavior when it reaches the end and the repeat count is
5710             greater than 0 or infinite. The default value is restart. -->
5711        <attr name="repeatMode"/>
5712        <!-- Value the animation starts from. -->
5713        <attr name="valueFrom" format="float|integer|color|dimension|string"/>
5714        <!-- Value the animation animates to. -->
5715        <attr name="valueTo" format="float|integer|color|dimension|string"/>
5716        <!-- The type of valueFrom and valueTo. -->
5717        <attr name="valueType">
5718            <!-- valueFrom and valueTo are floats. This is the default value is valueType is
5719                 unspecified. Note that if either valueFrom or valueTo represent colors
5720                 (beginning with "#"), then this attribute is ignored and the color values are
5721                 interpreted as integers. -->
5722            <enum name="floatType" value="0" />
5723            <!-- valueFrom and valueTo are integers. -->
5724            <enum name="intType"   value="1" />
5725            <!-- valueFrom and valueTo are paths defined as strings.
5726                 This type is used for path morphing in AnimatedVectorDrawable. -->
5727            <enum name="pathType"   value="2" />
5728        </attr>
5729    </declare-styleable>
5730
5731    <!-- ========================== -->
5732    <!-- ObjectAnimator class attributes -->
5733    <!-- ========================== -->
5734    <eat-comment />
5735
5736    <declare-styleable name="PropertyAnimator">
5737        <!-- Name of the property being animated. -->
5738        <attr name="propertyName" format="string"/>
5739        <!-- Name of the property being animated as the X coordinate of the pathData. -->
5740        <attr name="propertyXName" format="string"/>
5741        <!-- Name of the property being animated as the Y coordinate of the pathData. -->
5742        <attr name="propertyYName" format="string"/>
5743        <!-- The path used to animate the properties in the ObjectAnimator -->
5744        <attr name="pathData"/>
5745    </declare-styleable>
5746
5747
5748    <!-- ========================== -->
5749    <!-- AnimatorSet class attributes -->
5750    <!-- ========================== -->
5751    <eat-comment />
5752
5753    <declare-styleable name="AnimatorSet">
5754        <!-- Name of the property being animated. -->
5755        <attr name="ordering">
5756            <!-- child animations should be played together. -->
5757            <enum name="together" value="0" />
5758            <!-- child animations should be played sequentially, in the same order as the xml. -->
5759            <enum name="sequentially" value="1" />
5760        </attr>
5761    </declare-styleable>
5762
5763    <!-- ========================== -->
5764    <!-- State attributes           -->
5765    <!-- ========================== -->
5766    <eat-comment />
5767
5768    <!-- Drawable states.
5769         The mapping of Drawable states to a particular drawables is specified
5770         in the "state" elements of a Widget's "selector" element.
5771         Possible values:
5772         <ul>
5773         <li>"state_focused"
5774         <li>"state_window_focused"
5775         <li>"state_enabled"
5776         <li>"state_checked"
5777         <li>"state_selected"
5778         <li>"state_active"
5779         <li>"state_single"
5780         <li>"state_first"
5781         <li>"state_mid"
5782         <li>"state_last"
5783         <li>"state_only"
5784         <li>"state_pressed"
5785         <li>"state_activated"
5786         <li>"state_error"
5787         <li>"state_circle"
5788         <li>"state_rect"
5789         <li>"state_grow"
5790         <li>"state_move"
5791         <li>"state_hovered"
5792         <li>"state_drag_can_accept"
5793         <li>"state_drag_hovered"
5794         <li>"state_accessibility_focused"
5795         </ul>  -->
5796    <declare-styleable name="DrawableStates">
5797        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
5798             set when a view has input focus. -->
5799        <attr name="state_focused" format="boolean" />
5800        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
5801             set when a view's window has input focus. -->
5802        <attr name="state_window_focused" format="boolean" />
5803        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
5804             set when a view is enabled. -->
5805        <attr name="state_enabled" format="boolean" />
5806        <!-- State identifier indicating that the object <var>may</var> display a check mark.
5807             See {@link R.attr#state_checked} for the identifier that indicates whether it is
5808             actually checked. -->
5809        <attr name="state_checkable" format="boolean"/>
5810        <!-- State identifier indicating that the object is currently checked.  See
5811             {@link R.attr#state_checkable} for an additional identifier that can indicate if
5812             any object may ever display a check, regardless of whether state_checked is
5813             currently set. -->
5814        <attr name="state_checked" format="boolean"/>
5815        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
5816             set when a view (or one of its parents) is currently selected. -->
5817        <attr name="state_selected" format="boolean" />
5818        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
5819             set when the user is pressing down in a view. -->
5820        <attr name="state_pressed" format="boolean" />
5821        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
5822             set when a view or its parent has been "activated" meaning the user has currently
5823             marked it as being of interest.  This is an alternative representation of
5824             state_checked for when the state should be propagated down the view hierarchy. -->
5825        <attr name="state_activated" format="boolean" />
5826        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
5827        <attr name="state_active" format="boolean" />
5828        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
5829        <attr name="state_single" format="boolean" />
5830        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
5831        <attr name="state_first" format="boolean" />
5832        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
5833        <attr name="state_middle" format="boolean" />
5834        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
5835        <attr name="state_last" format="boolean" />
5836        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
5837             indicating that the Drawable is in a view that is hardware accelerated.
5838             This means that the device can at least render a full-screen scaled
5839             bitmap with one layer of text and bitmaps composited on top of it
5840             at 60fps.  When this is set, the colorBackgroundCacheHint will be
5841             ignored even if it specifies a solid color, since that optimization
5842             is not needed. -->
5843        <attr name="state_accelerated" format="boolean" />
5844        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
5845             set when a pointer is hovering over the view. -->
5846        <attr name="state_hovered" format="boolean" />
5847        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
5848             indicating that the Drawable is in a view that is capable of accepting a drop of
5849             the content currently being manipulated in a drag-and-drop operation. -->
5850        <attr name="state_drag_can_accept" format="boolean" />
5851        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
5852             indicating that a drag operation (for which the Drawable's view is a valid recipient)
5853             is currently positioned over the Drawable. -->
5854        <attr name="state_drag_hovered" format="boolean" />
5855        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
5856             indicating that a View has accessibility focus. -->
5857        <attr name="state_accessibility_focused" format="boolean" />
5858    </declare-styleable>
5859    <declare-styleable name="ViewDrawableStates">
5860        <attr name="state_pressed" />
5861        <attr name="state_focused" />
5862        <attr name="state_selected" />
5863        <attr name="state_window_focused" />
5864        <attr name="state_enabled" />
5865        <attr name="state_activated" />
5866        <attr name="state_accelerated" />
5867        <attr name="state_hovered" />
5868        <attr name="state_drag_can_accept" />
5869        <attr name="state_drag_hovered" />
5870    </declare-styleable>
5871    <!-- State array representing a menu item that is currently checked. -->
5872    <declare-styleable name="MenuItemCheckedState">
5873        <attr name="state_checkable" />
5874        <attr name="state_checked" />
5875    </declare-styleable>
5876    <!-- State array representing a menu item that is checkable but is not currently checked. -->
5877    <declare-styleable name="MenuItemUncheckedState">
5878        <attr name="state_checkable" />
5879    </declare-styleable>
5880    <!-- State array representing a menu item that is currently focused and checked. -->
5881    <declare-styleable name="MenuItemCheckedFocusedState">
5882        <attr name="state_checkable" />
5883        <attr name="state_checked" />
5884        <attr name="state_focused" />
5885    </declare-styleable>
5886    <!-- State array representing a menu item that is focused and checkable but is not currently checked. -->
5887    <declare-styleable name="MenuItemUncheckedFocusedState">
5888        <attr name="state_checkable" />
5889        <attr name="state_focused" />
5890    </declare-styleable>
5891    <!-- State array representing an expandable list child's indicator. -->
5892    <declare-styleable name="ExpandableListChildIndicatorState">
5893        <!-- State identifier indicating the child is the last child within its group. -->
5894        <attr name="state_last" />
5895    </declare-styleable>
5896    <!-- State array representing an expandable list group's indicator. -->
5897    <declare-styleable name="ExpandableListGroupIndicatorState">
5898        <!-- State identifier indicating the group is expanded. -->
5899        <attr name="state_expanded" format="boolean" />
5900        <!-- State identifier indicating the group is empty (has no children). -->
5901        <attr name="state_empty" format="boolean" />
5902    </declare-styleable>
5903    <declare-styleable name="PopupWindowBackgroundState">
5904        <!-- State identifier indicating the popup will be above the anchor. -->
5905        <attr name="state_above_anchor" format="boolean" />
5906    </declare-styleable>
5907    <declare-styleable name="TextViewMultiLineBackgroundState">
5908        <!-- State identifier indicating a TextView has a multi-line layout. -->
5909        <attr name="state_multiline" format="boolean" />
5910    </declare-styleable>
5911
5912    <!-- ***************************************************************** -->
5913    <!-- Support for Searchable activities. -->
5914    <!-- ***************************************************************** -->
5915    <eat-comment />
5916
5917    <!-- Searchable activities and applications must provide search configuration information
5918        in an XML file, typically called searchable.xml.  This file is referenced in your manifest.
5919        For a more in-depth discussion of search configuration, please refer to
5920        {@link android.app.SearchManager}. -->
5921    <declare-styleable name="Searchable">
5922          <!--<strong>This is deprecated.</strong><br/>The default
5923              application icon is now always used, so this attribute is
5924              obsolete.-->
5925        <attr name="icon" />
5926        <!-- This is the user-displayed name of the searchable activity.  <i>Required
5927            attribute.</i> -->
5928        <attr name="label" />
5929        <!-- If supplied, this string will be displayed as a hint to the user.  <i>Optional
5930            attribute.</i> -->
5931        <attr name="hint" />
5932        <!-- If supplied, this string will be displayed as the text of the "Search" button.
5933          <i>Optional attribute.</i>
5934          {@deprecated This will create a non-standard UI appearance, because the search bar UI is
5935                       changing to use only icons for its buttons.}-->
5936        <attr name="searchButtonText" format="string" />
5937        <attr name="inputType" />
5938        <attr name="imeOptions" />
5939
5940        <!-- Additional features are controlled by mode bits in this field.  Omitting
5941            this field, or setting to zero, provides default behavior.  <i>Optional attribute.</i>
5942        -->
5943        <attr name="searchMode">
5944          <!-- If set, this flag enables the display of the search target (label) within the
5945               search bar.  If neither bad mode is selected, no badge will be shown. -->
5946          <flag name="showSearchLabelAsBadge" value="0x04" />
5947          <!--<strong>This is deprecated.</strong><br/>The default
5948              application icon is now always used, so this option is
5949              obsolete.-->
5950          <flag name="showSearchIconAsBadge" value="0x08" />
5951          <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_INTENT_DATA to
5952               be considered as the text for suggestion query rewriting.  This should only
5953               be used when the values in SUGGEST_COLUMN_INTENT_DATA are suitable for user
5954               inspection and editing - typically, HTTP/HTTPS Uri's. -->
5955          <flag name="queryRewriteFromData" value="0x10" />
5956          <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_TEXT_1 to
5957               be considered as the text for suggestion query rewriting.  This should be used
5958               for suggestions in which no query text is provided and the SUGGEST_COLUMN_INTENT_DATA
5959               values are not suitable for user inspection and editing. -->
5960          <flag name="queryRewriteFromText" value="0x20" />
5961        </attr>
5962
5963        <!-- Voice search features are controlled by mode bits in this field.  Omitting
5964            this field, or setting to zero, provides default behavior.
5965            If showVoiceSearchButton is set, then launchWebSearch or launchRecognizer must
5966            also be set.  <i>Optional attribute.</i>
5967        -->
5968        <attr name="voiceSearchMode">
5969          <!-- If set, display a voice search button.  This only takes effect if voice search is
5970               available on the device. -->
5971          <flag name="showVoiceSearchButton" value="0x01" />
5972          <!-- If set, the voice search button will take the user directly to a built-in
5973               voice web search activity.  Most applications will not use this flag, as it
5974               will take the user away from the activity in which search was invoked. -->
5975          <flag name="launchWebSearch" value="0x02" />
5976          <!-- If set, the voice search button will take the user directly to a built-in
5977               voice recording activity.  This activity will prompt the user to speak,
5978               transcribe the spoken text, and forward the resulting query
5979               text to the searchable activity, just as if the user had typed it into
5980               the search UI and clicked the search button. -->
5981          <flag name="launchRecognizer" value="0x04" />
5982        </attr>
5983
5984        <!-- If provided, this specifies the language model that should be used by the
5985             voice recognition system.  See
5986             {@link android.speech.RecognizerIntent#EXTRA_LANGUAGE_MODEL } for more information.
5987             If not provided, the default value
5988             {@link android.speech.RecognizerIntent#LANGUAGE_MODEL_FREE_FORM } will be used. -->
5989        <attr name="voiceLanguageModel" format="string" />
5990        <!-- If provided, this specifies a prompt that will be displayed during voice input. -->
5991        <attr name="voicePromptText" format="string" />
5992        <!-- If provided, this specifies the spoken language to be expected, and that it will be
5993             different than the one set in the {@link java.util.Locale#getDefault()}. -->
5994        <attr name="voiceLanguage" format="string" />
5995        <!-- If provided, enforces the maximum number of results to return, including the "best"
5996             result which will always be provided as the SEARCH intent's primary query.  Must be one
5997             or greater.  If not provided, the recognizer will choose how many results to return.
5998             -->
5999        <attr name="voiceMaxResults" format="integer" />
6000
6001        <!-- If provided, this is the trigger indicating that the searchable activity
6002            provides suggestions as well.  The value must be a fully-qualified content provider
6003            authority (e.g. "com.example.android.apis.SuggestionProvider") and should match the
6004            "android:authorities" tag in your content provider's manifest entry.  <i>Optional
6005            attribute.</i> -->
6006        <attr name="searchSuggestAuthority" format="string" />
6007        <!-- If provided, this will be inserted in the suggestions query Uri, after the authority
6008            you have provide but before the standard suggestions path. <i>Optional attribute.</i>
6009            -->
6010        <attr name="searchSuggestPath" format="string" />
6011        <!-- If provided, suggestion queries will be passed into your query function
6012            as the <i>selection</i> parameter.  Typically this will be a WHERE clause for your
6013            database, and will contain a single question mark, which represents the actual query
6014            string that has been typed by the user.  If not provided, then the user query text
6015            will be appended to the query Uri (after an additional "/".)  <i>Optional
6016            attribute.</i> -->
6017        <attr name="searchSuggestSelection" format="string" />
6018
6019        <!-- If provided, and not overridden by an action in the selected suggestion, this
6020            string will be placed in the action field of the {@link android.content.Intent Intent}
6021            when the user clicks a suggestion.  <i>Optional attribute.</i> -->
6022        <attr name="searchSuggestIntentAction" format="string" />
6023        <!-- If provided, and not overridden by an action in the selected suggestion, this
6024            string will be placed in the data field of the {@link android.content.Intent Intent}
6025            when the user clicks a suggestion.  <i>Optional attribute.</i> -->
6026        <attr name="searchSuggestIntentData" format="string" />
6027
6028        <!-- If provided, this is the minimum number of characters needed to trigger
6029             search suggestions. The default value is 0. <i>Optional attribute.</i> -->
6030        <attr name="searchSuggestThreshold" format="integer" />
6031
6032        <!-- If provided and <code>true</code>, this searchable activity will be
6033             included in any global lists of search targets.
6034             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6035        <attr name="includeInGlobalSearch" format="boolean" />
6036
6037        <!-- If provided and <code>true</code>, this searchable activity will be invoked for all
6038             queries in a particular session. If set to <code>false</code> and the activity
6039             returned zero results for a query, it will not be invoked again in that session for
6040             supersets of that zero-results query. For example, if the activity returned zero
6041             results for "bo", it would not be queried again for "bob".
6042             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6043        <attr name="queryAfterZeroResults" format="boolean" />
6044        <!-- If provided, this string will be used to describe the searchable item in the
6045             searchable items settings within system search settings. <i>Optional
6046             attribute.</i> -->
6047        <attr name="searchSettingsDescription" format="string" />
6048
6049        <!-- If provided and <code>true</code>, URLs entered in the search dialog while searching
6050             within this activity would be detected and treated as URLs (show a 'go' button in the
6051             keyboard and invoke the browser directly when user launches the URL instead of passing
6052             the URL to the activity). If set to <code>false</code> any URLs entered are treated as
6053             normal query text.
6054             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6055        <attr name="autoUrlDetect" format="boolean" />
6056
6057    </declare-styleable>
6058
6059    <!-- In order to process special action keys during search, you must define them using
6060            one or more "ActionKey" elements in your Searchable metadata.  For a more in-depth
6061            discussion of action code handling, please refer to {@link android.app.SearchManager}.
6062    -->
6063    <declare-styleable name="SearchableActionKey">
6064        <!-- This attribute denotes the action key you wish to respond to.  Note that not
6065            all action keys are actually supported using this mechanism, as many of them are
6066            used for typing, navigation, or system functions.  This will be added to the
6067            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6068            searchable activity.  To examine the key code, use
6069            {@link android.content.Intent#getIntExtra getIntExtra(SearchManager.ACTION_KEY)}.
6070            <p>Note, in addition to the keycode, you must also provide one or more of the action
6071            specifier attributes.  <i>Required attribute.</i> -->
6072        <attr name="keycode" />
6073
6074        <!-- If you wish to handle an action key during normal search query entry, you
6075            must define an action string here.  This will be added to the
6076            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6077            searchable activity.  To examine the string, use
6078            {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
6079            <i>Optional attribute.</i> -->
6080        <attr name="queryActionMsg"  format="string" />
6081
6082        <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
6083            selected</i>, there are two ways to handle this.  If <i>all</i> of your suggestions
6084            can handle the action key, you can simply define the action message using this
6085            attribute.  This will be added to the
6086            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6087            searchable activity.  To examine the string, use
6088            {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
6089            <i>Optional attribute.</i> -->
6090        <attr name="suggestActionMsg"  format="string" />
6091
6092        <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
6093            selected</i>, but you do not wish to enable this action key for every suggestion,
6094            then you can use this attribute to control it on a suggestion-by-suggestion basis.
6095            First, you must define a column (and name it here) where your suggestions will include
6096            the action string.  Then, in your content provider, you must provide this column, and
6097            when desired, provide data in this column.
6098            The search manager will look at your suggestion cursor, using the string
6099            provided here in order to select a column, and will use that to select a string from
6100            the cursor.  That string will be added to the
6101            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to
6102            your searchable activity.  To examine the string, use
6103            {@link android.content.Intent#getStringExtra
6104            getStringExtra(SearchManager.ACTION_MSG)}.  <i>If the data does not exist for the
6105            selection suggestion, the action key will be ignored.</i><i>Optional attribute.</i> -->
6106        <attr name="suggestActionMsgColumn" format="string" />
6107
6108    </declare-styleable>
6109
6110    <!-- ***************************************************************** -->
6111    <!-- Support for MapView. -->
6112    <!-- ***************************************************************** -->
6113    <eat-comment />
6114
6115    <!-- The set of attributes for a MapView. -->
6116    <declare-styleable name="MapView">
6117        <!-- Value is a string that specifies the Maps API Key to use. -->
6118        <attr name="apiKey" format="string" />
6119    </declare-styleable>
6120
6121    <!-- **************************************************************** -->
6122    <!-- Menu XML inflation. -->
6123    <!-- **************************************************************** -->
6124    <eat-comment />
6125
6126    <!-- Base attributes that are available to all Menu objects. -->
6127    <declare-styleable name="Menu">
6128    </declare-styleable>
6129
6130    <!-- Base attributes that are available to all groups. -->
6131    <declare-styleable name="MenuGroup">
6132
6133        <!-- The ID of the group. -->
6134        <attr name="id" />
6135
6136        <!-- The category applied to all items within this group.
6137             (This will be or'ed with the orderInCategory attribute.) -->
6138        <attr name="menuCategory">
6139            <!-- Items are part of a container. -->
6140            <enum name="container" value="0x00010000" />
6141            <!-- Items are provided by the system. -->
6142            <enum name="system" value="0x00020000" />
6143            <!-- Items are user-supplied secondary (infrequently used). -->
6144            <enum name="secondary" value="0x00030000" />
6145            <!-- Items are alternative actions. -->
6146            <enum name="alternative" value="0x00040000" />
6147        </attr>
6148
6149        <!-- The order within the category applied to all items within this group.
6150             (This will be or'ed with the category attribute.) -->
6151        <attr name="orderInCategory" format="integer" />
6152
6153        <!-- Whether the items are capable of displaying a check mark. -->
6154        <attr name="checkableBehavior">
6155            <!-- The items are not checkable. -->
6156            <enum name="none" value="0" />
6157            <!-- The items are all checkable. -->
6158            <enum name="all" value="1" />
6159            <!-- The items are checkable and there will only be a single checked item in
6160                 this group. -->
6161            <enum name="single" value="2" />
6162        </attr>
6163
6164        <!-- Whether the items are shown/visible. -->
6165        <attr name="visible" />
6166
6167        <!-- Whether the items are enabled. -->
6168        <attr name="enabled" />
6169
6170    </declare-styleable>
6171
6172    <!-- Base attributes that are available to all Item objects. -->
6173    <declare-styleable name="MenuItem">
6174
6175        <!-- The ID of the item. -->
6176        <attr name="id" />
6177
6178        <!-- The category applied to the item.
6179             (This will be or'ed with the orderInCategory attribute.) -->
6180        <attr name="menuCategory" />
6181
6182        <!-- The order within the category applied to the item.
6183             (This will be or'ed with the category attribute.) -->
6184        <attr name="orderInCategory" />
6185
6186        <!-- The title associated with the item. -->
6187        <attr name="title" format="string" />
6188
6189        <!-- The condensed title associated with the item.  This is used in situations where the
6190             normal title may be too long to be displayed. -->
6191        <attr name="titleCondensed" format="string" />
6192
6193        <!-- The icon associated with this item.  This icon will not always be shown, so
6194             the title should be sufficient in describing this item. -->
6195        <attr name="icon" />
6196
6197        <!-- The alphabetic shortcut key.  This is the shortcut when using a keyboard
6198             with alphabetic keys. -->
6199        <attr name="alphabeticShortcut" format="string" />
6200
6201        <!-- The numeric shortcut key.  This is the shortcut when using a numeric (e.g., 12-key)
6202             keyboard. -->
6203        <attr name="numericShortcut" format="string" />
6204
6205        <!-- Whether the item is capable of displaying a check mark. -->
6206        <attr name="checkable" format="boolean" />
6207
6208        <!-- Whether the item is checked.  Note that you must first have enabled checking with
6209             the checkable attribute or else the check mark will not appear. -->
6210        <attr name="checked" />
6211
6212        <!-- Whether the item is shown/visible. -->
6213        <attr name="visible" />
6214
6215        <!-- Whether the item is enabled. -->
6216        <attr name="enabled" />
6217
6218        <!-- Name of a method on the Context used to inflate the menu that will be
6219             called when the item is clicked. -->
6220        <attr name="onClick" />
6221
6222        <!-- How this item should display in the Action Bar, if present. -->
6223        <attr name="showAsAction">
6224            <!-- Never show this item in an action bar, show it in the overflow menu instead.
6225                 Mutually exclusive with "ifRoom" and "always". -->
6226            <flag name="never" value="0" />
6227            <!-- Show this item in an action bar if there is room for it as determined
6228                 by the system. Favor this option over "always" where possible.
6229                 Mutually exclusive with "never" and "always". -->
6230            <flag name="ifRoom" value="1" />
6231            <!-- Always show this item in an actionbar, even if it would override
6232                 the system's limits of how much stuff to put there. This may make
6233                 your action bar look bad on some screens. In most cases you should
6234                 use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never". -->
6235            <flag name="always" value="2" />
6236            <!-- When this item is shown as an action in the action bar, show a text
6237                 label with it even if it has an icon representation. -->
6238            <flag name="withText" value="4" />
6239            <!-- This item's action view collapses to a normal menu
6240                 item. When expanded, the action view takes over a
6241                 larger segment of its container. -->
6242            <flag name="collapseActionView" value="8" />
6243        </attr>
6244
6245        <!-- An optional layout to be used as an action view.
6246             See {@link android.view.MenuItem#setActionView(android.view.View)}
6247             for more info. -->
6248        <attr name="actionLayout" format="reference" />
6249
6250        <!-- The name of an optional View class to instantiate and use as an
6251             action view. See {@link android.view.MenuItem#setActionView(android.view.View)}
6252             for more info. -->
6253        <attr name="actionViewClass" format="string" />
6254
6255        <!-- The name of an optional ActionProvider class to instantiate an action view
6256             and perform operations such as default action for that menu item.
6257             See {@link android.view.MenuItem#setActionProvider(android.view.ActionProvider)}
6258             for more info. -->
6259        <attr name="actionProviderClass" format="string" />
6260
6261    </declare-styleable>
6262
6263    <!-- Attrbitutes for a ActvityChooserView. -->
6264    <declare-styleable name="ActivityChooserView">
6265        <!-- The maximal number of items initially shown in the activity list. -->
6266        <attr name="initialActivityCount" format="string" />
6267        <!-- The drawable to show in the button for expanding the activities overflow popup.
6268             <strong>Note:</strong> Clients would like to set this drawable
6269             as a clue about the action the chosen activity will perform. For
6270             example, if share activity is to be chosen the drawable should
6271             give a clue that sharing is to be performed.
6272         -->
6273        <attr name="expandActivityOverflowButtonDrawable" format="reference" />
6274    </declare-styleable>
6275
6276    <!-- **************************************************************** -->
6277    <!-- Preferences framework. -->
6278    <!-- **************************************************************** -->
6279    <eat-comment />
6280
6281    <!-- Base attributes available to PreferenceGroup. -->
6282    <declare-styleable name="PreferenceGroup">
6283        <!-- Whether to order the Preference under this group as they appear in the XML file.
6284             If this is false, the ordering will follow the Preference order attribute and
6285             default to alphabetic for those without the order attribute. -->
6286        <attr name="orderingFromXml" format="boolean" />
6287    </declare-styleable>
6288
6289    <!-- Attribute for a header describing the item shown in the top-level list
6290         from which the selects the set of preference to dig in to. -->
6291    <declare-styleable name="PreferenceHeader">
6292        <!-- Identifier value for the header. -->
6293        <attr name="id" />
6294        <!-- The title of the item that is shown to the user. -->
6295        <attr name="title" />
6296        <!-- The summary for the item. -->
6297        <attr name="summary" format="string" />
6298        <!-- The title for the bread crumb of this item. -->
6299        <attr name="breadCrumbTitle" format="string" />
6300        <!-- The short title for the bread crumb of this item. -->
6301        <attr name="breadCrumbShortTitle" format="string" />
6302        <!-- An icon for the item. -->
6303        <attr name="icon" />
6304        <!-- The fragment that is displayed when the user selects this item. -->
6305        <attr name="fragment" format="string" />
6306    </declare-styleable>
6307
6308    <!-- WARNING:  If adding attributes to Preference, make sure it does not conflict
6309                   with a View's attributes.  Some subclasses (e.g., EditTextPreference)
6310                   proxy all attributes to its EditText widget. -->
6311    <eat-comment />
6312
6313    <!-- Base attributes available to Preference. -->
6314    <declare-styleable name="Preference">
6315        <!-- The optional icon for the preference -->
6316        <attr name="icon" />
6317        <!-- The key to store the Preference value. -->
6318        <attr name="key" format="string" />
6319        <!-- The title for the Preference in a PreferenceActivity screen. -->
6320        <attr name="title" />
6321        <!-- The summary for the Preference in a PreferenceActivity screen. -->
6322        <attr name="summary" />
6323        <!-- The order for the Preference (lower values are to be ordered first). If this is not
6324             specified, the default orderin will be alphabetic. -->
6325        <attr name="order" format="integer" />
6326        <!-- When used inside of a modern PreferenceActivity, this declares
6327             a new PreferenceFragment to be shown when the user selects this item. -->
6328        <attr name="fragment" />
6329        <!-- The layout for the Preference in a PreferenceActivity screen. This should
6330             rarely need to be changed, look at widgetLayout instead. -->
6331        <attr name="layout" />
6332        <!-- The layout for the controllable widget portion of a Preference. This is inflated
6333             into the layout for a Preference and should be used more frequently than
6334             the layout attribute. For example, a checkbox preference would specify
6335             a custom layout (consisting of just the CheckBox) here. -->
6336        <attr name="widgetLayout" format="reference" />
6337        <!-- Whether the Preference is enabled. -->
6338        <attr name="enabled" />
6339        <!-- Whether the Preference is selectable. -->
6340        <attr name="selectable" format="boolean" />
6341        <!-- The key of another Preference that this Preference will depend on.  If the other
6342             Preference is not set or is off, this Preference will be disabled. -->
6343        <attr name="dependency" format="string" />
6344        <!-- Whether the Preference stores its value to the shared preferences. -->
6345        <attr name="persistent" />
6346        <!-- The default value for the preference, which will be set either if persistence
6347             is off or persistence is on and the preference is not found in the persistent
6348             storage.  -->
6349        <attr name="defaultValue" format="string|boolean|integer|reference|float" />
6350        <!-- Whether the view of this Preference should be disabled when
6351             this Preference is disabled. -->
6352        <attr name="shouldDisableView" format="boolean" />
6353    </declare-styleable>
6354
6355    <!-- Base attributes available to CheckBoxPreference. -->
6356    <declare-styleable name="CheckBoxPreference">
6357        <!-- The summary for the Preference in a PreferenceActivity screen when the
6358             CheckBoxPreference is checked. If separate on/off summaries are not
6359             needed, the summary attribute can be used instead. -->
6360        <attr name="summaryOn" format="string" />
6361        <!-- The summary for the Preference in a PreferenceActivity screen when the
6362             CheckBoxPreference is unchecked. If separate on/off summaries are not
6363             needed, the summary attribute can be used instead. -->
6364        <attr name="summaryOff" format="string" />
6365        <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
6366             dependents will be disabled when this is unchecked, so the value of this preference is false. -->
6367        <attr name="disableDependentsState" format="boolean" />
6368    </declare-styleable>
6369
6370    <!-- Base attributes available to DialogPreference. -->
6371    <declare-styleable name="DialogPreference">
6372        <!-- The title in the dialog. -->
6373        <attr name="dialogTitle" format="string" />
6374        <!-- The message in the dialog. If a dialogLayout is provided and contains
6375             a TextView with ID android:id/message, this message will be placed in there. -->
6376        <attr name="dialogMessage" format="string" />
6377        <!-- The icon for the dialog. -->
6378        <attr name="dialogIcon" format="reference" />
6379        <!-- The positive button text for the dialog. Set to @null to hide the positive button. -->
6380        <attr name="positiveButtonText" format="string" />
6381        <!-- The negative button text for the dialog. Set to @null to hide the negative button. -->
6382        <attr name="negativeButtonText" format="string" />
6383        <!-- A layout to be used as the content View for the dialog. By default, this shouldn't
6384             be needed. If a custom DialogPreference is required, this should be set. For example,
6385             the EditTextPreference uses a layout with an EditText as this attribute. -->
6386        <attr name="dialogLayout" format="reference" />
6387    </declare-styleable>
6388
6389    <!-- Base attributes available to ListPreference. -->
6390    <declare-styleable name="ListPreference">
6391        <!-- The human-readable array to present as a list. Each entry must have a corresponding
6392             index in entryValues. -->
6393        <attr name="entries" />
6394        <!-- The array to find the value to save for a preference when an entry from
6395             entries is selected. If a user clicks on the second item in entries, the
6396             second item in this array will be saved to the preference. -->
6397        <attr name="entryValues" format="reference" />
6398    </declare-styleable>
6399
6400    <declare-styleable name="MultiSelectListPreference">
6401        <!-- The human-readable array to present as a list. Each entry must have a corresponding
6402             index in entryValues. -->
6403        <attr name="entries" />
6404        <!-- The array to find the value to save for a preference when an entry from
6405             entries is selected. If a user clicks the second item in entries, the
6406             second item in this array will be saved to the preference. -->
6407        <attr name="entryValues" />
6408    </declare-styleable>
6409
6410    <!-- Base attributes available to RingtonePreference. -->
6411    <declare-styleable name="RingtonePreference">
6412        <!-- Which ringtone type(s) to show in the picker. -->
6413        <attr name="ringtoneType">
6414            <!-- Ringtones. -->
6415            <flag name="ringtone" value="1" />
6416            <!-- Notification sounds. -->
6417            <flag name="notification" value="2" />
6418            <!-- Alarm sounds. -->
6419            <flag name="alarm" value="4" />
6420            <!-- All available ringtone sounds. -->
6421            <flag name="all" value="7" />
6422        </attr>
6423        <!-- Whether to show an item for a default sound. -->
6424        <attr name="showDefault" format="boolean" />
6425        <!-- Whether to show an item for 'Silent'. -->
6426        <attr name="showSilent" format="boolean" />
6427    </declare-styleable>
6428
6429    <!-- Base attributes available to VolumePreference. -->
6430    <declare-styleable name="VolumePreference">
6431        <!-- Different audio stream types. -->
6432        <attr name="streamType">
6433            <enum name="voice" value="0" />
6434            <enum name="system" value="1" />
6435            <enum name="ring" value="2" />
6436            <enum name="music" value="3" />
6437            <enum name="alarm" value="4" />
6438        </attr>
6439    </declare-styleable>
6440
6441    <declare-styleable name="InputMethodService">
6442        <!-- Background to use for entire input method when it is being
6443             shown in fullscreen mode with the extract view, to ensure
6444             that it completely covers the application.  This allows,
6445             for example, the candidate view to be hidden
6446             while in fullscreen mode without having the application show through
6447             behind it.-->
6448        <attr name="imeFullscreenBackground" format="reference|color" />
6449        <!-- Animation to use when showing the fullscreen extract UI after
6450             it had previously been hidden. -->
6451        <attr name="imeExtractEnterAnimation" format="reference" />
6452        <!-- Animation to use when hiding the fullscreen extract UI after
6453             it had previously been shown. -->
6454        <attr name="imeExtractExitAnimation" format="reference" />
6455    </declare-styleable>
6456
6457    <declare-styleable name="VoiceInteractionSession">
6458    </declare-styleable>
6459
6460    <declare-styleable name="KeyboardView">
6461        <!-- Default KeyboardView style. -->
6462        <attr name="keyboardViewStyle" format="reference" />
6463
6464        <!-- Image for the key. This image needs to be a StateListDrawable, with the following
6465             possible states: normal, pressed, checkable, checkable+pressed, checkable+checked,
6466             checkable+checked+pressed. -->
6467        <attr name="keyBackground" format="reference" />
6468
6469        <!-- Size of the text for character keys. -->
6470        <attr name="keyTextSize" format="dimension" />
6471
6472        <!-- Size of the text for custom keys with some text and no icon. -->
6473        <attr name="labelTextSize" format="dimension" />
6474
6475        <!-- Color to use for the label in a key. -->
6476        <attr name="keyTextColor" format="color" />
6477
6478        <!-- Layout resource for key press feedback.-->
6479        <attr name="keyPreviewLayout" format="reference" />
6480
6481        <!-- Vertical offset of the key press feedback from the key. -->
6482        <attr name="keyPreviewOffset" format="dimension" />
6483
6484        <!-- Height of the key press feedback popup. -->
6485        <attr name="keyPreviewHeight" format="dimension" />
6486
6487        <!-- Amount to offset the touch Y coordinate by, for bias correction. -->
6488        <attr name="verticalCorrection" format="dimension" />
6489
6490        <!-- Layout resource for popup keyboards. -->
6491        <attr name="popupLayout" format="reference" />
6492
6493        <attr name="shadowColor" />
6494        <attr name="shadowRadius" />
6495    </declare-styleable>
6496
6497    <declare-styleable name="KeyboardViewPreviewState">
6498        <!-- State for {@link android.inputmethodservice.KeyboardView KeyboardView}
6499                key preview background. -->
6500        <attr name="state_long_pressable" format="boolean" />
6501    </declare-styleable>
6502
6503    <declare-styleable name="Keyboard">
6504        <!-- Default width of a key, in pixels or percentage of display width. -->
6505        <attr name="keyWidth" format="dimension|fraction" />
6506        <!-- Default height of a key, in pixels or percentage of display width. -->
6507        <attr name="keyHeight" format="dimension|fraction" />
6508        <!-- Default horizontal gap between keys. -->
6509        <attr name="horizontalGap" format="dimension|fraction" />
6510        <!-- Default vertical gap between rows of keys. -->
6511        <attr name="verticalGap" format="dimension|fraction" />
6512    </declare-styleable>
6513
6514    <declare-styleable name="Keyboard_Row">
6515        <!-- Row edge flags. -->
6516        <attr name="rowEdgeFlags">
6517            <!-- Row is anchored to the top of the keyboard. -->
6518            <flag name="top" value="4" />
6519            <!-- Row is anchored to the bottom of the keyboard. -->
6520            <flag name="bottom" value="8" />
6521        </attr>
6522        <!-- Mode of the keyboard. If the mode doesn't match the
6523             requested keyboard mode, the row will be skipped. -->
6524        <attr name="keyboardMode" format="reference" />
6525    </declare-styleable>
6526
6527    <declare-styleable name="Keyboard_Key">
6528        <!-- The unicode value or comma-separated values that this key outputs. -->
6529        <attr name="codes" format="integer|string" />
6530        <!-- The XML keyboard layout of any popup keyboard. -->
6531        <attr name="popupKeyboard" format="reference" />
6532        <!-- The characters to display in the popup keyboard. -->
6533        <attr name="popupCharacters" format="string" />
6534        <!-- Key edge flags. -->
6535        <attr name="keyEdgeFlags">
6536            <!-- Key is anchored to the left of the keyboard. -->
6537            <flag name="left" value="1" />
6538            <!-- Key is anchored to the right of the keyboard. -->
6539            <flag name="right" value="2" />
6540        </attr>
6541        <!-- Whether this is a modifier key such as Alt or Shift. -->
6542        <attr name="isModifier" format="boolean" />
6543        <!-- Whether this is a toggle key. -->
6544        <attr name="isSticky" format="boolean" />
6545        <!-- Whether long-pressing on this key will make it repeat. -->
6546        <attr name="isRepeatable" format="boolean" />
6547        <!-- The icon to show in the popup preview. -->
6548        <attr name="iconPreview" format="reference" />
6549        <!-- The string of characters to output when this key is pressed. -->
6550        <attr name="keyOutputText" format="string" />
6551        <!-- The label to display on the key. -->
6552        <attr name="keyLabel" format="string" />
6553        <!-- The icon to display on the key instead of the label. -->
6554        <attr name="keyIcon" format="reference" />
6555        <!-- Mode of the keyboard. If the mode doesn't match the
6556             requested keyboard mode, the key will be skipped. -->
6557        <attr name="keyboardMode" />
6558    </declare-styleable>
6559
6560    <!-- =============================== -->
6561    <!-- AppWidget package class attributes -->
6562    <!-- =============================== -->
6563    <eat-comment />
6564
6565    <!-- Use <code>appwidget-provider</code> as the root tag of the XML resource that
6566         describes an AppWidget provider.  See {@link android.appwidget android.appwidget}
6567         package for more info.
6568     -->
6569    <declare-styleable name="AppWidgetProviderInfo">
6570        <!-- Minimum width of the AppWidget. -->
6571        <attr name="minWidth"/>
6572        <!-- Minimum height of the AppWidget. -->
6573        <attr name="minHeight"/>
6574        <!-- Minimum width that the AppWidget can be resized to. -->
6575        <attr name="minResizeWidth" format="dimension"/>
6576        <!-- Minimum height that the AppWidget can be resized to. -->
6577        <attr name="minResizeHeight" format="dimension"/>
6578        <!-- Update period in milliseconds, or 0 if the AppWidget will update itself. -->
6579        <attr name="updatePeriodMillis" format="integer" />
6580        <!-- A resource id of a layout. -->
6581        <attr name="initialLayout" format="reference" />
6582        <!-- A resource id of a layout. -->
6583        <attr name="initialKeyguardLayout" format="reference" />
6584        <!-- A class name in the AppWidget's package to be launched to configure.
6585             If not supplied, then no activity will be launched. -->
6586        <attr name="configure" format="string" />
6587        <!-- A preview of what the AppWidget will look like after it's configured.
6588              If not supplied, the AppWidget's icon will be used. -->
6589        <attr name="previewImage" format="reference" />
6590        <!-- The view id of the AppWidget subview which should be auto-advanced.
6591             by the widget's host. -->
6592        <attr name="autoAdvanceViewId" format="reference" />
6593        <!-- Optional parameter which indicates if and how this widget can be
6594             resized. Supports combined values using | operator. -->
6595        <attr name="resizeMode" format="integer">
6596            <flag name="none" value="0x0" />
6597            <flag name="horizontal" value="0x1" />
6598            <flag name="vertical" value="0x2" />
6599        </attr>
6600        <!-- Optional parameter which indicates where this widget can be shown,
6601             ie. home screen, keyguard, recents or any combination thereof.
6602             Supports combined values using | operator. -->
6603        <attr name="widgetCategory" format="integer">
6604            <flag name="home_screen" value="0x1" />
6605            <flag name="keyguard" value="0x2" />
6606            <flag name="recents" value="0x4" />
6607        </attr>
6608    </declare-styleable>
6609
6610    <!-- =============================== -->
6611    <!-- Wallpaper preview attributes    -->
6612    <!-- =============================== -->
6613    <eat-comment />
6614
6615    <!-- Use <code>wallpaper-preview</code> as the root tag of the XML resource that
6616         describes a wallpaper preview. -->
6617    <declare-styleable name="WallpaperPreviewInfo">
6618        <!-- A resource id of a static drawable. -->
6619        <attr name="staticWallpaperPreview" format="reference" />
6620    </declare-styleable>
6621
6622    <!-- =============================== -->
6623    <!-- App package class attributes -->
6624    <!-- =============================== -->
6625    <eat-comment />
6626
6627    <!-- ============================= -->
6628    <!-- View package class attributes -->
6629    <!-- ============================= -->
6630    <eat-comment />
6631
6632    <!-- Attributes that can be used with <code>&lt;fragment&gt;</code>
6633         tags inside of the layout of an Activity.  This instantiates
6634         the given {@link android.app.Fragment} and inserts its content
6635         view into the current location in the layout. -->
6636    <declare-styleable name="Fragment">
6637        <!-- Supply the name of the fragment class to instantiate. -->
6638        <attr name="name" />
6639
6640        <!-- Supply an identifier name for the top-level view, to later retrieve it
6641             with {@link android.view.View#findViewById View.findViewById()} or
6642             {@link android.app.Activity#findViewById Activity.findViewById()}.
6643             This must be a
6644             resource reference; typically you set this using the
6645             <code>@+</code> syntax to create a new ID resources.
6646             For example: <code>android:id="@+id/my_id"</code> which
6647             allows you to later retrieve the view
6648             with <code>findViewById(R.id.my_id)</code>. -->
6649        <attr name="id" />
6650
6651        <!-- Supply a tag for the top-level view containing a String, to be retrieved
6652             later with {@link android.view.View#getTag View.getTag()} or
6653             searched for with {@link android.view.View#findViewWithTag
6654             View.findViewWithTag()}.  It is generally preferable to use
6655             IDs (through the android:id attribute) instead of tags because
6656             they are faster and allow for compile-time type checking. -->
6657        <attr name="tag" />
6658
6659        <!-- The Transition that will be used to move Views out of the scene when the
6660             fragment is removed, hidden, or detached when not popping the back stack.
6661             Corresponds to {@link android.app.Fragment#setExitTransition(
6662             android.transition.Transition)} -->
6663        <attr name="fragmentExitTransition" format="reference"/>
6664
6665        <!-- The Transition that will be used to move Views into the initial scene.
6666             Corresponds to {@link android.app.Fragment#setEnterTransition(
6667             android.transition.Transition)} -->
6668        <attr name="fragmentEnterTransition" format="reference"/>
6669
6670        <!-- The Transition that will be used for shared elements transferred into the content
6671             Scene.
6672             Corresponds to {@link android.app.Fragment#setSharedElementEnterTransition(
6673             android.transition.Transition)} -->
6674        <attr name="fragmentSharedElementEnterTransition" format="reference"/>
6675
6676        <!-- The Transition that will be used to move Views out of the scene when the Fragment is
6677             preparing to be removed, hidden, or detached because of popping the back stack.
6678             Corresponds to {@link android.app.Fragment#setReturnTransition(
6679             android.transition.Transition)} -->
6680        <attr name="fragmentReturnTransition" format="reference"/>
6681
6682        <!-- The Transition that will be used for shared elements transferred back during a
6683             pop of the back stack. This Transition acts in the leaving Fragment.
6684             Corresponds to {@link android.app.Fragment#setSharedElementReturnTransition(
6685             android.transition.Transition)} -->
6686        <attr name="fragmentSharedElementReturnTransition" format="reference"/>
6687
6688        <!-- The Transition that will be used to move Views in to the scene when returning due
6689             to popping a back stack.
6690             Corresponds to {@link android.app.Fragment#setReenterTransition(
6691             android.transition.Transition)} -->
6692        <attr name="fragmentReenterTransition" format="reference"/>
6693
6694        <!-- Sets whether the enter and exit transitions should overlap when transitioning
6695             forward.
6696             Corresponds to {@link android.app.Fragment#setAllowEnterTransitionOverlap(
6697             boolean)} -->
6698        <attr name="fragmentAllowEnterTransitionOverlap" format="reference"/>
6699
6700        <!-- Sets whether the enter and exit transitions should overlap when transitioning
6701             because of popping the back stack.
6702             Corresponds to {@link android.app.Fragment#setAllowReturnTransitionOverlap(
6703             boolean)} -->
6704        <attr name="fragmentAllowReturnTransitionOverlap" format="reference"/>
6705    </declare-styleable>
6706
6707    <!-- Use <code>device-admin</code> as the root tag of the XML resource that
6708         describes a
6709         {@link android.app.admin.DeviceAdminReceiver}, which is
6710         referenced from its
6711         {@link android.app.admin.DeviceAdminReceiver#DEVICE_ADMIN_META_DATA}
6712         meta-data entry.  Described here are the attributes that can be
6713         included in that tag. -->
6714    <declare-styleable name="DeviceAdmin">
6715        <!-- Control whether the admin is visible to the user, even when it
6716             is not enabled.  This is true by default.  You may want to make
6717             it false if your admin does not make sense to be turned on
6718             unless some explicit action happens in your app. -->
6719        <attr name="visible" />
6720    </declare-styleable>
6721
6722    <!-- Use <code>wallpaper</code> as the root tag of the XML resource that
6723         describes an
6724         {@link android.service.wallpaper.WallpaperService}, which is
6725         referenced from its
6726         {@link android.service.wallpaper.WallpaperService#SERVICE_META_DATA}
6727         meta-data entry.  Described here are the attributes that can be
6728         included in that tag. -->
6729    <declare-styleable name="Wallpaper">
6730        <attr name="settingsActivity" />
6731
6732        <!-- Reference to a the wallpaper's thumbnail bitmap. -->
6733        <attr name="thumbnail" format="reference" />
6734
6735        <!-- Name of the author of this component, e.g. Google. -->
6736        <attr name="author" format="reference" />
6737
6738        <!-- Short description of the component's purpose or behavior. -->
6739        <attr name="description" />
6740    </declare-styleable>
6741
6742    <!-- Use <code>dream</code> as the root tag of the XML resource that
6743         describes an
6744         {@link android.service.dreams.DreamService}, which is
6745         referenced from its
6746         {@link android.service.dreams.DreamService#DREAM_META_DATA}
6747         meta-data entry.  Described here are the attributes that can be
6748         included in that tag. -->
6749    <declare-styleable name="Dream">
6750        <!-- Component name of an activity that allows the user to modify
6751             the settings for this dream. -->
6752        <attr name="settingsActivity" />
6753    </declare-styleable>
6754
6755    <!-- @SystemApi Use <code>trust-agent</code> as the root tag of the XML resource that
6756         describes an {@link android.service.trust.TrustAgentService}, which is
6757         referenced from its {@link android.service.trust.TrustAgentService#TRUST_AGENT_META_DATA}
6758         meta-data entry.  Described here are the attributes that can be included in that tag.
6759         @hide -->
6760    <declare-styleable name="TrustAgent">
6761        <!-- @SystemApi Component name of an activity that allows the user to modify
6762             the settings for this trust agent. @hide -->
6763        <attr name="settingsActivity" />
6764        <!-- @SystemApi Title for a preference that allows that user to launch the
6765             activity to modify trust agent settings. @hide -->
6766        <attr name="title" />
6767        <!-- @SystemApi Summary for the same preference as the title. @hide -->
6768        <attr name="summary" />
6769    </declare-styleable>
6770
6771    <!-- =============================== -->
6772    <!-- Accounts package class attributes -->
6773    <!-- =============================== -->
6774    <eat-comment />
6775
6776    <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
6777         describes an account authenticator.
6778     -->
6779    <declare-styleable name="AccountAuthenticator">
6780        <!-- The account type this authenticator handles. -->
6781        <attr name="accountType" format="string"/>
6782        <!-- The user-visible name of the authenticator. -->
6783        <attr name="label"/>
6784        <!-- The icon of the authenticator. -->
6785        <attr name="icon"/>
6786        <!-- Smaller icon of the authenticator. -->
6787        <attr name="smallIcon" format="reference"/>
6788        <!-- A preferences.xml file for authenticator-specific settings. -->
6789        <attr name="accountPreferences" format="reference"/>
6790        <!-- Account handles its own token storage and permissions.
6791             Default to false
6792          -->
6793        <attr name="customTokens" format="boolean"/>
6794    </declare-styleable>
6795
6796    <!-- =============================== -->
6797    <!-- Accounts package class attributes -->
6798    <!-- =============================== -->
6799    <eat-comment />
6800
6801    <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
6802         describes an account authenticator.
6803     -->
6804    <declare-styleable name="SyncAdapter">
6805        <!-- the authority of a content provider. -->
6806        <attr name="contentAuthority" format="string"/>
6807        <attr name="accountType"/>
6808        <attr name="userVisible" format="boolean"/>
6809        <attr name="supportsUploading" format="boolean"/>
6810        <!-- Set to true to tell the SyncManager that this SyncAdapter supports
6811             multiple simultaneous syncs for the same account type and authority.
6812             Otherwise the SyncManager will be sure not to issue a start sync request
6813             to this SyncAdapter if the SyncAdapter is already syncing another account.
6814             Defaults to false.
6815             -->
6816        <attr name="allowParallelSyncs" format="boolean"/>
6817        <!-- Set to true to tell the SyncManager to automatically call setIsSyncable(..., ..., 1)
6818             for the SyncAdapter instead of issuaing an initialization sync to the SyncAdapter.
6819             Defaults to false.
6820             -->
6821        <attr name="isAlwaysSyncable" format="boolean"/>
6822        <!-- If provided, specifies the action of the settings
6823             activity for this SyncAdapter.
6824             -->
6825        <attr name="settingsActivity"/>
6826    </declare-styleable>
6827
6828    <!-- =============================== -->
6829    <!-- Contacts meta-data attributes -->
6830    <!-- =============================== -->
6831    <eat-comment />
6832
6833    <!-- TODO: remove this deprecated styleable. -->
6834    <eat-comment />
6835    <declare-styleable name="Icon">
6836        <attr name="icon" />
6837        <attr name="mimeType" />
6838    </declare-styleable>
6839
6840    <!-- TODO: remove this deprecated styleable -->
6841    <eat-comment />
6842    <declare-styleable name="IconDefault">
6843        <attr name="icon" />
6844    </declare-styleable>
6845
6846    <!-- Maps a specific contact data MIME-type to styling information. -->
6847    <declare-styleable name="ContactsDataKind">
6848        <!-- Mime-type handled by this mapping. -->
6849        <attr name="mimeType" />
6850        <!-- Icon used to represent data of this kind. -->
6851        <attr name="icon" />
6852        <!-- Column in data table that summarizes this data. -->
6853        <attr name="summaryColumn" format="string" />
6854        <!-- Column in data table that contains details for this data. -->
6855        <attr name="detailColumn" format="string" />
6856        <!-- Flag indicating that detail should be built from SocialProvider. -->
6857        <attr name="detailSocialSummary" format="boolean" />
6858        <!-- Resource representing the term "All Contacts" (e.g. "All Friends" or
6859        "All connections"). Optional (Default is "All Contacts"). -->
6860        <attr name="allContactsName" format="string" />
6861    </declare-styleable>
6862
6863    <!-- =============================== -->
6864    <!-- TabSelector class attributes -->
6865    <!-- =============================== -->
6866    <eat-comment />
6867
6868    <declare-styleable name="SlidingTab">
6869        <!-- Use "horizontal" for a row, "vertical" for a column.  The default is horizontal. -->
6870        <attr name="orientation" />
6871    </declare-styleable>
6872
6873    <!-- =============================== -->
6874    <!-- GlowPadView class attributes -->
6875    <!-- =============================== -->
6876    <eat-comment />
6877    <declare-styleable name="GlowPadView">
6878        <!-- Reference to an array resource that be shown as targets around a circle. -->
6879        <attr name="targetDrawables" format="reference" />
6880
6881        <!-- Reference to an array resource that be used as description for the targets around the circle. -->
6882        <attr name="targetDescriptions" format="reference" />
6883
6884        <!-- Reference to an array resource that be used to announce the directions with targets around the circle. -->
6885        <attr name="directionDescriptions" format="reference" />
6886
6887        <!-- Sets a drawable as the center. -->
6888        <attr name="handleDrawable" format="reference" />
6889
6890        <!-- Drawable to use for wave ripple animation. -->
6891        <attr name="outerRingDrawable" format="reference"/>
6892
6893        <!-- Drawble used for drawing points -->
6894        <attr name="pointDrawable" format="reference" />
6895
6896        <!-- Inner radius of glow area. -->
6897        <attr name="innerRadius"/>
6898
6899        <!-- Outer radius of glow area. Target icons will be drawn on this circle. -->
6900        <attr name="outerRadius" format="dimension" />
6901
6902        <!-- Radius of glow under finger. -->
6903        <attr name="glowRadius" format="dimension" />
6904
6905        <!-- Tactile feedback duration for actions. Set to '0' for no vibration. -->
6906        <attr name="vibrationDuration" format="integer" />
6907
6908        <!-- How close we need to be before snapping to a target. -->
6909        <attr name="snapMargin" format="dimension" />
6910
6911        <!-- Number of waves/chevrons to show in animation. -->
6912        <attr name="feedbackCount" format="integer" />
6913
6914        <!-- Used when the handle shouldn't wait to be hit before following the finger -->
6915        <attr name="alwaysTrackFinger" format="boolean" />
6916
6917        <!-- Location along the circle of the first item, in degrees.-->
6918        <attr name="firstItemOffset" format="float" />
6919
6920        <!-- Causes targets to snap to the finger location on activation. -->
6921        <attr name="magneticTargets" format="boolean" />
6922
6923        <attr name="gravity" />
6924
6925        <!-- Determine whether the glow pad is allowed to scale to fit the bounds indicated
6926            by its parent. If this is set to false, no scaling will occur. If this is set to true
6927            scaling will occur to fit for any axis in which gravity is set to center. -->
6928        <attr name="allowScaling" format="boolean" />
6929    </declare-styleable>
6930
6931    <!-- =============================== -->
6932    <!-- SizeAdaptiveLayout class attributes -->
6933    <!-- =============================== -->
6934    <eat-comment />
6935    <declare-styleable name="SizeAdaptiveLayout_Layout">
6936      <!-- The maximum valid height for this item. -->
6937      <attr name="layout_maxHeight" format="dimension">
6938        <!-- Indicates that the view may be resized arbitrarily large. -->
6939        <enum name="unbounded" value="-1" />
6940      </attr>
6941      <!-- The minimum valid height for this item. -->
6942      <attr name="layout_minHeight" format="dimension" />
6943    </declare-styleable>
6944    <declare-styleable name="SizeAdaptiveLayout" />
6945
6946    <!-- =============================== -->
6947    <!-- Location package class attributes -->
6948    <!-- =============================== -->
6949    <eat-comment />
6950
6951    <!-- Use <code>injected-location-setting</code> as the root tag of the XML resource that
6952         describes an injected "Location services" setting. Note that the status value (subtitle)
6953         for the setting is specified dynamically by a subclass of SettingInjectorService.
6954     -->
6955    <declare-styleable name="SettingInjectorService">
6956        <!-- The title for the preference. -->
6957        <attr name="title"/>
6958        <!-- The icon for the preference, should refer to all apps covered by the setting. Typically
6959             a generic icon for the developer. -->
6960        <attr name="icon"/>
6961        <!-- The activity to launch when the setting is clicked on. -->
6962        <attr name="settingsActivity"/>
6963    </declare-styleable>
6964
6965    <!-- =============================== -->
6966    <!-- LockPatternView class attributes -->
6967    <!-- =============================== -->
6968    <eat-comment />
6969
6970    <declare-styleable name="LockPatternView">
6971        <!-- Aspect to use when drawing LockPatternView. Choices are "square"(default), "lock_width"
6972             or "lock_height" -->
6973        <attr name="aspect" format="string" />
6974        <!-- Color to use when drawing LockPatternView paths. -->
6975        <attr name="pathColor" format="color|reference" />
6976        <!-- The regular pattern color -->
6977        <attr name="regularColor" format="color|reference" />
6978        <!-- The error color -->
6979        <attr name="errorColor" format="color|reference" />
6980        <!-- The success color -->
6981        <attr name="successColor" format="color|reference"/>
6982    </declare-styleable>
6983
6984    <!-- Use <code>recognition-service</code> as the root tag of the XML resource that
6985         describes a {@link android.speech.RecognitionService}, which is referenced from
6986         its {@link android.speech.RecognitionService#SERVICE_META_DATA} meta-data entry.
6987         Described here are the attributes that can be included in that tag. -->
6988    <declare-styleable name="RecognitionService">
6989        <attr name="settingsActivity" />
6990    </declare-styleable>
6991
6992    <!-- Use <code>voice-interaction-service</code> as the root tag of the XML resource that
6993         describes a {@link android.service.voice.VoiceInteractionService}, which is referenced from
6994         its {@link android.service.voice.VoiceInteractionService#SERVICE_META_DATA} meta-data entry.
6995         Described here are the attributes that can be included in that tag. -->
6996    <declare-styleable name="VoiceInteractionService">
6997        <!-- The service that hosts active voice interaction sessions.  This is required. -->
6998        <attr name="sessionService" format="string" />
6999        <!-- The service that provides voice recognition.  This is required.  When the user
7000             selects this voice interaction service, they will also be implicitly selecting
7001             the component here for their recognition service. -->
7002        <attr name="recognitionService" format="string" />
7003        <attr name="settingsActivity" />
7004    </declare-styleable>
7005
7006    <!-- Use <code>voice-enrollment-application</code>
7007         as the root tag of the XML resource that escribes the supported keyphrases (hotwords)
7008         by the enrollment application.
7009         Described here are the attributes that can be included in that tag.
7010         @hide
7011         @SystemApi -->
7012    <declare-styleable name="VoiceEnrollmentApplication">
7013        <!-- A globally unique ID for the keyphrase. @hide @SystemApi -->
7014        <attr name="searchKeyphraseId" format="integer" />
7015        <!-- The actual keyphrase/hint text, or empty if not keyphrase dependent. @hide @SystemApi -->
7016        <attr name="searchKeyphrase" format="string" />
7017        <!-- A comma separated list of BCP-47 language tag for locales that are supported
7018             for this keyphrase, or empty if not locale dependent. @hide @SystemApi -->
7019        <attr name="searchKeyphraseSupportedLocales" format="string" />
7020        <!-- Flags for supported recognition modes. @hide @SystemApi -->
7021        <attr name="searchKeyphraseRecognitionFlags">
7022            <flag name="none" value="0" />
7023            <flag name="voiceTrigger" value="0x1" />
7024            <flag name="userIdentification" value="0x2" />
7025        </attr>
7026    </declare-styleable>
7027
7028    <!-- Attributes used to style the Action Bar. -->
7029    <declare-styleable name="ActionBar">
7030        <!-- The type of navigation to use. -->
7031        <attr name="navigationMode">
7032            <!-- Normal static title text -->
7033            <enum name="normal" value="0" />
7034            <!-- The action bar will use a selection list for navigation. -->
7035            <enum name="listMode" value="1" />
7036            <!-- The action bar will use a series of horizontal tabs for navigation. -->
7037            <enum name="tabMode" value="2" />
7038        </attr>
7039        <!-- Options affecting how the action bar is displayed. -->
7040        <attr name="displayOptions">
7041            <flag name="none" value="0" />
7042            <flag name="useLogo" value="0x1" />
7043            <flag name="showHome" value="0x2" />
7044            <flag name="homeAsUp" value="0x4" />
7045            <flag name="showTitle" value="0x8" />
7046            <flag name="showCustom" value="0x10" />
7047            <flag name="disableHome" value="0x20" />
7048        </attr>
7049        <!-- Specifies title text used for navigationMode="normal" -->
7050        <attr name="title" />
7051        <!-- Specifies subtitle text used for navigationMode="normal" -->
7052        <attr name="subtitle" format="string" />
7053        <!-- Specifies a style to use for title text. -->
7054        <attr name="titleTextStyle" format="reference" />
7055        <!-- Specifies a style to use for subtitle text. -->
7056        <attr name="subtitleTextStyle" format="reference" />
7057        <!-- Specifies the drawable used for the application icon. -->
7058        <attr name="icon" />
7059        <!-- Specifies the drawable used for the application logo. -->
7060        <attr name="logo" />
7061        <!-- Specifies the drawable used for item dividers. -->
7062        <attr name="divider" />
7063        <!-- Specifies a background drawable for the action bar. -->
7064        <attr name="background" />
7065        <!-- Specifies a background drawable for a second stacked row of the action bar. -->
7066        <attr name="backgroundStacked" format="reference|color" />
7067        <!-- Specifies a background drawable for the bottom component of a split action bar. -->
7068        <attr name="backgroundSplit" format="reference|color" />
7069        <!-- Specifies a layout for custom navigation. Overrides navigationMode. -->
7070        <attr name="customNavigationLayout" format="reference" />
7071        <!-- Specifies a fixed height. -->
7072        <attr name="height" />
7073        <!-- Specifies a layout to use for the "home" section of the action bar. -->
7074        <attr name="homeLayout" format="reference" />
7075        <!-- Specifies a style resource to use for an embedded progress bar. -->
7076        <attr name="progressBarStyle" />
7077        <!-- Specifies a style resource to use for an indeterminate progress spinner. -->
7078        <attr name="indeterminateProgressStyle" format="reference" />
7079        <!-- Specifies the horizontal padding on either end for an embedded progress bar. -->
7080        <attr name="progressBarPadding" format="dimension" />
7081        <!-- Up navigation glyph -->
7082        <attr name="homeAsUpIndicator" />
7083        <!-- Specifies padding that should be applied to the left and right sides of
7084             system-provided items in the bar. -->
7085        <attr name="itemPadding" format="dimension" />
7086        <!-- Set true to hide the action bar on a vertical nested scroll of content. -->
7087        <attr name="hideOnContentScroll" format="boolean" />
7088        <!-- Minimum inset for content views within a bar. Navigation buttons and
7089             menu views are excepted. Only valid for some themes and configurations. -->
7090        <attr name="contentInsetStart" format="dimension" />
7091        <!-- Minimum inset for content views within a bar. Navigation buttons and
7092             menu views are excepted. Only valid for some themes and configurations. -->
7093        <attr name="contentInsetEnd" format="dimension" />
7094        <!-- Minimum inset for content views within a bar. Navigation buttons and
7095             menu views are excepted. Only valid for some themes and configurations. -->
7096        <attr name="contentInsetLeft" format="dimension" />
7097        <!-- Minimum inset for content views within a bar. Navigation buttons and
7098             menu views are excepted. Only valid for some themes and configurations. -->
7099        <attr name="contentInsetRight" format="dimension" />
7100        <!-- Elevation for the action bar itself -->
7101        <attr name="elevation" />
7102        <!-- Reference to a theme that should be used to inflate popups
7103             shown by widgets in the action bar. -->
7104        <attr name="popupTheme" />
7105    </declare-styleable>
7106
7107    <declare-styleable name="ActionMode">
7108        <!-- Specifies a style to use for title text. -->
7109        <attr name="titleTextStyle" />
7110        <!-- Specifies a style to use for subtitle text. -->
7111        <attr name="subtitleTextStyle" />
7112        <!-- Specifies a background for the action mode bar. -->
7113        <attr name="background" />
7114        <!-- Specifies a background for the split action mode bar. -->
7115        <attr name="backgroundSplit" />
7116        <!-- Specifies a fixed height for the action mode bar. -->
7117        <attr name="height" />
7118        <!-- Specifies a layout to use for the "close" item at the starting edge. -->
7119        <attr name="closeItemLayout" format="reference" />
7120    </declare-styleable>
7121
7122    <declare-styleable name="SearchView">
7123        <!-- The layout to use for the search view. -->
7124        <attr name="layout" />
7125        <!-- The default state of the SearchView. If true, it will be iconified when not in
7126             use and expanded when clicked. -->
7127        <attr name="iconifiedByDefault" format="boolean" />
7128        <!-- An optional maximum width of the SearchView. -->
7129        <attr name="maxWidth" />
7130        <!-- An optional query hint string to be displayed in the empty query field. -->
7131        <attr name="queryHint" format="string" />
7132        <!-- The IME options to set on the query text field. -->
7133        <attr name="imeOptions" />
7134        <!-- The input type to set on the query text field. -->
7135        <attr name="inputType" />
7136        <!-- Close button icon -->
7137        <attr name="closeIcon" format="reference" />
7138        <!-- Go button icon -->
7139        <attr name="goIcon" format="reference" />
7140        <!-- Search icon -->
7141        <attr name="searchIcon" format="reference" />
7142        <!-- Voice button icon -->
7143        <attr name="voiceIcon" format="reference" />
7144        <!-- Commit icon shown in the query suggestion row -->
7145        <attr name="commitIcon" format="reference" />
7146        <!-- Layout for query suggestion rows -->
7147        <attr name="suggestionRowLayout" format="reference" />
7148        <!-- Background for the section containing the search query -->
7149        <attr name="queryBackground" format="reference" />
7150        <!-- Background for the section containing the action (e.g. voice search) -->
7151        <attr name="submitBackground" format="reference" />
7152    </declare-styleable>
7153
7154    <declare-styleable name="Switch">
7155        <!-- Drawable to use as the "thumb" that switches back and forth. -->
7156        <attr name="thumb" />
7157        <!-- Drawable to use as the "track" that the switch thumb slides within. -->
7158        <attr name="track" format="reference" />
7159        <!-- Text to use when the switch is in the checked/"on" state. -->
7160        <attr name="textOn" />
7161        <!-- Text to use when the switch is in the unchecked/"off" state. -->
7162        <attr name="textOff" />
7163        <!-- Amount of padding on either side of text within the switch thumb. -->
7164        <attr name="thumbTextPadding" format="dimension" />
7165        <!-- TextAppearance style for text displayed on the switch thumb. -->
7166        <attr name="switchTextAppearance" format="reference" />
7167        <!-- Minimum width for the switch component -->
7168        <attr name="switchMinWidth" format="dimension" />
7169        <!-- Minimum space between the switch and caption text -->
7170        <attr name="switchPadding" format="dimension" />
7171        <!-- Whether to split the track and leave a gap for the thumb drawable. -->
7172        <attr name="splitTrack" />
7173        <!-- Whether to draw on/off text. -->
7174        <attr name="showText" format="boolean" />
7175    </declare-styleable>
7176
7177    <declare-styleable name="Pointer">
7178        <!-- Reference to a pointer icon drawable with STYLE_ARROW -->
7179        <attr name="pointerIconArrow" format="reference" />
7180        <!-- Reference to a pointer icon drawable with STYLE_SPOT_HOVER -->
7181        <attr name="pointerIconSpotHover" format="reference" />
7182        <!-- Reference to a pointer icon drawable with STYLE_SPOT_TOUCH -->
7183        <attr name="pointerIconSpotTouch" format="reference" />
7184        <!-- Reference to a pointer icon drawable with STYLE_SPOT_ANCHOR -->
7185        <attr name="pointerIconSpotAnchor" format="reference" />
7186    </declare-styleable>
7187
7188    <declare-styleable name="PointerIcon">
7189        <!-- Drawable to use as the icon bitmap. -->
7190        <attr name="bitmap" format="reference" />
7191        <!-- X coordinate of the icon hot spot. -->
7192        <attr name="hotSpotX" format="dimension" />
7193        <!-- Y coordinate of the icon hot spot. -->
7194        <attr name="hotSpotY" format="dimension" />
7195    </declare-styleable>
7196
7197    <declare-styleable name="Storage">
7198        <!-- path to mount point for the storage -->
7199        <attr name="mountPoint" format="string" />
7200        <!-- user visible description of the storage -->
7201        <attr name="storageDescription" format="string" />
7202        <!-- true if the storage is the primary external storage -->
7203        <attr name="primary" format="boolean" />
7204        <!-- true if the storage is removable -->
7205        <attr name="removable" format="boolean" />
7206        <!-- true if the storage is emulated via the FUSE sdcard daemon -->
7207        <attr name="emulated" format="boolean" />
7208        <!-- number of megabytes of storage MTP should reserve for free storage
7209             (used for emulated storage that is shared with system's data partition) -->
7210        <attr name="mtpReserve" format="integer" />
7211        <!-- true if the storage can be shared via USB mass storage -->
7212        <attr name="allowMassStorage" format="boolean" />
7213        <!-- maximum file size for the volume in megabytes, zero or unspecified if it is unbounded -->
7214        <attr name="maxFileSize" format="integer" />
7215    </declare-styleable>
7216
7217    <declare-styleable name="SwitchPreference">
7218        <!-- The summary for the Preference in a PreferenceActivity screen when the
7219             SwitchPreference is checked. If separate on/off summaries are not
7220             needed, the summary attribute can be used instead. -->
7221        <attr name="summaryOn" />
7222        <!-- The summary for the Preference in a PreferenceActivity screen when the
7223             SwitchPreference is unchecked. If separate on/off summaries are not
7224             needed, the summary attribute can be used instead. -->
7225        <attr name="summaryOff" />
7226        <!-- The text used on the switch itself when in the "on" state.
7227             This should be a very SHORT string, as it appears in a small space. -->
7228        <attr name="switchTextOn" format="string" />
7229        <!-- The text used on the switch itself when in the "off" state.
7230             This should be a very SHORT string, as it appears in a small space. -->
7231        <attr name="switchTextOff" format="string" />
7232        <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
7233             dependents will be disabled when this is unchecked, so the value of this preference is false. -->
7234        <attr name="disableDependentsState" />
7235    </declare-styleable>
7236
7237    <declare-styleable name="SeekBarPreference">
7238        <attr name="layout" />
7239    </declare-styleable>
7240
7241    <!-- Base attributes available to PreferenceFragment. -->
7242    <declare-styleable name="PreferenceFragment">
7243        <!-- The layout for the PreferenceFragment. This should rarely need to be changed -->
7244        <attr name="layout" />
7245    </declare-styleable>
7246
7247    <!-- Use <code>tts-engine</code> as the root tag of the XML resource that
7248         describes a text to speech engine implemented as a subclass of
7249         {@link android.speech.tts.TextToSpeechService}.
7250
7251         The XML resource must be referenced from its
7252         {@link android.speech.tts.TextToSpeech.Engine#SERVICE_META_DATA} meta-data
7253         entry. -->
7254    <declare-styleable name="TextToSpeechEngine">
7255        <attr name="settingsActivity" />
7256    </declare-styleable>
7257
7258    <!-- Use <code>keyboard-layouts</code> as the root tag of the XML resource that
7259         describes a collection of keyboard layouts provided by an application.
7260         Each keyboard layout is declared by a <code>keyboard-layout</code> tag
7261         with these attributes.
7262
7263         The XML resource that contains the keyboard layouts must be referenced from its
7264         {@link android.hardware.input.InputManager#META_DATA_KEYBOARD_LAYOUTS}
7265         meta-data entry used with broadcast receivers for
7266         {@link android.hardware.input.InputManager#ACTION_QUERY_KEYBOARD_LAYOUTS}. -->
7267    <declare-styleable name="KeyboardLayout">
7268        <!-- The name of the keyboard layout, must be unique in the receiver. -->
7269        <attr name="name" />
7270        <!-- The display label of the keyboard layout. -->
7271        <attr name="label" />
7272        <!-- The key character map file resource. -->
7273        <attr name="keyboardLayout" format="reference" />
7274    </declare-styleable>
7275
7276    <declare-styleable name="MediaRouteButton">
7277        <!-- This drawable is a state list where the "activated" state
7278             indicates active media routing. Non-activated indicates
7279             that media is playing to the local device only.
7280             @hide -->
7281        <attr name="externalRouteEnabledDrawable" format="reference" />
7282
7283        <!-- The types of media routes the button and its resulting
7284             chooser will filter by. -->
7285        <attr name="mediaRouteTypes" format="integer">
7286            <!-- Allow selection of live audio routes. -->
7287            <enum name="liveAudio" value="0x1" />
7288            <!-- Allow selection of user (app-specified) routes. -->
7289            <enum name="user" value="0x800000" />
7290        </attr>
7291
7292        <attr name="minWidth" />
7293        <attr name="minHeight" />
7294    </declare-styleable>
7295
7296    <!-- PagedView specific attributes. These attributes are used to customize
7297         a PagedView view in XML files. -->
7298    <declare-styleable name="PagedView">
7299        <!-- The space between adjacent pages of the PagedView. -->
7300        <attr name="pageSpacing" format="dimension" />
7301        <!-- The padding for the scroll indicator area -->
7302        <attr name="scrollIndicatorPaddingLeft" format="dimension" />
7303        <attr name="scrollIndicatorPaddingRight" format="dimension" />
7304    </declare-styleable>
7305
7306    <declare-styleable name="KeyguardGlowStripView">
7307        <attr name="dotSize" format="dimension" />
7308        <attr name="numDots" format="integer" />
7309        <attr name="glowDot" format="reference" />
7310        <attr name="leftToRight" format="boolean" />
7311    </declare-styleable>
7312
7313    <!-- Some child types have special behavior. -->
7314    <attr name="layout_childType">
7315        <!-- No special behavior. Layout will proceed as normal. -->
7316        <enum name="none" value="0" />
7317        <!-- Widget container.
7318             This will be resized in response to certain events. -->
7319        <enum name="widget" value="1" />
7320        <!-- Security challenge container.
7321             This will be dismissed/shown in response to certain events,
7322             possibly obscuring widget elements. -->
7323        <enum name="challenge" value="2" />
7324        <!-- User switcher.
7325             This will consume space from the total layout area. -->
7326        <enum name="userSwitcher" value="3" />
7327        <!-- Scrim. This will block access to child views that
7328             come before it in the child list in bouncer mode. -->
7329        <enum name="scrim" value="4" />
7330        <!-- The home for widgets. All widgets will be descendents of this. -->
7331        <enum name="widgets" value="5" />
7332        <!-- This is a handle that is used for expanding the
7333             security challenge container when it is collapsed. -->
7334        <enum name="expandChallengeHandle" value="6" />
7335        <!-- Delete drop target.  This will be the drop target to delete pages. -->
7336        <enum name="pageDeleteDropTarget" value="7" />
7337    </attr>
7338
7339    <declare-styleable name="SlidingChallengeLayout_Layout">
7340        <attr name="layout_childType" />
7341        <attr name="layout_maxHeight" />
7342    </declare-styleable>
7343
7344    <!-- Attributes that can be used with <code>&lt;FragmentBreadCrumbs&gt;</code>
7345    tags. -->
7346    <declare-styleable name="FragmentBreadCrumbs">
7347        <attr name="gravity" />
7348    </declare-styleable>
7349
7350    <declare-styleable name="MultiPaneChallengeLayout">
7351        <!-- Influences how layout_centerWithinArea behaves -->
7352        <attr name="orientation" />
7353    </declare-styleable>
7354
7355    <declare-styleable name="MultiPaneChallengeLayout_Layout">
7356        <!-- Percentage of the screen this child should consume or center within.
7357             If 0/default, the view will be measured by standard rules
7358             as if this were a FrameLayout. -->
7359        <attr name="layout_centerWithinArea" format="float" />
7360        <attr name="layout_childType" />
7361        <attr name="layout_gravity" />
7362        <attr name="layout_maxWidth" format="dimension" />
7363        <attr name="layout_maxHeight" />
7364    </declare-styleable>
7365
7366    <declare-styleable name="KeyguardSecurityViewFlipper_Layout">
7367        <attr name="layout_maxWidth" />
7368        <attr name="layout_maxHeight" />
7369    </declare-styleable>
7370
7371    <declare-styleable name="Toolbar">
7372        <attr name="titleTextAppearance" format="reference" />
7373        <attr name="subtitleTextAppearance" format="reference" />
7374        <attr name="title" />
7375        <attr name="subtitle" />
7376        <attr name="gravity" />
7377        <attr name="titleMargins" format="dimension" />
7378        <attr name="titleMarginStart" format="dimension" />
7379        <attr name="titleMarginEnd" format="dimension" />
7380        <attr name="titleMarginTop" format="dimension" />
7381        <attr name="titleMarginBottom" format="dimension" />
7382        <attr name="contentInsetStart" />
7383        <attr name="contentInsetEnd" />
7384        <attr name="contentInsetLeft" />
7385        <attr name="contentInsetRight" />
7386        <attr name="maxButtonHeight" format="dimension" />
7387        <attr name="navigationButtonStyle" format="reference" />
7388        <attr name="buttonGravity">
7389            <!-- Push object to the top of its container, not changing its size. -->
7390            <flag name="top" value="0x30" />
7391            <!-- Push object to the bottom of its container, not changing its size. -->
7392            <flag name="bottom" value="0x50" />
7393        </attr>
7394        <attr name="collapseIcon" format="reference" />
7395        <!-- Reference to a theme that should be used to inflate popups
7396             shown by widgets in the toolbar. -->
7397        <attr name="popupTheme" format="reference" />
7398        <!-- Icon drawable to use for the navigation button located at
7399             the start of the toolbar. -->
7400        <attr name="navigationIcon" format="reference" />
7401        <!-- Text to set as the content description for the navigation button
7402             located at the start of the toolbar. -->
7403        <attr name="navigationContentDescription" format="string" />
7404    </declare-styleable>
7405
7406    <declare-styleable name="Toolbar_LayoutParams">
7407        <attr name="layout_gravity" />
7408    </declare-styleable>
7409
7410    <declare-styleable name="ActionBar_LayoutParams">
7411        <attr name="layout_gravity" />
7412    </declare-styleable>
7413
7414    <!-- Used as a filter array on the theme to pull out only the EdgeEffect-relevant bits. -->
7415    <declare-styleable name="EdgeEffect">
7416        <attr name="colorPrimary" />
7417    </declare-styleable>
7418
7419    <!-- Use <code>tv-input</code> as the root tag of the XML resource that describes a
7420         {@link android.media.tv.TvInputService}, which is referenced from its
7421         {@link android.media.tv.TvInputService#SERVICE_META_DATA} meta-data entry.
7422         Described here are the attributes that can be included in that tag. -->
7423    <declare-styleable name="TvInputService">
7424        <!-- Component name of an activity for setup of this service.
7425             The setup includes scanning channels and registering EPG data. -->
7426        <attr name="setupActivity" format="string" />
7427        <!-- Component name of an activity that allows the user to modify
7428             the settings for this service. -->
7429        <attr name="settingsActivity" />
7430    </declare-styleable>
7431
7432    <!-- @removed -->
7433    <attr name="__removed1" format="reference" />
7434
7435    <!-- Attributes that can be used with <code>rating-system-definition</code> tags inside of the
7436         XML resource that describes TV content rating of a {@link android.media.tv.TvInputService},
7437         which is referenced from its
7438         {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. -->
7439    <declare-styleable name="RatingSystemDefinition">
7440        <!-- The unique name of the content rating system. -->
7441        <attr name="name" />
7442        <!-- The title of the content rating system which is shown to the user. -->
7443        <attr name="title" />
7444        <!-- The short description of the content rating system. -->
7445        <attr name="description" />
7446        <!-- The country code associated with the content rating system, which consists of two
7447             uppercase letters that conform to the ISO 3166 standard. -->
7448        <attr name="country" format="string" />
7449    </declare-styleable>
7450
7451    <!-- Attributes that can be used with <code>rating-definition</code> tags inside of the XML
7452         resource that describes TV content rating of a {@link android.media.tv.TvInputService},
7453         which is referenced from its
7454         {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. -->
7455    <declare-styleable name="RatingDefinition">
7456        <!-- The unique name of the content rating. -->
7457        <attr name="name" />
7458        <!-- The title of the content rating which is shown to the user. -->
7459        <attr name="title" />
7460        <!-- The short description of the content rating. -->
7461        <attr name="description" />
7462        <!-- The age associated with the content rating. The content of this rating is suitable for
7463             people of this age or above. -->
7464        <attr name="contentAgeHint" format="integer" />
7465    </declare-styleable>
7466
7467    <declare-styleable name="ResolverDrawerLayout">
7468        <attr name="maxWidth" />
7469        <attr name="maxCollapsedHeight" format="dimension" />
7470        <attr name="maxCollapsedHeightSmall" format="dimension" />
7471    </declare-styleable>
7472
7473    <declare-styleable name="ResolverDrawerLayout_LayoutParams">
7474        <attr name="layout_alwaysShow" format="boolean" />
7475        <attr name="layout_ignoreOffset" format="boolean" />
7476        <attr name="layout_gravity" />
7477    </declare-styleable>
7478
7479    <!-- @hide -->
7480    <declare-styleable name="Lighting">
7481        <attr name="lightY" />
7482        <attr name="lightZ" />
7483        <attr name="lightRadius" />
7484        <attr name="ambientShadowAlpha" />
7485        <attr name="spotShadowAlpha" />
7486    </declare-styleable>
7487
7488    <declare-styleable name="RestrictionEntry">
7489        <attr name="key" />
7490        <attr name="restrictionType">
7491            <enum name="hidden" value="0" />
7492            <enum name="bool" value="1" />
7493            <enum name="choice" value="2" />
7494            <enum name="multi-select" value="4" />
7495            <enum name="integer" value="5" />
7496            <enum name="string" value="6" />
7497        </attr>
7498        <attr name="title" />
7499        <attr name="description" />
7500        <attr name="defaultValue" />
7501        <attr name="entries" />
7502        <attr name="entryValues" />
7503    </declare-styleable>
7504</resources>
7505