attrs.xml revision 3a9321d407f71fa6c2a49db63e6eb30003c8ef4c
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2006 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<!-- Formatting note: terminate all comments with a period, to avoid breaking
18     the documentation output. To suppress comment lines from the documentation
19     output, insert an eat-comment element after the comment lines.
20-->
21
22<resources>
23    <!-- These are the standard attributes that make up a complete theme. -->
24    <declare-styleable name="Theme">
25        <!-- ============== -->
26        <!-- Generic styles -->
27        <!-- ============== -->
28        <eat-comment />
29
30        <!-- Default color of foreground imagery. -->
31        <attr name="colorForeground" format="color" />
32        <!-- Default color of foreground imagery on an inverted background. -->
33        <attr name="colorForegroundInverse" format="color" />
34        <!-- Color that matches (as closely as possible) the window background. -->
35        <attr name="colorBackground" format="color" />
36        <!-- This is a hint for a solid color that can be used for caching
37             rendered views.  This should be the color of the background when
38             there is a solid background color; it should be null when the
39             background is a texture or translucent.  When a device is able
40             to use accelerated drawing (thus setting state_accelerated), the
41             cache hint is ignored and always assumed to be transparent. -->
42        <attr name="colorBackgroundCacheHint" format="color" />
43
44        <!-- Default highlight color for items that are pressed. -->
45        <attr name="colorPressedHighlight" format="color" />
46        <!-- Default highlight color for items that are long-pressed. -->
47        <attr name="colorLongPressedHighlight" format="color" />
48        <!-- Default highlight color for items that are
49             focused. (Focused meaning cursor-based selection.) -->
50        <attr name="colorFocusedHighlight" format="color" />
51        <!-- Default highlight color for items that are
52             activated. (Activated meaning persistent selection.) -->
53        <attr name="colorActivatedHighlight" format="color" />
54        <!-- Default highlight color for items in multiple selection
55             mode. -->
56        <attr name="colorMultiSelectHighlight" format="color" />
57
58        <!-- Default disabled alpha for widgets that set enabled/disabled alpha programmatically. -->
59        <attr name="disabledAlpha" format="float" />
60        <!-- Default background dim amount when a menu, dialog, or something similar pops up. -->
61        <attr name="backgroundDimAmount" format="float" />
62        <!-- Control whether dimming behind the window is enabled.  The default
63             theme does not set this value, meaning it is based on whether the
64             window is floating. -->
65        <attr name="backgroundDimEnabled" format="boolean" />
66
67        <!-- =========== -->
68        <!-- Text styles -->
69        <!-- =========== -->
70        <eat-comment />
71
72        <!-- Default appearance of text: color, typeface, size, and style. -->
73        <attr name="textAppearance" format="reference" />
74        <!-- Default appearance of text against an inverted background:
75             color, typeface, size, and style. -->
76        <attr name="textAppearanceInverse" format="reference" />
77
78        <!-- The most prominent text color.  -->
79        <attr name="textColorPrimary" format="reference|color" />
80        <!-- Secondary text color. -->
81        <attr name="textColorSecondary" format="reference|color" />
82        <!-- Tertiary text color. -->
83        <attr name="textColorTertiary" format="reference|color" />
84
85        <!-- Primary inverse text color, useful for inverted backgrounds. -->
86        <attr name="textColorPrimaryInverse" format="reference|color" />
87        <!-- Secondary inverse text color, useful for inverted backgrounds. -->
88        <attr name="textColorSecondaryInverse" format="reference|color" />
89        <!-- Tertiary inverse text color, useful for inverted backgrounds. -->
90        <attr name="textColorTertiaryInverse" format="reference|color" />
91
92        <!-- Inverse hint text color. -->
93        <attr name="textColorHintInverse" format="reference|color" />
94
95        <!-- Bright text color. Only differentiates based on the disabled state. -->
96        <attr name="textColorPrimaryDisableOnly" format="reference|color" />
97
98        <!-- Bright inverse text color. Only differentiates based on the disabled state. -->
99        <attr name="textColorPrimaryInverseDisableOnly" format="reference|color" />
100
101        <!-- Bright text color. This does not differentiate the disabled state. As an example,
102             buttons use this since they display the disabled state via the background and not the
103             foreground text color. -->
104        <attr name="textColorPrimaryNoDisable" format="reference|color" />
105        <!-- Dim text color. This does not differentiate the disabled state. -->
106        <attr name="textColorSecondaryNoDisable" format="reference|color" />
107
108        <!-- Bright inverse text color. This does not differentiate the disabled state. -->
109        <attr name="textColorPrimaryInverseNoDisable" format="reference|color" />
110        <!-- Dim inverse text color. This does not differentiate the disabled state. -->
111        <attr name="textColorSecondaryInverseNoDisable" format="reference|color" />
112
113        <!-- Bright text color for use over activated backgrounds. -->
114        <attr name="textColorPrimaryActivated" format="reference|color" />
115        <!-- Dim text color for use over activated backgrounds. -->
116        <attr name="textColorSecondaryActivated" format="reference|color" />
117
118        <!-- Text color for urls in search suggestions, used by things like global search and the browser. @hide -->
119        <attr name="textColorSearchUrl" format="reference|color" />
120
121        <!-- Color of highlighted text, when used in a light theme. -->
122        <attr name="textColorHighlightInverse" format="reference|color" />
123        <!-- Color of link text (URLs), when used in a light theme. -->
124        <attr name="textColorLinkInverse" format="reference|color" />
125
126        <!-- Color of list item text in alert dialogs. -->
127        <attr name="textColorAlertDialogListItem" format="reference|color" />
128
129        <!-- Search widget more corpus result item background. -->
130        <attr name="searchWidgetCorpusItemBackground" format="reference|color" />
131
132        <!-- Text color, typeface, size, and style for "large" text. Defaults to primary text color. -->
133        <attr name="textAppearanceLarge" format="reference" />
134        <!-- Text color, typeface, size, and style for "medium" text. Defaults to primary text color. -->
135        <attr name="textAppearanceMedium" format="reference" />
136        <!-- Text color, typeface, size, and style for "small" text. Defaults to secondary text color. -->
137        <attr name="textAppearanceSmall" format="reference" />
138
139        <!-- Text color, typeface, size, and style for "large" inverse text. Defaults to primary inverse text color. -->
140        <attr name="textAppearanceLargeInverse" format="reference" />
141        <!-- Text color, typeface, size, and style for "medium" inverse text. Defaults to primary inverse text color. -->
142        <attr name="textAppearanceMediumInverse" format="reference" />
143        <!-- Text color, typeface, size, and style for "small" inverse text. Defaults to secondary inverse text color. -->
144        <attr name="textAppearanceSmallInverse" format="reference" />
145
146        <!-- Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color. -->
147        <attr name="textAppearanceSearchResultTitle" format="reference" />
148        <!-- Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color. -->
149        <attr name="textAppearanceSearchResultSubtitle" format="reference" />
150
151        <!-- Text color, typeface, size, and style for the text inside of a button. -->
152        <attr name="textAppearanceButton" format="reference" />
153
154        <!-- Text color, typeface, size, and style for the text inside of a popup menu. -->
155        <attr name="textAppearanceLargePopupMenu" format="reference" />
156
157        <!-- Text color, typeface, size, and style for small text inside of a popup menu. -->
158        <attr name="textAppearanceSmallPopupMenu" format="reference" />
159
160        <!-- The underline color and thickness for easy correct suggestion -->
161        <attr name="textAppearanceEasyCorrectSuggestion" format="reference" />
162
163        <!-- The underline color and thickness for misspelled suggestion -->
164        <attr name="textAppearanceMisspelledSuggestion" format="reference" />
165
166        <!-- The underline color and thickness for auto correction suggestion -->
167        <attr name="textAppearanceAutoCorrectionSuggestion" format="reference" />
168
169        <!--  The underline color -->
170        <attr name="textUnderlineColor" format="reference|color" />
171        <!--  The underline thickness -->
172        <attr name="textUnderlineThickness" format="reference|dimension" />
173
174        <!-- EditText text foreground color. -->
175        <attr name="editTextColor" format="reference|color" />
176        <!-- EditText background drawable. -->
177        <attr name="editTextBackground" format="reference" />
178
179        <!-- Popup text displayed in TextView when setError is used. -->
180        <attr name="errorMessageBackground" format="reference" />
181        <!-- Background used instead of errorMessageBackground when the popup has to be above. -->
182        <attr name="errorMessageAboveBackground" format="reference" />
183
184        <!-- A styled string, specifying the style to be used for showing
185             inline candidate text when composing with an input method.  The
186             text itself will be ignored, but the style spans will be applied
187             to the candidate text as it is edited. -->
188        <attr name="candidatesTextStyleSpans" format="reference|string" />
189
190        <!-- Drawable to use for check marks. -->
191        <attr name="textCheckMark" format="reference" />
192        <attr name="textCheckMarkInverse" format="reference" />
193
194        <!-- Drawable to use for multiple choice indicators. -->
195        <attr name="listChoiceIndicatorMultiple" format="reference" />
196
197        <!-- Drawable to use for single choice indicators. -->
198        <attr name="listChoiceIndicatorSingle" format="reference" />
199
200        <!-- Drawable used as a background for selected list items. -->
201        <attr name="listChoiceBackgroundIndicator" format="reference" />
202
203        <!-- Drawable used as a background for activated items. -->
204        <attr name="activatedBackgroundIndicator" format="reference" />
205
206        <!-- ============= -->
207        <!-- Button styles -->
208        <!-- ============= -->
209        <eat-comment />
210
211        <!-- Normal Button style. -->
212        <attr name="buttonStyle" format="reference" />
213
214        <!-- Small Button style. -->
215        <attr name="buttonStyleSmall" format="reference" />
216
217        <!-- Button style to inset into an EditText. -->
218        <attr name="buttonStyleInset" format="reference" />
219
220        <!-- ToggleButton style. -->
221        <attr name="buttonStyleToggle" format="reference" />
222
223        <!-- ============== -->
224        <!-- Gallery styles -->
225        <!-- ============== -->
226        <eat-comment />
227
228        <!-- The preferred background for gallery items. This should be set
229             as the background of any Views you provide from the Adapter. -->
230        <attr name="galleryItemBackground" format="reference" />
231
232        <!-- =========== -->
233        <!-- List styles -->
234        <!-- =========== -->
235        <eat-comment />
236
237        <!-- The preferred list item height. -->
238        <attr name="listPreferredItemHeight" format="dimension" />
239        <!-- A smaller, sleeker list item height. -->
240        <attr name="listPreferredItemHeightSmall" format="dimension" />
241        <!-- A larger, more robust list item height. -->
242        <attr name="listPreferredItemHeightLarge" format="dimension" />
243        <!-- The list item height for search results. @hide -->
244        <attr name="searchResultListItemHeight" format="dimension" />
245
246        <!-- The preferred padding along the left edge of list items. -->
247        <attr name="listPreferredItemPaddingLeft" format="dimension" />
248        <!-- The preferred padding along the right edge of list items. -->
249        <attr name="listPreferredItemPaddingRight" format="dimension" />
250
251        <!-- The preferred TextAppearance for the primary text of list items. -->
252        <attr name="textAppearanceListItem" format="reference" />
253        <!-- The preferred TextAppearance for the secondary text of list items. -->
254        <attr name="textAppearanceListItemSecondary" format="reference" />
255        <!-- The preferred TextAppearance for the primary text of small list items. -->
256        <attr name="textAppearanceListItemSmall" format="reference" />
257
258        <!-- The drawable for the list divider. -->
259        <attr name="listDivider" format="reference" />
260        <!-- The list divider used in alert dialogs. -->
261        <attr name="listDividerAlertDialog" format="reference" />
262        <!-- TextView style for list separators. -->
263        <attr name="listSeparatorTextViewStyle" format="reference" />
264        <!-- The preferred left padding for an expandable list item (for child-specific layouts,
265             use expandableListPreferredChildPaddingLeft). This takes into account
266             the indicator that will be shown to next to the item. -->
267        <attr name="expandableListPreferredItemPaddingLeft" format="dimension" />
268        <!-- The preferred left padding for an expandable list item that is a child.
269             If this is not provided, it defaults to the expandableListPreferredItemPaddingLeft. -->
270        <attr name="expandableListPreferredChildPaddingLeft" format="dimension" />
271        <!-- The preferred left bound for an expandable list item's indicator. For a child-specific
272             indicator, use expandableListPreferredChildIndicatorLeft. -->
273        <attr name="expandableListPreferredItemIndicatorLeft" format="dimension" />
274        <!-- The preferred right bound for an expandable list item's indicator. For a child-specific
275             indicator, use expandableListPreferredChildIndicatorRight. -->
276        <attr name="expandableListPreferredItemIndicatorRight" format="dimension" />
277        <!-- The preferred left bound for an expandable list child's indicator. -->
278        <attr name="expandableListPreferredChildIndicatorLeft" format="dimension" />
279        <!-- The preferred right bound for an expandable list child's indicator. -->
280        <attr name="expandableListPreferredChildIndicatorRight" format="dimension" />
281
282        <!-- The preferred item height for dropdown lists. -->
283        <attr name="dropdownListPreferredItemHeight" format="dimension" />
284
285        <!-- The preferred padding along the start edge of list items. -->
286        <attr name="listPreferredItemPaddingStart" format="dimension" />
287        <!-- The preferred padding along the end edge of list items. -->
288        <attr name="listPreferredItemPaddingEnd" format="dimension" />
289
290        <!-- ============= -->
291        <!-- Window styles -->
292        <!-- ============= -->
293        <eat-comment />
294
295        <!-- Drawable to use as the overall window background.  As of
296             {@link android.os.Build.VERSION_CODES#HONEYCOMB}, this may
297             be a selector that uses state_accelerated to pick a non-solid
298             color when running on devices that can draw such a bitmap
299             with complex compositing on top at 60fps.
300
301             <p>There are a few special considerations to use when setting this
302             drawable:
303             <ul>
304             <li> This information will be used to infer the pixel format
305                  for your window's surface.  If the drawable has any
306                  non-opaque pixels, your window will be translucent
307                  (32 bpp).
308             <li> If you want to draw the entire background
309                  yourself, you should set this drawable to some solid
310                  color that closely matches that background (so the
311                  system's preview of your window will match), and
312                  then in code manually set your window's background to
313                  null so it will not be drawn.
314             </ul> -->
315        <attr name="windowBackground" format="reference" />
316        <!-- Drawable to draw selectively within the inset areas when the windowBackground
317             has been set to null. This protects against seeing visual garbage in the
318             surface when the app has not drawn any content into this area. -->
319        <attr name="windowBackgroundFallback" format="reference" />
320        <!-- Drawable to use as a frame around the window. -->
321        <attr name="windowFrame" format="reference" />
322        <!-- Flag indicating whether there should be no title on this window. -->
323        <attr name="windowNoTitle" format="boolean" />
324        <!-- Flag indicating whether this window should fill the entire screen.  Corresponds
325             to {@link android.view.WindowManager.LayoutParams#FLAG_FULLSCREEN}. -->
326        <attr name="windowFullscreen" format="boolean" />
327        <!-- Flag indicating whether this window should extend into overscan region.  Corresponds
328             to {@link android.view.WindowManager.LayoutParams#FLAG_LAYOUT_IN_OVERSCAN}. -->
329        <attr name="windowOverscan" format="boolean" />
330        <!-- Flag indicating whether this is a floating window. -->
331        <attr name="windowIsFloating" format="boolean" />
332        <!-- Flag indicating whether this is a translucent window. -->
333        <attr name="windowIsTranslucent" format="boolean" />
334        <!-- Flag indicating that this window's background should be the
335             user's current wallpaper.  Corresponds
336             to {@link android.view.WindowManager.LayoutParams#FLAG_SHOW_WALLPAPER}. -->
337        <attr name="windowShowWallpaper" format="boolean" />
338        <!-- This Drawable is overlaid over the foreground of the Window's content area, usually
339             to place a shadow below the title.  -->
340        <attr name="windowContentOverlay" format="reference" />
341        <!-- The style resource to use for a window's title bar height. -->
342        <attr name="windowTitleSize" format="dimension" />
343        <!-- The style resource to use for a window's title text. -->
344        <attr name="windowTitleStyle" format="reference" />
345        <!-- The style resource to use for a window's title area. -->
346        <attr name="windowTitleBackgroundStyle" format="reference" />
347
348        <!-- Reference to a style resource holding
349             the set of window animations to use, which can be
350             any of the attributes defined by
351             {@link android.R.styleable#WindowAnimation}. -->
352        <attr name="windowAnimationStyle" format="reference" />
353
354        <!-- Flag indicating whether this window should have an Action Bar
355             in place of the usual title bar. -->
356        <attr name="windowActionBar" format="boolean" />
357
358        <!-- Flag indicating whether this window's Action Bar should overlay
359             application content. Does nothing if the window would not
360             have an Action Bar. -->
361        <attr name="windowActionBarOverlay" format="boolean" />
362
363        <!-- Flag indicating whether action modes should overlay window content
364             when there is not reserved space for their UI (such as an Action Bar). -->
365        <attr name="windowActionModeOverlay" format="boolean" />
366
367        <!-- Defines the default soft input state that this window would
368             like when it is displayed.  Corresponds
369             to {@link android.view.WindowManager.LayoutParams#softInputMode}. -->
370        <attr name="windowSoftInputMode">
371            <!-- Not specified, use what the system thinks is best.  This
372                 is the default. -->
373            <flag name="stateUnspecified" value="0" />
374            <!-- Leave the soft input window as-is, in whatever state it
375                 last was. -->
376            <flag name="stateUnchanged" value="1" />
377            <!-- Make the soft input area hidden when normally appropriate
378                 (when the user is navigating forward to your window). -->
379            <flag name="stateHidden" value="2" />
380            <!-- Always make the soft input area hidden when this window
381                 has input focus. -->
382            <flag name="stateAlwaysHidden" value="3" />
383            <!-- Make the soft input area visible when normally appropriate
384                 (when the user is navigating forward to your window). -->
385            <flag name="stateVisible" value="4" />
386            <!-- Always make the soft input area visible when this window
387                 has input focus. -->
388            <flag name="stateAlwaysVisible" value="5" />
389
390            <!-- The window resize/pan adjustment has not been specified,
391                 the system will automatically select between resize and pan
392                 modes, depending
393                 on whether the content of the window has any layout views
394                 that can scroll their contents.  If there is such a view,
395                 then the window will be resized, with the assumption being
396                 that the resizeable area can be reduced to make room for
397                 the input UI. -->
398            <flag name="adjustUnspecified" value="0x00" />
399            <!-- Always resize the window: the content area of the window is
400                 reduced to make room for the soft input area. -->
401            <flag name="adjustResize" value="0x10" />
402            <!-- Don't resize the window to make room for the soft input area;
403                 instead pan the contents of the window as focus moves inside
404                 of it so that the user can see what they are typing.  This is
405                 generally less desireable than panning because the user may
406                 need to close the input area to get at and interact with
407                 parts of the window. -->
408            <flag name="adjustPan" value="0x20" />
409            <!-- Don't resize <em>or</em> pan the window to make room for the
410                 soft input area; the window is never adjusted for it. -->
411            <flag name="adjustNothing" value="0x30" />
412        </attr>
413
414        <!-- Flag allowing you to disable the preview animation for a window.
415             The default value is false; if set to true, the system can never
416             use the window's theme to show a preview of it before your
417             actual instance is shown to the user. -->
418        <attr name="windowDisablePreview" format="boolean" />
419
420        <!-- Flag indicating that this window should not be displayed at all.
421             The default value is false; if set to true, and this window is
422             the main window of an Activity, then it will never actually
423             be added to the window manager.  This means that your activity
424             must immediately quit without waiting for user interaction,
425             because there will be no such interaction coming. -->
426        <attr name="windowNoDisplay" format="boolean" />
427
428        <!-- Flag indicating that this window should allow touches to be split
429             across other windows that also support split touch.
430             The default value is true for applications with a targetSdkVersion
431             of Honeycomb or newer; false otherwise.
432             When this flag is false, the first pointer that goes down determines
433             the window to which all subsequent touches go until all pointers go up.
434             When this flag is true, each pointer (not necessarily the first) that
435             goes down determines the window to which all subsequent touches of that
436             pointer will go until that pointers go up thereby enabling touches
437             with multiple pointers to be split across multiple windows. -->
438        <attr name="windowEnableSplitTouch" format="boolean" />
439
440        <!-- Control whether a container should automatically close itself if
441             the user touches outside of it.  This only applies to activities
442             and dialogs.
443
444             <p>Note: this attribute will only be respected for applications
445             that are targeting {@link android.os.Build.VERSION_CODES#HONEYCOMB}
446             or later. -->
447        <attr name="windowCloseOnTouchOutside" format="boolean" />
448
449        <!-- Flag indicating whether this window requests a translucent status bar.  Corresponds
450             to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_STATUS}. -->
451        <attr name="windowTranslucentStatus" format="boolean" />
452
453        <!-- Flag indicating whether this window requests a translucent navigation bar.  Corresponds
454             to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_NAVIGATION}. -->
455        <attr name="windowTranslucentNavigation" format="boolean" />
456
457        <!-- Flag to indicate that a window can be swiped away to be dismissed.
458             Corresponds to {@link android.view.Window#FEATURE_SWIPE_TO_DISMISS} -->
459        <attr name="windowSwipeToDismiss" format="boolean" />
460
461        <!-- Flag indicating whether this window requests that content changes be performed
462             as scene changes with transitions. Corresponds to
463             {@link android.view.Window#FEATURE_CONTENT_TRANSITIONS}. -->
464        <attr name="windowContentTransitions" format="boolean" />
465
466        <!-- Reference to a TransitionManager XML resource defining the desired
467             transitions between different window content. -->
468        <attr name="windowContentTransitionManager" format="reference" />
469
470        <!-- Flag indicating whether this window allows Activity Transitions.
471             Corresponds to {@link android.view.Window#FEATURE_ACTIVITY_TRANSITIONS}. -->
472        <attr name="windowActivityTransitions" format="boolean" />
473
474        <!-- Reference to a Transition XML resource defining the desired Transition
475             used to move Views into the initial Window's content Scene. Corresponds to
476             {@link android.view.Window#setEnterTransition(android.transition.Transition)}. -->
477        <attr name="windowEnterTransition" format="reference"/>
478
479        <!-- Reference to a Transition XML resource defining the desired Transition
480             used to move Views out of the scene when the Window is
481             preparing to close. Corresponds to
482             {@link android.view.Window#setReturnTransition(android.transition.Transition)}. -->
483        <attr name="windowReturnTransition" format="reference"/>
484
485        <!-- Reference to a Transition XML resource defining the desired Transition
486             used to move Views out of the Window's content Scene when launching a new Activity.
487             Corresponds to
488             {@link android.view.Window#setExitTransition(android.transition.Transition)}. -->
489        <attr name="windowExitTransition" format="reference"/>
490
491        <!-- Reference to a Transition XML resource defining the desired Transition
492             used to move Views in to the scene when returning from a previously-started Activity.
493             Corresponds to
494             {@link android.view.Window#setReenterTransition(android.transition.Transition)}. -->
495        <attr name="windowReenterTransition" format="reference"/>
496
497        <!-- Reference to a Transition XML resource defining the desired Transition
498             used to move shared elements transferred into the Window's initial content Scene.
499             Corresponds to {@link android.view.Window#setSharedElementEnterTransition(
500             android.transition.Transition)}. -->
501        <attr name="windowSharedElementEnterTransition" format="reference"/>
502
503        <!-- Reference to a Transition XML resource defining the desired Transition
504             used to move shared elements transferred back to a calling Activity.
505             Corresponds to {@link android.view.Window#setSharedElementReturnTransition(
506             android.transition.Transition)}. -->
507        <attr name="windowSharedElementReturnTransition" format="reference"/>
508
509        <!-- Reference to a Transition XML resource defining the desired Transition
510             used when starting a new Activity to move shared elements prior to transferring
511             to the called Activity.
512             Corresponds to {@link android.view.Window#setSharedElementExitTransition(
513             android.transition.Transition)}. -->
514        <attr name="windowSharedElementExitTransition" format="reference"/>
515
516        <!-- Reference to a Transition XML resource defining the desired Transition
517             used for shared elements transferred back to a calling Activity.
518             Corresponds to {@link android.view.Window#setSharedElementReenterTransition(
519             android.transition.Transition)}. -->
520        <attr name="windowSharedElementReenterTransition" format="reference"/>
521
522        <!-- Flag indicating whether this Window's transition should overlap with
523             the exiting transition of the calling Activity. Corresponds to
524             {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. -->
525        <attr name="windowAllowEnterTransitionOverlap" format="boolean"/>
526
527        <!-- Flag indicating whether this Window's transition should overlap with
528             the exiting transition of the called Activity when the called Activity
529             finishes. Corresponds to
530             {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. -->
531        <attr name="windowAllowReturnTransitionOverlap" format="boolean"/>
532
533        <!-- Indicates whether or not shared elements should use an overlay
534             during transitions. The default value is true. -->
535        <attr name="windowSharedElementsUseOverlay" format="boolean"/>
536
537        <!-- Internal layout used internally for window decor -->
538        <attr name="windowActionBarFullscreenDecorLayout" format="reference" />
539
540        <!-- The duration, in milliseconds, of the window background fade duration
541             when transitioning into or away from an Activity when called with an
542             Activity Transition. Corresponds to
543             {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. -->
544        <attr name="windowTransitionBackgroundFadeDuration" format="integer"/>
545
546        <!-- ============ -->
547        <!-- Alert Dialog styles -->
548        <!-- ============ -->
549        <eat-comment />
550        <attr name="alertDialogStyle" format="reference" />
551        <attr name="alertDialogButtonGroupStyle" format="reference" />
552        <attr name="alertDialogCenterButtons" format="boolean" />
553
554        <!-- ============== -->
555        <!-- Image elements -->
556        <!-- ============== -->
557        <eat-comment />
558
559        <!-- Background that can be used behind parts of a UI that provide
560             details on data the user is selecting.  For example, this is
561             the background element of PreferenceActivity's embedded
562             preference fragment. -->
563        <attr name="detailsElementBackground" format="reference" />
564
565        <!-- ============ -->
566        <!-- Panel styles -->
567        <!-- ============ -->
568        <eat-comment />
569
570        <!-- The background of a panel when it is inset from the left and right edges of the screen. -->
571        <attr name="panelBackground" format="reference|color" />
572        <!-- The background of a panel when it extends to the left and right edges of the screen. -->
573        <attr name="panelFullBackground" format="reference|color" />
574        <!-- Default color of foreground panel imagery. -->
575        <attr name="panelColorForeground" format="reference|color" />
576        <!-- Color that matches (as closely as possible) the panel background. -->
577        <attr name="panelColorBackground" format="reference|color" />
578        <!-- Default appearance of panel text. -->
579        <attr name="panelTextAppearance" format="reference" />
580
581        <attr name="panelMenuIsCompact" format="boolean" />
582        <attr name="panelMenuListWidth" format="dimension" />
583        <attr name="panelMenuListTheme" format="reference" />
584
585        <!-- =================== -->
586        <!-- Other widget styles -->
587        <!-- =================== -->
588        <eat-comment />
589
590        <!-- Default AbsListView style. -->
591        <attr name="absListViewStyle" format="reference" />
592        <!-- Default AutoCompleteTextView style. -->
593        <attr name="autoCompleteTextViewStyle" format="reference" />
594        <!-- Default Checkbox style. -->
595        <attr name="checkboxStyle" format="reference" />
596        <!-- Default CheckedTextView style. -->
597        <attr name="checkedTextViewStyle" format="reference" />
598        <!-- Default ListView style for drop downs. -->
599        <attr name="dropDownListViewStyle" format="reference" />
600        <!-- Default EditText style. -->
601        <attr name="editTextStyle" format="reference" />
602        <!-- Default ExpandableListView style. -->
603        <attr name="expandableListViewStyle" format="reference" />
604        <!-- ExpandableListView with white background. -->
605        <attr name="expandableListViewWhiteStyle" format="reference" />
606        <!-- Default Gallery style. -->
607        <attr name="galleryStyle" format="reference" />
608        <!-- Default GestureOverlayView style. -->
609        <attr name="gestureOverlayViewStyle" format="reference" />
610        <!-- Default GridView style. -->
611        <attr name="gridViewStyle" format="reference" />
612        <!-- The style resource to use for an ImageButton. -->
613        <attr name="imageButtonStyle" format="reference" />
614        <!-- The style resource to use for an ImageButton that is an image well. -->
615        <attr name="imageWellStyle" format="reference" />
616        <!-- Default ListView style. -->
617        <attr name="listViewStyle" format="reference" />
618        <!-- ListView with white background. -->
619        <attr name="listViewWhiteStyle" format="reference" />
620        <!-- Default PopupWindow style. -->
621        <attr name="popupWindowStyle" format="reference" />
622        <!-- Default ProgressBar style. This is a medium circular progress bar. -->
623        <attr name="progressBarStyle" format="reference" />
624        <!-- Horizontal ProgressBar style. This is a horizontal progress bar. -->
625        <attr name="progressBarStyleHorizontal" format="reference" />
626        <!-- Small ProgressBar style. This is a small circular progress bar. -->
627        <attr name="progressBarStyleSmall" format="reference" />
628        <!-- Small ProgressBar in title style. This is a small circular progress bar that will be placed in title bars. -->
629        <attr name="progressBarStyleSmallTitle" format="reference" />
630        <!-- Large ProgressBar style. This is a large circular progress bar. -->
631        <attr name="progressBarStyleLarge" format="reference" />
632        <!-- Inverse ProgressBar style. This is a medium circular progress bar. -->
633        <attr name="progressBarStyleInverse" format="reference" />
634        <!-- Small inverse ProgressBar style. This is a small circular progress bar. -->
635        <attr name="progressBarStyleSmallInverse" format="reference" />
636        <!-- Large inverse ProgressBar style. This is a large circular progress bar. -->
637        <attr name="progressBarStyleLargeInverse" format="reference" />
638        <!-- Default SeekBar style. -->
639        <attr name="seekBarStyle" format="reference" />
640        <!-- Default RatingBar style. -->
641        <attr name="ratingBarStyle" format="reference" />
642        <!-- Indicator RatingBar style. -->
643        <attr name="ratingBarStyleIndicator" format="reference" />
644        <!-- Small indicator RatingBar style. -->
645        <attr name="ratingBarStyleSmall" format="reference" />
646        <!-- Default RadioButton style. -->
647        <attr name="radioButtonStyle" format="reference" />
648        <!-- Default ScrollView style. -->
649        <attr name="scrollViewStyle" format="reference" />
650        <!-- Default HorizontalScrollView style. -->
651        <attr name="horizontalScrollViewStyle" format="reference" />
652        <!-- Default Spinner style. -->
653        <attr name="spinnerStyle" format="reference" />
654        <!-- Default dropdown Spinner style. -->
655        <attr name="dropDownSpinnerStyle" format="reference" />
656        <!-- Default ActionBar dropdown style. -->
657        <attr name="actionDropDownStyle" format="reference" />
658        <!-- Default action button style. -->
659        <attr name="actionButtonStyle" format="reference" />
660        <!-- Default Star style. -->
661        <attr name="starStyle" format="reference" />
662        <!-- Default TabWidget style. -->
663        <attr name="tabWidgetStyle" format="reference" />
664        <!-- Default TextView style. -->
665        <attr name="textViewStyle" format="reference" />
666        <!-- Default WebTextView style. -->
667        <attr name="webTextViewStyle" format="reference" />
668        <!-- Default WebView style. -->
669        <attr name="webViewStyle" format="reference" />
670        <!-- Default style for drop down items. -->
671        <attr name="dropDownItemStyle" format="reference" />
672         <!-- Default style for spinner drop down items. -->
673        <attr name="spinnerDropDownItemStyle" format="reference" />
674        <!-- Default style for drop down hints. -->
675        <attr name="dropDownHintAppearance" format="reference" />
676        <!-- Default spinner item style. -->
677        <attr name="spinnerItemStyle" format="reference" />
678        <!-- Default MapView style. -->
679        <attr name="mapViewStyle" format="reference" />
680        <!-- Drawable used as an overlay on top of quickcontact photos. -->
681        <attr name="quickContactBadgeOverlay" format="reference" />
682        <!-- Default quickcontact badge style with small quickcontact window. -->
683        <attr name="quickContactBadgeStyleWindowSmall" format="reference" />
684        <!-- Default quickcontact badge style with medium quickcontact window. -->
685        <attr name="quickContactBadgeStyleWindowMedium" format="reference" />
686        <!-- Default quickcontact badge style with large quickcontact window. -->
687        <attr name="quickContactBadgeStyleWindowLarge" format="reference" />
688        <!-- Default quickcontact badge style with small quickcontact window. -->
689        <attr name="quickContactBadgeStyleSmallWindowSmall" format="reference" />
690        <!-- Default quickcontact badge style with medium quickcontact window. -->
691        <attr name="quickContactBadgeStyleSmallWindowMedium" format="reference" />
692        <!-- Default quickcontact badge style with large quickcontact window. -->
693        <attr name="quickContactBadgeStyleSmallWindowLarge" format="reference" />
694        <!-- Reference to a style that will be used for the window containing a text
695             selection anchor. -->
696        <attr name="textSelectHandleWindowStyle" format="reference" />
697        <!-- Reference to a style that will be used for the window containing a list of possible
698             text suggestions in an EditText. -->
699        <attr name="textSuggestionsWindowStyle" format="reference" />
700        <!-- Default ListPopupWindow style. -->
701        <attr name="listPopupWindowStyle" format="reference" />
702        <!-- Default PopupMenu style. -->
703        <attr name="popupMenuStyle" format="reference" />
704        <!-- Default StackView style. -->
705        <attr name="stackViewStyle" format="reference" />
706
707        <!-- Default style for the FragmentBreadCrumbs widget. This widget is deprecated
708             starting in API level 21 ({@link android.os.Build.VERSION_CODES#.L}). -->
709        <attr name="fragmentBreadCrumbsStyle" format="reference" />
710
711        <!-- NumberPicker style. -->
712        <attr name="numberPickerStyle" format="reference" />
713
714        <!-- The CalendarView style. -->
715        <attr name="calendarViewStyle" format="reference" />
716
717        <!-- The TimePicker style. -->
718        <attr name="timePickerStyle" format="reference" />
719
720        <!-- The TimePicker dialog theme. -->
721        <attr name="timePickerDialogTheme" format="reference" />
722
723        <!-- The DatePicker style. -->
724        <attr name="datePickerStyle" format="reference" />
725
726        <!-- The DatePicker dialog theme. -->
727        <attr name="datePickerDialogTheme" format="reference" />
728
729        <!-- Default ActivityChooserView style. -->
730        <attr name="activityChooserViewStyle" format="reference" />
731
732        <!-- Default Toolbar style. -->
733        <attr name="toolbarStyle" format="reference" />
734
735        <!-- Fast scroller styles -->
736        <eat-comment />
737
738        <!-- Drawable to use as the fast scroll thumb. -->
739        <attr name="fastScrollThumbDrawable" format="reference" />
740        <!-- Drawable to use as the fast scroll index preview window background
741             when shown on the right. -->
742        <attr name="fastScrollPreviewBackgroundRight" format="reference" />
743        <!-- Drawable to use as the fast scroll index preview window background
744             when shown on the left. -->
745        <attr name="fastScrollPreviewBackgroundLeft" format="reference" />
746        <!-- Drawable to use as the track for the fast scroll thumb.
747             This may be null. -->
748        <attr name="fastScrollTrackDrawable" format="reference" />
749        <!-- Position of the fast scroll index overlay window. -->
750        <attr name="fastScrollOverlayPosition">
751            <enum name="floating" value="0" />
752            <enum name="atThumb" value="1" />
753            <enum name="aboveThumb" value="2" />
754        </attr>
755        <!-- Text color for the fast scroll index overlay. Make sure it
756             plays nicely with fastScrollPreviewBackground[Left|Right]. -->
757        <attr name="fastScrollTextColor" format="color" />
758
759        <!-- =================== -->
760        <!-- Action bar styles   -->
761        <!-- =================== -->
762        <eat-comment />
763        <!-- Default style for tabs within an action bar -->
764        <attr name="actionBarTabStyle" format="reference" />
765        <attr name="actionBarTabBarStyle" format="reference" />
766        <attr name="actionBarTabTextStyle" format="reference" />
767        <attr name="actionOverflowButtonStyle" format="reference" />
768        <attr name="actionOverflowMenuStyle" format="reference" />
769        <!-- Reference to a theme that should be used to inflate popups
770             shown by widgets in the action bar. -->
771        <attr name="actionBarPopupTheme" format="reference" />
772        <!-- Reference to a style for the Action Bar -->
773        <attr name="actionBarStyle" format="reference" />
774        <!-- Reference to a style for the split Action Bar. This style
775             controls the split component that holds the menu/action
776             buttons. actionBarStyle is still used for the primary
777             bar. -->
778        <attr name="actionBarSplitStyle" format="reference" />
779        <!-- Reference to a theme that should be used to inflate the
780             action bar. This will be inherited by any widget inflated
781             into the action bar. -->
782        <attr name="actionBarTheme" format="reference" />
783        <!-- Reference to a theme that should be used to inflate widgets
784             and layouts destined for the action bar. Most of the time
785             this will be a reference to the current theme, but when
786             the action bar has a significantly different contrast
787             profile than the rest of the activity the difference
788             can become important. If this is set to @null the current
789             theme will be used.-->
790        <attr name="actionBarWidgetTheme" format="reference" />
791        <!-- Size of the Action Bar, including the contextual
792             bar used to present Action Modes. -->
793        <attr name="actionBarSize" format="dimension" >
794            <enum name="wrap_content" value="0" />
795        </attr>
796        <!-- Custom divider drawable to use for elements in the action bar. -->
797        <attr name="actionBarDivider" format="reference" />
798        <!-- Custom item state list drawable background for action bar items. -->
799        <attr name="actionBarItemBackground" format="reference" />
800        <!-- TextAppearance style that will be applied to text that
801             appears within action menu items. -->
802        <attr name="actionMenuTextAppearance" format="reference" />
803        <!-- Color for text that appears within action menu items. -->
804        <attr name="actionMenuTextColor" format="color|reference" />
805
806        <!-- =================== -->
807        <!-- Action mode styles  -->
808        <!-- =================== -->
809        <eat-comment />
810        <attr name="actionModeStyle" format="reference" />
811        <attr name="actionModeCloseButtonStyle" format="reference" />
812        <!-- Background drawable to use for action mode UI -->
813        <attr name="actionModeBackground" format="reference" />
814        <!-- Background drawable to use for action mode UI in the lower split bar -->
815        <attr name="actionModeSplitBackground" format="reference" />
816        <!-- Drawable to use for the close action mode button -->
817        <attr name="actionModeCloseDrawable" format="reference" />
818
819        <!-- Drawable to use for the Cut action button in Contextual Action Bar -->
820        <attr name="actionModeCutDrawable" format="reference" />
821        <!-- Drawable to use for the Copy action button in Contextual Action Bar -->
822        <attr name="actionModeCopyDrawable" format="reference" />
823        <!-- Drawable to use for the Paste action button in Contextual Action Bar -->
824        <attr name="actionModePasteDrawable" format="reference" />
825        <!-- Drawable to use for the Select all action button in Contextual Action Bar -->
826        <attr name="actionModeSelectAllDrawable" format="reference" />
827        <!-- Drawable to use for the Share action button in WebView selection action modes -->
828        <attr name="actionModeShareDrawable" format="reference" />
829        <!-- Drawable to use for the Find action button in WebView selection action modes -->
830        <attr name="actionModeFindDrawable" format="reference" />
831        <!-- Drawable to use for the Web Search action button in WebView selection action modes -->
832        <attr name="actionModeWebSearchDrawable" format="reference" />
833
834        <!-- PopupWindow style to use for action modes when showing as a window overlay. -->
835        <attr name="actionModePopupWindowStyle" format="reference" />
836
837        <!-- =================== -->
838        <!-- Preference styles   -->
839        <!-- =================== -->
840        <eat-comment />
841
842        <!-- Default style for PreferenceScreen. -->
843        <attr name="preferenceScreenStyle" format="reference" />
844        <!-- Default style for the PreferenceActivity. -->
845        <attr name="preferenceActivityStyle" format="reference" />
846        <!-- Default style for Headers pane in PreferenceActivity. -->
847        <attr name="preferenceFragmentStyle" format="reference" />
848        <!-- Default style for PreferenceCategory. -->
849        <attr name="preferenceCategoryStyle" format="reference" />
850        <!-- Default style for Preference. -->
851        <attr name="preferenceStyle" format="reference" />
852        <!-- Default style for informational Preference. -->
853        <attr name="preferenceInformationStyle" format="reference" />
854        <!-- Default style for CheckBoxPreference. -->
855        <attr name="checkBoxPreferenceStyle" format="reference" />
856        <!-- Default style for YesNoPreference. -->
857        <attr name="yesNoPreferenceStyle" format="reference" />
858        <!-- Default style for DialogPreference. -->
859        <attr name="dialogPreferenceStyle" format="reference" />
860        <!-- Default style for EditTextPreference. -->
861        <attr name="editTextPreferenceStyle" format="reference" />
862        <!-- Default style for RingtonePreference. -->
863        <attr name="ringtonePreferenceStyle" format="reference" />
864        <!-- The preference layout that has the child/tabbed effect. -->
865        <attr name="preferenceLayoutChild" format="reference" />
866        <!-- Preference panel style -->
867        <attr name="preferencePanelStyle" format="reference" />
868        <!-- Preference headers panel style -->
869        <attr name="preferenceHeaderPanelStyle" format="reference" />
870        <!-- Preference list style -->
871        <attr name="preferenceListStyle" format="reference" />
872        <!-- Preference fragment list style -->
873        <attr name="preferenceFragmentListStyle" format="reference" />
874        <!-- Preference fragment padding side -->
875        <attr name="preferenceFragmentPaddingSide" format="dimension" />
876        <!-- Default style for switch preferences. -->
877        <attr name="switchPreferenceStyle" format="reference" />
878        <!-- Default style for seekbar preferences. -->
879        <attr name="seekBarPreferenceStyle" format="reference" />
880
881        <!-- ============================ -->
882        <!-- Text selection handle styles -->
883        <!-- ============================ -->
884        <eat-comment />
885
886        <!-- Reference to a drawable that will be used to display a text selection
887             anchor on the left side of a selection region. -->
888        <attr name="textSelectHandleLeft" format="reference" />
889        <!-- Reference to a drawable that will be used to display a text selection
890             anchor on the right side of a selection region. -->
891        <attr name="textSelectHandleRight" format="reference" />
892        <!-- Reference to a drawable that will be used to display a text selection
893             anchor for positioning the cursor within text. -->
894        <attr name="textSelectHandle" format="reference" />
895        <!-- The layout of the view that is displayed on top of the cursor to paste inside a
896             TextEdit field. -->
897        <attr name="textEditPasteWindowLayout" format="reference" />
898        <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. -->
899        <attr name="textEditNoPasteWindowLayout" format="reference" />
900        <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the
901             insertion cursor because it would be clipped if it were positioned on top. -->
902        <attr name="textEditSidePasteWindowLayout" format="reference" />
903        <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. -->
904        <attr name="textEditSideNoPasteWindowLayout" format="reference" />
905
906        <!-- Layout of the TextView item that will populate the suggestion popup window. -->
907        <attr name="textEditSuggestionItemLayout" format="reference" />
908
909        <!-- Theme to use for dialogs spawned from this theme. -->
910        <attr name="dialogTheme" format="reference" />
911        <!-- Window decor layout to use in dialog mode with icons -->
912        <attr name="dialogTitleIconsDecorLayout" format="reference" />
913        <!-- Window decor layout to use in dialog mode with custom titles -->
914        <attr name="dialogCustomTitleDecorLayout" format="reference" />
915        <!-- Window decor layout to use in dialog mode with title only -->
916        <attr name="dialogTitleDecorLayout" format="reference" />
917
918        <!-- Theme to use for alert dialogs spawned from this theme. -->
919        <attr name="alertDialogTheme" format="reference" />
920        <!-- Icon drawable to use for alerts -->
921        <attr name="alertDialogIcon" format="reference" />
922
923        <!-- Theme to use for presentations spawned from this theme. -->
924        <attr name="presentationTheme" format="reference" />
925
926        <!-- Drawable to use for generic vertical dividers. -->
927        <attr name="dividerVertical" format="reference" />
928
929        <!-- Drawable to use for generic horizontal dividers. -->
930        <attr name="dividerHorizontal" format="reference" />
931
932        <!-- Style for button bars -->
933        <attr name="buttonBarStyle" format="reference" />
934
935        <!-- Style for buttons within button bars -->
936        <attr name="buttonBarButtonStyle" format="reference" />
937
938        <!-- Style for the "positive" buttons within button bars -->
939        <attr name="buttonBarPositiveButtonStyle" format="reference" />
940
941        <!-- Style for the "negative" buttons within button bars -->
942        <attr name="buttonBarNegativeButtonStyle" format="reference" />
943
944        <!-- Style for the "neutral" buttons within button bars -->
945        <attr name="buttonBarNeutralButtonStyle" format="reference" />
946
947        <!-- Style for the search query widget. -->
948        <attr name="searchViewStyle" format="reference" />
949
950        <!-- Style for segmented buttons - a container that houses several buttons
951             with the appearance of a singel button broken into segments. -->
952        <attr name="segmentedButtonStyle" format="reference" />
953
954        <!-- Background drawable for bordered standalone items that need focus/pressed states. -->
955        <attr name="selectableItemBackground" format="reference" />
956
957        <!-- Background drawable for borderless standalone items that need focus/pressed states. -->
958        <attr name="selectableItemBackgroundBorderless" format="reference" />
959
960        <!-- Style for buttons without an explicit border, often used in groups. -->
961        <attr name="borderlessButtonStyle" format="reference" />
962
963        <!-- Background to use for toasts -->
964        <attr name="toastFrameBackground" format="reference" />
965
966        <!-- Theme to use for Search Dialogs -->
967        <attr name="searchDialogTheme" format="reference" />
968
969        <!-- Specifies a drawable to use for the 'home as up' indicator. -->
970        <attr name="homeAsUpIndicator" format="reference" />
971
972        <!-- Preference frame layout styles. -->
973        <attr name="preferenceFrameLayoutStyle" format="reference" />
974
975        <!-- Default style for the Switch widget. -->
976        <attr name="switchStyle" format="reference" />
977
978        <!-- Default style for the MediaRouteButton widget. -->
979        <attr name="mediaRouteButtonStyle" format="reference" />
980
981        <!-- ============== -->
982        <!-- Pointer styles -->
983        <!-- ============== -->
984        <eat-comment />
985
986        <!-- Reference to the Pointer style -->
987        <attr name="pointerStyle" format="reference" />
988
989        <!-- The drawable for accessibility focused views. -->
990        <attr name="accessibilityFocusedDrawable" format="reference" />
991
992        <!-- Drawable for WebView find-on-page dialogue's "next" button. @hide -->
993        <attr name="findOnPageNextDrawable" format="reference" />
994
995        <!-- Drawable for WebView find-on-page dialogue's "previous" button. @hide -->
996        <attr name="findOnPagePreviousDrawable" format="reference" />
997
998        <!-- ============= -->
999        <!-- Color palette -->
1000        <!-- ============= -->
1001        <eat-comment />
1002
1003        <!-- The primary branding color for the app. By default, this is the color applied to the
1004             action bar background. -->
1005        <attr name="colorPrimary" format="color" />
1006
1007        <!-- Dark variant of the primary branding color. By default, this is the color applied to
1008             the status bar (via statusBarColor) and navigation bar (via navigationBarColor). -->
1009        <attr name="colorPrimaryDark" format="color" />
1010
1011        <!-- Bright complement to the primary branding color. By default, this is the color applied
1012             to framework controls (via colorControlActivated). -->
1013        <attr name="colorAccent" format="color" />
1014
1015        <!-- The color applied to framework controls in their normal state. -->
1016        <attr name="colorControlNormal" format="color" />
1017
1018        <!-- The color applied to framework controls in their activated (ex. checked) state. -->
1019        <attr name="colorControlActivated" format="color" />
1020
1021        <!-- The color applied to framework control highlights (ex. ripples, list selectors). -->
1022        <attr name="colorControlHighlight" format="color" />
1023
1024        <!-- The color applied to framework buttons in their normal state. -->
1025        <attr name="colorButtonNormal" format="color" />
1026
1027        <!-- The color applied to framework switch thumbs in their normal state. -->
1028        <attr name="colorSwitchThumbNormal" format="color" />
1029
1030        <!-- The color applied to the edge effect on scrolling containers. -->
1031        <attr name="colorEdgeEffect" format="color" />
1032
1033        <!-- =================== -->
1034        <!-- Lighting properties -->
1035        <!-- =================== -->
1036        <eat-comment />
1037
1038        <!-- @hide The default Y position of the light used to project view shadows. -->
1039        <attr name="lightY" format="dimension" />
1040
1041        <!-- @hide The default Z position of the light used to project view shadows. -->
1042        <attr name="lightZ" format="dimension" />
1043
1044        <!-- @hide The default radius of the light used to project view shadows. -->
1045        <attr name="lightRadius" format="dimension" />
1046
1047        <!-- Alpha value of the ambient shadow projected by elevated views, between 0 and 1. -->
1048        <attr name="ambientShadowAlpha" format="float" />
1049
1050        <!-- Alpha value of the spot shadow projected by elevated views, between 0 and 1. -->
1051        <attr name="spotShadowAlpha" format="float" />
1052    </declare-styleable>
1053
1054    <!-- **************************************************************** -->
1055    <!-- Other non-theme attributes. -->
1056    <!-- **************************************************************** -->
1057    <eat-comment />
1058
1059    <!-- Size of text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp).
1060         Supported values include the following:<p/>
1061    <ul>
1062        <li><b>px</b> Pixels</li>
1063        <li><b>sp</b> Scaled pixels (scaled to relative pixel size on screen). See {@link android.util.DisplayMetrics} for more information.</li>
1064        <li><b>pt</b> Points</li>
1065        <li><b>dip</b> Device independent pixels. See {@link android.util.DisplayMetrics} for more information.</li>
1066    </ul>
1067        -->
1068    <attr name="textSize" format="dimension" />
1069
1070    <!-- Default font family. -->
1071    <attr name="fontFamily" format="string" />
1072
1073    <!-- Default text typeface. -->
1074    <attr name="typeface">
1075        <enum name="normal" value="0" />
1076        <enum name="sans" value="1" />
1077        <enum name="serif" value="2" />
1078        <enum name="monospace" value="3" />
1079    </attr>
1080
1081    <!-- Default text typeface style. -->
1082    <attr name="textStyle">
1083        <flag name="normal" value="0" />
1084        <flag name="bold" value="1" />
1085        <flag name="italic" value="2" />
1086    </attr>
1087
1088    <!-- Color of text (usually same as colorForeground). -->
1089    <attr name="textColor" format="reference|color" />
1090
1091    <!-- Color of highlighted text. -->
1092    <attr name="textColorHighlight" format="reference|color" />
1093
1094    <!-- Color of hint text (displayed when the field is empty). -->
1095    <attr name="textColorHint" format="reference|color" />
1096
1097    <!-- Color of link text (URLs). -->
1098    <attr name="textColorLink" format="reference|color" />
1099
1100    <!-- Reference to a drawable that will be drawn under the insertion cursor. -->
1101    <attr name="textCursorDrawable" format="reference" />
1102
1103    <!-- Indicates that the content of a non-editable TextView can be selected.
1104     Default value is false. EditText content is always selectable. -->
1105    <attr name="textIsSelectable" format="boolean" />
1106
1107    <!-- Where to ellipsize text. -->
1108    <attr name="ellipsize">
1109        <enum name="none" value="0" />
1110        <enum name="start" value="1" />
1111        <enum name="middle" value="2" />
1112        <enum name="end" value="3" />
1113        <enum name="marquee" value="4" />
1114    </attr>
1115
1116    <!-- The type of data being placed in a text field, used to help an
1117         input method decide how to let the user enter text.  The constants
1118         here correspond to those defined by
1119         {@link android.text.InputType}.  Generally you can select
1120         a single value, though some can be combined together as
1121         indicated.  Setting this attribute to anything besides
1122         <var>none</var> also implies that the text is editable. -->
1123    <attr name="inputType">
1124        <!-- There is no content type.  The text is not editable. -->
1125        <flag name="none" value="0x00000000" />
1126        <!-- Just plain old text.  Corresponds to
1127             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1128             {@link android.text.InputType#TYPE_TEXT_VARIATION_NORMAL}. -->
1129        <flag name="text" value="0x00000001" />
1130        <!-- Can be combined with <var>text</var> and its variations to
1131             request capitalization of all characters.  Corresponds to
1132             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_CHARACTERS}. -->
1133        <flag name="textCapCharacters" value="0x00001001" />
1134        <!-- Can be combined with <var>text</var> and its variations to
1135             request capitalization of the first character of every word.  Corresponds to
1136             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_WORDS}. -->
1137        <flag name="textCapWords" value="0x00002001" />
1138        <!-- Can be combined with <var>text</var> and its variations to
1139             request capitalization of the first character of every sentence.  Corresponds to
1140             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_SENTENCES}. -->
1141        <flag name="textCapSentences" value="0x00004001" />
1142        <!-- Can be combined with <var>text</var> and its variations to
1143             request auto-correction of text being input.  Corresponds to
1144             {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_CORRECT}. -->
1145        <flag name="textAutoCorrect" value="0x00008001" />
1146        <!-- Can be combined with <var>text</var> and its variations to
1147             specify that this field will be doing its own auto-completion and
1148             talking with the input method appropriately.  Corresponds to
1149             {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_COMPLETE}. -->
1150        <flag name="textAutoComplete" value="0x00010001" />
1151        <!-- Can be combined with <var>text</var> and its variations to
1152             allow multiple lines of text in the field.  If this flag is not set,
1153             the text field will be constrained to a single line.  Corresponds to
1154             {@link android.text.InputType#TYPE_TEXT_FLAG_MULTI_LINE}. -->
1155        <flag name="textMultiLine" value="0x00020001" />
1156        <!-- Can be combined with <var>text</var> and its variations to
1157             indicate that though the regular text view should not be multiple
1158             lines, the IME should provide multiple lines if it can.  Corresponds to
1159             {@link android.text.InputType#TYPE_TEXT_FLAG_IME_MULTI_LINE}. -->
1160        <flag name="textImeMultiLine" value="0x00040001" />
1161        <!-- Can be combined with <var>text</var> and its variations to
1162             indicate that the IME should not show any
1163             dictionary-based word suggestions.  Corresponds to
1164             {@link android.text.InputType#TYPE_TEXT_FLAG_NO_SUGGESTIONS}. -->
1165        <flag name="textNoSuggestions" value="0x00080001" />
1166        <!-- Text that will be used as a URI.  Corresponds to
1167             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1168             {@link android.text.InputType#TYPE_TEXT_VARIATION_URI}. -->
1169        <flag name="textUri" value="0x00000011" />
1170        <!-- Text that will be used as an e-mail address.  Corresponds to
1171             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1172             {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_ADDRESS}. -->
1173        <flag name="textEmailAddress" value="0x00000021" />
1174        <!-- Text that is being supplied as the subject of an e-mail.  Corresponds to
1175             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1176             {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_SUBJECT}. -->
1177        <flag name="textEmailSubject" value="0x00000031" />
1178        <!-- Text that is the content of a short message.  Corresponds to
1179             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1180             {@link android.text.InputType#TYPE_TEXT_VARIATION_SHORT_MESSAGE}. -->
1181        <flag name="textShortMessage" value="0x00000041" />
1182        <!-- Text that is the content of a long message.  Corresponds to
1183             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1184             {@link android.text.InputType#TYPE_TEXT_VARIATION_LONG_MESSAGE}. -->
1185        <flag name="textLongMessage" value="0x00000051" />
1186        <!-- Text that is the name of a person.  Corresponds to
1187             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1188             {@link android.text.InputType#TYPE_TEXT_VARIATION_PERSON_NAME}. -->
1189        <flag name="textPersonName" value="0x00000061" />
1190        <!-- Text that is being supplied as a postal mailing address.  Corresponds to
1191             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1192             {@link android.text.InputType#TYPE_TEXT_VARIATION_POSTAL_ADDRESS}. -->
1193        <flag name="textPostalAddress" value="0x00000071" />
1194        <!-- Text that is a password.  Corresponds to
1195             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1196             {@link android.text.InputType#TYPE_TEXT_VARIATION_PASSWORD}. -->
1197        <flag name="textPassword" value="0x00000081" />
1198        <!-- Text that is a password that should be visible.  Corresponds to
1199             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1200             {@link android.text.InputType#TYPE_TEXT_VARIATION_VISIBLE_PASSWORD}. -->
1201        <flag name="textVisiblePassword" value="0x00000091" />
1202        <!-- Text that is being supplied as text in a web form.  Corresponds to
1203             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1204             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EDIT_TEXT}. -->
1205        <flag name="textWebEditText" value="0x000000a1" />
1206        <!-- Text that is filtering some other data.  Corresponds to
1207             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1208             {@link android.text.InputType#TYPE_TEXT_VARIATION_FILTER}. -->
1209        <flag name="textFilter" value="0x000000b1" />
1210        <!-- Text that is for phonetic pronunciation, such as a phonetic name
1211             field in a contact entry.  Corresponds to
1212             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1213             {@link android.text.InputType#TYPE_TEXT_VARIATION_PHONETIC}. -->
1214        <flag name="textPhonetic" value="0x000000c1" />
1215        <!-- Text that will be used as an e-mail address on a web form.  Corresponds to
1216             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1217             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS}. -->
1218        <flag name="textWebEmailAddress" value="0x000000d1" />
1219        <!-- Text that will be used as a password on a web form.  Corresponds to
1220             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1221             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_PASSWORD}. -->
1222        <flag name="textWebPassword" value="0x000000e1" />
1223        <!-- A numeric only field.  Corresponds to
1224             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1225             {@link android.text.InputType#TYPE_NUMBER_VARIATION_NORMAL}. -->
1226        <flag name="number" value="0x00000002" />
1227        <!-- Can be combined with <var>number</var> and its other options to
1228             allow a signed number.  Corresponds to
1229             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1230             {@link android.text.InputType#TYPE_NUMBER_FLAG_SIGNED}. -->
1231        <flag name="numberSigned" value="0x00001002" />
1232        <!-- Can be combined with <var>number</var> and its other options to
1233             allow a decimal (fractional) number.  Corresponds to
1234             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1235             {@link android.text.InputType#TYPE_NUMBER_FLAG_DECIMAL}. -->
1236        <flag name="numberDecimal" value="0x00002002" />
1237        <!-- A numeric password field.  Corresponds to
1238             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1239             {@link android.text.InputType#TYPE_NUMBER_VARIATION_PASSWORD}. -->
1240        <flag name="numberPassword" value="0x00000012" />
1241        <!-- For entering a phone number.  Corresponds to
1242             {@link android.text.InputType#TYPE_CLASS_PHONE}. -->
1243        <flag name="phone" value="0x00000003" />
1244        <!-- For entering a date and time.  Corresponds to
1245             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1246             {@link android.text.InputType#TYPE_DATETIME_VARIATION_NORMAL}. -->
1247        <flag name="datetime" value="0x00000004" />
1248        <!-- For entering a date.  Corresponds to
1249             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1250             {@link android.text.InputType#TYPE_DATETIME_VARIATION_DATE}. -->
1251        <flag name="date" value="0x00000014" />
1252        <!-- For entering a time.  Corresponds to
1253             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1254             {@link android.text.InputType#TYPE_DATETIME_VARIATION_TIME}. -->
1255        <flag name="time" value="0x00000024" />
1256    </attr>
1257
1258    <!-- Additional features you can enable in an IME associated with an editor
1259         to improve the integration with your application.  The constants
1260         here correspond to those defined by
1261         {@link android.view.inputmethod.EditorInfo#imeOptions}. -->
1262    <attr name="imeOptions">
1263        <!-- There are no special semantics associated with this editor. -->
1264        <flag name="normal" value="0x00000000" />
1265        <!-- There is no specific action associated with this editor, let the
1266             editor come up with its own if it can.
1267             Corresponds to
1268             {@link android.view.inputmethod.EditorInfo#IME_NULL}. -->
1269        <flag name="actionUnspecified" value="0x00000000" />
1270        <!-- This editor has no action associated with it.
1271             Corresponds to
1272             {@link android.view.inputmethod.EditorInfo#IME_ACTION_NONE}. -->
1273        <flag name="actionNone" value="0x00000001" />
1274        <!-- The action key performs a "go"
1275             operation to take the user to the target of the text they typed.
1276             Typically used, for example, when entering a URL.
1277             Corresponds to
1278             {@link android.view.inputmethod.EditorInfo#IME_ACTION_GO}. -->
1279        <flag name="actionGo" value="0x00000002" />
1280        <!-- The action key performs a "search"
1281             operation, taking the user to the results of searching for the text
1282             the have typed (in whatever context is appropriate).
1283             Corresponds to
1284             {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEARCH}. -->
1285        <flag name="actionSearch" value="0x00000003" />
1286        <!-- The action key performs a "send"
1287             operation, delivering the text to its target.  This is typically used
1288             when composing a message.
1289             Corresponds to
1290             {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEND}. -->
1291        <flag name="actionSend" value="0x00000004" />
1292        <!-- The action key performs a "next"
1293             operation, taking the user to the next field that will accept text.
1294             Corresponds to
1295             {@link android.view.inputmethod.EditorInfo#IME_ACTION_NEXT}. -->
1296        <flag name="actionNext" value="0x00000005" />
1297        <!-- The action key performs a "done"
1298             operation, closing the soft input method.
1299             Corresponds to
1300             {@link android.view.inputmethod.EditorInfo#IME_ACTION_DONE}. -->
1301        <flag name="actionDone" value="0x00000006" />
1302        <!-- The action key performs a "previous"
1303             operation, taking the user to the previous field that will accept text.
1304             Corresponds to
1305             {@link android.view.inputmethod.EditorInfo#IME_ACTION_PREVIOUS}. -->
1306        <flag name="actionPrevious" value="0x00000007" />
1307        <!-- Used to request that the IME never go
1308             into fullscreen mode.  Applications need to be aware that the flag is not
1309             a guarantee, and not all IMEs will respect it.
1310             <p>Corresponds to
1311             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. -->
1312        <flag name="flagNoFullscreen" value="0x2000000" />
1313        <!-- Like flagNavigateNext, but
1314             specifies there is something interesting that a backward navigation
1315             can focus on.  If the user selects the IME's facility to backward
1316             navigate, this will show up in the application as an actionPrevious
1317             at {@link android.view.inputmethod.InputConnection#performEditorAction(int)
1318             InputConnection.performEditorAction(int)}.
1319             <p>Corresponds to
1320             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. -->
1321        <flag name="flagNavigatePrevious" value="0x4000000" />
1322        <!-- Used to specify that there is something
1323             interesting that a forward navigation can focus on. This is like using
1324             actionNext, except allows the IME to be multiline (with
1325             an enter key) as well as provide forward navigation.  Note that some
1326             IMEs may not be able to do this, especially when running on a small
1327             screen where there is little space.  In that case it does not need to
1328             present a UI for this option.  Like actionNext, if the
1329             user selects the IME's facility to forward navigate, this will show up
1330             in the application at
1331             {@link android.view.inputmethod.InputConnection#performEditorAction(int)
1332             InputConnection.performEditorAction(int)}.
1333             <p>Corresponds to
1334             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NAVIGATE_NEXT}. -->
1335        <flag name="flagNavigateNext" value="0x8000000" />
1336        <!-- Used to specify that the IME does not need
1337             to show its extracted text UI.  For input methods that may be fullscreen,
1338             often when in landscape mode, this allows them to be smaller and let part
1339             of the application be shown behind.  Though there will likely be limited
1340             access to the application available from the user, it can make the
1341             experience of a (mostly) fullscreen IME less jarring.  Note that when
1342             this flag is specified the IME may <em>not</em> be set up to be able
1343             to display text, so it should only be used in situations where this is
1344             not needed.
1345             <p>Corresponds to
1346             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_EXTRACT_UI}. -->
1347        <flag name="flagNoExtractUi" value="0x10000000" />
1348        <!-- Used in conjunction with a custom action, this indicates that the
1349             action should not be available as an accessory button when the
1350             input method is full-screen.
1351             Note that by setting this flag, there can be cases where the action
1352             is simply never available to the user.  Setting this generally means
1353             that you think showing text being edited is more important than the
1354             action you have supplied.
1355             <p>Corresponds to
1356             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ACCESSORY_ACTION}. -->
1357        <flag name="flagNoAccessoryAction" value="0x20000000" />
1358        <!-- Used in conjunction with a custom action,
1359             this indicates that the action should not be available in-line as
1360             a replacement for the "enter" key.  Typically this is
1361             because the action has such a significant impact or is not recoverable
1362             enough that accidentally hitting it should be avoided, such as sending
1363             a message.    Note that {@link android.widget.TextView} will
1364             automatically set this flag for you on multi-line text views.
1365             <p>Corresponds to
1366             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ENTER_ACTION}. -->
1367        <flag name="flagNoEnterAction" value="0x40000000" />
1368        <!-- Used to request that the IME should be capable of inputting ASCII
1369             characters.  The intention of this flag is to ensure that the user
1370             can type Roman alphabet characters in a {@link android.widget.TextView}
1371             used for, typically, account ID or password input.  It is expected that IMEs
1372             normally are able to input ASCII even without being told so (such IMEs
1373             already respect this flag in a sense), but there could be some cases they
1374             aren't when, for instance, only non-ASCII input languagaes like Arabic,
1375             Greek, Hebrew, Russian are enabled in the IME.  Applications need to be
1376             aware that the flag is not a guarantee, and not all IMEs will respect it.
1377             However, it is strongly recommended for IME authors to respect this flag
1378             especially when their IME could end up with a state that has only non-ASCII
1379             input languages enabled.
1380             <p>Corresponds to
1381             {@link android.view.inputmethod.EditorInfo#IME_FLAG_FORCE_ASCII}. -->
1382        <flag name="flagForceAscii" value="0x80000000" />
1383    </attr>
1384
1385    <!-- A coordinate in the X dimension. -->
1386    <attr name="x" format="dimension" />
1387    <!-- A coordinate in the Y dimension. -->
1388    <attr name="y" format="dimension" />
1389
1390    <!-- Specifies how an object should position its content, on both the X and Y axes,
1391         within its own bounds.  -->
1392    <attr name="gravity">
1393        <!-- Push object to the top of its container, not changing its size. -->
1394        <flag name="top" value="0x30" />
1395        <!-- Push object to the bottom of its container, not changing its size. -->
1396        <flag name="bottom" value="0x50" />
1397        <!-- Push object to the left of its container, not changing its size. -->
1398        <flag name="left" value="0x03" />
1399        <!-- Push object to the right of its container, not changing its size. -->
1400        <flag name="right" value="0x05" />
1401        <!-- Place object in the vertical center of its container, not changing its size. -->
1402        <flag name="center_vertical" value="0x10" />
1403        <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
1404        <flag name="fill_vertical" value="0x70" />
1405        <!-- Place object in the horizontal center of its container, not changing its size. -->
1406        <flag name="center_horizontal" value="0x01" />
1407        <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
1408        <flag name="fill_horizontal" value="0x07" />
1409        <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
1410        <flag name="center" value="0x11" />
1411        <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
1412        <flag name="fill" value="0x77" />
1413        <!-- Additional option that can be set to have the top and/or bottom edges of
1414             the child clipped to its container's bounds.
1415             The clip will be based on the vertical gravity: a top gravity will clip the bottom
1416             edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
1417        <flag name="clip_vertical" value="0x80" />
1418        <!-- Additional option that can be set to have the left and/or right edges of
1419             the child clipped to its container's bounds.
1420             The clip will be based on the horizontal gravity: a left gravity will clip the right
1421             edge, a right gravity will clip the left edge, and neither will clip both edges. -->
1422        <flag name="clip_horizontal" value="0x08" />
1423        <!-- Push object to the beginning of its container, not changing its size. -->
1424        <flag name="start" value="0x00800003" />
1425        <!-- Push object to the end of its container, not changing its size. -->
1426        <flag name="end" value="0x00800005" />
1427    </attr>
1428
1429    <!-- Controls whether links such as urls and email addresses are
1430         automatically found and converted to clickable links.  The default
1431         value is "none", disabling this feature. -->
1432    <attr name="autoLink">
1433        <!-- Match no patterns (default). -->
1434        <flag name="none" value="0x00" />
1435        <!-- Match Web URLs. -->
1436        <flag name="web" value="0x01" />
1437        <!-- Match email addresses. -->
1438        <flag name="email" value="0x02" />
1439        <!-- Match phone numbers. -->
1440        <flag name="phone" value="0x04" />
1441        <!-- Match map addresses. -->
1442        <flag name="map" value="0x08" />
1443        <!-- Match all patterns (equivalent to web|email|phone|map). -->
1444        <flag name="all" value="0x0f" />
1445    </attr>
1446
1447    <!-- Reference to an array resource that will populate a list/adapter. -->
1448    <attr name="entries" format="reference" />
1449
1450    <!-- Standard gravity constant that a child supplies to its parent.
1451         Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout. -->
1452    <attr name="layout_gravity">
1453        <!-- Push object to the top of its container, not changing its size. -->
1454        <flag name="top" value="0x30" />
1455        <!-- Push object to the bottom of its container, not changing its size. -->
1456        <flag name="bottom" value="0x50" />
1457        <!-- Push object to the left of its container, not changing its size. -->
1458        <flag name="left" value="0x03" />
1459        <!-- Push object to the right of its container, not changing its size. -->
1460        <flag name="right" value="0x05" />
1461        <!-- Place object in the vertical center of its container, not changing its size. -->
1462        <flag name="center_vertical" value="0x10" />
1463        <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
1464        <flag name="fill_vertical" value="0x70" />
1465        <!-- Place object in the horizontal center of its container, not changing its size. -->
1466        <flag name="center_horizontal" value="0x01" />
1467        <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
1468        <flag name="fill_horizontal" value="0x07" />
1469        <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
1470        <flag name="center" value="0x11" />
1471        <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
1472        <flag name="fill" value="0x77" />
1473        <!-- Additional option that can be set to have the top and/or bottom edges of
1474             the child clipped to its container's bounds.
1475             The clip will be based on the vertical gravity: a top gravity will clip the bottom
1476             edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
1477        <flag name="clip_vertical" value="0x80" />
1478        <!-- Additional option that can be set to have the left and/or right edges of
1479             the child clipped to its container's bounds.
1480             The clip will be based on the horizontal gravity: a left gravity will clip the right
1481             edge, a right gravity will clip the left edge, and neither will clip both edges. -->
1482        <flag name="clip_horizontal" value="0x08" />
1483        <!-- Push object to the beginning of its container, not changing its size. -->
1484        <flag name="start" value="0x00800003" />
1485        <!-- Push object to the end of its container, not changing its size. -->
1486        <flag name="end" value="0x00800005" />
1487    </attr>
1488
1489    <!-- Standard orientation constant. -->
1490    <attr name="orientation">
1491        <!-- Defines an horizontal widget. -->
1492        <enum name="horizontal" value="0" />
1493        <!-- Defines a vertical widget. -->
1494        <enum name="vertical" value="1" />
1495    </attr>
1496
1497    <!-- Alignment constants. -->
1498    <attr name="alignmentMode">
1499        <!-- Align the bounds of the children.
1500        See {@link android.widget.GridLayout#ALIGN_BOUNDS}. -->
1501        <enum name="alignBounds" value="0" />
1502        <!-- Align the margins of the children.
1503        See {@link android.widget.GridLayout#ALIGN_MARGINS}. -->
1504        <enum name="alignMargins" value="1" />
1505    </attr>
1506
1507    <!-- ========================== -->
1508    <!-- Key Codes                  -->
1509    <!-- ========================== -->
1510    <eat-comment />
1511
1512    <!-- This enum provides the same keycode values as can be found in
1513        {@link android.view.KeyEvent}. -->
1514    <attr name="keycode">
1515        <enum name="KEYCODE_UNKNOWN" value="0" />
1516        <enum name="KEYCODE_SOFT_LEFT" value="1" />
1517        <enum name="KEYCODE_SOFT_RIGHT" value="2" />
1518        <enum name="KEYCODE_HOME" value="3" />
1519        <enum name="KEYCODE_BACK" value="4" />
1520        <enum name="KEYCODE_CALL" value="5" />
1521        <enum name="KEYCODE_ENDCALL" value="6" />
1522        <enum name="KEYCODE_0" value="7" />
1523        <enum name="KEYCODE_1" value="8" />
1524        <enum name="KEYCODE_2" value="9" />
1525        <enum name="KEYCODE_3" value="10" />
1526        <enum name="KEYCODE_4" value="11" />
1527        <enum name="KEYCODE_5" value="12" />
1528        <enum name="KEYCODE_6" value="13" />
1529        <enum name="KEYCODE_7" value="14" />
1530        <enum name="KEYCODE_8" value="15" />
1531        <enum name="KEYCODE_9" value="16" />
1532        <enum name="KEYCODE_STAR" value="17" />
1533        <enum name="KEYCODE_POUND" value="18" />
1534        <enum name="KEYCODE_DPAD_UP" value="19" />
1535        <enum name="KEYCODE_DPAD_DOWN" value="20" />
1536        <enum name="KEYCODE_DPAD_LEFT" value="21" />
1537        <enum name="KEYCODE_DPAD_RIGHT" value="22" />
1538        <enum name="KEYCODE_DPAD_CENTER" value="23" />
1539        <enum name="KEYCODE_VOLUME_UP" value="24" />
1540        <enum name="KEYCODE_VOLUME_DOWN" value="25" />
1541        <enum name="KEYCODE_POWER" value="26" />
1542        <enum name="KEYCODE_CAMERA" value="27" />
1543        <enum name="KEYCODE_CLEAR" value="28" />
1544        <enum name="KEYCODE_A" value="29" />
1545        <enum name="KEYCODE_B" value="30" />
1546        <enum name="KEYCODE_C" value="31" />
1547        <enum name="KEYCODE_D" value="32" />
1548        <enum name="KEYCODE_E" value="33" />
1549        <enum name="KEYCODE_F" value="34" />
1550        <enum name="KEYCODE_G" value="35" />
1551        <enum name="KEYCODE_H" value="36" />
1552        <enum name="KEYCODE_I" value="37" />
1553        <enum name="KEYCODE_J" value="38" />
1554        <enum name="KEYCODE_K" value="39" />
1555        <enum name="KEYCODE_L" value="40" />
1556        <enum name="KEYCODE_M" value="41" />
1557        <enum name="KEYCODE_N" value="42" />
1558        <enum name="KEYCODE_O" value="43" />
1559        <enum name="KEYCODE_P" value="44" />
1560        <enum name="KEYCODE_Q" value="45" />
1561        <enum name="KEYCODE_R" value="46" />
1562        <enum name="KEYCODE_S" value="47" />
1563        <enum name="KEYCODE_T" value="48" />
1564        <enum name="KEYCODE_U" value="49" />
1565        <enum name="KEYCODE_V" value="50" />
1566        <enum name="KEYCODE_W" value="51" />
1567        <enum name="KEYCODE_X" value="52" />
1568        <enum name="KEYCODE_Y" value="53" />
1569        <enum name="KEYCODE_Z" value="54" />
1570        <enum name="KEYCODE_COMMA" value="55" />
1571        <enum name="KEYCODE_PERIOD" value="56" />
1572        <enum name="KEYCODE_ALT_LEFT" value="57" />
1573        <enum name="KEYCODE_ALT_RIGHT" value="58" />
1574        <enum name="KEYCODE_SHIFT_LEFT" value="59" />
1575        <enum name="KEYCODE_SHIFT_RIGHT" value="60" />
1576        <enum name="KEYCODE_TAB" value="61" />
1577        <enum name="KEYCODE_SPACE" value="62" />
1578        <enum name="KEYCODE_SYM" value="63" />
1579        <enum name="KEYCODE_EXPLORER" value="64" />
1580        <enum name="KEYCODE_ENVELOPE" value="65" />
1581        <enum name="KEYCODE_ENTER" value="66" />
1582        <enum name="KEYCODE_DEL" value="67" />
1583        <enum name="KEYCODE_GRAVE" value="68" />
1584        <enum name="KEYCODE_MINUS" value="69" />
1585        <enum name="KEYCODE_EQUALS" value="70" />
1586        <enum name="KEYCODE_LEFT_BRACKET" value="71" />
1587        <enum name="KEYCODE_RIGHT_BRACKET" value="72" />
1588        <enum name="KEYCODE_BACKSLASH" value="73" />
1589        <enum name="KEYCODE_SEMICOLON" value="74" />
1590        <enum name="KEYCODE_APOSTROPHE" value="75" />
1591        <enum name="KEYCODE_SLASH" value="76" />
1592        <enum name="KEYCODE_AT" value="77" />
1593        <enum name="KEYCODE_NUM" value="78" />
1594        <enum name="KEYCODE_HEADSETHOOK" value="79" />
1595        <enum name="KEYCODE_FOCUS" value="80" />
1596        <enum name="KEYCODE_PLUS" value="81" />
1597        <enum name="KEYCODE_MENU" value="82" />
1598        <enum name="KEYCODE_NOTIFICATION" value="83" />
1599        <enum name="KEYCODE_SEARCH" value="84" />
1600        <enum name="KEYCODE_MEDIA_PLAY_PAUSE" value="85" />
1601        <enum name="KEYCODE_MEDIA_STOP" value="86" />
1602        <enum name="KEYCODE_MEDIA_NEXT" value="87" />
1603        <enum name="KEYCODE_MEDIA_PREVIOUS" value="88" />
1604        <enum name="KEYCODE_MEDIA_REWIND" value="89" />
1605        <enum name="KEYCODE_MEDIA_FAST_FORWARD" value="90" />
1606        <enum name="KEYCODE_MUTE" value="91" />
1607        <enum name="KEYCODE_PAGE_UP" value="92" />
1608        <enum name="KEYCODE_PAGE_DOWN" value="93" />
1609        <enum name="KEYCODE_PICTSYMBOLS" value="94" />
1610        <enum name="KEYCODE_SWITCH_CHARSET" value="95" />
1611        <enum name="KEYCODE_BUTTON_A" value="96" />
1612        <enum name="KEYCODE_BUTTON_B" value="97" />
1613        <enum name="KEYCODE_BUTTON_C" value="98" />
1614        <enum name="KEYCODE_BUTTON_X" value="99" />
1615        <enum name="KEYCODE_BUTTON_Y" value="100" />
1616        <enum name="KEYCODE_BUTTON_Z" value="101" />
1617        <enum name="KEYCODE_BUTTON_L1" value="102" />
1618        <enum name="KEYCODE_BUTTON_R1" value="103" />
1619        <enum name="KEYCODE_BUTTON_L2" value="104" />
1620        <enum name="KEYCODE_BUTTON_R2" value="105" />
1621        <enum name="KEYCODE_BUTTON_THUMBL" value="106" />
1622        <enum name="KEYCODE_BUTTON_THUMBR" value="107" />
1623        <enum name="KEYCODE_BUTTON_START" value="108" />
1624        <enum name="KEYCODE_BUTTON_SELECT" value="109" />
1625        <enum name="KEYCODE_BUTTON_MODE" value="110" />
1626        <enum name="KEYCODE_ESCAPE" value="111" />
1627        <enum name="KEYCODE_FORWARD_DEL" value="112" />
1628        <enum name="KEYCODE_CTRL_LEFT" value="113" />
1629        <enum name="KEYCODE_CTRL_RIGHT" value="114" />
1630        <enum name="KEYCODE_CAPS_LOCK" value="115" />
1631        <enum name="KEYCODE_SCROLL_LOCK" value="116" />
1632        <enum name="KEYCODE_META_LEFT" value="117" />
1633        <enum name="KEYCODE_META_RIGHT" value="118" />
1634        <enum name="KEYCODE_FUNCTION" value="119" />
1635        <enum name="KEYCODE_SYSRQ" value="120" />
1636        <enum name="KEYCODE_BREAK" value="121" />
1637        <enum name="KEYCODE_MOVE_HOME" value="122" />
1638        <enum name="KEYCODE_MOVE_END" value="123" />
1639        <enum name="KEYCODE_INSERT" value="124" />
1640        <enum name="KEYCODE_FORWARD" value="125" />
1641        <enum name="KEYCODE_MEDIA_PLAY" value="126" />
1642        <enum name="KEYCODE_MEDIA_PAUSE" value="127" />
1643        <enum name="KEYCODE_MEDIA_CLOSE" value="128" />
1644        <enum name="KEYCODE_MEDIA_EJECT" value="129" />
1645        <enum name="KEYCODE_MEDIA_RECORD" value="130" />
1646        <enum name="KEYCODE_F1" value="131" />
1647        <enum name="KEYCODE_F2" value="132" />
1648        <enum name="KEYCODE_F3" value="133" />
1649        <enum name="KEYCODE_F4" value="134" />
1650        <enum name="KEYCODE_F5" value="135" />
1651        <enum name="KEYCODE_F6" value="136" />
1652        <enum name="KEYCODE_F7" value="137" />
1653        <enum name="KEYCODE_F8" value="138" />
1654        <enum name="KEYCODE_F9" value="139" />
1655        <enum name="KEYCODE_F10" value="140" />
1656        <enum name="KEYCODE_F11" value="141" />
1657        <enum name="KEYCODE_F12" value="142" />
1658        <enum name="KEYCODE_NUM_LOCK" value="143" />
1659        <enum name="KEYCODE_NUMPAD_0" value="144" />
1660        <enum name="KEYCODE_NUMPAD_1" value="145" />
1661        <enum name="KEYCODE_NUMPAD_2" value="146" />
1662        <enum name="KEYCODE_NUMPAD_3" value="147" />
1663        <enum name="KEYCODE_NUMPAD_4" value="148" />
1664        <enum name="KEYCODE_NUMPAD_5" value="149" />
1665        <enum name="KEYCODE_NUMPAD_6" value="150" />
1666        <enum name="KEYCODE_NUMPAD_7" value="151" />
1667        <enum name="KEYCODE_NUMPAD_8" value="152" />
1668        <enum name="KEYCODE_NUMPAD_9" value="153" />
1669        <enum name="KEYCODE_NUMPAD_DIVIDE" value="154" />
1670        <enum name="KEYCODE_NUMPAD_MULTIPLY" value="155" />
1671        <enum name="KEYCODE_NUMPAD_SUBTRACT" value="156" />
1672        <enum name="KEYCODE_NUMPAD_ADD" value="157" />
1673        <enum name="KEYCODE_NUMPAD_DOT" value="158" />
1674        <enum name="KEYCODE_NUMPAD_COMMA" value="159" />
1675        <enum name="KEYCODE_NUMPAD_ENTER" value="160" />
1676        <enum name="KEYCODE_NUMPAD_EQUALS" value="161" />
1677        <enum name="KEYCODE_NUMPAD_LEFT_PAREN" value="162" />
1678        <enum name="KEYCODE_NUMPAD_RIGHT_PAREN" value="163" />
1679        <enum name="KEYCODE_VOLUME_MUTE" value="164" />
1680        <enum name="KEYCODE_INFO" value="165" />
1681        <enum name="KEYCODE_CHANNEL_UP" value="166" />
1682        <enum name="KEYCODE_CHANNEL_DOWN" value="167" />
1683        <enum name="KEYCODE_ZOOM_IN" value="168" />
1684        <enum name="KEYCODE_ZOOM_OUT" value="169" />
1685        <enum name="KEYCODE_TV" value="170" />
1686        <enum name="KEYCODE_WINDOW" value="171" />
1687        <enum name="KEYCODE_GUIDE" value="172" />
1688        <enum name="KEYCODE_DVR" value="173" />
1689        <enum name="KEYCODE_BOOKMARK" value="174" />
1690        <enum name="KEYCODE_CAPTIONS" value="175" />
1691        <enum name="KEYCODE_SETTINGS" value="176" />
1692        <enum name="KEYCODE_TV_POWER" value="177" />
1693        <enum name="KEYCODE_TV_INPUT" value="178" />
1694        <enum name="KEYCODE_STB_POWER" value="179" />
1695        <enum name="KEYCODE_STB_INPUT" value="180" />
1696        <enum name="KEYCODE_AVR_POWER" value="181" />
1697        <enum name="KEYCODE_AVR_INPUT" value="182" />
1698        <enum name="KEYCODE_PROG_GRED" value="183" />
1699        <enum name="KEYCODE_PROG_GREEN" value="184" />
1700        <enum name="KEYCODE_PROG_YELLOW" value="185" />
1701        <enum name="KEYCODE_PROG_BLUE" value="186" />
1702        <enum name="KEYCODE_APP_SWITCH" value="187" />
1703        <enum name="KEYCODE_BUTTON_1" value="188" />
1704        <enum name="KEYCODE_BUTTON_2" value="189" />
1705        <enum name="KEYCODE_BUTTON_3" value="190" />
1706        <enum name="KEYCODE_BUTTON_4" value="191" />
1707        <enum name="KEYCODE_BUTTON_5" value="192" />
1708        <enum name="KEYCODE_BUTTON_6" value="193" />
1709        <enum name="KEYCODE_BUTTON_7" value="194" />
1710        <enum name="KEYCODE_BUTTON_8" value="195" />
1711        <enum name="KEYCODE_BUTTON_9" value="196" />
1712        <enum name="KEYCODE_BUTTON_10" value="197" />
1713        <enum name="KEYCODE_BUTTON_11" value="198" />
1714        <enum name="KEYCODE_BUTTON_12" value="199" />
1715        <enum name="KEYCODE_BUTTON_13" value="200" />
1716        <enum name="KEYCODE_BUTTON_14" value="201" />
1717        <enum name="KEYCODE_BUTTON_15" value="202" />
1718        <enum name="KEYCODE_BUTTON_16" value="203" />
1719        <enum name="KEYCODE_LANGUAGE_SWITCH" value="204" />
1720        <enum name="KEYCODE_MANNER_MODE" value="205" />
1721        <enum name="KEYCODE_3D_MODE" value="206" />
1722        <enum name="KEYCODE_CONTACTS" value="207" />
1723        <enum name="KEYCODE_CALENDAR" value="208" />
1724        <enum name="KEYCODE_MUSIC" value="209" />
1725        <enum name="KEYCODE_CALCULATOR" value="210" />
1726        <enum name="KEYCODE_ZENKAKU_HANKAKU" value="211" />
1727        <enum name="KEYCODE_EISU" value="212" />
1728        <enum name="KEYCODE_MUHENKAN" value="213" />
1729        <enum name="KEYCODE_HENKAN" value="214" />
1730        <enum name="KEYCODE_KATAKANA_HIRAGANA" value="215" />
1731        <enum name="KEYCODE_YEN" value="216" />
1732        <enum name="KEYCODE_RO" value="217" />
1733        <enum name="KEYCODE_KANA" value="218" />
1734        <enum name="KEYCODE_ASSIST" value="219" />
1735        <enum name="KEYCODE_BRIGHTNESS_DOWN" value="220" />
1736        <enum name="KEYCODE_BRIGHTNESS_UP" value="221" />
1737        <enum name="KEYCODE_MEDIA_AUDIO_TRACK" value="222" />
1738        <enum name="KEYCODE_MEDIA_SLEEP" value="223" />
1739        <enum name="KEYCODE_MEDIA_WAKEUP" value="224" />
1740        <enum name="KEYCODE_PAIRING" value="225" />
1741        <enum name="KEYCODE_MEDIA_TOP_MENU" value="226" />
1742        <enum name="KEYCODE_11" value="227" />
1743        <enum name="KEYCODE_12" value="228" />
1744        <enum name="KEYCODE_LAST_CHANNEL" value="229" />
1745        <enum name="KEYCODE_TV_DATA_SERVICE" value="230" />
1746        <enum name="KEYCODE_VOICE_ASSIST" value="231" />
1747        <enum name="KEYCODE_TV_RADIO_SERVICE" value="232" />
1748        <enum name="KEYCODE_TV_TELETEXT" value="233" />
1749        <enum name="KEYCODE_TV_NUMBER_ENTRY" value="234" />
1750        <enum name="KEYCODE_TV_TERRESTRIAL_ANALOG" value="235" />
1751        <enum name="KEYCODE_TV_TERRESTRIAL_DIGITAL" value="236" />
1752        <enum name="KEYCODE_TV_SATELLITE" value="237" />
1753        <enum name="KEYCODE_TV_SATELLITE_BS" value="238" />
1754        <enum name="KEYCODE_TV_SATELLITE_CS" value="239" />
1755        <enum name="KEYCODE_TV_SATELLITE_SERVICE" value="240" />
1756        <enum name="KEYCODE_TV_NETWORK" value="241" />
1757        <enum name="KEYCODE_TV_ANTENNA_CABLE" value="242" />
1758        <enum name="KEYCODE_TV_INPUT_HDMI_1" value="243" />
1759        <enum name="KEYCODE_TV_INPUT_HDMI_2" value="244" />
1760        <enum name="KEYCODE_TV_INPUT_HDMI_3" value="245" />
1761        <enum name="KEYCODE_TV_INPUT_HDMI_4" value="246" />
1762        <enum name="KEYCODE_TV_INPUT_COMPOSITE_1" value="247" />
1763        <enum name="KEYCODE_TV_INPUT_COMPOSITE_2" value="248" />
1764        <enum name="KEYCODE_TV_INPUT_COMPONENT_1" value="249" />
1765        <enum name="KEYCODE_TV_INPUT_COMPONENT_2" value="250" />
1766        <enum name="KEYCODE_TV_INPUT_VGA_1" value="251" />
1767        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION" value="252" />
1768        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP" value="253" />
1769        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN" value="254" />
1770        <enum name="KEYCODE_TV_ZOOM_MODE" value="255" />
1771        <enum name="KEYCODE_TV_CONTENTS_MENU" value="256" />
1772        <enum name="KEYCODE_TV_MEDIA_CONTEXT_MENU" value="257" />
1773        <enum name="KEYCODE_TV_TIMER_PROGRAMMING" value="258" />
1774        <enum name="KEYCODE_HELP" value="259" />
1775    </attr>
1776
1777    <!-- ***************************************************************** -->
1778    <!-- These define collections of attributes that can are with classes. -->
1779    <!-- ***************************************************************** -->
1780
1781    <!-- ========================== -->
1782    <!-- Special attribute classes. -->
1783    <!-- ========================== -->
1784    <eat-comment />
1785
1786    <!-- The set of attributes that describe a Windows's theme. -->
1787    <declare-styleable name="Window">
1788        <attr name="windowBackground" />
1789        <attr name="windowBackgroundFallback" />
1790        <attr name="windowContentOverlay" />
1791        <attr name="windowFrame" />
1792        <attr name="windowNoTitle" />
1793        <attr name="windowFullscreen" />
1794        <attr name="windowOverscan" />
1795        <attr name="windowIsFloating" />
1796        <attr name="windowIsTranslucent" />
1797        <attr name="windowShowWallpaper" />
1798        <attr name="windowAnimationStyle" />
1799        <attr name="windowSoftInputMode" />
1800        <attr name="windowDisablePreview" />
1801        <attr name="windowNoDisplay" />
1802        <attr name="textColor" />
1803        <attr name="backgroundDimEnabled" />
1804        <attr name="backgroundDimAmount" />
1805        <attr name="windowActionBar" />
1806        <attr name="windowActionModeOverlay" />
1807        <attr name="windowActionBarOverlay" />
1808        <attr name="windowEnableSplitTouch" />
1809        <attr name="windowCloseOnTouchOutside" />
1810        <attr name="windowTranslucentStatus" />
1811        <attr name="windowTranslucentNavigation" />
1812        <attr name="windowSwipeToDismiss" />
1813        <attr name="windowContentTransitions" />
1814        <attr name="windowActivityTransitions" />
1815        <attr name="windowContentTransitionManager" />
1816        <attr name="windowActionBarFullscreenDecorLayout" />
1817
1818        <!-- The minimum width the window is allowed to be, along the major
1819             axis of the screen.  That is, when in landscape.  Can be either
1820             an absolute dimension or a fraction of the screen size in that
1821             dimension. -->
1822        <attr name="windowMinWidthMajor" format="dimension|fraction" />
1823        <!-- The minimum width the window is allowed to be, along the minor
1824             axis of the screen.  That is, when in portrait.  Can be either
1825             an absolute dimension or a fraction of the screen size in that
1826             dimension. -->
1827        <attr name="windowMinWidthMinor" format="dimension|fraction" />
1828
1829        <!-- A fixed width for the window along the major axis of the screen,
1830             that is, when in landscape. Can be either an absolute dimension
1831             or a fraction of the screen size in that dimension. -->
1832        <attr name="windowFixedWidthMajor" format="dimension|fraction" />
1833        <!-- A fixed height for the window along the minor axis of the screen,
1834             that is, when in landscape. Can be either an absolute dimension
1835             or a fraction of the screen size in that dimension. -->
1836        <attr name="windowFixedHeightMinor" format="dimension|fraction" />
1837
1838        <!-- A fixed width for the window along the minor axis of the screen,
1839             that is, when in portrait. Can be either an absolute dimension
1840             or a fraction of the screen size in that dimension. -->
1841        <attr name="windowFixedWidthMinor" format="dimension|fraction" />
1842        <!-- A fixed height for the window along the major axis of the screen,
1843             that is, when in portrait. Can be either an absolute dimension
1844             or a fraction of the screen size in that dimension. -->
1845        <attr name="windowFixedHeightMajor" format="dimension|fraction" />
1846        <attr name="windowOutsetBottom" format="dimension" />
1847        <!-- Reference to a Transition XML resource defining the desired Transition
1848             used to move Views into the initial Window's content Scene. Corresponds to
1849             {@link android.view.Window#setEnterTransition(android.transition.Transition)}. -->
1850        <attr name="windowEnterTransition"/>
1851
1852        <!-- Reference to a Transition XML resource defining the desired Transition
1853             used to move Views out of the scene when the Window is
1854             preparing to close. Corresponds to
1855             {@link android.view.Window#setReturnTransition(android.transition.Transition)}. -->
1856        <attr name="windowReturnTransition"/>
1857
1858        <!-- Reference to a Transition XML resource defining the desired Transition
1859             used to move Views out of the Window's content Scene when launching a new Activity.
1860             Corresponds to
1861             {@link android.view.Window#setExitTransition(android.transition.Transition)}. -->
1862        <attr name="windowExitTransition"/>
1863
1864        <!-- Reference to a Transition XML resource defining the desired Transition
1865             used to move Views in to the scene when returning from a previously-started Activity.
1866             Corresponds to
1867             {@link android.view.Window#setReenterTransition(android.transition.Transition)}. -->
1868        <attr name="windowReenterTransition"/>
1869
1870        <!-- Reference to a Transition XML resource defining the desired Transition
1871             used to move shared elements transferred into the Window's initial content Scene.
1872             Corresponds to {@link android.view.Window#setSharedElementEnterTransition(
1873             android.transition.Transition)}. -->
1874        <attr name="windowSharedElementEnterTransition"/>
1875
1876        <!-- Reference to a Transition XML resource defining the desired Transition
1877             used to move shared elements transferred back to a calling Activity.
1878             Corresponds to {@link android.view.Window#setSharedElementReturnTransition(
1879             android.transition.Transition)}. -->
1880        <attr name="windowSharedElementReturnTransition"/>
1881
1882        <!-- Reference to a Transition XML resource defining the desired Transition
1883             used when starting a new Activity to move shared elements prior to transferring
1884             to the called Activity.
1885             Corresponds to {@link android.view.Window#setSharedElementExitTransition(
1886             android.transition.Transition)}. -->
1887        <attr name="windowSharedElementExitTransition"/>
1888
1889        <!-- Reference to a Transition XML resource defining the desired Transition
1890             used for shared elements transferred back to a calling Activity.
1891             Corresponds to {@link android.view.Window#setSharedElementReenterTransition(
1892             android.transition.Transition)}. -->
1893        <attr name="windowSharedElementReenterTransition"/>
1894
1895
1896        <!-- Flag indicating whether this Window's transition should overlap with
1897             the exiting transition of the calling Activity. Corresponds to
1898             {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. -->
1899        <attr name="windowAllowEnterTransitionOverlap"/>
1900
1901        <!-- Flag indicating whether this Window's transition should overlap with
1902             the exiting transition of the called Activity when the called Activity
1903             finishes. Corresponds to
1904             {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. -->
1905        <attr name="windowAllowReturnTransitionOverlap"/>
1906
1907        <!-- Indicates whether or not shared elements should use an overlay
1908             during transitions. The default value is true. -->
1909        <attr name="windowSharedElementsUseOverlay"/>
1910
1911        <!-- Flag indicating whether this Window is responsible for drawing the background for the
1912             system bars. If true and the window is not floating, the system bars are drawn with a
1913             transparent background and the corresponding areas in this window are filled with the
1914             colors specified in {@link android.R.attr#statusBarColor} and
1915             {@link android.R.attr#navigationBarColor}. Corresponds to
1916             {@link android.view.WindowManager.LayoutParams#FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS}. -->
1917        <attr name="windowDrawsSystemBarBackgrounds" format="boolean" />
1918
1919        <!-- The color for the status bar. If the color is not opaque, consider setting
1920             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and
1921             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN}.
1922             For this to take effect, the window must be drawing the system bar backgrounds with
1923             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not
1924             have been requested to be translucent with
1925             {@link android.R.attr#windowTranslucentStatus}.
1926             Corresponds to {@link android.view.Window#setStatusBarColor(int)}. -->
1927        <attr name="statusBarColor" format="color" />
1928
1929        <!-- The color for the navigation bar. If the color is not opaque, consider setting
1930             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and
1931             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION}.
1932             For this to take effect, the window must be drawing the system bar backgrounds with
1933             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not
1934             have been requested to be translucent with
1935             {@link android.R.attr#windowTranslucentNavigation}.
1936             Corresponds to {@link android.view.Window#setNavigationBarColor(int)}. -->
1937        <attr name="navigationBarColor" format="color" />
1938
1939        <!-- The duration, in milliseconds, of the window background fade duration
1940             when transitioning into or away from an Activity when called with an
1941             Activity Transition. Corresponds to
1942             {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. -->
1943        <attr name="windowTransitionBackgroundFadeDuration" />
1944
1945        <!-- Elevation to use for the window. -->
1946        <attr name="windowElevation" format="dimension" />
1947
1948        <!-- Whether to clip window content to the outline of the window background. -->
1949        <attr name="windowClipToOutline" format="boolean" />
1950    </declare-styleable>
1951
1952    <!-- The set of attributes that describe a AlertDialog's theme. -->
1953    <declare-styleable name="AlertDialog">
1954        <attr name="fullDark" format="reference|color" />
1955        <attr name="topDark" format="reference|color" />
1956        <attr name="centerDark" format="reference|color" />
1957        <attr name="bottomDark" format="reference|color" />
1958        <attr name="fullBright" format="reference|color" />
1959        <attr name="topBright" format="reference|color" />
1960        <attr name="centerBright" format="reference|color" />
1961        <attr name="bottomBright" format="reference|color" />
1962        <attr name="bottomMedium" format="reference|color" />
1963        <attr name="centerMedium" format="reference|color" />
1964        <attr name="layout" />
1965        <attr name="buttonPanelSideLayout" format="reference" />
1966        <attr name="listLayout" format="reference" />
1967        <attr name="multiChoiceItemLayout" format="reference" />
1968        <attr name="singleChoiceItemLayout" format="reference" />
1969        <attr name="listItemLayout" format="reference" />
1970        <attr name="progressLayout" format="reference" />
1971        <attr name="horizontalProgressLayout" format="reference" />
1972        <!-- @hide Whether fullDark, etc. should use default values if null. -->
1973        <attr name="needsDefaultBackgrounds" format="boolean" />
1974    </declare-styleable>
1975
1976    <!-- Fragment animation class attributes. -->
1977    <declare-styleable name="FragmentAnimation">
1978        <attr name="fragmentOpenEnterAnimation" format="reference" />
1979        <attr name="fragmentOpenExitAnimation" format="reference" />
1980        <attr name="fragmentCloseEnterAnimation" format="reference" />
1981        <attr name="fragmentCloseExitAnimation" format="reference" />
1982        <attr name="fragmentFadeEnterAnimation" format="reference" />
1983        <attr name="fragmentFadeExitAnimation" format="reference" />
1984    </declare-styleable>
1985
1986    <!-- Window animation class attributes. -->
1987    <declare-styleable name="WindowAnimation">
1988        <!-- The animation used when a window is being added. -->
1989        <attr name="windowEnterAnimation" format="reference" />
1990        <!-- The animation used when a window is being removed. -->
1991        <attr name="windowExitAnimation" format="reference" />
1992        <!-- The animation used when a window is going from INVISIBLE to VISIBLE. -->
1993        <attr name="windowShowAnimation" format="reference" />
1994        <!-- The animation used when a window is going from VISIBLE to INVISIBLE. -->
1995        <attr name="windowHideAnimation" format="reference" />
1996
1997        <!--  When opening a new activity, this is the animation that is
1998              run on the next activity (which is entering the screen). -->
1999        <attr name="activityOpenEnterAnimation" format="reference" />
2000        <!--  When opening a new activity, this is the animation that is
2001              run on the previous activity (which is exiting the screen). -->
2002        <attr name="activityOpenExitAnimation" format="reference" />
2003        <!--  When closing the current activity, this is the animation that is
2004              run on the next activity (which is entering the screen). -->
2005        <attr name="activityCloseEnterAnimation" format="reference" />
2006        <!--  When closing the current activity, this is the animation that is
2007              run on the current activity (which is exiting the screen). -->
2008        <attr name="activityCloseExitAnimation" format="reference" />
2009        <!--  When opening an activity in a new task, this is the animation that is
2010              run on the activity of the new task (which is entering the screen). -->
2011        <attr name="taskOpenEnterAnimation" format="reference" />
2012        <!--  When opening an activity in a new task, this is the animation that is
2013              run on the activity of the old task (which is exiting the screen). -->
2014        <attr name="taskOpenExitAnimation" format="reference" />
2015        <!--  When opening an activity in a new task using Intent/FLAG_ACTIVITY_LAUNCH_BEHIND,
2016              this is the animation that is run on the activity of the new task (which is
2017              entering the screen and then leaving). -->
2018        <attr name="launchTaskBehindTargetAnimation" format="reference" />
2019        <!--  When opening an activity in a new task using Intent.FLAG_ACTIVITY_LAUNCH_BEHIND,
2020              this is the animation that is run on the activity of the old task (which is
2021              already on the screen and then stays on). -->
2022        <attr name="launchTaskBehindSourceAnimation" format="reference" />
2023        <!--  When closing the last activity of a task, this is the animation that is
2024              run on the activity of the next task (which is entering the screen). -->
2025        <attr name="taskCloseEnterAnimation" format="reference" />
2026        <!--  When opening an activity in a new task, this is the animation that is
2027              run on the activity of the old task (which is exiting the screen). -->
2028        <attr name="taskCloseExitAnimation" format="reference" />
2029        <!--  When bringing an existing task to the foreground, this is the
2030              animation that is run on the top activity of the task being brought
2031              to the foreground (which is entering the screen). -->
2032        <attr name="taskToFrontEnterAnimation" format="reference" />
2033        <!--  When bringing an existing task to the foreground, this is the
2034              animation that is run on the current foreground activity
2035              (which is exiting the screen). -->
2036        <attr name="taskToFrontExitAnimation" format="reference" />
2037        <!--  When sending the current task to the background, this is the
2038              animation that is run on the top activity of the task behind
2039              it (which is entering the screen). -->
2040        <attr name="taskToBackEnterAnimation" format="reference" />
2041        <!--  When sending the current task to the background, this is the
2042              animation that is run on the top activity of the current task
2043              (which is exiting the screen). -->
2044        <attr name="taskToBackExitAnimation" format="reference" />
2045
2046        <!--  When opening a new activity that shows the wallpaper, while
2047              currently not showing the wallpaper, this is the animation that
2048              is run on the new wallpaper activity (which is entering the screen). -->
2049        <attr name="wallpaperOpenEnterAnimation" format="reference" />
2050        <!--  When opening a new activity that shows the wallpaper, while
2051              currently not showing the wallpaper, this is the animation that
2052              is run on the current activity (which is exiting the screen). -->
2053        <attr name="wallpaperOpenExitAnimation" format="reference" />
2054        <!--  When opening a new activity that hides the wallpaper, while
2055              currently showing the wallpaper, this is the animation that
2056              is run on the new activity (which is entering the screen). -->
2057        <attr name="wallpaperCloseEnterAnimation" format="reference" />
2058        <!--  When opening a new activity that hides the wallpaper, while
2059              currently showing the wallpaper, this is the animation that
2060              is run on the old wallpaper activity (which is exiting the screen). -->
2061        <attr name="wallpaperCloseExitAnimation" format="reference" />
2062
2063        <!--  When opening a new activity that is on top of the wallpaper
2064              when the current activity is also on top of the wallpaper,
2065              this is the animation that is run on the new activity
2066              (which is entering the screen).  The wallpaper remains
2067              static behind the animation. -->
2068        <attr name="wallpaperIntraOpenEnterAnimation" format="reference" />
2069        <!--  When opening a new activity that is on top of the wallpaper
2070              when the current activity is also on top of the wallpaper,
2071              this is the animation that is run on the current activity
2072              (which is exiting the screen).  The wallpaper remains
2073              static behind the animation. -->
2074        <attr name="wallpaperIntraOpenExitAnimation" format="reference" />
2075        <!--  When closing a foreround activity that is on top of the wallpaper
2076              when the previous activity is also on top of the wallpaper,
2077              this is the animation that is run on the previous activity
2078              (which is entering the screen).  The wallpaper remains
2079              static behind the animation. -->
2080        <attr name="wallpaperIntraCloseEnterAnimation" format="reference" />
2081        <!--  When closing a foreround activity that is on top of the wallpaper
2082              when the previous activity is also on top of the wallpaper,
2083              this is the animation that is run on the current activity
2084              (which is exiting the screen).  The wallpaper remains
2085              static behind the animation. -->
2086        <attr name="wallpaperIntraCloseExitAnimation" format="reference" />
2087    </declare-styleable>
2088
2089    <!-- ============================= -->
2090    <!-- View package class attributes -->
2091    <!-- ============================= -->
2092    <eat-comment />
2093
2094    <!-- Attributes that can be used with {@link android.view.View} or
2095         any of its subclasses.  Also see {@link #ViewGroup_Layout} for
2096         attributes that are processed by the view's parent. -->
2097    <declare-styleable name="View">
2098        <!-- Supply an identifier name for this view, to later retrieve it
2099             with {@link android.view.View#findViewById View.findViewById()} or
2100             {@link android.app.Activity#findViewById Activity.findViewById()}.
2101             This must be a
2102             resource reference; typically you set this using the
2103             <code>@+</code> syntax to create a new ID resources.
2104             For example: <code>android:id="@+id/my_id"</code> which
2105             allows you to later retrieve the view
2106             with <code>findViewById(R.id.my_id)</code>. -->
2107        <attr name="id" format="reference" />
2108
2109        <!-- Supply a tag for this view containing a String, to be retrieved
2110             later with {@link android.view.View#getTag View.getTag()} or
2111             searched for with {@link android.view.View#findViewWithTag
2112             View.findViewWithTag()}.  It is generally preferable to use
2113             IDs (through the android:id attribute) instead of tags because
2114             they are faster and allow for compile-time type checking. -->
2115        <attr name="tag" format="string" />
2116
2117        <!-- The initial horizontal scroll offset, in pixels.-->
2118        <attr name="scrollX" format="dimension" />
2119
2120        <!-- The initial vertical scroll offset, in pixels. -->
2121        <attr name="scrollY" format="dimension" />
2122
2123        <!-- A drawable to use as the background.  This can be either a reference
2124             to a full drawable resource (such as a PNG image, 9-patch,
2125             XML state list description, etc), or a solid color such as "#ff000000"
2126            (black). -->
2127        <attr name="background" format="reference|color" />
2128
2129        <!-- Sets the padding, in pixels, of all four edges.  Padding is defined as
2130             space between the edges of the view and the view's content. A views size
2131             will include it's padding.  If a {@link android.R.attr#background}
2132             is provided, the padding will initially be set to that (0 if the
2133             drawable does not have padding).  Explicitly setting a padding value
2134             will override the corresponding padding found in the background. -->
2135        <attr name="padding" format="dimension" />
2136        <!-- Sets the padding, in pixels, of the left edge; see {@link android.R.attr#padding}. -->
2137        <attr name="paddingLeft" format="dimension" />
2138        <!-- Sets the padding, in pixels, of the top edge; see {@link android.R.attr#padding}. -->
2139        <attr name="paddingTop" format="dimension" />
2140        <!-- Sets the padding, in pixels, of the right edge; see {@link android.R.attr#padding}. -->
2141        <attr name="paddingRight" format="dimension" />
2142        <!-- Sets the padding, in pixels, of the bottom edge; see {@link android.R.attr#padding}. -->
2143        <attr name="paddingBottom" format="dimension" />
2144        <!-- Sets the padding, in pixels, of the start edge; see {@link android.R.attr#padding}. -->
2145        <attr name="paddingStart" format="dimension" />
2146        <!-- Sets the padding, in pixels, of the end edge; see {@link android.R.attr#padding}. -->
2147        <attr name="paddingEnd" format="dimension" />
2148
2149        <!-- Boolean that controls whether a view can take focus.  By default the user can not
2150             move focus to a view; by setting this attribute to true the view is
2151             allowed to take focus.  This value does not impact the behavior of
2152             directly calling {@link android.view.View#requestFocus}, which will
2153             always request focus regardless of this view.  It only impacts where
2154             focus navigation will try to move focus. -->
2155        <attr name="focusable" format="boolean" />
2156
2157        <!-- Boolean that controls whether a view can take focus while in touch mode.
2158             If this is true for a view, that view can gain focus when clicked on, and can keep
2159             focus if another view is clicked on that doesn't have this attribute set to true. -->
2160        <attr name="focusableInTouchMode" format="boolean" />
2161
2162        <!-- Controls the initial visibility of the view.  -->
2163        <attr name="visibility">
2164            <!-- Visible on screen; the default value. -->
2165            <enum name="visible" value="0" />
2166            <!-- Not displayed, but taken into account during layout (space is left for it). -->
2167            <enum name="invisible" value="1" />
2168            <!-- Completely hidden, as if the view had not been added. -->
2169            <enum name="gone" value="2" />
2170        </attr>
2171
2172        <!-- Boolean internal attribute to adjust view layout based on
2173             system windows such as the status bar.
2174             If true, adjusts the padding of this view to leave space for the system windows.
2175             Will only take effect if this view is in a non-embedded activity. -->
2176        <attr name="fitsSystemWindows" format="boolean" />
2177
2178        <!-- Defines which scrollbars should be displayed on scrolling or not. -->
2179        <attr name="scrollbars">
2180            <!-- No scrollbar is displayed. -->
2181            <flag name="none" value="0x00000000" />
2182            <!-- Displays horizontal scrollbar only. -->
2183            <flag name="horizontal" value="0x00000100" />
2184            <!-- Displays vertical scrollbar only. -->
2185            <flag name="vertical" value="0x00000200" />
2186        </attr>
2187
2188        <!-- Controls the scrollbar style and position. The scrollbars can be overlaid or
2189             inset. When inset, they add to the padding of the view. And the
2190             scrollbars can be drawn inside the padding area or on the edge of
2191             the view. For example, if a view has a background drawable and you
2192             want to draw the scrollbars inside the padding specified by the
2193             drawable, you can use insideOverlay or insideInset. If you want them
2194             to appear at the edge of the view, ignoring the padding, then you can
2195             use outsideOverlay or outsideInset.-->
2196        <attr name="scrollbarStyle">
2197            <!-- Inside the padding and overlaid -->
2198            <enum name="insideOverlay" value="0x0" />
2199            <!-- Inside the padding and inset -->
2200            <enum name="insideInset" value="0x01000000" />
2201            <!-- Edge of the view and overlaid -->
2202            <enum name="outsideOverlay" value="0x02000000" />
2203            <!-- Edge of the view and inset -->
2204            <enum name="outsideInset" value="0x03000000" />
2205        </attr>
2206
2207        <!-- Set this if the view will serve as a scrolling container, meaing
2208             that it can be resized to shrink its overall window so that there
2209             will be space for an input method.  If not set, the default
2210             value will be true if "scrollbars" has the vertical scrollbar
2211             set, else it will be false. -->
2212        <attr name="isScrollContainer" format="boolean" />
2213
2214          <!-- Defines whether to fade out scrollbars when they are not in use. -->
2215         <attr name="fadeScrollbars" format="boolean" />
2216         <!-- Defines the delay in milliseconds that a scrollbar takes to fade out. -->
2217         <attr name="scrollbarFadeDuration" format="integer" />
2218         <!-- Defines the delay in milliseconds that a scrollbar waits before fade out. -->
2219        <attr name="scrollbarDefaultDelayBeforeFade" format="integer" />
2220        <!-- Sets the width of vertical scrollbars and height of horizontal scrollbars. -->
2221        <attr name="scrollbarSize" format="dimension" />
2222        <!-- Defines the horizontal scrollbar thumb drawable. -->
2223        <attr name="scrollbarThumbHorizontal" format="reference" />
2224        <!-- Defines the vertical scrollbar thumb drawable. -->
2225        <attr name="scrollbarThumbVertical" format="reference" />
2226        <!-- Defines the horizontal scrollbar track drawable. -->
2227        <attr name="scrollbarTrackHorizontal" format="reference" />
2228        <!-- Defines the vertical scrollbar track drawable. -->
2229        <attr name="scrollbarTrackVertical" format="reference" />
2230        <!-- Defines whether the horizontal scrollbar track should always be drawn. -->
2231        <attr name="scrollbarAlwaysDrawHorizontalTrack" format="boolean" />
2232        <!-- Defines whether the vertical scrollbar track should always be drawn. -->
2233        <attr name="scrollbarAlwaysDrawVerticalTrack" format="boolean" />
2234
2235        <!-- This attribute is deprecated and will be ignored as of
2236             API level 14 ({@link android.os.Build.VERSION_CODES#ICE_CREAM_SANDWICH}).
2237             Using fading edges may introduce noticeable performance
2238             degradations and should be used only when required by the application's
2239             visual design. To request fading edges with API level 14 and above,
2240             use the <code>android:requiresFadingEdge</code> attribute instead. -->
2241        <attr name="fadingEdge">
2242            <!-- No edge is faded. -->
2243            <flag name="none" value="0x00000000" />
2244            <!-- Fades horizontal edges only. -->
2245            <flag name="horizontal" value="0x00001000" />
2246            <!-- Fades vertical edges only. -->
2247            <flag name="vertical" value="0x00002000" />
2248        </attr>
2249        <!-- Defines which edges should be faded on scrolling. -->
2250        <attr name="requiresFadingEdge">
2251            <!-- No edge is faded. -->
2252            <flag name="none" value="0x00000000" />
2253            <!-- Fades horizontal edges only. -->
2254            <flag name="horizontal" value="0x00001000" />
2255            <!-- Fades vertical edges only. -->
2256            <flag name="vertical" value="0x00002000" />
2257        </attr>
2258        <!-- Defines the length of the fading edges. -->
2259        <attr name="fadingEdgeLength" format="dimension" />
2260
2261        <!-- Defines the next view to give focus to when the next focus is
2262             {@link android.view.View#FOCUS_LEFT}.
2263
2264             If the reference refers to a view that does not exist or is part
2265             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2266             will result when the reference is accessed.-->
2267        <attr name="nextFocusLeft" format="reference"/>
2268
2269        <!-- Defines the next view to give focus to when the next focus is
2270             {@link android.view.View#FOCUS_RIGHT}
2271
2272             If the reference refers to a view that does not exist or is part
2273             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2274             will result when the reference is accessed.-->
2275        <attr name="nextFocusRight" format="reference"/>
2276
2277        <!-- Defines the next view to give focus to when the next focus is
2278             {@link android.view.View#FOCUS_UP}
2279
2280             If the reference refers to a view that does not exist or is part
2281             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2282             will result when the reference is accessed.-->
2283        <attr name="nextFocusUp" format="reference"/>
2284
2285        <!-- Defines the next view to give focus to when the next focus is
2286             {@link android.view.View#FOCUS_DOWN}
2287
2288             If the reference refers to a view that does not exist or is part
2289             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2290             will result when the reference is accessed.-->
2291        <attr name="nextFocusDown" format="reference"/>
2292
2293        <!-- Defines the next view to give focus to when the next focus is
2294             {@link android.view.View#FOCUS_FORWARD}
2295
2296             If the reference refers to a view that does not exist or is part
2297             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2298             will result when the reference is accessed.-->
2299        <attr name="nextFocusForward" format="reference"/>
2300
2301        <!-- Defines whether this view reacts to click events. -->
2302        <attr name="clickable" format="boolean" />
2303
2304        <!-- Defines whether this view reacts to long click events. -->
2305        <attr name="longClickable" format="boolean" />
2306
2307        <!-- If unset, no state will be saved for this view when it is being
2308             frozen. The default is true, allowing the view to be saved
2309             (however it also must have an ID assigned to it for its
2310             state to be saved).  Setting this to false only disables the
2311             state for this view, not for its children which may still
2312             be saved. -->
2313        <attr name="saveEnabled" format="boolean" />
2314
2315        <!-- Specifies whether to filter touches when the view's window is obscured by
2316             another visible window.  When set to true, the view will not receive touches
2317             whenever a toast, dialog or other window appears above the view's window.
2318             Refer to the {@link android.view.View} security documentation for more details. -->
2319        <attr name="filterTouchesWhenObscured" format="boolean" />
2320
2321        <!-- Defines the quality of translucent drawing caches. This property is used
2322             only when the drawing cache is enabled and translucent. The default value is auto. -->
2323        <attr name="drawingCacheQuality">
2324            <!-- Lets the framework decide what quality level should be used
2325                 for the drawing cache. -->
2326            <enum name="auto" value="0" />
2327            <!-- Low quality. When set to low quality, the drawing cache uses a lower color
2328                 depth, thus losing precision in rendering gradients, but uses less memory. -->
2329            <enum name="low" value="1" />
2330            <!-- High quality. When set to high quality, the drawing cache uses a higher
2331                 color depth but uses more memory. -->
2332            <enum name="high" value="2" />
2333        </attr>
2334
2335        <!-- Controls whether the view's window should keep the screen on
2336             while visible. -->
2337        <attr name="keepScreenOn" format="boolean" />
2338
2339        <!-- When this attribute is set to true, the view gets its drawable state
2340             (focused, pressed, etc.) from its direct parent rather than from itself. -->
2341        <attr name="duplicateParentState" format="boolean" />
2342
2343        <!-- Defines the minimum height of the view. It is not guaranteed
2344             the view will be able to achieve this minimum height (for example,
2345             if its parent layout constrains it with less available height). -->
2346        <attr name="minHeight" />
2347
2348        <!-- Defines the minimum width of the view. It is not guaranteed
2349             the view will be able to achieve this minimum width (for example,
2350             if its parent layout constrains it with less available width). -->
2351        <attr name="minWidth" />
2352
2353        <!-- Boolean that controls whether a view should have sound effects
2354             enabled for events such as clicking and touching. -->
2355        <attr name="soundEffectsEnabled" format="boolean" />
2356
2357        <!-- Boolean that controls whether a view should have haptic feedback
2358             enabled for events such as long presses. -->
2359        <attr name="hapticFeedbackEnabled" format="boolean" />
2360
2361        <!-- Defines text that briefly describes content of the view. This property is used
2362             primarily for accessibility. Since some views do not have textual
2363             representation this attribute can be used for providing such. -->
2364        <attr name="contentDescription" format="string" localization="suggested" />
2365
2366        <!-- Name of the method in this View's context to invoke when the view is
2367             clicked. This name must correspond to a public method that takes
2368             exactly one parameter of type View. For instance, if you specify
2369             <code>android:onClick="sayHello"</code>, you must declare a
2370             <code>public void sayHello(View v)</code> method of your context
2371             (typically, your Activity). -->
2372        <attr name="onClick" format="string" />
2373
2374        <!-- Defines over-scrolling behavior. This property is used only if the
2375             View is scrollable. Over-scrolling is the ability for the user to
2376             receive feedback when attempting to scroll beyond meaningful content. -->
2377        <attr name="overScrollMode">
2378            <!-- Always show over-scroll effects, even if the content fits entirely
2379                 within the available space. -->
2380            <enum name="always" value="0" />
2381            <!-- Only show over-scroll effects if the content is large
2382                 enough to meaningfully scroll. -->
2383            <enum name="ifContentScrolls" value="1" />
2384            <!-- Never show over-scroll effects. -->
2385            <enum name="never" value="2" />
2386        </attr>
2387
2388        <!-- alpha property of the view, as a value between 0 (completely transparent) and 1
2389             (completely opaque). -->
2390        <attr name="alpha" format="float" />
2391
2392        <!-- base z depth of the view -->
2393        <attr name="elevation" format="dimension" />
2394
2395        <!-- translation in x of the view. This value is added post-layout to the left
2396             property of the view, which is set by its layout. -->
2397        <attr name="translationX" format="dimension" />
2398
2399        <!-- translation in y of the view. This value is added post-layout to the top
2400             property of the view, which is set by its layout. -->
2401        <attr name="translationY" format="dimension" />
2402
2403        <!-- translation in z of the view. This value is added to its elevation. -->
2404        <attr name="translationZ" format="dimension" />
2405
2406        <!-- x location of the pivot point around which the view will rotate and scale.
2407             This xml attribute sets the pivotX property of the View. -->
2408        <attr name="transformPivotX" format="dimension" />
2409
2410        <!-- y location of the pivot point around which the view will rotate and scale.
2411             This xml attribute sets the pivotY property of the View. -->
2412        <attr name="transformPivotY" format="dimension" />
2413
2414        <!-- rotation of the view, in degrees. -->
2415        <attr name="rotation" format="float" />
2416
2417        <!-- rotation of the view around the x axis, in degrees. -->
2418        <attr name="rotationX" format="float" />
2419
2420        <!-- rotation of the view around the y axis, in degrees. -->
2421        <attr name="rotationY" format="float" />
2422
2423        <!-- scale of the view in the x direction. -->
2424        <attr name="scaleX" format="float" />
2425
2426        <!-- scale of the view in the y direction. -->
2427        <attr name="scaleY" format="float" />
2428
2429        <!-- Determines which side the vertical scroll bar should be placed on. -->
2430        <attr name="verticalScrollbarPosition">
2431            <!-- Place the scroll bar wherever the system default determines. -->
2432            <enum name="defaultPosition" value="0" />
2433            <!-- Place the scroll bar on the left. -->
2434            <enum name="left" value="1" />
2435            <!-- Place the scroll bar on the right. -->
2436            <enum name="right" value="2" />
2437        </attr>
2438
2439        <!-- Specifies the type of layer backing this view. The default value is none.
2440             Refer to {@link android.view.View#setLayerType(int, android.graphics.Paint)}
2441             for more information.-->
2442        <attr name="layerType">
2443            <!-- Don't use a layer. -->
2444            <enum name="none" value="0" />
2445            <!-- Use a software layer. Refer to
2446                 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for
2447                 more information. -->
2448            <enum name="software" value="1" />
2449            <!-- Use a hardware layer. Refer to
2450                 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for
2451                 more information. -->
2452            <enum name="hardware" value="2" />
2453        </attr>
2454
2455        <!-- Defines the direction of layout drawing. This typically is associated with writing
2456             direction of the language script used. The possible values are "ltr" for Left-to-Right,
2457             "rtl" for Right-to-Left, "locale" and "inherit" from parent view. If there is nothing
2458             to inherit, "locale" is used. "locale" falls back to "en-US". "ltr" is the direction
2459             used in "en-US". The default for this attribute is "inherit". -->
2460        <attr name="layoutDirection">
2461            <!-- Left-to-Right -->
2462            <enum name="ltr" value="0" />
2463            <!-- Right-to-Left -->
2464            <enum name="rtl" value="1" />
2465            <!-- Inherit from parent -->
2466            <enum name="inherit" value="2" />
2467            <!-- Locale -->
2468            <enum name="locale" value="3" />
2469        </attr>
2470
2471        <!-- Defines the direction of the text. A heuristic is used to determine the resolved text
2472              direction of paragraphs. -->
2473         <attr name="textDirection" format="integer">
2474            <!-- Default -->
2475            <enum name="inherit" value="0" />
2476            <!-- Default for the root view. The first strong directional character determines the
2477                 paragraph direction.  If there is no strong directional character, the paragraph
2478                 direction is the view’s resolved layout direction. -->
2479            <enum name="firstStrong" value="1" />
2480            <!-- The paragraph direction is RTL if it contains any strong RTL character, otherwise
2481                 it is LTR if it contains any strong LTR characters.  If there are neither, the
2482                 paragraph direction is the view’s resolved layout direction. -->
2483            <enum name="anyRtl" value="2" />
2484            <!-- The paragraph direction is left to right. -->
2485            <enum name="ltr" value="3" />
2486            <!-- The paragraph direction is right to left. -->
2487            <enum name="rtl" value="4" />
2488            <!-- The paragraph direction is coming from the system Locale. -->
2489            <enum name="locale" value="5" />
2490        </attr>
2491
2492        <!-- Defines the alignment of the text. A heuristic is used to determine the resolved
2493            text alignment. -->
2494        <attr name="textAlignment" format="integer">
2495            <!-- Default -->
2496            <enum name="inherit" value="0" />
2497            <!-- Default for the root view. The gravity determines the alignment, ALIGN_NORMAL,
2498                ALIGN_CENTER, or ALIGN_OPPOSITE, which are relative to each paragraph’s
2499                text direction -->
2500            <enum name="gravity" value="1" />
2501            <!-- Align to the start of the paragraph, e.g. ALIGN_NORMAL. -->
2502            <enum name="textStart" value="2" />
2503            <!-- Align to the end of the paragraph, e.g. ALIGN_OPPOSITE. -->
2504            <enum name="textEnd" value="3" />
2505            <!-- Center the paragraph, e.g. ALIGN_CENTER. -->
2506            <enum name="center" value="4" />
2507            <!-- Align to the start of the view, which is ALIGN_LEFT if the view’s resolved
2508                layoutDirection is LTR, and ALIGN_RIGHT otherwise. -->
2509            <enum name="viewStart" value="5" />
2510            <!-- Align to the end of the view, which is ALIGN_RIGHT if the view’s resolved
2511                layoutDirection is LTR, and ALIGN_LEFT otherwise -->
2512            <enum name="viewEnd" value="6" />
2513        </attr>
2514
2515        <!-- Controls how this View is important for accessibility which is if it fires
2516             accessibility events and if it is reported to accessibility services that
2517             query the screen. Note: While not recommended, an accessibility service may
2518             decide to ignore this attribute and operate on all views in the view tree. -->
2519        <attr name="importantForAccessibility" format="integer">
2520            <!-- The system determines whether the view is important for accessibility - default
2521                 (recommended). -->
2522            <enum name="auto" value="0" />
2523            <!-- The view is important for accessibility. -->
2524            <enum name="yes" value="1" />
2525            <!-- The view is not important for accessibility. -->
2526            <enum name="no" value="2" />
2527            <!-- The view is not important for accessibility, nor are any of its descendant
2528                 views. -->
2529            <enum name="noHideDescendants" value="4" />
2530        </attr>
2531
2532        <!-- Indicates to accessibility services whether the user should be notified when
2533             this view changes. -->
2534        <attr name="accessibilityLiveRegion" format="integer">
2535            <!-- Accessibility services should not announce changes to this view. -->
2536            <enum name="none" value="0" />
2537            <!-- Accessibility services should announce changes to this view. -->
2538            <enum name="polite" value="1" />
2539            <!-- Accessibility services should interrupt ongoing speech to immediately
2540                 announce changes to this view. -->
2541            <enum name="assertive" value="2" />
2542        </attr>
2543
2544        <!-- Specifies the id of a view for which this view serves as a label for
2545             accessibility purposes. For example, a TextView before an EditText in
2546             the UI usually specifies what infomation is contained in the EditText.
2547             Hence, the TextView is a label for the EditText. -->
2548        <attr name="labelFor" format="reference" />
2549
2550        <!-- Specifies a theme override for a view. When a theme override is set, the
2551             view will be inflated using a {@link android.content.Context} themed with
2552             the specified resource. During XML inflation, any child views under the
2553             view with a theme override will inherit the themed context. -->
2554        <attr name="theme" />
2555
2556        <!-- Names a View such that it can be identified for Transitions. Names should be
2557             unique in the View hierarchy. -->
2558        <attr name="transitionName" format="string" />
2559
2560        <!-- Specifies that this view should permit nested scrolling within a compatible
2561             ancestor view. -->
2562        <attr name="nestedScrollingEnabled" format="boolean" />
2563
2564        <!-- Sets the state-based animator for the View. -->
2565        <attr name="stateListAnimator" format="reference"/>
2566
2567        <!-- Tint to apply to the background. -->
2568        <attr name="backgroundTint" format="color" />
2569
2570        <!-- Blending mode used to apply the background tint. -->
2571        <attr name="backgroundTintMode">
2572            <!-- The tint is drawn on top of the drawable.
2573                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
2574            <enum name="src_over" value="3" />
2575            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
2576                 color channels are thrown out. [Sa * Da, Sc * Da] -->
2577            <enum name="src_in" value="5" />
2578            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
2579                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
2580            <enum name="src_atop" value="9" />
2581            <!-- Multiplies the color and alpha channels of the drawable with those of
2582                 the tint. [Sa * Da, Sc * Dc] -->
2583            <enum name="multiply" value="14" />
2584            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
2585            <enum name="screen" value="15" />
2586            <!-- Combines the tint and drawable color and alpha channels, clamping the
2587                 result to valid color values. Saturate(S + D) -->
2588            <enum name="add" value="16" />
2589        </attr>
2590
2591        <!-- ViewOutlineProvider used to determine the View's Outline. -->
2592        <attr name="outlineProvider">
2593            <!-- Default, background drawable-driven outline. -->
2594            <enum name="background" value="0" />
2595            <!-- No outline provider. -->
2596            <enum name="none" value="1" />
2597            <!-- Generates an opaque outline for the bounds of the view. -->
2598            <enum name="bounds" value="2" />
2599            <!-- Generates an opaque outline for the padded bounds of the view. -->
2600            <enum name="paddedBounds" value="3" />
2601        </attr>
2602
2603    </declare-styleable>
2604
2605    <!-- Attributes that can be assigned to a tag for a particular View. -->
2606    <declare-styleable name="ViewTag">
2607        <!-- Specifies the key identifying a tag. This must be a resource reference. -->
2608        <attr name="id" />
2609        <!-- Specifies the value with which to tag the view. -->
2610        <attr name="value" />
2611    </declare-styleable>
2612
2613    <!-- Attributes that can be used with a {@link android.view.ViewGroup} or any
2614         of its subclasses.  Also see {@link #ViewGroup_Layout} for
2615         attributes that this class processes in its children. -->
2616    <declare-styleable name="ViewGroup">
2617        <!-- Defines whether changes in layout (caused by adding and removing items) should
2618             cause a LayoutTransition to run. When this flag is set to true, a default
2619             LayoutTransition object will be set on the ViewGroup container and default
2620             animations will run when these layout changes occur.-->
2621        <attr name="animateLayoutChanges" format="boolean" />
2622        <!-- Defines whether a child is limited to draw inside of its bounds or not.
2623             This is useful with animations that scale the size of the children to more
2624             than 100% for instance. In such a case, this property should be set to false
2625             to allow the children to draw outside of their bounds. The default value of
2626             this property is true. -->
2627        <attr name="clipChildren" format="boolean" />
2628        <!-- Defines whether the ViewGroup will clip its drawing surface so as to exclude
2629             the padding area. This property is set to true by default. -->
2630        <attr name="clipToPadding" format="boolean" />
2631        <!-- Defines the layout animation to use the first time the ViewGroup is laid out.
2632             Layout animations can also be started manually after the first layout. -->
2633        <attr name="layoutAnimation" format="reference" />
2634        <!-- Defines whether layout animations should create a drawing cache for their
2635             children. Enabling the animation cache consumes more memory and requires
2636             a longer initialization but provides better performance. The animation
2637             cache is enabled by default. -->
2638        <attr name="animationCache" format="boolean" />
2639        <!-- Defines the persistence of the drawing cache. The drawing cache might be
2640             enabled by a ViewGroup for all its children in specific situations (for
2641             instance during a scrolling.) This property lets you persist the cache
2642             in memory after its initial usage. Persisting the cache consumes more
2643             memory but may prevent frequent garbage collection is the cache is created
2644             over and over again. By default the persistence is set to scrolling. -->
2645        <attr name="persistentDrawingCache">
2646            <!-- The drawing cache is not persisted after use. -->
2647            <flag name="none" value="0x0" />
2648            <!-- The drawing cache is persisted after a layout animation. -->
2649            <flag name="animation" value="0x1" />
2650            <!-- The drawing cache is persisted after a scroll. -->
2651            <flag name="scrolling" value="0x2" />
2652            <!-- The drawing cache is always persisted. -->
2653            <flag name="all" value="0x3" />
2654        </attr>
2655        <!-- Defines whether the ViewGroup should always draw its children using their
2656             drawing cache or not. The default value is true. -->
2657        <attr name="alwaysDrawnWithCache" format="boolean" />
2658        <!-- Sets whether this ViewGroup's drawable states also include
2659             its children's drawable states.  This is used, for example, to
2660             make a group appear to be focused when its child EditText or button
2661             is focused. -->
2662        <attr name="addStatesFromChildren" format="boolean" />
2663
2664        <!-- Defines the relationship between the ViewGroup and its descendants
2665             when looking for a View to take focus. -->
2666        <attr name="descendantFocusability">
2667            <!-- The ViewGroup will get focus before any of its descendants. -->
2668            <enum name="beforeDescendants" value="0" />
2669            <!-- The ViewGroup will get focus only if none of its descendants want it. -->
2670            <enum name="afterDescendants" value="1" />
2671            <!-- The ViewGroup will block its descendants from receiving focus. -->
2672            <enum name="blocksDescendants" value="2" />
2673        </attr>
2674
2675        <!-- Set to true if this ViewGroup blocks focus in the presence of a touchscreen. -->
2676        <attr name="touchscreenBlocksFocus" format="boolean" />
2677
2678        <!-- Sets whether this ViewGroup should split MotionEvents
2679             to separate child views during touch event dispatch.
2680             If false (default), touch events will be dispatched to
2681             the child view where the first pointer went down until
2682             the last pointer goes up.
2683             If true, touch events may be dispatched to multiple children.
2684             MotionEvents for each pointer will be dispatched to the child
2685             view where the initial ACTION_DOWN event happened.
2686             See {@link android.view.ViewGroup#setMotionEventSplittingEnabled(boolean)}
2687             for more information. -->
2688        <attr name="splitMotionEvents" format="boolean" />
2689
2690        <!-- Defines the layout mode of this ViewGroup. -->
2691        <attr name="layoutMode">
2692            <!-- Use the children's clip bounds when laying out this container. -->
2693            <enum name="clipBounds" value="0" />
2694            <!-- Use the children's optical bounds when laying out this container. -->
2695            <enum name="opticalBounds" value="1" />
2696        </attr>
2697
2698        <!-- Sets whether or not this ViewGroup should be treated as a single entity
2699             when doing an Activity transition. Typically, the elements inside a
2700             ViewGroup are each transitioned from the scene individually. The default
2701             for a ViewGroup is false unless it has a background. See
2702             {@link android.app.ActivityOptions#makeSceneTransitionAnimation(android.app.Activity,
2703             android.view.View, String)} for more information. Corresponds to
2704             {@link android.view.ViewGroup#setTransitionGroup(boolean)}.-->
2705        <attr name="transitionGroup" format="boolean" />
2706    </declare-styleable>
2707
2708    <!-- A {@link android.view.ViewStub} lets you lazily include other XML layouts
2709         inside your application at runtime. -->
2710    <declare-styleable name="ViewStub">
2711        <!-- Supply an identifier for the layout resource to inflate when the ViewStub
2712             becomes visible or when forced to do so. The layout resource must be a
2713             valid reference to a layout. -->
2714        <attr name="layout" format="reference" />
2715        <!-- Overrides the id of the inflated View with this value. -->
2716        <attr name="inflatedId" format="reference" />
2717    </declare-styleable>
2718
2719    <!-- ===================================== -->
2720    <!-- View package parent layout attributes -->
2721    <!-- ===================================== -->
2722    <eat-comment />
2723
2724    <!-- This is the basic set of layout attributes that are common to all
2725         layout managers.  These attributes are specified with the rest of
2726         a view's normal attributes (such as {@link android.R.attr#background},
2727         but will be parsed by the view's parent and ignored by the child.
2728        <p>The values defined here correspond to the base layout attribute
2729        class {@link android.view.ViewGroup.LayoutParams}. -->
2730    <declare-styleable name="ViewGroup_Layout">
2731        <!-- Specifies the basic width of the view.  This is a required attribute
2732             for any view inside of a containing layout manager.  Its value may
2733             be a dimension (such as "12dip") for a constant width or one of
2734             the special constants. -->
2735        <attr name="layout_width" format="dimension">
2736            <!-- The view should be as big as its parent (minus padding).
2737                 This constant is deprecated starting from API Level 8 and
2738                 is replaced by {@code match_parent}. -->
2739            <enum name="fill_parent" value="-1" />
2740            <!-- The view should be as big as its parent (minus padding).
2741                 Introduced in API Level 8. -->
2742            <enum name="match_parent" value="-1" />
2743            <!-- The view should be only big enough to enclose its content (plus padding). -->
2744            <enum name="wrap_content" value="-2" />
2745        </attr>
2746
2747        <!-- Specifies the basic height of the view.  This is a required attribute
2748             for any view inside of a containing layout manager.  Its value may
2749             be a dimension (such as "12dip") for a constant height or one of
2750             the special constants. -->
2751        <attr name="layout_height" format="dimension">
2752            <!-- The view should be as big as its parent (minus padding).
2753                 This constant is deprecated starting from API Level 8 and
2754                 is replaced by {@code match_parent}. -->
2755            <enum name="fill_parent" value="-1" />
2756            <!-- The view should be as big as its parent (minus padding).
2757                 Introduced in API Level 8. -->
2758            <enum name="match_parent" value="-1" />
2759            <!-- The view should be only big enough to enclose its content (plus padding). -->
2760            <enum name="wrap_content" value="-2" />
2761        </attr>
2762    </declare-styleable>
2763
2764    <!-- This is the basic set of layout attributes for layout managers that
2765         wish to place margins around their child views.
2766         These attributes are specified with the rest of
2767         a view's normal attributes (such as {@link android.R.attr#background},
2768         but will be parsed by the view's parent and ignored by the child.
2769        <p>The values defined here correspond to the base layout attribute
2770        class {@link android.view.ViewGroup.MarginLayoutParams}. -->
2771    <declare-styleable name="ViewGroup_MarginLayout">
2772        <attr name="layout_width" />
2773        <attr name="layout_height" />
2774        <!--  Specifies extra space on the left, top, right and bottom
2775              sides of this view. This space is outside this view's bounds. -->
2776        <attr name="layout_margin" format="dimension"  />
2777        <!--  Specifies extra space on the left side of this view.
2778              This space is outside this view's bounds. -->
2779        <attr name="layout_marginLeft" format="dimension"  />
2780        <!--  Specifies extra space on the top side of this view.
2781              This space is outside this view's bounds. -->
2782        <attr name="layout_marginTop" format="dimension" />
2783        <!--  Specifies extra space on the right side of this view.
2784              This space is outside this view's bounds. -->
2785        <attr name="layout_marginRight" format="dimension"  />
2786        <!--  Specifies extra space on the bottom side of this view.
2787              This space is outside this view's bounds. -->
2788        <attr name="layout_marginBottom" format="dimension"  />
2789        <!--  Specifies extra space on the start side of this view.
2790              This space is outside this view's bounds. -->
2791        <attr name="layout_marginStart" format="dimension"  />
2792        <!--  Specifies extra space on the end side of this view.
2793              This space is outside this view's bounds. -->
2794        <attr name="layout_marginEnd" format="dimension"  />
2795    </declare-styleable>
2796
2797    <!-- Use <code>input-method</code> as the root tag of the XML resource that
2798         describes an
2799         {@link android.view.inputmethod.InputMethod} service, which is
2800         referenced from its
2801         {@link android.view.inputmethod.InputMethod#SERVICE_META_DATA}
2802         meta-data entry.  Described here are the attributes that can be
2803         included in that tag. -->
2804    <declare-styleable name="InputMethod">
2805        <!-- Component name of an activity that allows the user to modify
2806             the settings for this service. -->
2807        <attr name="settingsActivity" format="string" />
2808        <!-- Set to true in all of the configurations for which this input
2809             method should be considered an option as the default. -->
2810        <attr name="isDefault" format="boolean" />
2811        <!-- Set to true if this input method supports ways to switch to
2812             a next input method (e.g. a globe key.). When this is true and
2813             InputMethodManager#shouldOfferSwitchingToNextInputMethod() returns true,
2814             the IME has to offer ways to invoke InputMethodManager#switchToNextInputMethod()
2815             accordingly.
2816             <p> Note that the system determines the most appropriate next input method
2817             and subtype in order to provide the consistent user experience in switching
2818             between IMEs and subtypes. -->
2819        <attr name="supportsSwitchingToNextInputMethod" format="boolean" />
2820    </declare-styleable>
2821
2822    <!-- This is the subtype of InputMethod. Subtype can describe locales (e.g. en_US, fr_FR...)
2823         and modes (e.g. voice, keyboard...), and is used for IME switch. This subtype allows
2824         the system to call the specified subtype of the IME directly. -->
2825    <declare-styleable name="InputMethod_Subtype">
2826        <!-- The name of the subtype. -->
2827        <attr name="label" />
2828        <!-- The icon of the subtype. -->
2829        <attr name="icon" />
2830        <!-- The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...)
2831             and will be passed to the IME when the framework calls the IME
2832             with the subtype. This is also used by the framework to know the supported locales
2833             of the IME.  -->
2834        <attr name="imeSubtypeLocale" format="string" />
2835        <!-- The mode of the subtype. This string can be a mode (e.g. voice, keyboard...) and this
2836             string will be passed to the IME when the framework calls the IME with the
2837             subtype.  -->
2838        <attr name="imeSubtypeMode" format="string" />
2839        <!-- Set true if the subtype is auxiliary.  An auxiliary subtype won't be shown in the
2840             input method selection list in the settings app.
2841             InputMethodManager#switchToLastInputMethod will ignore auxiliary subtypes when it
2842             chooses a target subtype. -->
2843        <attr name="isAuxiliary" format="boolean" />
2844        <!-- Set true when this subtype should be selected by default if no other subtypes are
2845             selected explicitly. Note that a subtype with this parameter being true will
2846             not be shown in the subtypes list. -->
2847        <attr name="overridesImplicitlyEnabledSubtype" format="boolean" />
2848        <!-- The extra value of the subtype. This string can be any string and will be passed to
2849             the IME when the framework calls the IME with the subtype.  -->
2850        <attr name="imeSubtypeExtraValue" format="string" />
2851        <!-- The unique id for the subtype. The input method framework keeps track of enabled
2852             subtypes by ID. When the IME package gets upgraded, enabled IDs will stay enabled even
2853             if other attributes are different. If the ID is unspecified (by calling the other
2854             constructor or 0. Arrays.hashCode(new Object[] {locale, mode, extraValue,
2855             isAuxiliary, overridesImplicitlyEnabledSubtype}) will be used instead. -->
2856        <attr name="subtypeId" format="integer"/>
2857        <!-- Set to true if this subtype is ASCII capable. If the subtype is ASCII
2858             capable, it should guarantee that the user can input ASCII characters with
2859             this subtype. This is important because many password fields only allow
2860             ASCII-characters. -->
2861        <attr name="isAsciiCapable" format="boolean" />
2862    </declare-styleable>
2863
2864    <!-- Use <code>spell-checker</code> as the root tag of the XML resource that
2865         describes an
2866         {@link android.service.textservice.SpellCheckerService} service, which is
2867         referenced from its
2868         {@link android.view.textservice.SpellCheckerSession#SERVICE_META_DATA}
2869         meta-data entry.  Described here are the attributes that can be
2870         included in that tag. -->
2871    <declare-styleable name="SpellChecker">
2872        <!-- The name of the spell checker. -->
2873        <attr name="label" />
2874        <!-- Component name of an activity that allows the user to modify
2875             the settings for this service. -->
2876        <attr name="settingsActivity"/>
2877    </declare-styleable>
2878
2879    <!-- This is the subtype of the spell checker. Subtype can describe locales (e.g. en_US, fr_FR...) -->
2880    <declare-styleable name="SpellChecker_Subtype">
2881        <!-- The name of the subtype. -->
2882        <attr name="label" />
2883        <!-- The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...)
2884             This is also used by the framework to know the supported locales
2885             of the spell checker.  -->
2886        <attr name="subtypeLocale" format="string" />
2887        <!-- The extra value of the subtype. This string can be any string and will be passed to
2888             the SpellChecker.  -->
2889        <attr name="subtypeExtraValue" format="string" />
2890    </declare-styleable>
2891
2892    <!-- Use <code>accessibility-service</code> as the root tag of the XML resource that
2893         describes an {@link android.accessibilityservice.AccessibilityService} service,
2894         which is referenced from its
2895         {@link android.accessibilityservice.AccessibilityService#SERVICE_META_DATA}
2896         meta-data entry. -->
2897    <declare-styleable name="AccessibilityService">
2898        <!-- The event types this serivce would like to receive as specified in
2899             {@link android.view.accessibility.AccessibilityEvent}. This setting
2900             can be changed at runtime by calling
2901             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
2902             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
2903        <attr name="accessibilityEventTypes">
2904            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CLICKED} events.-->
2905            <flag name="typeViewClicked" value="0x00000001" />
2906            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_LONG_CLICKED} events. -->
2907            <flag name="typeViewLongClicked" value="0x00000002" />
2908            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SELECTED} events. -->
2909            <flag name="typeViewSelected" value="0x00000004" />
2910            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_FOCUSED} events. -->
2911            <flag name="typeViewFocused" value="0x00000008" />
2912            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_CHANGED} events. -->
2913            <flag name="typeViewTextChanged" value="0x00000010" />
2914            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_STATE_CHANGED} events. -->
2915            <flag name="typeWindowStateChanged" value="0x00000020" />
2916            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_NOTIFICATION_STATE_CHANGED} events. -->
2917            <flag name="typeNotificationStateChanged" value="0x00000040" />
2918            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_ENTER} events. -->
2919            <flag name="typeViewHoverEnter" value="0x00000080" />
2920            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_EXIT} events. -->
2921            <flag name="typeViewHoverExit" value="0x00000100" />
2922            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_START} events. -->
2923            <flag name="typeTouchExplorationGestureStart" value="0x00000200" />
2924            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_END} events. -->
2925            <flag name="typeTouchExplorationGestureEnd" value="0x00000400" />
2926            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_CONTENT_CHANGED} events. -->
2927            <flag name="typeWindowContentChanged" value="0x00000800" />
2928            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SCROLLED} events. -->
2929            <flag name="typeViewScrolled" value="0x000001000" />
2930            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_SELECTION_CHANGED} events. -->
2931            <flag name="typeViewTextSelectionChanged" value="0x000002000" />
2932            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPES_ALL_MASK} i.e. all events. -->
2933            <flag name="typeAllMask" value="0xffffffff" />
2934        </attr>
2935        <!-- Comma separated package names from which this serivce would like to receive events (leave out for all packages).
2936             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
2937             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
2938        <attr name="packageNames" format="string" />
2939        <!-- The feedback types this serivce provides as specified in
2940             {@link android.accessibilityservice.AccessibilityServiceInfo}. This setting
2941             can be changed at runtime by calling
2942             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
2943             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
2944        <attr name="accessibilityFeedbackType">
2945            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_SPOKEN} feedback. -->
2946            <flag name="feedbackSpoken" value="0x00000001" />
2947            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_HAPTIC} feedback. -->
2948            <flag name="feedbackHaptic" value="0x00000002" />
2949            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_AUDIBLE} feedback. -->
2950            <flag name="feedbackAudible" value="0x00000004" />
2951            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_VISUAL} feedback. -->
2952            <flag name="feedbackVisual" value="0x00000008" />
2953            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_GENERIC} feedback. -->
2954            <flag name="feedbackGeneric" value="0x00000010" />
2955            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_ALL_MASK} feedback. -->
2956            <flag name="feedbackAllMask" value="0xffffffff" />
2957        </attr>
2958        <!-- The minimal period in milliseconds between two accessibility events of the same type
2959             are sent to this serivce. This setting can be changed at runtime by calling
2960             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
2961             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
2962        <attr name="notificationTimeout" format="integer" />
2963        <!-- Additional flags as specified in
2964             {@link android.accessibilityservice.AccessibilityServiceInfo}.
2965             This setting can be changed at runtime by calling
2966             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
2967             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
2968        <attr name="accessibilityFlags">
2969            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#DEFAULT} -->
2970            <flag name="flagDefault" value="0x00000001" />
2971            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_INCLUDE_NOT_IMPORTANT_VIEWS} -->
2972            <flag name="flagIncludeNotImportantViews" value="0x00000002" />
2973            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} -->
2974            <flag name="flagRequestTouchExplorationMode" value="0x00000004" />
2975            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} -->
2976            <flag name="flagRequestEnhancedWebAccessibility" value="0x00000008" />
2977            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REPORT_VIEW_IDS} -->
2978            <flag name="flagReportViewIds" value="0x00000010" />
2979            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} -->
2980            <flag name="flagRequestFilterKeyEvents" value="0x00000020" />
2981            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_RETRIEVE_INTERACTIVE_WINDOWS} -->
2982            <flag name="flagRetrieveInteractiveWindows" value="0x00000040" />
2983        </attr>
2984        <!-- Component name of an activity that allows the user to modify
2985             the settings for this service. This setting cannot be changed at runtime. -->
2986        <attr name="settingsActivity" />
2987        <!-- Attribute whether the accessibility service wants to be able to retrieve the
2988             active window content. This setting cannot be changed at runtime. -->
2989        <attr name="canRetrieveWindowContent" format="boolean" />
2990        <!-- Attribute whether the accessibility service wants to be able to request touch
2991             exploration mode in which touched items are spoken aloud and the UI can be
2992             explored via gestures.
2993             <p>
2994             Required to allow setting the {@link android.accessibilityservice
2995             #AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} flag.
2996             </p>
2997         -->
2998        <attr name="canRequestTouchExplorationMode" format="boolean" />
2999        <!-- Attribute whether the accessibility service wants to be able to request enhanced
3000             web accessibility enhancements. For example, installing scripts to make app
3001             content more accessible.
3002             <p>
3003             Required to allow setting the {@link android.accessibilityservice
3004             #AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} flag.
3005             </p>
3006         -->
3007        <attr name="canRequestEnhancedWebAccessibility" format="boolean" />
3008        <!-- Attribute whether the accessibility service wants to be able to request to
3009             filter key events.
3010             <p>
3011             Required to allow setting the {@link android.accessibilityservice
3012             #AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} flag.
3013             </p>
3014         -->
3015        <attr name="canRequestFilterKeyEvents" format="boolean" />
3016        <!-- Short description of the accessibility serivce purpose or behavior.-->
3017        <attr name="description" />
3018    </declare-styleable>
3019
3020    <!-- Use <code>print-service</code> as the root tag of the XML resource that
3021         describes an {@link android.printservice.PrintService} service, which is
3022         referenced from its {@link android.printservice.PrintService#SERVICE_META_DATA}
3023         meta-data entry. -->
3024    <declare-styleable name="PrintService">
3025        <!-- Fully qualified class name of an activity that allows the user to modify
3026             the settings for this service. -->
3027        <attr name="settingsActivity" />
3028        <!-- Fully qualified class name of an activity that allows the user to manually
3029             add printers to this print service. -->
3030        <attr name="addPrintersActivity" format="string"/>
3031        <!-- Fully qualified class name of an activity with advanced print options
3032             specific to this print service. -->
3033        <attr name="advancedPrintOptionsActivity" format="string"/>
3034        <!-- The vendor name if this print service is vendor specific. -->
3035        <attr name="vendor" format="string"/>
3036    </declare-styleable>
3037
3038    <!-- Use <code>host-apdu-service</code> as the root tag of the XML resource that
3039         describes an {@link android.nfc.cardemulation.HostApduService} service, which
3040         is referenced from its {@link android.nfc.cardemulation.HostApduService#SERVICE_META_DATA}
3041         entry. -->
3042    <declare-styleable name="HostApduService">
3043        <!-- Short description of the functionality the service implements. This attribute
3044             is mandatory.-->
3045        <attr name="description" />
3046        <!-- Whether the device must be unlocked before routing data to this service.
3047             The default is false.-->
3048        <attr name="requireDeviceUnlock" format="boolean"/>
3049        <!-- A drawable that can be rendered in Android's system UI for representing
3050             the service. -->
3051        <attr name="apduServiceBanner" format="reference"/>
3052    </declare-styleable>
3053
3054    <!-- Use <code>offhost-apdu-service</code> as the root tag of the XML resource that
3055         describes an {@link android.nfc.cardemulation.OffHostApduService}
3056         service, which is referenced from its
3057         {@link android.nfc.cardemulation.OffHostApduService#SERVICE_META_DATA} entry. -->
3058    <declare-styleable name="OffHostApduService">
3059        <!-- Short description of the functionality the service implements. This attribute
3060             is mandatory.-->
3061        <attr name="description" />
3062        <!-- A drawable that can be rendered in Android's system UI for representing
3063             the service. -->
3064        <attr name="apduServiceBanner"/>
3065    </declare-styleable>
3066
3067    <!-- Specify one or more <code>aid-group</code> elements inside a
3068         <code>host-apdu-service</code> or <code>offhost-apdu-service</code>
3069         element to define a group of ISO7816 Application ID (AIDs) that
3070         your service can handle.-->
3071    <declare-styleable name="AidGroup">
3072        <!-- Short description of what the AID group implements. This attribute is mandatory.-->
3073        <attr name="description" />
3074        <!-- The category attribute will be used by the Android platform to present
3075             multiple applications that register ISO 7816 Application IDs (AIDs) in the
3076             same category uniformly.
3077             Additionally, when a category is specified, Android will ensure that either
3078             all AIDs in this group are routed to this application, or none at all.
3079             This attribute is optional.-->
3080        <attr name="category" format="string" />
3081    </declare-styleable>
3082
3083    <!-- Specify one or more <code>aid-filter</code> elements inside a
3084         <code>aid-group</code> element to specify an ISO7816 Application ID (AID)
3085         your service can handle. -->
3086    <declare-styleable name="AidFilter">
3087        <!-- The ISO7816 Application ID. This attribute is mandatory. -->
3088        <attr name="name" />
3089    </declare-styleable>
3090
3091    <!-- Specify one or more <code>aid-prefix-filter</code> elements inside a
3092         <code>aid-group</code> element to specify an ISO7816 Application ID (AID)
3093         prefix your service can handle. -->
3094    <declare-styleable name="AidPrefixFilter">
3095        <!-- The ISO7816 Application ID. This attribute is mandatory. -->
3096        <attr name="name" />
3097    </declare-styleable>
3098
3099    <declare-styleable name="ActionMenuItemView">
3100        <attr name="minWidth" />
3101    </declare-styleable>
3102
3103    <!-- =============================== -->
3104    <!-- Widget package class attributes -->
3105    <!-- =============================== -->
3106    <eat-comment />
3107
3108    <declare-styleable name="AbsListView">
3109         <!-- Drawable used to indicate the currently selected item in the list. -->
3110        <attr name="listSelector" format="color|reference" />
3111        <!-- When set to true, the selector will be drawn over the selected item.
3112             Otherwise the selector is drawn behind the selected item. The default
3113             value is false. -->
3114        <attr name="drawSelectorOnTop" format="boolean" />
3115        <!-- Used by ListView and GridView to stack their content from the bottom. -->
3116        <attr name="stackFromBottom" format="boolean" />
3117        <!-- When set to true, the list uses a drawing cache during scrolling.
3118             This makes the rendering faster but uses more memory. The default
3119             value is true. -->
3120        <attr name="scrollingCache" format="boolean" />
3121        <!-- When set to true, the list will filter results as the user types. The
3122             List's adapter must support the Filterable interface for this to work. -->
3123        <attr name="textFilterEnabled" format="boolean" />
3124        <!-- Sets the transcript mode for the list. In transcript mode, the list
3125             scrolls to the bottom to make new items visible when they are added. -->
3126        <attr name="transcriptMode">
3127            <!-- Disables transcript mode. This is the default value. -->
3128            <enum name="disabled" value="0"/>
3129            <!-- The list will automatically scroll to the bottom when
3130                 a data set change notification is received and only if the last item is
3131                 already visible on screen. -->
3132            <enum name="normal" value="1" />
3133            <!-- The list will automatically scroll to the bottom, no matter what items
3134                 are currently visible. -->
3135            <enum name="alwaysScroll" value="2" />
3136        </attr>
3137        <!-- Indicates that this list will always be drawn on top of solid, single-color
3138             opaque background. This allows the list to optimize drawing. -->
3139        <attr name="cacheColorHint" format="color" />
3140        <!-- Enables the fast scroll thumb that can be dragged to quickly scroll through
3141             the list. -->
3142        <attr name="fastScrollEnabled" format="boolean" />
3143        <!-- Specifies the style of the fast scroll decorations. -->
3144        <attr name="fastScrollStyle" format="reference" />
3145        <!-- When set to true, the list will use a more refined calculation
3146             method based on the pixels height of the items visible on screen. This
3147             property is set to true by default but should be set to false if your adapter
3148             will display items of varying heights. When this property is set to true and
3149             your adapter displays items of varying heights, the scrollbar thumb will
3150             change size as the user scrolls through the list. When set to fale, the list
3151             will use only the number of items in the adapter and the number of items visible
3152             on screen to determine the scrollbar's properties. -->
3153        <attr name="smoothScrollbar" format="boolean" />
3154        <!-- Defines the choice behavior for the view. By default, lists do not have
3155             any choice behavior. By setting the choiceMode to singleChoice, the list
3156             allows up to one item to be in a chosen state. By setting the choiceMode to
3157             multipleChoice, the list allows any number of items to be chosen.
3158             Finally, by setting the choiceMode to multipleChoiceModal the list allows
3159             any number of items to be chosen in a special selection mode.
3160             The application will supply a
3161             {@link android.widget.AbsListView.MultiChoiceModeListener} using
3162             {@link android.widget.AbsListView#setMultiChoiceModeListener} to control the
3163             selection mode. This uses the {@link android.view.ActionMode} API. -->
3164        <attr name="choiceMode">
3165            <!-- Normal list that does not indicate choices. -->
3166            <enum name="none" value="0" />
3167            <!-- The list allows up to one choice. -->
3168            <enum name="singleChoice" value="1" />
3169            <!-- The list allows multiple choices. -->
3170            <enum name="multipleChoice" value="2" />
3171            <!-- The list allows multiple choices in a custom selection mode. -->
3172            <enum name="multipleChoiceModal" value="3" />
3173        </attr>
3174
3175        <!-- When set to true, the list will always show the fast scroll interface.
3176             This setting implies fastScrollEnabled. -->
3177        <attr name="fastScrollAlwaysVisible" format="boolean" />
3178    </declare-styleable>
3179    <declare-styleable name="AbsSpinner">
3180        <!-- Reference to an array resource that will populate the Spinner.  For static content,
3181             this is simpler than populating the Spinner programmatically. -->
3182        <attr name="entries" />
3183    </declare-styleable>
3184    <declare-styleable name="AnalogClock">
3185        <attr name="dial" format="reference"/>
3186        <attr name="hand_hour" format="reference"/>
3187        <attr name="hand_minute" format="reference"/>
3188    </declare-styleable>
3189    <declare-styleable name="Button">
3190    </declare-styleable>
3191    <declare-styleable name="Chronometer">
3192        <!-- Format string: if specified, the Chronometer will display this
3193             string, with the first "%s" replaced by the current timer value
3194             in "MM:SS" or "H:MM:SS" form.
3195             If no format string is specified, the Chronometer will simply display
3196             "MM:SS" or "H:MM:SS". -->
3197        <attr name="format" format="string" localization="suggested" />
3198    </declare-styleable>
3199    <declare-styleable name="CompoundButton">
3200        <!-- Indicates the initial checked state of this button. -->
3201        <attr name="checked" format="boolean" />
3202        <!-- Drawable used for the button graphic (e.g. checkbox, radio button, etc). -->
3203        <attr name="button" format="reference" />
3204        <!-- Tint to apply to the button graphic. -->
3205        <attr name="buttonTint" format="color" />
3206        <!-- Blending mode used to apply the button graphic tint. -->
3207        <attr name="buttonTintMode">
3208            <!-- The tint is drawn on top of the drawable.
3209                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3210            <enum name="src_over" value="3" />
3211            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3212                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3213            <enum name="src_in" value="5" />
3214            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3215                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3216            <enum name="src_atop" value="9" />
3217            <!-- Multiplies the color and alpha channels of the drawable with those of
3218                 the tint. [Sa * Da, Sc * Dc] -->
3219            <enum name="multiply" value="14" />
3220            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3221            <enum name="screen" value="15" />
3222            <!-- Combines the tint and drawable color and alpha channels, clamping the
3223                 result to valid color values. Saturate(S + D) -->
3224            <enum name="add" value="16" />
3225        </attr>
3226    </declare-styleable>
3227    <declare-styleable name="CheckedTextView">
3228        <!-- Indicates the initial checked state of this text. -->
3229        <attr name="checked" />
3230        <!-- Drawable used for the check mark graphic. -->
3231        <attr name="checkMark" format="reference"/>
3232        <!-- Tint to apply to the check mark. -->
3233        <attr name="checkMarkTint" format="color" />
3234        <!-- Blending mode used to apply the check mark tint. -->
3235        <attr name="checkMarkTintMode">
3236            <!-- The tint is drawn on top of the drawable.
3237                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3238            <enum name="src_over" value="3" />
3239            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3240                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3241            <enum name="src_in" value="5" />
3242            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3243                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3244            <enum name="src_atop" value="9" />
3245            <!-- Multiplies the color and alpha channels of the drawable with those of
3246                 the tint. [Sa * Da, Sc * Dc] -->
3247            <enum name="multiply" value="14" />
3248            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3249            <enum name="screen" value="15" />
3250            <!-- Combines the tint and drawable color and alpha channels, clamping the
3251                 result to valid color values. Saturate(S + D) -->
3252            <enum name="add" value="16" />
3253        </attr>
3254        <!-- Gravity for aligning a CheckedTextView's checkmark to one side or the other. -->
3255        <attr name="checkMarkGravity">
3256            <!-- Push object to the left of its container, not changing its size. -->
3257            <flag name="left" value="0x03" />
3258            <!-- Push object to the right of its container, not changing its size. -->
3259            <flag name="right" value="0x05" />
3260            <!-- Push object to the beginning of its container, not changing its size. -->
3261            <flag name="start" value="0x00800003" />
3262            <!-- Push object to the end of its container, not changing its size. -->
3263            <flag name="end" value="0x00800005" />
3264        </attr>
3265    </declare-styleable>
3266    <declare-styleable name="EditText">
3267    </declare-styleable>
3268    <declare-styleable name="FastScroll">
3269        <!-- Drawable used for the scroll bar thumb. -->
3270        <attr name="thumbDrawable" format="reference" />
3271        <!-- Minimum width of the thumb. -->
3272        <attr name="thumbMinWidth" format="dimension" />
3273        <!-- Minimum height of the thumb. -->
3274        <attr name="thumbMinHeight" format="dimension" />
3275        <!-- Drawable used for the scroll bar track. -->
3276        <attr name="trackDrawable" format="reference" />
3277        <!-- Drawable used for the section header preview when right-aligned. -->
3278        <attr name="backgroundRight" format="reference" />
3279        <!-- Drawable used for the section header preview when left-aligned. -->
3280        <attr name="backgroundLeft" format="reference" />
3281        <!-- Position of section header preview. -->
3282        <attr name="position">
3283            <!-- Floating at the top of the content. -->
3284            <enum name="floating" value="0" />
3285            <!-- Pinned alongside the thumb. -->
3286            <enum name="atThumb" value="1" />
3287            <!-- Pinned above the thumb. -->
3288            <enum name="aboveThumb" value="2" />
3289        </attr>
3290        <attr name="textAppearance" />
3291        <attr name="textColor" />
3292        <attr name="textSize" />
3293        <!-- Minimum width of the section header preview. -->
3294        <attr name="minWidth" />
3295        <!-- Minimum height of the section header preview. -->
3296        <attr name="minHeight" />
3297        <!-- Padding for the section header preview. -->
3298        <attr name="padding" />
3299    </declare-styleable>
3300    <declare-styleable name="FrameLayout">
3301        <!-- Defines the drawable to draw over the content. This can be used as an overlay.
3302             The foreground drawable participates in the padding of the content if the gravity
3303             is set to fill. -->
3304        <attr name="foreground" format="reference|color" />
3305        <!-- Defines the gravity to apply to the foreground drawable. The gravity defaults
3306             to fill. -->
3307        <attr name="foregroundGravity">
3308            <!-- Push object to the top of its container, not changing its size. -->
3309            <flag name="top" value="0x30" />
3310            <!-- Push object to the bottom of its container, not changing its size. -->
3311            <flag name="bottom" value="0x50" />
3312            <!-- Push object to the left of its container, not changing its size. -->
3313            <flag name="left" value="0x03" />
3314            <!-- Push object to the right of its container, not changing its size. -->
3315            <flag name="right" value="0x05" />
3316            <!-- Place object in the vertical center of its container, not changing its size. -->
3317            <flag name="center_vertical" value="0x10" />
3318            <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
3319            <flag name="fill_vertical" value="0x70" />
3320            <!-- Place object in the horizontal center of its container, not changing its size. -->
3321            <flag name="center_horizontal" value="0x01" />
3322            <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
3323            <flag name="fill_horizontal" value="0x07" />
3324            <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
3325            <flag name="center" value="0x11" />
3326            <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
3327            <flag name="fill" value="0x77" />
3328            <!-- Additional option that can be set to have the top and/or bottom edges of
3329                 the child clipped to its container's bounds.
3330                 The clip will be based on the vertical gravity: a top gravity will clip the bottom
3331                 edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
3332            <flag name="clip_vertical" value="0x80" />
3333            <!-- Additional option that can be set to have the left and/or right edges of
3334                 the child clipped to its container's bounds.
3335                 The clip will be based on the horizontal gravity: a left gravity will clip the right
3336                 edge, a right gravity will clip the left edge, and neither will clip both edges. -->
3337            <flag name="clip_horizontal" value="0x08" />
3338        </attr>
3339        <!-- Defines whether the foreground drawable should be drawn inside the padding.
3340             This property is turned on by default. -->
3341        <attr name="foregroundInsidePadding" format="boolean" />
3342        <!-- Determines whether to measure all children or just those in
3343             the VISIBLE or INVISIBLE state when measuring. Defaults to false. -->
3344        <attr name="measureAllChildren" format="boolean" />
3345        <!-- Tint to apply to the foreground. -->
3346        <attr name="foregroundTint" format="color" />
3347        <!-- Blending mode used to apply the foreground tint. -->
3348        <attr name="foregroundTintMode">
3349            <!-- The tint is drawn on top of the drawable.
3350                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3351            <enum name="src_over" value="3" />
3352            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3353                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3354            <enum name="src_in" value="5" />
3355            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3356                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3357            <enum name="src_atop" value="9" />
3358            <!-- Multiplies the color and alpha channels of the drawable with those of
3359                 the tint. [Sa * Da, Sc * Dc] -->
3360            <enum name="multiply" value="14" />
3361            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3362            <enum name="screen" value="15" />
3363            <!-- Combines the tint and drawable color and alpha channels, clamping the
3364                 result to valid color values. Saturate(S + D) -->
3365            <enum name="add" value="16" />
3366        </attr>
3367    </declare-styleable>
3368    <declare-styleable name="ExpandableListView">
3369        <!-- Indicator shown beside the group View. This can be a stateful Drawable. -->
3370        <attr name="groupIndicator" format="reference" />
3371        <!-- Indicator shown beside the child View. This can be a stateful Drawable. -->
3372        <attr name="childIndicator" format="reference" />
3373        <!-- The left bound for an item's indicator. To specify a left bound specific to children,
3374             use childIndicatorLeft. -->
3375        <attr name="indicatorLeft" format="dimension" />
3376        <!-- The right bound for an item's indicator. To specify a right bound specific to children,
3377             use childIndicatorRight. -->
3378        <attr name="indicatorRight" format="dimension" />
3379        <!-- The left bound for a child's indicator. -->
3380        <attr name="childIndicatorLeft" format="dimension" />
3381        <!-- The right bound for a child's indicator. -->
3382        <attr name="childIndicatorRight" format="dimension" />
3383        <!-- Drawable or color that is used as a divider for children. (It will drawn
3384             below and above child items.) The height of this will be the same as
3385             the height of the normal list item divider. -->
3386        <attr name="childDivider" format="reference|color" />
3387        <!-- The start bound for an item's indicator. To specify a start bound specific to children,
3388             use childIndicatorStart. -->
3389        <attr name="indicatorStart" format="dimension" />
3390        <!-- The end bound for an item's indicator. To specify a right bound specific to children,
3391             use childIndicatorEnd. -->
3392        <attr name="indicatorEnd" format="dimension" />
3393        <!-- The start bound for a child's indicator. -->
3394        <attr name="childIndicatorStart" format="dimension" />
3395        <!-- The end bound for a child's indicator. -->
3396        <attr name="childIndicatorEnd" format="dimension" />
3397    </declare-styleable>
3398    <declare-styleable name="Gallery">
3399        <attr name="gravity" />
3400        <!-- Sets how long a transition animation should run (in milliseconds)
3401             when layout has changed.  Only relevant if animation is turned on. -->
3402        <attr name="animationDuration" format="integer" min="0" />
3403        <attr name="spacing" format="dimension" />
3404        <!-- Sets the alpha on the items that are not selected. -->
3405        <attr name="unselectedAlpha" format="float" />
3406    </declare-styleable>
3407    <declare-styleable name="GridView">
3408        <!-- Defines the default horizontal spacing between columns. -->
3409        <attr name="horizontalSpacing" format="dimension" />
3410        <!-- Defines the default vertical spacing between rows. -->
3411        <attr name="verticalSpacing" format="dimension" />
3412        <!-- Defines how columns should stretch to fill the available empty space, if any. -->
3413        <attr name="stretchMode">
3414            <!-- Stretching is disabled. -->
3415            <enum name="none" value="0"/>
3416            <!-- The spacing between each column is stretched. -->
3417            <enum name="spacingWidth" value="1" />
3418            <!-- Each column is stretched equally. -->
3419            <enum name="columnWidth" value="2" />
3420            <!-- The spacing between each column is uniformly stretched.. -->
3421            <enum name="spacingWidthUniform" value="3" />
3422        </attr>
3423        <!-- Specifies the fixed width for each column. -->
3424        <attr name="columnWidth" format="dimension" />
3425        <!-- Defines how many columns to show. -->
3426        <attr name="numColumns" format="integer" min="0">
3427            <!-- Display as many columns as possible to fill the available space. -->
3428            <enum name="auto_fit" value="-1" />
3429        </attr>
3430        <!-- Specifies the gravity within each cell. -->
3431        <attr name="gravity" />
3432    </declare-styleable>
3433    <declare-styleable name="ImageSwitcher">
3434    </declare-styleable>
3435    <declare-styleable name="ImageView">
3436        <!-- Sets a drawable as the content of this ImageView. -->
3437        <attr name="src" format="reference|color" />
3438        <!-- Controls how the image should be resized or moved to match the size
3439             of this ImageView. -->
3440        <attr name="scaleType">
3441            <enum name="matrix" value="0" />
3442            <enum name="fitXY" value="1" />
3443            <enum name="fitStart" value="2" />
3444            <enum name="fitCenter" value="3" />
3445            <enum name="fitEnd" value="4" />
3446            <enum name="center" value="5" />
3447            <enum name="centerCrop" value="6" />
3448            <enum name="centerInside" value="7" />
3449        </attr>
3450        <!-- Set this to true if you want the ImageView to adjust its bounds
3451             to preserve the aspect ratio of its drawable. -->
3452        <attr name="adjustViewBounds" format="boolean" />
3453        <!-- An optional argument to supply a maximum width for this view.
3454             See {see android.widget.ImageView#setMaxWidth} for details. -->
3455        <attr name="maxWidth" format="dimension" />
3456        <!-- An optional argument to supply a maximum height for this view.
3457             See {see android.widget.ImageView#setMaxHeight} for details. -->
3458        <attr name="maxHeight" format="dimension" />
3459        <!-- Set a tinting color for the image. By default, the tint will blend using SRC_ATOP mode. -->
3460        <attr name="tint" format="color" />
3461        <!-- If true, the image view will be baseline aligned with based on its
3462             bottom edge. -->
3463        <attr name="baselineAlignBottom" format="boolean" />
3464         <!-- If true, the image will be cropped to fit within its padding. -->
3465        <attr name="cropToPadding" format="boolean" />
3466        <!-- The offset of the baseline within this view. See {see android.view.View#getBaseline}
3467             for details -->
3468        <attr name="baseline" format="dimension" />
3469        <!-- @hide The alpha value (0-255) set on the ImageView's drawable. Equivalent
3470             to calling ImageView.setAlpha(int), not the same as View.setAlpha(float). -->
3471        <attr name="drawableAlpha" format="integer" />
3472        <!-- Blending mode used to apply the image tint. -->
3473        <attr name="tintMode" />
3474    </declare-styleable>
3475    <declare-styleable name="ToggleButton">
3476        <!-- The text for the button when it is checked. -->
3477        <attr name="textOn" format="string" />
3478        <!-- The text for the button when it is not checked. -->
3479        <attr name="textOff" format="string" />
3480        <!-- The alpha to apply to the indicator when disabled. -->
3481        <attr name="disabledAlpha" />
3482    </declare-styleable>
3483    <declare-styleable name="RelativeLayout">
3484        <attr name="gravity" />
3485        <!-- Indicates what view should not be affected by gravity. -->
3486        <attr name="ignoreGravity" format="reference" />
3487    </declare-styleable>
3488    <declare-styleable name="LinearLayout">
3489        <!-- Should the layout be a column or a row?  Use "horizontal"
3490             for a row, "vertical" for a column.  The default is
3491             horizontal. -->
3492        <attr name="orientation" />
3493        <attr name="gravity" />
3494        <!-- When set to false, prevents the layout from aligning its children's
3495             baselines. This attribute is particularly useful when the children
3496             use different values for gravity. The default value is true. -->
3497        <attr name="baselineAligned" format="boolean" />
3498        <!-- When a linear layout is part of another layout that is baseline
3499          aligned, it can specify which of its children to baseline align to
3500          (that is, which child TextView).-->
3501        <attr name="baselineAlignedChildIndex" format="integer" min="0"/>
3502        <!-- Defines the maximum weight sum. If unspecified, the sum is computed
3503             by adding the layout_weight of all of the children. This can be
3504             used for instance to give a single child 50% of the total available
3505             space by giving it a layout_weight of 0.5 and setting the weightSum
3506             to 1.0. -->
3507        <attr name="weightSum" format="float" />
3508        <!-- When set to true, all children with a weight will be considered having
3509             the minimum size of the largest child. If false, all children are
3510             measured normally. -->
3511        <attr name="measureWithLargestChild" format="boolean" />
3512        <!-- Drawable to use as a vertical divider between buttons. -->
3513        <attr name="divider" />
3514        <!-- Setting for which dividers to show. -->
3515        <attr name="showDividers">
3516            <flag name="none" value="0" />
3517            <flag name="beginning" value="1" />
3518            <flag name="middle" value="2" />
3519            <flag name="end" value="4" />
3520        </attr>
3521        <!-- Size of padding on either end of a divider. -->
3522        <attr name="dividerPadding" format="dimension" />
3523    </declare-styleable>
3524    <declare-styleable name="GridLayout">
3525        <!-- The orientation property is not used during layout. It is only used to
3526        allocate row and column parameters when they are not specified by its children's
3527        layout paramters. GridLayout works like LinearLayout in this case;
3528        putting all the components either in a single row or in a single column -
3529        depending on the value of this flag. In the horizontal case, a columnCount
3530        property may be additionally supplied to force new rows to be created when a
3531        row is full. The rowCount attribute may be used similarly in the vertical case.
3532        The default is horizontal. -->
3533        <attr name="orientation" />
3534        <!-- The maxmimum number of rows to create when automatically positioning children. -->
3535        <attr name="rowCount" format="integer" />
3536        <!-- The maxmimum number of columns to create when automatically positioning children. -->
3537        <attr name="columnCount" format="integer" />
3538        <!-- When set to true, tells GridLayout to use default margins when none are specified
3539        in a view's layout parameters.
3540        The default value is false.
3541        See {@link android.widget.GridLayout#setUseDefaultMargins(boolean)}.-->
3542        <attr name="useDefaultMargins" format="boolean" />
3543        <!-- When set to alignMargins, causes alignment to take place between the outer
3544        boundary of a view, as defined by its margins. When set to alignBounds,
3545        causes alignment to take place between the edges of the view.
3546        The default is alignMargins.
3547        See {@link android.widget.GridLayout#setAlignmentMode(int)}.-->
3548        <attr name="alignmentMode" />
3549        <!-- When set to true, forces row boundaries to appear in the same order
3550        as row indices.
3551        The default is true.
3552        See {@link android.widget.GridLayout#setRowOrderPreserved(boolean)}.-->
3553        <attr name="rowOrderPreserved" format="boolean" />
3554        <!-- When set to true, forces column boundaries to appear in the same order
3555        as column indices.
3556        The default is true.
3557        See {@link android.widget.GridLayout#setColumnOrderPreserved(boolean)}.-->
3558        <attr name="columnOrderPreserved" format="boolean" />
3559    </declare-styleable>
3560    <declare-styleable name="ListView">
3561        <!-- Reference to an array resource that will populate the ListView.  For static content,
3562             this is simpler than populating the ListView programmatically. -->
3563        <attr name="entries" />
3564        <!-- Drawable or color to draw between list items. -->
3565        <attr name="divider" format="reference|color" />
3566        <!-- Height of the divider. Will use the intrinsic height of the divider if this
3567             is not specified. -->
3568        <attr name="dividerHeight" format="dimension" />
3569        <!-- When set to false, the ListView will not draw the divider after each header view.
3570             The default value is true. -->
3571        <attr name="headerDividersEnabled" format="boolean" />
3572        <!-- When set to false, the ListView will not draw the divider before each footer view.
3573             The default value is true. -->
3574        <attr name="footerDividersEnabled" format="boolean" />
3575        <!-- Drawable to draw above list content. -->
3576        <attr name="overScrollHeader" format="reference|color" />
3577        <!-- Drawable to draw below list content. -->
3578        <attr name="overScrollFooter" format="reference|color" />
3579    </declare-styleable>
3580    <declare-styleable name="PreferenceFrameLayout">
3581        <!-- Padding to use at the top of the prefs content. -->
3582        <attr name="borderTop" format="dimension" />
3583        <!-- Padding to use at the bottom of the prefs content. -->
3584        <attr name="borderBottom" format="dimension" />
3585        <!-- Padding to use at the left of the prefs content. -->
3586        <attr name="borderLeft" format="dimension" />
3587        <!-- Padding to use at the right of the prefs content. -->
3588        <attr name="borderRight" format="dimension" />
3589    </declare-styleable>
3590    <declare-styleable name="PreferenceFrameLayout_Layout">
3591        <!-- Padding to use at the top of the prefs content. -->
3592        <attr name="layout_removeBorders" format="boolean" />
3593    </declare-styleable>
3594    <declare-styleable name="MenuView">
3595        <!-- Default appearance of menu item text. -->
3596        <attr name="itemTextAppearance" format="reference" />
3597        <!-- Default horizontal divider between rows of menu items. -->
3598        <attr name="horizontalDivider" format="reference" />
3599        <!-- Default vertical divider between menu items. -->
3600        <attr name="verticalDivider" format="reference" />
3601        <!-- Default background for the menu header. -->
3602        <attr name="headerBackground" format="color|reference" />
3603        <!-- Default background for each menu item. -->
3604        <attr name="itemBackground" format="color|reference" />
3605        <!-- Default animations for the menu. -->
3606        <attr name="windowAnimationStyle" />
3607        <!-- Default disabled icon alpha for each menu item that shows an icon. -->
3608        <attr name="itemIconDisabledAlpha" format="float" />
3609        <!-- Whether space should be reserved in layout when an icon is missing. -->
3610        <attr name="preserveIconSpacing" format="boolean" />
3611    </declare-styleable>
3612    <declare-styleable name="IconMenuView">
3613        <!-- Defines the height of each row. -->
3614        <attr name="rowHeight" format="dimension" />
3615        <!-- Defines the maximum number of rows displayed. -->
3616        <attr name="maxRows" format="integer" />
3617        <!-- Defines the maximum number of items per row. -->
3618        <attr name="maxItemsPerRow" format="integer" />
3619        <!-- Defines the maximum number of items to show. -->
3620        <attr name="maxItems" format="integer" />
3621        <!-- 'More' icon. -->
3622        <attr name="moreIcon" format="reference" />
3623    </declare-styleable>
3624
3625    <declare-styleable name="ProgressBar">
3626        <!-- Defines the maximum value the progress can take. -->
3627        <attr name="max" format="integer" />
3628        <!-- Defines the default progress value, between 0 and max. -->
3629        <attr name="progress" format="integer" />
3630        <!-- Defines the secondary progress value, between 0 and max. This progress is drawn between
3631             the primary progress and the background.  It can be ideal for media scenarios such as
3632             showing the buffering progress while the default progress shows the play progress. -->
3633        <attr name="secondaryProgress" format="integer" />
3634        <!-- Allows to enable the indeterminate mode. In this mode the progress
3635         bar plays an infinite looping animation. -->
3636        <attr name="indeterminate" format="boolean" />
3637        <!-- Restricts to ONLY indeterminate mode (state-keeping progress mode will not work). -->
3638        <attr name="indeterminateOnly" format="boolean" />
3639        <!-- Drawable used for the indeterminate mode. -->
3640        <attr name="indeterminateDrawable" format="reference" />
3641        <!-- Drawable used for the progress mode. -->
3642        <attr name="progressDrawable" format="reference" />
3643        <!-- Duration of the indeterminate animation. -->
3644        <attr name="indeterminateDuration" format="integer" min="1" />
3645        <!-- Defines how the indeterminate mode should behave when the progress
3646        reaches max. -->
3647        <attr name="indeterminateBehavior">
3648            <!-- Progress starts over from 0. -->
3649            <enum name="repeat" value="1" />
3650            <!-- Progress keeps the current value and goes back to 0. -->
3651            <enum name="cycle" value="2" />
3652        </attr>
3653        <attr name="minWidth" format="dimension" />
3654        <attr name="maxWidth" />
3655        <attr name="minHeight" format="dimension" />
3656        <attr name="maxHeight" />
3657        <attr name="interpolator" format="reference" />
3658        <!-- Timeout between frames of animation in milliseconds
3659             {@deprecated Not used by the framework.} -->
3660        <attr name="animationResolution" format="integer" />
3661        <!-- Defines if the associated drawables need to be mirrored when in RTL mode.
3662             Default is false -->
3663        <attr name="mirrorForRtl" format="boolean" />
3664        <!-- Tint to apply to the progress indicator. -->
3665        <attr name="progressTint" format="color" />
3666        <!-- Blending mode used to apply the progress indicator tint. -->
3667        <attr name="progressTintMode">
3668            <!-- The tint is drawn on top of the drawable.
3669                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3670            <enum name="src_over" value="3" />
3671            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3672                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3673            <enum name="src_in" value="5" />
3674            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3675                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3676            <enum name="src_atop" value="9" />
3677            <!-- Multiplies the color and alpha channels of the drawable with those of
3678                 the tint. [Sa * Da, Sc * Dc] -->
3679            <enum name="multiply" value="14" />
3680            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3681            <enum name="screen" value="15" />
3682            <!-- Combines the tint and drawable color and alpha channels, clamping the
3683                 result to valid color values. Saturate(S + D) -->
3684            <enum name="add" value="16" />
3685        </attr>
3686        <!-- Tint to apply to the progress indicator background. -->
3687        <attr name="progressBackgroundTint" format="color" />
3688        <!-- Blending mode used to apply the progress indicator background tint. -->
3689        <attr name="progressBackgroundTintMode">
3690            <!-- The tint is drawn on top of the drawable.
3691                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3692            <enum name="src_over" value="3" />
3693            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3694                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3695            <enum name="src_in" value="5" />
3696            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3697                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3698            <enum name="src_atop" value="9" />
3699            <!-- Multiplies the color and alpha channels of the drawable with those of
3700                 the tint. [Sa * Da, Sc * Dc] -->
3701            <enum name="multiply" value="14" />
3702            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3703            <enum name="screen" value="15" />
3704            <!-- Combines the tint and drawable color and alpha channels, clamping the
3705                 result to valid color values. Saturate(S + D) -->
3706            <enum name="add" value="16" />
3707        </attr>
3708        <!-- Tint to apply to the secondary progress indicator. -->
3709        <attr name="secondaryProgressTint" format="color" />
3710        <!-- Blending mode used to apply the secondary progress indicator tint. -->
3711        <attr name="secondaryProgressTintMode">
3712            <!-- The tint is drawn on top of the drawable.
3713                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3714            <enum name="src_over" value="3" />
3715            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3716                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3717            <enum name="src_in" value="5" />
3718            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3719                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3720            <enum name="src_atop" value="9" />
3721            <!-- Multiplies the color and alpha channels of the drawable with those of
3722                 the tint. [Sa * Da, Sc * Dc] -->
3723            <enum name="multiply" value="14" />
3724            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3725            <enum name="screen" value="15" />
3726            <!-- Combines the tint and drawable color and alpha channels, clamping the
3727                 result to valid color values. Saturate(S + D) -->
3728            <enum name="add" value="16" />
3729        </attr>
3730        <!-- Tint to apply to the indeterminate progress indicator. -->
3731        <attr name="indeterminateTint" format="color" />
3732        <!-- Blending mode used to apply the indeterminate progress indicator tint. -->
3733        <attr name="indeterminateTintMode">
3734            <!-- The tint is drawn on top of the drawable.
3735                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3736            <enum name="src_over" value="3" />
3737            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3738                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3739            <enum name="src_in" value="5" />
3740            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3741                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3742            <enum name="src_atop" value="9" />
3743            <!-- Multiplies the color and alpha channels of the drawable with those of
3744                 the tint. [Sa * Da, Sc * Dc] -->
3745            <enum name="multiply" value="14" />
3746            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3747            <enum name="screen" value="15" />
3748            <!-- Combines the tint and drawable color and alpha channels, clamping the
3749                 result to valid color values. Saturate(S + D) -->
3750            <enum name="add" value="16" />
3751        </attr>
3752        <!-- Tint to apply to the background. -->
3753        <attr name="backgroundTint" />
3754        <!-- Blending mode used to apply the background tint. -->
3755        <attr name="backgroundTintMode" />
3756    </declare-styleable>
3757
3758    <declare-styleable name="SeekBar">
3759        <!-- Draws the thumb on a seekbar. -->
3760        <attr name="thumb" format="reference" />
3761        <!-- An offset for the thumb that allows it to extend out of the range of the track. -->
3762        <attr name="thumbOffset" format="dimension" />
3763        <!-- Whether to split the track and leave a gap for the thumb drawable. -->
3764        <attr name="splitTrack" format="boolean" />
3765        <!-- Tint to apply to the button graphic. -->
3766        <attr name="thumbTint" format="color" />
3767        <!-- Blending mode used to apply the button graphic tint. -->
3768        <attr name="thumbTintMode">
3769            <!-- The tint is drawn on top of the drawable.
3770                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3771            <enum name="src_over" value="3" />
3772            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3773                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3774            <enum name="src_in" value="5" />
3775            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3776                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3777            <enum name="src_atop" value="9" />
3778            <!-- Multiplies the color and alpha channels of the drawable with those of
3779                 the tint. [Sa * Da, Sc * Dc] -->
3780            <enum name="multiply" value="14" />
3781            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3782            <enum name="screen" value="15" />
3783            <!-- Combines the tint and drawable color and alpha channels, clamping the
3784                 result to valid color values. Saturate(S + D) -->
3785            <enum name="add" value="16" />
3786        </attr>
3787    </declare-styleable>
3788
3789    <declare-styleable name="StackView">
3790        <!-- Color of the res-out outline. -->
3791        <attr name="resOutColor" format="color" />
3792        <!-- Color of the outline of click feedback. -->
3793        <attr name="clickColor" format="color" />
3794    </declare-styleable>
3795
3796    <declare-styleable name="RatingBar">
3797        <!-- The number of stars (or rating items) to show. -->
3798        <attr name="numStars" format="integer" />
3799        <!-- The rating to set by default. -->
3800        <attr name="rating" format="float" />
3801        <!-- The step size of the rating. -->
3802        <attr name="stepSize" format="float" />
3803        <!-- Whether this rating bar is an indicator (and non-changeable by the user). -->
3804        <attr name="isIndicator" format="boolean" />
3805    </declare-styleable>
3806
3807    <declare-styleable name="RadioGroup">
3808        <!-- The id of the child radio button that should be checked by default
3809             within this radio group. -->
3810        <attr name="checkedButton" format="integer" />
3811        <!-- Should the radio group be a column or a row?  Use "horizontal"
3812             for a row, "vertical" for a column.  The default is
3813             vertical. -->
3814        <attr name="orientation" />
3815    </declare-styleable>
3816    <declare-styleable name="TableLayout">
3817        <!-- The zero-based index of the columns to stretch. The column indices
3818             must be separated by a comma: 1, 2, 5. Illegal and duplicate
3819             indices are ignored. You can stretch all columns by using the
3820             value "*" instead. Note that a column can be marked stretchable
3821             and shrinkable at the same time. -->
3822        <attr name="stretchColumns" format="string" />
3823       <!-- The zero-based index of the columns to shrink. The column indices
3824             must be separated by a comma: 1, 2, 5. Illegal and duplicate
3825             indices are ignored. You can shrink all columns by using the
3826             value "*" instead. Note that a column can be marked stretchable
3827             and shrinkable at the same time. -->
3828        <attr name="shrinkColumns" format="string" />
3829        <!-- The zero-based index of the columns to collapse. The column indices
3830             must be separated by a comma: 1, 2, 5. Illegal and duplicate
3831             indices are ignored. -->
3832        <attr name="collapseColumns" format="string" />
3833    </declare-styleable>
3834    <declare-styleable name="TableRow">
3835
3836    </declare-styleable>
3837    <declare-styleable name="TableRow_Cell">
3838        <!-- The index of the column in which this child should be. -->
3839        <attr name="layout_column" format="integer" />
3840        <!-- Defines how many columns this child should span.  Must be >= 1.-->
3841        <attr name="layout_span" format="integer" />
3842    </declare-styleable>
3843    <declare-styleable name="TabWidget">
3844        <!-- Drawable used to draw the divider between tabs. -->
3845        <attr name="divider" />
3846        <!-- Determines whether the strip under the tab indicators is drawn or not. -->
3847        <attr name="tabStripEnabled" format="boolean" />
3848        <!-- Drawable used to draw the left part of the strip underneath the tabs. -->
3849        <attr name="tabStripLeft" format="reference" />
3850        <!-- Drawable used to draw the right part of the strip underneath the tabs. -->
3851        <attr name="tabStripRight" format="reference" />
3852        <!-- Layout used to organize each tab's content. -->
3853        <attr name="tabLayout" format="reference" />
3854    </declare-styleable>
3855    <declare-styleable name="TextAppearance">
3856        <!-- Text color. -->
3857        <attr name="textColor" />
3858        <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
3859        <attr name="textSize" />
3860        <!-- Style (bold, italic, bolditalic) for the text. -->
3861        <attr name="textStyle" />
3862        <!-- Typeface (normal, sans, serif, monospace) for the text. -->
3863        <attr name="typeface" />
3864        <!-- Font family (named by string) for the text. -->
3865        <attr name="fontFamily" />
3866        <!-- Color of the text selection highlight. -->
3867        <attr name="textColorHighlight" />
3868        <!-- Color of the hint text. -->
3869        <attr name="textColorHint" />
3870        <!-- Color of the links. -->
3871        <attr name="textColorLink" />
3872        <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
3873        <attr name="textAllCaps" format="boolean" />
3874        <!-- Place a blurred shadow of text underneath the text, drawn with the
3875             specified color. The text shadow produced does not interact with
3876             properties on View that are responsible for real time shadows,
3877             {@link android.R.styleable#View_elevation elevation} and
3878             {@link android.R.styleable#View_translationZ translationZ}. -->
3879        <attr name="shadowColor" format="color" />
3880        <!-- Horizontal offset of the text shadow. -->
3881        <attr name="shadowDx" format="float" />
3882        <!-- Vertical offset of the text shadow. -->
3883        <attr name="shadowDy" format="float" />
3884        <!-- Blur radius of the text shadow. -->
3885        <attr name="shadowRadius" format="float" />
3886        <!-- Elegant text height, especially for less compacted complex script text. -->
3887        <attr name="elegantTextHeight" format="boolean" />
3888        <!-- Text letter-spacing. -->
3889        <attr name="letterSpacing" format="float" />
3890        <!-- Font feature settings. -->
3891        <attr name="fontFeatureSettings" format="string" />
3892    </declare-styleable>
3893    <declare-styleable name="TextClock">
3894        <!-- Specifies the formatting pattern used to show the time and/or date
3895             in 12-hour mode. Please refer to {@link android.text.format.DateFormat}
3896             for a complete description of accepted formatting patterns.
3897             The default pattern is a locale-appropriate equivalent of "h:mm a". -->
3898        <attr name="format12Hour" format="string"/>
3899        <!-- Specifies the formatting pattern used to show the time and/or date
3900             in 24-hour mode. Please refer to {@link android.text.format.DateFormat}
3901             for a complete description of accepted formatting patterns.
3902             The default pattern is a locale-appropriate equivalent of "H:mm". -->
3903        <attr name="format24Hour" format="string"/>
3904        <!-- Specifies the time zone to use. When this attribute is specified, the
3905             TextClock will ignore the time zone of the system. To use the user's
3906             time zone, do not specify this attribute. The default value is the
3907             user's time zone. Please refer to {@link java.util.TimeZone} for more
3908             information about time zone ids. -->
3909        <attr name="timeZone" format="string"/>
3910    </declare-styleable>
3911    <declare-styleable name="TextSwitcher">
3912    </declare-styleable>
3913    <declare-styleable name="TextView">
3914        <!-- Determines the minimum type that getText() will return.
3915             The default is "normal".
3916             Note that EditText and LogTextBox always return Editable,
3917             even if you specify something less powerful here. -->
3918        <attr name="bufferType">
3919            <!-- Can return any CharSequence, possibly a
3920             Spanned one if the source text was Spanned. -->
3921            <enum name="normal" value="0" />
3922            <!-- Can only return Spannable. -->
3923            <enum name="spannable" value="1" />
3924            <!-- Can only return Spannable and Editable. -->
3925            <enum name="editable" value="2" />
3926        </attr>
3927        <!-- Text to display. -->
3928        <attr name="text" format="string" localization="suggested" />
3929        <!-- Hint text to display when the text is empty. -->
3930        <attr name="hint" format="string" />
3931        <!-- Text color. -->
3932        <attr name="textColor" />
3933        <!-- Color of the text selection highlight. -->
3934        <attr name="textColorHighlight" />
3935        <!-- Color of the hint text. -->
3936        <attr name="textColorHint" />
3937        <!-- Base text color, typeface, size, and style. -->
3938        <attr name="textAppearance" />
3939        <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
3940        <attr name="textSize" />
3941        <!-- Sets the horizontal scaling factor for the text. -->
3942        <attr name="textScaleX" format="float" />
3943        <!-- Typeface (normal, sans, serif, monospace) for the text. -->
3944        <attr name="typeface" />
3945        <!-- Style (bold, italic, bolditalic) for the text. -->
3946        <attr name="textStyle" />
3947        <!-- Font family (named by string) for the text. -->
3948        <attr name="fontFamily" />
3949        <!-- Text color for links. -->
3950        <attr name="textColorLink" />
3951        <!-- Makes the cursor visible (the default) or invisible. -->
3952        <attr name="cursorVisible" format="boolean" />
3953        <!-- Makes the TextView be at most this many lines tall.
3954
3955        When used on an editable text, the <code>inputType</code> attribute's value must be
3956        combined with the <code>textMultiLine</code> flag for the maxLines attribute to apply. -->
3957        <attr name="maxLines" format="integer" min="0" />
3958        <!-- Makes the TextView be at most this many pixels tall. -->
3959        <attr name="maxHeight" />
3960        <!-- Makes the TextView be exactly this many lines tall. -->
3961        <attr name="lines" format="integer" min="0" />
3962        <!-- Makes the TextView be exactly this many pixels tall.
3963             You could get the same effect by specifying this number in the
3964             layout parameters. -->
3965        <attr name="height" format="dimension" />
3966        <!-- Makes the TextView be at least this many lines tall.
3967
3968        When used on an editable text, the <code>inputType</code> attribute's value must be
3969        combined with the <code>textMultiLine</code> flag for the minLines attribute to apply. -->
3970        <attr name="minLines" format="integer" min="0" />
3971        <!-- Makes the TextView be at least this many pixels tall. -->
3972        <attr name="minHeight" />
3973        <!-- Makes the TextView be at most this many ems wide. -->
3974        <attr name="maxEms" format="integer" min="0" />
3975        <!-- Makes the TextView be at most this many pixels wide. -->
3976        <attr name="maxWidth" />
3977        <!-- Makes the TextView be exactly this many ems wide. -->
3978        <attr name="ems" format="integer" min="0" />
3979        <!-- Makes the TextView be exactly this many pixels wide.
3980             You could get the same effect by specifying this number in the
3981             layout parameters. -->
3982        <attr name="width" format="dimension" />
3983        <!-- Makes the TextView be at least this many ems wide. -->
3984        <attr name="minEms" format="integer" min="0" />
3985        <!-- Makes the TextView be at least this many pixels wide. -->
3986        <attr name="minWidth" />
3987        <!-- Specifies how to align the text by the view's x- and/or y-axis
3988             when the text is smaller than the view. -->
3989        <attr name="gravity" />
3990        <!-- Whether the text is allowed to be wider than the view (and
3991             therefore can be scrolled horizontally). -->
3992        <attr name="scrollHorizontally" format="boolean" />
3993        <!-- Whether the characters of the field are displayed as
3994             password dots instead of themselves.
3995             {@deprecated Use inputType instead.} -->
3996        <attr name="password" format="boolean" />
3997        <!-- Constrains the text to a single horizontally scrolling line
3998             instead of letting it wrap onto multiple lines, and advances
3999             focus instead of inserting a newline when you press the
4000             enter key.
4001
4002             The default value is false (multi-line wrapped text mode) for non-editable text, but if
4003             you specify any value for inputType, the default is true (single-line input field mode).
4004
4005             {@deprecated This attribute is deprecated. Use <code>maxLines</code> instead to change
4006             the layout of a static text, and use the <code>textMultiLine</code> flag in the
4007             inputType attribute instead for editable text views (if both singleLine and inputType
4008             are supplied, the inputType flags will override the value of singleLine). } -->
4009        <attr name="singleLine" format="boolean" />
4010        <!-- Specifies whether the widget is enabled. The interpretation of the enabled state varies by subclass.
4011             For example, a non-enabled EditText prevents the user from editing the contained text, and
4012             a non-enabled Button prevents the user from tapping the button.
4013             The appearance of enabled and non-enabled widgets may differ, if the drawables referenced
4014             from evaluating state_enabled differ. -->
4015        <attr name="enabled" format="boolean" />
4016        <!-- If the text is selectable, select it all when the view takes
4017             focus. -->
4018        <attr name="selectAllOnFocus" format="boolean" />
4019        <!-- Leave enough room for ascenders and descenders instead of
4020             using the font ascent and descent strictly.  (Normally true). -->
4021        <attr name="includeFontPadding" format="boolean" />
4022        <!-- Set an input filter to constrain the text length to the
4023             specified number. -->
4024        <attr name="maxLength" format="integer" min="0" />
4025        <!-- Place a blurred shadow of text underneath the text, drawn with the
4026             specified color. The text shadow produced does not interact with
4027             properties on View that are responsible for real time shadows,
4028             {@link android.R.styleable#View_elevation elevation} and
4029             {@link android.R.styleable#View_translationZ translationZ}. -->
4030        <attr name="shadowColor" />
4031        <!-- Horizontal offset of the text shadow. -->
4032        <attr name="shadowDx" />
4033        <!-- Vertical offset of the text shadow. -->
4034        <attr name="shadowDy" />
4035        <!-- Blur radius of the text shadow. -->
4036        <attr name="shadowRadius" />
4037        <attr name="autoLink" />
4038        <!-- If set to false, keeps the movement method from being set
4039             to the link movement method even if autoLink causes links
4040             to be found. -->
4041        <attr name="linksClickable" format="boolean" />
4042        <!-- If set, specifies that this TextView has a numeric input method.
4043             The default is false.
4044             {@deprecated Use inputType instead.} -->
4045        <attr name="numeric">
4046            <!-- Input is numeric. -->
4047            <flag name="integer" value="0x01" />
4048            <!-- Input is numeric, with sign allowed. -->
4049            <flag name="signed" value="0x03" />
4050            <!-- Input is numeric, with decimals allowed. -->
4051            <flag name="decimal" value="0x05" />
4052        </attr>
4053        <!-- If set, specifies that this TextView has a numeric input method
4054             and that these specific characters are the ones that it will
4055             accept.
4056             If this is set, numeric is implied to be true.
4057             The default is false. -->
4058        <attr name="digits" format="string" />
4059        <!-- If set, specifies that this TextView has a phone number input
4060             method. The default is false.
4061             {@deprecated Use inputType instead.} -->
4062        <attr name="phoneNumber" format="boolean" />
4063        <!-- If set, specifies that this TextView should use the specified
4064             input method (specified by fully-qualified class name).
4065             {@deprecated Use inputType instead.} -->
4066        <attr name="inputMethod" format="string" />
4067        <!-- If set, specifies that this TextView has a textual input method
4068             and should automatically capitalize what the user types.
4069             The default is "none".
4070             {@deprecated Use inputType instead.} -->
4071        <attr name="capitalize">
4072            <!-- Don't automatically capitalize anything. -->
4073            <enum name="none" value="0" />
4074            <!-- Capitalize the first word of each sentence. -->
4075            <enum name="sentences" value="1" />
4076            <!-- Capitalize the first letter of every word. -->
4077            <enum name="words" value="2" />
4078            <!-- Capitalize every character. -->
4079            <enum name="characters" value="3" />
4080        </attr>
4081        <!-- If set, specifies that this TextView has a textual input method
4082             and automatically corrects some common spelling errors.
4083             The default is "false".
4084             {@deprecated Use inputType instead.} -->
4085        <attr name="autoText" format="boolean" />
4086        <!-- If set, specifies that this TextView has an input method.
4087             It will be a textual one unless it has otherwise been specified.
4088             For TextView, this is false by default.  For EditText, it is
4089             true by default.
4090             {@deprecated Use inputType instead.} -->
4091        <attr name="editable" format="boolean" />
4092        <!-- If set, the text view will include its current complete text
4093             inside of its frozen icicle in addition to meta-data such as
4094             the current cursor position.  By default this is disabled;
4095             it can be useful when the contents of a text view is not stored
4096             in a persistent place such as a content provider. -->
4097        <attr name="freezesText" format="boolean" />
4098        <!-- If set, causes words that are longer than the view is wide
4099             to be ellipsized instead of broken in the middle.
4100             You will often also want to set scrollHorizontally or singleLine
4101             as well so that the text as a whole is also constrained to
4102             a single line instead of still allowed to be broken onto
4103             multiple lines. -->
4104        <attr name="ellipsize" />
4105        <!-- The drawable to be drawn above the text. -->
4106        <attr name="drawableTop" format="reference|color" />
4107        <!-- The drawable to be drawn below the text. -->
4108        <attr name="drawableBottom" format="reference|color" />
4109        <!-- The drawable to be drawn to the left of the text. -->
4110        <attr name="drawableLeft" format="reference|color" />
4111        <!-- The drawable to be drawn to the right of the text. -->
4112        <attr name="drawableRight" format="reference|color" />
4113        <!-- The drawable to be drawn to the start of the text. -->
4114        <attr name="drawableStart" format="reference|color" />
4115        <!-- The drawable to be drawn to the end of the text. -->
4116        <attr name="drawableEnd" format="reference|color" />
4117        <!-- The padding between the drawables and the text. -->
4118        <attr name="drawablePadding" format="dimension" />
4119        <!-- Extra spacing between lines of text. -->
4120        <attr name="lineSpacingExtra" format="dimension" />
4121        <!-- Extra spacing between lines of text, as a multiplier. -->
4122        <attr name="lineSpacingMultiplier" format="float" />
4123        <!-- The number of times to repeat the marquee animation. Only applied if the
4124             TextView has marquee enabled. -->
4125        <attr name="marqueeRepeatLimit" format="integer">
4126            <!-- Indicates that marquee should repeat indefinitely. -->
4127            <enum name="marquee_forever" value="-1" />
4128        </attr>
4129        <attr name="inputType" />
4130        <attr name="imeOptions" />
4131        <!-- An addition content type description to supply to the input
4132             method attached to the text view, which is private to the
4133             implementation of the input method.  This simply fills in
4134             the {@link android.view.inputmethod.EditorInfo#privateImeOptions
4135             EditorInfo.privateImeOptions} field when the input
4136             method is connected. -->
4137        <attr name="privateImeOptions" format="string" />
4138        <!-- Supply a value for
4139             {@link android.view.inputmethod.EditorInfo#actionLabel EditorInfo.actionLabel}
4140             used when an input method is connected to the text view. -->
4141        <attr name="imeActionLabel" format="string" />
4142        <!-- Supply a value for
4143             {@link android.view.inputmethod.EditorInfo#actionId EditorInfo.actionId}
4144             used when an input method is connected to the text view. -->
4145        <attr name="imeActionId" format="integer" />
4146        <!-- Reference to an
4147             {@link android.R.styleable#InputExtras &lt;input-extras&gt;}
4148             XML resource containing additional data to
4149             supply to an input method, which is private to the implementation
4150             of the input method.  This simply fills in
4151             the {@link android.view.inputmethod.EditorInfo#extras
4152             EditorInfo.extras} field when the input
4153             method is connected. -->
4154        <attr name="editorExtras" format="reference" />
4155
4156        <!-- Reference to a drawable that will be used to display a text selection
4157             anchor on the left side of a selection region. -->
4158        <attr name="textSelectHandleLeft" />
4159        <!-- Reference to a drawable that will be used to display a text selection
4160             anchor on the right side of a selection region. -->
4161        <attr name="textSelectHandleRight" />
4162        <!-- Reference to a drawable that will be used to display a text selection
4163             anchor for positioning the cursor within text. -->
4164        <attr name="textSelectHandle" />
4165        <!-- The layout of the view that is displayed on top of the cursor to paste inside a
4166             TextEdit field. -->
4167        <attr name="textEditPasteWindowLayout" />
4168        <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. -->
4169        <attr name="textEditNoPasteWindowLayout" />
4170        <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the
4171             insertion cursor because it would be clipped if it were positioned on top. -->
4172        <attr name="textEditSidePasteWindowLayout" />
4173        <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. -->
4174        <attr name="textEditSideNoPasteWindowLayout" />
4175
4176        <!-- Layout of the TextView item that will populate the suggestion popup window. -->
4177        <attr name="textEditSuggestionItemLayout" />
4178
4179
4180        <!-- Reference to a drawable that will be drawn under the insertion cursor. -->
4181        <attr name="textCursorDrawable" />
4182
4183        <!-- Indicates that the content of a non-editable text can be selected. -->
4184        <attr name="textIsSelectable" />
4185        <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
4186        <attr name="textAllCaps" />
4187        <!-- Elegant text height, especially for less compacted complex script text. -->
4188        <attr name="elegantTextHeight" />
4189        <!-- Text letter-spacing. -->
4190        <attr name="letterSpacing" />
4191        <!-- Font feature settings. -->
4192        <attr name="fontFeatureSettings" />
4193    </declare-styleable>
4194    <declare-styleable name="TextViewAppearance">
4195        <!-- Base text color, typeface, size, and style. -->
4196        <attr name="textAppearance" />
4197    </declare-styleable>
4198    <declare-styleable name="SelectionModeDrawables">
4199        <attr name="actionModeSelectAllDrawable" />
4200        <attr name="actionModeCutDrawable" />
4201        <attr name="actionModeCopyDrawable" />
4202        <attr name="actionModePasteDrawable" />
4203    </declare-styleable>
4204    <declare-styleable name="SuggestionSpan">
4205        <attr name="textUnderlineColor" />
4206        <attr name="textUnderlineThickness" />
4207    </declare-styleable>
4208    <!-- An <code>input-extras</code> is a container for extra data to supply to
4209         an input method.  Contains
4210         one more more {@link #Extra <extra>} tags.  -->
4211    <declare-styleable name="InputExtras">
4212    </declare-styleable>
4213    <declare-styleable name="AutoCompleteTextView">
4214        <!-- Defines the hint displayed in the drop down menu. -->
4215        <attr name="completionHint" format="string" />
4216        <!-- Defines the hint view displayed in the drop down menu. -->
4217        <attr name="completionHintView" format="reference" />
4218        <!-- Defines the number of characters that the user must type before
4219         completion suggestions are displayed in a drop down menu. -->
4220        <attr name="completionThreshold" format="integer" min="1" />
4221        <!-- Selector in a drop down list. -->
4222        <attr name="dropDownSelector" format="reference|color" />
4223        <!-- View to anchor the auto-complete dropdown to. If not specified, the text view itself
4224             is used. -->
4225        <attr name="dropDownAnchor" format="reference" />
4226        <!-- Specifies the basic width of the dropdown. Its value may
4227             be a dimension (such as "12dip") for a constant width,
4228             fill_parent or match_parent to match the width of the
4229             screen, or wrap_content to match the width of
4230             the anchored view. -->
4231        <attr name="dropDownWidth" format="dimension">
4232            <!-- The dropdown should fill the width of the screen.
4233                 This constant is deprecated starting from API Level 8 and
4234                 is replaced by {@code match_parent}. -->
4235            <enum name="fill_parent" value="-1" />
4236            <!-- The dropdown should fit the width of the screen.
4237                 Introduced in API Level 8. -->
4238            <enum name="match_parent" value="-1" />
4239            <!-- The dropdown should fit the width of its anchor. -->
4240            <enum name="wrap_content" value="-2" />
4241        </attr>
4242        <!-- Specifies the basic height of the dropdown. Its value may
4243             be a dimension (such as "12dip") for a constant height,
4244             fill_parent or match_parent to fill the height of the
4245             screen, or wrap_content to match the height of
4246             the content of the drop down. -->
4247        <attr name="dropDownHeight" format="dimension">
4248            <!-- The dropdown should fit the height of the screen.
4249                 This constant is deprecated starting from API Level 8 and
4250                 is replaced by {@code match_parent}. -->
4251            <enum name="fill_parent" value="-1" />
4252            <!-- The dropdown should fit the height of the screen.
4253                 Introduced in API Level 8. -->
4254            <enum name="match_parent" value="-1" />
4255            <!-- The dropdown should fit the height of the content. -->
4256            <enum name="wrap_content" value="-2" />
4257        </attr>
4258        <attr name="inputType" />
4259    </declare-styleable>
4260    <declare-styleable name="PopupWindow">
4261        <!-- The background to use for the popup window. -->
4262        <attr name="popupBackground" format="reference|color" />
4263        <!-- Window elevation to use for the popup window. -->
4264        <attr name="popupElevation" format="dimension" />
4265        <!-- The animation style to use for the popup window. -->
4266        <attr name="popupAnimationStyle" format="reference" />
4267        <!-- Whether the popup window should overlap its anchor view. -->
4268        <attr name="overlapAnchor" format="boolean" />
4269    </declare-styleable>
4270    <declare-styleable name="ListPopupWindow">
4271        <!-- Amount of pixels by which the drop down should be offset vertically. -->
4272        <attr name="dropDownVerticalOffset" format="dimension" />
4273        <!-- Amount of pixels by which the drop down should be offset horizontally. -->
4274        <attr name="dropDownHorizontalOffset" format="dimension" />
4275    </declare-styleable>
4276    <declare-styleable name="ViewAnimator">
4277        <!-- Identifier for the animation to use when a view is shown. -->
4278        <attr name="inAnimation" format="reference" />
4279        <!-- Identifier for the animation to use when a view is hidden. -->
4280        <attr name="outAnimation" format="reference" />
4281        <!-- Defines whether to animate the current View when the ViewAnimation
4282             is first displayed. -->
4283        <attr name="animateFirstView" format="boolean" />
4284    </declare-styleable>
4285    <declare-styleable name="ViewFlipper">
4286        <attr name="flipInterval" format="integer" min="0" />
4287        <!-- When true, automatically start animating -->
4288        <attr name="autoStart" format="boolean" />
4289    </declare-styleable>
4290    <declare-styleable name="AdapterViewAnimator">
4291        <!-- Identifier for the animation to use when a view is shown. -->
4292        <attr name="inAnimation" />
4293        <!-- Identifier for the animation to use when a view is hidden. -->
4294        <attr name="outAnimation" />
4295        <!--Defines whether the animator loops to the first view once it
4296        has reached the end of the list. -->
4297        <attr name="loopViews" format="boolean" />
4298        <!-- Defines whether to animate the current View when the ViewAnimation
4299        is first displayed. -->
4300        <attr name="animateFirstView" />
4301    </declare-styleable>
4302    <declare-styleable name="AdapterViewFlipper">
4303        <attr name="flipInterval" />
4304        <!-- When true, automatically start animating -->
4305        <attr name="autoStart" />
4306    </declare-styleable>
4307    <declare-styleable name="ViewSwitcher">
4308    </declare-styleable>
4309    <declare-styleable name="ScrollView">
4310        <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
4311        <attr name="fillViewport" format="boolean" />
4312    </declare-styleable>
4313    <declare-styleable name="HorizontalScrollView">
4314        <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
4315        <attr name="fillViewport" />
4316    </declare-styleable>
4317    <declare-styleable name="Spinner">
4318        <!-- The prompt to display when the spinner's dialog is shown. -->
4319        <attr name="prompt" format="reference" />
4320        <!-- Display mode for spinner options. -->
4321        <attr name="spinnerMode" format="enum">
4322            <!-- Spinner options will be presented to the user as a dialog window. -->
4323            <enum name="dialog" value="0" />
4324            <!-- Spinner options will be presented to the user as an inline dropdown
4325                 anchored to the spinner widget itself. -->
4326            <enum name="dropdown" value="1" />
4327        </attr>
4328        <!-- List selector to use for spinnerMode="dropdown" display. -->
4329        <attr name="dropDownSelector" />
4330        <!-- Background drawable to use for the dropdown in spinnerMode="dropdown". -->
4331        <attr name="popupBackground" />
4332        <!-- Window elevation to use for the dropdown in spinnerMode="dropdown". -->
4333        <attr name="popupElevation" />
4334        <!-- Width of the dropdown in spinnerMode="dropdown". -->
4335        <attr name="dropDownWidth" />
4336        <!-- Reference to a layout to use for displaying a prompt in the dropdown for
4337             spinnerMode="dropdown". This layout must contain a TextView with the id
4338             {@code @android:id/text1} to be populated with the prompt text. -->
4339        <attr name="popupPromptView" format="reference" />
4340        <!-- Gravity setting for positioning the currently selected item. -->
4341        <attr name="gravity" />
4342        <!-- Whether this spinner should mark child views as enabled/disabled when
4343             the spinner itself is enabled/disabled. -->
4344        <attr name="disableChildrenWhenDisabled" format="boolean" />
4345    </declare-styleable>
4346
4347    <declare-styleable name="DatePicker">
4348        <!-- The first year (inclusive), for example "1940".
4349             {@deprecated Use minDate instead.} -->
4350        <attr name="startYear" format="integer" />
4351        <!-- The last year (inclusive), for example "2010".
4352             {@deprecated Use maxDate instead.} -->
4353        <attr name="endYear" format="integer" />
4354        <!-- Whether the spinners are shown. -->
4355        <attr name="spinnersShown" format="boolean" />
4356        <!-- Whether the calendar view is shown. -->
4357        <attr name="calendarViewShown" format="boolean" />
4358        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
4359        <attr name="minDate" format="string" />
4360        <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. -->
4361        <attr name="maxDate" format="string" />
4362        <!-- The first day of week according to {@link java.util.Calendar}. -->
4363        <attr name="firstDayOfWeek" />
4364        <!-- @hide The layout of the date picker. -->
4365        <attr name="internalLayout" format="reference"  />
4366        <!-- @hide The layout of the legacy DatePicker. -->
4367        <attr name="legacyLayout" />
4368        <!-- The background color for the date selector 's day of week. -->
4369        <attr name="dayOfWeekBackground" format="color|reference" />
4370        <!-- The text color for the date selector's day of week. -->
4371        <attr name="dayOfWeekTextAppearance" format="reference" />
4372        <!-- The month's text appearance in the date selector. -->
4373        <attr name="headerMonthTextAppearance" format="reference" />
4374        <!-- The day of month's text appearance in the date selector. -->
4375        <attr name="headerDayOfMonthTextAppearance" format="reference" />
4376        <!-- The year's text appearance in the date selector. -->
4377        <attr name="headerYearTextAppearance" format="reference" />
4378        <!-- The background for the date selector. -->
4379        <attr name="headerBackground" />
4380        <!-- @hide The selected text color for the date selector. Used as a
4381             backup if the text appearance does not explicitly have a color
4382             set for the selected state. -->
4383        <attr name="headerSelectedTextColor" />
4384        <!-- The list year's text appearance in the list. -->
4385        <attr name="yearListItemTextAppearance" format="reference" />
4386        <!-- The list year's selected circle color in the list. -->
4387        <attr name="yearListSelectorColor" format="color" />
4388        <!-- The text color list of the calendar. -->
4389        <attr name="calendarTextColor" format="color" />
4390        <!-- @hide The selected text color for the calendar. Used as a backup
4391             if the text color does not explicitly have a color set for the
4392             selected state. -->
4393        <attr name="calendarSelectedTextColor" format="color" />
4394        <!-- Defines the look of the widget. Prior to the L release, the only choice was
4395             spinner. As of L, with the Material theme selected, the default layout is calendar,
4396             but this attribute can be used to force spinner to be used instead. -->
4397        <attr name="datePickerMode">
4398            <!-- Date picker with spinner controls to select the date. -->
4399            <enum name="spinner" value="1" />
4400            <!-- Date picker with calendar to select the date. -->
4401            <enum name="calendar" value="2" />
4402        </attr>
4403    </declare-styleable>
4404
4405    <declare-styleable name="TwoLineListItem">
4406        <attr name="mode">
4407            <!-- Always show only the first line. -->
4408            <enum name="oneLine" value="1" />
4409            <!-- When selected show both lines, otherwise show only the first line.
4410                 This is the default mode. -->
4411            <enum name="collapsing" value="2" />
4412            <!-- Always show both lines. -->
4413            <enum name="twoLine" value="3" />
4414        </attr>
4415    </declare-styleable>
4416
4417    <!-- SlidingDrawer specific attributes. These attributes are used to configure
4418         a SlidingDrawer from XML. -->
4419    <declare-styleable name="SlidingDrawer">
4420        <!-- Identifier for the child that represents the drawer's handle. -->
4421        <attr name="handle" format="reference" />
4422        <!-- Identifier for the child that represents the drawer's content. -->
4423        <attr name="content" format="reference" />
4424        <!-- Orientation of the SlidingDrawer. -->
4425        <attr name="orientation" />
4426        <!-- Extra offset for the handle at the bottom of the SlidingDrawer. -->
4427        <attr name="bottomOffset" format="dimension"  />
4428        <!-- Extra offset for the handle at the top of the SlidingDrawer. -->
4429        <attr name="topOffset" format="dimension"  />
4430        <!-- Indicates whether the drawer can be opened/closed by a single tap
4431             on the handle.  (If false, the user must drag or fling, or click
4432             using the trackball, to open/close the drawer.)  Default is true. -->
4433        <attr name="allowSingleTap" format="boolean" />
4434        <!-- Indicates whether the drawer should be opened/closed with an animation
4435             when the user clicks the handle. Default is true. -->
4436        <attr name="animateOnClick" format="boolean" />
4437    </declare-styleable>
4438
4439    <!-- GestureOverlayView specific attributes. These attributes are used to configure
4440         a GestureOverlayView from XML. -->
4441    <declare-styleable name="GestureOverlayView">
4442        <!-- Width of the stroke used to draw the gesture. -->
4443        <attr name="gestureStrokeWidth" format="float" />
4444        <!-- Color used to draw a gesture. -->
4445        <attr name="gestureColor" format="color" />
4446        <!-- Color used to draw the user's strokes until we are sure it's a gesture. -->
4447        <attr name="uncertainGestureColor" format="color" />
4448        <!-- Time, in milliseconds, to wait before the gesture fades out after the user
4449             is done drawing it. -->
4450        <attr name="fadeOffset" format="integer" />
4451        <!-- Duration, in milliseconds, of the fade out effect after the user is done
4452             drawing a gesture. -->
4453        <attr name="fadeDuration" format="integer" />
4454        <!-- Defines the type of strokes that define a gesture. -->
4455        <attr name="gestureStrokeType">
4456            <!-- A gesture is made of only one stroke. -->
4457            <enum name="single" value="0" />
4458            <!-- A gesture is made of multiple strokes. -->
4459            <enum name="multiple" value="1" />
4460        </attr>
4461        <!-- Minimum length of a stroke before it is recognized as a gesture. -->
4462        <attr name="gestureStrokeLengthThreshold" format="float" />
4463        <!-- Squareness threshold of a stroke before it is recognized as a gesture. -->
4464        <attr name="gestureStrokeSquarenessThreshold" format="float" />
4465        <!-- Minimum curve angle a stroke must contain before it is recognized as a gesture. -->
4466        <attr name="gestureStrokeAngleThreshold" format="float" />
4467        <!-- Defines whether the overlay should intercept the motion events when a gesture
4468             is recognized. -->
4469        <attr name="eventsInterceptionEnabled" format="boolean" />
4470        <!-- Defines whether the gesture will automatically fade out after being recognized. -->
4471        <attr name="fadeEnabled" format="boolean" />
4472        <!-- Indicates whether horizontal (when the orientation is vertical) or vertical
4473             (when orientation is horizontal) strokes automatically define a gesture. -->
4474        <attr name="orientation" />
4475    </declare-styleable>
4476
4477    <declare-styleable name="QuickContactBadge">
4478        <attr name="quickContactWindowSize">
4479            <enum name="modeSmall" value="1" />
4480            <enum name="modeMedium" value="2" />
4481            <enum name="modeLarge" value="3" />
4482        </attr>
4483    </declare-styleable>
4484
4485    <!-- ======================================= -->
4486    <!-- Widget package parent layout attributes -->
4487    <!-- ======================================= -->
4488    <eat-comment />
4489
4490    <declare-styleable name="AbsoluteLayout_Layout">
4491        <attr name="layout_x" format="dimension" />
4492        <attr name="layout_y" format="dimension" />
4493    </declare-styleable>
4494    <declare-styleable name="LinearLayout_Layout">
4495        <attr name="layout_width" />
4496        <attr name="layout_height" />
4497        <attr name="layout_weight" format="float" />
4498        <attr name="layout_gravity" />
4499    </declare-styleable>
4500    <declare-styleable name="GridLayout_Layout">
4501        <!-- The row boundary delimiting the top of the group of cells
4502        occupied by this view. -->
4503        <attr name="layout_row" format="integer" />
4504        <!-- The row span: the difference between the top and bottom
4505        boundaries delimiting the group of cells occupied by this view.
4506        The default is one.
4507        See {@link android.widget.GridLayout.Spec}. -->
4508        <attr name="layout_rowSpan" format="integer" min="1" />
4509        <!-- The relative proportion of vertical space that should be allocated to this view
4510        during excess space distribution. -->
4511        <attr name="layout_rowWeight" format="float" />
4512        <!-- The column boundary delimiting the left of the group of cells
4513        occupied by this view. -->
4514        <attr name="layout_column" />
4515        <!-- The column span: the difference between the right and left
4516        boundaries delimiting the group of cells occupied by this view.
4517        The default is one.
4518        See {@link android.widget.GridLayout.Spec}. -->
4519        <attr name="layout_columnSpan" format="integer" min="1" />
4520        <!-- The relative proportion of horizontal space that should be allocated to this view
4521        during excess space distribution. -->
4522        <attr name="layout_columnWeight" format="float" />
4523        <!-- Gravity specifies how a component should be placed in its group of cells.
4524        The default is LEFT | BASELINE.
4525        See {@link android.widget.GridLayout.LayoutParams#setGravity(int)}. -->
4526        <attr name="layout_gravity" />
4527    </declare-styleable>
4528    <declare-styleable name="FrameLayout_Layout">
4529        <attr name="layout_gravity" />
4530    </declare-styleable>
4531    <declare-styleable name="RelativeLayout_Layout">
4532        <!-- Positions the right edge of this view to the left of the given anchor view ID.
4533             Accommodates right margin of this view and left margin of anchor view. -->
4534        <attr name="layout_toLeftOf" format="reference" />
4535        <!-- Positions the left edge of this view to the right of the given anchor view ID.
4536            Accommodates left margin of this view and right margin of anchor view. -->
4537        <attr name="layout_toRightOf" format="reference" />
4538        <!-- Positions the bottom edge of this view above the given anchor view ID.
4539            Accommodates bottom margin of this view and top margin of anchor view. -->
4540        <attr name="layout_above" format="reference" />
4541        <!-- Positions the top edge of this view below the given anchor view ID.
4542            Accommodates top margin of this view and bottom margin of anchor view. -->
4543        <attr name="layout_below" format="reference" />
4544        <!-- Positions the baseline of this view on the baseline of the given anchor view ID. -->
4545        <attr name="layout_alignBaseline" format="reference" />
4546        <!-- Makes the left edge of this view match the left edge of the given anchor view ID.
4547            Accommodates left margin. -->
4548        <attr name="layout_alignLeft" format="reference" />
4549        <!-- Makes the top edge of this view match the top edge of the given anchor view ID.
4550            Accommodates top margin. -->
4551        <attr name="layout_alignTop" format="reference" />
4552        <!-- Makes the right edge of this view match the right edge of the given anchor view ID.
4553            Accommodates right margin. -->
4554        <attr name="layout_alignRight" format="reference" />
4555        <!-- Makes the bottom edge of this view match the bottom edge of the given anchor view ID.
4556            Accommodates bottom margin. -->
4557        <attr name="layout_alignBottom" format="reference" />
4558        <!-- If true, makes the left edge of this view match the left edge of the parent.
4559            Accommodates left margin. -->
4560        <attr name="layout_alignParentLeft" format="boolean" />
4561        <!-- If true, makes the top edge of this view match the top edge of the parent.
4562            Accommodates top margin. -->
4563        <attr name="layout_alignParentTop" format="boolean" />
4564        <!-- If true, makes the right edge of this view match the right edge of the parent.
4565            Accommodates right margin. -->
4566        <attr name="layout_alignParentRight" format="boolean" />
4567        <!-- If true, makes the bottom edge of this view match the bottom edge of the parent.
4568            Accommodates bottom margin. -->
4569        <attr name="layout_alignParentBottom" format="boolean" />
4570        <!-- If true, centers this child horizontally and vertically within its parent. -->
4571        <attr name="layout_centerInParent" format="boolean" />
4572        <!-- If true, centers this child horizontally within its parent. -->
4573        <attr name="layout_centerHorizontal" format="boolean" />
4574        <!-- If true, centers this child vertically within its parent. -->
4575        <attr name="layout_centerVertical" format="boolean" />
4576        <!-- If set to true, the parent will be used as the anchor when the anchor cannot be
4577             be found for layout_toLeftOf, layout_toRightOf, etc. -->
4578        <attr name="layout_alignWithParentIfMissing" format="boolean" />
4579        <!-- Positions the end edge of this view to the start of the given anchor view ID.
4580             Accommodates end margin of this view and start margin of anchor view. -->
4581        <attr name="layout_toStartOf" format="reference" />
4582        <!-- Positions the start edge of this view to the end of the given anchor view ID.
4583             Accommodates start margin of this view and end margin of anchor view. -->
4584        <attr name="layout_toEndOf" format="reference" />
4585        <!-- Makes the start edge of this view match the start edge of the given anchor view ID.
4586            Accommodates start margin. -->
4587        <attr name="layout_alignStart" format="reference" />
4588        <!-- Makes the end edge of this view match the end edge of the given anchor view ID.
4589            Accommodates end margin. -->
4590        <attr name="layout_alignEnd" format="reference" />
4591        <!-- If true, makes the start edge of this view match the start edge of the parent.
4592            Accommodates start margin. -->
4593        <attr name="layout_alignParentStart" format="boolean" />
4594        <!-- If true, makes the end edge of this view match the end edge of the parent.
4595            Accommodates end margin. -->
4596        <attr name="layout_alignParentEnd" format="boolean" />
4597    </declare-styleable>
4598    <declare-styleable name="VerticalSlider_Layout">
4599        <attr name="layout_scale" format="float" />
4600    </declare-styleable>
4601
4602    <!-- attributes for internal rotary widget used in lock screen and phone app
4603      @hide -->
4604    <declare-styleable name="RotarySelector">
4605        <!-- Use "horizontal" or "vertical".  The default is horizontal. -->
4606        <attr name="orientation" />
4607    </declare-styleable>
4608
4609    <!-- @hide -->
4610    <declare-styleable name="WeightedLinearLayout">
4611        <attr name="majorWeightMin" format="float" />
4612        <attr name="minorWeightMin" format="float" />
4613        <attr name="majorWeightMax" format="float" />
4614        <attr name="minorWeightMax" format="float" />
4615    </declare-styleable>
4616
4617    <declare-styleable name="CalendarView">
4618        <!-- The first day of week according to {@link java.util.Calendar}. -->
4619        <attr name="firstDayOfWeek" format="integer" />
4620        <!-- Whether do show week numbers. -->
4621        <attr name="showWeekNumber" format="boolean" />
4622        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
4623        <attr name="minDate" />
4624        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
4625        <attr name="maxDate" />
4626        <!-- The number of weeks to be shown. -->
4627        <attr name="shownWeekCount" format="integer"/>
4628        <!-- The background color for the selected week. -->
4629        <attr name="selectedWeekBackgroundColor" format="color|reference" />
4630        <!-- The color for the dates of the focused month. -->
4631        <attr name="focusedMonthDateColor" format="color|reference" />
4632        <!-- The color for the dates of an unfocused month. -->
4633        <attr name="unfocusedMonthDateColor" format="color|reference" />
4634        <!-- The color for the week numbers. -->
4635        <attr name="weekNumberColor" format="color|reference" />
4636        <!-- The color for the separator line between weeks. -->
4637        <attr name="weekSeparatorLineColor" format="color|reference" />
4638        <!-- Drawable for the vertical bar shown at the beginning and at the end of the selected date. -->
4639        <attr name="selectedDateVerticalBar" format="reference" />
4640        <!-- The text appearance for the week day abbreviation of the calendar header. -->
4641        <attr name="weekDayTextAppearance" format="reference" />
4642        <!-- The text appearance for the calendar dates. -->
4643        <attr name="dateTextAppearance" format="reference" />
4644    </declare-styleable>
4645
4646    <declare-styleable name="NumberPicker">
4647        <!-- @hide Color for the solid color background if such for optimized rendering. -->
4648        <attr name="solidColor" format="color|reference" />
4649        <!-- @hide The divider for making the selection area. -->
4650        <attr name="selectionDivider" format="reference" />
4651        <!-- @hide The height of the selection divider. -->
4652        <attr name="selectionDividerHeight" format="dimension" />
4653        <!-- @hide The distance between the two selection dividers. -->
4654        <attr name="selectionDividersDistance" format="dimension" />
4655        <!-- @hide The min height of the NumberPicker. -->
4656        <attr name="internalMinHeight" format="dimension" />
4657        <!-- @hide The max height of the NumberPicker. -->
4658        <attr name="internalMaxHeight" format="dimension" />
4659        <!-- @hide The min width of the NumberPicker. -->
4660        <attr name="internalMinWidth" format="dimension" />
4661        <!-- @hide The max width of the NumberPicker. -->
4662        <attr name="internalMaxWidth" format="dimension" />
4663        <!-- @hide The layout of the number picker. -->
4664        <attr name="internalLayout" />
4665        <!-- @hide The drawable for pressed virtual (increment/decrement) buttons. -->
4666        <attr name="virtualButtonPressedDrawable" format="reference"/>
4667        <!-- @hide If true then the selector wheel is hidden until the picker has focus. -->
4668        <attr name="hideWheelUntilFocused" format="boolean"/>
4669    </declare-styleable>
4670
4671    <declare-styleable name="TimePicker">
4672        <!-- @hide The layout of the legacy time picker. -->
4673        <attr name="legacyLayout" format="reference" />
4674        <!-- @hide The layout of the time picker. -->
4675        <attr name="internalLayout" />
4676        <!-- The text appearance for the AM/PM header. -->
4677        <attr name="headerAmPmTextAppearance" format="reference" />
4678        <!-- The text appearance for the time header. -->
4679        <attr name="headerTimeTextAppearance" format="reference" />
4680        <!-- @hide The text color for selected time header of the TimePicker.
4681             This will override the value from the text appearance if it does
4682             not explicitly have a color set for the selected state. -->
4683        <attr name="headerSelectedTextColor" format="color" />
4684        <!-- The background for the header containing the currently selected time. -->
4685        <attr name="headerBackground" />
4686        <!-- The color for the hours/minutes numbers. -->
4687        <attr name="numbersTextColor" format="color" />
4688        <!-- The background color for the hours/minutes numbers. -->
4689        <attr name="numbersBackgroundColor" format="color" />
4690        <!-- The color for the AM/PM selectors. -->
4691        <attr name="amPmTextColor" format="color" />
4692        <!-- The background color state list for the AM/PM selectors. -->
4693        <attr name="amPmBackgroundColor" format="color" />
4694        <!-- @hide The background color for the AM/PM selectors of the
4695             TimePicker when selected. Used if the background color does not
4696             explicitly have a color set for the selected state. -->
4697        <attr name="amPmSelectedBackgroundColor" format="color" />
4698        <!-- The color for the hours/minutes selector. -->
4699        <attr name="numbersSelectorColor" format="color" />
4700        <!-- Defines the look of the widget. Prior to the L release, the only choice was
4701             spinner. As of L, with the Material theme selected, the default layout is clock,
4702             but this attribute can be used to force spinner to be used instead. -->
4703        <attr name="timePickerMode">
4704            <!-- Time picker with spinner controls to select the time. -->
4705            <enum name="spinner" value="1" />
4706            <!-- Time picker with clock face to select the time. -->
4707            <enum name="clock" value="2" />
4708        </attr>
4709    </declare-styleable>
4710
4711    <!-- ========================= -->
4712    <!-- Drawable class attributes -->
4713    <!-- ========================= -->
4714    <eat-comment />
4715
4716    <!-- Base attributes that are available to all Drawable objects. -->
4717    <declare-styleable name="Drawable">
4718        <!-- Provides initial visibility state of the drawable; the default
4719             value is false.  See
4720             {@link android.graphics.drawable.Drawable#setVisible}. -->
4721        <attr name="visible" format="boolean" />
4722        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
4723             RTL (right-to-left).  See
4724             {@link android.graphics.drawable.Drawable#setAutoMirrored}. -->
4725        <attr name="autoMirrored" format="boolean" />
4726    </declare-styleable>
4727
4728    <!-- Drawable used to render several states. Each state is represented by
4729         a child drawable. -->
4730    <declare-styleable name="StateListDrawable">
4731        <!-- Indicates whether the drawable should be initially visible. -->
4732        <attr name="visible" />
4733        <!-- If true, allows the drawable's padding to change based on the
4734             current state that is selected.  If false, the padding will
4735             stay the same (based on the maximum padding of all the states).
4736             Enabling this feature requires that the owner of the drawable
4737             deal with performing layout when the state changes, which is
4738             often not supported. -->
4739        <attr name="variablePadding" format="boolean" />
4740        <!-- If true, the drawable's reported internal size will remain
4741             constant as the state changes; the size is the maximum of all
4742             of the states.  If false, the size will vary based on the
4743             current state. -->
4744        <attr name="constantSize" format="boolean" />
4745        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
4746             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
4747             an RGB 565 screen). -->
4748        <attr name="dither" format="boolean" />
4749        <!-- Amount of time (in milliseconds) to fade in a new state drawable. -->
4750        <attr name="enterFadeDuration" format="integer" />
4751        <!-- Amount of time (in milliseconds) to fade out an old state drawable. -->
4752        <attr name="exitFadeDuration" format="integer" />
4753        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
4754             RTL (right-to-left). -->
4755        <attr name="autoMirrored"/>
4756    </declare-styleable>
4757
4758    <!-- Drawable used to render several states with animated transitions. Each state
4759         is represented by a child drawable with an optional keyframe ID. -->
4760    <declare-styleable name="AnimatedStateListDrawable">
4761        <!-- Indicates whether the drawable should be initially visible. -->
4762        <attr name="visible" />
4763        <!-- If true, allows the drawable's padding to change based on the
4764             current state that is selected.  If false, the padding will
4765             stay the same (based on the maximum padding of all the states).
4766             Enabling this feature requires that the owner of the drawable
4767             deal with performing layout when the state changes, which is
4768             often not supported. -->
4769        <attr name="variablePadding" />
4770        <!-- If true, the drawable's reported internal size will remain
4771             constant as the state changes; the size is the maximum of all
4772             of the states.  If false, the size will vary based on the
4773             current state. -->
4774        <attr name="constantSize" />
4775        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
4776             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
4777             an RGB 565 screen). -->
4778        <attr name="dither" />
4779        <!-- Amount of time (in milliseconds) to fade in a new state drawable. -->
4780        <attr name="enterFadeDuration" />
4781        <!-- Amount of time (in milliseconds) to fade out an old state drawable. -->
4782        <attr name="exitFadeDuration" />
4783        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
4784             RTL (right-to-left). -->
4785        <attr name="autoMirrored"/>
4786    </declare-styleable>
4787
4788    <!-- Transition used to animate between states with keyframe IDs. -->
4789    <declare-styleable name="AnimatedStateListDrawableItem">
4790        <!-- Reference to a drawable resource to use for the frame.  If not
4791             given, the drawable must be defined by the first child tag. -->
4792        <attr name="drawable" />
4793        <!-- Keyframe identifier for use in specifying transitions. -->
4794        <attr name="id" />
4795    </declare-styleable>
4796
4797    <!-- Transition used to animate between states with keyframe IDs. -->
4798    <declare-styleable name="AnimatedStateListDrawableTransition">
4799        <!-- Keyframe identifier for the starting state. -->
4800        <attr name="fromId" format="reference" />
4801        <!-- Keyframe identifier for the ending state. -->
4802        <attr name="toId" format="reference" />
4803        <!-- Reference to a animation drawable resource to use for the frame.  If not
4804             given, the animation drawable must be defined by the first child tag. -->
4805        <attr name="drawable" />
4806        <!-- Whether this transition is reversible. -->
4807        <attr name="reversible" format="boolean" />
4808    </declare-styleable>
4809
4810    <!-- Drawable used to render several animated frames. -->
4811    <declare-styleable name="AnimationDrawable">
4812        <attr name="visible" />
4813        <attr name="variablePadding" />
4814        <!-- If true, the animation will only run a single time and then
4815             stop.  If false (the default), it will continually run,
4816             restarting at the first frame after the last has finished. -->
4817        <attr name="oneshot" format="boolean" />
4818    </declare-styleable>
4819
4820    <!-- Represents a single frame inside an AnimationDrawable. -->
4821    <declare-styleable name="AnimationDrawableItem">
4822        <!-- Amount of time (in milliseconds) to display this frame. -->
4823        <attr name="duration" format="integer" />
4824        <!-- Reference to a drawable resource to use for the frame.  If not
4825             given, the drawable must be defined by the first child tag. -->
4826        <attr name="drawable" format="reference" />
4827    </declare-styleable>
4828
4829    <!-- Attributes that can be assigned to a StateListAnimator item. -->
4830    <declare-styleable name="StateListAnimatorItem">
4831        <attr name="animation"/>
4832    </declare-styleable>
4833
4834    <!-- Drawable used to render a geometric shape, with a gradient or a solid color. -->
4835    <declare-styleable name="GradientDrawable">
4836        <!-- Indicates whether the drawable should intially be visible. -->
4837        <attr name="visible" />
4838        <!-- Enables or disables dithering. -->
4839        <attr name="dither" />
4840        <!-- Indicates what shape to fill with a gradient. -->
4841        <attr name="shape">
4842            <!-- Rectangle shape, with optional rounder corners. -->
4843            <enum name="rectangle" value="0" />
4844            <!-- Oval shape. -->
4845            <enum name="oval" value="1" />
4846            <!-- Line shape. -->
4847            <enum name="line" value="2" />
4848            <!-- Ring shape. -->
4849            <enum name="ring" value="3" />
4850        </attr>
4851        <!-- Inner radius of the ring expressed as a ratio of the ring's width. For instance,
4852             if innerRadiusRatio=9, then the inner radius equals the ring's width divided by 9.
4853             This value is ignored if innerRadius is defined. Default value is 9. -->
4854        <attr name="innerRadiusRatio" format="float" />
4855        <!-- Thickness of the ring expressed as a ratio of the ring's width. For instance,
4856             if thicknessRatio=3, then the thickness equals the ring's width divided by 3.
4857             This value is ignored if innerRadius is defined. Default value is 3. -->
4858        <attr name="thicknessRatio" format="float" />
4859        <!-- Inner radius of the ring. When defined, innerRadiusRatio is ignored. -->
4860        <attr name="innerRadius" format="dimension" />
4861        <!-- Thickness of the ring. When defined, thicknessRatio is ignored. -->
4862        <attr name="thickness" format="dimension" />
4863        <!-- Indicates whether the drawable's level affects the way the gradient is drawn. -->
4864        <attr name="useLevel" />
4865    </declare-styleable>
4866
4867    <!-- Used to specify the size of the shape for GradientDrawable. -->
4868    <declare-styleable name="GradientDrawableSize">
4869        <!-- Width of the gradient shape. -->
4870        <attr name="width" />
4871        <!-- Height of the gradient shape. -->
4872        <attr name="height" />
4873    </declare-styleable>
4874
4875    <!-- Used to describe the gradient used to fill the shape of a GradientDrawable. -->
4876    <declare-styleable name="GradientDrawableGradient">
4877        <!-- Start color of the gradient. -->
4878        <attr name="startColor" format="color" />
4879        <!-- Optional center color. For linear gradients, use centerX or centerY
4880             to place the center color. -->
4881        <attr name="centerColor" format="color" />
4882        <!-- End color of the gradient. -->
4883        <attr name="endColor" format="color" />
4884        <attr name="useLevel" format="boolean" />
4885        <!-- Angle of the gradient. -->
4886        <attr name="angle" format="float" />
4887        <!-- Type of gradient. The default type is linear. -->
4888        <attr name="type">
4889            <!-- Linear gradient. -->
4890            <enum name="linear" value="0" />
4891            <!-- Radial, or circular, gradient. -->
4892            <enum name="radial" value="1" />
4893            <!-- Sweep, or angled or diamond, gradient. -->
4894            <enum name="sweep"  value="2" />
4895        </attr>
4896        <!-- X coordinate of the origin of the gradient within the shape. -->
4897        <attr name="centerX" format="float|fraction" />
4898        <!-- Y coordinate of the origin of the gradient within the shape. -->
4899        <attr name="centerY" format="float|fraction" />
4900        <!-- Radius of the gradient, used only with radial gradient. -->
4901        <attr name="gradientRadius" format="float|fraction" />
4902    </declare-styleable>
4903
4904    <!-- Used to fill the shape of GradientDrawable with a solid color. -->
4905    <declare-styleable name="GradientDrawableSolid">
4906        <!-- Solid color for the gradient shape. -->
4907        <attr name="color" format="color" />
4908    </declare-styleable>
4909
4910    <!-- Used to describe the optional stroke of a GradientDrawable. -->
4911    <declare-styleable name="GradientDrawableStroke">
4912        <!-- Width of the gradient shape's stroke. -->
4913        <attr name="width" />
4914        <!-- Color of the gradient shape's stroke. -->
4915        <attr name="color" />
4916        <!-- Length of a dash in the stroke. -->
4917        <attr name="dashWidth" format="dimension" />
4918        <!-- Gap between dashes in the stroke. -->
4919        <attr name="dashGap" format="dimension" />
4920    </declare-styleable>
4921
4922    <!-- Describes the corners for the rectangle shape of a GradientDrawable.
4923         This can be used to render rounded corners. -->
4924    <declare-styleable name="DrawableCorners">
4925        <!-- Defines the radius of the four corners. -->
4926        <attr name="radius" format="dimension" />
4927        <!-- Radius of the top left corner. -->
4928        <attr name="topLeftRadius" format="dimension" />
4929        <!-- Radius of the top right corner. -->
4930        <attr name="topRightRadius" format="dimension" />
4931        <!-- Radius of the bottom left corner. -->
4932        <attr name="bottomLeftRadius" format="dimension" />
4933        <!-- Radius of the bottom right corner. -->
4934        <attr name="bottomRightRadius" format="dimension" />
4935    </declare-styleable>
4936
4937    <!-- Used to specify the optional padding of a GradientDrawable. -->
4938    <declare-styleable name="GradientDrawablePadding">
4939        <!-- Amount of left padding inside the gradient shape. -->
4940        <attr name="left" format="dimension" />
4941        <!-- Amount of top padding inside the gradient shape. -->
4942        <attr name="top" format="dimension" />
4943        <!-- Amount of right padding inside the gradient shape. -->
4944        <attr name="right" format="dimension" />
4945        <!-- Amount of bottom padding inside the gradient shape. -->
4946        <attr name="bottom" format="dimension" />
4947    </declare-styleable>
4948
4949    <!-- Drawable used to render several drawables stacked on top of each other.
4950         Each child drawable can be controlled individually. -->
4951    <declare-styleable name="LayerDrawable">
4952        <!-- Indicates the opacity of the layer. This can be useful to allow the
4953              system to enable drawing optimizations. The default value is
4954              translucent. -->
4955        <attr name="opacity">
4956            <!-- Indicates that the layer is opaque and contains no transparent
4957                 nor translucent pixels. -->
4958            <enum name="opaque" value="-1" />
4959            <!-- The layer is completely transparent (no pixel will be drawn.) -->
4960            <enum name="transparent" value="-2" />
4961            <!-- The layer has translucent pixels. -->
4962            <enum name="translucent" value="-3" />
4963        </attr>
4964        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
4965             RTL (right-to-left). -->
4966        <attr name="autoMirrored" />
4967        <!-- Indicates how layer padding should affect the bounds of subsequent layers.
4968             The default padding mode value is nest. -->
4969        <attr name="paddingMode">
4970            <!-- Nest each layer inside the padding of the previous layer. -->
4971            <enum name="nest" value="0" />
4972            <!-- Stack each layer directly atop the previous layer. -->
4973            <enum name="stack" value="1" />
4974        </attr>
4975    </declare-styleable>
4976
4977    <!-- Describes an item (or child) of a LayerDrawable. -->
4978    <declare-styleable name="LayerDrawableItem">
4979        <!-- Left coordinate of the layer. -->
4980        <attr name="left" />
4981        <!-- Top coordinate of the layer. -->
4982        <attr name="top" />
4983        <!-- Right coordinate of the layer. -->
4984        <attr name="right" />
4985        <!-- Bottom coordinate of the layer. -->
4986        <attr name="bottom" />
4987        <!-- Drawable used to render the layer. -->
4988        <attr name="drawable" />
4989        <!-- Identifier of the layer. This can be used to retrieve the layer
4990             from a drawable container. -->
4991        <attr name="id" />
4992    </declare-styleable>
4993
4994    <declare-styleable name="LevelListDrawableItem">
4995        <!-- The minimum level allowed for this item. -->
4996        <attr name="minLevel" format="integer" />
4997        <!-- The maximum level allowed for this item. -->
4998        <attr name="maxLevel" format="integer" />
4999        <attr name="drawable" />
5000    </declare-styleable>
5001
5002    <!-- Drawable used to rotate another drawable. -->
5003    <declare-styleable name="RotateDrawable">
5004        <attr name="visible" />
5005        <attr name="fromDegrees" format="float" />
5006        <attr name="toDegrees" format="float" />
5007        <attr name="pivotX" format="float|fraction" />
5008        <attr name="pivotY" format="float|fraction" />
5009        <attr name="drawable" />
5010    </declare-styleable>
5011
5012    <declare-styleable name="AnimatedRotateDrawable">
5013        <attr name="visible" />
5014        <attr name="frameDuration" format="integer" />
5015        <attr name="framesCount" format="integer" />
5016        <attr name="pivotX" />
5017        <attr name="pivotY" />
5018        <attr name="drawable" />
5019    </declare-styleable>
5020
5021    <!-- Drawable used to render the Material progress indicator. -->
5022    <declare-styleable name="MaterialProgressDrawable">
5023        <attr name="visible" />
5024        <attr name="thickness" />
5025        <attr name="innerRadius" />
5026        <attr name="width" />
5027        <attr name="height" />
5028        <attr name="color" />
5029    </declare-styleable>
5030
5031    <declare-styleable name="InsetDrawable">
5032        <attr name="visible" />
5033        <attr name="drawable" />
5034        <attr name="inset"  format="dimension"/>
5035        <attr name="insetLeft" format="dimension" />
5036        <attr name="insetRight" format="dimension" />
5037        <attr name="insetTop" format="dimension" />
5038        <attr name="insetBottom" format="dimension" />
5039    </declare-styleable>
5040
5041    <!-- Drawable used to draw bitmaps. -->
5042    <declare-styleable name="BitmapDrawable">
5043        <!-- Identifier of the bitmap file. This attribute is mandatory. -->
5044        <attr name="src" />
5045        <!-- Enables or disables antialiasing. Antialiasing can be used to smooth the
5046             edges of a bitmap when rotated. Default value is false. -->
5047        <attr name="antialias" format="boolean" />
5048        <!-- Enables or disables bitmap filtering. Filtering is used when the bitmap is
5049             shrunk or stretched to smooth its apperance. Default value is true. -->
5050        <attr name="filter" format="boolean" />
5051        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5052             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5053             an RGB 565 screen). Default value is true. -->
5054        <attr name="dither" />
5055        <!-- Defines the gravity for the bitmap. The gravity indicates where to position
5056             the drawable in its container if the bitmap is smaller than the container. -->
5057        <attr name="gravity" />
5058        <!-- Defines the tile mode. When the tile mode is enabled, the bitmap is repeated.
5059             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5060        <attr name="tileMode">
5061            <!-- Do not tile the bitmap. This is the default value. -->
5062            <enum name="disabled" value="-1" />
5063            <!-- Replicates the edge color. -->
5064            <enum name="clamp" value="0" />
5065            <!-- Repeats the bitmap in both direction. -->
5066            <enum name="repeat" value="1" />
5067            <!-- Repeats the shader's image horizontally and vertically, alternating
5068                 mirror images so that adjacent images always seam. -->
5069            <enum name="mirror" value="2" />
5070        </attr>
5071        <!-- Defines the horizontal tile mode. When the tile mode is enabled, the bitmap is repeated.
5072             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5073        <attr name="tileModeX">
5074            <!-- Do not tile the bitmap. This is the default value. -->
5075            <enum name="disabled" value="-1" />
5076            <!-- Replicates the edge color. -->
5077            <enum name="clamp" value="0" />
5078            <!-- Repeats the bitmap horizontally. -->
5079            <enum name="repeat" value="1" />
5080            <!-- Repeats the shader's image horizontally, alternating
5081                 mirror images so that adjacent images always seam. -->
5082            <enum name="mirror" value="2" />
5083        </attr>
5084        <!-- Defines the vertical tile mode. When the tile mode is enabled, the bitmap is repeated.
5085             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5086        <attr name="tileModeY">
5087            <!-- Do not tile the bitmap. This is the default value. -->
5088            <enum name="disabled" value="-1" />
5089            <!-- Replicates the edge color. -->
5090            <enum name="clamp" value="0" />
5091            <!-- Repeats the bitmap vertically. -->
5092            <enum name="repeat" value="1" />
5093            <!-- Repeats the shader's image vertically, alternating
5094                 mirror images so that adjacent images always seam. -->
5095            <enum name="mirror" value="2" />
5096        </attr>
5097        <!-- Enables or disables the mipmap hint. See
5098            {@link android.graphics.Bitmap#setHasMipMap(boolean)} for more information.
5099            Default value is false. -->
5100        <attr name="mipMap" format="boolean" />
5101        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5102             RTL (right-to-left). -->
5103        <attr name="autoMirrored" />
5104        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5105             no tint is applied. May be a color state list. -->
5106        <attr name="tint" />
5107        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5108             default value is src_in, which treats the drawable as an alpha mask. -->
5109        <attr name="tintMode">
5110            <!-- The tint is drawn on top of the drawable.
5111                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
5112            <enum name="src_over" value="3" />
5113            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
5114                 color channels are thrown out. [Sa * Da, Sc * Da] -->
5115            <enum name="src_in" value="5" />
5116            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
5117                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
5118            <enum name="src_atop" value="9" />
5119            <!-- Multiplies the color and alpha channels of the drawable with those of
5120                 the tint. [Sa * Da, Sc * Dc] -->
5121            <enum name="multiply" value="14" />
5122            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
5123            <enum name="screen" value="15" />
5124            <!-- Combines the tint and drawable color and alpha channels, clamping the
5125                 result to valid color values. Saturate(S + D) -->
5126            <enum name="add" value="16" />
5127        </attr>
5128        <!-- Specifies the alpha multiplier to apply to the base drawable. -->
5129        <attr name="alpha" />
5130    </declare-styleable>
5131
5132    <!-- Drawable used to draw 9-patches. -->
5133    <declare-styleable name="NinePatchDrawable">
5134        <!-- Identifier of the bitmap file. This attribute is mandatory. -->
5135        <attr name="src" />
5136        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5137             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5138             an RGB 565 screen). -->
5139        <attr name="dither" />
5140        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5141             RTL (right-to-left). -->
5142        <attr name="autoMirrored" />
5143        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5144             no tint is applied. May be a color state list. -->
5145        <attr name="tint" />
5146        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5147             default value is src_in, which treats the drawable as an alpha mask. -->
5148        <attr name="tintMode" />
5149        <!-- Specifies the alpha multiplier to apply to the base drawable. -->
5150        <attr name="alpha" />
5151    </declare-styleable>
5152
5153    <!-- Drawable used to draw a single color. -->
5154    <declare-styleable name="ColorDrawable">
5155        <!-- The color to use. -->
5156        <attr name="color" />
5157    </declare-styleable>
5158
5159    <!-- Drawable used to show animated touch feedback. -->
5160    <declare-styleable name="RippleDrawable">
5161        <!-- The color to use for ripple effects. This attribute is required. -->
5162        <attr name="color" />
5163    </declare-styleable>
5164
5165    <declare-styleable name="ScaleDrawable">
5166        <!-- Scale width, expressed as a percentage of the drawable's bound. The value's
5167             format is XX%. For instance: 100%, 12.5%, etc.-->
5168        <attr name="scaleWidth" format="string" />
5169        <!-- Scale height, expressed as a percentage of the drawable's bound. The value's
5170             format is XX%. For instance: 100%, 12.5%, etc.-->
5171        <attr name="scaleHeight" format="string" />
5172        <!-- Specifies where the drawable is positioned after scaling. The default value is
5173             left. -->
5174        <attr name="scaleGravity">
5175            <!-- Push object to the top of its container, not changing its size. -->
5176            <flag name="top" value="0x30" />
5177            <!-- Push object to the bottom of its container, not changing its size. -->
5178            <flag name="bottom" value="0x50" />
5179            <!-- Push object to the left of its container, not changing its size. -->
5180            <flag name="left" value="0x03" />
5181            <!-- Push object to the right of its container, not changing its size. -->
5182            <flag name="right" value="0x05" />
5183            <!-- Place object in the vertical center of its container, not changing its size. -->
5184            <flag name="center_vertical" value="0x10" />
5185            <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
5186            <flag name="fill_vertical" value="0x70" />
5187            <!-- Place object in the horizontal center of its container, not changing its size. -->
5188            <flag name="center_horizontal" value="0x01" />
5189            <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
5190            <flag name="fill_horizontal" value="0x07" />
5191            <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
5192            <flag name="center" value="0x11" />
5193            <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
5194            <flag name="fill" value="0x77" />
5195            <!-- Additional option that can be set to have the top and/or bottom edges of
5196                 the child clipped to its container's bounds.
5197                 The clip will be based on the vertical gravity: a top gravity will clip the bottom
5198                 edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
5199            <flag name="clip_vertical" value="0x80" />
5200            <!-- Additional option that can be set to have the left and/or right edges of
5201                 the child clipped to its container's bounds.
5202                 The clip will be based on the horizontal gravity: a left gravity will clip the right
5203                 edge, a right gravity will clip the left edge, and neither will clip both edges. -->
5204            <flag name="clip_horizontal" value="0x08" />
5205            <!-- Push object to the beginning of its container, not changing its size. -->
5206            <flag name="start" value="0x00800003" />
5207            <!-- Push object to the end of its container, not changing its size. -->
5208            <flag name="end" value="0x00800005" />
5209        </attr>
5210        <!-- Reference to a drawable resource to draw with the specified scale. -->
5211        <attr name="drawable" />
5212        <!-- Use the drawable's intrinsic width and height as minimum size values.
5213             Useful if the target drawable is a 9-patch or otherwise should not be scaled
5214             down beyond a minimum size. -->
5215        <attr name="useIntrinsicSizeAsMinimum" format="boolean" />
5216    </declare-styleable>
5217
5218    <declare-styleable name="ClipDrawable">
5219        <!-- The orientation for the clip. -->
5220        <attr name="clipOrientation">
5221            <!-- Clip the drawable horizontally. -->
5222            <flag name="horizontal" value="1" />
5223            <!-- Clip the drawable vertically. -->
5224            <flag name="vertical" value="2" />
5225        </attr>
5226        <!-- Specifies where to clip within the drawable. The default value is
5227             left. -->
5228        <attr name="gravity" />
5229        <!-- Reference to a drawable resource to draw with the specified scale. -->
5230        <attr name="drawable" />
5231    </declare-styleable>
5232
5233    <!-- Defines the padding of a ShapeDrawable. -->
5234    <declare-styleable name="ShapeDrawablePadding">
5235        <!-- Left padding. -->
5236        <attr name="left" />
5237        <!-- Top padding. -->
5238        <attr name="top" />
5239        <!-- Right padding. -->
5240        <attr name="right" />
5241        <!-- Bottom padding. -->
5242        <attr name="bottom" />
5243    </declare-styleable>
5244
5245    <!-- Drawable used to draw shapes. -->
5246    <declare-styleable name="ShapeDrawable">
5247        <!-- Defines the color of the shape. -->
5248        <attr name="color" />
5249        <!-- Defines the width of the shape. -->
5250        <attr name="width" />
5251        <!-- Defines the height of the shape. -->
5252        <attr name="height" />
5253        <!-- Enables or disables dithering. -->
5254        <attr name="dither" />
5255        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5256             no tint is applied. May be a color state list. -->
5257        <attr name="tint" />
5258        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5259             default value is src_in, which treats the drawable as an alpha mask. -->
5260        <attr name="tintMode" />
5261    </declare-styleable>
5262
5263    <!-- ========================== -->
5264    <!--   VectorDrawable class   -->
5265    <!-- ========================== -->
5266    <eat-comment />
5267
5268    <!-- Drawable used to draw vector paths. -->
5269    <declare-styleable name="VectorDrawable">
5270        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5271             no tint is applied. May be a color state list. -->
5272        <attr name="tint" />
5273        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5274             default value is src_in, which treats the drawable as an alpha mask. -->
5275        <attr name="tintMode" />
5276        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5277             RTL (right-to-left). -->
5278        <attr name="autoMirrored" />
5279        <!-- The intrinsic width of the Vector Drawable. -->
5280        <attr name="width" />
5281        <!-- The intrinsic height of the Vector Drawable. -->
5282        <attr name="height" />
5283        <!-- The width of the canvas the drawing is on. -->
5284        <attr name="viewportWidth" format="float"/>
5285        <!-- The height of the canvas the drawing is on. -->
5286        <attr name="viewportHeight" format="float"/>
5287        <!-- The name of this vector drawable -->
5288        <attr name="name" />
5289        <!-- The opacity of the whole vector drawable, as a value between 0
5290             (completely transparent) and 1 (completely opaque). -->
5291        <attr name="alpha" />
5292    </declare-styleable>
5293
5294    <!-- Defines the group used in VectorDrawables. -->
5295    <declare-styleable name="VectorDrawableGroup">
5296        <!-- The name of this group -->
5297        <attr name="name" />
5298        <!-- The amount to rotate the group -->
5299        <attr name="rotation" />
5300        <!-- The X coordinate of the center of rotation of a group -->
5301        <attr name="pivotX" />
5302        <!-- The Y coordinate of the center of rotation of a group -->
5303        <attr name="pivotY" />
5304        <!-- The amount to translate the group on X coordinate -->
5305        <attr name="translateX" format="float"/>
5306        <!-- The amount to translate the group on Y coordinate -->
5307        <attr name="translateY" format="float"/>
5308        <!-- The amount to scale the group on X coordinate -->
5309        <attr name="scaleX" />
5310        <!-- The amount to scale the group on X coordinate -->
5311        <attr name="scaleY" />
5312    </declare-styleable>
5313
5314    <!-- Defines the path used in VectorDrawables. -->
5315    <declare-styleable name="VectorDrawablePath">
5316        <!-- The name of this path -->
5317        <attr name="name" />
5318        <!-- The width a path stroke -->
5319        <attr name="strokeWidth" format="float" />
5320        <!-- The color to stroke the path if not defined implies no stroke-->
5321        <attr name="strokeColor" format="color" />
5322        <!-- The opacity of a path stroke, as a value between 0 (completely transparent)
5323             and 1 (completely opaque) -->
5324        <attr name="strokeAlpha" format="float" />
5325        <!-- The color to fill the path if not defined implies no fill-->
5326        <attr name="fillColor" format="color" />
5327        <!-- The alpha of the path fill, as a value between 0 (completely transparent)
5328             and 1 (completely opaque)-->
5329        <attr name="fillAlpha" format="float" />
5330        <!-- The specification of the operations that define the path  -->
5331        <attr name="pathData" format="string" />
5332        <!-- The fraction of the path to trim from the start from 0 to 1 -->
5333        <attr name="trimPathStart" format="float" />
5334        <!-- The fraction of the path to trim from the end from 0 to 1  -->
5335        <attr name="trimPathEnd" format="float" />
5336        <!-- Shift trim region (allows visible region to include the start and end) from 0 to 1  -->
5337        <attr name="trimPathOffset" format="float" />
5338        <!-- sets the linecap for a stroked path -->
5339        <attr name="strokeLineCap" format="enum">
5340            <enum name="butt" value="0"/>
5341            <enum name="round" value="1"/>
5342            <enum name="square" value="2"/>
5343        </attr>
5344        <!-- sets the lineJoin for a stroked path -->
5345        <attr name="strokeLineJoin" format="enum">
5346            <enum name="miter" value="0"/>
5347            <enum name="round" value="1"/>
5348            <enum name="bevel" value="2"/>
5349        </attr>
5350        <!-- sets the Miter limit for a stroked path -->
5351        <attr name="strokeMiterLimit" format="float"/>
5352    </declare-styleable>
5353
5354    <!-- Defines the clip path used in VectorDrawables. -->
5355    <declare-styleable name="VectorDrawableClipPath">
5356        <!-- The Name of this path -->
5357        <attr name="name" />
5358        <!-- The specification of the operations that define the path  -->
5359        <attr name="pathData"/>
5360    </declare-styleable>
5361
5362    <!-- ========================== -->
5363    <!--   AnimatedVectorDrawable class   -->
5364    <!-- ========================== -->
5365    <eat-comment />
5366
5367    <!-- Define the AnimatedVectorDrawable. -->
5368    <declare-styleable name="AnimatedVectorDrawable">
5369        <!-- The static vector drawable. -->
5370        <attr name="drawable" />
5371    </declare-styleable>
5372
5373    <!-- Defines the target used in the AnimatedVectorDrawable. -->
5374    <declare-styleable name="AnimatedVectorDrawableTarget">
5375        <!-- The name of the target path, group or vector drawable -->
5376        <attr name="name" />
5377        <!-- The animation for the target path, group or vector drawable -->
5378        <attr name="animation" />
5379    </declare-styleable>
5380
5381    <!-- ========================== -->
5382    <!-- Animation class attributes -->
5383    <!-- ========================== -->
5384    <eat-comment />
5385
5386    <declare-styleable name="Animation">
5387        <!-- Defines the interpolator used to smooth the animation movement in time. -->
5388        <attr name="interpolator" />
5389        <!-- When set to true, the value of fillBefore is taken into account. -->
5390        <attr name="fillEnabled" format="boolean" />
5391        <!-- When set to true or when fillEnabled is not set to true, the animation transformation
5392             is applied before the animation has started. The default value is true. -->
5393        <attr name="fillBefore" format="boolean" />
5394        <!-- When set to true, the animation transformation is applied after the animation is
5395             over. The default value is false. If fillEnabled is not set to true and the
5396             animation is not set on a View, fillAfter is assumed to be true.-->
5397        <attr name="fillAfter" format="boolean" />
5398        <!-- Amount of time (in milliseconds) for the animation to run. -->
5399        <attr name="duration" />
5400        <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
5401        <attr name="startOffset" format="integer" />
5402        <!-- Defines how many times the animation should repeat. The default value is 0. -->
5403        <attr name="repeatCount" format="integer">
5404            <enum name="infinite" value="-1" />
5405        </attr>
5406        <!-- Defines the animation behavior when it reaches the end and the repeat count is
5407             greater than 0 or infinite. The default value is restart. -->
5408        <attr name="repeatMode">
5409            <!-- The animation starts again from the beginning. -->
5410            <enum name="restart" value="1" />
5411            <!-- The animation plays backward. -->
5412            <enum name="reverse" value="2" />
5413        </attr>
5414        <!-- Allows for an adjustment of the Z ordering of the content being
5415             animated for the duration of the animation.  The default value is normal. -->
5416        <attr name="zAdjustment">
5417            <!-- The content being animated be kept in its current Z order. -->
5418            <enum name="normal" value="0" />
5419            <!-- The content being animated is forced on top of all other
5420                 content for the duration of the animation. -->
5421            <enum name="top" value="1" />
5422            <!-- The content being animated is forced under all other
5423                 content for the duration of the animation. -->
5424            <enum name="bottom" value="-1" />
5425        </attr>
5426        <!-- Special background behind animation.  Only for use with window
5427             animations.  Can only be a color, and only black.  If 0, the
5428             default, there is no background. -->
5429        <attr name="background" />
5430        <!-- Special option for window animations: if this window is on top
5431             of a wallpaper, don't animate the wallpaper with it. -->
5432        <attr name="detachWallpaper" format="boolean" />
5433    </declare-styleable>
5434
5435    <declare-styleable name="AnimationSet">
5436        <attr name="shareInterpolator" format="boolean" />
5437        <attr name="fillBefore" />
5438        <attr name="fillAfter" />
5439        <attr name="duration" />
5440        <attr name="startOffset" />
5441        <attr name="repeatMode" />
5442    </declare-styleable>
5443
5444    <declare-styleable name="RotateAnimation">
5445        <attr name="fromDegrees" />
5446        <attr name="toDegrees" />
5447        <attr name="pivotX" />
5448        <attr name="pivotY" />
5449    </declare-styleable>
5450
5451    <declare-styleable name="ScaleAnimation">
5452        <attr name="fromXScale" format="float|fraction|dimension" />
5453        <attr name="toXScale" format="float|fraction|dimension" />
5454        <attr name="fromYScale" format="float|fraction|dimension" />
5455        <attr name="toYScale" format="float|fraction|dimension" />
5456        <attr name="pivotX" />
5457        <attr name="pivotY" />
5458    </declare-styleable>
5459
5460    <declare-styleable name="TranslateAnimation">
5461        <attr name="fromXDelta" format="float|fraction" />
5462        <attr name="toXDelta" format="float|fraction" />
5463        <attr name="fromYDelta" format="float|fraction" />
5464        <attr name="toYDelta" format="float|fraction" />
5465    </declare-styleable>
5466
5467    <declare-styleable name="AlphaAnimation">
5468        <attr name="fromAlpha" format="float" />
5469        <attr name="toAlpha" format="float" />
5470    </declare-styleable>
5471
5472    <declare-styleable name="LayoutAnimation">
5473        <!-- Fraction of the animation duration used to delay the beginning of
5474         the animation of each child. -->
5475        <attr name="delay" format="float|fraction" />
5476        <!-- Animation to use on each child. -->
5477        <attr name="animation" format="reference" />
5478        <!-- The order in which the animations will be started. -->
5479        <attr name="animationOrder">
5480            <!-- Animations are started in the natural order. -->
5481            <enum name="normal" value="0" />
5482            <!-- Animations are started in the reverse order. -->
5483            <enum name="reverse" value="1" />
5484            <!-- Animations are started randomly. -->
5485            <enum name="random" value="2" />
5486        </attr>
5487        <!-- Interpolator used to interpolate the delay between the start of
5488         each animation. -->
5489        <attr name="interpolator" />
5490    </declare-styleable>
5491
5492    <declare-styleable name="GridLayoutAnimation">
5493        <!-- Fraction of the animation duration used to delay the beginning of
5494         the animation of each column. -->
5495        <attr name="columnDelay" format="float|fraction" />
5496        <!-- Fraction of the animation duration used to delay the beginning of
5497         the animation of each row. -->
5498        <attr name="rowDelay" format="float|fraction" />
5499        <!-- Direction of the animation in the grid. -->
5500        <attr name="direction">
5501            <!-- Animates columns from left to right. -->
5502            <flag name="left_to_right" value="0x0" />
5503            <!-- Animates columns from right to left. -->
5504            <flag name="right_to_left" value="0x1" />
5505            <!-- Animates rows from top to bottom. -->
5506            <flag name="top_to_bottom" value="0x0" />
5507            <!-- Animates rows from bottom to top. -->
5508            <flag name="bottom_to_top" value="0x2" />
5509        </attr>
5510        <!-- Priority of the rows and columns. When the priority is none,
5511         both rows and columns have the same priority. When the priority is
5512         column, the animations will be applied on the columns first. The same
5513         goes for rows. -->
5514        <attr name="directionPriority">
5515            <!-- Rows and columns are animated at the same time. -->
5516            <enum name="none"   value="0" />
5517            <!-- Columns are animated first. -->
5518            <enum name="column" value="1" />
5519            <!-- Rows are animated first. -->
5520            <enum name="row"    value="2" />
5521        </attr>
5522    </declare-styleable>
5523
5524    <declare-styleable name="AccelerateInterpolator">
5525        <!-- This is the amount of deceleration to add when easing in. -->
5526        <attr name="factor" format="float" />
5527    </declare-styleable>
5528
5529    <declare-styleable name="DecelerateInterpolator">
5530        <!-- This is the amount of acceleration to add when easing out. -->
5531        <attr name="factor" />
5532    </declare-styleable>
5533
5534    <declare-styleable name="CycleInterpolator">
5535        <attr name="cycles" format="float" />
5536    </declare-styleable>
5537
5538    <declare-styleable name="AnticipateInterpolator">
5539        <!-- This is the amount of tension. -->
5540        <attr name="tension" format="float" />
5541    </declare-styleable>
5542
5543    <declare-styleable name="OvershootInterpolator">
5544        <!-- This is the amount of tension. -->
5545        <attr name="tension" />
5546    </declare-styleable>
5547
5548    <declare-styleable name="AnticipateOvershootInterpolator">
5549        <!-- This is the amount of tension. -->
5550        <attr name="tension" />
5551        <!-- This is the amount by which to multiply the tension. -->
5552        <attr name="extraTension" format="float" />
5553    </declare-styleable>
5554
5555    <declare-styleable name="PathInterpolator">
5556        <!-- The x coordinate of the first control point of the cubic Bezier -->
5557        <attr name="controlX1" format="float" />
5558        <!-- The y coordinate of the first control point of the cubic Bezier -->
5559        <attr name="controlY1" format="float" />
5560        <!-- The x coordinate of the second control point of the cubic Bezier -->
5561        <attr name="controlX2" format="float" />
5562        <!-- The y coordinate of the second control point of the cubic Bezier -->
5563        <attr name="controlY2" format="float" />
5564        <!-- The control points defined as a path.
5565             When pathData is defined, then both of the control points of the
5566             cubic Bezier will be ignored. -->
5567        <attr name="pathData"/>
5568    </declare-styleable>
5569
5570    <!-- ========================== -->
5571    <!-- Transition attributes -->
5572    <!-- ========================== -->
5573    <eat-comment />
5574
5575    <!-- Use specific transition subclass names as the root tag of the XML resource that
5576         describes a {@link android.transition.Transition Transition},
5577         such as <code>changeBounds</code>, <code>fade</code>, and <code>transitionSet</code>. -->
5578    <declare-styleable name="Transition">
5579        <!-- Amount of time (in milliseconds) that the transition should run. -->
5580        <attr name="duration" />
5581        <!-- Delay in milliseconds before the transition starts. -->
5582        <attr name="startDelay" format="integer" />
5583        <!-- Interpolator to be used in the animations spawned by this transition. -->
5584        <attr name="interpolator" />
5585        <!-- The match order to use for the transition. This is a comma-separated
5586             list of values, containing one or more of the following:
5587             id, itemId, name, instance. These correspond to
5588             {@link android.transition.Transition#MATCH_ID},
5589             {@link android.transition.Transition#MATCH_ITEM_ID},
5590             {@link android.transition.Transition#MATCH_NAME}, and
5591             {@link android.transition.Transition#MATCH_INSTANCE}, respectively.
5592             This corresponds to {@link android.transition.Transition#setMatchOrder(int...)}. -->
5593        <attr name="matchOrder" format="string" />
5594    </declare-styleable>
5595
5596    <!-- Use <code>fade</code>as the root tag of the XML resource that
5597         describes a {@link android.transition.Fade Fade} transition.
5598         The attributes of the {@link android.R.styleable#Transition Transition}
5599         resource are available in addition to the specific attributes of Fade
5600         described here. -->
5601    <declare-styleable name="Fade">
5602        <!-- Equivalent to <code>transitionVisibilityMode</code>, fadingMode works only
5603             with the Fade transition. -->
5604        <attr name="fadingMode">
5605            <!-- Fade will only fade appearing items in. -->
5606            <enum name="fade_in" value="1" />
5607            <!-- Fade will only fade disappearing items out. -->
5608            <enum name="fade_out" value="2" />
5609            <!-- Fade will fade appearing items in and disappearing items out. -->
5610            <enum name="fade_in_out" value="3" />
5611        </attr>
5612    </declare-styleable>
5613
5614    <!-- Use <code>slide</code>as the root tag of the XML resource that
5615         describes a {@link android.transition.Slide Slide} transition.
5616         The attributes of the {@link android.R.styleable#Transition Transition}
5617         resource are available in addition to the specific attributes of Slide
5618         described here. -->
5619    <declare-styleable name="Slide">
5620        <attr name="slideEdge">
5621            <!-- Slide to and from the left edge of the Scene. -->
5622            <enum name="left" value="0x03" />
5623            <!-- Slide to and from the top edge of the Scene. -->
5624            <enum name="top" value="0x30" />
5625            <!-- Slide to and from the right edge of the Scene. -->
5626            <enum name="right" value="0x05" />
5627            <!-- Slide to and from the bottom edge of the Scene. -->
5628            <enum name="bottom" value="0x50" />
5629        </attr>
5630    </declare-styleable>
5631
5632    <!-- Use with {@link android.transition.Visibility} transitions, such as
5633         <code>slide</code>, <code>explode</code>, and <code>fade</code> to mark which
5634         views are supported. -->
5635    <declare-styleable name="VisibilityTransition">
5636        <!-- Changes whether the transition supports appearing and/or disappearing Views.
5637             Corresponds to {@link android.transition.Visibility#setMode(int)}. -->
5638        <attr name="transitionVisibilityMode">
5639            <!-- Only appearing Views will be supported. -->
5640            <flag name="mode_in" value="1" />
5641            <!-- Only disappearing Views will be supported. -->
5642            <flag name="mode_out" value="2" />
5643        </attr>
5644    </declare-styleable>
5645    <!-- Use <code>target</code> as the root tag of the XML resource that
5646     describes a {@link android.transition.Transition#addTarget(int)
5647     targetId} of a transition. There can be one or more targets inside
5648     a <code>targets</code> tag, which is itself inside an appropriate
5649     {@link android.R.styleable#Transition Transition} tag.
5650     -->
5651    <declare-styleable name="TransitionTarget">
5652        <!-- The id of a target on which this transition will animate changes. -->
5653        <attr name="targetId" format="reference" />
5654        <!-- The id of a target to exclude from this transition. -->
5655        <attr name="excludeId" format="reference" />
5656        <!-- The fully-qualified name of the Class to include in this transition. -->
5657        <attr name="targetClass" />
5658        <!-- The fully-qualified name of the Class to exclude from this transition. -->
5659        <attr name="excludeClass" format="string" />
5660        <!-- The transitionName of the target on which this transition will animation changes. -->
5661        <attr name="targetName" format="string" />
5662        <!-- The transitionName of the target to exclude from this transition. -->
5663        <attr name="excludeName" format="string" />
5664    </declare-styleable>
5665
5666    <!-- Use <code>set</code> as the root tag of the XML resource that
5667         describes a {@link android.transition.TransitionSet
5668         TransitionSet} transition. -->
5669    <declare-styleable name="TransitionSet">
5670        <attr name="transitionOrdering">
5671            <!-- child transitions should be played together. -->
5672            <enum name="together" value="0" />
5673            <!-- child transitions should be played sequentially, in the same order
5674            as the xml. -->
5675            <enum name="sequential" value="1" />
5676        </attr>
5677    </declare-styleable>
5678
5679    <!-- Use <code>changeTransform</code> as the root tag of the XML resource that
5680         describes a {@link android.transition.ChangeTransform} transition. -->
5681    <declare-styleable name="ChangeTransform">
5682        <!-- A parent change should use an overlay or affect the transform of the
5683             transitionining View. Default is true. Corresponds to
5684             {@link android.transition.ChangeTransform#setReparentWithOverlay(boolean)}. -->
5685        <attr name="reparentWithOverlay" format="boolean"/>
5686
5687        <!-- Tells ChangeTransform to track parent changes. Default is true. Corresponds to
5688             {@link android.transition.ChangeTransform#setReparent(boolean)}. -->
5689        <attr name="reparent" format="boolean"/>
5690    </declare-styleable>
5691
5692    <!-- Use <code>transitionManager</code> as the root tag of the XML resource that
5693         describes a {@link android.transition.TransitionManager
5694         TransitionManager}. -->
5695    <declare-styleable name="TransitionManager">
5696        <!-- The id of a transition to be used in a particular scene change. -->
5697        <attr name="transition" format="reference" />
5698        <!-- The originating scene in this scene change. -->
5699        <attr name="fromScene" format="reference" />
5700        <!-- The destination scene in this scene change. -->
5701        <attr name="toScene" format="reference" />
5702    </declare-styleable>
5703
5704    <!-- Use <code>arcMotion</code> as the root tag of the XML resource that
5705         describes a {@link android.transition.ArcMotion}. This must be used
5706         within a transition with which the PathMotion should be associated. -->
5707    <declare-styleable name="ArcMotion">
5708        <!-- The minimum arc angle in degrees between the start and end points when
5709             they are close to horizontal. -->
5710        <attr name="minimumHorizontalAngle" format="float" />
5711        <!-- The minimum arc angle in degrees between the start and end points when
5712             they are close to vertical. -->
5713        <attr name="minimumVerticalAngle" format="float" />
5714        <!-- The maximum arc angle in degrees between the start and end points. -->
5715        <attr name="maximumAngle" format="float" />
5716    </declare-styleable>
5717
5718    <!-- Use <code>patternPathMotion</code> as the root tag of the XML resource that
5719         describes a {@link android.transition.PatternPathMotion}. This must be used
5720         within a transition with which the PathMotion should be associated. -->
5721    <declare-styleable name="PatternPathMotion">
5722        <!-- The path string describing the pattern to use for the PathPathMotion. -->
5723        <attr name="patternPathData" format="string" />
5724    </declare-styleable>
5725
5726    <!-- ========================== -->
5727    <!-- ValueAnimator class attributes -->
5728    <!-- ========================== -->
5729    <eat-comment />
5730
5731    <declare-styleable name="Animator">
5732        <!-- Defines the interpolator used to smooth the animation movement in time. -->
5733        <attr name="interpolator" />
5734        <!-- Amount of time (in milliseconds) for the animation to run. -->
5735        <attr name="duration" />
5736        <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
5737        <attr name="startOffset"/>
5738        <!-- Defines how many times the animation should repeat. The default value is 0. -->
5739        <attr name="repeatCount"/>
5740        <!-- Defines the animation behavior when it reaches the end and the repeat count is
5741             greater than 0 or infinite. The default value is restart. -->
5742        <attr name="repeatMode"/>
5743        <!-- Value the animation starts from. -->
5744        <attr name="valueFrom" format="float|integer|color|dimension|string"/>
5745        <!-- Value the animation animates to. -->
5746        <attr name="valueTo" format="float|integer|color|dimension|string"/>
5747        <!-- The type of valueFrom and valueTo. -->
5748        <attr name="valueType">
5749            <!-- valueFrom and valueTo are floats. This is the default value is valueType is
5750                 unspecified. Note that if either valueFrom or valueTo represent colors
5751                 (beginning with "#"), then this attribute is ignored and the color values are
5752                 interpreted as integers. -->
5753            <enum name="floatType" value="0" />
5754            <!-- valueFrom and valueTo are integers. -->
5755            <enum name="intType"   value="1" />
5756            <!-- valueFrom and valueTo are paths defined as strings.
5757                 This type is used for path morphing in AnimatedVectorDrawable. -->
5758            <enum name="pathType"   value="2" />
5759        </attr>
5760    </declare-styleable>
5761
5762    <!-- ========================== -->
5763    <!-- ObjectAnimator class attributes -->
5764    <!-- ========================== -->
5765    <eat-comment />
5766
5767    <declare-styleable name="PropertyAnimator">
5768        <!-- Name of the property being animated. -->
5769        <attr name="propertyName" format="string"/>
5770        <!-- Name of the property being animated as the X coordinate of the pathData. -->
5771        <attr name="propertyXName" format="string"/>
5772        <!-- Name of the property being animated as the Y coordinate of the pathData. -->
5773        <attr name="propertyYName" format="string"/>
5774        <!-- The path used to animate the properties in the ObjectAnimator -->
5775        <attr name="pathData"/>
5776    </declare-styleable>
5777
5778
5779    <!-- ========================== -->
5780    <!-- AnimatorSet class attributes -->
5781    <!-- ========================== -->
5782    <eat-comment />
5783
5784    <declare-styleable name="AnimatorSet">
5785        <!-- Name of the property being animated. -->
5786        <attr name="ordering">
5787            <!-- child animations should be played together. -->
5788            <enum name="together" value="0" />
5789            <!-- child animations should be played sequentially, in the same order as the xml. -->
5790            <enum name="sequentially" value="1" />
5791        </attr>
5792    </declare-styleable>
5793
5794    <!-- ========================== -->
5795    <!-- State attributes           -->
5796    <!-- ========================== -->
5797    <eat-comment />
5798
5799    <!-- Drawable states.
5800         The mapping of Drawable states to a particular drawables is specified
5801         in the "state" elements of a Widget's "selector" element.
5802         Possible values:
5803         <ul>
5804         <li>"state_focused"
5805         <li>"state_window_focused"
5806         <li>"state_enabled"
5807         <li>"state_checked"
5808         <li>"state_selected"
5809         <li>"state_active"
5810         <li>"state_single"
5811         <li>"state_first"
5812         <li>"state_mid"
5813         <li>"state_last"
5814         <li>"state_only"
5815         <li>"state_pressed"
5816         <li>"state_activated"
5817         <li>"state_error"
5818         <li>"state_circle"
5819         <li>"state_rect"
5820         <li>"state_grow"
5821         <li>"state_move"
5822         <li>"state_hovered"
5823         <li>"state_drag_can_accept"
5824         <li>"state_drag_hovered"
5825         <li>"state_accessibility_focused"
5826         </ul>  -->
5827    <declare-styleable name="DrawableStates">
5828        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
5829             set when a view has input focus. -->
5830        <attr name="state_focused" format="boolean" />
5831        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
5832             set when a view's window has input focus. -->
5833        <attr name="state_window_focused" format="boolean" />
5834        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
5835             set when a view is enabled. -->
5836        <attr name="state_enabled" format="boolean" />
5837        <!-- State identifier indicating that the object <var>may</var> display a check mark.
5838             See {@link R.attr#state_checked} for the identifier that indicates whether it is
5839             actually checked. -->
5840        <attr name="state_checkable" format="boolean"/>
5841        <!-- State identifier indicating that the object is currently checked.  See
5842             {@link R.attr#state_checkable} for an additional identifier that can indicate if
5843             any object may ever display a check, regardless of whether state_checked is
5844             currently set. -->
5845        <attr name="state_checked" format="boolean"/>
5846        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
5847             set when a view (or one of its parents) is currently selected. -->
5848        <attr name="state_selected" format="boolean" />
5849        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
5850             set when the user is pressing down in a view. -->
5851        <attr name="state_pressed" format="boolean" />
5852        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
5853             set when a view or its parent has been "activated" meaning the user has currently
5854             marked it as being of interest.  This is an alternative representation of
5855             state_checked for when the state should be propagated down the view hierarchy. -->
5856        <attr name="state_activated" format="boolean" />
5857        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
5858        <attr name="state_active" format="boolean" />
5859        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
5860        <attr name="state_single" format="boolean" />
5861        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
5862        <attr name="state_first" format="boolean" />
5863        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
5864        <attr name="state_middle" format="boolean" />
5865        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
5866        <attr name="state_last" format="boolean" />
5867        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
5868             indicating that the Drawable is in a view that is hardware accelerated.
5869             This means that the device can at least render a full-screen scaled
5870             bitmap with one layer of text and bitmaps composited on top of it
5871             at 60fps.  When this is set, the colorBackgroundCacheHint will be
5872             ignored even if it specifies a solid color, since that optimization
5873             is not needed. -->
5874        <attr name="state_accelerated" format="boolean" />
5875        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
5876             set when a pointer is hovering over the view. -->
5877        <attr name="state_hovered" format="boolean" />
5878        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
5879             indicating that the Drawable is in a view that is capable of accepting a drop of
5880             the content currently being manipulated in a drag-and-drop operation. -->
5881        <attr name="state_drag_can_accept" format="boolean" />
5882        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
5883             indicating that a drag operation (for which the Drawable's view is a valid recipient)
5884             is currently positioned over the Drawable. -->
5885        <attr name="state_drag_hovered" format="boolean" />
5886        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
5887             indicating that a View has accessibility focus. -->
5888        <attr name="state_accessibility_focused" format="boolean" />
5889    </declare-styleable>
5890    <declare-styleable name="ViewDrawableStates">
5891        <attr name="state_pressed" />
5892        <attr name="state_focused" />
5893        <attr name="state_selected" />
5894        <attr name="state_window_focused" />
5895        <attr name="state_enabled" />
5896        <attr name="state_activated" />
5897        <attr name="state_accelerated" />
5898        <attr name="state_hovered" />
5899        <attr name="state_drag_can_accept" />
5900        <attr name="state_drag_hovered" />
5901    </declare-styleable>
5902    <!-- State array representing a menu item that is currently checked. -->
5903    <declare-styleable name="MenuItemCheckedState">
5904        <attr name="state_checkable" />
5905        <attr name="state_checked" />
5906    </declare-styleable>
5907    <!-- State array representing a menu item that is checkable but is not currently checked. -->
5908    <declare-styleable name="MenuItemUncheckedState">
5909        <attr name="state_checkable" />
5910    </declare-styleable>
5911    <!-- State array representing a menu item that is currently focused and checked. -->
5912    <declare-styleable name="MenuItemCheckedFocusedState">
5913        <attr name="state_checkable" />
5914        <attr name="state_checked" />
5915        <attr name="state_focused" />
5916    </declare-styleable>
5917    <!-- State array representing a menu item that is focused and checkable but is not currently checked. -->
5918    <declare-styleable name="MenuItemUncheckedFocusedState">
5919        <attr name="state_checkable" />
5920        <attr name="state_focused" />
5921    </declare-styleable>
5922    <!-- State array representing an expandable list child's indicator. -->
5923    <declare-styleable name="ExpandableListChildIndicatorState">
5924        <!-- State identifier indicating the child is the last child within its group. -->
5925        <attr name="state_last" />
5926    </declare-styleable>
5927    <!-- State array representing an expandable list group's indicator. -->
5928    <declare-styleable name="ExpandableListGroupIndicatorState">
5929        <!-- State identifier indicating the group is expanded. -->
5930        <attr name="state_expanded" format="boolean" />
5931        <!-- State identifier indicating the group is empty (has no children). -->
5932        <attr name="state_empty" format="boolean" />
5933    </declare-styleable>
5934    <declare-styleable name="PopupWindowBackgroundState">
5935        <!-- State identifier indicating the popup will be above the anchor. -->
5936        <attr name="state_above_anchor" format="boolean" />
5937    </declare-styleable>
5938    <declare-styleable name="TextViewMultiLineBackgroundState">
5939        <!-- State identifier indicating a TextView has a multi-line layout. -->
5940        <attr name="state_multiline" format="boolean" />
5941    </declare-styleable>
5942
5943    <!-- ***************************************************************** -->
5944    <!-- Support for Searchable activities. -->
5945    <!-- ***************************************************************** -->
5946    <eat-comment />
5947
5948    <!-- Searchable activities and applications must provide search configuration information
5949        in an XML file, typically called searchable.xml.  This file is referenced in your manifest.
5950        For a more in-depth discussion of search configuration, please refer to
5951        {@link android.app.SearchManager}. -->
5952    <declare-styleable name="Searchable">
5953          <!--<strong>This is deprecated.</strong><br/>The default
5954              application icon is now always used, so this attribute is
5955              obsolete.-->
5956        <attr name="icon" />
5957        <!-- This is the user-displayed name of the searchable activity.  <i>Required
5958            attribute.</i> -->
5959        <attr name="label" />
5960        <!-- If supplied, this string will be displayed as a hint to the user.  <i>Optional
5961            attribute.</i> -->
5962        <attr name="hint" />
5963        <!-- If supplied, this string will be displayed as the text of the "Search" button.
5964          <i>Optional attribute.</i>
5965          {@deprecated This will create a non-standard UI appearance, because the search bar UI is
5966                       changing to use only icons for its buttons.}-->
5967        <attr name="searchButtonText" format="string" />
5968        <attr name="inputType" />
5969        <attr name="imeOptions" />
5970
5971        <!-- Additional features are controlled by mode bits in this field.  Omitting
5972            this field, or setting to zero, provides default behavior.  <i>Optional attribute.</i>
5973        -->
5974        <attr name="searchMode">
5975          <!-- If set, this flag enables the display of the search target (label) within the
5976               search bar.  If neither bad mode is selected, no badge will be shown. -->
5977          <flag name="showSearchLabelAsBadge" value="0x04" />
5978          <!--<strong>This is deprecated.</strong><br/>The default
5979              application icon is now always used, so this option is
5980              obsolete.-->
5981          <flag name="showSearchIconAsBadge" value="0x08" />
5982          <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_INTENT_DATA to
5983               be considered as the text for suggestion query rewriting.  This should only
5984               be used when the values in SUGGEST_COLUMN_INTENT_DATA are suitable for user
5985               inspection and editing - typically, HTTP/HTTPS Uri's. -->
5986          <flag name="queryRewriteFromData" value="0x10" />
5987          <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_TEXT_1 to
5988               be considered as the text for suggestion query rewriting.  This should be used
5989               for suggestions in which no query text is provided and the SUGGEST_COLUMN_INTENT_DATA
5990               values are not suitable for user inspection and editing. -->
5991          <flag name="queryRewriteFromText" value="0x20" />
5992        </attr>
5993
5994        <!-- Voice search features are controlled by mode bits in this field.  Omitting
5995            this field, or setting to zero, provides default behavior.
5996            If showVoiceSearchButton is set, then launchWebSearch or launchRecognizer must
5997            also be set.  <i>Optional attribute.</i>
5998        -->
5999        <attr name="voiceSearchMode">
6000          <!-- If set, display a voice search button.  This only takes effect if voice search is
6001               available on the device. -->
6002          <flag name="showVoiceSearchButton" value="0x01" />
6003          <!-- If set, the voice search button will take the user directly to a built-in
6004               voice web search activity.  Most applications will not use this flag, as it
6005               will take the user away from the activity in which search was invoked. -->
6006          <flag name="launchWebSearch" value="0x02" />
6007          <!-- If set, the voice search button will take the user directly to a built-in
6008               voice recording activity.  This activity will prompt the user to speak,
6009               transcribe the spoken text, and forward the resulting query
6010               text to the searchable activity, just as if the user had typed it into
6011               the search UI and clicked the search button. -->
6012          <flag name="launchRecognizer" value="0x04" />
6013        </attr>
6014
6015        <!-- If provided, this specifies the language model that should be used by the
6016             voice recognition system.  See
6017             {@link android.speech.RecognizerIntent#EXTRA_LANGUAGE_MODEL } for more information.
6018             If not provided, the default value
6019             {@link android.speech.RecognizerIntent#LANGUAGE_MODEL_FREE_FORM } will be used. -->
6020        <attr name="voiceLanguageModel" format="string" />
6021        <!-- If provided, this specifies a prompt that will be displayed during voice input. -->
6022        <attr name="voicePromptText" format="string" />
6023        <!-- If provided, this specifies the spoken language to be expected, and that it will be
6024             different than the one set in the {@link java.util.Locale#getDefault()}. -->
6025        <attr name="voiceLanguage" format="string" />
6026        <!-- If provided, enforces the maximum number of results to return, including the "best"
6027             result which will always be provided as the SEARCH intent's primary query.  Must be one
6028             or greater.  If not provided, the recognizer will choose how many results to return.
6029             -->
6030        <attr name="voiceMaxResults" format="integer" />
6031
6032        <!-- If provided, this is the trigger indicating that the searchable activity
6033            provides suggestions as well.  The value must be a fully-qualified content provider
6034            authority (e.g. "com.example.android.apis.SuggestionProvider") and should match the
6035            "android:authorities" tag in your content provider's manifest entry.  <i>Optional
6036            attribute.</i> -->
6037        <attr name="searchSuggestAuthority" format="string" />
6038        <!-- If provided, this will be inserted in the suggestions query Uri, after the authority
6039            you have provide but before the standard suggestions path. <i>Optional attribute.</i>
6040            -->
6041        <attr name="searchSuggestPath" format="string" />
6042        <!-- If provided, suggestion queries will be passed into your query function
6043            as the <i>selection</i> parameter.  Typically this will be a WHERE clause for your
6044            database, and will contain a single question mark, which represents the actual query
6045            string that has been typed by the user.  If not provided, then the user query text
6046            will be appended to the query Uri (after an additional "/".)  <i>Optional
6047            attribute.</i> -->
6048        <attr name="searchSuggestSelection" format="string" />
6049
6050        <!-- If provided, and not overridden by an action in the selected suggestion, this
6051            string will be placed in the action field of the {@link android.content.Intent Intent}
6052            when the user clicks a suggestion.  <i>Optional attribute.</i> -->
6053        <attr name="searchSuggestIntentAction" format="string" />
6054        <!-- If provided, and not overridden by an action in the selected suggestion, this
6055            string will be placed in the data field of the {@link android.content.Intent Intent}
6056            when the user clicks a suggestion.  <i>Optional attribute.</i> -->
6057        <attr name="searchSuggestIntentData" format="string" />
6058
6059        <!-- If provided, this is the minimum number of characters needed to trigger
6060             search suggestions. The default value is 0. <i>Optional attribute.</i> -->
6061        <attr name="searchSuggestThreshold" format="integer" />
6062
6063        <!-- If provided and <code>true</code>, this searchable activity will be
6064             included in any global lists of search targets.
6065             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6066        <attr name="includeInGlobalSearch" format="boolean" />
6067
6068        <!-- If provided and <code>true</code>, this searchable activity will be invoked for all
6069             queries in a particular session. If set to <code>false</code> and the activity
6070             returned zero results for a query, it will not be invoked again in that session for
6071             supersets of that zero-results query. For example, if the activity returned zero
6072             results for "bo", it would not be queried again for "bob".
6073             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6074        <attr name="queryAfterZeroResults" format="boolean" />
6075        <!-- If provided, this string will be used to describe the searchable item in the
6076             searchable items settings within system search settings. <i>Optional
6077             attribute.</i> -->
6078        <attr name="searchSettingsDescription" format="string" />
6079
6080        <!-- If provided and <code>true</code>, URLs entered in the search dialog while searching
6081             within this activity would be detected and treated as URLs (show a 'go' button in the
6082             keyboard and invoke the browser directly when user launches the URL instead of passing
6083             the URL to the activity). If set to <code>false</code> any URLs entered are treated as
6084             normal query text.
6085             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6086        <attr name="autoUrlDetect" format="boolean" />
6087
6088    </declare-styleable>
6089
6090    <!-- In order to process special action keys during search, you must define them using
6091            one or more "ActionKey" elements in your Searchable metadata.  For a more in-depth
6092            discussion of action code handling, please refer to {@link android.app.SearchManager}.
6093    -->
6094    <declare-styleable name="SearchableActionKey">
6095        <!-- This attribute denotes the action key you wish to respond to.  Note that not
6096            all action keys are actually supported using this mechanism, as many of them are
6097            used for typing, navigation, or system functions.  This will be added to the
6098            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6099            searchable activity.  To examine the key code, use
6100            {@link android.content.Intent#getIntExtra getIntExtra(SearchManager.ACTION_KEY)}.
6101            <p>Note, in addition to the keycode, you must also provide one or more of the action
6102            specifier attributes.  <i>Required attribute.</i> -->
6103        <attr name="keycode" />
6104
6105        <!-- If you wish to handle an action key during normal search query entry, you
6106            must define an action string here.  This will be added to the
6107            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6108            searchable activity.  To examine the string, use
6109            {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
6110            <i>Optional attribute.</i> -->
6111        <attr name="queryActionMsg"  format="string" />
6112
6113        <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
6114            selected</i>, there are two ways to handle this.  If <i>all</i> of your suggestions
6115            can handle the action key, you can simply define the action message using this
6116            attribute.  This will be added to the
6117            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6118            searchable activity.  To examine the string, use
6119            {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
6120            <i>Optional attribute.</i> -->
6121        <attr name="suggestActionMsg"  format="string" />
6122
6123        <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
6124            selected</i>, but you do not wish to enable this action key for every suggestion,
6125            then you can use this attribute to control it on a suggestion-by-suggestion basis.
6126            First, you must define a column (and name it here) where your suggestions will include
6127            the action string.  Then, in your content provider, you must provide this column, and
6128            when desired, provide data in this column.
6129            The search manager will look at your suggestion cursor, using the string
6130            provided here in order to select a column, and will use that to select a string from
6131            the cursor.  That string will be added to the
6132            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to
6133            your searchable activity.  To examine the string, use
6134            {@link android.content.Intent#getStringExtra
6135            getStringExtra(SearchManager.ACTION_MSG)}.  <i>If the data does not exist for the
6136            selection suggestion, the action key will be ignored.</i><i>Optional attribute.</i> -->
6137        <attr name="suggestActionMsgColumn" format="string" />
6138
6139    </declare-styleable>
6140
6141    <!-- ***************************************************************** -->
6142    <!-- Support for MapView. -->
6143    <!-- ***************************************************************** -->
6144    <eat-comment />
6145
6146    <!-- The set of attributes for a MapView. -->
6147    <declare-styleable name="MapView">
6148        <!-- Value is a string that specifies the Maps API Key to use. -->
6149        <attr name="apiKey" format="string" />
6150    </declare-styleable>
6151
6152    <!-- **************************************************************** -->
6153    <!-- Menu XML inflation. -->
6154    <!-- **************************************************************** -->
6155    <eat-comment />
6156
6157    <!-- Base attributes that are available to all Menu objects. -->
6158    <declare-styleable name="Menu">
6159    </declare-styleable>
6160
6161    <!-- Base attributes that are available to all groups. -->
6162    <declare-styleable name="MenuGroup">
6163
6164        <!-- The ID of the group. -->
6165        <attr name="id" />
6166
6167        <!-- The category applied to all items within this group.
6168             (This will be or'ed with the orderInCategory attribute.) -->
6169        <attr name="menuCategory">
6170            <!-- Items are part of a container. -->
6171            <enum name="container" value="0x00010000" />
6172            <!-- Items are provided by the system. -->
6173            <enum name="system" value="0x00020000" />
6174            <!-- Items are user-supplied secondary (infrequently used). -->
6175            <enum name="secondary" value="0x00030000" />
6176            <!-- Items are alternative actions. -->
6177            <enum name="alternative" value="0x00040000" />
6178        </attr>
6179
6180        <!-- The order within the category applied to all items within this group.
6181             (This will be or'ed with the category attribute.) -->
6182        <attr name="orderInCategory" format="integer" />
6183
6184        <!-- Whether the items are capable of displaying a check mark. -->
6185        <attr name="checkableBehavior">
6186            <!-- The items are not checkable. -->
6187            <enum name="none" value="0" />
6188            <!-- The items are all checkable. -->
6189            <enum name="all" value="1" />
6190            <!-- The items are checkable and there will only be a single checked item in
6191                 this group. -->
6192            <enum name="single" value="2" />
6193        </attr>
6194
6195        <!-- Whether the items are shown/visible. -->
6196        <attr name="visible" />
6197
6198        <!-- Whether the items are enabled. -->
6199        <attr name="enabled" />
6200
6201    </declare-styleable>
6202
6203    <!-- Base attributes that are available to all Item objects. -->
6204    <declare-styleable name="MenuItem">
6205
6206        <!-- The ID of the item. -->
6207        <attr name="id" />
6208
6209        <!-- The category applied to the item.
6210             (This will be or'ed with the orderInCategory attribute.) -->
6211        <attr name="menuCategory" />
6212
6213        <!-- The order within the category applied to the item.
6214             (This will be or'ed with the category attribute.) -->
6215        <attr name="orderInCategory" />
6216
6217        <!-- The title associated with the item. -->
6218        <attr name="title" format="string" />
6219
6220        <!-- The condensed title associated with the item.  This is used in situations where the
6221             normal title may be too long to be displayed. -->
6222        <attr name="titleCondensed" format="string" />
6223
6224        <!-- The icon associated with this item.  This icon will not always be shown, so
6225             the title should be sufficient in describing this item. -->
6226        <attr name="icon" />
6227
6228        <!-- The alphabetic shortcut key.  This is the shortcut when using a keyboard
6229             with alphabetic keys. -->
6230        <attr name="alphabeticShortcut" format="string" />
6231
6232        <!-- The numeric shortcut key.  This is the shortcut when using a numeric (e.g., 12-key)
6233             keyboard. -->
6234        <attr name="numericShortcut" format="string" />
6235
6236        <!-- Whether the item is capable of displaying a check mark. -->
6237        <attr name="checkable" format="boolean" />
6238
6239        <!-- Whether the item is checked.  Note that you must first have enabled checking with
6240             the checkable attribute or else the check mark will not appear. -->
6241        <attr name="checked" />
6242
6243        <!-- Whether the item is shown/visible. -->
6244        <attr name="visible" />
6245
6246        <!-- Whether the item is enabled. -->
6247        <attr name="enabled" />
6248
6249        <!-- Name of a method on the Context used to inflate the menu that will be
6250             called when the item is clicked. -->
6251        <attr name="onClick" />
6252
6253        <!-- How this item should display in the Action Bar, if present. -->
6254        <attr name="showAsAction">
6255            <!-- Never show this item in an action bar, show it in the overflow menu instead.
6256                 Mutually exclusive with "ifRoom" and "always". -->
6257            <flag name="never" value="0" />
6258            <!-- Show this item in an action bar if there is room for it as determined
6259                 by the system. Favor this option over "always" where possible.
6260                 Mutually exclusive with "never" and "always". -->
6261            <flag name="ifRoom" value="1" />
6262            <!-- Always show this item in an actionbar, even if it would override
6263                 the system's limits of how much stuff to put there. This may make
6264                 your action bar look bad on some screens. In most cases you should
6265                 use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never". -->
6266            <flag name="always" value="2" />
6267            <!-- When this item is shown as an action in the action bar, show a text
6268                 label with it even if it has an icon representation. -->
6269            <flag name="withText" value="4" />
6270            <!-- This item's action view collapses to a normal menu
6271                 item. When expanded, the action view takes over a
6272                 larger segment of its container. -->
6273            <flag name="collapseActionView" value="8" />
6274        </attr>
6275
6276        <!-- An optional layout to be used as an action view.
6277             See {@link android.view.MenuItem#setActionView(android.view.View)}
6278             for more info. -->
6279        <attr name="actionLayout" format="reference" />
6280
6281        <!-- The name of an optional View class to instantiate and use as an
6282             action view. See {@link android.view.MenuItem#setActionView(android.view.View)}
6283             for more info. -->
6284        <attr name="actionViewClass" format="string" />
6285
6286        <!-- The name of an optional ActionProvider class to instantiate an action view
6287             and perform operations such as default action for that menu item.
6288             See {@link android.view.MenuItem#setActionProvider(android.view.ActionProvider)}
6289             for more info. -->
6290        <attr name="actionProviderClass" format="string" />
6291
6292    </declare-styleable>
6293
6294    <!-- Attrbitutes for a ActvityChooserView. -->
6295    <declare-styleable name="ActivityChooserView">
6296        <!-- The maximal number of items initially shown in the activity list. -->
6297        <attr name="initialActivityCount" format="string" />
6298        <!-- The drawable to show in the button for expanding the activities overflow popup.
6299             <strong>Note:</strong> Clients would like to set this drawable
6300             as a clue about the action the chosen activity will perform. For
6301             example, if share activity is to be chosen the drawable should
6302             give a clue that sharing is to be performed.
6303         -->
6304        <attr name="expandActivityOverflowButtonDrawable" format="reference" />
6305    </declare-styleable>
6306
6307    <!-- **************************************************************** -->
6308    <!-- Preferences framework. -->
6309    <!-- **************************************************************** -->
6310    <eat-comment />
6311
6312    <!-- Base attributes available to PreferenceGroup. -->
6313    <declare-styleable name="PreferenceGroup">
6314        <!-- Whether to order the Preference under this group as they appear in the XML file.
6315             If this is false, the ordering will follow the Preference order attribute and
6316             default to alphabetic for those without the order attribute. -->
6317        <attr name="orderingFromXml" format="boolean" />
6318    </declare-styleable>
6319
6320    <!-- Attribute for a header describing the item shown in the top-level list
6321         from which the selects the set of preference to dig in to. -->
6322    <declare-styleable name="PreferenceHeader">
6323        <!-- Identifier value for the header. -->
6324        <attr name="id" />
6325        <!-- The title of the item that is shown to the user. -->
6326        <attr name="title" />
6327        <!-- The summary for the item. -->
6328        <attr name="summary" format="string" />
6329        <!-- The title for the bread crumb of this item. -->
6330        <attr name="breadCrumbTitle" format="string" />
6331        <!-- The short title for the bread crumb of this item. -->
6332        <attr name="breadCrumbShortTitle" format="string" />
6333        <!-- An icon for the item. -->
6334        <attr name="icon" />
6335        <!-- The fragment that is displayed when the user selects this item. -->
6336        <attr name="fragment" format="string" />
6337    </declare-styleable>
6338
6339    <!-- WARNING:  If adding attributes to Preference, make sure it does not conflict
6340                   with a View's attributes.  Some subclasses (e.g., EditTextPreference)
6341                   proxy all attributes to its EditText widget. -->
6342    <eat-comment />
6343
6344    <!-- Base attributes available to Preference. -->
6345    <declare-styleable name="Preference">
6346        <!-- The optional icon for the preference -->
6347        <attr name="icon" />
6348        <!-- The key to store the Preference value. -->
6349        <attr name="key" format="string" />
6350        <!-- The title for the Preference in a PreferenceActivity screen. -->
6351        <attr name="title" />
6352        <!-- The summary for the Preference in a PreferenceActivity screen. -->
6353        <attr name="summary" />
6354        <!-- The order for the Preference (lower values are to be ordered first). If this is not
6355             specified, the default ordering will be alphabetic. -->
6356        <attr name="order" format="integer" />
6357        <!-- When used inside of a modern PreferenceActivity, this declares
6358             a new PreferenceFragment to be shown when the user selects this item. -->
6359        <attr name="fragment" />
6360        <!-- The layout for the Preference in a PreferenceActivity screen. This should
6361             rarely need to be changed, look at widgetLayout instead. -->
6362        <attr name="layout" />
6363        <!-- The layout for the controllable widget portion of a Preference. This is inflated
6364             into the layout for a Preference and should be used more frequently than
6365             the layout attribute. For example, a checkbox preference would specify
6366             a custom layout (consisting of just the CheckBox) here. -->
6367        <attr name="widgetLayout" format="reference" />
6368        <!-- Whether the Preference is enabled. -->
6369        <attr name="enabled" />
6370        <!-- Whether the Preference is selectable. -->
6371        <attr name="selectable" format="boolean" />
6372        <!-- The key of another Preference that this Preference will depend on.  If the other
6373             Preference is not set or is off, this Preference will be disabled. -->
6374        <attr name="dependency" format="string" />
6375        <!-- Whether the Preference stores its value to the shared preferences. -->
6376        <attr name="persistent" />
6377        <!-- The default value for the preference, which will be set either if persistence
6378             is off or persistence is on and the preference is not found in the persistent
6379             storage.  -->
6380        <attr name="defaultValue" format="string|boolean|integer|reference|float" />
6381        <!-- Whether the view of this Preference should be disabled when
6382             this Preference is disabled. -->
6383        <attr name="shouldDisableView" format="boolean" />
6384    </declare-styleable>
6385
6386    <!-- Base attributes available to CheckBoxPreference. -->
6387    <declare-styleable name="CheckBoxPreference">
6388        <!-- The summary for the Preference in a PreferenceActivity screen when the
6389             CheckBoxPreference is checked. If separate on/off summaries are not
6390             needed, the summary attribute can be used instead. -->
6391        <attr name="summaryOn" format="string" />
6392        <!-- The summary for the Preference in a PreferenceActivity screen when the
6393             CheckBoxPreference is unchecked. If separate on/off summaries are not
6394             needed, the summary attribute can be used instead. -->
6395        <attr name="summaryOff" format="string" />
6396        <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
6397             dependents will be disabled when this is unchecked, so the value of this preference is false. -->
6398        <attr name="disableDependentsState" format="boolean" />
6399    </declare-styleable>
6400
6401    <!-- Base attributes available to DialogPreference. -->
6402    <declare-styleable name="DialogPreference">
6403        <!-- The title in the dialog. -->
6404        <attr name="dialogTitle" format="string" />
6405        <!-- The message in the dialog. If a dialogLayout is provided and contains
6406             a TextView with ID android:id/message, this message will be placed in there. -->
6407        <attr name="dialogMessage" format="string" />
6408        <!-- The icon for the dialog. -->
6409        <attr name="dialogIcon" format="reference" />
6410        <!-- The positive button text for the dialog. Set to @null to hide the positive button. -->
6411        <attr name="positiveButtonText" format="string" />
6412        <!-- The negative button text for the dialog. Set to @null to hide the negative button. -->
6413        <attr name="negativeButtonText" format="string" />
6414        <!-- A layout to be used as the content View for the dialog. By default, this shouldn't
6415             be needed. If a custom DialogPreference is required, this should be set. For example,
6416             the EditTextPreference uses a layout with an EditText as this attribute. -->
6417        <attr name="dialogLayout" format="reference" />
6418    </declare-styleable>
6419
6420    <!-- Base attributes available to ListPreference. -->
6421    <declare-styleable name="ListPreference">
6422        <!-- The human-readable array to present as a list. Each entry must have a corresponding
6423             index in entryValues. -->
6424        <attr name="entries" />
6425        <!-- The array to find the value to save for a preference when an entry from
6426             entries is selected. If a user clicks on the second item in entries, the
6427             second item in this array will be saved to the preference. -->
6428        <attr name="entryValues" format="reference" />
6429    </declare-styleable>
6430
6431    <declare-styleable name="MultiSelectListPreference">
6432        <!-- The human-readable array to present as a list. Each entry must have a corresponding
6433             index in entryValues. -->
6434        <attr name="entries" />
6435        <!-- The array to find the value to save for a preference when an entry from
6436             entries is selected. If a user clicks the second item in entries, the
6437             second item in this array will be saved to the preference. -->
6438        <attr name="entryValues" />
6439    </declare-styleable>
6440
6441    <!-- Base attributes available to RingtonePreference. -->
6442    <declare-styleable name="RingtonePreference">
6443        <!-- Which ringtone type(s) to show in the picker. -->
6444        <attr name="ringtoneType">
6445            <!-- Ringtones. -->
6446            <flag name="ringtone" value="1" />
6447            <!-- Notification sounds. -->
6448            <flag name="notification" value="2" />
6449            <!-- Alarm sounds. -->
6450            <flag name="alarm" value="4" />
6451            <!-- All available ringtone sounds. -->
6452            <flag name="all" value="7" />
6453        </attr>
6454        <!-- Whether to show an item for a default sound. -->
6455        <attr name="showDefault" format="boolean" />
6456        <!-- Whether to show an item for 'Silent'. -->
6457        <attr name="showSilent" format="boolean" />
6458    </declare-styleable>
6459
6460    <!-- Base attributes available to VolumePreference. -->
6461    <declare-styleable name="VolumePreference">
6462        <!-- Different audio stream types. -->
6463        <attr name="streamType">
6464            <enum name="voice" value="0" />
6465            <enum name="system" value="1" />
6466            <enum name="ring" value="2" />
6467            <enum name="music" value="3" />
6468            <enum name="alarm" value="4" />
6469        </attr>
6470    </declare-styleable>
6471
6472    <declare-styleable name="InputMethodService">
6473        <!-- Background to use for entire input method when it is being
6474             shown in fullscreen mode with the extract view, to ensure
6475             that it completely covers the application.  This allows,
6476             for example, the candidate view to be hidden
6477             while in fullscreen mode without having the application show through
6478             behind it.-->
6479        <attr name="imeFullscreenBackground" format="reference|color" />
6480        <!-- Animation to use when showing the fullscreen extract UI after
6481             it had previously been hidden. -->
6482        <attr name="imeExtractEnterAnimation" format="reference" />
6483        <!-- Animation to use when hiding the fullscreen extract UI after
6484             it had previously been shown. -->
6485        <attr name="imeExtractExitAnimation" format="reference" />
6486    </declare-styleable>
6487
6488    <declare-styleable name="VoiceInteractionSession">
6489    </declare-styleable>
6490
6491    <declare-styleable name="KeyboardView">
6492        <!-- Default KeyboardView style. -->
6493        <attr name="keyboardViewStyle" format="reference" />
6494
6495        <!-- Image for the key. This image needs to be a StateListDrawable, with the following
6496             possible states: normal, pressed, checkable, checkable+pressed, checkable+checked,
6497             checkable+checked+pressed. -->
6498        <attr name="keyBackground" format="reference" />
6499
6500        <!-- Size of the text for character keys. -->
6501        <attr name="keyTextSize" format="dimension" />
6502
6503        <!-- Size of the text for custom keys with some text and no icon. -->
6504        <attr name="labelTextSize" format="dimension" />
6505
6506        <!-- Color to use for the label in a key. -->
6507        <attr name="keyTextColor" format="color" />
6508
6509        <!-- Layout resource for key press feedback.-->
6510        <attr name="keyPreviewLayout" format="reference" />
6511
6512        <!-- Vertical offset of the key press feedback from the key. -->
6513        <attr name="keyPreviewOffset" format="dimension" />
6514
6515        <!-- Height of the key press feedback popup. -->
6516        <attr name="keyPreviewHeight" format="dimension" />
6517
6518        <!-- Amount to offset the touch Y coordinate by, for bias correction. -->
6519        <attr name="verticalCorrection" format="dimension" />
6520
6521        <!-- Layout resource for popup keyboards. -->
6522        <attr name="popupLayout" format="reference" />
6523
6524        <attr name="shadowColor" />
6525        <attr name="shadowRadius" />
6526    </declare-styleable>
6527
6528    <declare-styleable name="KeyboardViewPreviewState">
6529        <!-- State for {@link android.inputmethodservice.KeyboardView KeyboardView}
6530                key preview background. -->
6531        <attr name="state_long_pressable" format="boolean" />
6532    </declare-styleable>
6533
6534    <declare-styleable name="Keyboard">
6535        <!-- Default width of a key, in pixels or percentage of display width. -->
6536        <attr name="keyWidth" format="dimension|fraction" />
6537        <!-- Default height of a key, in pixels or percentage of display width. -->
6538        <attr name="keyHeight" format="dimension|fraction" />
6539        <!-- Default horizontal gap between keys. -->
6540        <attr name="horizontalGap" format="dimension|fraction" />
6541        <!-- Default vertical gap between rows of keys. -->
6542        <attr name="verticalGap" format="dimension|fraction" />
6543    </declare-styleable>
6544
6545    <declare-styleable name="Keyboard_Row">
6546        <!-- Row edge flags. -->
6547        <attr name="rowEdgeFlags">
6548            <!-- Row is anchored to the top of the keyboard. -->
6549            <flag name="top" value="4" />
6550            <!-- Row is anchored to the bottom of the keyboard. -->
6551            <flag name="bottom" value="8" />
6552        </attr>
6553        <!-- Mode of the keyboard. If the mode doesn't match the
6554             requested keyboard mode, the row will be skipped. -->
6555        <attr name="keyboardMode" format="reference" />
6556    </declare-styleable>
6557
6558    <declare-styleable name="Keyboard_Key">
6559        <!-- The unicode value or comma-separated values that this key outputs. -->
6560        <attr name="codes" format="integer|string" />
6561        <!-- The XML keyboard layout of any popup keyboard. -->
6562        <attr name="popupKeyboard" format="reference" />
6563        <!-- The characters to display in the popup keyboard. -->
6564        <attr name="popupCharacters" format="string" />
6565        <!-- Key edge flags. -->
6566        <attr name="keyEdgeFlags">
6567            <!-- Key is anchored to the left of the keyboard. -->
6568            <flag name="left" value="1" />
6569            <!-- Key is anchored to the right of the keyboard. -->
6570            <flag name="right" value="2" />
6571        </attr>
6572        <!-- Whether this is a modifier key such as Alt or Shift. -->
6573        <attr name="isModifier" format="boolean" />
6574        <!-- Whether this is a toggle key. -->
6575        <attr name="isSticky" format="boolean" />
6576        <!-- Whether long-pressing on this key will make it repeat. -->
6577        <attr name="isRepeatable" format="boolean" />
6578        <!-- The icon to show in the popup preview. -->
6579        <attr name="iconPreview" format="reference" />
6580        <!-- The string of characters to output when this key is pressed. -->
6581        <attr name="keyOutputText" format="string" />
6582        <!-- The label to display on the key. -->
6583        <attr name="keyLabel" format="string" />
6584        <!-- The icon to display on the key instead of the label. -->
6585        <attr name="keyIcon" format="reference" />
6586        <!-- Mode of the keyboard. If the mode doesn't match the
6587             requested keyboard mode, the key will be skipped. -->
6588        <attr name="keyboardMode" />
6589    </declare-styleable>
6590
6591    <!-- =============================== -->
6592    <!-- AppWidget package class attributes -->
6593    <!-- =============================== -->
6594    <eat-comment />
6595
6596    <!-- Use <code>appwidget-provider</code> as the root tag of the XML resource that
6597         describes an AppWidget provider.  See {@link android.appwidget android.appwidget}
6598         package for more info.
6599     -->
6600    <declare-styleable name="AppWidgetProviderInfo">
6601        <!-- Minimum width of the AppWidget. -->
6602        <attr name="minWidth"/>
6603        <!-- Minimum height of the AppWidget. -->
6604        <attr name="minHeight"/>
6605        <!-- Minimum width that the AppWidget can be resized to. -->
6606        <attr name="minResizeWidth" format="dimension"/>
6607        <!-- Minimum height that the AppWidget can be resized to. -->
6608        <attr name="minResizeHeight" format="dimension"/>
6609        <!-- Update period in milliseconds, or 0 if the AppWidget will update itself. -->
6610        <attr name="updatePeriodMillis" format="integer" />
6611        <!-- A resource id of a layout. -->
6612        <attr name="initialLayout" format="reference" />
6613        <!-- A resource id of a layout. -->
6614        <attr name="initialKeyguardLayout" format="reference" />
6615        <!-- A class name in the AppWidget's package to be launched to configure.
6616             If not supplied, then no activity will be launched. -->
6617        <attr name="configure" format="string" />
6618        <!-- A preview of what the AppWidget will look like after it's configured.
6619              If not supplied, the AppWidget's icon will be used. -->
6620        <attr name="previewImage" format="reference" />
6621        <!-- The view id of the AppWidget subview which should be auto-advanced.
6622             by the widget's host. -->
6623        <attr name="autoAdvanceViewId" format="reference" />
6624        <!-- Optional parameter which indicates if and how this widget can be
6625             resized. Supports combined values using | operator. -->
6626        <attr name="resizeMode" format="integer">
6627            <flag name="none" value="0x0" />
6628            <flag name="horizontal" value="0x1" />
6629            <flag name="vertical" value="0x2" />
6630        </attr>
6631        <!-- Optional parameter which indicates where this widget can be shown,
6632             ie. home screen, keyguard, search bar or any combination thereof.
6633             Supports combined values using | operator. -->
6634        <attr name="widgetCategory" format="integer">
6635            <flag name="home_screen" value="0x1" />
6636            <flag name="keyguard" value="0x2" />
6637            <flag name="searchbox" value="0x4" />
6638        </attr>
6639    </declare-styleable>
6640
6641    <!-- =============================== -->
6642    <!-- Wallpaper preview attributes    -->
6643    <!-- =============================== -->
6644    <eat-comment />
6645
6646    <!-- Use <code>wallpaper-preview</code> as the root tag of the XML resource that
6647         describes a wallpaper preview. -->
6648    <declare-styleable name="WallpaperPreviewInfo">
6649        <!-- A resource id of a static drawable. -->
6650        <attr name="staticWallpaperPreview" format="reference" />
6651    </declare-styleable>
6652
6653    <!-- =============================== -->
6654    <!-- App package class attributes -->
6655    <!-- =============================== -->
6656    <eat-comment />
6657
6658    <!-- ============================= -->
6659    <!-- View package class attributes -->
6660    <!-- ============================= -->
6661    <eat-comment />
6662
6663    <!-- Attributes that can be used with <code>&lt;fragment&gt;</code>
6664         tags inside of the layout of an Activity.  This instantiates
6665         the given {@link android.app.Fragment} and inserts its content
6666         view into the current location in the layout. -->
6667    <declare-styleable name="Fragment">
6668        <!-- Supply the name of the fragment class to instantiate. -->
6669        <attr name="name" />
6670
6671        <!-- Supply an identifier name for the top-level view, to later retrieve it
6672             with {@link android.view.View#findViewById View.findViewById()} or
6673             {@link android.app.Activity#findViewById Activity.findViewById()}.
6674             This must be a
6675             resource reference; typically you set this using the
6676             <code>@+</code> syntax to create a new ID resources.
6677             For example: <code>android:id="@+id/my_id"</code> which
6678             allows you to later retrieve the view
6679             with <code>findViewById(R.id.my_id)</code>. -->
6680        <attr name="id" />
6681
6682        <!-- Supply a tag for the top-level view containing a String, to be retrieved
6683             later with {@link android.view.View#getTag View.getTag()} or
6684             searched for with {@link android.view.View#findViewWithTag
6685             View.findViewWithTag()}.  It is generally preferable to use
6686             IDs (through the android:id attribute) instead of tags because
6687             they are faster and allow for compile-time type checking. -->
6688        <attr name="tag" />
6689
6690        <!-- The Transition that will be used to move Views out of the scene when the
6691             fragment is removed, hidden, or detached when not popping the back stack.
6692             Corresponds to {@link android.app.Fragment#setExitTransition(
6693             android.transition.Transition)} -->
6694        <attr name="fragmentExitTransition" format="reference"/>
6695
6696        <!-- The Transition that will be used to move Views into the initial scene.
6697             Corresponds to {@link android.app.Fragment#setEnterTransition(
6698             android.transition.Transition)} -->
6699        <attr name="fragmentEnterTransition" format="reference"/>
6700
6701        <!-- The Transition that will be used for shared elements transferred into the content
6702             Scene.
6703             Corresponds to {@link android.app.Fragment#setSharedElementEnterTransition(
6704             android.transition.Transition)} -->
6705        <attr name="fragmentSharedElementEnterTransition" format="reference"/>
6706
6707        <!-- The Transition that will be used to move Views out of the scene when the Fragment is
6708             preparing to be removed, hidden, or detached because of popping the back stack.
6709             Corresponds to {@link android.app.Fragment#setReturnTransition(
6710             android.transition.Transition)} -->
6711        <attr name="fragmentReturnTransition" format="reference"/>
6712
6713        <!-- The Transition that will be used for shared elements transferred back during a
6714             pop of the back stack. This Transition acts in the leaving Fragment.
6715             Corresponds to {@link android.app.Fragment#setSharedElementReturnTransition(
6716             android.transition.Transition)} -->
6717        <attr name="fragmentSharedElementReturnTransition" format="reference"/>
6718
6719        <!-- The Transition that will be used to move Views in to the scene when returning due
6720             to popping a back stack.
6721             Corresponds to {@link android.app.Fragment#setReenterTransition(
6722             android.transition.Transition)} -->
6723        <attr name="fragmentReenterTransition" format="reference"/>
6724
6725        <!-- Sets whether the enter and exit transitions should overlap when transitioning
6726             forward.
6727             Corresponds to {@link android.app.Fragment#setAllowEnterTransitionOverlap(
6728             boolean)} -->
6729        <attr name="fragmentAllowEnterTransitionOverlap" format="reference"/>
6730
6731        <!-- Sets whether the enter and exit transitions should overlap when transitioning
6732             because of popping the back stack.
6733             Corresponds to {@link android.app.Fragment#setAllowReturnTransitionOverlap(
6734             boolean)} -->
6735        <attr name="fragmentAllowReturnTransitionOverlap" format="reference"/>
6736    </declare-styleable>
6737
6738    <!-- Use <code>device-admin</code> as the root tag of the XML resource that
6739         describes a
6740         {@link android.app.admin.DeviceAdminReceiver}, which is
6741         referenced from its
6742         {@link android.app.admin.DeviceAdminReceiver#DEVICE_ADMIN_META_DATA}
6743         meta-data entry.  Described here are the attributes that can be
6744         included in that tag. -->
6745    <declare-styleable name="DeviceAdmin">
6746        <!-- Control whether the admin is visible to the user, even when it
6747             is not enabled.  This is true by default.  You may want to make
6748             it false if your admin does not make sense to be turned on
6749             unless some explicit action happens in your app. -->
6750        <attr name="visible" />
6751    </declare-styleable>
6752
6753    <!-- Use <code>wallpaper</code> as the root tag of the XML resource that
6754         describes an
6755         {@link android.service.wallpaper.WallpaperService}, which is
6756         referenced from its
6757         {@link android.service.wallpaper.WallpaperService#SERVICE_META_DATA}
6758         meta-data entry.  Described here are the attributes that can be
6759         included in that tag. -->
6760    <declare-styleable name="Wallpaper">
6761        <attr name="settingsActivity" />
6762
6763        <!-- Reference to a the wallpaper's thumbnail bitmap. -->
6764        <attr name="thumbnail" format="reference" />
6765
6766        <!-- Name of the author of this component, e.g. Google. -->
6767        <attr name="author" format="reference" />
6768
6769        <!-- Short description of the component's purpose or behavior. -->
6770        <attr name="description" />
6771    </declare-styleable>
6772
6773    <!-- Use <code>dream</code> as the root tag of the XML resource that
6774         describes an
6775         {@link android.service.dreams.DreamService}, which is
6776         referenced from its
6777         {@link android.service.dreams.DreamService#DREAM_META_DATA}
6778         meta-data entry.  Described here are the attributes that can be
6779         included in that tag. -->
6780    <declare-styleable name="Dream">
6781        <!-- Component name of an activity that allows the user to modify
6782             the settings for this dream. -->
6783        <attr name="settingsActivity" />
6784    </declare-styleable>
6785
6786    <!-- @SystemApi Use <code>trust-agent</code> as the root tag of the XML resource that
6787         describes an {@link android.service.trust.TrustAgentService}, which is
6788         referenced from its {@link android.service.trust.TrustAgentService#TRUST_AGENT_META_DATA}
6789         meta-data entry.  Described here are the attributes that can be included in that tag.
6790         @hide -->
6791    <declare-styleable name="TrustAgent">
6792        <!-- @SystemApi Component name of an activity that allows the user to modify
6793             the settings for this trust agent. @hide -->
6794        <attr name="settingsActivity" />
6795        <!-- @SystemApi Title for a preference that allows that user to launch the
6796             activity to modify trust agent settings. @hide -->
6797        <attr name="title" />
6798        <!-- @SystemApi Summary for the same preference as the title. @hide -->
6799        <attr name="summary" />
6800    </declare-styleable>
6801
6802    <!-- =============================== -->
6803    <!-- Accounts package class attributes -->
6804    <!-- =============================== -->
6805    <eat-comment />
6806
6807    <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
6808         describes an account authenticator.
6809     -->
6810    <declare-styleable name="AccountAuthenticator">
6811        <!-- The account type this authenticator handles. -->
6812        <attr name="accountType" format="string"/>
6813        <!-- The user-visible name of the authenticator. -->
6814        <attr name="label"/>
6815        <!-- The icon of the authenticator. -->
6816        <attr name="icon"/>
6817        <!-- Smaller icon of the authenticator. -->
6818        <attr name="smallIcon" format="reference"/>
6819        <!-- A preferences.xml file for authenticator-specific settings. -->
6820        <attr name="accountPreferences" format="reference"/>
6821        <!-- Account handles its own token storage and permissions.
6822             Default to false
6823          -->
6824        <attr name="customTokens" format="boolean"/>
6825    </declare-styleable>
6826
6827    <!-- =============================== -->
6828    <!-- Accounts package class attributes -->
6829    <!-- =============================== -->
6830    <eat-comment />
6831
6832    <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
6833         describes an account authenticator.
6834     -->
6835    <declare-styleable name="SyncAdapter">
6836        <!-- the authority of a content provider. -->
6837        <attr name="contentAuthority" format="string"/>
6838        <attr name="accountType"/>
6839        <attr name="userVisible" format="boolean"/>
6840        <attr name="supportsUploading" format="boolean"/>
6841        <!-- Set to true to tell the SyncManager that this SyncAdapter supports
6842             multiple simultaneous syncs for the same account type and authority.
6843             Otherwise the SyncManager will be sure not to issue a start sync request
6844             to this SyncAdapter if the SyncAdapter is already syncing another account.
6845             Defaults to false.
6846             -->
6847        <attr name="allowParallelSyncs" format="boolean"/>
6848        <!-- Set to true to tell the SyncManager to automatically call setIsSyncable(..., ..., 1)
6849             for the SyncAdapter instead of issuaing an initialization sync to the SyncAdapter.
6850             Defaults to false.
6851             -->
6852        <attr name="isAlwaysSyncable" format="boolean"/>
6853        <!-- If provided, specifies the action of the settings
6854             activity for this SyncAdapter.
6855             -->
6856        <attr name="settingsActivity"/>
6857    </declare-styleable>
6858
6859    <!-- =============================== -->
6860    <!-- Contacts meta-data attributes -->
6861    <!-- =============================== -->
6862    <eat-comment />
6863
6864    <!-- TODO: remove this deprecated styleable. -->
6865    <eat-comment />
6866    <declare-styleable name="Icon">
6867        <attr name="icon" />
6868        <attr name="mimeType" />
6869    </declare-styleable>
6870
6871    <!-- TODO: remove this deprecated styleable -->
6872    <eat-comment />
6873    <declare-styleable name="IconDefault">
6874        <attr name="icon" />
6875    </declare-styleable>
6876
6877    <!-- Maps a specific contact data MIME-type to styling information. -->
6878    <declare-styleable name="ContactsDataKind">
6879        <!-- Mime-type handled by this mapping. -->
6880        <attr name="mimeType" />
6881        <!-- Icon used to represent data of this kind. -->
6882        <attr name="icon" />
6883        <!-- Column in data table that summarizes this data. -->
6884        <attr name="summaryColumn" format="string" />
6885        <!-- Column in data table that contains details for this data. -->
6886        <attr name="detailColumn" format="string" />
6887        <!-- Flag indicating that detail should be built from SocialProvider. -->
6888        <attr name="detailSocialSummary" format="boolean" />
6889        <!-- Resource representing the term "All Contacts" (e.g. "All Friends" or
6890        "All connections"). Optional (Default is "All Contacts"). -->
6891        <attr name="allContactsName" format="string" />
6892    </declare-styleable>
6893
6894    <!-- =============================== -->
6895    <!-- TabSelector class attributes -->
6896    <!-- =============================== -->
6897    <eat-comment />
6898
6899    <declare-styleable name="SlidingTab">
6900        <!-- Use "horizontal" for a row, "vertical" for a column.  The default is horizontal. -->
6901        <attr name="orientation" />
6902    </declare-styleable>
6903
6904    <!-- =============================== -->
6905    <!-- GlowPadView class attributes -->
6906    <!-- =============================== -->
6907    <eat-comment />
6908    <declare-styleable name="GlowPadView">
6909        <!-- Reference to an array resource that be shown as targets around a circle. -->
6910        <attr name="targetDrawables" format="reference" />
6911
6912        <!-- Reference to an array resource that be used as description for the targets around the circle. -->
6913        <attr name="targetDescriptions" format="reference" />
6914
6915        <!-- Reference to an array resource that be used to announce the directions with targets around the circle. -->
6916        <attr name="directionDescriptions" format="reference" />
6917
6918        <!-- Sets a drawable as the center. -->
6919        <attr name="handleDrawable" format="reference" />
6920
6921        <!-- Drawable to use for wave ripple animation. -->
6922        <attr name="outerRingDrawable" format="reference"/>
6923
6924        <!-- Drawble used for drawing points -->
6925        <attr name="pointDrawable" format="reference" />
6926
6927        <!-- Inner radius of glow area. -->
6928        <attr name="innerRadius"/>
6929
6930        <!-- Outer radius of glow area. Target icons will be drawn on this circle. -->
6931        <attr name="outerRadius" format="dimension" />
6932
6933        <!-- Radius of glow under finger. -->
6934        <attr name="glowRadius" format="dimension" />
6935
6936        <!-- Tactile feedback duration for actions. Set to '0' for no vibration. -->
6937        <attr name="vibrationDuration" format="integer" />
6938
6939        <!-- How close we need to be before snapping to a target. -->
6940        <attr name="snapMargin" format="dimension" />
6941
6942        <!-- Number of waves/chevrons to show in animation. -->
6943        <attr name="feedbackCount" format="integer" />
6944
6945        <!-- Used when the handle shouldn't wait to be hit before following the finger -->
6946        <attr name="alwaysTrackFinger" format="boolean" />
6947
6948        <!-- Location along the circle of the first item, in degrees.-->
6949        <attr name="firstItemOffset" format="float" />
6950
6951        <!-- Causes targets to snap to the finger location on activation. -->
6952        <attr name="magneticTargets" format="boolean" />
6953
6954        <attr name="gravity" />
6955
6956        <!-- Determine whether the glow pad is allowed to scale to fit the bounds indicated
6957            by its parent. If this is set to false, no scaling will occur. If this is set to true
6958            scaling will occur to fit for any axis in which gravity is set to center. -->
6959        <attr name="allowScaling" format="boolean" />
6960    </declare-styleable>
6961
6962    <!-- =============================== -->
6963    <!-- SizeAdaptiveLayout class attributes -->
6964    <!-- =============================== -->
6965    <eat-comment />
6966    <declare-styleable name="SizeAdaptiveLayout_Layout">
6967      <!-- The maximum valid height for this item. -->
6968      <attr name="layout_maxHeight" format="dimension">
6969        <!-- Indicates that the view may be resized arbitrarily large. -->
6970        <enum name="unbounded" value="-1" />
6971      </attr>
6972      <!-- The minimum valid height for this item. -->
6973      <attr name="layout_minHeight" format="dimension" />
6974    </declare-styleable>
6975    <declare-styleable name="SizeAdaptiveLayout" />
6976
6977    <!-- =============================== -->
6978    <!-- Location package class attributes -->
6979    <!-- =============================== -->
6980    <eat-comment />
6981
6982    <!-- Use <code>injected-location-setting</code> as the root tag of the XML resource that
6983         describes an injected "Location services" setting. Note that the status value (subtitle)
6984         for the setting is specified dynamically by a subclass of SettingInjectorService.
6985     -->
6986    <declare-styleable name="SettingInjectorService">
6987        <!-- The title for the preference. -->
6988        <attr name="title"/>
6989        <!-- The icon for the preference, should refer to all apps covered by the setting. Typically
6990             a generic icon for the developer. -->
6991        <attr name="icon"/>
6992        <!-- The activity to launch when the setting is clicked on. -->
6993        <attr name="settingsActivity"/>
6994    </declare-styleable>
6995
6996    <!-- =============================== -->
6997    <!-- LockPatternView class attributes -->
6998    <!-- =============================== -->
6999    <eat-comment />
7000
7001    <declare-styleable name="LockPatternView">
7002        <!-- Aspect to use when drawing LockPatternView. Choices are "square"(default), "lock_width"
7003             or "lock_height" -->
7004        <attr name="aspect" format="string" />
7005        <!-- Color to use when drawing LockPatternView paths. -->
7006        <attr name="pathColor" format="color|reference" />
7007        <!-- The regular pattern color -->
7008        <attr name="regularColor" format="color|reference" />
7009        <!-- The error color -->
7010        <attr name="errorColor" format="color|reference" />
7011        <!-- The success color -->
7012        <attr name="successColor" format="color|reference"/>
7013    </declare-styleable>
7014
7015    <!-- Use <code>recognition-service</code> as the root tag of the XML resource that
7016         describes a {@link android.speech.RecognitionService}, which is referenced from
7017         its {@link android.speech.RecognitionService#SERVICE_META_DATA} meta-data entry.
7018         Described here are the attributes that can be included in that tag. -->
7019    <declare-styleable name="RecognitionService">
7020        <attr name="settingsActivity" />
7021    </declare-styleable>
7022
7023    <!-- Use <code>voice-interaction-service</code> as the root tag of the XML resource that
7024         describes a {@link android.service.voice.VoiceInteractionService}, which is referenced from
7025         its {@link android.service.voice.VoiceInteractionService#SERVICE_META_DATA} meta-data entry.
7026         Described here are the attributes that can be included in that tag. -->
7027    <declare-styleable name="VoiceInteractionService">
7028        <!-- The service that hosts active voice interaction sessions.  This is required. -->
7029        <attr name="sessionService" format="string" />
7030        <!-- The service that provides voice recognition.  This is required.  When the user
7031             selects this voice interaction service, they will also be implicitly selecting
7032             the component here for their recognition service. -->
7033        <attr name="recognitionService" format="string" />
7034        <attr name="settingsActivity" />
7035    </declare-styleable>
7036
7037    <!-- Use <code>voice-enrollment-application</code>
7038         as the root tag of the XML resource that escribes the supported keyphrases (hotwords)
7039         by the enrollment application.
7040         Described here are the attributes that can be included in that tag.
7041         @hide
7042         @SystemApi -->
7043    <declare-styleable name="VoiceEnrollmentApplication">
7044        <!-- A globally unique ID for the keyphrase. @hide @SystemApi -->
7045        <attr name="searchKeyphraseId" format="integer" />
7046        <!-- The actual keyphrase/hint text, or empty if not keyphrase dependent. @hide @SystemApi -->
7047        <attr name="searchKeyphrase" format="string" />
7048        <!-- A comma separated list of BCP-47 language tag for locales that are supported
7049             for this keyphrase, or empty if not locale dependent. @hide @SystemApi -->
7050        <attr name="searchKeyphraseSupportedLocales" format="string" />
7051        <!-- Flags for supported recognition modes. @hide @SystemApi -->
7052        <attr name="searchKeyphraseRecognitionFlags">
7053            <flag name="none" value="0" />
7054            <flag name="voiceTrigger" value="0x1" />
7055            <flag name="userIdentification" value="0x2" />
7056        </attr>
7057    </declare-styleable>
7058
7059    <!-- Attributes used to style the Action Bar. -->
7060    <declare-styleable name="ActionBar">
7061        <!-- The type of navigation to use. -->
7062        <attr name="navigationMode">
7063            <!-- Normal static title text -->
7064            <enum name="normal" value="0" />
7065            <!-- The action bar will use a selection list for navigation. -->
7066            <enum name="listMode" value="1" />
7067            <!-- The action bar will use a series of horizontal tabs for navigation. -->
7068            <enum name="tabMode" value="2" />
7069        </attr>
7070        <!-- Options affecting how the action bar is displayed. -->
7071        <attr name="displayOptions">
7072            <flag name="none" value="0" />
7073            <flag name="useLogo" value="0x1" />
7074            <flag name="showHome" value="0x2" />
7075            <flag name="homeAsUp" value="0x4" />
7076            <flag name="showTitle" value="0x8" />
7077            <flag name="showCustom" value="0x10" />
7078            <flag name="disableHome" value="0x20" />
7079        </attr>
7080        <!-- Specifies title text used for navigationMode="normal" -->
7081        <attr name="title" />
7082        <!-- Specifies subtitle text used for navigationMode="normal" -->
7083        <attr name="subtitle" format="string" />
7084        <!-- Specifies a style to use for title text. -->
7085        <attr name="titleTextStyle" format="reference" />
7086        <!-- Specifies a style to use for subtitle text. -->
7087        <attr name="subtitleTextStyle" format="reference" />
7088        <!-- Specifies the drawable used for the application icon. -->
7089        <attr name="icon" />
7090        <!-- Specifies the drawable used for the application logo. -->
7091        <attr name="logo" />
7092        <!-- Specifies the drawable used for item dividers. -->
7093        <attr name="divider" />
7094        <!-- Specifies a background drawable for the action bar. -->
7095        <attr name="background" />
7096        <!-- Specifies a background drawable for a second stacked row of the action bar. -->
7097        <attr name="backgroundStacked" format="reference|color" />
7098        <!-- Specifies a background drawable for the bottom component of a split action bar. -->
7099        <attr name="backgroundSplit" format="reference|color" />
7100        <!-- Specifies a layout for custom navigation. Overrides navigationMode. -->
7101        <attr name="customNavigationLayout" format="reference" />
7102        <!-- Specifies a fixed height. -->
7103        <attr name="height" />
7104        <!-- Specifies a layout to use for the "home" section of the action bar. -->
7105        <attr name="homeLayout" format="reference" />
7106        <!-- Specifies a style resource to use for an embedded progress bar. -->
7107        <attr name="progressBarStyle" />
7108        <!-- Specifies a style resource to use for an indeterminate progress spinner. -->
7109        <attr name="indeterminateProgressStyle" format="reference" />
7110        <!-- Specifies the horizontal padding on either end for an embedded progress bar. -->
7111        <attr name="progressBarPadding" format="dimension" />
7112        <!-- Up navigation glyph -->
7113        <attr name="homeAsUpIndicator" />
7114        <!-- Specifies padding that should be applied to the left and right sides of
7115             system-provided items in the bar. -->
7116        <attr name="itemPadding" format="dimension" />
7117        <!-- Set true to hide the action bar on a vertical nested scroll of content. -->
7118        <attr name="hideOnContentScroll" format="boolean" />
7119        <!-- Minimum inset for content views within a bar. Navigation buttons and
7120             menu views are excepted. Only valid for some themes and configurations. -->
7121        <attr name="contentInsetStart" format="dimension" />
7122        <!-- Minimum inset for content views within a bar. Navigation buttons and
7123             menu views are excepted. Only valid for some themes and configurations. -->
7124        <attr name="contentInsetEnd" format="dimension" />
7125        <!-- Minimum inset for content views within a bar. Navigation buttons and
7126             menu views are excepted. Only valid for some themes and configurations. -->
7127        <attr name="contentInsetLeft" format="dimension" />
7128        <!-- Minimum inset for content views within a bar. Navigation buttons and
7129             menu views are excepted. Only valid for some themes and configurations. -->
7130        <attr name="contentInsetRight" format="dimension" />
7131        <!-- Elevation for the action bar itself -->
7132        <attr name="elevation" />
7133        <!-- Reference to a theme that should be used to inflate popups
7134             shown by widgets in the action bar. -->
7135        <attr name="popupTheme" />
7136    </declare-styleable>
7137
7138    <declare-styleable name="ActionMode">
7139        <!-- Specifies a style to use for title text. -->
7140        <attr name="titleTextStyle" />
7141        <!-- Specifies a style to use for subtitle text. -->
7142        <attr name="subtitleTextStyle" />
7143        <!-- Specifies a background for the action mode bar. -->
7144        <attr name="background" />
7145        <!-- Specifies a background for the split action mode bar. -->
7146        <attr name="backgroundSplit" />
7147        <!-- Specifies a fixed height for the action mode bar. -->
7148        <attr name="height" />
7149        <!-- Specifies a layout to use for the "close" item at the starting edge. -->
7150        <attr name="closeItemLayout" format="reference" />
7151    </declare-styleable>
7152
7153    <declare-styleable name="SearchView">
7154        <!-- The layout to use for the search view. -->
7155        <attr name="layout" />
7156        <!-- The default state of the SearchView. If true, it will be iconified when not in
7157             use and expanded when clicked. -->
7158        <attr name="iconifiedByDefault" format="boolean" />
7159        <!-- An optional maximum width of the SearchView. -->
7160        <attr name="maxWidth" />
7161        <!-- An optional query hint string to be displayed in the empty query field. -->
7162        <attr name="queryHint" format="string" />
7163        <!-- The IME options to set on the query text field. -->
7164        <attr name="imeOptions" />
7165        <!-- The input type to set on the query text field. -->
7166        <attr name="inputType" />
7167        <!-- Close button icon -->
7168        <attr name="closeIcon" format="reference" />
7169        <!-- Go button icon -->
7170        <attr name="goIcon" format="reference" />
7171        <!-- Search icon -->
7172        <attr name="searchIcon" format="reference" />
7173        <!-- Voice button icon -->
7174        <attr name="voiceIcon" format="reference" />
7175        <!-- Commit icon shown in the query suggestion row -->
7176        <attr name="commitIcon" format="reference" />
7177        <!-- Layout for query suggestion rows -->
7178        <attr name="suggestionRowLayout" format="reference" />
7179        <!-- Background for the section containing the search query -->
7180        <attr name="queryBackground" format="reference" />
7181        <!-- Background for the section containing the action (e.g. voice search) -->
7182        <attr name="submitBackground" format="reference" />
7183        <attr name="focusable" />
7184    </declare-styleable>
7185
7186    <declare-styleable name="Switch">
7187        <!-- Drawable to use as the "thumb" that switches back and forth. -->
7188        <attr name="thumb" />
7189        <!-- Drawable to use as the "track" that the switch thumb slides within. -->
7190        <attr name="track" format="reference" />
7191        <!-- Text to use when the switch is in the checked/"on" state. -->
7192        <attr name="textOn" />
7193        <!-- Text to use when the switch is in the unchecked/"off" state. -->
7194        <attr name="textOff" />
7195        <!-- Amount of padding on either side of text within the switch thumb. -->
7196        <attr name="thumbTextPadding" format="dimension" />
7197        <!-- TextAppearance style for text displayed on the switch thumb. -->
7198        <attr name="switchTextAppearance" format="reference" />
7199        <!-- Minimum width for the switch component -->
7200        <attr name="switchMinWidth" format="dimension" />
7201        <!-- Minimum space between the switch and caption text -->
7202        <attr name="switchPadding" format="dimension" />
7203        <!-- Whether to split the track and leave a gap for the thumb drawable. -->
7204        <attr name="splitTrack" />
7205        <!-- Whether to draw on/off text. -->
7206        <attr name="showText" format="boolean" />
7207    </declare-styleable>
7208
7209    <declare-styleable name="Pointer">
7210        <!-- Reference to a pointer icon drawable with STYLE_ARROW -->
7211        <attr name="pointerIconArrow" format="reference" />
7212        <!-- Reference to a pointer icon drawable with STYLE_SPOT_HOVER -->
7213        <attr name="pointerIconSpotHover" format="reference" />
7214        <!-- Reference to a pointer icon drawable with STYLE_SPOT_TOUCH -->
7215        <attr name="pointerIconSpotTouch" format="reference" />
7216        <!-- Reference to a pointer icon drawable with STYLE_SPOT_ANCHOR -->
7217        <attr name="pointerIconSpotAnchor" format="reference" />
7218    </declare-styleable>
7219
7220    <declare-styleable name="PointerIcon">
7221        <!-- Drawable to use as the icon bitmap. -->
7222        <attr name="bitmap" format="reference" />
7223        <!-- X coordinate of the icon hot spot. -->
7224        <attr name="hotSpotX" format="dimension" />
7225        <!-- Y coordinate of the icon hot spot. -->
7226        <attr name="hotSpotY" format="dimension" />
7227    </declare-styleable>
7228
7229    <declare-styleable name="Storage">
7230        <!-- path to mount point for the storage -->
7231        <attr name="mountPoint" format="string" />
7232        <!-- user visible description of the storage -->
7233        <attr name="storageDescription" format="string" />
7234        <!-- true if the storage is the primary external storage -->
7235        <attr name="primary" format="boolean" />
7236        <!-- true if the storage is removable -->
7237        <attr name="removable" format="boolean" />
7238        <!-- true if the storage is emulated via the FUSE sdcard daemon -->
7239        <attr name="emulated" format="boolean" />
7240        <!-- number of megabytes of storage MTP should reserve for free storage
7241             (used for emulated storage that is shared with system's data partition) -->
7242        <attr name="mtpReserve" format="integer" />
7243        <!-- true if the storage can be shared via USB mass storage -->
7244        <attr name="allowMassStorage" format="boolean" />
7245        <!-- maximum file size for the volume in megabytes, zero or unspecified if it is unbounded -->
7246        <attr name="maxFileSize" format="integer" />
7247    </declare-styleable>
7248
7249    <declare-styleable name="SwitchPreference">
7250        <!-- The summary for the Preference in a PreferenceActivity screen when the
7251             SwitchPreference is checked. If separate on/off summaries are not
7252             needed, the summary attribute can be used instead. -->
7253        <attr name="summaryOn" />
7254        <!-- The summary for the Preference in a PreferenceActivity screen when the
7255             SwitchPreference is unchecked. If separate on/off summaries are not
7256             needed, the summary attribute can be used instead. -->
7257        <attr name="summaryOff" />
7258        <!-- The text used on the switch itself when in the "on" state.
7259             This should be a very SHORT string, as it appears in a small space. -->
7260        <attr name="switchTextOn" format="string" />
7261        <!-- The text used on the switch itself when in the "off" state.
7262             This should be a very SHORT string, as it appears in a small space. -->
7263        <attr name="switchTextOff" format="string" />
7264        <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
7265             dependents will be disabled when this is unchecked, so the value of this preference is false. -->
7266        <attr name="disableDependentsState" />
7267    </declare-styleable>
7268
7269    <declare-styleable name="SeekBarPreference">
7270        <attr name="layout" />
7271    </declare-styleable>
7272
7273    <!-- Base attributes available to PreferenceFragment. -->
7274    <declare-styleable name="PreferenceFragment">
7275        <!-- The layout for the PreferenceFragment. This should rarely need to be changed. -->
7276        <attr name="layout" />
7277    </declare-styleable>
7278
7279    <!-- Base attributes available to PreferenceActivity. -->
7280    <declare-styleable name="PreferenceActivity">
7281        <!-- The layout for the Preference Activity. This should rarely need to be changed. -->
7282        <attr name="layout" />
7283        <!-- The layout for the Preference Header. This should rarely need to be changed. -->
7284        <attr name="headerLayout" format="reference" />
7285        <!-- true if the Icon view will be removed when there is none and thus not showing
7286             the fixed margins. -->
7287        <attr name="headerRemoveIconIfEmpty" format="boolean" />
7288    </declare-styleable>
7289
7290    <!-- Use <code>tts-engine</code> as the root tag of the XML resource that
7291         describes a text to speech engine implemented as a subclass of
7292         {@link android.speech.tts.TextToSpeechService}.
7293
7294         The XML resource must be referenced from its
7295         {@link android.speech.tts.TextToSpeech.Engine#SERVICE_META_DATA} meta-data
7296         entry. -->
7297    <declare-styleable name="TextToSpeechEngine">
7298        <attr name="settingsActivity" />
7299    </declare-styleable>
7300
7301    <!-- Use <code>keyboard-layouts</code> as the root tag of the XML resource that
7302         describes a collection of keyboard layouts provided by an application.
7303         Each keyboard layout is declared by a <code>keyboard-layout</code> tag
7304         with these attributes.
7305
7306         The XML resource that contains the keyboard layouts must be referenced from its
7307         {@link android.hardware.input.InputManager#META_DATA_KEYBOARD_LAYOUTS}
7308         meta-data entry used with broadcast receivers for
7309         {@link android.hardware.input.InputManager#ACTION_QUERY_KEYBOARD_LAYOUTS}. -->
7310    <declare-styleable name="KeyboardLayout">
7311        <!-- The name of the keyboard layout, must be unique in the receiver. -->
7312        <attr name="name" />
7313        <!-- The display label of the keyboard layout. -->
7314        <attr name="label" />
7315        <!-- The key character map file resource. -->
7316        <attr name="keyboardLayout" format="reference" />
7317    </declare-styleable>
7318
7319    <declare-styleable name="MediaRouteButton">
7320        <!-- This drawable is a state list where the "activated" state
7321             indicates active media routing. Non-activated indicates
7322             that media is playing to the local device only.
7323             @hide -->
7324        <attr name="externalRouteEnabledDrawable" format="reference" />
7325
7326        <!-- The types of media routes the button and its resulting
7327             chooser will filter by. -->
7328        <attr name="mediaRouteTypes" format="integer">
7329            <!-- Allow selection of live audio routes. -->
7330            <enum name="liveAudio" value="0x1" />
7331            <!-- Allow selection of user (app-specified) routes. -->
7332            <enum name="user" value="0x800000" />
7333        </attr>
7334
7335        <attr name="minWidth" />
7336        <attr name="minHeight" />
7337    </declare-styleable>
7338
7339    <!-- PagedView specific attributes. These attributes are used to customize
7340         a PagedView view in XML files. -->
7341    <declare-styleable name="PagedView">
7342        <!-- The space between adjacent pages of the PagedView. -->
7343        <attr name="pageSpacing" format="dimension" />
7344        <!-- The padding for the scroll indicator area -->
7345        <attr name="scrollIndicatorPaddingLeft" format="dimension" />
7346        <attr name="scrollIndicatorPaddingRight" format="dimension" />
7347    </declare-styleable>
7348
7349    <declare-styleable name="KeyguardGlowStripView">
7350        <attr name="dotSize" format="dimension" />
7351        <attr name="numDots" format="integer" />
7352        <attr name="glowDot" format="reference" />
7353        <attr name="leftToRight" format="boolean" />
7354    </declare-styleable>
7355
7356    <!-- Some child types have special behavior. -->
7357    <attr name="layout_childType">
7358        <!-- No special behavior. Layout will proceed as normal. -->
7359        <enum name="none" value="0" />
7360        <!-- Widget container.
7361             This will be resized in response to certain events. -->
7362        <enum name="widget" value="1" />
7363        <!-- Security challenge container.
7364             This will be dismissed/shown in response to certain events,
7365             possibly obscuring widget elements. -->
7366        <enum name="challenge" value="2" />
7367        <!-- User switcher.
7368             This will consume space from the total layout area. -->
7369        <enum name="userSwitcher" value="3" />
7370        <!-- Scrim. This will block access to child views that
7371             come before it in the child list in bouncer mode. -->
7372        <enum name="scrim" value="4" />
7373        <!-- The home for widgets. All widgets will be descendents of this. -->
7374        <enum name="widgets" value="5" />
7375        <!-- This is a handle that is used for expanding the
7376             security challenge container when it is collapsed. -->
7377        <enum name="expandChallengeHandle" value="6" />
7378        <!-- Delete drop target.  This will be the drop target to delete pages. -->
7379        <enum name="pageDeleteDropTarget" value="7" />
7380    </attr>
7381
7382    <declare-styleable name="SlidingChallengeLayout_Layout">
7383        <attr name="layout_childType" />
7384        <attr name="layout_maxHeight" />
7385    </declare-styleable>
7386
7387    <!-- Attributes that can be used with <code>&lt;FragmentBreadCrumbs&gt;</code>
7388    tags. -->
7389    <declare-styleable name="FragmentBreadCrumbs">
7390        <attr name="gravity" />
7391        <attr name="itemLayout" format="reference" />
7392        <attr name="itemColor" format="color|reference" />
7393    </declare-styleable>
7394
7395    <declare-styleable name="MultiPaneChallengeLayout">
7396        <!-- Influences how layout_centerWithinArea behaves -->
7397        <attr name="orientation" />
7398    </declare-styleable>
7399
7400    <declare-styleable name="MultiPaneChallengeLayout_Layout">
7401        <!-- Percentage of the screen this child should consume or center within.
7402             If 0/default, the view will be measured by standard rules
7403             as if this were a FrameLayout. -->
7404        <attr name="layout_centerWithinArea" format="float" />
7405        <attr name="layout_childType" />
7406        <attr name="layout_gravity" />
7407        <attr name="layout_maxWidth" format="dimension" />
7408        <attr name="layout_maxHeight" />
7409    </declare-styleable>
7410
7411    <declare-styleable name="KeyguardSecurityViewFlipper_Layout">
7412        <attr name="layout_maxWidth" />
7413        <attr name="layout_maxHeight" />
7414    </declare-styleable>
7415
7416    <declare-styleable name="Toolbar">
7417        <attr name="titleTextAppearance" format="reference" />
7418        <attr name="subtitleTextAppearance" format="reference" />
7419        <attr name="title" />
7420        <attr name="subtitle" />
7421        <attr name="gravity" />
7422        <attr name="titleMargins" format="dimension" />
7423        <attr name="titleMarginStart" format="dimension" />
7424        <attr name="titleMarginEnd" format="dimension" />
7425        <attr name="titleMarginTop" format="dimension" />
7426        <attr name="titleMarginBottom" format="dimension" />
7427        <attr name="contentInsetStart" />
7428        <attr name="contentInsetEnd" />
7429        <attr name="contentInsetLeft" />
7430        <attr name="contentInsetRight" />
7431        <attr name="maxButtonHeight" format="dimension" />
7432        <attr name="navigationButtonStyle" format="reference" />
7433        <attr name="buttonGravity">
7434            <!-- Push object to the top of its container, not changing its size. -->
7435            <flag name="top" value="0x30" />
7436            <!-- Push object to the bottom of its container, not changing its size. -->
7437            <flag name="bottom" value="0x50" />
7438        </attr>
7439        <attr name="collapseIcon" format="reference" />
7440        <!-- Reference to a theme that should be used to inflate popups
7441             shown by widgets in the toolbar. -->
7442        <attr name="popupTheme" format="reference" />
7443        <!-- Icon drawable to use for the navigation button located at
7444             the start of the toolbar. -->
7445        <attr name="navigationIcon" format="reference" />
7446        <!-- Text to set as the content description for the navigation button
7447             located at the start of the toolbar. -->
7448        <attr name="navigationContentDescription" format="string" />
7449    </declare-styleable>
7450
7451    <declare-styleable name="Toolbar_LayoutParams">
7452        <attr name="layout_gravity" />
7453    </declare-styleable>
7454
7455    <declare-styleable name="ActionBar_LayoutParams">
7456        <attr name="layout_gravity" />
7457    </declare-styleable>
7458
7459    <!-- Used as a filter array on the theme to pull out only the EdgeEffect-relevant bits. -->
7460    <declare-styleable name="EdgeEffect">
7461        <attr name="colorEdgeEffect" />
7462    </declare-styleable>
7463
7464    <!-- Use <code>tv-input</code> as the root tag of the XML resource that describes a
7465         {@link android.media.tv.TvInputService}, which is referenced from its
7466         {@link android.media.tv.TvInputService#SERVICE_META_DATA} meta-data entry.
7467         Described here are the attributes that can be included in that tag. -->
7468    <declare-styleable name="TvInputService">
7469        <!-- Component name of an activity for setup of this service.
7470             The setup includes scanning channels and registering EPG data. -->
7471        <attr name="setupActivity" format="string" />
7472        <!-- Component name of an activity that allows the user to modify
7473             the settings for this service. -->
7474        <attr name="settingsActivity" />
7475    </declare-styleable>
7476
7477    <!-- Attributes that can be used with <code>rating-system-definition</code> tags inside of the
7478         XML resource that describes TV content rating of a {@link android.media.tv.TvInputService},
7479         which is referenced from its
7480         {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. -->
7481    <declare-styleable name="RatingSystemDefinition">
7482        <!-- The unique name of the content rating system. -->
7483        <attr name="name" />
7484        <!-- The title of the content rating system which is shown to the user. -->
7485        <attr name="title" />
7486        <!-- The short description of the content rating system. -->
7487        <attr name="description" />
7488        <!-- The country code associated with the content rating system, which consists of two
7489             uppercase letters that conform to the ISO 3166 standard. -->
7490        <attr name="country" format="string" />
7491    </declare-styleable>
7492
7493    <!-- Attributes that can be used with <code>rating-definition</code> tags inside of the XML
7494         resource that describes TV content rating of a {@link android.media.tv.TvInputService},
7495         which is referenced from its
7496         {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. -->
7497    <declare-styleable name="RatingDefinition">
7498        <!-- The unique name of the content rating. -->
7499        <attr name="name" />
7500        <!-- The title of the content rating which is shown to the user. -->
7501        <attr name="title" />
7502        <!-- The short description of the content rating. -->
7503        <attr name="description" />
7504        <!-- The age associated with the content rating. The content of this rating is suitable for
7505             people of this age or above. -->
7506        <attr name="contentAgeHint" format="integer" />
7507    </declare-styleable>
7508
7509    <declare-styleable name="ResolverDrawerLayout">
7510        <attr name="maxWidth" />
7511        <attr name="maxCollapsedHeight" format="dimension" />
7512        <attr name="maxCollapsedHeightSmall" format="dimension" />
7513    </declare-styleable>
7514
7515    <declare-styleable name="ResolverDrawerLayout_LayoutParams">
7516        <attr name="layout_alwaysShow" format="boolean" />
7517        <attr name="layout_ignoreOffset" format="boolean" />
7518        <attr name="layout_gravity" />
7519    </declare-styleable>
7520
7521    <!-- @hide -->
7522    <declare-styleable name="Lighting">
7523        <attr name="lightY" />
7524        <attr name="lightZ" />
7525        <attr name="lightRadius" />
7526        <attr name="ambientShadowAlpha" />
7527        <attr name="spotShadowAlpha" />
7528    </declare-styleable>
7529
7530    <declare-styleable name="RestrictionEntry">
7531        <attr name="key" />
7532        <attr name="restrictionType">
7533            <enum name="hidden" value="0" />
7534            <enum name="bool" value="1" />
7535            <enum name="choice" value="2" />
7536            <enum name="multi-select" value="4" />
7537            <enum name="integer" value="5" />
7538            <enum name="string" value="6" />
7539        </attr>
7540        <attr name="title" />
7541        <attr name="description" />
7542        <attr name="defaultValue" />
7543        <attr name="entries" />
7544        <attr name="entryValues" />
7545    </declare-styleable>
7546</resources>
7547