attrs.xml revision 6b3fc9a9035c87a23828c8f481732cb3213302a4
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2006 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<!-- Formatting note: terminate all comments with a period, to avoid breaking
18     the documentation output. To suppress comment lines from the documentation
19     output, insert an eat-comment element after the comment lines.
20-->
21
22<resources>
23    <!-- These are the standard attributes that make up a complete theme. -->
24    <declare-styleable name="Theme">
25        <!-- ============== -->
26        <!-- Generic styles -->
27        <!-- ============== -->
28        <eat-comment />
29
30        <!-- Default color of foreground imagery. -->
31        <attr name="colorForeground" format="color" />
32        <!-- Default color of foreground imagery on an inverted background. -->
33        <attr name="colorForegroundInverse" format="color" />
34        <!-- Default color of background imagery, ex. full-screen windows. -->
35        <attr name="colorBackground" format="color" />
36        <!-- Default color of background imagery for floating components, ex. dialogs, popups, and cards. -->
37        <attr name="colorBackgroundFloating" format="color" />
38        <!-- This is a hint for a solid color that can be used for caching
39             rendered views.  This should be the color of the background when
40             there is a solid background color; it should be null when the
41             background is a texture or translucent.  When a device is able
42             to use accelerated drawing (thus setting state_accelerated), the
43             cache hint is ignored and always assumed to be transparent. -->
44        <attr name="colorBackgroundCacheHint" format="color" />
45
46        <!-- Default highlight color for items that are pressed. -->
47        <attr name="colorPressedHighlight" format="color" />
48        <!-- Default highlight color for items that are long-pressed. -->
49        <attr name="colorLongPressedHighlight" format="color" />
50        <!-- Default highlight color for items that are
51             focused. (Focused meaning cursor-based selection.) -->
52        <attr name="colorFocusedHighlight" format="color" />
53        <!-- Default highlight color for items that are
54             activated. (Activated meaning persistent selection.) -->
55        <attr name="colorActivatedHighlight" format="color" />
56        <!-- Default highlight color for items in multiple selection
57             mode. -->
58        <attr name="colorMultiSelectHighlight" format="color" />
59
60        <!-- Default disabled alpha for widgets that set enabled/disabled alpha programmatically. -->
61        <attr name="disabledAlpha" format="float" />
62        <!-- Default background dim amount when a menu, dialog, or something similar pops up. -->
63        <attr name="backgroundDimAmount" format="float" />
64        <!-- Control whether dimming behind the window is enabled.  The default
65             theme does not set this value, meaning it is based on whether the
66             window is floating. -->
67        <attr name="backgroundDimEnabled" format="boolean" />
68
69        <!-- =========== -->
70        <!-- Text styles -->
71        <!-- =========== -->
72        <eat-comment />
73
74        <!-- Default appearance of text: color, typeface, size, and style. -->
75        <attr name="textAppearance" format="reference" />
76        <!-- Default appearance of text against an inverted background:
77             color, typeface, size, and style. -->
78        <attr name="textAppearanceInverse" format="reference" />
79
80        <!-- The most prominent text color.  -->
81        <attr name="textColorPrimary" format="reference|color" />
82        <!-- Secondary text color. -->
83        <attr name="textColorSecondary" format="reference|color" />
84        <!-- Tertiary text color. -->
85        <attr name="textColorTertiary" format="reference|color" />
86
87        <!-- Primary inverse text color, useful for inverted backgrounds. -->
88        <attr name="textColorPrimaryInverse" format="reference|color" />
89        <!-- Secondary inverse text color, useful for inverted backgrounds. -->
90        <attr name="textColorSecondaryInverse" format="reference|color" />
91        <!-- Tertiary inverse text color, useful for inverted backgrounds. -->
92        <attr name="textColorTertiaryInverse" format="reference|color" />
93
94        <!-- Inverse hint text color. -->
95        <attr name="textColorHintInverse" format="reference|color" />
96
97        <!-- Bright text color. Only differentiates based on the disabled state. -->
98        <attr name="textColorPrimaryDisableOnly" format="reference|color" />
99
100        <!-- Bright inverse text color. Only differentiates based on the disabled state. -->
101        <attr name="textColorPrimaryInverseDisableOnly" format="reference|color" />
102
103        <!-- Bright text color. This does not differentiate the disabled state. As an example,
104             buttons use this since they display the disabled state via the background and not the
105             foreground text color. -->
106        <attr name="textColorPrimaryNoDisable" format="reference|color" />
107        <!-- Dim text color. This does not differentiate the disabled state. -->
108        <attr name="textColorSecondaryNoDisable" format="reference|color" />
109
110        <!-- Bright inverse text color. This does not differentiate the disabled state. -->
111        <attr name="textColorPrimaryInverseNoDisable" format="reference|color" />
112        <!-- Dim inverse text color. This does not differentiate the disabled state. -->
113        <attr name="textColorSecondaryInverseNoDisable" format="reference|color" />
114
115        <!-- Bright text color for use over activated backgrounds. -->
116        <attr name="textColorPrimaryActivated" format="reference|color" />
117        <!-- Dim text color for use over activated backgrounds. -->
118        <attr name="textColorSecondaryActivated" format="reference|color" />
119
120        <!-- Text color for urls in search suggestions, used by things like global search and the browser. @hide -->
121        <attr name="textColorSearchUrl" format="reference|color" />
122
123        <!-- Color of highlighted text, when used in a light theme. -->
124        <attr name="textColorHighlightInverse" format="reference|color" />
125        <!-- Color of link text (URLs), when used in a light theme. -->
126        <attr name="textColorLinkInverse" format="reference|color" />
127
128        <!-- Color of list item text in alert dialogs. -->
129        <attr name="textColorAlertDialogListItem" format="reference|color" />
130
131        <!-- Search widget more corpus result item background. -->
132        <attr name="searchWidgetCorpusItemBackground" format="reference|color" />
133
134        <!-- Text color, typeface, size, and style for "large" text. Defaults to primary text color. -->
135        <attr name="textAppearanceLarge" format="reference" />
136        <!-- Text color, typeface, size, and style for "medium" text. Defaults to primary text color. -->
137        <attr name="textAppearanceMedium" format="reference" />
138        <!-- Text color, typeface, size, and style for "small" text. Defaults to secondary text color. -->
139        <attr name="textAppearanceSmall" format="reference" />
140
141        <!-- Text color, typeface, size, and style for "large" inverse text. Defaults to primary inverse text color. -->
142        <attr name="textAppearanceLargeInverse" format="reference" />
143        <!-- Text color, typeface, size, and style for "medium" inverse text. Defaults to primary inverse text color. -->
144        <attr name="textAppearanceMediumInverse" format="reference" />
145        <!-- Text color, typeface, size, and style for "small" inverse text. Defaults to secondary inverse text color. -->
146        <attr name="textAppearanceSmallInverse" format="reference" />
147
148        <!-- Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color. -->
149        <attr name="textAppearanceSearchResultTitle" format="reference" />
150        <!-- Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color. -->
151        <attr name="textAppearanceSearchResultSubtitle" format="reference" />
152
153        <!-- Text color, typeface, size, and style for the text inside of a button. -->
154        <attr name="textAppearanceButton" format="reference" />
155
156        <!-- Text color, typeface, size, and style for the text inside of a popup menu. -->
157        <attr name="textAppearanceLargePopupMenu" format="reference" />
158
159        <!-- Text color, typeface, size, and style for small text inside of a popup menu. -->
160        <attr name="textAppearanceSmallPopupMenu" format="reference" />
161
162        <!-- The underline color and thickness for easy correct suggestion -->
163        <attr name="textAppearanceEasyCorrectSuggestion" format="reference" />
164
165        <!-- The underline color and thickness for misspelled suggestion -->
166        <attr name="textAppearanceMisspelledSuggestion" format="reference" />
167
168        <!-- The underline color and thickness for auto correction suggestion -->
169        <attr name="textAppearanceAutoCorrectionSuggestion" format="reference" />
170
171        <!--  The underline color -->
172        <attr name="textUnderlineColor" format="reference|color" />
173        <!--  The underline thickness -->
174        <attr name="textUnderlineThickness" format="reference|dimension" />
175
176        <!-- EditText text foreground color. -->
177        <attr name="editTextColor" format="reference|color" />
178        <!-- EditText background drawable. -->
179        <attr name="editTextBackground" format="reference" />
180
181        <!-- Popup text displayed in TextView when setError is used. -->
182        <attr name="errorMessageBackground" format="reference" />
183        <!-- Background used instead of errorMessageBackground when the popup has to be above. -->
184        <attr name="errorMessageAboveBackground" format="reference" />
185
186        <!-- A styled string, specifying the style to be used for showing
187             inline candidate text when composing with an input method.  The
188             text itself will be ignored, but the style spans will be applied
189             to the candidate text as it is edited. -->
190        <attr name="candidatesTextStyleSpans" format="reference|string" />
191
192        <!-- Drawable to use for check marks. -->
193        <attr name="textCheckMark" format="reference" />
194        <attr name="textCheckMarkInverse" format="reference" />
195
196        <!-- Drawable to use for multiple choice indicators. -->
197        <attr name="listChoiceIndicatorMultiple" format="reference" />
198
199        <!-- Drawable to use for single choice indicators. -->
200        <attr name="listChoiceIndicatorSingle" format="reference" />
201
202        <!-- Drawable used as a background for selected list items. -->
203        <attr name="listChoiceBackgroundIndicator" format="reference" />
204
205        <!-- Drawable used as a background for activated items. -->
206        <attr name="activatedBackgroundIndicator" format="reference" />
207
208        <!-- ============= -->
209        <!-- Button styles -->
210        <!-- ============= -->
211        <eat-comment />
212
213        <!-- Normal Button style. -->
214        <attr name="buttonStyle" format="reference" />
215
216        <!-- Small Button style. -->
217        <attr name="buttonStyleSmall" format="reference" />
218
219        <!-- Button style to inset into an EditText. -->
220        <attr name="buttonStyleInset" format="reference" />
221
222        <!-- ToggleButton style. -->
223        <attr name="buttonStyleToggle" format="reference" />
224
225        <!-- ============== -->
226        <!-- Gallery styles -->
227        <!-- ============== -->
228        <eat-comment />
229
230        <!-- The preferred background for gallery items. This should be set
231             as the background of any Views you provide from the Adapter. -->
232        <attr name="galleryItemBackground" format="reference" />
233
234        <!-- =========== -->
235        <!-- List styles -->
236        <!-- =========== -->
237        <eat-comment />
238
239        <!-- The preferred list item height. -->
240        <attr name="listPreferredItemHeight" format="dimension" />
241        <!-- A smaller, sleeker list item height. -->
242        <attr name="listPreferredItemHeightSmall" format="dimension" />
243        <!-- A larger, more robust list item height. -->
244        <attr name="listPreferredItemHeightLarge" format="dimension" />
245        <!-- The list item height for search results. @hide -->
246        <attr name="searchResultListItemHeight" format="dimension" />
247
248        <!-- The preferred padding along the left edge of list items. -->
249        <attr name="listPreferredItemPaddingLeft" format="dimension" />
250        <!-- The preferred padding along the right edge of list items. -->
251        <attr name="listPreferredItemPaddingRight" format="dimension" />
252
253        <!-- The preferred TextAppearance for the primary text of list items. -->
254        <attr name="textAppearanceListItem" format="reference" />
255        <!-- The preferred TextAppearance for the secondary text of list items. -->
256        <attr name="textAppearanceListItemSecondary" format="reference" />
257        <!-- The preferred TextAppearance for the primary text of small list items. -->
258        <attr name="textAppearanceListItemSmall" format="reference" />
259
260        <!-- The drawable for the list divider. -->
261        <attr name="listDivider" format="reference" />
262        <!-- The list divider used in alert dialogs. -->
263        <attr name="listDividerAlertDialog" format="reference" />
264        <!-- TextView style for list separators. -->
265        <attr name="listSeparatorTextViewStyle" format="reference" />
266        <!-- The preferred left padding for an expandable list item (for child-specific layouts,
267             use expandableListPreferredChildPaddingLeft). This takes into account
268             the indicator that will be shown to next to the item. -->
269        <attr name="expandableListPreferredItemPaddingLeft" format="dimension" />
270        <!-- The preferred left padding for an expandable list item that is a child.
271             If this is not provided, it defaults to the expandableListPreferredItemPaddingLeft. -->
272        <attr name="expandableListPreferredChildPaddingLeft" format="dimension" />
273        <!-- The preferred left bound for an expandable list item's indicator. For a child-specific
274             indicator, use expandableListPreferredChildIndicatorLeft. -->
275        <attr name="expandableListPreferredItemIndicatorLeft" format="dimension" />
276        <!-- The preferred right bound for an expandable list item's indicator. For a child-specific
277             indicator, use expandableListPreferredChildIndicatorRight. -->
278        <attr name="expandableListPreferredItemIndicatorRight" format="dimension" />
279        <!-- The preferred left bound for an expandable list child's indicator. -->
280        <attr name="expandableListPreferredChildIndicatorLeft" format="dimension" />
281        <!-- The preferred right bound for an expandable list child's indicator. -->
282        <attr name="expandableListPreferredChildIndicatorRight" format="dimension" />
283
284        <!-- The preferred item height for dropdown lists. -->
285        <attr name="dropdownListPreferredItemHeight" format="dimension" />
286
287        <!-- The preferred padding along the start edge of list items. -->
288        <attr name="listPreferredItemPaddingStart" format="dimension" />
289        <!-- The preferred padding along the end edge of list items. -->
290        <attr name="listPreferredItemPaddingEnd" format="dimension" />
291
292        <!-- ============= -->
293        <!-- Window styles -->
294        <!-- ============= -->
295        <eat-comment />
296
297        <!-- Drawable to use as the overall window background.  As of
298             {@link android.os.Build.VERSION_CODES#HONEYCOMB}, this may
299             be a selector that uses state_accelerated to pick a non-solid
300             color when running on devices that can draw such a bitmap
301             with complex compositing on top at 60fps.
302
303             <p>There are a few special considerations to use when setting this
304             drawable:
305             <ul>
306             <li> This information will be used to infer the pixel format
307                  for your window's surface.  If the drawable has any
308                  non-opaque pixels, your window will be translucent
309                  (32 bpp).
310             <li> If you want to draw the entire background
311                  yourself, you should set this drawable to some solid
312                  color that closely matches that background (so the
313                  system's preview of your window will match), and
314                  then in code manually set your window's background to
315                  null so it will not be drawn.
316             </ul> -->
317        <attr name="windowBackground" format="reference" />
318        <!-- Drawable to draw selectively within the inset areas when the windowBackground
319             has been set to null. This protects against seeing visual garbage in the
320             surface when the app has not drawn any content into this area. -->
321        <attr name="windowBackgroundFallback" format="reference" />
322        <!-- Drawable to use as a frame around the window. -->
323        <attr name="windowFrame" format="reference" />
324        <!-- Flag indicating whether there should be no title on this window. -->
325        <attr name="windowNoTitle" format="boolean" />
326        <!-- Flag indicating whether this window should fill the entire screen.  Corresponds
327             to {@link android.view.WindowManager.LayoutParams#FLAG_FULLSCREEN}. -->
328        <attr name="windowFullscreen" format="boolean" />
329        <!-- Flag indicating whether this window should extend into overscan region.  Corresponds
330             to {@link android.view.WindowManager.LayoutParams#FLAG_LAYOUT_IN_OVERSCAN}. -->
331        <attr name="windowOverscan" format="boolean" />
332        <!-- Flag indicating whether this is a floating window. -->
333        <attr name="windowIsFloating" format="boolean" />
334        <!-- Flag indicating whether this is a translucent window. If this attribute is unset (but
335             not if set to false), the window might still be considered translucent, if
336             windowSwipeToDismiss is set to true. -->
337        <attr name="windowIsTranslucent" format="boolean" />
338        <!-- Flag indicating that this window's background should be the
339             user's current wallpaper.  Corresponds
340             to {@link android.view.WindowManager.LayoutParams#FLAG_SHOW_WALLPAPER}. -->
341        <attr name="windowShowWallpaper" format="boolean" />
342        <!-- This Drawable is overlaid over the foreground of the Window's content area, usually
343             to place a shadow below the title.  -->
344        <attr name="windowContentOverlay" format="reference" />
345        <!-- The style resource to use for a window's title bar height. -->
346        <attr name="windowTitleSize" format="dimension" />
347        <!-- The style resource to use for a window's title text. -->
348        <attr name="windowTitleStyle" format="reference" />
349        <!-- The style resource to use for a window's title area. -->
350        <attr name="windowTitleBackgroundStyle" format="reference" />
351
352        <!-- Reference to a style resource holding
353             the set of window animations to use, which can be
354             any of the attributes defined by
355             {@link android.R.styleable#WindowAnimation}. -->
356        <attr name="windowAnimationStyle" format="reference" />
357
358        <!-- Flag indicating whether this window should have an Action Bar
359             in place of the usual title bar. -->
360        <attr name="windowActionBar" format="boolean" />
361
362        <!-- Flag indicating whether this window's Action Bar should overlay
363             application content. Does nothing if the window would not
364             have an Action Bar. -->
365        <attr name="windowActionBarOverlay" format="boolean" />
366
367        <!-- Flag indicating whether action modes should overlay window content
368             when there is not reserved space for their UI (such as an Action Bar). -->
369        <attr name="windowActionModeOverlay" format="boolean" />
370
371        <!-- Defines the default soft input state that this window would
372             like when it is displayed.  Corresponds
373             to {@link android.view.WindowManager.LayoutParams#softInputMode}. -->
374        <attr name="windowSoftInputMode">
375            <!-- Not specified, use what the system thinks is best.  This
376                 is the default. -->
377            <flag name="stateUnspecified" value="0" />
378            <!-- Leave the soft input window as-is, in whatever state it
379                 last was. -->
380            <flag name="stateUnchanged" value="1" />
381            <!-- Make the soft input area hidden when normally appropriate
382                 (when the user is navigating forward to your window). -->
383            <flag name="stateHidden" value="2" />
384            <!-- Always make the soft input area hidden when this window
385                 has input focus. -->
386            <flag name="stateAlwaysHidden" value="3" />
387            <!-- Make the soft input area visible when normally appropriate
388                 (when the user is navigating forward to your window). -->
389            <flag name="stateVisible" value="4" />
390            <!-- Always make the soft input area visible when this window
391                 has input focus. -->
392            <flag name="stateAlwaysVisible" value="5" />
393
394            <!-- The window resize/pan adjustment has not been specified,
395                 the system will automatically select between resize and pan
396                 modes, depending
397                 on whether the content of the window has any layout views
398                 that can scroll their contents.  If there is such a view,
399                 then the window will be resized, with the assumption being
400                 that the resizeable area can be reduced to make room for
401                 the input UI. -->
402            <flag name="adjustUnspecified" value="0x00" />
403            <!-- Always resize the window: the content area of the window is
404                 reduced to make room for the soft input area. -->
405            <flag name="adjustResize" value="0x10" />
406            <!-- Don't resize the window to make room for the soft input area;
407                 instead pan the contents of the window as focus moves inside
408                 of it so that the user can see what they are typing.  This is
409                 generally less desireable than panning because the user may
410                 need to close the input area to get at and interact with
411                 parts of the window. -->
412            <flag name="adjustPan" value="0x20" />
413            <!-- Don't resize <em>or</em> pan the window to make room for the
414                 soft input area; the window is never adjusted for it. -->
415            <flag name="adjustNothing" value="0x30" />
416        </attr>
417
418        <!-- Flag allowing you to disable the preview animation for a window.
419             The default value is false; if set to true, the system can never
420             use the window's theme to show a preview of it before your
421             actual instance is shown to the user. -->
422        <attr name="windowDisablePreview" format="boolean" />
423
424        <!-- Flag indicating that this window should not be displayed at all.
425             The default value is false; if set to true, and this window is
426             the main window of an Activity, then it will never actually
427             be added to the window manager.  This means that your activity
428             must immediately quit without waiting for user interaction,
429             because there will be no such interaction coming. -->
430        <attr name="windowNoDisplay" format="boolean" />
431
432        <!-- Flag indicating that this window should allow touches to be split
433             across other windows that also support split touch.
434             The default value is true for applications with a targetSdkVersion
435             of Honeycomb or newer; false otherwise.
436             When this flag is false, the first pointer that goes down determines
437             the window to which all subsequent touches go until all pointers go up.
438             When this flag is true, each pointer (not necessarily the first) that
439             goes down determines the window to which all subsequent touches of that
440             pointer will go until that pointers go up thereby enabling touches
441             with multiple pointers to be split across multiple windows. -->
442        <attr name="windowEnableSplitTouch" format="boolean" />
443
444        <!-- Control whether a container should automatically close itself if
445             the user touches outside of it.  This only applies to activities
446             and dialogs.
447
448             <p>Note: this attribute will only be respected for applications
449             that are targeting {@link android.os.Build.VERSION_CODES#HONEYCOMB}
450             or later. -->
451        <attr name="windowCloseOnTouchOutside" format="boolean" />
452
453        <!-- Flag indicating whether this window requests a translucent status bar.  Corresponds
454             to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_STATUS}. -->
455        <attr name="windowTranslucentStatus" format="boolean" />
456
457        <!-- Flag indicating whether this window requests a translucent navigation bar.  Corresponds
458             to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_NAVIGATION}. -->
459        <attr name="windowTranslucentNavigation" format="boolean" />
460
461        <!-- Flag to indicate that a window can be swiped away to be dismissed.
462             Corresponds to {@link android.view.Window#FEATURE_SWIPE_TO_DISMISS}. It will also
463             dynamically change translucency of the window, if the windowIsTranslucent is not set.
464             If windowIsTranslucent is set (to either true or false) it will obey that setting. -->
465        <attr name="windowSwipeToDismiss" format="boolean" />
466
467        <!-- Flag indicating whether this window requests that content changes be performed
468             as scene changes with transitions. Corresponds to
469             {@link android.view.Window#FEATURE_CONTENT_TRANSITIONS}. -->
470        <attr name="windowContentTransitions" format="boolean" />
471
472        <!-- Reference to a TransitionManager XML resource defining the desired
473             transitions between different window content. -->
474        <attr name="windowContentTransitionManager" format="reference" />
475
476        <!-- Flag indicating whether this window allows Activity Transitions.
477             Corresponds to {@link android.view.Window#FEATURE_ACTIVITY_TRANSITIONS}. -->
478        <attr name="windowActivityTransitions" format="boolean" />
479
480        <!-- Reference to a Transition XML resource defining the desired Transition
481             used to move Views into the initial Window's content Scene. Corresponds to
482             {@link android.view.Window#setEnterTransition(android.transition.Transition)}. -->
483        <attr name="windowEnterTransition" format="reference"/>
484
485        <!-- Reference to a Transition XML resource defining the desired Transition
486             used to move Views out of the scene when the Window is
487             preparing to close. Corresponds to
488             {@link android.view.Window#setReturnTransition(android.transition.Transition)}. -->
489        <attr name="windowReturnTransition" format="reference"/>
490
491        <!-- Reference to a Transition XML resource defining the desired Transition
492             used to move Views out of the Window's content Scene when launching a new Activity.
493             Corresponds to
494             {@link android.view.Window#setExitTransition(android.transition.Transition)}. -->
495        <attr name="windowExitTransition" format="reference"/>
496
497        <!-- Reference to a Transition XML resource defining the desired Transition
498             used to move Views in to the scene when returning from a previously-started Activity.
499             Corresponds to
500             {@link android.view.Window#setReenterTransition(android.transition.Transition)}. -->
501        <attr name="windowReenterTransition" format="reference"/>
502
503        <!-- Reference to a Transition XML resource defining the desired Transition
504             used to move shared elements transferred into the Window's initial content Scene.
505             Corresponds to {@link android.view.Window#setSharedElementEnterTransition(
506             android.transition.Transition)}. -->
507        <attr name="windowSharedElementEnterTransition" format="reference"/>
508
509        <!-- Reference to a Transition XML resource defining the desired Transition
510             used to move shared elements transferred back to a calling Activity.
511             Corresponds to {@link android.view.Window#setSharedElementReturnTransition(
512             android.transition.Transition)}. -->
513        <attr name="windowSharedElementReturnTransition" format="reference"/>
514
515        <!-- Reference to a Transition XML resource defining the desired Transition
516             used when starting a new Activity to move shared elements prior to transferring
517             to the called Activity.
518             Corresponds to {@link android.view.Window#setSharedElementExitTransition(
519             android.transition.Transition)}. -->
520        <attr name="windowSharedElementExitTransition" format="reference"/>
521
522        <!-- Reference to a Transition XML resource defining the desired Transition
523             used for shared elements transferred back to a calling Activity.
524             Corresponds to {@link android.view.Window#setSharedElementReenterTransition(
525             android.transition.Transition)}. -->
526        <attr name="windowSharedElementReenterTransition" format="reference"/>
527
528        <!-- Flag indicating whether this Window's transition should overlap with
529             the exiting transition of the calling Activity. Corresponds to
530             {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. -->
531        <attr name="windowAllowEnterTransitionOverlap" format="boolean"/>
532
533        <!-- Flag indicating whether this Window's transition should overlap with
534             the exiting transition of the called Activity when the called Activity
535             finishes. Corresponds to
536             {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. -->
537        <attr name="windowAllowReturnTransitionOverlap" format="boolean"/>
538
539        <!-- Indicates whether or not shared elements should use an overlay
540             during transitions. The default value is true. -->
541        <attr name="windowSharedElementsUseOverlay" format="boolean"/>
542
543        <!-- Internal layout used internally for window decor -->
544        <attr name="windowActionBarFullscreenDecorLayout" format="reference" />
545
546        <!-- The duration, in milliseconds, of the window background fade duration
547             when transitioning into or away from an Activity when called with an
548             Activity Transition. Corresponds to
549             {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. -->
550        <attr name="windowTransitionBackgroundFadeDuration" format="integer"/>
551
552        <!-- ============ -->
553        <!-- Floating toolbar styles -->
554        <!-- ============ -->
555       <eat-comment />
556       <attr name="floatingToolbarCloseDrawable" format="reference" />
557       <attr name="floatingToolbarForegroundColor" format="reference|color" />
558       <attr name="floatingToolbarItemBackgroundBorderlessDrawable" format="reference" />
559       <attr name="floatingToolbarItemBackgroundDrawable" format="reference" />
560       <attr name="floatingToolbarOpenDrawable" format="reference" />
561       <attr name="floatingToolbarPopupBackgroundDrawable" format="reference" />
562
563        <!-- ============ -->
564        <!-- Alert Dialog styles -->
565        <!-- ============ -->
566        <eat-comment />
567        <attr name="alertDialogStyle" format="reference" />
568        <attr name="alertDialogButtonGroupStyle" format="reference" />
569        <attr name="alertDialogCenterButtons" format="boolean" />
570
571        <!-- ============== -->
572        <!-- Image elements -->
573        <!-- ============== -->
574        <eat-comment />
575i
576        <!-- Background that can be used behind parts of a UI that provide
577             details on data the user is selecting.  For example, this is
578             the background element of PreferenceActivity's embedded
579             preference fragment. -->
580        <attr name="detailsElementBackground" format="reference" />
581
582        <!-- Icon that should be used to indicate that an app is waiting for a fingerprint scan.
583             This should be used whenever an app is requesting the user to place a finger on the
584             fingerprint sensor. It can be combined with other drawables such as colored circles, so
585             the appearance matches the branding of the app requesting the fingerprint scan.-->
586        <attr name="fingerprintAuthDrawable" format="reference" />
587
588        <!-- ============ -->
589        <!-- Panel styles -->
590        <!-- ============ -->
591        <eat-comment />
592
593        <!-- The background of a panel when it is inset from the left and right edges of the screen. -->
594        <attr name="panelBackground" format="reference|color" />
595        <!-- The background of a panel when it extends to the left and right edges of the screen. -->
596        <attr name="panelFullBackground" format="reference|color" />
597        <!-- Default color of foreground panel imagery. -->
598        <attr name="panelColorForeground" format="reference|color" />
599        <!-- Color that matches (as closely as possible) the panel background. -->
600        <attr name="panelColorBackground" format="reference|color" />
601        <!-- Default appearance of panel text. -->
602        <attr name="panelTextAppearance" format="reference" />
603
604        <attr name="panelMenuIsCompact" format="boolean" />
605        <attr name="panelMenuListWidth" format="dimension" />
606        <attr name="panelMenuListTheme" format="reference" />
607
608        <!-- =================== -->
609        <!-- Other widget styles -->
610        <!-- =================== -->
611        <eat-comment />
612
613        <!-- Default AbsListView style. -->
614        <attr name="absListViewStyle" format="reference" />
615        <!-- Default AutoCompleteTextView style. -->
616        <attr name="autoCompleteTextViewStyle" format="reference" />
617        <!-- Default Checkbox style. -->
618        <attr name="checkboxStyle" format="reference" />
619        <!-- Default CheckedTextView style. -->
620        <attr name="checkedTextViewStyle" format="reference" />
621        <!-- Default ListView style for drop downs. -->
622        <attr name="dropDownListViewStyle" format="reference" />
623        <!-- Default EditText style. -->
624        <attr name="editTextStyle" format="reference" />
625        <!-- Default ExpandableListView style. -->
626        <attr name="expandableListViewStyle" format="reference" />
627        <!-- ExpandableListView with white background. -->
628        <attr name="expandableListViewWhiteStyle" format="reference" />
629        <!-- Default Gallery style. -->
630        <attr name="galleryStyle" format="reference" />
631        <!-- Default GestureOverlayView style. -->
632        <attr name="gestureOverlayViewStyle" format="reference" />
633        <!-- Default GridView style. -->
634        <attr name="gridViewStyle" format="reference" />
635        <!-- The style resource to use for an ImageButton. -->
636        <attr name="imageButtonStyle" format="reference" />
637        <!-- The style resource to use for an ImageButton that is an image well. -->
638        <attr name="imageWellStyle" format="reference" />
639        <!-- Default ListView style. -->
640        <attr name="listViewStyle" format="reference" />
641        <!-- ListView with white background. -->
642        <attr name="listViewWhiteStyle" format="reference" />
643        <!-- Default PopupWindow style. -->
644        <attr name="popupWindowStyle" format="reference" />
645        <!-- Default ProgressBar style. This is a medium circular progress bar. -->
646        <attr name="progressBarStyle" format="reference" />
647        <!-- Horizontal ProgressBar style. This is a horizontal progress bar. -->
648        <attr name="progressBarStyleHorizontal" format="reference" />
649        <!-- Small ProgressBar style. This is a small circular progress bar. -->
650        <attr name="progressBarStyleSmall" format="reference" />
651        <!-- Small ProgressBar in title style. This is a small circular progress bar that will be placed in title bars. -->
652        <attr name="progressBarStyleSmallTitle" format="reference" />
653        <!-- Large ProgressBar style. This is a large circular progress bar. -->
654        <attr name="progressBarStyleLarge" format="reference" />
655        <!-- Inverse ProgressBar style. This is a medium circular progress bar. -->
656        <attr name="progressBarStyleInverse" format="reference" />
657        <!-- Small inverse ProgressBar style. This is a small circular progress bar. -->
658        <attr name="progressBarStyleSmallInverse" format="reference" />
659        <!-- Large inverse ProgressBar style. This is a large circular progress bar. -->
660        <attr name="progressBarStyleLargeInverse" format="reference" />
661        <!-- Default SeekBar style. -->
662        <attr name="seekBarStyle" format="reference" />
663        <!-- Default RatingBar style. -->
664        <attr name="ratingBarStyle" format="reference" />
665        <!-- Indicator RatingBar style. -->
666        <attr name="ratingBarStyleIndicator" format="reference" />
667        <!-- Small indicator RatingBar style. -->
668        <attr name="ratingBarStyleSmall" format="reference" />
669        <!-- Default RadioButton style. -->
670        <attr name="radioButtonStyle" format="reference" />
671        <!-- Default ScrollView style. -->
672        <attr name="scrollViewStyle" format="reference" />
673        <!-- Default HorizontalScrollView style. -->
674        <attr name="horizontalScrollViewStyle" format="reference" />
675        <!-- Default Spinner style. -->
676        <attr name="spinnerStyle" format="reference" />
677        <!-- Default dropdown Spinner style. -->
678        <attr name="dropDownSpinnerStyle" format="reference" />
679        <!-- Default ActionBar dropdown style. -->
680        <attr name="actionDropDownStyle" format="reference" />
681        <!-- Default action button style. -->
682        <attr name="actionButtonStyle" format="reference" />
683        <!-- Default Star style. -->
684        <attr name="starStyle" format="reference" />
685        <!-- Default TabWidget style. -->
686        <attr name="tabWidgetStyle" format="reference" />
687        <!-- Default TextView style. -->
688        <attr name="textViewStyle" format="reference" />
689        <!-- Default WebTextView style. -->
690        <attr name="webTextViewStyle" format="reference" />
691        <!-- Default WebView style. -->
692        <attr name="webViewStyle" format="reference" />
693        <!-- Default style for drop down items. -->
694        <attr name="dropDownItemStyle" format="reference" />
695         <!-- Default style for spinner drop down items. -->
696        <attr name="spinnerDropDownItemStyle" format="reference" />
697        <!-- Default style for drop down hints. -->
698        <attr name="dropDownHintAppearance" format="reference" />
699        <!-- Default spinner item style. -->
700        <attr name="spinnerItemStyle" format="reference" />
701        <!-- Default MapView style. -->
702        <attr name="mapViewStyle" format="reference" />
703        <!-- Drawable used as an overlay on top of quickcontact photos. -->
704        <attr name="quickContactBadgeOverlay" format="reference" />
705        <!-- Default quickcontact badge style with small quickcontact window. -->
706        <attr name="quickContactBadgeStyleWindowSmall" format="reference" />
707        <!-- Default quickcontact badge style with medium quickcontact window. -->
708        <attr name="quickContactBadgeStyleWindowMedium" format="reference" />
709        <!-- Default quickcontact badge style with large quickcontact window. -->
710        <attr name="quickContactBadgeStyleWindowLarge" format="reference" />
711        <!-- Default quickcontact badge style with small quickcontact window. -->
712        <attr name="quickContactBadgeStyleSmallWindowSmall" format="reference" />
713        <!-- Default quickcontact badge style with medium quickcontact window. -->
714        <attr name="quickContactBadgeStyleSmallWindowMedium" format="reference" />
715        <!-- Default quickcontact badge style with large quickcontact window. -->
716        <attr name="quickContactBadgeStyleSmallWindowLarge" format="reference" />
717        <!-- Reference to a style that will be used for the window containing a text
718             selection anchor. -->
719        <attr name="textSelectHandleWindowStyle" format="reference" />
720        <!-- Reference to a style that will be used for the window containing a list of possible
721             text suggestions in an EditText. -->
722        <attr name="textSuggestionsWindowStyle" format="reference" />
723        <!-- Default ListPopupWindow style. -->
724        <attr name="listPopupWindowStyle" format="reference" />
725        <!-- Default PopupMenu style. -->
726        <attr name="popupMenuStyle" format="reference" />
727        <!-- Default StackView style. -->
728        <attr name="stackViewStyle" format="reference" />
729
730        <!-- Default style for the FragmentBreadCrumbs widget. This widget is deprecated
731             starting in API level 21 ({@link android.os.Build.VERSION_CODES#.L}). -->
732        <attr name="fragmentBreadCrumbsStyle" format="reference" />
733
734        <!-- NumberPicker style. -->
735        <attr name="numberPickerStyle" format="reference" />
736
737        <!-- The CalendarView style. -->
738        <attr name="calendarViewStyle" format="reference" />
739
740        <!-- The TimePicker style. -->
741        <attr name="timePickerStyle" format="reference" />
742
743        <!-- The TimePicker dialog theme. -->
744        <attr name="timePickerDialogTheme" format="reference" />
745
746        <!-- The DatePicker style. -->
747        <attr name="datePickerStyle" format="reference" />
748
749        <!-- The DatePicker dialog theme. -->
750        <attr name="datePickerDialogTheme" format="reference" />
751
752        <!-- Default ActivityChooserView style. -->
753        <attr name="activityChooserViewStyle" format="reference" />
754
755        <!-- Default Toolbar style. -->
756        <attr name="toolbarStyle" format="reference" />
757
758        <!-- Fast scroller styles -->
759        <eat-comment />
760
761        <!-- Drawable to use as the fast scroll thumb. -->
762        <attr name="fastScrollThumbDrawable" format="reference" />
763        <!-- Drawable to use as the fast scroll index preview window background
764             when shown on the right. -->
765        <attr name="fastScrollPreviewBackgroundRight" format="reference" />
766        <!-- Drawable to use as the fast scroll index preview window background
767             when shown on the left. -->
768        <attr name="fastScrollPreviewBackgroundLeft" format="reference" />
769        <!-- Drawable to use as the track for the fast scroll thumb.
770             This may be null. -->
771        <attr name="fastScrollTrackDrawable" format="reference" />
772        <!-- Position of the fast scroll index overlay window. -->
773        <attr name="fastScrollOverlayPosition">
774            <enum name="floating" value="0" />
775            <enum name="atThumb" value="1" />
776            <enum name="aboveThumb" value="2" />
777        </attr>
778        <!-- Text color for the fast scroll index overlay. Make sure it
779             plays nicely with fastScrollPreviewBackground[Left|Right]. -->
780        <attr name="fastScrollTextColor" format="color" />
781
782        <!-- =================== -->
783        <!-- Action bar styles   -->
784        <!-- =================== -->
785        <eat-comment />
786        <!-- Default style for tabs within an action bar -->
787        <attr name="actionBarTabStyle" format="reference" />
788        <attr name="actionBarTabBarStyle" format="reference" />
789        <attr name="actionBarTabTextStyle" format="reference" />
790        <attr name="actionOverflowButtonStyle" format="reference" />
791        <attr name="actionOverflowMenuStyle" format="reference" />
792        <!-- Reference to a theme that should be used to inflate popups
793             shown by widgets in the action bar. -->
794        <attr name="actionBarPopupTheme" format="reference" />
795        <!-- Reference to a style for the Action Bar -->
796        <attr name="actionBarStyle" format="reference" />
797        <!-- Reference to a style for the split Action Bar. This style
798             controls the split component that holds the menu/action
799             buttons. actionBarStyle is still used for the primary
800             bar. -->
801        <attr name="actionBarSplitStyle" format="reference" />
802        <!-- Reference to a theme that should be used to inflate the
803             action bar. This will be inherited by any widget inflated
804             into the action bar. -->
805        <attr name="actionBarTheme" format="reference" />
806        <!-- Reference to a theme that should be used to inflate widgets
807             and layouts destined for the action bar. Most of the time
808             this will be a reference to the current theme, but when
809             the action bar has a significantly different contrast
810             profile than the rest of the activity the difference
811             can become important. If this is set to @null the current
812             theme will be used.-->
813        <attr name="actionBarWidgetTheme" format="reference" />
814        <!-- Size of the Action Bar, including the contextual
815             bar used to present Action Modes. -->
816        <attr name="actionBarSize" format="dimension" >
817            <enum name="wrap_content" value="0" />
818        </attr>
819        <!-- Custom divider drawable to use for elements in the action bar. -->
820        <attr name="actionBarDivider" format="reference" />
821        <!-- Custom item state list drawable background for action bar items. -->
822        <attr name="actionBarItemBackground" format="reference" />
823        <!-- TextAppearance style that will be applied to text that
824             appears within action menu items. -->
825        <attr name="actionMenuTextAppearance" format="reference" />
826        <!-- Color for text that appears within action menu items. -->
827        <attr name="actionMenuTextColor" format="color|reference" />
828
829        <!-- =================== -->
830        <!-- Action mode styles  -->
831        <!-- =================== -->
832        <eat-comment />
833        <attr name="actionModeStyle" format="reference" />
834        <attr name="actionModeCloseButtonStyle" format="reference" />
835        <!-- Background drawable to use for action mode UI -->
836        <attr name="actionModeBackground" format="reference" />
837        <!-- Background drawable to use for action mode UI in the lower split bar -->
838        <attr name="actionModeSplitBackground" format="reference" />
839        <!-- Drawable to use for the close action mode button -->
840        <attr name="actionModeCloseDrawable" format="reference" />
841
842        <!-- Drawable to use for the Cut action button in Contextual Action Bar -->
843        <attr name="actionModeCutDrawable" format="reference" />
844        <!-- Drawable to use for the Copy action button in Contextual Action Bar -->
845        <attr name="actionModeCopyDrawable" format="reference" />
846        <!-- Drawable to use for the Paste action button in Contextual Action Bar -->
847        <attr name="actionModePasteDrawable" format="reference" />
848        <!-- Drawable to use for the Select all action button in Contextual Action Bar -->
849        <attr name="actionModeSelectAllDrawable" format="reference" />
850        <!-- Drawable to use for the Share action button in WebView selection action modes -->
851        <attr name="actionModeShareDrawable" format="reference" />
852        <!-- Drawable to use for the Find action button in WebView selection action modes -->
853        <attr name="actionModeFindDrawable" format="reference" />
854        <!-- Drawable to use for the Web Search action button in WebView selection action modes -->
855        <attr name="actionModeWebSearchDrawable" format="reference" />
856
857        <!-- PopupWindow style to use for action modes when showing as a window overlay. -->
858        <attr name="actionModePopupWindowStyle" format="reference" />
859
860        <!-- =================== -->
861        <!-- Preference styles   -->
862        <!-- =================== -->
863        <eat-comment />
864
865        <!-- Default style for PreferenceScreen. -->
866        <attr name="preferenceScreenStyle" format="reference" />
867        <!-- Default style for the PreferenceActivity. -->
868        <attr name="preferenceActivityStyle" format="reference" />
869        <!-- Default style for Headers pane in PreferenceActivity. -->
870        <attr name="preferenceFragmentStyle" format="reference" />
871        <!-- Default style for PreferenceCategory. -->
872        <attr name="preferenceCategoryStyle" format="reference" />
873        <!-- Default style for Preference. -->
874        <attr name="preferenceStyle" format="reference" />
875        <!-- Default style for informational Preference. -->
876        <attr name="preferenceInformationStyle" format="reference" />
877        <!-- Default style for CheckBoxPreference. -->
878        <attr name="checkBoxPreferenceStyle" format="reference" />
879        <!-- Default style for YesNoPreference. -->
880        <attr name="yesNoPreferenceStyle" format="reference" />
881        <!-- Default style for DialogPreference. -->
882        <attr name="dialogPreferenceStyle" format="reference" />
883        <!-- Default style for EditTextPreference. -->
884        <attr name="editTextPreferenceStyle" format="reference" />
885        <!-- @hide Default style for SeekBarDialogPreference. -->
886        <attr name="seekBarDialogPreferenceStyle" format="reference" />
887        <!-- Default style for RingtonePreference. -->
888        <attr name="ringtonePreferenceStyle" format="reference" />
889        <!-- The preference layout that has the child/tabbed effect. -->
890        <attr name="preferenceLayoutChild" format="reference" />
891        <!-- Preference panel style -->
892        <attr name="preferencePanelStyle" format="reference" />
893        <!-- Preference headers panel style -->
894        <attr name="preferenceHeaderPanelStyle" format="reference" />
895        <!-- Preference list style -->
896        <attr name="preferenceListStyle" format="reference" />
897        <!-- Preference fragment list style -->
898        <attr name="preferenceFragmentListStyle" format="reference" />
899        <!-- Preference fragment padding side -->
900        <attr name="preferenceFragmentPaddingSide" format="dimension" />
901        <!-- Default style for switch preferences. -->
902        <attr name="switchPreferenceStyle" format="reference" />
903        <!-- Default style for seekbar preferences. -->
904        <attr name="seekBarPreferenceStyle" format="reference" />
905
906        <!-- ============================ -->
907        <!-- Text selection handle styles -->
908        <!-- ============================ -->
909        <eat-comment />
910
911        <!-- Reference to a drawable that will be used to display a text selection
912             anchor on the left side of a selection region. -->
913        <attr name="textSelectHandleLeft" format="reference" />
914        <!-- Reference to a drawable that will be used to display a text selection
915             anchor on the right side of a selection region. -->
916        <attr name="textSelectHandleRight" format="reference" />
917        <!-- Reference to a drawable that will be used to display a text selection
918             anchor for positioning the cursor within text. -->
919        <attr name="textSelectHandle" format="reference" />
920        <!-- The layout of the view that is displayed on top of the cursor to paste inside a
921             TextEdit field. -->
922        <attr name="textEditPasteWindowLayout" format="reference" />
923        <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. -->
924        <attr name="textEditNoPasteWindowLayout" format="reference" />
925        <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the
926             insertion cursor because it would be clipped if it were positioned on top. -->
927        <attr name="textEditSidePasteWindowLayout" format="reference" />
928        <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. -->
929        <attr name="textEditSideNoPasteWindowLayout" format="reference" />
930
931        <!-- Layout of the TextView item that will populate the suggestion popup window. -->
932        <attr name="textEditSuggestionItemLayout" format="reference" />
933
934        <!-- Theme to use for dialogs spawned from this theme. -->
935        <attr name="dialogTheme" format="reference" />
936        <!-- Window decor layout to use in dialog mode with icons. -->
937        <attr name="dialogTitleIconsDecorLayout" format="reference" />
938        <!-- Window decor layout to use in dialog mode with custom titles. -->
939        <attr name="dialogCustomTitleDecorLayout" format="reference" />
940        <!-- Window decor layout to use in dialog mode with title only. -->
941        <attr name="dialogTitleDecorLayout" format="reference" />
942        <!-- Preferred padding for dialog content. -->
943        <attr name="dialogPreferredPadding" format="dimension" />
944
945        <!-- Theme to use for alert dialogs spawned from this theme. -->
946        <attr name="alertDialogTheme" format="reference" />
947        <!-- Icon drawable to use for alerts -->
948        <attr name="alertDialogIcon" format="reference" />
949
950        <!-- Theme to use for presentations spawned from this theme. -->
951        <attr name="presentationTheme" format="reference" />
952
953        <!-- Drawable to use for generic vertical dividers. -->
954        <attr name="dividerVertical" format="reference" />
955
956        <!-- Drawable to use for generic horizontal dividers. -->
957        <attr name="dividerHorizontal" format="reference" />
958
959        <!-- Style for button bars -->
960        <attr name="buttonBarStyle" format="reference" />
961
962        <!-- Style for buttons within button bars -->
963        <attr name="buttonBarButtonStyle" format="reference" />
964
965        <!-- Style for the "positive" buttons within button bars -->
966        <attr name="buttonBarPositiveButtonStyle" format="reference" />
967
968        <!-- Style for the "negative" buttons within button bars -->
969        <attr name="buttonBarNegativeButtonStyle" format="reference" />
970
971        <!-- Style for the "neutral" buttons within button bars -->
972        <attr name="buttonBarNeutralButtonStyle" format="reference" />
973
974        <!-- Style for the search query widget. -->
975        <attr name="searchViewStyle" format="reference" />
976
977        <!-- Style for segmented buttons - a container that houses several buttons
978             with the appearance of a singel button broken into segments. -->
979        <attr name="segmentedButtonStyle" format="reference" />
980
981        <!-- Background drawable for bordered standalone items that need focus/pressed states. -->
982        <attr name="selectableItemBackground" format="reference" />
983
984        <!-- Background drawable for borderless standalone items that need focus/pressed states. -->
985        <attr name="selectableItemBackgroundBorderless" format="reference" />
986
987        <!-- Style for buttons without an explicit border, often used in groups. -->
988        <attr name="borderlessButtonStyle" format="reference" />
989
990        <!-- Background to use for toasts -->
991        <attr name="toastFrameBackground" format="reference" />
992
993        <!-- Theme to use for Search Dialogs -->
994        <attr name="searchDialogTheme" format="reference" />
995
996        <!-- Specifies a drawable to use for the 'home as up' indicator. -->
997        <attr name="homeAsUpIndicator" format="reference" />
998
999        <!-- Preference frame layout styles. -->
1000        <attr name="preferenceFrameLayoutStyle" format="reference" />
1001
1002        <!-- Default style for the Switch widget. -->
1003        <attr name="switchStyle" format="reference" />
1004
1005        <!-- Default style for the MediaRouteButton widget. -->
1006        <attr name="mediaRouteButtonStyle" format="reference" />
1007
1008        <!-- ============== -->
1009        <!-- Pointer styles -->
1010        <!-- ============== -->
1011        <eat-comment />
1012
1013        <!-- Reference to the Pointer style -->
1014        <attr name="pointerStyle" format="reference" />
1015
1016        <!-- The drawable for accessibility focused views. -->
1017        <attr name="accessibilityFocusedDrawable" format="reference" />
1018
1019        <!-- Drawable for WebView find-on-page dialogue's "next" button. @hide -->
1020        <attr name="findOnPageNextDrawable" format="reference" />
1021
1022        <!-- Drawable for WebView find-on-page dialogue's "previous" button. @hide -->
1023        <attr name="findOnPagePreviousDrawable" format="reference" />
1024
1025        <!-- ============= -->
1026        <!-- Color palette -->
1027        <!-- ============= -->
1028        <eat-comment />
1029
1030        <!-- The primary branding color for the app. By default, this is the color applied to the
1031             action bar background. -->
1032        <attr name="colorPrimary" format="color" />
1033
1034        <!-- Dark variant of the primary branding color. By default, this is the color applied to
1035             the status bar (via statusBarColor) and navigation bar (via navigationBarColor). -->
1036        <attr name="colorPrimaryDark" format="color" />
1037
1038        <!-- Bright complement to the primary branding color. By default, this is the color applied
1039             to framework controls (via colorControlActivated). -->
1040        <attr name="colorAccent" format="color" />
1041
1042        <!-- The color applied to framework controls in their normal state. -->
1043        <attr name="colorControlNormal" format="color" />
1044
1045        <!-- The color applied to framework controls in their activated (ex. checked) state. -->
1046        <attr name="colorControlActivated" format="color" />
1047
1048        <!-- The color applied to framework control highlights (ex. ripples, list selectors). -->
1049        <attr name="colorControlHighlight" format="color" />
1050
1051        <!-- The color applied to framework buttons in their normal state. -->
1052        <attr name="colorButtonNormal" format="color" />
1053
1054        <!-- The color applied to framework switch thumbs in their normal state. -->
1055        <attr name="colorSwitchThumbNormal" format="color" />
1056
1057        <!-- The color applied to the edge effect on scrolling containers. -->
1058        <attr name="colorEdgeEffect" format="color" />
1059
1060        <!-- =================== -->
1061        <!-- Lighting properties -->
1062        <!-- =================== -->
1063        <eat-comment />
1064
1065        <!-- @hide The default Y position of the light used to project view shadows. -->
1066        <attr name="lightY" format="dimension" />
1067
1068        <!-- @hide The default Z position of the light used to project view shadows. -->
1069        <attr name="lightZ" format="dimension" />
1070
1071        <!-- @hide The default radius of the light used to project view shadows. -->
1072        <attr name="lightRadius" format="dimension" />
1073
1074        <!-- Alpha value of the ambient shadow projected by elevated views, between 0 and 1. -->
1075        <attr name="ambientShadowAlpha" format="float" />
1076
1077        <!-- Alpha value of the spot shadow projected by elevated views, between 0 and 1. -->
1078        <attr name="spotShadowAlpha" format="float" />
1079    </declare-styleable>
1080
1081    <!-- **************************************************************** -->
1082    <!-- Other non-theme attributes. -->
1083    <!-- **************************************************************** -->
1084    <eat-comment />
1085
1086    <!-- Size of text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp).
1087         Supported values include the following:<p/>
1088    <ul>
1089        <li><b>px</b> Pixels</li>
1090        <li><b>sp</b> Scaled pixels (scaled to relative pixel size on screen). See {@link android.util.DisplayMetrics} for more information.</li>
1091        <li><b>pt</b> Points</li>
1092        <li><b>dip</b> Device independent pixels. See {@link android.util.DisplayMetrics} for more information.</li>
1093    </ul>
1094        -->
1095    <attr name="textSize" format="dimension" />
1096
1097    <!-- Default font family. -->
1098    <attr name="fontFamily" format="string" />
1099
1100    <!-- Default text typeface. -->
1101    <attr name="typeface">
1102        <enum name="normal" value="0" />
1103        <enum name="sans" value="1" />
1104        <enum name="serif" value="2" />
1105        <enum name="monospace" value="3" />
1106    </attr>
1107
1108    <!-- Default text typeface style. -->
1109    <attr name="textStyle">
1110        <flag name="normal" value="0" />
1111        <flag name="bold" value="1" />
1112        <flag name="italic" value="2" />
1113    </attr>
1114
1115    <!-- Color of text (usually same as colorForeground). -->
1116    <attr name="textColor" format="reference|color" />
1117
1118    <!-- Color of highlighted text. -->
1119    <attr name="textColorHighlight" format="reference|color" />
1120
1121    <!-- Color of hint text (displayed when the field is empty). -->
1122    <attr name="textColorHint" format="reference|color" />
1123
1124    <!-- Color of link text (URLs). -->
1125    <attr name="textColorLink" format="reference|color" />
1126
1127    <!-- Reference to a drawable that will be drawn under the insertion cursor. -->
1128    <attr name="textCursorDrawable" format="reference" />
1129
1130    <!-- Indicates that the content of a non-editable TextView can be selected.
1131     Default value is false. EditText content is always selectable. -->
1132    <attr name="textIsSelectable" format="boolean" />
1133
1134    <!-- Where to ellipsize text. -->
1135    <attr name="ellipsize">
1136        <enum name="none" value="0" />
1137        <enum name="start" value="1" />
1138        <enum name="middle" value="2" />
1139        <enum name="end" value="3" />
1140        <enum name="marquee" value="4" />
1141    </attr>
1142
1143    <!-- The type of data being placed in a text field, used to help an
1144         input method decide how to let the user enter text.  The constants
1145         here correspond to those defined by
1146         {@link android.text.InputType}.  Generally you can select
1147         a single value, though some can be combined together as
1148         indicated.  Setting this attribute to anything besides
1149         <var>none</var> also implies that the text is editable. -->
1150    <attr name="inputType">
1151        <!-- There is no content type.  The text is not editable. -->
1152        <flag name="none" value="0x00000000" />
1153        <!-- Just plain old text.  Corresponds to
1154             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1155             {@link android.text.InputType#TYPE_TEXT_VARIATION_NORMAL}. -->
1156        <flag name="text" value="0x00000001" />
1157        <!-- Can be combined with <var>text</var> and its variations to
1158             request capitalization of all characters.  Corresponds to
1159             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_CHARACTERS}. -->
1160        <flag name="textCapCharacters" value="0x00001001" />
1161        <!-- Can be combined with <var>text</var> and its variations to
1162             request capitalization of the first character of every word.  Corresponds to
1163             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_WORDS}. -->
1164        <flag name="textCapWords" value="0x00002001" />
1165        <!-- Can be combined with <var>text</var> and its variations to
1166             request capitalization of the first character of every sentence.  Corresponds to
1167             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_SENTENCES}. -->
1168        <flag name="textCapSentences" value="0x00004001" />
1169        <!-- Can be combined with <var>text</var> and its variations to
1170             request auto-correction of text being input.  Corresponds to
1171             {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_CORRECT}. -->
1172        <flag name="textAutoCorrect" value="0x00008001" />
1173        <!-- Can be combined with <var>text</var> and its variations to
1174             specify that this field will be doing its own auto-completion and
1175             talking with the input method appropriately.  Corresponds to
1176             {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_COMPLETE}. -->
1177        <flag name="textAutoComplete" value="0x00010001" />
1178        <!-- Can be combined with <var>text</var> and its variations to
1179             allow multiple lines of text in the field.  If this flag is not set,
1180             the text field will be constrained to a single line.  Corresponds to
1181             {@link android.text.InputType#TYPE_TEXT_FLAG_MULTI_LINE}. -->
1182        <flag name="textMultiLine" value="0x00020001" />
1183        <!-- Can be combined with <var>text</var> and its variations to
1184             indicate that though the regular text view should not be multiple
1185             lines, the IME should provide multiple lines if it can.  Corresponds to
1186             {@link android.text.InputType#TYPE_TEXT_FLAG_IME_MULTI_LINE}. -->
1187        <flag name="textImeMultiLine" value="0x00040001" />
1188        <!-- Can be combined with <var>text</var> and its variations to
1189             indicate that the IME should not show any
1190             dictionary-based word suggestions.  Corresponds to
1191             {@link android.text.InputType#TYPE_TEXT_FLAG_NO_SUGGESTIONS}. -->
1192        <flag name="textNoSuggestions" value="0x00080001" />
1193        <!-- Text that will be used as a URI.  Corresponds to
1194             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1195             {@link android.text.InputType#TYPE_TEXT_VARIATION_URI}. -->
1196        <flag name="textUri" value="0x00000011" />
1197        <!-- Text that will be used as an e-mail address.  Corresponds to
1198             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1199             {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_ADDRESS}. -->
1200        <flag name="textEmailAddress" value="0x00000021" />
1201        <!-- Text that is being supplied as the subject of an e-mail.  Corresponds to
1202             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1203             {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_SUBJECT}. -->
1204        <flag name="textEmailSubject" value="0x00000031" />
1205        <!-- Text that is the content of a short message.  Corresponds to
1206             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1207             {@link android.text.InputType#TYPE_TEXT_VARIATION_SHORT_MESSAGE}. -->
1208        <flag name="textShortMessage" value="0x00000041" />
1209        <!-- Text that is the content of a long message.  Corresponds to
1210             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1211             {@link android.text.InputType#TYPE_TEXT_VARIATION_LONG_MESSAGE}. -->
1212        <flag name="textLongMessage" value="0x00000051" />
1213        <!-- Text that is the name of a person.  Corresponds to
1214             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1215             {@link android.text.InputType#TYPE_TEXT_VARIATION_PERSON_NAME}. -->
1216        <flag name="textPersonName" value="0x00000061" />
1217        <!-- Text that is being supplied as a postal mailing address.  Corresponds to
1218             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1219             {@link android.text.InputType#TYPE_TEXT_VARIATION_POSTAL_ADDRESS}. -->
1220        <flag name="textPostalAddress" value="0x00000071" />
1221        <!-- Text that is a password.  Corresponds to
1222             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1223             {@link android.text.InputType#TYPE_TEXT_VARIATION_PASSWORD}. -->
1224        <flag name="textPassword" value="0x00000081" />
1225        <!-- Text that is a password that should be visible.  Corresponds to
1226             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1227             {@link android.text.InputType#TYPE_TEXT_VARIATION_VISIBLE_PASSWORD}. -->
1228        <flag name="textVisiblePassword" value="0x00000091" />
1229        <!-- Text that is being supplied as text in a web form.  Corresponds to
1230             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1231             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EDIT_TEXT}. -->
1232        <flag name="textWebEditText" value="0x000000a1" />
1233        <!-- Text that is filtering some other data.  Corresponds to
1234             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1235             {@link android.text.InputType#TYPE_TEXT_VARIATION_FILTER}. -->
1236        <flag name="textFilter" value="0x000000b1" />
1237        <!-- Text that is for phonetic pronunciation, such as a phonetic name
1238             field in a contact entry.  Corresponds to
1239             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1240             {@link android.text.InputType#TYPE_TEXT_VARIATION_PHONETIC}. -->
1241        <flag name="textPhonetic" value="0x000000c1" />
1242        <!-- Text that will be used as an e-mail address on a web form.  Corresponds to
1243             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1244             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS}. -->
1245        <flag name="textWebEmailAddress" value="0x000000d1" />
1246        <!-- Text that will be used as a password on a web form.  Corresponds to
1247             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1248             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_PASSWORD}. -->
1249        <flag name="textWebPassword" value="0x000000e1" />
1250        <!-- A numeric only field.  Corresponds to
1251             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1252             {@link android.text.InputType#TYPE_NUMBER_VARIATION_NORMAL}. -->
1253        <flag name="number" value="0x00000002" />
1254        <!-- Can be combined with <var>number</var> and its other options to
1255             allow a signed number.  Corresponds to
1256             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1257             {@link android.text.InputType#TYPE_NUMBER_FLAG_SIGNED}. -->
1258        <flag name="numberSigned" value="0x00001002" />
1259        <!-- Can be combined with <var>number</var> and its other options to
1260             allow a decimal (fractional) number.  Corresponds to
1261             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1262             {@link android.text.InputType#TYPE_NUMBER_FLAG_DECIMAL}. -->
1263        <flag name="numberDecimal" value="0x00002002" />
1264        <!-- A numeric password field.  Corresponds to
1265             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1266             {@link android.text.InputType#TYPE_NUMBER_VARIATION_PASSWORD}. -->
1267        <flag name="numberPassword" value="0x00000012" />
1268        <!-- For entering a phone number.  Corresponds to
1269             {@link android.text.InputType#TYPE_CLASS_PHONE}. -->
1270        <flag name="phone" value="0x00000003" />
1271        <!-- For entering a date and time.  Corresponds to
1272             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1273             {@link android.text.InputType#TYPE_DATETIME_VARIATION_NORMAL}. -->
1274        <flag name="datetime" value="0x00000004" />
1275        <!-- For entering a date.  Corresponds to
1276             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1277             {@link android.text.InputType#TYPE_DATETIME_VARIATION_DATE}. -->
1278        <flag name="date" value="0x00000014" />
1279        <!-- For entering a time.  Corresponds to
1280             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1281             {@link android.text.InputType#TYPE_DATETIME_VARIATION_TIME}. -->
1282        <flag name="time" value="0x00000024" />
1283    </attr>
1284
1285    <!-- Additional features you can enable in an IME associated with an editor
1286         to improve the integration with your application.  The constants
1287         here correspond to those defined by
1288         {@link android.view.inputmethod.EditorInfo#imeOptions}. -->
1289    <attr name="imeOptions">
1290        <!-- There are no special semantics associated with this editor. -->
1291        <flag name="normal" value="0x00000000" />
1292        <!-- There is no specific action associated with this editor, let the
1293             editor come up with its own if it can.
1294             Corresponds to
1295             {@link android.view.inputmethod.EditorInfo#IME_NULL}. -->
1296        <flag name="actionUnspecified" value="0x00000000" />
1297        <!-- This editor has no action associated with it.
1298             Corresponds to
1299             {@link android.view.inputmethod.EditorInfo#IME_ACTION_NONE}. -->
1300        <flag name="actionNone" value="0x00000001" />
1301        <!-- The action key performs a "go"
1302             operation to take the user to the target of the text they typed.
1303             Typically used, for example, when entering a URL.
1304             Corresponds to
1305             {@link android.view.inputmethod.EditorInfo#IME_ACTION_GO}. -->
1306        <flag name="actionGo" value="0x00000002" />
1307        <!-- The action key performs a "search"
1308             operation, taking the user to the results of searching for the text
1309             the have typed (in whatever context is appropriate).
1310             Corresponds to
1311             {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEARCH}. -->
1312        <flag name="actionSearch" value="0x00000003" />
1313        <!-- The action key performs a "send"
1314             operation, delivering the text to its target.  This is typically used
1315             when composing a message.
1316             Corresponds to
1317             {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEND}. -->
1318        <flag name="actionSend" value="0x00000004" />
1319        <!-- The action key performs a "next"
1320             operation, taking the user to the next field that will accept text.
1321             Corresponds to
1322             {@link android.view.inputmethod.EditorInfo#IME_ACTION_NEXT}. -->
1323        <flag name="actionNext" value="0x00000005" />
1324        <!-- The action key performs a "done"
1325             operation, closing the soft input method.
1326             Corresponds to
1327             {@link android.view.inputmethod.EditorInfo#IME_ACTION_DONE}. -->
1328        <flag name="actionDone" value="0x00000006" />
1329        <!-- The action key performs a "previous"
1330             operation, taking the user to the previous field that will accept text.
1331             Corresponds to
1332             {@link android.view.inputmethod.EditorInfo#IME_ACTION_PREVIOUS}. -->
1333        <flag name="actionPrevious" value="0x00000007" />
1334        <!-- Used to request that the IME never go
1335             into fullscreen mode.  Applications need to be aware that the flag is not
1336             a guarantee, and not all IMEs will respect it.
1337             <p>Corresponds to
1338             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. -->
1339        <flag name="flagNoFullscreen" value="0x2000000" />
1340        <!-- Like flagNavigateNext, but
1341             specifies there is something interesting that a backward navigation
1342             can focus on.  If the user selects the IME's facility to backward
1343             navigate, this will show up in the application as an actionPrevious
1344             at {@link android.view.inputmethod.InputConnection#performEditorAction(int)
1345             InputConnection.performEditorAction(int)}.
1346             <p>Corresponds to
1347             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. -->
1348        <flag name="flagNavigatePrevious" value="0x4000000" />
1349        <!-- Used to specify that there is something
1350             interesting that a forward navigation can focus on. This is like using
1351             actionNext, except allows the IME to be multiline (with
1352             an enter key) as well as provide forward navigation.  Note that some
1353             IMEs may not be able to do this, especially when running on a small
1354             screen where there is little space.  In that case it does not need to
1355             present a UI for this option.  Like actionNext, if the
1356             user selects the IME's facility to forward navigate, this will show up
1357             in the application at
1358             {@link android.view.inputmethod.InputConnection#performEditorAction(int)
1359             InputConnection.performEditorAction(int)}.
1360             <p>Corresponds to
1361             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NAVIGATE_NEXT}. -->
1362        <flag name="flagNavigateNext" value="0x8000000" />
1363        <!-- Used to specify that the IME does not need
1364             to show its extracted text UI.  For input methods that may be fullscreen,
1365             often when in landscape mode, this allows them to be smaller and let part
1366             of the application be shown behind.  Though there will likely be limited
1367             access to the application available from the user, it can make the
1368             experience of a (mostly) fullscreen IME less jarring.  Note that when
1369             this flag is specified the IME may <em>not</em> be set up to be able
1370             to display text, so it should only be used in situations where this is
1371             not needed.
1372             <p>Corresponds to
1373             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_EXTRACT_UI}. -->
1374        <flag name="flagNoExtractUi" value="0x10000000" />
1375        <!-- Used in conjunction with a custom action, this indicates that the
1376             action should not be available as an accessory button when the
1377             input method is full-screen.
1378             Note that by setting this flag, there can be cases where the action
1379             is simply never available to the user.  Setting this generally means
1380             that you think showing text being edited is more important than the
1381             action you have supplied.
1382             <p>Corresponds to
1383             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ACCESSORY_ACTION}. -->
1384        <flag name="flagNoAccessoryAction" value="0x20000000" />
1385        <!-- Used in conjunction with a custom action,
1386             this indicates that the action should not be available in-line as
1387             a replacement for the "enter" key.  Typically this is
1388             because the action has such a significant impact or is not recoverable
1389             enough that accidentally hitting it should be avoided, such as sending
1390             a message.    Note that {@link android.widget.TextView} will
1391             automatically set this flag for you on multi-line text views.
1392             <p>Corresponds to
1393             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ENTER_ACTION}. -->
1394        <flag name="flagNoEnterAction" value="0x40000000" />
1395        <!-- Used to request that the IME should be capable of inputting ASCII
1396             characters.  The intention of this flag is to ensure that the user
1397             can type Roman alphabet characters in a {@link android.widget.TextView}
1398             used for, typically, account ID or password input.  It is expected that IMEs
1399             normally are able to input ASCII even without being told so (such IMEs
1400             already respect this flag in a sense), but there could be some cases they
1401             aren't when, for instance, only non-ASCII input languagaes like Arabic,
1402             Greek, Hebrew, Russian are enabled in the IME.  Applications need to be
1403             aware that the flag is not a guarantee, and not all IMEs will respect it.
1404             However, it is strongly recommended for IME authors to respect this flag
1405             especially when their IME could end up with a state that has only non-ASCII
1406             input languages enabled.
1407             <p>Corresponds to
1408             {@link android.view.inputmethod.EditorInfo#IME_FLAG_FORCE_ASCII}. -->
1409        <flag name="flagForceAscii" value="0x80000000" />
1410    </attr>
1411
1412    <!-- A coordinate in the X dimension. -->
1413    <attr name="x" format="dimension" />
1414    <!-- A coordinate in the Y dimension. -->
1415    <attr name="y" format="dimension" />
1416
1417    <!-- Specifies how an object should position its content, on both the X and Y axes,
1418         within its own bounds.  -->
1419    <attr name="gravity">
1420        <!-- Push object to the top of its container, not changing its size. -->
1421        <flag name="top" value="0x30" />
1422        <!-- Push object to the bottom of its container, not changing its size. -->
1423        <flag name="bottom" value="0x50" />
1424        <!-- Push object to the left of its container, not changing its size. -->
1425        <flag name="left" value="0x03" />
1426        <!-- Push object to the right of its container, not changing its size. -->
1427        <flag name="right" value="0x05" />
1428        <!-- Place object in the vertical center of its container, not changing its size. -->
1429        <flag name="center_vertical" value="0x10" />
1430        <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
1431        <flag name="fill_vertical" value="0x70" />
1432        <!-- Place object in the horizontal center of its container, not changing its size. -->
1433        <flag name="center_horizontal" value="0x01" />
1434        <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
1435        <flag name="fill_horizontal" value="0x07" />
1436        <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
1437        <flag name="center" value="0x11" />
1438        <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
1439        <flag name="fill" value="0x77" />
1440        <!-- Additional option that can be set to have the top and/or bottom edges of
1441             the child clipped to its container's bounds.
1442             The clip will be based on the vertical gravity: a top gravity will clip the bottom
1443             edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
1444        <flag name="clip_vertical" value="0x80" />
1445        <!-- Additional option that can be set to have the left and/or right edges of
1446             the child clipped to its container's bounds.
1447             The clip will be based on the horizontal gravity: a left gravity will clip the right
1448             edge, a right gravity will clip the left edge, and neither will clip both edges. -->
1449        <flag name="clip_horizontal" value="0x08" />
1450        <!-- Push object to the beginning of its container, not changing its size. -->
1451        <flag name="start" value="0x00800003" />
1452        <!-- Push object to the end of its container, not changing its size. -->
1453        <flag name="end" value="0x00800005" />
1454    </attr>
1455
1456    <!-- Controls whether links such as urls and email addresses are
1457         automatically found and converted to clickable links.  The default
1458         value is "none", disabling this feature. -->
1459    <attr name="autoLink">
1460        <!-- Match no patterns (default). -->
1461        <flag name="none" value="0x00" />
1462        <!-- Match Web URLs. -->
1463        <flag name="web" value="0x01" />
1464        <!-- Match email addresses. -->
1465        <flag name="email" value="0x02" />
1466        <!-- Match phone numbers. -->
1467        <flag name="phone" value="0x04" />
1468        <!-- Match map addresses. -->
1469        <flag name="map" value="0x08" />
1470        <!-- Match all patterns (equivalent to web|email|phone|map). -->
1471        <flag name="all" value="0x0f" />
1472    </attr>
1473
1474    <!-- Reference to an array resource that will populate a list/adapter. -->
1475    <attr name="entries" format="reference" />
1476
1477    <!-- Standard gravity constant that a child supplies to its parent.
1478         Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout. -->
1479    <attr name="layout_gravity">
1480        <!-- Push object to the top of its container, not changing its size. -->
1481        <flag name="top" value="0x30" />
1482        <!-- Push object to the bottom of its container, not changing its size. -->
1483        <flag name="bottom" value="0x50" />
1484        <!-- Push object to the left of its container, not changing its size. -->
1485        <flag name="left" value="0x03" />
1486        <!-- Push object to the right of its container, not changing its size. -->
1487        <flag name="right" value="0x05" />
1488        <!-- Place object in the vertical center of its container, not changing its size. -->
1489        <flag name="center_vertical" value="0x10" />
1490        <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
1491        <flag name="fill_vertical" value="0x70" />
1492        <!-- Place object in the horizontal center of its container, not changing its size. -->
1493        <flag name="center_horizontal" value="0x01" />
1494        <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
1495        <flag name="fill_horizontal" value="0x07" />
1496        <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
1497        <flag name="center" value="0x11" />
1498        <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
1499        <flag name="fill" value="0x77" />
1500        <!-- Additional option that can be set to have the top and/or bottom edges of
1501             the child clipped to its container's bounds.
1502             The clip will be based on the vertical gravity: a top gravity will clip the bottom
1503             edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
1504        <flag name="clip_vertical" value="0x80" />
1505        <!-- Additional option that can be set to have the left and/or right edges of
1506             the child clipped to its container's bounds.
1507             The clip will be based on the horizontal gravity: a left gravity will clip the right
1508             edge, a right gravity will clip the left edge, and neither will clip both edges. -->
1509        <flag name="clip_horizontal" value="0x08" />
1510        <!-- Push object to the beginning of its container, not changing its size. -->
1511        <flag name="start" value="0x00800003" />
1512        <!-- Push object to the end of its container, not changing its size. -->
1513        <flag name="end" value="0x00800005" />
1514    </attr>
1515
1516    <!-- Standard orientation constant. -->
1517    <attr name="orientation">
1518        <!-- Defines an horizontal widget. -->
1519        <enum name="horizontal" value="0" />
1520        <!-- Defines a vertical widget. -->
1521        <enum name="vertical" value="1" />
1522    </attr>
1523
1524    <!-- Alignment constants. -->
1525    <attr name="alignmentMode">
1526        <!-- Align the bounds of the children.
1527        See {@link android.widget.GridLayout#ALIGN_BOUNDS}. -->
1528        <enum name="alignBounds" value="0" />
1529        <!-- Align the margins of the children.
1530        See {@link android.widget.GridLayout#ALIGN_MARGINS}. -->
1531        <enum name="alignMargins" value="1" />
1532    </attr>
1533
1534    <!-- ========================== -->
1535    <!-- Key Codes                  -->
1536    <!-- ========================== -->
1537    <eat-comment />
1538
1539    <!-- This enum provides the same keycode values as can be found in
1540        {@link android.view.KeyEvent}. -->
1541    <attr name="keycode">
1542        <enum name="KEYCODE_UNKNOWN" value="0" />
1543        <enum name="KEYCODE_SOFT_LEFT" value="1" />
1544        <enum name="KEYCODE_SOFT_RIGHT" value="2" />
1545        <enum name="KEYCODE_HOME" value="3" />
1546        <enum name="KEYCODE_BACK" value="4" />
1547        <enum name="KEYCODE_CALL" value="5" />
1548        <enum name="KEYCODE_ENDCALL" value="6" />
1549        <enum name="KEYCODE_0" value="7" />
1550        <enum name="KEYCODE_1" value="8" />
1551        <enum name="KEYCODE_2" value="9" />
1552        <enum name="KEYCODE_3" value="10" />
1553        <enum name="KEYCODE_4" value="11" />
1554        <enum name="KEYCODE_5" value="12" />
1555        <enum name="KEYCODE_6" value="13" />
1556        <enum name="KEYCODE_7" value="14" />
1557        <enum name="KEYCODE_8" value="15" />
1558        <enum name="KEYCODE_9" value="16" />
1559        <enum name="KEYCODE_STAR" value="17" />
1560        <enum name="KEYCODE_POUND" value="18" />
1561        <enum name="KEYCODE_DPAD_UP" value="19" />
1562        <enum name="KEYCODE_DPAD_DOWN" value="20" />
1563        <enum name="KEYCODE_DPAD_LEFT" value="21" />
1564        <enum name="KEYCODE_DPAD_RIGHT" value="22" />
1565        <enum name="KEYCODE_DPAD_CENTER" value="23" />
1566        <enum name="KEYCODE_VOLUME_UP" value="24" />
1567        <enum name="KEYCODE_VOLUME_DOWN" value="25" />
1568        <enum name="KEYCODE_POWER" value="26" />
1569        <enum name="KEYCODE_CAMERA" value="27" />
1570        <enum name="KEYCODE_CLEAR" value="28" />
1571        <enum name="KEYCODE_A" value="29" />
1572        <enum name="KEYCODE_B" value="30" />
1573        <enum name="KEYCODE_C" value="31" />
1574        <enum name="KEYCODE_D" value="32" />
1575        <enum name="KEYCODE_E" value="33" />
1576        <enum name="KEYCODE_F" value="34" />
1577        <enum name="KEYCODE_G" value="35" />
1578        <enum name="KEYCODE_H" value="36" />
1579        <enum name="KEYCODE_I" value="37" />
1580        <enum name="KEYCODE_J" value="38" />
1581        <enum name="KEYCODE_K" value="39" />
1582        <enum name="KEYCODE_L" value="40" />
1583        <enum name="KEYCODE_M" value="41" />
1584        <enum name="KEYCODE_N" value="42" />
1585        <enum name="KEYCODE_O" value="43" />
1586        <enum name="KEYCODE_P" value="44" />
1587        <enum name="KEYCODE_Q" value="45" />
1588        <enum name="KEYCODE_R" value="46" />
1589        <enum name="KEYCODE_S" value="47" />
1590        <enum name="KEYCODE_T" value="48" />
1591        <enum name="KEYCODE_U" value="49" />
1592        <enum name="KEYCODE_V" value="50" />
1593        <enum name="KEYCODE_W" value="51" />
1594        <enum name="KEYCODE_X" value="52" />
1595        <enum name="KEYCODE_Y" value="53" />
1596        <enum name="KEYCODE_Z" value="54" />
1597        <enum name="KEYCODE_COMMA" value="55" />
1598        <enum name="KEYCODE_PERIOD" value="56" />
1599        <enum name="KEYCODE_ALT_LEFT" value="57" />
1600        <enum name="KEYCODE_ALT_RIGHT" value="58" />
1601        <enum name="KEYCODE_SHIFT_LEFT" value="59" />
1602        <enum name="KEYCODE_SHIFT_RIGHT" value="60" />
1603        <enum name="KEYCODE_TAB" value="61" />
1604        <enum name="KEYCODE_SPACE" value="62" />
1605        <enum name="KEYCODE_SYM" value="63" />
1606        <enum name="KEYCODE_EXPLORER" value="64" />
1607        <enum name="KEYCODE_ENVELOPE" value="65" />
1608        <enum name="KEYCODE_ENTER" value="66" />
1609        <enum name="KEYCODE_DEL" value="67" />
1610        <enum name="KEYCODE_GRAVE" value="68" />
1611        <enum name="KEYCODE_MINUS" value="69" />
1612        <enum name="KEYCODE_EQUALS" value="70" />
1613        <enum name="KEYCODE_LEFT_BRACKET" value="71" />
1614        <enum name="KEYCODE_RIGHT_BRACKET" value="72" />
1615        <enum name="KEYCODE_BACKSLASH" value="73" />
1616        <enum name="KEYCODE_SEMICOLON" value="74" />
1617        <enum name="KEYCODE_APOSTROPHE" value="75" />
1618        <enum name="KEYCODE_SLASH" value="76" />
1619        <enum name="KEYCODE_AT" value="77" />
1620        <enum name="KEYCODE_NUM" value="78" />
1621        <enum name="KEYCODE_HEADSETHOOK" value="79" />
1622        <enum name="KEYCODE_FOCUS" value="80" />
1623        <enum name="KEYCODE_PLUS" value="81" />
1624        <enum name="KEYCODE_MENU" value="82" />
1625        <enum name="KEYCODE_NOTIFICATION" value="83" />
1626        <enum name="KEYCODE_SEARCH" value="84" />
1627        <enum name="KEYCODE_MEDIA_PLAY_PAUSE" value="85" />
1628        <enum name="KEYCODE_MEDIA_STOP" value="86" />
1629        <enum name="KEYCODE_MEDIA_NEXT" value="87" />
1630        <enum name="KEYCODE_MEDIA_PREVIOUS" value="88" />
1631        <enum name="KEYCODE_MEDIA_REWIND" value="89" />
1632        <enum name="KEYCODE_MEDIA_FAST_FORWARD" value="90" />
1633        <enum name="KEYCODE_MUTE" value="91" />
1634        <enum name="KEYCODE_PAGE_UP" value="92" />
1635        <enum name="KEYCODE_PAGE_DOWN" value="93" />
1636        <enum name="KEYCODE_PICTSYMBOLS" value="94" />
1637        <enum name="KEYCODE_SWITCH_CHARSET" value="95" />
1638        <enum name="KEYCODE_BUTTON_A" value="96" />
1639        <enum name="KEYCODE_BUTTON_B" value="97" />
1640        <enum name="KEYCODE_BUTTON_C" value="98" />
1641        <enum name="KEYCODE_BUTTON_X" value="99" />
1642        <enum name="KEYCODE_BUTTON_Y" value="100" />
1643        <enum name="KEYCODE_BUTTON_Z" value="101" />
1644        <enum name="KEYCODE_BUTTON_L1" value="102" />
1645        <enum name="KEYCODE_BUTTON_R1" value="103" />
1646        <enum name="KEYCODE_BUTTON_L2" value="104" />
1647        <enum name="KEYCODE_BUTTON_R2" value="105" />
1648        <enum name="KEYCODE_BUTTON_THUMBL" value="106" />
1649        <enum name="KEYCODE_BUTTON_THUMBR" value="107" />
1650        <enum name="KEYCODE_BUTTON_START" value="108" />
1651        <enum name="KEYCODE_BUTTON_SELECT" value="109" />
1652        <enum name="KEYCODE_BUTTON_MODE" value="110" />
1653        <enum name="KEYCODE_ESCAPE" value="111" />
1654        <enum name="KEYCODE_FORWARD_DEL" value="112" />
1655        <enum name="KEYCODE_CTRL_LEFT" value="113" />
1656        <enum name="KEYCODE_CTRL_RIGHT" value="114" />
1657        <enum name="KEYCODE_CAPS_LOCK" value="115" />
1658        <enum name="KEYCODE_SCROLL_LOCK" value="116" />
1659        <enum name="KEYCODE_META_LEFT" value="117" />
1660        <enum name="KEYCODE_META_RIGHT" value="118" />
1661        <enum name="KEYCODE_FUNCTION" value="119" />
1662        <enum name="KEYCODE_SYSRQ" value="120" />
1663        <enum name="KEYCODE_BREAK" value="121" />
1664        <enum name="KEYCODE_MOVE_HOME" value="122" />
1665        <enum name="KEYCODE_MOVE_END" value="123" />
1666        <enum name="KEYCODE_INSERT" value="124" />
1667        <enum name="KEYCODE_FORWARD" value="125" />
1668        <enum name="KEYCODE_MEDIA_PLAY" value="126" />
1669        <enum name="KEYCODE_MEDIA_PAUSE" value="127" />
1670        <enum name="KEYCODE_MEDIA_CLOSE" value="128" />
1671        <enum name="KEYCODE_MEDIA_EJECT" value="129" />
1672        <enum name="KEYCODE_MEDIA_RECORD" value="130" />
1673        <enum name="KEYCODE_F1" value="131" />
1674        <enum name="KEYCODE_F2" value="132" />
1675        <enum name="KEYCODE_F3" value="133" />
1676        <enum name="KEYCODE_F4" value="134" />
1677        <enum name="KEYCODE_F5" value="135" />
1678        <enum name="KEYCODE_F6" value="136" />
1679        <enum name="KEYCODE_F7" value="137" />
1680        <enum name="KEYCODE_F8" value="138" />
1681        <enum name="KEYCODE_F9" value="139" />
1682        <enum name="KEYCODE_F10" value="140" />
1683        <enum name="KEYCODE_F11" value="141" />
1684        <enum name="KEYCODE_F12" value="142" />
1685        <enum name="KEYCODE_NUM_LOCK" value="143" />
1686        <enum name="KEYCODE_NUMPAD_0" value="144" />
1687        <enum name="KEYCODE_NUMPAD_1" value="145" />
1688        <enum name="KEYCODE_NUMPAD_2" value="146" />
1689        <enum name="KEYCODE_NUMPAD_3" value="147" />
1690        <enum name="KEYCODE_NUMPAD_4" value="148" />
1691        <enum name="KEYCODE_NUMPAD_5" value="149" />
1692        <enum name="KEYCODE_NUMPAD_6" value="150" />
1693        <enum name="KEYCODE_NUMPAD_7" value="151" />
1694        <enum name="KEYCODE_NUMPAD_8" value="152" />
1695        <enum name="KEYCODE_NUMPAD_9" value="153" />
1696        <enum name="KEYCODE_NUMPAD_DIVIDE" value="154" />
1697        <enum name="KEYCODE_NUMPAD_MULTIPLY" value="155" />
1698        <enum name="KEYCODE_NUMPAD_SUBTRACT" value="156" />
1699        <enum name="KEYCODE_NUMPAD_ADD" value="157" />
1700        <enum name="KEYCODE_NUMPAD_DOT" value="158" />
1701        <enum name="KEYCODE_NUMPAD_COMMA" value="159" />
1702        <enum name="KEYCODE_NUMPAD_ENTER" value="160" />
1703        <enum name="KEYCODE_NUMPAD_EQUALS" value="161" />
1704        <enum name="KEYCODE_NUMPAD_LEFT_PAREN" value="162" />
1705        <enum name="KEYCODE_NUMPAD_RIGHT_PAREN" value="163" />
1706        <enum name="KEYCODE_VOLUME_MUTE" value="164" />
1707        <enum name="KEYCODE_INFO" value="165" />
1708        <enum name="KEYCODE_CHANNEL_UP" value="166" />
1709        <enum name="KEYCODE_CHANNEL_DOWN" value="167" />
1710        <enum name="KEYCODE_ZOOM_IN" value="168" />
1711        <enum name="KEYCODE_ZOOM_OUT" value="169" />
1712        <enum name="KEYCODE_TV" value="170" />
1713        <enum name="KEYCODE_WINDOW" value="171" />
1714        <enum name="KEYCODE_GUIDE" value="172" />
1715        <enum name="KEYCODE_DVR" value="173" />
1716        <enum name="KEYCODE_BOOKMARK" value="174" />
1717        <enum name="KEYCODE_CAPTIONS" value="175" />
1718        <enum name="KEYCODE_SETTINGS" value="176" />
1719        <enum name="KEYCODE_TV_POWER" value="177" />
1720        <enum name="KEYCODE_TV_INPUT" value="178" />
1721        <enum name="KEYCODE_STB_POWER" value="179" />
1722        <enum name="KEYCODE_STB_INPUT" value="180" />
1723        <enum name="KEYCODE_AVR_POWER" value="181" />
1724        <enum name="KEYCODE_AVR_INPUT" value="182" />
1725        <enum name="KEYCODE_PROG_GRED" value="183" />
1726        <enum name="KEYCODE_PROG_GREEN" value="184" />
1727        <enum name="KEYCODE_PROG_YELLOW" value="185" />
1728        <enum name="KEYCODE_PROG_BLUE" value="186" />
1729        <enum name="KEYCODE_APP_SWITCH" value="187" />
1730        <enum name="KEYCODE_BUTTON_1" value="188" />
1731        <enum name="KEYCODE_BUTTON_2" value="189" />
1732        <enum name="KEYCODE_BUTTON_3" value="190" />
1733        <enum name="KEYCODE_BUTTON_4" value="191" />
1734        <enum name="KEYCODE_BUTTON_5" value="192" />
1735        <enum name="KEYCODE_BUTTON_6" value="193" />
1736        <enum name="KEYCODE_BUTTON_7" value="194" />
1737        <enum name="KEYCODE_BUTTON_8" value="195" />
1738        <enum name="KEYCODE_BUTTON_9" value="196" />
1739        <enum name="KEYCODE_BUTTON_10" value="197" />
1740        <enum name="KEYCODE_BUTTON_11" value="198" />
1741        <enum name="KEYCODE_BUTTON_12" value="199" />
1742        <enum name="KEYCODE_BUTTON_13" value="200" />
1743        <enum name="KEYCODE_BUTTON_14" value="201" />
1744        <enum name="KEYCODE_BUTTON_15" value="202" />
1745        <enum name="KEYCODE_BUTTON_16" value="203" />
1746        <enum name="KEYCODE_LANGUAGE_SWITCH" value="204" />
1747        <enum name="KEYCODE_MANNER_MODE" value="205" />
1748        <enum name="KEYCODE_3D_MODE" value="206" />
1749        <enum name="KEYCODE_CONTACTS" value="207" />
1750        <enum name="KEYCODE_CALENDAR" value="208" />
1751        <enum name="KEYCODE_MUSIC" value="209" />
1752        <enum name="KEYCODE_CALCULATOR" value="210" />
1753        <enum name="KEYCODE_ZENKAKU_HANKAKU" value="211" />
1754        <enum name="KEYCODE_EISU" value="212" />
1755        <enum name="KEYCODE_MUHENKAN" value="213" />
1756        <enum name="KEYCODE_HENKAN" value="214" />
1757        <enum name="KEYCODE_KATAKANA_HIRAGANA" value="215" />
1758        <enum name="KEYCODE_YEN" value="216" />
1759        <enum name="KEYCODE_RO" value="217" />
1760        <enum name="KEYCODE_KANA" value="218" />
1761        <enum name="KEYCODE_ASSIST" value="219" />
1762        <enum name="KEYCODE_BRIGHTNESS_DOWN" value="220" />
1763        <enum name="KEYCODE_BRIGHTNESS_UP" value="221" />
1764        <enum name="KEYCODE_MEDIA_AUDIO_TRACK" value="222" />
1765        <enum name="KEYCODE_MEDIA_SLEEP" value="223" />
1766        <enum name="KEYCODE_MEDIA_WAKEUP" value="224" />
1767        <enum name="KEYCODE_PAIRING" value="225" />
1768        <enum name="KEYCODE_MEDIA_TOP_MENU" value="226" />
1769        <enum name="KEYCODE_11" value="227" />
1770        <enum name="KEYCODE_12" value="228" />
1771        <enum name="KEYCODE_LAST_CHANNEL" value="229" />
1772        <enum name="KEYCODE_TV_DATA_SERVICE" value="230" />
1773        <enum name="KEYCODE_VOICE_ASSIST" value="231" />
1774        <enum name="KEYCODE_TV_RADIO_SERVICE" value="232" />
1775        <enum name="KEYCODE_TV_TELETEXT" value="233" />
1776        <enum name="KEYCODE_TV_NUMBER_ENTRY" value="234" />
1777        <enum name="KEYCODE_TV_TERRESTRIAL_ANALOG" value="235" />
1778        <enum name="KEYCODE_TV_TERRESTRIAL_DIGITAL" value="236" />
1779        <enum name="KEYCODE_TV_SATELLITE" value="237" />
1780        <enum name="KEYCODE_TV_SATELLITE_BS" value="238" />
1781        <enum name="KEYCODE_TV_SATELLITE_CS" value="239" />
1782        <enum name="KEYCODE_TV_SATELLITE_SERVICE" value="240" />
1783        <enum name="KEYCODE_TV_NETWORK" value="241" />
1784        <enum name="KEYCODE_TV_ANTENNA_CABLE" value="242" />
1785        <enum name="KEYCODE_TV_INPUT_HDMI_1" value="243" />
1786        <enum name="KEYCODE_TV_INPUT_HDMI_2" value="244" />
1787        <enum name="KEYCODE_TV_INPUT_HDMI_3" value="245" />
1788        <enum name="KEYCODE_TV_INPUT_HDMI_4" value="246" />
1789        <enum name="KEYCODE_TV_INPUT_COMPOSITE_1" value="247" />
1790        <enum name="KEYCODE_TV_INPUT_COMPOSITE_2" value="248" />
1791        <enum name="KEYCODE_TV_INPUT_COMPONENT_1" value="249" />
1792        <enum name="KEYCODE_TV_INPUT_COMPONENT_2" value="250" />
1793        <enum name="KEYCODE_TV_INPUT_VGA_1" value="251" />
1794        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION" value="252" />
1795        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP" value="253" />
1796        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN" value="254" />
1797        <enum name="KEYCODE_TV_ZOOM_MODE" value="255" />
1798        <enum name="KEYCODE_TV_CONTENTS_MENU" value="256" />
1799        <enum name="KEYCODE_TV_MEDIA_CONTEXT_MENU" value="257" />
1800        <enum name="KEYCODE_TV_TIMER_PROGRAMMING" value="258" />
1801        <enum name="KEYCODE_HELP" value="259" />
1802        <enum name="KEYCODE_NAVIGATE_PREVIOUS" value="260" />
1803        <enum name="KEYCODE_NAVIGATE_NEXT" value="261" />
1804        <enum name="KEYCODE_NAVIGATE_IN" value="262" />
1805        <enum name="KEYCODE_NAVIGATE_OUT" value="263" />
1806    </attr>
1807
1808    <!-- ***************************************************************** -->
1809    <!-- These define collections of attributes that can are with classes. -->
1810    <!-- ***************************************************************** -->
1811
1812    <!-- ========================== -->
1813    <!-- Special attribute classes. -->
1814    <!-- ========================== -->
1815    <eat-comment />
1816
1817    <!-- The set of attributes that describe a Windows's theme. -->
1818    <declare-styleable name="Window">
1819        <attr name="windowBackground" />
1820        <attr name="windowBackgroundFallback" />
1821        <attr name="windowContentOverlay" />
1822        <attr name="windowFrame" />
1823        <attr name="windowNoTitle" />
1824        <attr name="windowFullscreen" />
1825        <attr name="windowOverscan" />
1826        <attr name="windowIsFloating" />
1827        <attr name="windowIsTranslucent" />
1828        <attr name="windowShowWallpaper" />
1829        <attr name="windowAnimationStyle" />
1830        <attr name="windowSoftInputMode" />
1831        <attr name="windowDisablePreview" />
1832        <attr name="windowNoDisplay" />
1833        <attr name="textColor" />
1834        <attr name="backgroundDimEnabled" />
1835        <attr name="backgroundDimAmount" />
1836        <attr name="windowActionBar" />
1837        <attr name="windowActionModeOverlay" />
1838        <attr name="windowActionBarOverlay" />
1839        <attr name="windowEnableSplitTouch" />
1840        <attr name="windowCloseOnTouchOutside" />
1841        <attr name="windowTranslucentStatus" />
1842        <attr name="windowTranslucentNavigation" />
1843        <attr name="windowSwipeToDismiss" />
1844        <attr name="windowContentTransitions" />
1845        <attr name="windowActivityTransitions" />
1846        <attr name="windowContentTransitionManager" />
1847        <attr name="windowActionBarFullscreenDecorLayout" />
1848
1849        <!-- The minimum width the window is allowed to be, along the major
1850             axis of the screen.  That is, when in landscape.  Can be either
1851             an absolute dimension or a fraction of the screen size in that
1852             dimension. -->
1853        <attr name="windowMinWidthMajor" format="dimension|fraction" />
1854        <!-- The minimum width the window is allowed to be, along the minor
1855             axis of the screen.  That is, when in portrait.  Can be either
1856             an absolute dimension or a fraction of the screen size in that
1857             dimension. -->
1858        <attr name="windowMinWidthMinor" format="dimension|fraction" />
1859
1860        <!-- A fixed width for the window along the major axis of the screen,
1861             that is, when in landscape. Can be either an absolute dimension
1862             or a fraction of the screen size in that dimension. -->
1863        <attr name="windowFixedWidthMajor" format="dimension|fraction" />
1864        <!-- A fixed height for the window along the minor axis of the screen,
1865             that is, when in landscape. Can be either an absolute dimension
1866             or a fraction of the screen size in that dimension. -->
1867        <attr name="windowFixedHeightMinor" format="dimension|fraction" />
1868
1869        <!-- A fixed width for the window along the minor axis of the screen,
1870             that is, when in portrait. Can be either an absolute dimension
1871             or a fraction of the screen size in that dimension. -->
1872        <attr name="windowFixedWidthMinor" format="dimension|fraction" />
1873        <!-- A fixed height for the window along the major axis of the screen,
1874             that is, when in portrait. Can be either an absolute dimension
1875             or a fraction of the screen size in that dimension. -->
1876        <attr name="windowFixedHeightMajor" format="dimension|fraction" />
1877        <attr name="windowOutsetBottom" format="dimension" />
1878        <!-- Reference to a Transition XML resource defining the desired Transition
1879             used to move Views into the initial Window's content Scene. Corresponds to
1880             {@link android.view.Window#setEnterTransition(android.transition.Transition)}. -->
1881        <attr name="windowEnterTransition"/>
1882
1883        <!-- Reference to a Transition XML resource defining the desired Transition
1884             used to move Views out of the scene when the Window is
1885             preparing to close. Corresponds to
1886             {@link android.view.Window#setReturnTransition(android.transition.Transition)}. -->
1887        <attr name="windowReturnTransition"/>
1888
1889        <!-- Reference to a Transition XML resource defining the desired Transition
1890             used to move Views out of the Window's content Scene when launching a new Activity.
1891             Corresponds to
1892             {@link android.view.Window#setExitTransition(android.transition.Transition)}. -->
1893        <attr name="windowExitTransition"/>
1894
1895        <!-- Reference to a Transition XML resource defining the desired Transition
1896             used to move Views in to the scene when returning from a previously-started Activity.
1897             Corresponds to
1898             {@link android.view.Window#setReenterTransition(android.transition.Transition)}. -->
1899        <attr name="windowReenterTransition"/>
1900
1901        <!-- Reference to a Transition XML resource defining the desired Transition
1902             used to move shared elements transferred into the Window's initial content Scene.
1903             Corresponds to {@link android.view.Window#setSharedElementEnterTransition(
1904             android.transition.Transition)}. -->
1905        <attr name="windowSharedElementEnterTransition"/>
1906
1907        <!-- Reference to a Transition XML resource defining the desired Transition
1908             used to move shared elements transferred back to a calling Activity.
1909             Corresponds to {@link android.view.Window#setSharedElementReturnTransition(
1910             android.transition.Transition)}. -->
1911        <attr name="windowSharedElementReturnTransition"/>
1912
1913        <!-- Reference to a Transition XML resource defining the desired Transition
1914             used when starting a new Activity to move shared elements prior to transferring
1915             to the called Activity.
1916             Corresponds to {@link android.view.Window#setSharedElementExitTransition(
1917             android.transition.Transition)}. -->
1918        <attr name="windowSharedElementExitTransition"/>
1919
1920        <!-- Reference to a Transition XML resource defining the desired Transition
1921             used for shared elements transferred back to a calling Activity.
1922             Corresponds to {@link android.view.Window#setSharedElementReenterTransition(
1923             android.transition.Transition)}. -->
1924        <attr name="windowSharedElementReenterTransition"/>
1925
1926
1927        <!-- Flag indicating whether this Window's transition should overlap with
1928             the exiting transition of the calling Activity. Corresponds to
1929             {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. -->
1930        <attr name="windowAllowEnterTransitionOverlap"/>
1931
1932        <!-- Flag indicating whether this Window's transition should overlap with
1933             the exiting transition of the called Activity when the called Activity
1934             finishes. Corresponds to
1935             {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. -->
1936        <attr name="windowAllowReturnTransitionOverlap"/>
1937
1938        <!-- Indicates whether or not shared elements should use an overlay
1939             during transitions. The default value is true. -->
1940        <attr name="windowSharedElementsUseOverlay"/>
1941
1942        <!-- Flag indicating whether this Window is responsible for drawing the background for the
1943             system bars. If true and the window is not floating, the system bars are drawn with a
1944             transparent background and the corresponding areas in this window are filled with the
1945             colors specified in {@link android.R.attr#statusBarColor} and
1946             {@link android.R.attr#navigationBarColor}. Corresponds to
1947             {@link android.view.WindowManager.LayoutParams#FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS}. -->
1948        <attr name="windowDrawsSystemBarBackgrounds" format="boolean" />
1949
1950        <!-- The color for the status bar. If the color is not opaque, consider setting
1951             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and
1952             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN}.
1953             For this to take effect, the window must be drawing the system bar backgrounds with
1954             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not
1955             have been requested to be translucent with
1956             {@link android.R.attr#windowTranslucentStatus}.
1957             Corresponds to {@link android.view.Window#setStatusBarColor(int)}. -->
1958        <attr name="statusBarColor" format="color" />
1959
1960        <!-- The color for the navigation bar. If the color is not opaque, consider setting
1961             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and
1962             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION}.
1963             For this to take effect, the window must be drawing the system bar backgrounds with
1964             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not
1965             have been requested to be translucent with
1966             {@link android.R.attr#windowTranslucentNavigation}.
1967             Corresponds to {@link android.view.Window#setNavigationBarColor(int)}. -->
1968        <attr name="navigationBarColor" format="color" />
1969
1970        <!-- The duration, in milliseconds, of the window background fade duration
1971             when transitioning into or away from an Activity when called with an
1972             Activity Transition. Corresponds to
1973             {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. -->
1974        <attr name="windowTransitionBackgroundFadeDuration" />
1975
1976        <!-- Elevation to use for the window. -->
1977        <attr name="windowElevation" format="dimension" />
1978
1979        <!-- Whether to clip window content to the outline of the window background. -->
1980        <attr name="windowClipToOutline" format="boolean" />
1981
1982        <!-- If set, the status bar will be drawn such that it is compatible with a light
1983             status bar background.
1984             <p>For this to take effect, the window must be drawing the system bar backgrounds with
1985             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not
1986             have been requested to be translucent with
1987             {@link android.R.attr#windowTranslucentStatus}.
1988             Corresponds to setting {@link android.view.View#SYSTEM_UI_FLAG_LIGHT_STATUS_BAR} on
1989             the decor view. -->
1990        <attr name="windowLightStatusBar" format="boolean" />
1991    </declare-styleable>
1992
1993    <!-- The set of attributes that describe a AlertDialog's theme. -->
1994    <declare-styleable name="AlertDialog">
1995        <attr name="fullDark" format="reference|color" />
1996        <attr name="topDark" format="reference|color" />
1997        <attr name="centerDark" format="reference|color" />
1998        <attr name="bottomDark" format="reference|color" />
1999        <attr name="fullBright" format="reference|color" />
2000        <attr name="topBright" format="reference|color" />
2001        <attr name="centerBright" format="reference|color" />
2002        <attr name="bottomBright" format="reference|color" />
2003        <attr name="bottomMedium" format="reference|color" />
2004        <attr name="centerMedium" format="reference|color" />
2005        <attr name="layout" />
2006        <attr name="buttonPanelSideLayout" format="reference" />
2007        <attr name="listLayout" format="reference" />
2008        <attr name="multiChoiceItemLayout" format="reference" />
2009        <attr name="singleChoiceItemLayout" format="reference" />
2010        <attr name="listItemLayout" format="reference" />
2011        <attr name="progressLayout" format="reference" />
2012        <attr name="horizontalProgressLayout" format="reference" />
2013        <!-- @hide Whether fullDark, etc. should use default values if null. -->
2014        <attr name="needsDefaultBackgrounds" format="boolean" />
2015    </declare-styleable>
2016
2017    <!-- @hide -->
2018    <declare-styleable name="ButtonBarLayout">
2019        <!-- Whether to automatically stack the buttons when there is not
2020             enough space to lay them out side-by-side. -->
2021        <attr name="allowStacking" format="boolean" />
2022    </declare-styleable>
2023
2024    <!-- Fragment animation class attributes. -->
2025    <declare-styleable name="FragmentAnimation">
2026        <attr name="fragmentOpenEnterAnimation" format="reference" />
2027        <attr name="fragmentOpenExitAnimation" format="reference" />
2028        <attr name="fragmentCloseEnterAnimation" format="reference" />
2029        <attr name="fragmentCloseExitAnimation" format="reference" />
2030        <attr name="fragmentFadeEnterAnimation" format="reference" />
2031        <attr name="fragmentFadeExitAnimation" format="reference" />
2032    </declare-styleable>
2033
2034    <!-- Window animation class attributes. -->
2035    <declare-styleable name="WindowAnimation">
2036        <!-- The animation used when a window is being added. -->
2037        <attr name="windowEnterAnimation" format="reference" />
2038        <!-- The animation used when a window is being removed. -->
2039        <attr name="windowExitAnimation" format="reference" />
2040        <!-- The animation used when a window is going from INVISIBLE to VISIBLE. -->
2041        <attr name="windowShowAnimation" format="reference" />
2042        <!-- The animation used when a window is going from VISIBLE to INVISIBLE. -->
2043        <attr name="windowHideAnimation" format="reference" />
2044
2045        <!--  When opening a new activity, this is the animation that is
2046              run on the next activity (which is entering the screen). -->
2047        <attr name="activityOpenEnterAnimation" format="reference" />
2048        <!--  When opening a new activity, this is the animation that is
2049              run on the previous activity (which is exiting the screen). -->
2050        <attr name="activityOpenExitAnimation" format="reference" />
2051        <!--  When closing the current activity, this is the animation that is
2052              run on the next activity (which is entering the screen). -->
2053        <attr name="activityCloseEnterAnimation" format="reference" />
2054        <!--  When closing the current activity, this is the animation that is
2055              run on the current activity (which is exiting the screen). -->
2056        <attr name="activityCloseExitAnimation" format="reference" />
2057        <!--  When opening an activity in a new task, this is the animation that is
2058              run on the activity of the new task (which is entering the screen). -->
2059        <attr name="taskOpenEnterAnimation" format="reference" />
2060        <!--  When opening an activity in a new task, this is the animation that is
2061              run on the activity of the old task (which is exiting the screen). -->
2062        <attr name="taskOpenExitAnimation" format="reference" />
2063        <!--  When opening an activity in a new task using Intent/FLAG_ACTIVITY_LAUNCH_BEHIND,
2064              this is the animation that is run on the activity of the new task (which is
2065              entering the screen and then leaving). -->
2066        <attr name="launchTaskBehindTargetAnimation" format="reference" />
2067        <!--  When opening an activity in a new task using Intent.FLAG_ACTIVITY_LAUNCH_BEHIND,
2068              this is the animation that is run on the activity of the old task (which is
2069              already on the screen and then stays on). -->
2070        <attr name="launchTaskBehindSourceAnimation" format="reference" />
2071        <!--  When closing the last activity of a task, this is the animation that is
2072              run on the activity of the next task (which is entering the screen). -->
2073        <attr name="taskCloseEnterAnimation" format="reference" />
2074        <!--  When opening an activity in a new task, this is the animation that is
2075              run on the activity of the old task (which is exiting the screen). -->
2076        <attr name="taskCloseExitAnimation" format="reference" />
2077        <!--  When bringing an existing task to the foreground, this is the
2078              animation that is run on the top activity of the task being brought
2079              to the foreground (which is entering the screen). -->
2080        <attr name="taskToFrontEnterAnimation" format="reference" />
2081        <!--  When bringing an existing task to the foreground, this is the
2082              animation that is run on the current foreground activity
2083              (which is exiting the screen). -->
2084        <attr name="taskToFrontExitAnimation" format="reference" />
2085        <!--  When sending the current task to the background, this is the
2086              animation that is run on the top activity of the task behind
2087              it (which is entering the screen). -->
2088        <attr name="taskToBackEnterAnimation" format="reference" />
2089        <!--  When sending the current task to the background, this is the
2090              animation that is run on the top activity of the current task
2091              (which is exiting the screen). -->
2092        <attr name="taskToBackExitAnimation" format="reference" />
2093
2094        <!--  When opening a new activity that shows the wallpaper, while
2095              currently not showing the wallpaper, this is the animation that
2096              is run on the new wallpaper activity (which is entering the screen). -->
2097        <attr name="wallpaperOpenEnterAnimation" format="reference" />
2098        <!--  When opening a new activity that shows the wallpaper, while
2099              currently not showing the wallpaper, this is the animation that
2100              is run on the current activity (which is exiting the screen). -->
2101        <attr name="wallpaperOpenExitAnimation" format="reference" />
2102        <!--  When opening a new activity that hides the wallpaper, while
2103              currently showing the wallpaper, this is the animation that
2104              is run on the new activity (which is entering the screen). -->
2105        <attr name="wallpaperCloseEnterAnimation" format="reference" />
2106        <!--  When opening a new activity that hides the wallpaper, while
2107              currently showing the wallpaper, this is the animation that
2108              is run on the old wallpaper activity (which is exiting the screen). -->
2109        <attr name="wallpaperCloseExitAnimation" format="reference" />
2110
2111        <!--  When opening a new activity that is on top of the wallpaper
2112              when the current activity is also on top of the wallpaper,
2113              this is the animation that is run on the new activity
2114              (which is entering the screen).  The wallpaper remains
2115              static behind the animation. -->
2116        <attr name="wallpaperIntraOpenEnterAnimation" format="reference" />
2117        <!--  When opening a new activity that is on top of the wallpaper
2118              when the current activity is also on top of the wallpaper,
2119              this is the animation that is run on the current activity
2120              (which is exiting the screen).  The wallpaper remains
2121              static behind the animation. -->
2122        <attr name="wallpaperIntraOpenExitAnimation" format="reference" />
2123        <!--  When closing a foreround activity that is on top of the wallpaper
2124              when the previous activity is also on top of the wallpaper,
2125              this is the animation that is run on the previous activity
2126              (which is entering the screen).  The wallpaper remains
2127              static behind the animation. -->
2128        <attr name="wallpaperIntraCloseEnterAnimation" format="reference" />
2129        <!--  When closing a foreround activity that is on top of the wallpaper
2130              when the previous activity is also on top of the wallpaper,
2131              this is the animation that is run on the current activity
2132              (which is exiting the screen).  The wallpaper remains
2133              static behind the animation. -->
2134        <attr name="wallpaperIntraCloseExitAnimation" format="reference" />
2135    </declare-styleable>
2136
2137    <!-- ============================= -->
2138    <!-- View package class attributes -->
2139    <!-- ============================= -->
2140    <eat-comment />
2141
2142    <!-- Attributes that can be used with {@link android.view.View} or
2143         any of its subclasses.  Also see {@link #ViewGroup_Layout} for
2144         attributes that are processed by the view's parent. -->
2145    <declare-styleable name="View">
2146        <!-- Supply an identifier name for this view, to later retrieve it
2147             with {@link android.view.View#findViewById View.findViewById()} or
2148             {@link android.app.Activity#findViewById Activity.findViewById()}.
2149             This must be a
2150             resource reference; typically you set this using the
2151             <code>@+</code> syntax to create a new ID resources.
2152             For example: <code>android:id="@+id/my_id"</code> which
2153             allows you to later retrieve the view
2154             with <code>findViewById(R.id.my_id)</code>. -->
2155        <attr name="id" format="reference" />
2156
2157        <!-- Supply a tag for this view containing a String, to be retrieved
2158             later with {@link android.view.View#getTag View.getTag()} or
2159             searched for with {@link android.view.View#findViewWithTag
2160             View.findViewWithTag()}.  It is generally preferable to use
2161             IDs (through the android:id attribute) instead of tags because
2162             they are faster and allow for compile-time type checking. -->
2163        <attr name="tag" format="string" />
2164
2165        <!-- The initial horizontal scroll offset, in pixels.-->
2166        <attr name="scrollX" format="dimension" />
2167
2168        <!-- The initial vertical scroll offset, in pixels. -->
2169        <attr name="scrollY" format="dimension" />
2170
2171        <!-- A drawable to use as the background.  This can be either a reference
2172             to a full drawable resource (such as a PNG image, 9-patch,
2173             XML state list description, etc), or a solid color such as "#ff000000"
2174            (black). -->
2175        <attr name="background" format="reference|color" />
2176
2177        <!-- Sets the padding, in pixels, of all four edges.  Padding is defined as
2178             space between the edges of the view and the view's content. A views size
2179             will include it's padding.  If a {@link android.R.attr#background}
2180             is provided, the padding will initially be set to that (0 if the
2181             drawable does not have padding).  Explicitly setting a padding value
2182             will override the corresponding padding found in the background. -->
2183        <attr name="padding" format="dimension" />
2184        <!-- Sets the padding, in pixels, of the left edge; see {@link android.R.attr#padding}. -->
2185        <attr name="paddingLeft" format="dimension" />
2186        <!-- Sets the padding, in pixels, of the top edge; see {@link android.R.attr#padding}. -->
2187        <attr name="paddingTop" format="dimension" />
2188        <!-- Sets the padding, in pixels, of the right edge; see {@link android.R.attr#padding}. -->
2189        <attr name="paddingRight" format="dimension" />
2190        <!-- Sets the padding, in pixels, of the bottom edge; see {@link android.R.attr#padding}. -->
2191        <attr name="paddingBottom" format="dimension" />
2192        <!-- Sets the padding, in pixels, of the start edge; see {@link android.R.attr#padding}. -->
2193        <attr name="paddingStart" format="dimension" />
2194        <!-- Sets the padding, in pixels, of the end edge; see {@link android.R.attr#padding}. -->
2195        <attr name="paddingEnd" format="dimension" />
2196
2197        <!-- Boolean that controls whether a view can take focus.  By default the user can not
2198             move focus to a view; by setting this attribute to true the view is
2199             allowed to take focus.  This value does not impact the behavior of
2200             directly calling {@link android.view.View#requestFocus}, which will
2201             always request focus regardless of this view.  It only impacts where
2202             focus navigation will try to move focus. -->
2203        <attr name="focusable" format="boolean" />
2204
2205        <!-- Boolean that controls whether a view can take focus while in touch mode.
2206             If this is true for a view, that view can gain focus when clicked on, and can keep
2207             focus if another view is clicked on that doesn't have this attribute set to true. -->
2208        <attr name="focusableInTouchMode" format="boolean" />
2209
2210        <!-- Controls the initial visibility of the view.  -->
2211        <attr name="visibility">
2212            <!-- Visible on screen; the default value. -->
2213            <enum name="visible" value="0" />
2214            <!-- Not displayed, but taken into account during layout (space is left for it). -->
2215            <enum name="invisible" value="1" />
2216            <!-- Completely hidden, as if the view had not been added. -->
2217            <enum name="gone" value="2" />
2218        </attr>
2219
2220        <!-- Boolean internal attribute to adjust view layout based on
2221             system windows such as the status bar.
2222             If true, adjusts the padding of this view to leave space for the system windows.
2223             Will only take effect if this view is in a non-embedded activity. -->
2224        <attr name="fitsSystemWindows" format="boolean" />
2225
2226        <!-- Defines which scrollbars should be displayed on scrolling or not. -->
2227        <attr name="scrollbars">
2228            <!-- No scrollbar is displayed. -->
2229            <flag name="none" value="0x00000000" />
2230            <!-- Displays horizontal scrollbar only. -->
2231            <flag name="horizontal" value="0x00000100" />
2232            <!-- Displays vertical scrollbar only. -->
2233            <flag name="vertical" value="0x00000200" />
2234        </attr>
2235
2236        <!-- Controls the scrollbar style and position. The scrollbars can be overlaid or
2237             inset. When inset, they add to the padding of the view. And the
2238             scrollbars can be drawn inside the padding area or on the edge of
2239             the view. For example, if a view has a background drawable and you
2240             want to draw the scrollbars inside the padding specified by the
2241             drawable, you can use insideOverlay or insideInset. If you want them
2242             to appear at the edge of the view, ignoring the padding, then you can
2243             use outsideOverlay or outsideInset.-->
2244        <attr name="scrollbarStyle">
2245            <!-- Inside the padding and overlaid -->
2246            <enum name="insideOverlay" value="0x0" />
2247            <!-- Inside the padding and inset -->
2248            <enum name="insideInset" value="0x01000000" />
2249            <!-- Edge of the view and overlaid -->
2250            <enum name="outsideOverlay" value="0x02000000" />
2251            <!-- Edge of the view and inset -->
2252            <enum name="outsideInset" value="0x03000000" />
2253        </attr>
2254
2255        <!-- Set this if the view will serve as a scrolling container, meaning
2256             that it can be resized to shrink its overall window so that there
2257             will be space for an input method.  If not set, the default
2258             value will be true if "scrollbars" has the vertical scrollbar
2259             set, else it will be false. -->
2260        <attr name="isScrollContainer" format="boolean" />
2261
2262          <!-- Defines whether to fade out scrollbars when they are not in use. -->
2263         <attr name="fadeScrollbars" format="boolean" />
2264         <!-- Defines the delay in milliseconds that a scrollbar takes to fade out. -->
2265         <attr name="scrollbarFadeDuration" format="integer" />
2266         <!-- Defines the delay in milliseconds that a scrollbar waits before fade out. -->
2267        <attr name="scrollbarDefaultDelayBeforeFade" format="integer" />
2268        <!-- Sets the width of vertical scrollbars and height of horizontal scrollbars. -->
2269        <attr name="scrollbarSize" format="dimension" />
2270        <!-- Defines the horizontal scrollbar thumb drawable. -->
2271        <attr name="scrollbarThumbHorizontal" format="reference" />
2272        <!-- Defines the vertical scrollbar thumb drawable. -->
2273        <attr name="scrollbarThumbVertical" format="reference" />
2274        <!-- Defines the horizontal scrollbar track drawable. -->
2275        <attr name="scrollbarTrackHorizontal" format="reference" />
2276        <!-- Defines the vertical scrollbar track drawable. -->
2277        <attr name="scrollbarTrackVertical" format="reference" />
2278        <!-- Defines whether the horizontal scrollbar track should always be drawn. -->
2279        <attr name="scrollbarAlwaysDrawHorizontalTrack" format="boolean" />
2280        <!-- Defines whether the vertical scrollbar track should always be drawn. -->
2281        <attr name="scrollbarAlwaysDrawVerticalTrack" format="boolean" />
2282
2283        <!-- This attribute is deprecated and will be ignored as of
2284             API level 14 ({@link android.os.Build.VERSION_CODES#ICE_CREAM_SANDWICH}).
2285             Using fading edges may introduce noticeable performance
2286             degradations and should be used only when required by the application's
2287             visual design. To request fading edges with API level 14 and above,
2288             use the <code>android:requiresFadingEdge</code> attribute instead. -->
2289        <attr name="fadingEdge">
2290            <!-- No edge is faded. -->
2291            <flag name="none" value="0x00000000" />
2292            <!-- Fades horizontal edges only. -->
2293            <flag name="horizontal" value="0x00001000" />
2294            <!-- Fades vertical edges only. -->
2295            <flag name="vertical" value="0x00002000" />
2296        </attr>
2297        <!-- Defines which edges should be faded on scrolling. -->
2298        <attr name="requiresFadingEdge">
2299            <!-- No edge is faded. -->
2300            <flag name="none" value="0x00000000" />
2301            <!-- Fades horizontal edges only. -->
2302            <flag name="horizontal" value="0x00001000" />
2303            <!-- Fades vertical edges only. -->
2304            <flag name="vertical" value="0x00002000" />
2305        </attr>
2306        <!-- Defines the length of the fading edges. -->
2307        <attr name="fadingEdgeLength" format="dimension" />
2308
2309        <!-- Defines the next view to give focus to when the next focus is
2310             {@link android.view.View#FOCUS_LEFT}.
2311
2312             If the reference refers to a view that does not exist or is part
2313             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2314             will result when the reference is accessed.-->
2315        <attr name="nextFocusLeft" format="reference"/>
2316
2317        <!-- Defines the next view to give focus to when the next focus is
2318             {@link android.view.View#FOCUS_RIGHT}
2319
2320             If the reference refers to a view that does not exist or is part
2321             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2322             will result when the reference is accessed.-->
2323        <attr name="nextFocusRight" format="reference"/>
2324
2325        <!-- Defines the next view to give focus to when the next focus is
2326             {@link android.view.View#FOCUS_UP}
2327
2328             If the reference refers to a view that does not exist or is part
2329             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2330             will result when the reference is accessed.-->
2331        <attr name="nextFocusUp" format="reference"/>
2332
2333        <!-- Defines the next view to give focus to when the next focus is
2334             {@link android.view.View#FOCUS_DOWN}
2335
2336             If the reference refers to a view that does not exist or is part
2337             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2338             will result when the reference is accessed.-->
2339        <attr name="nextFocusDown" format="reference"/>
2340
2341        <!-- Defines the next view to give focus to when the next focus is
2342             {@link android.view.View#FOCUS_FORWARD}
2343
2344             If the reference refers to a view that does not exist or is part
2345             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2346             will result when the reference is accessed.-->
2347        <attr name="nextFocusForward" format="reference"/>
2348
2349        <!-- Defines whether this view reacts to click events. -->
2350        <attr name="clickable" format="boolean" />
2351
2352        <!-- Defines whether this view reacts to long click events. -->
2353        <attr name="longClickable" format="boolean" />
2354
2355        <!--  Defines whether this view reacts to context click events. -->
2356        <attr name="contextClickable" format="boolean" />
2357
2358        <!-- If false, no state will be saved for this view when it is being
2359             frozen. The default is true, allowing the view to be saved
2360             (however it also must have an ID assigned to it for its
2361             state to be saved).  Setting this to false only disables the
2362             state for this view, not for its children which may still
2363             be saved. -->
2364        <attr name="saveEnabled" format="boolean" />
2365
2366        <!-- Specifies whether to filter touches when the view's window is obscured by
2367             another visible window.  When set to true, the view will not receive touches
2368             whenever a toast, dialog or other window appears above the view's window.
2369             Refer to the {@link android.view.View} security documentation for more details. -->
2370        <attr name="filterTouchesWhenObscured" format="boolean" />
2371
2372        <!-- Defines the quality of translucent drawing caches. This property is used
2373             only when the drawing cache is enabled and translucent. The default value is auto. -->
2374        <attr name="drawingCacheQuality">
2375            <!-- Lets the framework decide what quality level should be used
2376                 for the drawing cache. -->
2377            <enum name="auto" value="0" />
2378            <!-- Low quality. When set to low quality, the drawing cache uses a lower color
2379                 depth, thus losing precision in rendering gradients, but uses less memory. -->
2380            <enum name="low" value="1" />
2381            <!-- High quality. When set to high quality, the drawing cache uses a higher
2382                 color depth but uses more memory. -->
2383            <enum name="high" value="2" />
2384        </attr>
2385
2386        <!-- Controls whether the view's window should keep the screen on
2387             while visible. -->
2388        <attr name="keepScreenOn" format="boolean" />
2389
2390        <!-- When this attribute is set to true, the view gets its drawable state
2391             (focused, pressed, etc.) from its direct parent rather than from itself. -->
2392        <attr name="duplicateParentState" format="boolean" />
2393
2394        <!-- Defines the minimum height of the view. It is not guaranteed
2395             the view will be able to achieve this minimum height (for example,
2396             if its parent layout constrains it with less available height). -->
2397        <attr name="minHeight" />
2398
2399        <!-- Defines the minimum width of the view. It is not guaranteed
2400             the view will be able to achieve this minimum width (for example,
2401             if its parent layout constrains it with less available width). -->
2402        <attr name="minWidth" />
2403
2404        <!-- Boolean that controls whether a view should have sound effects
2405             enabled for events such as clicking and touching. -->
2406        <attr name="soundEffectsEnabled" format="boolean" />
2407
2408        <!-- Boolean that controls whether a view should have haptic feedback
2409             enabled for events such as long presses. -->
2410        <attr name="hapticFeedbackEnabled" format="boolean" />
2411
2412        <!-- Defines text that briefly describes content of the view. This property is used
2413             primarily for accessibility. Since some views do not have textual
2414             representation this attribute can be used for providing such. -->
2415        <attr name="contentDescription" format="string" localization="suggested" />
2416
2417        <!-- Sets the id of a view before which this one is visited in accessibility traversal.
2418             A screen-reader must visit the content of this view before the content of the one
2419             it precedes.
2420             @see android.view.View#setAccessibilityTraversalBefore(int)} -->
2421        <attr name="accessibilityTraversalBefore" format="integer" />
2422
2423        <!-- Sets the id of a view after which this one is visited in accessibility traversal.
2424             A screen-reader must visit the content of the other view before the content of
2425             this one.
2426             @see android.view.View#setAccessibilityTraversalAfter(int)} -->
2427        <attr name="accessibilityTraversalAfter" format="integer" />
2428
2429        <!-- Name of the method in this View's context to invoke when the view is
2430             clicked. This name must correspond to a public method that takes
2431             exactly one parameter of type View. For instance, if you specify
2432             <code>android:onClick="sayHello"</code>, you must declare a
2433             <code>public void sayHello(View v)</code> method of your context
2434             (typically, your Activity). -->
2435        <attr name="onClick" format="string" />
2436
2437        <!-- Defines over-scrolling behavior. This property is used only if the
2438             View is scrollable. Over-scrolling is the ability for the user to
2439             receive feedback when attempting to scroll beyond meaningful content. -->
2440        <attr name="overScrollMode">
2441            <!-- Always show over-scroll effects, even if the content fits entirely
2442                 within the available space. -->
2443            <enum name="always" value="0" />
2444            <!-- Only show over-scroll effects if the content is large
2445                 enough to meaningfully scroll. -->
2446            <enum name="ifContentScrolls" value="1" />
2447            <!-- Never show over-scroll effects. -->
2448            <enum name="never" value="2" />
2449        </attr>
2450
2451        <!-- alpha property of the view, as a value between 0 (completely transparent) and 1
2452             (completely opaque). -->
2453        <attr name="alpha" format="float" />
2454
2455        <!-- base z depth of the view -->
2456        <attr name="elevation" format="dimension" />
2457
2458        <!-- translation in x of the view. This value is added post-layout to the left
2459             property of the view, which is set by its layout. -->
2460        <attr name="translationX" format="dimension" />
2461
2462        <!-- translation in y of the view. This value is added post-layout to the top
2463             property of the view, which is set by its layout. -->
2464        <attr name="translationY" format="dimension" />
2465
2466        <!-- translation in z of the view. This value is added to its elevation. -->
2467        <attr name="translationZ" format="dimension" />
2468
2469        <!-- x location of the pivot point around which the view will rotate and scale.
2470             This xml attribute sets the pivotX property of the View. -->
2471        <attr name="transformPivotX" format="dimension" />
2472
2473        <!-- y location of the pivot point around which the view will rotate and scale.
2474             This xml attribute sets the pivotY property of the View. -->
2475        <attr name="transformPivotY" format="dimension" />
2476
2477        <!-- rotation of the view, in degrees. -->
2478        <attr name="rotation" format="float" />
2479
2480        <!-- rotation of the view around the x axis, in degrees. -->
2481        <attr name="rotationX" format="float" />
2482
2483        <!-- rotation of the view around the y axis, in degrees. -->
2484        <attr name="rotationY" format="float" />
2485
2486        <!-- scale of the view in the x direction. -->
2487        <attr name="scaleX" format="float" />
2488
2489        <!-- scale of the view in the y direction. -->
2490        <attr name="scaleY" format="float" />
2491
2492        <!-- Determines which side the vertical scroll bar should be placed on. -->
2493        <attr name="verticalScrollbarPosition">
2494            <!-- Place the scroll bar wherever the system default determines. -->
2495            <enum name="defaultPosition" value="0" />
2496            <!-- Place the scroll bar on the left. -->
2497            <enum name="left" value="1" />
2498            <!-- Place the scroll bar on the right. -->
2499            <enum name="right" value="2" />
2500        </attr>
2501
2502        <!-- Specifies the type of layer backing this view. The default value is none.
2503             Refer to {@link android.view.View#setLayerType(int, android.graphics.Paint)}
2504             for more information.-->
2505        <attr name="layerType">
2506            <!-- Don't use a layer. -->
2507            <enum name="none" value="0" />
2508            <!-- Use a software layer. Refer to
2509                 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for
2510                 more information. -->
2511            <enum name="software" value="1" />
2512            <!-- Use a hardware layer. Refer to
2513                 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for
2514                 more information. -->
2515            <enum name="hardware" value="2" />
2516        </attr>
2517
2518        <!-- Defines the direction of layout drawing. This typically is associated with writing
2519             direction of the language script used. The possible values are "ltr" for Left-to-Right,
2520             "rtl" for Right-to-Left, "locale" and "inherit" from parent view. If there is nothing
2521             to inherit, "locale" is used. "locale" falls back to "en-US". "ltr" is the direction
2522             used in "en-US". The default for this attribute is "inherit". -->
2523        <attr name="layoutDirection">
2524            <!-- Left-to-Right -->
2525            <enum name="ltr" value="0" />
2526            <!-- Right-to-Left -->
2527            <enum name="rtl" value="1" />
2528            <!-- Inherit from parent -->
2529            <enum name="inherit" value="2" />
2530            <!-- Locale -->
2531            <enum name="locale" value="3" />
2532        </attr>
2533
2534        <!-- Defines the direction of the text. A heuristic is used to determine the resolved text
2535              direction of paragraphs. -->
2536         <attr name="textDirection" format="integer">
2537            <!-- Default -->
2538            <enum name="inherit" value="0" />
2539            <!-- Default for the root view. The first strong directional character determines the
2540                 paragraph direction.  If there is no strong directional character, the paragraph
2541                 direction is the view’s resolved layout direction. -->
2542            <enum name="firstStrong" value="1" />
2543            <!-- The paragraph direction is RTL if it contains any strong RTL character, otherwise
2544                 it is LTR if it contains any strong LTR characters.  If there are neither, the
2545                 paragraph direction is the view’s resolved layout direction. -->
2546            <enum name="anyRtl" value="2" />
2547            <!-- The paragraph direction is left to right. -->
2548            <enum name="ltr" value="3" />
2549            <!-- The paragraph direction is right to left. -->
2550            <enum name="rtl" value="4" />
2551            <!-- The paragraph direction is coming from the system Locale. -->
2552            <enum name="locale" value="5" />
2553            <!-- The first strong directional character determines the paragraph direction. If
2554                 there is no strong directional character, the paragraph direction is LTR. -->
2555            <enum name="firstStrongLtr" value="6" />
2556            <!-- The first strong directional character determines the paragraph direction. If
2557                 there is no strong directional character, the paragraph direction is RTL. -->
2558            <enum name="firstStrongRtl" value="7" />
2559        </attr>
2560
2561        <!-- Defines the alignment of the text. A heuristic is used to determine the resolved
2562            text alignment. -->
2563        <attr name="textAlignment" format="integer">
2564            <!-- Default -->
2565            <enum name="inherit" value="0" />
2566            <!-- Default for the root view. The gravity determines the alignment, ALIGN_NORMAL,
2567                ALIGN_CENTER, or ALIGN_OPPOSITE, which are relative to each paragraph’s
2568                text direction -->
2569            <enum name="gravity" value="1" />
2570            <!-- Align to the start of the paragraph, e.g. ALIGN_NORMAL. -->
2571            <enum name="textStart" value="2" />
2572            <!-- Align to the end of the paragraph, e.g. ALIGN_OPPOSITE. -->
2573            <enum name="textEnd" value="3" />
2574            <!-- Center the paragraph, e.g. ALIGN_CENTER. -->
2575            <enum name="center" value="4" />
2576            <!-- Align to the start of the view, which is ALIGN_LEFT if the view’s resolved
2577                layoutDirection is LTR, and ALIGN_RIGHT otherwise. -->
2578            <enum name="viewStart" value="5" />
2579            <!-- Align to the end of the view, which is ALIGN_RIGHT if the view’s resolved
2580                layoutDirection is LTR, and ALIGN_LEFT otherwise -->
2581            <enum name="viewEnd" value="6" />
2582        </attr>
2583
2584        <!-- Controls how this View is important for accessibility which is if it fires
2585             accessibility events and if it is reported to accessibility services that
2586             query the screen. Note: While not recommended, an accessibility service may
2587             decide to ignore this attribute and operate on all views in the view tree. -->
2588        <attr name="importantForAccessibility" format="integer">
2589            <!-- The system determines whether the view is important for accessibility - default
2590                 (recommended). -->
2591            <enum name="auto" value="0" />
2592            <!-- The view is important for accessibility. -->
2593            <enum name="yes" value="1" />
2594            <!-- The view is not important for accessibility. -->
2595            <enum name="no" value="2" />
2596            <!-- The view is not important for accessibility, nor are any of its descendant
2597                 views. -->
2598            <enum name="noHideDescendants" value="4" />
2599        </attr>
2600
2601        <!-- Indicates to accessibility services whether the user should be notified when
2602             this view changes. -->
2603        <attr name="accessibilityLiveRegion" format="integer">
2604            <!-- Accessibility services should not announce changes to this view. -->
2605            <enum name="none" value="0" />
2606            <!-- Accessibility services should announce changes to this view. -->
2607            <enum name="polite" value="1" />
2608            <!-- Accessibility services should interrupt ongoing speech to immediately
2609                 announce changes to this view. -->
2610            <enum name="assertive" value="2" />
2611        </attr>
2612
2613        <!-- Specifies the id of a view for which this view serves as a label for
2614             accessibility purposes. For example, a TextView before an EditText in
2615             the UI usually specifies what infomation is contained in the EditText.
2616             Hence, the TextView is a label for the EditText. -->
2617        <attr name="labelFor" format="reference" />
2618
2619        <!-- Specifies a theme override for a view. When a theme override is set, the
2620             view will be inflated using a {@link android.content.Context} themed with
2621             the specified resource. During XML inflation, any child views under the
2622             view with a theme override will inherit the themed context. -->
2623        <attr name="theme" />
2624
2625        <!-- Names a View such that it can be identified for Transitions. Names should be
2626             unique in the View hierarchy. -->
2627        <attr name="transitionName" format="string" />
2628
2629        <!-- Specifies that this view should permit nested scrolling within a compatible
2630             ancestor view. -->
2631        <attr name="nestedScrollingEnabled" format="boolean" />
2632
2633        <!-- Sets the state-based animator for the View. -->
2634        <attr name="stateListAnimator" format="reference"/>
2635
2636        <!-- Tint to apply to the background. -->
2637        <attr name="backgroundTint" format="color" />
2638
2639        <!-- Blending mode used to apply the background tint. -->
2640        <attr name="backgroundTintMode">
2641            <!-- The tint is drawn on top of the drawable.
2642                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
2643            <enum name="src_over" value="3" />
2644            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
2645                 color channels are thrown out. [Sa * Da, Sc * Da] -->
2646            <enum name="src_in" value="5" />
2647            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
2648                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
2649            <enum name="src_atop" value="9" />
2650            <!-- Multiplies the color and alpha channels of the drawable with those of
2651                 the tint. [Sa * Da, Sc * Dc] -->
2652            <enum name="multiply" value="14" />
2653            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
2654            <enum name="screen" value="15" />
2655            <!-- Combines the tint and drawable color and alpha channels, clamping the
2656                 result to valid color values. Saturate(S + D) -->
2657            <enum name="add" value="16" />
2658        </attr>
2659
2660        <!-- ViewOutlineProvider used to determine the View's Outline. -->
2661        <attr name="outlineProvider">
2662            <!-- Default, background drawable-driven outline. -->
2663            <enum name="background" value="0" />
2664            <!-- No outline provider. -->
2665            <enum name="none" value="1" />
2666            <!-- Generates an opaque outline for the bounds of the view. -->
2667            <enum name="bounds" value="2" />
2668            <!-- Generates an opaque outline for the padded bounds of the view. -->
2669            <enum name="paddedBounds" value="3" />
2670        </attr>
2671
2672        <!-- Defines the drawable to draw over the content. This can be used as an overlay.
2673             The foreground drawable participates in the padding of the content if the gravity
2674             is set to fill. -->
2675        <attr name="foreground" format="reference|color" />
2676        <!-- Defines the gravity to apply to the foreground drawable. The gravity defaults
2677             to fill. -->
2678        <attr name="foregroundGravity">
2679            <!-- Push object to the top of its container, not changing its size. -->
2680            <flag name="top" value="0x30" />
2681            <!-- Push object to the bottom of its container, not changing its size. -->
2682            <flag name="bottom" value="0x50" />
2683            <!-- Push object to the left of its container, not changing its size. -->
2684            <flag name="left" value="0x03" />
2685            <!-- Push object to the right of its container, not changing its size. -->
2686            <flag name="right" value="0x05" />
2687            <!-- Place object in the vertical center of its container, not changing its size. -->
2688            <flag name="center_vertical" value="0x10" />
2689            <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
2690            <flag name="fill_vertical" value="0x70" />
2691            <!-- Place object in the horizontal center of its container, not changing its size. -->
2692            <flag name="center_horizontal" value="0x01" />
2693            <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
2694            <flag name="fill_horizontal" value="0x07" />
2695            <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
2696            <flag name="center" value="0x11" />
2697            <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
2698            <flag name="fill" value="0x77" />
2699            <!-- Additional option that can be set to have the top and/or bottom edges of
2700                 the child clipped to its container's bounds.
2701                 The clip will be based on the vertical gravity: a top gravity will clip the bottom
2702                 edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
2703            <flag name="clip_vertical" value="0x80" />
2704            <!-- Additional option that can be set to have the left and/or right edges of
2705                 the child clipped to its container's bounds.
2706                 The clip will be based on the horizontal gravity: a left gravity will clip the right
2707                 edge, a right gravity will clip the left edge, and neither will clip both edges. -->
2708            <flag name="clip_horizontal" value="0x08" />
2709        </attr>
2710        <!-- Defines whether the foreground drawable should be drawn inside the padding.
2711             This property is turned on by default. -->
2712        <attr name="foregroundInsidePadding" format="boolean" />
2713        <!-- Tint to apply to the foreground. -->
2714        <attr name="foregroundTint" format="color" />
2715        <!-- Blending mode used to apply the foreground tint. -->
2716        <attr name="foregroundTintMode">
2717            <!-- The tint is drawn on top of the drawable.
2718                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
2719            <enum name="src_over" value="3" />
2720            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
2721                 color channels are thrown out. [Sa * Da, Sc * Da] -->
2722            <enum name="src_in" value="5" />
2723            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
2724                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
2725            <enum name="src_atop" value="9" />
2726            <!-- Multiplies the color and alpha channels of the drawable with those of
2727                 the tint. [Sa * Da, Sc * Dc] -->
2728            <enum name="multiply" value="14" />
2729            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
2730            <enum name="screen" value="15" />
2731            <!-- Combines the tint and drawable color and alpha channels, clamping the
2732                 result to valid color values. Saturate(S + D) -->
2733            <enum name="add" value="16" />
2734        </attr>
2735
2736        <!-- Defines which scroll indicators should be displayed when the view
2737             can be scrolled. Multiple values may be combined using logical OR,
2738             for example "top|bottom". -->
2739        <attr name="scrollIndicators">
2740            <!-- No scroll indicators are displayed. -->
2741            <flag name="none" value="0x00" />
2742            <!-- Displays top scroll indicator when view can be scrolled up. -->
2743            <flag name="top" value="0x01" />
2744            <!-- Displays bottom scroll indicator when vew can be scrolled down. -->
2745            <flag name="bottom" value="0x02" />
2746            <!-- Displays left scroll indicator when vew can be scrolled left. -->
2747            <flag name="left" value="0x04" />
2748            <!-- Displays right scroll indicator when vew can be scrolled right. -->
2749            <flag name="right" value="0x08" />
2750            <!-- Displays right scroll indicator when vew can be scrolled in the
2751                 start direction. -->
2752            <flag name="start" value="0x10" />
2753            <!-- Displays right scroll indicator when vew can be scrolled in the
2754                 end direction. -->
2755            <flag name="end" value="0x20" />
2756        </attr>
2757
2758    </declare-styleable>
2759
2760    <!-- Attributes that can be assigned to a tag for a particular View. -->
2761    <declare-styleable name="ViewTag">
2762        <!-- Specifies the key identifying a tag. This must be a resource reference. -->
2763        <attr name="id" />
2764        <!-- Specifies the value with which to tag the view. -->
2765        <attr name="value" />
2766    </declare-styleable>
2767
2768    <!-- Attributes that can be assigned to an &lt;include&gt; tag.
2769         @hide -->
2770    <declare-styleable name="Include">
2771        <attr name="id" />
2772        <attr name="visibility" />
2773    </declare-styleable>
2774
2775    <!-- Attributes that can be used with a {@link android.view.ViewGroup} or any
2776         of its subclasses.  Also see {@link #ViewGroup_Layout} for
2777         attributes that this class processes in its children. -->
2778    <declare-styleable name="ViewGroup">
2779        <!-- Defines whether changes in layout (caused by adding and removing items) should
2780             cause a LayoutTransition to run. When this flag is set to true, a default
2781             LayoutTransition object will be set on the ViewGroup container and default
2782             animations will run when these layout changes occur.-->
2783        <attr name="animateLayoutChanges" format="boolean" />
2784        <!-- Defines whether a child is limited to draw inside of its bounds or not.
2785             This is useful with animations that scale the size of the children to more
2786             than 100% for instance. In such a case, this property should be set to false
2787             to allow the children to draw outside of their bounds. The default value of
2788             this property is true. -->
2789        <attr name="clipChildren" format="boolean" />
2790        <!-- Defines whether the ViewGroup will clip its children and resize (but not clip) any
2791             EdgeEffect to its padding, if padding is not zero. This property is set to true by
2792             default. -->
2793        <attr name="clipToPadding" format="boolean" />
2794        <!-- Defines the layout animation to use the first time the ViewGroup is laid out.
2795             Layout animations can also be started manually after the first layout. -->
2796        <attr name="layoutAnimation" format="reference" />
2797        <!-- Defines whether layout animations should create a drawing cache for their
2798             children. Enabling the animation cache consumes more memory and requires
2799             a longer initialization but provides better performance. The animation
2800             cache is enabled by default. -->
2801        <attr name="animationCache" format="boolean" />
2802        <!-- Defines the persistence of the drawing cache. The drawing cache might be
2803             enabled by a ViewGroup for all its children in specific situations (for
2804             instance during a scrolling.) This property lets you persist the cache
2805             in memory after its initial usage. Persisting the cache consumes more
2806             memory but may prevent frequent garbage collection is the cache is created
2807             over and over again. By default the persistence is set to scrolling. -->
2808        <attr name="persistentDrawingCache">
2809            <!-- The drawing cache is not persisted after use. -->
2810            <flag name="none" value="0x0" />
2811            <!-- The drawing cache is persisted after a layout animation. -->
2812            <flag name="animation" value="0x1" />
2813            <!-- The drawing cache is persisted after a scroll. -->
2814            <flag name="scrolling" value="0x2" />
2815            <!-- The drawing cache is always persisted. -->
2816            <flag name="all" value="0x3" />
2817        </attr>
2818        <!-- Defines whether the ViewGroup should always draw its children using their
2819             drawing cache or not. The default value is true. -->
2820        <attr name="alwaysDrawnWithCache" format="boolean" />
2821        <!-- Sets whether this ViewGroup's drawable states also include
2822             its children's drawable states.  This is used, for example, to
2823             make a group appear to be focused when its child EditText or button
2824             is focused. -->
2825        <attr name="addStatesFromChildren" format="boolean" />
2826
2827        <!-- Defines the relationship between the ViewGroup and its descendants
2828             when looking for a View to take focus. -->
2829        <attr name="descendantFocusability">
2830            <!-- The ViewGroup will get focus before any of its descendants. -->
2831            <enum name="beforeDescendants" value="0" />
2832            <!-- The ViewGroup will get focus only if none of its descendants want it. -->
2833            <enum name="afterDescendants" value="1" />
2834            <!-- The ViewGroup will block its descendants from receiving focus. -->
2835            <enum name="blocksDescendants" value="2" />
2836        </attr>
2837
2838        <!-- Set to true if this ViewGroup blocks focus in the presence of a touchscreen. -->
2839        <attr name="touchscreenBlocksFocus" format="boolean" />
2840
2841        <!-- Sets whether this ViewGroup should split MotionEvents
2842             to separate child views during touch event dispatch.
2843             If false (default), touch events will be dispatched to
2844             the child view where the first pointer went down until
2845             the last pointer goes up.
2846             If true, touch events may be dispatched to multiple children.
2847             MotionEvents for each pointer will be dispatched to the child
2848             view where the initial ACTION_DOWN event happened.
2849             See {@link android.view.ViewGroup#setMotionEventSplittingEnabled(boolean)}
2850             for more information. -->
2851        <attr name="splitMotionEvents" format="boolean" />
2852
2853        <!-- Defines the layout mode of this ViewGroup. -->
2854        <attr name="layoutMode">
2855            <!-- Use the children's clip bounds when laying out this container. -->
2856            <enum name="clipBounds" value="0" />
2857            <!-- Use the children's optical bounds when laying out this container. -->
2858            <enum name="opticalBounds" value="1" />
2859        </attr>
2860
2861        <!-- Sets whether or not this ViewGroup should be treated as a single entity
2862             when doing an Activity transition. Typically, the elements inside a
2863             ViewGroup are each transitioned from the scene individually. The default
2864             for a ViewGroup is false unless it has a background. See
2865             {@link android.app.ActivityOptions#makeSceneTransitionAnimation(android.app.Activity,
2866             android.view.View, String)} for more information. Corresponds to
2867             {@link android.view.ViewGroup#setTransitionGroup(boolean)}.-->
2868        <attr name="transitionGroup" format="boolean" />
2869    </declare-styleable>
2870
2871    <!-- A {@link android.view.ViewStub} lets you lazily include other XML layouts
2872         inside your application at runtime. -->
2873    <declare-styleable name="ViewStub">
2874        <!-- Supply an identifier name for this view. -->
2875        <attr name="id" />
2876        <!-- Supply an identifier for the layout resource to inflate when the ViewStub
2877             becomes visible or when forced to do so. The layout resource must be a
2878             valid reference to a layout. -->
2879        <attr name="layout" format="reference" />
2880        <!-- Overrides the id of the inflated View with this value. -->
2881        <attr name="inflatedId" format="reference" />
2882    </declare-styleable>
2883
2884    <!-- ===================================== -->
2885    <!-- View package parent layout attributes -->
2886    <!-- ===================================== -->
2887    <eat-comment />
2888
2889    <!-- This is the basic set of layout attributes that are common to all
2890         layout managers.  These attributes are specified with the rest of
2891         a view's normal attributes (such as {@link android.R.attr#background},
2892         but will be parsed by the view's parent and ignored by the child.
2893        <p>The values defined here correspond to the base layout attribute
2894        class {@link android.view.ViewGroup.LayoutParams}. -->
2895    <declare-styleable name="ViewGroup_Layout">
2896        <!-- Specifies the basic width of the view.  This is a required attribute
2897             for any view inside of a containing layout manager.  Its value may
2898             be a dimension (such as "12dip") for a constant width or one of
2899             the special constants. -->
2900        <attr name="layout_width" format="dimension">
2901            <!-- The view should be as big as its parent (minus padding).
2902                 This constant is deprecated starting from API Level 8 and
2903                 is replaced by {@code match_parent}. -->
2904            <enum name="fill_parent" value="-1" />
2905            <!-- The view should be as big as its parent (minus padding).
2906                 Introduced in API Level 8. -->
2907            <enum name="match_parent" value="-1" />
2908            <!-- The view should be only big enough to enclose its content (plus padding). -->
2909            <enum name="wrap_content" value="-2" />
2910        </attr>
2911
2912        <!-- Specifies the basic height of the view.  This is a required attribute
2913             for any view inside of a containing layout manager.  Its value may
2914             be a dimension (such as "12dip") for a constant height or one of
2915             the special constants. -->
2916        <attr name="layout_height" format="dimension">
2917            <!-- The view should be as big as its parent (minus padding).
2918                 This constant is deprecated starting from API Level 8 and
2919                 is replaced by {@code match_parent}. -->
2920            <enum name="fill_parent" value="-1" />
2921            <!-- The view should be as big as its parent (minus padding).
2922                 Introduced in API Level 8. -->
2923            <enum name="match_parent" value="-1" />
2924            <!-- The view should be only big enough to enclose its content (plus padding). -->
2925            <enum name="wrap_content" value="-2" />
2926        </attr>
2927    </declare-styleable>
2928
2929    <!-- This is the basic set of layout attributes for layout managers that
2930         wish to place margins around their child views.
2931         These attributes are specified with the rest of
2932         a view's normal attributes (such as {@link android.R.attr#background},
2933         but will be parsed by the view's parent and ignored by the child.
2934        <p>The values defined here correspond to the base layout attribute
2935        class {@link android.view.ViewGroup.MarginLayoutParams}. -->
2936    <declare-styleable name="ViewGroup_MarginLayout">
2937        <attr name="layout_width" />
2938        <attr name="layout_height" />
2939        <!--  Specifies extra space on the left, top, right and bottom
2940              sides of this view. This space is outside this view's bounds.
2941              Margin values should be positive. -->
2942        <attr name="layout_margin" format="dimension"  />
2943        <!--  Specifies extra space on the left side of this view.
2944              This space is outside this view's bounds.
2945              Margin values should be positive. -->
2946        <attr name="layout_marginLeft" format="dimension"  />
2947        <!--  Specifies extra space on the top side of this view.
2948              This space is outside this view's bounds.
2949              Margin values should be positive.-->
2950        <attr name="layout_marginTop" format="dimension" />
2951        <!--  Specifies extra space on the right side of this view.
2952              This space is outside this view's bounds.
2953              Margin values should be positive.-->
2954        <attr name="layout_marginRight" format="dimension"  />
2955        <!--  Specifies extra space on the bottom side of this view.
2956              This space is outside this view's bounds.
2957              Margin values should be positive.-->
2958        <attr name="layout_marginBottom" format="dimension"  />
2959        <!--  Specifies extra space on the start side of this view.
2960              This space is outside this view's bounds.
2961              Margin values should be positive.-->
2962        <attr name="layout_marginStart" format="dimension"  />
2963        <!--  Specifies extra space on the end side of this view.
2964              This space is outside this view's bounds.
2965              Margin values should be positive.-->
2966        <attr name="layout_marginEnd" format="dimension"  />
2967    </declare-styleable>
2968
2969    <!-- Use <code>input-method</code> as the root tag of the XML resource that
2970         describes an
2971         {@link android.view.inputmethod.InputMethod} service, which is
2972         referenced from its
2973         {@link android.view.inputmethod.InputMethod#SERVICE_META_DATA}
2974         meta-data entry.  Described here are the attributes that can be
2975         included in that tag. -->
2976    <declare-styleable name="InputMethod">
2977        <!-- Component name of an activity that allows the user to modify
2978             the settings for this service. -->
2979        <attr name="settingsActivity" format="string" />
2980        <!-- Set to true in all of the configurations for which this input
2981             method should be considered an option as the default. -->
2982        <attr name="isDefault" format="boolean" />
2983        <!-- Set to true if this input method supports ways to switch to
2984             a next input method (e.g. a globe key.). When this is true and
2985             InputMethodManager#shouldOfferSwitchingToNextInputMethod() returns true,
2986             the IME has to offer ways to invoke InputMethodManager#switchToNextInputMethod()
2987             accordingly.
2988             <p> Note that the system determines the most appropriate next input method
2989             and subtype in order to provide the consistent user experience in switching
2990             between IMEs and subtypes. -->
2991        <attr name="supportsSwitchingToNextInputMethod" format="boolean" />
2992    </declare-styleable>
2993
2994    <!-- This is the subtype of InputMethod. Subtype can describe locales (e.g. en_US, fr_FR...)
2995         and modes (e.g. voice, keyboard...), and is used for IME switch. This subtype allows
2996         the system to call the specified subtype of the IME directly. -->
2997    <declare-styleable name="InputMethod_Subtype">
2998        <!-- The name of the subtype. -->
2999        <attr name="label" />
3000        <!-- The icon of the subtype. -->
3001        <attr name="icon" />
3002        <!-- The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...)
3003             and will be passed to the IME when the framework calls the IME
3004             with the subtype. This is also used by the framework to know the supported locales
3005             of the IME.  -->
3006        <attr name="imeSubtypeLocale" format="string" />
3007        <!-- The mode of the subtype. This string can be a mode (e.g. voice, keyboard...) and this
3008             string will be passed to the IME when the framework calls the IME with the
3009             subtype.  -->
3010        <attr name="imeSubtypeMode" format="string" />
3011        <!-- Set true if the subtype is auxiliary.  An auxiliary subtype won't be shown in the
3012             input method selection list in the settings app.
3013             InputMethodManager#switchToLastInputMethod will ignore auxiliary subtypes when it
3014             chooses a target subtype. -->
3015        <attr name="isAuxiliary" format="boolean" />
3016        <!-- Set true when this subtype should be selected by default if no other subtypes are
3017             selected explicitly. Note that a subtype with this parameter being true will
3018             not be shown in the subtypes list. -->
3019        <attr name="overridesImplicitlyEnabledSubtype" format="boolean" />
3020        <!-- The extra value of the subtype. This string can be any string and will be passed to
3021             the IME when the framework calls the IME with the subtype.  -->
3022        <attr name="imeSubtypeExtraValue" format="string" />
3023        <!-- The unique id for the subtype. The input method framework keeps track of enabled
3024             subtypes by ID. When the IME package gets upgraded, enabled IDs will stay enabled even
3025             if other attributes are different. If the ID is unspecified (by calling the other
3026             constructor or 0. Arrays.hashCode(new Object[] {locale, mode, extraValue,
3027             isAuxiliary, overridesImplicitlyEnabledSubtype}) will be used instead. -->
3028        <attr name="subtypeId" format="integer"/>
3029        <!-- Set to true if this subtype is ASCII capable. If the subtype is ASCII
3030             capable, it should guarantee that the user can input ASCII characters with
3031             this subtype. This is important because many password fields only allow
3032             ASCII-characters. -->
3033        <attr name="isAsciiCapable" format="boolean" />
3034    </declare-styleable>
3035
3036    <!-- Use <code>spell-checker</code> as the root tag of the XML resource that
3037         describes an
3038         {@link android.service.textservice.SpellCheckerService} service, which is
3039         referenced from its
3040         {@link android.view.textservice.SpellCheckerSession#SERVICE_META_DATA}
3041         meta-data entry.  Described here are the attributes that can be
3042         included in that tag. -->
3043    <declare-styleable name="SpellChecker">
3044        <!-- The name of the spell checker. -->
3045        <attr name="label" />
3046        <!-- Component name of an activity that allows the user to modify
3047             the settings for this service. -->
3048        <attr name="settingsActivity"/>
3049    </declare-styleable>
3050
3051    <!-- This is the subtype of the spell checker. Subtype can describe locales (e.g. en_US, fr_FR...) -->
3052    <declare-styleable name="SpellChecker_Subtype">
3053        <!-- The name of the subtype. -->
3054        <attr name="label" />
3055        <!-- The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...)
3056             This is also used by the framework to know the supported locales
3057             of the spell checker.  -->
3058        <attr name="subtypeLocale" format="string" />
3059        <!-- The extra value of the subtype. This string can be any string and will be passed to
3060             the SpellChecker.  -->
3061        <attr name="subtypeExtraValue" format="string" />
3062    </declare-styleable>
3063
3064    <!-- Use <code>accessibility-service</code> as the root tag of the XML resource that
3065         describes an {@link android.accessibilityservice.AccessibilityService} service,
3066         which is referenced from its
3067         {@link android.accessibilityservice.AccessibilityService#SERVICE_META_DATA}
3068         meta-data entry. -->
3069    <declare-styleable name="AccessibilityService">
3070        <!-- The event types this serivce would like to receive as specified in
3071             {@link android.view.accessibility.AccessibilityEvent}. This setting
3072             can be changed at runtime by calling
3073             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3074             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3075        <attr name="accessibilityEventTypes">
3076            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CLICKED} events.-->
3077            <flag name="typeViewClicked" value="0x00000001" />
3078            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_LONG_CLICKED} events. -->
3079            <flag name="typeViewLongClicked" value="0x00000002" />
3080            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SELECTED} events. -->
3081            <flag name="typeViewSelected" value="0x00000004" />
3082            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_FOCUSED} events. -->
3083            <flag name="typeViewFocused" value="0x00000008" />
3084            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_CHANGED} events. -->
3085            <flag name="typeViewTextChanged" value="0x00000010" />
3086            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_STATE_CHANGED} events. -->
3087            <flag name="typeWindowStateChanged" value="0x00000020" />
3088            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_NOTIFICATION_STATE_CHANGED} events. -->
3089            <flag name="typeNotificationStateChanged" value="0x00000040" />
3090            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_ENTER} events. -->
3091            <flag name="typeViewHoverEnter" value="0x00000080" />
3092            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_EXIT} events. -->
3093            <flag name="typeViewHoverExit" value="0x00000100" />
3094            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_START} events. -->
3095            <flag name="typeTouchExplorationGestureStart" value="0x00000200" />
3096            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_END} events. -->
3097            <flag name="typeTouchExplorationGestureEnd" value="0x00000400" />
3098            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_CONTENT_CHANGED} events. -->
3099            <flag name="typeWindowContentChanged" value="0x00000800" />
3100            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SCROLLED} events. -->
3101            <flag name="typeViewScrolled" value="0x000001000" />
3102            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_SELECTION_CHANGED} events. -->
3103            <flag name="typeViewTextSelectionChanged" value="0x000002000" />
3104            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ANNOUNCEMENT} events. -->
3105            <flag name="typeAnnouncement" value="0x00004000" />
3106            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUSED} events. -->
3107            <flag name="typeViewAccessibilityFocused" value="0x00008000" />
3108            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED} events. -->
3109            <flag name="typeViewAccessibilityFocusCleared" value="0x00010000" />
3110            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY} events. -->
3111            <flag name="typeViewTextTraversedAtMovementGranularity" value="0x00020000" />
3112            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_START} events. -->
3113            <flag name="typeGestureDetectionStart" value="0x00040000" />
3114            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_END} events. -->
3115            <flag name="typeGestureDetectionEnd" value="0x00080000" />
3116            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_START} events. -->
3117            <flag name="typeTouchInteractionStart" value="0x00100000" />
3118            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_END} events. -->
3119            <flag name="typeTouchInteractionEnd" value="0x00200000" />
3120            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOWS_CHANGED} events. -->
3121            <flag name="typeWindowsChanged" value="0x00400000" />
3122            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CONTEXT_CLICKED} events. -->
3123            <flag name="typeContextClicked" value="0x00800000" />
3124            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPES_ALL_MASK} i.e. all events. -->
3125            <flag name="typeAllMask" value="0xffffffff" />
3126        </attr>
3127        <!-- Comma separated package names from which this serivce would like to receive events (leave out for all packages).
3128             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3129             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3130        <attr name="packageNames" format="string" />
3131        <!-- The feedback types this serivce provides as specified in
3132             {@link android.accessibilityservice.AccessibilityServiceInfo}. This setting
3133             can be changed at runtime by calling
3134             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3135             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3136        <attr name="accessibilityFeedbackType">
3137            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_SPOKEN} feedback. -->
3138            <flag name="feedbackSpoken" value="0x00000001" />
3139            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_HAPTIC} feedback. -->
3140            <flag name="feedbackHaptic" value="0x00000002" />
3141            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_AUDIBLE} feedback. -->
3142            <flag name="feedbackAudible" value="0x00000004" />
3143            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_VISUAL} feedback. -->
3144            <flag name="feedbackVisual" value="0x00000008" />
3145            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_GENERIC} feedback. -->
3146            <flag name="feedbackGeneric" value="0x00000010" />
3147            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_ALL_MASK} feedback. -->
3148            <flag name="feedbackAllMask" value="0xffffffff" />
3149        </attr>
3150        <!-- The minimal period in milliseconds between two accessibility events of the same type
3151             are sent to this serivce. This setting can be changed at runtime by calling
3152             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3153             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3154        <attr name="notificationTimeout" format="integer" />
3155        <!-- Additional flags as specified in
3156             {@link android.accessibilityservice.AccessibilityServiceInfo}.
3157             This setting can be changed at runtime by calling
3158             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3159             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3160        <attr name="accessibilityFlags">
3161            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#DEFAULT} -->
3162            <flag name="flagDefault" value="0x00000001" />
3163            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_INCLUDE_NOT_IMPORTANT_VIEWS} -->
3164            <flag name="flagIncludeNotImportantViews" value="0x00000002" />
3165            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} -->
3166            <flag name="flagRequestTouchExplorationMode" value="0x00000004" />
3167            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} -->
3168            <flag name="flagRequestEnhancedWebAccessibility" value="0x00000008" />
3169            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REPORT_VIEW_IDS} -->
3170            <flag name="flagReportViewIds" value="0x00000010" />
3171            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} -->
3172            <flag name="flagRequestFilterKeyEvents" value="0x00000020" />
3173            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_RETRIEVE_INTERACTIVE_WINDOWS} -->
3174            <flag name="flagRetrieveInteractiveWindows" value="0x00000040" />
3175        </attr>
3176        <!-- Component name of an activity that allows the user to modify
3177             the settings for this service. This setting cannot be changed at runtime. -->
3178        <attr name="settingsActivity" />
3179        <!-- Attribute whether the accessibility service wants to be able to retrieve the
3180             active window content. This setting cannot be changed at runtime. -->
3181        <attr name="canRetrieveWindowContent" format="boolean" />
3182        <!-- Attribute whether the accessibility service wants to be able to request touch
3183             exploration mode in which touched items are spoken aloud and the UI can be
3184             explored via gestures.
3185             <p>
3186             Required to allow setting the {@link android.accessibilityservice
3187             #AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} flag.
3188             </p>
3189         -->
3190        <attr name="canRequestTouchExplorationMode" format="boolean" />
3191        <!-- Attribute whether the accessibility service wants to be able to request enhanced
3192             web accessibility enhancements. For example, installing scripts to make app
3193             content more accessible.
3194             <p>
3195             Required to allow setting the {@link android.accessibilityservice
3196             #AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} flag.
3197             </p>
3198         -->
3199        <attr name="canRequestEnhancedWebAccessibility" format="boolean" />
3200        <!-- Attribute whether the accessibility service wants to be able to request to
3201             filter key events.
3202             <p>
3203             Required to allow setting the {@link android.accessibilityservice
3204             #AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} flag.
3205             </p>
3206         -->
3207        <attr name="canRequestFilterKeyEvents" format="boolean" />
3208        <!-- Short description of the accessibility serivce purpose or behavior.-->
3209        <attr name="description" />
3210    </declare-styleable>
3211
3212    <!-- Use <code>print-service</code> as the root tag of the XML resource that
3213         describes an {@link android.printservice.PrintService} service, which is
3214         referenced from its {@link android.printservice.PrintService#SERVICE_META_DATA}
3215         meta-data entry. -->
3216    <declare-styleable name="PrintService">
3217        <!-- Fully qualified class name of an activity that allows the user to modify
3218             the settings for this service. -->
3219        <attr name="settingsActivity" />
3220        <!-- Fully qualified class name of an activity that allows the user to manually
3221             add printers to this print service. -->
3222        <attr name="addPrintersActivity" format="string"/>
3223        <!-- Fully qualified class name of an activity with advanced print options
3224             specific to this print service. -->
3225        <attr name="advancedPrintOptionsActivity" format="string"/>
3226        <!-- The vendor name if this print service is vendor specific. -->
3227        <attr name="vendor" format="string"/>
3228    </declare-styleable>
3229
3230    <!-- Use <code>host-apdu-service</code> as the root tag of the XML resource that
3231         describes an {@link android.nfc.cardemulation.HostApduService} service, which
3232         is referenced from its {@link android.nfc.cardemulation.HostApduService#SERVICE_META_DATA}
3233         entry. -->
3234    <declare-styleable name="HostApduService">
3235        <!-- Short description of the functionality the service implements. This attribute
3236             is mandatory.-->
3237        <attr name="description" />
3238        <!-- Whether the device must be unlocked before routing data to this service.
3239             The default is false.-->
3240        <attr name="requireDeviceUnlock" format="boolean"/>
3241        <!-- A drawable that can be rendered in Android's system UI for representing
3242             the service. -->
3243        <attr name="apduServiceBanner" format="reference"/>
3244        <!-- Component name of an activity that allows the user to modify
3245             the settings for this service. -->
3246        <attr name="settingsActivity"/>
3247    </declare-styleable>
3248
3249    <!-- Use <code>offhost-apdu-service</code> as the root tag of the XML resource that
3250         describes an {@link android.nfc.cardemulation.OffHostApduService}
3251         service, which is referenced from its
3252         {@link android.nfc.cardemulation.OffHostApduService#SERVICE_META_DATA} entry. -->
3253    <declare-styleable name="OffHostApduService">
3254        <!-- Short description of the functionality the service implements. This attribute
3255             is mandatory.-->
3256        <attr name="description" />
3257        <!-- A drawable that can be rendered in Android's system UI for representing
3258             the service. -->
3259        <attr name="apduServiceBanner"/>
3260        <!-- Component name of an activity that allows the user to modify
3261             the settings for this service. -->
3262        <attr name="settingsActivity"/>
3263    </declare-styleable>
3264
3265    <!-- Specify one or more <code>aid-group</code> elements inside a
3266         <code>host-apdu-service</code> or <code>offhost-apdu-service</code>
3267         element to define a group of ISO7816 Application ID (AIDs) that
3268         your service can handle.-->
3269    <declare-styleable name="AidGroup">
3270        <!-- Short description of what the AID group implements. This attribute is mandatory.-->
3271        <attr name="description" />
3272        <!-- The category attribute will be used by the Android platform to present
3273             multiple applications that register ISO 7816 Application IDs (AIDs) in the
3274             same category uniformly.
3275             Additionally, when a category is specified, Android will ensure that either
3276             all AIDs in this group are routed to this application, or none at all.
3277             This attribute is optional.-->
3278        <attr name="category" format="string" />
3279    </declare-styleable>
3280
3281    <!-- Specify one or more <code>aid-filter</code> elements inside a
3282         <code>aid-group</code> element to specify an ISO7816 Application ID (AID)
3283         your service can handle. -->
3284    <declare-styleable name="AidFilter">
3285        <!-- The ISO7816 Application ID. This attribute is mandatory. -->
3286        <attr name="name" />
3287    </declare-styleable>
3288
3289    <!-- Specify one or more <code>aid-prefix-filter</code> elements inside a
3290         <code>aid-group</code> element to specify an ISO7816 Application ID (AID)
3291         prefix your service can handle. -->
3292    <declare-styleable name="AidPrefixFilter">
3293        <!-- The ISO7816 Application ID. This attribute is mandatory. -->
3294        <attr name="name" />
3295    </declare-styleable>
3296
3297    <declare-styleable name="ActionMenuItemView">
3298        <attr name="minWidth" />
3299    </declare-styleable>
3300
3301    <!-- =============================== -->
3302    <!-- Widget package class attributes -->
3303    <!-- =============================== -->
3304    <eat-comment />
3305
3306    <declare-styleable name="AbsListView">
3307         <!-- Drawable used to indicate the currently selected item in the list. -->
3308        <attr name="listSelector" format="color|reference" />
3309        <!-- When set to true, the selector will be drawn over the selected item.
3310             Otherwise the selector is drawn behind the selected item. The default
3311             value is false. -->
3312        <attr name="drawSelectorOnTop" format="boolean" />
3313        <!-- Used by ListView and GridView to stack their content from the bottom. -->
3314        <attr name="stackFromBottom" format="boolean" />
3315        <!-- When set to true, the list uses a drawing cache during scrolling.
3316             This makes the rendering faster but uses more memory. The default
3317             value is true. -->
3318        <attr name="scrollingCache" format="boolean" />
3319        <!-- When set to true, the list will filter results as the user types. The
3320             List's adapter must support the Filterable interface for this to work. -->
3321        <attr name="textFilterEnabled" format="boolean" />
3322        <!-- Sets the transcript mode for the list. In transcript mode, the list
3323             scrolls to the bottom to make new items visible when they are added. -->
3324        <attr name="transcriptMode">
3325            <!-- Disables transcript mode. This is the default value. -->
3326            <enum name="disabled" value="0"/>
3327            <!-- The list will automatically scroll to the bottom when
3328                 a data set change notification is received and only if the last item is
3329                 already visible on screen. -->
3330            <enum name="normal" value="1" />
3331            <!-- The list will automatically scroll to the bottom, no matter what items
3332                 are currently visible. -->
3333            <enum name="alwaysScroll" value="2" />
3334        </attr>
3335        <!-- Indicates that this list will always be drawn on top of solid, single-color
3336             opaque background. This allows the list to optimize drawing. -->
3337        <attr name="cacheColorHint" format="color" />
3338        <!-- Enables the fast scroll thumb that can be dragged to quickly scroll through
3339             the list. -->
3340        <attr name="fastScrollEnabled" format="boolean" />
3341        <!-- Specifies the style of the fast scroll decorations. -->
3342        <attr name="fastScrollStyle" format="reference" />
3343        <!-- When set to true, the list will use a more refined calculation
3344             method based on the pixels height of the items visible on screen. This
3345             property is set to true by default but should be set to false if your adapter
3346             will display items of varying heights. When this property is set to true and
3347             your adapter displays items of varying heights, the scrollbar thumb will
3348             change size as the user scrolls through the list. When set to fale, the list
3349             will use only the number of items in the adapter and the number of items visible
3350             on screen to determine the scrollbar's properties. -->
3351        <attr name="smoothScrollbar" format="boolean" />
3352        <!-- Defines the choice behavior for the view. By default, lists do not have
3353             any choice behavior. By setting the choiceMode to singleChoice, the list
3354             allows up to one item to be in a chosen state. By setting the choiceMode to
3355             multipleChoice, the list allows any number of items to be chosen.
3356             Finally, by setting the choiceMode to multipleChoiceModal the list allows
3357             any number of items to be chosen in a special selection mode.
3358             The application will supply a
3359             {@link android.widget.AbsListView.MultiChoiceModeListener} using
3360             {@link android.widget.AbsListView#setMultiChoiceModeListener} to control the
3361             selection mode. This uses the {@link android.view.ActionMode} API. -->
3362        <attr name="choiceMode">
3363            <!-- Normal list that does not indicate choices. -->
3364            <enum name="none" value="0" />
3365            <!-- The list allows up to one choice. -->
3366            <enum name="singleChoice" value="1" />
3367            <!-- The list allows multiple choices. -->
3368            <enum name="multipleChoice" value="2" />
3369            <!-- The list allows multiple choices in a custom selection mode. -->
3370            <enum name="multipleChoiceModal" value="3" />
3371        </attr>
3372
3373        <!-- When set to true, the list will always show the fast scroll interface.
3374             This setting implies fastScrollEnabled. -->
3375        <attr name="fastScrollAlwaysVisible" format="boolean" />
3376    </declare-styleable>
3377    <declare-styleable name="AbsSpinner">
3378        <!-- Reference to an array resource that will populate the Spinner.  For static content,
3379             this is simpler than populating the Spinner programmatically. -->
3380        <attr name="entries" />
3381    </declare-styleable>
3382    <declare-styleable name="AnalogClock">
3383        <attr name="dial" format="reference"/>
3384        <attr name="hand_hour" format="reference"/>
3385        <attr name="hand_minute" format="reference"/>
3386    </declare-styleable>
3387    <declare-styleable name="Button">
3388    </declare-styleable>
3389    <declare-styleable name="Chronometer">
3390        <!-- Format string: if specified, the Chronometer will display this
3391             string, with the first "%s" replaced by the current timer value
3392             in "MM:SS" or "H:MM:SS" form.
3393             If no format string is specified, the Chronometer will simply display
3394             "MM:SS" or "H:MM:SS". -->
3395        <attr name="format" format="string" localization="suggested" />
3396    </declare-styleable>
3397    <declare-styleable name="CompoundButton">
3398        <!-- Indicates the initial checked state of this button. -->
3399        <attr name="checked" format="boolean" />
3400        <!-- Drawable used for the button graphic (e.g. checkbox, radio button, etc). -->
3401        <attr name="button" format="reference" />
3402        <!-- Tint to apply to the button graphic. -->
3403        <attr name="buttonTint" format="color" />
3404        <!-- Blending mode used to apply the button graphic tint. -->
3405        <attr name="buttonTintMode">
3406            <!-- The tint is drawn on top of the drawable.
3407                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3408            <enum name="src_over" value="3" />
3409            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3410                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3411            <enum name="src_in" value="5" />
3412            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3413                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3414            <enum name="src_atop" value="9" />
3415            <!-- Multiplies the color and alpha channels of the drawable with those of
3416                 the tint. [Sa * Da, Sc * Dc] -->
3417            <enum name="multiply" value="14" />
3418            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3419            <enum name="screen" value="15" />
3420            <!-- Combines the tint and drawable color and alpha channels, clamping the
3421                 result to valid color values. Saturate(S + D) -->
3422            <enum name="add" value="16" />
3423        </attr>
3424    </declare-styleable>
3425    <declare-styleable name="CheckedTextView">
3426        <!-- Indicates the initial checked state of this text. -->
3427        <attr name="checked" />
3428        <!-- Drawable used for the check mark graphic. -->
3429        <attr name="checkMark" format="reference"/>
3430        <!-- Tint to apply to the check mark. -->
3431        <attr name="checkMarkTint" format="color" />
3432        <!-- Blending mode used to apply the check mark tint. -->
3433        <attr name="checkMarkTintMode">
3434            <!-- The tint is drawn on top of the drawable.
3435                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3436            <enum name="src_over" value="3" />
3437            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3438                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3439            <enum name="src_in" value="5" />
3440            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3441                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3442            <enum name="src_atop" value="9" />
3443            <!-- Multiplies the color and alpha channels of the drawable with those of
3444                 the tint. [Sa * Da, Sc * Dc] -->
3445            <enum name="multiply" value="14" />
3446            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3447            <enum name="screen" value="15" />
3448            <!-- Combines the tint and drawable color and alpha channels, clamping the
3449                 result to valid color values. Saturate(S + D) -->
3450            <enum name="add" value="16" />
3451        </attr>
3452        <!-- Gravity for aligning a CheckedTextView's checkmark to one side or the other. -->
3453        <attr name="checkMarkGravity">
3454            <!-- Push object to the left of its container, not changing its size. -->
3455            <flag name="left" value="0x03" />
3456            <!-- Push object to the right of its container, not changing its size. -->
3457            <flag name="right" value="0x05" />
3458            <!-- Push object to the beginning of its container, not changing its size. -->
3459            <flag name="start" value="0x00800003" />
3460            <!-- Push object to the end of its container, not changing its size. -->
3461            <flag name="end" value="0x00800005" />
3462        </attr>
3463    </declare-styleable>
3464    <declare-styleable name="EditText">
3465    </declare-styleable>
3466    <declare-styleable name="FastScroll">
3467        <!-- Drawable used for the scroll bar thumb. -->
3468        <attr name="thumbDrawable" format="reference" />
3469        <!-- Minimum width of the thumb. -->
3470        <attr name="thumbMinWidth" format="dimension" />
3471        <!-- Minimum height of the thumb. -->
3472        <attr name="thumbMinHeight" format="dimension" />
3473        <!-- Drawable used for the scroll bar track. -->
3474        <attr name="trackDrawable" format="reference" />
3475        <!-- Drawable used for the section header preview when right-aligned. -->
3476        <attr name="backgroundRight" format="reference" />
3477        <!-- Drawable used for the section header preview when left-aligned. -->
3478        <attr name="backgroundLeft" format="reference" />
3479        <!-- Position of section header preview. -->
3480        <attr name="position">
3481            <!-- Floating at the top of the content. -->
3482            <enum name="floating" value="0" />
3483            <!-- Pinned to the thumb, vertically centered with the middle of the thumb. -->
3484            <enum name="atThumb" value="1" />
3485            <!-- Pinned to the thumb, vertically centered with the top edge of the thumb. -->
3486            <enum name="aboveThumb" value="2" />
3487        </attr>
3488        <attr name="textAppearance" />
3489        <attr name="textColor" />
3490        <attr name="textSize" />
3491        <!-- Minimum width of the section header preview. -->
3492        <attr name="minWidth" />
3493        <!-- Minimum height of the section header preview. -->
3494        <attr name="minHeight" />
3495        <!-- Padding for the section header preview. -->
3496        <attr name="padding" />
3497        <!-- Position of thumb in relation to the track. -->
3498        <attr name="thumbPosition">
3499            <!-- The thumb's midpoint is anchored to the track. At its
3500                 extremes, the thumb will extend half-way outside the
3501                 track. -->
3502            <enum name="midpoint" value="0" />
3503            <!-- The thumb is entirely inside the track. At its extremes,
3504                 the thumb will be contained entirely within the track. -->
3505            <enum name="inside" value="1" />
3506        </attr>
3507    </declare-styleable>
3508    <declare-styleable name="FrameLayout">
3509        <!-- Determines whether to measure all children or just those in
3510             the VISIBLE or INVISIBLE state when measuring. Defaults to false. -->
3511        <attr name="measureAllChildren" format="boolean" />
3512    </declare-styleable>
3513    <declare-styleable name="ExpandableListView">
3514        <!-- Indicator shown beside the group View. This can be a stateful Drawable. -->
3515        <attr name="groupIndicator" format="reference" />
3516        <!-- Indicator shown beside the child View. This can be a stateful Drawable. -->
3517        <attr name="childIndicator" format="reference" />
3518        <!-- The left bound for an item's indicator. To specify a left bound specific to children,
3519             use childIndicatorLeft. -->
3520        <attr name="indicatorLeft" format="dimension" />
3521        <!-- The right bound for an item's indicator. To specify a right bound specific to children,
3522             use childIndicatorRight. -->
3523        <attr name="indicatorRight" format="dimension" />
3524        <!-- The left bound for a child's indicator. -->
3525        <attr name="childIndicatorLeft" format="dimension" />
3526        <!-- The right bound for a child's indicator. -->
3527        <attr name="childIndicatorRight" format="dimension" />
3528        <!-- Drawable or color that is used as a divider for children. (It will drawn
3529             below and above child items.) The height of this will be the same as
3530             the height of the normal list item divider. -->
3531        <attr name="childDivider" format="reference|color" />
3532        <!-- The start bound for an item's indicator. To specify a start bound specific to children,
3533             use childIndicatorStart. -->
3534        <attr name="indicatorStart" format="dimension" />
3535        <!-- The end bound for an item's indicator. To specify a right bound specific to children,
3536             use childIndicatorEnd. -->
3537        <attr name="indicatorEnd" format="dimension" />
3538        <!-- The start bound for a child's indicator. -->
3539        <attr name="childIndicatorStart" format="dimension" />
3540        <!-- The end bound for a child's indicator. -->
3541        <attr name="childIndicatorEnd" format="dimension" />
3542    </declare-styleable>
3543    <declare-styleable name="Gallery">
3544        <attr name="gravity" />
3545        <!-- Sets how long a transition animation should run (in milliseconds)
3546             when layout has changed.  Only relevant if animation is turned on. -->
3547        <attr name="animationDuration" format="integer" min="0" />
3548        <attr name="spacing" format="dimension" />
3549        <!-- Sets the alpha on the items that are not selected. -->
3550        <attr name="unselectedAlpha" format="float" />
3551    </declare-styleable>
3552    <declare-styleable name="GridView">
3553        <!-- Defines the default horizontal spacing between columns. -->
3554        <attr name="horizontalSpacing" format="dimension" />
3555        <!-- Defines the default vertical spacing between rows. -->
3556        <attr name="verticalSpacing" format="dimension" />
3557        <!-- Defines how columns should stretch to fill the available empty space, if any. -->
3558        <attr name="stretchMode">
3559            <!-- Stretching is disabled. -->
3560            <enum name="none" value="0"/>
3561            <!-- The spacing between each column is stretched. -->
3562            <enum name="spacingWidth" value="1" />
3563            <!-- Each column is stretched equally. -->
3564            <enum name="columnWidth" value="2" />
3565            <!-- The spacing between each column is uniformly stretched.. -->
3566            <enum name="spacingWidthUniform" value="3" />
3567        </attr>
3568        <!-- Specifies the fixed width for each column. -->
3569        <attr name="columnWidth" format="dimension" />
3570        <!-- Defines how many columns to show. -->
3571        <attr name="numColumns" format="integer" min="0">
3572            <!-- Display as many columns as possible to fill the available space. -->
3573            <enum name="auto_fit" value="-1" />
3574        </attr>
3575        <!-- Specifies the gravity within each cell. -->
3576        <attr name="gravity" />
3577    </declare-styleable>
3578    <declare-styleable name="ImageSwitcher">
3579    </declare-styleable>
3580    <declare-styleable name="ImageView">
3581        <!-- Sets a drawable as the content of this ImageView. -->
3582        <attr name="src" format="reference|color" />
3583        <!-- Controls how the image should be resized or moved to match the size
3584             of this ImageView.  See {@link android.widget.ImageView.ScaleType} -->
3585        <attr name="scaleType">
3586            <!-- Scale using the image matrix when drawing. See  
3587                 {@link android.widget.ImageView#setImageMatrix(Matrix)}. -->
3588            <enum name="matrix" value="0" />
3589            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#FILL}. -->
3590            <enum name="fitXY" value="1" />
3591            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#START}. -->
3592            <enum name="fitStart" value="2" />
3593            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#CENTER}. -->
3594            <enum name="fitCenter" value="3" />
3595            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#END}. -->
3596            <enum name="fitEnd" value="4" />
3597            <!-- Center the image in the view, but perform no scaling. -->
3598            <enum name="center" value="5" />
3599            <!-- Scale the image uniformly (maintain the image's aspect ratio) so both dimensions 
3600                 (width and height) of the image will be equal to or larger than the corresponding
3601                 dimension of the view (minus padding). The image is then centered in the view. -->
3602            <enum name="centerCrop" value="6" />
3603            <!-- Scale the image uniformly (maintain the image's aspect ratio) so that both
3604                 dimensions (width and height) of the image will be equal to or less than the
3605                 corresponding dimension of the view (minus padding). The image is then centered in
3606                 the view. -->
3607            <enum name="centerInside" value="7" />
3608        </attr>
3609        <!-- Set this to true if you want the ImageView to adjust its bounds
3610             to preserve the aspect ratio of its drawable. -->
3611        <attr name="adjustViewBounds" format="boolean" />
3612        <!-- An optional argument to supply a maximum width for this view.
3613             See {see android.widget.ImageView#setMaxWidth} for details. -->
3614        <attr name="maxWidth" format="dimension" />
3615        <!-- An optional argument to supply a maximum height for this view.
3616             See {see android.widget.ImageView#setMaxHeight} for details. -->
3617        <attr name="maxHeight" format="dimension" />
3618        <!-- Set a tinting color for the image. By default, the tint will blend using SRC_ATOP mode. -->
3619        <attr name="tint" format="color" />
3620        <!-- If true, the image view will be baseline aligned with based on its
3621             bottom edge. -->
3622        <attr name="baselineAlignBottom" format="boolean" />
3623         <!-- If true, the image will be cropped to fit within its padding. -->
3624        <attr name="cropToPadding" format="boolean" />
3625        <!-- The offset of the baseline within this view. See {see android.view.View#getBaseline}
3626             for details -->
3627        <attr name="baseline" format="dimension" />
3628        <!-- @hide The alpha value (0-255) set on the ImageView's drawable. Equivalent
3629             to calling ImageView.setAlpha(int), not the same as View.setAlpha(float). -->
3630        <attr name="drawableAlpha" format="integer" />
3631        <!-- Blending mode used to apply the image tint. -->
3632        <attr name="tintMode" />
3633    </declare-styleable>
3634    <declare-styleable name="ToggleButton">
3635        <!-- The text for the button when it is checked. -->
3636        <attr name="textOn" format="string" />
3637        <!-- The text for the button when it is not checked. -->
3638        <attr name="textOff" format="string" />
3639        <!-- The alpha to apply to the indicator when disabled. -->
3640        <attr name="disabledAlpha" />
3641    </declare-styleable>
3642    <declare-styleable name="RelativeLayout">
3643        <attr name="gravity" />
3644        <!-- Indicates what view should not be affected by gravity. -->
3645        <attr name="ignoreGravity" format="reference" />
3646    </declare-styleable>
3647    <declare-styleable name="LinearLayout">
3648        <!-- Should the layout be a column or a row?  Use "horizontal"
3649             for a row, "vertical" for a column.  The default is
3650             horizontal. -->
3651        <attr name="orientation" />
3652        <attr name="gravity" />
3653        <!-- When set to false, prevents the layout from aligning its children's
3654             baselines. This attribute is particularly useful when the children
3655             use different values for gravity. The default value is true. -->
3656        <attr name="baselineAligned" format="boolean" />
3657        <!-- When a linear layout is part of another layout that is baseline
3658          aligned, it can specify which of its children to baseline align to
3659          (that is, which child TextView).-->
3660        <attr name="baselineAlignedChildIndex" format="integer" min="0"/>
3661        <!-- Defines the maximum weight sum. If unspecified, the sum is computed
3662             by adding the layout_weight of all of the children. This can be
3663             used for instance to give a single child 50% of the total available
3664             space by giving it a layout_weight of 0.5 and setting the weightSum
3665             to 1.0. -->
3666        <attr name="weightSum" format="float" />
3667        <!-- When set to true, all children with a weight will be considered having
3668             the minimum size of the largest child. If false, all children are
3669             measured normally. -->
3670        <attr name="measureWithLargestChild" format="boolean" />
3671        <!-- Drawable to use as a vertical divider between buttons. -->
3672        <attr name="divider" />
3673        <!-- Setting for which dividers to show. -->
3674        <attr name="showDividers">
3675            <flag name="none" value="0" />
3676            <flag name="beginning" value="1" />
3677            <flag name="middle" value="2" />
3678            <flag name="end" value="4" />
3679        </attr>
3680        <!-- Size of padding on either end of a divider. -->
3681        <attr name="dividerPadding" format="dimension" />
3682    </declare-styleable>
3683    <declare-styleable name="GridLayout">
3684        <!-- The orientation property is not used during layout. It is only used to
3685        allocate row and column parameters when they are not specified by its children's
3686        layout paramters. GridLayout works like LinearLayout in this case;
3687        putting all the components either in a single row or in a single column -
3688        depending on the value of this flag. In the horizontal case, a columnCount
3689        property may be additionally supplied to force new rows to be created when a
3690        row is full. The rowCount attribute may be used similarly in the vertical case.
3691        The default is horizontal. -->
3692        <attr name="orientation" />
3693        <!-- The maxmimum number of rows to create when automatically positioning children. -->
3694        <attr name="rowCount" format="integer" />
3695        <!-- The maxmimum number of columns to create when automatically positioning children. -->
3696        <attr name="columnCount" format="integer" />
3697        <!-- When set to true, tells GridLayout to use default margins when none are specified
3698        in a view's layout parameters.
3699        The default value is false.
3700        See {@link android.widget.GridLayout#setUseDefaultMargins(boolean)}.-->
3701        <attr name="useDefaultMargins" format="boolean" />
3702        <!-- When set to alignMargins, causes alignment to take place between the outer
3703        boundary of a view, as defined by its margins. When set to alignBounds,
3704        causes alignment to take place between the edges of the view.
3705        The default is alignMargins.
3706        See {@link android.widget.GridLayout#setAlignmentMode(int)}.-->
3707        <attr name="alignmentMode" />
3708        <!-- When set to true, forces row boundaries to appear in the same order
3709        as row indices.
3710        The default is true.
3711        See {@link android.widget.GridLayout#setRowOrderPreserved(boolean)}.-->
3712        <attr name="rowOrderPreserved" format="boolean" />
3713        <!-- When set to true, forces column boundaries to appear in the same order
3714        as column indices.
3715        The default is true.
3716        See {@link android.widget.GridLayout#setColumnOrderPreserved(boolean)}.-->
3717        <attr name="columnOrderPreserved" format="boolean" />
3718    </declare-styleable>
3719    <declare-styleable name="ListView">
3720        <!-- Reference to an array resource that will populate the ListView.  For static content,
3721             this is simpler than populating the ListView programmatically. -->
3722        <attr name="entries" />
3723        <!-- Drawable or color to draw between list items. -->
3724        <attr name="divider" format="reference|color" />
3725        <!-- Height of the divider. Will use the intrinsic height of the divider if this
3726             is not specified. -->
3727        <attr name="dividerHeight" format="dimension" />
3728        <!-- When set to false, the ListView will not draw the divider after each header view.
3729             The default value is true. -->
3730        <attr name="headerDividersEnabled" format="boolean" />
3731        <!-- When set to false, the ListView will not draw the divider before each footer view.
3732             The default value is true. -->
3733        <attr name="footerDividersEnabled" format="boolean" />
3734        <!-- Drawable to draw above list content. -->
3735        <attr name="overScrollHeader" format="reference|color" />
3736        <!-- Drawable to draw below list content. -->
3737        <attr name="overScrollFooter" format="reference|color" />
3738    </declare-styleable>
3739    <declare-styleable name="PreferenceFrameLayout">
3740        <!-- Padding to use at the top of the prefs content. -->
3741        <attr name="borderTop" format="dimension" />
3742        <!-- Padding to use at the bottom of the prefs content. -->
3743        <attr name="borderBottom" format="dimension" />
3744        <!-- Padding to use at the left of the prefs content. -->
3745        <attr name="borderLeft" format="dimension" />
3746        <!-- Padding to use at the right of the prefs content. -->
3747        <attr name="borderRight" format="dimension" />
3748    </declare-styleable>
3749    <declare-styleable name="PreferenceFrameLayout_Layout">
3750        <!-- Padding to use at the top of the prefs content. -->
3751        <attr name="layout_removeBorders" format="boolean" />
3752    </declare-styleable>
3753    <declare-styleable name="MenuView">
3754        <!-- Default appearance of menu item text. -->
3755        <attr name="itemTextAppearance" format="reference" />
3756        <!-- Default horizontal divider between rows of menu items. -->
3757        <attr name="horizontalDivider" format="reference" />
3758        <!-- Default vertical divider between menu items. -->
3759        <attr name="verticalDivider" format="reference" />
3760        <!-- Default background for the menu header. -->
3761        <attr name="headerBackground" format="color|reference" />
3762        <!-- Default background for each menu item. -->
3763        <attr name="itemBackground" format="color|reference" />
3764        <!-- Default animations for the menu. -->
3765        <attr name="windowAnimationStyle" />
3766        <!-- Default disabled icon alpha for each menu item that shows an icon. -->
3767        <attr name="itemIconDisabledAlpha" format="float" />
3768        <!-- Whether space should be reserved in layout when an icon is missing. -->
3769        <attr name="preserveIconSpacing" format="boolean" />
3770    </declare-styleable>
3771    <declare-styleable name="IconMenuView">
3772        <!-- Defines the height of each row. -->
3773        <attr name="rowHeight" format="dimension" />
3774        <!-- Defines the maximum number of rows displayed. -->
3775        <attr name="maxRows" format="integer" />
3776        <!-- Defines the maximum number of items per row. -->
3777        <attr name="maxItemsPerRow" format="integer" />
3778        <!-- Defines the maximum number of items to show. -->
3779        <attr name="maxItems" format="integer" />
3780        <!-- 'More' icon. -->
3781        <attr name="moreIcon" format="reference" />
3782    </declare-styleable>
3783
3784    <declare-styleable name="ProgressBar">
3785        <!-- Defines the maximum value the progress can take. -->
3786        <attr name="max" format="integer" />
3787        <!-- Defines the default progress value, between 0 and max. -->
3788        <attr name="progress" format="integer" />
3789        <!-- Defines the secondary progress value, between 0 and max. This progress is drawn between
3790             the primary progress and the background.  It can be ideal for media scenarios such as
3791             showing the buffering progress while the default progress shows the play progress. -->
3792        <attr name="secondaryProgress" format="integer" />
3793        <!-- Allows to enable the indeterminate mode. In this mode the progress
3794         bar plays an infinite looping animation. -->
3795        <attr name="indeterminate" format="boolean" />
3796        <!-- Restricts to ONLY indeterminate mode (state-keeping progress mode will not work). -->
3797        <attr name="indeterminateOnly" format="boolean" />
3798        <!-- Drawable used for the indeterminate mode. -->
3799        <attr name="indeterminateDrawable" format="reference" />
3800        <!-- Drawable used for the progress mode. -->
3801        <attr name="progressDrawable" format="reference" />
3802        <!-- Duration of the indeterminate animation. -->
3803        <attr name="indeterminateDuration" format="integer" min="1" />
3804        <!-- Defines how the indeterminate mode should behave when the progress
3805        reaches max. -->
3806        <attr name="indeterminateBehavior">
3807            <!-- Progress starts over from 0. -->
3808            <enum name="repeat" value="1" />
3809            <!-- Progress keeps the current value and goes back to 0. -->
3810            <enum name="cycle" value="2" />
3811        </attr>
3812        <attr name="minWidth" format="dimension" />
3813        <attr name="maxWidth" />
3814        <attr name="minHeight" format="dimension" />
3815        <attr name="maxHeight" />
3816        <attr name="interpolator" format="reference" />
3817        <!-- Timeout between frames of animation in milliseconds
3818             {@deprecated Not used by the framework.} -->
3819        <attr name="animationResolution" format="integer" />
3820        <!-- Defines if the associated drawables need to be mirrored when in RTL mode.
3821             Default is false -->
3822        <attr name="mirrorForRtl" format="boolean" />
3823        <!-- Tint to apply to the progress indicator. -->
3824        <attr name="progressTint" format="color" />
3825        <!-- Blending mode used to apply the progress indicator tint. -->
3826        <attr name="progressTintMode">
3827            <!-- The tint is drawn on top of the drawable.
3828                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3829            <enum name="src_over" value="3" />
3830            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3831                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3832            <enum name="src_in" value="5" />
3833            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3834                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3835            <enum name="src_atop" value="9" />
3836            <!-- Multiplies the color and alpha channels of the drawable with those of
3837                 the tint. [Sa * Da, Sc * Dc] -->
3838            <enum name="multiply" value="14" />
3839            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3840            <enum name="screen" value="15" />
3841            <!-- Combines the tint and drawable color and alpha channels, clamping the
3842                 result to valid color values. Saturate(S + D) -->
3843            <enum name="add" value="16" />
3844        </attr>
3845        <!-- Tint to apply to the progress indicator background. -->
3846        <attr name="progressBackgroundTint" format="color" />
3847        <!-- Blending mode used to apply the progress indicator background tint. -->
3848        <attr name="progressBackgroundTintMode">
3849            <!-- The tint is drawn on top of the drawable.
3850                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3851            <enum name="src_over" value="3" />
3852            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3853                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3854            <enum name="src_in" value="5" />
3855            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3856                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3857            <enum name="src_atop" value="9" />
3858            <!-- Multiplies the color and alpha channels of the drawable with those of
3859                 the tint. [Sa * Da, Sc * Dc] -->
3860            <enum name="multiply" value="14" />
3861            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3862            <enum name="screen" value="15" />
3863            <!-- Combines the tint and drawable color and alpha channels, clamping the
3864                 result to valid color values. Saturate(S + D) -->
3865            <enum name="add" value="16" />
3866        </attr>
3867        <!-- Tint to apply to the secondary progress indicator. -->
3868        <attr name="secondaryProgressTint" format="color" />
3869        <!-- Blending mode used to apply the secondary progress indicator tint. -->
3870        <attr name="secondaryProgressTintMode">
3871            <!-- The tint is drawn on top of the drawable.
3872                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3873            <enum name="src_over" value="3" />
3874            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3875                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3876            <enum name="src_in" value="5" />
3877            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3878                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3879            <enum name="src_atop" value="9" />
3880            <!-- Multiplies the color and alpha channels of the drawable with those of
3881                 the tint. [Sa * Da, Sc * Dc] -->
3882            <enum name="multiply" value="14" />
3883            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3884            <enum name="screen" value="15" />
3885            <!-- Combines the tint and drawable color and alpha channels, clamping the
3886                 result to valid color values. Saturate(S + D) -->
3887            <enum name="add" value="16" />
3888        </attr>
3889        <!-- Tint to apply to the indeterminate progress indicator. -->
3890        <attr name="indeterminateTint" format="color" />
3891        <!-- Blending mode used to apply the indeterminate progress indicator tint. -->
3892        <attr name="indeterminateTintMode">
3893            <!-- The tint is drawn on top of the drawable.
3894                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3895            <enum name="src_over" value="3" />
3896            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3897                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3898            <enum name="src_in" value="5" />
3899            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3900                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3901            <enum name="src_atop" value="9" />
3902            <!-- Multiplies the color and alpha channels of the drawable with those of
3903                 the tint. [Sa * Da, Sc * Dc] -->
3904            <enum name="multiply" value="14" />
3905            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3906            <enum name="screen" value="15" />
3907            <!-- Combines the tint and drawable color and alpha channels, clamping the
3908                 result to valid color values. Saturate(S + D) -->
3909            <enum name="add" value="16" />
3910        </attr>
3911        <!-- Tint to apply to the background. -->
3912        <attr name="backgroundTint" />
3913        <!-- Blending mode used to apply the background tint. -->
3914        <attr name="backgroundTintMode" />
3915    </declare-styleable>
3916
3917    <declare-styleable name="SeekBar">
3918        <!-- Draws the thumb on a seekbar. -->
3919        <attr name="thumb" format="reference" />
3920        <!-- An offset for the thumb that allows it to extend out of the range of the track. -->
3921        <attr name="thumbOffset" format="dimension" />
3922        <!-- Whether to split the track and leave a gap for the thumb drawable. -->
3923        <attr name="splitTrack" format="boolean" />
3924        <!-- Whether to force the track's alpha to ?android:attr/disabledAlpha
3925             when disabled. This is required for Holo and Gingerbread, but
3926             should always be false for Material and  beyond.
3927             @hide Developers shouldn't need to change this. -->
3928        <attr name="useDisabledAlpha" format="boolean" />
3929        <!-- Tint to apply to the button graphic. -->
3930        <attr name="thumbTint" format="color" />
3931        <!-- Blending mode used to apply the button graphic tint. -->
3932        <attr name="thumbTintMode">
3933            <!-- The tint is drawn on top of the drawable.
3934                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3935            <enum name="src_over" value="3" />
3936            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3937                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3938            <enum name="src_in" value="5" />
3939            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3940                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3941            <enum name="src_atop" value="9" />
3942            <!-- Multiplies the color and alpha channels of the drawable with those of
3943                 the tint. [Sa * Da, Sc * Dc] -->
3944            <enum name="multiply" value="14" />
3945            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3946            <enum name="screen" value="15" />
3947            <!-- Combines the tint and drawable color and alpha channels, clamping the
3948                 result to valid color values. Saturate(S + D) -->
3949            <enum name="add" value="16" />
3950        </attr>
3951    </declare-styleable>
3952
3953    <declare-styleable name="StackView">
3954        <!-- Color of the res-out outline. -->
3955        <attr name="resOutColor" format="color" />
3956        <!-- Color of the outline of click feedback. -->
3957        <attr name="clickColor" format="color" />
3958    </declare-styleable>
3959
3960    <declare-styleable name="RatingBar">
3961        <!-- The number of stars (or rating items) to show. -->
3962        <attr name="numStars" format="integer" />
3963        <!-- The rating to set by default. -->
3964        <attr name="rating" format="float" />
3965        <!-- The step size of the rating. -->
3966        <attr name="stepSize" format="float" />
3967        <!-- Whether this rating bar is an indicator (and non-changeable by the user). -->
3968        <attr name="isIndicator" format="boolean" />
3969    </declare-styleable>
3970
3971    <declare-styleable name="RadioGroup">
3972        <!-- The id of the child radio button that should be checked by default
3973             within this radio group. -->
3974        <attr name="checkedButton" format="integer" />
3975        <!-- Should the radio group be a column or a row?  Use "horizontal"
3976             for a row, "vertical" for a column.  The default is
3977             vertical. -->
3978        <attr name="orientation" />
3979    </declare-styleable>
3980    <declare-styleable name="TableLayout">
3981        <!-- The zero-based index of the columns to stretch. The column indices
3982             must be separated by a comma: 1, 2, 5. Illegal and duplicate
3983             indices are ignored. You can stretch all columns by using the
3984             value "*" instead. Note that a column can be marked stretchable
3985             and shrinkable at the same time. -->
3986        <attr name="stretchColumns" format="string" />
3987       <!-- The zero-based index of the columns to shrink. The column indices
3988             must be separated by a comma: 1, 2, 5. Illegal and duplicate
3989             indices are ignored. You can shrink all columns by using the
3990             value "*" instead. Note that a column can be marked stretchable
3991             and shrinkable at the same time. -->
3992        <attr name="shrinkColumns" format="string" />
3993        <!-- The zero-based index of the columns to collapse. The column indices
3994             must be separated by a comma: 1, 2, 5. Illegal and duplicate
3995             indices are ignored. -->
3996        <attr name="collapseColumns" format="string" />
3997    </declare-styleable>
3998    <declare-styleable name="TableRow">
3999
4000    </declare-styleable>
4001    <declare-styleable name="TableRow_Cell">
4002        <!-- The index of the column in which this child should be. -->
4003        <attr name="layout_column" format="integer" />
4004        <!-- Defines how many columns this child should span.  Must be >= 1.-->
4005        <attr name="layout_span" format="integer" />
4006    </declare-styleable>
4007    <declare-styleable name="TabWidget">
4008        <!-- Drawable used to draw the divider between tabs. -->
4009        <attr name="divider" />
4010        <!-- Determines whether the strip under the tab indicators is drawn or not. -->
4011        <attr name="tabStripEnabled" format="boolean" />
4012        <!-- Drawable used to draw the left part of the strip underneath the tabs. -->
4013        <attr name="tabStripLeft" format="reference" />
4014        <!-- Drawable used to draw the right part of the strip underneath the tabs. -->
4015        <attr name="tabStripRight" format="reference" />
4016        <!-- Layout used to organize each tab's content. -->
4017        <attr name="tabLayout" format="reference" />
4018    </declare-styleable>
4019    <declare-styleable name="TextAppearance">
4020        <!-- Text color. -->
4021        <attr name="textColor" />
4022        <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
4023        <attr name="textSize" />
4024        <!-- Style (bold, italic, bolditalic) for the text. -->
4025        <attr name="textStyle" />
4026        <!-- Typeface (normal, sans, serif, monospace) for the text. -->
4027        <attr name="typeface" />
4028        <!-- Font family (named by string) for the text. -->
4029        <attr name="fontFamily" />
4030        <!-- Color of the text selection highlight. -->
4031        <attr name="textColorHighlight" />
4032        <!-- Color of the hint text. -->
4033        <attr name="textColorHint" />
4034        <!-- Color of the links. -->
4035        <attr name="textColorLink" />
4036        <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
4037        <attr name="textAllCaps" format="boolean" />
4038        <!-- Place a blurred shadow of text underneath the text, drawn with the
4039             specified color. The text shadow produced does not interact with
4040             properties on View that are responsible for real time shadows,
4041             {@link android.R.styleable#View_elevation elevation} and
4042             {@link android.R.styleable#View_translationZ translationZ}. -->
4043        <attr name="shadowColor" format="color" />
4044        <!-- Horizontal offset of the text shadow. -->
4045        <attr name="shadowDx" format="float" />
4046        <!-- Vertical offset of the text shadow. -->
4047        <attr name="shadowDy" format="float" />
4048        <!-- Blur radius of the text shadow. -->
4049        <attr name="shadowRadius" format="float" />
4050        <!-- Elegant text height, especially for less compacted complex script text. -->
4051        <attr name="elegantTextHeight" format="boolean" />
4052        <!-- Text letter-spacing. -->
4053        <attr name="letterSpacing" format="float" />
4054        <!-- Font feature settings. -->
4055        <attr name="fontFeatureSettings" format="string" />
4056    </declare-styleable>
4057    <declare-styleable name="TextClock">
4058        <!-- Specifies the formatting pattern used to show the time and/or date
4059             in 12-hour mode. Please refer to {@link android.text.format.DateFormat}
4060             for a complete description of accepted formatting patterns.
4061             The default pattern is a locale-appropriate equivalent of "h:mm a". -->
4062        <attr name="format12Hour" format="string"/>
4063        <!-- Specifies the formatting pattern used to show the time and/or date
4064             in 24-hour mode. Please refer to {@link android.text.format.DateFormat}
4065             for a complete description of accepted formatting patterns.
4066             The default pattern is a locale-appropriate equivalent of "H:mm". -->
4067        <attr name="format24Hour" format="string"/>
4068        <!-- Specifies the time zone to use. When this attribute is specified, the
4069             TextClock will ignore the time zone of the system. To use the user's
4070             time zone, do not specify this attribute. The default value is the
4071             user's time zone. Please refer to {@link java.util.TimeZone} for more
4072             information about time zone ids. -->
4073        <attr name="timeZone" format="string"/>
4074    </declare-styleable>
4075    <declare-styleable name="TextSwitcher">
4076    </declare-styleable>
4077    <declare-styleable name="TextView">
4078        <!-- Determines the minimum type that getText() will return.
4079             The default is "normal".
4080             Note that EditText and LogTextBox always return Editable,
4081             even if you specify something less powerful here. -->
4082        <attr name="bufferType">
4083            <!-- Can return any CharSequence, possibly a
4084             Spanned one if the source text was Spanned. -->
4085            <enum name="normal" value="0" />
4086            <!-- Can only return Spannable. -->
4087            <enum name="spannable" value="1" />
4088            <!-- Can only return Spannable and Editable. -->
4089            <enum name="editable" value="2" />
4090        </attr>
4091        <!-- Text to display. -->
4092        <attr name="text" format="string" localization="suggested" />
4093        <!-- Hint text to display when the text is empty. -->
4094        <attr name="hint" format="string" />
4095        <!-- Text color. -->
4096        <attr name="textColor" />
4097        <!-- Color of the text selection highlight. -->
4098        <attr name="textColorHighlight" />
4099        <!-- Color of the hint text. -->
4100        <attr name="textColorHint" />
4101        <!-- Base text color, typeface, size, and style. -->
4102        <attr name="textAppearance" />
4103        <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
4104        <attr name="textSize" />
4105        <!-- Sets the horizontal scaling factor for the text. -->
4106        <attr name="textScaleX" format="float" />
4107        <!-- Typeface (normal, sans, serif, monospace) for the text. -->
4108        <attr name="typeface" />
4109        <!-- Style (bold, italic, bolditalic) for the text. -->
4110        <attr name="textStyle" />
4111        <!-- Font family (named by string) for the text. -->
4112        <attr name="fontFamily" />
4113        <!-- Text color for links. -->
4114        <attr name="textColorLink" />
4115        <!-- Makes the cursor visible (the default) or invisible. -->
4116        <attr name="cursorVisible" format="boolean" />
4117        <!-- Makes the TextView be at most this many lines tall.
4118
4119        When used on an editable text, the <code>inputType</code> attribute's value must be
4120        combined with the <code>textMultiLine</code> flag for the maxLines attribute to apply. -->
4121        <attr name="maxLines" format="integer" min="0" />
4122        <!-- Makes the TextView be at most this many pixels tall. -->
4123        <attr name="maxHeight" />
4124        <!-- Makes the TextView be exactly this many lines tall. -->
4125        <attr name="lines" format="integer" min="0" />
4126        <!-- Makes the TextView be exactly this many pixels tall.
4127             You could get the same effect by specifying this number in the
4128             layout parameters. -->
4129        <attr name="height" format="dimension" />
4130        <!-- Makes the TextView be at least this many lines tall.
4131
4132        When used on an editable text, the <code>inputType</code> attribute's value must be
4133        combined with the <code>textMultiLine</code> flag for the minLines attribute to apply. -->
4134        <attr name="minLines" format="integer" min="0" />
4135        <!-- Makes the TextView be at least this many pixels tall. -->
4136        <attr name="minHeight" />
4137        <!-- Makes the TextView be at most this many ems wide. -->
4138        <attr name="maxEms" format="integer" min="0" />
4139        <!-- Makes the TextView be at most this many pixels wide. -->
4140        <attr name="maxWidth" />
4141        <!-- Makes the TextView be exactly this many ems wide. -->
4142        <attr name="ems" format="integer" min="0" />
4143        <!-- Makes the TextView be exactly this many pixels wide.
4144             You could get the same effect by specifying this number in the
4145             layout parameters. -->
4146        <attr name="width" format="dimension" />
4147        <!-- Makes the TextView be at least this many ems wide. -->
4148        <attr name="minEms" format="integer" min="0" />
4149        <!-- Makes the TextView be at least this many pixels wide. -->
4150        <attr name="minWidth" />
4151        <!-- Specifies how to align the text by the view's x- and/or y-axis
4152             when the text is smaller than the view. -->
4153        <attr name="gravity" />
4154        <!-- Whether the text is allowed to be wider than the view (and
4155             therefore can be scrolled horizontally). -->
4156        <attr name="scrollHorizontally" format="boolean" />
4157        <!-- Whether the characters of the field are displayed as
4158             password dots instead of themselves.
4159             {@deprecated Use inputType instead.} -->
4160        <attr name="password" format="boolean" />
4161        <!-- Constrains the text to a single horizontally scrolling line
4162             instead of letting it wrap onto multiple lines, and advances
4163             focus instead of inserting a newline when you press the
4164             enter key.
4165
4166             The default value is false (multi-line wrapped text mode) for non-editable text, but if
4167             you specify any value for inputType, the default is true (single-line input field mode).
4168
4169             {@deprecated This attribute is deprecated. Use <code>maxLines</code> instead to change
4170             the layout of a static text, and use the <code>textMultiLine</code> flag in the
4171             inputType attribute instead for editable text views (if both singleLine and inputType
4172             are supplied, the inputType flags will override the value of singleLine). } -->
4173        <attr name="singleLine" format="boolean" />
4174        <!-- Specifies whether the widget is enabled. The interpretation of the enabled state varies by subclass.
4175             For example, a non-enabled EditText prevents the user from editing the contained text, and
4176             a non-enabled Button prevents the user from tapping the button.
4177             The appearance of enabled and non-enabled widgets may differ, if the drawables referenced
4178             from evaluating state_enabled differ. -->
4179        <attr name="enabled" format="boolean" />
4180        <!-- If the text is selectable, select it all when the view takes
4181             focus. -->
4182        <attr name="selectAllOnFocus" format="boolean" />
4183        <!-- Leave enough room for ascenders and descenders instead of
4184             using the font ascent and descent strictly.  (Normally true). -->
4185        <attr name="includeFontPadding" format="boolean" />
4186        <!-- Set an input filter to constrain the text length to the
4187             specified number. -->
4188        <attr name="maxLength" format="integer" min="0" />
4189        <!-- Place a blurred shadow of text underneath the text, drawn with the
4190             specified color. The text shadow produced does not interact with
4191             properties on View that are responsible for real time shadows,
4192             {@link android.R.styleable#View_elevation elevation} and
4193             {@link android.R.styleable#View_translationZ translationZ}. -->
4194        <attr name="shadowColor" />
4195        <!-- Horizontal offset of the text shadow. -->
4196        <attr name="shadowDx" />
4197        <!-- Vertical offset of the text shadow. -->
4198        <attr name="shadowDy" />
4199        <!-- Blur radius of the text shadow. -->
4200        <attr name="shadowRadius" />
4201        <attr name="autoLink" />
4202        <!-- If set to false, keeps the movement method from being set
4203             to the link movement method even if autoLink causes links
4204             to be found. -->
4205        <attr name="linksClickable" format="boolean" />
4206        <!-- If set, specifies that this TextView has a numeric input method.
4207             The default is false.
4208             {@deprecated Use inputType instead.} -->
4209        <attr name="numeric">
4210            <!-- Input is numeric. -->
4211            <flag name="integer" value="0x01" />
4212            <!-- Input is numeric, with sign allowed. -->
4213            <flag name="signed" value="0x03" />
4214            <!-- Input is numeric, with decimals allowed. -->
4215            <flag name="decimal" value="0x05" />
4216        </attr>
4217        <!-- If set, specifies that this TextView has a numeric input method
4218             and that these specific characters are the ones that it will
4219             accept.
4220             If this is set, numeric is implied to be true.
4221             The default is false. -->
4222        <attr name="digits" format="string" />
4223        <!-- If set, specifies that this TextView has a phone number input
4224             method. The default is false.
4225             {@deprecated Use inputType instead.} -->
4226        <attr name="phoneNumber" format="boolean" />
4227        <!-- If set, specifies that this TextView should use the specified
4228             input method (specified by fully-qualified class name).
4229             {@deprecated Use inputType instead.} -->
4230        <attr name="inputMethod" format="string" />
4231        <!-- If set, specifies that this TextView has a textual input method
4232             and should automatically capitalize what the user types.
4233             The default is "none".
4234             {@deprecated Use inputType instead.} -->
4235        <attr name="capitalize">
4236            <!-- Don't automatically capitalize anything. -->
4237            <enum name="none" value="0" />
4238            <!-- Capitalize the first word of each sentence. -->
4239            <enum name="sentences" value="1" />
4240            <!-- Capitalize the first letter of every word. -->
4241            <enum name="words" value="2" />
4242            <!-- Capitalize every character. -->
4243            <enum name="characters" value="3" />
4244        </attr>
4245        <!-- If set, specifies that this TextView has a textual input method
4246             and automatically corrects some common spelling errors.
4247             The default is "false".
4248             {@deprecated Use inputType instead.} -->
4249        <attr name="autoText" format="boolean" />
4250        <!-- If set, specifies that this TextView has an input method.
4251             It will be a textual one unless it has otherwise been specified.
4252             For TextView, this is false by default.  For EditText, it is
4253             true by default.
4254             {@deprecated Use inputType instead.} -->
4255        <attr name="editable" format="boolean" />
4256        <!-- If set, the text view will include its current complete text
4257             inside of its frozen icicle in addition to meta-data such as
4258             the current cursor position.  By default this is disabled;
4259             it can be useful when the contents of a text view is not stored
4260             in a persistent place such as a content provider. -->
4261        <attr name="freezesText" format="boolean" />
4262        <!-- If set, causes words that are longer than the view is wide
4263             to be ellipsized instead of broken in the middle.
4264             You will often also want to set scrollHorizontally or singleLine
4265             as well so that the text as a whole is also constrained to
4266             a single line instead of still allowed to be broken onto
4267             multiple lines. -->
4268        <attr name="ellipsize" />
4269        <!-- The drawable to be drawn above the text. -->
4270        <attr name="drawableTop" format="reference|color" />
4271        <!-- The drawable to be drawn below the text. -->
4272        <attr name="drawableBottom" format="reference|color" />
4273        <!-- The drawable to be drawn to the left of the text. -->
4274        <attr name="drawableLeft" format="reference|color" />
4275        <!-- The drawable to be drawn to the right of the text. -->
4276        <attr name="drawableRight" format="reference|color" />
4277        <!-- The drawable to be drawn to the start of the text. -->
4278        <attr name="drawableStart" format="reference|color" />
4279        <!-- The drawable to be drawn to the end of the text. -->
4280        <attr name="drawableEnd" format="reference|color" />
4281        <!-- The padding between the drawables and the text. -->
4282        <attr name="drawablePadding" format="dimension" />
4283        <!-- Tint to apply to the compound (left, top, etc.) drawables. -->
4284        <attr name="drawableTint" format="color" />
4285        <!-- Blending mode used to apply the compound (left, top, etc.) drawables tint. -->
4286        <attr name="drawableTintMode">
4287            <!-- The tint is drawn on top of the drawable.
4288                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4289            <enum name="src_over" value="3" />
4290            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4291                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4292            <enum name="src_in" value="5" />
4293            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4294                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4295            <enum name="src_atop" value="9" />
4296            <!-- Multiplies the color and alpha channels of the drawable with those of
4297                 the tint. [Sa * Da, Sc * Dc] -->
4298            <enum name="multiply" value="14" />
4299            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4300            <enum name="screen" value="15" />
4301            <!-- Combines the tint and drawable color and alpha channels, clamping the
4302                 result to valid color values. Saturate(S + D) -->
4303            <enum name="add" value="16" />
4304        </attr>
4305        <!-- Extra spacing between lines of text. -->
4306        <attr name="lineSpacingExtra" format="dimension" />
4307        <!-- Extra spacing between lines of text, as a multiplier. -->
4308        <attr name="lineSpacingMultiplier" format="float" />
4309        <!-- The number of times to repeat the marquee animation. Only applied if the
4310             TextView has marquee enabled. -->
4311        <attr name="marqueeRepeatLimit" format="integer">
4312            <!-- Indicates that marquee should repeat indefinitely. -->
4313            <enum name="marquee_forever" value="-1" />
4314        </attr>
4315        <attr name="inputType" />
4316        <!-- Whether undo should be allowed for editable text. Defaults to true. -->
4317        <attr name="allowUndo" format="boolean" />
4318        <attr name="imeOptions" />
4319        <!-- An addition content type description to supply to the input
4320             method attached to the text view, which is private to the
4321             implementation of the input method.  This simply fills in
4322             the {@link android.view.inputmethod.EditorInfo#privateImeOptions
4323             EditorInfo.privateImeOptions} field when the input
4324             method is connected. -->
4325        <attr name="privateImeOptions" format="string" />
4326        <!-- Supply a value for
4327             {@link android.view.inputmethod.EditorInfo#actionLabel EditorInfo.actionLabel}
4328             used when an input method is connected to the text view. -->
4329        <attr name="imeActionLabel" format="string" />
4330        <!-- Supply a value for
4331             {@link android.view.inputmethod.EditorInfo#actionId EditorInfo.actionId}
4332             used when an input method is connected to the text view. -->
4333        <attr name="imeActionId" format="integer" />
4334        <!-- Reference to an
4335             {@link android.R.styleable#InputExtras &lt;input-extras&gt;}
4336             XML resource containing additional data to
4337             supply to an input method, which is private to the implementation
4338             of the input method.  This simply fills in
4339             the {@link android.view.inputmethod.EditorInfo#extras
4340             EditorInfo.extras} field when the input
4341             method is connected. -->
4342        <attr name="editorExtras" format="reference" />
4343
4344        <!-- Reference to a drawable that will be used to display a text selection
4345             anchor on the left side of a selection region. -->
4346        <attr name="textSelectHandleLeft" />
4347        <!-- Reference to a drawable that will be used to display a text selection
4348             anchor on the right side of a selection region. -->
4349        <attr name="textSelectHandleRight" />
4350        <!-- Reference to a drawable that will be used to display a text selection
4351             anchor for positioning the cursor within text. -->
4352        <attr name="textSelectHandle" />
4353        <!-- The layout of the view that is displayed on top of the cursor to paste inside a
4354             TextEdit field. -->
4355        <attr name="textEditPasteWindowLayout" />
4356        <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. -->
4357        <attr name="textEditNoPasteWindowLayout" />
4358        <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the
4359             insertion cursor because it would be clipped if it were positioned on top. -->
4360        <attr name="textEditSidePasteWindowLayout" />
4361        <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. -->
4362        <attr name="textEditSideNoPasteWindowLayout" />
4363
4364        <!-- Layout of the TextView item that will populate the suggestion popup window. -->
4365        <attr name="textEditSuggestionItemLayout" />
4366
4367
4368        <!-- Reference to a drawable that will be drawn under the insertion cursor. -->
4369        <attr name="textCursorDrawable" />
4370
4371        <!-- Indicates that the content of a non-editable text can be selected. -->
4372        <attr name="textIsSelectable" />
4373        <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
4374        <attr name="textAllCaps" />
4375        <!-- Elegant text height, especially for less compacted complex script text. -->
4376        <attr name="elegantTextHeight" />
4377        <!-- Text letter-spacing. -->
4378        <attr name="letterSpacing" />
4379        <!-- Font feature settings. -->
4380        <attr name="fontFeatureSettings" />
4381        <!-- Break strategy (control over paragraph layout). -->
4382        <attr name="breakStrategy">
4383            <!-- Line breaking uses simple strategy. -->
4384            <enum name="simple" value="0" />
4385            <!-- Line breaking uses high-quality strategy, including hyphenation. -->
4386            <enum name="high_quality" value="1" />
4387            <!-- Line breaking stratgegy balances line lengths. -->
4388            <enum name="balanced" value="2" />
4389        </attr>
4390        <!-- Frequency of automatic hyphenation. -->
4391        <attr name="hyphenationFrequency">
4392            <!-- No hyphenation. -->
4393            <enum name="none" value="0" />
4394            <!-- Less frequent hyphenation, useful for informal use cases, such
4395            as chat messages. -->
4396            <enum name="normal" value="1" />
4397            <!-- Standard amount of hyphenation, useful for running text and for
4398            screens with limited space for text. -->
4399            <enum name="full" value="2" />
4400        </attr>
4401        <!-- Array of indents, one dimension value per line, left side. -->
4402        <attr name="leftIndents" format="reference" />
4403        <!-- Array of indents, one dimension value per line, right side. -->
4404        <attr name="rightIndents" format="reference" />
4405    </declare-styleable>
4406    <declare-styleable name="TextViewAppearance">
4407        <!-- Base text color, typeface, size, and style. -->
4408        <attr name="textAppearance" />
4409    </declare-styleable>
4410    <declare-styleable name="SelectionModeDrawables">
4411        <attr name="actionModeSelectAllDrawable" />
4412        <attr name="actionModeCutDrawable" />
4413        <attr name="actionModeCopyDrawable" />
4414        <attr name="actionModePasteDrawable" />
4415    </declare-styleable>
4416    <declare-styleable name="SuggestionSpan">
4417        <attr name="textUnderlineColor" />
4418        <attr name="textUnderlineThickness" />
4419    </declare-styleable>
4420    <!-- An <code>input-extras</code> is a container for extra data to supply to
4421         an input method.  Contains
4422         one more more {@link #Extra <extra>} tags.  -->
4423    <declare-styleable name="InputExtras">
4424    </declare-styleable>
4425    <declare-styleable name="AutoCompleteTextView">
4426        <!-- Defines the hint displayed in the drop down menu. -->
4427        <attr name="completionHint" format="string" />
4428        <!-- Defines the hint view displayed in the drop down menu. -->
4429        <attr name="completionHintView" format="reference" />
4430        <!-- Defines the number of characters that the user must type before
4431         completion suggestions are displayed in a drop down menu. -->
4432        <attr name="completionThreshold" format="integer" min="1" />
4433        <!-- Selector in a drop down list. -->
4434        <attr name="dropDownSelector" format="reference|color" />
4435        <!-- View to anchor the auto-complete dropdown to. If not specified, the text view itself
4436             is used. -->
4437        <attr name="dropDownAnchor" format="reference" />
4438        <!-- Specifies the basic width of the dropdown. Its value may
4439             be a dimension (such as "12dip") for a constant width,
4440             fill_parent or match_parent to match the width of the
4441             screen, or wrap_content to match the width of
4442             the anchored view. -->
4443        <attr name="dropDownWidth" format="dimension">
4444            <!-- The dropdown should fill the width of the screen.
4445                 This constant is deprecated starting from API Level 8 and
4446                 is replaced by {@code match_parent}. -->
4447            <enum name="fill_parent" value="-1" />
4448            <!-- The dropdown should fit the width of the screen.
4449                 Introduced in API Level 8. -->
4450            <enum name="match_parent" value="-1" />
4451            <!-- The dropdown should fit the width of its anchor. -->
4452            <enum name="wrap_content" value="-2" />
4453        </attr>
4454        <!-- Specifies the basic height of the dropdown. Its value may
4455             be a dimension (such as "12dip") for a constant height,
4456             fill_parent or match_parent to fill the height of the
4457             screen, or wrap_content to match the height of
4458             the content of the drop down. -->
4459        <attr name="dropDownHeight" format="dimension">
4460            <!-- The dropdown should fit the height of the screen.
4461                 This constant is deprecated starting from API Level 8 and
4462                 is replaced by {@code match_parent}. -->
4463            <enum name="fill_parent" value="-1" />
4464            <!-- The dropdown should fit the height of the screen.
4465                 Introduced in API Level 8. -->
4466            <enum name="match_parent" value="-1" />
4467            <!-- The dropdown should fit the height of the content. -->
4468            <enum name="wrap_content" value="-2" />
4469        </attr>
4470        <attr name="inputType" />
4471    </declare-styleable>
4472    <declare-styleable name="PopupWindow">
4473        <!-- The background to use for the popup window. -->
4474        <attr name="popupBackground" format="reference|color" />
4475        <!-- Window elevation to use for the popup window. -->
4476        <attr name="popupElevation" format="dimension" />
4477        <!-- The animation style to use for the popup window. -->
4478        <attr name="popupAnimationStyle" format="reference" />
4479        <!-- Whether the popup window should overlap its anchor view. -->
4480        <attr name="overlapAnchor" format="boolean" />
4481        <!-- Transition used to move views into the popup window. -->
4482        <attr name="popupEnterTransition" format="reference" />
4483        <!-- Transition used to move views out of the popup window. -->
4484        <attr name="popupExitTransition" format="reference" />
4485    </declare-styleable>
4486    <declare-styleable name="ListPopupWindow">
4487        <!-- Amount of pixels by which the drop down should be offset vertically. -->
4488        <attr name="dropDownVerticalOffset" format="dimension" />
4489        <!-- Amount of pixels by which the drop down should be offset horizontally. -->
4490        <attr name="dropDownHorizontalOffset" format="dimension" />
4491    </declare-styleable>
4492    <declare-styleable name="ViewAnimator">
4493        <!-- Identifier for the animation to use when a view is shown. -->
4494        <attr name="inAnimation" format="reference" />
4495        <!-- Identifier for the animation to use when a view is hidden. -->
4496        <attr name="outAnimation" format="reference" />
4497        <!-- Defines whether to animate the current View when the ViewAnimation
4498             is first displayed. -->
4499        <attr name="animateFirstView" format="boolean" />
4500    </declare-styleable>
4501    <declare-styleable name="ViewFlipper">
4502        <attr name="flipInterval" format="integer" min="0" />
4503        <!-- When true, automatically start animating -->
4504        <attr name="autoStart" format="boolean" />
4505    </declare-styleable>
4506    <declare-styleable name="AdapterViewAnimator">
4507        <!-- Identifier for the animation to use when a view is shown. -->
4508        <attr name="inAnimation" />
4509        <!-- Identifier for the animation to use when a view is hidden. -->
4510        <attr name="outAnimation" />
4511        <!--Defines whether the animator loops to the first view once it
4512        has reached the end of the list. -->
4513        <attr name="loopViews" format="boolean" />
4514        <!-- Defines whether to animate the current View when the ViewAnimation
4515        is first displayed. -->
4516        <attr name="animateFirstView" />
4517    </declare-styleable>
4518    <declare-styleable name="AdapterViewFlipper">
4519        <attr name="flipInterval" />
4520        <!-- When true, automatically start animating -->
4521        <attr name="autoStart" />
4522    </declare-styleable>
4523    <declare-styleable name="ViewSwitcher">
4524    </declare-styleable>
4525    <declare-styleable name="ScrollView">
4526        <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
4527        <attr name="fillViewport" format="boolean" />
4528    </declare-styleable>
4529    <declare-styleable name="HorizontalScrollView">
4530        <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
4531        <attr name="fillViewport" />
4532    </declare-styleable>
4533    <declare-styleable name="Spinner">
4534        <!-- The prompt to display when the spinner's dialog is shown. -->
4535        <attr name="prompt" format="reference" />
4536        <!-- Display mode for spinner options. -->
4537        <attr name="spinnerMode" format="enum">
4538            <!-- Spinner options will be presented to the user as a dialog window. -->
4539            <enum name="dialog" value="0" />
4540            <!-- Spinner options will be presented to the user as an inline dropdown
4541                 anchored to the spinner widget itself. -->
4542            <enum name="dropdown" value="1" />
4543        </attr>
4544        <!-- List selector to use for spinnerMode="dropdown" display. -->
4545        <attr name="dropDownSelector" />
4546        <!-- Theme to use for the drop-down or dialog popup window. -->
4547        <attr name="popupTheme" />
4548        <!-- Background drawable to use for the dropdown in spinnerMode="dropdown". -->
4549        <attr name="popupBackground" />
4550        <!-- Window elevation to use for the dropdown in spinnerMode="dropdown". -->
4551        <attr name="popupElevation" />
4552        <!-- Width of the dropdown in spinnerMode="dropdown". -->
4553        <attr name="dropDownWidth" />
4554        <!-- Reference to a layout to use for displaying a prompt in the dropdown for
4555             spinnerMode="dropdown". This layout must contain a TextView with the id
4556             {@code @android:id/text1} to be populated with the prompt text. -->
4557        <attr name="popupPromptView" format="reference" />
4558        <!-- Gravity setting for positioning the currently selected item. -->
4559        <attr name="gravity" />
4560        <!-- Whether this spinner should mark child views as enabled/disabled when
4561             the spinner itself is enabled/disabled. -->
4562        <attr name="disableChildrenWhenDisabled" format="boolean" />
4563    </declare-styleable>
4564
4565    <declare-styleable name="DatePicker">
4566        <!-- The first day of week according to {@link java.util.Calendar}. -->
4567        <attr name="firstDayOfWeek" />
4568        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
4569        <attr name="minDate" format="string" />
4570        <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. -->
4571        <attr name="maxDate" format="string" />
4572
4573        <!-- Whether the spinners are shown. Only valid for "spinner" mode. -->
4574        <attr name="spinnersShown" format="boolean" />
4575        <!-- Whether the calendar view is shown. Only valid for "spinner" mode. -->
4576        <attr name="calendarViewShown" format="boolean" />
4577
4578        <!-- @hide The layout of the date picker. -->
4579        <attr name="internalLayout" format="reference"  />
4580        <!-- @hide The layout of the legacy DatePicker. -->
4581        <attr name="legacyLayout" />
4582
4583        <!-- The text color for the selected date header text, ex. "2014" or
4584             "Tue, Mar 18". This should be a color state list where the
4585             activated state will be used when the year picker or day picker is
4586             active.-->
4587        <attr name="headerTextColor" format="color" />
4588        <!-- The background for the selected date header. -->
4589        <attr name="headerBackground" />
4590
4591        <!-- The list year's text appearance in the list.
4592             {@deprecated Use yearListTextColor. }-->
4593        <attr name="yearListItemTextAppearance" format="reference" />
4594        <!-- @hide The list year's text appearance in the list when activated. -->
4595        <attr name="yearListItemActivatedTextAppearance" format="reference" />
4596        <!-- The text color list of the calendar. -->
4597        <attr name="calendarTextColor" format="color" />
4598
4599        <!-- Defines the look of the widget. Prior to the L release, the only choice was
4600             spinner. As of L, with the Material theme selected, the default layout is calendar,
4601             but this attribute can be used to force spinner to be used instead. -->
4602        <attr name="datePickerMode">
4603            <!-- Date picker with spinner controls to select the date. -->
4604            <enum name="spinner" value="1" />
4605            <!-- Date picker with calendar to select the date. -->
4606            <enum name="calendar" value="2" />
4607        </attr>
4608
4609        <!-- The first year (inclusive), for example "1940".
4610             {@deprecated Use minDate instead.} -->
4611        <attr name="startYear" format="integer" />
4612        <!-- The last year (inclusive), for example "2010".
4613             {@deprecated Use maxDate instead.} -->
4614        <attr name="endYear" format="integer" />
4615        <!-- The text appearance for the month (ex. May) in the selected date header.
4616             {@deprecated Use headerTextColor instead.} -->
4617        <attr name="headerMonthTextAppearance" format="reference" />
4618        <!-- The text appearance for the day of month (ex. 28) in the selected date header.
4619             {@deprecated Use headerTextColor instead.} -->
4620        <attr name="headerDayOfMonthTextAppearance" format="reference" />
4621        <!-- The text appearance for the year (ex. 2014) in the selected date header.
4622             {@deprecated Use headerTextColor instead.} -->
4623        <attr name="headerYearTextAppearance" format="reference" />
4624        <!-- The background color for the header's day of week.
4625             {@deprecated No longer displayed.} -->
4626        <attr name="dayOfWeekBackground" format="color" />
4627        <!-- The text color for the header's day of week.
4628             {@deprecated No longer displayed.} -->
4629        <attr name="dayOfWeekTextAppearance" format="reference" />
4630        <!-- The list year's selected circle color in the list.
4631             {@deprecated No longer displayed.} -->
4632        <attr name="yearListSelectorColor" format="color" />
4633    </declare-styleable>
4634
4635    <declare-styleable name="TwoLineListItem">
4636        <attr name="mode">
4637            <!-- Always show only the first line. -->
4638            <enum name="oneLine" value="1" />
4639            <!-- When selected show both lines, otherwise show only the first line.
4640                 This is the default mode. -->
4641            <enum name="collapsing" value="2" />
4642            <!-- Always show both lines. -->
4643            <enum name="twoLine" value="3" />
4644        </attr>
4645    </declare-styleable>
4646
4647    <!-- SlidingDrawer specific attributes. These attributes are used to configure
4648         a SlidingDrawer from XML. -->
4649    <declare-styleable name="SlidingDrawer">
4650        <!-- Identifier for the child that represents the drawer's handle. -->
4651        <attr name="handle" format="reference" />
4652        <!-- Identifier for the child that represents the drawer's content. -->
4653        <attr name="content" format="reference" />
4654        <!-- Orientation of the SlidingDrawer. -->
4655        <attr name="orientation" />
4656        <!-- Extra offset for the handle at the bottom of the SlidingDrawer. -->
4657        <attr name="bottomOffset" format="dimension"  />
4658        <!-- Extra offset for the handle at the top of the SlidingDrawer. -->
4659        <attr name="topOffset" format="dimension"  />
4660        <!-- Indicates whether the drawer can be opened/closed by a single tap
4661             on the handle.  (If false, the user must drag or fling, or click
4662             using the trackball, to open/close the drawer.)  Default is true. -->
4663        <attr name="allowSingleTap" format="boolean" />
4664        <!-- Indicates whether the drawer should be opened/closed with an animation
4665             when the user clicks the handle. Default is true. -->
4666        <attr name="animateOnClick" format="boolean" />
4667    </declare-styleable>
4668
4669    <!-- GestureOverlayView specific attributes. These attributes are used to configure
4670         a GestureOverlayView from XML. -->
4671    <declare-styleable name="GestureOverlayView">
4672        <!-- Width of the stroke used to draw the gesture. -->
4673        <attr name="gestureStrokeWidth" format="float" />
4674        <!-- Color used to draw a gesture. -->
4675        <attr name="gestureColor" format="color" />
4676        <!-- Color used to draw the user's strokes until we are sure it's a gesture. -->
4677        <attr name="uncertainGestureColor" format="color" />
4678        <!-- Time, in milliseconds, to wait before the gesture fades out after the user
4679             is done drawing it. -->
4680        <attr name="fadeOffset" format="integer" />
4681        <!-- Duration, in milliseconds, of the fade out effect after the user is done
4682             drawing a gesture. -->
4683        <attr name="fadeDuration" format="integer" />
4684        <!-- Defines the type of strokes that define a gesture. -->
4685        <attr name="gestureStrokeType">
4686            <!-- A gesture is made of only one stroke. -->
4687            <enum name="single" value="0" />
4688            <!-- A gesture is made of multiple strokes. -->
4689            <enum name="multiple" value="1" />
4690        </attr>
4691        <!-- Minimum length of a stroke before it is recognized as a gesture. -->
4692        <attr name="gestureStrokeLengthThreshold" format="float" />
4693        <!-- Squareness threshold of a stroke before it is recognized as a gesture. -->
4694        <attr name="gestureStrokeSquarenessThreshold" format="float" />
4695        <!-- Minimum curve angle a stroke must contain before it is recognized as a gesture. -->
4696        <attr name="gestureStrokeAngleThreshold" format="float" />
4697        <!-- Defines whether the overlay should intercept the motion events when a gesture
4698             is recognized. -->
4699        <attr name="eventsInterceptionEnabled" format="boolean" />
4700        <!-- Defines whether the gesture will automatically fade out after being recognized. -->
4701        <attr name="fadeEnabled" format="boolean" />
4702        <!-- Indicates whether horizontal (when the orientation is vertical) or vertical
4703             (when orientation is horizontal) strokes automatically define a gesture. -->
4704        <attr name="orientation" />
4705    </declare-styleable>
4706
4707    <declare-styleable name="QuickContactBadge">
4708        <attr name="quickContactWindowSize">
4709            <enum name="modeSmall" value="1" />
4710            <enum name="modeMedium" value="2" />
4711            <enum name="modeLarge" value="3" />
4712        </attr>
4713    </declare-styleable>
4714
4715    <!-- ======================================= -->
4716    <!-- Widget package parent layout attributes -->
4717    <!-- ======================================= -->
4718    <eat-comment />
4719
4720    <declare-styleable name="AbsoluteLayout_Layout">
4721        <attr name="layout_x" format="dimension" />
4722        <attr name="layout_y" format="dimension" />
4723    </declare-styleable>
4724    <declare-styleable name="LinearLayout_Layout">
4725        <attr name="layout_width" />
4726        <attr name="layout_height" />
4727        <attr name="layout_weight" format="float" />
4728        <attr name="layout_gravity" />
4729    </declare-styleable>
4730    <declare-styleable name="GridLayout_Layout">
4731        <!-- The row boundary delimiting the top of the group of cells
4732        occupied by this view. -->
4733        <attr name="layout_row" format="integer" />
4734        <!-- The row span: the difference between the top and bottom
4735        boundaries delimiting the group of cells occupied by this view.
4736        The default is one.
4737        See {@link android.widget.GridLayout.Spec}. -->
4738        <attr name="layout_rowSpan" format="integer" min="1" />
4739        <!-- The relative proportion of vertical space that should be allocated to this view
4740        during excess space distribution. -->
4741        <attr name="layout_rowWeight" format="float" />
4742        <!-- The column boundary delimiting the left of the group of cells
4743        occupied by this view. -->
4744        <attr name="layout_column" />
4745        <!-- The column span: the difference between the right and left
4746        boundaries delimiting the group of cells occupied by this view.
4747        The default is one.
4748        See {@link android.widget.GridLayout.Spec}. -->
4749        <attr name="layout_columnSpan" format="integer" min="1" />
4750        <!-- The relative proportion of horizontal space that should be allocated to this view
4751        during excess space distribution. -->
4752        <attr name="layout_columnWeight" format="float" />
4753        <!-- Gravity specifies how a component should be placed in its group of cells.
4754        The default is LEFT | BASELINE.
4755        See {@link android.widget.GridLayout.LayoutParams#setGravity(int)}. -->
4756        <attr name="layout_gravity" />
4757    </declare-styleable>
4758    <declare-styleable name="FrameLayout_Layout">
4759        <attr name="layout_gravity" />
4760    </declare-styleable>
4761    <declare-styleable name="RelativeLayout_Layout">
4762        <!-- Positions the right edge of this view to the left of the given anchor view ID.
4763             Accommodates right margin of this view and left margin of anchor view. -->
4764        <attr name="layout_toLeftOf" format="reference" />
4765        <!-- Positions the left edge of this view to the right of the given anchor view ID.
4766            Accommodates left margin of this view and right margin of anchor view. -->
4767        <attr name="layout_toRightOf" format="reference" />
4768        <!-- Positions the bottom edge of this view above the given anchor view ID.
4769            Accommodates bottom margin of this view and top margin of anchor view. -->
4770        <attr name="layout_above" format="reference" />
4771        <!-- Positions the top edge of this view below the given anchor view ID.
4772            Accommodates top margin of this view and bottom margin of anchor view. -->
4773        <attr name="layout_below" format="reference" />
4774        <!-- Positions the baseline of this view on the baseline of the given anchor view ID. -->
4775        <attr name="layout_alignBaseline" format="reference" />
4776        <!-- Makes the left edge of this view match the left edge of the given anchor view ID.
4777            Accommodates left margin. -->
4778        <attr name="layout_alignLeft" format="reference" />
4779        <!-- Makes the top edge of this view match the top edge of the given anchor view ID.
4780            Accommodates top margin. -->
4781        <attr name="layout_alignTop" format="reference" />
4782        <!-- Makes the right edge of this view match the right edge of the given anchor view ID.
4783            Accommodates right margin. -->
4784        <attr name="layout_alignRight" format="reference" />
4785        <!-- Makes the bottom edge of this view match the bottom edge of the given anchor view ID.
4786            Accommodates bottom margin. -->
4787        <attr name="layout_alignBottom" format="reference" />
4788        <!-- If true, makes the left edge of this view match the left edge of the parent.
4789            Accommodates left margin. -->
4790        <attr name="layout_alignParentLeft" format="boolean" />
4791        <!-- If true, makes the top edge of this view match the top edge of the parent.
4792            Accommodates top margin. -->
4793        <attr name="layout_alignParentTop" format="boolean" />
4794        <!-- If true, makes the right edge of this view match the right edge of the parent.
4795            Accommodates right margin. -->
4796        <attr name="layout_alignParentRight" format="boolean" />
4797        <!-- If true, makes the bottom edge of this view match the bottom edge of the parent.
4798            Accommodates bottom margin. -->
4799        <attr name="layout_alignParentBottom" format="boolean" />
4800        <!-- If true, centers this child horizontally and vertically within its parent. -->
4801        <attr name="layout_centerInParent" format="boolean" />
4802        <!-- If true, centers this child horizontally within its parent. -->
4803        <attr name="layout_centerHorizontal" format="boolean" />
4804        <!-- If true, centers this child vertically within its parent. -->
4805        <attr name="layout_centerVertical" format="boolean" />
4806        <!-- If set to true, the parent will be used as the anchor when the anchor cannot be
4807             be found for layout_toLeftOf, layout_toRightOf, etc. -->
4808        <attr name="layout_alignWithParentIfMissing" format="boolean" />
4809        <!-- Positions the end edge of this view to the start of the given anchor view ID.
4810             Accommodates end margin of this view and start margin of anchor view. -->
4811        <attr name="layout_toStartOf" format="reference" />
4812        <!-- Positions the start edge of this view to the end of the given anchor view ID.
4813             Accommodates start margin of this view and end margin of anchor view. -->
4814        <attr name="layout_toEndOf" format="reference" />
4815        <!-- Makes the start edge of this view match the start edge of the given anchor view ID.
4816            Accommodates start margin. -->
4817        <attr name="layout_alignStart" format="reference" />
4818        <!-- Makes the end edge of this view match the end edge of the given anchor view ID.
4819            Accommodates end margin. -->
4820        <attr name="layout_alignEnd" format="reference" />
4821        <!-- If true, makes the start edge of this view match the start edge of the parent.
4822            Accommodates start margin. -->
4823        <attr name="layout_alignParentStart" format="boolean" />
4824        <!-- If true, makes the end edge of this view match the end edge of the parent.
4825            Accommodates end margin. -->
4826        <attr name="layout_alignParentEnd" format="boolean" />
4827    </declare-styleable>
4828    <declare-styleable name="VerticalSlider_Layout">
4829        <attr name="layout_scale" format="float" />
4830    </declare-styleable>
4831
4832    <!-- attributes for internal rotary widget used in lock screen and phone app
4833      @hide -->
4834    <declare-styleable name="RotarySelector">
4835        <!-- Use "horizontal" or "vertical".  The default is horizontal. -->
4836        <attr name="orientation" />
4837    </declare-styleable>
4838
4839    <!-- @hide -->
4840    <declare-styleable name="WeightedLinearLayout">
4841        <attr name="majorWeightMin" format="float" />
4842        <attr name="minorWeightMin" format="float" />
4843        <attr name="majorWeightMax" format="float" />
4844        <attr name="minorWeightMax" format="float" />
4845    </declare-styleable>
4846
4847    <declare-styleable name="CalendarView">
4848        <!-- The first day of week according to {@link java.util.Calendar}. -->
4849        <attr name="firstDayOfWeek" format="integer" />
4850        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
4851        <attr name="minDate" />
4852        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
4853        <attr name="maxDate" />
4854        <!-- The text appearance for the month and year in the calendar header. -->
4855        <attr name="monthTextAppearance" format="reference" />
4856        <!-- The text appearance for the week day abbreviation in the calendar header. -->
4857        <attr name="weekDayTextAppearance" format="reference" />
4858        <!-- The text appearance for the day numbers in the calendar grid. -->
4859        <attr name="dateTextAppearance" format="reference" />
4860        <!-- @hide The background color used for the day selection indicator. -->
4861        <attr name="daySelectorColor" format="color" />
4862        <!-- @hide The background color used for the day highlight indicator. -->
4863        <attr name="dayHighlightColor" format="color" />
4864        <!-- @hide Which style of calendar delegate to use. -->
4865        <attr name="calendarViewMode">
4866            <enum name="holo" value="0" />
4867            <enum name="material" value="1" />
4868        </attr>
4869
4870        <!-- @deprecated Whether do show week numbers. -->
4871        <attr name="showWeekNumber" format="boolean" />
4872        <!-- @deprecated The number of weeks to be shown. -->
4873        <attr name="shownWeekCount" format="integer"/>
4874        <!-- @deprecated The background color for the selected week. -->
4875        <attr name="selectedWeekBackgroundColor" format="color|reference" />
4876        <!-- @deprecated The color for the dates of the focused month. -->
4877        <attr name="focusedMonthDateColor" format="color|reference" />
4878        <!-- @deprecated The color for the dates of an unfocused month. -->
4879        <attr name="unfocusedMonthDateColor" format="color|reference" />
4880        <!-- @deprecated The color for the week numbers. -->
4881        <attr name="weekNumberColor" format="color|reference" />
4882        <!-- @deprecated The color for the separator line between weeks. -->
4883        <attr name="weekSeparatorLineColor" format="color|reference" />
4884        <!-- @deprecated Drawable for the vertical bar shown at the beginning and at the end of the selected date. -->
4885        <attr name="selectedDateVerticalBar" format="reference" />
4886    </declare-styleable>
4887
4888    <declare-styleable name="NumberPicker">
4889        <!-- @hide Color for the solid color background if such for optimized rendering. -->
4890        <attr name="solidColor" format="color|reference" />
4891        <!-- @hide The divider for making the selection area. -->
4892        <attr name="selectionDivider" format="reference" />
4893        <!-- @hide The height of the selection divider. -->
4894        <attr name="selectionDividerHeight" format="dimension" />
4895        <!-- @hide The distance between the two selection dividers. -->
4896        <attr name="selectionDividersDistance" format="dimension" />
4897        <!-- @hide The min height of the NumberPicker. -->
4898        <attr name="internalMinHeight" format="dimension" />
4899        <!-- @hide The max height of the NumberPicker. -->
4900        <attr name="internalMaxHeight" format="dimension" />
4901        <!-- @hide The min width of the NumberPicker. -->
4902        <attr name="internalMinWidth" format="dimension" />
4903        <!-- @hide The max width of the NumberPicker. -->
4904        <attr name="internalMaxWidth" format="dimension" />
4905        <!-- @hide The layout of the number picker. -->
4906        <attr name="internalLayout" />
4907        <!-- @hide The drawable for pressed virtual (increment/decrement) buttons. -->
4908        <attr name="virtualButtonPressedDrawable" format="reference"/>
4909        <!-- @hide If true then the selector wheel is hidden until the picker has focus. -->
4910        <attr name="hideWheelUntilFocused" format="boolean"/>
4911    </declare-styleable>
4912
4913    <declare-styleable name="TimePicker">
4914        <!-- @hide The layout of the legacy time picker. -->
4915        <attr name="legacyLayout" format="reference" />
4916        <!-- @hide The layout of the time picker. -->
4917        <attr name="internalLayout" />
4918
4919        <!-- The text color for the selected time header text, ex. "12" or
4920             "PM". This should be a color state list where the activated state
4921             will be used when the minute picker or hour picker is active.-->
4922        <attr name="headerTextColor" />
4923        <!-- The background for the header containing the currently selected time. -->
4924        <attr name="headerBackground" />
4925
4926        <!-- The color for the hours/minutes numbers. This should be a color
4927             state list where the activated state will be used when the number
4928             is active.-->
4929        <attr name="numbersTextColor" format="color" />
4930        <!-- The color for the inner hours numbers used in 24-hour mode. This
4931             should be a color state list where the activated state will be
4932             used when the number is active.-->
4933        <attr name="numbersInnerTextColor" format="color" />
4934        <!-- The background color for the hours/minutes numbers. -->
4935        <attr name="numbersBackgroundColor" format="color" />
4936        <!-- The color for the hours/minutes selector. -->
4937        <attr name="numbersSelectorColor" format="color" />
4938
4939        <!-- Defines the look of the widget. Prior to the L release, the only choice was
4940             spinner. As of L, with the Material theme selected, the default layout is clock,
4941             but this attribute can be used to force spinner to be used instead. -->
4942        <attr name="timePickerMode">
4943            <!-- Time picker with spinner controls to select the time. -->
4944            <enum name="spinner" value="1" />
4945            <!-- Time picker with clock face to select the time. -->
4946            <enum name="clock" value="2" />
4947        </attr>
4948
4949        <!-- The text appearance for the AM/PM header.
4950             @deprecated Use headerTextColor instead. -->
4951        <attr name="headerAmPmTextAppearance" format="reference" />
4952        <!-- The text appearance for the time header.
4953             @deprecated Use headerTextColor instead. -->
4954        <attr name="headerTimeTextAppearance" format="reference" />
4955        <!-- The color for the AM/PM selectors.
4956             {@deprecated Use headerTextColor instead.}-->
4957        <attr name="amPmTextColor" format="color" />
4958        <!-- The background color state list for the AM/PM selectors.
4959             {@deprecated Use headerBackground instead.}-->
4960        <attr name="amPmBackgroundColor" format="color" />
4961    </declare-styleable>
4962
4963    <!-- ========================= -->
4964    <!-- Drawable class attributes -->
4965    <!-- ========================= -->
4966    <eat-comment />
4967
4968    <!-- Base attributes that are available to all Drawable objects. -->
4969    <declare-styleable name="Drawable">
4970        <!-- Provides initial visibility state of the drawable; the default
4971             value is false.  See
4972             {@link android.graphics.drawable.Drawable#setVisible}. -->
4973        <attr name="visible" format="boolean" />
4974        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
4975             RTL (right-to-left).  See
4976             {@link android.graphics.drawable.Drawable#setAutoMirrored}. -->
4977        <attr name="autoMirrored" format="boolean" />
4978    </declare-styleable>
4979
4980    <!-- Drawable used to render several states. Each state is represented by
4981         a child drawable. -->
4982    <declare-styleable name="StateListDrawable">
4983        <!-- Indicates whether the drawable should be initially visible. -->
4984        <attr name="visible" />
4985        <!-- If true, allows the drawable's padding to change based on the
4986             current state that is selected.  If false, the padding will
4987             stay the same (based on the maximum padding of all the states).
4988             Enabling this feature requires that the owner of the drawable
4989             deal with performing layout when the state changes, which is
4990             often not supported. -->
4991        <attr name="variablePadding" format="boolean" />
4992        <!-- If true, the drawable's reported internal size will remain
4993             constant as the state changes; the size is the maximum of all
4994             of the states.  If false, the size will vary based on the
4995             current state. -->
4996        <attr name="constantSize" format="boolean" />
4997        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
4998             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
4999             an RGB 565 screen). -->
5000        <attr name="dither" format="boolean" />
5001        <!-- Amount of time (in milliseconds) to fade in a new state drawable. -->
5002        <attr name="enterFadeDuration" format="integer" />
5003        <!-- Amount of time (in milliseconds) to fade out an old state drawable. -->
5004        <attr name="exitFadeDuration" format="integer" />
5005        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5006             RTL (right-to-left). -->
5007        <attr name="autoMirrored"/>
5008    </declare-styleable>
5009
5010    <!-- Drawable used to render several states with animated transitions. Each state
5011         is represented by a child drawable with an optional keyframe ID. -->
5012    <declare-styleable name="AnimatedStateListDrawable">
5013        <!-- Indicates whether the drawable should be initially visible. -->
5014        <attr name="visible" />
5015        <!-- If true, allows the drawable's padding to change based on the
5016             current state that is selected.  If false, the padding will
5017             stay the same (based on the maximum padding of all the states).
5018             Enabling this feature requires that the owner of the drawable
5019             deal with performing layout when the state changes, which is
5020             often not supported. -->
5021        <attr name="variablePadding" />
5022        <!-- If true, the drawable's reported internal size will remain
5023             constant as the state changes; the size is the maximum of all
5024             of the states.  If false, the size will vary based on the
5025             current state. -->
5026        <attr name="constantSize" />
5027        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5028             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5029             an RGB 565 screen). -->
5030        <attr name="dither" />
5031        <!-- Amount of time (in milliseconds) to fade in a new state drawable. -->
5032        <attr name="enterFadeDuration" />
5033        <!-- Amount of time (in milliseconds) to fade out an old state drawable. -->
5034        <attr name="exitFadeDuration" />
5035        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5036             RTL (right-to-left). -->
5037        <attr name="autoMirrored"/>
5038    </declare-styleable>
5039
5040    <!-- Represents a single state inside a StateListDrawable. -->
5041    <declare-styleable name="StateListDrawableItem">
5042        <!-- Reference to a drawable resource to use for the state. If not
5043             given, the drawable must be defined by the first child tag. -->
5044        <attr name="drawable" />
5045    </declare-styleable>
5046
5047    <!-- Transition used to animate between states with keyframe IDs. -->
5048    <declare-styleable name="AnimatedStateListDrawableItem">
5049        <!-- Reference to a drawable resource to use for the frame.  If not
5050             given, the drawable must be defined by the first child tag. -->
5051        <attr name="drawable" />
5052        <!-- Keyframe identifier for use in specifying transitions. -->
5053        <attr name="id" />
5054    </declare-styleable>
5055
5056    <!-- Transition used to animate between states with keyframe IDs. -->
5057    <declare-styleable name="AnimatedStateListDrawableTransition">
5058        <!-- Keyframe identifier for the starting state. -->
5059        <attr name="fromId" format="reference" />
5060        <!-- Keyframe identifier for the ending state. -->
5061        <attr name="toId" format="reference" />
5062        <!-- Reference to a animation drawable resource to use for the frame.  If not
5063             given, the animation drawable must be defined by the first child tag. -->
5064        <attr name="drawable" />
5065        <!-- Whether this transition is reversible. -->
5066        <attr name="reversible" format="boolean" />
5067    </declare-styleable>
5068
5069    <!-- Drawable used to render several animated frames. -->
5070    <declare-styleable name="AnimationDrawable">
5071        <attr name="visible" />
5072        <attr name="variablePadding" />
5073        <!-- If true, the animation will only run a single time and then
5074             stop.  If false (the default), it will continually run,
5075             restarting at the first frame after the last has finished. -->
5076        <attr name="oneshot" format="boolean" />
5077    </declare-styleable>
5078
5079    <!-- Represents a single frame inside an AnimationDrawable. -->
5080    <declare-styleable name="AnimationDrawableItem">
5081        <!-- Amount of time (in milliseconds) to display this frame. -->
5082        <attr name="duration" format="integer" />
5083        <!-- Reference to a drawable resource to use for the frame.  If not
5084             given, the drawable must be defined by the first child tag. -->
5085        <attr name="drawable" format="reference" />
5086    </declare-styleable>
5087
5088    <!-- Attributes that can be assigned to a StateListAnimator item. -->
5089    <declare-styleable name="StateListAnimatorItem">
5090        <attr name="animation"/>
5091    </declare-styleable>
5092
5093    <!-- Attributes that can be assigned to a ColorStateList item. -->
5094    <declare-styleable name="ColorStateListItem">
5095        <!-- Base color for this state. -->
5096        <attr name="color" />
5097        <!-- Alpha multiplier applied to the base color. -->
5098        <attr name="alpha" />
5099    </declare-styleable>
5100
5101    <!-- Drawable used to render a geometric shape, with a gradient or a solid color. -->
5102    <declare-styleable name="GradientDrawable">
5103        <!-- Indicates whether the drawable should intially be visible. -->
5104        <attr name="visible" />
5105        <!-- Enables or disables dithering. -->
5106        <attr name="dither" />
5107        <!-- Indicates what shape to fill with a gradient. -->
5108        <attr name="shape">
5109            <!-- Rectangle shape, with optional rounder corners. -->
5110            <enum name="rectangle" value="0" />
5111            <!-- Oval shape. -->
5112            <enum name="oval" value="1" />
5113            <!-- Line shape. -->
5114            <enum name="line" value="2" />
5115            <!-- Ring shape. -->
5116            <enum name="ring" value="3" />
5117        </attr>
5118        <!-- Inner radius of the ring expressed as a ratio of the ring's width. For instance,
5119             if innerRadiusRatio=9, then the inner radius equals the ring's width divided by 9.
5120             This value is ignored if innerRadius is defined. Default value is 9. -->
5121        <attr name="innerRadiusRatio" format="float" />
5122        <!-- Thickness of the ring expressed as a ratio of the ring's width. For instance,
5123             if thicknessRatio=3, then the thickness equals the ring's width divided by 3.
5124             This value is ignored if innerRadius is defined. Default value is 3. -->
5125        <attr name="thicknessRatio" format="float" />
5126        <!-- Inner radius of the ring. When defined, innerRadiusRatio is ignored. -->
5127        <attr name="innerRadius" format="dimension" />
5128        <!-- Thickness of the ring. When defined, thicknessRatio is ignored. -->
5129        <attr name="thickness" format="dimension" />
5130        <!-- Indicates whether the drawable's level affects the way the gradient is drawn. -->
5131        <attr name="useLevel" />
5132        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5133             no tint is applied. May be a color state list. -->
5134        <attr name="tint" />
5135        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5136             default value is src_in, which treats the drawable as an alpha mask. -->
5137        <attr name="tintMode" />
5138        <!-- Left optical inset.
5139             @hide Until optical insets are fully supported. -->
5140        <attr name="opticalInsetLeft" />
5141        <!-- Top optical inset.
5142             @hide Until optical insets are fully supported. -->
5143        <attr name="opticalInsetTop" />
5144        <!-- Right optical inset.
5145             @hide Until optical insets are fully supported. -->
5146        <attr name="opticalInsetRight" />
5147        <!-- Bottom optical inset.
5148             @hide Until optical insets are fully supported. -->
5149        <attr name="opticalInsetBottom" />
5150    </declare-styleable>
5151
5152    <!-- Used to specify the size of the shape for GradientDrawable. -->
5153    <declare-styleable name="GradientDrawableSize">
5154        <!-- Width of the gradient shape. -->
5155        <attr name="width" />
5156        <!-- Height of the gradient shape. -->
5157        <attr name="height" />
5158    </declare-styleable>
5159
5160    <!-- Used to describe the gradient used to fill the shape of a GradientDrawable. -->
5161    <declare-styleable name="GradientDrawableGradient">
5162        <!-- Start color of the gradient. -->
5163        <attr name="startColor" format="color" />
5164        <!-- Optional center color. For linear gradients, use centerX or centerY
5165             to place the center color. -->
5166        <attr name="centerColor" format="color" />
5167        <!-- End color of the gradient. -->
5168        <attr name="endColor" format="color" />
5169        <attr name="useLevel" format="boolean" />
5170        <!-- Angle of the gradient. -->
5171        <attr name="angle" format="float" />
5172        <!-- Type of gradient. The default type is linear. -->
5173        <attr name="type">
5174            <!-- Linear gradient. -->
5175            <enum name="linear" value="0" />
5176            <!-- Radial, or circular, gradient. -->
5177            <enum name="radial" value="1" />
5178            <!-- Sweep, or angled or diamond, gradient. -->
5179            <enum name="sweep"  value="2" />
5180        </attr>
5181        <!-- X coordinate of the origin of the gradient within the shape. -->
5182        <attr name="centerX" format="float|fraction" />
5183        <!-- Y coordinate of the origin of the gradient within the shape. -->
5184        <attr name="centerY" format="float|fraction" />
5185        <!-- Radius of the gradient, used only with radial gradient. -->
5186        <attr name="gradientRadius" format="float|fraction|dimension" />
5187    </declare-styleable>
5188
5189    <!-- Used to fill the shape of GradientDrawable with a solid color. -->
5190    <declare-styleable name="GradientDrawableSolid">
5191        <!-- Solid color for the gradient shape. -->
5192        <attr name="color" format="color" />
5193    </declare-styleable>
5194
5195    <!-- Used to describe the optional stroke of a GradientDrawable. -->
5196    <declare-styleable name="GradientDrawableStroke">
5197        <!-- Width of the gradient shape's stroke. -->
5198        <attr name="width" />
5199        <!-- Color of the gradient shape's stroke. -->
5200        <attr name="color" />
5201        <!-- Length of a dash in the stroke. -->
5202        <attr name="dashWidth" format="dimension" />
5203        <!-- Gap between dashes in the stroke. -->
5204        <attr name="dashGap" format="dimension" />
5205    </declare-styleable>
5206
5207    <!-- Describes the corners for the rectangle shape of a GradientDrawable.
5208         This can be used to render rounded corners. -->
5209    <declare-styleable name="DrawableCorners">
5210        <!-- Defines the radius of the four corners. -->
5211        <attr name="radius" format="dimension" />
5212        <!-- Radius of the top left corner. -->
5213        <attr name="topLeftRadius" format="dimension" />
5214        <!-- Radius of the top right corner. -->
5215        <attr name="topRightRadius" format="dimension" />
5216        <!-- Radius of the bottom left corner. -->
5217        <attr name="bottomLeftRadius" format="dimension" />
5218        <!-- Radius of the bottom right corner. -->
5219        <attr name="bottomRightRadius" format="dimension" />
5220    </declare-styleable>
5221
5222    <!-- Used to specify the optional padding of a GradientDrawable. -->
5223    <declare-styleable name="GradientDrawablePadding">
5224        <!-- Amount of left padding inside the gradient shape. -->
5225        <attr name="left" format="dimension" />
5226        <!-- Amount of top padding inside the gradient shape. -->
5227        <attr name="top" format="dimension" />
5228        <!-- Amount of right padding inside the gradient shape. -->
5229        <attr name="right" format="dimension" />
5230        <!-- Amount of bottom padding inside the gradient shape. -->
5231        <attr name="bottom" format="dimension" />
5232    </declare-styleable>
5233
5234    <!-- Drawable used to render several drawables stacked on top of each other.
5235         Each child drawable can be controlled individually. -->
5236    <declare-styleable name="LayerDrawable">
5237        <!-- Indicates the opacity of the layer. This can be useful to allow the
5238              system to enable drawing optimizations. The default value is
5239              translucent. -->
5240        <attr name="opacity">
5241            <!-- Indicates that the layer is opaque and contains no transparent
5242                 nor translucent pixels. -->
5243            <enum name="opaque" value="-1" />
5244            <!-- The layer is completely transparent (no pixel will be drawn.) -->
5245            <enum name="transparent" value="-2" />
5246            <!-- The layer has translucent pixels. -->
5247            <enum name="translucent" value="-3" />
5248        </attr>
5249        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5250             RTL (right-to-left). -->
5251        <attr name="autoMirrored" />
5252        <!-- Indicates how layer padding should affect the bounds of subsequent layers.
5253             The default padding mode value is nest. -->
5254        <attr name="paddingMode">
5255            <!-- Nest each layer inside the padding of the previous layer. -->
5256            <enum name="nest" value="0" />
5257            <!-- Stack each layer directly atop the previous layer. -->
5258            <enum name="stack" value="1" />
5259        </attr>
5260        <!-- Explicit top padding. Overrides child padding. -->
5261        <attr name="paddingTop" />
5262        <!-- Explicit bottom padding. Overrides child padding. -->
5263        <attr name="paddingBottom" />
5264        <!-- Explicit left padding. Overrides child padding. -->
5265        <attr name="paddingLeft" />
5266        <!-- Explicit right padding. Overrides child padding. -->
5267        <attr name="paddingRight" />
5268        <!-- Explicit start padding. Overrides child padding. Takes precedence
5269             over absolute padding (e.g. left when layout direction is LTR). -->
5270        <attr name="paddingStart" />
5271        <!-- Explicit end padding. Overrides child padding. Takes precedence
5272             over absolute padding (e.g. right when layout direction is LTR). -->
5273        <attr name="paddingEnd" />
5274    </declare-styleable>
5275
5276    <!-- Describes an item (or child) of a LayerDrawable. -->
5277    <declare-styleable name="LayerDrawableItem">
5278        <!-- Left inset to apply to the layer. -->
5279        <attr name="left" />
5280        <!-- Top inset to apply to the layer. -->
5281        <attr name="top" />
5282        <!-- Right inset to apply to the layer. -->
5283        <attr name="right" />
5284        <!-- Bottom inset to apply to the layer. -->
5285        <attr name="bottom" />
5286        <!-- Start inset to apply to the layer. Overrides {@code left} or
5287             {@code right} depending on layout direction. -->
5288        <attr name="start" format="dimension" />
5289        <!-- End inset to apply to the layer. Overrides {@code left} or
5290             {@code right} depending on layout direction. -->
5291        <attr name="end" format="dimension" />
5292        <!-- Width of the layer. Defaults to the layer's intrinsic width. -->
5293        <attr name="width" />
5294        <!-- Height of the layer. Defaults to the layer's intrinsic height -->
5295        <attr name="height" />
5296        <!-- Gravity used to align the layer within its container. If no value
5297             is specified, the default behavior depends on whether an explicit
5298             width or height has been set, If no dimension is set, gravity in
5299             that direction defaults to {@code fill_horizontal} or
5300             {@code fill_vertical}; otherwise, it defaults to {@code left} or
5301             {@code top}. -->
5302        <attr name="gravity" />
5303        <!-- Drawable used to render the layer. -->
5304        <attr name="drawable" />
5305        <!-- Identifier of the layer. This can be used to retrieve the layer
5306             from a drawable container. -->
5307        <attr name="id" />
5308    </declare-styleable>
5309
5310    <declare-styleable name="LevelListDrawableItem">
5311        <!-- The minimum level allowed for this item. -->
5312        <attr name="minLevel" format="integer" />
5313        <!-- The maximum level allowed for this item. -->
5314        <attr name="maxLevel" format="integer" />
5315        <attr name="drawable" />
5316    </declare-styleable>
5317
5318    <!-- Drawable used to rotate another drawable. -->
5319    <declare-styleable name="RotateDrawable">
5320        <attr name="visible" />
5321        <attr name="fromDegrees" format="float" />
5322        <attr name="toDegrees" format="float" />
5323        <attr name="pivotX" format="float|fraction" />
5324        <attr name="pivotY" format="float|fraction" />
5325        <attr name="drawable" />
5326    </declare-styleable>
5327
5328    <declare-styleable name="AnimatedRotateDrawable">
5329        <attr name="visible" />
5330        <attr name="frameDuration" format="integer" />
5331        <attr name="framesCount" format="integer" />
5332        <attr name="pivotX" />
5333        <attr name="pivotY" />
5334        <attr name="drawable" />
5335    </declare-styleable>
5336
5337    <!-- Drawable used to render the Material progress indicator. -->
5338    <declare-styleable name="MaterialProgressDrawable">
5339        <attr name="visible" />
5340        <attr name="thickness" />
5341        <attr name="innerRadius" />
5342        <attr name="width" />
5343        <attr name="height" />
5344        <attr name="color" />
5345    </declare-styleable>
5346
5347    <declare-styleable name="InsetDrawable">
5348        <attr name="visible" />
5349        <attr name="drawable" />
5350        <attr name="inset"  format="dimension"/>
5351        <attr name="insetLeft" format="dimension" />
5352        <attr name="insetRight" format="dimension" />
5353        <attr name="insetTop" format="dimension" />
5354        <attr name="insetBottom" format="dimension" />
5355    </declare-styleable>
5356
5357    <!-- Drawable used to draw bitmaps. -->
5358    <declare-styleable name="BitmapDrawable">
5359        <!-- Identifier of the bitmap file. This attribute is mandatory. -->
5360        <attr name="src" />
5361        <!-- Enables or disables antialiasing. Antialiasing can be used to smooth the
5362             edges of a bitmap when rotated. Default value is false. -->
5363        <attr name="antialias" format="boolean" />
5364        <!-- Enables or disables bitmap filtering. Filtering is used when the bitmap is
5365             shrunk or stretched to smooth its apperance. Default value is true. -->
5366        <attr name="filter" format="boolean" />
5367        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5368             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5369             an RGB 565 screen). Default value is true. -->
5370        <attr name="dither" />
5371        <!-- Defines the gravity for the bitmap. The gravity indicates where to position
5372             the drawable in its container if the bitmap is smaller than the container. -->
5373        <attr name="gravity" />
5374        <!-- Defines the tile mode. When the tile mode is enabled, the bitmap is repeated.
5375             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5376        <attr name="tileMode">
5377            <!-- Do not tile the bitmap. This is the default value. -->
5378            <enum name="disabled" value="-1" />
5379            <!-- Replicates the edge color. -->
5380            <enum name="clamp" value="0" />
5381            <!-- Repeats the bitmap in both direction. -->
5382            <enum name="repeat" value="1" />
5383            <!-- Repeats the shader's image horizontally and vertically, alternating
5384                 mirror images so that adjacent images always seam. -->
5385            <enum name="mirror" value="2" />
5386        </attr>
5387        <!-- Defines the horizontal tile mode. When the tile mode is enabled, the bitmap is repeated.
5388             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5389        <attr name="tileModeX">
5390            <!-- Do not tile the bitmap. This is the default value. -->
5391            <enum name="disabled" value="-1" />
5392            <!-- Replicates the edge color. -->
5393            <enum name="clamp" value="0" />
5394            <!-- Repeats the bitmap horizontally. -->
5395            <enum name="repeat" value="1" />
5396            <!-- Repeats the shader's image horizontally, alternating
5397                 mirror images so that adjacent images always seam. -->
5398            <enum name="mirror" value="2" />
5399        </attr>
5400        <!-- Defines the vertical tile mode. When the tile mode is enabled, the bitmap is repeated.
5401             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5402        <attr name="tileModeY">
5403            <!-- Do not tile the bitmap. This is the default value. -->
5404            <enum name="disabled" value="-1" />
5405            <!-- Replicates the edge color. -->
5406            <enum name="clamp" value="0" />
5407            <!-- Repeats the bitmap vertically. -->
5408            <enum name="repeat" value="1" />
5409            <!-- Repeats the shader's image vertically, alternating
5410                 mirror images so that adjacent images always seam. -->
5411            <enum name="mirror" value="2" />
5412        </attr>
5413        <!-- Enables or disables the mipmap hint. See
5414            {@link android.graphics.Bitmap#setHasMipMap(boolean)} for more information.
5415            Default value is false. -->
5416        <attr name="mipMap" format="boolean" />
5417        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5418             RTL (right-to-left). -->
5419        <attr name="autoMirrored" />
5420        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5421             no tint is applied. May be a color state list. -->
5422        <attr name="tint" />
5423        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5424             default value is src_in, which treats the drawable as an alpha mask. -->
5425        <attr name="tintMode">
5426            <!-- The tint is drawn on top of the drawable.
5427                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
5428            <enum name="src_over" value="3" />
5429            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
5430                 color channels are thrown out. [Sa * Da, Sc * Da] -->
5431            <enum name="src_in" value="5" />
5432            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
5433                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
5434            <enum name="src_atop" value="9" />
5435            <!-- Multiplies the color and alpha channels of the drawable with those of
5436                 the tint. [Sa * Da, Sc * Dc] -->
5437            <enum name="multiply" value="14" />
5438            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
5439            <enum name="screen" value="15" />
5440            <!-- Combines the tint and drawable color and alpha channels, clamping the
5441                 result to valid color values. Saturate(S + D) -->
5442            <enum name="add" value="16" />
5443        </attr>
5444        <!-- Specifies the alpha multiplier to apply to the base drawable. -->
5445        <attr name="alpha" />
5446    </declare-styleable>
5447
5448    <!-- Drawable used to draw 9-patches. -->
5449    <declare-styleable name="NinePatchDrawable">
5450        <!-- Identifier of the bitmap file. This attribute is mandatory. -->
5451        <attr name="src" />
5452        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5453             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5454             an RGB 565 screen). -->
5455        <attr name="dither" />
5456        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5457             RTL (right-to-left). -->
5458        <attr name="autoMirrored" />
5459        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5460             no tint is applied. May be a color state list. -->
5461        <attr name="tint" />
5462        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5463             default value is src_in, which treats the drawable as an alpha mask. -->
5464        <attr name="tintMode" />
5465        <!-- Specifies the alpha multiplier to apply to the base drawable. -->
5466        <attr name="alpha" />
5467    </declare-styleable>
5468
5469    <!-- Drawable used to draw a single color. -->
5470    <declare-styleable name="ColorDrawable">
5471        <!-- The color to use. -->
5472        <attr name="color" />
5473    </declare-styleable>
5474
5475    <!-- Drawable used to show animated touch feedback. -->
5476    <declare-styleable name="RippleDrawable">
5477        <!-- The color to use for ripple effects. This attribute is required. -->
5478        <attr name="color" />
5479        <!-- The radius of the ripple when fully expanded. By default, the
5480             radius is computed based on the size of the ripple's container. -->
5481        <attr name="radius" />
5482    </declare-styleable>
5483
5484    <declare-styleable name="ScaleDrawable">
5485        <!-- Scale width, expressed as a percentage of the drawable's bound. The value's
5486             format is XX%. For instance: 100%, 12.5%, etc.-->
5487        <attr name="scaleWidth" format="string" />
5488        <!-- Scale height, expressed as a percentage of the drawable's bound. The value's
5489             format is XX%. For instance: 100%, 12.5%, etc.-->
5490        <attr name="scaleHeight" format="string" />
5491        <!-- Specifies where the drawable is positioned after scaling. The default value is
5492             left. -->
5493        <attr name="scaleGravity">
5494            <!-- Push object to the top of its container, not changing its size. -->
5495            <flag name="top" value="0x30" />
5496            <!-- Push object to the bottom of its container, not changing its size. -->
5497            <flag name="bottom" value="0x50" />
5498            <!-- Push object to the left of its container, not changing its size. -->
5499            <flag name="left" value="0x03" />
5500            <!-- Push object to the right of its container, not changing its size. -->
5501            <flag name="right" value="0x05" />
5502            <!-- Place object in the vertical center of its container, not changing its size. -->
5503            <flag name="center_vertical" value="0x10" />
5504            <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
5505            <flag name="fill_vertical" value="0x70" />
5506            <!-- Place object in the horizontal center of its container, not changing its size. -->
5507            <flag name="center_horizontal" value="0x01" />
5508            <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
5509            <flag name="fill_horizontal" value="0x07" />
5510            <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
5511            <flag name="center" value="0x11" />
5512            <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
5513            <flag name="fill" value="0x77" />
5514            <!-- Additional option that can be set to have the top and/or bottom edges of
5515                 the child clipped to its container's bounds.
5516                 The clip will be based on the vertical gravity: a top gravity will clip the bottom
5517                 edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
5518            <flag name="clip_vertical" value="0x80" />
5519            <!-- Additional option that can be set to have the left and/or right edges of
5520                 the child clipped to its container's bounds.
5521                 The clip will be based on the horizontal gravity: a left gravity will clip the right
5522                 edge, a right gravity will clip the left edge, and neither will clip both edges. -->
5523            <flag name="clip_horizontal" value="0x08" />
5524            <!-- Push object to the beginning of its container, not changing its size. -->
5525            <flag name="start" value="0x00800003" />
5526            <!-- Push object to the end of its container, not changing its size. -->
5527            <flag name="end" value="0x00800005" />
5528        </attr>
5529        <!-- Reference to a drawable resource to draw with the specified scale. -->
5530        <attr name="drawable" />
5531        <!-- Use the drawable's intrinsic width and height as minimum size values.
5532             Useful if the target drawable is a 9-patch or otherwise should not be scaled
5533             down beyond a minimum size. -->
5534        <attr name="useIntrinsicSizeAsMinimum" format="boolean" />
5535    </declare-styleable>
5536
5537    <declare-styleable name="ClipDrawable">
5538        <!-- The orientation for the clip. -->
5539        <attr name="clipOrientation">
5540            <!-- Clip the drawable horizontally. -->
5541            <flag name="horizontal" value="1" />
5542            <!-- Clip the drawable vertically. -->
5543            <flag name="vertical" value="2" />
5544        </attr>
5545        <!-- Specifies where to clip within the drawable. The default value is
5546             left. -->
5547        <attr name="gravity" />
5548        <!-- Reference to a drawable resource to draw with the specified scale. -->
5549        <attr name="drawable" />
5550    </declare-styleable>
5551
5552    <!-- Defines the padding of a ShapeDrawable. -->
5553    <declare-styleable name="ShapeDrawablePadding">
5554        <!-- Left padding. -->
5555        <attr name="left" />
5556        <!-- Top padding. -->
5557        <attr name="top" />
5558        <!-- Right padding. -->
5559        <attr name="right" />
5560        <!-- Bottom padding. -->
5561        <attr name="bottom" />
5562    </declare-styleable>
5563
5564    <!-- Drawable used to draw shapes. -->
5565    <declare-styleable name="ShapeDrawable">
5566        <!-- Defines the color of the shape. -->
5567        <attr name="color" />
5568        <!-- Defines the width of the shape. -->
5569        <attr name="width" />
5570        <!-- Defines the height of the shape. -->
5571        <attr name="height" />
5572        <!-- Enables or disables dithering. -->
5573        <attr name="dither" />
5574        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5575             no tint is applied. May be a color state list. -->
5576        <attr name="tint" />
5577        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5578             default value is src_in, which treats the drawable as an alpha mask. -->
5579        <attr name="tintMode" />
5580    </declare-styleable>
5581
5582    <!-- ========================== -->
5583    <!--   VectorDrawable class   -->
5584    <!-- ========================== -->
5585    <eat-comment />
5586
5587    <!-- Drawable used to draw vector paths. -->
5588    <declare-styleable name="VectorDrawable">
5589        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5590             no tint is applied. May be a color state list. -->
5591        <attr name="tint" />
5592        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5593             default value is src_in, which treats the drawable as an alpha mask. -->
5594        <attr name="tintMode" />
5595        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5596             RTL (right-to-left). -->
5597        <attr name="autoMirrored" />
5598        <!-- The intrinsic width of the Vector Drawable. -->
5599        <attr name="width" />
5600        <!-- The intrinsic height of the Vector Drawable. -->
5601        <attr name="height" />
5602        <!-- The width of the canvas the drawing is on. -->
5603        <attr name="viewportWidth" format="float"/>
5604        <!-- The height of the canvas the drawing is on. -->
5605        <attr name="viewportHeight" format="float"/>
5606        <!-- The name of this vector drawable -->
5607        <attr name="name" />
5608        <!-- The opacity of the whole vector drawable, as a value between 0
5609             (completely transparent) and 1 (completely opaque). -->
5610        <attr name="alpha" />
5611        <!-- Left optical inset.
5612             @hide Until optical insets are fully supported. -->
5613        <attr name="opticalInsetLeft" format="dimension" />
5614        <!-- Top optical inset.
5615             @hide Until optical insets are fully supported. -->
5616        <attr name="opticalInsetTop" format="dimension" />
5617        <!-- Right optical inset.
5618             @hide Until optical insets are fully supported. -->
5619        <attr name="opticalInsetRight" format="dimension" />
5620        <!-- Bottom optical inset.
5621             @hide Until optical insets are fully supported. -->
5622        <attr name="opticalInsetBottom" format="dimension" />
5623    </declare-styleable>
5624
5625    <!-- Defines the group used in VectorDrawables. -->
5626    <declare-styleable name="VectorDrawableGroup">
5627        <!-- The name of this group -->
5628        <attr name="name" />
5629        <!-- The amount to rotate the group -->
5630        <attr name="rotation" />
5631        <!-- The X coordinate of the center of rotation of a group -->
5632        <attr name="pivotX" />
5633        <!-- The Y coordinate of the center of rotation of a group -->
5634        <attr name="pivotY" />
5635        <!-- The amount to translate the group on X coordinate -->
5636        <attr name="translateX" format="float"/>
5637        <!-- The amount to translate the group on Y coordinate -->
5638        <attr name="translateY" format="float"/>
5639        <!-- The amount to scale the group on X coordinate -->
5640        <attr name="scaleX" />
5641        <!-- The amount to scale the group on X coordinate -->
5642        <attr name="scaleY" />
5643    </declare-styleable>
5644
5645    <!-- Defines the path used in VectorDrawables. -->
5646    <declare-styleable name="VectorDrawablePath">
5647        <!-- The name of this path -->
5648        <attr name="name" />
5649        <!-- The width a path stroke -->
5650        <attr name="strokeWidth" format="float" />
5651        <!-- The color to stroke the path if not defined implies no stroke-->
5652        <attr name="strokeColor" format="color" />
5653        <!-- The opacity of a path stroke, as a value between 0 (completely transparent)
5654             and 1 (completely opaque) -->
5655        <attr name="strokeAlpha" format="float" />
5656        <!-- The color to fill the path if not defined implies no fill-->
5657        <attr name="fillColor" format="color" />
5658        <!-- The alpha of the path fill, as a value between 0 (completely transparent)
5659             and 1 (completely opaque)-->
5660        <attr name="fillAlpha" format="float" />
5661        <!-- The specification of the operations that define the path  -->
5662        <attr name="pathData" format="string" />
5663        <!-- The fraction of the path to trim from the start from 0 to 1 -->
5664        <attr name="trimPathStart" format="float" />
5665        <!-- The fraction of the path to trim from the end from 0 to 1  -->
5666        <attr name="trimPathEnd" format="float" />
5667        <!-- Shift trim region (allows visible region to include the start and end) from 0 to 1  -->
5668        <attr name="trimPathOffset" format="float" />
5669        <!-- sets the linecap for a stroked path -->
5670        <attr name="strokeLineCap" format="enum">
5671            <enum name="butt" value="0"/>
5672            <enum name="round" value="1"/>
5673            <enum name="square" value="2"/>
5674        </attr>
5675        <!-- sets the lineJoin for a stroked path -->
5676        <attr name="strokeLineJoin" format="enum">
5677            <enum name="miter" value="0"/>
5678            <enum name="round" value="1"/>
5679            <enum name="bevel" value="2"/>
5680        </attr>
5681        <!-- sets the Miter limit for a stroked path -->
5682        <attr name="strokeMiterLimit" format="float"/>
5683    </declare-styleable>
5684
5685    <!-- Defines the clip path used in VectorDrawables. -->
5686    <declare-styleable name="VectorDrawableClipPath">
5687        <!-- The Name of this path -->
5688        <attr name="name" />
5689        <!-- The specification of the operations that define the path  -->
5690        <attr name="pathData"/>
5691    </declare-styleable>
5692
5693    <!-- ========================== -->
5694    <!--   AnimatedVectorDrawable class   -->
5695    <!-- ========================== -->
5696    <eat-comment />
5697
5698    <!-- Define the AnimatedVectorDrawable. -->
5699    <declare-styleable name="AnimatedVectorDrawable">
5700        <!-- The static vector drawable. -->
5701        <attr name="drawable" />
5702    </declare-styleable>
5703
5704    <!-- Defines the target used in the AnimatedVectorDrawable. -->
5705    <declare-styleable name="AnimatedVectorDrawableTarget">
5706        <!-- The name of the target path, group or vector drawable -->
5707        <attr name="name" />
5708        <!-- The animation for the target path, group or vector drawable -->
5709        <attr name="animation" />
5710    </declare-styleable>
5711
5712    <!-- ========================== -->
5713    <!-- Animation class attributes -->
5714    <!-- ========================== -->
5715    <eat-comment />
5716
5717    <declare-styleable name="Animation">
5718        <!-- Defines the interpolator used to smooth the animation movement in time. -->
5719        <attr name="interpolator" />
5720        <!-- When set to true, the value of fillBefore is taken into account. -->
5721        <attr name="fillEnabled" format="boolean" />
5722        <!-- When set to true or when fillEnabled is not set to true, the animation transformation
5723             is applied before the animation has started. The default value is true. -->
5724        <attr name="fillBefore" format="boolean" />
5725        <!-- When set to true, the animation transformation is applied after the animation is
5726             over. The default value is false. If fillEnabled is not set to true and the
5727             animation is not set on a View, fillAfter is assumed to be true.-->
5728        <attr name="fillAfter" format="boolean" />
5729        <!-- Amount of time (in milliseconds) for the animation to run. -->
5730        <attr name="duration" />
5731        <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
5732        <attr name="startOffset" format="integer" />
5733        <!-- Defines how many times the animation should repeat. The default value is 0. -->
5734        <attr name="repeatCount" format="integer">
5735            <enum name="infinite" value="-1" />
5736        </attr>
5737        <!-- Defines the animation behavior when it reaches the end and the repeat count is
5738             greater than 0 or infinite. The default value is restart. -->
5739        <attr name="repeatMode">
5740            <!-- The animation starts again from the beginning. -->
5741            <enum name="restart" value="1" />
5742            <!-- The animation plays backward. -->
5743            <enum name="reverse" value="2" />
5744        </attr>
5745        <!-- Allows for an adjustment of the Z ordering of the content being
5746             animated for the duration of the animation.  The default value is normal. -->
5747        <attr name="zAdjustment">
5748            <!-- The content being animated be kept in its current Z order. -->
5749            <enum name="normal" value="0" />
5750            <!-- The content being animated is forced on top of all other
5751                 content for the duration of the animation. -->
5752            <enum name="top" value="1" />
5753            <!-- The content being animated is forced under all other
5754                 content for the duration of the animation. -->
5755            <enum name="bottom" value="-1" />
5756        </attr>
5757        <!-- Special background behind animation.  Only for use with window
5758             animations.  Can only be a color, and only black.  If 0, the
5759             default, there is no background. -->
5760        <attr name="background" />
5761        <!-- Special option for window animations: if this window is on top
5762             of a wallpaper, don't animate the wallpaper with it. -->
5763        <attr name="detachWallpaper" format="boolean" />
5764    </declare-styleable>
5765
5766    <declare-styleable name="AnimationSet">
5767        <attr name="shareInterpolator" format="boolean" />
5768        <attr name="fillBefore" />
5769        <attr name="fillAfter" />
5770        <attr name="duration" />
5771        <attr name="startOffset" />
5772        <attr name="repeatMode" />
5773    </declare-styleable>
5774
5775    <declare-styleable name="RotateAnimation">
5776        <attr name="fromDegrees" />
5777        <attr name="toDegrees" />
5778        <attr name="pivotX" />
5779        <attr name="pivotY" />
5780    </declare-styleable>
5781
5782    <declare-styleable name="ScaleAnimation">
5783        <attr name="fromXScale" format="float|fraction|dimension" />
5784        <attr name="toXScale" format="float|fraction|dimension" />
5785        <attr name="fromYScale" format="float|fraction|dimension" />
5786        <attr name="toYScale" format="float|fraction|dimension" />
5787        <attr name="pivotX" />
5788        <attr name="pivotY" />
5789    </declare-styleable>
5790
5791    <declare-styleable name="TranslateAnimation">
5792        <attr name="fromXDelta" format="float|fraction" />
5793        <attr name="toXDelta" format="float|fraction" />
5794        <attr name="fromYDelta" format="float|fraction" />
5795        <attr name="toYDelta" format="float|fraction" />
5796    </declare-styleable>
5797
5798    <declare-styleable name="AlphaAnimation">
5799        <attr name="fromAlpha" format="float" />
5800        <attr name="toAlpha" format="float" />
5801    </declare-styleable>
5802
5803    <declare-styleable name="LayoutAnimation">
5804        <!-- Fraction of the animation duration used to delay the beginning of
5805         the animation of each child. -->
5806        <attr name="delay" format="float|fraction" />
5807        <!-- Animation to use on each child. -->
5808        <attr name="animation" format="reference" />
5809        <!-- The order in which the animations will be started. -->
5810        <attr name="animationOrder">
5811            <!-- Animations are started in the natural order. -->
5812            <enum name="normal" value="0" />
5813            <!-- Animations are started in the reverse order. -->
5814            <enum name="reverse" value="1" />
5815            <!-- Animations are started randomly. -->
5816            <enum name="random" value="2" />
5817        </attr>
5818        <!-- Interpolator used to interpolate the delay between the start of
5819         each animation. -->
5820        <attr name="interpolator" />
5821    </declare-styleable>
5822
5823    <declare-styleable name="GridLayoutAnimation">
5824        <!-- Fraction of the animation duration used to delay the beginning of
5825         the animation of each column. -->
5826        <attr name="columnDelay" format="float|fraction" />
5827        <!-- Fraction of the animation duration used to delay the beginning of
5828         the animation of each row. -->
5829        <attr name="rowDelay" format="float|fraction" />
5830        <!-- Direction of the animation in the grid. -->
5831        <attr name="direction">
5832            <!-- Animates columns from left to right. -->
5833            <flag name="left_to_right" value="0x0" />
5834            <!-- Animates columns from right to left. -->
5835            <flag name="right_to_left" value="0x1" />
5836            <!-- Animates rows from top to bottom. -->
5837            <flag name="top_to_bottom" value="0x0" />
5838            <!-- Animates rows from bottom to top. -->
5839            <flag name="bottom_to_top" value="0x2" />
5840        </attr>
5841        <!-- Priority of the rows and columns. When the priority is none,
5842         both rows and columns have the same priority. When the priority is
5843         column, the animations will be applied on the columns first. The same
5844         goes for rows. -->
5845        <attr name="directionPriority">
5846            <!-- Rows and columns are animated at the same time. -->
5847            <enum name="none"   value="0" />
5848            <!-- Columns are animated first. -->
5849            <enum name="column" value="1" />
5850            <!-- Rows are animated first. -->
5851            <enum name="row"    value="2" />
5852        </attr>
5853    </declare-styleable>
5854
5855    <declare-styleable name="AccelerateInterpolator">
5856        <!-- This is the amount of deceleration to add when easing in. -->
5857        <attr name="factor" format="float" />
5858    </declare-styleable>
5859
5860    <declare-styleable name="DecelerateInterpolator">
5861        <!-- This is the amount of acceleration to add when easing out. -->
5862        <attr name="factor" />
5863    </declare-styleable>
5864
5865    <declare-styleable name="CycleInterpolator">
5866        <attr name="cycles" format="float" />
5867    </declare-styleable>
5868
5869    <declare-styleable name="AnticipateInterpolator">
5870        <!-- This is the amount of tension. -->
5871        <attr name="tension" format="float" />
5872    </declare-styleable>
5873
5874    <declare-styleable name="OvershootInterpolator">
5875        <!-- This is the amount of tension. -->
5876        <attr name="tension" />
5877    </declare-styleable>
5878
5879    <declare-styleable name="AnticipateOvershootInterpolator">
5880        <!-- This is the amount of tension. -->
5881        <attr name="tension" />
5882        <!-- This is the amount by which to multiply the tension. -->
5883        <attr name="extraTension" format="float" />
5884    </declare-styleable>
5885
5886    <declare-styleable name="PathInterpolator">
5887        <!-- The x coordinate of the first control point of the cubic Bezier -->
5888        <attr name="controlX1" format="float" />
5889        <!-- The y coordinate of the first control point of the cubic Bezier -->
5890        <attr name="controlY1" format="float" />
5891        <!-- The x coordinate of the second control point of the cubic Bezier -->
5892        <attr name="controlX2" format="float" />
5893        <!-- The y coordinate of the second control point of the cubic Bezier -->
5894        <attr name="controlY2" format="float" />
5895        <!-- The control points defined as a path.
5896             When pathData is defined, then both of the control points of the
5897             cubic Bezier will be ignored. -->
5898        <attr name="pathData"/>
5899    </declare-styleable>
5900
5901    <!-- ========================== -->
5902    <!-- Transition attributes -->
5903    <!-- ========================== -->
5904    <eat-comment />
5905
5906    <!-- Use specific transition subclass names as the root tag of the XML resource that
5907         describes a {@link android.transition.Transition Transition},
5908         such as <code>changeBounds</code>, <code>fade</code>, and <code>transitionSet</code>. -->
5909    <declare-styleable name="Transition">
5910        <!-- Amount of time (in milliseconds) that the transition should run. -->
5911        <attr name="duration" />
5912        <!-- Delay in milliseconds before the transition starts. -->
5913        <attr name="startDelay" format="integer" />
5914        <!-- Interpolator to be used in the animations spawned by this transition. -->
5915        <attr name="interpolator" />
5916        <!-- The match order to use for the transition. This is a comma-separated
5917             list of values, containing one or more of the following:
5918             id, itemId, name, instance. These correspond to
5919             {@link android.transition.Transition#MATCH_ID},
5920             {@link android.transition.Transition#MATCH_ITEM_ID},
5921             {@link android.transition.Transition#MATCH_NAME}, and
5922             {@link android.transition.Transition#MATCH_INSTANCE}, respectively.
5923             This corresponds to {@link android.transition.Transition#setMatchOrder(int...)}. -->
5924        <attr name="matchOrder" format="string" />
5925    </declare-styleable>
5926
5927    <!-- @hide For internal use only. Use only as directed. -->
5928    <declare-styleable name="EpicenterTranslateClipReveal">
5929        <attr name="interpolatorX" format="reference" />
5930        <attr name="interpolatorY" format="reference" />
5931        <attr name="interpolatorZ" format="reference" />
5932    </declare-styleable>
5933
5934    <!-- Use <code>fade</code>as the root tag of the XML resource that
5935         describes a {@link android.transition.Fade Fade} transition.
5936         The attributes of the {@link android.R.styleable#Transition Transition}
5937         resource are available in addition to the specific attributes of Fade
5938         described here. -->
5939    <declare-styleable name="Fade">
5940        <!-- Equivalent to <code>transitionVisibilityMode</code>, fadingMode works only
5941             with the Fade transition. -->
5942        <attr name="fadingMode">
5943            <!-- Fade will only fade appearing items in. -->
5944            <enum name="fade_in" value="1" />
5945            <!-- Fade will only fade disappearing items out. -->
5946            <enum name="fade_out" value="2" />
5947            <!-- Fade will fade appearing items in and disappearing items out. -->
5948            <enum name="fade_in_out" value="3" />
5949        </attr>
5950    </declare-styleable>
5951
5952    <!-- Use <code>slide</code>as the root tag of the XML resource that
5953         describes a {@link android.transition.Slide Slide} transition.
5954         The attributes of the {@link android.R.styleable#Transition Transition}
5955         resource are available in addition to the specific attributes of Slide
5956         described here. -->
5957    <declare-styleable name="Slide">
5958        <attr name="slideEdge">
5959            <!-- Slide to and from the left edge of the Scene. -->
5960            <enum name="left" value="0x03" />
5961            <!-- Slide to and from the top edge of the Scene. -->
5962            <enum name="top" value="0x30" />
5963            <!-- Slide to and from the right edge of the Scene. -->
5964            <enum name="right" value="0x05" />
5965            <!-- Slide to and from the bottom edge of the Scene. -->
5966            <enum name="bottom" value="0x50" />
5967            <!-- Slide to and from the x-axis position at the start of the Scene root. -->
5968            <enum name="start" value="0x00800003"/>
5969            <!-- Slide to and from the x-axis position at the end of the Scene root. -->
5970            <enum name="end" value="0x00800005"/>
5971        </attr>
5972    </declare-styleable>
5973
5974    <!-- Use with {@link android.transition.Visibility} transitions, such as
5975         <code>slide</code>, <code>explode</code>, and <code>fade</code> to mark which
5976         views are supported. -->
5977    <declare-styleable name="VisibilityTransition">
5978        <!-- Changes whether the transition supports appearing and/or disappearing Views.
5979             Corresponds to {@link android.transition.Visibility#setMode(int)}. -->
5980        <attr name="transitionVisibilityMode">
5981            <!-- Only appearing Views will be supported. -->
5982            <flag name="mode_in" value="1" />
5983            <!-- Only disappearing Views will be supported. -->
5984            <flag name="mode_out" value="2" />
5985        </attr>
5986    </declare-styleable>
5987    <!-- Use <code>target</code> as the root tag of the XML resource that
5988     describes a {@link android.transition.Transition#addTarget(int)
5989     targetId} of a transition. There can be one or more targets inside
5990     a <code>targets</code> tag, which is itself inside an appropriate
5991     {@link android.R.styleable#Transition Transition} tag.
5992     -->
5993    <declare-styleable name="TransitionTarget">
5994        <!-- The id of a target on which this transition will animate changes. -->
5995        <attr name="targetId" format="reference" />
5996        <!-- The id of a target to exclude from this transition. -->
5997        <attr name="excludeId" format="reference" />
5998        <!-- The fully-qualified name of the Class to include in this transition. -->
5999        <attr name="targetClass" />
6000        <!-- The fully-qualified name of the Class to exclude from this transition. -->
6001        <attr name="excludeClass" format="string" />
6002        <!-- The transitionName of the target on which this transition will animation changes. -->
6003        <attr name="targetName" format="string" />
6004        <!-- The transitionName of the target to exclude from this transition. -->
6005        <attr name="excludeName" format="string" />
6006    </declare-styleable>
6007
6008    <!-- Use <code>set</code> as the root tag of the XML resource that
6009         describes a {@link android.transition.TransitionSet
6010         TransitionSet} transition. -->
6011    <declare-styleable name="TransitionSet">
6012        <attr name="transitionOrdering">
6013            <!-- child transitions should be played together. -->
6014            <enum name="together" value="0" />
6015            <!-- child transitions should be played sequentially, in the same order
6016            as the xml. -->
6017            <enum name="sequential" value="1" />
6018        </attr>
6019    </declare-styleable>
6020
6021    <!-- Use <code>changeTransform</code> as the root tag of the XML resource that
6022         describes a {@link android.transition.ChangeTransform} transition. -->
6023    <declare-styleable name="ChangeTransform">
6024        <!-- A parent change should use an overlay or affect the transform of the
6025             transitionining View. Default is true. Corresponds to
6026             {@link android.transition.ChangeTransform#setReparentWithOverlay(boolean)}. -->
6027        <attr name="reparentWithOverlay" format="boolean"/>
6028
6029        <!-- Tells ChangeTransform to track parent changes. Default is true. Corresponds to
6030             {@link android.transition.ChangeTransform#setReparent(boolean)}. -->
6031        <attr name="reparent" format="boolean"/>
6032    </declare-styleable>
6033
6034    <!-- Use <code>changeBounds</code>as the root tag of the XML resource that
6035         describes a {@link android.transition.ChangeBounds} transition.
6036         The attributes of the {@link android.R.styleable#Transition Transition}
6037         resource are available in addition to the specific attributes of ChangeBounds
6038         described here. -->
6039    <declare-styleable name="ChangeBounds">
6040        <!-- Resize the view by adjusting the clipBounds rather than changing the
6041             dimensions of the view itself. The default value is false. -->
6042        <attr name="resizeClip" format="boolean"/>
6043    </declare-styleable>
6044
6045    <!-- Use <code>transitionManager</code> as the root tag of the XML resource that
6046         describes a {@link android.transition.TransitionManager
6047         TransitionManager}. -->
6048    <declare-styleable name="TransitionManager">
6049        <!-- The id of a transition to be used in a particular scene change. -->
6050        <attr name="transition" format="reference" />
6051        <!-- The originating scene in this scene change. -->
6052        <attr name="fromScene" format="reference" />
6053        <!-- The destination scene in this scene change. -->
6054        <attr name="toScene" format="reference" />
6055    </declare-styleable>
6056
6057    <!-- Use <code>arcMotion</code> as the root tag of the XML resource that
6058         describes a {@link android.transition.ArcMotion}. This must be used
6059         within a transition with which the PathMotion should be associated. -->
6060    <declare-styleable name="ArcMotion">
6061        <!-- The minimum arc angle in degrees between the start and end points when
6062             they are close to horizontal. -->
6063        <attr name="minimumHorizontalAngle" format="float" />
6064        <!-- The minimum arc angle in degrees between the start and end points when
6065             they are close to vertical. -->
6066        <attr name="minimumVerticalAngle" format="float" />
6067        <!-- The maximum arc angle in degrees between the start and end points. -->
6068        <attr name="maximumAngle" format="float" />
6069    </declare-styleable>
6070
6071    <!-- Use <code>patternPathMotion</code> as the root tag of the XML resource that
6072         describes a {@link android.transition.PatternPathMotion}. This must be used
6073         within a transition with which the PathMotion should be associated. -->
6074    <declare-styleable name="PatternPathMotion">
6075        <!-- The path string describing the pattern to use for the PathPathMotion. -->
6076        <attr name="patternPathData" format="string" />
6077    </declare-styleable>
6078
6079    <!-- ========================== -->
6080    <!-- ValueAnimator class attributes -->
6081    <!-- ========================== -->
6082    <eat-comment />
6083
6084    <declare-styleable name="Animator">
6085        <!-- Defines the interpolator used to smooth the animation movement in time. -->
6086        <attr name="interpolator" />
6087        <!-- Amount of time (in milliseconds) for the animation to run. -->
6088        <attr name="duration" />
6089        <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
6090        <attr name="startOffset"/>
6091        <!-- Defines how many times the animation should repeat. The default value is 0. -->
6092        <attr name="repeatCount"/>
6093        <!-- Defines the animation behavior when it reaches the end and the repeat count is
6094             greater than 0 or infinite. The default value is restart. -->
6095        <attr name="repeatMode"/>
6096        <!-- Value the animation starts from. -->
6097        <attr name="valueFrom" format="float|integer|color|dimension|string"/>
6098        <!-- Value the animation animates to. -->
6099        <attr name="valueTo" format="float|integer|color|dimension|string"/>
6100        <!-- The type of valueFrom and valueTo. -->
6101        <attr name="valueType">
6102            <!-- The given values are floats. This is the default value if valueType is
6103                 unspecified. Note that if any value attribute has a color value
6104                 (beginning with "#"), then this attribute is ignored and the color values are
6105                 interpreted as integers. -->
6106            <enum name="floatType" value="0" />
6107            <!-- values are integers. -->
6108            <enum name="intType"   value="1" />
6109            <!-- values are paths defined as strings.
6110                 This type is used for path morphing in AnimatedVectorDrawable. -->
6111            <enum name="pathType"   value="2" />
6112            <!-- values are colors, which are integers starting with "#". -->
6113            <enum name="colorType"   value="3" />
6114        </attr>
6115        <!-- Placeholder for a deleted attribute. This should be removed before M release. -->
6116        <attr name="removeBeforeMRelease" format="integer" />
6117    </declare-styleable>
6118
6119    <declare-styleable name="PropertyValuesHolder">
6120        <attr name="valueType" />
6121        <attr name="propertyName" />
6122        <attr name="valueFrom" />
6123        <attr name="valueTo" />
6124    </declare-styleable>
6125
6126    <declare-styleable name="Keyframe">
6127        <attr name="valueType" />
6128        <attr name="value" />
6129        <attr name="fraction" format="float" />
6130        <!-- Defines a per-interval interpolator for this keyframe. This interpolator will be used
6131             to interpolate between this keyframe and the previous keyframe.-->
6132        <attr name="interpolator" />
6133    </declare-styleable>
6134
6135    <!-- ========================== -->
6136    <!-- ObjectAnimator class attributes -->
6137    <!-- ========================== -->
6138    <eat-comment />
6139
6140    <declare-styleable name="PropertyAnimator">
6141        <!-- Name of the property being animated. -->
6142        <attr name="propertyName" format="string"/>
6143        <!-- Name of the property being animated as the X coordinate of the pathData. -->
6144        <attr name="propertyXName" format="string"/>
6145        <!-- Name of the property being animated as the Y coordinate of the pathData. -->
6146        <attr name="propertyYName" format="string"/>
6147        <!-- The path used to animate the properties in the ObjectAnimator -->
6148        <attr name="pathData"/>
6149    </declare-styleable>
6150
6151
6152    <!-- ========================== -->
6153    <!-- AnimatorSet class attributes -->
6154    <!-- ========================== -->
6155    <eat-comment />
6156
6157    <declare-styleable name="AnimatorSet">
6158        <!-- Name of the property being animated. -->
6159        <attr name="ordering">
6160            <!-- child animations should be played together. -->
6161            <enum name="together" value="0" />
6162            <!-- child animations should be played sequentially, in the same order as the xml. -->
6163            <enum name="sequentially" value="1" />
6164        </attr>
6165    </declare-styleable>
6166
6167    <!-- ========================== -->
6168    <!-- State attributes           -->
6169    <!-- ========================== -->
6170    <eat-comment />
6171
6172    <!-- Drawable states.
6173         The mapping of Drawable states to a particular drawables is specified
6174         in the "state" elements of a Widget's "selector" element.
6175         Possible values:
6176         <ul>
6177         <li>"state_focused"
6178         <li>"state_window_focused"
6179         <li>"state_enabled"
6180         <li>"state_checked"
6181         <li>"state_selected"
6182         <li>"state_active"
6183         <li>"state_single"
6184         <li>"state_first"
6185         <li>"state_mid"
6186         <li>"state_last"
6187         <li>"state_only"
6188         <li>"state_pressed"
6189         <li>"state_activated"
6190         <li>"state_error"
6191         <li>"state_circle"
6192         <li>"state_rect"
6193         <li>"state_grow"
6194         <li>"state_move"
6195         <li>"state_hovered"
6196         <li>"state_drag_can_accept"
6197         <li>"state_drag_hovered"
6198         <li>"state_accessibility_focused"
6199         </ul>  -->
6200    <declare-styleable name="DrawableStates">
6201        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6202             set when a view has input focus. -->
6203        <attr name="state_focused" format="boolean" />
6204        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6205             set when a view's window has input focus. -->
6206        <attr name="state_window_focused" format="boolean" />
6207        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6208             set when a view is enabled. -->
6209        <attr name="state_enabled" format="boolean" />
6210        <!-- State identifier indicating that the object <var>may</var> display a check mark.
6211             See {@link android.R.attr#state_checked} for the identifier that indicates whether it is
6212             actually checked. -->
6213        <attr name="state_checkable" format="boolean"/>
6214        <!-- State identifier indicating that the object is currently checked.  See
6215             {@link android.R.attr#state_checkable} for an additional identifier that can indicate if
6216             any object may ever display a check, regardless of whether state_checked is
6217             currently set. -->
6218        <attr name="state_checked" format="boolean"/>
6219        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6220             set when a view (or one of its parents) is currently selected. -->
6221        <attr name="state_selected" format="boolean" />
6222        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6223             set when the user is pressing down in a view. -->
6224        <attr name="state_pressed" format="boolean" />
6225        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6226             set when a view or its parent has been "activated" meaning the user has currently
6227             marked it as being of interest.  This is an alternative representation of
6228             state_checked for when the state should be propagated down the view hierarchy. -->
6229        <attr name="state_activated" format="boolean" />
6230        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
6231        <attr name="state_active" format="boolean" />
6232        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
6233        <attr name="state_single" format="boolean" />
6234        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
6235        <attr name="state_first" format="boolean" />
6236        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
6237        <attr name="state_middle" format="boolean" />
6238        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
6239        <attr name="state_last" format="boolean" />
6240        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6241             indicating that the Drawable is in a view that is hardware accelerated.
6242             This means that the device can at least render a full-screen scaled
6243             bitmap with one layer of text and bitmaps composited on top of it
6244             at 60fps.  When this is set, the colorBackgroundCacheHint will be
6245             ignored even if it specifies a solid color, since that optimization
6246             is not needed. -->
6247        <attr name="state_accelerated" format="boolean" />
6248        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6249             set when a pointer is hovering over the view. -->
6250        <attr name="state_hovered" format="boolean" />
6251        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6252             indicating that the Drawable is in a view that is capable of accepting a drop of
6253             the content currently being manipulated in a drag-and-drop operation. -->
6254        <attr name="state_drag_can_accept" format="boolean" />
6255        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6256             indicating that a drag operation (for which the Drawable's view is a valid recipient)
6257             is currently positioned over the Drawable. -->
6258        <attr name="state_drag_hovered" format="boolean" />
6259        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6260             indicating that a View has accessibility focus. -->
6261        <attr name="state_accessibility_focused" format="boolean" />
6262    </declare-styleable>
6263    <declare-styleable name="ViewDrawableStates">
6264        <attr name="state_pressed" />
6265        <attr name="state_focused" />
6266        <attr name="state_selected" />
6267        <attr name="state_window_focused" />
6268        <attr name="state_enabled" />
6269        <attr name="state_activated" />
6270        <attr name="state_accelerated" />
6271        <attr name="state_hovered" />
6272        <attr name="state_drag_can_accept" />
6273        <attr name="state_drag_hovered" />
6274    </declare-styleable>
6275    <!-- State array representing a menu item that is currently checked. -->
6276    <declare-styleable name="MenuItemCheckedState">
6277        <attr name="state_checkable" />
6278        <attr name="state_checked" />
6279    </declare-styleable>
6280    <!-- State array representing a menu item that is checkable but is not currently checked. -->
6281    <declare-styleable name="MenuItemUncheckedState">
6282        <attr name="state_checkable" />
6283    </declare-styleable>
6284    <!-- State array representing a menu item that is currently focused and checked. -->
6285    <declare-styleable name="MenuItemCheckedFocusedState">
6286        <attr name="state_checkable" />
6287        <attr name="state_checked" />
6288        <attr name="state_focused" />
6289    </declare-styleable>
6290    <!-- State array representing a menu item that is focused and checkable but is not currently checked. -->
6291    <declare-styleable name="MenuItemUncheckedFocusedState">
6292        <attr name="state_checkable" />
6293        <attr name="state_focused" />
6294    </declare-styleable>
6295    <!-- State array representing an expandable list child's indicator. -->
6296    <declare-styleable name="ExpandableListChildIndicatorState">
6297        <!-- State identifier indicating the child is the last child within its group. -->
6298        <attr name="state_last" />
6299    </declare-styleable>
6300    <!-- State array representing an expandable list group's indicator. -->
6301    <declare-styleable name="ExpandableListGroupIndicatorState">
6302        <!-- State identifier indicating the group is expanded. -->
6303        <attr name="state_expanded" format="boolean" />
6304        <!-- State identifier indicating the group is empty (has no children). -->
6305        <attr name="state_empty" format="boolean" />
6306    </declare-styleable>
6307    <declare-styleable name="PopupWindowBackgroundState">
6308        <!-- State identifier indicating the popup will be above the anchor. -->
6309        <attr name="state_above_anchor" format="boolean" />
6310    </declare-styleable>
6311    <declare-styleable name="TextViewMultiLineBackgroundState">
6312        <!-- State identifier indicating a TextView has a multi-line layout. -->
6313        <attr name="state_multiline" format="boolean" />
6314    </declare-styleable>
6315
6316    <!-- ***************************************************************** -->
6317    <!-- Support for Searchable activities. -->
6318    <!-- ***************************************************************** -->
6319    <eat-comment />
6320
6321    <!-- Searchable activities and applications must provide search configuration information
6322        in an XML file, typically called searchable.xml.  This file is referenced in your manifest.
6323        For a more in-depth discussion of search configuration, please refer to
6324        {@link android.app.SearchManager}. -->
6325    <declare-styleable name="Searchable">
6326          <!--<strong>This is deprecated.</strong><br/>The default
6327              application icon is now always used, so this attribute is
6328              obsolete.-->
6329        <attr name="icon" />
6330        <!-- This is the user-displayed name of the searchable activity.  <i>Required
6331            attribute.</i> -->
6332        <attr name="label" />
6333        <!-- If supplied, this string will be displayed as a hint to the user.  <i>Optional
6334            attribute.</i> -->
6335        <attr name="hint" />
6336        <!-- If supplied, this string will be displayed as the text of the "Search" button.
6337          <i>Optional attribute.</i>
6338          {@deprecated This will create a non-standard UI appearance, because the search bar UI is
6339                       changing to use only icons for its buttons.}-->
6340        <attr name="searchButtonText" format="string" />
6341        <attr name="inputType" />
6342        <attr name="imeOptions" />
6343
6344        <!-- Additional features are controlled by mode bits in this field.  Omitting
6345            this field, or setting to zero, provides default behavior.  <i>Optional attribute.</i>
6346        -->
6347        <attr name="searchMode">
6348          <!-- If set, this flag enables the display of the search target (label) within the
6349               search bar.  If neither bad mode is selected, no badge will be shown. -->
6350          <flag name="showSearchLabelAsBadge" value="0x04" />
6351          <!--<strong>This is deprecated.</strong><br/>The default
6352              application icon is now always used, so this option is
6353              obsolete.-->
6354          <flag name="showSearchIconAsBadge" value="0x08" />
6355          <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_INTENT_DATA to
6356               be considered as the text for suggestion query rewriting.  This should only
6357               be used when the values in SUGGEST_COLUMN_INTENT_DATA are suitable for user
6358               inspection and editing - typically, HTTP/HTTPS Uri's. -->
6359          <flag name="queryRewriteFromData" value="0x10" />
6360          <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_TEXT_1 to
6361               be considered as the text for suggestion query rewriting.  This should be used
6362               for suggestions in which no query text is provided and the SUGGEST_COLUMN_INTENT_DATA
6363               values are not suitable for user inspection and editing. -->
6364          <flag name="queryRewriteFromText" value="0x20" />
6365        </attr>
6366
6367        <!-- Voice search features are controlled by mode bits in this field.  Omitting
6368            this field, or setting to zero, provides default behavior.
6369            If showVoiceSearchButton is set, then launchWebSearch or launchRecognizer must
6370            also be set.  <i>Optional attribute.</i>
6371        -->
6372        <attr name="voiceSearchMode">
6373          <!-- If set, display a voice search button.  This only takes effect if voice search is
6374               available on the device. -->
6375          <flag name="showVoiceSearchButton" value="0x01" />
6376          <!-- If set, the voice search button will take the user directly to a built-in
6377               voice web search activity.  Most applications will not use this flag, as it
6378               will take the user away from the activity in which search was invoked. -->
6379          <flag name="launchWebSearch" value="0x02" />
6380          <!-- If set, the voice search button will take the user directly to a built-in
6381               voice recording activity.  This activity will prompt the user to speak,
6382               transcribe the spoken text, and forward the resulting query
6383               text to the searchable activity, just as if the user had typed it into
6384               the search UI and clicked the search button. -->
6385          <flag name="launchRecognizer" value="0x04" />
6386        </attr>
6387
6388        <!-- If provided, this specifies the language model that should be used by the
6389             voice recognition system.  See
6390             {@link android.speech.RecognizerIntent#EXTRA_LANGUAGE_MODEL } for more information.
6391             If not provided, the default value
6392             {@link android.speech.RecognizerIntent#LANGUAGE_MODEL_FREE_FORM } will be used. -->
6393        <attr name="voiceLanguageModel" format="string" />
6394        <!-- If provided, this specifies a prompt that will be displayed during voice input. -->
6395        <attr name="voicePromptText" format="string" />
6396        <!-- If provided, this specifies the spoken language to be expected, and that it will be
6397             different than the one set in the {@link java.util.Locale#getDefault()}. -->
6398        <attr name="voiceLanguage" format="string" />
6399        <!-- If provided, enforces the maximum number of results to return, including the "best"
6400             result which will always be provided as the SEARCH intent's primary query.  Must be one
6401             or greater.  If not provided, the recognizer will choose how many results to return.
6402             -->
6403        <attr name="voiceMaxResults" format="integer" />
6404
6405        <!-- If provided, this is the trigger indicating that the searchable activity
6406            provides suggestions as well.  The value must be a fully-qualified content provider
6407            authority (e.g. "com.example.android.apis.SuggestionProvider") and should match the
6408            "android:authorities" tag in your content provider's manifest entry.  <i>Optional
6409            attribute.</i> -->
6410        <attr name="searchSuggestAuthority" format="string" />
6411        <!-- If provided, this will be inserted in the suggestions query Uri, after the authority
6412            you have provide but before the standard suggestions path. <i>Optional attribute.</i>
6413            -->
6414        <attr name="searchSuggestPath" format="string" />
6415        <!-- If provided, suggestion queries will be passed into your query function
6416            as the <i>selection</i> parameter.  Typically this will be a WHERE clause for your
6417            database, and will contain a single question mark, which represents the actual query
6418            string that has been typed by the user.  If not provided, then the user query text
6419            will be appended to the query Uri (after an additional "/".)  <i>Optional
6420            attribute.</i> -->
6421        <attr name="searchSuggestSelection" format="string" />
6422
6423        <!-- If provided, and not overridden by an action in the selected suggestion, this
6424            string will be placed in the action field of the {@link android.content.Intent Intent}
6425            when the user clicks a suggestion.  <i>Optional attribute.</i> -->
6426        <attr name="searchSuggestIntentAction" format="string" />
6427        <!-- If provided, and not overridden by an action in the selected suggestion, this
6428            string will be placed in the data field of the {@link android.content.Intent Intent}
6429            when the user clicks a suggestion.  <i>Optional attribute.</i> -->
6430        <attr name="searchSuggestIntentData" format="string" />
6431
6432        <!-- If provided, this is the minimum number of characters needed to trigger
6433             search suggestions. The default value is 0. <i>Optional attribute.</i> -->
6434        <attr name="searchSuggestThreshold" format="integer" />
6435
6436        <!-- If provided and <code>true</code>, this searchable activity will be
6437             included in any global lists of search targets.
6438             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6439        <attr name="includeInGlobalSearch" format="boolean" />
6440
6441        <!-- If provided and <code>true</code>, this searchable activity will be invoked for all
6442             queries in a particular session. If set to <code>false</code> and the activity
6443             returned zero results for a query, it will not be invoked again in that session for
6444             supersets of that zero-results query. For example, if the activity returned zero
6445             results for "bo", it would not be queried again for "bob".
6446             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6447        <attr name="queryAfterZeroResults" format="boolean" />
6448        <!-- If provided, this string will be used to describe the searchable item in the
6449             searchable items settings within system search settings. <i>Optional
6450             attribute.</i> -->
6451        <attr name="searchSettingsDescription" format="string" />
6452
6453        <!-- If provided and <code>true</code>, URLs entered in the search dialog while searching
6454             within this activity would be detected and treated as URLs (show a 'go' button in the
6455             keyboard and invoke the browser directly when user launches the URL instead of passing
6456             the URL to the activity). If set to <code>false</code> any URLs entered are treated as
6457             normal query text.
6458             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6459        <attr name="autoUrlDetect" format="boolean" />
6460
6461    </declare-styleable>
6462
6463    <!-- In order to process special action keys during search, you must define them using
6464            one or more "ActionKey" elements in your Searchable metadata.  For a more in-depth
6465            discussion of action code handling, please refer to {@link android.app.SearchManager}.
6466    -->
6467    <declare-styleable name="SearchableActionKey">
6468        <!-- This attribute denotes the action key you wish to respond to.  Note that not
6469            all action keys are actually supported using this mechanism, as many of them are
6470            used for typing, navigation, or system functions.  This will be added to the
6471            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6472            searchable activity.  To examine the key code, use
6473            {@link android.content.Intent#getIntExtra getIntExtra(SearchManager.ACTION_KEY)}.
6474            <p>Note, in addition to the keycode, you must also provide one or more of the action
6475            specifier attributes.  <i>Required attribute.</i> -->
6476        <attr name="keycode" />
6477
6478        <!-- If you wish to handle an action key during normal search query entry, you
6479            must define an action string here.  This will be added to the
6480            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6481            searchable activity.  To examine the string, use
6482            {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
6483            <i>Optional attribute.</i> -->
6484        <attr name="queryActionMsg"  format="string" />
6485
6486        <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
6487            selected</i>, there are two ways to handle this.  If <i>all</i> of your suggestions
6488            can handle the action key, you can simply define the action message using this
6489            attribute.  This will be added to the
6490            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6491            searchable activity.  To examine the string, use
6492            {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
6493            <i>Optional attribute.</i> -->
6494        <attr name="suggestActionMsg"  format="string" />
6495
6496        <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
6497            selected</i>, but you do not wish to enable this action key for every suggestion,
6498            then you can use this attribute to control it on a suggestion-by-suggestion basis.
6499            First, you must define a column (and name it here) where your suggestions will include
6500            the action string.  Then, in your content provider, you must provide this column, and
6501            when desired, provide data in this column.
6502            The search manager will look at your suggestion cursor, using the string
6503            provided here in order to select a column, and will use that to select a string from
6504            the cursor.  That string will be added to the
6505            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to
6506            your searchable activity.  To examine the string, use
6507            {@link android.content.Intent#getStringExtra
6508            getStringExtra(SearchManager.ACTION_MSG)}.  <i>If the data does not exist for the
6509            selection suggestion, the action key will be ignored.</i><i>Optional attribute.</i> -->
6510        <attr name="suggestActionMsgColumn" format="string" />
6511
6512    </declare-styleable>
6513
6514    <!-- ***************************************************************** -->
6515    <!-- Support for MapView. -->
6516    <!-- ***************************************************************** -->
6517    <eat-comment />
6518
6519    <!-- The set of attributes for a MapView. -->
6520    <declare-styleable name="MapView">
6521        <!-- Value is a string that specifies the Maps API Key to use. -->
6522        <attr name="apiKey" format="string" />
6523    </declare-styleable>
6524
6525    <!-- **************************************************************** -->
6526    <!-- Menu XML inflation. -->
6527    <!-- **************************************************************** -->
6528    <eat-comment />
6529
6530    <!-- Base attributes that are available to all Menu objects. -->
6531    <declare-styleable name="Menu">
6532    </declare-styleable>
6533
6534    <!-- Base attributes that are available to all groups. -->
6535    <declare-styleable name="MenuGroup">
6536
6537        <!-- The ID of the group. -->
6538        <attr name="id" />
6539
6540        <!-- The category applied to all items within this group.
6541             (This will be or'ed with the orderInCategory attribute.) -->
6542        <attr name="menuCategory">
6543            <!-- Items are part of a container. -->
6544            <enum name="container" value="0x00010000" />
6545            <!-- Items are provided by the system. -->
6546            <enum name="system" value="0x00020000" />
6547            <!-- Items are user-supplied secondary (infrequently used). -->
6548            <enum name="secondary" value="0x00030000" />
6549            <!-- Items are alternative actions. -->
6550            <enum name="alternative" value="0x00040000" />
6551        </attr>
6552
6553        <!-- The order within the category applied to all items within this group.
6554             (This will be or'ed with the category attribute.) -->
6555        <attr name="orderInCategory" format="integer" />
6556
6557        <!-- Whether the items are capable of displaying a check mark. -->
6558        <attr name="checkableBehavior">
6559            <!-- The items are not checkable. -->
6560            <enum name="none" value="0" />
6561            <!-- The items are all checkable. -->
6562            <enum name="all" value="1" />
6563            <!-- The items are checkable and there will only be a single checked item in
6564                 this group. -->
6565            <enum name="single" value="2" />
6566        </attr>
6567
6568        <!-- Whether the items are shown/visible. -->
6569        <attr name="visible" />
6570
6571        <!-- Whether the items are enabled. -->
6572        <attr name="enabled" />
6573
6574    </declare-styleable>
6575
6576    <!-- Base attributes that are available to all Item objects. -->
6577    <declare-styleable name="MenuItem">
6578
6579        <!-- The ID of the item. -->
6580        <attr name="id" />
6581
6582        <!-- The category applied to the item.
6583             (This will be or'ed with the orderInCategory attribute.) -->
6584        <attr name="menuCategory" />
6585
6586        <!-- The order within the category applied to the item.
6587             (This will be or'ed with the category attribute.) -->
6588        <attr name="orderInCategory" />
6589
6590        <!-- The title associated with the item. -->
6591        <attr name="title" format="string" />
6592
6593        <!-- The condensed title associated with the item.  This is used in situations where the
6594             normal title may be too long to be displayed. -->
6595        <attr name="titleCondensed" format="string" />
6596
6597        <!-- The icon associated with this item.  This icon will not always be shown, so
6598             the title should be sufficient in describing this item. -->
6599        <attr name="icon" />
6600
6601        <!-- The alphabetic shortcut key.  This is the shortcut when using a keyboard
6602             with alphabetic keys. -->
6603        <attr name="alphabeticShortcut" format="string" />
6604
6605        <!-- The numeric shortcut key.  This is the shortcut when using a numeric (e.g., 12-key)
6606             keyboard. -->
6607        <attr name="numericShortcut" format="string" />
6608
6609        <!-- Whether the item is capable of displaying a check mark. -->
6610        <attr name="checkable" format="boolean" />
6611
6612        <!-- Whether the item is checked.  Note that you must first have enabled checking with
6613             the checkable attribute or else the check mark will not appear. -->
6614        <attr name="checked" />
6615
6616        <!-- Whether the item is shown/visible. -->
6617        <attr name="visible" />
6618
6619        <!-- Whether the item is enabled. -->
6620        <attr name="enabled" />
6621
6622        <!-- Name of a method on the Context used to inflate the menu that will be
6623             called when the item is clicked. -->
6624        <attr name="onClick" />
6625
6626        <!-- How this item should display in the Action Bar, if present. -->
6627        <attr name="showAsAction">
6628            <!-- Never show this item in an action bar, show it in the overflow menu instead.
6629                 Mutually exclusive with "ifRoom" and "always". -->
6630            <flag name="never" value="0" />
6631            <!-- Show this item in an action bar if there is room for it as determined
6632                 by the system. Favor this option over "always" where possible.
6633                 Mutually exclusive with "never" and "always". -->
6634            <flag name="ifRoom" value="1" />
6635            <!-- Always show this item in an actionbar, even if it would override
6636                 the system's limits of how much stuff to put there. This may make
6637                 your action bar look bad on some screens. In most cases you should
6638                 use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never". -->
6639            <flag name="always" value="2" />
6640            <!-- When this item is shown as an action in the action bar, show a text
6641                 label with it even if it has an icon representation. -->
6642            <flag name="withText" value="4" />
6643            <!-- This item's action view collapses to a normal menu
6644                 item. When expanded, the action view takes over a
6645                 larger segment of its container. -->
6646            <flag name="collapseActionView" value="8" />
6647        </attr>
6648
6649        <!-- An optional layout to be used as an action view.
6650             See {@link android.view.MenuItem#setActionView(android.view.View)}
6651             for more info. -->
6652        <attr name="actionLayout" format="reference" />
6653
6654        <!-- The name of an optional View class to instantiate and use as an
6655             action view. See {@link android.view.MenuItem#setActionView(android.view.View)}
6656             for more info. -->
6657        <attr name="actionViewClass" format="string" />
6658
6659        <!-- The name of an optional ActionProvider class to instantiate an action view
6660             and perform operations such as default action for that menu item.
6661             See {@link android.view.MenuItem#setActionProvider(android.view.ActionProvider)}
6662             for more info. -->
6663        <attr name="actionProviderClass" format="string" />
6664
6665    </declare-styleable>
6666
6667    <!-- Attrbitutes for a ActvityChooserView. -->
6668    <declare-styleable name="ActivityChooserView">
6669        <!-- The maximal number of items initially shown in the activity list. -->
6670        <attr name="initialActivityCount" format="string" />
6671        <!-- The drawable to show in the button for expanding the activities overflow popup.
6672             <strong>Note:</strong> Clients would like to set this drawable
6673             as a clue about the action the chosen activity will perform. For
6674             example, if share activity is to be chosen the drawable should
6675             give a clue that sharing is to be performed.
6676         -->
6677        <attr name="expandActivityOverflowButtonDrawable" format="reference" />
6678    </declare-styleable>
6679
6680    <!-- **************************************************************** -->
6681    <!-- Preferences framework. -->
6682    <!-- **************************************************************** -->
6683    <eat-comment />
6684
6685    <!-- Base attributes available to PreferenceGroup. -->
6686    <declare-styleable name="PreferenceGroup">
6687        <!-- Whether to order the Preference under this group as they appear in the XML file.
6688             If this is false, the ordering will follow the Preference order attribute and
6689             default to alphabetic for those without the order attribute. -->
6690        <attr name="orderingFromXml" format="boolean" />
6691    </declare-styleable>
6692
6693    <!-- Attribute for a header describing the item shown in the top-level list
6694         from which the selects the set of preference to dig in to. -->
6695    <declare-styleable name="PreferenceHeader">
6696        <!-- Identifier value for the header. -->
6697        <attr name="id" />
6698        <!-- The title of the item that is shown to the user. -->
6699        <attr name="title" />
6700        <!-- The summary for the item. -->
6701        <attr name="summary" format="string" />
6702        <!-- The title for the bread crumb of this item. -->
6703        <attr name="breadCrumbTitle" format="string" />
6704        <!-- The short title for the bread crumb of this item. -->
6705        <attr name="breadCrumbShortTitle" format="string" />
6706        <!-- An icon for the item. -->
6707        <attr name="icon" />
6708        <!-- The fragment that is displayed when the user selects this item. -->
6709        <attr name="fragment" format="string" />
6710    </declare-styleable>
6711
6712    <!-- WARNING:  If adding attributes to Preference, make sure it does not conflict
6713                   with a View's attributes.  Some subclasses (e.g., EditTextPreference)
6714                   proxy all attributes to its EditText widget. -->
6715    <eat-comment />
6716
6717    <!-- Base attributes available to Preference. -->
6718    <declare-styleable name="Preference">
6719        <!-- The optional icon for the preference -->
6720        <attr name="icon" />
6721        <!-- The key to store the Preference value. -->
6722        <attr name="key" format="string" />
6723        <!-- The title for the Preference in a PreferenceActivity screen. -->
6724        <attr name="title" />
6725        <!-- The summary for the Preference in a PreferenceActivity screen. -->
6726        <attr name="summary" />
6727        <!-- The order for the Preference (lower values are to be ordered first). If this is not
6728             specified, the default ordering will be alphabetic. -->
6729        <attr name="order" format="integer" />
6730        <!-- When used inside of a modern PreferenceActivity, this declares
6731             a new PreferenceFragment to be shown when the user selects this item. -->
6732        <attr name="fragment" />
6733        <!-- The layout for the Preference in a PreferenceActivity screen. This should
6734             rarely need to be changed, look at widgetLayout instead. -->
6735        <attr name="layout" />
6736        <!-- The layout for the controllable widget portion of a Preference. This is inflated
6737             into the layout for a Preference and should be used more frequently than
6738             the layout attribute. For example, a checkbox preference would specify
6739             a custom layout (consisting of just the CheckBox) here. -->
6740        <attr name="widgetLayout" format="reference" />
6741        <!-- Whether the Preference is enabled. -->
6742        <attr name="enabled" />
6743        <!-- Whether the Preference is selectable. -->
6744        <attr name="selectable" format="boolean" />
6745        <!-- The key of another Preference that this Preference will depend on.  If the other
6746             Preference is not set or is off, this Preference will be disabled. -->
6747        <attr name="dependency" format="string" />
6748        <!-- Whether the Preference stores its value to the shared preferences. -->
6749        <attr name="persistent" />
6750        <!-- The default value for the preference, which will be set either if persistence
6751             is off or persistence is on and the preference is not found in the persistent
6752             storage.  -->
6753        <attr name="defaultValue" format="string|boolean|integer|reference|float" />
6754        <!-- Whether the view of this Preference should be disabled when
6755             this Preference is disabled. -->
6756        <attr name="shouldDisableView" format="boolean" />
6757    </declare-styleable>
6758
6759    <!-- Base attributes available to CheckBoxPreference. -->
6760    <declare-styleable name="CheckBoxPreference">
6761        <!-- The summary for the Preference in a PreferenceActivity screen when the
6762             CheckBoxPreference is checked. If separate on/off summaries are not
6763             needed, the summary attribute can be used instead. -->
6764        <attr name="summaryOn" format="string" />
6765        <!-- The summary for the Preference in a PreferenceActivity screen when the
6766             CheckBoxPreference is unchecked. If separate on/off summaries are not
6767             needed, the summary attribute can be used instead. -->
6768        <attr name="summaryOff" format="string" />
6769        <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
6770             dependents will be disabled when this is unchecked, so the value of this preference is false. -->
6771        <attr name="disableDependentsState" format="boolean" />
6772    </declare-styleable>
6773
6774    <!-- Base attributes available to DialogPreference. -->
6775    <declare-styleable name="DialogPreference">
6776        <!-- The title in the dialog. -->
6777        <attr name="dialogTitle" format="string" />
6778        <!-- The message in the dialog. If a dialogLayout is provided and contains
6779             a TextView with ID android:id/message, this message will be placed in there. -->
6780        <attr name="dialogMessage" format="string" />
6781        <!-- The icon for the dialog. -->
6782        <attr name="dialogIcon" format="reference" />
6783        <!-- The positive button text for the dialog. Set to @null to hide the positive button. -->
6784        <attr name="positiveButtonText" format="string" />
6785        <!-- The negative button text for the dialog. Set to @null to hide the negative button. -->
6786        <attr name="negativeButtonText" format="string" />
6787        <!-- A layout to be used as the content View for the dialog. By default, this shouldn't
6788             be needed. If a custom DialogPreference is required, this should be set. For example,
6789             the EditTextPreference uses a layout with an EditText as this attribute. -->
6790        <attr name="dialogLayout" format="reference" />
6791    </declare-styleable>
6792
6793    <!-- Base attributes available to ListPreference. -->
6794    <declare-styleable name="ListPreference">
6795        <!-- The human-readable array to present as a list. Each entry must have a corresponding
6796             index in entryValues. -->
6797        <attr name="entries" />
6798        <!-- The array to find the value to save for a preference when an entry from
6799             entries is selected. If a user clicks on the second item in entries, the
6800             second item in this array will be saved to the preference. -->
6801        <attr name="entryValues" format="reference" />
6802    </declare-styleable>
6803
6804    <declare-styleable name="MultiSelectListPreference">
6805        <!-- The human-readable array to present as a list. Each entry must have a corresponding
6806             index in entryValues. -->
6807        <attr name="entries" />
6808        <!-- The array to find the value to save for a preference when an entry from
6809             entries is selected. If a user clicks the second item in entries, the
6810             second item in this array will be saved to the preference. -->
6811        <attr name="entryValues" />
6812    </declare-styleable>
6813
6814    <!-- Base attributes available to RingtonePreference. -->
6815    <declare-styleable name="RingtonePreference">
6816        <!-- Which ringtone type(s) to show in the picker. -->
6817        <attr name="ringtoneType">
6818            <!-- Ringtones. -->
6819            <flag name="ringtone" value="1" />
6820            <!-- Notification sounds. -->
6821            <flag name="notification" value="2" />
6822            <!-- Alarm sounds. -->
6823            <flag name="alarm" value="4" />
6824            <!-- All available ringtone sounds. -->
6825            <flag name="all" value="7" />
6826        </attr>
6827        <!-- Whether to show an item for a default sound. -->
6828        <attr name="showDefault" format="boolean" />
6829        <!-- Whether to show an item for 'Silent'. -->
6830        <attr name="showSilent" format="boolean" />
6831    </declare-styleable>
6832
6833    <!-- Base attributes available to VolumePreference. -->
6834    <declare-styleable name="VolumePreference">
6835        <!-- Different audio stream types. -->
6836        <attr name="streamType">
6837            <enum name="voice" value="0" />
6838            <enum name="system" value="1" />
6839            <enum name="ring" value="2" />
6840            <enum name="music" value="3" />
6841            <enum name="alarm" value="4" />
6842        </attr>
6843    </declare-styleable>
6844
6845    <declare-styleable name="InputMethodService">
6846        <!-- Background to use for entire input method when it is being
6847             shown in fullscreen mode with the extract view, to ensure
6848             that it completely covers the application.  This allows,
6849             for example, the candidate view to be hidden
6850             while in fullscreen mode without having the application show through
6851             behind it.-->
6852        <attr name="imeFullscreenBackground" format="reference|color" />
6853        <!-- Animation to use when showing the fullscreen extract UI after
6854             it had previously been hidden. -->
6855        <attr name="imeExtractEnterAnimation" format="reference" />
6856        <!-- Animation to use when hiding the fullscreen extract UI after
6857             it had previously been shown. -->
6858        <attr name="imeExtractExitAnimation" format="reference" />
6859    </declare-styleable>
6860
6861    <declare-styleable name="VoiceInteractionSession">
6862    </declare-styleable>
6863
6864    <declare-styleable name="KeyboardView">
6865        <!-- Default KeyboardView style. -->
6866        <attr name="keyboardViewStyle" format="reference" />
6867
6868        <!-- Image for the key. This image needs to be a StateListDrawable, with the following
6869             possible states: normal, pressed, checkable, checkable+pressed, checkable+checked,
6870             checkable+checked+pressed. -->
6871        <attr name="keyBackground" format="reference" />
6872
6873        <!-- Size of the text for character keys. -->
6874        <attr name="keyTextSize" format="dimension" />
6875
6876        <!-- Size of the text for custom keys with some text and no icon. -->
6877        <attr name="labelTextSize" format="dimension" />
6878
6879        <!-- Color to use for the label in a key. -->
6880        <attr name="keyTextColor" format="color" />
6881
6882        <!-- Layout resource for key press feedback.-->
6883        <attr name="keyPreviewLayout" format="reference" />
6884
6885        <!-- Vertical offset of the key press feedback from the key. -->
6886        <attr name="keyPreviewOffset" format="dimension" />
6887
6888        <!-- Height of the key press feedback popup. -->
6889        <attr name="keyPreviewHeight" format="dimension" />
6890
6891        <!-- Amount to offset the touch Y coordinate by, for bias correction. -->
6892        <attr name="verticalCorrection" format="dimension" />
6893
6894        <!-- Layout resource for popup keyboards. -->
6895        <attr name="popupLayout" format="reference" />
6896
6897        <attr name="shadowColor" />
6898        <attr name="shadowRadius" />
6899    </declare-styleable>
6900
6901    <declare-styleable name="KeyboardViewPreviewState">
6902        <!-- State for {@link android.inputmethodservice.KeyboardView KeyboardView}
6903                key preview background. -->
6904        <attr name="state_long_pressable" format="boolean" />
6905    </declare-styleable>
6906
6907    <declare-styleable name="Keyboard">
6908        <!-- Default width of a key, in pixels or percentage of display width. -->
6909        <attr name="keyWidth" format="dimension|fraction" />
6910        <!-- Default height of a key, in pixels or percentage of display width. -->
6911        <attr name="keyHeight" format="dimension|fraction" />
6912        <!-- Default horizontal gap between keys. -->
6913        <attr name="horizontalGap" format="dimension|fraction" />
6914        <!-- Default vertical gap between rows of keys. -->
6915        <attr name="verticalGap" format="dimension|fraction" />
6916    </declare-styleable>
6917
6918    <declare-styleable name="Keyboard_Row">
6919        <!-- Row edge flags. -->
6920        <attr name="rowEdgeFlags">
6921            <!-- Row is anchored to the top of the keyboard. -->
6922            <flag name="top" value="4" />
6923            <!-- Row is anchored to the bottom of the keyboard. -->
6924            <flag name="bottom" value="8" />
6925        </attr>
6926        <!-- Mode of the keyboard. If the mode doesn't match the
6927             requested keyboard mode, the row will be skipped. -->
6928        <attr name="keyboardMode" format="reference" />
6929    </declare-styleable>
6930
6931    <declare-styleable name="Keyboard_Key">
6932        <!-- The unicode value or comma-separated values that this key outputs. -->
6933        <attr name="codes" format="integer|string" />
6934        <!-- The XML keyboard layout of any popup keyboard. -->
6935        <attr name="popupKeyboard" format="reference" />
6936        <!-- The characters to display in the popup keyboard. -->
6937        <attr name="popupCharacters" format="string" />
6938        <!-- Key edge flags. -->
6939        <attr name="keyEdgeFlags">
6940            <!-- Key is anchored to the left of the keyboard. -->
6941            <flag name="left" value="1" />
6942            <!-- Key is anchored to the right of the keyboard. -->
6943            <flag name="right" value="2" />
6944        </attr>
6945        <!-- Whether this is a modifier key such as Alt or Shift. -->
6946        <attr name="isModifier" format="boolean" />
6947        <!-- Whether this is a toggle key. -->
6948        <attr name="isSticky" format="boolean" />
6949        <!-- Whether long-pressing on this key will make it repeat. -->
6950        <attr name="isRepeatable" format="boolean" />
6951        <!-- The icon to show in the popup preview. -->
6952        <attr name="iconPreview" format="reference" />
6953        <!-- The string of characters to output when this key is pressed. -->
6954        <attr name="keyOutputText" format="string" />
6955        <!-- The label to display on the key. -->
6956        <attr name="keyLabel" format="string" />
6957        <!-- The icon to display on the key instead of the label. -->
6958        <attr name="keyIcon" format="reference" />
6959        <!-- Mode of the keyboard. If the mode doesn't match the
6960             requested keyboard mode, the key will be skipped. -->
6961        <attr name="keyboardMode" />
6962    </declare-styleable>
6963
6964    <!-- =============================== -->
6965    <!-- AppWidget package class attributes -->
6966    <!-- =============================== -->
6967    <eat-comment />
6968
6969    <!-- Use <code>appwidget-provider</code> as the root tag of the XML resource that
6970         describes an AppWidget provider.  See {@link android.appwidget android.appwidget}
6971         package for more info.
6972     -->
6973    <declare-styleable name="AppWidgetProviderInfo">
6974        <!-- Minimum width of the AppWidget. -->
6975        <attr name="minWidth"/>
6976        <!-- Minimum height of the AppWidget. -->
6977        <attr name="minHeight"/>
6978        <!-- Minimum width that the AppWidget can be resized to. -->
6979        <attr name="minResizeWidth" format="dimension"/>
6980        <!-- Minimum height that the AppWidget can be resized to. -->
6981        <attr name="minResizeHeight" format="dimension"/>
6982        <!-- Update period in milliseconds, or 0 if the AppWidget will update itself. -->
6983        <attr name="updatePeriodMillis" format="integer" />
6984        <!-- A resource id of a layout. -->
6985        <attr name="initialLayout" format="reference" />
6986        <!-- A resource id of a layout. -->
6987        <attr name="initialKeyguardLayout" format="reference" />
6988        <!-- A class name in the AppWidget's package to be launched to configure.
6989             If not supplied, then no activity will be launched. -->
6990        <attr name="configure" format="string" />
6991        <!-- A preview of what the AppWidget will look like after it's configured.
6992              If not supplied, the AppWidget's icon will be used. -->
6993        <attr name="previewImage" format="reference" />
6994        <!-- The view id of the AppWidget subview which should be auto-advanced.
6995             by the widget's host. -->
6996        <attr name="autoAdvanceViewId" format="reference" />
6997        <!-- Optional parameter which indicates if and how this widget can be
6998             resized. Supports combined values using | operator. -->
6999        <attr name="resizeMode" format="integer">
7000            <flag name="none" value="0x0" />
7001            <flag name="horizontal" value="0x1" />
7002            <flag name="vertical" value="0x2" />
7003        </attr>
7004        <!-- Optional parameter which indicates where this widget can be shown,
7005             ie. home screen, keyguard, search bar or any combination thereof.
7006             Supports combined values using | operator. -->
7007        <attr name="widgetCategory" format="integer">
7008            <flag name="home_screen" value="0x1" />
7009            <flag name="keyguard" value="0x2" />
7010            <flag name="searchbox" value="0x4" />
7011        </attr>
7012    </declare-styleable>
7013
7014    <!-- =============================== -->
7015    <!-- Wallpaper preview attributes    -->
7016    <!-- =============================== -->
7017    <eat-comment />
7018
7019    <!-- Use <code>wallpaper-preview</code> as the root tag of the XML resource that
7020         describes a wallpaper preview. -->
7021    <declare-styleable name="WallpaperPreviewInfo">
7022        <!-- A resource id of a static drawable. -->
7023        <attr name="staticWallpaperPreview" format="reference" />
7024    </declare-styleable>
7025
7026    <!-- =============================== -->
7027    <!-- App package class attributes -->
7028    <!-- =============================== -->
7029    <eat-comment />
7030
7031    <!-- ============================= -->
7032    <!-- View package class attributes -->
7033    <!-- ============================= -->
7034    <eat-comment />
7035
7036    <!-- Attributes that can be used with <code>&lt;fragment&gt;</code>
7037         tags inside of the layout of an Activity.  This instantiates
7038         the given {@link android.app.Fragment} and inserts its content
7039         view into the current location in the layout. -->
7040    <declare-styleable name="Fragment">
7041        <!-- Supply the name of the fragment class to instantiate. -->
7042        <attr name="name" />
7043
7044        <!-- Supply an identifier name for the top-level view, to later retrieve it
7045             with {@link android.view.View#findViewById View.findViewById()} or
7046             {@link android.app.Activity#findViewById Activity.findViewById()}.
7047             This must be a
7048             resource reference; typically you set this using the
7049             <code>@+</code> syntax to create a new ID resources.
7050             For example: <code>android:id="@+id/my_id"</code> which
7051             allows you to later retrieve the view
7052             with <code>findViewById(R.id.my_id)</code>. -->
7053        <attr name="id" />
7054
7055        <!-- Supply a tag for the top-level view containing a String, to be retrieved
7056             later with {@link android.view.View#getTag View.getTag()} or
7057             searched for with {@link android.view.View#findViewWithTag
7058             View.findViewWithTag()}.  It is generally preferable to use
7059             IDs (through the android:id attribute) instead of tags because
7060             they are faster and allow for compile-time type checking. -->
7061        <attr name="tag" />
7062
7063        <!-- The Transition that will be used to move Views out of the scene when the
7064             fragment is removed, hidden, or detached when not popping the back stack.
7065             Corresponds to {@link android.app.Fragment#setExitTransition(
7066             android.transition.Transition)} -->
7067        <attr name="fragmentExitTransition" format="reference"/>
7068
7069        <!-- The Transition that will be used to move Views into the initial scene.
7070             Corresponds to {@link android.app.Fragment#setEnterTransition(
7071             android.transition.Transition)} -->
7072        <attr name="fragmentEnterTransition" format="reference"/>
7073
7074        <!-- The Transition that will be used for shared elements transferred into the content
7075             Scene.
7076             Corresponds to {@link android.app.Fragment#setSharedElementEnterTransition(
7077             android.transition.Transition)} -->
7078        <attr name="fragmentSharedElementEnterTransition" format="reference"/>
7079
7080        <!-- The Transition that will be used to move Views out of the scene when the Fragment is
7081             preparing to be removed, hidden, or detached because of popping the back stack.
7082             Corresponds to {@link android.app.Fragment#setReturnTransition(
7083             android.transition.Transition)} -->
7084        <attr name="fragmentReturnTransition" format="reference"/>
7085
7086        <!-- The Transition that will be used for shared elements transferred back during a
7087             pop of the back stack. This Transition acts in the leaving Fragment.
7088             Corresponds to {@link android.app.Fragment#setSharedElementReturnTransition(
7089             android.transition.Transition)} -->
7090        <attr name="fragmentSharedElementReturnTransition" format="reference"/>
7091
7092        <!-- The Transition that will be used to move Views in to the scene when returning due
7093             to popping a back stack.
7094             Corresponds to {@link android.app.Fragment#setReenterTransition(
7095             android.transition.Transition)} -->
7096        <attr name="fragmentReenterTransition" format="reference"/>
7097
7098        <!-- Sets whether the enter and exit transitions should overlap when transitioning
7099             forward.
7100             Corresponds to {@link android.app.Fragment#setAllowEnterTransitionOverlap(
7101             boolean)} -->
7102        <attr name="fragmentAllowEnterTransitionOverlap" format="reference"/>
7103
7104        <!-- Sets whether the enter and exit transitions should overlap when transitioning
7105             because of popping the back stack.
7106             Corresponds to {@link android.app.Fragment#setAllowReturnTransitionOverlap(
7107             boolean)} -->
7108        <attr name="fragmentAllowReturnTransitionOverlap" format="reference"/>
7109    </declare-styleable>
7110
7111    <!-- Use <code>device-admin</code> as the root tag of the XML resource that
7112         describes a
7113         {@link android.app.admin.DeviceAdminReceiver}, which is
7114         referenced from its
7115         {@link android.app.admin.DeviceAdminReceiver#DEVICE_ADMIN_META_DATA}
7116         meta-data entry.  Described here are the attributes that can be
7117         included in that tag. -->
7118    <declare-styleable name="DeviceAdmin">
7119        <!-- Control whether the admin is visible to the user, even when it
7120             is not enabled.  This is true by default.  You may want to make
7121             it false if your admin does not make sense to be turned on
7122             unless some explicit action happens in your app. -->
7123        <attr name="visible" />
7124    </declare-styleable>
7125
7126    <!-- Use <code>wallpaper</code> as the root tag of the XML resource that
7127         describes an
7128         {@link android.service.wallpaper.WallpaperService}, which is
7129         referenced from its
7130         {@link android.service.wallpaper.WallpaperService#SERVICE_META_DATA}
7131         meta-data entry.  Described here are the attributes that can be
7132         included in that tag. -->
7133    <declare-styleable name="Wallpaper">
7134        <attr name="settingsActivity" />
7135
7136        <!-- Reference to a the wallpaper's thumbnail bitmap. -->
7137        <attr name="thumbnail" format="reference" />
7138
7139        <!-- Name of the author of this component, e.g. Google. -->
7140        <attr name="author" format="reference" />
7141
7142        <!-- Short description of the component's purpose or behavior. -->
7143        <attr name="description" />
7144    </declare-styleable>
7145
7146    <!-- Use <code>dream</code> as the root tag of the XML resource that
7147         describes an
7148         {@link android.service.dreams.DreamService}, which is
7149         referenced from its
7150         {@link android.service.dreams.DreamService#DREAM_META_DATA}
7151         meta-data entry.  Described here are the attributes that can be
7152         included in that tag. -->
7153    <declare-styleable name="Dream">
7154        <!-- Component name of an activity that allows the user to modify
7155             the settings for this dream. -->
7156        <attr name="settingsActivity" />
7157    </declare-styleable>
7158
7159    <!-- @SystemApi Use <code>trust-agent</code> as the root tag of the XML resource that
7160         describes an {@link android.service.trust.TrustAgentService}, which is
7161         referenced from its {@link android.service.trust.TrustAgentService#TRUST_AGENT_META_DATA}
7162         meta-data entry.  Described here are the attributes that can be included in that tag.
7163         @hide -->
7164    <declare-styleable name="TrustAgent">
7165        <!-- @SystemApi Component name of an activity that allows the user to modify
7166             the settings for this trust agent. @hide -->
7167        <attr name="settingsActivity" />
7168        <!-- @SystemApi Title for a preference that allows that user to launch the
7169             activity to modify trust agent settings. @hide -->
7170        <attr name="title" />
7171        <!-- @SystemApi Summary for the same preference as the title. @hide -->
7172        <attr name="summary" />
7173    </declare-styleable>
7174
7175    <!-- =============================== -->
7176    <!-- Accounts package class attributes -->
7177    <!-- =============================== -->
7178    <eat-comment />
7179
7180    <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
7181         describes an account authenticator.
7182     -->
7183    <declare-styleable name="AccountAuthenticator">
7184        <!-- The account type this authenticator handles. -->
7185        <attr name="accountType" format="string"/>
7186        <!-- The user-visible name of the authenticator. -->
7187        <attr name="label"/>
7188        <!-- The icon of the authenticator. -->
7189        <attr name="icon"/>
7190        <!-- Smaller icon of the authenticator. -->
7191        <attr name="smallIcon" format="reference"/>
7192        <!-- A preferences.xml file for authenticator-specific settings. -->
7193        <attr name="accountPreferences" format="reference"/>
7194        <!-- Account handles its own token storage and permissions.
7195             Default to false
7196          -->
7197        <attr name="customTokens" format="boolean"/>
7198    </declare-styleable>
7199
7200    <!-- =============================== -->
7201    <!-- Accounts package class attributes -->
7202    <!-- =============================== -->
7203    <eat-comment />
7204
7205    <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
7206         describes an account authenticator.
7207     -->
7208    <declare-styleable name="SyncAdapter">
7209        <!-- the authority of a content provider. -->
7210        <attr name="contentAuthority" format="string"/>
7211        <attr name="accountType"/>
7212        <attr name="userVisible" format="boolean"/>
7213        <attr name="supportsUploading" format="boolean"/>
7214        <!-- Set to true to tell the SyncManager that this SyncAdapter supports
7215             multiple simultaneous syncs for the same account type and authority.
7216             Otherwise the SyncManager will be sure not to issue a start sync request
7217             to this SyncAdapter if the SyncAdapter is already syncing another account.
7218             Defaults to false.
7219             -->
7220        <attr name="allowParallelSyncs" format="boolean"/>
7221        <!-- Set to true to tell the SyncManager to automatically call setIsSyncable(..., ..., 1)
7222             for the SyncAdapter instead of issuaing an initialization sync to the SyncAdapter.
7223             Defaults to false.
7224             -->
7225        <attr name="isAlwaysSyncable" format="boolean"/>
7226        <!-- If provided, specifies the action of the settings
7227             activity for this SyncAdapter.
7228             -->
7229        <attr name="settingsActivity"/>
7230    </declare-styleable>
7231
7232    <!-- =============================== -->
7233    <!-- Contacts meta-data attributes -->
7234    <!-- =============================== -->
7235    <eat-comment />
7236
7237    <!-- TODO: remove this deprecated styleable. -->
7238    <eat-comment />
7239    <declare-styleable name="Icon">
7240        <attr name="icon" />
7241        <attr name="mimeType" />
7242    </declare-styleable>
7243
7244    <!-- TODO: remove this deprecated styleable -->
7245    <eat-comment />
7246    <declare-styleable name="IconDefault">
7247        <attr name="icon" />
7248    </declare-styleable>
7249
7250    <!-- Maps a specific contact data MIME-type to styling information. -->
7251    <declare-styleable name="ContactsDataKind">
7252        <!-- Mime-type handled by this mapping. -->
7253        <attr name="mimeType" />
7254        <!-- Icon used to represent data of this kind. -->
7255        <attr name="icon" />
7256        <!-- Column in data table that summarizes this data. -->
7257        <attr name="summaryColumn" format="string" />
7258        <!-- Column in data table that contains details for this data. -->
7259        <attr name="detailColumn" format="string" />
7260        <!-- Flag indicating that detail should be built from SocialProvider. -->
7261        <attr name="detailSocialSummary" format="boolean" />
7262        <!-- Resource representing the term "All Contacts" (e.g. "All Friends" or
7263        "All connections"). Optional (Default is "All Contacts"). -->
7264        <attr name="allContactsName" format="string" />
7265    </declare-styleable>
7266
7267    <!-- =============================== -->
7268    <!-- TabSelector class attributes -->
7269    <!-- =============================== -->
7270    <eat-comment />
7271
7272    <declare-styleable name="SlidingTab">
7273        <!-- Use "horizontal" for a row, "vertical" for a column.  The default is horizontal. -->
7274        <attr name="orientation" />
7275    </declare-styleable>
7276
7277    <!-- =============================== -->
7278    <!-- GlowPadView class attributes -->
7279    <!-- =============================== -->
7280    <eat-comment />
7281    <declare-styleable name="GlowPadView">
7282        <!-- Reference to an array resource that be used as description for the targets around the circle.
7283             {@deprecated Removed.} -->
7284        <attr name="targetDescriptions" format="reference" />
7285
7286        <!-- Reference to an array resource that be used to announce the directions with targets around the circle.
7287             {@deprecated Removed.}-->
7288        <attr name="directionDescriptions" format="reference" />
7289    </declare-styleable>
7290
7291    <!-- =============================== -->
7292    <!-- Location package class attributes -->
7293    <!-- =============================== -->
7294    <eat-comment />
7295
7296    <!-- Use <code>injected-location-setting</code> as the root tag of the XML resource that
7297         describes an injected "Location services" setting. Note that the status value (subtitle)
7298         for the setting is specified dynamically by a subclass of SettingInjectorService.
7299     -->
7300    <declare-styleable name="SettingInjectorService">
7301        <!-- The title for the preference. -->
7302        <attr name="title"/>
7303        <!-- The icon for the preference, should refer to all apps covered by the setting. Typically
7304             a generic icon for the developer. -->
7305        <attr name="icon"/>
7306        <!-- The activity to launch when the setting is clicked on. -->
7307        <attr name="settingsActivity"/>
7308    </declare-styleable>
7309
7310    <!-- =============================== -->
7311    <!-- LockPatternView class attributes -->
7312    <!-- =============================== -->
7313    <eat-comment />
7314
7315    <declare-styleable name="LockPatternView">
7316        <!-- Aspect to use when drawing LockPatternView. Choices are "square"(default), "lock_width"
7317             or "lock_height" -->
7318        <attr name="aspect" format="string" />
7319        <!-- Color to use when drawing LockPatternView paths. -->
7320        <attr name="pathColor" format="color|reference" />
7321        <!-- The regular pattern color -->
7322        <attr name="regularColor" format="color|reference" />
7323        <!-- The error color -->
7324        <attr name="errorColor" format="color|reference" />
7325        <!-- The success color -->
7326        <attr name="successColor" format="color|reference"/>
7327    </declare-styleable>
7328
7329    <!-- Use <code>recognition-service</code> as the root tag of the XML resource that
7330         describes a {@link android.speech.RecognitionService}, which is referenced from
7331         its {@link android.speech.RecognitionService#SERVICE_META_DATA} meta-data entry.
7332         Described here are the attributes that can be included in that tag. -->
7333    <declare-styleable name="RecognitionService">
7334        <attr name="settingsActivity" />
7335    </declare-styleable>
7336
7337    <!-- Use <code>voice-interaction-service</code> as the root tag of the XML resource that
7338         describes a {@link android.service.voice.VoiceInteractionService}, which is referenced from
7339         its {@link android.service.voice.VoiceInteractionService#SERVICE_META_DATA} meta-data entry.
7340         Described here are the attributes that can be included in that tag. -->
7341    <declare-styleable name="VoiceInteractionService">
7342        <!-- The service that hosts active voice interaction sessions.  This is required. -->
7343        <attr name="sessionService" format="string" />
7344        <!-- The service that provides voice recognition.  This is required.  When the user
7345             selects this voice interaction service, they will also be implicitly selecting
7346             the component here for their recognition service. -->
7347        <attr name="recognitionService" format="string" />
7348        <attr name="settingsActivity" />
7349        <!-- Flag indicating whether this voice interaction service is capable of handling the
7350             assist action. -->
7351        <attr name="supportsAssist" format="boolean" />
7352        <!-- Flag indicating whether this voice interaction service is capable of being launched
7353             from the keyguard. -->
7354        <attr name="supportsLaunchVoiceAssistFromKeyguard" format="boolean" />
7355    </declare-styleable>
7356
7357    <!-- Use <code>voice-enrollment-application</code>
7358         as the root tag of the XML resource that escribes the supported keyphrases (hotwords)
7359         by the enrollment application.
7360         Described here are the attributes that can be included in that tag.
7361         @hide
7362         @SystemApi -->
7363    <declare-styleable name="VoiceEnrollmentApplication">
7364        <!-- A globally unique ID for the keyphrase. @hide @SystemApi -->
7365        <attr name="searchKeyphraseId" format="integer" />
7366        <!-- The actual keyphrase/hint text, or empty if not keyphrase dependent. @hide @SystemApi -->
7367        <attr name="searchKeyphrase" format="string" />
7368        <!-- A comma separated list of BCP-47 language tag for locales that are supported
7369             for this keyphrase, or empty if not locale dependent. @hide @SystemApi -->
7370        <attr name="searchKeyphraseSupportedLocales" format="string" />
7371        <!-- Flags for supported recognition modes. @hide @SystemApi -->
7372        <attr name="searchKeyphraseRecognitionFlags">
7373            <flag name="none" value="0" />
7374            <flag name="voiceTrigger" value="0x1" />
7375            <flag name="userIdentification" value="0x2" />
7376        </attr>
7377    </declare-styleable>
7378
7379    <!-- Attributes used to style the Action Bar. -->
7380    <declare-styleable name="ActionBar">
7381        <!-- The type of navigation to use. -->
7382        <attr name="navigationMode">
7383            <!-- Normal static title text -->
7384            <enum name="normal" value="0" />
7385            <!-- The action bar will use a selection list for navigation. -->
7386            <enum name="listMode" value="1" />
7387            <!-- The action bar will use a series of horizontal tabs for navigation. -->
7388            <enum name="tabMode" value="2" />
7389        </attr>
7390        <!-- Options affecting how the action bar is displayed. -->
7391        <attr name="displayOptions">
7392            <flag name="none" value="0" />
7393            <flag name="useLogo" value="0x1" />
7394            <flag name="showHome" value="0x2" />
7395            <flag name="homeAsUp" value="0x4" />
7396            <flag name="showTitle" value="0x8" />
7397            <flag name="showCustom" value="0x10" />
7398            <flag name="disableHome" value="0x20" />
7399        </attr>
7400        <!-- Specifies title text used for navigationMode="normal" -->
7401        <attr name="title" />
7402        <!-- Specifies subtitle text used for navigationMode="normal" -->
7403        <attr name="subtitle" format="string" />
7404        <!-- Specifies a style to use for title text. -->
7405        <attr name="titleTextStyle" format="reference" />
7406        <!-- Specifies a style to use for subtitle text. -->
7407        <attr name="subtitleTextStyle" format="reference" />
7408        <!-- Specifies the drawable used for the application icon. -->
7409        <attr name="icon" />
7410        <!-- Specifies the drawable used for the application logo. -->
7411        <attr name="logo" />
7412        <!-- Specifies the drawable used for item dividers. -->
7413        <attr name="divider" />
7414        <!-- Specifies a background drawable for the action bar. -->
7415        <attr name="background" />
7416        <!-- Specifies a background drawable for a second stacked row of the action bar. -->
7417        <attr name="backgroundStacked" format="reference|color" />
7418        <!-- Specifies a background drawable for the bottom component of a split action bar. -->
7419        <attr name="backgroundSplit" format="reference|color" />
7420        <!-- Specifies a layout for custom navigation. Overrides navigationMode. -->
7421        <attr name="customNavigationLayout" format="reference" />
7422        <!-- Specifies a fixed height. -->
7423        <attr name="height" />
7424        <!-- Specifies a layout to use for the "home" section of the action bar. -->
7425        <attr name="homeLayout" format="reference" />
7426        <!-- Specifies a style resource to use for an embedded progress bar. -->
7427        <attr name="progressBarStyle" />
7428        <!-- Specifies a style resource to use for an indeterminate progress spinner. -->
7429        <attr name="indeterminateProgressStyle" format="reference" />
7430        <!-- Specifies the horizontal padding on either end for an embedded progress bar. -->
7431        <attr name="progressBarPadding" format="dimension" />
7432        <!-- Up navigation glyph -->
7433        <attr name="homeAsUpIndicator" />
7434        <!-- Specifies padding that should be applied to the left and right sides of
7435             system-provided items in the bar. -->
7436        <attr name="itemPadding" format="dimension" />
7437        <!-- Set true to hide the action bar on a vertical nested scroll of content. -->
7438        <attr name="hideOnContentScroll" format="boolean" />
7439        <!-- Minimum inset for content views within a bar. Navigation buttons and
7440             menu views are excepted. Only valid for some themes and configurations. -->
7441        <attr name="contentInsetStart" format="dimension" />
7442        <!-- Minimum inset for content views within a bar. Navigation buttons and
7443             menu views are excepted. Only valid for some themes and configurations. -->
7444        <attr name="contentInsetEnd" format="dimension" />
7445        <!-- Minimum inset for content views within a bar. Navigation buttons and
7446             menu views are excepted. Only valid for some themes and configurations. -->
7447        <attr name="contentInsetLeft" format="dimension" />
7448        <!-- Minimum inset for content views within a bar. Navigation buttons and
7449             menu views are excepted. Only valid for some themes and configurations. -->
7450        <attr name="contentInsetRight" format="dimension" />
7451        <!-- Elevation for the action bar itself -->
7452        <attr name="elevation" />
7453        <!-- Reference to a theme that should be used to inflate popups
7454             shown by widgets in the action bar. -->
7455        <attr name="popupTheme" />
7456    </declare-styleable>
7457
7458    <declare-styleable name="ActionMode">
7459        <!-- Specifies a style to use for title text. -->
7460        <attr name="titleTextStyle" />
7461        <!-- Specifies a style to use for subtitle text. -->
7462        <attr name="subtitleTextStyle" />
7463        <!-- Specifies a background for the action mode bar. -->
7464        <attr name="background" />
7465        <!-- Specifies a background for the split action mode bar. -->
7466        <attr name="backgroundSplit" />
7467        <!-- Specifies a fixed height for the action mode bar. -->
7468        <attr name="height" />
7469        <!-- Specifies a layout to use for the "close" item at the starting edge. -->
7470        <attr name="closeItemLayout" format="reference" />
7471    </declare-styleable>
7472
7473    <declare-styleable name="SearchView">
7474        <!-- The layout to use for the search view. -->
7475        <attr name="layout" />
7476        <!-- The default state of the SearchView. If true, it will be iconified when not in
7477             use and expanded when clicked. -->
7478        <attr name="iconifiedByDefault" format="boolean" />
7479        <!-- An optional maximum width of the SearchView. -->
7480        <attr name="maxWidth" />
7481        <!-- An optional query hint string to be displayed in the empty query field. -->
7482        <attr name="queryHint" format="string" />
7483        <!-- Default query hint used when {@code queryHint} is undefined and
7484             the search view's {@code SearchableInfo} does not provide a hint.
7485             @hide -->
7486        <attr name="defaultQueryHint" format="string" />
7487        <!-- The IME options to set on the query text field. -->
7488        <attr name="imeOptions" />
7489        <!-- The input type to set on the query text field. -->
7490        <attr name="inputType" />
7491        <!-- Close button icon -->
7492        <attr name="closeIcon" format="reference" />
7493        <!-- Go button icon -->
7494        <attr name="goIcon" format="reference" />
7495        <!-- Search icon -->
7496        <attr name="searchIcon" format="reference" />
7497        <!-- Search icon displayed as a text field hint -->
7498        <attr name="searchHintIcon" format="reference" />
7499        <!-- Voice button icon -->
7500        <attr name="voiceIcon" format="reference" />
7501        <!-- Commit icon shown in the query suggestion row -->
7502        <attr name="commitIcon" format="reference" />
7503        <!-- Layout for query suggestion rows -->
7504        <attr name="suggestionRowLayout" format="reference" />
7505        <!-- Background for the section containing the search query -->
7506        <attr name="queryBackground" format="reference" />
7507        <!-- Background for the section containing the action (e.g. voice search) -->
7508        <attr name="submitBackground" format="reference" />
7509        <attr name="focusable" />
7510    </declare-styleable>
7511
7512    <declare-styleable name="Switch">
7513        <!-- Drawable to use as the "thumb" that switches back and forth. -->
7514        <attr name="thumb" />
7515        <!-- Tint to apply to the thumb. -->
7516        <attr name="thumbTint" />
7517        <!-- Blending mode used to apply the thumb tint. -->
7518        <attr name="thumbTintMode" />
7519        <!-- Drawable to use as the "track" that the switch thumb slides within. -->
7520        <attr name="track" format="reference" />
7521        <!-- Tint to apply to the track. -->
7522        <attr name="trackTint" format="color" />
7523        <!-- Blending mode used to apply the track tint. -->
7524        <attr name="trackTintMode">
7525            <!-- The tint is drawn on top of the drawable.
7526                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
7527            <enum name="src_over" value="3" />
7528            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
7529                 color channels are thrown out. [Sa * Da, Sc * Da] -->
7530            <enum name="src_in" value="5" />
7531            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
7532                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
7533            <enum name="src_atop" value="9" />
7534            <!-- Multiplies the color and alpha channels of the drawable with those of
7535                 the tint. [Sa * Da, Sc * Dc] -->
7536            <enum name="multiply" value="14" />
7537            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
7538            <enum name="screen" value="15" />
7539            <!-- Combines the tint and drawable color and alpha channels, clamping the
7540                 result to valid color values. Saturate(S + D) -->
7541            <enum name="add" value="16" />
7542        </attr>
7543        <!-- Text to use when the switch is in the checked/"on" state. -->
7544        <attr name="textOn" />
7545        <!-- Text to use when the switch is in the unchecked/"off" state. -->
7546        <attr name="textOff" />
7547        <!-- Amount of padding on either side of text within the switch thumb. -->
7548        <attr name="thumbTextPadding" format="dimension" />
7549        <!-- TextAppearance style for text displayed on the switch thumb. -->
7550        <attr name="switchTextAppearance" format="reference" />
7551        <!-- Minimum width for the switch component -->
7552        <attr name="switchMinWidth" format="dimension" />
7553        <!-- Minimum space between the switch and caption text -->
7554        <attr name="switchPadding" format="dimension" />
7555        <!-- Whether to split the track and leave a gap for the thumb drawable. -->
7556        <attr name="splitTrack" />
7557        <!-- Whether to draw on/off text. -->
7558        <attr name="showText" format="boolean" />
7559    </declare-styleable>
7560
7561    <declare-styleable name="Pointer">
7562        <!-- Reference to a pointer icon drawable with STYLE_ARROW -->
7563        <attr name="pointerIconArrow" format="reference" />
7564        <!-- Reference to a pointer icon drawable with STYLE_SPOT_HOVER -->
7565        <attr name="pointerIconSpotHover" format="reference" />
7566        <!-- Reference to a pointer icon drawable with STYLE_SPOT_TOUCH -->
7567        <attr name="pointerIconSpotTouch" format="reference" />
7568        <!-- Reference to a pointer icon drawable with STYLE_SPOT_ANCHOR -->
7569        <attr name="pointerIconSpotAnchor" format="reference" />
7570    </declare-styleable>
7571
7572    <declare-styleable name="PointerIcon">
7573        <!-- Drawable to use as the icon bitmap. -->
7574        <attr name="bitmap" format="reference" />
7575        <!-- X coordinate of the icon hot spot. -->
7576        <attr name="hotSpotX" format="dimension" />
7577        <!-- Y coordinate of the icon hot spot. -->
7578        <attr name="hotSpotY" format="dimension" />
7579    </declare-styleable>
7580
7581    <declare-styleable name="Storage">
7582        <!-- path to mount point for the storage -->
7583        <attr name="mountPoint" format="string" />
7584        <!-- user visible description of the storage -->
7585        <attr name="storageDescription" format="string" />
7586        <!-- true if the storage is the primary external storage -->
7587        <attr name="primary" format="boolean" />
7588        <!-- true if the storage is removable -->
7589        <attr name="removable" format="boolean" />
7590        <!-- true if the storage is emulated via the FUSE sdcard daemon -->
7591        <attr name="emulated" format="boolean" />
7592        <!-- number of megabytes of storage MTP should reserve for free storage
7593             (used for emulated storage that is shared with system's data partition) -->
7594        <attr name="mtpReserve" format="integer" />
7595        <!-- true if the storage can be shared via USB mass storage -->
7596        <attr name="allowMassStorage" format="boolean" />
7597        <!-- maximum file size for the volume in megabytes, zero or unspecified if it is unbounded -->
7598        <attr name="maxFileSize" format="integer" />
7599    </declare-styleable>
7600
7601    <declare-styleable name="SwitchPreference">
7602        <!-- The summary for the Preference in a PreferenceActivity screen when the
7603             SwitchPreference is checked. If separate on/off summaries are not
7604             needed, the summary attribute can be used instead. -->
7605        <attr name="summaryOn" />
7606        <!-- The summary for the Preference in a PreferenceActivity screen when the
7607             SwitchPreference is unchecked. If separate on/off summaries are not
7608             needed, the summary attribute can be used instead. -->
7609        <attr name="summaryOff" />
7610        <!-- The text used on the switch itself when in the "on" state.
7611             This should be a very SHORT string, as it appears in a small space. -->
7612        <attr name="switchTextOn" format="string" />
7613        <!-- The text used on the switch itself when in the "off" state.
7614             This should be a very SHORT string, as it appears in a small space. -->
7615        <attr name="switchTextOff" format="string" />
7616        <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
7617             dependents will be disabled when this is unchecked, so the value of this preference is false. -->
7618        <attr name="disableDependentsState" />
7619    </declare-styleable>
7620
7621    <declare-styleable name="SeekBarPreference">
7622        <attr name="layout" />
7623    </declare-styleable>
7624
7625    <!-- Base attributes available to PreferenceFragment. -->
7626    <declare-styleable name="PreferenceFragment">
7627        <!-- The layout for the PreferenceFragment. This should rarely need to be changed. -->
7628        <attr name="layout" />
7629    </declare-styleable>
7630
7631    <!-- Base attributes available to PreferenceActivity. -->
7632    <declare-styleable name="PreferenceActivity">
7633        <!-- The layout for the Preference Activity. This should rarely need to be changed. -->
7634        <attr name="layout" />
7635        <!-- The layout for the Preference Header. This should rarely need to be changed. -->
7636        <attr name="headerLayout" format="reference" />
7637        <!-- true if the Icon view will be removed when there is none and thus not showing
7638             the fixed margins. -->
7639        <attr name="headerRemoveIconIfEmpty" format="boolean" />
7640    </declare-styleable>
7641
7642    <!-- Use <code>tts-engine</code> as the root tag of the XML resource that
7643         describes a text to speech engine implemented as a subclass of
7644         {@link android.speech.tts.TextToSpeechService}.
7645
7646         The XML resource must be referenced from its
7647         {@link android.speech.tts.TextToSpeech.Engine#SERVICE_META_DATA} meta-data
7648         entry. -->
7649    <declare-styleable name="TextToSpeechEngine">
7650        <attr name="settingsActivity" />
7651    </declare-styleable>
7652
7653    <!-- Use <code>keyboard-layouts</code> as the root tag of the XML resource that
7654         describes a collection of keyboard layouts provided by an application.
7655         Each keyboard layout is declared by a <code>keyboard-layout</code> tag
7656         with these attributes.
7657
7658         The XML resource that contains the keyboard layouts must be referenced from its
7659         {@link android.hardware.input.InputManager#META_DATA_KEYBOARD_LAYOUTS}
7660         meta-data entry used with broadcast receivers for
7661         {@link android.hardware.input.InputManager#ACTION_QUERY_KEYBOARD_LAYOUTS}. -->
7662    <declare-styleable name="KeyboardLayout">
7663        <!-- The name of the keyboard layout, must be unique in the receiver. -->
7664        <attr name="name" />
7665        <!-- The display label of the keyboard layout. -->
7666        <attr name="label" />
7667        <!-- The key character map file resource. -->
7668        <attr name="keyboardLayout" format="reference" />
7669    </declare-styleable>
7670
7671    <declare-styleable name="MediaRouteButton">
7672        <!-- This drawable is a state list where the "activated" state
7673             indicates active media routing. Non-activated indicates
7674             that media is playing to the local device only.
7675             @hide -->
7676        <attr name="externalRouteEnabledDrawable" format="reference" />
7677
7678        <!-- The types of media routes the button and its resulting
7679             chooser will filter by. -->
7680        <attr name="mediaRouteTypes" format="integer">
7681            <!-- Allow selection of live audio routes. -->
7682            <enum name="liveAudio" value="0x1" />
7683            <!-- Allow selection of user (app-specified) routes. -->
7684            <enum name="user" value="0x800000" />
7685        </attr>
7686
7687        <attr name="minWidth" />
7688        <attr name="minHeight" />
7689    </declare-styleable>
7690
7691    <!-- PagedView specific attributes. These attributes are used to customize
7692         a PagedView view in XML files. -->
7693    <declare-styleable name="PagedView">
7694        <!-- The space between adjacent pages of the PagedView. -->
7695        <attr name="pageSpacing" format="dimension" />
7696        <!-- The padding for the scroll indicator area -->
7697        <attr name="scrollIndicatorPaddingLeft" format="dimension" />
7698        <attr name="scrollIndicatorPaddingRight" format="dimension" />
7699    </declare-styleable>
7700
7701    <declare-styleable name="KeyguardGlowStripView">
7702        <attr name="dotSize" format="dimension" />
7703        <attr name="numDots" format="integer" />
7704        <attr name="glowDot" format="reference" />
7705        <attr name="leftToRight" format="boolean" />
7706    </declare-styleable>
7707
7708    <!-- Some child types have special behavior. -->
7709    <attr name="layout_childType">
7710        <!-- No special behavior. Layout will proceed as normal. -->
7711        <enum name="none" value="0" />
7712        <!-- Widget container.
7713             This will be resized in response to certain events. -->
7714        <enum name="widget" value="1" />
7715        <!-- Security challenge container.
7716             This will be dismissed/shown in response to certain events,
7717             possibly obscuring widget elements. -->
7718        <enum name="challenge" value="2" />
7719        <!-- User switcher.
7720             This will consume space from the total layout area. -->
7721        <enum name="userSwitcher" value="3" />
7722        <!-- Scrim. This will block access to child views that
7723             come before it in the child list in bouncer mode. -->
7724        <enum name="scrim" value="4" />
7725        <!-- The home for widgets. All widgets will be descendents of this. -->
7726        <enum name="widgets" value="5" />
7727        <!-- This is a handle that is used for expanding the
7728             security challenge container when it is collapsed. -->
7729        <enum name="expandChallengeHandle" value="6" />
7730        <!-- Delete drop target.  This will be the drop target to delete pages. -->
7731        <enum name="pageDeleteDropTarget" value="7" />
7732    </attr>
7733
7734    <!-- Attributes that can be used with <code>&lt;FragmentBreadCrumbs&gt;</code>
7735    tags. -->
7736    <declare-styleable name="FragmentBreadCrumbs">
7737        <attr name="gravity" />
7738        <attr name="itemLayout" format="reference" />
7739        <attr name="itemColor" format="color|reference" />
7740    </declare-styleable>
7741
7742    <declare-styleable name="Toolbar">
7743        <attr name="titleTextAppearance" format="reference" />
7744        <attr name="subtitleTextAppearance" format="reference" />
7745        <attr name="title" />
7746        <attr name="subtitle" />
7747        <attr name="gravity" />
7748        <attr name="titleMargins" format="dimension" />
7749        <attr name="titleMarginStart" format="dimension" />
7750        <attr name="titleMarginEnd" format="dimension" />
7751        <attr name="titleMarginTop" format="dimension" />
7752        <attr name="titleMarginBottom" format="dimension" />
7753        <attr name="contentInsetStart" />
7754        <attr name="contentInsetEnd" />
7755        <attr name="contentInsetLeft" />
7756        <attr name="contentInsetRight" />
7757        <attr name="maxButtonHeight" format="dimension" />
7758        <attr name="navigationButtonStyle" format="reference" />
7759        <attr name="buttonGravity">
7760            <!-- Push object to the top of its container, not changing its size. -->
7761            <flag name="top" value="0x30" />
7762            <!-- Push object to the bottom of its container, not changing its size. -->
7763            <flag name="bottom" value="0x50" />
7764        </attr>
7765        <!-- Icon drawable to use for the collapse button. -->
7766        <attr name="collapseIcon" format="reference" />
7767        <!-- Text to set as the content description for the collapse button. -->
7768        <attr name="collapseContentDescription" format="string" />
7769        <!-- Reference to a theme that should be used to inflate popups
7770             shown by widgets in the toolbar. -->
7771        <attr name="popupTheme" format="reference" />
7772        <!-- Icon drawable to use for the navigation button located at
7773             the start of the toolbar. -->
7774        <attr name="navigationIcon" format="reference" />
7775        <!-- Text to set as the content description for the navigation button
7776             located at the start of the toolbar. -->
7777        <attr name="navigationContentDescription" format="string" />
7778        <!-- Drawable to set as the logo that appears at the starting side of
7779             the Toolbar, just after the navigation button. -->
7780        <attr name="logo" />
7781        <!-- A content description string to describe the appearance of the
7782             associated logo image. -->
7783        <attr name="logoDescription" format="string" />
7784        <!-- A color to apply to the title string. -->
7785        <attr name="titleTextColor" format="color" />
7786        <!-- A color to apply to the subtitle string. -->
7787        <attr name="subtitleTextColor" format="color" />
7788    </declare-styleable>
7789
7790    <declare-styleable name="Toolbar_LayoutParams">
7791        <attr name="layout_gravity" />
7792    </declare-styleable>
7793
7794    <declare-styleable name="ActionBar_LayoutParams">
7795        <attr name="layout_gravity" />
7796    </declare-styleable>
7797
7798    <!-- Used as a filter array on the theme to pull out only the EdgeEffect-relevant bits. -->
7799    <declare-styleable name="EdgeEffect">
7800        <attr name="colorEdgeEffect" />
7801    </declare-styleable>
7802
7803    <!-- Use <code>tv-input</code> as the root tag of the XML resource that describes a
7804         {@link android.media.tv.TvInputService}, which is referenced from its
7805         {@link android.media.tv.TvInputService#SERVICE_META_DATA} meta-data entry.
7806         Described here are the attributes that can be included in that tag. -->
7807    <declare-styleable name="TvInputService">
7808        <!-- Component name of an activity for setup of this service.
7809             The setup includes scanning channels and registering EPG data. -->
7810        <attr name="setupActivity" format="string" />
7811        <!-- Component name of an activity that allows the user to modify
7812             the settings for this service. -->
7813        <attr name="settingsActivity" />
7814    </declare-styleable>
7815
7816    <!-- Attributes that can be used with <code>rating-system-definition</code> tags inside of the
7817         XML resource that describes TV content rating of a {@link android.media.tv.TvInputService},
7818         which is referenced from its
7819         {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. -->
7820    <declare-styleable name="RatingSystemDefinition">
7821        <!-- The unique name of the content rating system. -->
7822        <attr name="name" />
7823        <!-- The title of the content rating system which is shown to the user. -->
7824        <attr name="title" />
7825        <!-- The short description of the content rating system. -->
7826        <attr name="description" />
7827        <!-- The country code associated with the content rating system, which consists of two
7828             uppercase letters that conform to the ISO 3166 standard. -->
7829        <attr name="country" format="string" />
7830    </declare-styleable>
7831
7832    <!-- Attributes that can be used with <code>rating-definition</code> tags inside of the XML
7833         resource that describes TV content rating of a {@link android.media.tv.TvInputService},
7834         which is referenced from its
7835         {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. -->
7836    <declare-styleable name="RatingDefinition">
7837        <!-- The unique name of the content rating. -->
7838        <attr name="name" />
7839        <!-- The title of the content rating which is shown to the user. -->
7840        <attr name="title" />
7841        <!-- The short description of the content rating. -->
7842        <attr name="description" />
7843        <!-- The age associated with the content rating. The content of this rating is suitable for
7844             people of this age or above. -->
7845        <attr name="contentAgeHint" format="integer" />
7846    </declare-styleable>
7847
7848    <declare-styleable name="ResolverDrawerLayout">
7849        <attr name="maxWidth" />
7850        <attr name="maxCollapsedHeight" format="dimension" />
7851        <attr name="maxCollapsedHeightSmall" format="dimension" />
7852    </declare-styleable>
7853
7854    <declare-styleable name="ResolverDrawerLayout_LayoutParams">
7855        <attr name="layout_alwaysShow" format="boolean" />
7856        <attr name="layout_ignoreOffset" format="boolean" />
7857        <attr name="layout_gravity" />
7858    </declare-styleable>
7859
7860    <!-- @hide -->
7861    <declare-styleable name="Lighting">
7862        <attr name="lightY" />
7863        <attr name="lightZ" />
7864        <attr name="lightRadius" />
7865        <attr name="ambientShadowAlpha" />
7866        <attr name="spotShadowAlpha" />
7867    </declare-styleable>
7868
7869    <declare-styleable name="RestrictionEntry">
7870        <attr name="key" />
7871        <attr name="restrictionType">
7872            <enum name="hidden" value="0" />
7873            <enum name="bool" value="1" />
7874            <enum name="choice" value="2" />
7875            <enum name="multi-select" value="4" />
7876            <enum name="integer" value="5" />
7877            <enum name="string" value="6" />
7878            <enum name="bundle" value="7" />
7879            <enum name="bundle_array" value="8" />
7880        </attr>
7881        <attr name="title" />
7882        <attr name="description" />
7883        <attr name="defaultValue" />
7884        <attr name="entries" />
7885        <attr name="entryValues" />
7886    </declare-styleable>
7887</resources>
7888