attrs.xml revision d511fc2fa469939c92cb93b649d4740980aa2ee1
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2006 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<!-- Formatting note: terminate all comments with a period, to avoid breaking
18     the documentation output. To suppress comment lines from the documentation
19     output, insert an eat-comment element after the comment lines.
20-->
21
22<resources>
23    <!-- These are the standard attributes that make up a complete theme. -->
24    <declare-styleable name="Theme">
25        <!-- ============== -->
26        <!-- Generic styles -->
27        <!-- ============== -->
28        <eat-comment />
29
30        <!-- Default color of foreground imagery. -->
31        <attr name="colorForeground" format="color" />
32        <!-- Default color of foreground imagery on an inverted background. -->
33        <attr name="colorForegroundInverse" format="color" />
34        <!-- Color that matches (as closely as possible) the window background. -->
35        <attr name="colorBackground" format="color" />
36        <!-- This is a hint for a solid color that can be used for caching
37             rendered views.  This should be the color of the background when
38             there is a solid background color; it should be null when the
39             background is a texture or translucent.  When a device is able
40             to use accelerated drawing (thus setting state_accelerated), the
41             cache hint is ignored and always assumed to be transparent. -->
42        <attr name="colorBackgroundCacheHint" format="color" />
43
44        <!-- Default highlight color for items that are pressed. -->
45        <attr name="colorPressedHighlight" format="color" />
46        <!-- Default highlight color for items that are long-pressed. -->
47        <attr name="colorLongPressedHighlight" format="color" />
48        <!-- Default highlight color for items that are
49             focused. (Focused meaning cursor-based selection.) -->
50        <attr name="colorFocusedHighlight" format="color" />
51        <!-- Default highlight color for items that are
52             activated. (Activated meaning persistent selection.) -->
53        <attr name="colorActivatedHighlight" format="color" />
54        <!-- Default highlight color for items in multiple selection
55             mode. -->
56        <attr name="colorMultiSelectHighlight" format="color" />
57
58        <!-- Default disabled alpha for widgets that set enabled/disabled alpha programmatically. -->
59        <attr name="disabledAlpha" format="float" />
60        <!-- Default background dim amount when a menu, dialog, or something similar pops up. -->
61        <attr name="backgroundDimAmount" format="float" />
62        <!-- Control whether dimming behind the window is enabled.  The default
63             theme does not set this value, meaning it is based on whether the
64             window is floating. -->
65        <attr name="backgroundDimEnabled" format="boolean" />
66
67        <!-- =========== -->
68        <!-- Text styles -->
69        <!-- =========== -->
70        <eat-comment />
71
72        <!-- Default appearance of text: color, typeface, size, and style. -->
73        <attr name="textAppearance" format="reference" />
74        <!-- Default appearance of text against an inverted background:
75             color, typeface, size, and style. -->
76        <attr name="textAppearanceInverse" format="reference" />
77
78        <!-- The most prominent text color.  -->
79        <attr name="textColorPrimary" format="reference|color" />
80        <!-- Secondary text color. -->
81        <attr name="textColorSecondary" format="reference|color" />
82        <!-- Tertiary text color. -->
83        <attr name="textColorTertiary" format="reference|color" />
84
85        <!-- Primary inverse text color, useful for inverted backgrounds. -->
86        <attr name="textColorPrimaryInverse" format="reference|color" />
87        <!-- Secondary inverse text color, useful for inverted backgrounds. -->
88        <attr name="textColorSecondaryInverse" format="reference|color" />
89        <!-- Tertiary inverse text color, useful for inverted backgrounds. -->
90        <attr name="textColorTertiaryInverse" format="reference|color" />
91
92        <!-- Inverse hint text color. -->
93        <attr name="textColorHintInverse" format="reference|color" />
94
95        <!-- Bright text color. Only differentiates based on the disabled state. -->
96        <attr name="textColorPrimaryDisableOnly" format="reference|color" />
97
98        <!-- Bright inverse text color. Only differentiates based on the disabled state. -->
99        <attr name="textColorPrimaryInverseDisableOnly" format="reference|color" />
100
101        <!-- Bright text color. This does not differentiate the disabled state. As an example,
102             buttons use this since they display the disabled state via the background and not the
103             foreground text color. -->
104        <attr name="textColorPrimaryNoDisable" format="reference|color" />
105        <!-- Dim text color. This does not differentiate the disabled state. -->
106        <attr name="textColorSecondaryNoDisable" format="reference|color" />
107
108        <!-- Bright inverse text color. This does not differentiate the disabled state. -->
109        <attr name="textColorPrimaryInverseNoDisable" format="reference|color" />
110        <!-- Dim inverse text color. This does not differentiate the disabled state. -->
111        <attr name="textColorSecondaryInverseNoDisable" format="reference|color" />
112
113        <!-- Text color for urls in search suggestions, used by things like global search and the browser. @hide -->
114        <attr name="textColorSearchUrl" format="reference|color" />
115
116        <!-- Color of highlighted text, when used in a light theme. -->
117        <attr name="textColorHighlightInverse" format="reference|color" />
118        <!-- Color of link text (URLs), when used in a light theme. -->
119        <attr name="textColorLinkInverse" format="reference|color" />
120
121        <!-- Color of list item text in alert dialogs. -->
122        <attr name="textColorAlertDialogListItem" format="reference|color" />
123
124        <!-- Search widget more corpus result item background. -->
125        <attr name="searchWidgetCorpusItemBackground" format="reference|color" />
126
127        <!-- Text color, typeface, size, and style for "large" text. Defaults to primary text color. -->
128        <attr name="textAppearanceLarge" format="reference" />
129        <!-- Text color, typeface, size, and style for "medium" text. Defaults to primary text color. -->
130        <attr name="textAppearanceMedium" format="reference" />
131        <!-- Text color, typeface, size, and style for "small" text. Defaults to secondary text color. -->
132        <attr name="textAppearanceSmall" format="reference" />
133
134        <!-- Text color, typeface, size, and style for "large" inverse text. Defaults to primary inverse text color. -->
135        <attr name="textAppearanceLargeInverse" format="reference" />
136        <!-- Text color, typeface, size, and style for "medium" inverse text. Defaults to primary inverse text color. -->
137        <attr name="textAppearanceMediumInverse" format="reference" />
138        <!-- Text color, typeface, size, and style for "small" inverse text. Defaults to secondary inverse text color. -->
139        <attr name="textAppearanceSmallInverse" format="reference" />
140
141        <!-- Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color. -->
142        <attr name="textAppearanceSearchResultTitle" format="reference" />
143        <!-- Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color. -->
144        <attr name="textAppearanceSearchResultSubtitle" format="reference" />
145
146        <!-- Text color, typeface, size, and style for the text inside of a button. -->
147        <attr name="textAppearanceButton" format="reference" />
148
149        <!-- Text color, typeface, size, and style for the text inside of a popup menu. -->
150        <attr name="textAppearanceLargePopupMenu" format="reference" />
151
152        <!-- Text color, typeface, size, and style for small text inside of a popup menu. -->
153        <attr name="textAppearanceSmallPopupMenu" format="reference" />
154
155        <!-- The underline color and thickness for easy correct suggestion -->
156        <attr name="textAppearanceEasyCorrectSuggestion" format="reference" />
157
158        <!-- The underline color and thickness for misspelled suggestion -->
159        <attr name="textAppearanceMisspelledSuggestion" format="reference" />
160
161        <!-- The underline color and thickness for auto correction suggestion -->
162        <attr name="textAppearanceAutoCorrectionSuggestion" format="reference" />
163
164        <!--  The underline color -->
165        <attr name="textUnderlineColor" format="reference|color" />
166        <!--  The underline thickness -->
167        <attr name="textUnderlineThickness" format="reference|dimension" />
168
169        <!-- EditText text foreground color. -->
170        <attr name="editTextColor" format="reference|color" />
171        <!-- EditText background drawable. -->
172        <attr name="editTextBackground" format="reference" />
173
174        <!-- Popup text displayed in TextView when setError is used. -->
175        <attr name="errorMessageBackground" format="reference" />
176        <!-- Background used instead of errorMessageBackground when the popup has to be above. -->
177        <attr name="errorMessageAboveBackground" format="reference" />
178
179        <!-- A styled string, specifying the style to be used for showing
180             inline candidate text when composing with an input method.  The
181             text itself will be ignored, but the style spans will be applied
182             to the candidate text as it is edited. -->
183        <attr name="candidatesTextStyleSpans" format="reference|string" />
184
185        <!-- Drawable to use for check marks. -->
186        <attr name="textCheckMark" format="reference" />
187        <attr name="textCheckMarkInverse" format="reference" />
188
189        <!-- Drawable to use for multiple choice indicators. -->
190        <attr name="listChoiceIndicatorMultiple" format="reference" />
191
192        <!-- Drawable to use for single choice indicators. -->
193        <attr name="listChoiceIndicatorSingle" format="reference" />
194
195        <!-- Drawable used as a background for selected list items. -->
196        <attr name="listChoiceBackgroundIndicator" format="reference" />
197
198        <!-- Drawable used as a background for activated items. -->
199        <attr name="activatedBackgroundIndicator" format="reference" />
200
201        <!-- ============= -->
202        <!-- Button styles -->
203        <!-- ============= -->
204        <eat-comment />
205
206        <!-- Normal Button style. -->
207        <attr name="buttonStyle" format="reference" />
208
209        <!-- Small Button style. -->
210        <attr name="buttonStyleSmall" format="reference" />
211
212        <!-- Button style to inset into an EditText. -->
213        <attr name="buttonStyleInset" format="reference" />
214
215        <!-- ToggleButton style. -->
216        <attr name="buttonStyleToggle" format="reference" />
217
218        <!-- ============== -->
219        <!-- Gallery styles -->
220        <!-- ============== -->
221        <eat-comment />
222
223        <!-- The preferred background for gallery items. This should be set
224             as the background of any Views you provide from the Adapter. -->
225        <attr name="galleryItemBackground" format="reference" />
226
227        <!-- =========== -->
228        <!-- List styles -->
229        <!-- =========== -->
230        <eat-comment />
231
232        <!-- The preferred list item height. -->
233        <attr name="listPreferredItemHeight" format="dimension" />
234        <!-- A smaller, sleeker list item height. -->
235        <attr name="listPreferredItemHeightSmall" format="dimension" />
236        <!-- A larger, more robust list item height. -->
237        <attr name="listPreferredItemHeightLarge" format="dimension" />
238        <!-- The list item height for search results. @hide -->
239        <attr name="searchResultListItemHeight" format="dimension" />
240
241        <!-- The preferred padding along the left edge of list items. -->
242        <attr name="listPreferredItemPaddingLeft" format="dimension" />
243        <!-- The preferred padding along the right edge of list items. -->
244        <attr name="listPreferredItemPaddingRight" format="dimension" />
245
246        <!-- The preferred TextAppearance for the primary text of list items. -->
247        <attr name="textAppearanceListItem" format="reference" />
248        <!-- The preferred TextAppearance for the secondary text of list items. -->
249        <attr name="textAppearanceListItemSecondary" format="reference" />
250        <!-- The preferred TextAppearance for the primary text of small list items. -->
251        <attr name="textAppearanceListItemSmall" format="reference" />
252
253        <!-- The drawable for the list divider. -->
254        <attr name="listDivider" format="reference" />
255        <!-- The list divider used in alert dialogs. -->
256        <attr name="listDividerAlertDialog" format="reference" />
257        <!-- TextView style for list separators. -->
258        <attr name="listSeparatorTextViewStyle" format="reference" />
259        <!-- The preferred left padding for an expandable list item (for child-specific layouts,
260             use expandableListPreferredChildPaddingLeft). This takes into account
261             the indicator that will be shown to next to the item. -->
262        <attr name="expandableListPreferredItemPaddingLeft" format="dimension" />
263        <!-- The preferred left padding for an expandable list item that is a child.
264             If this is not provided, it defaults to the expandableListPreferredItemPaddingLeft. -->
265        <attr name="expandableListPreferredChildPaddingLeft" format="dimension" />
266        <!-- The preferred left bound for an expandable list item's indicator. For a child-specific
267             indicator, use expandableListPreferredChildIndicatorLeft. -->
268        <attr name="expandableListPreferredItemIndicatorLeft" format="dimension" />
269        <!-- The preferred right bound for an expandable list item's indicator. For a child-specific
270             indicator, use expandableListPreferredChildIndicatorRight. -->
271        <attr name="expandableListPreferredItemIndicatorRight" format="dimension" />
272        <!-- The preferred left bound for an expandable list child's indicator. -->
273        <attr name="expandableListPreferredChildIndicatorLeft" format="dimension" />
274        <!-- The preferred right bound for an expandable list child's indicator. -->
275        <attr name="expandableListPreferredChildIndicatorRight" format="dimension" />
276
277        <!-- The preferred item height for dropdown lists. -->
278        <attr name="dropdownListPreferredItemHeight" format="dimension" />
279
280        <!-- The preferred padding along the start edge of list items. -->
281        <attr name="listPreferredItemPaddingStart" format="dimension" />
282        <!-- The preferred padding along the end edge of list items. -->
283        <attr name="listPreferredItemPaddingEnd" format="dimension" />
284
285        <!-- ============= -->
286        <!-- Window styles -->
287        <!-- ============= -->
288        <eat-comment />
289
290        <!-- Drawable to use as the overall window background.  As of
291             {@link android.os.Build.VERSION_CODES#HONEYCOMB}, this may
292             be a selector that uses state_accelerated to pick a non-solid
293             color when running on devices that can draw such a bitmap
294             with complex compositing on top at 60fps.
295
296             <p>There are a few special considerations to use when setting this
297             drawable:
298             <ul>
299             <li> This information will be used to infer the pixel format
300                  for your window's surface.  If the drawable has any
301                  non-opaque pixels, your window will be translucent
302                  (32 bpp).
303             <li> If you want to draw the entire background
304                  yourself, you should set this drawable to some solid
305                  color that closely matches that background (so the
306                  system's preview of your window will match), and
307                  then in code manually set your window's background to
308                  null so it will not be drawn.
309             </ul> -->
310        <attr name="windowBackground" format="reference" />
311        <!-- Drawable to use as a frame around the window. -->
312        <attr name="windowFrame" format="reference" />
313        <!-- Flag indicating whether there should be no title on this window. -->
314        <attr name="windowNoTitle" format="boolean" />
315        <!-- Flag indicating whether this window should fill the entire screen.  Corresponds
316             to {@link android.view.WindowManager.LayoutParams#FLAG_FULLSCREEN}. -->
317        <attr name="windowFullscreen" format="boolean" />
318        <!-- Flag indicating whether this window should extend into overscan region.  Corresponds
319             to {@link android.view.WindowManager.LayoutParams#FLAG_LAYOUT_IN_OVERSCAN}. -->
320        <attr name="windowOverscan" format="boolean" />
321        <!-- Flag indicating whether this is a floating window. -->
322        <attr name="windowIsFloating" format="boolean" />
323        <!-- Flag indicating whether this is a translucent window. -->
324        <attr name="windowIsTranslucent" format="boolean" />
325        <!-- Flag indicating that this window's background should be the
326             user's current wallpaper.  Corresponds
327             to {@link android.view.WindowManager.LayoutParams#FLAG_SHOW_WALLPAPER}. -->
328        <attr name="windowShowWallpaper" format="boolean" />
329        <!-- This Drawable is overlaid over the foreground of the Window's content area, usually
330             to place a shadow below the title.  -->
331        <attr name="windowContentOverlay" format="reference" />
332        <!-- The style resource to use for a window's title bar height. -->
333        <attr name="windowTitleSize" format="dimension" />
334        <!-- The style resource to use for a window's title text. -->
335        <attr name="windowTitleStyle" format="reference" />
336        <!-- The style resource to use for a window's title area. -->
337        <attr name="windowTitleBackgroundStyle" format="reference" />
338
339        <!-- Reference to a style resource holding
340             the set of window animations to use, which can be
341             any of the attributes defined by
342             {@link android.R.styleable#WindowAnimation}. -->
343        <attr name="windowAnimationStyle" format="reference" />
344
345        <!-- Flag indicating whether this window should have an Action Bar
346             in place of the usual title bar. -->
347        <attr name="windowActionBar" format="boolean" />
348
349        <!-- Flag indicating whether this window's Action Bar should overlay
350             application content. Does nothing if the window would not
351             have an Action Bar. -->
352        <attr name="windowActionBarOverlay" format="boolean" />
353
354        <!-- Flag indicating whether action modes should overlay window content
355             when there is not reserved space for their UI (such as an Action Bar). -->
356        <attr name="windowActionModeOverlay" format="boolean" />
357
358        <!-- Defines the default soft input state that this window would
359             like when it is displayed.  Corresponds
360             to {@link android.view.WindowManager.LayoutParams#softInputMode}. -->
361        <attr name="windowSoftInputMode">
362            <!-- Not specified, use what the system thinks is best.  This
363                 is the default. -->
364            <flag name="stateUnspecified" value="0" />
365            <!-- Leave the soft input window as-is, in whatever state it
366                 last was. -->
367            <flag name="stateUnchanged" value="1" />
368            <!-- Make the soft input area hidden when normally appropriate
369                 (when the user is navigating forward to your window). -->
370            <flag name="stateHidden" value="2" />
371            <!-- Always make the soft input area hidden when this window
372                 has input focus. -->
373            <flag name="stateAlwaysHidden" value="3" />
374            <!-- Make the soft input area visible when normally appropriate
375                 (when the user is navigating forward to your window). -->
376            <flag name="stateVisible" value="4" />
377            <!-- Always make the soft input area visible when this window
378                 has input focus. -->
379            <flag name="stateAlwaysVisible" value="5" />
380
381            <!-- The window resize/pan adjustment has not been specified,
382                 the system will automatically select between resize and pan
383                 modes, depending
384                 on whether the content of the window has any layout views
385                 that can scroll their contents.  If there is such a view,
386                 then the window will be resized, with the assumption being
387                 that the resizeable area can be reduced to make room for
388                 the input UI. -->
389            <flag name="adjustUnspecified" value="0x00" />
390            <!-- Always resize the window: the content area of the window is
391                 reduced to make room for the soft input area. -->
392            <flag name="adjustResize" value="0x10" />
393            <!-- Don't resize the window to make room for the soft input area;
394                 instead pan the contents of the window as focus moves inside
395                 of it so that the user can see what they are typing.  This is
396                 generally less desireable than panning because the user may
397                 need to close the input area to get at and interact with
398                 parts of the window. -->
399            <flag name="adjustPan" value="0x20" />
400            <!-- Don't resize <em>or</em> pan the window to make room for the
401                 soft input area; the window is never adjusted for it. -->
402            <flag name="adjustNothing" value="0x30" />
403        </attr>
404
405        <!-- Flag allowing you to disable the preview animation for a window.
406             The default value is false; if set to true, the system can never
407             use the window's theme to show a preview of it before your
408             actual instance is shown to the user. -->
409        <attr name="windowDisablePreview" format="boolean" />
410
411        <!-- Flag indicating that this window should not be displayed at all.
412             The default value is false; if set to true, and this window is
413             the main window of an Activity, then it will never actually
414             be added to the window manager.  This means that your activity
415             must immediately quit without waiting for user interaction,
416             because there will be no such interaction coming. -->
417        <attr name="windowNoDisplay" format="boolean" />
418
419        <!-- Flag indicating that this window should allow touches to be split
420             across other windows that also support split touch.
421             The default value is true for applications with a targetSdkVersion
422             of Honeycomb or newer; false otherwise.
423             When this flag is false, the first pointer that goes down determines
424             the window to which all subsequent touches go until all pointers go up.
425             When this flag is true, each pointer (not necessarily the first) that
426             goes down determines the window to which all subsequent touches of that
427             pointer will go until that pointers go up thereby enabling touches
428             with multiple pointers to be split across multiple windows. -->
429        <attr name="windowEnableSplitTouch" format="boolean" />
430
431        <!-- Control whether a container should automatically close itself if
432             the user touches outside of it.  This only applies to activities
433             and dialogs.
434
435             <p>Note: this attribute will only be respected for applications
436             that are targeting {@link android.os.Build.VERSION_CODES#HONEYCOMB}
437             or later. -->
438        <attr name="windowCloseOnTouchOutside" format="boolean" />
439
440        <!-- Flag indicating whether this window requests a translucent status bar.  Corresponds
441             to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_STATUS}. -->
442        <attr name="windowTranslucentStatus" format="boolean" />
443
444        <!-- Flag indicating whether this window requests a translucent navigation bar.  Corresponds
445             to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_NAVIGATION}. -->
446        <attr name="windowTranslucentNavigation" format="boolean" />
447
448        <!-- Flag to indicate that a window can be swiped away to be dismissed.
449             Corresponds to {@link android.view.Window#FEATURE_SWIPE_TO_DISMISS} -->
450        <attr name="windowSwipeToDismiss" format="boolean" />
451
452        <!-- Flag indicating whether this window requests that content changes be performed
453             as scene changes with transitions. Corresponds to
454             {@link android.view.Window#FEATURE_CONTENT_TRANSITIONS}. -->
455        <attr name="windowContentTransitions" format="boolean" />
456
457        <!-- Reference to a TransitionManager XML resource defining the desired
458             transitions between different window content. -->
459        <attr name="windowContentTransitionManager" format="reference" />
460
461        <!-- Reference to a Transition XML resource defining the desired Transition
462             used to move Views into the initial Window's content Scene. Corresponds to
463             {@link android.view.Window#setEnterTransition(android.transition.Transition)}. -->
464        <attr name="windowEnterTransition" format="reference"/>
465
466        <!-- Reference to a Transition XML resource defining the desired Transition
467             used to move Views out of the Window's content Scene when launching a new Activity.
468             Corresponds to
469             {@link android.view.Window#setExitTransition(android.transition.Transition)}. -->
470        <attr name="windowExitTransition" format="reference"/>
471
472        <!-- Reference to a Transition XML resource defining the desired Transition
473             used to move shared elements transferred into the Window's initial content Scene.
474             Corresponds to {@link android.view.Window#setSharedElementEnterTransition(
475             android.transition.Transition)}. -->
476        <attr name="windowSharedElementEnterTransition" format="reference"/>
477
478        <!-- Reference to a Transition XML resource defining the desired Transition
479             used when starting a new Activity to move shared elements prior to transferring
480             to the called Activity.
481             Corresponds to {@link android.view.Window#setSharedElementExitTransition(
482             android.transition.Transition)}. -->
483        <attr name="windowSharedElementExitTransition" format="reference"/>
484
485        <!-- Flag indicating whether this Window's transition should overlap with
486             the exiting transition of the calling Activity. Corresponds to
487             {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. -->
488        <attr name="windowAllowEnterTransitionOverlap" format="boolean"/>
489
490        <!-- Flag indicating whether this Window's transition should overlap with
491             the exiting transition of the called Activity when the called Activity
492             finishes. Corresponds to
493             {@link android.view.Window#setAllowExitTransitionOverlap(boolean)}. -->
494        <attr name="windowAllowExitTransitionOverlap" format="boolean"/>
495
496        <!-- Internal layout used internally for window decor -->
497        <attr name="windowActionBarFullscreenDecorLayout" format="reference" />
498
499        <!-- The duration, in milliseconds, of the window background fade duration
500             when transitioning into or away from an Activity when called with an
501             Activity Transition. Corresponds to
502             {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. -->
503        <attr name="windowTransitionBackgroundFadeDuration" format="integer"/>
504
505        <!-- ============ -->
506        <!-- Alert Dialog styles -->
507        <!-- ============ -->
508        <eat-comment />
509        <attr name="alertDialogStyle" format="reference" />
510        <attr name="alertDialogButtonGroupStyle" format="reference" />
511        <attr name="alertDialogCenterButtons" format="boolean" />
512
513        <!-- ============== -->
514        <!-- Image elements -->
515        <!-- ============== -->
516        <eat-comment />
517
518        <!-- Background that can be used behind parts of a UI that provide
519             details on data the user is selecting.  For example, this is
520             the background element of PreferenceActivity's embedded
521             preference fragment. -->
522        <attr name="detailsElementBackground" format="reference" />
523
524        <!-- ============ -->
525        <!-- Panel styles -->
526        <!-- ============ -->
527        <eat-comment />
528
529        <!-- The background of a panel when it is inset from the left and right edges of the screen. -->
530        <attr name="panelBackground" format="reference|color" />
531        <!-- The background of a panel when it extends to the left and right edges of the screen. -->
532        <attr name="panelFullBackground" format="reference|color" />
533        <!-- Default color of foreground panel imagery. -->
534        <attr name="panelColorForeground" format="reference|color" />
535        <!-- Color that matches (as closely as possible) the panel background. -->
536        <attr name="panelColorBackground" format="reference|color" />
537        <!-- Default appearance of panel text. -->
538        <attr name="panelTextAppearance" format="reference" />
539
540        <attr name="panelMenuIsCompact" format="boolean" />
541        <attr name="panelMenuListWidth" format="dimension" />
542        <attr name="panelMenuListTheme" format="reference" />
543
544        <!-- =================== -->
545        <!-- Other widget styles -->
546        <!-- =================== -->
547        <eat-comment />
548
549        <!-- Default AbsListView style. -->
550        <attr name="absListViewStyle" format="reference" />
551        <!-- Default AutoCompleteTextView style. -->
552        <attr name="autoCompleteTextViewStyle" format="reference" />
553        <!-- Default Checkbox style. -->
554        <attr name="checkboxStyle" format="reference" />
555        <!-- Default CheckedTextView style. -->
556        <attr name="checkedTextViewStyle" format="reference" />
557        <!-- Default ListView style for drop downs. -->
558        <attr name="dropDownListViewStyle" format="reference" />
559        <!-- Default EditText style. -->
560        <attr name="editTextStyle" format="reference" />
561        <!-- Default ExpandableListView style. -->
562        <attr name="expandableListViewStyle" format="reference" />
563        <!-- ExpandableListView with white background. -->
564        <attr name="expandableListViewWhiteStyle" format="reference" />
565        <!-- Default Gallery style. -->
566        <attr name="galleryStyle" format="reference" />
567        <!-- Default GestureOverlayView style. -->
568        <attr name="gestureOverlayViewStyle" format="reference" />
569        <!-- Default GridView style. -->
570        <attr name="gridViewStyle" format="reference" />
571        <!-- The style resource to use for an ImageButton. -->
572        <attr name="imageButtonStyle" format="reference" />
573        <!-- The style resource to use for an ImageButton that is an image well. -->
574        <attr name="imageWellStyle" format="reference" />
575        <!-- Default ListView style. -->
576        <attr name="listViewStyle" format="reference" />
577        <!-- ListView with white background. -->
578        <attr name="listViewWhiteStyle" format="reference" />
579        <!-- Default PopupWindow style. -->
580        <attr name="popupWindowStyle" format="reference" />
581        <!-- Default ProgressBar style. This is a medium circular progress bar. -->
582        <attr name="progressBarStyle" format="reference" />
583        <!-- Horizontal ProgressBar style. This is a horizontal progress bar. -->
584        <attr name="progressBarStyleHorizontal" format="reference" />
585        <!-- Small ProgressBar style. This is a small circular progress bar. -->
586        <attr name="progressBarStyleSmall" format="reference" />
587        <!-- Small ProgressBar in title style. This is a small circular progress bar that will be placed in title bars. -->
588        <attr name="progressBarStyleSmallTitle" format="reference" />
589        <!-- Large ProgressBar style. This is a large circular progress bar. -->
590        <attr name="progressBarStyleLarge" format="reference" />
591        <!-- Inverse ProgressBar style. This is a medium circular progress bar. -->
592        <attr name="progressBarStyleInverse" format="reference" />
593        <!-- Small inverse ProgressBar style. This is a small circular progress bar. -->
594        <attr name="progressBarStyleSmallInverse" format="reference" />
595        <!-- Large inverse ProgressBar style. This is a large circular progress bar. -->
596        <attr name="progressBarStyleLargeInverse" format="reference" />
597        <!-- Default SeekBar style. -->
598        <attr name="seekBarStyle" format="reference" />
599        <!-- Default RatingBar style. -->
600        <attr name="ratingBarStyle" format="reference" />
601        <!-- Indicator RatingBar style. -->
602        <attr name="ratingBarStyleIndicator" format="reference" />
603        <!-- Small indicator RatingBar style. -->
604        <attr name="ratingBarStyleSmall" format="reference" />
605        <!-- Default RadioButton style. -->
606        <attr name="radioButtonStyle" format="reference" />
607        <!-- Default ScrollView style. -->
608        <attr name="scrollViewStyle" format="reference" />
609        <!-- Default HorizontalScrollView style. -->
610        <attr name="horizontalScrollViewStyle" format="reference" />
611        <!-- Default Spinner style. -->
612        <attr name="spinnerStyle" format="reference" />
613        <!-- Default dropdown Spinner style. -->
614        <attr name="dropDownSpinnerStyle" format="reference" />
615        <!-- Default ActionBar dropdown style. -->
616        <attr name="actionDropDownStyle" format="reference" />
617        <!-- Default action button style. -->
618        <attr name="actionButtonStyle" format="reference" />
619        <!-- Default Star style. -->
620        <attr name="starStyle" format="reference" />
621        <!-- Default TabWidget style. -->
622        <attr name="tabWidgetStyle" format="reference" />
623        <!-- Default TextView style. -->
624        <attr name="textViewStyle" format="reference" />
625        <!-- Default WebTextView style. -->
626        <attr name="webTextViewStyle" format="reference" />
627        <!-- Default WebView style. -->
628        <attr name="webViewStyle" format="reference" />
629        <!-- Default style for drop down items. -->
630        <attr name="dropDownItemStyle" format="reference" />
631         <!-- Default style for spinner drop down items. -->
632        <attr name="spinnerDropDownItemStyle" format="reference" />
633        <!-- Default style for drop down hints. -->
634        <attr name="dropDownHintAppearance" format="reference" />
635        <!-- Default spinner item style. -->
636        <attr name="spinnerItemStyle" format="reference" />
637        <!-- Default MapView style. -->
638        <attr name="mapViewStyle" format="reference" />
639        <!-- Drawable used as an overlay on top of quickcontact photos. -->
640        <attr name="quickContactBadgeOverlay" format="reference" />
641        <!-- Default quickcontact badge style with small quickcontact window. -->
642        <attr name="quickContactBadgeStyleWindowSmall" format="reference" />
643        <!-- Default quickcontact badge style with medium quickcontact window. -->
644        <attr name="quickContactBadgeStyleWindowMedium" format="reference" />
645        <!-- Default quickcontact badge style with large quickcontact window. -->
646        <attr name="quickContactBadgeStyleWindowLarge" format="reference" />
647        <!-- Default quickcontact badge style with small quickcontact window. -->
648        <attr name="quickContactBadgeStyleSmallWindowSmall" format="reference" />
649        <!-- Default quickcontact badge style with medium quickcontact window. -->
650        <attr name="quickContactBadgeStyleSmallWindowMedium" format="reference" />
651        <!-- Default quickcontact badge style with large quickcontact window. -->
652        <attr name="quickContactBadgeStyleSmallWindowLarge" format="reference" />
653        <!-- Reference to a style that will be used for the window containing a text
654             selection anchor. -->
655        <attr name="textSelectHandleWindowStyle" format="reference" />
656        <!-- Reference to a style that will be used for the window containing a list of possible
657             text suggestions in an EditText. -->
658        <attr name="textSuggestionsWindowStyle" format="reference" />
659        <!-- Default ListPopupWindow style. -->
660        <attr name="listPopupWindowStyle" format="reference" />
661        <!-- Default PopupMenu style. -->
662        <attr name="popupMenuStyle" format="reference" />
663        <!-- Default StackView style. -->
664        <attr name="stackViewStyle" format="reference" />
665
666        <!-- Default style for the FragmentBreadCrumbs widget. This widget is deprecated
667             starting in API level 21 ({@link android.os.Build.VERSION_CODES#.L}). -->
668        <attr name="fragmentBreadCrumbsStyle" format="reference" />
669
670        <!-- NumberPicker style. -->
671        <attr name="numberPickerStyle" format="reference" />
672
673        <!-- The CalendarView style. -->
674        <attr name="calendarViewStyle" format="reference" />
675
676        <!-- The TimePicker style. -->
677        <attr name="timePickerStyle" format="reference" />
678
679        <!-- The TimePicker dialog theme. -->
680        <attr name="timePickerDialogTheme" format="reference" />
681
682        <!-- The DatePicker style. -->
683        <attr name="datePickerStyle" format="reference" />
684
685        <!-- The DatePicker dialog theme. -->
686        <attr name="datePickerDialogTheme" format="reference" />
687
688        <!-- Default ActivityChooserView style. -->
689        <attr name="activityChooserViewStyle" format="reference" />
690
691        <!-- Default Toolbar style. -->
692        <attr name="toolbarStyle" format="reference" />
693
694        <!-- Fast scroller styles -->
695        <eat-comment />
696
697        <!-- Drawable to use as the fast scroll thumb. -->
698        <attr name="fastScrollThumbDrawable" format="reference" />
699        <!-- Drawable to use as the fast scroll index preview window background
700             when shown on the right. -->
701        <attr name="fastScrollPreviewBackgroundRight" format="reference" />
702        <!-- Drawable to use as the fast scroll index preview window background
703             when shown on the left. -->
704        <attr name="fastScrollPreviewBackgroundLeft" format="reference" />
705        <!-- Drawable to use as the track for the fast scroll thumb.
706             This may be null. -->
707        <attr name="fastScrollTrackDrawable" format="reference" />
708        <!-- Position of the fast scroll index overlay window. -->
709        <attr name="fastScrollOverlayPosition">
710            <enum name="floating" value="0" />
711            <enum name="atThumb" value="1" />
712        </attr>
713        <!-- Text color for the fast scroll index overlay. Make sure it
714             plays nicely with fastScrollPreviewBackground[Left|Right]. -->
715        <attr name="fastScrollTextColor" format="color" />
716
717        <!-- =================== -->
718        <!-- Action bar styles   -->
719        <!-- =================== -->
720        <eat-comment />
721        <!-- Default style for tabs within an action bar -->
722        <attr name="actionBarTabStyle" format="reference" />
723        <attr name="actionBarTabBarStyle" format="reference" />
724        <attr name="actionBarTabTextStyle" format="reference" />
725        <attr name="actionOverflowButtonStyle" format="reference" />
726        <attr name="actionOverflowMenuStyle" format="reference" />
727        <!-- Reference to a theme that should be used to inflate popups
728             shown by widgets in the action bar. -->
729        <attr name="actionBarPopupTheme" format="reference" />
730        <!-- Reference to a style for the Action Bar -->
731        <attr name="actionBarStyle" format="reference" />
732        <!-- Reference to a style for the split Action Bar. This style
733             controls the split component that holds the menu/action
734             buttons. actionBarStyle is still used for the primary
735             bar. -->
736        <attr name="actionBarSplitStyle" format="reference" />
737        <!-- Reference to a theme that should be used to inflate the
738             action bar. This will be inherited by any widget inflated
739             into the action bar. -->
740        <attr name="actionBarTheme" format="reference" />
741        <!-- Reference to a theme that should be used to inflate widgets
742             and layouts destined for the action bar. Most of the time
743             this will be a reference to the current theme, but when
744             the action bar has a significantly different contrast
745             profile than the rest of the activity the difference
746             can become important. If this is set to @null the current
747             theme will be used.-->
748        <attr name="actionBarWidgetTheme" format="reference" />
749        <!-- Size of the Action Bar, including the contextual
750             bar used to present Action Modes. -->
751        <attr name="actionBarSize" format="dimension" >
752            <enum name="wrap_content" value="0" />
753        </attr>
754        <!-- Custom divider drawable to use for elements in the action bar. -->
755        <attr name="actionBarDivider" format="reference" />
756        <!-- Custom item state list drawable background for action bar items. -->
757        <attr name="actionBarItemBackground" format="reference" />
758        <!-- TextAppearance style that will be applied to text that
759             appears within action menu items. -->
760        <attr name="actionMenuTextAppearance" format="reference" />
761        <!-- Color for text that appears within action menu items. -->
762        <attr name="actionMenuTextColor" format="color|reference" />
763
764        <!-- =================== -->
765        <!-- Action mode styles  -->
766        <!-- =================== -->
767        <eat-comment />
768        <attr name="actionModeStyle" format="reference" />
769        <attr name="actionModeCloseButtonStyle" format="reference" />
770        <!-- Background drawable to use for action mode UI -->
771        <attr name="actionModeBackground" format="reference" />
772        <!-- Background drawable to use for action mode UI in the lower split bar -->
773        <attr name="actionModeSplitBackground" format="reference" />
774        <!-- Drawable to use for the close action mode button -->
775        <attr name="actionModeCloseDrawable" format="reference" />
776
777        <!-- Drawable to use for the Cut action button in Contextual Action Bar -->
778        <attr name="actionModeCutDrawable" format="reference" />
779        <!-- Drawable to use for the Copy action button in Contextual Action Bar -->
780        <attr name="actionModeCopyDrawable" format="reference" />
781        <!-- Drawable to use for the Paste action button in Contextual Action Bar -->
782        <attr name="actionModePasteDrawable" format="reference" />
783        <!-- Drawable to use for the Select all action button in Contextual Action Bar -->
784        <attr name="actionModeSelectAllDrawable" format="reference" />
785        <!-- Drawable to use for the Share action button in WebView selection action modes -->
786        <attr name="actionModeShareDrawable" format="reference" />
787        <!-- Drawable to use for the Find action button in WebView selection action modes -->
788        <attr name="actionModeFindDrawable" format="reference" />
789        <!-- Drawable to use for the Web Search action button in WebView selection action modes -->
790        <attr name="actionModeWebSearchDrawable" format="reference" />
791
792        <!-- PopupWindow style to use for action modes when showing as a window overlay. -->
793        <attr name="actionModePopupWindowStyle" format="reference" />
794
795        <!-- =================== -->
796        <!-- Preference styles   -->
797        <!-- =================== -->
798        <eat-comment />
799
800        <!-- Default style for PreferenceScreen. -->
801        <attr name="preferenceScreenStyle" format="reference" />
802        <!-- Default style for Headers pane in PreferenceActivity. -->
803        <attr name="preferenceFragmentStyle" format="reference" />
804        <!-- Default style for PreferenceCategory. -->
805        <attr name="preferenceCategoryStyle" format="reference" />
806        <!-- Default style for Preference. -->
807        <attr name="preferenceStyle" format="reference" />
808        <!-- Default style for informational Preference. -->
809        <attr name="preferenceInformationStyle" format="reference" />
810        <!-- Default style for CheckBoxPreference. -->
811        <attr name="checkBoxPreferenceStyle" format="reference" />
812        <!-- Default style for YesNoPreference. -->
813        <attr name="yesNoPreferenceStyle" format="reference" />
814        <!-- Default style for DialogPreference. -->
815        <attr name="dialogPreferenceStyle" format="reference" />
816        <!-- Default style for EditTextPreference. -->
817        <attr name="editTextPreferenceStyle" format="reference" />
818        <!-- Default style for RingtonePreference. -->
819        <attr name="ringtonePreferenceStyle" format="reference" />
820        <!-- The preference layout that has the child/tabbed effect. -->
821        <attr name="preferenceLayoutChild" format="reference" />
822        <!-- Preference panel style -->
823        <attr name="preferencePanelStyle" format="reference" />
824        <!-- Preference headers panel style -->
825        <attr name="preferenceHeaderPanelStyle" format="reference" />
826        <!-- Preference list style -->
827        <attr name="preferenceListStyle" format="reference" />
828        <!-- Preference fragment list style -->
829        <attr name="preferenceFragmentListStyle" format="reference" />
830        <!-- Preference fragment padding side -->
831        <attr name="preferenceFragmentPaddingSide" format="dimension" />
832        <!-- Default style for switch preferences. -->
833        <attr name="switchPreferenceStyle" format="reference" />
834        <!-- Default style for seekbar preferences. -->
835        <attr name="seekBarPreferenceStyle" format="reference" />
836
837        <!-- ============================ -->
838        <!-- Text selection handle styles -->
839        <!-- ============================ -->
840        <eat-comment />
841
842        <!-- Reference to a drawable that will be used to display a text selection
843             anchor on the left side of a selection region. -->
844        <attr name="textSelectHandleLeft" format="reference" />
845        <!-- Reference to a drawable that will be used to display a text selection
846             anchor on the right side of a selection region. -->
847        <attr name="textSelectHandleRight" format="reference" />
848        <!-- Reference to a drawable that will be used to display a text selection
849             anchor for positioning the cursor within text. -->
850        <attr name="textSelectHandle" format="reference" />
851        <!-- The layout of the view that is displayed on top of the cursor to paste inside a
852             TextEdit field. -->
853        <attr name="textEditPasteWindowLayout" format="reference" />
854        <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. -->
855        <attr name="textEditNoPasteWindowLayout" format="reference" />
856        <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the
857             insertion cursor because it would be clipped if it were positioned on top. -->
858        <attr name="textEditSidePasteWindowLayout" format="reference" />
859        <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. -->
860        <attr name="textEditSideNoPasteWindowLayout" format="reference" />
861
862        <!-- Layout of the TextView item that will populate the suggestion popup window. -->
863        <attr name="textEditSuggestionItemLayout" format="reference" />
864
865        <!-- Theme to use for dialogs spawned from this theme. -->
866        <attr name="dialogTheme" format="reference" />
867        <!-- Window decor layout to use in dialog mode with icons -->
868        <attr name="dialogTitleIconsDecorLayout" format="reference" />
869        <!-- Window decor layout to use in dialog mode with custom titles -->
870        <attr name="dialogCustomTitleDecorLayout" format="reference" />
871        <!-- Window decor layout to use in dialog mode with title only -->
872        <attr name="dialogTitleDecorLayout" format="reference" />
873
874        <!-- Theme to use for alert dialogs spawned from this theme. -->
875        <attr name="alertDialogTheme" format="reference" />
876        <!-- Icon drawable to use for alerts -->
877        <attr name="alertDialogIcon" format="reference" />
878
879        <!-- Theme to use for presentations spawned from this theme. -->
880        <attr name="presentationTheme" format="reference" />
881
882        <!-- Drawable to use for generic vertical dividers. -->
883        <attr name="dividerVertical" format="reference" />
884
885        <!-- Drawable to use for generic horizontal dividers. -->
886        <attr name="dividerHorizontal" format="reference" />
887
888        <!-- Style for button bars -->
889        <attr name="buttonBarStyle" format="reference" />
890
891        <!-- Style for buttons within button bars -->
892        <attr name="buttonBarButtonStyle" format="reference" />
893
894        <!-- Style for the "positive" buttons within button bars -->
895        <attr name="buttonBarPositiveButtonStyle" format="reference" />
896
897        <!-- Style for the "negative" buttons within button bars -->
898        <attr name="buttonBarNegativeButtonStyle" format="reference" />
899
900        <!-- Style for the "neutral" buttons within button bars -->
901        <attr name="buttonBarNeutralButtonStyle" format="reference" />
902
903        <!-- Style for the search query widget. -->
904        <attr name="searchViewStyle" format="reference" />
905
906        <!-- Style for segmented buttons - a container that houses several buttons
907             with the appearance of a singel button broken into segments. -->
908        <attr name="segmentedButtonStyle" format="reference" />
909
910        <!-- Background drawable for bordered standalone items that need focus/pressed states. -->
911        <attr name="selectableItemBackground" format="reference" />
912
913        <!-- Background drawable for borderless standalone items that need focus/pressed states. -->
914        <attr name="selectableItemBackgroundBorderless" format="reference" />
915
916        <!-- Style for buttons without an explicit border, often used in groups. -->
917        <attr name="borderlessButtonStyle" format="reference" />
918
919        <!-- Background to use for toasts -->
920        <attr name="toastFrameBackground" format="reference" />
921
922        <!-- Theme to use for Search Dialogs -->
923        <attr name="searchDialogTheme" format="reference" />
924
925        <!-- Specifies a drawable to use for the 'home as up' indicator. -->
926        <attr name="homeAsUpIndicator" format="reference" />
927
928        <!-- Preference frame layout styles. -->
929        <attr name="preferenceFrameLayoutStyle" format="reference" />
930
931        <!-- Default style for the Switch widget. -->
932        <attr name="switchStyle" format="reference" />
933
934        <!-- Default style for the MediaRouteButton widget. -->
935        <attr name="mediaRouteButtonStyle" format="reference" />
936
937        <!-- ============== -->
938        <!-- Pointer styles -->
939        <!-- ============== -->
940        <eat-comment />
941
942        <!-- Reference to the Pointer style -->
943        <attr name="pointerStyle" format="reference" />
944
945        <!-- The drawable for accessibility focused views. -->
946        <attr name="accessibilityFocusedDrawable" format="reference" />
947
948        <!-- Drawable for WebView find-on-page dialogue's "next" button. @hide -->
949        <attr name="findOnPageNextDrawable" format="reference" />
950
951        <!-- Drawable for WebView find-on-page dialogue's "previous" button. @hide -->
952        <attr name="findOnPagePreviousDrawable" format="reference" />
953
954        <!-- ============= -->
955        <!-- Color palette -->
956        <!-- ============= -->
957        <eat-comment />
958
959        <!-- The primary branding color for the app. By default, this is the color applied to the
960             action bar background. -->
961        <attr name="colorPrimary" format="color" />
962
963        <!-- Dark variant of the primary branding color. By default, this is the color applied to
964             the status bar (via statusBarColor) and navigation bar (via navigationBarColor). -->
965        <attr name="colorPrimaryDark" format="color" />
966
967        <!-- Bright complement to the primary branding color. By default, this is the color applied
968             to framework controls (via colorControlActivated). -->
969        <attr name="colorAccent" format="color" />
970
971        <!-- The color applied to framework controls in their normal state. -->
972        <attr name="colorControlNormal" format="color" />
973
974        <!-- The color applied to framework controls in their activated (ex. checked) state. -->
975        <attr name="colorControlActivated" format="color" />
976
977        <!-- The color applied to framework control highlights (ex. ripples, list selectors). -->
978        <attr name="colorControlHighlight" format="color" />
979
980        <!-- The color applied to framework buttons in their normal state. -->
981        <attr name="colorButtonNormal" format="color" />
982
983        <!-- ================== -->
984        <!-- Hardware rendering -->
985        <!-- ================== -->
986        <eat-comment />
987
988        <!-- Reference to the Lighting style. -->
989        <attr name="lightingStyle" format="reference" />
990    </declare-styleable>
991
992    <!-- **************************************************************** -->
993    <!-- Other non-theme attributes. -->
994    <!-- **************************************************************** -->
995    <eat-comment />
996
997    <!-- Size of text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp).
998         Supported values include the following:<p/>
999    <ul>
1000        <li><b>px</b> Pixels</li>
1001        <li><b>sp</b> Scaled pixels (scaled to relative pixel size on screen). See {@link android.util.DisplayMetrics} for more information.</li>
1002        <li><b>pt</b> Points</li>
1003        <li><b>dip</b> Device independent pixels. See {@link android.util.DisplayMetrics} for more information.</li>
1004    </ul>
1005        -->
1006    <attr name="textSize" format="dimension" />
1007
1008    <!-- Default font family. -->
1009    <attr name="fontFamily" format="string" />
1010
1011    <!-- Default text typeface. -->
1012    <attr name="typeface">
1013        <enum name="normal" value="0" />
1014        <enum name="sans" value="1" />
1015        <enum name="serif" value="2" />
1016        <enum name="monospace" value="3" />
1017    </attr>
1018
1019    <!-- Default text typeface style. -->
1020    <attr name="textStyle">
1021        <flag name="normal" value="0" />
1022        <flag name="bold" value="1" />
1023        <flag name="italic" value="2" />
1024    </attr>
1025
1026    <!-- Color of text (usually same as colorForeground). -->
1027    <attr name="textColor" format="reference|color" />
1028
1029    <!-- Color of highlighted text. -->
1030    <attr name="textColorHighlight" format="reference|color" />
1031
1032    <!-- Color of hint text (displayed when the field is empty). -->
1033    <attr name="textColorHint" format="reference|color" />
1034
1035    <!-- Color of link text (URLs). -->
1036    <attr name="textColorLink" format="reference|color" />
1037
1038    <!-- Reference to a drawable that will be drawn under the insertion cursor. -->
1039    <attr name="textCursorDrawable" format="reference" />
1040
1041    <!-- Indicates that the content of a non-editable TextView can be selected.
1042     Default value is false. EditText content is always selectable. -->
1043    <attr name="textIsSelectable" format="boolean" />
1044
1045    <!-- Where to ellipsize text. -->
1046    <attr name="ellipsize">
1047        <enum name="none" value="0" />
1048        <enum name="start" value="1" />
1049        <enum name="middle" value="2" />
1050        <enum name="end" value="3" />
1051        <enum name="marquee" value="4" />
1052    </attr>
1053
1054    <!-- The type of data being placed in a text field, used to help an
1055         input method decide how to let the user enter text.  The constants
1056         here correspond to those defined by
1057         {@link android.text.InputType}.  Generally you can select
1058         a single value, though some can be combined together as
1059         indicated.  Setting this attribute to anything besides
1060         <var>none</var> also implies that the text is editable. -->
1061    <attr name="inputType">
1062        <!-- There is no content type.  The text is not editable. -->
1063        <flag name="none" value="0x00000000" />
1064        <!-- Just plain old text.  Corresponds to
1065             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1066             {@link android.text.InputType#TYPE_TEXT_VARIATION_NORMAL}. -->
1067        <flag name="text" value="0x00000001" />
1068        <!-- Can be combined with <var>text</var> and its variations to
1069             request capitalization of all characters.  Corresponds to
1070             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_CHARACTERS}. -->
1071        <flag name="textCapCharacters" value="0x00001001" />
1072        <!-- Can be combined with <var>text</var> and its variations to
1073             request capitalization of the first character of every word.  Corresponds to
1074             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_WORDS}. -->
1075        <flag name="textCapWords" value="0x00002001" />
1076        <!-- Can be combined with <var>text</var> and its variations to
1077             request capitalization of the first character of every sentence.  Corresponds to
1078             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_SENTENCES}. -->
1079        <flag name="textCapSentences" value="0x00004001" />
1080        <!-- Can be combined with <var>text</var> and its variations to
1081             request auto-correction of text being input.  Corresponds to
1082             {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_CORRECT}. -->
1083        <flag name="textAutoCorrect" value="0x00008001" />
1084        <!-- Can be combined with <var>text</var> and its variations to
1085             specify that this field will be doing its own auto-completion and
1086             talking with the input method appropriately.  Corresponds to
1087             {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_COMPLETE}. -->
1088        <flag name="textAutoComplete" value="0x00010001" />
1089        <!-- Can be combined with <var>text</var> and its variations to
1090             allow multiple lines of text in the field.  If this flag is not set,
1091             the text field will be constrained to a single line.  Corresponds to
1092             {@link android.text.InputType#TYPE_TEXT_FLAG_MULTI_LINE}. -->
1093        <flag name="textMultiLine" value="0x00020001" />
1094        <!-- Can be combined with <var>text</var> and its variations to
1095             indicate that though the regular text view should not be multiple
1096             lines, the IME should provide multiple lines if it can.  Corresponds to
1097             {@link android.text.InputType#TYPE_TEXT_FLAG_IME_MULTI_LINE}. -->
1098        <flag name="textImeMultiLine" value="0x00040001" />
1099        <!-- Can be combined with <var>text</var> and its variations to
1100             indicate that the IME should not show any
1101             dictionary-based word suggestions.  Corresponds to
1102             {@link android.text.InputType#TYPE_TEXT_FLAG_NO_SUGGESTIONS}. -->
1103        <flag name="textNoSuggestions" value="0x00080001" />
1104        <!-- Text that will be used as a URI.  Corresponds to
1105             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1106             {@link android.text.InputType#TYPE_TEXT_VARIATION_URI}. -->
1107        <flag name="textUri" value="0x00000011" />
1108        <!-- Text that will be used as an e-mail address.  Corresponds to
1109             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1110             {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_ADDRESS}. -->
1111        <flag name="textEmailAddress" value="0x00000021" />
1112        <!-- Text that is being supplied as the subject of an e-mail.  Corresponds to
1113             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1114             {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_SUBJECT}. -->
1115        <flag name="textEmailSubject" value="0x00000031" />
1116        <!-- Text that is the content of a short message.  Corresponds to
1117             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1118             {@link android.text.InputType#TYPE_TEXT_VARIATION_SHORT_MESSAGE}. -->
1119        <flag name="textShortMessage" value="0x00000041" />
1120        <!-- Text that is the content of a long message.  Corresponds to
1121             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1122             {@link android.text.InputType#TYPE_TEXT_VARIATION_LONG_MESSAGE}. -->
1123        <flag name="textLongMessage" value="0x00000051" />
1124        <!-- Text that is the name of a person.  Corresponds to
1125             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1126             {@link android.text.InputType#TYPE_TEXT_VARIATION_PERSON_NAME}. -->
1127        <flag name="textPersonName" value="0x00000061" />
1128        <!-- Text that is being supplied as a postal mailing address.  Corresponds to
1129             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1130             {@link android.text.InputType#TYPE_TEXT_VARIATION_POSTAL_ADDRESS}. -->
1131        <flag name="textPostalAddress" value="0x00000071" />
1132        <!-- Text that is a password.  Corresponds to
1133             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1134             {@link android.text.InputType#TYPE_TEXT_VARIATION_PASSWORD}. -->
1135        <flag name="textPassword" value="0x00000081" />
1136        <!-- Text that is a password that should be visible.  Corresponds to
1137             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1138             {@link android.text.InputType#TYPE_TEXT_VARIATION_VISIBLE_PASSWORD}. -->
1139        <flag name="textVisiblePassword" value="0x00000091" />
1140        <!-- Text that is being supplied as text in a web form.  Corresponds to
1141             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1142             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EDIT_TEXT}. -->
1143        <flag name="textWebEditText" value="0x000000a1" />
1144        <!-- Text that is filtering some other data.  Corresponds to
1145             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1146             {@link android.text.InputType#TYPE_TEXT_VARIATION_FILTER}. -->
1147        <flag name="textFilter" value="0x000000b1" />
1148        <!-- Text that is for phonetic pronunciation, such as a phonetic name
1149             field in a contact entry.  Corresponds to
1150             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1151             {@link android.text.InputType#TYPE_TEXT_VARIATION_PHONETIC}. -->
1152        <flag name="textPhonetic" value="0x000000c1" />
1153        <!-- Text that will be used as an e-mail address on a web form.  Corresponds to
1154             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1155             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS}. -->
1156        <flag name="textWebEmailAddress" value="0x000000d1" />
1157        <!-- Text that will be used as a password on a web form.  Corresponds to
1158             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1159             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_PASSWORD}. -->
1160        <flag name="textWebPassword" value="0x000000e1" />
1161        <!-- A numeric only field.  Corresponds to
1162             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1163             {@link android.text.InputType#TYPE_NUMBER_VARIATION_NORMAL}. -->
1164        <flag name="number" value="0x00000002" />
1165        <!-- Can be combined with <var>number</var> and its other options to
1166             allow a signed number.  Corresponds to
1167             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1168             {@link android.text.InputType#TYPE_NUMBER_FLAG_SIGNED}. -->
1169        <flag name="numberSigned" value="0x00001002" />
1170        <!-- Can be combined with <var>number</var> and its other options to
1171             allow a decimal (fractional) number.  Corresponds to
1172             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1173             {@link android.text.InputType#TYPE_NUMBER_FLAG_DECIMAL}. -->
1174        <flag name="numberDecimal" value="0x00002002" />
1175        <!-- A numeric password field.  Corresponds to
1176             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1177             {@link android.text.InputType#TYPE_NUMBER_VARIATION_PASSWORD}. -->
1178        <flag name="numberPassword" value="0x00000012" />
1179        <!-- For entering a phone number.  Corresponds to
1180             {@link android.text.InputType#TYPE_CLASS_PHONE}. -->
1181        <flag name="phone" value="0x00000003" />
1182        <!-- For entering a date and time.  Corresponds to
1183             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1184             {@link android.text.InputType#TYPE_DATETIME_VARIATION_NORMAL}. -->
1185        <flag name="datetime" value="0x00000004" />
1186        <!-- For entering a date.  Corresponds to
1187             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1188             {@link android.text.InputType#TYPE_DATETIME_VARIATION_DATE}. -->
1189        <flag name="date" value="0x00000014" />
1190        <!-- For entering a time.  Corresponds to
1191             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1192             {@link android.text.InputType#TYPE_DATETIME_VARIATION_TIME}. -->
1193        <flag name="time" value="0x00000024" />
1194    </attr>
1195
1196    <!-- Additional features you can enable in an IME associated with an editor
1197         to improve the integration with your application.  The constants
1198         here correspond to those defined by
1199         {@link android.view.inputmethod.EditorInfo#imeOptions}. -->
1200    <attr name="imeOptions">
1201        <!-- There are no special semantics associated with this editor. -->
1202        <flag name="normal" value="0x00000000" />
1203        <!-- There is no specific action associated with this editor, let the
1204             editor come up with its own if it can.
1205             Corresponds to
1206             {@link android.view.inputmethod.EditorInfo#IME_NULL}. -->
1207        <flag name="actionUnspecified" value="0x00000000" />
1208        <!-- This editor has no action associated with it.
1209             Corresponds to
1210             {@link android.view.inputmethod.EditorInfo#IME_ACTION_NONE}. -->
1211        <flag name="actionNone" value="0x00000001" />
1212        <!-- The action key performs a "go"
1213             operation to take the user to the target of the text they typed.
1214             Typically used, for example, when entering a URL.
1215             Corresponds to
1216             {@link android.view.inputmethod.EditorInfo#IME_ACTION_GO}. -->
1217        <flag name="actionGo" value="0x00000002" />
1218        <!-- The action key performs a "search"
1219             operation, taking the user to the results of searching for the text
1220             the have typed (in whatever context is appropriate).
1221             Corresponds to
1222             {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEARCH}. -->
1223        <flag name="actionSearch" value="0x00000003" />
1224        <!-- The action key performs a "send"
1225             operation, delivering the text to its target.  This is typically used
1226             when composing a message.
1227             Corresponds to
1228             {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEND}. -->
1229        <flag name="actionSend" value="0x00000004" />
1230        <!-- The action key performs a "next"
1231             operation, taking the user to the next field that will accept text.
1232             Corresponds to
1233             {@link android.view.inputmethod.EditorInfo#IME_ACTION_NEXT}. -->
1234        <flag name="actionNext" value="0x00000005" />
1235        <!-- The action key performs a "done"
1236             operation, closing the soft input method.
1237             Corresponds to
1238             {@link android.view.inputmethod.EditorInfo#IME_ACTION_DONE}. -->
1239        <flag name="actionDone" value="0x00000006" />
1240        <!-- The action key performs a "previous"
1241             operation, taking the user to the previous field that will accept text.
1242             Corresponds to
1243             {@link android.view.inputmethod.EditorInfo#IME_ACTION_PREVIOUS}. -->
1244        <flag name="actionPrevious" value="0x00000007" />
1245        <!-- Used to request that the IME never go
1246             into fullscreen mode.  Applications need to be aware that the flag is not
1247             a guarantee, and not all IMEs will respect it.
1248             <p>Corresponds to
1249             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. -->
1250        <flag name="flagNoFullscreen" value="0x2000000" />
1251        <!-- Like flagNavigateNext, but
1252             specifies there is something interesting that a backward navigation
1253             can focus on.  If the user selects the IME's facility to backward
1254             navigate, this will show up in the application as an actionPrevious
1255             at {@link android.view.inputmethod.InputConnection#performEditorAction(int)
1256             InputConnection.performEditorAction(int)}.
1257             <p>Corresponds to
1258             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. -->
1259        <flag name="flagNavigatePrevious" value="0x4000000" />
1260        <!-- Used to specify that there is something
1261             interesting that a forward navigation can focus on. This is like using
1262             actionNext, except allows the IME to be multiline (with
1263             an enter key) as well as provide forward navigation.  Note that some
1264             IMEs may not be able to do this, especially when running on a small
1265             screen where there is little space.  In that case it does not need to
1266             present a UI for this option.  Like actionNext, if the
1267             user selects the IME's facility to forward navigate, this will show up
1268             in the application at
1269             {@link android.view.inputmethod.InputConnection#performEditorAction(int)
1270             InputConnection.performEditorAction(int)}.
1271             <p>Corresponds to
1272             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NAVIGATE_NEXT}. -->
1273        <flag name="flagNavigateNext" value="0x8000000" />
1274        <!-- Used to specify that the IME does not need
1275             to show its extracted text UI.  For input methods that may be fullscreen,
1276             often when in landscape mode, this allows them to be smaller and let part
1277             of the application be shown behind.  Though there will likely be limited
1278             access to the application available from the user, it can make the
1279             experience of a (mostly) fullscreen IME less jarring.  Note that when
1280             this flag is specified the IME may <em>not</em> be set up to be able
1281             to display text, so it should only be used in situations where this is
1282             not needed.
1283             <p>Corresponds to
1284             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_EXTRACT_UI}. -->
1285        <flag name="flagNoExtractUi" value="0x10000000" />
1286        <!-- Used in conjunction with a custom action, this indicates that the
1287             action should not be available as an accessory button when the
1288             input method is full-screen.
1289             Note that by setting this flag, there can be cases where the action
1290             is simply never available to the user.  Setting this generally means
1291             that you think showing text being edited is more important than the
1292             action you have supplied.
1293             <p>Corresponds to
1294             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ACCESSORY_ACTION}. -->
1295        <flag name="flagNoAccessoryAction" value="0x20000000" />
1296        <!-- Used in conjunction with a custom action,
1297             this indicates that the action should not be available in-line as
1298             a replacement for the "enter" key.  Typically this is
1299             because the action has such a significant impact or is not recoverable
1300             enough that accidentally hitting it should be avoided, such as sending
1301             a message.    Note that {@link android.widget.TextView} will
1302             automatically set this flag for you on multi-line text views.
1303             <p>Corresponds to
1304             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ENTER_ACTION}. -->
1305        <flag name="flagNoEnterAction" value="0x40000000" />
1306        <!-- Used to request that the IME should be capable of inputting ASCII
1307             characters.  The intention of this flag is to ensure that the user
1308             can type Roman alphabet characters in a {@link android.widget.TextView}
1309             used for, typically, account ID or password input.  It is expected that IMEs
1310             normally are able to input ASCII even without being told so (such IMEs
1311             already respect this flag in a sense), but there could be some cases they
1312             aren't when, for instance, only non-ASCII input languagaes like Arabic,
1313             Greek, Hebrew, Russian are enabled in the IME.  Applications need to be
1314             aware that the flag is not a guarantee, and not all IMEs will respect it.
1315             However, it is strongly recommended for IME authors to respect this flag
1316             especially when their IME could end up with a state that has only non-ASCII
1317             input languages enabled.
1318             <p>Corresponds to
1319             {@link android.view.inputmethod.EditorInfo#IME_FLAG_FORCE_ASCII}. -->
1320        <flag name="flagForceAscii" value="0x80000000" />
1321    </attr>
1322
1323    <!-- A coordinate in the X dimension. -->
1324    <attr name="x" format="dimension" />
1325    <!-- A coordinate in the Y dimension. -->
1326    <attr name="y" format="dimension" />
1327
1328    <!-- Specifies how an object should position its content, on both the X and Y axes,
1329         within its own bounds.  -->
1330    <attr name="gravity">
1331        <!-- Push object to the top of its container, not changing its size. -->
1332        <flag name="top" value="0x30" />
1333        <!-- Push object to the bottom of its container, not changing its size. -->
1334        <flag name="bottom" value="0x50" />
1335        <!-- Push object to the left of its container, not changing its size. -->
1336        <flag name="left" value="0x03" />
1337        <!-- Push object to the right of its container, not changing its size. -->
1338        <flag name="right" value="0x05" />
1339        <!-- Place object in the vertical center of its container, not changing its size. -->
1340        <flag name="center_vertical" value="0x10" />
1341        <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
1342        <flag name="fill_vertical" value="0x70" />
1343        <!-- Place object in the horizontal center of its container, not changing its size. -->
1344        <flag name="center_horizontal" value="0x01" />
1345        <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
1346        <flag name="fill_horizontal" value="0x07" />
1347        <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
1348        <flag name="center" value="0x11" />
1349        <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
1350        <flag name="fill" value="0x77" />
1351        <!-- Additional option that can be set to have the top and/or bottom edges of
1352             the child clipped to its container's bounds.
1353             The clip will be based on the vertical gravity: a top gravity will clip the bottom
1354             edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
1355        <flag name="clip_vertical" value="0x80" />
1356        <!-- Additional option that can be set to have the left and/or right edges of
1357             the child clipped to its container's bounds.
1358             The clip will be based on the horizontal gravity: a left gravity will clip the right
1359             edge, a right gravity will clip the left edge, and neither will clip both edges. -->
1360        <flag name="clip_horizontal" value="0x08" />
1361        <!-- Push object to the beginning of its container, not changing its size. -->
1362        <flag name="start" value="0x00800003" />
1363        <!-- Push object to the end of its container, not changing its size. -->
1364        <flag name="end" value="0x00800005" />
1365    </attr>
1366
1367    <!-- Controls whether links such as urls and email addresses are
1368         automatically found and converted to clickable links.  The default
1369         value is "none", disabling this feature. -->
1370    <attr name="autoLink">
1371        <!-- Match no patterns (default). -->
1372        <flag name="none" value="0x00" />
1373        <!-- Match Web URLs. -->
1374        <flag name="web" value="0x01" />
1375        <!-- Match email addresses. -->
1376        <flag name="email" value="0x02" />
1377        <!-- Match phone numbers. -->
1378        <flag name="phone" value="0x04" />
1379        <!-- Match map addresses. -->
1380        <flag name="map" value="0x08" />
1381        <!-- Match all patterns (equivalent to web|email|phone|map). -->
1382        <flag name="all" value="0x0f" />
1383    </attr>
1384
1385    <!-- Reference to an array resource that will populate a list/adapter. -->
1386    <attr name="entries" format="reference" />
1387
1388    <!-- Standard gravity constant that a child supplies to its parent.
1389         Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout. -->
1390    <attr name="layout_gravity">
1391        <!-- Push object to the top of its container, not changing its size. -->
1392        <flag name="top" value="0x30" />
1393        <!-- Push object to the bottom of its container, not changing its size. -->
1394        <flag name="bottom" value="0x50" />
1395        <!-- Push object to the left of its container, not changing its size. -->
1396        <flag name="left" value="0x03" />
1397        <!-- Push object to the right of its container, not changing its size. -->
1398        <flag name="right" value="0x05" />
1399        <!-- Place object in the vertical center of its container, not changing its size. -->
1400        <flag name="center_vertical" value="0x10" />
1401        <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
1402        <flag name="fill_vertical" value="0x70" />
1403        <!-- Place object in the horizontal center of its container, not changing its size. -->
1404        <flag name="center_horizontal" value="0x01" />
1405        <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
1406        <flag name="fill_horizontal" value="0x07" />
1407        <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
1408        <flag name="center" value="0x11" />
1409        <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
1410        <flag name="fill" value="0x77" />
1411        <!-- Additional option that can be set to have the top and/or bottom edges of
1412             the child clipped to its container's bounds.
1413             The clip will be based on the vertical gravity: a top gravity will clip the bottom
1414             edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
1415        <flag name="clip_vertical" value="0x80" />
1416        <!-- Additional option that can be set to have the left and/or right edges of
1417             the child clipped to its container's bounds.
1418             The clip will be based on the horizontal gravity: a left gravity will clip the right
1419             edge, a right gravity will clip the left edge, and neither will clip both edges. -->
1420        <flag name="clip_horizontal" value="0x08" />
1421        <!-- Push object to the beginning of its container, not changing its size. -->
1422        <flag name="start" value="0x00800003" />
1423        <!-- Push object to the end of its container, not changing its size. -->
1424        <flag name="end" value="0x00800005" />
1425    </attr>
1426
1427    <!-- Standard orientation constant. -->
1428    <attr name="orientation">
1429        <!-- Defines an horizontal widget. -->
1430        <enum name="horizontal" value="0" />
1431        <!-- Defines a vertical widget. -->
1432        <enum name="vertical" value="1" />
1433    </attr>
1434
1435    <!-- Alignment constants. -->
1436    <attr name="alignmentMode">
1437        <!-- Align the bounds of the children.
1438        See {@link android.widget.GridLayout#ALIGN_BOUNDS}. -->
1439        <enum name="alignBounds" value="0" />
1440        <!-- Align the margins of the children.
1441        See {@link android.widget.GridLayout#ALIGN_MARGINS}. -->
1442        <enum name="alignMargins" value="1" />
1443    </attr>
1444
1445    <!-- ========================== -->
1446    <!-- Key Codes                  -->
1447    <!-- ========================== -->
1448    <eat-comment />
1449
1450    <!-- This enum provides the same keycode values as can be found in
1451        {@link android.view.KeyEvent}. -->
1452    <attr name="keycode">
1453        <enum name="KEYCODE_UNKNOWN" value="0" />
1454        <enum name="KEYCODE_SOFT_LEFT" value="1" />
1455        <enum name="KEYCODE_SOFT_RIGHT" value="2" />
1456        <enum name="KEYCODE_HOME" value="3" />
1457        <enum name="KEYCODE_BACK" value="4" />
1458        <enum name="KEYCODE_CALL" value="5" />
1459        <enum name="KEYCODE_ENDCALL" value="6" />
1460        <enum name="KEYCODE_0" value="7" />
1461        <enum name="KEYCODE_1" value="8" />
1462        <enum name="KEYCODE_2" value="9" />
1463        <enum name="KEYCODE_3" value="10" />
1464        <enum name="KEYCODE_4" value="11" />
1465        <enum name="KEYCODE_5" value="12" />
1466        <enum name="KEYCODE_6" value="13" />
1467        <enum name="KEYCODE_7" value="14" />
1468        <enum name="KEYCODE_8" value="15" />
1469        <enum name="KEYCODE_9" value="16" />
1470        <enum name="KEYCODE_STAR" value="17" />
1471        <enum name="KEYCODE_POUND" value="18" />
1472        <enum name="KEYCODE_DPAD_UP" value="19" />
1473        <enum name="KEYCODE_DPAD_DOWN" value="20" />
1474        <enum name="KEYCODE_DPAD_LEFT" value="21" />
1475        <enum name="KEYCODE_DPAD_RIGHT" value="22" />
1476        <enum name="KEYCODE_DPAD_CENTER" value="23" />
1477        <enum name="KEYCODE_VOLUME_UP" value="24" />
1478        <enum name="KEYCODE_VOLUME_DOWN" value="25" />
1479        <enum name="KEYCODE_POWER" value="26" />
1480        <enum name="KEYCODE_CAMERA" value="27" />
1481        <enum name="KEYCODE_CLEAR" value="28" />
1482        <enum name="KEYCODE_A" value="29" />
1483        <enum name="KEYCODE_B" value="30" />
1484        <enum name="KEYCODE_C" value="31" />
1485        <enum name="KEYCODE_D" value="32" />
1486        <enum name="KEYCODE_E" value="33" />
1487        <enum name="KEYCODE_F" value="34" />
1488        <enum name="KEYCODE_G" value="35" />
1489        <enum name="KEYCODE_H" value="36" />
1490        <enum name="KEYCODE_I" value="37" />
1491        <enum name="KEYCODE_J" value="38" />
1492        <enum name="KEYCODE_K" value="39" />
1493        <enum name="KEYCODE_L" value="40" />
1494        <enum name="KEYCODE_M" value="41" />
1495        <enum name="KEYCODE_N" value="42" />
1496        <enum name="KEYCODE_O" value="43" />
1497        <enum name="KEYCODE_P" value="44" />
1498        <enum name="KEYCODE_Q" value="45" />
1499        <enum name="KEYCODE_R" value="46" />
1500        <enum name="KEYCODE_S" value="47" />
1501        <enum name="KEYCODE_T" value="48" />
1502        <enum name="KEYCODE_U" value="49" />
1503        <enum name="KEYCODE_V" value="50" />
1504        <enum name="KEYCODE_W" value="51" />
1505        <enum name="KEYCODE_X" value="52" />
1506        <enum name="KEYCODE_Y" value="53" />
1507        <enum name="KEYCODE_Z" value="54" />
1508        <enum name="KEYCODE_COMMA" value="55" />
1509        <enum name="KEYCODE_PERIOD" value="56" />
1510        <enum name="KEYCODE_ALT_LEFT" value="57" />
1511        <enum name="KEYCODE_ALT_RIGHT" value="58" />
1512        <enum name="KEYCODE_SHIFT_LEFT" value="59" />
1513        <enum name="KEYCODE_SHIFT_RIGHT" value="60" />
1514        <enum name="KEYCODE_TAB" value="61" />
1515        <enum name="KEYCODE_SPACE" value="62" />
1516        <enum name="KEYCODE_SYM" value="63" />
1517        <enum name="KEYCODE_EXPLORER" value="64" />
1518        <enum name="KEYCODE_ENVELOPE" value="65" />
1519        <enum name="KEYCODE_ENTER" value="66" />
1520        <enum name="KEYCODE_DEL" value="67" />
1521        <enum name="KEYCODE_GRAVE" value="68" />
1522        <enum name="KEYCODE_MINUS" value="69" />
1523        <enum name="KEYCODE_EQUALS" value="70" />
1524        <enum name="KEYCODE_LEFT_BRACKET" value="71" />
1525        <enum name="KEYCODE_RIGHT_BRACKET" value="72" />
1526        <enum name="KEYCODE_BACKSLASH" value="73" />
1527        <enum name="KEYCODE_SEMICOLON" value="74" />
1528        <enum name="KEYCODE_APOSTROPHE" value="75" />
1529        <enum name="KEYCODE_SLASH" value="76" />
1530        <enum name="KEYCODE_AT" value="77" />
1531        <enum name="KEYCODE_NUM" value="78" />
1532        <enum name="KEYCODE_HEADSETHOOK" value="79" />
1533        <enum name="KEYCODE_FOCUS" value="80" />
1534        <enum name="KEYCODE_PLUS" value="81" />
1535        <enum name="KEYCODE_MENU" value="82" />
1536        <enum name="KEYCODE_NOTIFICATION" value="83" />
1537        <enum name="KEYCODE_SEARCH" value="84" />
1538        <enum name="KEYCODE_MEDIA_PLAY_PAUSE" value="85" />
1539        <enum name="KEYCODE_MEDIA_STOP" value="86" />
1540        <enum name="KEYCODE_MEDIA_NEXT" value="87" />
1541        <enum name="KEYCODE_MEDIA_PREVIOUS" value="88" />
1542        <enum name="KEYCODE_MEDIA_REWIND" value="89" />
1543        <enum name="KEYCODE_MEDIA_FAST_FORWARD" value="90" />
1544        <enum name="KEYCODE_MUTE" value="91" />
1545        <enum name="KEYCODE_PAGE_UP" value="92" />
1546        <enum name="KEYCODE_PAGE_DOWN" value="93" />
1547        <enum name="KEYCODE_PICTSYMBOLS" value="94" />
1548        <enum name="KEYCODE_SWITCH_CHARSET" value="95" />
1549        <enum name="KEYCODE_BUTTON_A" value="96" />
1550        <enum name="KEYCODE_BUTTON_B" value="97" />
1551        <enum name="KEYCODE_BUTTON_C" value="98" />
1552        <enum name="KEYCODE_BUTTON_X" value="99" />
1553        <enum name="KEYCODE_BUTTON_Y" value="100" />
1554        <enum name="KEYCODE_BUTTON_Z" value="101" />
1555        <enum name="KEYCODE_BUTTON_L1" value="102" />
1556        <enum name="KEYCODE_BUTTON_R1" value="103" />
1557        <enum name="KEYCODE_BUTTON_L2" value="104" />
1558        <enum name="KEYCODE_BUTTON_R2" value="105" />
1559        <enum name="KEYCODE_BUTTON_THUMBL" value="106" />
1560        <enum name="KEYCODE_BUTTON_THUMBR" value="107" />
1561        <enum name="KEYCODE_BUTTON_START" value="108" />
1562        <enum name="KEYCODE_BUTTON_SELECT" value="109" />
1563        <enum name="KEYCODE_BUTTON_MODE" value="110" />
1564        <enum name="KEYCODE_ESCAPE" value="111" />
1565        <enum name="KEYCODE_FORWARD_DEL" value="112" />
1566        <enum name="KEYCODE_CTRL_LEFT" value="113" />
1567        <enum name="KEYCODE_CTRL_RIGHT" value="114" />
1568        <enum name="KEYCODE_CAPS_LOCK" value="115" />
1569        <enum name="KEYCODE_SCROLL_LOCK" value="116" />
1570        <enum name="KEYCODE_META_LEFT" value="117" />
1571        <enum name="KEYCODE_META_RIGHT" value="118" />
1572        <enum name="KEYCODE_FUNCTION" value="119" />
1573        <enum name="KEYCODE_SYSRQ" value="120" />
1574        <enum name="KEYCODE_BREAK" value="121" />
1575        <enum name="KEYCODE_MOVE_HOME" value="122" />
1576        <enum name="KEYCODE_MOVE_END" value="123" />
1577        <enum name="KEYCODE_INSERT" value="124" />
1578        <enum name="KEYCODE_FORWARD" value="125" />
1579        <enum name="KEYCODE_MEDIA_PLAY" value="126" />
1580        <enum name="KEYCODE_MEDIA_PAUSE" value="127" />
1581        <enum name="KEYCODE_MEDIA_CLOSE" value="128" />
1582        <enum name="KEYCODE_MEDIA_EJECT" value="129" />
1583        <enum name="KEYCODE_MEDIA_RECORD" value="130" />
1584        <enum name="KEYCODE_F1" value="131" />
1585        <enum name="KEYCODE_F2" value="132" />
1586        <enum name="KEYCODE_F3" value="133" />
1587        <enum name="KEYCODE_F4" value="134" />
1588        <enum name="KEYCODE_F5" value="135" />
1589        <enum name="KEYCODE_F6" value="136" />
1590        <enum name="KEYCODE_F7" value="137" />
1591        <enum name="KEYCODE_F8" value="138" />
1592        <enum name="KEYCODE_F9" value="139" />
1593        <enum name="KEYCODE_F10" value="140" />
1594        <enum name="KEYCODE_F11" value="141" />
1595        <enum name="KEYCODE_F12" value="142" />
1596        <enum name="KEYCODE_NUM_LOCK" value="143" />
1597        <enum name="KEYCODE_NUMPAD_0" value="144" />
1598        <enum name="KEYCODE_NUMPAD_1" value="145" />
1599        <enum name="KEYCODE_NUMPAD_2" value="146" />
1600        <enum name="KEYCODE_NUMPAD_3" value="147" />
1601        <enum name="KEYCODE_NUMPAD_4" value="148" />
1602        <enum name="KEYCODE_NUMPAD_5" value="149" />
1603        <enum name="KEYCODE_NUMPAD_6" value="150" />
1604        <enum name="KEYCODE_NUMPAD_7" value="151" />
1605        <enum name="KEYCODE_NUMPAD_8" value="152" />
1606        <enum name="KEYCODE_NUMPAD_9" value="153" />
1607        <enum name="KEYCODE_NUMPAD_DIVIDE" value="154" />
1608        <enum name="KEYCODE_NUMPAD_MULTIPLY" value="155" />
1609        <enum name="KEYCODE_NUMPAD_SUBTRACT" value="156" />
1610        <enum name="KEYCODE_NUMPAD_ADD" value="157" />
1611        <enum name="KEYCODE_NUMPAD_DOT" value="158" />
1612        <enum name="KEYCODE_NUMPAD_COMMA" value="159" />
1613        <enum name="KEYCODE_NUMPAD_ENTER" value="160" />
1614        <enum name="KEYCODE_NUMPAD_EQUALS" value="161" />
1615        <enum name="KEYCODE_NUMPAD_LEFT_PAREN" value="162" />
1616        <enum name="KEYCODE_NUMPAD_RIGHT_PAREN" value="163" />
1617        <enum name="KEYCODE_VOLUME_MUTE" value="164" />
1618        <enum name="KEYCODE_INFO" value="165" />
1619        <enum name="KEYCODE_CHANNEL_UP" value="166" />
1620        <enum name="KEYCODE_CHANNEL_DOWN" value="167" />
1621        <enum name="KEYCODE_ZOOM_IN" value="168" />
1622        <enum name="KEYCODE_ZOOM_OUT" value="169" />
1623        <enum name="KEYCODE_TV" value="170" />
1624        <enum name="KEYCODE_WINDOW" value="171" />
1625        <enum name="KEYCODE_GUIDE" value="172" />
1626        <enum name="KEYCODE_DVR" value="173" />
1627        <enum name="KEYCODE_BOOKMARK" value="174" />
1628        <enum name="KEYCODE_CAPTIONS" value="175" />
1629        <enum name="KEYCODE_SETTINGS" value="176" />
1630        <enum name="KEYCODE_TV_POWER" value="177" />
1631        <enum name="KEYCODE_TV_INPUT" value="178" />
1632        <enum name="KEYCODE_STB_POWER" value="179" />
1633        <enum name="KEYCODE_STB_INPUT" value="180" />
1634        <enum name="KEYCODE_AVR_POWER" value="181" />
1635        <enum name="KEYCODE_AVR_INPUT" value="182" />
1636        <enum name="KEYCODE_PROG_GRED" value="183" />
1637        <enum name="KEYCODE_PROG_GREEN" value="184" />
1638        <enum name="KEYCODE_PROG_YELLOW" value="185" />
1639        <enum name="KEYCODE_PROG_BLUE" value="186" />
1640        <enum name="KEYCODE_APP_SWITCH" value="187" />
1641        <enum name="KEYCODE_BUTTON_1" value="188" />
1642        <enum name="KEYCODE_BUTTON_2" value="189" />
1643        <enum name="KEYCODE_BUTTON_3" value="190" />
1644        <enum name="KEYCODE_BUTTON_4" value="191" />
1645        <enum name="KEYCODE_BUTTON_5" value="192" />
1646        <enum name="KEYCODE_BUTTON_6" value="193" />
1647        <enum name="KEYCODE_BUTTON_7" value="194" />
1648        <enum name="KEYCODE_BUTTON_8" value="195" />
1649        <enum name="KEYCODE_BUTTON_9" value="196" />
1650        <enum name="KEYCODE_BUTTON_10" value="197" />
1651        <enum name="KEYCODE_BUTTON_11" value="198" />
1652        <enum name="KEYCODE_BUTTON_12" value="199" />
1653        <enum name="KEYCODE_BUTTON_13" value="200" />
1654        <enum name="KEYCODE_BUTTON_14" value="201" />
1655        <enum name="KEYCODE_BUTTON_15" value="202" />
1656        <enum name="KEYCODE_BUTTON_16" value="203" />
1657        <enum name="KEYCODE_LANGUAGE_SWITCH" value="204" />
1658        <enum name="KEYCODE_MANNER_MODE" value="205" />
1659        <enum name="KEYCODE_3D_MODE" value="206" />
1660        <enum name="KEYCODE_CONTACTS" value="207" />
1661        <enum name="KEYCODE_CALENDAR" value="208" />
1662        <enum name="KEYCODE_MUSIC" value="209" />
1663        <enum name="KEYCODE_CALCULATOR" value="210" />
1664        <enum name="KEYCODE_ZENKAKU_HANKAKU" value="211" />
1665        <enum name="KEYCODE_EISU" value="212" />
1666        <enum name="KEYCODE_MUHENKAN" value="213" />
1667        <enum name="KEYCODE_HENKAN" value="214" />
1668        <enum name="KEYCODE_KATAKANA_HIRAGANA" value="215" />
1669        <enum name="KEYCODE_YEN" value="216" />
1670        <enum name="KEYCODE_RO" value="217" />
1671        <enum name="KEYCODE_KANA" value="218" />
1672        <enum name="KEYCODE_ASSIST" value="219" />
1673        <enum name="KEYCODE_BRIGHTNESS_DOWN" value="220" />
1674        <enum name="KEYCODE_BRIGHTNESS_UP" value="221" />
1675        <enum name="KEYCODE_MEDIA_AUDIO_TRACK" value="222" />
1676        <enum name="KEYCODE_MEDIA_SLEEP" value="223" />
1677        <enum name="KEYCODE_MEDIA_WAKEUP" value="224" />
1678        <enum name="KEYCODE_PAIRING" value="225" />
1679        <enum name="KEYCODE_MEDIA_TOP_MENU" value="226" />
1680        <enum name="KEYCODE_11" value="227" />
1681        <enum name="KEYCODE_12" value="228" />
1682        <enum name="KEYCODE_LAST_CHANNEL" value="229" />
1683        <enum name="KEYCODE_TV_DATA_SERVICE" value="230" />
1684    </attr>
1685
1686    <!-- ***************************************************************** -->
1687    <!-- These define collections of attributes that can are with classes. -->
1688    <!-- ***************************************************************** -->
1689
1690    <!-- ========================== -->
1691    <!-- Special attribute classes. -->
1692    <!-- ========================== -->
1693    <eat-comment />
1694
1695    <!-- The set of attributes that describe a Windows's theme. -->
1696    <declare-styleable name="Window">
1697        <attr name="windowBackground" />
1698        <attr name="windowContentOverlay" />
1699        <attr name="windowFrame" />
1700        <attr name="windowNoTitle" />
1701        <attr name="windowFullscreen" />
1702        <attr name="windowOverscan" />
1703        <attr name="windowIsFloating" />
1704        <attr name="windowIsTranslucent" />
1705        <attr name="windowShowWallpaper" />
1706        <attr name="windowAnimationStyle" />
1707        <attr name="windowSoftInputMode" />
1708        <attr name="windowDisablePreview" />
1709        <attr name="windowNoDisplay" />
1710        <attr name="textColor" />
1711        <attr name="backgroundDimEnabled" />
1712        <attr name="backgroundDimAmount" />
1713        <attr name="windowActionBar" />
1714        <attr name="windowActionModeOverlay" />
1715        <attr name="windowActionBarOverlay" />
1716        <attr name="windowEnableSplitTouch" />
1717        <attr name="windowCloseOnTouchOutside" />
1718        <attr name="windowTranslucentStatus" />
1719        <attr name="windowTranslucentNavigation" />
1720        <attr name="windowSwipeToDismiss" />
1721        <attr name="windowContentTransitions" />
1722        <attr name="windowContentTransitionManager" />
1723        <attr name="windowActionBarFullscreenDecorLayout" />
1724
1725        <!-- The minimum width the window is allowed to be, along the major
1726             axis of the screen.  That is, when in landscape.  Can be either
1727             an absolute dimension or a fraction of the screen size in that
1728             dimension. -->
1729        <attr name="windowMinWidthMajor" format="dimension|fraction" />
1730        <!-- The minimum width the window is allowed to be, along the minor
1731             axis of the screen.  That is, when in portrait.  Can be either
1732             an absolute dimension or a fraction of the screen size in that
1733             dimension. -->
1734        <attr name="windowMinWidthMinor" format="dimension|fraction" />
1735
1736        <!-- A fixed width for the window along the major axis of the screen,
1737             that is, when in landscape. Can be either an absolute dimension
1738             or a fraction of the screen size in that dimension. -->
1739        <attr name="windowFixedWidthMajor" format="dimension|fraction" />
1740        <!-- A fixed height for the window along the minor axis of the screen,
1741             that is, when in landscape. Can be either an absolute dimension
1742             or a fraction of the screen size in that dimension. -->
1743        <attr name="windowFixedHeightMinor" format="dimension|fraction" />
1744
1745        <!-- A fixed width for the window along the minor axis of the screen,
1746             that is, when in portrait. Can be either an absolute dimension
1747             or a fraction of the screen size in that dimension. -->
1748        <attr name="windowFixedWidthMinor" format="dimension|fraction" />
1749        <!-- A fixed height for the window along the major axis of the screen,
1750             that is, when in portrait. Can be either an absolute dimension
1751             or a fraction of the screen size in that dimension. -->
1752        <attr name="windowFixedHeightMajor" format="dimension|fraction" />
1753        <attr name="windowOutsetBottom" format="dimension" />
1754        <!-- Reference to a TransitionManager XML resource defining the desired Transition
1755             used to move Views into the initial Window's content Scene. Corresponds to
1756             {@link android.view.Window#setEnterTransition(android.transition.Transition)}. -->
1757        <attr name="windowEnterTransition"/>
1758
1759        <!-- Reference to a TransitionManager XML resource defining the desired Transition
1760             used to move Views out of the Window's content Scene when launching a new Activity.
1761             Corresponds to
1762             {@link android.view.Window#setExitTransition(android.transition.Transition)}. -->
1763        <attr name="windowExitTransition"/>
1764
1765        <!-- Reference to a TransitionManager XML resource defining the desired Transition
1766             used to move shared elements transferred into the Window's initial content Scene.
1767             Corresponds to {@link android.view.Window#setSharedElementEnterTransition(
1768             android.transition.Transition)}. -->
1769        <attr name="windowSharedElementEnterTransition"/>
1770
1771        <!-- Reference to a TransitionManager XML resource defining the desired Transition
1772             used when starting a new Activity to move shared elements prior to transferring
1773             to the called Activity.
1774             Corresponds to {@link android.view.Window#setSharedElementExitTransition(
1775             android.transition.Transition)}. -->
1776        <attr name="windowSharedElementExitTransition"/>
1777
1778
1779        <!-- Flag indicating whether this Window's transition should overlap with
1780             the exiting transition of the calling Activity. Corresponds to
1781             {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. -->
1782        <attr name="windowAllowEnterTransitionOverlap"/>
1783
1784        <!-- Flag indicating whether this Window's transition should overlap with
1785             the exiting transition of the called Activity when the called Activity
1786             finishes. Corresponds to
1787             {@link android.view.Window#setAllowExitTransitionOverlap(boolean)}. -->
1788        <attr name="windowAllowExitTransitionOverlap"/>
1789
1790        <!-- Flag indicating whether this Window is responsible for drawing the background for the
1791             system bars. If true and the window is not floating, the system bars are drawn with a
1792             transparent background and the corresponding areas in this window are filled with the
1793             colors specified in {@link android.R.attr#statusBarColor} and
1794             {@link android.R.attr#navigationBarColor}. Corresponds to
1795             {@link android.view.WindowManager.LayoutParams#FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS}. -->
1796        <attr name="windowDrawsSystemBarBackgrounds" format="boolean" />
1797
1798        <!-- The color for the status bar. If the color is not opaque, consider setting
1799             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and
1800             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN}.
1801             For this to take effect, the window must be drawing the system bar backgrounds with
1802             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not
1803             have been requested to be translucent with
1804             {@link android.R.attr#windowTranslucentStatus}.
1805             Corresponds to {@link android.view.Window#setStatusBarColor(int)}. -->
1806        <attr name="statusBarColor" format="color" />
1807
1808        <!-- The color for the navigation bar. If the color is not opaque, consider setting
1809             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and
1810             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION}.
1811             For this to take effect, the window must be drawing the system bar backgrounds with
1812             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not
1813             have been requested to be translucent with
1814             {@link android.R.attr#windowTranslucentNavigation}.
1815             Corresponds to {@link android.view.Window#setNavigationBarColor(int)}. -->
1816        <attr name="navigationBarColor" format="color" />
1817
1818        <!-- The duration, in milliseconds, of the window background fade duration
1819             when transitioning into or away from an Activity when called with an
1820             Activity Transition. Corresponds to
1821             {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. -->
1822        <attr name="windowTransitionBackgroundFadeDuration" />
1823
1824        <!-- Elevation to use for the window. -->
1825        <attr name="windowElevation" format="dimension" />
1826
1827        <!-- Whether to clip window content to the outline of the window background. -->
1828        <attr name="windowClipToOutline" format="boolean" />
1829    </declare-styleable>
1830
1831    <!-- The set of attributes that describe a AlertDialog's theme. -->
1832    <declare-styleable name="AlertDialog">
1833        <attr name="fullDark" format="reference|color" />
1834        <attr name="topDark" format="reference|color" />
1835        <attr name="centerDark" format="reference|color" />
1836        <attr name="bottomDark" format="reference|color" />
1837        <attr name="fullBright" format="reference|color" />
1838        <attr name="topBright" format="reference|color" />
1839        <attr name="centerBright" format="reference|color" />
1840        <attr name="bottomBright" format="reference|color" />
1841        <attr name="bottomMedium" format="reference|color" />
1842        <attr name="centerMedium" format="reference|color" />
1843        <attr name="layout" />
1844        <attr name="buttonPanelSideLayout" format="reference" />
1845        <attr name="listLayout" format="reference" />
1846        <attr name="multiChoiceItemLayout" format="reference" />
1847        <attr name="singleChoiceItemLayout" format="reference" />
1848        <attr name="listItemLayout" format="reference" />
1849        <attr name="progressLayout" format="reference" />
1850        <attr name="horizontalProgressLayout" format="reference" />
1851    </declare-styleable>
1852
1853    <!-- Fragment animation class attributes. -->
1854    <declare-styleable name="FragmentAnimation">
1855        <attr name="fragmentOpenEnterAnimation" format="reference" />
1856        <attr name="fragmentOpenExitAnimation" format="reference" />
1857        <attr name="fragmentCloseEnterAnimation" format="reference" />
1858        <attr name="fragmentCloseExitAnimation" format="reference" />
1859        <attr name="fragmentFadeEnterAnimation" format="reference" />
1860        <attr name="fragmentFadeExitAnimation" format="reference" />
1861    </declare-styleable>
1862
1863    <!-- Window animation class attributes. -->
1864    <declare-styleable name="WindowAnimation">
1865        <!-- The animation used when a window is being added. -->
1866        <attr name="windowEnterAnimation" format="reference" />
1867        <!-- The animation used when a window is being removed. -->
1868        <attr name="windowExitAnimation" format="reference" />
1869        <!-- The animation used when a window is going from INVISIBLE to VISIBLE. -->
1870        <attr name="windowShowAnimation" format="reference" />
1871        <!-- The animation used when a window is going from VISIBLE to INVISIBLE. -->
1872        <attr name="windowHideAnimation" format="reference" />
1873
1874        <!--  When opening a new activity, this is the animation that is
1875              run on the next activity (which is entering the screen). -->
1876        <attr name="activityOpenEnterAnimation" format="reference" />
1877        <!--  When opening a new activity, this is the animation that is
1878              run on the previous activity (which is exiting the screen). -->
1879        <attr name="activityOpenExitAnimation" format="reference" />
1880        <!--  When closing the current activity, this is the animation that is
1881              run on the next activity (which is entering the screen). -->
1882        <attr name="activityCloseEnterAnimation" format="reference" />
1883        <!--  When closing the current activity, this is the animation that is
1884              run on the current activity (which is exiting the screen). -->
1885        <attr name="activityCloseExitAnimation" format="reference" />
1886        <!--  When opening an activity in a new task, this is the animation that is
1887              run on the activity of the new task (which is entering the screen). -->
1888        <attr name="taskOpenEnterAnimation" format="reference" />
1889        <!--  When opening an activity in a new task, this is the animation that is
1890              run on the activity of the old task (which is exiting the screen). -->
1891        <attr name="taskOpenExitAnimation" format="reference" />
1892        <!--  When opening an activity in a new task using Intent/FLAG_ACTIVITY_LAUNCH_BEHIND,
1893              this is the animation that is run on the activity of the new task (which is
1894              entering the screen and then leaving). -->
1895        <attr name="launchTaskBehindBackgroundAnimation" format="reference" />
1896        <!--  When opening an activity in a new task using Intent.FLAG_ACTIVITY_LAUNCH_BEHIND,
1897              this is the animation that is run on the activity of the old task (which is
1898              already on the screen and then stays on). -->
1899        <attr name="launchTaskBehindSourceAnimation" format="reference" />
1900        <!--  When closing the last activity of a task, this is the animation that is
1901              run on the activity of the next task (which is entering the screen). -->
1902        <attr name="taskCloseEnterAnimation" format="reference" />
1903        <!--  When opening an activity in a new task, this is the animation that is
1904              run on the activity of the old task (which is exiting the screen). -->
1905        <attr name="taskCloseExitAnimation" format="reference" />
1906        <!--  When bringing an existing task to the foreground, this is the
1907              animation that is run on the top activity of the task being brought
1908              to the foreground (which is entering the screen). -->
1909        <attr name="taskToFrontEnterAnimation" format="reference" />
1910        <!--  When bringing an existing task to the foreground, this is the
1911              animation that is run on the current foreground activity
1912              (which is exiting the screen). -->
1913        <attr name="taskToFrontExitAnimation" format="reference" />
1914        <!--  When sending the current task to the background, this is the
1915              animation that is run on the top activity of the task behind
1916              it (which is entering the screen). -->
1917        <attr name="taskToBackEnterAnimation" format="reference" />
1918        <!--  When sending the current task to the background, this is the
1919              animation that is run on the top activity of the current task
1920              (which is exiting the screen). -->
1921        <attr name="taskToBackExitAnimation" format="reference" />
1922
1923        <!--  When opening a new activity that shows the wallpaper, while
1924              currently not showing the wallpaper, this is the animation that
1925              is run on the new wallpaper activity (which is entering the screen). -->
1926        <attr name="wallpaperOpenEnterAnimation" format="reference" />
1927        <!--  When opening a new activity that shows the wallpaper, while
1928              currently not showing the wallpaper, this is the animation that
1929              is run on the current activity (which is exiting the screen). -->
1930        <attr name="wallpaperOpenExitAnimation" format="reference" />
1931        <!--  When opening a new activity that hides the wallpaper, while
1932              currently showing the wallpaper, this is the animation that
1933              is run on the new activity (which is entering the screen). -->
1934        <attr name="wallpaperCloseEnterAnimation" format="reference" />
1935        <!--  When opening a new activity that hides the wallpaper, while
1936              currently showing the wallpaper, this is the animation that
1937              is run on the old wallpaper activity (which is exiting the screen). -->
1938        <attr name="wallpaperCloseExitAnimation" format="reference" />
1939
1940        <!--  When opening a new activity that is on top of the wallpaper
1941              when the current activity is also on top of the wallpaper,
1942              this is the animation that is run on the new activity
1943              (which is entering the screen).  The wallpaper remains
1944              static behind the animation. -->
1945        <attr name="wallpaperIntraOpenEnterAnimation" format="reference" />
1946        <!--  When opening a new activity that is on top of the wallpaper
1947              when the current activity is also on top of the wallpaper,
1948              this is the animation that is run on the current activity
1949              (which is exiting the screen).  The wallpaper remains
1950              static behind the animation. -->
1951        <attr name="wallpaperIntraOpenExitAnimation" format="reference" />
1952        <!--  When closing a foreround activity that is on top of the wallpaper
1953              when the previous activity is also on top of the wallpaper,
1954              this is the animation that is run on the previous activity
1955              (which is entering the screen).  The wallpaper remains
1956              static behind the animation. -->
1957        <attr name="wallpaperIntraCloseEnterAnimation" format="reference" />
1958        <!--  When closing a foreround activity that is on top of the wallpaper
1959              when the previous activity is also on top of the wallpaper,
1960              this is the animation that is run on the current activity
1961              (which is exiting the screen).  The wallpaper remains
1962              static behind the animation. -->
1963        <attr name="wallpaperIntraCloseExitAnimation" format="reference" />
1964    </declare-styleable>
1965
1966    <!-- ============================= -->
1967    <!-- View package class attributes -->
1968    <!-- ============================= -->
1969    <eat-comment />
1970
1971    <!-- Attributes that can be used with {@link android.view.View} or
1972         any of its subclasses.  Also see {@link #ViewGroup_Layout} for
1973         attributes that are processed by the view's parent. -->
1974    <declare-styleable name="View">
1975        <!-- Supply an identifier name for this view, to later retrieve it
1976             with {@link android.view.View#findViewById View.findViewById()} or
1977             {@link android.app.Activity#findViewById Activity.findViewById()}.
1978             This must be a
1979             resource reference; typically you set this using the
1980             <code>@+</code> syntax to create a new ID resources.
1981             For example: <code>android:id="@+id/my_id"</code> which
1982             allows you to later retrieve the view
1983             with <code>findViewById(R.id.my_id)</code>. -->
1984        <attr name="id" format="reference" />
1985
1986        <!-- Supply a tag for this view containing a String, to be retrieved
1987             later with {@link android.view.View#getTag View.getTag()} or
1988             searched for with {@link android.view.View#findViewWithTag
1989             View.findViewWithTag()}.  It is generally preferable to use
1990             IDs (through the android:id attribute) instead of tags because
1991             they are faster and allow for compile-time type checking. -->
1992        <attr name="tag" format="string" />
1993
1994        <!-- The initial horizontal scroll offset, in pixels.-->
1995        <attr name="scrollX" format="dimension" />
1996
1997        <!-- The initial vertical scroll offset, in pixels. -->
1998        <attr name="scrollY" format="dimension" />
1999
2000        <!-- A drawable to use as the background.  This can be either a reference
2001             to a full drawable resource (such as a PNG image, 9-patch,
2002             XML state list description, etc), or a solid color such as "#ff000000"
2003            (black). -->
2004        <attr name="background" format="reference|color" />
2005
2006        <!-- Sets the padding, in pixels, of all four edges.  Padding is defined as
2007             space between the edges of the view and the view's content. A views size
2008             will include it's padding.  If a {@link android.R.attr#background}
2009             is provided, the padding will initially be set to that (0 if the
2010             drawable does not have padding).  Explicitly setting a padding value
2011             will override the corresponding padding found in the background. -->
2012        <attr name="padding" format="dimension" />
2013        <!-- Sets the padding, in pixels, of the left edge; see {@link android.R.attr#padding}. -->
2014        <attr name="paddingLeft" format="dimension" />
2015        <!-- Sets the padding, in pixels, of the top edge; see {@link android.R.attr#padding}. -->
2016        <attr name="paddingTop" format="dimension" />
2017        <!-- Sets the padding, in pixels, of the right edge; see {@link android.R.attr#padding}. -->
2018        <attr name="paddingRight" format="dimension" />
2019        <!-- Sets the padding, in pixels, of the bottom edge; see {@link android.R.attr#padding}. -->
2020        <attr name="paddingBottom" format="dimension" />
2021        <!-- Sets the padding, in pixels, of the start edge; see {@link android.R.attr#padding}. -->
2022        <attr name="paddingStart" format="dimension" />
2023        <!-- Sets the padding, in pixels, of the end edge; see {@link android.R.attr#padding}. -->
2024        <attr name="paddingEnd" format="dimension" />
2025
2026        <!-- Boolean that controls whether a view can take focus.  By default the user can not
2027             move focus to a view; by setting this attribute to true the view is
2028             allowed to take focus.  This value does not impact the behavior of
2029             directly calling {@link android.view.View#requestFocus}, which will
2030             always request focus regardless of this view.  It only impacts where
2031             focus navigation will try to move focus. -->
2032        <attr name="focusable" format="boolean" />
2033
2034        <!-- Boolean that controls whether a view can take focus while in touch mode.
2035             If this is true for a view, that view can gain focus when clicked on, and can keep
2036             focus if another view is clicked on that doesn't have this attribute set to true. -->
2037        <attr name="focusableInTouchMode" format="boolean" />
2038
2039        <!-- Controls the initial visibility of the view.  -->
2040        <attr name="visibility">
2041            <!-- Visible on screen; the default value. -->
2042            <enum name="visible" value="0" />
2043            <!-- Not displayed, but taken into account during layout (space is left for it). -->
2044            <enum name="invisible" value="1" />
2045            <!-- Completely hidden, as if the view had not been added. -->
2046            <enum name="gone" value="2" />
2047        </attr>
2048
2049        <!-- Boolean internal attribute to adjust view layout based on
2050             system windows such as the status bar.
2051             If true, adjusts the padding of this view to leave space for the system windows.
2052             Will only take effect if this view is in a non-embedded activity. -->
2053        <attr name="fitsSystemWindows" format="boolean" />
2054
2055        <!-- Defines which scrollbars should be displayed on scrolling or not. -->
2056        <attr name="scrollbars">
2057            <!-- No scrollbar is displayed. -->
2058            <flag name="none" value="0x00000000" />
2059            <!-- Displays horizontal scrollbar only. -->
2060            <flag name="horizontal" value="0x00000100" />
2061            <!-- Displays vertical scrollbar only. -->
2062            <flag name="vertical" value="0x00000200" />
2063        </attr>
2064
2065        <!-- Controls the scrollbar style and position. The scrollbars can be overlaid or
2066             inset. When inset, they add to the padding of the view. And the
2067             scrollbars can be drawn inside the padding area or on the edge of
2068             the view. For example, if a view has a background drawable and you
2069             want to draw the scrollbars inside the padding specified by the
2070             drawable, you can use insideOverlay or insideInset. If you want them
2071             to appear at the edge of the view, ignoring the padding, then you can
2072             use outsideOverlay or outsideInset.-->
2073        <attr name="scrollbarStyle">
2074            <!-- Inside the padding and overlaid -->
2075            <enum name="insideOverlay" value="0x0" />
2076            <!-- Inside the padding and inset -->
2077            <enum name="insideInset" value="0x01000000" />
2078            <!-- Edge of the view and overlaid -->
2079            <enum name="outsideOverlay" value="0x02000000" />
2080            <!-- Edge of the view and inset -->
2081            <enum name="outsideInset" value="0x03000000" />
2082        </attr>
2083
2084        <!-- Set this if the view will serve as a scrolling container, meaing
2085             that it can be resized to shrink its overall window so that there
2086             will be space for an input method.  If not set, the default
2087             value will be true if "scrollbars" has the vertical scrollbar
2088             set, else it will be false. -->
2089        <attr name="isScrollContainer" format="boolean" />
2090
2091          <!-- Defines whether to fade out scrollbars when they are not in use. -->
2092         <attr name="fadeScrollbars" format="boolean" />
2093         <!-- Defines the delay in milliseconds that a scrollbar takes to fade out. -->
2094         <attr name="scrollbarFadeDuration" format="integer" />
2095         <!-- Defines the delay in milliseconds that a scrollbar waits before fade out. -->
2096        <attr name="scrollbarDefaultDelayBeforeFade" format="integer" />
2097        <!-- Sets the width of vertical scrollbars and height of horizontal scrollbars. -->
2098        <attr name="scrollbarSize" format="dimension" />
2099        <!-- Defines the horizontal scrollbar thumb drawable. -->
2100        <attr name="scrollbarThumbHorizontal" format="reference" />
2101        <!-- Defines the vertical scrollbar thumb drawable. -->
2102        <attr name="scrollbarThumbVertical" format="reference" />
2103        <!-- Defines the horizontal scrollbar track drawable. -->
2104        <attr name="scrollbarTrackHorizontal" format="reference" />
2105        <!-- Defines the vertical scrollbar track drawable. -->
2106        <attr name="scrollbarTrackVertical" format="reference" />
2107        <!-- Defines whether the horizontal scrollbar track should always be drawn. -->
2108        <attr name="scrollbarAlwaysDrawHorizontalTrack" format="boolean" />
2109        <!-- Defines whether the vertical scrollbar track should always be drawn. -->
2110        <attr name="scrollbarAlwaysDrawVerticalTrack" format="boolean" />
2111
2112        <!-- This attribute is deprecated and will be ignored as of
2113             API level 14 ({@link android.os.Build.VERSION_CODES#ICE_CREAM_SANDWICH}).
2114             Using fading edges may introduce noticeable performance
2115             degradations and should be used only when required by the application's
2116             visual design. To request fading edges with API level 14 and above,
2117             use the <code>android:requiresFadingEdge</code> attribute instead. -->
2118        <attr name="fadingEdge">
2119            <!-- No edge is faded. -->
2120            <flag name="none" value="0x00000000" />
2121            <!-- Fades horizontal edges only. -->
2122            <flag name="horizontal" value="0x00001000" />
2123            <!-- Fades vertical edges only. -->
2124            <flag name="vertical" value="0x00002000" />
2125        </attr>
2126        <!-- Defines which edges should be faded on scrolling. -->
2127        <attr name="requiresFadingEdge">
2128            <!-- No edge is faded. -->
2129            <flag name="none" value="0x00000000" />
2130            <!-- Fades horizontal edges only. -->
2131            <flag name="horizontal" value="0x00001000" />
2132            <!-- Fades vertical edges only. -->
2133            <flag name="vertical" value="0x00002000" />
2134        </attr>
2135        <!-- Defines the length of the fading edges. -->
2136        <attr name="fadingEdgeLength" format="dimension" />
2137
2138        <!-- Defines the next view to give focus to when the next focus is
2139             {@link android.view.View#FOCUS_LEFT}.
2140
2141             If the reference refers to a view that does not exist or is part
2142             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2143             will result when the reference is accessed.-->
2144        <attr name="nextFocusLeft" format="reference"/>
2145
2146        <!-- Defines the next view to give focus to when the next focus is
2147             {@link android.view.View#FOCUS_RIGHT}
2148
2149             If the reference refers to a view that does not exist or is part
2150             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2151             will result when the reference is accessed.-->
2152        <attr name="nextFocusRight" format="reference"/>
2153
2154        <!-- Defines the next view to give focus to when the next focus is
2155             {@link android.view.View#FOCUS_UP}
2156
2157             If the reference refers to a view that does not exist or is part
2158             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2159             will result when the reference is accessed.-->
2160        <attr name="nextFocusUp" format="reference"/>
2161
2162        <!-- Defines the next view to give focus to when the next focus is
2163             {@link android.view.View#FOCUS_DOWN}
2164
2165             If the reference refers to a view that does not exist or is part
2166             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2167             will result when the reference is accessed.-->
2168        <attr name="nextFocusDown" format="reference"/>
2169
2170        <!-- Defines the next view to give focus to when the next focus is
2171             {@link android.view.View#FOCUS_FORWARD}
2172
2173             If the reference refers to a view that does not exist or is part
2174             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2175             will result when the reference is accessed.-->
2176        <attr name="nextFocusForward" format="reference"/>
2177
2178        <!-- Defines whether this view reacts to click events. -->
2179        <attr name="clickable" format="boolean" />
2180
2181        <!-- Defines whether this view reacts to long click events. -->
2182        <attr name="longClickable" format="boolean" />
2183
2184        <!-- If unset, no state will be saved for this view when it is being
2185             frozen. The default is true, allowing the view to be saved
2186             (however it also must have an ID assigned to it for its
2187             state to be saved).  Setting this to false only disables the
2188             state for this view, not for its children which may still
2189             be saved. -->
2190        <attr name="saveEnabled" format="boolean" />
2191
2192        <!-- Specifies whether to filter touches when the view's window is obscured by
2193             another visible window.  When set to true, the view will not receive touches
2194             whenever a toast, dialog or other window appears above the view's window.
2195             Refer to the {@link android.view.View} security documentation for more details. -->
2196        <attr name="filterTouchesWhenObscured" format="boolean" />
2197
2198        <!-- Defines the quality of translucent drawing caches. This property is used
2199             only when the drawing cache is enabled and translucent. The default value is auto. -->
2200        <attr name="drawingCacheQuality">
2201            <!-- Lets the framework decide what quality level should be used
2202                 for the drawing cache. -->
2203            <enum name="auto" value="0" />
2204            <!-- Low quality. When set to low quality, the drawing cache uses a lower color
2205                 depth, thus losing precision in rendering gradients, but uses less memory. -->
2206            <enum name="low" value="1" />
2207            <!-- High quality. When set to high quality, the drawing cache uses a higher
2208                 color depth but uses more memory. -->
2209            <enum name="high" value="2" />
2210        </attr>
2211
2212        <!-- Controls whether the view's window should keep the screen on
2213             while visible. -->
2214        <attr name="keepScreenOn" format="boolean" />
2215
2216        <!-- When this attribute is set to true, the view gets its drawable state
2217             (focused, pressed, etc.) from its direct parent rather than from itself. -->
2218        <attr name="duplicateParentState" format="boolean" />
2219
2220        <!-- Defines the minimum height of the view. It is not guaranteed
2221             the view will be able to achieve this minimum height (for example,
2222             if its parent layout constrains it with less available height). -->
2223        <attr name="minHeight" />
2224
2225        <!-- Defines the minimum width of the view. It is not guaranteed
2226             the view will be able to achieve this minimum width (for example,
2227             if its parent layout constrains it with less available width). -->
2228        <attr name="minWidth" />
2229
2230        <!-- Boolean that controls whether a view should have sound effects
2231             enabled for events such as clicking and touching. -->
2232        <attr name="soundEffectsEnabled" format="boolean" />
2233
2234        <!-- Boolean that controls whether a view should have haptic feedback
2235             enabled for events such as long presses. -->
2236        <attr name="hapticFeedbackEnabled" format="boolean" />
2237
2238        <!-- Defines text that briefly describes content of the view. This property is used
2239             primarily for accessibility. Since some views do not have textual
2240             representation this attribute can be used for providing such. -->
2241        <attr name="contentDescription" format="string" localization="suggested" />
2242
2243        <!-- Name of the method in this View's context to invoke when the view is
2244             clicked. This name must correspond to a public method that takes
2245             exactly one parameter of type View. For instance, if you specify
2246             <code>android:onClick="sayHello"</code>, you must declare a
2247             <code>public void sayHello(View v)</code> method of your context
2248             (typically, your Activity). -->
2249        <attr name="onClick" format="string" />
2250
2251        <!-- Defines over-scrolling behavior. This property is used only if the
2252             View is scrollable. Over-scrolling is the ability for the user to
2253             receive feedback when attempting to scroll beyond meaningful content. -->
2254        <attr name="overScrollMode">
2255            <!-- Always show over-scroll effects, even if the content fits entirely
2256                 within the available space. -->
2257            <enum name="always" value="0" />
2258            <!-- Only show over-scroll effects if the content is large
2259                 enough to meaningfully scroll. -->
2260            <enum name="ifContentScrolls" value="1" />
2261            <!-- Never show over-scroll effects. -->
2262            <enum name="never" value="2" />
2263        </attr>
2264
2265        <!-- alpha property of the view, as a value between 0 (completely transparent) and 1
2266             (completely opaque). -->
2267        <attr name="alpha" format="float" />
2268
2269        <!-- base z depth of the view -->
2270        <attr name="elevation" format="dimension" />
2271
2272        <!-- translation in x of the view. This value is added post-layout to the left
2273             property of the view, which is set by its layout. -->
2274        <attr name="translationX" format="dimension" />
2275
2276        <!-- translation in y of the view. This value is added post-layout to the top
2277             property of the view, which is set by its layout. -->
2278        <attr name="translationY" format="dimension" />
2279
2280        <!-- translation in z of the view. This value is added to its elevation. -->
2281        <attr name="translationZ" format="dimension" />
2282
2283        <!-- x location of the pivot point around which the view will rotate and scale.
2284             This xml attribute sets the pivotX property of the View. -->
2285        <attr name="transformPivotX" format="dimension" />
2286
2287        <!-- y location of the pivot point around which the view will rotate and scale.
2288             This xml attribute sets the pivotY property of the View. -->
2289        <attr name="transformPivotY" format="dimension" />
2290
2291        <!-- rotation of the view, in degrees. -->
2292        <attr name="rotation" format="float" />
2293
2294        <!-- rotation of the view around the x axis, in degrees. -->
2295        <attr name="rotationX" format="float" />
2296
2297        <!-- rotation of the view around the y axis, in degrees. -->
2298        <attr name="rotationY" format="float" />
2299
2300        <!-- scale of the view in the x direction. -->
2301        <attr name="scaleX" format="float" />
2302
2303        <!-- scale of the view in the y direction. -->
2304        <attr name="scaleY" format="float" />
2305
2306        <!-- Determines which side the vertical scroll bar should be placed on. -->
2307        <attr name="verticalScrollbarPosition">
2308            <!-- Place the scroll bar wherever the system default determines. -->
2309            <enum name="defaultPosition" value="0" />
2310            <!-- Place the scroll bar on the left. -->
2311            <enum name="left" value="1" />
2312            <!-- Place the scroll bar on the right. -->
2313            <enum name="right" value="2" />
2314        </attr>
2315
2316        <!-- Specifies the type of layer backing this view. The default value is none.
2317             Refer to {@link android.view.View#setLayerType(int, android.graphics.Paint)}
2318             for more information.-->
2319        <attr name="layerType">
2320            <!-- Don't use a layer. -->
2321            <enum name="none" value="0" />
2322            <!-- Use a software layer. Refer to
2323                 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for
2324                 more information. -->
2325            <enum name="software" value="1" />
2326            <!-- Use a hardware layer. Refer to
2327                 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for
2328                 more information. -->
2329            <enum name="hardware" value="2" />
2330        </attr>
2331
2332        <!-- Defines the direction of layout drawing. This typically is associated with writing
2333             direction of the language script used. The possible values are "ltr" for Left-to-Right,
2334             "rtl" for Right-to-Left, "locale" and "inherit" from parent view. If there is nothing
2335             to inherit, "locale" is used. "locale" falls back to "en-US". "ltr" is the direction
2336             used in "en-US". The default for this attribute is "inherit". -->
2337        <attr name="layoutDirection">
2338            <!-- Left-to-Right -->
2339            <enum name="ltr" value="0" />
2340            <!-- Right-to-Left -->
2341            <enum name="rtl" value="1" />
2342            <!-- Inherit from parent -->
2343            <enum name="inherit" value="2" />
2344            <!-- Locale -->
2345            <enum name="locale" value="3" />
2346        </attr>
2347
2348        <!-- Defines the direction of the text. A heuristic is used to determine the resolved text
2349              direction of paragraphs. -->
2350         <attr name="textDirection" format="integer">
2351            <!-- Default -->
2352            <enum name="inherit" value="0" />
2353            <!-- Default for the root view. The first strong directional character determines the
2354                 paragraph direction.  If there is no strong directional character, the paragraph
2355                 direction is the view’s resolved layout direction. -->
2356            <enum name="firstStrong" value="1" />
2357            <!-- The paragraph direction is RTL if it contains any strong RTL character, otherwise
2358                 it is LTR if it contains any strong LTR characters.  If there are neither, the
2359                 paragraph direction is the view’s resolved layout direction. -->
2360            <enum name="anyRtl" value="2" />
2361            <!-- The paragraph direction is left to right. -->
2362            <enum name="ltr" value="3" />
2363            <!-- The paragraph direction is right to left. -->
2364            <enum name="rtl" value="4" />
2365            <!-- The paragraph direction is coming from the system Locale. -->
2366            <enum name="locale" value="5" />
2367        </attr>
2368
2369        <!-- Defines the alignment of the text. A heuristic is used to determine the resolved
2370            text alignment. -->
2371        <attr name="textAlignment" format="integer">
2372            <!-- Default -->
2373            <enum name="inherit" value="0" />
2374            <!-- Default for the root view. The gravity determines the alignment, ALIGN_NORMAL,
2375                ALIGN_CENTER, or ALIGN_OPPOSITE, which are relative to each paragraph’s
2376                text direction -->
2377            <enum name="gravity" value="1" />
2378            <!-- Align to the start of the paragraph, e.g. ALIGN_NORMAL. -->
2379            <enum name="textStart" value="2" />
2380            <!-- Align to the end of the paragraph, e.g. ALIGN_OPPOSITE. -->
2381            <enum name="textEnd" value="3" />
2382            <!-- Center the paragraph, e.g. ALIGN_CENTER. -->
2383            <enum name="center" value="4" />
2384            <!-- Align to the start of the view, which is ALIGN_LEFT if the view’s resolved
2385                layoutDirection is LTR, and ALIGN_RIGHT otherwise. -->
2386            <enum name="viewStart" value="5" />
2387            <!-- Align to the end of the view, which is ALIGN_RIGHT if the view’s resolved
2388                layoutDirection is LTR, and ALIGN_LEFT otherwise -->
2389            <enum name="viewEnd" value="6" />
2390        </attr>
2391
2392        <!-- Controls how this View is important for accessibility which is if it fires
2393             accessibility events and if it is reported to accessibility services that
2394             query the screen. Note: While not recommended, an accessibility service may
2395             decide to ignore this attribute and operate on all views in the view tree. -->
2396        <attr name="importantForAccessibility" format="integer">
2397            <!-- The system determines whether the view is important for accessibility - default
2398                 (recommended). -->
2399            <enum name="auto" value="0" />
2400            <!-- The view is important for accessibility. -->
2401            <enum name="yes" value="1" />
2402            <!-- The view is not important for accessibility. -->
2403            <enum name="no" value="2" />
2404            <!-- The view is not important for accessibility, nor are any of its descendant
2405                 views. -->
2406            <enum name="noHideDescendants" value="4" />
2407        </attr>
2408
2409        <!-- Indicates to accessibility services whether the user should be notified when
2410             this view changes. -->
2411        <attr name="accessibilityLiveRegion" format="integer">
2412            <!-- Accessibility services should not announce changes to this view. -->
2413            <enum name="none" value="0" />
2414            <!-- Accessibility services should announce changes to this view. -->
2415            <enum name="polite" value="1" />
2416            <!-- Accessibility services should interrupt ongoing speech to immediately
2417                 announce changes to this view. -->
2418            <enum name="assertive" value="2" />
2419        </attr>
2420
2421        <!-- Specifies the id of a view for which this view serves as a label for
2422             accessibility purposes. For example, a TextView before an EditText in
2423             the UI usually specifies what infomation is contained in the EditText.
2424             Hence, the TextView is a label for the EditText. -->
2425        <attr name="labelFor" format="reference" />
2426
2427        <!-- Specifies a theme override for a view. When a theme override is set, the
2428             view will be inflated using a {@link android.content.Context} themed with
2429             the specified resource. During XML inflation, any child views under the
2430             view with a theme override will inherit the themed context. -->
2431        <attr name="theme" />
2432
2433        <!-- Names a View such that it can be identified for Transitions. Names should be
2434             unique in the View hierarchy. -->
2435        <attr name="transitionName" format="string" />
2436
2437        <!-- Specifies that this view should permit nested scrolling within a compatible
2438             ancestor view. -->
2439        <attr name="nestedScrollingEnabled" format="boolean" />
2440
2441        <!-- Sets the state-based animator for the View. -->
2442        <attr name="stateListAnimator" format="reference"/>
2443
2444        <!-- Tint to apply to the background. -->
2445        <attr name="backgroundTint" format="color" />
2446
2447        <!-- Blending mode used to apply the background tint. -->
2448        <attr name="backgroundTintMode">
2449            <!-- The tint is drawn on top of the drawable.
2450                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
2451            <enum name="src_over" value="3" />
2452            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
2453                 color channels are thrown out. [Sa * Da, Sc * Da] -->
2454            <enum name="src_in" value="5" />
2455            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
2456                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
2457            <enum name="src_atop" value="9" />
2458            <!-- Multiplies the color and alpha channels of the drawable with those of
2459                 the tint. [Sa * Da, Sc * Dc] -->
2460            <enum name="multiply" value="14" />
2461            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
2462            <enum name="screen" value="15" />
2463            <!-- Combines the tint and drawable color and alpha channels, clamping the
2464                 result to valid color values. Saturate(S + D) -->
2465            <enum name="add" value="16" />
2466        </attr>
2467    </declare-styleable>
2468
2469    <!-- Attributes that can be assigned to a tag for a particular View. -->
2470    <declare-styleable name="ViewTag">
2471        <!-- Specifies the key identifying a tag. This must be a resource reference. -->
2472        <attr name="id" />
2473        <!-- Specifies the value with which to tag the view. -->
2474        <attr name="value" />
2475    </declare-styleable>
2476
2477    <!-- Attributes that can be used with a {@link android.view.ViewGroup} or any
2478         of its subclasses.  Also see {@link #ViewGroup_Layout} for
2479         attributes that this class processes in its children. -->
2480    <declare-styleable name="ViewGroup">
2481        <!-- Defines whether changes in layout (caused by adding and removing items) should
2482             cause a LayoutTransition to run. When this flag is set to true, a default
2483             LayoutTransition object will be set on the ViewGroup container and default
2484             animations will run when these layout changes occur.-->
2485        <attr name="animateLayoutChanges" format="boolean" />
2486        <!-- Defines whether a child is limited to draw inside of its bounds or not.
2487             This is useful with animations that scale the size of the children to more
2488             than 100% for instance. In such a case, this property should be set to false
2489             to allow the children to draw outside of their bounds. The default value of
2490             this property is true. -->
2491        <attr name="clipChildren" format="boolean" />
2492        <!-- Defines whether the ViewGroup will clip its drawing surface so as to exclude
2493             the padding area. This property is set to true by default. -->
2494        <attr name="clipToPadding" format="boolean" />
2495        <!-- Defines the layout animation to use the first time the ViewGroup is laid out.
2496             Layout animations can also be started manually after the first layout. -->
2497        <attr name="layoutAnimation" format="reference" />
2498        <!-- Defines whether layout animations should create a drawing cache for their
2499             children. Enabling the animation cache consumes more memory and requires
2500             a longer initialization but provides better performance. The animation
2501             cache is enabled by default. -->
2502        <attr name="animationCache" format="boolean" />
2503        <!-- Defines the persistence of the drawing cache. The drawing cache might be
2504             enabled by a ViewGroup for all its children in specific situations (for
2505             instance during a scrolling.) This property lets you persist the cache
2506             in memory after its initial usage. Persisting the cache consumes more
2507             memory but may prevent frequent garbage collection is the cache is created
2508             over and over again. By default the persistence is set to scrolling. -->
2509        <attr name="persistentDrawingCache">
2510            <!-- The drawing cache is not persisted after use. -->
2511            <flag name="none" value="0x0" />
2512            <!-- The drawing cache is persisted after a layout animation. -->
2513            <flag name="animation" value="0x1" />
2514            <!-- The drawing cache is persisted after a scroll. -->
2515            <flag name="scrolling" value="0x2" />
2516            <!-- The drawing cache is always persisted. -->
2517            <flag name="all" value="0x3" />
2518        </attr>
2519        <!-- Defines whether the ViewGroup should always draw its children using their
2520             drawing cache or not. The default value is true. -->
2521        <attr name="alwaysDrawnWithCache" format="boolean" />
2522        <!-- Sets whether this ViewGroup's drawable states also include
2523             its children's drawable states.  This is used, for example, to
2524             make a group appear to be focused when its child EditText or button
2525             is focused. -->
2526        <attr name="addStatesFromChildren" format="boolean" />
2527
2528        <!-- Defines the relationship between the ViewGroup and its descendants
2529             when looking for a View to take focus. -->
2530        <attr name="descendantFocusability">
2531            <!-- The ViewGroup will get focus before any of its descendants. -->
2532            <enum name="beforeDescendants" value="0" />
2533            <!-- The ViewGroup will get focus only if none of its descendants want it. -->
2534            <enum name="afterDescendants" value="1" />
2535            <!-- The ViewGroup will block its descendants from receiving focus. -->
2536            <enum name="blocksDescendants" value="2" />
2537        </attr>
2538
2539        <!-- Set to true if this ViewGroup blocks focus in the presence of a touchscreen. -->
2540        <attr name="touchscreenBlocksFocus" format="boolean" />
2541
2542        <!-- Sets whether this ViewGroup should split MotionEvents
2543             to separate child views during touch event dispatch.
2544             If false (default), touch events will be dispatched to
2545             the child view where the first pointer went down until
2546             the last pointer goes up.
2547             If true, touch events may be dispatched to multiple children.
2548             MotionEvents for each pointer will be dispatched to the child
2549             view where the initial ACTION_DOWN event happened.
2550             See {@link android.view.ViewGroup#setMotionEventSplittingEnabled(boolean)}
2551             for more information. -->
2552        <attr name="splitMotionEvents" format="boolean" />
2553
2554        <!-- Defines the layout mode of this ViewGroup. -->
2555        <attr name="layoutMode">
2556            <!-- Use the children's clip bounds when laying out this container. -->
2557            <enum name="clipBounds" value="0" />
2558            <!-- Use the children's optical bounds when laying out this container. -->
2559            <enum name="opticalBounds" value="1" />
2560        </attr>
2561
2562        <!-- Sets whether or not this ViewGroup should be treated as a single entity
2563             when doing an Activity transition. Typically, the elements inside a
2564             ViewGroup are each transitioned from the scene individually. The default
2565             for a ViewGroup is false unless it has a background. See
2566             {@link android.app.ActivityOptions#makeSceneTransitionAnimation(android.app.Activity,
2567             android.view.View, String)} for more information. Corresponds to
2568             {@link android.view.ViewGroup#setTransitionGroup(boolean)}.-->
2569        <attr name="transitionGroup" format="boolean" />
2570    </declare-styleable>
2571
2572    <!-- A {@link android.view.ViewStub} lets you lazily include other XML layouts
2573         inside your application at runtime. -->
2574    <declare-styleable name="ViewStub">
2575        <!-- Supply an identifier for the layout resource to inflate when the ViewStub
2576             becomes visible or when forced to do so. The layout resource must be a
2577             valid reference to a layout. -->
2578        <attr name="layout" format="reference" />
2579        <!-- Overrides the id of the inflated View with this value. -->
2580        <attr name="inflatedId" format="reference" />
2581    </declare-styleable>
2582
2583    <!-- ===================================== -->
2584    <!-- View package parent layout attributes -->
2585    <!-- ===================================== -->
2586    <eat-comment />
2587
2588    <!-- This is the basic set of layout attributes that are common to all
2589         layout managers.  These attributes are specified with the rest of
2590         a view's normal attributes (such as {@link android.R.attr#background},
2591         but will be parsed by the view's parent and ignored by the child.
2592        <p>The values defined here correspond to the base layout attribute
2593        class {@link android.view.ViewGroup.LayoutParams}. -->
2594    <declare-styleable name="ViewGroup_Layout">
2595        <!-- Specifies the basic width of the view.  This is a required attribute
2596             for any view inside of a containing layout manager.  Its value may
2597             be a dimension (such as "12dip") for a constant width or one of
2598             the special constants. -->
2599        <attr name="layout_width" format="dimension">
2600            <!-- The view should be as big as its parent (minus padding).
2601                 This constant is deprecated starting from API Level 8 and
2602                 is replaced by {@code match_parent}. -->
2603            <enum name="fill_parent" value="-1" />
2604            <!-- The view should be as big as its parent (minus padding).
2605                 Introduced in API Level 8. -->
2606            <enum name="match_parent" value="-1" />
2607            <!-- The view should be only big enough to enclose its content (plus padding). -->
2608            <enum name="wrap_content" value="-2" />
2609        </attr>
2610
2611        <!-- Specifies the basic height of the view.  This is a required attribute
2612             for any view inside of a containing layout manager.  Its value may
2613             be a dimension (such as "12dip") for a constant height or one of
2614             the special constants. -->
2615        <attr name="layout_height" format="dimension">
2616            <!-- The view should be as big as its parent (minus padding).
2617                 This constant is deprecated starting from API Level 8 and
2618                 is replaced by {@code match_parent}. -->
2619            <enum name="fill_parent" value="-1" />
2620            <!-- The view should be as big as its parent (minus padding).
2621                 Introduced in API Level 8. -->
2622            <enum name="match_parent" value="-1" />
2623            <!-- The view should be only big enough to enclose its content (plus padding). -->
2624            <enum name="wrap_content" value="-2" />
2625        </attr>
2626    </declare-styleable>
2627
2628    <!-- This is the basic set of layout attributes for layout managers that
2629         wish to place margins around their child views.
2630         These attributes are specified with the rest of
2631         a view's normal attributes (such as {@link android.R.attr#background},
2632         but will be parsed by the view's parent and ignored by the child.
2633        <p>The values defined here correspond to the base layout attribute
2634        class {@link android.view.ViewGroup.MarginLayoutParams}. -->
2635    <declare-styleable name="ViewGroup_MarginLayout">
2636        <attr name="layout_width" />
2637        <attr name="layout_height" />
2638        <!--  Specifies extra space on the left, top, right and bottom
2639              sides of this view. This space is outside this view's bounds. -->
2640        <attr name="layout_margin" format="dimension"  />
2641        <!--  Specifies extra space on the left side of this view.
2642              This space is outside this view's bounds. -->
2643        <attr name="layout_marginLeft" format="dimension"  />
2644        <!--  Specifies extra space on the top side of this view.
2645              This space is outside this view's bounds. -->
2646        <attr name="layout_marginTop" format="dimension" />
2647        <!--  Specifies extra space on the right side of this view.
2648              This space is outside this view's bounds. -->
2649        <attr name="layout_marginRight" format="dimension"  />
2650        <!--  Specifies extra space on the bottom side of this view.
2651              This space is outside this view's bounds. -->
2652        <attr name="layout_marginBottom" format="dimension"  />
2653        <!--  Specifies extra space on the start side of this view.
2654              This space is outside this view's bounds. -->
2655        <attr name="layout_marginStart" format="dimension"  />
2656        <!--  Specifies extra space on the end side of this view.
2657              This space is outside this view's bounds. -->
2658        <attr name="layout_marginEnd" format="dimension"  />
2659    </declare-styleable>
2660
2661    <!-- Use <code>input-method</code> as the root tag of the XML resource that
2662         describes an
2663         {@link android.view.inputmethod.InputMethod} service, which is
2664         referenced from its
2665         {@link android.view.inputmethod.InputMethod#SERVICE_META_DATA}
2666         meta-data entry.  Described here are the attributes that can be
2667         included in that tag. -->
2668    <declare-styleable name="InputMethod">
2669        <!-- Component name of an activity that allows the user to modify
2670             the settings for this service. -->
2671        <attr name="settingsActivity" format="string" />
2672        <!-- Set to true in all of the configurations for which this input
2673             method should be considered an option as the default. -->
2674        <attr name="isDefault" format="boolean" />
2675        <!-- Set to true if this input method supports ways to switch to
2676             a next input method (e.g. a globe key.). When this is true and
2677             InputMethodManager#shouldOfferSwitchingToNextInputMethod() returns true,
2678             the IME has to offer ways to invoke InputMethodManager#switchToNextInputMethod()
2679             accordingly.
2680             <p> Note that the system determines the most appropriate next input method
2681             and subtype in order to provide the consistent user experience in switching
2682             between IMEs and subtypes. -->
2683        <attr name="supportsSwitchingToNextInputMethod" format="boolean" />
2684    </declare-styleable>
2685
2686    <!-- This is the subtype of InputMethod. Subtype can describe locales (e.g. en_US, fr_FR...)
2687         and modes (e.g. voice, keyboard...), and is used for IME switch. This subtype allows
2688         the system to call the specified subtype of the IME directly. -->
2689    <declare-styleable name="InputMethod_Subtype">
2690        <!-- The name of the subtype. -->
2691        <attr name="label" />
2692        <!-- The icon of the subtype. -->
2693        <attr name="icon" />
2694        <!-- The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...)
2695             and will be passed to the IME when the framework calls the IME
2696             with the subtype. This is also used by the framework to know the supported locales
2697             of the IME.  -->
2698        <attr name="imeSubtypeLocale" format="string" />
2699        <!-- The mode of the subtype. This string can be a mode (e.g. voice, keyboard...) and this
2700             string will be passed to the IME when the framework calls the IME with the
2701             subtype.  -->
2702        <attr name="imeSubtypeMode" format="string" />
2703        <!-- Set true if the subtype is auxiliary.  An auxiliary subtype won't be shown in the
2704             input method selection list in the settings app.
2705             InputMethodManager#switchToLastInputMethod will ignore auxiliary subtypes when it
2706             chooses a target subtype. -->
2707        <attr name="isAuxiliary" format="boolean" />
2708        <!-- Set true when this subtype should be selected by default if no other subtypes are
2709             selected explicitly. Note that a subtype with this parameter being true will
2710             not be shown in the subtypes list. -->
2711        <attr name="overridesImplicitlyEnabledSubtype" format="boolean" />
2712        <!-- The extra value of the subtype. This string can be any string and will be passed to
2713             the IME when the framework calls the IME with the subtype.  -->
2714        <attr name="imeSubtypeExtraValue" format="string" />
2715        <!-- The unique id for the subtype. The input method framework keeps track of enabled
2716             subtypes by ID. When the IME package gets upgraded, enabled IDs will stay enabled even
2717             if other attributes are different. If the ID is unspecified (by calling the other
2718             constructor or 0. Arrays.hashCode(new Object[] {locale, mode, extraValue,
2719             isAuxiliary, overridesImplicitlyEnabledSubtype}) will be used instead. -->
2720        <attr name="subtypeId" format="integer"/>
2721        <!-- Set to true if this subtype is ASCII capable. If the subtype is ASCII
2722             capable, it should guarantee that the user can input ASCII characters with
2723             this subtype. This is important because many password fields only allow
2724             ASCII-characters. -->
2725        <attr name="isAsciiCapable" format="boolean" />
2726    </declare-styleable>
2727
2728    <!-- Use <code>spell-checker</code> as the root tag of the XML resource that
2729         describes an
2730         {@link android.service.textservice.SpellCheckerService} service, which is
2731         referenced from its
2732         {@link android.view.textservice.SpellCheckerSession#SERVICE_META_DATA}
2733         meta-data entry.  Described here are the attributes that can be
2734         included in that tag. -->
2735    <declare-styleable name="SpellChecker">
2736        <!-- The name of the spell checker. -->
2737        <attr name="label" />
2738        <!-- Component name of an activity that allows the user to modify
2739             the settings for this service. -->
2740        <attr name="settingsActivity"/>
2741    </declare-styleable>
2742
2743    <!-- This is the subtype of the spell checker. Subtype can describe locales (e.g. en_US, fr_FR...) -->
2744    <declare-styleable name="SpellChecker_Subtype">
2745        <!-- The name of the subtype. -->
2746        <attr name="label" />
2747        <!-- The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...)
2748             This is also used by the framework to know the supported locales
2749             of the spell checker.  -->
2750        <attr name="subtypeLocale" format="string" />
2751        <!-- The extra value of the subtype. This string can be any string and will be passed to
2752             the SpellChecker.  -->
2753        <attr name="subtypeExtraValue" format="string" />
2754    </declare-styleable>
2755
2756    <!-- Use <code>accessibility-service</code> as the root tag of the XML resource that
2757         describes an {@link android.accessibilityservice.AccessibilityService} service,
2758         which is referenced from its
2759         {@link android.accessibilityservice.AccessibilityService#SERVICE_META_DATA}
2760         meta-data entry. -->
2761    <declare-styleable name="AccessibilityService">
2762        <!-- The event types this serivce would like to receive as specified in
2763             {@link android.view.accessibility.AccessibilityEvent}. This setting
2764             can be changed at runtime by calling
2765             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
2766             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
2767        <attr name="accessibilityEventTypes">
2768            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CLICKED} events.-->
2769            <flag name="typeViewClicked" value="0x00000001" />
2770            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_LONG_CLICKED} events. -->
2771            <flag name="typeViewLongClicked" value="0x00000002" />
2772            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SELECTED} events. -->
2773            <flag name="typeViewSelected" value="0x00000004" />
2774            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_FOCUSED} events. -->
2775            <flag name="typeViewFocused" value="0x00000008" />
2776            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_CHANGED} events. -->
2777            <flag name="typeViewTextChanged" value="0x00000010" />
2778            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_STATE_CHANGED} events. -->
2779            <flag name="typeWindowStateChanged" value="0x00000020" />
2780            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_NOTIFICATION_STATE_CHANGED} events. -->
2781            <flag name="typeNotificationStateChanged" value="0x00000040" />
2782            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_ENTER} events. -->
2783            <flag name="typeViewHoverEnter" value="0x00000080" />
2784            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_EXIT} events. -->
2785            <flag name="typeViewHoverExit" value="0x00000100" />
2786            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_START} events. -->
2787            <flag name="typeTouchExplorationGestureStart" value="0x00000200" />
2788            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_END} events. -->
2789            <flag name="typeTouchExplorationGestureEnd" value="0x00000400" />
2790            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_CONTENT_CHANGED} events. -->
2791            <flag name="typeWindowContentChanged" value="0x00000800" />
2792            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SCROLLED} events. -->
2793            <flag name="typeViewScrolled" value="0x000001000" />
2794            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_SELECTION_CHANGED} events. -->
2795            <flag name="typeViewTextSelectionChanged" value="0x000002000" />
2796            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPES_ALL_MASK} i.e. all events. -->
2797            <flag name="typeAllMask" value="0xffffffff" />
2798        </attr>
2799        <!-- Comma separated package names from which this serivce would like to receive events (leave out for all packages).
2800             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
2801             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
2802        <attr name="packageNames" format="string" />
2803        <!-- The feedback types this serivce provides as specified in
2804             {@link android.accessibilityservice.AccessibilityServiceInfo}. This setting
2805             can be changed at runtime by calling
2806             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
2807             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
2808        <attr name="accessibilityFeedbackType">
2809            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_SPOKEN} feedback. -->
2810            <flag name="feedbackSpoken" value="0x00000001" />
2811            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_HAPTIC} feedback. -->
2812            <flag name="feedbackHaptic" value="0x00000002" />
2813            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_AUDIBLE} feedback. -->
2814            <flag name="feedbackAudible" value="0x00000004" />
2815            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_VISUAL} feedback. -->
2816            <flag name="feedbackVisual" value="0x00000008" />
2817            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_GENERIC} feedback. -->
2818            <flag name="feedbackGeneric" value="0x00000010" />
2819            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_ALL_MASK} feedback. -->
2820            <flag name="feedbackAllMask" value="0xffffffff" />
2821        </attr>
2822        <!-- The minimal period in milliseconds between two accessibility events of the same type
2823             are sent to this serivce. This setting can be changed at runtime by calling
2824             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
2825             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
2826        <attr name="notificationTimeout" format="integer" />
2827        <!-- Additional flags as specified in
2828             {@link android.accessibilityservice.AccessibilityServiceInfo}.
2829             This setting can be changed at runtime by calling
2830             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
2831             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
2832        <attr name="accessibilityFlags">
2833            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#DEFAULT} -->
2834            <flag name="flagDefault" value="0x00000001" />
2835            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_INCLUDE_NOT_IMPORTANT_VIEWS} -->
2836            <flag name="flagIncludeNotImportantViews" value="0x00000002" />
2837            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} -->
2838            <flag name="flagRequestTouchExplorationMode" value="0x00000004" />
2839            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} -->
2840            <flag name="flagRequestEnhancedWebAccessibility" value="0x00000008" />
2841            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REPORT_VIEW_IDS} -->
2842            <flag name="flagReportViewIds" value="0x00000010" />
2843            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} -->
2844            <flag name="flagRequestFilterKeyEvents" value="0x00000020" />
2845            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_RETRIEVE_INTERACTIVE_WINDOWS} -->
2846            <flag name="flagRetrieveInteractiveWindows" value="0x00000040" />
2847        </attr>
2848        <!-- Component name of an activity that allows the user to modify
2849             the settings for this service. This setting cannot be changed at runtime. -->
2850        <attr name="settingsActivity" />
2851        <!-- Attribute whether the accessibility service wants to be able to retrieve the
2852             active window content. This setting cannot be changed at runtime. -->
2853        <attr name="canRetrieveWindowContent" format="boolean" />
2854        <!-- Attribute whether the accessibility service wants to be able to request touch
2855             exploration mode in which touched items are spoken aloud and the UI can be
2856             explored via gestures.
2857             <p>
2858             Required to allow setting the {@link android.accessibilityservice
2859             #AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} flag.
2860             </p>
2861         -->
2862        <attr name="canRequestTouchExplorationMode" format="boolean" />
2863        <!-- Attribute whether the accessibility service wants to be able to request enhanced
2864             web accessibility enhancements. For example, installing scripts to make app
2865             content more accessible.
2866             <p>
2867             Required to allow setting the {@link android.accessibilityservice
2868             #AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} flag.
2869             </p>
2870         -->
2871        <attr name="canRequestEnhancedWebAccessibility" format="boolean" />
2872        <!-- Attribute whether the accessibility service wants to be able to request to
2873             filter key events.
2874             <p>
2875             Required to allow setting the {@link android.accessibilityservice
2876             #AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} flag.
2877             </p>
2878         -->
2879        <attr name="canRequestFilterKeyEvents" format="boolean" />
2880        <!-- Short description of the accessibility serivce purpose or behavior.-->
2881        <attr name="description" />
2882    </declare-styleable>
2883
2884    <!-- Use <code>print-service</code> as the root tag of the XML resource that
2885         describes an {@link android.printservice.PrintService} service, which is
2886         referenced from its {@link android.printservice.PrintService#SERVICE_META_DATA}
2887         meta-data entry. -->
2888    <declare-styleable name="PrintService">
2889        <!-- Fully qualified class name of an activity that allows the user to modify
2890             the settings for this service. -->
2891        <attr name="settingsActivity" />
2892        <!-- Fully qualified class name of an activity that allows the user to manually
2893             add printers to this print service. -->
2894        <attr name="addPrintersActivity" format="string"/>
2895        <!-- Fully qualified class name of an activity with advanced print options
2896             specific to this print service. -->
2897        <attr name="advancedPrintOptionsActivity" format="string"/>
2898        <!-- The vendor name if this print service is vendor specific. -->
2899        <attr name="vendor" format="string"/>
2900    </declare-styleable>
2901
2902    <!-- Use <code>host-apdu-service</code> as the root tag of the XML resource that
2903         describes an {@link android.nfc.cardemulation.HostApduService} service, which
2904         is referenced from its {@link android.nfc.cardemulation.HostApduService#SERVICE_META_DATA}
2905         entry. -->
2906    <declare-styleable name="HostApduService">
2907        <!-- Short description of the functionality the service implements. This attribute
2908             is mandatory.-->
2909        <attr name="description" />
2910        <!-- Whether the device must be unlocked before routing data to this service.
2911             The default is false.-->
2912        <attr name="requireDeviceUnlock" format="boolean"/>
2913        <!-- A drawable that can be rendered in Android's system UI for representing
2914             the service. -->
2915        <attr name="apduServiceBanner" format="reference"/>
2916    </declare-styleable>
2917
2918    <!-- Use <code>offhost-apdu-service</code> as the root tag of the XML resource that
2919         describes an {@link android.nfc.cardemulation.OffHostApduService}
2920         service, which is referenced from its
2921         {@link android.nfc.cardemulation.OffHostApduService#SERVICE_META_DATA} entry. -->
2922    <declare-styleable name="OffHostApduService">
2923        <!-- Short description of the functionality the service implements. This attribute
2924             is mandatory.-->
2925        <attr name="description" />
2926        <!-- A drawable that can be rendered in Android's system UI for representing
2927             the service. -->
2928        <attr name="apduServiceBanner"/>
2929    </declare-styleable>
2930
2931    <!-- Specify one or more <code>aid-group</code> elements inside a
2932         <code>host-apdu-service</code> or <code>offhost-apdu-service</code>
2933         element to define a group of ISO7816 Application ID (AIDs) that
2934         your service can handle.-->
2935    <declare-styleable name="AidGroup">
2936        <!-- Short description of what the AID group implements. This attribute is mandatory.-->
2937        <attr name="description" />
2938        <!-- The category attribute will be used by the Android platform to present
2939             multiple applications that register ISO 7816 Application IDs (AIDs) in the
2940             same category uniformly.
2941             Additionally, when a category is specified, Android will ensure that either
2942             all AIDs in this group are routed to this application, or none at all.
2943             This attribute is optional.-->
2944        <attr name="category" format="string" />
2945    </declare-styleable>
2946
2947    <!-- Specify one or more <code>aid-filter</code> elements inside a
2948         <code>aid-group</code> element to specify an ISO7816 Application ID (AID)
2949         your service can handle. -->
2950    <declare-styleable name="AidFilter">
2951        <!-- The ISO7816 Application ID. This attribute is mandatory. -->
2952        <attr name="name" />
2953    </declare-styleable>
2954
2955    <!-- Specify one or more <code>aid-prefix-filter</code> elements inside a
2956         <code>aid-group</code> element to specify an ISO7816 Application ID (AID)
2957         prefix your service can handle. -->
2958    <declare-styleable name="AidPrefixFilter">
2959        <!-- The ISO7816 Application ID. This attribute is mandatory. -->
2960        <attr name="name" />
2961    </declare-styleable>
2962
2963    <declare-styleable name="ActionMenuItemView">
2964        <attr name="minWidth" />
2965    </declare-styleable>
2966
2967    <!-- =============================== -->
2968    <!-- Widget package class attributes -->
2969    <!-- =============================== -->
2970    <eat-comment />
2971
2972    <declare-styleable name="AbsListView">
2973         <!-- Drawable used to indicate the currently selected item in the list. -->
2974        <attr name="listSelector" format="color|reference" />
2975        <!-- When set to true, the selector will be drawn over the selected item.
2976             Otherwise the selector is drawn behind the selected item. The default
2977             value is false. -->
2978        <attr name="drawSelectorOnTop" format="boolean" />
2979        <!-- Used by ListView and GridView to stack their content from the bottom. -->
2980        <attr name="stackFromBottom" format="boolean" />
2981        <!-- When set to true, the list uses a drawing cache during scrolling.
2982             This makes the rendering faster but uses more memory. The default
2983             value is true. -->
2984        <attr name="scrollingCache" format="boolean" />
2985        <!-- When set to true, the list will filter results as the user types. The
2986             List's adapter must support the Filterable interface for this to work. -->
2987        <attr name="textFilterEnabled" format="boolean" />
2988        <!-- Sets the transcript mode for the list. In transcript mode, the list
2989             scrolls to the bottom to make new items visible when they are added. -->
2990        <attr name="transcriptMode">
2991            <!-- Disables transcript mode. This is the default value. -->
2992            <enum name="disabled" value="0"/>
2993            <!-- The list will automatically scroll to the bottom when
2994                 a data set change notification is received and only if the last item is
2995                 already visible on screen. -->
2996            <enum name="normal" value="1" />
2997            <!-- The list will automatically scroll to the bottom, no matter what items
2998                 are currently visible. -->
2999            <enum name="alwaysScroll" value="2" />
3000        </attr>
3001        <!-- Indicates that this list will always be drawn on top of solid, single-color
3002             opaque background. This allows the list to optimize drawing. -->
3003        <attr name="cacheColorHint" format="color" />
3004        <!-- Enables the fast scroll thumb that can be dragged to quickly scroll through
3005             the list. -->
3006        <attr name="fastScrollEnabled" format="boolean" />
3007        <!-- Specifies the style of the fast scroll decorations. -->
3008        <attr name="fastScrollStyle" format="reference" />
3009        <!-- When set to true, the list will use a more refined calculation
3010             method based on the pixels height of the items visible on screen. This
3011             property is set to true by default but should be set to false if your adapter
3012             will display items of varying heights. When this property is set to true and
3013             your adapter displays items of varying heights, the scrollbar thumb will
3014             change size as the user scrolls through the list. When set to fale, the list
3015             will use only the number of items in the adapter and the number of items visible
3016             on screen to determine the scrollbar's properties. -->
3017        <attr name="smoothScrollbar" format="boolean" />
3018        <!-- Defines the choice behavior for the view. By default, lists do not have
3019             any choice behavior. By setting the choiceMode to singleChoice, the list
3020             allows up to one item to be in a chosen state. By setting the choiceMode to
3021             multipleChoice, the list allows any number of items to be chosen.
3022             Finally, by setting the choiceMode to multipleChoiceModal the list allows
3023             any number of items to be chosen in a special selection mode.
3024             The application will supply a
3025             {@link android.widget.AbsListView.MultiChoiceModeListener} using
3026             {@link android.widget.AbsListView#setMultiChoiceModeListener} to control the
3027             selection mode. This uses the {@link android.view.ActionMode} API. -->
3028        <attr name="choiceMode">
3029            <!-- Normal list that does not indicate choices. -->
3030            <enum name="none" value="0" />
3031            <!-- The list allows up to one choice. -->
3032            <enum name="singleChoice" value="1" />
3033            <!-- The list allows multiple choices. -->
3034            <enum name="multipleChoice" value="2" />
3035            <!-- The list allows multiple choices in a custom selection mode. -->
3036            <enum name="multipleChoiceModal" value="3" />
3037        </attr>
3038
3039        <!-- When set to true, the list will always show the fast scroll interface.
3040             This setting implies fastScrollEnabled. -->
3041        <attr name="fastScrollAlwaysVisible" format="boolean" />
3042    </declare-styleable>
3043    <declare-styleable name="AbsSpinner">
3044        <!-- Reference to an array resource that will populate the Spinner.  For static content,
3045             this is simpler than populating the Spinner programmatically. -->
3046        <attr name="entries" />
3047    </declare-styleable>
3048    <declare-styleable name="AnalogClock">
3049        <attr name="dial" format="reference"/>
3050        <attr name="hand_hour" format="reference"/>
3051        <attr name="hand_minute" format="reference"/>
3052    </declare-styleable>
3053    <declare-styleable name="Button">
3054    </declare-styleable>
3055    <declare-styleable name="Chronometer">
3056        <!-- Format string: if specified, the Chronometer will display this
3057             string, with the first "%s" replaced by the current timer value
3058             in "MM:SS" or "H:MM:SS" form.
3059             If no format string is specified, the Chronometer will simply display
3060             "MM:SS" or "H:MM:SS". -->
3061        <attr name="format" format="string" localization="suggested" />
3062    </declare-styleable>
3063    <declare-styleable name="CompoundButton">
3064        <!-- Indicates the initial checked state of this button. -->
3065        <attr name="checked" format="boolean" />
3066        <!-- Drawable used for the button graphic (e.g. checkbox, radio button, etc). -->
3067        <attr name="button" format="reference" />
3068        <!-- Tint to apply to the button graphic. -->
3069        <attr name="buttonTint" format="color" />
3070        <!-- Blending mode used to apply the button graphic tint. -->
3071        <attr name="buttonTintMode">
3072            <!-- The tint is drawn on top of the drawable.
3073                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3074            <enum name="src_over" value="3" />
3075            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3076                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3077            <enum name="src_in" value="5" />
3078            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3079                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3080            <enum name="src_atop" value="9" />
3081            <!-- Multiplies the color and alpha channels of the drawable with those of
3082                 the tint. [Sa * Da, Sc * Dc] -->
3083            <enum name="multiply" value="14" />
3084            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3085            <enum name="screen" value="15" />
3086            <!-- Combines the tint and drawable color and alpha channels, clamping the
3087                 result to valid color values. Saturate(S + D) -->
3088            <enum name="add" value="16" />
3089        </attr>
3090    </declare-styleable>
3091    <declare-styleable name="CheckedTextView">
3092        <!-- Indicates the initial checked state of this text. -->
3093        <attr name="checked" />
3094        <!-- Drawable used for the check mark graphic. -->
3095        <attr name="checkMark" format="reference"/>
3096        <!-- Tint to apply to the check mark. -->
3097        <attr name="checkMarkTint" format="color" />
3098        <!-- Blending mode used to apply the check mark tint. -->
3099        <attr name="checkMarkTintMode">
3100            <!-- The tint is drawn on top of the drawable.
3101                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3102            <enum name="src_over" value="3" />
3103            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3104                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3105            <enum name="src_in" value="5" />
3106            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3107                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3108            <enum name="src_atop" value="9" />
3109            <!-- Multiplies the color and alpha channels of the drawable with those of
3110                 the tint. [Sa * Da, Sc * Dc] -->
3111            <enum name="multiply" value="14" />
3112            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3113            <enum name="screen" value="15" />
3114            <!-- Combines the tint and drawable color and alpha channels, clamping the
3115                 result to valid color values. Saturate(S + D) -->
3116            <enum name="add" value="16" />
3117        </attr>
3118    </declare-styleable>
3119    <declare-styleable name="EditText">
3120    </declare-styleable>
3121    <declare-styleable name="FastScroll">
3122        <!-- Drawable used for the scroll bar thumb. -->
3123        <attr name="thumbDrawable" format="reference" />
3124        <!-- Minimum width of the thumb. -->
3125        <attr name="thumbMinWidth" format="dimension" />
3126        <!-- Minimum height of the thumb. -->
3127        <attr name="thumbMinHeight" format="dimension" />
3128        <!-- Drawable used for the scroll bar track. -->
3129        <attr name="trackDrawable" format="reference" />
3130        <!-- Drawable used for the section header preview when right-aligned. -->
3131        <attr name="backgroundRight" format="reference" />
3132        <!-- Drawable used for the section header preview when left-aligned. -->
3133        <attr name="backgroundLeft" format="reference" />
3134        <!-- Position of section header preview. -->
3135        <attr name="position">
3136            <!-- Floating at the top of the content. -->
3137            <enum name="floating" value="0" />
3138            <!-- Pinned alongside the thumb. -->
3139            <enum name="atThumb" value="1" />
3140        </attr>
3141        <attr name="textAppearance" />
3142        <attr name="textColor" />
3143        <attr name="textSize" />
3144        <!-- Minimum width of the section header preview. -->
3145        <attr name="minWidth" />
3146        <!-- Minimum height of the section header preview. -->
3147        <attr name="minHeight" />
3148        <!-- Padding for the section header preview. -->
3149        <attr name="padding" />
3150    </declare-styleable>
3151    <declare-styleable name="FrameLayout">
3152        <!-- Defines the drawable to draw over the content. This can be used as an overlay.
3153             The foreground drawable participates in the padding of the content if the gravity
3154             is set to fill. -->
3155        <attr name="foreground" format="reference|color" />
3156        <!-- Defines the gravity to apply to the foreground drawable. The gravity defaults
3157             to fill. -->
3158        <attr name="foregroundGravity">
3159            <!-- Push object to the top of its container, not changing its size. -->
3160            <flag name="top" value="0x30" />
3161            <!-- Push object to the bottom of its container, not changing its size. -->
3162            <flag name="bottom" value="0x50" />
3163            <!-- Push object to the left of its container, not changing its size. -->
3164            <flag name="left" value="0x03" />
3165            <!-- Push object to the right of its container, not changing its size. -->
3166            <flag name="right" value="0x05" />
3167            <!-- Place object in the vertical center of its container, not changing its size. -->
3168            <flag name="center_vertical" value="0x10" />
3169            <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
3170            <flag name="fill_vertical" value="0x70" />
3171            <!-- Place object in the horizontal center of its container, not changing its size. -->
3172            <flag name="center_horizontal" value="0x01" />
3173            <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
3174            <flag name="fill_horizontal" value="0x07" />
3175            <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
3176            <flag name="center" value="0x11" />
3177            <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
3178            <flag name="fill" value="0x77" />
3179            <!-- Additional option that can be set to have the top and/or bottom edges of
3180                 the child clipped to its container's bounds.
3181                 The clip will be based on the vertical gravity: a top gravity will clip the bottom
3182                 edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
3183            <flag name="clip_vertical" value="0x80" />
3184            <!-- Additional option that can be set to have the left and/or right edges of
3185                 the child clipped to its container's bounds.
3186                 The clip will be based on the horizontal gravity: a left gravity will clip the right
3187                 edge, a right gravity will clip the left edge, and neither will clip both edges. -->
3188            <flag name="clip_horizontal" value="0x08" />
3189        </attr>
3190        <!-- Defines whether the foreground drawable should be drawn inside the padding.
3191             This property is turned on by default. -->
3192        <attr name="foregroundInsidePadding" format="boolean" />
3193        <!-- Determines whether to measure all children or just those in
3194             the VISIBLE or INVISIBLE state when measuring. Defaults to false. -->
3195        <attr name="measureAllChildren" format="boolean" />
3196        <!-- Tint to apply to the foreground. -->
3197        <attr name="foregroundTint" format="color" />
3198        <!-- Blending mode used to apply the foreground tint. -->
3199        <attr name="foregroundTintMode">
3200            <!-- The tint is drawn on top of the drawable.
3201                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3202            <enum name="src_over" value="3" />
3203            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3204                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3205            <enum name="src_in" value="5" />
3206            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3207                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3208            <enum name="src_atop" value="9" />
3209            <!-- Multiplies the color and alpha channels of the drawable with those of
3210                 the tint. [Sa * Da, Sc * Dc] -->
3211            <enum name="multiply" value="14" />
3212            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3213            <enum name="screen" value="15" />
3214            <!-- Combines the tint and drawable color and alpha channels, clamping the
3215                 result to valid color values. Saturate(S + D) -->
3216            <enum name="add" value="16" />
3217        </attr>
3218    </declare-styleable>
3219    <declare-styleable name="ExpandableListView">
3220        <!-- Indicator shown beside the group View. This can be a stateful Drawable. -->
3221        <attr name="groupIndicator" format="reference" />
3222        <!-- Indicator shown beside the child View. This can be a stateful Drawable. -->
3223        <attr name="childIndicator" format="reference" />
3224        <!-- The left bound for an item's indicator. To specify a left bound specific to children,
3225             use childIndicatorLeft. -->
3226        <attr name="indicatorLeft" format="dimension" />
3227        <!-- The right bound for an item's indicator. To specify a right bound specific to children,
3228             use childIndicatorRight. -->
3229        <attr name="indicatorRight" format="dimension" />
3230        <!-- The left bound for a child's indicator. -->
3231        <attr name="childIndicatorLeft" format="dimension" />
3232        <!-- The right bound for a child's indicator. -->
3233        <attr name="childIndicatorRight" format="dimension" />
3234        <!-- Drawable or color that is used as a divider for children. (It will drawn
3235             below and above child items.) The height of this will be the same as
3236             the height of the normal list item divider. -->
3237        <attr name="childDivider" format="reference|color" />
3238        <!-- The start bound for an item's indicator. To specify a start bound specific to children,
3239             use childIndicatorStart. -->
3240        <attr name="indicatorStart" format="dimension" />
3241        <!-- The end bound for an item's indicator. To specify a right bound specific to children,
3242             use childIndicatorEnd. -->
3243        <attr name="indicatorEnd" format="dimension" />
3244        <!-- The start bound for a child's indicator. -->
3245        <attr name="childIndicatorStart" format="dimension" />
3246        <!-- The end bound for a child's indicator. -->
3247        <attr name="childIndicatorEnd" format="dimension" />
3248    </declare-styleable>
3249    <declare-styleable name="Gallery">
3250        <attr name="gravity" />
3251        <!-- Sets how long a transition animation should run (in milliseconds)
3252             when layout has changed.  Only relevant if animation is turned on. -->
3253        <attr name="animationDuration" format="integer" min="0" />
3254        <attr name="spacing" format="dimension" />
3255        <!-- Sets the alpha on the items that are not selected. -->
3256        <attr name="unselectedAlpha" format="float" />
3257    </declare-styleable>
3258    <declare-styleable name="GridView">
3259        <!-- Defines the default horizontal spacing between columns. -->
3260        <attr name="horizontalSpacing" format="dimension" />
3261        <!-- Defines the default vertical spacing between rows. -->
3262        <attr name="verticalSpacing" format="dimension" />
3263        <!-- Defines how columns should stretch to fill the available empty space, if any. -->
3264        <attr name="stretchMode">
3265            <!-- Stretching is disabled. -->
3266            <enum name="none" value="0"/>
3267            <!-- The spacing between each column is stretched. -->
3268            <enum name="spacingWidth" value="1" />
3269            <!-- Each column is stretched equally. -->
3270            <enum name="columnWidth" value="2" />
3271            <!-- The spacing between each column is uniformly stretched.. -->
3272            <enum name="spacingWidthUniform" value="3" />
3273        </attr>
3274        <!-- Specifies the fixed width for each column. -->
3275        <attr name="columnWidth" format="dimension" />
3276        <!-- Defines how many columns to show. -->
3277        <attr name="numColumns" format="integer" min="0">
3278            <!-- Display as many columns as possible to fill the available space. -->
3279            <enum name="auto_fit" value="-1" />
3280        </attr>
3281        <!-- Specifies the gravity within each cell. -->
3282        <attr name="gravity" />
3283    </declare-styleable>
3284    <declare-styleable name="ImageSwitcher">
3285    </declare-styleable>
3286    <declare-styleable name="ImageView">
3287        <!-- Sets a drawable as the content of this ImageView. -->
3288        <attr name="src" format="reference|color" />
3289        <!-- Controls how the image should be resized or moved to match the size
3290             of this ImageView. -->
3291        <attr name="scaleType">
3292            <enum name="matrix" value="0" />
3293            <enum name="fitXY" value="1" />
3294            <enum name="fitStart" value="2" />
3295            <enum name="fitCenter" value="3" />
3296            <enum name="fitEnd" value="4" />
3297            <enum name="center" value="5" />
3298            <enum name="centerCrop" value="6" />
3299            <enum name="centerInside" value="7" />
3300        </attr>
3301        <!-- Set this to true if you want the ImageView to adjust its bounds
3302             to preserve the aspect ratio of its drawable. -->
3303        <attr name="adjustViewBounds" format="boolean" />
3304        <!-- An optional argument to supply a maximum width for this view.
3305             See {see android.widget.ImageView#setMaxWidth} for details. -->
3306        <attr name="maxWidth" format="dimension" />
3307        <!-- An optional argument to supply a maximum height for this view.
3308             See {see android.widget.ImageView#setMaxHeight} for details. -->
3309        <attr name="maxHeight" format="dimension" />
3310        <!-- Set a tinting color for the image. -->
3311        <attr name="tint" format="color" />
3312        <!-- If true, the image view will be baseline aligned with based on its
3313             bottom edge. -->
3314        <attr name="baselineAlignBottom" format="boolean" />
3315         <!-- If true, the image will be cropped to fit within its padding. -->
3316        <attr name="cropToPadding" format="boolean" />
3317        <!-- The offset of the baseline within this view. See {see android.view.View#getBaseline}
3318             for details -->
3319        <attr name="baseline" format="dimension" />
3320        <!-- @hide The alpha value (0-255) set on the ImageView's drawable. Equivalent
3321             to calling ImageView.setAlpha(int), not the same as View.setAlpha(float). -->
3322        <attr name="drawableAlpha" format="integer" />
3323        <!-- Tint to apply to the image. -->
3324        <attr name="tint" />
3325        <!-- Blending mode used to apply the image tint. -->
3326        <attr name="tintMode" />
3327    </declare-styleable>
3328    <declare-styleable name="ToggleButton">
3329        <!-- The text for the button when it is checked. -->
3330        <attr name="textOn" format="string" />
3331        <!-- The text for the button when it is not checked. -->
3332        <attr name="textOff" format="string" />
3333        <!-- The alpha to apply to the indicator when disabled. -->
3334        <attr name="disabledAlpha" />
3335    </declare-styleable>
3336    <declare-styleable name="RelativeLayout">
3337        <attr name="gravity" />
3338        <!-- Indicates what view should not be affected by gravity. -->
3339        <attr name="ignoreGravity" format="reference" />
3340    </declare-styleable>
3341    <declare-styleable name="LinearLayout">
3342        <!-- Should the layout be a column or a row?  Use "horizontal"
3343             for a row, "vertical" for a column.  The default is
3344             horizontal. -->
3345        <attr name="orientation" />
3346        <attr name="gravity" />
3347        <!-- When set to false, prevents the layout from aligning its children's
3348             baselines. This attribute is particularly useful when the children
3349             use different values for gravity. The default value is true. -->
3350        <attr name="baselineAligned" format="boolean" />
3351        <!-- When a linear layout is part of another layout that is baseline
3352          aligned, it can specify which of its children to baseline align to
3353          (that is, which child TextView).-->
3354        <attr name="baselineAlignedChildIndex" format="integer" min="0"/>
3355        <!-- Defines the maximum weight sum. If unspecified, the sum is computed
3356             by adding the layout_weight of all of the children. This can be
3357             used for instance to give a single child 50% of the total available
3358             space by giving it a layout_weight of 0.5 and setting the weightSum
3359             to 1.0. -->
3360        <attr name="weightSum" format="float" />
3361        <!-- When set to true, all children with a weight will be considered having
3362             the minimum size of the largest child. If false, all children are
3363             measured normally. -->
3364        <attr name="measureWithLargestChild" format="boolean" />
3365        <!-- Drawable to use as a vertical divider between buttons. -->
3366        <attr name="divider" />
3367        <!-- Setting for which dividers to show. -->
3368        <attr name="showDividers">
3369            <flag name="none" value="0" />
3370            <flag name="beginning" value="1" />
3371            <flag name="middle" value="2" />
3372            <flag name="end" value="4" />
3373        </attr>
3374        <!-- Size of padding on either end of a divider. -->
3375        <attr name="dividerPadding" format="dimension" />
3376    </declare-styleable>
3377    <declare-styleable name="GridLayout">
3378        <!-- The orientation property is not used during layout. It is only used to
3379        allocate row and column parameters when they are not specified by its children's
3380        layout paramters. GridLayout works like LinearLayout in this case;
3381        putting all the components either in a single row or in a single column -
3382        depending on the value of this flag. In the horizontal case, a columnCount
3383        property may be additionally supplied to force new rows to be created when a
3384        row is full. The rowCount attribute may be used similarly in the vertical case.
3385        The default is horizontal. -->
3386        <attr name="orientation" />
3387        <!-- The maxmimum number of rows to create when automatically positioning children. -->
3388        <attr name="rowCount" format="integer" />
3389        <!-- The maxmimum number of columns to create when automatically positioning children. -->
3390        <attr name="columnCount" format="integer" />
3391        <!-- When set to true, tells GridLayout to use default margins when none are specified
3392        in a view's layout parameters.
3393        The default value is false.
3394        See {@link android.widget.GridLayout#setUseDefaultMargins(boolean)}.-->
3395        <attr name="useDefaultMargins" format="boolean" />
3396        <!-- When set to alignMargins, causes alignment to take place between the outer
3397        boundary of a view, as defined by its margins. When set to alignBounds,
3398        causes alignment to take place between the edges of the view.
3399        The default is alignMargins.
3400        See {@link android.widget.GridLayout#setAlignmentMode(int)}.-->
3401        <attr name="alignmentMode" />
3402        <!-- When set to true, forces row boundaries to appear in the same order
3403        as row indices.
3404        The default is true.
3405        See {@link android.widget.GridLayout#setRowOrderPreserved(boolean)}.-->
3406        <attr name="rowOrderPreserved" format="boolean" />
3407        <!-- When set to true, forces column boundaries to appear in the same order
3408        as column indices.
3409        The default is true.
3410        See {@link android.widget.GridLayout#setColumnOrderPreserved(boolean)}.-->
3411        <attr name="columnOrderPreserved" format="boolean" />
3412    </declare-styleable>
3413    <declare-styleable name="ListView">
3414        <!-- Reference to an array resource that will populate the ListView.  For static content,
3415             this is simpler than populating the ListView programmatically. -->
3416        <attr name="entries" />
3417        <!-- Drawable or color to draw between list items. -->
3418        <attr name="divider" format="reference|color" />
3419        <!-- Height of the divider. Will use the intrinsic height of the divider if this
3420             is not specified. -->
3421        <attr name="dividerHeight" format="dimension" />
3422        <!-- When set to false, the ListView will not draw the divider after each header view.
3423             The default value is true. -->
3424        <attr name="headerDividersEnabled" format="boolean" />
3425        <!-- When set to false, the ListView will not draw the divider before each footer view.
3426             The default value is true. -->
3427        <attr name="footerDividersEnabled" format="boolean" />
3428        <!-- Drawable to draw above list content. -->
3429        <attr name="overScrollHeader" format="reference|color" />
3430        <!-- Drawable to draw below list content. -->
3431        <attr name="overScrollFooter" format="reference|color" />
3432    </declare-styleable>
3433    <declare-styleable name="PreferenceFrameLayout">
3434        <!-- Padding to use at the top of the prefs content. -->
3435        <attr name="borderTop" format="dimension" />
3436        <!-- Padding to use at the bottom of the prefs content. -->
3437        <attr name="borderBottom" format="dimension" />
3438        <!-- Padding to use at the left of the prefs content. -->
3439        <attr name="borderLeft" format="dimension" />
3440        <!-- Padding to use at the right of the prefs content. -->
3441        <attr name="borderRight" format="dimension" />
3442    </declare-styleable>
3443    <declare-styleable name="PreferenceFrameLayout_Layout">
3444        <!-- Padding to use at the top of the prefs content. -->
3445        <attr name="layout_removeBorders" format="boolean" />
3446    </declare-styleable>
3447    <declare-styleable name="MenuView">
3448        <!-- Default appearance of menu item text. -->
3449        <attr name="itemTextAppearance" format="reference" />
3450        <!-- Default horizontal divider between rows of menu items. -->
3451        <attr name="horizontalDivider" format="reference" />
3452        <!-- Default vertical divider between menu items. -->
3453        <attr name="verticalDivider" format="reference" />
3454        <!-- Default background for the menu header. -->
3455        <attr name="headerBackground" format="color|reference" />
3456        <!-- Default background for each menu item. -->
3457        <attr name="itemBackground" format="color|reference" />
3458        <!-- Default animations for the menu. -->
3459        <attr name="windowAnimationStyle" />
3460        <!-- Default disabled icon alpha for each menu item that shows an icon. -->
3461        <attr name="itemIconDisabledAlpha" format="float" />
3462        <!-- Whether space should be reserved in layout when an icon is missing. -->
3463        <attr name="preserveIconSpacing" format="boolean" />
3464    </declare-styleable>
3465    <declare-styleable name="IconMenuView">
3466        <!-- Defines the height of each row. -->
3467        <attr name="rowHeight" format="dimension" />
3468        <!-- Defines the maximum number of rows displayed. -->
3469        <attr name="maxRows" format="integer" />
3470        <!-- Defines the maximum number of items per row. -->
3471        <attr name="maxItemsPerRow" format="integer" />
3472        <!-- Defines the maximum number of items to show. -->
3473        <attr name="maxItems" format="integer" />
3474        <!-- 'More' icon. -->
3475        <attr name="moreIcon" format="reference" />
3476    </declare-styleable>
3477
3478    <declare-styleable name="ProgressBar">
3479        <!-- Defines the maximum value the progress can take. -->
3480        <attr name="max" format="integer" />
3481        <!-- Defines the default progress value, between 0 and max. -->
3482        <attr name="progress" format="integer" />
3483        <!-- Defines the secondary progress value, between 0 and max. This progress is drawn between
3484             the primary progress and the background.  It can be ideal for media scenarios such as
3485             showing the buffering progress while the default progress shows the play progress. -->
3486        <attr name="secondaryProgress" format="integer" />
3487        <!-- Allows to enable the indeterminate mode. In this mode the progress
3488         bar plays an infinite looping animation. -->
3489        <attr name="indeterminate" format="boolean" />
3490        <!-- Restricts to ONLY indeterminate mode (state-keeping progress mode will not work). -->
3491        <attr name="indeterminateOnly" format="boolean" />
3492        <!-- Drawable used for the indeterminate mode. -->
3493        <attr name="indeterminateDrawable" format="reference" />
3494        <!-- Drawable used for the progress mode. -->
3495        <attr name="progressDrawable" format="reference" />
3496        <!-- Duration of the indeterminate animation. -->
3497        <attr name="indeterminateDuration" format="integer" min="1" />
3498        <!-- Defines how the indeterminate mode should behave when the progress
3499        reaches max. -->
3500        <attr name="indeterminateBehavior">
3501            <!-- Progress starts over from 0. -->
3502            <enum name="repeat" value="1" />
3503            <!-- Progress keeps the current value and goes back to 0. -->
3504            <enum name="cycle" value="2" />
3505        </attr>
3506        <attr name="minWidth" format="dimension" />
3507        <attr name="maxWidth" />
3508        <attr name="minHeight" format="dimension" />
3509        <attr name="maxHeight" />
3510        <attr name="interpolator" format="reference" />
3511        <!-- Timeout between frames of animation in milliseconds
3512             {@deprecated Not used by the framework.} -->
3513        <attr name="animationResolution" format="integer" />
3514        <!-- Defines if the associated drawables need to be mirrored when in RTL mode.
3515             Default is false -->
3516        <attr name="mirrorForRtl" format="boolean" />
3517        <!-- Tint to apply to the progress indicator. -->
3518        <attr name="progressTint" format="color" />
3519        <!-- Blending mode used to apply the progress indicator tint. -->
3520        <attr name="progressTintMode">
3521            <!-- The tint is drawn on top of the drawable.
3522                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3523            <enum name="src_over" value="3" />
3524            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3525                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3526            <enum name="src_in" value="5" />
3527            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3528                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3529            <enum name="src_atop" value="9" />
3530            <!-- Multiplies the color and alpha channels of the drawable with those of
3531                 the tint. [Sa * Da, Sc * Dc] -->
3532            <enum name="multiply" value="14" />
3533            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3534            <enum name="screen" value="15" />
3535            <!-- Combines the tint and drawable color and alpha channels, clamping the
3536                 result to valid color values. Saturate(S + D) -->
3537            <enum name="add" value="16" />
3538        </attr>
3539        <!-- Tint to apply to the progress indicator background. -->
3540        <attr name="progressBackgroundTint" format="color" />
3541        <!-- Blending mode used to apply the progress indicator background tint. -->
3542        <attr name="progressBackgroundTintMode">
3543            <!-- The tint is drawn on top of the drawable.
3544                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3545            <enum name="src_over" value="3" />
3546            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3547                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3548            <enum name="src_in" value="5" />
3549            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3550                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3551            <enum name="src_atop" value="9" />
3552            <!-- Multiplies the color and alpha channels of the drawable with those of
3553                 the tint. [Sa * Da, Sc * Dc] -->
3554            <enum name="multiply" value="14" />
3555            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3556            <enum name="screen" value="15" />
3557            <!-- Combines the tint and drawable color and alpha channels, clamping the
3558                 result to valid color values. Saturate(S + D) -->
3559            <enum name="add" value="16" />
3560        </attr>
3561        <!-- Tint to apply to the secondary progress indicator. -->
3562        <attr name="secondaryProgressTint" format="color" />
3563        <!-- Blending mode used to apply the secondary progress indicator tint. -->
3564        <attr name="secondaryProgressTintMode">
3565            <!-- The tint is drawn on top of the drawable.
3566                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3567            <enum name="src_over" value="3" />
3568            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3569                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3570            <enum name="src_in" value="5" />
3571            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3572                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3573            <enum name="src_atop" value="9" />
3574            <!-- Multiplies the color and alpha channels of the drawable with those of
3575                 the tint. [Sa * Da, Sc * Dc] -->
3576            <enum name="multiply" value="14" />
3577            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3578            <enum name="screen" value="15" />
3579            <!-- Combines the tint and drawable color and alpha channels, clamping the
3580                 result to valid color values. Saturate(S + D) -->
3581            <enum name="add" value="16" />
3582        </attr>
3583        <!-- Tint to apply to the indeterminate progress indicator. -->
3584        <attr name="indeterminateTint" format="color" />
3585        <!-- Blending mode used to apply the indeterminate progress indicator tint. -->
3586        <attr name="indeterminateTintMode">
3587            <!-- The tint is drawn on top of the drawable.
3588                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3589            <enum name="src_over" value="3" />
3590            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3591                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3592            <enum name="src_in" value="5" />
3593            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3594                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3595            <enum name="src_atop" value="9" />
3596            <!-- Multiplies the color and alpha channels of the drawable with those of
3597                 the tint. [Sa * Da, Sc * Dc] -->
3598            <enum name="multiply" value="14" />
3599            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3600            <enum name="screen" value="15" />
3601            <!-- Combines the tint and drawable color and alpha channels, clamping the
3602                 result to valid color values. Saturate(S + D) -->
3603            <enum name="add" value="16" />
3604        </attr>
3605        <!-- Tint to apply to the background. -->
3606        <attr name="backgroundTint" />
3607        <!-- Blending mode used to apply the background tint. -->
3608        <attr name="backgroundTintMode" />
3609    </declare-styleable>
3610
3611    <declare-styleable name="SeekBar">
3612        <!-- Draws the thumb on a seekbar. -->
3613        <attr name="thumb" format="reference" />
3614        <!-- An offset for the thumb that allows it to extend out of the range of the track. -->
3615        <attr name="thumbOffset" format="dimension" />
3616        <!-- Whether to split the track and leave a gap for the thumb drawable. -->
3617        <attr name="splitTrack" format="boolean" />
3618        <!-- Tint to apply to the button graphic. -->
3619        <attr name="thumbTint" format="color" />
3620        <!-- Blending mode used to apply the button graphic tint. -->
3621        <attr name="thumbTintMode">
3622            <!-- The tint is drawn on top of the drawable.
3623                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3624            <enum name="src_over" value="3" />
3625            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3626                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3627            <enum name="src_in" value="5" />
3628            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3629                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3630            <enum name="src_atop" value="9" />
3631            <!-- Multiplies the color and alpha channels of the drawable with those of
3632                 the tint. [Sa * Da, Sc * Dc] -->
3633            <enum name="multiply" value="14" />
3634            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3635            <enum name="screen" value="15" />
3636            <!-- Combines the tint and drawable color and alpha channels, clamping the
3637                 result to valid color values. Saturate(S + D) -->
3638            <enum name="add" value="16" />
3639        </attr>
3640    </declare-styleable>
3641
3642    <declare-styleable name="StackView">
3643        <!-- Color of the res-out outline. -->
3644        <attr name="resOutColor" format="color" />
3645        <!-- Color of the outline of click feedback. -->
3646        <attr name="clickColor" format="color" />
3647    </declare-styleable>
3648
3649    <declare-styleable name="RatingBar">
3650        <!-- The number of stars (or rating items) to show. -->
3651        <attr name="numStars" format="integer" />
3652        <!-- The rating to set by default. -->
3653        <attr name="rating" format="float" />
3654        <!-- The step size of the rating. -->
3655        <attr name="stepSize" format="float" />
3656        <!-- Whether this rating bar is an indicator (and non-changeable by the user). -->
3657        <attr name="isIndicator" format="boolean" />
3658    </declare-styleable>
3659
3660    <declare-styleable name="RadioGroup">
3661        <!-- The id of the child radio button that should be checked by default
3662             within this radio group. -->
3663        <attr name="checkedButton" format="integer" />
3664        <!-- Should the radio group be a column or a row?  Use "horizontal"
3665             for a row, "vertical" for a column.  The default is
3666             vertical. -->
3667        <attr name="orientation" />
3668    </declare-styleable>
3669    <declare-styleable name="TableLayout">
3670        <!-- The zero-based index of the columns to stretch. The column indices
3671             must be separated by a comma: 1, 2, 5. Illegal and duplicate
3672             indices are ignored. You can stretch all columns by using the
3673             value "*" instead. Note that a column can be marked stretchable
3674             and shrinkable at the same time. -->
3675        <attr name="stretchColumns" format="string" />
3676       <!-- The zero-based index of the columns to shrink. The column indices
3677             must be separated by a comma: 1, 2, 5. Illegal and duplicate
3678             indices are ignored. You can shrink all columns by using the
3679             value "*" instead. Note that a column can be marked stretchable
3680             and shrinkable at the same time. -->
3681        <attr name="shrinkColumns" format="string" />
3682        <!-- The zero-based index of the columns to collapse. The column indices
3683             must be separated by a comma: 1, 2, 5. Illegal and duplicate
3684             indices are ignored. -->
3685        <attr name="collapseColumns" format="string" />
3686    </declare-styleable>
3687    <declare-styleable name="TableRow">
3688
3689    </declare-styleable>
3690    <declare-styleable name="TableRow_Cell">
3691        <!-- The index of the column in which this child should be. -->
3692        <attr name="layout_column" format="integer" />
3693        <!-- Defines how many columns this child should span.  Must be >= 1.-->
3694        <attr name="layout_span" format="integer" />
3695    </declare-styleable>
3696    <declare-styleable name="TabWidget">
3697        <!-- Drawable used to draw the divider between tabs. -->
3698        <attr name="divider" />
3699        <!-- Determines whether the strip under the tab indicators is drawn or not. -->
3700        <attr name="tabStripEnabled" format="boolean" />
3701        <!-- Drawable used to draw the left part of the strip underneath the tabs. -->
3702        <attr name="tabStripLeft" format="reference" />
3703        <!-- Drawable used to draw the right part of the strip underneath the tabs. -->
3704        <attr name="tabStripRight" format="reference" />
3705        <!-- Layout used to organize each tab's content. -->
3706        <attr name="tabLayout" format="reference" />
3707    </declare-styleable>
3708    <declare-styleable name="TextAppearance">
3709        <!-- Text color. -->
3710        <attr name="textColor" />
3711        <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
3712        <attr name="textSize" />
3713        <!-- Style (bold, italic, bolditalic) for the text. -->
3714        <attr name="textStyle" />
3715        <!-- Typeface (normal, sans, serif, monospace) for the text. -->
3716        <attr name="typeface" />
3717        <!-- Font family (named by string) for the text. -->
3718        <attr name="fontFamily" />
3719        <!-- Color of the text selection highlight. -->
3720        <attr name="textColorHighlight" />
3721        <!-- Color of the hint text. -->
3722        <attr name="textColorHint" />
3723        <!-- Color of the links. -->
3724        <attr name="textColorLink" />
3725        <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
3726        <attr name="textAllCaps" format="boolean" />
3727        <!-- Place a shadow of the specified color behind the text. -->
3728        <attr name="shadowColor" format="color" />
3729        <!-- Horizontal offset of the shadow. -->
3730        <attr name="shadowDx" format="float" />
3731        <!-- Vertical offset of the shadow. -->
3732        <attr name="shadowDy" format="float" />
3733        <!-- Radius of the shadow. -->
3734        <attr name="shadowRadius" format="float" />
3735        <!-- Elegant text height, especially for less compacted complex script text. -->
3736        <attr name="elegantTextHeight" format="boolean" />
3737        <!-- Text letter-spacing. -->
3738        <attr name="letterSpacing" format="float" />
3739    </declare-styleable>
3740    <declare-styleable name="TextClock">
3741        <!-- Specifies the formatting pattern used to show the time and/or date
3742             in 12-hour mode. Please refer to {@link android.text.format.DateFormat}
3743             for a complete description of accepted formatting patterns.
3744             The default pattern is a locale-appropriate equivalent of "h:mm a". -->
3745        <attr name="format12Hour" format="string"/>
3746        <!-- Specifies the formatting pattern used to show the time and/or date
3747             in 24-hour mode. Please refer to {@link android.text.format.DateFormat}
3748             for a complete description of accepted formatting patterns.
3749             The default pattern is a locale-appropriate equivalent of "H:mm". -->
3750        <attr name="format24Hour" format="string"/>
3751        <!-- Specifies the time zone to use. When this attribute is specified, the
3752             TextClock will ignore the time zone of the system. To use the user's
3753             time zone, do not specify this attribute. The default value is the
3754             user's time zone. Please refer to {@link java.util.TimeZone} for more
3755             information about time zone ids. -->
3756        <attr name="timeZone" format="string"/>
3757    </declare-styleable>
3758    <declare-styleable name="TextSwitcher">
3759    </declare-styleable>
3760    <declare-styleable name="TextView">
3761        <!-- Determines the minimum type that getText() will return.
3762             The default is "normal".
3763             Note that EditText and LogTextBox always return Editable,
3764             even if you specify something less powerful here. -->
3765        <attr name="bufferType">
3766            <!-- Can return any CharSequence, possibly a
3767             Spanned one if the source text was Spanned. -->
3768            <enum name="normal" value="0" />
3769            <!-- Can only return Spannable. -->
3770            <enum name="spannable" value="1" />
3771            <!-- Can only return Spannable and Editable. -->
3772            <enum name="editable" value="2" />
3773        </attr>
3774        <!-- Text to display. -->
3775        <attr name="text" format="string" localization="suggested" />
3776        <!-- Hint text to display when the text is empty. -->
3777        <attr name="hint" format="string" />
3778        <!-- Text color. -->
3779        <attr name="textColor" />
3780        <!-- Color of the text selection highlight. -->
3781        <attr name="textColorHighlight" />
3782        <!-- Color of the hint text. -->
3783        <attr name="textColorHint" />
3784        <!-- Base text color, typeface, size, and style. -->
3785        <attr name="textAppearance" />
3786        <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
3787        <attr name="textSize" />
3788        <!-- Sets the horizontal scaling factor for the text. -->
3789        <attr name="textScaleX" format="float" />
3790        <!-- Typeface (normal, sans, serif, monospace) for the text. -->
3791        <attr name="typeface" />
3792        <!-- Style (bold, italic, bolditalic) for the text. -->
3793        <attr name="textStyle" />
3794        <!-- Font family (named by string) for the text. -->
3795        <attr name="fontFamily" />
3796        <!-- Text color for links. -->
3797        <attr name="textColorLink" />
3798        <!-- Makes the cursor visible (the default) or invisible. -->
3799        <attr name="cursorVisible" format="boolean" />
3800        <!-- Makes the TextView be at most this many lines tall.
3801
3802        When used on an editable text, the <code>inputType</code> attribute's value must be
3803        combined with the <code>textMultiLine</code> flag for the maxLines attribute to apply. -->
3804        <attr name="maxLines" format="integer" min="0" />
3805        <!-- Makes the TextView be at most this many pixels tall. -->
3806        <attr name="maxHeight" />
3807        <!-- Makes the TextView be exactly this many lines tall. -->
3808        <attr name="lines" format="integer" min="0" />
3809        <!-- Makes the TextView be exactly this many pixels tall.
3810             You could get the same effect by specifying this number in the
3811             layout parameters. -->
3812        <attr name="height" format="dimension" />
3813        <!-- Makes the TextView be at least this many lines tall.
3814
3815        When used on an editable text, the <code>inputType</code> attribute's value must be
3816        combined with the <code>textMultiLine</code> flag for the minLines attribute to apply. -->
3817        <attr name="minLines" format="integer" min="0" />
3818        <!-- Makes the TextView be at least this many pixels tall. -->
3819        <attr name="minHeight" />
3820        <!-- Makes the TextView be at most this many ems wide. -->
3821        <attr name="maxEms" format="integer" min="0" />
3822        <!-- Makes the TextView be at most this many pixels wide. -->
3823        <attr name="maxWidth" />
3824        <!-- Makes the TextView be exactly this many ems wide. -->
3825        <attr name="ems" format="integer" min="0" />
3826        <!-- Makes the TextView be exactly this many pixels wide.
3827             You could get the same effect by specifying this number in the
3828             layout parameters. -->
3829        <attr name="width" format="dimension" />
3830        <!-- Makes the TextView be at least this many ems wide. -->
3831        <attr name="minEms" format="integer" min="0" />
3832        <!-- Makes the TextView be at least this many pixels wide. -->
3833        <attr name="minWidth" />
3834        <!-- Specifies how to align the text by the view's x- and/or y-axis
3835             when the text is smaller than the view. -->
3836        <attr name="gravity" />
3837        <!-- Whether the text is allowed to be wider than the view (and
3838             therefore can be scrolled horizontally). -->
3839        <attr name="scrollHorizontally" format="boolean" />
3840        <!-- Whether the characters of the field are displayed as
3841             password dots instead of themselves.
3842             {@deprecated Use inputType instead.} -->
3843        <attr name="password" format="boolean" />
3844        <!-- Constrains the text to a single horizontally scrolling line
3845             instead of letting it wrap onto multiple lines, and advances
3846             focus instead of inserting a newline when you press the
3847             enter key.
3848
3849             The default value is false (multi-line wrapped text mode) for non-editable text, but if
3850             you specify any value for inputType, the default is true (single-line input field mode).
3851
3852             {@deprecated This attribute is deprecated. Use <code>maxLines</code> instead to change
3853             the layout of a static text, and use the <code>textMultiLine</code> flag in the
3854             inputType attribute instead for editable text views (if both singleLine and inputType
3855             are supplied, the inputType flags will override the value of singleLine). } -->
3856        <attr name="singleLine" format="boolean" />
3857        <!-- Specifies whether the widget is enabled. The interpretation of the enabled state varies by subclass.
3858             For example, a non-enabled EditText prevents the user from editing the contained text, and
3859             a non-enabled Button prevents the user from tapping the button.
3860             The appearance of enabled and non-enabled widgets may differ, if the drawables referenced
3861             from evaluating state_enabled differ. -->
3862        <attr name="enabled" format="boolean" />
3863        <!-- If the text is selectable, select it all when the view takes
3864             focus. -->
3865        <attr name="selectAllOnFocus" format="boolean" />
3866        <!-- Leave enough room for ascenders and descenders instead of
3867             using the font ascent and descent strictly.  (Normally true). -->
3868        <attr name="includeFontPadding" format="boolean" />
3869        <!-- Set an input filter to constrain the text length to the
3870             specified number. -->
3871        <attr name="maxLength" format="integer" min="0" />
3872        <!-- Place a shadow of the specified color behind the text. -->
3873        <attr name="shadowColor" />
3874        <!-- Horizontal offset of the shadow. -->
3875        <attr name="shadowDx" />
3876        <!-- Vertical offset of the shadow. -->
3877        <attr name="shadowDy" />
3878        <!-- Radius of the shadow. -->
3879        <attr name="shadowRadius" />
3880        <attr name="autoLink" />
3881        <!-- If set to false, keeps the movement method from being set
3882             to the link movement method even if autoLink causes links
3883             to be found. -->
3884        <attr name="linksClickable" format="boolean" />
3885        <!-- If set, specifies that this TextView has a numeric input method.
3886             The default is false.
3887             {@deprecated Use inputType instead.} -->
3888        <attr name="numeric">
3889            <!-- Input is numeric. -->
3890            <flag name="integer" value="0x01" />
3891            <!-- Input is numeric, with sign allowed. -->
3892            <flag name="signed" value="0x03" />
3893            <!-- Input is numeric, with decimals allowed. -->
3894            <flag name="decimal" value="0x05" />
3895        </attr>
3896        <!-- If set, specifies that this TextView has a numeric input method
3897             and that these specific characters are the ones that it will
3898             accept.
3899             If this is set, numeric is implied to be true.
3900             The default is false. -->
3901        <attr name="digits" format="string" />
3902        <!-- If set, specifies that this TextView has a phone number input
3903             method. The default is false.
3904             {@deprecated Use inputType instead.} -->
3905        <attr name="phoneNumber" format="boolean" />
3906        <!-- If set, specifies that this TextView should use the specified
3907             input method (specified by fully-qualified class name).
3908             {@deprecated Use inputType instead.} -->
3909        <attr name="inputMethod" format="string" />
3910        <!-- If set, specifies that this TextView has a textual input method
3911             and should automatically capitalize what the user types.
3912             The default is "none".
3913             {@deprecated Use inputType instead.} -->
3914        <attr name="capitalize">
3915            <!-- Don't automatically capitalize anything. -->
3916            <enum name="none" value="0" />
3917            <!-- Capitalize the first word of each sentence. -->
3918            <enum name="sentences" value="1" />
3919            <!-- Capitalize the first letter of every word. -->
3920            <enum name="words" value="2" />
3921            <!-- Capitalize every character. -->
3922            <enum name="characters" value="3" />
3923        </attr>
3924        <!-- If set, specifies that this TextView has a textual input method
3925             and automatically corrects some common spelling errors.
3926             The default is "false".
3927             {@deprecated Use inputType instead.} -->
3928        <attr name="autoText" format="boolean" />
3929        <!-- If set, specifies that this TextView has an input method.
3930             It will be a textual one unless it has otherwise been specified.
3931             For TextView, this is false by default.  For EditText, it is
3932             true by default.
3933             {@deprecated Use inputType instead.} -->
3934        <attr name="editable" format="boolean" />
3935        <!-- If set, the text view will include its current complete text
3936             inside of its frozen icicle in addition to meta-data such as
3937             the current cursor position.  By default this is disabled;
3938             it can be useful when the contents of a text view is not stored
3939             in a persistent place such as a content provider. -->
3940        <attr name="freezesText" format="boolean" />
3941        <!-- If set, causes words that are longer than the view is wide
3942             to be ellipsized instead of broken in the middle.
3943             You will often also want to set scrollHorizontally or singleLine
3944             as well so that the text as a whole is also constrained to
3945             a single line instead of still allowed to be broken onto
3946             multiple lines. -->
3947        <attr name="ellipsize" />
3948        <!-- The drawable to be drawn above the text. -->
3949        <attr name="drawableTop" format="reference|color" />
3950        <!-- The drawable to be drawn below the text. -->
3951        <attr name="drawableBottom" format="reference|color" />
3952        <!-- The drawable to be drawn to the left of the text. -->
3953        <attr name="drawableLeft" format="reference|color" />
3954        <!-- The drawable to be drawn to the right of the text. -->
3955        <attr name="drawableRight" format="reference|color" />
3956        <!-- The drawable to be drawn to the start of the text. -->
3957        <attr name="drawableStart" format="reference|color" />
3958        <!-- The drawable to be drawn to the end of the text. -->
3959        <attr name="drawableEnd" format="reference|color" />
3960        <!-- The padding between the drawables and the text. -->
3961        <attr name="drawablePadding" format="dimension" />
3962        <!-- Extra spacing between lines of text. -->
3963        <attr name="lineSpacingExtra" format="dimension" />
3964        <!-- Extra spacing between lines of text, as a multiplier. -->
3965        <attr name="lineSpacingMultiplier" format="float" />
3966        <!-- The number of times to repeat the marquee animation. Only applied if the
3967             TextView has marquee enabled. -->
3968        <attr name="marqueeRepeatLimit" format="integer">
3969            <!-- Indicates that marquee should repeat indefinitely. -->
3970            <enum name="marquee_forever" value="-1" />
3971        </attr>
3972        <attr name="inputType" />
3973        <attr name="imeOptions" />
3974        <!-- An addition content type description to supply to the input
3975             method attached to the text view, which is private to the
3976             implementation of the input method.  This simply fills in
3977             the {@link android.view.inputmethod.EditorInfo#privateImeOptions
3978             EditorInfo.privateImeOptions} field when the input
3979             method is connected. -->
3980        <attr name="privateImeOptions" format="string" />
3981        <!-- Supply a value for
3982             {@link android.view.inputmethod.EditorInfo#actionLabel EditorInfo.actionLabel}
3983             used when an input method is connected to the text view. -->
3984        <attr name="imeActionLabel" format="string" />
3985        <!-- Supply a value for
3986             {@link android.view.inputmethod.EditorInfo#actionId EditorInfo.actionId}
3987             used when an input method is connected to the text view. -->
3988        <attr name="imeActionId" format="integer" />
3989        <!-- Reference to an
3990             {@link android.R.styleable#InputExtras &lt;input-extras&gt;}
3991             XML resource containing additional data to
3992             supply to an input method, which is private to the implementation
3993             of the input method.  This simply fills in
3994             the {@link android.view.inputmethod.EditorInfo#extras
3995             EditorInfo.extras} field when the input
3996             method is connected. -->
3997        <attr name="editorExtras" format="reference" />
3998
3999        <!-- Reference to a drawable that will be used to display a text selection
4000             anchor on the left side of a selection region. -->
4001        <attr name="textSelectHandleLeft" />
4002        <!-- Reference to a drawable that will be used to display a text selection
4003             anchor on the right side of a selection region. -->
4004        <attr name="textSelectHandleRight" />
4005        <!-- Reference to a drawable that will be used to display a text selection
4006             anchor for positioning the cursor within text. -->
4007        <attr name="textSelectHandle" />
4008        <!-- The layout of the view that is displayed on top of the cursor to paste inside a
4009             TextEdit field. -->
4010        <attr name="textEditPasteWindowLayout" />
4011        <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. -->
4012        <attr name="textEditNoPasteWindowLayout" />
4013        <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the
4014             insertion cursor because it would be clipped if it were positioned on top. -->
4015        <attr name="textEditSidePasteWindowLayout" />
4016        <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. -->
4017        <attr name="textEditSideNoPasteWindowLayout" />
4018
4019        <!-- Layout of the TextView item that will populate the suggestion popup window. -->
4020        <attr name="textEditSuggestionItemLayout" />
4021
4022
4023        <!-- Reference to a drawable that will be drawn under the insertion cursor. -->
4024        <attr name="textCursorDrawable" />
4025
4026        <!-- Indicates that the content of a non-editable text can be selected. -->
4027        <attr name="textIsSelectable" />
4028        <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
4029        <attr name="textAllCaps" />
4030        <!-- Elegant text height, especially for less compacted complex script text. -->
4031        <attr name="elegantTextHeight" />
4032        <!-- Text letter-spacing. -->
4033        <attr name="letterSpacing" />
4034    </declare-styleable>
4035    <declare-styleable name="TextViewAppearance">
4036        <!-- Base text color, typeface, size, and style. -->
4037        <attr name="textAppearance" />
4038    </declare-styleable>
4039    <declare-styleable name="SelectionModeDrawables">
4040        <attr name="actionModeSelectAllDrawable" />
4041        <attr name="actionModeCutDrawable" />
4042        <attr name="actionModeCopyDrawable" />
4043        <attr name="actionModePasteDrawable" />
4044    </declare-styleable>
4045    <declare-styleable name="SuggestionSpan">
4046        <attr name="textUnderlineColor" />
4047        <attr name="textUnderlineThickness" />
4048    </declare-styleable>
4049    <!-- An <code>input-extras</code> is a container for extra data to supply to
4050         an input method.  Contains
4051         one more more {@link #Extra <extra>} tags.  -->
4052    <declare-styleable name="InputExtras">
4053    </declare-styleable>
4054    <declare-styleable name="AutoCompleteTextView">
4055        <!-- Defines the hint displayed in the drop down menu. -->
4056        <attr name="completionHint" format="string" />
4057        <!-- Defines the hint view displayed in the drop down menu. -->
4058        <attr name="completionHintView" format="reference" />
4059        <!-- Defines the number of characters that the user must type before
4060         completion suggestions are displayed in a drop down menu. -->
4061        <attr name="completionThreshold" format="integer" min="1" />
4062        <!-- Selector in a drop down list. -->
4063        <attr name="dropDownSelector" format="reference|color" />
4064        <!-- Amount of pixels by which the drop down should be offset vertically. -->
4065        <attr name="dropDownVerticalOffset" format="dimension" />
4066        <!-- Amount of pixels by which the drop down should be offset horizontally. -->
4067        <attr name="dropDownHorizontalOffset" format="dimension" />
4068        <!-- View to anchor the auto-complete dropdown to. If not specified, the text view itself
4069             is used. -->
4070        <attr name="dropDownAnchor" format="reference" />
4071        <!-- Specifies the basic width of the dropdown. Its value may
4072             be a dimension (such as "12dip") for a constant width,
4073             fill_parent or match_parent to match the width of the
4074             screen, or wrap_content to match the width of
4075             the anchored view. -->
4076        <attr name="dropDownWidth" format="dimension">
4077            <!-- The dropdown should fill the width of the screen.
4078                 This constant is deprecated starting from API Level 8 and
4079                 is replaced by {@code match_parent}. -->
4080            <enum name="fill_parent" value="-1" />
4081            <!-- The dropdown should fit the width of the screen.
4082                 Introduced in API Level 8. -->
4083            <enum name="match_parent" value="-1" />
4084            <!-- The dropdown should fit the width of its anchor. -->
4085            <enum name="wrap_content" value="-2" />
4086        </attr>
4087        <!-- Specifies the basic height of the dropdown. Its value may
4088             be a dimension (such as "12dip") for a constant height,
4089             fill_parent or match_parent to fill the height of the
4090             screen, or wrap_content to match the height of
4091             the content of the drop down. -->
4092        <attr name="dropDownHeight" format="dimension">
4093            <!-- The dropdown should fit the height of the screen.
4094                 This constant is deprecated starting from API Level 8 and
4095                 is replaced by {@code match_parent}. -->
4096            <enum name="fill_parent" value="-1" />
4097            <!-- The dropdown should fit the height of the screen.
4098                 Introduced in API Level 8. -->
4099            <enum name="match_parent" value="-1" />
4100            <!-- The dropdown should fit the height of the content. -->
4101            <enum name="wrap_content" value="-2" />
4102        </attr>
4103        <attr name="inputType" />
4104    </declare-styleable>
4105    <declare-styleable name="PopupWindow">
4106        <!-- The background to use for the popup window. -->
4107        <attr name="popupBackground" format="reference|color" />
4108        <!-- Window elevation to use for the popup window. -->
4109        <attr name="popupElevation" format="dimension" />
4110        <!-- The animation style to use for the popup window. -->
4111        <attr name="popupAnimationStyle" format="reference" />
4112        <!-- Whether the popup window should overlap its anchor view. -->
4113        <attr name="overlapAnchor" format="boolean" />
4114    </declare-styleable>
4115    <declare-styleable name="ViewAnimator">
4116        <!-- Identifier for the animation to use when a view is shown. -->
4117        <attr name="inAnimation" format="reference" />
4118        <!-- Identifier for the animation to use when a view is hidden. -->
4119        <attr name="outAnimation" format="reference" />
4120        <!-- Defines whether to animate the current View when the ViewAnimation
4121             is first displayed. -->
4122        <attr name="animateFirstView" format="boolean" />
4123    </declare-styleable>
4124    <declare-styleable name="ViewFlipper">
4125        <attr name="flipInterval" format="integer" min="0" />
4126        <!-- When true, automatically start animating -->
4127        <attr name="autoStart" format="boolean" />
4128    </declare-styleable>
4129    <declare-styleable name="AdapterViewAnimator">
4130        <!-- Identifier for the animation to use when a view is shown. -->
4131        <attr name="inAnimation" />
4132        <!-- Identifier for the animation to use when a view is hidden. -->
4133        <attr name="outAnimation" />
4134        <!--Defines whether the animator loops to the first view once it
4135        has reached the end of the list. -->
4136        <attr name="loopViews" format="boolean" />
4137        <!-- Defines whether to animate the current View when the ViewAnimation
4138        is first displayed. -->
4139        <attr name="animateFirstView" />
4140    </declare-styleable>
4141    <declare-styleable name="AdapterViewFlipper">
4142        <attr name="flipInterval" />
4143        <!-- When true, automatically start animating -->
4144        <attr name="autoStart" />
4145    </declare-styleable>
4146    <declare-styleable name="ViewSwitcher">
4147    </declare-styleable>
4148    <declare-styleable name="ScrollView">
4149        <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
4150        <attr name="fillViewport" format="boolean" />
4151    </declare-styleable>
4152    <declare-styleable name="HorizontalScrollView">
4153        <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
4154        <attr name="fillViewport" />
4155    </declare-styleable>
4156    <declare-styleable name="Spinner">
4157        <!-- The prompt to display when the spinner's dialog is shown. -->
4158        <attr name="prompt" format="reference" />
4159        <!-- Display mode for spinner options. -->
4160        <attr name="spinnerMode" format="enum">
4161            <!-- Spinner options will be presented to the user as a dialog window. -->
4162            <enum name="dialog" value="0" />
4163            <!-- Spinner options will be presented to the user as an inline dropdown
4164                 anchored to the spinner widget itself. -->
4165            <enum name="dropdown" value="1" />
4166        </attr>
4167        <!-- List selector to use for spinnerMode="dropdown" display. -->
4168        <attr name="dropDownSelector" />
4169        <!-- Background drawable to use for the dropdown in spinnerMode="dropdown". -->
4170        <attr name="popupBackground" />
4171        <!-- Window elevation to use for the dropdown in spinnerMode="dropdown". -->
4172        <attr name="popupElevation" />
4173        <!-- Vertical offset from the spinner widget for positioning the dropdown in
4174             spinnerMode="dropdown". -->
4175        <attr name="dropDownVerticalOffset" />
4176        <!-- Horizontal offset from the spinner widget for positioning the dropdown
4177             in spinnerMode="dropdown". -->
4178        <attr name="dropDownHorizontalOffset" />
4179        <!-- Width of the dropdown in spinnerMode="dropdown". -->
4180        <attr name="dropDownWidth" />
4181        <!-- Reference to a layout to use for displaying a prompt in the dropdown for
4182             spinnerMode="dropdown". This layout must contain a TextView with the id
4183             {@code @android:id/text1} to be populated with the prompt text. -->
4184        <attr name="popupPromptView" format="reference" />
4185        <!-- Gravity setting for positioning the currently selected item. -->
4186        <attr name="gravity" />
4187        <!-- Whether this spinner should mark child views as enabled/disabled when
4188             the spinner itself is enabled/disabled. -->
4189        <attr name="disableChildrenWhenDisabled" format="boolean" />
4190    </declare-styleable>
4191
4192    <declare-styleable name="DatePicker">
4193        <!-- The first year (inclusive), for example "1940".
4194             {@deprecated Use minDate instead.} -->
4195        <attr name="startYear" format="integer" />
4196        <!-- The last year (inclusive), for example "2010".
4197             {@deprecated Use maxDate instead.} -->
4198        <attr name="endYear" format="integer" />
4199        <!-- Whether the spinners are shown. -->
4200        <attr name="spinnersShown" format="boolean" />
4201        <!-- Whether the calendar view is shown. -->
4202        <attr name="calendarViewShown" format="boolean" />
4203        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
4204        <attr name="minDate" format="string" />
4205        <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. -->
4206        <attr name="maxDate" format="string" />
4207        <!-- @hide The layout of the date picker. -->
4208        <attr name="internalLayout" format="reference"  />
4209        <!-- @hide The layout of the legacy DatePicker. -->
4210        <attr name="legacyLayout" />
4211        <!-- @hide Enables or disable the use of the legacy layout for the DatePicker. -->
4212        <attr name="legacyMode" />
4213        <!-- The background color for the date selector 's day of week. -->
4214        <attr name="dayOfWeekBackgroundColor" format="color" />
4215        <!-- The text color for the date selector's day of week. -->
4216        <attr name="dayOfWeekTextAppearance" format="reference" />
4217        <!-- The month's text appearance in the date selector. -->
4218        <attr name="headerMonthTextAppearance" format="reference" />
4219        <!-- The day of month's text appearance in the date selector. -->
4220        <attr name="headerDayOfMonthTextAppearance" format="reference" />
4221        <!-- The year's text appearance in the date selector. -->
4222        <attr name="headerYearTextAppearance" format="reference" />
4223        <!-- The background color for the date selector. -->
4224        <attr name="headerBackgroundColor" />
4225        <!-- @hide The selected text color for the date selector. Used as a
4226             backup if the text appearance does not explicitly have a color
4227             set for the selected state. -->
4228        <attr name="headerSelectedTextColor" />
4229        <!-- The list year's text appearance in the list. -->
4230        <attr name="yearListItemTextAppearance" format="reference" />
4231        <!-- The list year's selected circle color in the list. -->
4232        <attr name="yearListSelectorColor" format="color" />
4233        <!-- The text color list of the calendar. -->
4234        <attr name="calendarTextColor" format="color" />
4235        <!-- @hide The selected text color for the calendar. Used as a backup
4236             if the text color does not explicitly have a color set for the
4237             selected state. -->
4238        <attr name="calendarSelectedTextColor" format="color" />
4239    </declare-styleable>
4240
4241    <declare-styleable name="TwoLineListItem">
4242        <attr name="mode">
4243            <!-- Always show only the first line. -->
4244            <enum name="oneLine" value="1" />
4245            <!-- When selected show both lines, otherwise show only the first line.
4246                 This is the default mode. -->
4247            <enum name="collapsing" value="2" />
4248            <!-- Always show both lines. -->
4249            <enum name="twoLine" value="3" />
4250        </attr>
4251    </declare-styleable>
4252
4253    <!-- SlidingDrawer specific attributes. These attributes are used to configure
4254         a SlidingDrawer from XML. -->
4255    <declare-styleable name="SlidingDrawer">
4256        <!-- Identifier for the child that represents the drawer's handle. -->
4257        <attr name="handle" format="reference" />
4258        <!-- Identifier for the child that represents the drawer's content. -->
4259        <attr name="content" format="reference" />
4260        <!-- Orientation of the SlidingDrawer. -->
4261        <attr name="orientation" />
4262        <!-- Extra offset for the handle at the bottom of the SlidingDrawer. -->
4263        <attr name="bottomOffset" format="dimension"  />
4264        <!-- Extra offset for the handle at the top of the SlidingDrawer. -->
4265        <attr name="topOffset" format="dimension"  />
4266        <!-- Indicates whether the drawer can be opened/closed by a single tap
4267             on the handle.  (If false, the user must drag or fling, or click
4268             using the trackball, to open/close the drawer.)  Default is true. -->
4269        <attr name="allowSingleTap" format="boolean" />
4270        <!-- Indicates whether the drawer should be opened/closed with an animation
4271             when the user clicks the handle. Default is true. -->
4272        <attr name="animateOnClick" format="boolean" />
4273    </declare-styleable>
4274
4275    <!-- GestureOverlayView specific attributes. These attributes are used to configure
4276         a GestureOverlayView from XML. -->
4277    <declare-styleable name="GestureOverlayView">
4278        <!-- Width of the stroke used to draw the gesture. -->
4279        <attr name="gestureStrokeWidth" format="float" />
4280        <!-- Color used to draw a gesture. -->
4281        <attr name="gestureColor" format="color" />
4282        <!-- Color used to draw the user's strokes until we are sure it's a gesture. -->
4283        <attr name="uncertainGestureColor" format="color" />
4284        <!-- Time, in milliseconds, to wait before the gesture fades out after the user
4285             is done drawing it. -->
4286        <attr name="fadeOffset" format="integer" />
4287        <!-- Duration, in milliseconds, of the fade out effect after the user is done
4288             drawing a gesture. -->
4289        <attr name="fadeDuration" format="integer" />
4290        <!-- Defines the type of strokes that define a gesture. -->
4291        <attr name="gestureStrokeType">
4292            <!-- A gesture is made of only one stroke. -->
4293            <enum name="single" value="0" />
4294            <!-- A gesture is made of multiple strokes. -->
4295            <enum name="multiple" value="1" />
4296        </attr>
4297        <!-- Minimum length of a stroke before it is recognized as a gesture. -->
4298        <attr name="gestureStrokeLengthThreshold" format="float" />
4299        <!-- Squareness threshold of a stroke before it is recognized as a gesture. -->
4300        <attr name="gestureStrokeSquarenessThreshold" format="float" />
4301        <!-- Minimum curve angle a stroke must contain before it is recognized as a gesture. -->
4302        <attr name="gestureStrokeAngleThreshold" format="float" />
4303        <!-- Defines whether the overlay should intercept the motion events when a gesture
4304             is recognized. -->
4305        <attr name="eventsInterceptionEnabled" format="boolean" />
4306        <!-- Defines whether the gesture will automatically fade out after being recognized. -->
4307        <attr name="fadeEnabled" format="boolean" />
4308        <!-- Indicates whether horizontal (when the orientation is vertical) or vertical
4309             (when orientation is horizontal) strokes automatically define a gesture. -->
4310        <attr name="orientation" />
4311    </declare-styleable>
4312
4313    <declare-styleable name="QuickContactBadge">
4314        <attr name="quickContactWindowSize">
4315            <enum name="modeSmall" value="1" />
4316            <enum name="modeMedium" value="2" />
4317            <enum name="modeLarge" value="3" />
4318        </attr>
4319    </declare-styleable>
4320
4321    <!-- ======================================= -->
4322    <!-- Widget package parent layout attributes -->
4323    <!-- ======================================= -->
4324    <eat-comment />
4325
4326    <declare-styleable name="AbsoluteLayout_Layout">
4327        <attr name="layout_x" format="dimension" />
4328        <attr name="layout_y" format="dimension" />
4329    </declare-styleable>
4330    <declare-styleable name="LinearLayout_Layout">
4331        <attr name="layout_width" />
4332        <attr name="layout_height" />
4333        <attr name="layout_weight" format="float" />
4334        <attr name="layout_gravity" />
4335    </declare-styleable>
4336    <declare-styleable name="GridLayout_Layout">
4337        <!-- The row boundary delimiting the top of the group of cells
4338        occupied by this view. -->
4339        <attr name="layout_row" format="integer" />
4340        <!-- The row span: the difference between the bottom and top
4341        boundaries delimiting the group of cells occupied by this view.
4342        The default is one.
4343        See {@link android.widget.GridLayout.Spec}. -->
4344        <attr name="layout_rowSpan" format="integer" min="1" />
4345        <!-- The relative proportion of horizontal space that should be allocated to this view
4346        during excess space distribution. -->
4347        <attr name="layout_rowWeight" format="float" />
4348        <!-- The column boundary delimiting the left of the group of cells
4349        occupied by this view. -->
4350        <attr name="layout_column" />
4351        <!-- The column span: the difference between the right and left
4352        boundaries delimiting the group of cells occupied by this view.
4353        The default is one.
4354        See {@link android.widget.GridLayout.Spec}. -->
4355        <attr name="layout_columnSpan" format="integer" min="1" />
4356        <!-- The relative proportion of vertical space that should be allocated to this view
4357        during excess space distribution. -->
4358        <attr name="layout_columnWeight" format="float" />
4359        <!-- Gravity specifies how a component should be placed in its group of cells.
4360        The default is LEFT | BASELINE.
4361        See {@link android.widget.GridLayout.LayoutParams#setGravity(int)}. -->
4362        <attr name="layout_gravity" />
4363    </declare-styleable>
4364    <declare-styleable name="FrameLayout_Layout">
4365        <attr name="layout_gravity" />
4366    </declare-styleable>
4367    <declare-styleable name="RelativeLayout_Layout">
4368        <!-- Positions the right edge of this view to the left of the given anchor view ID.
4369             Accommodates right margin of this view and left margin of anchor view. -->
4370        <attr name="layout_toLeftOf" format="reference" />
4371        <!-- Positions the left edge of this view to the right of the given anchor view ID.
4372            Accommodates left margin of this view and right margin of anchor view. -->
4373        <attr name="layout_toRightOf" format="reference" />
4374        <!-- Positions the bottom edge of this view above the given anchor view ID.
4375            Accommodates bottom margin of this view and top margin of anchor view. -->
4376        <attr name="layout_above" format="reference" />
4377        <!-- Positions the top edge of this view below the given anchor view ID.
4378            Accommodates top margin of this view and bottom margin of anchor view. -->
4379        <attr name="layout_below" format="reference" />
4380        <!-- Positions the baseline of this view on the baseline of the given anchor view ID. -->
4381        <attr name="layout_alignBaseline" format="reference" />
4382        <!-- Makes the left edge of this view match the left edge of the given anchor view ID.
4383            Accommodates left margin. -->
4384        <attr name="layout_alignLeft" format="reference" />
4385        <!-- Makes the top edge of this view match the top edge of the given anchor view ID.
4386            Accommodates top margin. -->
4387        <attr name="layout_alignTop" format="reference" />
4388        <!-- Makes the right edge of this view match the right edge of the given anchor view ID.
4389            Accommodates right margin. -->
4390        <attr name="layout_alignRight" format="reference" />
4391        <!-- Makes the bottom edge of this view match the bottom edge of the given anchor view ID.
4392            Accommodates bottom margin. -->
4393        <attr name="layout_alignBottom" format="reference" />
4394        <!-- If true, makes the left edge of this view match the left edge of the parent.
4395            Accommodates left margin. -->
4396        <attr name="layout_alignParentLeft" format="boolean" />
4397        <!-- If true, makes the top edge of this view match the top edge of the parent.
4398            Accommodates top margin. -->
4399        <attr name="layout_alignParentTop" format="boolean" />
4400        <!-- If true, makes the right edge of this view match the right edge of the parent.
4401            Accommodates right margin. -->
4402        <attr name="layout_alignParentRight" format="boolean" />
4403        <!-- If true, makes the bottom edge of this view match the bottom edge of the parent.
4404            Accommodates bottom margin. -->
4405        <attr name="layout_alignParentBottom" format="boolean" />
4406        <!-- If true, centers this child horizontally and vertically within its parent. -->
4407        <attr name="layout_centerInParent" format="boolean" />
4408        <!-- If true, centers this child horizontally within its parent. -->
4409        <attr name="layout_centerHorizontal" format="boolean" />
4410        <!-- If true, centers this child vertically within its parent. -->
4411        <attr name="layout_centerVertical" format="boolean" />
4412        <!-- If set to true, the parent will be used as the anchor when the anchor cannot be
4413             be found for layout_toLeftOf, layout_toRightOf, etc. -->
4414        <attr name="layout_alignWithParentIfMissing" format="boolean" />
4415        <!-- Positions the end edge of this view to the start of the given anchor view ID.
4416             Accommodates end margin of this view and start margin of anchor view. -->
4417        <attr name="layout_toStartOf" format="reference" />
4418        <!-- Positions the start edge of this view to the end of the given anchor view ID.
4419             Accommodates start margin of this view and end margin of anchor view. -->
4420        <attr name="layout_toEndOf" format="reference" />
4421        <!-- Makes the start edge of this view match the start edge of the given anchor view ID.
4422            Accommodates start margin. -->
4423        <attr name="layout_alignStart" format="reference" />
4424        <!-- Makes the end edge of this view match the end edge of the given anchor view ID.
4425            Accommodates end margin. -->
4426        <attr name="layout_alignEnd" format="reference" />
4427        <!-- If true, makes the start edge of this view match the start edge of the parent.
4428            Accommodates start margin. -->
4429        <attr name="layout_alignParentStart" format="boolean" />
4430        <!-- If true, makes the end edge of this view match the end edge of the parent.
4431            Accommodates end margin. -->
4432        <attr name="layout_alignParentEnd" format="boolean" />
4433    </declare-styleable>
4434    <declare-styleable name="VerticalSlider_Layout">
4435        <attr name="layout_scale" format="float" />
4436    </declare-styleable>
4437
4438    <!-- attributes for internal rotary widget used in lock screen and phone app
4439      @hide -->
4440    <declare-styleable name="RotarySelector">
4441        <!-- Use "horizontal" or "vertical".  The default is horizontal. -->
4442        <attr name="orientation" />
4443    </declare-styleable>
4444
4445    <!-- @hide -->
4446    <declare-styleable name="WeightedLinearLayout">
4447        <attr name="majorWeightMin" format="float" />
4448        <attr name="minorWeightMin" format="float" />
4449        <attr name="majorWeightMax" format="float" />
4450        <attr name="minorWeightMax" format="float" />
4451    </declare-styleable>
4452
4453    <declare-styleable name="CalendarView">
4454        <!-- The first day of week according to {@link java.util.Calendar}. -->
4455        <attr name="firstDayOfWeek" format="integer" />
4456        <!-- Whether do show week numbers. -->
4457        <attr name="showWeekNumber" format="boolean" />
4458        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
4459        <attr name="minDate" />
4460        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
4461        <attr name="maxDate" />
4462        <!-- The number of weeks to be shown. -->
4463        <attr name="shownWeekCount" format="integer"/>
4464        <!-- The background color for the selected week. -->
4465        <attr name="selectedWeekBackgroundColor" format="color|reference" />
4466        <!-- The color for the dates of the focused month. -->
4467        <attr name="focusedMonthDateColor" format="color|reference" />
4468        <!-- The color for the dates of an unfocused month. -->
4469        <attr name="unfocusedMonthDateColor" format="color|reference" />
4470        <!-- The color for the week numbers. -->
4471        <attr name="weekNumberColor" format="color|reference" />
4472        <!-- The color for the separator line between weeks. -->
4473        <attr name="weekSeparatorLineColor" format="color|reference" />
4474        <!-- Drawable for the vertical bar shown at the beginning and at the end of the selected date. -->
4475        <attr name="selectedDateVerticalBar" format="reference" />
4476        <!-- The text appearance for the week day abbreviation of the calendar header. -->
4477        <attr name="weekDayTextAppearance" format="reference" />
4478        <!-- The text appearance for the calendar dates. -->
4479        <attr name="dateTextAppearance" format="reference" />
4480    </declare-styleable>
4481
4482    <declare-styleable name="NumberPicker">
4483        <!-- @hide Color for the solid color background if such for optimized rendering. -->
4484        <attr name="solidColor" format="color|reference" />
4485        <!-- @hide The divider for making the selection area. -->
4486        <attr name="selectionDivider" format="reference" />
4487        <!-- @hide The height of the selection divider. -->
4488        <attr name="selectionDividerHeight" format="dimension" />
4489        <!-- @hide The distance between the two selection dividers. -->
4490        <attr name="selectionDividersDistance" format="dimension" />
4491        <!-- @hide The min height of the NumberPicker. -->
4492        <attr name="internalMinHeight" format="dimension" />
4493        <!-- @hide The max height of the NumberPicker. -->
4494        <attr name="internalMaxHeight" format="dimension" />
4495        <!-- @hide The min width of the NumberPicker. -->
4496        <attr name="internalMinWidth" format="dimension" />
4497        <!-- @hide The max width of the NumberPicker. -->
4498        <attr name="internalMaxWidth" format="dimension" />
4499        <!-- @hide The layout of the number picker. -->
4500        <attr name="internalLayout" />
4501        <!-- @hide The drawable for pressed virtual (increment/decrement) buttons. -->
4502        <attr name="virtualButtonPressedDrawable" format="reference"/>
4503        <!-- @hide If true then the selector wheel is hidden until the picker has focus. -->
4504        <attr name="hideWheelUntilFocused" format="boolean"/>
4505    </declare-styleable>
4506
4507    <declare-styleable name="TimePicker">
4508        <!-- @hide Enables or disable the use of the legacy layout for the TimePicker. -->
4509        <attr name="legacyMode" format="boolean" />
4510        <!-- @hide The layout of the legacy time picker. -->
4511        <attr name="legacyLayout" format="reference" />
4512        <!-- @hide The layout of the time picker. -->
4513        <attr name="internalLayout" />
4514        <!-- The text appearance for the AM/PM header of the TimePicker. -->
4515        <attr name="headerAmPmTextAppearance" format="reference" />
4516        <!-- The text appearance for the time header of the TimePicker. -->
4517        <attr name="headerTimeTextAppearance" format="reference" />
4518        <!-- @hide The text color for selected time header of the TimePicker.
4519             This will override the value from the text appearance if it does
4520             not explicitly have a color set for the selected state. -->
4521        <attr name="headerSelectedTextColor" format="color" />
4522        <!-- The background color for the header of the TimePicker. -->
4523        <attr name="headerBackgroundColor" format="color" />
4524        <!-- The color for the hours/minutes numbers of the TimePicker. -->
4525        <attr name="numbersTextColor" format="color" />
4526        <!-- The background color for the hours/minutes numbers of the TimePicker. -->
4527        <attr name="numbersBackgroundColor" format="color" />
4528        <!-- The color for the AM/PM selectors of the TimePicker. -->
4529        <attr name="amPmTextColor" format="color" />
4530        <!-- The background color state list for the AM/PM selectors of the TimePicker. -->
4531        <attr name="amPmBackgroundColor" format="color" />
4532        <!-- @hide The background color for the AM/PM selectors of the
4533             TimePicker when selected. Used if the background color does not
4534             explicitly have a color set for the selected state. -->
4535        <attr name="amPmSelectedBackgroundColor" format="color" />
4536        <!-- The color for the hours/minutes selector of the TimePicker. -->
4537        <attr name="numbersSelectorColor" format="color" />
4538    </declare-styleable>
4539
4540    <!-- ========================= -->
4541    <!-- Drawable class attributes -->
4542    <!-- ========================= -->
4543    <eat-comment />
4544
4545    <!-- Base attributes that are available to all Drawable objects. -->
4546    <declare-styleable name="Drawable">
4547        <!-- Provides initial visibility state of the drawable; the default
4548             value is false.  See
4549             {@link android.graphics.drawable.Drawable#setVisible}. -->
4550        <attr name="visible" format="boolean" />
4551        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
4552             RTL (right-to-left).  See
4553             {@link android.graphics.drawable.Drawable#setAutoMirrored}. -->
4554        <attr name="autoMirrored" format="boolean" />
4555    </declare-styleable>
4556
4557    <!-- Drawable used to render several states. Each state is represented by
4558         a child drawable. -->
4559    <declare-styleable name="StateListDrawable">
4560        <!-- Indicates whether the drawable should be initially visible. -->
4561        <attr name="visible" />
4562        <!-- If true, allows the drawable's padding to change based on the
4563             current state that is selected.  If false, the padding will
4564             stay the same (based on the maximum padding of all the states).
4565             Enabling this feature requires that the owner of the drawable
4566             deal with performing layout when the state changes, which is
4567             often not supported. -->
4568        <attr name="variablePadding" format="boolean" />
4569        <!-- If true, the drawable's reported internal size will remain
4570             constant as the state changes; the size is the maximum of all
4571             of the states.  If false, the size will vary based on the
4572             current state. -->
4573        <attr name="constantSize" format="boolean" />
4574        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
4575             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
4576             an RGB 565 screen). -->
4577        <attr name="dither" format="boolean" />
4578        <!-- Amount of time (in milliseconds) to fade in a new state drawable. -->
4579        <attr name="enterFadeDuration" format="integer" />
4580        <!-- Amount of time (in milliseconds) to fade out an old state drawable. -->
4581        <attr name="exitFadeDuration" format="integer" />
4582        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
4583             RTL (right-to-left). -->
4584        <attr name="autoMirrored"/>
4585    </declare-styleable>
4586
4587    <!-- Drawable used to render several states with animated transitions. Each state
4588         is represented by a child drawable with an optional keyframe ID. -->
4589    <declare-styleable name="AnimatedStateListDrawable">
4590        <!-- Indicates whether the drawable should be initially visible. -->
4591        <attr name="visible" />
4592        <!-- If true, allows the drawable's padding to change based on the
4593             current state that is selected.  If false, the padding will
4594             stay the same (based on the maximum padding of all the states).
4595             Enabling this feature requires that the owner of the drawable
4596             deal with performing layout when the state changes, which is
4597             often not supported. -->
4598        <attr name="variablePadding" />
4599        <!-- If true, the drawable's reported internal size will remain
4600             constant as the state changes; the size is the maximum of all
4601             of the states.  If false, the size will vary based on the
4602             current state. -->
4603        <attr name="constantSize" />
4604        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
4605             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
4606             an RGB 565 screen). -->
4607        <attr name="dither" />
4608        <!-- Amount of time (in milliseconds) to fade in a new state drawable. -->
4609        <attr name="enterFadeDuration" />
4610        <!-- Amount of time (in milliseconds) to fade out an old state drawable. -->
4611        <attr name="exitFadeDuration" />
4612        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
4613             RTL (right-to-left). -->
4614        <attr name="autoMirrored"/>
4615    </declare-styleable>
4616
4617    <!-- Transition used to animate between states with keyframe IDs. -->
4618    <declare-styleable name="AnimatedStateListDrawableItem">
4619        <!-- Reference to a drawable resource to use for the frame.  If not
4620             given, the drawable must be defined by the first child tag. -->
4621        <attr name="drawable" />
4622        <!-- Keyframe identifier for use in specifying transitions. -->
4623        <attr name="id" />
4624    </declare-styleable>
4625
4626    <!-- Transition used to animate between states with keyframe IDs. -->
4627    <declare-styleable name="AnimatedStateListDrawableTransition">
4628        <!-- Keyframe identifier for the starting state. -->
4629        <attr name="fromId" format="reference" />
4630        <!-- Keyframe identifier for the ending state. -->
4631        <attr name="toId" format="reference" />
4632        <!-- Reference to a animation drawable resource to use for the frame.  If not
4633             given, the animation drawable must be defined by the first child tag. -->
4634        <attr name="drawable" />
4635        <!-- Whether this transition is reversible. -->
4636        <attr name="reversible" format="boolean" />
4637    </declare-styleable>
4638
4639    <!-- Drawable used to render several animated frames. -->
4640    <declare-styleable name="AnimationDrawable">
4641        <attr name="visible" />
4642        <attr name="variablePadding" />
4643        <!-- If true, the animation will only run a single time and then
4644             stop.  If false (the default), it will continually run,
4645             restarting at the first frame after the last has finished. -->
4646        <attr name="oneshot" format="boolean" />
4647    </declare-styleable>
4648
4649    <!-- Represents a single frame inside an AnimationDrawable. -->
4650    <declare-styleable name="AnimationDrawableItem">
4651        <!-- Amount of time (in milliseconds) to display this frame. -->
4652        <attr name="duration" format="integer" />
4653        <!-- Reference to a drawable resource to use for the frame.  If not
4654             given, the drawable must be defined by the first child tag. -->
4655        <attr name="drawable" format="reference" />
4656    </declare-styleable>
4657
4658    <!-- Attributes that can be assigned to a StateListAnimator item. -->
4659    <declare-styleable name="StateListAnimatorItem">
4660        <attr name="animation"/>
4661    </declare-styleable>
4662
4663    <!-- Drawable used to render a geometric shape, with a gradient or a solid color. -->
4664    <declare-styleable name="GradientDrawable">
4665        <!-- Indicates whether the drawable should intially be visible. -->
4666        <attr name="visible" />
4667        <!-- Enables or disables dithering. -->
4668        <attr name="dither" />
4669        <!-- Indicates what shape to fill with a gradient. -->
4670        <attr name="shape">
4671            <!-- Rectangle shape, with optional rounder corners. -->
4672            <enum name="rectangle" value="0" />
4673            <!-- Oval shape. -->
4674            <enum name="oval" value="1" />
4675            <!-- Line shape. -->
4676            <enum name="line" value="2" />
4677            <!-- Ring shape. -->
4678            <enum name="ring" value="3" />
4679        </attr>
4680        <!-- Inner radius of the ring expressed as a ratio of the ring's width. For instance,
4681             if innerRadiusRatio=9, then the inner radius equals the ring's width divided by 9.
4682             This value is ignored if innerRadius is defined. Default value is 9. -->
4683        <attr name="innerRadiusRatio" format="float" />
4684        <!-- Thickness of the ring expressed as a ratio of the ring's width. For instance,
4685             if thicknessRatio=3, then the thickness equals the ring's width divided by 3.
4686             This value is ignored if innerRadius is defined. Default value is 3. -->
4687        <attr name="thicknessRatio" format="float" />
4688        <!-- Inner radius of the ring. When defined, innerRadiusRatio is ignored. -->
4689        <attr name="innerRadius" format="dimension" />
4690        <!-- Thickness of the ring. When defined, thicknessRatio is ignored. -->
4691        <attr name="thickness" format="dimension" />
4692        <!-- Indicates whether the drawable's level affects the way the gradient is drawn. -->
4693        <attr name="useLevel" />
4694    </declare-styleable>
4695
4696    <!-- Used to specify the size of the shape for GradientDrawable. -->
4697    <declare-styleable name="GradientDrawableSize">
4698        <!-- Width of the gradient shape. -->
4699        <attr name="width" />
4700        <!-- Height of the gradient shape. -->
4701        <attr name="height" />
4702    </declare-styleable>
4703
4704    <!-- Used to describe the gradient used to fill the shape of a GradientDrawable. -->
4705    <declare-styleable name="GradientDrawableGradient">
4706        <!-- Start color of the gradient. -->
4707        <attr name="startColor" format="color" />
4708        <!-- Optional center color. For linear gradients, use centerX or centerY
4709             to place the center color. -->
4710        <attr name="centerColor" format="color" />
4711        <!-- End color of the gradient. -->
4712        <attr name="endColor" format="color" />
4713        <attr name="useLevel" format="boolean" />
4714        <!-- Angle of the gradient. -->
4715        <attr name="angle" format="float" />
4716        <!-- Type of gradient. The default type is linear. -->
4717        <attr name="type">
4718            <!-- Linear gradient. -->
4719            <enum name="linear" value="0" />
4720            <!-- Radial, or circular, gradient. -->
4721            <enum name="radial" value="1" />
4722            <!-- Sweep, or angled or diamond, gradient. -->
4723            <enum name="sweep"  value="2" />
4724        </attr>
4725        <!-- X coordinate of the origin of the gradient within the shape. -->
4726        <attr name="centerX" format="float|fraction" />
4727        <!-- Y coordinate of the origin of the gradient within the shape. -->
4728        <attr name="centerY" format="float|fraction" />
4729        <!-- Radius of the gradient, used only with radial gradient. -->
4730        <attr name="gradientRadius" format="float|fraction" />
4731    </declare-styleable>
4732
4733    <!-- Used to fill the shape of GradientDrawable with a solid color. -->
4734    <declare-styleable name="GradientDrawableSolid">
4735        <!-- Solid color for the gradient shape. -->
4736        <attr name="color" format="color" />
4737    </declare-styleable>
4738
4739    <!-- Used to describe the optional stroke of a GradientDrawable. -->
4740    <declare-styleable name="GradientDrawableStroke">
4741        <!-- Width of the gradient shape's stroke. -->
4742        <attr name="width" />
4743        <!-- Color of the gradient shape's stroke. -->
4744        <attr name="color" />
4745        <!-- Length of a dash in the stroke. -->
4746        <attr name="dashWidth" format="dimension" />
4747        <!-- Gap between dashes in the stroke. -->
4748        <attr name="dashGap" format="dimension" />
4749    </declare-styleable>
4750
4751    <!-- Describes the corners for the rectangle shape of a GradientDrawable.
4752         This can be used to render rounded corners. -->
4753    <declare-styleable name="DrawableCorners">
4754        <!-- Defines the radius of the four corners. -->
4755        <attr name="radius" format="dimension" />
4756        <!-- Radius of the top left corner. -->
4757        <attr name="topLeftRadius" format="dimension" />
4758        <!-- Radius of the top right corner. -->
4759        <attr name="topRightRadius" format="dimension" />
4760        <!-- Radius of the bottom left corner. -->
4761        <attr name="bottomLeftRadius" format="dimension" />
4762        <!-- Radius of the bottom right corner. -->
4763        <attr name="bottomRightRadius" format="dimension" />
4764    </declare-styleable>
4765
4766    <!-- Used to specify the optional padding of a GradientDrawable. -->
4767    <declare-styleable name="GradientDrawablePadding">
4768        <!-- Amount of left padding inside the gradient shape. -->
4769        <attr name="left" format="dimension" />
4770        <!-- Amount of top padding inside the gradient shape. -->
4771        <attr name="top" format="dimension" />
4772        <!-- Amount of right padding inside the gradient shape. -->
4773        <attr name="right" format="dimension" />
4774        <!-- Amount of bottom padding inside the gradient shape. -->
4775        <attr name="bottom" format="dimension" />
4776    </declare-styleable>
4777
4778    <!-- Drawable used to render several drawables stacked on top of each other.
4779         Each child drawable can be controlled individually. -->
4780    <declare-styleable name="LayerDrawable">
4781        <!-- Indicates the opacity of the layer. This can be useful to allow the
4782              system to enable drawing optimizations. The default value is
4783              translucent. -->
4784        <attr name="opacity">
4785            <!-- Indicates that the layer is opaque and contains no transparent
4786                 nor translucent pixels. -->
4787            <enum name="opaque" value="-1" />
4788            <!-- The layer is completely transparent (no pixel will be drawn.) -->
4789            <enum name="transparent" value="-2" />
4790            <!-- The layer has translucent pixels. -->
4791            <enum name="translucent" value="-3" />
4792        </attr>
4793        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
4794             RTL (right-to-left). -->
4795        <attr name="autoMirrored" />
4796        <!-- Indicates how layer padding should affect the bounds of subsequent layers.
4797             The default padding mode value is nest. -->
4798        <attr name="paddingMode">
4799            <!-- Nest each layer inside the padding of the previous layer. -->
4800            <enum name="nest" value="0" />
4801            <!-- Stack each layer directly atop the previous layer. -->
4802            <enum name="stack" value="1" />
4803        </attr>
4804    </declare-styleable>
4805
4806    <!-- Describes an item (or child) of a LayerDrawable. -->
4807    <declare-styleable name="LayerDrawableItem">
4808        <!-- Left coordinate of the layer. -->
4809        <attr name="left" />
4810        <!-- Top coordinate of the layer. -->
4811        <attr name="top" />
4812        <!-- Right coordinate of the layer. -->
4813        <attr name="right" />
4814        <!-- Bottom coordinate of the layer. -->
4815        <attr name="bottom" />
4816        <!-- Drawable used to render the layer. -->
4817        <attr name="drawable" />
4818        <!-- Identifier of the layer. This can be used to retrieve the layer
4819             from a drawable container. -->
4820        <attr name="id" />
4821    </declare-styleable>
4822
4823    <declare-styleable name="LevelListDrawableItem">
4824        <!-- The minimum level allowed for this item. -->
4825        <attr name="minLevel" format="integer" />
4826        <!-- The maximum level allowed for this item. -->
4827        <attr name="maxLevel" format="integer" />
4828        <attr name="drawable" />
4829    </declare-styleable>
4830
4831    <!-- Drawable used to rotate another drawable. -->
4832    <declare-styleable name="RotateDrawable">
4833        <attr name="visible" />
4834        <attr name="fromDegrees" format="float" />
4835        <attr name="toDegrees" format="float" />
4836        <attr name="pivotX" format="float|fraction" />
4837        <attr name="pivotY" format="float|fraction" />
4838        <attr name="drawable" />
4839    </declare-styleable>
4840
4841    <declare-styleable name="AnimatedRotateDrawable">
4842        <attr name="visible" />
4843        <attr name="frameDuration" format="integer" />
4844        <attr name="framesCount" format="integer" />
4845        <attr name="pivotX" />
4846        <attr name="pivotY" />
4847        <attr name="drawable" />
4848    </declare-styleable>
4849
4850    <!-- Drawable used to render the Material progress indicator. -->
4851    <declare-styleable name="MaterialProgressDrawable">
4852        <attr name="visible" />
4853        <attr name="thickness" />
4854        <attr name="innerRadius" />
4855        <attr name="width" />
4856        <attr name="height" />
4857        <attr name="color" />
4858    </declare-styleable>
4859
4860    <declare-styleable name="InsetDrawable">
4861        <attr name="visible" />
4862        <attr name="drawable" />
4863        <attr name="insetLeft" format="dimension" />
4864        <attr name="insetRight" format="dimension" />
4865        <attr name="insetTop" format="dimension" />
4866        <attr name="insetBottom" format="dimension" />
4867    </declare-styleable>
4868
4869    <!-- Drawable used to draw bitmaps. -->
4870    <declare-styleable name="BitmapDrawable">
4871        <!-- Identifier of the bitmap file. This attribute is mandatory. -->
4872        <attr name="src" />
4873        <!-- Enables or disables antialiasing. Antialiasing can be used to smooth the
4874             edges of a bitmap when rotated. Default value is false. -->
4875        <attr name="antialias" format="boolean" />
4876        <!-- Enables or disables bitmap filtering. Filtering is used when the bitmap is
4877             shrunk or stretched to smooth its apperance. Default value is true. -->
4878        <attr name="filter" format="boolean" />
4879        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
4880             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
4881             an RGB 565 screen). Default value is true. -->
4882        <attr name="dither" />
4883        <!-- Defines the gravity for the bitmap. The gravity indicates where to position
4884             the drawable in its container if the bitmap is smaller than the container. -->
4885        <attr name="gravity" />
4886        <!-- Defines the tile mode. When the tile mode is enabled, the bitmap is repeated.
4887             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
4888        <attr name="tileMode">
4889            <!-- Do not tile the bitmap. This is the default value. -->
4890            <enum name="disabled" value="-1" />
4891            <!-- Replicates the edge color. -->
4892            <enum name="clamp" value="0" />
4893            <!-- Repeats the bitmap in both direction. -->
4894            <enum name="repeat" value="1" />
4895            <!-- Repeats the shader's image horizontally and vertically, alternating
4896                 mirror images so that adjacent images always seam. -->
4897            <enum name="mirror" value="2" />
4898        </attr>
4899        <!-- Defines the horizontal tile mode. When the tile mode is enabled, the bitmap is repeated.
4900             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
4901        <attr name="tileModeX">
4902            <!-- Do not tile the bitmap. This is the default value. -->
4903            <enum name="disabled" value="-1" />
4904            <!-- Replicates the edge color. -->
4905            <enum name="clamp" value="0" />
4906            <!-- Repeats the bitmap horizontally. -->
4907            <enum name="repeat" value="1" />
4908            <!-- Repeats the shader's image horizontally, alternating
4909                 mirror images so that adjacent images always seam. -->
4910            <enum name="mirror" value="2" />
4911        </attr>
4912        <!-- Defines the vertical tile mode. When the tile mode is enabled, the bitmap is repeated.
4913             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
4914        <attr name="tileModeY">
4915            <!-- Do not tile the bitmap. This is the default value. -->
4916            <enum name="disabled" value="-1" />
4917            <!-- Replicates the edge color. -->
4918            <enum name="clamp" value="0" />
4919            <!-- Repeats the bitmap vertically. -->
4920            <enum name="repeat" value="1" />
4921            <!-- Repeats the shader's image vertically, alternating
4922                 mirror images so that adjacent images always seam. -->
4923            <enum name="mirror" value="2" />
4924        </attr>
4925        <!-- Enables or disables the mipmap hint. See
4926            {@link android.graphics.Bitmap#setHasMipMap(boolean)} for more information.
4927            Default value is false. -->
4928        <attr name="mipMap" format="boolean" />
4929        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
4930             RTL (right-to-left). -->
4931        <attr name="autoMirrored" />
4932        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
4933             no tint is applied. May be a color state list. -->
4934        <attr name="tint" />
4935        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
4936             default value is src_in, which treats the drawable as an alpha mask. -->
4937        <attr name="tintMode">
4938            <!-- The tint is drawn on top of the drawable.
4939                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4940            <enum name="src_over" value="3" />
4941            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4942                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4943            <enum name="src_in" value="5" />
4944            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4945                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4946            <enum name="src_atop" value="9" />
4947            <!-- Multiplies the color and alpha channels of the drawable with those of
4948                 the tint. [Sa * Da, Sc * Dc] -->
4949            <enum name="multiply" value="14" />
4950            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4951            <enum name="screen" value="15" />
4952            <!-- Combines the tint and drawable color and alpha channels, clamping the
4953                 result to valid color values. Saturate(S + D) -->
4954            <enum name="add" value="16" />
4955        </attr>
4956        <!-- Specifies the alpha multiplier to apply to the base drawable. -->
4957        <attr name="alpha" />
4958    </declare-styleable>
4959
4960    <!-- Drawable used to draw 9-patches. -->
4961    <declare-styleable name="NinePatchDrawable">
4962        <!-- Identifier of the bitmap file. This attribute is mandatory. -->
4963        <attr name="src" />
4964        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
4965             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
4966             an RGB 565 screen). -->
4967        <attr name="dither" />
4968        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
4969             RTL (right-to-left). -->
4970        <attr name="autoMirrored" />
4971        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
4972             no tint is applied. May be a color state list. -->
4973        <attr name="tint" />
4974        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
4975             default value is src_in, which treats the drawable as an alpha mask. -->
4976        <attr name="tintMode" />
4977        <!-- Specifies the alpha multiplier to apply to the base drawable. -->
4978        <attr name="alpha" />
4979    </declare-styleable>
4980
4981    <!-- Drawable used to draw a single color. -->
4982    <declare-styleable name="ColorDrawable">
4983        <!-- The color to use. -->
4984        <attr name="color" />
4985    </declare-styleable>
4986
4987    <!-- Drawable used to show animated touch feedback. -->
4988    <declare-styleable name="RippleDrawable">
4989        <!-- The color to use for ripple effects. This attribute is required. -->
4990        <attr name="color" />
4991    </declare-styleable>
4992
4993    <declare-styleable name="ScaleDrawable">
4994        <!-- Scale width, expressed as a percentage of the drawable's bound. The value's
4995             format is XX%. For instance: 100%, 12.5%, etc.-->
4996        <attr name="scaleWidth" format="string" />
4997        <!-- Scale height, expressed as a percentage of the drawable's bound. The value's
4998             format is XX%. For instance: 100%, 12.5%, etc.-->
4999        <attr name="scaleHeight" format="string" />
5000        <!-- Specifies where the drawable is positioned after scaling. The default value is
5001             left. -->
5002        <attr name="scaleGravity">
5003            <!-- Push object to the top of its container, not changing its size. -->
5004            <flag name="top" value="0x30" />
5005            <!-- Push object to the bottom of its container, not changing its size. -->
5006            <flag name="bottom" value="0x50" />
5007            <!-- Push object to the left of its container, not changing its size. -->
5008            <flag name="left" value="0x03" />
5009            <!-- Push object to the right of its container, not changing its size. -->
5010            <flag name="right" value="0x05" />
5011            <!-- Place object in the vertical center of its container, not changing its size. -->
5012            <flag name="center_vertical" value="0x10" />
5013            <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
5014            <flag name="fill_vertical" value="0x70" />
5015            <!-- Place object in the horizontal center of its container, not changing its size. -->
5016            <flag name="center_horizontal" value="0x01" />
5017            <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
5018            <flag name="fill_horizontal" value="0x07" />
5019            <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
5020            <flag name="center" value="0x11" />
5021            <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
5022            <flag name="fill" value="0x77" />
5023            <!-- Additional option that can be set to have the top and/or bottom edges of
5024                 the child clipped to its container's bounds.
5025                 The clip will be based on the vertical gravity: a top gravity will clip the bottom
5026                 edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
5027            <flag name="clip_vertical" value="0x80" />
5028            <!-- Additional option that can be set to have the left and/or right edges of
5029                 the child clipped to its container's bounds.
5030                 The clip will be based on the horizontal gravity: a left gravity will clip the right
5031                 edge, a right gravity will clip the left edge, and neither will clip both edges. -->
5032            <flag name="clip_horizontal" value="0x08" />
5033            <!-- Push object to the beginning of its container, not changing its size. -->
5034            <flag name="start" value="0x00800003" />
5035            <!-- Push object to the end of its container, not changing its size. -->
5036            <flag name="end" value="0x00800005" />
5037        </attr>
5038        <!-- Reference to a drawable resource to draw with the specified scale. -->
5039        <attr name="drawable" />
5040        <!-- Use the drawable's intrinsic width and height as minimum size values.
5041             Useful if the target drawable is a 9-patch or otherwise should not be scaled
5042             down beyond a minimum size. -->
5043        <attr name="useIntrinsicSizeAsMinimum" format="boolean" />
5044    </declare-styleable>
5045
5046    <declare-styleable name="ClipDrawable">
5047        <!-- The orientation for the clip. -->
5048        <attr name="clipOrientation">
5049            <!-- Clip the drawable horizontally. -->
5050            <flag name="horizontal" value="1" />
5051            <!-- Clip the drawable vertically. -->
5052            <flag name="vertical" value="2" />
5053        </attr>
5054        <!-- Specifies where to clip within the drawable. The default value is
5055             left. -->
5056        <attr name="gravity" />
5057        <!-- Reference to a drawable resource to draw with the specified scale. -->
5058        <attr name="drawable" />
5059    </declare-styleable>
5060
5061    <!-- Defines the padding of a ShapeDrawable. -->
5062    <declare-styleable name="ShapeDrawablePadding">
5063        <!-- Left padding. -->
5064        <attr name="left" />
5065        <!-- Top padding. -->
5066        <attr name="top" />
5067        <!-- Right padding. -->
5068        <attr name="right" />
5069        <!-- Bottom padding. -->
5070        <attr name="bottom" />
5071    </declare-styleable>
5072
5073    <!-- Drawable used to draw shapes. -->
5074    <declare-styleable name="ShapeDrawable">
5075        <!-- Defines the color of the shape. -->
5076        <attr name="color" />
5077        <!-- Defines the width of the shape. -->
5078        <attr name="width" />
5079        <!-- Defines the height of the shape. -->
5080        <attr name="height" />
5081        <!-- Enables or disables dithering. -->
5082        <attr name="dither" />
5083        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5084             no tint is applied. May be a color state list. -->
5085        <attr name="tint" />
5086        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5087             default value is src_in, which treats the drawable as an alpha mask. -->
5088        <attr name="tintMode" />
5089    </declare-styleable>
5090
5091    <!-- ========================== -->
5092    <!--   VectorDrawable class   -->
5093    <!-- ========================== -->
5094    <eat-comment />
5095
5096    <!-- Drawable used to draw vector paths. -->
5097    <declare-styleable name="VectorDrawable">
5098        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5099             no tint is applied. May be a color state list. -->
5100        <attr name="tint" />
5101        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5102             default value is src_in, which treats the drawable as an alpha mask. -->
5103        <attr name="tintMode" />
5104        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5105             RTL (right-to-left). -->
5106        <attr name="autoMirrored" />
5107        <!-- The intrinsic width of the Vector Drawable. -->
5108        <attr name="width" />
5109        <!-- The intrinsic height of the Vector Drawable. -->
5110        <attr name="height" />
5111        <!-- The width of the canvas the drawing is on. -->
5112        <attr name="viewportWidth" format="float"/>
5113        <!-- The height of the canvas the drawing is on. -->
5114        <attr name="viewportHeight" format="float"/>
5115    </declare-styleable>
5116
5117    <!-- Defines the group used in VectorDrawables. -->
5118    <declare-styleable name="VectorDrawableGroup">
5119        <!-- The Name of this group -->
5120        <attr name="name" />
5121        <!-- The amount to rotate the group -->
5122        <attr name="rotation" />
5123        <!-- The X coordinate of the center of rotation of a group -->
5124        <attr name="pivotX" />
5125        <!-- The Y coordinate of the center of rotation of a group -->
5126        <attr name="pivotY" />
5127        <!-- The amount to translate the group on X coordinate -->
5128        <attr name="translateX" format="float"/>
5129        <!-- The amount to translate the group on Y coordinate -->
5130        <attr name="translateY" format="float"/>
5131        <!-- The amount to scale the group on X coordinate -->
5132        <attr name="scaleX" />
5133        <!-- The amount to scale the group on X coordinate -->
5134        <attr name="scaleY" />
5135        <!-- The alpha of the group (0 is transparent and 1 is opaque) -->
5136        <attr name="alpha" />
5137    </declare-styleable>
5138
5139    <!-- Defines the path used in VectorDrawables. -->
5140    <declare-styleable name="VectorDrawablePath">
5141        <!-- The Name of this path -->
5142        <attr name="name" />
5143        <!-- The width a path stroke -->
5144        <attr name="strokeWidth" format="float" />
5145        <!-- The opacity of a path stroke -->
5146        <attr name="strokeOpacity" format="float" />
5147        <!-- The color to stroke the path if not defined implies no stroke-->
5148        <attr name="strokeColor" format="color" />
5149        <!-- The color to fill the path if not defined implies no fill-->
5150        <attr name="fillColor" format="color" />
5151        <!-- The level of opacity of the filled area of the path -->
5152        <attr name="fillOpacity" format="float" />
5153        <!-- The specification of the operations that define the path  -->
5154        <attr name="pathData" format="string" />
5155        <!-- The fraction of the path to trim from the start from 0 to 1 -->
5156        <attr name="trimPathStart" format="float" />
5157        <!-- The fraction of the path to trim from the end from 0 to 1  -->
5158        <attr name="trimPathEnd" format="float" />
5159        <!-- Shift trim region (allows visible region to include the start and end) from 0 to 1  -->
5160        <attr name="trimPathOffset" format="float" />
5161        <!-- sets the linecap for a stroked path -->
5162        <attr name="strokeLineCap" format="enum">
5163            <enum name="butt" value="0"/>
5164            <enum name="round" value="1"/>
5165            <enum name="square" value="2"/>
5166        </attr>
5167        <!-- sets the lineJoin for a stroked path -->
5168        <attr name="strokeLineJoin" format="enum">
5169            <enum name="miter" value="0"/>
5170            <enum name="round" value="1"/>
5171            <enum name="bevel" value="2"/>
5172        </attr>
5173        <!-- sets the Miter limit for a stroked path -->
5174        <attr name="strokeMiterLimit" format="float"/>
5175    </declare-styleable>
5176
5177    <!-- Defines the clip path used in VectorDrawables. -->
5178    <declare-styleable name="VectorDrawableClipPath">
5179        <!-- The Name of this path -->
5180        <attr name="name" />
5181        <!-- The specification of the operations that define the path  -->
5182        <attr name="pathData"/>
5183    </declare-styleable>
5184
5185    <!-- ========================== -->
5186    <!--   AnimatedVectorDrawable class   -->
5187    <!-- ========================== -->
5188    <eat-comment />
5189
5190    <!-- Define the AnimatedVectorDrawable. -->
5191    <declare-styleable name="AnimatedVectorDrawable">
5192        <!-- The static vector drawable. -->
5193        <attr name="drawable" />
5194    </declare-styleable>
5195
5196    <!-- Defines the target path or group used in the AnimatedVectorDrawable. -->
5197    <declare-styleable name="AnimatedVectorDrawableTarget">
5198        <!-- The name of this target path or group -->
5199        <attr name="name" />
5200        <!-- The animation for this target path or group -->
5201        <attr name="animation" />
5202    </declare-styleable>
5203
5204    <!-- ========================== -->
5205    <!-- Animation class attributes -->
5206    <!-- ========================== -->
5207    <eat-comment />
5208
5209    <declare-styleable name="Animation">
5210        <!-- Defines the interpolator used to smooth the animation movement in time. -->
5211        <attr name="interpolator" />
5212        <!-- When set to true, the value of fillBefore is taken into account. -->
5213        <attr name="fillEnabled" format="boolean" />
5214        <!-- When set to true or when fillEnabled is not set to true, the animation transformation
5215             is applied before the animation has started. The default value is true. -->
5216        <attr name="fillBefore" format="boolean" />
5217        <!-- When set to true, the animation transformation is applied after the animation is
5218             over. The default value is false. If fillEnabled is not set to true and the
5219             animation is not set on a View, fillAfter is assumed to be true.-->
5220        <attr name="fillAfter" format="boolean" />
5221        <!-- Amount of time (in milliseconds) for the animation to run. -->
5222        <attr name="duration" />
5223        <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
5224        <attr name="startOffset" format="integer" />
5225        <!-- Defines how many times the animation should repeat. The default value is 0. -->
5226        <attr name="repeatCount" format="integer">
5227            <enum name="infinite" value="-1" />
5228        </attr>
5229        <!-- Defines the animation behavior when it reaches the end and the repeat count is
5230             greater than 0 or infinite. The default value is restart. -->
5231        <attr name="repeatMode">
5232            <!-- The animation starts again from the beginning. -->
5233            <enum name="restart" value="1" />
5234            <!-- The animation plays backward. -->
5235            <enum name="reverse" value="2" />
5236        </attr>
5237        <!-- Allows for an adjustment of the Z ordering of the content being
5238             animated for the duration of the animation.  The default value is normal. -->
5239        <attr name="zAdjustment">
5240            <!-- The content being animated be kept in its current Z order. -->
5241            <enum name="normal" value="0" />
5242            <!-- The content being animated is forced on top of all other
5243                 content for the duration of the animation. -->
5244            <enum name="top" value="1" />
5245            <!-- The content being animated is forced under all other
5246                 content for the duration of the animation. -->
5247            <enum name="bottom" value="-1" />
5248        </attr>
5249        <!-- Special background behind animation.  Only for use with window
5250             animations.  Can only be a color, and only black.  If 0, the
5251             default, there is no background. -->
5252        <attr name="background" />
5253        <!-- Special option for window animations: if this window is on top
5254             of a wallpaper, don't animate the wallpaper with it. -->
5255        <attr name="detachWallpaper" format="boolean" />
5256    </declare-styleable>
5257
5258    <declare-styleable name="AnimationSet">
5259        <attr name="shareInterpolator" format="boolean" />
5260        <attr name="fillBefore" />
5261        <attr name="fillAfter" />
5262        <attr name="duration" />
5263        <attr name="startOffset" />
5264        <attr name="repeatMode" />
5265    </declare-styleable>
5266
5267    <declare-styleable name="RotateAnimation">
5268        <attr name="fromDegrees" />
5269        <attr name="toDegrees" />
5270        <attr name="pivotX" />
5271        <attr name="pivotY" />
5272    </declare-styleable>
5273
5274    <declare-styleable name="ScaleAnimation">
5275        <attr name="fromXScale" format="float|fraction|dimension" />
5276        <attr name="toXScale" format="float|fraction|dimension" />
5277        <attr name="fromYScale" format="float|fraction|dimension" />
5278        <attr name="toYScale" format="float|fraction|dimension" />
5279        <attr name="pivotX" />
5280        <attr name="pivotY" />
5281    </declare-styleable>
5282
5283    <declare-styleable name="TranslateAnimation">
5284        <attr name="fromXDelta" format="float|fraction" />
5285        <attr name="toXDelta" format="float|fraction" />
5286        <attr name="fromYDelta" format="float|fraction" />
5287        <attr name="toYDelta" format="float|fraction" />
5288    </declare-styleable>
5289
5290    <declare-styleable name="AlphaAnimation">
5291        <attr name="fromAlpha" format="float" />
5292        <attr name="toAlpha" format="float" />
5293    </declare-styleable>
5294
5295    <declare-styleable name="LayoutAnimation">
5296        <!-- Fraction of the animation duration used to delay the beginning of
5297         the animation of each child. -->
5298        <attr name="delay" format="float|fraction" />
5299        <!-- Animation to use on each child. -->
5300        <attr name="animation" format="reference" />
5301        <!-- The order in which the animations will be started. -->
5302        <attr name="animationOrder">
5303            <!-- Animations are started in the natural order. -->
5304            <enum name="normal" value="0" />
5305            <!-- Animations are started in the reverse order. -->
5306            <enum name="reverse" value="1" />
5307            <!-- Animations are started randomly. -->
5308            <enum name="random" value="2" />
5309        </attr>
5310        <!-- Interpolator used to interpolate the delay between the start of
5311         each animation. -->
5312        <attr name="interpolator" />
5313    </declare-styleable>
5314
5315    <declare-styleable name="GridLayoutAnimation">
5316        <!-- Fraction of the animation duration used to delay the beginning of
5317         the animation of each column. -->
5318        <attr name="columnDelay" format="float|fraction" />
5319        <!-- Fraction of the animation duration used to delay the beginning of
5320         the animation of each row. -->
5321        <attr name="rowDelay" format="float|fraction" />
5322        <!-- Direction of the animation in the grid. -->
5323        <attr name="direction">
5324            <!-- Animates columns from left to right. -->
5325            <flag name="left_to_right" value="0x0" />
5326            <!-- Animates columns from right to left. -->
5327            <flag name="right_to_left" value="0x1" />
5328            <!-- Animates rows from top to bottom. -->
5329            <flag name="top_to_bottom" value="0x0" />
5330            <!-- Animates rows from bottom to top. -->
5331            <flag name="bottom_to_top" value="0x2" />
5332        </attr>
5333        <!-- Priority of the rows and columns. When the priority is none,
5334         both rows and columns have the same priority. When the priority is
5335         column, the animations will be applied on the columns first. The same
5336         goes for rows. -->
5337        <attr name="directionPriority">
5338            <!-- Rows and columns are animated at the same time. -->
5339            <enum name="none"   value="0" />
5340            <!-- Columns are animated first. -->
5341            <enum name="column" value="1" />
5342            <!-- Rows are animated first. -->
5343            <enum name="row"    value="2" />
5344        </attr>
5345    </declare-styleable>
5346
5347    <declare-styleable name="AccelerateInterpolator">
5348        <!-- This is the amount of deceleration to add when easing in. -->
5349        <attr name="factor" format="float" />
5350    </declare-styleable>
5351
5352    <declare-styleable name="DecelerateInterpolator">
5353        <!-- This is the amount of acceleration to add when easing out. -->
5354        <attr name="factor" />
5355    </declare-styleable>
5356
5357    <declare-styleable name="CycleInterpolator">
5358        <attr name="cycles" format="float" />
5359    </declare-styleable>
5360
5361    <declare-styleable name="AnticipateInterpolator">
5362        <!-- This is the amount of tension. -->
5363        <attr name="tension" format="float" />
5364    </declare-styleable>
5365
5366    <declare-styleable name="OvershootInterpolator">
5367        <!-- This is the amount of tension. -->
5368        <attr name="tension" />
5369    </declare-styleable>
5370
5371    <declare-styleable name="AnticipateOvershootInterpolator">
5372        <!-- This is the amount of tension. -->
5373        <attr name="tension" />
5374        <!-- This is the amount by which to multiply the tension. -->
5375        <attr name="extraTension" format="float" />
5376    </declare-styleable>
5377
5378    <declare-styleable name="PathInterpolator">
5379        <!-- The x coordinate of the first control point of the cubic Bezier -->
5380        <attr name="controlX1" format="float" />
5381        <!-- The y coordinate of the first control point of the cubic Bezier -->
5382        <attr name="controlY1" format="float" />
5383        <!-- The x coordinate of the second control point of the cubic Bezier -->
5384        <attr name="controlX2" format="float" />
5385        <!-- The y coordinate of the second control point of the cubic Bezier -->
5386        <attr name="controlY2" format="float" />
5387        <!-- The control points defined as a path.
5388             When pathData is defined, then both of the control points of the
5389             cubic Bezier will be ignored. -->
5390        <attr name="pathData"/>
5391    </declare-styleable>
5392
5393    <!-- ========================== -->
5394    <!-- Transition attributes -->
5395    <!-- ========================== -->
5396    <eat-comment />
5397
5398    <!-- Use specific transition subclass names as the root tag of the XML resource that
5399         describes a {@link android.transition.Transition Transition},
5400         such as <code>changeBounds</code>, <code>fade</code>, and <code>transitionSet</code>. -->
5401    <declare-styleable name="Transition">
5402        <!-- Amount of time (in milliseconds) that the transition should run. -->
5403        <attr name="duration" />
5404        <!-- Delay in milliseconds before the transition starts. -->
5405        <attr name="startDelay" format="integer" />
5406        <!-- Interpolator to be used in the animations spawned by this transition. -->
5407        <attr name="interpolator" />
5408        <!-- The match order to use for the transition. This is a comma-separated
5409             list of values, containing one or more of the following:
5410             id, itemId, name, instance. These correspond to
5411             {@link android.transition.Transition#MATCH_ID},
5412             {@link android.transition.Transition#MATCH_ITEM_ID},
5413             {@link android.transition.Transition#MATCH_NAME}, and
5414             {@link android.transition.Transition#MATCH_INSTANCE}, respectively.
5415             This corresponds to {@link android.transition.Transition#setMatchOrder(int...)}. -->
5416        <attr name="matchOrder" format="string" />
5417    </declare-styleable>
5418
5419    <!-- Use <code>fade</code>as the root tag of the XML resource that
5420         describes a {@link android.transition.Fade Fade} transition.
5421         The attributes of the {@link android.R.styleable#Transition Transition}
5422         resource are available in addition to the specific attributes of Fade
5423         described here. -->
5424    <declare-styleable name="Fade">
5425        <!-- Equivalent to <code>visibilityMode</code>, fadingMode works only
5426             with the Fade transition. -->
5427        <attr name="fadingMode">
5428            <!-- Fade will only fade appearing items in. -->
5429            <enum name="fade_in" value="1" />
5430            <!-- Fade will only fade disappearing items out. -->
5431            <enum name="fade_out" value="2" />
5432            <!-- Fade will fade appearing items in and disappearing items out. -->
5433            <enum name="fade_in_out" value="3" />
5434        </attr>
5435    </declare-styleable>
5436
5437    <!-- Use <code>slide</code>as the root tag of the XML resource that
5438         describes a {@link android.transition.Slide Slide} transition.
5439         The attributes of the {@link android.R.styleable#Transition Transition}
5440         resource are available in addition to the specific attributes of Slide
5441         described here. -->
5442    <declare-styleable name="Slide">
5443        <attr name="slideEdge">
5444            <!-- Slide to and from the left edge of the Scene. -->
5445            <enum name="left" value="0x03" />
5446            <!-- Slide to and from the top edge of the Scene. -->
5447            <enum name="top" value="0x30" />
5448            <!-- Slide to and from the right edge of the Scene. -->
5449            <enum name="right" value="0x05" />
5450            <!-- Slide to and from the bottom edge of the Scene. -->
5451            <enum name="bottom" value="0x50" />
5452        </attr>
5453    </declare-styleable>
5454
5455    <!-- Use with {@link android.transition.Visibility} transitions, such as
5456         <code>slide</code>, <code>explode</code>, and <code>fade</code> to mark which
5457         views are supported. -->
5458    <declare-styleable name="VisibilityTransition">
5459        <!-- Changes whether the transition supports appearing and/or disappearing Views.
5460             Corresponds to {@link android.transition.Visibility#setMode(int)}. -->
5461        <attr name="visibilityMode">
5462            <!-- Only appearing Views will be supported. -->
5463            <flag name="mode_in" value="1" />
5464            <!-- Only disappearing Views will be supported. -->
5465            <flag name="mode_out" value="2" />
5466        </attr>
5467    </declare-styleable>
5468    <!-- Use <code>target</code> as the root tag of the XML resource that
5469     describes a {@link android.transition.Transition#addTarget(int)
5470     targetId} of a transition. There can be one or more targets inside
5471     a <code>targets</code> tag, which is itself inside an appropriate
5472     {@link android.R.styleable#Transition Transition} tag.
5473     -->
5474    <declare-styleable name="TransitionTarget">
5475        <!-- The id of a target on which this transition will animate changes. -->
5476        <attr name="targetId" format="reference" />
5477        <!-- The id of a target to exclude from this transition. -->
5478        <attr name="excludeId" format="reference" />
5479        <!-- The fully-qualified name of the Class to include in this transition. -->
5480        <attr name="targetClass" />
5481        <!-- The fully-qualified name of the Class to exclude from this transition. -->
5482        <attr name="excludeClass" format="string" />
5483        <!-- The transitionName of the target on which this transition will animation changes. -->
5484        <attr name="targetName" format="string" />
5485        <!-- The transitionName of the target to exclude from this transition. -->
5486        <attr name="excludeName" format="string" />
5487    </declare-styleable>
5488
5489    <!-- Use <code>set</code> as the root tag of the XML resource that
5490         describes a {@link android.transition.TransitionSet
5491         TransitionSet} transition. -->
5492    <declare-styleable name="TransitionSet">
5493        <attr name="transitionOrdering">
5494            <!-- child transitions should be played together. -->
5495            <enum name="together" value="0" />
5496            <!-- child transitions should be played sequentially, in the same order
5497            as the xml. -->
5498            <enum name="sequential" value="1" />
5499        </attr>
5500    </declare-styleable>
5501
5502    <!-- Use <code>transitionManager</code> as the root tag of the XML resource that
5503         describes a {@link android.transition.TransitionManager
5504         TransitionManager}. -->
5505    <declare-styleable name="TransitionManager">
5506        <!-- The id of a transition to be used in a particular scene change. -->
5507        <attr name="transition" format="reference" />
5508        <!-- The originating scene in this scene change. -->
5509        <attr name="fromScene" format="reference" />
5510        <!-- The destination scene in this scene change. -->
5511        <attr name="toScene" format="reference" />
5512    </declare-styleable>
5513
5514    <!-- Use <code>arcMotion</code> as the root tag of the XML resource that
5515         describes a {@link android.transition.ArcMotion}. This must be used
5516         within a transition with which the PathMotion should be associated. -->
5517    <declare-styleable name="ArcMotion">
5518        <!-- The minimum arc angle in degrees between the start and end points when
5519             they are close to horizontal. -->
5520        <attr name="minimumHorizontalAngle" format="float" />
5521        <!-- The minimum arc angle in degrees between the start and end points when
5522             they are close to vertical. -->
5523        <attr name="minimumVerticalAngle" format="float" />
5524        <!-- The maximum arc angle in degrees between the start and end points. -->
5525        <attr name="maximumAngle" format="float" />
5526    </declare-styleable>
5527
5528    <!-- Use <code>patternMotion</code> as the root tag of the XML resource that
5529         describes a {@link android.transition.PatternMotion}. This must be used
5530         within a transition with which the PathMotion should be associated. -->
5531    <declare-styleable name="PatternMotion">
5532        <!-- The path string describing the pattern to use for the PathMotion. -->
5533        <attr name="pathData" />
5534    </declare-styleable>
5535
5536    <!-- ========================== -->
5537    <!-- ValueAnimator class attributes -->
5538    <!-- ========================== -->
5539    <eat-comment />
5540
5541    <declare-styleable name="Animator">
5542        <!-- Defines the interpolator used to smooth the animation movement in time. -->
5543        <attr name="interpolator" />
5544        <!-- Amount of time (in milliseconds) for the animation to run. -->
5545        <attr name="duration" />
5546        <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
5547        <attr name="startOffset"/>
5548        <!-- Defines how many times the animation should repeat. The default value is 0. -->
5549        <attr name="repeatCount"/>
5550        <!-- Defines the animation behavior when it reaches the end and the repeat count is
5551             greater than 0 or infinite. The default value is restart. -->
5552        <attr name="repeatMode"/>
5553        <!-- Value the animation starts from. -->
5554        <attr name="valueFrom" format="float|integer|color|dimension|string"/>
5555        <!-- Value the animation animates to. -->
5556        <attr name="valueTo" format="float|integer|color|dimension|string"/>
5557        <!-- The type of valueFrom and valueTo. -->
5558        <attr name="valueType">
5559            <!-- valueFrom and valueTo are floats. This is the default value is valueType is
5560                 unspecified. Note that if either valueFrom or valueTo represent colors
5561                 (beginning with "#"), then this attribute is ignored and the color values are
5562                 interpreted as integers. -->
5563            <enum name="floatType" value="0" />
5564            <!-- valueFrom and valueTo are integers. -->
5565            <enum name="intType"   value="1" />
5566            <!-- valueFrom and valueTo are paths defined as strings.
5567                 This type is used for path morphing in AnimatedVectorDrawable. -->
5568            <enum name="pathType"   value="2" />
5569        </attr>
5570    </declare-styleable>
5571
5572    <!-- ========================== -->
5573    <!-- ObjectAnimator class attributes -->
5574    <!-- ========================== -->
5575    <eat-comment />
5576
5577    <declare-styleable name="PropertyAnimator">
5578        <!-- Name of the property being animated. -->
5579        <attr name="propertyName" format="string"/>
5580        <!-- Name of the property being animated as the X coordinate of the pathData. -->
5581        <attr name="propertyXName" format="string"/>
5582        <!-- Name of the property being animated as the Y coordinate of the pathData. -->
5583        <attr name="propertyYName" format="string"/>
5584        <!-- The path used to animate the properties in the ObjectAnimator -->
5585        <attr name="pathData"/>
5586    </declare-styleable>
5587
5588
5589    <!-- ========================== -->
5590    <!-- AnimatorSet class attributes -->
5591    <!-- ========================== -->
5592    <eat-comment />
5593
5594    <declare-styleable name="AnimatorSet">
5595        <!-- Name of the property being animated. -->
5596        <attr name="ordering">
5597            <!-- child animations should be played together. -->
5598            <enum name="together" value="0" />
5599            <!-- child animations should be played sequentially, in the same order as the xml. -->
5600            <enum name="sequentially" value="1" />
5601        </attr>
5602    </declare-styleable>
5603
5604    <!-- ========================== -->
5605    <!-- State attributes           -->
5606    <!-- ========================== -->
5607    <eat-comment />
5608
5609    <!-- Drawable states.
5610         The mapping of Drawable states to a particular drawables is specified
5611         in the "state" elements of a Widget's "selector" element.
5612         Possible values:
5613         <ul>
5614         <li>"state_focused"
5615         <li>"state_window_focused"
5616         <li>"state_enabled"
5617         <li>"state_checked"
5618         <li>"state_selected"
5619         <li>"state_active"
5620         <li>"state_single"
5621         <li>"state_first"
5622         <li>"state_mid"
5623         <li>"state_last"
5624         <li>"state_only"
5625         <li>"state_pressed"
5626         <li>"state_activated"
5627         <li>"state_error"
5628         <li>"state_circle"
5629         <li>"state_rect"
5630         <li>"state_grow"
5631         <li>"state_move"
5632         <li>"state_hovered"
5633         <li>"state_drag_can_accept"
5634         <li>"state_drag_hovered"
5635         <li>"state_accessibility_focused"
5636         </ul>  -->
5637    <declare-styleable name="DrawableStates">
5638        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
5639             set when a view has input focus. -->
5640        <attr name="state_focused" format="boolean" />
5641        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
5642             set when a view's window has input focus. -->
5643        <attr name="state_window_focused" format="boolean" />
5644        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
5645             set when a view is enabled. -->
5646        <attr name="state_enabled" format="boolean" />
5647        <!-- State identifier indicating that the object <var>may</var> display a check mark.
5648             See {@link R.attr#state_checked} for the identifier that indicates whether it is
5649             actually checked. -->
5650        <attr name="state_checkable" format="boolean"/>
5651        <!-- State identifier indicating that the object is currently checked.  See
5652             {@link R.attr#state_checkable} for an additional identifier that can indicate if
5653             any object may ever display a check, regardless of whether state_checked is
5654             currently set. -->
5655        <attr name="state_checked" format="boolean"/>
5656        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
5657             set when a view (or one of its parents) is currently selected. -->
5658        <attr name="state_selected" format="boolean" />
5659        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
5660             set when the user is pressing down in a view. -->
5661        <attr name="state_pressed" format="boolean" />
5662        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
5663             set when a view or its parent has been "activated" meaning the user has currently
5664             marked it as being of interest.  This is an alternative representation of
5665             state_checked for when the state should be propagated down the view hierarchy. -->
5666        <attr name="state_activated" format="boolean" />
5667        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
5668        <attr name="state_active" format="boolean" />
5669        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
5670        <attr name="state_single" format="boolean" />
5671        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
5672        <attr name="state_first" format="boolean" />
5673        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
5674        <attr name="state_middle" format="boolean" />
5675        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
5676        <attr name="state_last" format="boolean" />
5677        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
5678             indicating that the Drawable is in a view that is hardware accelerated.
5679             This means that the device can at least render a full-screen scaled
5680             bitmap with one layer of text and bitmaps composited on top of it
5681             at 60fps.  When this is set, the colorBackgroundCacheHint will be
5682             ignored even if it specifies a solid color, since that optimization
5683             is not needed. -->
5684        <attr name="state_accelerated" format="boolean" />
5685        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
5686             set when a pointer is hovering over the view. -->
5687        <attr name="state_hovered" format="boolean" />
5688        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
5689             indicating that the Drawable is in a view that is capable of accepting a drop of
5690             the content currently being manipulated in a drag-and-drop operation. -->
5691        <attr name="state_drag_can_accept" format="boolean" />
5692        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
5693             indicating that a drag operation (for which the Drawable's view is a valid recipient)
5694             is currently positioned over the Drawable. -->
5695        <attr name="state_drag_hovered" format="boolean" />
5696        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
5697             indicating that a View has accessibility focus. -->
5698        <attr name="state_accessibility_focused" format="boolean" />
5699    </declare-styleable>
5700    <declare-styleable name="ViewDrawableStates">
5701        <attr name="state_pressed" />
5702        <attr name="state_focused" />
5703        <attr name="state_selected" />
5704        <attr name="state_window_focused" />
5705        <attr name="state_enabled" />
5706        <attr name="state_activated" />
5707        <attr name="state_accelerated" />
5708        <attr name="state_hovered" />
5709        <attr name="state_drag_can_accept" />
5710        <attr name="state_drag_hovered" />
5711    </declare-styleable>
5712    <!-- State array representing a menu item that is currently checked. -->
5713    <declare-styleable name="MenuItemCheckedState">
5714        <attr name="state_checkable" />
5715        <attr name="state_checked" />
5716    </declare-styleable>
5717    <!-- State array representing a menu item that is checkable but is not currently checked. -->
5718    <declare-styleable name="MenuItemUncheckedState">
5719        <attr name="state_checkable" />
5720    </declare-styleable>
5721    <!-- State array representing a menu item that is currently focused and checked. -->
5722    <declare-styleable name="MenuItemCheckedFocusedState">
5723        <attr name="state_checkable" />
5724        <attr name="state_checked" />
5725        <attr name="state_focused" />
5726    </declare-styleable>
5727    <!-- State array representing a menu item that is focused and checkable but is not currently checked. -->
5728    <declare-styleable name="MenuItemUncheckedFocusedState">
5729        <attr name="state_checkable" />
5730        <attr name="state_focused" />
5731    </declare-styleable>
5732    <!-- State array representing an expandable list child's indicator. -->
5733    <declare-styleable name="ExpandableListChildIndicatorState">
5734        <!-- State identifier indicating the child is the last child within its group. -->
5735        <attr name="state_last" />
5736    </declare-styleable>
5737    <!-- State array representing an expandable list group's indicator. -->
5738    <declare-styleable name="ExpandableListGroupIndicatorState">
5739        <!-- State identifier indicating the group is expanded. -->
5740        <attr name="state_expanded" format="boolean" />
5741        <!-- State identifier indicating the group is empty (has no children). -->
5742        <attr name="state_empty" format="boolean" />
5743    </declare-styleable>
5744    <declare-styleable name="PopupWindowBackgroundState">
5745        <!-- State identifier indicating the popup will be above the anchor. -->
5746        <attr name="state_above_anchor" format="boolean" />
5747    </declare-styleable>
5748    <declare-styleable name="TextViewMultiLineBackgroundState">
5749        <!-- State identifier indicating a TextView has a multi-line layout. -->
5750        <attr name="state_multiline" format="boolean" />
5751    </declare-styleable>
5752
5753    <!-- ***************************************************************** -->
5754    <!-- Support for Searchable activities. -->
5755    <!-- ***************************************************************** -->
5756    <eat-comment />
5757
5758    <!-- Searchable activities and applications must provide search configuration information
5759        in an XML file, typically called searchable.xml.  This file is referenced in your manifest.
5760        For a more in-depth discussion of search configuration, please refer to
5761        {@link android.app.SearchManager}. -->
5762    <declare-styleable name="Searchable">
5763          <!--<strong>This is deprecated.</strong><br/>The default
5764              application icon is now always used, so this attribute is
5765              obsolete.-->
5766        <attr name="icon" />
5767        <!-- This is the user-displayed name of the searchable activity.  <i>Required
5768            attribute.</i> -->
5769        <attr name="label" />
5770        <!-- If supplied, this string will be displayed as a hint to the user.  <i>Optional
5771            attribute.</i> -->
5772        <attr name="hint" />
5773        <!-- If supplied, this string will be displayed as the text of the "Search" button.
5774          <i>Optional attribute.</i>
5775          {@deprecated This will create a non-standard UI appearance, because the search bar UI is
5776                       changing to use only icons for its buttons.}-->
5777        <attr name="searchButtonText" format="string" />
5778        <attr name="inputType" />
5779        <attr name="imeOptions" />
5780
5781        <!-- Additional features are controlled by mode bits in this field.  Omitting
5782            this field, or setting to zero, provides default behavior.  <i>Optional attribute.</i>
5783        -->
5784        <attr name="searchMode">
5785          <!-- If set, this flag enables the display of the search target (label) within the
5786               search bar.  If neither bad mode is selected, no badge will be shown. -->
5787          <flag name="showSearchLabelAsBadge" value="0x04" />
5788          <!--<strong>This is deprecated.</strong><br/>The default
5789              application icon is now always used, so this option is
5790              obsolete.-->
5791          <flag name="showSearchIconAsBadge" value="0x08" />
5792          <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_INTENT_DATA to
5793               be considered as the text for suggestion query rewriting.  This should only
5794               be used when the values in SUGGEST_COLUMN_INTENT_DATA are suitable for user
5795               inspection and editing - typically, HTTP/HTTPS Uri's. -->
5796          <flag name="queryRewriteFromData" value="0x10" />
5797          <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_TEXT_1 to
5798               be considered as the text for suggestion query rewriting.  This should be used
5799               for suggestions in which no query text is provided and the SUGGEST_COLUMN_INTENT_DATA
5800               values are not suitable for user inspection and editing. -->
5801          <flag name="queryRewriteFromText" value="0x20" />
5802        </attr>
5803
5804        <!-- Voice search features are controlled by mode bits in this field.  Omitting
5805            this field, or setting to zero, provides default behavior.
5806            If showVoiceSearchButton is set, then launchWebSearch or launchRecognizer must
5807            also be set.  <i>Optional attribute.</i>
5808        -->
5809        <attr name="voiceSearchMode">
5810          <!-- If set, display a voice search button.  This only takes effect if voice search is
5811               available on the device. -->
5812          <flag name="showVoiceSearchButton" value="0x01" />
5813          <!-- If set, the voice search button will take the user directly to a built-in
5814               voice web search activity.  Most applications will not use this flag, as it
5815               will take the user away from the activity in which search was invoked. -->
5816          <flag name="launchWebSearch" value="0x02" />
5817          <!-- If set, the voice search button will take the user directly to a built-in
5818               voice recording activity.  This activity will prompt the user to speak,
5819               transcribe the spoken text, and forward the resulting query
5820               text to the searchable activity, just as if the user had typed it into
5821               the search UI and clicked the search button. -->
5822          <flag name="launchRecognizer" value="0x04" />
5823        </attr>
5824
5825        <!-- If provided, this specifies the language model that should be used by the
5826             voice recognition system.  See
5827             {@link android.speech.RecognizerIntent#EXTRA_LANGUAGE_MODEL } for more information.
5828             If not provided, the default value
5829             {@link android.speech.RecognizerIntent#LANGUAGE_MODEL_FREE_FORM } will be used. -->
5830        <attr name="voiceLanguageModel" format="string" />
5831        <!-- If provided, this specifies a prompt that will be displayed during voice input. -->
5832        <attr name="voicePromptText" format="string" />
5833        <!-- If provided, this specifies the spoken language to be expected, and that it will be
5834             different than the one set in the {@link java.util.Locale#getDefault()}. -->
5835        <attr name="voiceLanguage" format="string" />
5836        <!-- If provided, enforces the maximum number of results to return, including the "best"
5837             result which will always be provided as the SEARCH intent's primary query.  Must be one
5838             or greater.  If not provided, the recognizer will choose how many results to return.
5839             -->
5840        <attr name="voiceMaxResults" format="integer" />
5841
5842        <!-- If provided, this is the trigger indicating that the searchable activity
5843            provides suggestions as well.  The value must be a fully-qualified content provider
5844            authority (e.g. "com.example.android.apis.SuggestionProvider") and should match the
5845            "android:authorities" tag in your content provider's manifest entry.  <i>Optional
5846            attribute.</i> -->
5847        <attr name="searchSuggestAuthority" format="string" />
5848        <!-- If provided, this will be inserted in the suggestions query Uri, after the authority
5849            you have provide but before the standard suggestions path. <i>Optional attribute.</i>
5850            -->
5851        <attr name="searchSuggestPath" format="string" />
5852        <!-- If provided, suggestion queries will be passed into your query function
5853            as the <i>selection</i> parameter.  Typically this will be a WHERE clause for your
5854            database, and will contain a single question mark, which represents the actual query
5855            string that has been typed by the user.  If not provided, then the user query text
5856            will be appended to the query Uri (after an additional "/".)  <i>Optional
5857            attribute.</i> -->
5858        <attr name="searchSuggestSelection" format="string" />
5859
5860        <!-- If provided, and not overridden by an action in the selected suggestion, this
5861            string will be placed in the action field of the {@link android.content.Intent Intent}
5862            when the user clicks a suggestion.  <i>Optional attribute.</i> -->
5863        <attr name="searchSuggestIntentAction" format="string" />
5864        <!-- If provided, and not overridden by an action in the selected suggestion, this
5865            string will be placed in the data field of the {@link android.content.Intent Intent}
5866            when the user clicks a suggestion.  <i>Optional attribute.</i> -->
5867        <attr name="searchSuggestIntentData" format="string" />
5868
5869        <!-- If provided, this is the minimum number of characters needed to trigger
5870             search suggestions. The default value is 0. <i>Optional attribute.</i> -->
5871        <attr name="searchSuggestThreshold" format="integer" />
5872
5873        <!-- If provided and <code>true</code>, this searchable activity will be
5874             included in any global lists of search targets.
5875             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
5876        <attr name="includeInGlobalSearch" format="boolean" />
5877
5878        <!-- If provided and <code>true</code>, this searchable activity will be invoked for all
5879             queries in a particular session. If set to <code>false</code> and the activity
5880             returned zero results for a query, it will not be invoked again in that session for
5881             supersets of that zero-results query. For example, if the activity returned zero
5882             results for "bo", it would not be queried again for "bob".
5883             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
5884        <attr name="queryAfterZeroResults" format="boolean" />
5885        <!-- If provided, this string will be used to describe the searchable item in the
5886             searchable items settings within system search settings. <i>Optional
5887             attribute.</i> -->
5888        <attr name="searchSettingsDescription" format="string" />
5889
5890        <!-- If provided and <code>true</code>, URLs entered in the search dialog while searching
5891             within this activity would be detected and treated as URLs (show a 'go' button in the
5892             keyboard and invoke the browser directly when user launches the URL instead of passing
5893             the URL to the activity). If set to <code>false</code> any URLs entered are treated as
5894             normal query text.
5895             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
5896        <attr name="autoUrlDetect" format="boolean" />
5897
5898    </declare-styleable>
5899
5900    <!-- In order to process special action keys during search, you must define them using
5901            one or more "ActionKey" elements in your Searchable metadata.  For a more in-depth
5902            discussion of action code handling, please refer to {@link android.app.SearchManager}.
5903    -->
5904    <declare-styleable name="SearchableActionKey">
5905        <!-- This attribute denotes the action key you wish to respond to.  Note that not
5906            all action keys are actually supported using this mechanism, as many of them are
5907            used for typing, navigation, or system functions.  This will be added to the
5908            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
5909            searchable activity.  To examine the key code, use
5910            {@link android.content.Intent#getIntExtra getIntExtra(SearchManager.ACTION_KEY)}.
5911            <p>Note, in addition to the keycode, you must also provide one or more of the action
5912            specifier attributes.  <i>Required attribute.</i> -->
5913        <attr name="keycode" />
5914
5915        <!-- If you wish to handle an action key during normal search query entry, you
5916            must define an action string here.  This will be added to the
5917            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
5918            searchable activity.  To examine the string, use
5919            {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
5920            <i>Optional attribute.</i> -->
5921        <attr name="queryActionMsg"  format="string" />
5922
5923        <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
5924            selected</i>, there are two ways to handle this.  If <i>all</i> of your suggestions
5925            can handle the action key, you can simply define the action message using this
5926            attribute.  This will be added to the
5927            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
5928            searchable activity.  To examine the string, use
5929            {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
5930            <i>Optional attribute.</i> -->
5931        <attr name="suggestActionMsg"  format="string" />
5932
5933        <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
5934            selected</i>, but you do not wish to enable this action key for every suggestion,
5935            then you can use this attribute to control it on a suggestion-by-suggestion basis.
5936            First, you must define a column (and name it here) where your suggestions will include
5937            the action string.  Then, in your content provider, you must provide this column, and
5938            when desired, provide data in this column.
5939            The search manager will look at your suggestion cursor, using the string
5940            provided here in order to select a column, and will use that to select a string from
5941            the cursor.  That string will be added to the
5942            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to
5943            your searchable activity.  To examine the string, use
5944            {@link android.content.Intent#getStringExtra
5945            getStringExtra(SearchManager.ACTION_MSG)}.  <i>If the data does not exist for the
5946            selection suggestion, the action key will be ignored.</i><i>Optional attribute.</i> -->
5947        <attr name="suggestActionMsgColumn" format="string" />
5948
5949    </declare-styleable>
5950
5951    <!-- ***************************************************************** -->
5952    <!-- Support for MapView. -->
5953    <!-- ***************************************************************** -->
5954    <eat-comment />
5955
5956    <!-- The set of attributes for a MapView. -->
5957    <declare-styleable name="MapView">
5958        <!-- Value is a string that specifies the Maps API Key to use. -->
5959        <attr name="apiKey" format="string" />
5960    </declare-styleable>
5961
5962    <!-- **************************************************************** -->
5963    <!-- Menu XML inflation. -->
5964    <!-- **************************************************************** -->
5965    <eat-comment />
5966
5967    <!-- Base attributes that are available to all Menu objects. -->
5968    <declare-styleable name="Menu">
5969    </declare-styleable>
5970
5971    <!-- Base attributes that are available to all groups. -->
5972    <declare-styleable name="MenuGroup">
5973
5974        <!-- The ID of the group. -->
5975        <attr name="id" />
5976
5977        <!-- The category applied to all items within this group.
5978             (This will be or'ed with the orderInCategory attribute.) -->
5979        <attr name="menuCategory">
5980            <!-- Items are part of a container. -->
5981            <enum name="container" value="0x00010000" />
5982            <!-- Items are provided by the system. -->
5983            <enum name="system" value="0x00020000" />
5984            <!-- Items are user-supplied secondary (infrequently used). -->
5985            <enum name="secondary" value="0x00030000" />
5986            <!-- Items are alternative actions. -->
5987            <enum name="alternative" value="0x00040000" />
5988        </attr>
5989
5990        <!-- The order within the category applied to all items within this group.
5991             (This will be or'ed with the category attribute.) -->
5992        <attr name="orderInCategory" format="integer" />
5993
5994        <!-- Whether the items are capable of displaying a check mark. -->
5995        <attr name="checkableBehavior">
5996            <!-- The items are not checkable. -->
5997            <enum name="none" value="0" />
5998            <!-- The items are all checkable. -->
5999            <enum name="all" value="1" />
6000            <!-- The items are checkable and there will only be a single checked item in
6001                 this group. -->
6002            <enum name="single" value="2" />
6003        </attr>
6004
6005        <!-- Whether the items are shown/visible. -->
6006        <attr name="visible" />
6007
6008        <!-- Whether the items are enabled. -->
6009        <attr name="enabled" />
6010
6011    </declare-styleable>
6012
6013    <!-- Base attributes that are available to all Item objects. -->
6014    <declare-styleable name="MenuItem">
6015
6016        <!-- The ID of the item. -->
6017        <attr name="id" />
6018
6019        <!-- The category applied to the item.
6020             (This will be or'ed with the orderInCategory attribute.) -->
6021        <attr name="menuCategory" />
6022
6023        <!-- The order within the category applied to the item.
6024             (This will be or'ed with the category attribute.) -->
6025        <attr name="orderInCategory" />
6026
6027        <!-- The title associated with the item. -->
6028        <attr name="title" format="string" />
6029
6030        <!-- The condensed title associated with the item.  This is used in situations where the
6031             normal title may be too long to be displayed. -->
6032        <attr name="titleCondensed" format="string" />
6033
6034        <!-- The icon associated with this item.  This icon will not always be shown, so
6035             the title should be sufficient in describing this item. -->
6036        <attr name="icon" />
6037
6038        <!-- The alphabetic shortcut key.  This is the shortcut when using a keyboard
6039             with alphabetic keys. -->
6040        <attr name="alphabeticShortcut" format="string" />
6041
6042        <!-- The numeric shortcut key.  This is the shortcut when using a numeric (e.g., 12-key)
6043             keyboard. -->
6044        <attr name="numericShortcut" format="string" />
6045
6046        <!-- Whether the item is capable of displaying a check mark. -->
6047        <attr name="checkable" format="boolean" />
6048
6049        <!-- Whether the item is checked.  Note that you must first have enabled checking with
6050             the checkable attribute or else the check mark will not appear. -->
6051        <attr name="checked" />
6052
6053        <!-- Whether the item is shown/visible. -->
6054        <attr name="visible" />
6055
6056        <!-- Whether the item is enabled. -->
6057        <attr name="enabled" />
6058
6059        <!-- Name of a method on the Context used to inflate the menu that will be
6060             called when the item is clicked. -->
6061        <attr name="onClick" />
6062
6063        <!-- How this item should display in the Action Bar, if present. -->
6064        <attr name="showAsAction">
6065            <!-- Never show this item in an action bar, show it in the overflow menu instead.
6066                 Mutually exclusive with "ifRoom" and "always". -->
6067            <flag name="never" value="0" />
6068            <!-- Show this item in an action bar if there is room for it as determined
6069                 by the system. Favor this option over "always" where possible.
6070                 Mutually exclusive with "never" and "always". -->
6071            <flag name="ifRoom" value="1" />
6072            <!-- Always show this item in an actionbar, even if it would override
6073                 the system's limits of how much stuff to put there. This may make
6074                 your action bar look bad on some screens. In most cases you should
6075                 use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never". -->
6076            <flag name="always" value="2" />
6077            <!-- When this item is shown as an action in the action bar, show a text
6078                 label with it even if it has an icon representation. -->
6079            <flag name="withText" value="4" />
6080            <!-- This item's action view collapses to a normal menu
6081                 item. When expanded, the action view takes over a
6082                 larger segment of its container. -->
6083            <flag name="collapseActionView" value="8" />
6084        </attr>
6085
6086        <!-- An optional layout to be used as an action view.
6087             See {@link android.view.MenuItem#setActionView(android.view.View)}
6088             for more info. -->
6089        <attr name="actionLayout" format="reference" />
6090
6091        <!-- The name of an optional View class to instantiate and use as an
6092             action view. See {@link android.view.MenuItem#setActionView(android.view.View)}
6093             for more info. -->
6094        <attr name="actionViewClass" format="string" />
6095
6096        <!-- The name of an optional ActionProvider class to instantiate an action view
6097             and perform operations such as default action for that menu item.
6098             See {@link android.view.MenuItem#setActionProvider(android.view.ActionProvider)}
6099             for more info. -->
6100        <attr name="actionProviderClass" format="string" />
6101
6102    </declare-styleable>
6103
6104    <!-- Attrbitutes for a ActvityChooserView. -->
6105    <declare-styleable name="ActivityChooserView">
6106        <!-- The maximal number of items initially shown in the activity list. -->
6107        <attr name="initialActivityCount" format="string" />
6108        <!-- The drawable to show in the button for expanding the activities overflow popup.
6109             <strong>Note:</strong> Clients would like to set this drawable
6110             as a clue about the action the chosen activity will perform. For
6111             example, if share activity is to be chosen the drawable should
6112             give a clue that sharing is to be performed.
6113         -->
6114        <attr name="expandActivityOverflowButtonDrawable" format="reference" />
6115    </declare-styleable>
6116
6117    <!-- **************************************************************** -->
6118    <!-- Preferences framework. -->
6119    <!-- **************************************************************** -->
6120    <eat-comment />
6121
6122    <!-- Base attributes available to PreferenceGroup. -->
6123    <declare-styleable name="PreferenceGroup">
6124        <!-- Whether to order the Preference under this group as they appear in the XML file.
6125             If this is false, the ordering will follow the Preference order attribute and
6126             default to alphabetic for those without the order attribute. -->
6127        <attr name="orderingFromXml" format="boolean" />
6128    </declare-styleable>
6129
6130    <!-- Attribute for a header describing the item shown in the top-level list
6131         from which the selects the set of preference to dig in to. -->
6132    <declare-styleable name="PreferenceHeader">
6133        <!-- Identifier value for the header. -->
6134        <attr name="id" />
6135        <!-- The title of the item that is shown to the user. -->
6136        <attr name="title" />
6137        <!-- The summary for the item. -->
6138        <attr name="summary" format="string" />
6139        <!-- The title for the bread crumb of this item. -->
6140        <attr name="breadCrumbTitle" format="string" />
6141        <!-- The short title for the bread crumb of this item. -->
6142        <attr name="breadCrumbShortTitle" format="string" />
6143        <!-- An icon for the item. -->
6144        <attr name="icon" />
6145        <!-- The fragment that is displayed when the user selects this item. -->
6146        <attr name="fragment" format="string" />
6147    </declare-styleable>
6148
6149    <!-- WARNING:  If adding attributes to Preference, make sure it does not conflict
6150                   with a View's attributes.  Some subclasses (e.g., EditTextPreference)
6151                   proxy all attributes to its EditText widget. -->
6152    <eat-comment />
6153
6154    <!-- Base attributes available to Preference. -->
6155    <declare-styleable name="Preference">
6156        <!-- The optional icon for the preference -->
6157        <attr name="icon" />
6158        <!-- The key to store the Preference value. -->
6159        <attr name="key" format="string" />
6160        <!-- The title for the Preference in a PreferenceActivity screen. -->
6161        <attr name="title" />
6162        <!-- The summary for the Preference in a PreferenceActivity screen. -->
6163        <attr name="summary" />
6164        <!-- The order for the Preference (lower values are to be ordered first). If this is not
6165             specified, the default orderin will be alphabetic. -->
6166        <attr name="order" format="integer" />
6167        <!-- When used inside of a modern PreferenceActivity, this declares
6168             a new PreferenceFragment to be shown when the user selects this item. -->
6169        <attr name="fragment" />
6170        <!-- The layout for the Preference in a PreferenceActivity screen. This should
6171             rarely need to be changed, look at widgetLayout instead. -->
6172        <attr name="layout" />
6173        <!-- The layout for the controllable widget portion of a Preference. This is inflated
6174             into the layout for a Preference and should be used more frequently than
6175             the layout attribute. For example, a checkbox preference would specify
6176             a custom layout (consisting of just the CheckBox) here. -->
6177        <attr name="widgetLayout" format="reference" />
6178        <!-- Whether the Preference is enabled. -->
6179        <attr name="enabled" />
6180        <!-- Whether the Preference is selectable. -->
6181        <attr name="selectable" format="boolean" />
6182        <!-- The key of another Preference that this Preference will depend on.  If the other
6183             Preference is not set or is off, this Preference will be disabled. -->
6184        <attr name="dependency" format="string" />
6185        <!-- Whether the Preference stores its value to the shared preferences. -->
6186        <attr name="persistent" />
6187        <!-- The default value for the preference, which will be set either if persistence
6188             is off or persistence is on and the preference is not found in the persistent
6189             storage.  -->
6190        <attr name="defaultValue" format="string|boolean|integer|reference|float" />
6191        <!-- Whether the view of this Preference should be disabled when
6192             this Preference is disabled. -->
6193        <attr name="shouldDisableView" format="boolean" />
6194    </declare-styleable>
6195
6196    <!-- Base attributes available to CheckBoxPreference. -->
6197    <declare-styleable name="CheckBoxPreference">
6198        <!-- The summary for the Preference in a PreferenceActivity screen when the
6199             CheckBoxPreference is checked. If separate on/off summaries are not
6200             needed, the summary attribute can be used instead. -->
6201        <attr name="summaryOn" format="string" />
6202        <!-- The summary for the Preference in a PreferenceActivity screen when the
6203             CheckBoxPreference is unchecked. If separate on/off summaries are not
6204             needed, the summary attribute can be used instead. -->
6205        <attr name="summaryOff" format="string" />
6206        <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
6207             dependents will be disabled when this is unchecked, so the value of this preference is false. -->
6208        <attr name="disableDependentsState" format="boolean" />
6209    </declare-styleable>
6210
6211    <!-- Base attributes available to DialogPreference. -->
6212    <declare-styleable name="DialogPreference">
6213        <!-- The title in the dialog. -->
6214        <attr name="dialogTitle" format="string" />
6215        <!-- The message in the dialog. If a dialogLayout is provided and contains
6216             a TextView with ID android:id/message, this message will be placed in there. -->
6217        <attr name="dialogMessage" format="string" />
6218        <!-- The icon for the dialog. -->
6219        <attr name="dialogIcon" format="reference" />
6220        <!-- The positive button text for the dialog. Set to @null to hide the positive button. -->
6221        <attr name="positiveButtonText" format="string" />
6222        <!-- The negative button text for the dialog. Set to @null to hide the negative button. -->
6223        <attr name="negativeButtonText" format="string" />
6224        <!-- A layout to be used as the content View for the dialog. By default, this shouldn't
6225             be needed. If a custom DialogPreference is required, this should be set. For example,
6226             the EditTextPreference uses a layout with an EditText as this attribute. -->
6227        <attr name="dialogLayout" format="reference" />
6228    </declare-styleable>
6229
6230    <!-- Base attributes available to ListPreference. -->
6231    <declare-styleable name="ListPreference">
6232        <!-- The human-readable array to present as a list. Each entry must have a corresponding
6233             index in entryValues. -->
6234        <attr name="entries" />
6235        <!-- The array to find the value to save for a preference when an entry from
6236             entries is selected. If a user clicks on the second item in entries, the
6237             second item in this array will be saved to the preference. -->
6238        <attr name="entryValues" format="reference" />
6239    </declare-styleable>
6240
6241    <declare-styleable name="MultiSelectListPreference">
6242        <!-- The human-readable array to present as a list. Each entry must have a corresponding
6243             index in entryValues. -->
6244        <attr name="entries" />
6245        <!-- The array to find the value to save for a preference when an entry from
6246             entries is selected. If a user clicks the second item in entries, the
6247             second item in this array will be saved to the preference. -->
6248        <attr name="entryValues" />
6249    </declare-styleable>
6250
6251    <!-- Base attributes available to RingtonePreference. -->
6252    <declare-styleable name="RingtonePreference">
6253        <!-- Which ringtone type(s) to show in the picker. -->
6254        <attr name="ringtoneType">
6255            <!-- Ringtones. -->
6256            <flag name="ringtone" value="1" />
6257            <!-- Notification sounds. -->
6258            <flag name="notification" value="2" />
6259            <!-- Alarm sounds. -->
6260            <flag name="alarm" value="4" />
6261            <!-- All available ringtone sounds. -->
6262            <flag name="all" value="7" />
6263        </attr>
6264        <!-- Whether to show an item for a default sound. -->
6265        <attr name="showDefault" format="boolean" />
6266        <!-- Whether to show an item for 'Silent'. -->
6267        <attr name="showSilent" format="boolean" />
6268    </declare-styleable>
6269
6270    <!-- Base attributes available to VolumePreference. -->
6271    <declare-styleable name="VolumePreference">
6272        <!-- Different audio stream types. -->
6273        <attr name="streamType">
6274            <enum name="voice" value="0" />
6275            <enum name="system" value="1" />
6276            <enum name="ring" value="2" />
6277            <enum name="music" value="3" />
6278            <enum name="alarm" value="4" />
6279        </attr>
6280    </declare-styleable>
6281
6282    <declare-styleable name="InputMethodService">
6283        <!-- Background to use for entire input method when it is being
6284             shown in fullscreen mode with the extract view, to ensure
6285             that it completely covers the application.  This allows,
6286             for example, the candidate view to be hidden
6287             while in fullscreen mode without having the application show through
6288             behind it.-->
6289        <attr name="imeFullscreenBackground" format="reference|color" />
6290        <!-- Animation to use when showing the fullscreen extract UI after
6291             it had previously been hidden. -->
6292        <attr name="imeExtractEnterAnimation" format="reference" />
6293        <!-- Animation to use when hiding the fullscreen extract UI after
6294             it had previously been shown. -->
6295        <attr name="imeExtractExitAnimation" format="reference" />
6296    </declare-styleable>
6297
6298    <declare-styleable name="VoiceInteractionSession">
6299    </declare-styleable>
6300
6301    <declare-styleable name="KeyboardView">
6302        <!-- Default KeyboardView style. -->
6303        <attr name="keyboardViewStyle" format="reference" />
6304
6305        <!-- Image for the key. This image needs to be a StateListDrawable, with the following
6306             possible states: normal, pressed, checkable, checkable+pressed, checkable+checked,
6307             checkable+checked+pressed. -->
6308        <attr name="keyBackground" format="reference" />
6309
6310        <!-- Size of the text for character keys. -->
6311        <attr name="keyTextSize" format="dimension" />
6312
6313        <!-- Size of the text for custom keys with some text and no icon. -->
6314        <attr name="labelTextSize" format="dimension" />
6315
6316        <!-- Color to use for the label in a key. -->
6317        <attr name="keyTextColor" format="color" />
6318
6319        <!-- Layout resource for key press feedback.-->
6320        <attr name="keyPreviewLayout" format="reference" />
6321
6322        <!-- Vertical offset of the key press feedback from the key. -->
6323        <attr name="keyPreviewOffset" format="dimension" />
6324
6325        <!-- Height of the key press feedback popup. -->
6326        <attr name="keyPreviewHeight" format="dimension" />
6327
6328        <!-- Amount to offset the touch Y coordinate by, for bias correction. -->
6329        <attr name="verticalCorrection" format="dimension" />
6330
6331        <!-- Layout resource for popup keyboards. -->
6332        <attr name="popupLayout" format="reference" />
6333
6334        <attr name="shadowColor" />
6335        <attr name="shadowRadius" />
6336    </declare-styleable>
6337
6338    <declare-styleable name="KeyboardViewPreviewState">
6339        <!-- State for {@link android.inputmethodservice.KeyboardView KeyboardView}
6340                key preview background. -->
6341        <attr name="state_long_pressable" format="boolean" />
6342    </declare-styleable>
6343
6344    <declare-styleable name="Keyboard">
6345        <!-- Default width of a key, in pixels or percentage of display width. -->
6346        <attr name="keyWidth" format="dimension|fraction" />
6347        <!-- Default height of a key, in pixels or percentage of display width. -->
6348        <attr name="keyHeight" format="dimension|fraction" />
6349        <!-- Default horizontal gap between keys. -->
6350        <attr name="horizontalGap" format="dimension|fraction" />
6351        <!-- Default vertical gap between rows of keys. -->
6352        <attr name="verticalGap" format="dimension|fraction" />
6353    </declare-styleable>
6354
6355    <declare-styleable name="Keyboard_Row">
6356        <!-- Row edge flags. -->
6357        <attr name="rowEdgeFlags">
6358            <!-- Row is anchored to the top of the keyboard. -->
6359            <flag name="top" value="4" />
6360            <!-- Row is anchored to the bottom of the keyboard. -->
6361            <flag name="bottom" value="8" />
6362        </attr>
6363        <!-- Mode of the keyboard. If the mode doesn't match the
6364             requested keyboard mode, the row will be skipped. -->
6365        <attr name="keyboardMode" format="reference" />
6366    </declare-styleable>
6367
6368    <declare-styleable name="Keyboard_Key">
6369        <!-- The unicode value or comma-separated values that this key outputs. -->
6370        <attr name="codes" format="integer|string" />
6371        <!-- The XML keyboard layout of any popup keyboard. -->
6372        <attr name="popupKeyboard" format="reference" />
6373        <!-- The characters to display in the popup keyboard. -->
6374        <attr name="popupCharacters" format="string" />
6375        <!-- Key edge flags. -->
6376        <attr name="keyEdgeFlags">
6377            <!-- Key is anchored to the left of the keyboard. -->
6378            <flag name="left" value="1" />
6379            <!-- Key is anchored to the right of the keyboard. -->
6380            <flag name="right" value="2" />
6381        </attr>
6382        <!-- Whether this is a modifier key such as Alt or Shift. -->
6383        <attr name="isModifier" format="boolean" />
6384        <!-- Whether this is a toggle key. -->
6385        <attr name="isSticky" format="boolean" />
6386        <!-- Whether long-pressing on this key will make it repeat. -->
6387        <attr name="isRepeatable" format="boolean" />
6388        <!-- The icon to show in the popup preview. -->
6389        <attr name="iconPreview" format="reference" />
6390        <!-- The string of characters to output when this key is pressed. -->
6391        <attr name="keyOutputText" format="string" />
6392        <!-- The label to display on the key. -->
6393        <attr name="keyLabel" format="string" />
6394        <!-- The icon to display on the key instead of the label. -->
6395        <attr name="keyIcon" format="reference" />
6396        <!-- Mode of the keyboard. If the mode doesn't match the
6397             requested keyboard mode, the key will be skipped. -->
6398        <attr name="keyboardMode" />
6399    </declare-styleable>
6400
6401    <!-- =============================== -->
6402    <!-- AppWidget package class attributes -->
6403    <!-- =============================== -->
6404    <eat-comment />
6405
6406    <!-- Use <code>appwidget-provider</code> as the root tag of the XML resource that
6407         describes an AppWidget provider.  See {@link android.appwidget android.appwidget}
6408         package for more info.
6409     -->
6410    <declare-styleable name="AppWidgetProviderInfo">
6411        <!-- Minimum width of the AppWidget. -->
6412        <attr name="minWidth"/>
6413        <!-- Minimum height of the AppWidget. -->
6414        <attr name="minHeight"/>
6415        <!-- Minimum width that the AppWidget can be resized to. -->
6416        <attr name="minResizeWidth" format="dimension"/>
6417        <!-- Minimum height that the AppWidget can be resized to. -->
6418        <attr name="minResizeHeight" format="dimension"/>
6419        <!-- Update period in milliseconds, or 0 if the AppWidget will update itself. -->
6420        <attr name="updatePeriodMillis" format="integer" />
6421        <!-- A resource id of a layout. -->
6422        <attr name="initialLayout" format="reference" />
6423        <!-- A resource id of a layout. -->
6424        <attr name="initialKeyguardLayout" format="reference" />
6425        <!-- A class name in the AppWidget's package to be launched to configure.
6426             If not supplied, then no activity will be launched. -->
6427        <attr name="configure" format="string" />
6428        <!-- A preview of what the AppWidget will look like after it's configured.
6429              If not supplied, the AppWidget's icon will be used. -->
6430        <attr name="previewImage" format="reference" />
6431        <!-- The view id of the AppWidget subview which should be auto-advanced.
6432             by the widget's host. -->
6433        <attr name="autoAdvanceViewId" format="reference" />
6434        <!-- Optional parameter which indicates if and how this widget can be
6435             resized. Supports combined values using | operator. -->
6436        <attr name="resizeMode" format="integer">
6437            <flag name="none" value="0x0" />
6438            <flag name="horizontal" value="0x1" />
6439            <flag name="vertical" value="0x2" />
6440        </attr>
6441        <!-- Optional parameter which indicates where this widget can be shown,
6442             ie. home screen, keyguard, recents or any combination thereof.
6443             Supports combined values using | operator. -->
6444        <attr name="widgetCategory" format="integer">
6445            <flag name="home_screen" value="0x1" />
6446            <flag name="keyguard" value="0x2" />
6447            <flag name="recents" value="0x4" />
6448        </attr>
6449    </declare-styleable>
6450
6451    <!-- =============================== -->
6452    <!-- Wallpaper preview attributes    -->
6453    <!-- =============================== -->
6454    <eat-comment />
6455
6456    <!-- Use <code>wallpaper-preview</code> as the root tag of the XML resource that
6457         describes a wallpaper preview. -->
6458    <declare-styleable name="WallpaperPreviewInfo">
6459        <!-- A resource id of a static drawable. -->
6460        <attr name="staticWallpaperPreview" format="reference" />
6461    </declare-styleable>
6462
6463    <!-- =============================== -->
6464    <!-- App package class attributes -->
6465    <!-- =============================== -->
6466    <eat-comment />
6467
6468    <!-- ============================= -->
6469    <!-- View package class attributes -->
6470    <!-- ============================= -->
6471    <eat-comment />
6472
6473    <!-- Attributes that can be used with <code>&lt;fragment&gt;</code>
6474         tags inside of the layout of an Activity.  This instantiates
6475         the given {@link android.app.Fragment} and inserts its content
6476         view into the current location in the layout. -->
6477    <declare-styleable name="Fragment">
6478        <!-- Supply the name of the fragment class to instantiate. -->
6479        <attr name="name" />
6480
6481        <!-- Supply an identifier name for the top-level view, to later retrieve it
6482             with {@link android.view.View#findViewById View.findViewById()} or
6483             {@link android.app.Activity#findViewById Activity.findViewById()}.
6484             This must be a
6485             resource reference; typically you set this using the
6486             <code>@+</code> syntax to create a new ID resources.
6487             For example: <code>android:id="@+id/my_id"</code> which
6488             allows you to later retrieve the view
6489             with <code>findViewById(R.id.my_id)</code>. -->
6490        <attr name="id" />
6491
6492        <!-- Supply a tag for the top-level view containing a String, to be retrieved
6493             later with {@link android.view.View#getTag View.getTag()} or
6494             searched for with {@link android.view.View#findViewWithTag
6495             View.findViewWithTag()}.  It is generally preferable to use
6496             IDs (through the android:id attribute) instead of tags because
6497             they are faster and allow for compile-time type checking. -->
6498        <attr name="tag" />
6499    </declare-styleable>
6500
6501    <!-- Use <code>device-admin</code> as the root tag of the XML resource that
6502         describes a
6503         {@link android.app.admin.DeviceAdminReceiver}, which is
6504         referenced from its
6505         {@link android.app.admin.DeviceAdminReceiver#DEVICE_ADMIN_META_DATA}
6506         meta-data entry.  Described here are the attributes that can be
6507         included in that tag. -->
6508    <declare-styleable name="DeviceAdmin">
6509        <!-- Control whether the admin is visible to the user, even when it
6510             is not enabled.  This is true by default.  You may want to make
6511             it false if your admin does not make sense to be turned on
6512             unless some explicit action happens in your app. -->
6513        <attr name="visible" />
6514    </declare-styleable>
6515
6516    <!-- Use <code>wallpaper</code> as the root tag of the XML resource that
6517         describes an
6518         {@link android.service.wallpaper.WallpaperService}, which is
6519         referenced from its
6520         {@link android.service.wallpaper.WallpaperService#SERVICE_META_DATA}
6521         meta-data entry.  Described here are the attributes that can be
6522         included in that tag. -->
6523    <declare-styleable name="Wallpaper">
6524        <attr name="settingsActivity" />
6525
6526        <!-- Reference to a the wallpaper's thumbnail bitmap. -->
6527        <attr name="thumbnail" format="reference" />
6528
6529        <!-- Name of the author of this component, e.g. Google. -->
6530        <attr name="author" format="reference" />
6531
6532        <!-- Short description of the component's purpose or behavior. -->
6533        <attr name="description" />
6534    </declare-styleable>
6535
6536    <!-- Use <code>dream</code> as the root tag of the XML resource that
6537         describes an
6538         {@link android.service.dreams.DreamService}, which is
6539         referenced from its
6540         {@link android.service.dreams.DreamService#DREAM_META_DATA}
6541         meta-data entry.  Described here are the attributes that can be
6542         included in that tag. -->
6543    <declare-styleable name="Dream">
6544        <!-- Component name of an activity that allows the user to modify
6545             the settings for this dream. -->
6546        <attr name="settingsActivity" />
6547    </declare-styleable>
6548
6549    <!-- @SystemApi Use <code>trust-agent</code> as the root tag of the XML resource that
6550         describes an {@link android.service.trust.TrustAgentService}, which is
6551         referenced from its {@link android.service.trust.TrustAgentService#TRUST_AGENT_META_DATA}
6552         meta-data entry.  Described here are the attributes that can be included in that tag.
6553         @hide -->
6554    <declare-styleable name="TrustAgent">
6555        <!-- @SystemApi Component name of an activity that allows the user to modify
6556             the settings for this trust agent. @hide -->
6557        <attr name="settingsActivity" />
6558        <!-- @SystemApi Title for a preference that allows that user to launch the
6559             activity to modify trust agent settings. @hide -->
6560        <attr name="title" />
6561        <!-- @SystemApi Summary for the same preference as the title. @hide -->
6562        <attr name="summary" />
6563    </declare-styleable>
6564
6565    <!-- =============================== -->
6566    <!-- Accounts package class attributes -->
6567    <!-- =============================== -->
6568    <eat-comment />
6569
6570    <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
6571         describes an account authenticator.
6572     -->
6573    <declare-styleable name="AccountAuthenticator">
6574        <!-- The account type this authenticator handles. -->
6575        <attr name="accountType" format="string"/>
6576        <!-- The user-visible name of the authenticator. -->
6577        <attr name="label"/>
6578        <!-- The icon of the authenticator. -->
6579        <attr name="icon"/>
6580        <!-- Smaller icon of the authenticator. -->
6581        <attr name="smallIcon" format="reference"/>
6582        <!-- A preferences.xml file for authenticator-specific settings. -->
6583        <attr name="accountPreferences" format="reference"/>
6584        <!-- Account handles its own token storage and permissions.
6585             Default to false
6586          -->
6587        <attr name="customTokens" format="boolean"/>
6588    </declare-styleable>
6589
6590    <!-- =============================== -->
6591    <!-- Accounts package class attributes -->
6592    <!-- =============================== -->
6593    <eat-comment />
6594
6595    <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
6596         describes an account authenticator.
6597     -->
6598    <declare-styleable name="SyncAdapter">
6599        <!-- the authority of a content provider. -->
6600        <attr name="contentAuthority" format="string"/>
6601        <attr name="accountType"/>
6602        <attr name="userVisible" format="boolean"/>
6603        <attr name="supportsUploading" format="boolean"/>
6604        <!-- Set to true to tell the SyncManager that this SyncAdapter supports
6605             multiple simultaneous syncs for the same account type and authority.
6606             Otherwise the SyncManager will be sure not to issue a start sync request
6607             to this SyncAdapter if the SyncAdapter is already syncing another account.
6608             Defaults to false.
6609             -->
6610        <attr name="allowParallelSyncs" format="boolean"/>
6611        <!-- Set to true to tell the SyncManager to automatically call setIsSyncable(..., ..., 1)
6612             for the SyncAdapter instead of issuaing an initialization sync to the SyncAdapter.
6613             Defaults to false.
6614             -->
6615        <attr name="isAlwaysSyncable" format="boolean"/>
6616        <!-- If provided, specifies the action of the settings
6617             activity for this SyncAdapter.
6618             -->
6619        <attr name="settingsActivity"/>
6620    </declare-styleable>
6621
6622    <!-- =============================== -->
6623    <!-- Contacts meta-data attributes -->
6624    <!-- =============================== -->
6625    <eat-comment />
6626
6627    <!-- TODO: remove this deprecated styleable. -->
6628    <eat-comment />
6629    <declare-styleable name="Icon">
6630        <attr name="icon" />
6631        <attr name="mimeType" />
6632    </declare-styleable>
6633
6634    <!-- TODO: remove this deprecated styleable -->
6635    <eat-comment />
6636    <declare-styleable name="IconDefault">
6637        <attr name="icon" />
6638    </declare-styleable>
6639
6640    <!-- Maps a specific contact data MIME-type to styling information. -->
6641    <declare-styleable name="ContactsDataKind">
6642        <!-- Mime-type handled by this mapping. -->
6643        <attr name="mimeType" />
6644        <!-- Icon used to represent data of this kind. -->
6645        <attr name="icon" />
6646        <!-- Column in data table that summarizes this data. -->
6647        <attr name="summaryColumn" format="string" />
6648        <!-- Column in data table that contains details for this data. -->
6649        <attr name="detailColumn" format="string" />
6650        <!-- Flag indicating that detail should be built from SocialProvider. -->
6651        <attr name="detailSocialSummary" format="boolean" />
6652        <!-- Resource representing the term "All Contacts" (e.g. "All Friends" or
6653        "All connections"). Optional (Default is "All Contacts"). -->
6654        <attr name="allContactsName" format="string" />
6655    </declare-styleable>
6656
6657    <!-- =============================== -->
6658    <!-- TabSelector class attributes -->
6659    <!-- =============================== -->
6660    <eat-comment />
6661
6662    <declare-styleable name="SlidingTab">
6663        <!-- Use "horizontal" for a row, "vertical" for a column.  The default is horizontal. -->
6664        <attr name="orientation" />
6665    </declare-styleable>
6666
6667    <!-- =============================== -->
6668    <!-- GlowPadView class attributes -->
6669    <!-- =============================== -->
6670    <eat-comment />
6671    <declare-styleable name="GlowPadView">
6672        <!-- Reference to an array resource that be shown as targets around a circle. -->
6673        <attr name="targetDrawables" format="reference" />
6674
6675        <!-- Reference to an array resource that be used as description for the targets around the circle. -->
6676        <attr name="targetDescriptions" format="reference" />
6677
6678        <!-- Reference to an array resource that be used to announce the directions with targets around the circle. -->
6679        <attr name="directionDescriptions" format="reference" />
6680
6681        <!-- Sets a drawable as the center. -->
6682        <attr name="handleDrawable" format="reference" />
6683
6684        <!-- Drawable to use for wave ripple animation. -->
6685        <attr name="outerRingDrawable" format="reference"/>
6686
6687        <!-- Drawble used for drawing points -->
6688        <attr name="pointDrawable" format="reference" />
6689
6690        <!-- Inner radius of glow area. -->
6691        <attr name="innerRadius"/>
6692
6693        <!-- Outer radius of glow area. Target icons will be drawn on this circle. -->
6694        <attr name="outerRadius" format="dimension" />
6695
6696        <!-- Radius of glow under finger. -->
6697        <attr name="glowRadius" format="dimension" />
6698
6699        <!-- Tactile feedback duration for actions. Set to '0' for no vibration. -->
6700        <attr name="vibrationDuration" format="integer" />
6701
6702        <!-- How close we need to be before snapping to a target. -->
6703        <attr name="snapMargin" format="dimension" />
6704
6705        <!-- Number of waves/chevrons to show in animation. -->
6706        <attr name="feedbackCount" format="integer" />
6707
6708        <!-- Used when the handle shouldn't wait to be hit before following the finger -->
6709        <attr name="alwaysTrackFinger" format="boolean" />
6710
6711        <!-- Location along the circle of the first item, in degrees.-->
6712        <attr name="firstItemOffset" format="float" />
6713
6714        <!-- Causes targets to snap to the finger location on activation. -->
6715        <attr name="magneticTargets" format="boolean" />
6716
6717        <attr name="gravity" />
6718
6719        <!-- Determine whether the glow pad is allowed to scale to fit the bounds indicated
6720            by its parent. If this is set to false, no scaling will occur. If this is set to true
6721            scaling will occur to fit for any axis in which gravity is set to center. -->
6722        <attr name="allowScaling" format="boolean" />
6723    </declare-styleable>
6724
6725    <!-- =============================== -->
6726    <!-- SizeAdaptiveLayout class attributes -->
6727    <!-- =============================== -->
6728    <eat-comment />
6729    <declare-styleable name="SizeAdaptiveLayout_Layout">
6730      <!-- The maximum valid height for this item. -->
6731      <attr name="layout_maxHeight" format="dimension">
6732        <!-- Indicates that the view may be resized arbitrarily large. -->
6733        <enum name="unbounded" value="-1" />
6734      </attr>
6735      <!-- The minimum valid height for this item. -->
6736      <attr name="layout_minHeight" format="dimension" />
6737    </declare-styleable>
6738    <declare-styleable name="SizeAdaptiveLayout" />
6739
6740    <!-- =============================== -->
6741    <!-- Location package class attributes -->
6742    <!-- =============================== -->
6743    <eat-comment />
6744
6745    <!-- Use <code>injected-location-setting</code> as the root tag of the XML resource that
6746         describes an injected "Location services" setting. Note that the status value (subtitle)
6747         for the setting is specified dynamically by a subclass of SettingInjectorService.
6748     -->
6749    <declare-styleable name="SettingInjectorService">
6750        <!-- The title for the preference. -->
6751        <attr name="title"/>
6752        <!-- The icon for the preference, should refer to all apps covered by the setting. Typically
6753             a generic icon for the developer. -->
6754        <attr name="icon"/>
6755        <!-- The activity to launch when the setting is clicked on. -->
6756        <attr name="settingsActivity"/>
6757    </declare-styleable>
6758
6759    <!-- =============================== -->
6760    <!-- LockPatternView class attributes -->
6761    <!-- =============================== -->
6762    <eat-comment />
6763
6764    <declare-styleable name="LockPatternView">
6765        <!-- Aspect to use when drawing LockPatternView. Choices are "square"(default), "lock_width"
6766             or "lock_height" -->
6767        <attr name="aspect" format="string" />
6768        <!-- Color to use when drawing LockPatternView paths. -->
6769        <attr name="pathColor" format="color|reference" />
6770        <!-- The regular pattern color -->
6771        <attr name="regularColor" format="color|reference" />
6772        <!-- The error color -->
6773        <attr name="errorColor" format="color|reference" />
6774        <!-- The success color -->
6775        <attr name="successColor" format="color|reference"/>
6776    </declare-styleable>
6777
6778    <!-- Use <code>recognition-service</code> as the root tag of the XML resource that
6779         describes a {@link android.speech.RecognitionService}, which is referenced from
6780         its {@link android.speech.RecognitionService#SERVICE_META_DATA} meta-data entry.
6781         Described here are the attributes that can be included in that tag. -->
6782    <declare-styleable name="RecognitionService">
6783        <attr name="settingsActivity" />
6784    </declare-styleable>
6785
6786    <!-- Use <code>voice-interaction-service</code> as the root tag of the XML resource that
6787         describes a {@link android.service.voice.VoiceInteractionService}, which is referenced from
6788         its {@link android.service.voice.VoiceInteractionService#SERVICE_META_DATA} meta-data entry.
6789         Described here are the attributes that can be included in that tag. -->
6790    <declare-styleable name="VoiceInteractionService">
6791        <!-- The service that hosts active voice interaction sessions. -->
6792        <attr name="sessionService" format="string" />
6793        <!-- The service that provides voice recognition. -->
6794        <attr name="recognitionService" format="string" />
6795        <attr name="settingsActivity" />
6796    </declare-styleable>
6797
6798    <!-- Use <code>voice-enrollment-application</code>
6799         as the root tag of the XML resource that escribes the supported keyphrases (hotwords)
6800         by the enrollment application.
6801         Described here are the attributes that can be included in that tag.
6802         @hide
6803         @SystemApi -->
6804    <declare-styleable name="VoiceEnrollmentApplication">
6805        <!-- A globally unique ID for the keyphrase. @hide @SystemApi -->
6806        <attr name="searchKeyphraseId" format="integer" />
6807        <!-- The actual keyphrase/hint text, or empty if not keyphrase dependent. @hide @SystemApi -->
6808        <attr name="searchKeyphrase" format="string" />
6809        <!-- A comma separated list of java locales that are supported for this keyphrase,
6810             or empty if not locale dependent. @hide @SystemApi -->
6811        <attr name="searchKeyphraseSupportedLocales" format="string" />
6812        <!-- Flags for supported recognition modes. @hide @SystemApi -->
6813        <attr name="searchKeyphraseRecognitionFlags">
6814            <flag name="none" value="0" />
6815            <flag name="voiceTrigger" value="0x1" />
6816            <flag name="userIdentification" value="0x2" />
6817        </attr>
6818    </declare-styleable>
6819
6820    <!-- Attributes used to style the Action Bar. -->
6821    <declare-styleable name="ActionBar">
6822        <!-- The type of navigation to use. -->
6823        <attr name="navigationMode">
6824            <!-- Normal static title text -->
6825            <enum name="normal" value="0" />
6826            <!-- The action bar will use a selection list for navigation. -->
6827            <enum name="listMode" value="1" />
6828            <!-- The action bar will use a series of horizontal tabs for navigation. -->
6829            <enum name="tabMode" value="2" />
6830        </attr>
6831        <!-- Options affecting how the action bar is displayed. -->
6832        <attr name="displayOptions">
6833            <flag name="none" value="0" />
6834            <flag name="useLogo" value="0x1" />
6835            <flag name="showHome" value="0x2" />
6836            <flag name="homeAsUp" value="0x4" />
6837            <flag name="showTitle" value="0x8" />
6838            <flag name="showCustom" value="0x10" />
6839            <flag name="disableHome" value="0x20" />
6840        </attr>
6841        <!-- Specifies title text used for navigationMode="normal" -->
6842        <attr name="title" />
6843        <!-- Specifies subtitle text used for navigationMode="normal" -->
6844        <attr name="subtitle" format="string" />
6845        <!-- Specifies a style to use for title text. -->
6846        <attr name="titleTextStyle" format="reference" />
6847        <!-- Specifies a style to use for subtitle text. -->
6848        <attr name="subtitleTextStyle" format="reference" />
6849        <!-- Specifies the drawable used for the application icon. -->
6850        <attr name="icon" />
6851        <!-- Specifies the drawable used for the application logo. -->
6852        <attr name="logo" />
6853        <!-- Specifies the drawable used for item dividers. -->
6854        <attr name="divider" />
6855        <!-- Specifies a background drawable for the action bar. -->
6856        <attr name="background" />
6857        <!-- Specifies a background drawable for a second stacked row of the action bar. -->
6858        <attr name="backgroundStacked" format="reference|color" />
6859        <!-- Specifies a background drawable for the bottom component of a split action bar. -->
6860        <attr name="backgroundSplit" format="reference|color" />
6861        <!-- Specifies a layout for custom navigation. Overrides navigationMode. -->
6862        <attr name="customNavigationLayout" format="reference" />
6863        <!-- Specifies a fixed height. -->
6864        <attr name="height" />
6865        <!-- Specifies a layout to use for the "home" section of the action bar. -->
6866        <attr name="homeLayout" format="reference" />
6867        <!-- Specifies a style resource to use for an embedded progress bar. -->
6868        <attr name="progressBarStyle" />
6869        <!-- Specifies a style resource to use for an indeterminate progress spinner. -->
6870        <attr name="indeterminateProgressStyle" format="reference" />
6871        <!-- Specifies the horizontal padding on either end for an embedded progress bar. -->
6872        <attr name="progressBarPadding" format="dimension" />
6873        <!-- Up navigation glyph -->
6874        <attr name="homeAsUpIndicator" />
6875        <!-- Specifies padding that should be applied to the left and right sides of
6876             system-provided items in the bar. -->
6877        <attr name="itemPadding" format="dimension" />
6878        <!-- Set true to hide the action bar on a vertical nested scroll of content. -->
6879        <attr name="hideOnContentScroll" format="boolean" />
6880        <!-- Minimum inset for content views within a bar. Navigation buttons and
6881             menu views are excepted. Only valid for some themes and configurations. -->
6882        <attr name="contentInsetStart" format="dimension" />
6883        <!-- Minimum inset for content views within a bar. Navigation buttons and
6884             menu views are excepted. Only valid for some themes and configurations. -->
6885        <attr name="contentInsetEnd" format="dimension" />
6886        <!-- Minimum inset for content views within a bar. Navigation buttons and
6887             menu views are excepted. Only valid for some themes and configurations. -->
6888        <attr name="contentInsetLeft" format="dimension" />
6889        <!-- Minimum inset for content views within a bar. Navigation buttons and
6890             menu views are excepted. Only valid for some themes and configurations. -->
6891        <attr name="contentInsetRight" format="dimension" />
6892        <!-- Elevation for the action bar itself -->
6893        <attr name="elevation" />
6894        <!-- Reference to a theme that should be used to inflate popups
6895             shown by widgets in the action bar. -->
6896        <attr name="popupTheme" />
6897    </declare-styleable>
6898
6899    <declare-styleable name="ActionMode">
6900        <!-- Specifies a style to use for title text. -->
6901        <attr name="titleTextStyle" />
6902        <!-- Specifies a style to use for subtitle text. -->
6903        <attr name="subtitleTextStyle" />
6904        <!-- Specifies a background for the action mode bar. -->
6905        <attr name="background" />
6906        <!-- Specifies a background for the split action mode bar. -->
6907        <attr name="backgroundSplit" />
6908        <!-- Specifies a fixed height for the action mode bar. -->
6909        <attr name="height" />
6910    </declare-styleable>
6911
6912    <declare-styleable name="SearchView">
6913        <!-- The layout to use for the search view. -->
6914        <attr name="layout" />
6915        <!-- The default state of the SearchView. If true, it will be iconified when not in
6916             use and expanded when clicked. -->
6917        <attr name="iconifiedByDefault" format="boolean" />
6918        <!-- An optional maximum width of the SearchView. -->
6919        <attr name="maxWidth" />
6920        <!-- An optional query hint string to be displayed in the empty query field. -->
6921        <attr name="queryHint" format="string" />
6922        <!-- The IME options to set on the query text field. -->
6923        <attr name="imeOptions" />
6924        <!-- The input type to set on the query text field. -->
6925        <attr name="inputType" />
6926        <!-- Close button icon -->
6927        <attr name="closeIcon" format="reference" />
6928        <!-- Go button icon -->
6929        <attr name="goIcon" format="reference" />
6930        <!-- Search icon -->
6931        <attr name="searchIcon" format="reference" />
6932        <!-- Voice button icon -->
6933        <attr name="voiceIcon" format="reference" />
6934        <!-- Commit icon shown in the query suggestion row -->
6935        <attr name="commitIcon" format="reference" />
6936        <!-- Layout for query suggestion rows -->
6937        <attr name="suggestionRowLayout" format="reference" />
6938        <!-- Background for the section containing the search query -->
6939        <attr name="queryBackground" format="reference" />
6940        <!-- Background for the section containing the action (e.g. voice search) -->
6941        <attr name="submitBackground" format="reference" />
6942    </declare-styleable>
6943
6944    <declare-styleable name="Switch">
6945        <!-- Drawable to use as the "thumb" that switches back and forth. -->
6946        <attr name="thumb" />
6947        <!-- Drawable to use as the "track" that the switch thumb slides within. -->
6948        <attr name="track" format="reference" />
6949        <!-- Text to use when the switch is in the checked/"on" state. -->
6950        <attr name="textOn" />
6951        <!-- Text to use when the switch is in the unchecked/"off" state. -->
6952        <attr name="textOff" />
6953        <!-- Amount of padding on either side of text within the switch thumb. -->
6954        <attr name="thumbTextPadding" format="dimension" />
6955        <!-- TextAppearance style for text displayed on the switch thumb. -->
6956        <attr name="switchTextAppearance" format="reference" />
6957        <!-- Minimum width for the switch component -->
6958        <attr name="switchMinWidth" format="dimension" />
6959        <!-- Minimum space between the switch and caption text -->
6960        <attr name="switchPadding" format="dimension" />
6961        <!-- Whether to split the track and leave a gap for the thumb drawable. -->
6962        <attr name="splitTrack" />
6963        <!-- Whether to draw on/off text. -->
6964        <attr name="showText" format="boolean" />
6965    </declare-styleable>
6966
6967    <declare-styleable name="Pointer">
6968        <!-- Reference to a pointer icon drawable with STYLE_ARROW -->
6969        <attr name="pointerIconArrow" format="reference" />
6970        <!-- Reference to a pointer icon drawable with STYLE_SPOT_HOVER -->
6971        <attr name="pointerIconSpotHover" format="reference" />
6972        <!-- Reference to a pointer icon drawable with STYLE_SPOT_TOUCH -->
6973        <attr name="pointerIconSpotTouch" format="reference" />
6974        <!-- Reference to a pointer icon drawable with STYLE_SPOT_ANCHOR -->
6975        <attr name="pointerIconSpotAnchor" format="reference" />
6976    </declare-styleable>
6977
6978    <declare-styleable name="PointerIcon">
6979        <!-- Drawable to use as the icon bitmap. -->
6980        <attr name="bitmap" format="reference" />
6981        <!-- X coordinate of the icon hot spot. -->
6982        <attr name="hotSpotX" format="float" />
6983        <!-- Y coordinate of the icon hot spot. -->
6984        <attr name="hotSpotY" format="float" />
6985    </declare-styleable>
6986
6987    <declare-styleable name="Storage">
6988        <!-- path to mount point for the storage -->
6989        <attr name="mountPoint" format="string" />
6990        <!-- user visible description of the storage -->
6991        <attr name="storageDescription" format="string" />
6992        <!-- true if the storage is the primary external storage -->
6993        <attr name="primary" format="boolean" />
6994        <!-- true if the storage is removable -->
6995        <attr name="removable" format="boolean" />
6996        <!-- true if the storage is emulated via the FUSE sdcard daemon -->
6997        <attr name="emulated" format="boolean" />
6998        <!-- number of megabytes of storage MTP should reserve for free storage
6999             (used for emulated storage that is shared with system's data partition) -->
7000        <attr name="mtpReserve" format="integer" />
7001        <!-- true if the storage can be shared via USB mass storage -->
7002        <attr name="allowMassStorage" format="boolean" />
7003        <!-- maximum file size for the volume in megabytes, zero or unspecified if it is unbounded -->
7004        <attr name="maxFileSize" format="integer" />
7005    </declare-styleable>
7006
7007    <declare-styleable name="SwitchPreference">
7008        <!-- The summary for the Preference in a PreferenceActivity screen when the
7009             SwitchPreference is checked. If separate on/off summaries are not
7010             needed, the summary attribute can be used instead. -->
7011        <attr name="summaryOn" />
7012        <!-- The summary for the Preference in a PreferenceActivity screen when the
7013             SwitchPreference is unchecked. If separate on/off summaries are not
7014             needed, the summary attribute can be used instead. -->
7015        <attr name="summaryOff" />
7016        <!-- The text used on the switch itself when in the "on" state.
7017             This should be a very SHORT string, as it appears in a small space. -->
7018        <attr name="switchTextOn" format="string" />
7019        <!-- The text used on the switch itself when in the "off" state.
7020             This should be a very SHORT string, as it appears in a small space. -->
7021        <attr name="switchTextOff" format="string" />
7022        <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
7023             dependents will be disabled when this is unchecked, so the value of this preference is false. -->
7024        <attr name="disableDependentsState" />
7025    </declare-styleable>
7026
7027    <declare-styleable name="SeekBarPreference">
7028        <attr name="layout" />
7029    </declare-styleable>
7030
7031    <!-- Base attributes available to PreferenceFragment. -->
7032    <declare-styleable name="PreferenceFragment">
7033        <!-- The layout for the PreferenceFragment. This should rarely need to be changed -->
7034        <attr name="layout" />
7035    </declare-styleable>
7036
7037    <!-- Use <code>tts-engine</code> as the root tag of the XML resource that
7038         describes a text to speech engine implemented as a subclass of
7039         {@link android.speech.tts.TextToSpeechService}.
7040
7041         The XML resource must be referenced from its
7042         {@link android.speech.tts.TextToSpeech.Engine#SERVICE_META_DATA} meta-data
7043         entry. -->
7044    <declare-styleable name="TextToSpeechEngine">
7045        <attr name="settingsActivity" />
7046    </declare-styleable>
7047
7048    <!-- Use <code>keyboard-layouts</code> as the root tag of the XML resource that
7049         describes a collection of keyboard layouts provided by an application.
7050         Each keyboard layout is declared by a <code>keyboard-layout</code> tag
7051         with these attributes.
7052
7053         The XML resource that contains the keyboard layouts must be referenced from its
7054         {@link android.hardware.input.InputManager#META_DATA_KEYBOARD_LAYOUTS}
7055         meta-data entry used with broadcast receivers for
7056         {@link android.hardware.input.InputManager#ACTION_QUERY_KEYBOARD_LAYOUTS}. -->
7057    <declare-styleable name="KeyboardLayout">
7058        <!-- The name of the keyboard layout, must be unique in the receiver. -->
7059        <attr name="name" />
7060        <!-- The display label of the keyboard layout. -->
7061        <attr name="label" />
7062        <!-- The key character map file resource. -->
7063        <attr name="keyboardLayout" format="reference" />
7064    </declare-styleable>
7065
7066    <declare-styleable name="MediaRouteButton">
7067        <!-- This drawable is a state list where the "activated" state
7068             indicates active media routing. Non-activated indicates
7069             that media is playing to the local device only.
7070             @hide -->
7071        <attr name="externalRouteEnabledDrawable" format="reference" />
7072
7073        <!-- The types of media routes the button and its resulting
7074             chooser will filter by. -->
7075        <attr name="mediaRouteTypes" format="integer">
7076            <!-- Allow selection of live audio routes. -->
7077            <enum name="liveAudio" value="0x1" />
7078            <!-- Allow selection of user (app-specified) routes. -->
7079            <enum name="user" value="0x800000" />
7080        </attr>
7081
7082        <attr name="minWidth" />
7083        <attr name="minHeight" />
7084    </declare-styleable>
7085
7086    <!-- PagedView specific attributes. These attributes are used to customize
7087         a PagedView view in XML files. -->
7088    <declare-styleable name="PagedView">
7089        <!-- The space between adjacent pages of the PagedView. -->
7090        <attr name="pageSpacing" format="dimension" />
7091        <!-- The padding for the scroll indicator area -->
7092        <attr name="scrollIndicatorPaddingLeft" format="dimension" />
7093        <attr name="scrollIndicatorPaddingRight" format="dimension" />
7094    </declare-styleable>
7095
7096    <declare-styleable name="KeyguardGlowStripView">
7097        <attr name="dotSize" format="dimension" />
7098        <attr name="numDots" format="integer" />
7099        <attr name="glowDot" format="reference" />
7100        <attr name="leftToRight" format="boolean" />
7101    </declare-styleable>
7102
7103    <!-- Some child types have special behavior. -->
7104    <attr name="layout_childType">
7105        <!-- No special behavior. Layout will proceed as normal. -->
7106        <enum name="none" value="0" />
7107        <!-- Widget container.
7108             This will be resized in response to certain events. -->
7109        <enum name="widget" value="1" />
7110        <!-- Security challenge container.
7111             This will be dismissed/shown in response to certain events,
7112             possibly obscuring widget elements. -->
7113        <enum name="challenge" value="2" />
7114        <!-- User switcher.
7115             This will consume space from the total layout area. -->
7116        <enum name="userSwitcher" value="3" />
7117        <!-- Scrim. This will block access to child views that
7118             come before it in the child list in bouncer mode. -->
7119        <enum name="scrim" value="4" />
7120        <!-- The home for widgets. All widgets will be descendents of this. -->
7121        <enum name="widgets" value="5" />
7122        <!-- This is a handle that is used for expanding the
7123             security challenge container when it is collapsed. -->
7124        <enum name="expandChallengeHandle" value="6" />
7125        <!-- Delete drop target.  This will be the drop target to delete pages. -->
7126        <enum name="pageDeleteDropTarget" value="7" />
7127    </attr>
7128
7129    <declare-styleable name="SlidingChallengeLayout_Layout">
7130        <attr name="layout_childType" />
7131        <attr name="layout_maxHeight" />
7132    </declare-styleable>
7133
7134    <!-- Attributes that can be used with <code>&lt;FragmentBreadCrumbs&gt;</code>
7135    tags. -->
7136    <declare-styleable name="FragmentBreadCrumbs">
7137        <attr name="gravity" />
7138    </declare-styleable>
7139
7140    <declare-styleable name="MultiPaneChallengeLayout">
7141        <!-- Influences how layout_centerWithinArea behaves -->
7142        <attr name="orientation" />
7143    </declare-styleable>
7144
7145    <declare-styleable name="MultiPaneChallengeLayout_Layout">
7146        <!-- Percentage of the screen this child should consume or center within.
7147             If 0/default, the view will be measured by standard rules
7148             as if this were a FrameLayout. -->
7149        <attr name="layout_centerWithinArea" format="float" />
7150        <attr name="layout_childType" />
7151        <attr name="layout_gravity" />
7152        <attr name="layout_maxWidth" format="dimension" />
7153        <attr name="layout_maxHeight" />
7154    </declare-styleable>
7155
7156    <declare-styleable name="KeyguardSecurityViewFlipper_Layout">
7157        <attr name="layout_maxWidth" />
7158        <attr name="layout_maxHeight" />
7159    </declare-styleable>
7160
7161    <declare-styleable name="Toolbar">
7162        <attr name="titleTextAppearance" format="reference" />
7163        <attr name="subtitleTextAppearance" format="reference" />
7164        <attr name="title" />
7165        <attr name="subtitle" />
7166        <attr name="gravity" />
7167        <attr name="titleMargins" format="dimension" />
7168        <attr name="titleMarginStart" format="dimension" />
7169        <attr name="titleMarginEnd" format="dimension" />
7170        <attr name="titleMarginTop" format="dimension" />
7171        <attr name="titleMarginBottom" format="dimension" />
7172        <attr name="contentInsetStart" />
7173        <attr name="contentInsetEnd" />
7174        <attr name="contentInsetLeft" />
7175        <attr name="contentInsetRight" />
7176        <attr name="maxButtonHeight" format="dimension" />
7177        <attr name="navigationButtonStyle" format="reference" />
7178        <attr name="buttonGravity">
7179            <!-- Push object to the top of its container, not changing its size. -->
7180            <flag name="top" value="0x30" />
7181            <!-- Push object to the bottom of its container, not changing its size. -->
7182            <flag name="bottom" value="0x50" />
7183        </attr>
7184        <attr name="collapseIcon" format="reference" />
7185        <!-- Reference to a theme that should be used to inflate popups
7186             shown by widgets in the toolbar. -->
7187        <attr name="popupTheme" format="reference" />
7188    </declare-styleable>
7189
7190    <declare-styleable name="Toolbar_LayoutParams">
7191        <attr name="layout_gravity" />
7192    </declare-styleable>
7193
7194    <declare-styleable name="ActionBar_LayoutParams">
7195        <attr name="layout_gravity" />
7196    </declare-styleable>
7197
7198    <!-- Used as a filter array on the theme to pull out only the EdgeEffect-relevant bits. -->
7199    <declare-styleable name="EdgeEffect">
7200        <attr name="colorPrimary" />
7201    </declare-styleable>
7202
7203    <!-- Use <code>tv-input</code> as the root tag of the XML resource that describes an
7204         {@link android.media.tv.TvInputService}, which is referenced from its
7205         {@link android.media.tv.TvInputService#SERVICE_META_DATA} meta-data entry.
7206         Described here are the attributes that can be included in that tag. -->
7207    <declare-styleable name="TvInputService">
7208        <!-- Component name of an activity for setup of this service.
7209             The setup includes scanning channels and registering EPG data. -->
7210        <attr name="setupActivity" format="string" />
7211        <!-- Component name of an activity that allows the user to modify
7212             the settings for this service. -->
7213        <attr name="settingsActivity" />
7214        <!-- Type of this service. -->
7215    </declare-styleable>
7216
7217    <declare-styleable name="ResolverDrawerLayout">
7218        <attr name="maxWidth" />
7219        <attr name="maxCollapsedHeight" format="dimension" />
7220        <attr name="maxCollapsedHeightSmall" format="dimension" />
7221    </declare-styleable>
7222
7223    <declare-styleable name="ResolverDrawerLayout_LayoutParams">
7224        <attr name="layout_alwaysShow" format="boolean" />
7225        <attr name="layout_ignoreOffset" format="boolean" />
7226        <attr name="layout_gravity" />
7227    </declare-styleable>
7228
7229    <!-- @hide -->
7230    <declare-styleable name="Lighting">
7231        <attr name="lightY" format="dimension" />
7232        <attr name="lightZ" format="dimension" />
7233        <attr name="lightRadius" format="dimension" />
7234        <attr name="ambientShadowAlpha" format="float" />
7235        <attr name="spotShadowAlpha" format="float" />
7236    </declare-styleable>
7237
7238    <declare-styleable name="RestrictionEntry">
7239        <attr name="key" />
7240        <attr name="restrictionType">
7241            <enum name="hidden" value="0" />
7242            <enum name="bool" value="1" />
7243            <enum name="choice" value="2" />
7244            <enum name="multi-select" value="4" />
7245            <enum name="integer" value="5" />
7246            <enum name="string" value="6" />
7247        </attr>
7248        <attr name="title" />
7249        <attr name="description" />
7250        <attr name="defaultValue" />
7251        <attr name="entries" />
7252        <attr name="entryValues" />
7253    </declare-styleable>
7254</resources>
7255