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        <!-- Specifies that a theme has a light background with dark text on top.  -->
31        <attr name="isLightTheme" format="boolean" />
32
33        <!-- Default color of foreground imagery. -->
34        <attr name="colorForeground" format="color" />
35        <!-- Default color of foreground imagery on an inverted background. -->
36        <attr name="colorForegroundInverse" format="color" />
37        <!-- Default color of background imagery, ex. full-screen windows. -->
38        <attr name="colorBackground" format="color" />
39        <!-- Default color of background imagery for floating components, ex. dialogs, popups, and cards. -->
40        <attr name="colorBackgroundFloating" format="color" />
41        <!-- This is a hint for a solid color that can be used for caching
42             rendered views.  This should be the color of the background when
43             there is a solid background color; it should be null when the
44             background is a texture or translucent.  When a device is able
45             to use accelerated drawing (thus setting state_accelerated), the
46             cache hint is ignored and always assumed to be transparent. -->
47        <attr name="colorBackgroundCacheHint" format="color" />
48
49        <!-- Default highlight color for items that are pressed. -->
50        <attr name="colorPressedHighlight" format="color" />
51        <!-- Default highlight color for items that are long-pressed. -->
52        <attr name="colorLongPressedHighlight" format="color" />
53        <!-- Default highlight color for items that are
54             focused. (Focused meaning cursor-based selection.) -->
55        <attr name="colorFocusedHighlight" format="color" />
56        <!-- Default highlight color for items that are
57             activated. (Activated meaning persistent selection.) -->
58        <attr name="colorActivatedHighlight" format="color" />
59        <!-- Default highlight color for items in multiple selection
60             mode. -->
61        <attr name="colorMultiSelectHighlight" format="color" />
62
63        <!-- Default disabled alpha for widgets that set enabled/disabled alpha programmatically. -->
64        <attr name="disabledAlpha" format="float" />
65        <!-- Default background dim amount when a menu, dialog, or something similar pops up. -->
66        <attr name="backgroundDimAmount" format="float" />
67        <!-- Control whether dimming behind the window is enabled.  The default
68             theme does not set this value, meaning it is based on whether the
69             window is floating. -->
70        <attr name="backgroundDimEnabled" format="boolean" />
71
72        <!-- =========== -->
73        <!-- Text styles -->
74        <!-- =========== -->
75        <eat-comment />
76
77        <!-- Default appearance of text: color, typeface, size, and style. -->
78        <attr name="textAppearance" format="reference" />
79        <!-- Default appearance of text against an inverted background:
80             color, typeface, size, and style. -->
81        <attr name="textAppearanceInverse" format="reference" />
82
83        <!-- The most prominent text color.  -->
84        <attr name="textColorPrimary" format="reference|color" />
85        <!-- Secondary text color. -->
86        <attr name="textColorSecondary" format="reference|color" />
87        <!-- Tertiary text color. -->
88        <attr name="textColorTertiary" format="reference|color" />
89
90        <!-- Primary inverse text color, useful for inverted backgrounds. -->
91        <attr name="textColorPrimaryInverse" format="reference|color" />
92        <!-- Secondary inverse text color, useful for inverted backgrounds. -->
93        <attr name="textColorSecondaryInverse" format="reference|color" />
94        <!-- Tertiary inverse text color, useful for inverted backgrounds. -->
95        <attr name="textColorTertiaryInverse" format="reference|color" />
96
97        <!-- Inverse hint text color. -->
98        <attr name="textColorHintInverse" format="reference|color" />
99
100        <!-- Bright text color. Only differentiates based on the disabled state. -->
101        <attr name="textColorPrimaryDisableOnly" format="reference|color" />
102
103        <!-- Bright inverse text color. Only differentiates based on the disabled state. -->
104        <attr name="textColorPrimaryInverseDisableOnly" format="reference|color" />
105
106        <!-- Bright text color. This does not differentiate the disabled state. As an example,
107             buttons use this since they display the disabled state via the background and not the
108             foreground text color. -->
109        <attr name="textColorPrimaryNoDisable" format="reference|color" />
110        <!-- Dim text color. This does not differentiate the disabled state. -->
111        <attr name="textColorSecondaryNoDisable" format="reference|color" />
112
113        <!-- Bright inverse text color. This does not differentiate the disabled state. -->
114        <attr name="textColorPrimaryInverseNoDisable" format="reference|color" />
115        <!-- Dim inverse text color. This does not differentiate the disabled state. -->
116        <attr name="textColorSecondaryInverseNoDisable" format="reference|color" />
117
118        <!-- Bright text color for use over activated backgrounds. -->
119        <attr name="textColorPrimaryActivated" format="reference|color" />
120        <!-- Dim text color for use over activated backgrounds. -->
121        <attr name="textColorSecondaryActivated" format="reference|color" />
122
123        <!-- Text color for urls in search suggestions, used by things like global search and the browser. @hide -->
124        <attr name="textColorSearchUrl" format="reference|color" />
125
126        <!-- Color of highlighted text, when used in a light theme. -->
127        <attr name="textColorHighlightInverse" format="reference|color" />
128        <!-- Color of link text (URLs), when used in a light theme. -->
129        <attr name="textColorLinkInverse" format="reference|color" />
130
131        <!-- Color of list item text in alert dialogs. -->
132        <attr name="textColorAlertDialogListItem" format="reference|color" />
133
134        <!-- Search widget more corpus result item background. -->
135        <attr name="searchWidgetCorpusItemBackground" format="reference|color" />
136
137        <!-- Text color, typeface, size, and style for "large" text. Defaults to primary text color. -->
138        <attr name="textAppearanceLarge" format="reference" />
139        <!-- Text color, typeface, size, and style for "medium" text. Defaults to primary text color. -->
140        <attr name="textAppearanceMedium" format="reference" />
141        <!-- Text color, typeface, size, and style for "small" text. Defaults to secondary text color. -->
142        <attr name="textAppearanceSmall" format="reference" />
143
144        <!-- Text color, typeface, size, and style for "large" inverse text. Defaults to primary inverse text color. -->
145        <attr name="textAppearanceLargeInverse" format="reference" />
146        <!-- Text color, typeface, size, and style for "medium" inverse text. Defaults to primary inverse text color. -->
147        <attr name="textAppearanceMediumInverse" format="reference" />
148        <!-- Text color, typeface, size, and style for "small" inverse text. Defaults to secondary inverse text color. -->
149        <attr name="textAppearanceSmallInverse" format="reference" />
150
151        <!-- Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color. -->
152        <attr name="textAppearanceSearchResultTitle" format="reference" />
153        <!-- Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color. -->
154        <attr name="textAppearanceSearchResultSubtitle" format="reference" />
155
156        <!-- Text color, typeface, size, and style for the text inside of a button. -->
157        <attr name="textAppearanceButton" format="reference" />
158
159        <!-- Text color, typeface, size, and style for the text inside of a popup menu. -->
160        <attr name="textAppearanceLargePopupMenu" format="reference" />
161
162        <!-- Text color, typeface, size, and style for small text inside of a popup menu. -->
163        <attr name="textAppearanceSmallPopupMenu" format="reference" />
164
165        <!-- Text color, typeface, size, and style for header text inside of a popup menu. -->
166        <attr name="textAppearancePopupMenuHeader" format="reference" />
167
168        <!-- The underline color and thickness for easy correct suggestion -->
169        <attr name="textAppearanceEasyCorrectSuggestion" format="reference" />
170
171        <!-- The underline color and thickness for misspelled suggestion -->
172        <attr name="textAppearanceMisspelledSuggestion" format="reference" />
173
174        <!-- The underline color and thickness for auto correction suggestion -->
175        <attr name="textAppearanceAutoCorrectionSuggestion" format="reference" />
176
177        <!--  The underline color -->
178        <attr name="textUnderlineColor" format="reference|color" />
179        <!--  The underline thickness -->
180        <attr name="textUnderlineThickness" format="reference|dimension" />
181
182        <!-- EditText text foreground color. -->
183        <attr name="editTextColor" format="reference|color" />
184        <!-- EditText background drawable. -->
185        <attr name="editTextBackground" format="reference" />
186
187        <!-- Popup text displayed in TextView when setError is used. -->
188        <attr name="errorMessageBackground" format="reference" />
189        <!-- Background used instead of errorMessageBackground when the popup has to be above. -->
190        <attr name="errorMessageAboveBackground" format="reference" />
191
192        <!-- A styled string, specifying the style to be used for showing
193             inline candidate text when composing with an input method.  The
194             text itself will be ignored, but the style spans will be applied
195             to the candidate text as it is edited. -->
196        <attr name="candidatesTextStyleSpans" format="reference|string" />
197
198        <!-- Drawable to use for check marks. -->
199        <attr name="textCheckMark" format="reference" />
200        <attr name="textCheckMarkInverse" format="reference" />
201
202        <!-- Drawable to use for multiple choice indicators. -->
203        <attr name="listChoiceIndicatorMultiple" format="reference" />
204
205        <!-- Drawable to use for single choice indicators. -->
206        <attr name="listChoiceIndicatorSingle" format="reference" />
207
208        <!-- Drawable used as a background for selected list items. -->
209        <attr name="listChoiceBackgroundIndicator" format="reference" />
210
211        <!-- Drawable used as a background for activated items. -->
212        <attr name="activatedBackgroundIndicator" format="reference" />
213
214        <!-- ============= -->
215        <!-- Button styles -->
216        <!-- ============= -->
217        <eat-comment />
218
219        <!-- Normal Button style. -->
220        <attr name="buttonStyle" format="reference" />
221
222        <!-- Small Button style. -->
223        <attr name="buttonStyleSmall" format="reference" />
224
225        <!-- Button style to inset into an EditText. -->
226        <attr name="buttonStyleInset" format="reference" />
227
228        <!-- ToggleButton style. -->
229        <attr name="buttonStyleToggle" format="reference" />
230
231        <!-- ============== -->
232        <!-- Gallery styles -->
233        <!-- ============== -->
234        <eat-comment />
235
236        <!-- The preferred background for gallery items. This should be set
237             as the background of any Views you provide from the Adapter. -->
238        <attr name="galleryItemBackground" format="reference" />
239
240        <!-- =========== -->
241        <!-- List styles -->
242        <!-- =========== -->
243        <eat-comment />
244
245        <!-- The preferred list item height. -->
246        <attr name="listPreferredItemHeight" format="dimension" />
247        <!-- A smaller, sleeker list item height. -->
248        <attr name="listPreferredItemHeightSmall" format="dimension" />
249        <!-- A larger, more robust list item height. -->
250        <attr name="listPreferredItemHeightLarge" format="dimension" />
251        <!-- The list item height for search results. @hide -->
252        <attr name="searchResultListItemHeight" format="dimension" />
253
254        <!-- The preferred padding along the left edge of list items. -->
255        <attr name="listPreferredItemPaddingLeft" format="dimension" />
256        <!-- The preferred padding along the right edge of list items. -->
257        <attr name="listPreferredItemPaddingRight" format="dimension" />
258
259        <!-- The preferred TextAppearance for the primary text of list items. -->
260        <attr name="textAppearanceListItem" format="reference" />
261        <!-- The preferred TextAppearance for the secondary text of list items. -->
262        <attr name="textAppearanceListItemSecondary" format="reference" />
263        <!-- The preferred TextAppearance for the primary text of small list items. -->
264        <attr name="textAppearanceListItemSmall" format="reference" />
265
266        <!-- The drawable for the list divider. -->
267        <attr name="listDivider" format="reference" />
268        <!-- The list divider used in alert dialogs. -->
269        <attr name="listDividerAlertDialog" format="reference" />
270        <!-- TextView style for list separators. -->
271        <attr name="listSeparatorTextViewStyle" format="reference" />
272        <!-- The preferred left padding for an expandable list item (for child-specific layouts,
273             use expandableListPreferredChildPaddingLeft). This takes into account
274             the indicator that will be shown to next to the item. -->
275        <attr name="expandableListPreferredItemPaddingLeft" format="dimension" />
276        <!-- The preferred left padding for an expandable list item that is a child.
277             If this is not provided, it defaults to the expandableListPreferredItemPaddingLeft. -->
278        <attr name="expandableListPreferredChildPaddingLeft" format="dimension" />
279        <!-- The preferred left bound for an expandable list item's indicator. For a child-specific
280             indicator, use expandableListPreferredChildIndicatorLeft. -->
281        <attr name="expandableListPreferredItemIndicatorLeft" format="dimension" />
282        <!-- The preferred right bound for an expandable list item's indicator. For a child-specific
283             indicator, use expandableListPreferredChildIndicatorRight. -->
284        <attr name="expandableListPreferredItemIndicatorRight" format="dimension" />
285        <!-- The preferred left bound for an expandable list child's indicator. -->
286        <attr name="expandableListPreferredChildIndicatorLeft" format="dimension" />
287        <!-- The preferred right bound for an expandable list child's indicator. -->
288        <attr name="expandableListPreferredChildIndicatorRight" format="dimension" />
289
290        <!-- The preferred item height for dropdown lists. -->
291        <attr name="dropdownListPreferredItemHeight" format="dimension" />
292
293        <!-- The preferred padding along the start edge of list items. -->
294        <attr name="listPreferredItemPaddingStart" format="dimension" />
295        <!-- The preferred padding along the end edge of list items. -->
296        <attr name="listPreferredItemPaddingEnd" format="dimension" />
297
298        <!-- ============= -->
299        <!-- Window styles -->
300        <!-- ============= -->
301        <eat-comment />
302
303        <!-- Drawable to use as the overall window background.  As of
304             {@link android.os.Build.VERSION_CODES#HONEYCOMB}, this may
305             be a selector that uses state_accelerated to pick a non-solid
306             color when running on devices that can draw such a bitmap
307             with complex compositing on top at 60fps.
308
309             <p>There are a few special considerations to use when setting this
310             drawable:
311             <ul>
312             <li> This information will be used to infer the pixel format
313                  for your window's surface.  If the drawable has any
314                  non-opaque pixels, your window will be translucent
315                  (32 bpp).
316             <li> If you want to draw the entire background
317                  yourself, you should set this drawable to some solid
318                  color that closely matches that background (so the
319                  system's preview of your window will match), and
320                  then in code manually set your window's background to
321                  null so it will not be drawn.
322             </ul> -->
323        <attr name="windowBackground" format="reference" />
324        <!-- Drawable to draw selectively within the inset areas when the windowBackground
325             has been set to null. This protects against seeing visual garbage in the
326             surface when the app has not drawn any content into this area. One example is
327             when the user is resizing a window of an activity that has
328             {@link android.R.attr#resizeableActivity} set for multi-window mode. -->
329        <attr name="windowBackgroundFallback" format="reference" />
330        <!-- Drawable to use as a frame around the window. -->
331        <attr name="windowFrame" format="reference" />
332        <!-- Flag indicating whether there should be no title on this window. -->
333        <attr name="windowNoTitle" format="boolean" />
334        <!-- Flag indicating whether this window should fill the entire screen.  Corresponds
335             to {@link android.view.WindowManager.LayoutParams#FLAG_FULLSCREEN}. -->
336        <attr name="windowFullscreen" format="boolean" />
337        <!-- Flag indicating whether this window should extend into overscan region.  Corresponds
338             to {@link android.view.WindowManager.LayoutParams#FLAG_LAYOUT_IN_OVERSCAN}. -->
339        <attr name="windowOverscan" format="boolean" />
340        <!-- Flag indicating whether this is a floating window. -->
341        <attr name="windowIsFloating" format="boolean" />
342        <!-- Flag indicating whether this is a translucent window. If this attribute is unset (but
343             not if set to false), the window might still be considered translucent, if
344             windowSwipeToDismiss is set to true. -->
345        <attr name="windowIsTranslucent" format="boolean" />
346        <!-- Flag indicating that this window's background should be the
347             user's current wallpaper.  Corresponds
348             to {@link android.view.WindowManager.LayoutParams#FLAG_SHOW_WALLPAPER}. -->
349        <attr name="windowShowWallpaper" format="boolean" />
350        <!-- This Drawable is overlaid over the foreground of the Window's content area, usually
351             to place a shadow below the title.  -->
352        <attr name="windowContentOverlay" format="reference" />
353        <!-- The style resource to use for a window's title bar height. -->
354        <attr name="windowTitleSize" format="dimension" />
355        <!-- The style resource to use for a window's title text. -->
356        <attr name="windowTitleStyle" format="reference" />
357        <!-- The style resource to use for a window's title area. -->
358        <attr name="windowTitleBackgroundStyle" format="reference" />
359
360        <!-- Reference to a style resource holding
361             the set of window animations to use, which can be
362             any of the attributes defined by
363             {@link android.R.styleable#WindowAnimation}. -->
364        <attr name="windowAnimationStyle" format="reference" />
365
366        <!-- Flag indicating whether this window should have an Action Bar
367             in place of the usual title bar. -->
368        <attr name="windowActionBar" format="boolean" />
369
370        <!-- Flag indicating whether this window's Action Bar should overlay
371             application content. Does nothing if the window would not
372             have an Action Bar. -->
373        <attr name="windowActionBarOverlay" format="boolean" />
374
375        <!-- Flag indicating whether action modes should overlay window content
376             when there is not reserved space for their UI (such as an Action Bar). -->
377        <attr name="windowActionModeOverlay" format="boolean" />
378
379        <!-- Defines the default soft input state that this window would
380             like when it is displayed.  Corresponds
381             to {@link android.view.WindowManager.LayoutParams#softInputMode}. -->
382        <attr name="windowSoftInputMode">
383            <!-- Not specified, use what the system thinks is best.  This
384                 is the default. -->
385            <flag name="stateUnspecified" value="0" />
386            <!-- Leave the soft input window as-is, in whatever state it
387                 last was. -->
388            <flag name="stateUnchanged" value="1" />
389            <!-- Make the soft input area hidden when normally appropriate
390                 (when the user is navigating forward to your window). -->
391            <flag name="stateHidden" value="2" />
392            <!-- Always make the soft input area hidden when this window
393                 has input focus. -->
394            <flag name="stateAlwaysHidden" value="3" />
395            <!-- Make the soft input area visible when normally appropriate
396                 (when the user is navigating forward to your window). -->
397            <flag name="stateVisible" value="4" />
398            <!-- Always make the soft input area visible when this window
399                 has input focus. -->
400            <flag name="stateAlwaysVisible" value="5" />
401
402            <!-- The window resize/pan adjustment has not been specified,
403                 the system will automatically select between resize and pan
404                 modes, depending
405                 on whether the content of the window has any layout views
406                 that can scroll their contents.  If there is such a view,
407                 then the window will be resized, with the assumption being
408                 that the resizeable area can be reduced to make room for
409                 the input UI. -->
410            <flag name="adjustUnspecified" value="0x00" />
411            <!-- Always resize the window: the content area of the window is
412                 reduced to make room for the soft input area. -->
413            <flag name="adjustResize" value="0x10" />
414            <!-- Don't resize the window to make room for the soft input area;
415                 instead pan the contents of the window as focus moves inside
416                 of it so that the user can see what they are typing.  This is
417                 generally less desireable than panning because the user may
418                 need to close the input area to get at and interact with
419                 parts of the window. -->
420            <flag name="adjustPan" value="0x20" />
421            <!-- Don't resize <em>or</em> pan the window to make room for the
422                 soft input area; the window is never adjusted for it. -->
423            <flag name="adjustNothing" value="0x30" />
424        </attr>
425
426        <!-- Flag allowing you to disable the preview animation for a window.
427             The default value is false; if set to true, the system can never
428             use the window's theme to show a preview of it before your
429             actual instance is shown to the user. -->
430        <attr name="windowDisablePreview" format="boolean" />
431
432        <!-- Flag indicating that this window should not be displayed at all.
433             The default value is false; if set to true, and this window is
434             the main window of an Activity, then it will never actually
435             be added to the window manager.  This means that your activity
436             must immediately quit without waiting for user interaction,
437             because there will be no such interaction coming. -->
438        <attr name="windowNoDisplay" format="boolean" />
439
440        <!-- Flag indicating that this window should allow touches to be split
441             across other windows that also support split touch.
442             The default value is true for applications with a targetSdkVersion
443             of Honeycomb or newer; false otherwise.
444             When this flag is false, the first pointer that goes down determines
445             the window to which all subsequent touches go until all pointers go up.
446             When this flag is true, each pointer (not necessarily the first) that
447             goes down determines the window to which all subsequent touches of that
448             pointer will go until that pointers go up thereby enabling touches
449             with multiple pointers to be split across multiple windows. -->
450        <attr name="windowEnableSplitTouch" format="boolean" />
451
452        <!-- Control whether a container should automatically close itself if
453             the user touches outside of it.  This only applies to activities
454             and dialogs.
455
456             <p>Note: this attribute will only be respected for applications
457             that are targeting {@link android.os.Build.VERSION_CODES#HONEYCOMB}
458             or later. -->
459        <attr name="windowCloseOnTouchOutside" format="boolean" />
460
461        <!-- Flag indicating whether this window requests a translucent status bar.  Corresponds
462             to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_STATUS}. -->
463        <attr name="windowTranslucentStatus" format="boolean" />
464
465        <!-- Flag indicating whether this window requests a translucent navigation bar.  Corresponds
466             to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_NAVIGATION}. -->
467        <attr name="windowTranslucentNavigation" format="boolean" />
468
469        <!-- Flag to indicate that a window can be swiped away to be dismissed.
470             Corresponds to {@link android.view.Window#FEATURE_SWIPE_TO_DISMISS}. It will also
471             dynamically change translucency of the window, if the windowIsTranslucent is not set.
472             If windowIsTranslucent is set (to either true or false) it will obey that setting. -->
473        <attr name="windowSwipeToDismiss" format="boolean" />
474
475        <!-- Flag indicating whether this window requests that content changes be performed
476             as scene changes with transitions. Corresponds to
477             {@link android.view.Window#FEATURE_CONTENT_TRANSITIONS}. -->
478        <attr name="windowContentTransitions" format="boolean" />
479
480        <!-- Reference to a TransitionManager XML resource defining the desired
481             transitions between different window content. -->
482        <attr name="windowContentTransitionManager" format="reference" />
483
484        <!-- Flag indicating whether this window allows Activity Transitions.
485             Corresponds to {@link android.view.Window#FEATURE_ACTIVITY_TRANSITIONS}. -->
486        <attr name="windowActivityTransitions" format="boolean" />
487
488        <!-- Reference to a Transition XML resource defining the desired Transition
489             used to move Views into the initial Window's content Scene. Corresponds to
490             {@link android.view.Window#setEnterTransition(android.transition.Transition)}. -->
491        <attr name="windowEnterTransition" format="reference"/>
492
493        <!-- Reference to a Transition XML resource defining the desired Transition
494             used to move Views out of the scene when the Window is
495             preparing to close. Corresponds to
496             {@link android.view.Window#setReturnTransition(android.transition.Transition)}. -->
497        <attr name="windowReturnTransition" format="reference"/>
498
499        <!-- Reference to a Transition XML resource defining the desired Transition
500             used to move Views out of the Window's content Scene when launching a new Activity.
501             Corresponds to
502             {@link android.view.Window#setExitTransition(android.transition.Transition)}. -->
503        <attr name="windowExitTransition" format="reference"/>
504
505        <!-- Reference to a Transition XML resource defining the desired Transition
506             used to move Views in to the scene when returning from a previously-started Activity.
507             Corresponds to
508             {@link android.view.Window#setReenterTransition(android.transition.Transition)}. -->
509        <attr name="windowReenterTransition" format="reference"/>
510
511        <!-- Reference to a Transition XML resource defining the desired Transition
512             used to move shared elements transferred into the Window's initial content Scene.
513             Corresponds to {@link android.view.Window#setSharedElementEnterTransition(
514             android.transition.Transition)}. -->
515        <attr name="windowSharedElementEnterTransition" format="reference"/>
516
517        <!-- Reference to a Transition XML resource defining the desired Transition
518             used to move shared elements transferred back to a calling Activity.
519             Corresponds to {@link android.view.Window#setSharedElementReturnTransition(
520             android.transition.Transition)}. -->
521        <attr name="windowSharedElementReturnTransition" format="reference"/>
522
523        <!-- Reference to a Transition XML resource defining the desired Transition
524             used when starting a new Activity to move shared elements prior to transferring
525             to the called Activity.
526             Corresponds to {@link android.view.Window#setSharedElementExitTransition(
527             android.transition.Transition)}. -->
528        <attr name="windowSharedElementExitTransition" format="reference"/>
529
530        <!-- Reference to a Transition XML resource defining the desired Transition
531             used for shared elements transferred back to a calling Activity.
532             Corresponds to {@link android.view.Window#setSharedElementReenterTransition(
533             android.transition.Transition)}. -->
534        <attr name="windowSharedElementReenterTransition" format="reference"/>
535
536        <!-- Flag indicating whether this Window's transition should overlap with
537             the exiting transition of the calling Activity. Corresponds to
538             {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. -->
539        <attr name="windowAllowEnterTransitionOverlap" format="boolean"/>
540
541        <!-- Flag indicating whether this Window's transition should overlap with
542             the exiting transition of the called Activity when the called Activity
543             finishes. Corresponds to
544             {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. -->
545        <attr name="windowAllowReturnTransitionOverlap" format="boolean"/>
546
547        <!-- Indicates whether or not shared elements should use an overlay
548             during transitions. The default value is true. -->
549        <attr name="windowSharedElementsUseOverlay" format="boolean"/>
550
551        <!-- Internal layout used internally for window decor -->
552        <attr name="windowActionBarFullscreenDecorLayout" format="reference" />
553
554        <!-- The duration, in milliseconds, of the window background fade duration
555             when transitioning into or away from an Activity when called with an
556             Activity Transition. Corresponds to
557             {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. -->
558        <attr name="windowTransitionBackgroundFadeDuration" format="integer"/>
559
560        <!-- ============ -->
561        <!-- Floating toolbar styles -->
562        <!-- ============ -->
563       <eat-comment />
564       <attr name="floatingToolbarCloseDrawable" format="reference" />
565       <attr name="floatingToolbarForegroundColor" format="reference|color" />
566       <attr name="floatingToolbarItemBackgroundBorderlessDrawable" format="reference" />
567       <attr name="floatingToolbarItemBackgroundDrawable" format="reference" />
568       <attr name="floatingToolbarOpenDrawable" format="reference" />
569       <attr name="floatingToolbarPopupBackgroundDrawable" format="reference" />
570
571        <!-- ============ -->
572        <!-- Alert Dialog styles -->
573        <!-- ============ -->
574        <eat-comment />
575        <attr name="alertDialogStyle" format="reference" />
576        <attr name="alertDialogButtonGroupStyle" format="reference" />
577        <attr name="alertDialogCenterButtons" format="boolean" />
578
579        <!-- ============== -->
580        <!-- Image elements -->
581        <!-- ============== -->
582        <eat-comment />
583i
584        <!-- Background that can be used behind parts of a UI that provide
585             details on data the user is selecting.  For example, this is
586             the background element of PreferenceActivity's embedded
587             preference fragment. -->
588        <attr name="detailsElementBackground" format="reference" />
589
590        <!-- Icon that should be used to indicate that an app is waiting for a fingerprint scan.
591             This should be used whenever an app is requesting the user to place a finger on the
592             fingerprint sensor. It can be combined with other drawables such as colored circles, so
593             the appearance matches the branding of the app requesting the fingerprint scan.-->
594        <attr name="fingerprintAuthDrawable" format="reference" />
595
596        <!-- ============ -->
597        <!-- Panel styles -->
598        <!-- ============ -->
599        <eat-comment />
600
601        <!-- The background of a panel when it is inset from the left and right edges of the screen. -->
602        <attr name="panelBackground" format="reference|color" />
603        <!-- The background of a panel when it extends to the left and right edges of the screen. -->
604        <attr name="panelFullBackground" format="reference|color" />
605        <!-- Default color of foreground panel imagery. -->
606        <attr name="panelColorForeground" format="reference|color" />
607        <!-- Color that matches (as closely as possible) the panel background. -->
608        <attr name="panelColorBackground" format="reference|color" />
609        <!-- Default appearance of panel text. -->
610        <attr name="panelTextAppearance" format="reference" />
611
612        <attr name="panelMenuIsCompact" format="boolean" />
613        <attr name="panelMenuListWidth" format="dimension" />
614        <attr name="panelMenuListTheme" format="reference" />
615
616        <!-- =================== -->
617        <!-- Other widget styles -->
618        <!-- =================== -->
619        <eat-comment />
620
621        <!-- Default AbsListView style. -->
622        <attr name="absListViewStyle" format="reference" />
623        <!-- Default AutoCompleteTextView style. -->
624        <attr name="autoCompleteTextViewStyle" format="reference" />
625        <!-- Default Checkbox style. -->
626        <attr name="checkboxStyle" format="reference" />
627        <!-- Default CheckedTextView style. -->
628        <attr name="checkedTextViewStyle" format="reference" />
629        <!-- Default ListView style for drop downs. -->
630        <attr name="dropDownListViewStyle" format="reference" />
631        <!-- Default EditText style. -->
632        <attr name="editTextStyle" format="reference" />
633        <!-- Default ExpandableListView style. -->
634        <attr name="expandableListViewStyle" format="reference" />
635        <!-- ExpandableListView with white background. -->
636        <attr name="expandableListViewWhiteStyle" format="reference" />
637        <!-- Default Gallery style. -->
638        <attr name="galleryStyle" format="reference" />
639        <!-- Default GestureOverlayView style. -->
640        <attr name="gestureOverlayViewStyle" format="reference" />
641        <!-- Default GridView style. -->
642        <attr name="gridViewStyle" format="reference" />
643        <!-- The style resource to use for an ImageButton. -->
644        <attr name="imageButtonStyle" format="reference" />
645        <!-- The style resource to use for an ImageButton that is an image well. -->
646        <attr name="imageWellStyle" format="reference" />
647        <!-- Default menu-style ListView style. -->
648        <attr name="listMenuViewStyle" format="reference" />
649        <!-- Default ListView style. -->
650        <attr name="listViewStyle" format="reference" />
651        <!-- ListView with white background. -->
652        <attr name="listViewWhiteStyle" format="reference" />
653        <!-- Default PopupWindow style. -->
654        <attr name="popupWindowStyle" format="reference" />
655        <!-- Default ProgressBar style. This is a medium circular progress bar. -->
656        <attr name="progressBarStyle" format="reference" />
657        <!-- Horizontal ProgressBar style. This is a horizontal progress bar. -->
658        <attr name="progressBarStyleHorizontal" format="reference" />
659        <!-- Small ProgressBar style. This is a small circular progress bar. -->
660        <attr name="progressBarStyleSmall" format="reference" />
661        <!-- Small ProgressBar in title style. This is a small circular progress bar that will be placed in title bars. -->
662        <attr name="progressBarStyleSmallTitle" format="reference" />
663        <!-- Large ProgressBar style. This is a large circular progress bar. -->
664        <attr name="progressBarStyleLarge" format="reference" />
665        <!-- Inverse ProgressBar style. This is a medium circular progress bar. -->
666        <attr name="progressBarStyleInverse" format="reference" />
667        <!-- Small inverse ProgressBar style. This is a small circular progress bar. -->
668        <attr name="progressBarStyleSmallInverse" format="reference" />
669        <!-- Large inverse ProgressBar style. This is a large circular progress bar. -->
670        <attr name="progressBarStyleLargeInverse" format="reference" />
671        <!-- Default SeekBar style. -->
672        <attr name="seekBarStyle" format="reference" />
673        <!-- Default RatingBar style. -->
674        <attr name="ratingBarStyle" format="reference" />
675        <!-- Indicator RatingBar style. -->
676        <attr name="ratingBarStyleIndicator" format="reference" />
677        <!-- Small indicator RatingBar style. -->
678        <attr name="ratingBarStyleSmall" format="reference" />
679        <!-- Default RadioButton style. -->
680        <attr name="radioButtonStyle" format="reference" />
681        <!-- Default ScrollView style. -->
682        <attr name="scrollViewStyle" format="reference" />
683        <!-- Default HorizontalScrollView style. -->
684        <attr name="horizontalScrollViewStyle" format="reference" />
685        <!-- Default Spinner style. -->
686        <attr name="spinnerStyle" format="reference" />
687        <!-- Default dropdown Spinner style. -->
688        <attr name="dropDownSpinnerStyle" format="reference" />
689        <!-- Default ActionBar dropdown style. -->
690        <attr name="actionDropDownStyle" format="reference" />
691        <!-- Default action button style. -->
692        <attr name="actionButtonStyle" format="reference" />
693        <!-- Default Star style. -->
694        <attr name="starStyle" format="reference" />
695        <!-- Default TabWidget style. -->
696        <attr name="tabWidgetStyle" format="reference" />
697        <!-- Default TextView style. -->
698        <attr name="textViewStyle" format="reference" />
699        <!-- Default WebTextView style. -->
700        <attr name="webTextViewStyle" format="reference" />
701        <!-- Default WebView style. -->
702        <attr name="webViewStyle" format="reference" />
703        <!-- Default style for drop down items. -->
704        <attr name="dropDownItemStyle" format="reference" />
705         <!-- Default style for spinner drop down items. -->
706        <attr name="spinnerDropDownItemStyle" format="reference" />
707        <!-- Default style for drop down hints. -->
708        <attr name="dropDownHintAppearance" format="reference" />
709        <!-- Default spinner item style. -->
710        <attr name="spinnerItemStyle" format="reference" />
711        <!-- Default MapView style. -->
712        <attr name="mapViewStyle" format="reference" />
713        <!-- Drawable used as an overlay on top of quickcontact photos. -->
714        <attr name="quickContactBadgeOverlay" format="reference" />
715        <!-- Default quickcontact badge style with small quickcontact window. -->
716        <attr name="quickContactBadgeStyleWindowSmall" format="reference" />
717        <!-- Default quickcontact badge style with medium quickcontact window. -->
718        <attr name="quickContactBadgeStyleWindowMedium" format="reference" />
719        <!-- Default quickcontact badge style with large quickcontact window. -->
720        <attr name="quickContactBadgeStyleWindowLarge" format="reference" />
721        <!-- Default quickcontact badge style with small quickcontact window. -->
722        <attr name="quickContactBadgeStyleSmallWindowSmall" format="reference" />
723        <!-- Default quickcontact badge style with medium quickcontact window. -->
724        <attr name="quickContactBadgeStyleSmallWindowMedium" format="reference" />
725        <!-- Default quickcontact badge style with large quickcontact window. -->
726        <attr name="quickContactBadgeStyleSmallWindowLarge" format="reference" />
727        <!-- Reference to a style that will be used for the window containing a text
728             selection anchor. -->
729        <attr name="textSelectHandleWindowStyle" format="reference" />
730        <!-- Reference to a style that will be used for the window containing a list of possible
731             text suggestions in an EditText. -->
732        <attr name="textSuggestionsWindowStyle" format="reference" />
733        <!-- Default ListPopupWindow style. -->
734        <attr name="listPopupWindowStyle" format="reference" />
735        <!-- Default PopupMenu style. -->
736        <attr name="popupMenuStyle" format="reference" />
737        <!-- Default context menu PopupMenu style. -->
738        <attr name="contextPopupMenuStyle" format="reference" />
739        <!-- Default StackView style. -->
740        <attr name="stackViewStyle" format="reference" />
741
742        <!-- Default style for the FragmentBreadCrumbs widget. This widget is deprecated
743             starting in API level 21 ({@link android.os.Build.VERSION_CODES#.L}). -->
744        <attr name="fragmentBreadCrumbsStyle" format="reference" />
745
746        <!-- NumberPicker style. -->
747        <attr name="numberPickerStyle" format="reference" />
748
749        <!-- The CalendarView style. -->
750        <attr name="calendarViewStyle" format="reference" />
751
752        <!-- The TimePicker style. -->
753        <attr name="timePickerStyle" format="reference" />
754
755        <!-- The TimePicker dialog theme. -->
756        <attr name="timePickerDialogTheme" format="reference" />
757
758        <!-- The DatePicker style. -->
759        <attr name="datePickerStyle" format="reference" />
760
761        <!-- The DatePicker dialog theme. -->
762        <attr name="datePickerDialogTheme" format="reference" />
763
764        <!-- Default ActivityChooserView style. -->
765        <attr name="activityChooserViewStyle" format="reference" />
766
767        <!-- Default Toolbar style. -->
768        <attr name="toolbarStyle" format="reference" />
769
770        <!-- Fast scroller styles -->
771        <eat-comment />
772
773        <!-- Drawable to use as the fast scroll thumb. -->
774        <attr name="fastScrollThumbDrawable" format="reference" />
775        <!-- Drawable to use as the fast scroll index preview window background
776             when shown on the right. -->
777        <attr name="fastScrollPreviewBackgroundRight" format="reference" />
778        <!-- Drawable to use as the fast scroll index preview window background
779             when shown on the left. -->
780        <attr name="fastScrollPreviewBackgroundLeft" format="reference" />
781        <!-- Drawable to use as the track for the fast scroll thumb.
782             This may be null. -->
783        <attr name="fastScrollTrackDrawable" format="reference" />
784        <!-- Position of the fast scroll index overlay window. -->
785        <attr name="fastScrollOverlayPosition">
786            <enum name="floating" value="0" />
787            <enum name="atThumb" value="1" />
788            <enum name="aboveThumb" value="2" />
789        </attr>
790        <!-- Text color for the fast scroll index overlay. Make sure it
791             plays nicely with fastScrollPreviewBackground[Left|Right]. -->
792        <attr name="fastScrollTextColor" format="color" />
793
794        <!-- =================== -->
795        <!-- Action bar styles   -->
796        <!-- =================== -->
797        <eat-comment />
798        <!-- Default style for tabs within an action bar -->
799        <attr name="actionBarTabStyle" format="reference" />
800        <attr name="actionBarTabBarStyle" format="reference" />
801        <attr name="actionBarTabTextStyle" format="reference" />
802        <attr name="actionOverflowButtonStyle" format="reference" />
803        <attr name="actionOverflowMenuStyle" format="reference" />
804        <!-- Reference to a theme that should be used to inflate popups
805             shown by widgets in the action bar. -->
806        <attr name="actionBarPopupTheme" format="reference" />
807        <!-- Reference to a style for the Action Bar -->
808        <attr name="actionBarStyle" format="reference" />
809        <!-- Reference to a style for the split Action Bar. This style
810             controls the split component that holds the menu/action
811             buttons. actionBarStyle is still used for the primary
812             bar. -->
813        <attr name="actionBarSplitStyle" format="reference" />
814        <!-- Reference to a theme that should be used to inflate the
815             action bar. This will be inherited by any widget inflated
816             into the action bar. -->
817        <attr name="actionBarTheme" format="reference" />
818        <!-- Reference to a theme that should be used to inflate widgets
819             and layouts destined for the action bar. Most of the time
820             this will be a reference to the current theme, but when
821             the action bar has a significantly different contrast
822             profile than the rest of the activity the difference
823             can become important. If this is set to @null the current
824             theme will be used.-->
825        <attr name="actionBarWidgetTheme" format="reference" />
826        <!-- Size of the Action Bar, including the contextual
827             bar used to present Action Modes. -->
828        <attr name="actionBarSize" format="dimension" >
829            <enum name="wrap_content" value="0" />
830        </attr>
831        <!-- Custom divider drawable to use for elements in the action bar. -->
832        <attr name="actionBarDivider" format="reference" />
833        <!-- Custom item state list drawable background for action bar items. -->
834        <attr name="actionBarItemBackground" format="reference" />
835        <!-- TextAppearance style that will be applied to text that
836             appears within action menu items. -->
837        <attr name="actionMenuTextAppearance" format="reference" />
838        <!-- Color for text that appears within action menu items. -->
839        <attr name="actionMenuTextColor" format="color|reference" />
840
841        <!-- =================== -->
842        <!-- Action mode styles  -->
843        <!-- =================== -->
844        <eat-comment />
845        <attr name="actionModeStyle" format="reference" />
846        <attr name="actionModeCloseButtonStyle" format="reference" />
847        <!-- Background drawable to use for action mode UI -->
848        <attr name="actionModeBackground" format="reference" />
849        <!-- Background drawable to use for action mode UI in the lower split bar -->
850        <attr name="actionModeSplitBackground" format="reference" />
851        <!-- Drawable to use for the close action mode button -->
852        <attr name="actionModeCloseDrawable" format="reference" />
853
854        <!-- Drawable to use for the Cut action button in Contextual Action Bar -->
855        <attr name="actionModeCutDrawable" format="reference" />
856        <!-- Drawable to use for the Copy action button in Contextual Action Bar -->
857        <attr name="actionModeCopyDrawable" format="reference" />
858        <!-- Drawable to use for the Paste action button in Contextual Action Bar -->
859        <attr name="actionModePasteDrawable" format="reference" />
860        <!-- Drawable to use for the Select all action button in Contextual Action Bar -->
861        <attr name="actionModeSelectAllDrawable" format="reference" />
862        <!-- Drawable to use for the Share action button in WebView selection action modes -->
863        <attr name="actionModeShareDrawable" format="reference" />
864        <!-- Drawable to use for the Find action button in WebView selection action modes -->
865        <attr name="actionModeFindDrawable" format="reference" />
866        <!-- Drawable to use for the Web Search action button in WebView selection action modes -->
867        <attr name="actionModeWebSearchDrawable" format="reference" />
868
869        <!-- PopupWindow style to use for action modes when showing as a window overlay. -->
870        <attr name="actionModePopupWindowStyle" format="reference" />
871
872        <!-- =================== -->
873        <!-- Preference styles   -->
874        <!-- =================== -->
875        <eat-comment />
876
877        <!-- Default style for PreferenceScreen. -->
878        <attr name="preferenceScreenStyle" format="reference" />
879        <!-- Default style for the PreferenceActivity. -->
880        <attr name="preferenceActivityStyle" format="reference" />
881        <!-- Default style for Headers pane in PreferenceActivity. -->
882        <attr name="preferenceFragmentStyle" format="reference" />
883        <!-- Default style for PreferenceCategory. -->
884        <attr name="preferenceCategoryStyle" format="reference" />
885        <!-- Default style for Preference. -->
886        <attr name="preferenceStyle" format="reference" />
887        <!-- Default style for informational Preference. -->
888        <attr name="preferenceInformationStyle" format="reference" />
889        <!-- Default style for CheckBoxPreference. -->
890        <attr name="checkBoxPreferenceStyle" format="reference" />
891        <!-- Default style for YesNoPreference. -->
892        <attr name="yesNoPreferenceStyle" format="reference" />
893        <!-- Default style for DialogPreference. -->
894        <attr name="dialogPreferenceStyle" format="reference" />
895        <!-- Default style for EditTextPreference. -->
896        <attr name="editTextPreferenceStyle" format="reference" />
897        <!-- @hide Default style for SeekBarDialogPreference. -->
898        <attr name="seekBarDialogPreferenceStyle" format="reference" />
899        <!-- Default style for RingtonePreference. -->
900        <attr name="ringtonePreferenceStyle" format="reference" />
901        <!-- The preference layout that has the child/tabbed effect. -->
902        <attr name="preferenceLayoutChild" format="reference" />
903        <!-- Preference panel style -->
904        <attr name="preferencePanelStyle" format="reference" />
905        <!-- Preference headers panel style -->
906        <attr name="preferenceHeaderPanelStyle" format="reference" />
907        <!-- Preference list style -->
908        <attr name="preferenceListStyle" format="reference" />
909        <!-- Preference fragment list style -->
910        <attr name="preferenceFragmentListStyle" format="reference" />
911        <!-- Preference fragment padding side -->
912        <attr name="preferenceFragmentPaddingSide" format="dimension" />
913        <!-- Default style for switch preferences. -->
914        <attr name="switchPreferenceStyle" format="reference" />
915        <!-- Default style for seekbar preferences. -->
916        <attr name="seekBarPreferenceStyle" format="reference" />
917
918        <!-- ============================ -->
919        <!-- Text selection handle styles -->
920        <!-- ============================ -->
921        <eat-comment />
922
923        <!-- Reference to a drawable that will be used to display a text selection
924             anchor on the left side of a selection region. -->
925        <attr name="textSelectHandleLeft" format="reference" />
926        <!-- Reference to a drawable that will be used to display a text selection
927             anchor on the right side of a selection region. -->
928        <attr name="textSelectHandleRight" format="reference" />
929        <!-- Reference to a drawable that will be used to display a text selection
930             anchor for positioning the cursor within text. -->
931        <attr name="textSelectHandle" format="reference" />
932        <!-- The layout of the view that is displayed on top of the cursor to paste inside a
933             TextEdit field. -->
934        <attr name="textEditPasteWindowLayout" format="reference" />
935        <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. -->
936        <attr name="textEditNoPasteWindowLayout" format="reference" />
937        <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the
938             insertion cursor because it would be clipped if it were positioned on top. -->
939        <attr name="textEditSidePasteWindowLayout" format="reference" />
940        <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. -->
941        <attr name="textEditSideNoPasteWindowLayout" format="reference" />
942
943        <!-- Layout of the TextView item that will populate the suggestion popup window. -->
944        <attr name="textEditSuggestionItemLayout" format="reference" />
945        <!-- Layout of the container of the suggestion popup window. -->
946        <attr name="textEditSuggestionContainerLayout" format="reference" />
947        <!-- Text appearance of the focused words to be replaced by suggested word. -->
948        <attr name="textEditSuggestionHighlightStyle" format="reference" />
949
950        <!-- Theme to use for dialogs spawned from this theme. -->
951        <attr name="dialogTheme" format="reference" />
952        <!-- Window decor layout to use in dialog mode with icons. -->
953        <attr name="dialogTitleIconsDecorLayout" format="reference" />
954        <!-- Window decor layout to use in dialog mode with custom titles. -->
955        <attr name="dialogCustomTitleDecorLayout" format="reference" />
956        <!-- Window decor layout to use in dialog mode with title only. -->
957        <attr name="dialogTitleDecorLayout" format="reference" />
958        <!-- Preferred padding for dialog content. -->
959        <attr name="dialogPreferredPadding" format="dimension" />
960
961        <!-- Theme to use for alert dialogs spawned from this theme. -->
962        <attr name="alertDialogTheme" format="reference" />
963        <!-- Icon drawable to use for alerts -->
964        <attr name="alertDialogIcon" format="reference" />
965
966        <!-- Theme to use for presentations spawned from this theme. -->
967        <attr name="presentationTheme" format="reference" />
968
969        <!-- Drawable to use for generic vertical dividers. -->
970        <attr name="dividerVertical" format="reference" />
971
972        <!-- Drawable to use for generic horizontal dividers. -->
973        <attr name="dividerHorizontal" format="reference" />
974
975        <!-- Style for button bars -->
976        <attr name="buttonBarStyle" format="reference" />
977
978        <!-- Style for buttons within button bars -->
979        <attr name="buttonBarButtonStyle" format="reference" />
980
981        <!-- Style for the "positive" buttons within button bars -->
982        <attr name="buttonBarPositiveButtonStyle" format="reference" />
983
984        <!-- Style for the "negative" buttons within button bars -->
985        <attr name="buttonBarNegativeButtonStyle" format="reference" />
986
987        <!-- Style for the "neutral" buttons within button bars -->
988        <attr name="buttonBarNeutralButtonStyle" format="reference" />
989
990        <!-- Style for the search query widget. -->
991        <attr name="searchViewStyle" format="reference" />
992
993        <!-- Style for segmented buttons - a container that houses several buttons
994             with the appearance of a singel button broken into segments. -->
995        <attr name="segmentedButtonStyle" format="reference" />
996
997        <!-- Background drawable for bordered standalone items that need focus/pressed states. -->
998        <attr name="selectableItemBackground" format="reference" />
999
1000        <!-- Background drawable for borderless standalone items that need focus/pressed states. -->
1001        <attr name="selectableItemBackgroundBorderless" format="reference" />
1002
1003        <!-- Style for buttons without an explicit border, often used in groups. -->
1004        <attr name="borderlessButtonStyle" format="reference" />
1005
1006        <!-- Background to use for toasts -->
1007        <attr name="toastFrameBackground" format="reference" />
1008
1009        <!-- Theme to use for Search Dialogs -->
1010        <attr name="searchDialogTheme" format="reference" />
1011
1012        <!-- Specifies a drawable to use for the 'home as up' indicator. -->
1013        <attr name="homeAsUpIndicator" format="reference" />
1014
1015        <!-- Preference frame layout styles. -->
1016        <attr name="preferenceFrameLayoutStyle" format="reference" />
1017
1018        <!-- Default style for the Switch widget. -->
1019        <attr name="switchStyle" format="reference" />
1020
1021        <!-- Default style for the MediaRouteButton widget. -->
1022        <attr name="mediaRouteButtonStyle" format="reference" />
1023
1024        <!-- ============== -->
1025        <!-- Pointer styles -->
1026        <!-- ============== -->
1027        <eat-comment />
1028
1029        <!-- The drawable for accessibility focused views. -->
1030        <attr name="accessibilityFocusedDrawable" format="reference" />
1031
1032        <!-- Drawable for WebView find-on-page dialogue's "next" button. @hide -->
1033        <attr name="findOnPageNextDrawable" format="reference" />
1034
1035        <!-- Drawable for WebView find-on-page dialogue's "previous" button. @hide -->
1036        <attr name="findOnPagePreviousDrawable" format="reference" />
1037
1038        <!-- ============= -->
1039        <!-- Color palette -->
1040        <!-- ============= -->
1041        <eat-comment />
1042
1043        <!-- The primary branding color for the app. By default, this is the color applied to the
1044             action bar background. -->
1045        <attr name="colorPrimary" format="color" />
1046
1047        <!-- Dark variant of the primary branding color. By default, this is the color applied to
1048             the status bar (via statusBarColor) and navigation bar (via navigationBarColor). -->
1049        <attr name="colorPrimaryDark" format="color" />
1050
1051        <!-- Bright complement to the primary branding color. By default, this is the color applied
1052             to framework controls (via colorControlActivated). -->
1053        <attr name="colorAccent" format="color" />
1054
1055        <!-- The color applied to framework controls in their normal state. -->
1056        <attr name="colorControlNormal" format="color" />
1057
1058        <!-- The color applied to framework controls in their activated (ex. checked) state. -->
1059        <attr name="colorControlActivated" format="color" />
1060
1061        <!-- The color applied to framework control highlights (ex. ripples, list selectors). -->
1062        <attr name="colorControlHighlight" format="color" />
1063
1064        <!-- The color applied to framework buttons in their normal state. -->
1065        <attr name="colorButtonNormal" format="color" />
1066
1067        <!-- The color applied to framework switch thumbs in their normal state. -->
1068        <attr name="colorSwitchThumbNormal" format="color" />
1069
1070        <!-- The color applied to the edge effect on scrolling containers. -->
1071        <attr name="colorEdgeEffect" format="color" />
1072
1073        <!-- =================== -->
1074        <!-- Lighting properties -->
1075        <!-- =================== -->
1076        <eat-comment />
1077
1078        <!-- @hide The default Y position of the light used to project view shadows. -->
1079        <attr name="lightY" format="dimension" />
1080
1081        <!-- @hide The default Z position of the light used to project view shadows. -->
1082        <attr name="lightZ" format="dimension" />
1083
1084        <!-- @hide The default radius of the light used to project view shadows. -->
1085        <attr name="lightRadius" format="dimension" />
1086
1087        <!-- Alpha value of the ambient shadow projected by elevated views, between 0 and 1. -->
1088        <attr name="ambientShadowAlpha" format="float" />
1089
1090        <!-- Alpha value of the spot shadow projected by elevated views, between 0 and 1. -->
1091        <attr name="spotShadowAlpha" format="float" />
1092    </declare-styleable>
1093
1094    <!-- **************************************************************** -->
1095    <!-- Other non-theme attributes. -->
1096    <!-- **************************************************************** -->
1097    <eat-comment />
1098
1099    <!-- Size of text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp).
1100         Supported values include the following:<p/>
1101    <ul>
1102        <li><b>px</b> Pixels</li>
1103        <li><b>sp</b> Scaled pixels (scaled to relative pixel size on screen). See {@link android.util.DisplayMetrics} for more information.</li>
1104        <li><b>pt</b> Points</li>
1105        <li><b>dip</b> Device independent pixels. See {@link android.util.DisplayMetrics} for more information.</li>
1106    </ul>
1107        -->
1108    <attr name="textSize" format="dimension" />
1109
1110    <!-- Default font family. -->
1111    <attr name="fontFamily" format="string" />
1112
1113    <!-- Default text typeface. -->
1114    <attr name="typeface">
1115        <enum name="normal" value="0" />
1116        <enum name="sans" value="1" />
1117        <enum name="serif" value="2" />
1118        <enum name="monospace" value="3" />
1119    </attr>
1120
1121    <!-- Default text typeface style. -->
1122    <attr name="textStyle">
1123        <flag name="normal" value="0" />
1124        <flag name="bold" value="1" />
1125        <flag name="italic" value="2" />
1126    </attr>
1127
1128    <!-- Color of text (usually same as colorForeground). -->
1129    <attr name="textColor" format="reference|color" />
1130
1131    <!-- Color of highlighted text. -->
1132    <attr name="textColorHighlight" format="reference|color" />
1133
1134    <!-- Color of hint text (displayed when the field is empty). -->
1135    <attr name="textColorHint" format="reference|color" />
1136
1137    <!-- Color of link text (URLs). -->
1138    <attr name="textColorLink" format="reference|color" />
1139
1140    <!-- Reference to a drawable that will be drawn under the insertion cursor. -->
1141    <attr name="textCursorDrawable" format="reference" />
1142
1143    <!-- Indicates that the content of a non-editable TextView can be selected.
1144     Default value is false. EditText content is always selectable. -->
1145    <attr name="textIsSelectable" format="boolean" />
1146
1147    <!-- Where to ellipsize text. -->
1148    <attr name="ellipsize">
1149        <enum name="none" value="0" />
1150        <enum name="start" value="1" />
1151        <enum name="middle" value="2" />
1152        <enum name="end" value="3" />
1153        <enum name="marquee" value="4" />
1154    </attr>
1155
1156    <!-- The type of data being placed in a text field, used to help an
1157         input method decide how to let the user enter text.  The constants
1158         here correspond to those defined by
1159         {@link android.text.InputType}.  Generally you can select
1160         a single value, though some can be combined together as
1161         indicated.  Setting this attribute to anything besides
1162         <var>none</var> also implies that the text is editable. -->
1163    <attr name="inputType">
1164        <!-- There is no content type.  The text is not editable. -->
1165        <flag name="none" value="0x00000000" />
1166        <!-- Just plain old text.  Corresponds to
1167             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1168             {@link android.text.InputType#TYPE_TEXT_VARIATION_NORMAL}. -->
1169        <flag name="text" value="0x00000001" />
1170        <!-- Can be combined with <var>text</var> and its variations to
1171             request capitalization of all characters.  Corresponds to
1172             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_CHARACTERS}. -->
1173        <flag name="textCapCharacters" value="0x00001001" />
1174        <!-- Can be combined with <var>text</var> and its variations to
1175             request capitalization of the first character of every word.  Corresponds to
1176             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_WORDS}. -->
1177        <flag name="textCapWords" value="0x00002001" />
1178        <!-- Can be combined with <var>text</var> and its variations to
1179             request capitalization of the first character of every sentence.  Corresponds to
1180             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_SENTENCES}. -->
1181        <flag name="textCapSentences" value="0x00004001" />
1182        <!-- Can be combined with <var>text</var> and its variations to
1183             request auto-correction of text being input.  Corresponds to
1184             {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_CORRECT}. -->
1185        <flag name="textAutoCorrect" value="0x00008001" />
1186        <!-- Can be combined with <var>text</var> and its variations to
1187             specify that this field will be doing its own auto-completion and
1188             talking with the input method appropriately.  Corresponds to
1189             {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_COMPLETE}. -->
1190        <flag name="textAutoComplete" value="0x00010001" />
1191        <!-- Can be combined with <var>text</var> and its variations to
1192             allow multiple lines of text in the field.  If this flag is not set,
1193             the text field will be constrained to a single line.  Corresponds to
1194             {@link android.text.InputType#TYPE_TEXT_FLAG_MULTI_LINE}. -->
1195        <flag name="textMultiLine" value="0x00020001" />
1196        <!-- Can be combined with <var>text</var> and its variations to
1197             indicate that though the regular text view should not be multiple
1198             lines, the IME should provide multiple lines if it can.  Corresponds to
1199             {@link android.text.InputType#TYPE_TEXT_FLAG_IME_MULTI_LINE}. -->
1200        <flag name="textImeMultiLine" value="0x00040001" />
1201        <!-- Can be combined with <var>text</var> and its variations to
1202             indicate that the IME should not show any
1203             dictionary-based word suggestions.  Corresponds to
1204             {@link android.text.InputType#TYPE_TEXT_FLAG_NO_SUGGESTIONS}. -->
1205        <flag name="textNoSuggestions" value="0x00080001" />
1206        <!-- Text that will be used as a URI.  Corresponds to
1207             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1208             {@link android.text.InputType#TYPE_TEXT_VARIATION_URI}. -->
1209        <flag name="textUri" value="0x00000011" />
1210        <!-- Text that will be used as an e-mail address.  Corresponds to
1211             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1212             {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_ADDRESS}. -->
1213        <flag name="textEmailAddress" value="0x00000021" />
1214        <!-- Text that is being supplied as the subject of an e-mail.  Corresponds to
1215             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1216             {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_SUBJECT}. -->
1217        <flag name="textEmailSubject" value="0x00000031" />
1218        <!-- Text that is the content of a short message.  Corresponds to
1219             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1220             {@link android.text.InputType#TYPE_TEXT_VARIATION_SHORT_MESSAGE}. -->
1221        <flag name="textShortMessage" value="0x00000041" />
1222        <!-- Text that is the content of a long message.  Corresponds to
1223             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1224             {@link android.text.InputType#TYPE_TEXT_VARIATION_LONG_MESSAGE}. -->
1225        <flag name="textLongMessage" value="0x00000051" />
1226        <!-- Text that is the name of a person.  Corresponds to
1227             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1228             {@link android.text.InputType#TYPE_TEXT_VARIATION_PERSON_NAME}. -->
1229        <flag name="textPersonName" value="0x00000061" />
1230        <!-- Text that is being supplied as a postal mailing address.  Corresponds to
1231             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1232             {@link android.text.InputType#TYPE_TEXT_VARIATION_POSTAL_ADDRESS}. -->
1233        <flag name="textPostalAddress" value="0x00000071" />
1234        <!-- Text that is a password.  Corresponds to
1235             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1236             {@link android.text.InputType#TYPE_TEXT_VARIATION_PASSWORD}. -->
1237        <flag name="textPassword" value="0x00000081" />
1238        <!-- Text that is a password that should be visible.  Corresponds to
1239             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1240             {@link android.text.InputType#TYPE_TEXT_VARIATION_VISIBLE_PASSWORD}. -->
1241        <flag name="textVisiblePassword" value="0x00000091" />
1242        <!-- Text that is being supplied as text in a web form.  Corresponds to
1243             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1244             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EDIT_TEXT}. -->
1245        <flag name="textWebEditText" value="0x000000a1" />
1246        <!-- Text that is filtering some other data.  Corresponds to
1247             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1248             {@link android.text.InputType#TYPE_TEXT_VARIATION_FILTER}. -->
1249        <flag name="textFilter" value="0x000000b1" />
1250        <!-- Text that is for phonetic pronunciation, such as a phonetic name
1251             field in a contact entry.  Corresponds to
1252             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1253             {@link android.text.InputType#TYPE_TEXT_VARIATION_PHONETIC}. -->
1254        <flag name="textPhonetic" value="0x000000c1" />
1255        <!-- Text that will be used as an e-mail address on a web form.  Corresponds to
1256             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1257             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS}. -->
1258        <flag name="textWebEmailAddress" value="0x000000d1" />
1259        <!-- Text that will be used as a password on a web form.  Corresponds to
1260             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1261             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_PASSWORD}. -->
1262        <flag name="textWebPassword" value="0x000000e1" />
1263        <!-- A numeric only field.  Corresponds to
1264             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1265             {@link android.text.InputType#TYPE_NUMBER_VARIATION_NORMAL}. -->
1266        <flag name="number" value="0x00000002" />
1267        <!-- Can be combined with <var>number</var> and its other options to
1268             allow a signed number.  Corresponds to
1269             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1270             {@link android.text.InputType#TYPE_NUMBER_FLAG_SIGNED}. -->
1271        <flag name="numberSigned" value="0x00001002" />
1272        <!-- Can be combined with <var>number</var> and its other options to
1273             allow a decimal (fractional) number.  Corresponds to
1274             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1275             {@link android.text.InputType#TYPE_NUMBER_FLAG_DECIMAL}. -->
1276        <flag name="numberDecimal" value="0x00002002" />
1277        <!-- A numeric password field.  Corresponds to
1278             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1279             {@link android.text.InputType#TYPE_NUMBER_VARIATION_PASSWORD}. -->
1280        <flag name="numberPassword" value="0x00000012" />
1281        <!-- For entering a phone number.  Corresponds to
1282             {@link android.text.InputType#TYPE_CLASS_PHONE}. -->
1283        <flag name="phone" value="0x00000003" />
1284        <!-- For entering a date and time.  Corresponds to
1285             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1286             {@link android.text.InputType#TYPE_DATETIME_VARIATION_NORMAL}. -->
1287        <flag name="datetime" value="0x00000004" />
1288        <!-- For entering a date.  Corresponds to
1289             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1290             {@link android.text.InputType#TYPE_DATETIME_VARIATION_DATE}. -->
1291        <flag name="date" value="0x00000014" />
1292        <!-- For entering a time.  Corresponds to
1293             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1294             {@link android.text.InputType#TYPE_DATETIME_VARIATION_TIME}. -->
1295        <flag name="time" value="0x00000024" />
1296    </attr>
1297
1298    <!-- Additional features you can enable in an IME associated with an editor
1299         to improve the integration with your application.  The constants
1300         here correspond to those defined by
1301         {@link android.view.inputmethod.EditorInfo#imeOptions}. -->
1302    <attr name="imeOptions">
1303        <!-- There are no special semantics associated with this editor. -->
1304        <flag name="normal" value="0x00000000" />
1305        <!-- There is no specific action associated with this editor, let the
1306             editor come up with its own if it can.
1307             Corresponds to
1308             {@link android.view.inputmethod.EditorInfo#IME_NULL}. -->
1309        <flag name="actionUnspecified" value="0x00000000" />
1310        <!-- This editor has no action associated with it.
1311             Corresponds to
1312             {@link android.view.inputmethod.EditorInfo#IME_ACTION_NONE}. -->
1313        <flag name="actionNone" value="0x00000001" />
1314        <!-- The action key performs a "go"
1315             operation to take the user to the target of the text they typed.
1316             Typically used, for example, when entering a URL.
1317             Corresponds to
1318             {@link android.view.inputmethod.EditorInfo#IME_ACTION_GO}. -->
1319        <flag name="actionGo" value="0x00000002" />
1320        <!-- The action key performs a "search"
1321             operation, taking the user to the results of searching for the text
1322             the have typed (in whatever context is appropriate).
1323             Corresponds to
1324             {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEARCH}. -->
1325        <flag name="actionSearch" value="0x00000003" />
1326        <!-- The action key performs a "send"
1327             operation, delivering the text to its target.  This is typically used
1328             when composing a message.
1329             Corresponds to
1330             {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEND}. -->
1331        <flag name="actionSend" value="0x00000004" />
1332        <!-- The action key performs a "next"
1333             operation, taking the user to the next field that will accept text.
1334             Corresponds to
1335             {@link android.view.inputmethod.EditorInfo#IME_ACTION_NEXT}. -->
1336        <flag name="actionNext" value="0x00000005" />
1337        <!-- The action key performs a "done"
1338             operation, closing the soft input method.
1339             Corresponds to
1340             {@link android.view.inputmethod.EditorInfo#IME_ACTION_DONE}. -->
1341        <flag name="actionDone" value="0x00000006" />
1342        <!-- The action key performs a "previous"
1343             operation, taking the user to the previous field that will accept text.
1344             Corresponds to
1345             {@link android.view.inputmethod.EditorInfo#IME_ACTION_PREVIOUS}. -->
1346        <flag name="actionPrevious" value="0x00000007" />
1347        <!-- Used to request that the IME never go
1348             into fullscreen mode.  Applications need to be aware that the flag is not
1349             a guarantee, and not all IMEs will respect it.
1350             <p>Corresponds to
1351             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. -->
1352        <flag name="flagNoFullscreen" value="0x2000000" />
1353        <!-- Like flagNavigateNext, but
1354             specifies there is something interesting that a backward navigation
1355             can focus on.  If the user selects the IME's facility to backward
1356             navigate, this will show up in the application as an actionPrevious
1357             at {@link android.view.inputmethod.InputConnection#performEditorAction(int)
1358             InputConnection.performEditorAction(int)}.
1359             <p>Corresponds to
1360             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. -->
1361        <flag name="flagNavigatePrevious" value="0x4000000" />
1362        <!-- Used to specify that there is something
1363             interesting that a forward navigation can focus on. This is like using
1364             actionNext, except allows the IME to be multiline (with
1365             an enter key) as well as provide forward navigation.  Note that some
1366             IMEs may not be able to do this, especially when running on a small
1367             screen where there is little space.  In that case it does not need to
1368             present a UI for this option.  Like actionNext, if the
1369             user selects the IME's facility to forward navigate, this will show up
1370             in the application at
1371             {@link android.view.inputmethod.InputConnection#performEditorAction(int)
1372             InputConnection.performEditorAction(int)}.
1373             <p>Corresponds to
1374             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NAVIGATE_NEXT}. -->
1375        <flag name="flagNavigateNext" value="0x8000000" />
1376        <!-- Used to specify that the IME does not need
1377             to show its extracted text UI.  For input methods that may be fullscreen,
1378             often when in landscape mode, this allows them to be smaller and let part
1379             of the application be shown behind.  Though there will likely be limited
1380             access to the application available from the user, it can make the
1381             experience of a (mostly) fullscreen IME less jarring.  Note that when
1382             this flag is specified the IME may <em>not</em> be set up to be able
1383             to display text, so it should only be used in situations where this is
1384             not needed.
1385             <p>Corresponds to
1386             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_EXTRACT_UI}. -->
1387        <flag name="flagNoExtractUi" value="0x10000000" />
1388        <!-- Used in conjunction with a custom action, this indicates that the
1389             action should not be available as an accessory button when the
1390             input method is full-screen.
1391             Note that by setting this flag, there can be cases where the action
1392             is simply never available to the user.  Setting this generally means
1393             that you think showing text being edited is more important than the
1394             action you have supplied.
1395             <p>Corresponds to
1396             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ACCESSORY_ACTION}. -->
1397        <flag name="flagNoAccessoryAction" value="0x20000000" />
1398        <!-- Used in conjunction with a custom action,
1399             this indicates that the action should not be available in-line as
1400             a replacement for the "enter" key.  Typically this is
1401             because the action has such a significant impact or is not recoverable
1402             enough that accidentally hitting it should be avoided, such as sending
1403             a message.    Note that {@link android.widget.TextView} will
1404             automatically set this flag for you on multi-line text views.
1405             <p>Corresponds to
1406             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ENTER_ACTION}. -->
1407        <flag name="flagNoEnterAction" value="0x40000000" />
1408        <!-- Used to request that the IME should be capable of inputting ASCII
1409             characters.  The intention of this flag is to ensure that the user
1410             can type Roman alphabet characters in a {@link android.widget.TextView}
1411             used for, typically, account ID or password input.  It is expected that IMEs
1412             normally are able to input ASCII even without being told so (such IMEs
1413             already respect this flag in a sense), but there could be some cases they
1414             aren't when, for instance, only non-ASCII input languagaes like Arabic,
1415             Greek, Hebrew, Russian are enabled in the IME.  Applications need to be
1416             aware that the flag is not a guarantee, and not all IMEs will respect it.
1417             However, it is strongly recommended for IME authors to respect this flag
1418             especially when their IME could end up with a state that has only non-ASCII
1419             input languages enabled.
1420             <p>Corresponds to
1421             {@link android.view.inputmethod.EditorInfo#IME_FLAG_FORCE_ASCII}. -->
1422        <flag name="flagForceAscii" value="0x80000000" />
1423    </attr>
1424
1425    <!-- A coordinate in the X dimension. -->
1426    <attr name="x" format="dimension" />
1427    <!-- A coordinate in the Y dimension. -->
1428    <attr name="y" format="dimension" />
1429
1430    <!-- Specifies how an object should position its content, on both the X and Y axes,
1431         within its own bounds.  -->
1432    <attr name="gravity">
1433        <!-- Push object to the top of its container, not changing its size. -->
1434        <flag name="top" value="0x30" />
1435        <!-- Push object to the bottom of its container, not changing its size. -->
1436        <flag name="bottom" value="0x50" />
1437        <!-- Push object to the left of its container, not changing its size. -->
1438        <flag name="left" value="0x03" />
1439        <!-- Push object to the right of its container, not changing its size. -->
1440        <flag name="right" value="0x05" />
1441        <!-- Place object in the vertical center of its container, not changing its size. -->
1442        <flag name="center_vertical" value="0x10" />
1443        <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
1444        <flag name="fill_vertical" value="0x70" />
1445        <!-- Place object in the horizontal center of its container, not changing its size. -->
1446        <flag name="center_horizontal" value="0x01" />
1447        <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
1448        <flag name="fill_horizontal" value="0x07" />
1449        <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
1450        <flag name="center" value="0x11" />
1451        <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
1452        <flag name="fill" value="0x77" />
1453        <!-- Additional option that can be set to have the top and/or bottom edges of
1454             the child clipped to its container's bounds.
1455             The clip will be based on the vertical gravity: a top gravity will clip the bottom
1456             edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
1457        <flag name="clip_vertical" value="0x80" />
1458        <!-- Additional option that can be set to have the left and/or right edges of
1459             the child clipped to its container's bounds.
1460             The clip will be based on the horizontal gravity: a left gravity will clip the right
1461             edge, a right gravity will clip the left edge, and neither will clip both edges. -->
1462        <flag name="clip_horizontal" value="0x08" />
1463        <!-- Push object to the beginning of its container, not changing its size. -->
1464        <flag name="start" value="0x00800003" />
1465        <!-- Push object to the end of its container, not changing its size. -->
1466        <flag name="end" value="0x00800005" />
1467    </attr>
1468
1469    <!-- Controls whether links such as urls and email addresses are
1470         automatically found and converted to clickable links.  The default
1471         value is "none", disabling this feature. -->
1472    <attr name="autoLink">
1473        <!-- Match no patterns (default). -->
1474        <flag name="none" value="0x00" />
1475        <!-- Match Web URLs. -->
1476        <flag name="web" value="0x01" />
1477        <!-- Match email addresses. -->
1478        <flag name="email" value="0x02" />
1479        <!-- Match phone numbers. -->
1480        <flag name="phone" value="0x04" />
1481        <!-- Match map addresses. -->
1482        <flag name="map" value="0x08" />
1483        <!-- Match all patterns (equivalent to web|email|phone|map). -->
1484        <flag name="all" value="0x0f" />
1485    </attr>
1486
1487    <!-- Reference to an array resource that will populate a list/adapter. -->
1488    <attr name="entries" format="reference" />
1489
1490    <!-- Standard gravity constant that a child supplies to its parent.
1491         Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout. -->
1492    <attr name="layout_gravity">
1493        <!-- Push object to the top of its container, not changing its size. -->
1494        <flag name="top" value="0x30" />
1495        <!-- Push object to the bottom of its container, not changing its size. -->
1496        <flag name="bottom" value="0x50" />
1497        <!-- Push object to the left of its container, not changing its size. -->
1498        <flag name="left" value="0x03" />
1499        <!-- Push object to the right of its container, not changing its size. -->
1500        <flag name="right" value="0x05" />
1501        <!-- Place object in the vertical center of its container, not changing its size. -->
1502        <flag name="center_vertical" value="0x10" />
1503        <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
1504        <flag name="fill_vertical" value="0x70" />
1505        <!-- Place object in the horizontal center of its container, not changing its size. -->
1506        <flag name="center_horizontal" value="0x01" />
1507        <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
1508        <flag name="fill_horizontal" value="0x07" />
1509        <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
1510        <flag name="center" value="0x11" />
1511        <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
1512        <flag name="fill" value="0x77" />
1513        <!-- Additional option that can be set to have the top and/or bottom edges of
1514             the child clipped to its container's bounds.
1515             The clip will be based on the vertical gravity: a top gravity will clip the bottom
1516             edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
1517        <flag name="clip_vertical" value="0x80" />
1518        <!-- Additional option that can be set to have the left and/or right edges of
1519             the child clipped to its container's bounds.
1520             The clip will be based on the horizontal gravity: a left gravity will clip the right
1521             edge, a right gravity will clip the left edge, and neither will clip both edges. -->
1522        <flag name="clip_horizontal" value="0x08" />
1523        <!-- Push object to the beginning of its container, not changing its size. -->
1524        <flag name="start" value="0x00800003" />
1525        <!-- Push object to the end of its container, not changing its size. -->
1526        <flag name="end" value="0x00800005" />
1527    </attr>
1528
1529    <!-- Standard orientation constant. -->
1530    <attr name="orientation">
1531        <!-- Defines an horizontal widget. -->
1532        <enum name="horizontal" value="0" />
1533        <!-- Defines a vertical widget. -->
1534        <enum name="vertical" value="1" />
1535    </attr>
1536
1537    <!-- Alignment constants. -->
1538    <attr name="alignmentMode">
1539        <!-- Align the bounds of the children.
1540        See {@link android.widget.GridLayout#ALIGN_BOUNDS}. -->
1541        <enum name="alignBounds" value="0" />
1542        <!-- Align the margins of the children.
1543        See {@link android.widget.GridLayout#ALIGN_MARGINS}. -->
1544        <enum name="alignMargins" value="1" />
1545    </attr>
1546
1547    <!-- ========================== -->
1548    <!-- Key Codes                  -->
1549    <!-- ========================== -->
1550    <eat-comment />
1551
1552    <!-- This enum provides the same keycode values as can be found in
1553        {@link android.view.KeyEvent}. -->
1554    <attr name="keycode">
1555        <enum name="KEYCODE_UNKNOWN" value="0" />
1556        <enum name="KEYCODE_SOFT_LEFT" value="1" />
1557        <enum name="KEYCODE_SOFT_RIGHT" value="2" />
1558        <enum name="KEYCODE_HOME" value="3" />
1559        <enum name="KEYCODE_BACK" value="4" />
1560        <enum name="KEYCODE_CALL" value="5" />
1561        <enum name="KEYCODE_ENDCALL" value="6" />
1562        <enum name="KEYCODE_0" value="7" />
1563        <enum name="KEYCODE_1" value="8" />
1564        <enum name="KEYCODE_2" value="9" />
1565        <enum name="KEYCODE_3" value="10" />
1566        <enum name="KEYCODE_4" value="11" />
1567        <enum name="KEYCODE_5" value="12" />
1568        <enum name="KEYCODE_6" value="13" />
1569        <enum name="KEYCODE_7" value="14" />
1570        <enum name="KEYCODE_8" value="15" />
1571        <enum name="KEYCODE_9" value="16" />
1572        <enum name="KEYCODE_STAR" value="17" />
1573        <enum name="KEYCODE_POUND" value="18" />
1574        <enum name="KEYCODE_DPAD_UP" value="19" />
1575        <enum name="KEYCODE_DPAD_DOWN" value="20" />
1576        <enum name="KEYCODE_DPAD_LEFT" value="21" />
1577        <enum name="KEYCODE_DPAD_RIGHT" value="22" />
1578        <enum name="KEYCODE_DPAD_CENTER" value="23" />
1579        <enum name="KEYCODE_VOLUME_UP" value="24" />
1580        <enum name="KEYCODE_VOLUME_DOWN" value="25" />
1581        <enum name="KEYCODE_POWER" value="26" />
1582        <enum name="KEYCODE_CAMERA" value="27" />
1583        <enum name="KEYCODE_CLEAR" value="28" />
1584        <enum name="KEYCODE_A" value="29" />
1585        <enum name="KEYCODE_B" value="30" />
1586        <enum name="KEYCODE_C" value="31" />
1587        <enum name="KEYCODE_D" value="32" />
1588        <enum name="KEYCODE_E" value="33" />
1589        <enum name="KEYCODE_F" value="34" />
1590        <enum name="KEYCODE_G" value="35" />
1591        <enum name="KEYCODE_H" value="36" />
1592        <enum name="KEYCODE_I" value="37" />
1593        <enum name="KEYCODE_J" value="38" />
1594        <enum name="KEYCODE_K" value="39" />
1595        <enum name="KEYCODE_L" value="40" />
1596        <enum name="KEYCODE_M" value="41" />
1597        <enum name="KEYCODE_N" value="42" />
1598        <enum name="KEYCODE_O" value="43" />
1599        <enum name="KEYCODE_P" value="44" />
1600        <enum name="KEYCODE_Q" value="45" />
1601        <enum name="KEYCODE_R" value="46" />
1602        <enum name="KEYCODE_S" value="47" />
1603        <enum name="KEYCODE_T" value="48" />
1604        <enum name="KEYCODE_U" value="49" />
1605        <enum name="KEYCODE_V" value="50" />
1606        <enum name="KEYCODE_W" value="51" />
1607        <enum name="KEYCODE_X" value="52" />
1608        <enum name="KEYCODE_Y" value="53" />
1609        <enum name="KEYCODE_Z" value="54" />
1610        <enum name="KEYCODE_COMMA" value="55" />
1611        <enum name="KEYCODE_PERIOD" value="56" />
1612        <enum name="KEYCODE_ALT_LEFT" value="57" />
1613        <enum name="KEYCODE_ALT_RIGHT" value="58" />
1614        <enum name="KEYCODE_SHIFT_LEFT" value="59" />
1615        <enum name="KEYCODE_SHIFT_RIGHT" value="60" />
1616        <enum name="KEYCODE_TAB" value="61" />
1617        <enum name="KEYCODE_SPACE" value="62" />
1618        <enum name="KEYCODE_SYM" value="63" />
1619        <enum name="KEYCODE_EXPLORER" value="64" />
1620        <enum name="KEYCODE_ENVELOPE" value="65" />
1621        <enum name="KEYCODE_ENTER" value="66" />
1622        <enum name="KEYCODE_DEL" value="67" />
1623        <enum name="KEYCODE_GRAVE" value="68" />
1624        <enum name="KEYCODE_MINUS" value="69" />
1625        <enum name="KEYCODE_EQUALS" value="70" />
1626        <enum name="KEYCODE_LEFT_BRACKET" value="71" />
1627        <enum name="KEYCODE_RIGHT_BRACKET" value="72" />
1628        <enum name="KEYCODE_BACKSLASH" value="73" />
1629        <enum name="KEYCODE_SEMICOLON" value="74" />
1630        <enum name="KEYCODE_APOSTROPHE" value="75" />
1631        <enum name="KEYCODE_SLASH" value="76" />
1632        <enum name="KEYCODE_AT" value="77" />
1633        <enum name="KEYCODE_NUM" value="78" />
1634        <enum name="KEYCODE_HEADSETHOOK" value="79" />
1635        <enum name="KEYCODE_FOCUS" value="80" />
1636        <enum name="KEYCODE_PLUS" value="81" />
1637        <enum name="KEYCODE_MENU" value="82" />
1638        <enum name="KEYCODE_NOTIFICATION" value="83" />
1639        <enum name="KEYCODE_SEARCH" value="84" />
1640        <enum name="KEYCODE_MEDIA_PLAY_PAUSE" value="85" />
1641        <enum name="KEYCODE_MEDIA_STOP" value="86" />
1642        <enum name="KEYCODE_MEDIA_NEXT" value="87" />
1643        <enum name="KEYCODE_MEDIA_PREVIOUS" value="88" />
1644        <enum name="KEYCODE_MEDIA_REWIND" value="89" />
1645        <enum name="KEYCODE_MEDIA_FAST_FORWARD" value="90" />
1646        <enum name="KEYCODE_MUTE" value="91" />
1647        <enum name="KEYCODE_PAGE_UP" value="92" />
1648        <enum name="KEYCODE_PAGE_DOWN" value="93" />
1649        <enum name="KEYCODE_PICTSYMBOLS" value="94" />
1650        <enum name="KEYCODE_SWITCH_CHARSET" value="95" />
1651        <enum name="KEYCODE_BUTTON_A" value="96" />
1652        <enum name="KEYCODE_BUTTON_B" value="97" />
1653        <enum name="KEYCODE_BUTTON_C" value="98" />
1654        <enum name="KEYCODE_BUTTON_X" value="99" />
1655        <enum name="KEYCODE_BUTTON_Y" value="100" />
1656        <enum name="KEYCODE_BUTTON_Z" value="101" />
1657        <enum name="KEYCODE_BUTTON_L1" value="102" />
1658        <enum name="KEYCODE_BUTTON_R1" value="103" />
1659        <enum name="KEYCODE_BUTTON_L2" value="104" />
1660        <enum name="KEYCODE_BUTTON_R2" value="105" />
1661        <enum name="KEYCODE_BUTTON_THUMBL" value="106" />
1662        <enum name="KEYCODE_BUTTON_THUMBR" value="107" />
1663        <enum name="KEYCODE_BUTTON_START" value="108" />
1664        <enum name="KEYCODE_BUTTON_SELECT" value="109" />
1665        <enum name="KEYCODE_BUTTON_MODE" value="110" />
1666        <enum name="KEYCODE_ESCAPE" value="111" />
1667        <enum name="KEYCODE_FORWARD_DEL" value="112" />
1668        <enum name="KEYCODE_CTRL_LEFT" value="113" />
1669        <enum name="KEYCODE_CTRL_RIGHT" value="114" />
1670        <enum name="KEYCODE_CAPS_LOCK" value="115" />
1671        <enum name="KEYCODE_SCROLL_LOCK" value="116" />
1672        <enum name="KEYCODE_META_LEFT" value="117" />
1673        <enum name="KEYCODE_META_RIGHT" value="118" />
1674        <enum name="KEYCODE_FUNCTION" value="119" />
1675        <enum name="KEYCODE_SYSRQ" value="120" />
1676        <enum name="KEYCODE_BREAK" value="121" />
1677        <enum name="KEYCODE_MOVE_HOME" value="122" />
1678        <enum name="KEYCODE_MOVE_END" value="123" />
1679        <enum name="KEYCODE_INSERT" value="124" />
1680        <enum name="KEYCODE_FORWARD" value="125" />
1681        <enum name="KEYCODE_MEDIA_PLAY" value="126" />
1682        <enum name="KEYCODE_MEDIA_PAUSE" value="127" />
1683        <enum name="KEYCODE_MEDIA_CLOSE" value="128" />
1684        <enum name="KEYCODE_MEDIA_EJECT" value="129" />
1685        <enum name="KEYCODE_MEDIA_RECORD" value="130" />
1686        <enum name="KEYCODE_F1" value="131" />
1687        <enum name="KEYCODE_F2" value="132" />
1688        <enum name="KEYCODE_F3" value="133" />
1689        <enum name="KEYCODE_F4" value="134" />
1690        <enum name="KEYCODE_F5" value="135" />
1691        <enum name="KEYCODE_F6" value="136" />
1692        <enum name="KEYCODE_F7" value="137" />
1693        <enum name="KEYCODE_F8" value="138" />
1694        <enum name="KEYCODE_F9" value="139" />
1695        <enum name="KEYCODE_F10" value="140" />
1696        <enum name="KEYCODE_F11" value="141" />
1697        <enum name="KEYCODE_F12" value="142" />
1698        <enum name="KEYCODE_NUM_LOCK" value="143" />
1699        <enum name="KEYCODE_NUMPAD_0" value="144" />
1700        <enum name="KEYCODE_NUMPAD_1" value="145" />
1701        <enum name="KEYCODE_NUMPAD_2" value="146" />
1702        <enum name="KEYCODE_NUMPAD_3" value="147" />
1703        <enum name="KEYCODE_NUMPAD_4" value="148" />
1704        <enum name="KEYCODE_NUMPAD_5" value="149" />
1705        <enum name="KEYCODE_NUMPAD_6" value="150" />
1706        <enum name="KEYCODE_NUMPAD_7" value="151" />
1707        <enum name="KEYCODE_NUMPAD_8" value="152" />
1708        <enum name="KEYCODE_NUMPAD_9" value="153" />
1709        <enum name="KEYCODE_NUMPAD_DIVIDE" value="154" />
1710        <enum name="KEYCODE_NUMPAD_MULTIPLY" value="155" />
1711        <enum name="KEYCODE_NUMPAD_SUBTRACT" value="156" />
1712        <enum name="KEYCODE_NUMPAD_ADD" value="157" />
1713        <enum name="KEYCODE_NUMPAD_DOT" value="158" />
1714        <enum name="KEYCODE_NUMPAD_COMMA" value="159" />
1715        <enum name="KEYCODE_NUMPAD_ENTER" value="160" />
1716        <enum name="KEYCODE_NUMPAD_EQUALS" value="161" />
1717        <enum name="KEYCODE_NUMPAD_LEFT_PAREN" value="162" />
1718        <enum name="KEYCODE_NUMPAD_RIGHT_PAREN" value="163" />
1719        <enum name="KEYCODE_VOLUME_MUTE" value="164" />
1720        <enum name="KEYCODE_INFO" value="165" />
1721        <enum name="KEYCODE_CHANNEL_UP" value="166" />
1722        <enum name="KEYCODE_CHANNEL_DOWN" value="167" />
1723        <enum name="KEYCODE_ZOOM_IN" value="168" />
1724        <enum name="KEYCODE_ZOOM_OUT" value="169" />
1725        <enum name="KEYCODE_TV" value="170" />
1726        <enum name="KEYCODE_WINDOW" value="171" />
1727        <enum name="KEYCODE_GUIDE" value="172" />
1728        <enum name="KEYCODE_DVR" value="173" />
1729        <enum name="KEYCODE_BOOKMARK" value="174" />
1730        <enum name="KEYCODE_CAPTIONS" value="175" />
1731        <enum name="KEYCODE_SETTINGS" value="176" />
1732        <enum name="KEYCODE_TV_POWER" value="177" />
1733        <enum name="KEYCODE_TV_INPUT" value="178" />
1734        <enum name="KEYCODE_STB_POWER" value="179" />
1735        <enum name="KEYCODE_STB_INPUT" value="180" />
1736        <enum name="KEYCODE_AVR_POWER" value="181" />
1737        <enum name="KEYCODE_AVR_INPUT" value="182" />
1738        <enum name="KEYCODE_PROG_GRED" value="183" />
1739        <enum name="KEYCODE_PROG_GREEN" value="184" />
1740        <enum name="KEYCODE_PROG_YELLOW" value="185" />
1741        <enum name="KEYCODE_PROG_BLUE" value="186" />
1742        <enum name="KEYCODE_APP_SWITCH" value="187" />
1743        <enum name="KEYCODE_BUTTON_1" value="188" />
1744        <enum name="KEYCODE_BUTTON_2" value="189" />
1745        <enum name="KEYCODE_BUTTON_3" value="190" />
1746        <enum name="KEYCODE_BUTTON_4" value="191" />
1747        <enum name="KEYCODE_BUTTON_5" value="192" />
1748        <enum name="KEYCODE_BUTTON_6" value="193" />
1749        <enum name="KEYCODE_BUTTON_7" value="194" />
1750        <enum name="KEYCODE_BUTTON_8" value="195" />
1751        <enum name="KEYCODE_BUTTON_9" value="196" />
1752        <enum name="KEYCODE_BUTTON_10" value="197" />
1753        <enum name="KEYCODE_BUTTON_11" value="198" />
1754        <enum name="KEYCODE_BUTTON_12" value="199" />
1755        <enum name="KEYCODE_BUTTON_13" value="200" />
1756        <enum name="KEYCODE_BUTTON_14" value="201" />
1757        <enum name="KEYCODE_BUTTON_15" value="202" />
1758        <enum name="KEYCODE_BUTTON_16" value="203" />
1759        <enum name="KEYCODE_LANGUAGE_SWITCH" value="204" />
1760        <enum name="KEYCODE_MANNER_MODE" value="205" />
1761        <enum name="KEYCODE_3D_MODE" value="206" />
1762        <enum name="KEYCODE_CONTACTS" value="207" />
1763        <enum name="KEYCODE_CALENDAR" value="208" />
1764        <enum name="KEYCODE_MUSIC" value="209" />
1765        <enum name="KEYCODE_CALCULATOR" value="210" />
1766        <enum name="KEYCODE_ZENKAKU_HANKAKU" value="211" />
1767        <enum name="KEYCODE_EISU" value="212" />
1768        <enum name="KEYCODE_MUHENKAN" value="213" />
1769        <enum name="KEYCODE_HENKAN" value="214" />
1770        <enum name="KEYCODE_KATAKANA_HIRAGANA" value="215" />
1771        <enum name="KEYCODE_YEN" value="216" />
1772        <enum name="KEYCODE_RO" value="217" />
1773        <enum name="KEYCODE_KANA" value="218" />
1774        <enum name="KEYCODE_ASSIST" value="219" />
1775        <enum name="KEYCODE_BRIGHTNESS_DOWN" value="220" />
1776        <enum name="KEYCODE_BRIGHTNESS_UP" value="221" />
1777        <enum name="KEYCODE_MEDIA_AUDIO_TRACK" value="222" />
1778        <enum name="KEYCODE_MEDIA_SLEEP" value="223" />
1779        <enum name="KEYCODE_MEDIA_WAKEUP" value="224" />
1780        <enum name="KEYCODE_PAIRING" value="225" />
1781        <enum name="KEYCODE_MEDIA_TOP_MENU" value="226" />
1782        <enum name="KEYCODE_11" value="227" />
1783        <enum name="KEYCODE_12" value="228" />
1784        <enum name="KEYCODE_LAST_CHANNEL" value="229" />
1785        <enum name="KEYCODE_TV_DATA_SERVICE" value="230" />
1786        <enum name="KEYCODE_VOICE_ASSIST" value="231" />
1787        <enum name="KEYCODE_TV_RADIO_SERVICE" value="232" />
1788        <enum name="KEYCODE_TV_TELETEXT" value="233" />
1789        <enum name="KEYCODE_TV_NUMBER_ENTRY" value="234" />
1790        <enum name="KEYCODE_TV_TERRESTRIAL_ANALOG" value="235" />
1791        <enum name="KEYCODE_TV_TERRESTRIAL_DIGITAL" value="236" />
1792        <enum name="KEYCODE_TV_SATELLITE" value="237" />
1793        <enum name="KEYCODE_TV_SATELLITE_BS" value="238" />
1794        <enum name="KEYCODE_TV_SATELLITE_CS" value="239" />
1795        <enum name="KEYCODE_TV_SATELLITE_SERVICE" value="240" />
1796        <enum name="KEYCODE_TV_NETWORK" value="241" />
1797        <enum name="KEYCODE_TV_ANTENNA_CABLE" value="242" />
1798        <enum name="KEYCODE_TV_INPUT_HDMI_1" value="243" />
1799        <enum name="KEYCODE_TV_INPUT_HDMI_2" value="244" />
1800        <enum name="KEYCODE_TV_INPUT_HDMI_3" value="245" />
1801        <enum name="KEYCODE_TV_INPUT_HDMI_4" value="246" />
1802        <enum name="KEYCODE_TV_INPUT_COMPOSITE_1" value="247" />
1803        <enum name="KEYCODE_TV_INPUT_COMPOSITE_2" value="248" />
1804        <enum name="KEYCODE_TV_INPUT_COMPONENT_1" value="249" />
1805        <enum name="KEYCODE_TV_INPUT_COMPONENT_2" value="250" />
1806        <enum name="KEYCODE_TV_INPUT_VGA_1" value="251" />
1807        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION" value="252" />
1808        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP" value="253" />
1809        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN" value="254" />
1810        <enum name="KEYCODE_TV_ZOOM_MODE" value="255" />
1811        <enum name="KEYCODE_TV_CONTENTS_MENU" value="256" />
1812        <enum name="KEYCODE_TV_MEDIA_CONTEXT_MENU" value="257" />
1813        <enum name="KEYCODE_TV_TIMER_PROGRAMMING" value="258" />
1814        <enum name="KEYCODE_HELP" value="259" />
1815        <enum name="KEYCODE_NAVIGATE_PREVIOUS" value="260" />
1816        <enum name="KEYCODE_NAVIGATE_NEXT" value="261" />
1817        <enum name="KEYCODE_NAVIGATE_IN" value="262" />
1818        <enum name="KEYCODE_NAVIGATE_OUT" value="263" />
1819        <enum name="KEYCODE_STEM_PRIMARY" value="264" />
1820        <enum name="KEYCODE_STEM_1" value="265" />
1821        <enum name="KEYCODE_STEM_2" value="266" />
1822        <enum name="KEYCODE_STEM_3" value="267" />
1823        <enum name="KEYCODE_DPAD_UP_LEFT" value="268" />
1824        <enum name="KEYCODE_DPAD_DOWN_LEFT" value="269" />
1825        <enum name="KEYCODE_DPAD_UP_RIGHT" value="270" />
1826        <enum name="KEYCODE_DPAD_DOWN_RIGHT" value="271" />
1827        <enum name="KEYCODE_MEDIA_SKIP_FORWARD" value="272" />
1828        <enum name="KEYCODE_MEDIA_SKIP_BACKWARD" value="273" />
1829        <enum name="KEYCODE_MEDIA_STEP_FORWARD" value="274" />
1830        <enum name="KEYCODE_MEDIA_STEP_BACKWARD" value="275" />
1831        <enum name="KEYCODE_SOFT_SLEEP" value="276" />
1832        <enum name="KEYCODE_CUT" value="277" />
1833        <enum name="KEYCODE_COPY" value="278" />
1834        <enum name="KEYCODE_PASTE" value="279" />
1835    </attr>
1836
1837    <!-- ***************************************************************** -->
1838    <!-- These define collections of attributes that can are with classes. -->
1839    <!-- ***************************************************************** -->
1840
1841    <!-- ========================== -->
1842    <!-- Special attribute classes. -->
1843    <!-- ========================== -->
1844    <eat-comment />
1845
1846    <!-- The set of attributes that describe a Windows's theme. -->
1847    <declare-styleable name="Window">
1848        <attr name="windowBackground" />
1849        <attr name="windowBackgroundFallback" />
1850        <attr name="windowContentOverlay" />
1851        <attr name="windowFrame" />
1852        <attr name="windowNoTitle" />
1853        <attr name="windowFullscreen" />
1854        <attr name="windowOverscan" />
1855        <attr name="windowIsFloating" />
1856        <attr name="windowIsTranslucent" />
1857        <attr name="windowShowWallpaper" />
1858        <attr name="windowAnimationStyle" />
1859        <attr name="windowSoftInputMode" />
1860        <attr name="windowDisablePreview" />
1861        <attr name="windowNoDisplay" />
1862        <attr name="textColor" />
1863        <attr name="backgroundDimEnabled" />
1864        <attr name="backgroundDimAmount" />
1865        <attr name="windowActionBar" />
1866        <attr name="windowActionModeOverlay" />
1867        <attr name="windowActionBarOverlay" />
1868        <attr name="windowEnableSplitTouch" />
1869        <attr name="windowCloseOnTouchOutside" />
1870        <attr name="windowTranslucentStatus" />
1871        <attr name="windowTranslucentNavigation" />
1872        <attr name="windowSwipeToDismiss" />
1873        <attr name="windowContentTransitions" />
1874        <attr name="windowActivityTransitions" />
1875        <attr name="windowContentTransitionManager" />
1876        <attr name="windowActionBarFullscreenDecorLayout" />
1877
1878        <!-- The minimum width the window is allowed to be, along the major
1879             axis of the screen.  That is, when in landscape.  Can be either
1880             an absolute dimension or a fraction of the screen size in that
1881             dimension. -->
1882        <attr name="windowMinWidthMajor" format="dimension|fraction" />
1883        <!-- The minimum width the window is allowed to be, along the minor
1884             axis of the screen.  That is, when in portrait.  Can be either
1885             an absolute dimension or a fraction of the screen size in that
1886             dimension. -->
1887        <attr name="windowMinWidthMinor" format="dimension|fraction" />
1888
1889        <!-- A fixed width for the window along the major axis of the screen,
1890             that is, when in landscape. Can be either an absolute dimension
1891             or a fraction of the screen size in that dimension. -->
1892        <attr name="windowFixedWidthMajor" format="dimension|fraction" />
1893        <!-- A fixed height for the window along the minor axis of the screen,
1894             that is, when in landscape. Can be either an absolute dimension
1895             or a fraction of the screen size in that dimension. -->
1896        <attr name="windowFixedHeightMinor" format="dimension|fraction" />
1897
1898        <!-- A fixed width for the window along the minor axis of the screen,
1899             that is, when in portrait. Can be either an absolute dimension
1900             or a fraction of the screen size in that dimension. -->
1901        <attr name="windowFixedWidthMinor" format="dimension|fraction" />
1902        <!-- A fixed height for the window along the major axis of the screen,
1903             that is, when in portrait. Can be either an absolute dimension
1904             or a fraction of the screen size in that dimension. -->
1905        <attr name="windowFixedHeightMajor" format="dimension|fraction" />
1906        <attr name="windowOutsetBottom" format="dimension" />
1907        <!-- Reference to a Transition XML resource defining the desired Transition
1908             used to move Views into the initial Window's content Scene. Corresponds to
1909             {@link android.view.Window#setEnterTransition(android.transition.Transition)}. -->
1910        <attr name="windowEnterTransition"/>
1911
1912        <!-- Reference to a Transition XML resource defining the desired Transition
1913             used to move Views out of the scene when the Window is
1914             preparing to close. Corresponds to
1915             {@link android.view.Window#setReturnTransition(android.transition.Transition)}. -->
1916        <attr name="windowReturnTransition"/>
1917
1918        <!-- Reference to a Transition XML resource defining the desired Transition
1919             used to move Views out of the Window's content Scene when launching a new Activity.
1920             Corresponds to
1921             {@link android.view.Window#setExitTransition(android.transition.Transition)}. -->
1922        <attr name="windowExitTransition"/>
1923
1924        <!-- Reference to a Transition XML resource defining the desired Transition
1925             used to move Views in to the scene when returning from a previously-started Activity.
1926             Corresponds to
1927             {@link android.view.Window#setReenterTransition(android.transition.Transition)}. -->
1928        <attr name="windowReenterTransition"/>
1929
1930        <!-- Reference to a Transition XML resource defining the desired Transition
1931             used to move shared elements transferred into the Window's initial content Scene.
1932             Corresponds to {@link android.view.Window#setSharedElementEnterTransition(
1933             android.transition.Transition)}. -->
1934        <attr name="windowSharedElementEnterTransition"/>
1935
1936        <!-- Reference to a Transition XML resource defining the desired Transition
1937             used to move shared elements transferred back to a calling Activity.
1938             Corresponds to {@link android.view.Window#setSharedElementReturnTransition(
1939             android.transition.Transition)}. -->
1940        <attr name="windowSharedElementReturnTransition"/>
1941
1942        <!-- Reference to a Transition XML resource defining the desired Transition
1943             used when starting a new Activity to move shared elements prior to transferring
1944             to the called Activity.
1945             Corresponds to {@link android.view.Window#setSharedElementExitTransition(
1946             android.transition.Transition)}. -->
1947        <attr name="windowSharedElementExitTransition"/>
1948
1949        <!-- Reference to a Transition XML resource defining the desired Transition
1950             used for shared elements transferred back to a calling Activity.
1951             Corresponds to {@link android.view.Window#setSharedElementReenterTransition(
1952             android.transition.Transition)}. -->
1953        <attr name="windowSharedElementReenterTransition"/>
1954
1955
1956        <!-- Flag indicating whether this Window's transition should overlap with
1957             the exiting transition of the calling Activity. Corresponds to
1958             {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. -->
1959        <attr name="windowAllowEnterTransitionOverlap"/>
1960
1961        <!-- Flag indicating whether this Window's transition should overlap with
1962             the exiting transition of the called Activity when the called Activity
1963             finishes. Corresponds to
1964             {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. -->
1965        <attr name="windowAllowReturnTransitionOverlap"/>
1966
1967        <!-- Indicates whether or not shared elements should use an overlay
1968             during transitions. The default value is true. -->
1969        <attr name="windowSharedElementsUseOverlay"/>
1970
1971        <!-- Flag indicating whether this Window is responsible for drawing the background for the
1972             system bars. If true and the window is not floating, the system bars are drawn with a
1973             transparent background and the corresponding areas in this window are filled with the
1974             colors specified in {@link android.R.attr#statusBarColor} and
1975             {@link android.R.attr#navigationBarColor}. Corresponds to
1976             {@link android.view.WindowManager.LayoutParams#FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS}. -->
1977        <attr name="windowDrawsSystemBarBackgrounds" format="boolean" />
1978
1979        <!-- The color for the status bar. If the color is not opaque, consider setting
1980             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and
1981             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN}.
1982             For this to take effect, the window must be drawing the system bar backgrounds with
1983             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not
1984             have been requested to be translucent with
1985             {@link android.R.attr#windowTranslucentStatus}.
1986             Corresponds to {@link android.view.Window#setStatusBarColor(int)}. -->
1987        <attr name="statusBarColor" format="color" />
1988
1989        <!-- The color for the navigation bar. If the color is not opaque, consider setting
1990             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and
1991             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION}.
1992             For this to take effect, the window must be drawing the system bar backgrounds with
1993             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not
1994             have been requested to be translucent with
1995             {@link android.R.attr#windowTranslucentNavigation}.
1996             Corresponds to {@link android.view.Window#setNavigationBarColor(int)}. -->
1997        <attr name="navigationBarColor" format="color" />
1998
1999        <!-- The duration, in milliseconds, of the window background fade duration
2000             when transitioning into or away from an Activity when called with an
2001             Activity Transition. Corresponds to
2002             {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. -->
2003        <attr name="windowTransitionBackgroundFadeDuration" />
2004
2005        <!-- Elevation to use for the window. -->
2006        <attr name="windowElevation" format="dimension" />
2007
2008        <!-- Whether to clip window content to the outline of the window background. -->
2009        <attr name="windowClipToOutline" format="boolean" />
2010
2011        <!-- If set, the status bar will be drawn such that it is compatible with a light
2012             status bar background.
2013             <p>For this to take effect, the window must be drawing the system bar backgrounds with
2014             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not
2015             have been requested to be translucent with
2016             {@link android.R.attr#windowTranslucentStatus}.
2017             Corresponds to setting {@link android.view.View#SYSTEM_UI_FLAG_LIGHT_STATUS_BAR} on
2018             the decor view. -->
2019        <attr name="windowLightStatusBar" format="boolean" />
2020    </declare-styleable>
2021
2022    <!-- The set of attributes that describe a AlertDialog's theme. -->
2023    <declare-styleable name="AlertDialog">
2024        <attr name="fullDark" format="reference|color" />
2025        <attr name="topDark" format="reference|color" />
2026        <attr name="centerDark" format="reference|color" />
2027        <attr name="bottomDark" format="reference|color" />
2028        <attr name="fullBright" format="reference|color" />
2029        <attr name="topBright" format="reference|color" />
2030        <attr name="centerBright" format="reference|color" />
2031        <attr name="bottomBright" format="reference|color" />
2032        <attr name="bottomMedium" format="reference|color" />
2033        <attr name="centerMedium" format="reference|color" />
2034        <attr name="layout" />
2035        <attr name="buttonPanelSideLayout" format="reference" />
2036        <attr name="listLayout" format="reference" />
2037        <attr name="multiChoiceItemLayout" format="reference" />
2038        <attr name="singleChoiceItemLayout" format="reference" />
2039        <attr name="listItemLayout" format="reference" />
2040        <attr name="progressLayout" format="reference" />
2041        <attr name="horizontalProgressLayout" format="reference" />
2042        <!-- @hide Not ready for public use. -->
2043        <attr name="showTitle" format="boolean" />
2044        <!-- @hide Whether fullDark, etc. should use default values if null. -->
2045        <attr name="needsDefaultBackgrounds" format="boolean" />
2046    </declare-styleable>
2047
2048    <!-- @hide -->
2049    <declare-styleable name="ButtonBarLayout">
2050        <!-- Whether to automatically stack the buttons when there is not
2051             enough space to lay them out side-by-side. -->
2052        <attr name="allowStacking" format="boolean" />
2053    </declare-styleable>
2054
2055    <!-- Fragment animation class attributes. -->
2056    <declare-styleable name="FragmentAnimation">
2057        <attr name="fragmentOpenEnterAnimation" format="reference" />
2058        <attr name="fragmentOpenExitAnimation" format="reference" />
2059        <attr name="fragmentCloseEnterAnimation" format="reference" />
2060        <attr name="fragmentCloseExitAnimation" format="reference" />
2061        <attr name="fragmentFadeEnterAnimation" format="reference" />
2062        <attr name="fragmentFadeExitAnimation" format="reference" />
2063    </declare-styleable>
2064
2065    <!-- Window animation class attributes. -->
2066    <declare-styleable name="WindowAnimation">
2067        <!-- The animation used when a window is being added. -->
2068        <attr name="windowEnterAnimation" format="reference" />
2069        <!-- The animation used when a window is being removed. -->
2070        <attr name="windowExitAnimation" format="reference" />
2071        <!-- The animation used when a window is going from INVISIBLE to VISIBLE. -->
2072        <attr name="windowShowAnimation" format="reference" />
2073        <!-- The animation used when a window is going from VISIBLE to INVISIBLE. -->
2074        <attr name="windowHideAnimation" format="reference" />
2075
2076        <!--  When opening a new activity, this is the animation that is
2077              run on the next activity (which is entering the screen). -->
2078        <attr name="activityOpenEnterAnimation" format="reference" />
2079        <!--  When opening a new activity, this is the animation that is
2080              run on the previous activity (which is exiting the screen). -->
2081        <attr name="activityOpenExitAnimation" format="reference" />
2082        <!--  When closing the current activity, this is the animation that is
2083              run on the next activity (which is entering the screen). -->
2084        <attr name="activityCloseEnterAnimation" format="reference" />
2085        <!--  When closing the current activity, this is the animation that is
2086              run on the current activity (which is exiting the screen). -->
2087        <attr name="activityCloseExitAnimation" format="reference" />
2088        <!--  When opening an activity in a new task, this is the animation that is
2089              run on the activity of the new task (which is entering the screen). -->
2090        <attr name="taskOpenEnterAnimation" format="reference" />
2091        <!--  When opening an activity in a new task, this is the animation that is
2092              run on the activity of the old task (which is exiting the screen). -->
2093        <attr name="taskOpenExitAnimation" format="reference" />
2094        <!--  When opening an activity in a new task using Intent/FLAG_ACTIVITY_LAUNCH_BEHIND,
2095              this is the animation that is run on the activity of the new task (which is
2096              entering the screen and then leaving). -->
2097        <attr name="launchTaskBehindTargetAnimation" format="reference" />
2098        <!--  When opening an activity in a new task using Intent.FLAG_ACTIVITY_LAUNCH_BEHIND,
2099              this is the animation that is run on the activity of the old task (which is
2100              already on the screen and then stays on). -->
2101        <attr name="launchTaskBehindSourceAnimation" format="reference" />
2102        <!--  When closing the last activity of a task, this is the animation that is
2103              run on the activity of the next task (which is entering the screen). -->
2104        <attr name="taskCloseEnterAnimation" format="reference" />
2105        <!--  When opening an activity in a new task, this is the animation that is
2106              run on the activity of the old task (which is exiting the screen). -->
2107        <attr name="taskCloseExitAnimation" format="reference" />
2108        <!--  When bringing an existing task to the foreground, this is the
2109              animation that is run on the top activity of the task being brought
2110              to the foreground (which is entering the screen). -->
2111        <attr name="taskToFrontEnterAnimation" format="reference" />
2112        <!--  When bringing an existing task to the foreground, this is the
2113              animation that is run on the current foreground activity
2114              (which is exiting the screen). -->
2115        <attr name="taskToFrontExitAnimation" format="reference" />
2116        <!--  When sending the current task to the background, this is the
2117              animation that is run on the top activity of the task behind
2118              it (which is entering the screen). -->
2119        <attr name="taskToBackEnterAnimation" format="reference" />
2120        <!--  When sending the current task to the background, this is the
2121              animation that is run on the top activity of the current task
2122              (which is exiting the screen). -->
2123        <attr name="taskToBackExitAnimation" format="reference" />
2124
2125        <!--  When opening a new activity that shows the wallpaper, while
2126              currently not showing the wallpaper, this is the animation that
2127              is run on the new wallpaper activity (which is entering the screen). -->
2128        <attr name="wallpaperOpenEnterAnimation" format="reference" />
2129        <!--  When opening a new activity that shows the wallpaper, while
2130              currently not showing the wallpaper, this is the animation that
2131              is run on the current activity (which is exiting the screen). -->
2132        <attr name="wallpaperOpenExitAnimation" format="reference" />
2133        <!--  When opening a new activity that hides the wallpaper, while
2134              currently showing the wallpaper, this is the animation that
2135              is run on the new activity (which is entering the screen). -->
2136        <attr name="wallpaperCloseEnterAnimation" format="reference" />
2137        <!--  When opening a new activity that hides the wallpaper, while
2138              currently showing the wallpaper, this is the animation that
2139              is run on the old wallpaper activity (which is exiting the screen). -->
2140        <attr name="wallpaperCloseExitAnimation" format="reference" />
2141
2142        <!--  When opening a new activity that is on top of the wallpaper
2143              when the current activity is also on top of the wallpaper,
2144              this is the animation that is run on the new activity
2145              (which is entering the screen).  The wallpaper remains
2146              static behind the animation. -->
2147        <attr name="wallpaperIntraOpenEnterAnimation" format="reference" />
2148        <!--  When opening a new activity that is on top of the wallpaper
2149              when the current activity is also on top of the wallpaper,
2150              this is the animation that is run on the current activity
2151              (which is exiting the screen).  The wallpaper remains
2152              static behind the animation. -->
2153        <attr name="wallpaperIntraOpenExitAnimation" format="reference" />
2154        <!--  When closing a foreround activity that is on top of the wallpaper
2155              when the previous activity is also on top of the wallpaper,
2156              this is the animation that is run on the previous activity
2157              (which is entering the screen).  The wallpaper remains
2158              static behind the animation. -->
2159        <attr name="wallpaperIntraCloseEnterAnimation" format="reference" />
2160        <!--  When closing a foreround activity that is on top of the wallpaper
2161              when the previous activity is also on top of the wallpaper,
2162              this is the animation that is run on the current activity
2163              (which is exiting the screen).  The wallpaper remains
2164              static behind the animation. -->
2165        <attr name="wallpaperIntraCloseExitAnimation" format="reference" />
2166
2167        <!--  When opening a new activity from a RemoteViews, this is the
2168              animation that is run on the next activity (which is entering the
2169              screen). Requires config_overrideRemoteViewsActivityTransition to
2170              be true. -->
2171        <attr name="activityOpenRemoteViewsEnterAnimation" format="reference" />
2172
2173    </declare-styleable>
2174
2175    <!-- ============================= -->
2176    <!-- View package class attributes -->
2177    <!-- ============================= -->
2178    <eat-comment />
2179
2180    <!-- Attributes that can be used with {@link android.view.View} or
2181         any of its subclasses.  Also see {@link #ViewGroup_Layout} for
2182         attributes that are processed by the view's parent. -->
2183    <declare-styleable name="View">
2184        <!-- Supply an identifier name for this view, to later retrieve it
2185             with {@link android.view.View#findViewById View.findViewById()} or
2186             {@link android.app.Activity#findViewById Activity.findViewById()}.
2187             This must be a
2188             resource reference; typically you set this using the
2189             <code>@+</code> syntax to create a new ID resources.
2190             For example: <code>android:id="@+id/my_id"</code> which
2191             allows you to later retrieve the view
2192             with <code>findViewById(R.id.my_id)</code>. -->
2193        <attr name="id" format="reference" />
2194
2195        <!-- Supply a tag for this view containing a String, to be retrieved
2196             later with {@link android.view.View#getTag View.getTag()} or
2197             searched for with {@link android.view.View#findViewWithTag
2198             View.findViewWithTag()}.  It is generally preferable to use
2199             IDs (through the android:id attribute) instead of tags because
2200             they are faster and allow for compile-time type checking. -->
2201        <attr name="tag" format="string" />
2202
2203        <!-- The initial horizontal scroll offset, in pixels.-->
2204        <attr name="scrollX" format="dimension" />
2205
2206        <!-- The initial vertical scroll offset, in pixels. -->
2207        <attr name="scrollY" format="dimension" />
2208
2209        <!-- A drawable to use as the background.  This can be either a reference
2210             to a full drawable resource (such as a PNG image, 9-patch,
2211             XML state list description, etc), or a solid color such as "#ff000000"
2212            (black). -->
2213        <attr name="background" format="reference|color" />
2214
2215        <!-- Sets the padding, in pixels, of all four edges.  Padding is defined as
2216             space between the edges of the view and the view's content. A views size
2217             will include it's padding.  If a {@link android.R.attr#background}
2218             is provided, the padding will initially be set to that (0 if the
2219             drawable does not have padding).  Explicitly setting a padding value
2220             will override the corresponding padding found in the background. -->
2221        <attr name="padding" format="dimension" />
2222        <!-- Sets the padding, in pixels, of the left edge; see {@link android.R.attr#padding}. -->
2223        <attr name="paddingLeft" format="dimension" />
2224        <!-- Sets the padding, in pixels, of the top edge; see {@link android.R.attr#padding}. -->
2225        <attr name="paddingTop" format="dimension" />
2226        <!-- Sets the padding, in pixels, of the right edge; see {@link android.R.attr#padding}. -->
2227        <attr name="paddingRight" format="dimension" />
2228        <!-- Sets the padding, in pixels, of the bottom edge; see {@link android.R.attr#padding}. -->
2229        <attr name="paddingBottom" format="dimension" />
2230        <!-- Sets the padding, in pixels, of the start edge; see {@link android.R.attr#padding}. -->
2231        <attr name="paddingStart" format="dimension" />
2232        <!-- Sets the padding, in pixels, of the end edge; see {@link android.R.attr#padding}. -->
2233        <attr name="paddingEnd" format="dimension" />
2234
2235        <!-- Boolean that controls whether a view can take focus.  By default the user can not
2236             move focus to a view; by setting this attribute to true the view is
2237             allowed to take focus.  This value does not impact the behavior of
2238             directly calling {@link android.view.View#requestFocus}, which will
2239             always request focus regardless of this view.  It only impacts where
2240             focus navigation will try to move focus. -->
2241        <attr name="focusable" format="boolean" />
2242
2243        <!-- Boolean that controls whether a view can take focus while in touch mode.
2244             If this is true for a view, that view can gain focus when clicked on, and can keep
2245             focus if another view is clicked on that doesn't have this attribute set to true. -->
2246        <attr name="focusableInTouchMode" format="boolean" />
2247
2248        <!-- Controls the initial visibility of the view.  -->
2249        <attr name="visibility">
2250            <!-- Visible on screen; the default value. -->
2251            <enum name="visible" value="0" />
2252            <!-- Not displayed, but taken into account during layout (space is left for it). -->
2253            <enum name="invisible" value="1" />
2254            <!-- Completely hidden, as if the view had not been added. -->
2255            <enum name="gone" value="2" />
2256        </attr>
2257
2258        <!-- Boolean internal attribute to adjust view layout based on
2259             system windows such as the status bar.
2260             If true, adjusts the padding of this view to leave space for the system windows.
2261             Will only take effect if this view is in a non-embedded activity. -->
2262        <attr name="fitsSystemWindows" format="boolean" />
2263
2264        <!-- Defines which scrollbars should be displayed on scrolling or not. -->
2265        <attr name="scrollbars">
2266            <!-- No scrollbar is displayed. -->
2267            <flag name="none" value="0x00000000" />
2268            <!-- Displays horizontal scrollbar only. -->
2269            <flag name="horizontal" value="0x00000100" />
2270            <!-- Displays vertical scrollbar only. -->
2271            <flag name="vertical" value="0x00000200" />
2272        </attr>
2273
2274        <!-- Controls the scrollbar style and position. The scrollbars can be overlaid or
2275             inset. When inset, they add to the padding of the view. And the
2276             scrollbars can be drawn inside the padding area or on the edge of
2277             the view. For example, if a view has a background drawable and you
2278             want to draw the scrollbars inside the padding specified by the
2279             drawable, you can use insideOverlay or insideInset. If you want them
2280             to appear at the edge of the view, ignoring the padding, then you can
2281             use outsideOverlay or outsideInset.-->
2282        <attr name="scrollbarStyle">
2283            <!-- Inside the padding and overlaid -->
2284            <enum name="insideOverlay" value="0x0" />
2285            <!-- Inside the padding and inset -->
2286            <enum name="insideInset" value="0x01000000" />
2287            <!-- Edge of the view and overlaid -->
2288            <enum name="outsideOverlay" value="0x02000000" />
2289            <!-- Edge of the view and inset -->
2290            <enum name="outsideInset" value="0x03000000" />
2291        </attr>
2292
2293        <!-- Set this if the view will serve as a scrolling container, meaning
2294             that it can be resized to shrink its overall window so that there
2295             will be space for an input method.  If not set, the default
2296             value will be true if "scrollbars" has the vertical scrollbar
2297             set, else it will be false. -->
2298        <attr name="isScrollContainer" format="boolean" />
2299
2300          <!-- Defines whether to fade out scrollbars when they are not in use. -->
2301         <attr name="fadeScrollbars" format="boolean" />
2302         <!-- Defines the delay in milliseconds that a scrollbar takes to fade out. -->
2303         <attr name="scrollbarFadeDuration" format="integer" />
2304         <!-- Defines the delay in milliseconds that a scrollbar waits before fade out. -->
2305        <attr name="scrollbarDefaultDelayBeforeFade" format="integer" />
2306        <!-- Sets the width of vertical scrollbars and height of horizontal scrollbars. -->
2307        <attr name="scrollbarSize" format="dimension" />
2308        <!-- Defines the horizontal scrollbar thumb drawable. -->
2309        <attr name="scrollbarThumbHorizontal" format="reference" />
2310        <!-- Defines the vertical scrollbar thumb drawable. -->
2311        <attr name="scrollbarThumbVertical" format="reference" />
2312        <!-- Defines the horizontal scrollbar track drawable. -->
2313        <attr name="scrollbarTrackHorizontal" format="reference" />
2314        <!-- Defines the vertical scrollbar track drawable. -->
2315        <attr name="scrollbarTrackVertical" format="reference" />
2316        <!-- Defines whether the horizontal scrollbar track should always be drawn. -->
2317        <attr name="scrollbarAlwaysDrawHorizontalTrack" format="boolean" />
2318        <!-- Defines whether the vertical scrollbar track should always be drawn. -->
2319        <attr name="scrollbarAlwaysDrawVerticalTrack" format="boolean" />
2320
2321        <!-- This attribute is deprecated and will be ignored as of
2322             API level 14 ({@link android.os.Build.VERSION_CODES#ICE_CREAM_SANDWICH}).
2323             Using fading edges may introduce noticeable performance
2324             degradations and should be used only when required by the application's
2325             visual design. To request fading edges with API level 14 and above,
2326             use the <code>android:requiresFadingEdge</code> attribute instead. -->
2327        <attr name="fadingEdge">
2328            <!-- No edge is faded. -->
2329            <flag name="none" value="0x00000000" />
2330            <!-- Fades horizontal edges only. -->
2331            <flag name="horizontal" value="0x00001000" />
2332            <!-- Fades vertical edges only. -->
2333            <flag name="vertical" value="0x00002000" />
2334        </attr>
2335        <!-- Defines which edges should be faded on scrolling. -->
2336        <attr name="requiresFadingEdge">
2337            <!-- No edge is faded. -->
2338            <flag name="none" value="0x00000000" />
2339            <!-- Fades horizontal edges only. -->
2340            <flag name="horizontal" value="0x00001000" />
2341            <!-- Fades vertical edges only. -->
2342            <flag name="vertical" value="0x00002000" />
2343        </attr>
2344        <!-- Defines the length of the fading edges. -->
2345        <attr name="fadingEdgeLength" format="dimension" />
2346
2347        <!-- Defines the next view to give focus to when the next focus is
2348             {@link android.view.View#FOCUS_LEFT}.
2349
2350             If the reference refers to a view that does not exist or is part
2351             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2352             will result when the reference is accessed.-->
2353        <attr name="nextFocusLeft" format="reference"/>
2354
2355        <!-- Defines the next view to give focus to when the next focus is
2356             {@link android.view.View#FOCUS_RIGHT}
2357
2358             If the reference refers to a view that does not exist or is part
2359             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2360             will result when the reference is accessed.-->
2361        <attr name="nextFocusRight" format="reference"/>
2362
2363        <!-- Defines the next view to give focus to when the next focus is
2364             {@link android.view.View#FOCUS_UP}
2365
2366             If the reference refers to a view that does not exist or is part
2367             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2368             will result when the reference is accessed.-->
2369        <attr name="nextFocusUp" format="reference"/>
2370
2371        <!-- Defines the next view to give focus to when the next focus is
2372             {@link android.view.View#FOCUS_DOWN}
2373
2374             If the reference refers to a view that does not exist or is part
2375             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2376             will result when the reference is accessed.-->
2377        <attr name="nextFocusDown" format="reference"/>
2378
2379        <!-- Defines the next view to give focus to when the next focus is
2380             {@link android.view.View#FOCUS_FORWARD}
2381
2382             If the reference refers to a view that does not exist or is part
2383             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2384             will result when the reference is accessed.-->
2385        <attr name="nextFocusForward" format="reference"/>
2386
2387        <!-- Defines whether this view reacts to click events. -->
2388        <attr name="clickable" format="boolean" />
2389
2390        <!-- Defines whether this view reacts to long click events. -->
2391        <attr name="longClickable" format="boolean" />
2392
2393        <!--  Defines whether this view reacts to context click events. -->
2394        <attr name="contextClickable" format="boolean" />
2395
2396        <!-- If false, no state will be saved for this view when it is being
2397             frozen. The default is true, allowing the view to be saved
2398             (however it also must have an ID assigned to it for its
2399             state to be saved).  Setting this to false only disables the
2400             state for this view, not for its children which may still
2401             be saved. -->
2402        <attr name="saveEnabled" format="boolean" />
2403
2404        <!-- Specifies whether to filter touches when the view's window is obscured by
2405             another visible window.  When set to true, the view will not receive touches
2406             whenever a toast, dialog or other window appears above the view's window.
2407             Refer to the {@link android.view.View} security documentation for more details. -->
2408        <attr name="filterTouchesWhenObscured" format="boolean" />
2409
2410        <!-- Defines the quality of translucent drawing caches. This property is used
2411             only when the drawing cache is enabled and translucent. The default value is auto. -->
2412        <attr name="drawingCacheQuality">
2413            <!-- Lets the framework decide what quality level should be used
2414                 for the drawing cache. -->
2415            <enum name="auto" value="0" />
2416            <!-- Low quality. When set to low quality, the drawing cache uses a lower color
2417                 depth, thus losing precision in rendering gradients, but uses less memory. -->
2418            <enum name="low" value="1" />
2419            <!-- High quality. When set to high quality, the drawing cache uses a higher
2420                 color depth but uses more memory. -->
2421            <enum name="high" value="2" />
2422        </attr>
2423
2424        <!-- Controls whether the view's window should keep the screen on
2425             while visible. -->
2426        <attr name="keepScreenOn" format="boolean" />
2427
2428        <!-- When this attribute is set to true, the view gets its drawable state
2429             (focused, pressed, etc.) from its direct parent rather than from itself. -->
2430        <attr name="duplicateParentState" format="boolean" />
2431
2432        <!-- Defines the minimum height of the view. It is not guaranteed
2433             the view will be able to achieve this minimum height (for example,
2434             if its parent layout constrains it with less available height). -->
2435        <attr name="minHeight" />
2436
2437        <!-- Defines the minimum width of the view. It is not guaranteed
2438             the view will be able to achieve this minimum width (for example,
2439             if its parent layout constrains it with less available width). -->
2440        <attr name="minWidth" />
2441
2442        <!-- Boolean that controls whether a view should have sound effects
2443             enabled for events such as clicking and touching. -->
2444        <attr name="soundEffectsEnabled" format="boolean" />
2445
2446        <!-- Boolean that controls whether a view should have haptic feedback
2447             enabled for events such as long presses. -->
2448        <attr name="hapticFeedbackEnabled" format="boolean" />
2449
2450        <!-- Defines text that briefly describes content of the view. This property is used
2451             primarily for accessibility. Since some views do not have textual
2452             representation this attribute can be used for providing such. -->
2453        <attr name="contentDescription" format="string" localization="suggested" />
2454
2455        <!-- Sets the id of a view before which this one is visited in accessibility traversal.
2456             A screen-reader must visit the content of this view before the content of the one
2457             it precedes.
2458             @see android.view.View#setAccessibilityTraversalBefore(int)} -->
2459        <attr name="accessibilityTraversalBefore" format="integer" />
2460
2461        <!-- Sets the id of a view after which this one is visited in accessibility traversal.
2462             A screen-reader must visit the content of the other view before the content of
2463             this one.
2464             @see android.view.View#setAccessibilityTraversalAfter(int)} -->
2465        <attr name="accessibilityTraversalAfter" format="integer" />
2466
2467        <!-- Name of the method in this View's context to invoke when the view is
2468             clicked. This name must correspond to a public method that takes
2469             exactly one parameter of type View. For instance, if you specify
2470             <code>android:onClick="sayHello"</code>, you must declare a
2471             <code>public void sayHello(View v)</code> method of your context
2472             (typically, your Activity). -->
2473        <attr name="onClick" format="string" />
2474
2475        <!-- Defines over-scrolling behavior. This property is used only if the
2476             View is scrollable. Over-scrolling is the ability for the user to
2477             receive feedback when attempting to scroll beyond meaningful content. -->
2478        <attr name="overScrollMode">
2479            <!-- Always show over-scroll effects, even if the content fits entirely
2480                 within the available space. -->
2481            <enum name="always" value="0" />
2482            <!-- Only show over-scroll effects if the content is large
2483                 enough to meaningfully scroll. -->
2484            <enum name="ifContentScrolls" value="1" />
2485            <!-- Never show over-scroll effects. -->
2486            <enum name="never" value="2" />
2487        </attr>
2488
2489        <!-- alpha property of the view, as a value between 0 (completely transparent) and 1
2490             (completely opaque). -->
2491        <attr name="alpha" format="float" />
2492
2493        <!-- base z depth of the view -->
2494        <attr name="elevation" format="dimension" />
2495
2496        <!-- translation in x of the view. This value is added post-layout to the left
2497             property of the view, which is set by its layout. -->
2498        <attr name="translationX" format="dimension" />
2499
2500        <!-- translation in y of the view. This value is added post-layout to the top
2501             property of the view, which is set by its layout. -->
2502        <attr name="translationY" format="dimension" />
2503
2504        <!-- translation in z of the view. This value is added to its elevation. -->
2505        <attr name="translationZ" format="dimension" />
2506
2507        <!-- x location of the pivot point around which the view will rotate and scale.
2508             This xml attribute sets the pivotX property of the View. -->
2509        <attr name="transformPivotX" format="dimension" />
2510
2511        <!-- y location of the pivot point around which the view will rotate and scale.
2512             This xml attribute sets the pivotY property of the View. -->
2513        <attr name="transformPivotY" format="dimension" />
2514
2515        <!-- rotation of the view, in degrees. -->
2516        <attr name="rotation" format="float" />
2517
2518        <!-- rotation of the view around the x axis, in degrees. -->
2519        <attr name="rotationX" format="float" />
2520
2521        <!-- rotation of the view around the y axis, in degrees. -->
2522        <attr name="rotationY" format="float" />
2523
2524        <!-- scale of the view in the x direction. -->
2525        <attr name="scaleX" format="float" />
2526
2527        <!-- scale of the view in the y direction. -->
2528        <attr name="scaleY" format="float" />
2529
2530        <!-- Determines which side the vertical scroll bar should be placed on. -->
2531        <attr name="verticalScrollbarPosition">
2532            <!-- Place the scroll bar wherever the system default determines. -->
2533            <enum name="defaultPosition" value="0" />
2534            <!-- Place the scroll bar on the left. -->
2535            <enum name="left" value="1" />
2536            <!-- Place the scroll bar on the right. -->
2537            <enum name="right" value="2" />
2538        </attr>
2539
2540        <!-- Specifies the type of layer backing this view. The default value is none.
2541             Refer to {@link android.view.View#setLayerType(int, android.graphics.Paint)}
2542             for more information.-->
2543        <attr name="layerType">
2544            <!-- Don't use a layer. -->
2545            <enum name="none" value="0" />
2546            <!-- Use a software layer. Refer to
2547                 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for
2548                 more information. -->
2549            <enum name="software" value="1" />
2550            <!-- Use a hardware layer. Refer to
2551                 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for
2552                 more information. -->
2553            <enum name="hardware" value="2" />
2554        </attr>
2555
2556        <!-- Defines the direction of layout drawing. This typically is associated with writing
2557             direction of the language script used. The possible values are "ltr" for Left-to-Right,
2558             "rtl" for Right-to-Left, "locale" and "inherit" from parent view. If there is nothing
2559             to inherit, "locale" is used. "locale" falls back to "en-US". "ltr" is the direction
2560             used in "en-US". The default for this attribute is "inherit". -->
2561        <attr name="layoutDirection">
2562            <!-- Left-to-Right -->
2563            <enum name="ltr" value="0" />
2564            <!-- Right-to-Left -->
2565            <enum name="rtl" value="1" />
2566            <!-- Inherit from parent -->
2567            <enum name="inherit" value="2" />
2568            <!-- Locale -->
2569            <enum name="locale" value="3" />
2570        </attr>
2571
2572        <!-- Defines the direction of the text. A heuristic is used to determine the resolved text
2573              direction of paragraphs. -->
2574         <attr name="textDirection" format="integer">
2575            <!-- Default -->
2576            <enum name="inherit" value="0" />
2577            <!-- Default for the root view. The first strong directional character determines the
2578                 paragraph direction.  If there is no strong directional character, the paragraph
2579                 direction is the view’s resolved layout direction. -->
2580            <enum name="firstStrong" value="1" />
2581            <!-- The paragraph direction is RTL if it contains any strong RTL character, otherwise
2582                 it is LTR if it contains any strong LTR characters.  If there are neither, the
2583                 paragraph direction is the view’s resolved layout direction. -->
2584            <enum name="anyRtl" value="2" />
2585            <!-- The paragraph direction is left to right. -->
2586            <enum name="ltr" value="3" />
2587            <!-- The paragraph direction is right to left. -->
2588            <enum name="rtl" value="4" />
2589            <!-- The paragraph direction is coming from the system Locale. -->
2590            <enum name="locale" value="5" />
2591            <!-- The first strong directional character determines the paragraph direction. If
2592                 there is no strong directional character, the paragraph direction is LTR. -->
2593            <enum name="firstStrongLtr" value="6" />
2594            <!-- The first strong directional character determines the paragraph direction. If
2595                 there is no strong directional character, the paragraph direction is RTL. -->
2596            <enum name="firstStrongRtl" value="7" />
2597        </attr>
2598
2599        <!-- Defines the alignment of the text. A heuristic is used to determine the resolved
2600            text alignment. -->
2601        <attr name="textAlignment" format="integer">
2602            <!-- Default -->
2603            <enum name="inherit" value="0" />
2604            <!-- Default for the root view. The gravity determines the alignment, ALIGN_NORMAL,
2605                ALIGN_CENTER, or ALIGN_OPPOSITE, which are relative to each paragraph’s
2606                text direction -->
2607            <enum name="gravity" value="1" />
2608            <!-- Align to the start of the paragraph, e.g. ALIGN_NORMAL. -->
2609            <enum name="textStart" value="2" />
2610            <!-- Align to the end of the paragraph, e.g. ALIGN_OPPOSITE. -->
2611            <enum name="textEnd" value="3" />
2612            <!-- Center the paragraph, e.g. ALIGN_CENTER. -->
2613            <enum name="center" value="4" />
2614            <!-- Align to the start of the view, which is ALIGN_LEFT if the view’s resolved
2615                layoutDirection is LTR, and ALIGN_RIGHT otherwise. -->
2616            <enum name="viewStart" value="5" />
2617            <!-- Align to the end of the view, which is ALIGN_RIGHT if the view’s resolved
2618                layoutDirection is LTR, and ALIGN_LEFT otherwise -->
2619            <enum name="viewEnd" value="6" />
2620        </attr>
2621
2622        <!-- Controls how this View is important for accessibility which is if it fires
2623             accessibility events and if it is reported to accessibility services that
2624             query the screen. Note: While not recommended, an accessibility service may
2625             decide to ignore this attribute and operate on all views in the view tree. -->
2626        <attr name="importantForAccessibility" format="integer">
2627            <!-- The system determines whether the view is important for accessibility - default
2628                 (recommended). -->
2629            <enum name="auto" value="0" />
2630            <!-- The view is important for accessibility. -->
2631            <enum name="yes" value="1" />
2632            <!-- The view is not important for accessibility. -->
2633            <enum name="no" value="2" />
2634            <!-- The view is not important for accessibility, nor are any of its descendant
2635                 views. -->
2636            <enum name="noHideDescendants" value="4" />
2637        </attr>
2638
2639        <!-- Indicates to accessibility services whether the user should be notified when
2640             this view changes. -->
2641        <attr name="accessibilityLiveRegion" format="integer">
2642            <!-- Accessibility services should not announce changes to this view. -->
2643            <enum name="none" value="0" />
2644            <!-- Accessibility services should announce changes to this view. -->
2645            <enum name="polite" value="1" />
2646            <!-- Accessibility services should interrupt ongoing speech to immediately
2647                 announce changes to this view. -->
2648            <enum name="assertive" value="2" />
2649        </attr>
2650
2651        <!-- Specifies the id of a view for which this view serves as a label for
2652             accessibility purposes. For example, a TextView before an EditText in
2653             the UI usually specifies what infomation is contained in the EditText.
2654             Hence, the TextView is a label for the EditText. -->
2655        <attr name="labelFor" format="reference" />
2656
2657        <!-- Specifies a theme override for a view. When a theme override is set, the
2658             view will be inflated using a {@link android.content.Context} themed with
2659             the specified resource. During XML inflation, any child views under the
2660             view with a theme override will inherit the themed context. -->
2661        <attr name="theme" />
2662
2663        <!-- Names a View such that it can be identified for Transitions. Names should be
2664             unique in the View hierarchy. -->
2665        <attr name="transitionName" format="string" />
2666
2667        <!-- Specifies that this view should permit nested scrolling within a compatible
2668             ancestor view. -->
2669        <attr name="nestedScrollingEnabled" format="boolean" />
2670
2671        <!-- Sets the state-based animator for the View. -->
2672        <attr name="stateListAnimator" format="reference"/>
2673
2674        <!-- Tint to apply to the background. -->
2675        <attr name="backgroundTint" format="color" />
2676
2677        <!-- Blending mode used to apply the background tint. -->
2678        <attr name="backgroundTintMode">
2679            <!-- The tint is drawn on top of the drawable.
2680                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
2681            <enum name="src_over" value="3" />
2682            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
2683                 color channels are thrown out. [Sa * Da, Sc * Da] -->
2684            <enum name="src_in" value="5" />
2685            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
2686                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
2687            <enum name="src_atop" value="9" />
2688            <!-- Multiplies the color and alpha channels of the drawable with those of
2689                 the tint. [Sa * Da, Sc * Dc] -->
2690            <enum name="multiply" value="14" />
2691            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
2692            <enum name="screen" value="15" />
2693            <!-- Combines the tint and drawable color and alpha channels, clamping the
2694                 result to valid color values. Saturate(S + D) -->
2695            <enum name="add" value="16" />
2696        </attr>
2697
2698        <!-- ViewOutlineProvider used to determine the View's Outline. -->
2699        <attr name="outlineProvider">
2700            <!-- Default, background drawable-driven outline. -->
2701            <enum name="background" value="0" />
2702            <!-- No outline provider. -->
2703            <enum name="none" value="1" />
2704            <!-- Generates an opaque outline for the bounds of the view. -->
2705            <enum name="bounds" value="2" />
2706            <!-- Generates an opaque outline for the padded bounds of the view. -->
2707            <enum name="paddedBounds" value="3" />
2708        </attr>
2709
2710        <!-- Defines the drawable to draw over the content. This can be used as an overlay.
2711             The foreground drawable participates in the padding of the content if the gravity
2712             is set to fill. -->
2713        <attr name="foreground" format="reference|color" />
2714        <!-- Defines the gravity to apply to the foreground drawable. The gravity defaults
2715             to fill. -->
2716        <attr name="foregroundGravity">
2717            <!-- Push object to the top of its container, not changing its size. -->
2718            <flag name="top" value="0x30" />
2719            <!-- Push object to the bottom of its container, not changing its size. -->
2720            <flag name="bottom" value="0x50" />
2721            <!-- Push object to the left of its container, not changing its size. -->
2722            <flag name="left" value="0x03" />
2723            <!-- Push object to the right of its container, not changing its size. -->
2724            <flag name="right" value="0x05" />
2725            <!-- Place object in the vertical center of its container, not changing its size. -->
2726            <flag name="center_vertical" value="0x10" />
2727            <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
2728            <flag name="fill_vertical" value="0x70" />
2729            <!-- Place object in the horizontal center of its container, not changing its size. -->
2730            <flag name="center_horizontal" value="0x01" />
2731            <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
2732            <flag name="fill_horizontal" value="0x07" />
2733            <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
2734            <flag name="center" value="0x11" />
2735            <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
2736            <flag name="fill" value="0x77" />
2737            <!-- Additional option that can be set to have the top and/or bottom edges of
2738                 the child clipped to its container's bounds.
2739                 The clip will be based on the vertical gravity: a top gravity will clip the bottom
2740                 edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
2741            <flag name="clip_vertical" value="0x80" />
2742            <!-- Additional option that can be set to have the left and/or right edges of
2743                 the child clipped to its container's bounds.
2744                 The clip will be based on the horizontal gravity: a left gravity will clip the right
2745                 edge, a right gravity will clip the left edge, and neither will clip both edges. -->
2746            <flag name="clip_horizontal" value="0x08" />
2747        </attr>
2748        <!-- Defines whether the foreground drawable should be drawn inside the padding.
2749             This property is turned on by default. -->
2750        <attr name="foregroundInsidePadding" format="boolean" />
2751        <!-- Tint to apply to the foreground. -->
2752        <attr name="foregroundTint" format="color" />
2753        <!-- Blending mode used to apply the foreground tint. -->
2754        <attr name="foregroundTintMode">
2755            <!-- The tint is drawn on top of the drawable.
2756                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
2757            <enum name="src_over" value="3" />
2758            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
2759                 color channels are thrown out. [Sa * Da, Sc * Da] -->
2760            <enum name="src_in" value="5" />
2761            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
2762                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
2763            <enum name="src_atop" value="9" />
2764            <!-- Multiplies the color and alpha channels of the drawable with those of
2765                 the tint. [Sa * Da, Sc * Dc] -->
2766            <enum name="multiply" value="14" />
2767            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
2768            <enum name="screen" value="15" />
2769            <!-- Combines the tint and drawable color and alpha channels, clamping the
2770                 result to valid color values. Saturate(S + D) -->
2771            <enum name="add" value="16" />
2772        </attr>
2773
2774        <!-- Defines which scroll indicators should be displayed when the view
2775             can be scrolled. Multiple values may be combined using logical OR,
2776             for example "top|bottom". -->
2777        <attr name="scrollIndicators">
2778            <!-- No scroll indicators are displayed. -->
2779            <flag name="none" value="0x00" />
2780            <!-- Displays top scroll indicator when view can be scrolled up. -->
2781            <flag name="top" value="0x01" />
2782            <!-- Displays bottom scroll indicator when vew can be scrolled down. -->
2783            <flag name="bottom" value="0x02" />
2784            <!-- Displays left scroll indicator when vew can be scrolled left. -->
2785            <flag name="left" value="0x04" />
2786            <!-- Displays right scroll indicator when vew can be scrolled right. -->
2787            <flag name="right" value="0x08" />
2788            <!-- Displays right scroll indicator when vew can be scrolled in the
2789                 start direction. -->
2790            <flag name="start" value="0x10" />
2791            <!-- Displays right scroll indicator when vew can be scrolled in the
2792                 end direction. -->
2793            <flag name="end" value="0x20" />
2794        </attr>
2795
2796        <attr name="pointerIcon">
2797            <!-- Null icon, pointer becomes invisible. -->
2798            <enum name="none" value="0" />
2799            <!-- The default icon of arrow pointer. -->
2800            <enum name="arrow" value="1000" />
2801            <!-- Pointer icon indicating context-menu will appear. -->
2802            <enum name="context_menu" value="1001" />
2803            <!-- Pointer icon of a hand with the index finger. -->
2804            <enum name="hand" value="1002" />
2805            <!-- Pointer icon indicating help. -->
2806            <enum name="help" value="1003" />
2807            <!-- Pointer icon indicating something is going on and waiting. -->
2808            <enum name="wait" value="1004" />
2809            <!-- Pointer icon for cell and grid. -->
2810            <enum name="cell" value="1006" />
2811            <!-- Pointer icon of crosshair, indicating to spot a location. -->
2812            <enum name="crosshair" value="1007" />
2813            <!-- Pointer icon of I-beam, usually for text. -->
2814            <enum name="text" value="1008" />
2815            <!-- Pointer icon of I-beam with 90-degree rotated, for vertical text. -->
2816            <enum name="vertical_text" value="1009" />
2817            <!-- Pointer icon of 'alias', indicating an alias of/shortcut to something is to be
2818                 created. -->
2819            <enum name="alias" value="1010" />
2820            <!-- Pointer icon of 'copy', used for drag/drop. -->
2821            <enum name="copy" value="1011" />
2822            <!-- Pointer icon of 'no-drop', indicating the drop will not be accepted at the
2823                 current location. -->
2824            <enum name="no_drop" value="1012" />
2825            <!-- Pointer icon of four-way arrows, indicating scrolling all direction. -->
2826            <enum name="all_scroll" value="1013" />
2827            <!-- Pointer icon of horizontal double arrow, indicating horizontal resize. -->
2828            <enum name="horizontal_double_arrow" value="1014" />
2829            <!-- Pointer icon of vertical double arrow, indicating vertical resize. -->
2830            <enum name="vertical_double_arrow" value="1015" />
2831            <!-- Pointer icon of diagonal double arrow, starting from top-right to bottom-left.
2832                 Indicating freeform resize. -->
2833            <enum name="top_right_diagonal_double_arrow" value="1016" />
2834            <!-- Pointer icon of diagonal double arrow, starting from top-left to bottom-right.
2835                 Indicating freeform resize. -->
2836            <enum name="top_left_diagonal_double_arrow" value="1017" />
2837            <!-- Pointer icon indicating zoom-in. -->
2838            <enum name="zoom_in" value="1018" />
2839            <!-- Pointer icon indicating zoom-out. -->
2840            <enum name="zoom_out" value="1019" />
2841            <!-- Pointer icon of a hand sign to grab something. -->
2842            <enum name="grab" value="1020" />
2843            <!-- Pointer icon of a hand sign while grabbing something. -->
2844            <enum name="grabbing" value="1021" />
2845        </attr>
2846
2847        <!-- Whether this view has elements that may overlap when drawn. See
2848             {@link android.view.View#forceHasOverlappingRendering(boolean)}. -->
2849        <attr name="forceHasOverlappingRendering" format="boolean" />
2850
2851    </declare-styleable>
2852
2853    <!-- Attributes that can be assigned to a tag for a particular View. -->
2854    <declare-styleable name="ViewTag">
2855        <!-- Specifies the key identifying a tag. This must be a resource reference. -->
2856        <attr name="id" />
2857        <!-- Specifies the value with which to tag the view. -->
2858        <attr name="value" />
2859    </declare-styleable>
2860
2861    <!-- Attributes that can be assigned to an &lt;include&gt; tag.
2862         @hide -->
2863    <declare-styleable name="Include">
2864        <attr name="id" />
2865        <attr name="visibility" />
2866    </declare-styleable>
2867
2868    <!-- Attributes that can be used with a {@link android.view.ViewGroup} or any
2869         of its subclasses.  Also see {@link #ViewGroup_Layout} for
2870         attributes that this class processes in its children. -->
2871    <declare-styleable name="ViewGroup">
2872        <!-- Defines whether changes in layout (caused by adding and removing items) should
2873             cause a LayoutTransition to run. When this flag is set to true, a default
2874             LayoutTransition object will be set on the ViewGroup container and default
2875             animations will run when these layout changes occur.-->
2876        <attr name="animateLayoutChanges" format="boolean" />
2877        <!-- Defines whether a child is limited to draw inside of its bounds or not.
2878             This is useful with animations that scale the size of the children to more
2879             than 100% for instance. In such a case, this property should be set to false
2880             to allow the children to draw outside of their bounds. The default value of
2881             this property is true. -->
2882        <attr name="clipChildren" format="boolean" />
2883        <!-- Defines whether the ViewGroup will clip its children and resize (but not clip) any
2884             EdgeEffect to its padding, if padding is not zero. This property is set to true by
2885             default. -->
2886        <attr name="clipToPadding" format="boolean" />
2887        <!-- Defines the layout animation to use the first time the ViewGroup is laid out.
2888             Layout animations can also be started manually after the first layout. -->
2889        <attr name="layoutAnimation" format="reference" />
2890        <!-- Defines whether layout animations should create a drawing cache for their
2891             children. Enabling the animation cache consumes more memory and requires
2892             a longer initialization but provides better performance. The animation
2893             cache is enabled by default. -->
2894        <attr name="animationCache" format="boolean" />
2895        <!-- Defines the persistence of the drawing cache. The drawing cache might be
2896             enabled by a ViewGroup for all its children in specific situations (for
2897             instance during a scrolling.) This property lets you persist the cache
2898             in memory after its initial usage. Persisting the cache consumes more
2899             memory but may prevent frequent garbage collection is the cache is created
2900             over and over again. By default the persistence is set to scrolling. -->
2901        <attr name="persistentDrawingCache">
2902            <!-- The drawing cache is not persisted after use. -->
2903            <flag name="none" value="0x0" />
2904            <!-- The drawing cache is persisted after a layout animation. -->
2905            <flag name="animation" value="0x1" />
2906            <!-- The drawing cache is persisted after a scroll. -->
2907            <flag name="scrolling" value="0x2" />
2908            <!-- The drawing cache is always persisted. -->
2909            <flag name="all" value="0x3" />
2910        </attr>
2911        <!-- Defines whether the ViewGroup should always draw its children using their
2912             drawing cache or not. The default value is true. -->
2913        <attr name="alwaysDrawnWithCache" format="boolean" />
2914        <!-- Sets whether this ViewGroup's drawable states also include
2915             its children's drawable states.  This is used, for example, to
2916             make a group appear to be focused when its child EditText or button
2917             is focused. -->
2918        <attr name="addStatesFromChildren" format="boolean" />
2919
2920        <!-- Defines the relationship between the ViewGroup and its descendants
2921             when looking for a View to take focus. -->
2922        <attr name="descendantFocusability">
2923            <!-- The ViewGroup will get focus before any of its descendants. -->
2924            <enum name="beforeDescendants" value="0" />
2925            <!-- The ViewGroup will get focus only if none of its descendants want it. -->
2926            <enum name="afterDescendants" value="1" />
2927            <!-- The ViewGroup will block its descendants from receiving focus. -->
2928            <enum name="blocksDescendants" value="2" />
2929        </attr>
2930
2931        <!-- Set to true if this ViewGroup blocks focus in the presence of a touchscreen. -->
2932        <attr name="touchscreenBlocksFocus" format="boolean" />
2933
2934        <!-- Sets whether this ViewGroup should split MotionEvents
2935             to separate child views during touch event dispatch.
2936             If false (default), touch events will be dispatched to
2937             the child view where the first pointer went down until
2938             the last pointer goes up.
2939             If true, touch events may be dispatched to multiple children.
2940             MotionEvents for each pointer will be dispatched to the child
2941             view where the initial ACTION_DOWN event happened.
2942             See {@link android.view.ViewGroup#setMotionEventSplittingEnabled(boolean)}
2943             for more information. -->
2944        <attr name="splitMotionEvents" format="boolean" />
2945
2946        <!-- Defines the layout mode of this ViewGroup. -->
2947        <attr name="layoutMode">
2948            <!-- Use the children's clip bounds when laying out this container. -->
2949            <enum name="clipBounds" value="0" />
2950            <!-- Use the children's optical bounds when laying out this container. -->
2951            <enum name="opticalBounds" value="1" />
2952        </attr>
2953
2954        <!-- Sets whether or not this ViewGroup should be treated as a single entity
2955             when doing an Activity transition. Typically, the elements inside a
2956             ViewGroup are each transitioned from the scene individually. The default
2957             for a ViewGroup is false unless it has a background. See
2958             {@link android.app.ActivityOptions#makeSceneTransitionAnimation(android.app.Activity,
2959             android.view.View, String)} for more information. Corresponds to
2960             {@link android.view.ViewGroup#setTransitionGroup(boolean)}.-->
2961        <attr name="transitionGroup" format="boolean" />
2962    </declare-styleable>
2963
2964    <!-- A {@link android.view.ViewStub} lets you lazily include other XML layouts
2965         inside your application at runtime. -->
2966    <declare-styleable name="ViewStub">
2967        <!-- Supply an identifier name for this view. -->
2968        <attr name="id" />
2969        <!-- Supply an identifier for the layout resource to inflate when the ViewStub
2970             becomes visible or when forced to do so. The layout resource must be a
2971             valid reference to a layout. -->
2972        <attr name="layout" format="reference" />
2973        <!-- Overrides the id of the inflated View with this value. -->
2974        <attr name="inflatedId" format="reference" />
2975    </declare-styleable>
2976
2977    <!-- ===================================== -->
2978    <!-- View package parent layout attributes -->
2979    <!-- ===================================== -->
2980    <eat-comment />
2981
2982    <!-- This is the basic set of layout attributes that are common to all
2983         layout managers.  These attributes are specified with the rest of
2984         a view's normal attributes (such as {@link android.R.attr#background},
2985         but will be parsed by the view's parent and ignored by the child.
2986        <p>The values defined here correspond to the base layout attribute
2987        class {@link android.view.ViewGroup.LayoutParams}. -->
2988    <declare-styleable name="ViewGroup_Layout">
2989        <!-- Specifies the basic width of the view.  This is a required attribute
2990             for any view inside of a containing layout manager.  Its value may
2991             be a dimension (such as "12dip") for a constant width or one of
2992             the special constants. -->
2993        <attr name="layout_width" format="dimension">
2994            <!-- The view should be as big as its parent (minus padding).
2995                 This constant is deprecated starting from API Level 8 and
2996                 is replaced by {@code match_parent}. -->
2997            <enum name="fill_parent" value="-1" />
2998            <!-- The view should be as big as its parent (minus padding).
2999                 Introduced in API Level 8. -->
3000            <enum name="match_parent" value="-1" />
3001            <!-- The view should be only big enough to enclose its content (plus padding). -->
3002            <enum name="wrap_content" value="-2" />
3003        </attr>
3004
3005        <!-- Specifies the basic height of the view.  This is a required attribute
3006             for any view inside of a containing layout manager.  Its value may
3007             be a dimension (such as "12dip") for a constant height or one of
3008             the special constants. -->
3009        <attr name="layout_height" format="dimension">
3010            <!-- The view should be as big as its parent (minus padding).
3011                 This constant is deprecated starting from API Level 8 and
3012                 is replaced by {@code match_parent}. -->
3013            <enum name="fill_parent" value="-1" />
3014            <!-- The view should be as big as its parent (minus padding).
3015                 Introduced in API Level 8. -->
3016            <enum name="match_parent" value="-1" />
3017            <!-- The view should be only big enough to enclose its content (plus padding). -->
3018            <enum name="wrap_content" value="-2" />
3019        </attr>
3020    </declare-styleable>
3021
3022    <!-- This is the basic set of layout attributes for layout managers that
3023         wish to place margins around their child views.
3024         These attributes are specified with the rest of
3025         a view's normal attributes (such as {@link android.R.attr#background},
3026         but will be parsed by the view's parent and ignored by the child.
3027        <p>The values defined here correspond to the base layout attribute
3028        class {@link android.view.ViewGroup.MarginLayoutParams}. -->
3029    <declare-styleable name="ViewGroup_MarginLayout">
3030        <attr name="layout_width" />
3031        <attr name="layout_height" />
3032        <!--  Specifies extra space on the left, top, right and bottom
3033              sides of this view. This space is outside this view's bounds.
3034              Margin values should be positive. -->
3035        <attr name="layout_margin" format="dimension"  />
3036        <!--  Specifies extra space on the left side of this view.
3037              This space is outside this view's bounds.
3038              Margin values should be positive. -->
3039        <attr name="layout_marginLeft" format="dimension"  />
3040        <!--  Specifies extra space on the top side of this view.
3041              This space is outside this view's bounds.
3042              Margin values should be positive.-->
3043        <attr name="layout_marginTop" format="dimension" />
3044        <!--  Specifies extra space on the right side of this view.
3045              This space is outside this view's bounds.
3046              Margin values should be positive.-->
3047        <attr name="layout_marginRight" format="dimension"  />
3048        <!--  Specifies extra space on the bottom side of this view.
3049              This space is outside this view's bounds.
3050              Margin values should be positive.-->
3051        <attr name="layout_marginBottom" format="dimension"  />
3052        <!--  Specifies extra space on the start side of this view.
3053              This space is outside this view's bounds.
3054              Margin values should be positive.-->
3055        <attr name="layout_marginStart" format="dimension"  />
3056        <!--  Specifies extra space on the end side of this view.
3057              This space is outside this view's bounds.
3058              Margin values should be positive.-->
3059        <attr name="layout_marginEnd" format="dimension"  />
3060    </declare-styleable>
3061
3062    <!-- Use <code>input-method</code> as the root tag of the XML resource that
3063         describes an
3064         {@link android.view.inputmethod.InputMethod} service, which is
3065         referenced from its
3066         {@link android.view.inputmethod.InputMethod#SERVICE_META_DATA}
3067         meta-data entry.  Described here are the attributes that can be
3068         included in that tag. -->
3069    <declare-styleable name="InputMethod">
3070        <!-- Component name of an activity that allows the user to modify
3071             the settings for this service. -->
3072        <attr name="settingsActivity" format="string" />
3073        <!-- Set to true in all of the configurations for which this input
3074             method should be considered an option as the default. -->
3075        <attr name="isDefault" format="boolean" />
3076        <!-- Set to true if this input method supports ways to switch to
3077             a next input method (e.g. a globe key.). When this is true and
3078             InputMethodManager#shouldOfferSwitchingToNextInputMethod() returns true,
3079             the IME has to offer ways to invoke InputMethodManager#switchToNextInputMethod()
3080             accordingly.
3081             <p> Note that the system determines the most appropriate next input method
3082             and subtype in order to provide the consistent user experience in switching
3083             between IMEs and subtypes. -->
3084        <attr name="supportsSwitchingToNextInputMethod" format="boolean" />
3085    </declare-styleable>
3086
3087    <!-- This is the subtype of InputMethod. Subtype can describe locales (e.g. en_US, fr_FR...)
3088         and modes (e.g. voice, keyboard...), and is used for IME switch. This subtype allows
3089         the system to call the specified subtype of the IME directly. -->
3090    <declare-styleable name="InputMethod_Subtype">
3091        <!-- The name of the subtype. -->
3092        <attr name="label" />
3093        <!-- The icon of the subtype. -->
3094        <attr name="icon" />
3095        <!-- The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...)
3096             and will be passed to the IME when the framework calls the IME
3097             with the subtype. This is also used by the framework to know the supported locales
3098             of the IME.  -->
3099        <attr name="imeSubtypeLocale" format="string" />
3100        <!-- The mode of the subtype. This string can be a mode (e.g. voice, keyboard...) and this
3101             string will be passed to the IME when the framework calls the IME with the
3102             subtype.  {@link android.view.inputmethod.InputMethodSubtype#getLocale()} returns the
3103             value specified in this attribute.  -->
3104        <attr name="imeSubtypeMode" format="string" />
3105        <!-- Set true if the subtype is auxiliary.  An auxiliary subtype won't be shown in the
3106             input method selection list in the settings app.
3107             InputMethodManager#switchToLastInputMethod will ignore auxiliary subtypes when it
3108             chooses a target subtype. -->
3109        <attr name="isAuxiliary" format="boolean" />
3110        <!-- Set true when this subtype should be selected by default if no other subtypes are
3111             selected explicitly. Note that a subtype with this parameter being true will
3112             not be shown in the subtypes list. -->
3113        <attr name="overridesImplicitlyEnabledSubtype" format="boolean" />
3114        <!-- The extra value of the subtype. This string can be any string and will be passed to
3115             the IME when the framework calls the IME with the subtype.  -->
3116        <attr name="imeSubtypeExtraValue" format="string" />
3117        <!-- The unique id for the subtype. The input method framework keeps track of enabled
3118             subtypes by ID. When the IME package gets upgraded, enabled IDs will stay enabled even
3119             if other attributes are different. If the ID is unspecified (by calling the other
3120             constructor or 0. Arrays.hashCode(new Object[] {locale, mode, extraValue,
3121             isAuxiliary, overridesImplicitlyEnabledSubtype}) will be used instead. -->
3122        <attr name="subtypeId" format="integer"/>
3123        <!-- Set to true if this subtype is ASCII capable. If the subtype is ASCII
3124             capable, it should guarantee that the user can input ASCII characters with
3125             this subtype. This is important because many password fields only allow
3126             ASCII-characters. -->
3127        <attr name="isAsciiCapable" format="boolean" />
3128        <!-- The BCP-47 Language Tag of the subtype.  This replaces
3129        {@link android.R.styleable#InputMethod_Subtype_imeSubtypeLocale}.  -->
3130        <attr name="languageTag" format="string" />
3131    </declare-styleable>
3132
3133    <!-- Use <code>spell-checker</code> as the root tag of the XML resource that
3134         describes an
3135         {@link android.service.textservice.SpellCheckerService} service, which is
3136         referenced from its
3137         {@link android.view.textservice.SpellCheckerSession#SERVICE_META_DATA}
3138         meta-data entry.  Described here are the attributes that can be
3139         included in that tag. -->
3140    <declare-styleable name="SpellChecker">
3141        <!-- The name of the spell checker. -->
3142        <attr name="label" />
3143        <!-- Component name of an activity that allows the user to modify
3144             the settings for this service. -->
3145        <attr name="settingsActivity"/>
3146    </declare-styleable>
3147
3148    <!-- This is the subtype of the spell checker. Subtype can describe locales (e.g. en_US, fr_FR...) -->
3149    <declare-styleable name="SpellChecker_Subtype">
3150        <!-- The name of the subtype. -->
3151        <attr name="label" />
3152        <!-- The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...)
3153             This is also used by the framework to know the supported locales
3154             of the spell checker. {@link android.view.textservice.SpellCheckerSubtype#getLocale()}
3155             returns the value specified in this attribute.  -->
3156        <attr name="subtypeLocale" format="string" />
3157        <!-- The extra value of the subtype. This string can be any string and will be passed to
3158             the SpellChecker.  -->
3159        <attr name="subtypeExtraValue" format="string" />
3160        <!-- The unique id for the subtype. The text service (spell checker) framework keeps track
3161             of enabled subtypes by ID. When the spell checker package gets upgraded, enabled IDs
3162             will stay enabled even if other attributes are different. If the ID is unspecified or
3163             or explicitly specified to 0 in XML resources,
3164             {@code Arrays.hashCode(new Object[] {subtypeLocale, extraValue}) will be used instead.
3165              -->
3166        <attr name="subtypeId" />
3167        <!-- The BCP-47 Language Tag of the subtype.  This replaces
3168        {@link android.R.styleable#SpellChecker_Subtype_subtypeLocale}.  -->
3169        <attr name="languageTag" />
3170    </declare-styleable>
3171
3172    <!-- Use <code>accessibility-service</code> as the root tag of the XML resource that
3173         describes an {@link android.accessibilityservice.AccessibilityService} service,
3174         which is referenced from its
3175         {@link android.accessibilityservice.AccessibilityService#SERVICE_META_DATA}
3176         meta-data entry. -->
3177    <declare-styleable name="AccessibilityService">
3178        <!-- The event types this serivce would like to receive as specified in
3179             {@link android.view.accessibility.AccessibilityEvent}. This setting
3180             can be changed at runtime by calling
3181             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3182             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3183        <attr name="accessibilityEventTypes">
3184            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CLICKED} events.-->
3185            <flag name="typeViewClicked" value="0x00000001" />
3186            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_LONG_CLICKED} events. -->
3187            <flag name="typeViewLongClicked" value="0x00000002" />
3188            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SELECTED} events. -->
3189            <flag name="typeViewSelected" value="0x00000004" />
3190            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_FOCUSED} events. -->
3191            <flag name="typeViewFocused" value="0x00000008" />
3192            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_CHANGED} events. -->
3193            <flag name="typeViewTextChanged" value="0x00000010" />
3194            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_STATE_CHANGED} events. -->
3195            <flag name="typeWindowStateChanged" value="0x00000020" />
3196            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_NOTIFICATION_STATE_CHANGED} events. -->
3197            <flag name="typeNotificationStateChanged" value="0x00000040" />
3198            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_ENTER} events. -->
3199            <flag name="typeViewHoverEnter" value="0x00000080" />
3200            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_EXIT} events. -->
3201            <flag name="typeViewHoverExit" value="0x00000100" />
3202            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_START} events. -->
3203            <flag name="typeTouchExplorationGestureStart" value="0x00000200" />
3204            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_END} events. -->
3205            <flag name="typeTouchExplorationGestureEnd" value="0x00000400" />
3206            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_CONTENT_CHANGED} events. -->
3207            <flag name="typeWindowContentChanged" value="0x00000800" />
3208            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SCROLLED} events. -->
3209            <flag name="typeViewScrolled" value="0x000001000" />
3210            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_SELECTION_CHANGED} events. -->
3211            <flag name="typeViewTextSelectionChanged" value="0x000002000" />
3212            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ANNOUNCEMENT} events. -->
3213            <flag name="typeAnnouncement" value="0x00004000" />
3214            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUSED} events. -->
3215            <flag name="typeViewAccessibilityFocused" value="0x00008000" />
3216            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED} events. -->
3217            <flag name="typeViewAccessibilityFocusCleared" value="0x00010000" />
3218            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY} events. -->
3219            <flag name="typeViewTextTraversedAtMovementGranularity" value="0x00020000" />
3220            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_START} events. -->
3221            <flag name="typeGestureDetectionStart" value="0x00040000" />
3222            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_END} events. -->
3223            <flag name="typeGestureDetectionEnd" value="0x00080000" />
3224            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_START} events. -->
3225            <flag name="typeTouchInteractionStart" value="0x00100000" />
3226            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_END} events. -->
3227            <flag name="typeTouchInteractionEnd" value="0x00200000" />
3228            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOWS_CHANGED} events. -->
3229            <flag name="typeWindowsChanged" value="0x00400000" />
3230            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CONTEXT_CLICKED} events. -->
3231            <flag name="typeContextClicked" value="0x00800000" />
3232            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ASSIST_READING_CONTEXT} events. -->
3233            <flag name="typeAssistReadingContext" value="0x01000000" />
3234            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPES_ALL_MASK} i.e. all events. -->
3235            <flag name="typeAllMask" value="0xffffffff" />
3236        </attr>
3237        <!-- Comma separated package names from which this serivce would like to receive events (leave out for all packages).
3238             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3239             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3240        <attr name="packageNames" format="string" />
3241        <!-- The feedback types this serivce provides as specified in
3242             {@link android.accessibilityservice.AccessibilityServiceInfo}. This setting
3243             can be changed at runtime by calling
3244             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3245             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3246        <attr name="accessibilityFeedbackType">
3247            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_SPOKEN} feedback. -->
3248            <flag name="feedbackSpoken" value="0x00000001" />
3249            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_HAPTIC} feedback. -->
3250            <flag name="feedbackHaptic" value="0x00000002" />
3251            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_AUDIBLE} feedback. -->
3252            <flag name="feedbackAudible" value="0x00000004" />
3253            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_VISUAL} feedback. -->
3254            <flag name="feedbackVisual" value="0x00000008" />
3255            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_GENERIC} feedback. -->
3256            <flag name="feedbackGeneric" value="0x00000010" />
3257            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_ALL_MASK} feedback. -->
3258            <flag name="feedbackAllMask" value="0xffffffff" />
3259        </attr>
3260        <!-- The minimal period in milliseconds between two accessibility events of the same type
3261             are sent to this serivce. This setting can be changed at runtime by calling
3262             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3263             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3264        <attr name="notificationTimeout" format="integer" />
3265        <!-- Additional flags as specified in
3266             {@link android.accessibilityservice.AccessibilityServiceInfo}.
3267             This setting can be changed at runtime by calling
3268             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3269             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3270        <attr name="accessibilityFlags">
3271            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#DEFAULT} -->
3272            <flag name="flagDefault" value="0x00000001" />
3273            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_INCLUDE_NOT_IMPORTANT_VIEWS} -->
3274            <flag name="flagIncludeNotImportantViews" value="0x00000002" />
3275            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} -->
3276            <flag name="flagRequestTouchExplorationMode" value="0x00000004" />
3277            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} -->
3278            <flag name="flagRequestEnhancedWebAccessibility" value="0x00000008" />
3279            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REPORT_VIEW_IDS} -->
3280            <flag name="flagReportViewIds" value="0x00000010" />
3281            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} -->
3282            <flag name="flagRequestFilterKeyEvents" value="0x00000020" />
3283            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_RETRIEVE_INTERACTIVE_WINDOWS} -->
3284            <flag name="flagRetrieveInteractiveWindows" value="0x00000040" />
3285        </attr>
3286        <!-- Component name of an activity that allows the user to modify
3287             the settings for this service. This setting cannot be changed at runtime. -->
3288        <attr name="settingsActivity" />
3289        <!-- Attribute whether the accessibility service wants to be able to retrieve the
3290             active window content. This setting cannot be changed at runtime. -->
3291        <attr name="canRetrieveWindowContent" format="boolean" />
3292        <!-- Attribute whether the accessibility service wants to be able to request touch
3293             exploration mode in which touched items are spoken aloud and the UI can be
3294             explored via gestures.
3295             <p>
3296             Required to allow setting the {@link android.accessibilityservice
3297             #AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} flag.
3298             </p>
3299         -->
3300        <attr name="canRequestTouchExplorationMode" format="boolean" />
3301        <!-- Attribute whether the accessibility service wants to be able to request enhanced
3302             web accessibility enhancements. For example, installing scripts to make app
3303             content more accessible.
3304             <p>
3305             Required to allow setting the {@link android.accessibilityservice
3306             #AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} flag.
3307             </p>
3308         -->
3309        <attr name="canRequestEnhancedWebAccessibility" format="boolean" />
3310        <!-- Attribute whether the accessibility service wants to be able to request to
3311             filter key events.
3312             <p>
3313             Required to allow setting the {@link android.accessibilityservice
3314             #AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} flag.
3315             </p>
3316         -->
3317        <attr name="canRequestFilterKeyEvents" format="boolean" />
3318        <!-- Attribute whether the accessibility service wants to be able to control
3319             display magnification.
3320             <p>
3321             Required to allow setting the {@link android.accessibilityservice
3322             #AccessibilityServiceInfo#FLAG_CAN_CONTROL_MAGNIFICATION} flag.
3323             </p>
3324         -->
3325        <attr name="canControlMagnification" format="boolean" />
3326        <!-- Attribute whether the accessibility service wants to be able to perform gestures.
3327             <p>
3328             Required to allow setting the {@link android.accessibilityservice
3329             #AccessibilityServiceInfo#FLAG_CAN_PERFORM_GESTURES} flag.
3330             </p>
3331         -->
3332        <attr name="canPerformGestures" format="boolean" />
3333        <!-- Short description of the accessibility service purpose or behavior.-->
3334        <attr name="description" />
3335    </declare-styleable>
3336
3337    <!-- Use <code>print-service</code> as the root tag of the XML resource that
3338         describes an {@link android.printservice.PrintService} service, which is
3339         referenced from its {@link android.printservice.PrintService#SERVICE_META_DATA}
3340         meta-data entry. -->
3341    <declare-styleable name="PrintService">
3342        <!-- Fully qualified class name of an activity that allows the user to modify
3343             the settings for this service. -->
3344        <attr name="settingsActivity" />
3345        <!-- Fully qualified class name of an activity that allows the user to manually
3346             add printers to this print service. -->
3347        <attr name="addPrintersActivity" format="string"/>
3348        <!-- Fully qualified class name of an activity with advanced print options
3349             specific to this print service. -->
3350        <attr name="advancedPrintOptionsActivity" format="string"/>
3351        <!-- The vendor name if this print service is vendor specific. -->
3352        <attr name="vendor" format="string"/>
3353    </declare-styleable>
3354
3355    <!-- Use <code>host-apdu-service</code> as the root tag of the XML resource that
3356         describes an {@link android.nfc.cardemulation.HostApduService} service, which
3357         is referenced from its {@link android.nfc.cardemulation.HostApduService#SERVICE_META_DATA}
3358         entry. -->
3359    <declare-styleable name="HostApduService">
3360        <!-- Short description of the functionality the service implements. This attribute
3361             is mandatory.-->
3362        <attr name="description" />
3363        <!-- Whether the device must be unlocked before routing data to this service.
3364             The default is false.-->
3365        <attr name="requireDeviceUnlock" format="boolean"/>
3366        <!-- A drawable that can be rendered in Android's system UI for representing
3367             the service. -->
3368        <attr name="apduServiceBanner" format="reference"/>
3369        <!-- Component name of an activity that allows the user to modify
3370             the settings for this service. -->
3371        <attr name="settingsActivity"/>
3372    </declare-styleable>
3373
3374    <!-- Use <code>offhost-apdu-service</code> as the root tag of the XML resource that
3375         describes an {@link android.nfc.cardemulation.OffHostApduService}
3376         service, which is referenced from its
3377         {@link android.nfc.cardemulation.OffHostApduService#SERVICE_META_DATA} entry. -->
3378    <declare-styleable name="OffHostApduService">
3379        <!-- Short description of the functionality the service implements. This attribute
3380             is mandatory.-->
3381        <attr name="description" />
3382        <!-- A drawable that can be rendered in Android's system UI for representing
3383             the service. -->
3384        <attr name="apduServiceBanner"/>
3385        <!-- Component name of an activity that allows the user to modify
3386             the settings for this service. -->
3387        <attr name="settingsActivity"/>
3388    </declare-styleable>
3389
3390    <!-- Specify one or more <code>aid-group</code> elements inside a
3391         <code>host-apdu-service</code> or <code>offhost-apdu-service</code>
3392         element to define a group of ISO7816 Application ID (AIDs) that
3393         your service can handle.-->
3394    <declare-styleable name="AidGroup">
3395        <!-- Short description of what the AID group implements. This attribute is mandatory.-->
3396        <attr name="description" />
3397        <!-- The category attribute will be used by the Android platform to present
3398             multiple applications that register ISO 7816 Application IDs (AIDs) in the
3399             same category uniformly.
3400             Additionally, when a category is specified, Android will ensure that either
3401             all AIDs in this group are routed to this application, or none at all.
3402             This attribute is optional.-->
3403        <attr name="category" format="string" />
3404    </declare-styleable>
3405
3406    <!-- Specify one or more <code>aid-filter</code> elements inside a
3407         <code>aid-group</code> element to specify an ISO7816 Application ID (AID)
3408         your service can handle. -->
3409    <declare-styleable name="AidFilter">
3410        <!-- The ISO7816 Application ID. This attribute is mandatory. -->
3411        <attr name="name" />
3412    </declare-styleable>
3413
3414    <!-- Specify one or more <code>aid-prefix-filter</code> elements inside a
3415         <code>aid-group</code> element to specify an ISO7816 Application ID (AID)
3416         prefix your service can handle. -->
3417    <declare-styleable name="AidPrefixFilter">
3418        <!-- The ISO7816 Application ID. This attribute is mandatory. -->
3419        <attr name="name" />
3420    </declare-styleable>
3421
3422    <!-- Use <code>host-nfcf-service</code> as the root tag of the XML resource that
3423         describes an {@link android.nfc.cardemulation.HostNfcFService} service, which
3424         is referenced from its {@link android.nfc.cardemulation.HostNfcFService#SERVICE_META_DATA}
3425         entry. -->
3426    <declare-styleable name="HostNfcFService">
3427        <!-- Short description of the functionality the service implements. This attribute
3428             is mandatory.-->
3429        <attr name="description" />
3430    </declare-styleable>
3431
3432    <!-- Specify one or more <code>system-code-filter</code> elements inside a
3433         <code>host-nfcf-service</code> element to specify a System Code
3434         your service can handle. -->
3435    <declare-styleable name="SystemCodeFilter">
3436        <!-- The System Code. This attribute is mandatory. -->
3437        <attr name="name" />
3438    </declare-styleable>
3439
3440    <!-- Specify one or more <code>nfcid2-filter</code> elements inside a
3441         <code>host-nfcf-service</code> element to specify a NFCID2
3442         your service can handle. -->
3443    <declare-styleable name="Nfcid2Filter">
3444        <!-- The NFCID2. This attribute is mandatory. -->
3445        <attr name="name" />
3446    </declare-styleable>
3447
3448    <declare-styleable name="ActionMenuItemView">
3449        <attr name="minWidth" />
3450    </declare-styleable>
3451
3452    <!-- =============================== -->
3453    <!-- Widget package class attributes -->
3454    <!-- =============================== -->
3455    <eat-comment />
3456
3457    <declare-styleable name="AbsListView">
3458         <!-- Drawable used to indicate the currently selected item in the list. -->
3459        <attr name="listSelector" format="color|reference" />
3460        <!-- When set to true, the selector will be drawn over the selected item.
3461             Otherwise the selector is drawn behind the selected item. The default
3462             value is false. -->
3463        <attr name="drawSelectorOnTop" format="boolean" />
3464        <!-- Used by ListView and GridView to stack their content from the bottom. -->
3465        <attr name="stackFromBottom" format="boolean" />
3466        <!-- When set to true, the list uses a drawing cache during scrolling.
3467             This makes the rendering faster but uses more memory. The default
3468             value is true. -->
3469        <attr name="scrollingCache" format="boolean" />
3470        <!-- When set to true, the list will filter results as the user types. The
3471             List's adapter must support the Filterable interface for this to work. -->
3472        <attr name="textFilterEnabled" format="boolean" />
3473        <!-- Sets the transcript mode for the list. In transcript mode, the list
3474             scrolls to the bottom to make new items visible when they are added. -->
3475        <attr name="transcriptMode">
3476            <!-- Disables transcript mode. This is the default value. -->
3477            <enum name="disabled" value="0"/>
3478            <!-- The list will automatically scroll to the bottom when
3479                 a data set change notification is received and only if the last item is
3480                 already visible on screen. -->
3481            <enum name="normal" value="1" />
3482            <!-- The list will automatically scroll to the bottom, no matter what items
3483                 are currently visible. -->
3484            <enum name="alwaysScroll" value="2" />
3485        </attr>
3486        <!-- Indicates that this list will always be drawn on top of solid, single-color
3487             opaque background. This allows the list to optimize drawing. -->
3488        <attr name="cacheColorHint" format="color" />
3489        <!-- Enables the fast scroll thumb that can be dragged to quickly scroll through
3490             the list. -->
3491        <attr name="fastScrollEnabled" format="boolean" />
3492        <!-- Specifies the style of the fast scroll decorations. -->
3493        <attr name="fastScrollStyle" format="reference" />
3494        <!-- When set to true, the list will use a more refined calculation
3495             method based on the pixels height of the items visible on screen. This
3496             property is set to true by default but should be set to false if your adapter
3497             will display items of varying heights. When this property is set to true and
3498             your adapter displays items of varying heights, the scrollbar thumb will
3499             change size as the user scrolls through the list. When set to false, the list
3500             will use only the number of items in the adapter and the number of items visible
3501             on screen to determine the scrollbar's properties. -->
3502        <attr name="smoothScrollbar" format="boolean" />
3503        <!-- Defines the choice behavior for the view. By default, lists do not have
3504             any choice behavior. By setting the choiceMode to singleChoice, the list
3505             allows up to one item to be in a chosen state. By setting the choiceMode to
3506             multipleChoice, the list allows any number of items to be chosen.
3507             Finally, by setting the choiceMode to multipleChoiceModal the list allows
3508             any number of items to be chosen in a special selection mode.
3509             The application will supply a
3510             {@link android.widget.AbsListView.MultiChoiceModeListener} using
3511             {@link android.widget.AbsListView#setMultiChoiceModeListener} to control the
3512             selection mode. This uses the {@link android.view.ActionMode} API. -->
3513        <attr name="choiceMode">
3514            <!-- Normal list that does not indicate choices. -->
3515            <enum name="none" value="0" />
3516            <!-- The list allows up to one choice. -->
3517            <enum name="singleChoice" value="1" />
3518            <!-- The list allows multiple choices. -->
3519            <enum name="multipleChoice" value="2" />
3520            <!-- The list allows multiple choices in a custom selection mode. -->
3521            <enum name="multipleChoiceModal" value="3" />
3522        </attr>
3523
3524        <!-- When set to true, the list will always show the fast scroll interface.
3525             This setting implies fastScrollEnabled. -->
3526        <attr name="fastScrollAlwaysVisible" format="boolean" />
3527    </declare-styleable>
3528    <!-- @hide -->
3529    <declare-styleable name="RecycleListView">
3530        <!-- Bottom padding to use when no buttons are present. -->
3531        <attr name="paddingBottomNoButtons" format="dimension" />
3532        <!-- Top padding to use when no title is present. -->
3533        <attr name="paddingTopNoTitle" format="dimension" />
3534    </declare-styleable>
3535    <declare-styleable name="AbsSpinner">
3536        <!-- Reference to an array resource that will populate the Spinner.  For static content,
3537             this is simpler than populating the Spinner programmatically. -->
3538        <attr name="entries" />
3539    </declare-styleable>
3540    <declare-styleable name="AnalogClock">
3541        <attr name="dial" format="reference"/>
3542        <attr name="hand_hour" format="reference"/>
3543        <attr name="hand_minute" format="reference"/>
3544    </declare-styleable>
3545    <declare-styleable name="Button">
3546    </declare-styleable>
3547    <declare-styleable name="Chronometer">
3548        <!-- Format string: if specified, the Chronometer will display this
3549             string, with the first "%s" replaced by the current timer value
3550             in "MM:SS" or "H:MM:SS" form.
3551             If no format string is specified, the Chronometer will simply display
3552             "MM:SS" or "H:MM:SS". -->
3553        <attr name="format" format="string" localization="suggested" />
3554        <!-- Specifies whether this Chronometer counts down or counts up from the base.
3555              If not specified this is false and the Chronometer counts up. -->
3556        <attr name="countDown" format="boolean" />
3557    </declare-styleable>
3558    <declare-styleable name="CompoundButton">
3559        <!-- Indicates the initial checked state of this button. -->
3560        <attr name="checked" format="boolean" />
3561        <!-- Drawable used for the button graphic (e.g. checkbox, radio button, etc). -->
3562        <attr name="button" format="reference" />
3563        <!-- Tint to apply to the button graphic. -->
3564        <attr name="buttonTint" format="color" />
3565        <!-- Blending mode used to apply the button graphic tint. -->
3566        <attr name="buttonTintMode">
3567            <!-- The tint is drawn on top of the drawable.
3568                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3569            <enum name="src_over" value="3" />
3570            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3571                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3572            <enum name="src_in" value="5" />
3573            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3574                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3575            <enum name="src_atop" value="9" />
3576            <!-- Multiplies the color and alpha channels of the drawable with those of
3577                 the tint. [Sa * Da, Sc * Dc] -->
3578            <enum name="multiply" value="14" />
3579            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3580            <enum name="screen" value="15" />
3581            <!-- Combines the tint and drawable color and alpha channels, clamping the
3582                 result to valid color values. Saturate(S + D) -->
3583            <enum name="add" value="16" />
3584        </attr>
3585    </declare-styleable>
3586    <declare-styleable name="CheckedTextView">
3587        <!-- Indicates the initial checked state of this text. -->
3588        <attr name="checked" />
3589        <!-- Drawable used for the check mark graphic. -->
3590        <attr name="checkMark" format="reference"/>
3591        <!-- Tint to apply to the check mark. -->
3592        <attr name="checkMarkTint" format="color" />
3593        <!-- Blending mode used to apply the check mark tint. -->
3594        <attr name="checkMarkTintMode">
3595            <!-- The tint is drawn on top of the drawable.
3596                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3597            <enum name="src_over" value="3" />
3598            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3599                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3600            <enum name="src_in" value="5" />
3601            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3602                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3603            <enum name="src_atop" value="9" />
3604            <!-- Multiplies the color and alpha channels of the drawable with those of
3605                 the tint. [Sa * Da, Sc * Dc] -->
3606            <enum name="multiply" value="14" />
3607            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3608            <enum name="screen" value="15" />
3609            <!-- Combines the tint and drawable color and alpha channels, clamping the
3610                 result to valid color values. Saturate(S + D) -->
3611            <enum name="add" value="16" />
3612        </attr>
3613        <!-- Gravity for aligning a CheckedTextView's checkmark to one side or the other. -->
3614        <attr name="checkMarkGravity">
3615            <!-- Push object to the left of its container, not changing its size. -->
3616            <flag name="left" value="0x03" />
3617            <!-- Push object to the right of its container, not changing its size. -->
3618            <flag name="right" value="0x05" />
3619            <!-- Push object to the beginning of its container, not changing its size. -->
3620            <flag name="start" value="0x00800003" />
3621            <!-- Push object to the end of its container, not changing its size. -->
3622            <flag name="end" value="0x00800005" />
3623        </attr>
3624    </declare-styleable>
3625    <declare-styleable name="EditText">
3626    </declare-styleable>
3627    <declare-styleable name="FastScroll">
3628        <!-- Drawable used for the scroll bar thumb. -->
3629        <attr name="thumbDrawable" format="reference" />
3630        <!-- Minimum width of the thumb. -->
3631        <attr name="thumbMinWidth" format="dimension" />
3632        <!-- Minimum height of the thumb. -->
3633        <attr name="thumbMinHeight" format="dimension" />
3634        <!-- Drawable used for the scroll bar track. -->
3635        <attr name="trackDrawable" format="reference" />
3636        <!-- Drawable used for the section header preview when right-aligned. -->
3637        <attr name="backgroundRight" format="reference" />
3638        <!-- Drawable used for the section header preview when left-aligned. -->
3639        <attr name="backgroundLeft" format="reference" />
3640        <!-- Position of section header preview. -->
3641        <attr name="position">
3642            <!-- Floating at the top of the content. -->
3643            <enum name="floating" value="0" />
3644            <!-- Pinned to the thumb, vertically centered with the middle of the thumb. -->
3645            <enum name="atThumb" value="1" />
3646            <!-- Pinned to the thumb, vertically centered with the top edge of the thumb. -->
3647            <enum name="aboveThumb" value="2" />
3648        </attr>
3649        <attr name="textAppearance" />
3650        <attr name="textColor" />
3651        <attr name="textSize" />
3652        <!-- Minimum width of the section header preview. -->
3653        <attr name="minWidth" />
3654        <!-- Minimum height of the section header preview. -->
3655        <attr name="minHeight" />
3656        <!-- Padding for the section header preview. -->
3657        <attr name="padding" />
3658        <!-- Position of thumb in relation to the track. -->
3659        <attr name="thumbPosition">
3660            <!-- The thumb's midpoint is anchored to the track. At its
3661                 extremes, the thumb will extend half-way outside the
3662                 track. -->
3663            <enum name="midpoint" value="0" />
3664            <!-- The thumb is entirely inside the track. At its extremes,
3665                 the thumb will be contained entirely within the track. -->
3666            <enum name="inside" value="1" />
3667        </attr>
3668    </declare-styleable>
3669    <declare-styleable name="FrameLayout">
3670        <!-- Determines whether to measure all children or just those in
3671             the VISIBLE or INVISIBLE state when measuring. Defaults to false. -->
3672        <attr name="measureAllChildren" format="boolean" />
3673    </declare-styleable>
3674    <declare-styleable name="ExpandableListView">
3675        <!-- Indicator shown beside the group View. This can be a stateful Drawable. -->
3676        <attr name="groupIndicator" format="reference" />
3677        <!-- Indicator shown beside the child View. This can be a stateful Drawable. -->
3678        <attr name="childIndicator" format="reference" />
3679        <!-- The left bound for an item's indicator. To specify a left bound specific to children,
3680             use childIndicatorLeft. -->
3681        <attr name="indicatorLeft" format="dimension" />
3682        <!-- The right bound for an item's indicator. To specify a right bound specific to children,
3683             use childIndicatorRight. -->
3684        <attr name="indicatorRight" format="dimension" />
3685        <!-- The left bound for a child's indicator. -->
3686        <attr name="childIndicatorLeft" format="dimension" />
3687        <!-- The right bound for a child's indicator. -->
3688        <attr name="childIndicatorRight" format="dimension" />
3689        <!-- Drawable or color that is used as a divider for children. (It will drawn
3690             below and above child items.) The height of this will be the same as
3691             the height of the normal list item divider. -->
3692        <attr name="childDivider" format="reference|color" />
3693        <!-- The start bound for an item's indicator. To specify a start bound specific to children,
3694             use childIndicatorStart. -->
3695        <attr name="indicatorStart" format="dimension" />
3696        <!-- The end bound for an item's indicator. To specify a right bound specific to children,
3697             use childIndicatorEnd. -->
3698        <attr name="indicatorEnd" format="dimension" />
3699        <!-- The start bound for a child's indicator. -->
3700        <attr name="childIndicatorStart" format="dimension" />
3701        <!-- The end bound for a child's indicator. -->
3702        <attr name="childIndicatorEnd" format="dimension" />
3703    </declare-styleable>
3704    <declare-styleable name="Gallery">
3705        <attr name="gravity" />
3706        <!-- Sets how long a transition animation should run (in milliseconds)
3707             when layout has changed.  Only relevant if animation is turned on. -->
3708        <attr name="animationDuration" format="integer" min="0" />
3709        <attr name="spacing" format="dimension" />
3710        <!-- Sets the alpha on the items that are not selected. -->
3711        <attr name="unselectedAlpha" format="float" />
3712    </declare-styleable>
3713    <declare-styleable name="GridView">
3714        <!-- Defines the default horizontal spacing between columns. -->
3715        <attr name="horizontalSpacing" format="dimension" />
3716        <!-- Defines the default vertical spacing between rows. -->
3717        <attr name="verticalSpacing" format="dimension" />
3718        <!-- Defines how columns should stretch to fill the available empty space, if any. -->
3719        <attr name="stretchMode">
3720            <!-- Stretching is disabled. -->
3721            <enum name="none" value="0"/>
3722            <!-- The spacing between each column is stretched. -->
3723            <enum name="spacingWidth" value="1" />
3724            <!-- Each column is stretched equally. -->
3725            <enum name="columnWidth" value="2" />
3726            <!-- The spacing between each column is uniformly stretched.. -->
3727            <enum name="spacingWidthUniform" value="3" />
3728        </attr>
3729        <!-- Specifies the fixed width for each column. -->
3730        <attr name="columnWidth" format="dimension" />
3731        <!-- Defines how many columns to show. -->
3732        <attr name="numColumns" format="integer" min="0">
3733            <!-- Display as many columns as possible to fill the available space. -->
3734            <enum name="auto_fit" value="-1" />
3735        </attr>
3736        <!-- Specifies the gravity within each cell. -->
3737        <attr name="gravity" />
3738    </declare-styleable>
3739    <declare-styleable name="ImageSwitcher">
3740    </declare-styleable>
3741    <declare-styleable name="ImageView">
3742        <!-- Sets a drawable as the content of this ImageView. -->
3743        <attr name="src" format="reference|color" />
3744        <!-- Controls how the image should be resized or moved to match the size
3745             of this ImageView.  See {@link android.widget.ImageView.ScaleType} -->
3746        <attr name="scaleType">
3747            <!-- Scale using the image matrix when drawing. See
3748                 {@link android.widget.ImageView#setImageMatrix(Matrix)}. -->
3749            <enum name="matrix" value="0" />
3750            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#FILL}. -->
3751            <enum name="fitXY" value="1" />
3752            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#START}. -->
3753            <enum name="fitStart" value="2" />
3754            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#CENTER}. -->
3755            <enum name="fitCenter" value="3" />
3756            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#END}. -->
3757            <enum name="fitEnd" value="4" />
3758            <!-- Center the image in the view, but perform no scaling. -->
3759            <enum name="center" value="5" />
3760            <!-- Scale the image uniformly (maintain the image's aspect ratio) so both dimensions
3761                 (width and height) of the image will be equal to or larger than the corresponding
3762                 dimension of the view (minus padding). The image is then centered in the view. -->
3763            <enum name="centerCrop" value="6" />
3764            <!-- Scale the image uniformly (maintain the image's aspect ratio) so that both
3765                 dimensions (width and height) of the image will be equal to or less than the
3766                 corresponding dimension of the view (minus padding). The image is then centered in
3767                 the view. -->
3768            <enum name="centerInside" value="7" />
3769        </attr>
3770        <!-- Set this to true if you want the ImageView to adjust its bounds
3771             to preserve the aspect ratio of its drawable. -->
3772        <attr name="adjustViewBounds" format="boolean" />
3773        <!-- An optional argument to supply a maximum width for this view.
3774             See {see android.widget.ImageView#setMaxWidth} for details. -->
3775        <attr name="maxWidth" format="dimension" />
3776        <!-- An optional argument to supply a maximum height for this view.
3777             See {see android.widget.ImageView#setMaxHeight} for details. -->
3778        <attr name="maxHeight" format="dimension" />
3779        <!-- Set a tinting color for the image. By default, the tint will blend using SRC_ATOP mode. -->
3780        <attr name="tint" format="color" />
3781        <!-- If true, the image view will be baseline aligned with based on its
3782             bottom edge. -->
3783        <attr name="baselineAlignBottom" format="boolean" />
3784         <!-- If true, the image will be cropped to fit within its padding. -->
3785        <attr name="cropToPadding" format="boolean" />
3786        <!-- The offset of the baseline within this view. See {see android.view.View#getBaseline}
3787             for details -->
3788        <attr name="baseline" format="dimension" />
3789        <!-- @hide The alpha value (0-255) set on the ImageView's drawable. Equivalent
3790             to calling ImageView.setAlpha(int), not the same as View.setAlpha(float). -->
3791        <attr name="drawableAlpha" format="integer" />
3792        <!-- Blending mode used to apply the image tint. -->
3793        <attr name="tintMode" />
3794    </declare-styleable>
3795    <declare-styleable name="ToggleButton">
3796        <!-- The text for the button when it is checked. -->
3797        <attr name="textOn" format="string" />
3798        <!-- The text for the button when it is not checked. -->
3799        <attr name="textOff" format="string" />
3800        <!-- The alpha to apply to the indicator when disabled. -->
3801        <attr name="disabledAlpha" />
3802    </declare-styleable>
3803    <declare-styleable name="RelativeLayout">
3804        <attr name="gravity" />
3805        <!-- Indicates what view should not be affected by gravity. -->
3806        <attr name="ignoreGravity" format="reference" />
3807    </declare-styleable>
3808    <declare-styleable name="LinearLayout">
3809        <!-- Should the layout be a column or a row?  Use "horizontal"
3810             for a row, "vertical" for a column.  The default is
3811             horizontal. -->
3812        <attr name="orientation" />
3813        <attr name="gravity" />
3814        <!-- When set to false, prevents the layout from aligning its children's
3815             baselines. This attribute is particularly useful when the children
3816             use different values for gravity. The default value is true. -->
3817        <attr name="baselineAligned" format="boolean" />
3818        <!-- When a linear layout is part of another layout that is baseline
3819          aligned, it can specify which of its children to baseline align to
3820          (that is, which child TextView).-->
3821        <attr name="baselineAlignedChildIndex" format="integer" min="0"/>
3822        <!-- Defines the maximum weight sum. If unspecified, the sum is computed
3823             by adding the layout_weight of all of the children. This can be
3824             used for instance to give a single child 50% of the total available
3825             space by giving it a layout_weight of 0.5 and setting the weightSum
3826             to 1.0. -->
3827        <attr name="weightSum" format="float" />
3828        <!-- When set to true, all children with a weight will be considered having
3829             the minimum size of the largest child. If false, all children are
3830             measured normally. -->
3831        <attr name="measureWithLargestChild" format="boolean" />
3832        <!-- Drawable to use as a vertical divider between buttons. -->
3833        <attr name="divider" />
3834        <!-- Setting for which dividers to show. -->
3835        <attr name="showDividers">
3836            <flag name="none" value="0" />
3837            <flag name="beginning" value="1" />
3838            <flag name="middle" value="2" />
3839            <flag name="end" value="4" />
3840        </attr>
3841        <!-- Size of padding on either end of a divider. -->
3842        <attr name="dividerPadding" format="dimension" />
3843    </declare-styleable>
3844    <declare-styleable name="GridLayout">
3845        <!-- The orientation property is not used during layout. It is only used to
3846        allocate row and column parameters when they are not specified by its children's
3847        layout paramters. GridLayout works like LinearLayout in this case;
3848        putting all the components either in a single row or in a single column -
3849        depending on the value of this flag. In the horizontal case, a columnCount
3850        property may be additionally supplied to force new rows to be created when a
3851        row is full. The rowCount attribute may be used similarly in the vertical case.
3852        The default is horizontal. -->
3853        <attr name="orientation" />
3854        <!-- The maxmimum number of rows to create when automatically positioning children. -->
3855        <attr name="rowCount" format="integer" />
3856        <!-- The maxmimum number of columns to create when automatically positioning children. -->
3857        <attr name="columnCount" format="integer" />
3858        <!-- When set to true, tells GridLayout to use default margins when none are specified
3859        in a view's layout parameters.
3860        The default value is false.
3861        See {@link android.widget.GridLayout#setUseDefaultMargins(boolean)}.-->
3862        <attr name="useDefaultMargins" format="boolean" />
3863        <!-- When set to alignMargins, causes alignment to take place between the outer
3864        boundary of a view, as defined by its margins. When set to alignBounds,
3865        causes alignment to take place between the edges of the view.
3866        The default is alignMargins.
3867        See {@link android.widget.GridLayout#setAlignmentMode(int)}.-->
3868        <attr name="alignmentMode" />
3869        <!-- When set to true, forces row boundaries to appear in the same order
3870        as row indices.
3871        The default is true.
3872        See {@link android.widget.GridLayout#setRowOrderPreserved(boolean)}.-->
3873        <attr name="rowOrderPreserved" format="boolean" />
3874        <!-- When set to true, forces column boundaries to appear in the same order
3875        as column indices.
3876        The default is true.
3877        See {@link android.widget.GridLayout#setColumnOrderPreserved(boolean)}.-->
3878        <attr name="columnOrderPreserved" format="boolean" />
3879    </declare-styleable>
3880    <declare-styleable name="ListView">
3881        <!-- Reference to an array resource that will populate the ListView.  For static content,
3882             this is simpler than populating the ListView programmatically. -->
3883        <attr name="entries" />
3884        <!-- Drawable or color to draw between list items. -->
3885        <attr name="divider" format="reference|color" />
3886        <!-- Height of the divider. Will use the intrinsic height of the divider if this
3887             is not specified. -->
3888        <attr name="dividerHeight" format="dimension" />
3889        <!-- When set to false, the ListView will not draw the divider after each header view.
3890             The default value is true. -->
3891        <attr name="headerDividersEnabled" format="boolean" />
3892        <!-- When set to false, the ListView will not draw the divider before each footer view.
3893             The default value is true. -->
3894        <attr name="footerDividersEnabled" format="boolean" />
3895        <!-- Drawable to draw above list content. -->
3896        <attr name="overScrollHeader" format="reference|color" />
3897        <!-- Drawable to draw below list content. -->
3898        <attr name="overScrollFooter" format="reference|color" />
3899    </declare-styleable>
3900    <declare-styleable name="PreferenceFrameLayout">
3901        <!-- Padding to use at the top of the prefs content. -->
3902        <attr name="borderTop" format="dimension" />
3903        <!-- Padding to use at the bottom of the prefs content. -->
3904        <attr name="borderBottom" format="dimension" />
3905        <!-- Padding to use at the left of the prefs content. -->
3906        <attr name="borderLeft" format="dimension" />
3907        <!-- Padding to use at the right of the prefs content. -->
3908        <attr name="borderRight" format="dimension" />
3909    </declare-styleable>
3910    <declare-styleable name="PreferenceFrameLayout_Layout">
3911        <!-- Padding to use at the top of the prefs content. -->
3912        <attr name="layout_removeBorders" format="boolean" />
3913    </declare-styleable>
3914    <declare-styleable name="MenuView">
3915        <!-- Default appearance of menu item text. -->
3916        <attr name="itemTextAppearance" format="reference" />
3917        <!-- Default horizontal divider between rows of menu items. -->
3918        <attr name="horizontalDivider" format="reference" />
3919        <!-- Default vertical divider between menu items. -->
3920        <attr name="verticalDivider" format="reference" />
3921        <!-- Default background for the menu header. -->
3922        <attr name="headerBackground" format="color|reference" />
3923        <!-- Default background for each menu item. -->
3924        <attr name="itemBackground" format="color|reference" />
3925        <!-- Default animations for the menu. -->
3926        <attr name="windowAnimationStyle" />
3927        <!-- Default disabled icon alpha for each menu item that shows an icon. -->
3928        <attr name="itemIconDisabledAlpha" format="float" />
3929        <!-- Whether space should be reserved in layout when an icon is missing. -->
3930        <attr name="preserveIconSpacing" format="boolean" />
3931        <!-- Drawable for the arrow icon indicating a particular item is a submenu. -->
3932        <attr name="subMenuArrow" format="reference" />
3933    </declare-styleable>
3934    <declare-styleable name="IconMenuView">
3935        <!-- Defines the height of each row. -->
3936        <attr name="rowHeight" format="dimension" />
3937        <!-- Defines the maximum number of rows displayed. -->
3938        <attr name="maxRows" format="integer" />
3939        <!-- Defines the maximum number of items per row. -->
3940        <attr name="maxItemsPerRow" format="integer" />
3941        <!-- Defines the maximum number of items to show. -->
3942        <attr name="maxItems" format="integer" />
3943        <!-- 'More' icon. -->
3944        <attr name="moreIcon" format="reference" />
3945    </declare-styleable>
3946
3947    <declare-styleable name="ProgressBar">
3948        <!-- Defines the maximum value the progress can take. -->
3949        <attr name="max" format="integer" />
3950        <!-- Defines the default progress value, between 0 and max. -->
3951        <attr name="progress" format="integer" />
3952        <!-- Defines the secondary progress value, between 0 and max. This progress is drawn between
3953             the primary progress and the background.  It can be ideal for media scenarios such as
3954             showing the buffering progress while the default progress shows the play progress. -->
3955        <attr name="secondaryProgress" format="integer" />
3956        <!-- Allows to enable the indeterminate mode. In this mode the progress
3957         bar plays an infinite looping animation. -->
3958        <attr name="indeterminate" format="boolean" />
3959        <!-- Restricts to ONLY indeterminate mode (state-keeping progress mode will not work). -->
3960        <attr name="indeterminateOnly" format="boolean" />
3961        <!-- Drawable used for the indeterminate mode. -->
3962        <attr name="indeterminateDrawable" format="reference" />
3963        <!-- Drawable used for the progress mode. -->
3964        <attr name="progressDrawable" format="reference" />
3965        <!-- Duration of the indeterminate animation. -->
3966        <attr name="indeterminateDuration" format="integer" min="1" />
3967        <!-- Defines how the indeterminate mode should behave when the progress
3968        reaches max. -->
3969        <attr name="indeterminateBehavior">
3970            <!-- Progress starts over from 0. -->
3971            <enum name="repeat" value="1" />
3972            <!-- Progress keeps the current value and goes back to 0. -->
3973            <enum name="cycle" value="2" />
3974        </attr>
3975        <attr name="minWidth" format="dimension" />
3976        <attr name="maxWidth" />
3977        <attr name="minHeight" format="dimension" />
3978        <attr name="maxHeight" />
3979        <attr name="interpolator" format="reference" />
3980        <!-- Timeout between frames of animation in milliseconds
3981             {@deprecated Not used by the framework.} -->
3982        <attr name="animationResolution" format="integer" />
3983        <!-- Defines if the associated drawables need to be mirrored when in RTL mode.
3984             Default is false -->
3985        <attr name="mirrorForRtl" format="boolean" />
3986        <!-- Tint to apply to the progress indicator. -->
3987        <attr name="progressTint" format="color" />
3988        <!-- Blending mode used to apply the progress indicator tint. -->
3989        <attr name="progressTintMode">
3990            <!-- The tint is drawn on top of the drawable.
3991                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3992            <enum name="src_over" value="3" />
3993            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3994                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3995            <enum name="src_in" value="5" />
3996            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3997                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3998            <enum name="src_atop" value="9" />
3999            <!-- Multiplies the color and alpha channels of the drawable with those of
4000                 the tint. [Sa * Da, Sc * Dc] -->
4001            <enum name="multiply" value="14" />
4002            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4003            <enum name="screen" value="15" />
4004            <!-- Combines the tint and drawable color and alpha channels, clamping the
4005                 result to valid color values. Saturate(S + D) -->
4006            <enum name="add" value="16" />
4007        </attr>
4008        <!-- Tint to apply to the progress indicator background. -->
4009        <attr name="progressBackgroundTint" format="color" />
4010        <!-- Blending mode used to apply the progress indicator background tint. -->
4011        <attr name="progressBackgroundTintMode">
4012            <!-- The tint is drawn on top of the drawable.
4013                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4014            <enum name="src_over" value="3" />
4015            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4016                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4017            <enum name="src_in" value="5" />
4018            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4019                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4020            <enum name="src_atop" value="9" />
4021            <!-- Multiplies the color and alpha channels of the drawable with those of
4022                 the tint. [Sa * Da, Sc * Dc] -->
4023            <enum name="multiply" value="14" />
4024            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4025            <enum name="screen" value="15" />
4026            <!-- Combines the tint and drawable color and alpha channels, clamping the
4027                 result to valid color values. Saturate(S + D) -->
4028            <enum name="add" value="16" />
4029        </attr>
4030        <!-- Tint to apply to the secondary progress indicator. -->
4031        <attr name="secondaryProgressTint" format="color" />
4032        <!-- Blending mode used to apply the secondary progress indicator tint. -->
4033        <attr name="secondaryProgressTintMode">
4034            <!-- The tint is drawn on top of the drawable.
4035                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4036            <enum name="src_over" value="3" />
4037            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4038                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4039            <enum name="src_in" value="5" />
4040            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4041                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4042            <enum name="src_atop" value="9" />
4043            <!-- Multiplies the color and alpha channels of the drawable with those of
4044                 the tint. [Sa * Da, Sc * Dc] -->
4045            <enum name="multiply" value="14" />
4046            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4047            <enum name="screen" value="15" />
4048            <!-- Combines the tint and drawable color and alpha channels, clamping the
4049                 result to valid color values. Saturate(S + D) -->
4050            <enum name="add" value="16" />
4051        </attr>
4052        <!-- Tint to apply to the indeterminate progress indicator. -->
4053        <attr name="indeterminateTint" format="color" />
4054        <!-- Blending mode used to apply the indeterminate progress indicator tint. -->
4055        <attr name="indeterminateTintMode">
4056            <!-- The tint is drawn on top of the drawable.
4057                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4058            <enum name="src_over" value="3" />
4059            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4060                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4061            <enum name="src_in" value="5" />
4062            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4063                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4064            <enum name="src_atop" value="9" />
4065            <!-- Multiplies the color and alpha channels of the drawable with those of
4066                 the tint. [Sa * Da, Sc * Dc] -->
4067            <enum name="multiply" value="14" />
4068            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4069            <enum name="screen" value="15" />
4070            <!-- Combines the tint and drawable color and alpha channels, clamping the
4071                 result to valid color values. Saturate(S + D) -->
4072            <enum name="add" value="16" />
4073        </attr>
4074        <!-- Tint to apply to the background. -->
4075        <attr name="backgroundTint" />
4076        <!-- Blending mode used to apply the background tint. -->
4077        <attr name="backgroundTintMode" />
4078    </declare-styleable>
4079
4080    <declare-styleable name="SeekBar">
4081        <!-- Draws the thumb on a seekbar. -->
4082        <attr name="thumb" format="reference" />
4083        <!-- An offset for the thumb that allows it to extend out of the range of the track. -->
4084        <attr name="thumbOffset" format="dimension" />
4085        <!-- Whether to split the track and leave a gap for the thumb drawable. -->
4086        <attr name="splitTrack" format="boolean" />
4087        <!-- Whether to force the track's alpha to ?android:attr/disabledAlpha
4088             when disabled. This is required for Holo and Gingerbread, but
4089             should always be false for Material and  beyond.
4090             @hide Developers shouldn't need to change this. -->
4091        <attr name="useDisabledAlpha" format="boolean" />
4092        <!-- Tint to apply to the thumb drawable. -->
4093        <attr name="thumbTint" format="color" />
4094        <!-- Blending mode used to apply the thumb tint. -->
4095        <attr name="thumbTintMode">
4096            <!-- The tint is drawn on top of the drawable.
4097                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4098            <enum name="src_over" value="3" />
4099            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4100                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4101            <enum name="src_in" value="5" />
4102            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4103                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4104            <enum name="src_atop" value="9" />
4105            <!-- Multiplies the color and alpha channels of the drawable with those of
4106                 the tint. [Sa * Da, Sc * Dc] -->
4107            <enum name="multiply" value="14" />
4108            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4109            <enum name="screen" value="15" />
4110            <!-- Combines the tint and drawable color and alpha channels, clamping the
4111                 result to valid color values. Saturate(S + D) -->
4112            <enum name="add" value="16" />
4113        </attr>
4114        <!-- Drawable displayed at each progress position on a seekbar. -->
4115        <attr name="tickMark" format="reference" />
4116        <!-- Tint to apply to the tick mark drawable. -->
4117        <attr name="tickMarkTint" format="color" />
4118        <!-- Blending mode used to apply the tick mark tint. -->
4119        <attr name="tickMarkTintMode">
4120            <!-- The tint is drawn on top of the drawable.
4121                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4122            <enum name="src_over" value="3" />
4123            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4124                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4125            <enum name="src_in" value="5" />
4126            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4127                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4128            <enum name="src_atop" value="9" />
4129            <!-- Multiplies the color and alpha channels of the drawable with those of
4130                 the tint. [Sa * Da, Sc * Dc] -->
4131            <enum name="multiply" value="14" />
4132            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4133            <enum name="screen" value="15" />
4134            <!-- Combines the tint and drawable color and alpha channels, clamping the
4135                 result to valid color values. Saturate(S + D) -->
4136            <enum name="add" value="16" />
4137        </attr>
4138    </declare-styleable>
4139
4140    <declare-styleable name="StackView">
4141        <!-- Color of the res-out outline. -->
4142        <attr name="resOutColor" format="color" />
4143        <!-- Color of the outline of click feedback. -->
4144        <attr name="clickColor" format="color" />
4145    </declare-styleable>
4146
4147    <declare-styleable name="RatingBar">
4148        <!-- The number of stars (or rating items) to show. -->
4149        <attr name="numStars" format="integer" />
4150        <!-- The rating to set by default. -->
4151        <attr name="rating" format="float" />
4152        <!-- The step size of the rating. -->
4153        <attr name="stepSize" format="float" />
4154        <!-- Whether this rating bar is an indicator (and non-changeable by the user). -->
4155        <attr name="isIndicator" format="boolean" />
4156    </declare-styleable>
4157
4158    <declare-styleable name="RadioGroup">
4159        <!-- The id of the child radio button that should be checked by default
4160             within this radio group. -->
4161        <attr name="checkedButton" format="integer" />
4162        <!-- Should the radio group be a column or a row?  Use "horizontal"
4163             for a row, "vertical" for a column.  The default is
4164             vertical. -->
4165        <attr name="orientation" />
4166    </declare-styleable>
4167    <declare-styleable name="TableLayout">
4168        <!-- The zero-based index of the columns to stretch. The column indices
4169             must be separated by a comma: 1, 2, 5. Illegal and duplicate
4170             indices are ignored. You can stretch all columns by using the
4171             value "*" instead. Note that a column can be marked stretchable
4172             and shrinkable at the same time. -->
4173        <attr name="stretchColumns" format="string" />
4174       <!-- The zero-based index of the columns to shrink. The column indices
4175             must be separated by a comma: 1, 2, 5. Illegal and duplicate
4176             indices are ignored. You can shrink all columns by using the
4177             value "*" instead. Note that a column can be marked stretchable
4178             and shrinkable at the same time. -->
4179        <attr name="shrinkColumns" format="string" />
4180        <!-- The zero-based index of the columns to collapse. The column indices
4181             must be separated by a comma: 1, 2, 5. Illegal and duplicate
4182             indices are ignored. -->
4183        <attr name="collapseColumns" format="string" />
4184    </declare-styleable>
4185    <declare-styleable name="TableRow">
4186
4187    </declare-styleable>
4188    <declare-styleable name="TableRow_Cell">
4189        <!-- The index of the column in which this child should be. -->
4190        <attr name="layout_column" format="integer" />
4191        <!-- Defines how many columns this child should span.  Must be >= 1.-->
4192        <attr name="layout_span" format="integer" />
4193    </declare-styleable>
4194    <declare-styleable name="TabWidget">
4195        <!-- Drawable used to draw the divider between tabs. -->
4196        <attr name="divider" />
4197        <!-- Determines whether the strip under the tab indicators is drawn or not. -->
4198        <attr name="tabStripEnabled" format="boolean" />
4199        <!-- Drawable used to draw the left part of the strip underneath the tabs. -->
4200        <attr name="tabStripLeft" format="reference" />
4201        <!-- Drawable used to draw the right part of the strip underneath the tabs. -->
4202        <attr name="tabStripRight" format="reference" />
4203        <!-- Layout used to organize each tab's content. -->
4204        <attr name="tabLayout" format="reference" />
4205    </declare-styleable>
4206    <declare-styleable name="TextAppearance">
4207        <!-- Text color. -->
4208        <attr name="textColor" />
4209        <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
4210        <attr name="textSize" />
4211        <!-- Style (bold, italic, bolditalic) for the text. -->
4212        <attr name="textStyle" />
4213        <!-- Typeface (normal, sans, serif, monospace) for the text. -->
4214        <attr name="typeface" />
4215        <!-- Font family (named by string) for the text. -->
4216        <attr name="fontFamily" />
4217        <!-- Color of the text selection highlight. -->
4218        <attr name="textColorHighlight" />
4219        <!-- Color of the hint text. -->
4220        <attr name="textColorHint" />
4221        <!-- Color of the links. -->
4222        <attr name="textColorLink" />
4223        <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
4224        <attr name="textAllCaps" format="boolean" />
4225        <!-- Place a blurred shadow of text underneath the text, drawn with the
4226             specified color. The text shadow produced does not interact with
4227             properties on View that are responsible for real time shadows,
4228             {@link android.R.styleable#View_elevation elevation} and
4229             {@link android.R.styleable#View_translationZ translationZ}. -->
4230        <attr name="shadowColor" format="color" />
4231        <!-- Horizontal offset of the text shadow. -->
4232        <attr name="shadowDx" format="float" />
4233        <!-- Vertical offset of the text shadow. -->
4234        <attr name="shadowDy" format="float" />
4235        <!-- Blur radius of the text shadow. -->
4236        <attr name="shadowRadius" format="float" />
4237        <!-- Elegant text height, especially for less compacted complex script text. -->
4238        <attr name="elegantTextHeight" format="boolean" />
4239        <!-- Text letter-spacing. -->
4240        <attr name="letterSpacing" format="float" />
4241        <!-- Font feature settings. -->
4242        <attr name="fontFeatureSettings" format="string" />
4243    </declare-styleable>
4244    <declare-styleable name="TextClock">
4245        <!-- Specifies the formatting pattern used to show the time and/or date
4246             in 12-hour mode. Please refer to {@link android.text.format.DateFormat}
4247             for a complete description of accepted formatting patterns.
4248             The default pattern is a locale-appropriate equivalent of "h:mm a". -->
4249        <attr name="format12Hour" format="string"/>
4250        <!-- Specifies the formatting pattern used to show the time and/or date
4251             in 24-hour mode. Please refer to {@link android.text.format.DateFormat}
4252             for a complete description of accepted formatting patterns.
4253             The default pattern is a locale-appropriate equivalent of "H:mm". -->
4254        <attr name="format24Hour" format="string"/>
4255        <!-- Specifies the time zone to use. When this attribute is specified, the
4256             TextClock will ignore the time zone of the system. To use the user's
4257             time zone, do not specify this attribute. The default value is the
4258             user's time zone. Please refer to {@link java.util.TimeZone} for more
4259             information about time zone ids. -->
4260        <attr name="timeZone" format="string"/>
4261    </declare-styleable>
4262    <declare-styleable name="TextSwitcher">
4263    </declare-styleable>
4264    <declare-styleable name="TextView">
4265        <!-- Determines the minimum type that getText() will return.
4266             The default is "normal".
4267             Note that EditText and LogTextBox always return Editable,
4268             even if you specify something less powerful here. -->
4269        <attr name="bufferType">
4270            <!-- Can return any CharSequence, possibly a
4271             Spanned one if the source text was Spanned. -->
4272            <enum name="normal" value="0" />
4273            <!-- Can only return Spannable. -->
4274            <enum name="spannable" value="1" />
4275            <!-- Can only return Spannable and Editable. -->
4276            <enum name="editable" value="2" />
4277        </attr>
4278        <!-- Text to display. -->
4279        <attr name="text" format="string" localization="suggested" />
4280        <!-- Hint text to display when the text is empty. -->
4281        <attr name="hint" format="string" />
4282        <!-- Text color. -->
4283        <attr name="textColor" />
4284        <!-- Color of the text selection highlight. -->
4285        <attr name="textColorHighlight" />
4286        <!-- Color of the hint text. -->
4287        <attr name="textColorHint" />
4288        <!-- Base text color, typeface, size, and style. -->
4289        <attr name="textAppearance" />
4290        <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
4291        <attr name="textSize" />
4292        <!-- Sets the horizontal scaling factor for the text. -->
4293        <attr name="textScaleX" format="float" />
4294        <!-- Typeface (normal, sans, serif, monospace) for the text. -->
4295        <attr name="typeface" />
4296        <!-- Style (bold, italic, bolditalic) for the text. -->
4297        <attr name="textStyle" />
4298        <!-- Font family (named by string) for the text. -->
4299        <attr name="fontFamily" />
4300        <!-- Text color for links. -->
4301        <attr name="textColorLink" />
4302        <!-- Makes the cursor visible (the default) or invisible. -->
4303        <attr name="cursorVisible" format="boolean" />
4304        <!-- Makes the TextView be at most this many lines tall.
4305
4306        When used on an editable text, the <code>inputType</code> attribute's value must be
4307        combined with the <code>textMultiLine</code> flag for the maxLines attribute to apply. -->
4308        <attr name="maxLines" format="integer" min="0" />
4309        <!-- Makes the TextView be at most this many pixels tall. -->
4310        <attr name="maxHeight" />
4311        <!-- Makes the TextView be exactly this many lines tall. -->
4312        <attr name="lines" format="integer" min="0" />
4313        <!-- Makes the TextView be exactly this many pixels tall.
4314             You could get the same effect by specifying this number in the
4315             layout parameters. -->
4316        <attr name="height" format="dimension" />
4317        <!-- Makes the TextView be at least this many lines tall.
4318
4319        When used on an editable text, the <code>inputType</code> attribute's value must be
4320        combined with the <code>textMultiLine</code> flag for the minLines attribute to apply. -->
4321        <attr name="minLines" format="integer" min="0" />
4322        <!-- Makes the TextView be at least this many pixels tall. -->
4323        <attr name="minHeight" />
4324        <!-- Makes the TextView be at most this many ems wide. -->
4325        <attr name="maxEms" format="integer" min="0" />
4326        <!-- Makes the TextView be at most this many pixels wide. -->
4327        <attr name="maxWidth" />
4328        <!-- Makes the TextView be exactly this many ems wide. -->
4329        <attr name="ems" format="integer" min="0" />
4330        <!-- Makes the TextView be exactly this many pixels wide.
4331             You could get the same effect by specifying this number in the
4332             layout parameters. -->
4333        <attr name="width" format="dimension" />
4334        <!-- Makes the TextView be at least this many ems wide. -->
4335        <attr name="minEms" format="integer" min="0" />
4336        <!-- Makes the TextView be at least this many pixels wide. -->
4337        <attr name="minWidth" />
4338        <!-- Specifies how to align the text by the view's x- and/or y-axis
4339             when the text is smaller than the view. -->
4340        <attr name="gravity" />
4341        <!-- Whether the text is allowed to be wider than the view (and
4342             therefore can be scrolled horizontally). -->
4343        <attr name="scrollHorizontally" format="boolean" />
4344        <!-- Whether the characters of the field are displayed as
4345             password dots instead of themselves.
4346             {@deprecated Use inputType instead.} -->
4347        <attr name="password" format="boolean" />
4348        <!-- Constrains the text to a single horizontally scrolling line
4349             instead of letting it wrap onto multiple lines, and advances
4350             focus instead of inserting a newline when you press the
4351             enter key.
4352
4353             The default value is false (multi-line wrapped text mode) for non-editable text, but if
4354             you specify any value for inputType, the default is true (single-line input field mode).
4355
4356             {@deprecated This attribute is deprecated. Use <code>maxLines</code> instead to change
4357             the layout of a static text, and use the <code>textMultiLine</code> flag in the
4358             inputType attribute instead for editable text views (if both singleLine and inputType
4359             are supplied, the inputType flags will override the value of singleLine). } -->
4360        <attr name="singleLine" format="boolean" />
4361        <!-- Specifies whether the widget is enabled. The interpretation of the enabled state varies by subclass.
4362             For example, a non-enabled EditText prevents the user from editing the contained text, and
4363             a non-enabled Button prevents the user from tapping the button.
4364             The appearance of enabled and non-enabled widgets may differ, if the drawables referenced
4365             from evaluating state_enabled differ. -->
4366        <attr name="enabled" format="boolean" />
4367        <!-- If the text is selectable, select it all when the view takes
4368             focus. -->
4369        <attr name="selectAllOnFocus" format="boolean" />
4370        <!-- Leave enough room for ascenders and descenders instead of
4371             using the font ascent and descent strictly.  (Normally true). -->
4372        <attr name="includeFontPadding" format="boolean" />
4373        <!-- Set an input filter to constrain the text length to the
4374             specified number. -->
4375        <attr name="maxLength" format="integer" min="0" />
4376        <!-- Place a blurred shadow of text underneath the text, drawn with the
4377             specified color. The text shadow produced does not interact with
4378             properties on View that are responsible for real time shadows,
4379             {@link android.R.styleable#View_elevation elevation} and
4380             {@link android.R.styleable#View_translationZ translationZ}. -->
4381        <attr name="shadowColor" />
4382        <!-- Horizontal offset of the text shadow. -->
4383        <attr name="shadowDx" />
4384        <!-- Vertical offset of the text shadow. -->
4385        <attr name="shadowDy" />
4386        <!-- Blur radius of the text shadow. -->
4387        <attr name="shadowRadius" />
4388        <attr name="autoLink" />
4389        <!-- If set to false, keeps the movement method from being set
4390             to the link movement method even if autoLink causes links
4391             to be found. -->
4392        <attr name="linksClickable" format="boolean" />
4393        <!-- If set, specifies that this TextView has a numeric input method.
4394             The default is false.
4395             {@deprecated Use inputType instead.} -->
4396        <attr name="numeric">
4397            <!-- Input is numeric. -->
4398            <flag name="integer" value="0x01" />
4399            <!-- Input is numeric, with sign allowed. -->
4400            <flag name="signed" value="0x03" />
4401            <!-- Input is numeric, with decimals allowed. -->
4402            <flag name="decimal" value="0x05" />
4403        </attr>
4404        <!-- If set, specifies that this TextView has a numeric input method
4405             and that these specific characters are the ones that it will
4406             accept.
4407             If this is set, numeric is implied to be true.
4408             The default is false. -->
4409        <attr name="digits" format="string" />
4410        <!-- If set, specifies that this TextView has a phone number input
4411             method. The default is false.
4412             {@deprecated Use inputType instead.} -->
4413        <attr name="phoneNumber" format="boolean" />
4414        <!-- If set, specifies that this TextView should use the specified
4415             input method (specified by fully-qualified class name).
4416             {@deprecated Use inputType instead.} -->
4417        <attr name="inputMethod" format="string" />
4418        <!-- If set, specifies that this TextView has a textual input method
4419             and should automatically capitalize what the user types.
4420             The default is "none".
4421             {@deprecated Use inputType instead.} -->
4422        <attr name="capitalize">
4423            <!-- Don't automatically capitalize anything. -->
4424            <enum name="none" value="0" />
4425            <!-- Capitalize the first word of each sentence. -->
4426            <enum name="sentences" value="1" />
4427            <!-- Capitalize the first letter of every word. -->
4428            <enum name="words" value="2" />
4429            <!-- Capitalize every character. -->
4430            <enum name="characters" value="3" />
4431        </attr>
4432        <!-- If set, specifies that this TextView has a textual input method
4433             and automatically corrects some common spelling errors.
4434             The default is "false".
4435             {@deprecated Use inputType instead.} -->
4436        <attr name="autoText" format="boolean" />
4437        <!-- If set, specifies that this TextView has an input method.
4438             It will be a textual one unless it has otherwise been specified.
4439             For TextView, this is false by default.  For EditText, it is
4440             true by default.
4441             {@deprecated Use inputType instead.} -->
4442        <attr name="editable" format="boolean" />
4443        <!-- If set, the text view will include its current complete text
4444             inside of its frozen icicle in addition to meta-data such as
4445             the current cursor position.  By default this is disabled;
4446             it can be useful when the contents of a text view is not stored
4447             in a persistent place such as a content provider. For
4448             {@link android.widget.EditText} it is always enabled, regardless
4449             of the value of the attribute. -->
4450        <attr name="freezesText" format="boolean" />
4451        <!-- If set, causes words that are longer than the view is wide
4452             to be ellipsized instead of broken in the middle.
4453             You will often also want to set scrollHorizontally or singleLine
4454             as well so that the text as a whole is also constrained to
4455             a single line instead of still allowed to be broken onto
4456             multiple lines. -->
4457        <attr name="ellipsize" />
4458        <!-- The drawable to be drawn above the text. -->
4459        <attr name="drawableTop" format="reference|color" />
4460        <!-- The drawable to be drawn below the text. -->
4461        <attr name="drawableBottom" format="reference|color" />
4462        <!-- The drawable to be drawn to the left of the text. -->
4463        <attr name="drawableLeft" format="reference|color" />
4464        <!-- The drawable to be drawn to the right of the text. -->
4465        <attr name="drawableRight" format="reference|color" />
4466        <!-- The drawable to be drawn to the start of the text. -->
4467        <attr name="drawableStart" format="reference|color" />
4468        <!-- The drawable to be drawn to the end of the text. -->
4469        <attr name="drawableEnd" format="reference|color" />
4470        <!-- The padding between the drawables and the text. -->
4471        <attr name="drawablePadding" format="dimension" />
4472        <!-- Tint to apply to the compound (left, top, etc.) drawables. -->
4473        <attr name="drawableTint" format="color" />
4474        <!-- Blending mode used to apply the compound (left, top, etc.) drawables tint. -->
4475        <attr name="drawableTintMode">
4476            <!-- The tint is drawn on top of the drawable.
4477                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4478            <enum name="src_over" value="3" />
4479            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4480                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4481            <enum name="src_in" value="5" />
4482            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4483                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4484            <enum name="src_atop" value="9" />
4485            <!-- Multiplies the color and alpha channels of the drawable with those of
4486                 the tint. [Sa * Da, Sc * Dc] -->
4487            <enum name="multiply" value="14" />
4488            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4489            <enum name="screen" value="15" />
4490            <!-- Combines the tint and drawable color and alpha channels, clamping the
4491                 result to valid color values. Saturate(S + D) -->
4492            <enum name="add" value="16" />
4493        </attr>
4494        <!-- Extra spacing between lines of text. -->
4495        <attr name="lineSpacingExtra" format="dimension" />
4496        <!-- Extra spacing between lines of text, as a multiplier. -->
4497        <attr name="lineSpacingMultiplier" format="float" />
4498        <!-- The number of times to repeat the marquee animation. Only applied if the
4499             TextView has marquee enabled. -->
4500        <attr name="marqueeRepeatLimit" format="integer">
4501            <!-- Indicates that marquee should repeat indefinitely. -->
4502            <enum name="marquee_forever" value="-1" />
4503        </attr>
4504        <attr name="inputType" />
4505        <!-- Whether undo should be allowed for editable text. Defaults to true. -->
4506        <attr name="allowUndo" format="boolean" />
4507        <attr name="imeOptions" />
4508        <!-- An addition content type description to supply to the input
4509             method attached to the text view, which is private to the
4510             implementation of the input method.  This simply fills in
4511             the {@link android.view.inputmethod.EditorInfo#privateImeOptions
4512             EditorInfo.privateImeOptions} field when the input
4513             method is connected. -->
4514        <attr name="privateImeOptions" format="string" />
4515        <!-- Supply a value for
4516             {@link android.view.inputmethod.EditorInfo#actionLabel EditorInfo.actionLabel}
4517             used when an input method is connected to the text view. -->
4518        <attr name="imeActionLabel" format="string" />
4519        <!-- Supply a value for
4520             {@link android.view.inputmethod.EditorInfo#actionId EditorInfo.actionId}
4521             used when an input method is connected to the text view. -->
4522        <attr name="imeActionId" format="integer" />
4523        <!-- Reference to an
4524             {@link android.R.styleable#InputExtras &lt;input-extras&gt;}
4525             XML resource containing additional data to
4526             supply to an input method, which is private to the implementation
4527             of the input method.  This simply fills in
4528             the {@link android.view.inputmethod.EditorInfo#extras
4529             EditorInfo.extras} field when the input
4530             method is connected. -->
4531        <attr name="editorExtras" format="reference" />
4532
4533        <!-- Reference to a drawable that will be used to display a text selection
4534             anchor on the left side of a selection region. -->
4535        <attr name="textSelectHandleLeft" />
4536        <!-- Reference to a drawable that will be used to display a text selection
4537             anchor on the right side of a selection region. -->
4538        <attr name="textSelectHandleRight" />
4539        <!-- Reference to a drawable that will be used to display a text selection
4540             anchor for positioning the cursor within text. -->
4541        <attr name="textSelectHandle" />
4542        <!-- The layout of the view that is displayed on top of the cursor to paste inside a
4543             TextEdit field. -->
4544        <attr name="textEditPasteWindowLayout" />
4545        <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. -->
4546        <attr name="textEditNoPasteWindowLayout" />
4547        <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the
4548             insertion cursor because it would be clipped if it were positioned on top. -->
4549        <attr name="textEditSidePasteWindowLayout" />
4550        <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. -->
4551        <attr name="textEditSideNoPasteWindowLayout" />
4552
4553        <!-- Layout of the TextView item that will populate the suggestion popup window. -->
4554        <attr name="textEditSuggestionItemLayout" />
4555        <!-- Layout of the container of the suggestion popup window. -->
4556        <attr name="textEditSuggestionContainerLayout" />
4557        <!-- Style of the highlighted string in the suggestion popup window. -->
4558        <attr name="textEditSuggestionHighlightStyle" />
4559
4560
4561        <!-- Reference to a drawable that will be drawn under the insertion cursor. -->
4562        <attr name="textCursorDrawable" />
4563
4564        <!-- Indicates that the content of a non-editable text can be selected. -->
4565        <attr name="textIsSelectable" />
4566        <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
4567        <attr name="textAllCaps" />
4568        <!-- Elegant text height, especially for less compacted complex script text. -->
4569        <attr name="elegantTextHeight" />
4570        <!-- Text letter-spacing. -->
4571        <attr name="letterSpacing" />
4572        <!-- Font feature settings. -->
4573        <attr name="fontFeatureSettings" />
4574        <!-- Break strategy (control over paragraph layout). -->
4575        <attr name="breakStrategy">
4576            <!-- Line breaking uses simple strategy. -->
4577            <enum name="simple" value="0" />
4578            <!-- Line breaking uses high-quality strategy, including hyphenation. -->
4579            <enum name="high_quality" value="1" />
4580            <!-- Line breaking strategy balances line lengths. -->
4581            <enum name="balanced" value="2" />
4582        </attr>
4583        <!-- Frequency of automatic hyphenation. -->
4584        <attr name="hyphenationFrequency">
4585            <!-- No hyphenation. -->
4586            <enum name="none" value="0" />
4587            <!-- Less frequent hyphenation, useful for informal use cases, such
4588            as chat messages. -->
4589            <enum name="normal" value="1" />
4590            <!-- Standard amount of hyphenation, useful for running text and for
4591            screens with limited space for text. -->
4592            <enum name="full" value="2" />
4593        </attr>
4594    </declare-styleable>
4595    <declare-styleable name="TextViewAppearance">
4596        <!-- Base text color, typeface, size, and style. -->
4597        <attr name="textAppearance" />
4598    </declare-styleable>
4599    <declare-styleable name="SelectionModeDrawables">
4600        <attr name="actionModeSelectAllDrawable" />
4601        <attr name="actionModeCutDrawable" />
4602        <attr name="actionModeCopyDrawable" />
4603        <attr name="actionModePasteDrawable" />
4604    </declare-styleable>
4605    <declare-styleable name="SuggestionSpan">
4606        <attr name="textUnderlineColor" />
4607        <attr name="textUnderlineThickness" />
4608    </declare-styleable>
4609    <!-- An <code>input-extras</code> is a container for extra data to supply to
4610         an input method.  Contains
4611         one more more {@link #Extra <extra>} tags.  -->
4612    <declare-styleable name="InputExtras">
4613    </declare-styleable>
4614    <declare-styleable name="AutoCompleteTextView">
4615        <!-- Defines the hint displayed in the drop down menu. -->
4616        <attr name="completionHint" format="string" />
4617        <!-- Defines the hint view displayed in the drop down menu. -->
4618        <attr name="completionHintView" format="reference" />
4619        <!-- Defines the number of characters that the user must type before
4620         completion suggestions are displayed in a drop down menu. -->
4621        <attr name="completionThreshold" format="integer" min="1" />
4622        <!-- Selector in a drop down list. -->
4623        <attr name="dropDownSelector" format="reference|color" />
4624        <!-- View to anchor the auto-complete dropdown to. If not specified, the text view itself
4625             is used. -->
4626        <attr name="dropDownAnchor" format="reference" />
4627        <!-- Specifies the basic width of the dropdown. Its value may
4628             be a dimension (such as "12dip") for a constant width,
4629             fill_parent or match_parent to match the width of the
4630             screen, or wrap_content to match the width of
4631             the anchored view. -->
4632        <attr name="dropDownWidth" format="dimension">
4633            <!-- The dropdown should fill the width of the screen.
4634                 This constant is deprecated starting from API Level 8 and
4635                 is replaced by {@code match_parent}. -->
4636            <enum name="fill_parent" value="-1" />
4637            <!-- The dropdown should fit the width of the screen.
4638                 Introduced in API Level 8. -->
4639            <enum name="match_parent" value="-1" />
4640            <!-- The dropdown should fit the width of its anchor. -->
4641            <enum name="wrap_content" value="-2" />
4642        </attr>
4643        <!-- Specifies the basic height of the dropdown. Its value may
4644             be a dimension (such as "12dip") for a constant height,
4645             fill_parent or match_parent to fill the height of the
4646             screen, or wrap_content to match the height of
4647             the content of the drop down. -->
4648        <attr name="dropDownHeight" format="dimension">
4649            <!-- The dropdown should fit the height of the screen.
4650                 This constant is deprecated starting from API Level 8 and
4651                 is replaced by {@code match_parent}. -->
4652            <enum name="fill_parent" value="-1" />
4653            <!-- The dropdown should fit the height of the screen.
4654                 Introduced in API Level 8. -->
4655            <enum name="match_parent" value="-1" />
4656            <!-- The dropdown should fit the height of the content. -->
4657            <enum name="wrap_content" value="-2" />
4658        </attr>
4659        <attr name="inputType" />
4660        <!-- Theme to use for the completion popup window. -->
4661        <attr name="popupTheme" />
4662    </declare-styleable>
4663    <declare-styleable name="PopupWindow">
4664        <!-- The background to use for the popup window. -->
4665        <attr name="popupBackground" format="reference|color" />
4666        <!-- Window elevation to use for the popup window. -->
4667        <attr name="popupElevation" format="dimension" />
4668        <!-- The animation style to use for the popup window. -->
4669        <attr name="popupAnimationStyle" format="reference" />
4670        <!-- Whether the popup window should overlap its anchor view. -->
4671        <attr name="overlapAnchor" format="boolean" />
4672        <!-- Transition used to move views into the popup window. -->
4673        <attr name="popupEnterTransition" format="reference" />
4674        <!-- Transition used to move views out of the popup window. -->
4675        <attr name="popupExitTransition" format="reference" />
4676    </declare-styleable>
4677    <declare-styleable name="ListPopupWindow">
4678        <!-- Amount of pixels by which the drop down should be offset vertically. -->
4679        <attr name="dropDownVerticalOffset" format="dimension" />
4680        <!-- Amount of pixels by which the drop down should be offset horizontally. -->
4681        <attr name="dropDownHorizontalOffset" format="dimension" />
4682    </declare-styleable>
4683    <declare-styleable name="ViewAnimator">
4684        <!-- Identifier for the animation to use when a view is shown. -->
4685        <attr name="inAnimation" format="reference" />
4686        <!-- Identifier for the animation to use when a view is hidden. -->
4687        <attr name="outAnimation" format="reference" />
4688        <!-- Defines whether to animate the current View when the ViewAnimation
4689             is first displayed. -->
4690        <attr name="animateFirstView" format="boolean" />
4691    </declare-styleable>
4692    <declare-styleable name="ViewFlipper">
4693        <attr name="flipInterval" format="integer" min="0" />
4694        <!-- When true, automatically start animating -->
4695        <attr name="autoStart" format="boolean" />
4696    </declare-styleable>
4697    <declare-styleable name="AdapterViewAnimator">
4698        <!-- Identifier for the animation to use when a view is shown. -->
4699        <attr name="inAnimation" />
4700        <!-- Identifier for the animation to use when a view is hidden. -->
4701        <attr name="outAnimation" />
4702        <!--Defines whether the animator loops to the first view once it
4703        has reached the end of the list. -->
4704        <attr name="loopViews" format="boolean" />
4705        <!-- Defines whether to animate the current View when the ViewAnimation
4706        is first displayed. -->
4707        <attr name="animateFirstView" />
4708    </declare-styleable>
4709    <declare-styleable name="AdapterViewFlipper">
4710        <attr name="flipInterval" />
4711        <!-- When true, automatically start animating -->
4712        <attr name="autoStart" />
4713    </declare-styleable>
4714    <declare-styleable name="ViewSwitcher">
4715    </declare-styleable>
4716    <declare-styleable name="ScrollView">
4717        <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
4718        <attr name="fillViewport" format="boolean" />
4719    </declare-styleable>
4720    <declare-styleable name="HorizontalScrollView">
4721        <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
4722        <attr name="fillViewport" />
4723    </declare-styleable>
4724    <declare-styleable name="Spinner">
4725        <!-- The prompt to display when the spinner's dialog is shown. -->
4726        <attr name="prompt" format="reference" />
4727        <!-- Display mode for spinner options. -->
4728        <attr name="spinnerMode" format="enum">
4729            <!-- Spinner options will be presented to the user as a dialog window. -->
4730            <enum name="dialog" value="0" />
4731            <!-- Spinner options will be presented to the user as an inline dropdown
4732                 anchored to the spinner widget itself. -->
4733            <enum name="dropdown" value="1" />
4734        </attr>
4735        <!-- List selector to use for spinnerMode="dropdown" display. -->
4736        <attr name="dropDownSelector" />
4737        <!-- Theme to use for the drop-down or dialog popup window. -->
4738        <attr name="popupTheme" />
4739        <!-- Background drawable to use for the dropdown in spinnerMode="dropdown". -->
4740        <attr name="popupBackground" />
4741        <!-- Window elevation to use for the dropdown in spinnerMode="dropdown". -->
4742        <attr name="popupElevation" />
4743        <!-- Width of the dropdown in spinnerMode="dropdown". -->
4744        <attr name="dropDownWidth" />
4745        <!-- Reference to a layout to use for displaying a prompt in the dropdown for
4746             spinnerMode="dropdown". This layout must contain a TextView with the id
4747             {@code @android:id/text1} to be populated with the prompt text. -->
4748        <attr name="popupPromptView" format="reference" />
4749        <!-- Gravity setting for positioning the currently selected item. -->
4750        <attr name="gravity" />
4751        <!-- Whether this spinner should mark child views as enabled/disabled when
4752             the spinner itself is enabled/disabled. -->
4753        <attr name="disableChildrenWhenDisabled" format="boolean" />
4754    </declare-styleable>
4755
4756    <declare-styleable name="DatePicker">
4757        <!-- The first day of week according to {@link java.util.Calendar}. -->
4758        <attr name="firstDayOfWeek" />
4759        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
4760        <attr name="minDate" format="string" />
4761        <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. -->
4762        <attr name="maxDate" format="string" />
4763
4764        <!-- Whether the spinners are shown. Only valid for "spinner" mode. -->
4765        <attr name="spinnersShown" format="boolean" />
4766        <!-- Whether the calendar view is shown. Only valid for "spinner" mode. -->
4767        <attr name="calendarViewShown" format="boolean" />
4768
4769        <!-- @hide The layout of the date picker. -->
4770        <attr name="internalLayout" format="reference"  />
4771        <!-- @hide The layout of the legacy DatePicker. -->
4772        <attr name="legacyLayout" />
4773
4774        <!-- The text color for the selected date header text, ex. "2014" or
4775             "Tue, Mar 18". This should be a color state list where the
4776             activated state will be used when the year picker or day picker is
4777             active.-->
4778        <attr name="headerTextColor" format="color" />
4779        <!-- The background for the selected date header. -->
4780        <attr name="headerBackground" />
4781
4782        <!-- The list year's text appearance in the list.
4783             {@deprecated Use yearListTextColor. }-->
4784        <attr name="yearListItemTextAppearance" format="reference" />
4785        <!-- @hide The list year's text appearance in the list when activated. -->
4786        <attr name="yearListItemActivatedTextAppearance" format="reference" />
4787        <!-- The text color list of the calendar. -->
4788        <attr name="calendarTextColor" format="color" />
4789
4790        <!-- Defines the look of the widget. Prior to the L release, the only choice was
4791             spinner. As of L, with the Material theme selected, the default layout is calendar,
4792             but this attribute can be used to force spinner to be used instead. -->
4793        <attr name="datePickerMode">
4794            <!-- Date picker with spinner controls to select the date. -->
4795            <enum name="spinner" value="1" />
4796            <!-- Date picker with calendar to select the date. -->
4797            <enum name="calendar" value="2" />
4798        </attr>
4799
4800        <!-- The first year (inclusive), for example "1940".
4801             {@deprecated Use minDate instead.} -->
4802        <attr name="startYear" format="integer" />
4803        <!-- The last year (inclusive), for example "2010".
4804             {@deprecated Use maxDate instead.} -->
4805        <attr name="endYear" format="integer" />
4806        <!-- The text appearance for the month (ex. May) in the selected date header.
4807             {@deprecated Use headerTextColor instead.} -->
4808        <attr name="headerMonthTextAppearance" format="reference" />
4809        <!-- The text appearance for the day of month (ex. 28) in the selected date header.
4810             {@deprecated Use headerTextColor instead.} -->
4811        <attr name="headerDayOfMonthTextAppearance" format="reference" />
4812        <!-- The text appearance for the year (ex. 2014) in the selected date header.
4813             {@deprecated Use headerTextColor instead.} -->
4814        <attr name="headerYearTextAppearance" format="reference" />
4815        <!-- The background color for the header's day of week.
4816             {@deprecated No longer displayed.} -->
4817        <attr name="dayOfWeekBackground" format="color" />
4818        <!-- The text color for the header's day of week.
4819             {@deprecated No longer displayed.} -->
4820        <attr name="dayOfWeekTextAppearance" format="reference" />
4821        <!-- The list year's selected circle color in the list.
4822             {@deprecated No longer displayed.} -->
4823        <attr name="yearListSelectorColor" format="color" />
4824    </declare-styleable>
4825
4826    <declare-styleable name="TwoLineListItem">
4827        <attr name="mode">
4828            <!-- Always show only the first line. -->
4829            <enum name="oneLine" value="1" />
4830            <!-- When selected show both lines, otherwise show only the first line.
4831                 This is the default mode. -->
4832            <enum name="collapsing" value="2" />
4833            <!-- Always show both lines. -->
4834            <enum name="twoLine" value="3" />
4835        </attr>
4836    </declare-styleable>
4837
4838    <!-- SlidingDrawer specific attributes. These attributes are used to configure
4839         a SlidingDrawer from XML. -->
4840    <declare-styleable name="SlidingDrawer">
4841        <!-- Identifier for the child that represents the drawer's handle. -->
4842        <attr name="handle" format="reference" />
4843        <!-- Identifier for the child that represents the drawer's content. -->
4844        <attr name="content" format="reference" />
4845        <!-- Orientation of the SlidingDrawer. -->
4846        <attr name="orientation" />
4847        <!-- Extra offset for the handle at the bottom of the SlidingDrawer. -->
4848        <attr name="bottomOffset" format="dimension"  />
4849        <!-- Extra offset for the handle at the top of the SlidingDrawer. -->
4850        <attr name="topOffset" format="dimension"  />
4851        <!-- Indicates whether the drawer can be opened/closed by a single tap
4852             on the handle.  (If false, the user must drag or fling, or click
4853             using the trackball, to open/close the drawer.)  Default is true. -->
4854        <attr name="allowSingleTap" format="boolean" />
4855        <!-- Indicates whether the drawer should be opened/closed with an animation
4856             when the user clicks the handle. Default is true. -->
4857        <attr name="animateOnClick" format="boolean" />
4858    </declare-styleable>
4859
4860    <!-- GestureOverlayView specific attributes. These attributes are used to configure
4861         a GestureOverlayView from XML. -->
4862    <declare-styleable name="GestureOverlayView">
4863        <!-- Width of the stroke used to draw the gesture. -->
4864        <attr name="gestureStrokeWidth" format="float" />
4865        <!-- Color used to draw a gesture. -->
4866        <attr name="gestureColor" format="color" />
4867        <!-- Color used to draw the user's strokes until we are sure it's a gesture. -->
4868        <attr name="uncertainGestureColor" format="color" />
4869        <!-- Time, in milliseconds, to wait before the gesture fades out after the user
4870             is done drawing it. -->
4871        <attr name="fadeOffset" format="integer" />
4872        <!-- Duration, in milliseconds, of the fade out effect after the user is done
4873             drawing a gesture. -->
4874        <attr name="fadeDuration" format="integer" />
4875        <!-- Defines the type of strokes that define a gesture. -->
4876        <attr name="gestureStrokeType">
4877            <!-- A gesture is made of only one stroke. -->
4878            <enum name="single" value="0" />
4879            <!-- A gesture is made of multiple strokes. -->
4880            <enum name="multiple" value="1" />
4881        </attr>
4882        <!-- Minimum length of a stroke before it is recognized as a gesture. -->
4883        <attr name="gestureStrokeLengthThreshold" format="float" />
4884        <!-- Squareness threshold of a stroke before it is recognized as a gesture. -->
4885        <attr name="gestureStrokeSquarenessThreshold" format="float" />
4886        <!-- Minimum curve angle a stroke must contain before it is recognized as a gesture. -->
4887        <attr name="gestureStrokeAngleThreshold" format="float" />
4888        <!-- Defines whether the overlay should intercept the motion events when a gesture
4889             is recognized. -->
4890        <attr name="eventsInterceptionEnabled" format="boolean" />
4891        <!-- Defines whether the gesture will automatically fade out after being recognized. -->
4892        <attr name="fadeEnabled" format="boolean" />
4893        <!-- Indicates whether horizontal (when the orientation is vertical) or vertical
4894             (when orientation is horizontal) strokes automatically define a gesture. -->
4895        <attr name="orientation" />
4896    </declare-styleable>
4897
4898    <declare-styleable name="QuickContactBadge">
4899        <attr name="quickContactWindowSize">
4900            <enum name="modeSmall" value="1" />
4901            <enum name="modeMedium" value="2" />
4902            <enum name="modeLarge" value="3" />
4903        </attr>
4904    </declare-styleable>
4905
4906    <!-- ======================================= -->
4907    <!-- Widget package parent layout attributes -->
4908    <!-- ======================================= -->
4909    <eat-comment />
4910
4911    <declare-styleable name="AbsoluteLayout_Layout">
4912        <attr name="layout_x" format="dimension" />
4913        <attr name="layout_y" format="dimension" />
4914    </declare-styleable>
4915    <declare-styleable name="LinearLayout_Layout">
4916        <attr name="layout_width" />
4917        <attr name="layout_height" />
4918        <attr name="layout_weight" format="float" />
4919        <attr name="layout_gravity" />
4920    </declare-styleable>
4921    <declare-styleable name="GridLayout_Layout">
4922        <!-- The row boundary delimiting the top of the group of cells
4923        occupied by this view. -->
4924        <attr name="layout_row" format="integer" />
4925        <!-- The row span: the difference between the top and bottom
4926        boundaries delimiting the group of cells occupied by this view.
4927        The default is one.
4928        See {@link android.widget.GridLayout.Spec}. -->
4929        <attr name="layout_rowSpan" format="integer" min="1" />
4930        <!-- The relative proportion of vertical space that should be allocated to this view
4931        during excess space distribution. -->
4932        <attr name="layout_rowWeight" format="float" />
4933        <!-- The column boundary delimiting the left of the group of cells
4934        occupied by this view. -->
4935        <attr name="layout_column" />
4936        <!-- The column span: the difference between the right and left
4937        boundaries delimiting the group of cells occupied by this view.
4938        The default is one.
4939        See {@link android.widget.GridLayout.Spec}. -->
4940        <attr name="layout_columnSpan" format="integer" min="1" />
4941        <!-- The relative proportion of horizontal space that should be allocated to this view
4942        during excess space distribution. -->
4943        <attr name="layout_columnWeight" format="float" />
4944        <!-- Gravity specifies how a component should be placed in its group of cells.
4945        The default is LEFT | BASELINE.
4946        See {@link android.widget.GridLayout.LayoutParams#setGravity(int)}. -->
4947        <attr name="layout_gravity" />
4948    </declare-styleable>
4949    <declare-styleable name="FrameLayout_Layout">
4950        <attr name="layout_gravity" />
4951    </declare-styleable>
4952    <declare-styleable name="RelativeLayout_Layout">
4953        <!-- Positions the right edge of this view to the left of the given anchor view ID.
4954             Accommodates right margin of this view and left margin of anchor view. -->
4955        <attr name="layout_toLeftOf" format="reference" />
4956        <!-- Positions the left edge of this view to the right of the given anchor view ID.
4957            Accommodates left margin of this view and right margin of anchor view. -->
4958        <attr name="layout_toRightOf" format="reference" />
4959        <!-- Positions the bottom edge of this view above the given anchor view ID.
4960            Accommodates bottom margin of this view and top margin of anchor view. -->
4961        <attr name="layout_above" format="reference" />
4962        <!-- Positions the top edge of this view below the given anchor view ID.
4963            Accommodates top margin of this view and bottom margin of anchor view. -->
4964        <attr name="layout_below" format="reference" />
4965        <!-- Positions the baseline of this view on the baseline of the given anchor view ID. -->
4966        <attr name="layout_alignBaseline" format="reference" />
4967        <!-- Makes the left edge of this view match the left edge of the given anchor view ID.
4968            Accommodates left margin. -->
4969        <attr name="layout_alignLeft" format="reference" />
4970        <!-- Makes the top edge of this view match the top edge of the given anchor view ID.
4971            Accommodates top margin. -->
4972        <attr name="layout_alignTop" format="reference" />
4973        <!-- Makes the right edge of this view match the right edge of the given anchor view ID.
4974            Accommodates right margin. -->
4975        <attr name="layout_alignRight" format="reference" />
4976        <!-- Makes the bottom edge of this view match the bottom edge of the given anchor view ID.
4977            Accommodates bottom margin. -->
4978        <attr name="layout_alignBottom" format="reference" />
4979        <!-- If true, makes the left edge of this view match the left edge of the parent.
4980            Accommodates left margin. -->
4981        <attr name="layout_alignParentLeft" format="boolean" />
4982        <!-- If true, makes the top edge of this view match the top edge of the parent.
4983            Accommodates top margin. -->
4984        <attr name="layout_alignParentTop" format="boolean" />
4985        <!-- If true, makes the right edge of this view match the right edge of the parent.
4986            Accommodates right margin. -->
4987        <attr name="layout_alignParentRight" format="boolean" />
4988        <!-- If true, makes the bottom edge of this view match the bottom edge of the parent.
4989            Accommodates bottom margin. -->
4990        <attr name="layout_alignParentBottom" format="boolean" />
4991        <!-- If true, centers this child horizontally and vertically within its parent. -->
4992        <attr name="layout_centerInParent" format="boolean" />
4993        <!-- If true, centers this child horizontally within its parent. -->
4994        <attr name="layout_centerHorizontal" format="boolean" />
4995        <!-- If true, centers this child vertically within its parent. -->
4996        <attr name="layout_centerVertical" format="boolean" />
4997        <!-- If set to true, the parent will be used as the anchor when the anchor cannot be
4998             be found for layout_toLeftOf, layout_toRightOf, etc. -->
4999        <attr name="layout_alignWithParentIfMissing" format="boolean" />
5000        <!-- Positions the end edge of this view to the start of the given anchor view ID.
5001             Accommodates end margin of this view and start margin of anchor view. -->
5002        <attr name="layout_toStartOf" format="reference" />
5003        <!-- Positions the start edge of this view to the end of the given anchor view ID.
5004             Accommodates start margin of this view and end margin of anchor view. -->
5005        <attr name="layout_toEndOf" format="reference" />
5006        <!-- Makes the start edge of this view match the start edge of the given anchor view ID.
5007            Accommodates start margin. -->
5008        <attr name="layout_alignStart" format="reference" />
5009        <!-- Makes the end edge of this view match the end edge of the given anchor view ID.
5010            Accommodates end margin. -->
5011        <attr name="layout_alignEnd" format="reference" />
5012        <!-- If true, makes the start edge of this view match the start edge of the parent.
5013            Accommodates start margin. -->
5014        <attr name="layout_alignParentStart" format="boolean" />
5015        <!-- If true, makes the end edge of this view match the end edge of the parent.
5016            Accommodates end margin. -->
5017        <attr name="layout_alignParentEnd" format="boolean" />
5018    </declare-styleable>
5019    <declare-styleable name="VerticalSlider_Layout">
5020        <attr name="layout_scale" format="float" />
5021    </declare-styleable>
5022
5023    <!-- attributes for internal rotary widget used in lock screen and phone app
5024      @hide -->
5025    <declare-styleable name="RotarySelector">
5026        <!-- Use "horizontal" or "vertical".  The default is horizontal. -->
5027        <attr name="orientation" />
5028    </declare-styleable>
5029
5030    <!-- @hide -->
5031    <declare-styleable name="WeightedLinearLayout">
5032        <attr name="majorWeightMin" format="float" />
5033        <attr name="minorWeightMin" format="float" />
5034        <attr name="majorWeightMax" format="float" />
5035        <attr name="minorWeightMax" format="float" />
5036    </declare-styleable>
5037
5038    <declare-styleable name="CalendarView">
5039        <!-- The first day of week according to {@link java.util.Calendar}. -->
5040        <attr name="firstDayOfWeek" format="integer" />
5041        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
5042        <attr name="minDate" />
5043        <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. -->
5044        <attr name="maxDate" />
5045        <!-- The text appearance for the month and year in the calendar header. -->
5046        <attr name="monthTextAppearance" format="reference" />
5047        <!-- The text appearance for the week day abbreviation in the calendar header. -->
5048        <attr name="weekDayTextAppearance" format="reference" />
5049        <!-- The text appearance for the day numbers in the calendar grid. -->
5050        <attr name="dateTextAppearance" format="reference" />
5051        <!-- @hide The background color used for the day selection indicator. -->
5052        <attr name="daySelectorColor" format="color" />
5053        <!-- @hide The background color used for the day highlight indicator. -->
5054        <attr name="dayHighlightColor" format="color" />
5055        <!-- @hide Which style of calendar delegate to use. -->
5056        <attr name="calendarViewMode">
5057            <enum name="holo" value="0" />
5058            <enum name="material" value="1" />
5059        </attr>
5060
5061        <!-- @deprecated Whether do show week numbers. -->
5062        <attr name="showWeekNumber" format="boolean" />
5063        <!-- @deprecated The number of weeks to be shown. -->
5064        <attr name="shownWeekCount" format="integer"/>
5065        <!-- @deprecated The background color for the selected week. -->
5066        <attr name="selectedWeekBackgroundColor" format="color|reference" />
5067        <!-- @deprecated The color for the dates of the focused month. -->
5068        <attr name="focusedMonthDateColor" format="color|reference" />
5069        <!-- @deprecated The color for the dates of an unfocused month. -->
5070        <attr name="unfocusedMonthDateColor" format="color|reference" />
5071        <!-- @deprecated The color for the week numbers. -->
5072        <attr name="weekNumberColor" format="color|reference" />
5073        <!-- @deprecated The color for the separator line between weeks. -->
5074        <attr name="weekSeparatorLineColor" format="color|reference" />
5075        <!-- @deprecated Drawable for the vertical bar shown at the beginning and at the end of the selected date. -->
5076        <attr name="selectedDateVerticalBar" format="reference" />
5077    </declare-styleable>
5078
5079    <declare-styleable name="NumberPicker">
5080        <!-- @hide Color for the solid color background if such for optimized rendering. -->
5081        <attr name="solidColor" format="color|reference" />
5082        <!-- @hide The divider for making the selection area. -->
5083        <attr name="selectionDivider" format="reference" />
5084        <!-- @hide The height of the selection divider. -->
5085        <attr name="selectionDividerHeight" format="dimension" />
5086        <!-- @hide The distance between the two selection dividers. -->
5087        <attr name="selectionDividersDistance" format="dimension" />
5088        <!-- @hide The min height of the NumberPicker. -->
5089        <attr name="internalMinHeight" format="dimension" />
5090        <!-- @hide The max height of the NumberPicker. -->
5091        <attr name="internalMaxHeight" format="dimension" />
5092        <!-- @hide The min width of the NumberPicker. -->
5093        <attr name="internalMinWidth" format="dimension" />
5094        <!-- @hide The max width of the NumberPicker. -->
5095        <attr name="internalMaxWidth" format="dimension" />
5096        <!-- @hide The layout of the number picker. -->
5097        <attr name="internalLayout" />
5098        <!-- @hide The drawable for pressed virtual (increment/decrement) buttons. -->
5099        <attr name="virtualButtonPressedDrawable" format="reference"/>
5100        <!-- @hide If true then the selector wheel is hidden until the picker has focus. -->
5101        <attr name="hideWheelUntilFocused" format="boolean"/>
5102    </declare-styleable>
5103
5104    <declare-styleable name="TimePicker">
5105        <!-- @hide The layout of the legacy time picker. -->
5106        <attr name="legacyLayout" format="reference" />
5107        <!-- @hide The layout of the time picker. -->
5108        <attr name="internalLayout" />
5109
5110        <!-- The text color for the selected time header text, ex. "12" or
5111             "PM". This should be a color state list where the activated state
5112             will be used when the minute picker or hour picker is active.-->
5113        <attr name="headerTextColor" />
5114        <!-- The background for the header containing the currently selected time. -->
5115        <attr name="headerBackground" />
5116
5117        <!-- The color for the hours/minutes numbers. This should be a color
5118             state list where the activated state will be used when the number
5119             is active.-->
5120        <attr name="numbersTextColor" format="color" />
5121        <!-- The color for the inner hours numbers used in 24-hour mode. This
5122             should be a color state list where the activated state will be
5123             used when the number is active.-->
5124        <attr name="numbersInnerTextColor" format="color" />
5125        <!-- The background color for the hours/minutes numbers. -->
5126        <attr name="numbersBackgroundColor" format="color" />
5127        <!-- The color for the hours/minutes selector. -->
5128        <attr name="numbersSelectorColor" format="color" />
5129
5130        <!-- Defines the look of the widget. Prior to the L release, the only choice was
5131             spinner. As of L, with the Material theme selected, the default layout is clock,
5132             but this attribute can be used to force spinner to be used instead. -->
5133        <attr name="timePickerMode">
5134            <!-- Time picker with spinner controls to select the time. -->
5135            <enum name="spinner" value="1" />
5136            <!-- Time picker with clock face to select the time. -->
5137            <enum name="clock" value="2" />
5138        </attr>
5139
5140        <!-- The text appearance for the AM/PM header.
5141             @deprecated Use headerTextColor instead. -->
5142        <attr name="headerAmPmTextAppearance" format="reference" />
5143        <!-- The text appearance for the time header.
5144             @deprecated Use headerTextColor instead. -->
5145        <attr name="headerTimeTextAppearance" format="reference" />
5146        <!-- The color for the AM/PM selectors.
5147             {@deprecated Use headerTextColor instead.}-->
5148        <attr name="amPmTextColor" format="color" />
5149        <!-- The background color state list for the AM/PM selectors.
5150             {@deprecated Use headerBackground instead.}-->
5151        <attr name="amPmBackgroundColor" format="color" />
5152    </declare-styleable>
5153
5154    <!-- ========================= -->
5155    <!-- Drawable class attributes -->
5156    <!-- ========================= -->
5157    <eat-comment />
5158
5159    <!-- Base attributes that are available to all Drawable objects. -->
5160    <declare-styleable name="Drawable">
5161        <!-- Provides initial visibility state of the drawable; the default
5162             value is false.  See
5163             {@link android.graphics.drawable.Drawable#setVisible}. -->
5164        <attr name="visible" format="boolean" />
5165        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5166             RTL (right-to-left).  See
5167             {@link android.graphics.drawable.Drawable#setAutoMirrored}. -->
5168        <attr name="autoMirrored" format="boolean" />
5169    </declare-styleable>
5170
5171    <!-- Drawable class used to wrap other drawables. -->
5172    <declare-styleable name="DrawableWrapper">
5173        <!-- The wrapped drawable. -->
5174        <attr name="drawable" />
5175    </declare-styleable>
5176
5177    <!-- Drawable used to render several states. Each state is represented by
5178         a child drawable. -->
5179    <declare-styleable name="StateListDrawable">
5180        <!-- Indicates whether the drawable should be initially visible. -->
5181        <attr name="visible" />
5182        <!-- If true, allows the drawable's padding to change based on the
5183             current state that is selected.  If false, the padding will
5184             stay the same (based on the maximum padding of all the states).
5185             Enabling this feature requires that the owner of the drawable
5186             deal with performing layout when the state changes, which is
5187             often not supported. -->
5188        <attr name="variablePadding" format="boolean" />
5189        <!-- If true, the drawable's reported internal size will remain
5190             constant as the state changes; the size is the maximum of all
5191             of the states.  If false, the size will vary based on the
5192             current state. -->
5193        <attr name="constantSize" format="boolean" />
5194        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5195             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5196             an RGB 565 screen). -->
5197        <attr name="dither" format="boolean" />
5198        <!-- Amount of time (in milliseconds) to fade in a new state drawable. -->
5199        <attr name="enterFadeDuration" format="integer" />
5200        <!-- Amount of time (in milliseconds) to fade out an old state drawable. -->
5201        <attr name="exitFadeDuration" format="integer" />
5202        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5203             RTL (right-to-left). -->
5204        <attr name="autoMirrored"/>
5205    </declare-styleable>
5206
5207    <!-- Drawable used to render several states with animated transitions. Each state
5208         is represented by a child drawable with an optional keyframe ID. -->
5209    <declare-styleable name="AnimatedStateListDrawable">
5210        <!-- Indicates whether the drawable should be initially visible. -->
5211        <attr name="visible" />
5212        <!-- If true, allows the drawable's padding to change based on the
5213             current state that is selected.  If false, the padding will
5214             stay the same (based on the maximum padding of all the states).
5215             Enabling this feature requires that the owner of the drawable
5216             deal with performing layout when the state changes, which is
5217             often not supported. -->
5218        <attr name="variablePadding" />
5219        <!-- If true, the drawable's reported internal size will remain
5220             constant as the state changes; the size is the maximum of all
5221             of the states.  If false, the size will vary based on the
5222             current state. -->
5223        <attr name="constantSize" />
5224        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5225             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5226             an RGB 565 screen). -->
5227        <attr name="dither" />
5228        <!-- Amount of time (in milliseconds) to fade in a new state drawable. -->
5229        <attr name="enterFadeDuration" />
5230        <!-- Amount of time (in milliseconds) to fade out an old state drawable. -->
5231        <attr name="exitFadeDuration" />
5232        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5233             RTL (right-to-left). -->
5234        <attr name="autoMirrored"/>
5235    </declare-styleable>
5236
5237    <!-- Represents a single state inside a StateListDrawable. -->
5238    <declare-styleable name="StateListDrawableItem">
5239        <!-- Reference to a drawable resource to use for the state. If not
5240             given, the drawable must be defined by the first child tag. -->
5241        <attr name="drawable" />
5242    </declare-styleable>
5243
5244    <!-- Transition used to animate between states with keyframe IDs. -->
5245    <declare-styleable name="AnimatedStateListDrawableItem">
5246        <!-- Reference to a drawable resource to use for the frame.  If not
5247             given, the drawable must be defined by the first child tag. -->
5248        <attr name="drawable" />
5249        <!-- Keyframe identifier for use in specifying transitions. -->
5250        <attr name="id" />
5251    </declare-styleable>
5252
5253    <!-- Transition used to animate between states with keyframe IDs. -->
5254    <declare-styleable name="AnimatedStateListDrawableTransition">
5255        <!-- Keyframe identifier for the starting state. -->
5256        <attr name="fromId" format="reference" />
5257        <!-- Keyframe identifier for the ending state. -->
5258        <attr name="toId" format="reference" />
5259        <!-- Reference to a animation drawable resource to use for the frame.  If not
5260             given, the animation drawable must be defined by the first child tag. -->
5261        <attr name="drawable" />
5262        <!-- Whether this transition is reversible. -->
5263        <attr name="reversible" format="boolean" />
5264    </declare-styleable>
5265
5266    <!-- Drawable used to render several animated frames. -->
5267    <declare-styleable name="AnimationDrawable">
5268        <attr name="visible" />
5269        <attr name="variablePadding" />
5270        <!-- If true, the animation will only run a single time and then
5271             stop.  If false (the default), it will continually run,
5272             restarting at the first frame after the last has finished. -->
5273        <attr name="oneshot" format="boolean" />
5274    </declare-styleable>
5275
5276    <!-- Represents a single frame inside an AnimationDrawable. -->
5277    <declare-styleable name="AnimationDrawableItem">
5278        <!-- Amount of time (in milliseconds) to display this frame. -->
5279        <attr name="duration" format="integer" />
5280        <!-- Reference to a drawable resource to use for the frame.  If not
5281             given, the drawable must be defined by the first child tag. -->
5282        <attr name="drawable" format="reference" />
5283    </declare-styleable>
5284
5285    <!-- Attributes that can be assigned to a StateListAnimator item. -->
5286    <declare-styleable name="StateListAnimatorItem">
5287        <attr name="animation"/>
5288    </declare-styleable>
5289
5290    <!-- Attributes that can be assigned to a ColorStateList item. -->
5291    <declare-styleable name="ColorStateListItem">
5292        <!-- Base color for this state. -->
5293        <attr name="color" />
5294        <!-- Alpha multiplier applied to the base color. -->
5295        <attr name="alpha" />
5296    </declare-styleable>
5297
5298    <!-- Drawable used to render a geometric shape, with a gradient or a solid color. -->
5299    <declare-styleable name="GradientDrawable">
5300        <!-- Indicates whether the drawable should intially be visible. -->
5301        <attr name="visible" />
5302        <!-- Enables or disables dithering. -->
5303        <attr name="dither" />
5304        <!-- Indicates what shape to fill with a gradient. -->
5305        <attr name="shape">
5306            <!-- Rectangle shape, with optional rounder corners. -->
5307            <enum name="rectangle" value="0" />
5308            <!-- Oval shape. -->
5309            <enum name="oval" value="1" />
5310            <!-- Line shape. -->
5311            <enum name="line" value="2" />
5312            <!-- Ring shape. -->
5313            <enum name="ring" value="3" />
5314        </attr>
5315        <!-- Inner radius of the ring expressed as a ratio of the ring's width. For instance,
5316             if innerRadiusRatio=9, then the inner radius equals the ring's width divided by 9.
5317             This value is ignored if innerRadius is defined. Default value is 9. -->
5318        <attr name="innerRadiusRatio" format="float" />
5319        <!-- Thickness of the ring expressed as a ratio of the ring's width. For instance,
5320             if thicknessRatio=3, then the thickness equals the ring's width divided by 3.
5321             This value is ignored if innerRadius is defined. Default value is 3. -->
5322        <attr name="thicknessRatio" format="float" />
5323        <!-- Inner radius of the ring. When defined, innerRadiusRatio is ignored. -->
5324        <attr name="innerRadius" format="dimension" />
5325        <!-- Thickness of the ring. When defined, thicknessRatio is ignored. -->
5326        <attr name="thickness" format="dimension" />
5327        <!-- Indicates whether the drawable's level affects the way the gradient is drawn. -->
5328        <attr name="useLevel" />
5329        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5330             no tint is applied. May be a color state list. -->
5331        <attr name="tint" />
5332        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5333             default value is src_in, which treats the drawable as an alpha mask. -->
5334        <attr name="tintMode" />
5335        <!-- Left optical inset.
5336             @hide Until optical insets are fully supported. -->
5337        <attr name="opticalInsetLeft" />
5338        <!-- Top optical inset.
5339             @hide Until optical insets are fully supported. -->
5340        <attr name="opticalInsetTop" />
5341        <!-- Right optical inset.
5342             @hide Until optical insets are fully supported. -->
5343        <attr name="opticalInsetRight" />
5344        <!-- Bottom optical inset.
5345             @hide Until optical insets are fully supported. -->
5346        <attr name="opticalInsetBottom" />
5347    </declare-styleable>
5348
5349    <!-- Used to specify the size of the shape for GradientDrawable. -->
5350    <declare-styleable name="GradientDrawableSize">
5351        <!-- Width of the gradient shape. -->
5352        <attr name="width" />
5353        <!-- Height of the gradient shape. -->
5354        <attr name="height" />
5355    </declare-styleable>
5356
5357    <!-- Used to describe the gradient used to fill the shape of a GradientDrawable. -->
5358    <declare-styleable name="GradientDrawableGradient">
5359        <!-- Start color of the gradient. -->
5360        <attr name="startColor" format="color" />
5361        <!-- Optional center color. For linear gradients, use centerX or centerY
5362             to place the center color. -->
5363        <attr name="centerColor" format="color" />
5364        <!-- End color of the gradient. -->
5365        <attr name="endColor" format="color" />
5366        <attr name="useLevel" format="boolean" />
5367        <!-- Angle of the gradient. -->
5368        <attr name="angle" format="float" />
5369        <!-- Type of gradient. The default type is linear. -->
5370        <attr name="type">
5371            <!-- Linear gradient. -->
5372            <enum name="linear" value="0" />
5373            <!-- Radial, or circular, gradient. -->
5374            <enum name="radial" value="1" />
5375            <!-- Sweep, or angled or diamond, gradient. -->
5376            <enum name="sweep"  value="2" />
5377        </attr>
5378        <!-- X coordinate of the origin of the gradient within the shape. -->
5379        <attr name="centerX" format="float|fraction" />
5380        <!-- Y coordinate of the origin of the gradient within the shape. -->
5381        <attr name="centerY" format="float|fraction" />
5382        <!-- Radius of the gradient, used only with radial gradient. -->
5383        <attr name="gradientRadius" format="float|fraction|dimension" />
5384    </declare-styleable>
5385
5386    <!-- Used to fill the shape of GradientDrawable with a solid color. -->
5387    <declare-styleable name="GradientDrawableSolid">
5388        <!-- Solid color for the gradient shape. -->
5389        <attr name="color" format="color" />
5390    </declare-styleable>
5391
5392    <!-- Used to describe the optional stroke of a GradientDrawable. -->
5393    <declare-styleable name="GradientDrawableStroke">
5394        <!-- Width of the gradient shape's stroke. -->
5395        <attr name="width" />
5396        <!-- Color of the gradient shape's stroke. -->
5397        <attr name="color" />
5398        <!-- Length of a dash in the stroke. -->
5399        <attr name="dashWidth" format="dimension" />
5400        <!-- Gap between dashes in the stroke. -->
5401        <attr name="dashGap" format="dimension" />
5402    </declare-styleable>
5403
5404    <!-- Describes the corners for the rectangle shape of a GradientDrawable.
5405         This can be used to render rounded corners. -->
5406    <declare-styleable name="DrawableCorners">
5407        <!-- Defines the radius of the four corners. -->
5408        <attr name="radius" format="dimension" />
5409        <!-- Radius of the top left corner. -->
5410        <attr name="topLeftRadius" format="dimension" />
5411        <!-- Radius of the top right corner. -->
5412        <attr name="topRightRadius" format="dimension" />
5413        <!-- Radius of the bottom left corner. -->
5414        <attr name="bottomLeftRadius" format="dimension" />
5415        <!-- Radius of the bottom right corner. -->
5416        <attr name="bottomRightRadius" format="dimension" />
5417    </declare-styleable>
5418
5419    <!-- Used to specify the optional padding of a GradientDrawable. -->
5420    <declare-styleable name="GradientDrawablePadding">
5421        <!-- Amount of left padding inside the gradient shape. -->
5422        <attr name="left" format="dimension" />
5423        <!-- Amount of top padding inside the gradient shape. -->
5424        <attr name="top" format="dimension" />
5425        <!-- Amount of right padding inside the gradient shape. -->
5426        <attr name="right" format="dimension" />
5427        <!-- Amount of bottom padding inside the gradient shape. -->
5428        <attr name="bottom" format="dimension" />
5429    </declare-styleable>
5430
5431    <!-- Drawable used to render several drawables stacked on top of each other.
5432         Each child drawable can be controlled individually. -->
5433    <declare-styleable name="LayerDrawable">
5434        <!-- Indicates the opacity of the layer. This can be useful to allow the
5435              system to enable drawing optimizations. The default value is
5436              translucent. -->
5437        <attr name="opacity">
5438            <!-- Indicates that the layer is opaque and contains no transparent
5439                 nor translucent pixels. -->
5440            <enum name="opaque" value="-1" />
5441            <!-- The layer is completely transparent (no pixel will be drawn.) -->
5442            <enum name="transparent" value="-2" />
5443            <!-- The layer has translucent pixels. -->
5444            <enum name="translucent" value="-3" />
5445        </attr>
5446        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5447             RTL (right-to-left). -->
5448        <attr name="autoMirrored" />
5449        <!-- Indicates how layer padding should affect the bounds of subsequent layers.
5450             The default padding mode value is nest. -->
5451        <attr name="paddingMode">
5452            <!-- Nest each layer inside the padding of the previous layer. -->
5453            <enum name="nest" value="0" />
5454            <!-- Stack each layer directly atop the previous layer. -->
5455            <enum name="stack" value="1" />
5456        </attr>
5457        <!-- Explicit top padding. Overrides child padding. -->
5458        <attr name="paddingTop" />
5459        <!-- Explicit bottom padding. Overrides child padding. -->
5460        <attr name="paddingBottom" />
5461        <!-- Explicit left padding. Overrides child padding. -->
5462        <attr name="paddingLeft" />
5463        <!-- Explicit right padding. Overrides child padding. -->
5464        <attr name="paddingRight" />
5465        <!-- Explicit start padding. Overrides child padding. Takes precedence
5466             over absolute padding (e.g. left when layout direction is LTR). -->
5467        <attr name="paddingStart" />
5468        <!-- Explicit end padding. Overrides child padding. Takes precedence
5469             over absolute padding (e.g. right when layout direction is LTR). -->
5470        <attr name="paddingEnd" />
5471    </declare-styleable>
5472
5473    <!-- Describes an item (or child) of a LayerDrawable. -->
5474    <declare-styleable name="LayerDrawableItem">
5475        <!-- Left inset to apply to the layer. -->
5476        <attr name="left" />
5477        <!-- Top inset to apply to the layer. -->
5478        <attr name="top" />
5479        <!-- Right inset to apply to the layer. -->
5480        <attr name="right" />
5481        <!-- Bottom inset to apply to the layer. -->
5482        <attr name="bottom" />
5483        <!-- Start inset to apply to the layer. Overrides {@code left} or
5484             {@code right} depending on layout direction. -->
5485        <attr name="start" format="dimension" />
5486        <!-- End inset to apply to the layer. Overrides {@code left} or
5487             {@code right} depending on layout direction. -->
5488        <attr name="end" format="dimension" />
5489        <!-- Width of the layer. Defaults to the layer's intrinsic width. -->
5490        <attr name="width" />
5491        <!-- Height of the layer. Defaults to the layer's intrinsic height -->
5492        <attr name="height" />
5493        <!-- Gravity used to align the layer within its container. If no value
5494             is specified, the default behavior depends on whether an explicit
5495             width or height has been set, If no dimension is set, gravity in
5496             that direction defaults to {@code fill_horizontal} or
5497             {@code fill_vertical}; otherwise, it defaults to {@code left} or
5498             {@code top}. -->
5499        <attr name="gravity" />
5500        <!-- Drawable used to render the layer. -->
5501        <attr name="drawable" />
5502        <!-- Identifier of the layer. This can be used to retrieve the layer
5503             from a drawable container. -->
5504        <attr name="id" />
5505    </declare-styleable>
5506
5507    <declare-styleable name="LevelListDrawableItem">
5508        <!-- The minimum level allowed for this item. -->
5509        <attr name="minLevel" format="integer" />
5510        <!-- The maximum level allowed for this item. -->
5511        <attr name="maxLevel" format="integer" />
5512        <attr name="drawable" />
5513    </declare-styleable>
5514
5515    <!-- Drawable used to rotate another drawable. -->
5516    <declare-styleable name="RotateDrawable">
5517        <attr name="visible" />
5518        <attr name="fromDegrees" format="float" />
5519        <attr name="toDegrees" format="float" />
5520        <attr name="pivotX" format="float|fraction" />
5521        <attr name="pivotY" format="float|fraction" />
5522        <attr name="drawable" />
5523    </declare-styleable>
5524
5525    <declare-styleable name="AnimatedRotateDrawable">
5526        <attr name="visible" />
5527        <attr name="frameDuration" format="integer" />
5528        <attr name="framesCount" format="integer" />
5529        <attr name="pivotX" />
5530        <attr name="pivotY" />
5531        <attr name="drawable" />
5532    </declare-styleable>
5533
5534    <!-- Drawable used to render the Material progress indicator. -->
5535    <declare-styleable name="MaterialProgressDrawable">
5536        <attr name="visible" />
5537        <attr name="thickness" />
5538        <attr name="innerRadius" />
5539        <attr name="width" />
5540        <attr name="height" />
5541        <attr name="color" />
5542    </declare-styleable>
5543
5544    <!-- Drawable used to wrap and inset another drawable. -->
5545    <declare-styleable name="InsetDrawable">
5546        <attr name="visible" />
5547        <attr name="drawable" />
5548        <attr name="inset"  format="dimension"/>
5549        <attr name="insetLeft" format="dimension" />
5550        <attr name="insetRight" format="dimension" />
5551        <attr name="insetTop" format="dimension" />
5552        <attr name="insetBottom" format="dimension" />
5553    </declare-styleable>
5554
5555    <!-- Drawable used to draw bitmaps. -->
5556    <declare-styleable name="BitmapDrawable">
5557        <!-- Identifier of the bitmap file. This attribute is mandatory. -->
5558        <attr name="src" />
5559        <!-- Enables or disables antialiasing. Antialiasing can be used to smooth the
5560             edges of a bitmap when rotated. Default value is false. -->
5561        <attr name="antialias" format="boolean" />
5562        <!-- Enables or disables bitmap filtering. Filtering is used when the bitmap is
5563             shrunk or stretched to smooth its apperance. Default value is true. -->
5564        <attr name="filter" format="boolean" />
5565        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5566             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5567             an RGB 565 screen). Default value is true. -->
5568        <attr name="dither" />
5569        <!-- Defines the gravity for the bitmap. The gravity indicates where to position
5570             the drawable in its container if the bitmap is smaller than the container. -->
5571        <attr name="gravity" />
5572        <!-- Defines the tile mode. When the tile mode is enabled, the bitmap is repeated.
5573             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5574        <attr name="tileMode">
5575            <!-- Do not tile the bitmap. This is the default value. -->
5576            <enum name="disabled" value="-1" />
5577            <!-- Replicates the edge color. -->
5578            <enum name="clamp" value="0" />
5579            <!-- Repeats the bitmap in both direction. -->
5580            <enum name="repeat" value="1" />
5581            <!-- Repeats the shader's image horizontally and vertically, alternating
5582                 mirror images so that adjacent images always seam. -->
5583            <enum name="mirror" value="2" />
5584        </attr>
5585        <!-- Defines the horizontal tile mode. When the tile mode is enabled, the bitmap is repeated.
5586             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5587        <attr name="tileModeX">
5588            <!-- Do not tile the bitmap. This is the default value. -->
5589            <enum name="disabled" value="-1" />
5590            <!-- Replicates the edge color. -->
5591            <enum name="clamp" value="0" />
5592            <!-- Repeats the bitmap horizontally. -->
5593            <enum name="repeat" value="1" />
5594            <!-- Repeats the shader's image horizontally, alternating
5595                 mirror images so that adjacent images always seam. -->
5596            <enum name="mirror" value="2" />
5597        </attr>
5598        <!-- Defines the vertical tile mode. When the tile mode is enabled, the bitmap is repeated.
5599             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5600        <attr name="tileModeY">
5601            <!-- Do not tile the bitmap. This is the default value. -->
5602            <enum name="disabled" value="-1" />
5603            <!-- Replicates the edge color. -->
5604            <enum name="clamp" value="0" />
5605            <!-- Repeats the bitmap vertically. -->
5606            <enum name="repeat" value="1" />
5607            <!-- Repeats the shader's image vertically, alternating
5608                 mirror images so that adjacent images always seam. -->
5609            <enum name="mirror" value="2" />
5610        </attr>
5611        <!-- Enables or disables the mipmap hint. See
5612            {@link android.graphics.Bitmap#setHasMipMap(boolean)} for more information.
5613            Default value is false. -->
5614        <attr name="mipMap" format="boolean" />
5615        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5616             RTL (right-to-left). -->
5617        <attr name="autoMirrored" />
5618        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5619             no tint is applied. May be a color state list. -->
5620        <attr name="tint" />
5621        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5622             default value is src_in, which treats the drawable as an alpha mask. -->
5623        <attr name="tintMode">
5624            <!-- The tint is drawn on top of the drawable.
5625                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
5626            <enum name="src_over" value="3" />
5627            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
5628                 color channels are thrown out. [Sa * Da, Sc * Da] -->
5629            <enum name="src_in" value="5" />
5630            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
5631                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
5632            <enum name="src_atop" value="9" />
5633            <!-- Multiplies the color and alpha channels of the drawable with those of
5634                 the tint. [Sa * Da, Sc * Dc] -->
5635            <enum name="multiply" value="14" />
5636            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
5637            <enum name="screen" value="15" />
5638            <!-- Combines the tint and drawable color and alpha channels, clamping the
5639                 result to valid color values. Saturate(S + D) -->
5640            <enum name="add" value="16" />
5641        </attr>
5642        <!-- Specifies the alpha multiplier to apply to the base drawable. -->
5643        <attr name="alpha" />
5644    </declare-styleable>
5645
5646    <!-- Drawable used to draw 9-patches. -->
5647    <declare-styleable name="NinePatchDrawable">
5648        <!-- Identifier of the bitmap file. This attribute is mandatory. -->
5649        <attr name="src" />
5650        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5651             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5652             an RGB 565 screen). -->
5653        <attr name="dither" />
5654        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5655             RTL (right-to-left). -->
5656        <attr name="autoMirrored" />
5657        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5658             no tint is applied. May be a color state list. -->
5659        <attr name="tint" />
5660        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5661             default value is src_in, which treats the drawable as an alpha mask. -->
5662        <attr name="tintMode" />
5663        <!-- Specifies the alpha multiplier to apply to the base drawable. -->
5664        <attr name="alpha" />
5665    </declare-styleable>
5666
5667    <!-- Drawable used to draw a single color. -->
5668    <declare-styleable name="ColorDrawable">
5669        <!-- The color to use. -->
5670        <attr name="color" />
5671    </declare-styleable>
5672
5673    <!-- Drawable used to show animated touch feedback. -->
5674    <declare-styleable name="RippleDrawable">
5675        <!-- The color to use for ripple effects. This attribute is required. -->
5676        <attr name="color" />
5677        <!-- The radius of the ripple when fully expanded. By default, the
5678             radius is computed based on the size of the ripple's container. -->
5679        <attr name="radius" />
5680    </declare-styleable>
5681
5682    <declare-styleable name="ScaleDrawable">
5683        <!-- Scale width, expressed as a percentage of the drawable's bound. The value's
5684             format is XX%. For instance: 100%, 12.5%, etc.-->
5685        <attr name="scaleWidth" format="string" />
5686        <!-- Scale height, expressed as a percentage of the drawable's bound. The value's
5687             format is XX%. For instance: 100%, 12.5%, etc.-->
5688        <attr name="scaleHeight" format="string" />
5689        <!-- Specifies where the drawable is positioned after scaling. The default value is
5690             left. -->
5691        <attr name="scaleGravity">
5692            <!-- Push object to the top of its container, not changing its size. -->
5693            <flag name="top" value="0x30" />
5694            <!-- Push object to the bottom of its container, not changing its size. -->
5695            <flag name="bottom" value="0x50" />
5696            <!-- Push object to the left of its container, not changing its size. -->
5697            <flag name="left" value="0x03" />
5698            <!-- Push object to the right of its container, not changing its size. -->
5699            <flag name="right" value="0x05" />
5700            <!-- Place object in the vertical center of its container, not changing its size. -->
5701            <flag name="center_vertical" value="0x10" />
5702            <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
5703            <flag name="fill_vertical" value="0x70" />
5704            <!-- Place object in the horizontal center of its container, not changing its size. -->
5705            <flag name="center_horizontal" value="0x01" />
5706            <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
5707            <flag name="fill_horizontal" value="0x07" />
5708            <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
5709            <flag name="center" value="0x11" />
5710            <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
5711            <flag name="fill" value="0x77" />
5712            <!-- Additional option that can be set to have the top and/or bottom edges of
5713                 the child clipped to its container's bounds.
5714                 The clip will be based on the vertical gravity: a top gravity will clip the bottom
5715                 edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
5716            <flag name="clip_vertical" value="0x80" />
5717            <!-- Additional option that can be set to have the left and/or right edges of
5718                 the child clipped to its container's bounds.
5719                 The clip will be based on the horizontal gravity: a left gravity will clip the right
5720                 edge, a right gravity will clip the left edge, and neither will clip both edges. -->
5721            <flag name="clip_horizontal" value="0x08" />
5722            <!-- Push object to the beginning of its container, not changing its size. -->
5723            <flag name="start" value="0x00800003" />
5724            <!-- Push object to the end of its container, not changing its size. -->
5725            <flag name="end" value="0x00800005" />
5726        </attr>
5727        <!-- Specifies the initial drawable level in the range 0 to 10000. -->
5728        <attr name="level" format="integer" />
5729        <!-- Reference to a drawable resource to draw with the specified scale. -->
5730        <attr name="drawable" />
5731        <!-- Use the drawable's intrinsic width and height as minimum size values.
5732             Useful if the target drawable is a 9-patch or otherwise should not be scaled
5733             down beyond a minimum size. -->
5734        <attr name="useIntrinsicSizeAsMinimum" format="boolean" />
5735    </declare-styleable>
5736
5737    <declare-styleable name="ClipDrawable">
5738        <!-- The orientation for the clip. -->
5739        <attr name="clipOrientation">
5740            <!-- Clip the drawable horizontally. -->
5741            <flag name="horizontal" value="1" />
5742            <!-- Clip the drawable vertically. -->
5743            <flag name="vertical" value="2" />
5744        </attr>
5745        <!-- Specifies where to clip within the drawable. The default value is
5746             left. -->
5747        <attr name="gravity" />
5748        <!-- Reference to a drawable resource to draw with the specified scale. -->
5749        <attr name="drawable" />
5750    </declare-styleable>
5751
5752    <!-- Defines the padding of a ShapeDrawable. -->
5753    <declare-styleable name="ShapeDrawablePadding">
5754        <!-- Left padding. -->
5755        <attr name="left" />
5756        <!-- Top padding. -->
5757        <attr name="top" />
5758        <!-- Right padding. -->
5759        <attr name="right" />
5760        <!-- Bottom padding. -->
5761        <attr name="bottom" />
5762    </declare-styleable>
5763
5764    <!-- Drawable used to draw shapes. -->
5765    <declare-styleable name="ShapeDrawable">
5766        <!-- Defines the color of the shape. -->
5767        <attr name="color" />
5768        <!-- Defines the width of the shape. -->
5769        <attr name="width" />
5770        <!-- Defines the height of the shape. -->
5771        <attr name="height" />
5772        <!-- Enables or disables dithering. -->
5773        <attr name="dither" />
5774        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5775             no tint is applied. May be a color state list. -->
5776        <attr name="tint" />
5777        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5778             default value is src_in, which treats the drawable as an alpha mask. -->
5779        <attr name="tintMode" />
5780    </declare-styleable>
5781
5782    <!-- ========================== -->
5783    <!--   VectorDrawable class   -->
5784    <!-- ========================== -->
5785    <eat-comment />
5786
5787    <!-- Drawable used to draw vector paths. -->
5788    <declare-styleable name="VectorDrawable">
5789        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5790             no tint is applied. May be a color state list. -->
5791        <attr name="tint" />
5792        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5793             default value is src_in, which treats the drawable as an alpha mask. -->
5794        <attr name="tintMode" />
5795        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5796             RTL (right-to-left). -->
5797        <attr name="autoMirrored" />
5798        <!-- The intrinsic width of the Vector Drawable. -->
5799        <attr name="width" />
5800        <!-- The intrinsic height of the Vector Drawable. -->
5801        <attr name="height" />
5802        <!-- The width of the canvas the drawing is on. -->
5803        <attr name="viewportWidth" format="float"/>
5804        <!-- The height of the canvas the drawing is on. -->
5805        <attr name="viewportHeight" format="float"/>
5806        <!-- The name of this vector drawable -->
5807        <attr name="name" />
5808        <!-- The opacity of the whole vector drawable, as a value between 0
5809             (completely transparent) and 1 (completely opaque). -->
5810        <attr name="alpha" />
5811        <!-- Left optical inset.
5812             @hide Until optical insets are fully supported. -->
5813        <attr name="opticalInsetLeft" format="dimension" />
5814        <!-- Top optical inset.
5815             @hide Until optical insets are fully supported. -->
5816        <attr name="opticalInsetTop" format="dimension" />
5817        <!-- Right optical inset.
5818             @hide Until optical insets are fully supported. -->
5819        <attr name="opticalInsetRight" format="dimension" />
5820        <!-- Bottom optical inset.
5821             @hide Until optical insets are fully supported. -->
5822        <attr name="opticalInsetBottom" format="dimension" />
5823    </declare-styleable>
5824
5825    <!-- Defines the group used in VectorDrawables. -->
5826    <declare-styleable name="VectorDrawableGroup">
5827        <!-- The name of this group -->
5828        <attr name="name" />
5829        <!-- The amount to rotate the group -->
5830        <attr name="rotation" />
5831        <!-- The X coordinate of the center of rotation of a group -->
5832        <attr name="pivotX" />
5833        <!-- The Y coordinate of the center of rotation of a group -->
5834        <attr name="pivotY" />
5835        <!-- The amount to translate the group on X coordinate -->
5836        <attr name="translateX" format="float"/>
5837        <!-- The amount to translate the group on Y coordinate -->
5838        <attr name="translateY" format="float"/>
5839        <!-- The amount to scale the group on X coordinate -->
5840        <attr name="scaleX" />
5841        <!-- The amount to scale the group on X coordinate -->
5842        <attr name="scaleY" />
5843    </declare-styleable>
5844
5845    <!-- Defines the path used in VectorDrawables. -->
5846    <declare-styleable name="VectorDrawablePath">
5847        <!-- The name of this path -->
5848        <attr name="name" />
5849        <!-- The width a path stroke -->
5850        <attr name="strokeWidth" format="float" />
5851        <!-- The color to stroke the path if not defined implies no stroke-->
5852        <attr name="strokeColor" format="color" />
5853        <!-- The opacity of a path stroke, as a value between 0 (completely transparent)
5854             and 1 (completely opaque) -->
5855        <attr name="strokeAlpha" format="float" />
5856        <!-- The color to fill the path if not defined implies no fill-->
5857        <attr name="fillColor" format="color" />
5858        <!-- The alpha of the path fill, as a value between 0 (completely transparent)
5859             and 1 (completely opaque)-->
5860        <attr name="fillAlpha" format="float" />
5861        <!-- The specification of the operations that define the path  -->
5862        <attr name="pathData" format="string" />
5863        <!-- The fraction of the path to trim from the start from 0 to 1 -->
5864        <attr name="trimPathStart" format="float" />
5865        <!-- The fraction of the path to trim from the end from 0 to 1  -->
5866        <attr name="trimPathEnd" format="float" />
5867        <!-- Shift trim region (allows visible region to include the start and end) from 0 to 1  -->
5868        <attr name="trimPathOffset" format="float" />
5869        <!-- sets the linecap for a stroked path -->
5870        <attr name="strokeLineCap" format="enum">
5871            <enum name="butt" value="0"/>
5872            <enum name="round" value="1"/>
5873            <enum name="square" value="2"/>
5874        </attr>
5875        <!-- sets the lineJoin for a stroked path -->
5876        <attr name="strokeLineJoin" format="enum">
5877            <enum name="miter" value="0"/>
5878            <enum name="round" value="1"/>
5879            <enum name="bevel" value="2"/>
5880        </attr>
5881        <!-- sets the Miter limit for a stroked path -->
5882        <attr name="strokeMiterLimit" format="float"/>
5883        <!-- sets the fillType for a path. It is the same as SVG's "fill-rule" properties.
5884             For more details, see https://www.w3.org/TR/SVG/painting.html#FillRuleProperty -->
5885        <attr name="fillType" format="enum">
5886            <enum name="nonZero" value="0"/>
5887            <enum name="evenOdd" value="1"/>
5888        </attr>
5889    </declare-styleable>
5890
5891    <!-- Defines the clip path used in VectorDrawables. -->
5892    <declare-styleable name="VectorDrawableClipPath">
5893        <!-- The Name of this path -->
5894        <attr name="name" />
5895        <!-- The specification of the operations that define the path  -->
5896        <attr name="pathData"/>
5897    </declare-styleable>
5898
5899    <!-- ========================== -->
5900    <!--   AnimatedVectorDrawable class   -->
5901    <!-- ========================== -->
5902    <eat-comment />
5903
5904    <!-- Define the AnimatedVectorDrawable. -->
5905    <declare-styleable name="AnimatedVectorDrawable">
5906        <!-- The static vector drawable. -->
5907        <attr name="drawable" />
5908    </declare-styleable>
5909
5910    <!-- Defines the target used in the AnimatedVectorDrawable. -->
5911    <declare-styleable name="AnimatedVectorDrawableTarget">
5912        <!-- The name of the target path, group or vector drawable -->
5913        <attr name="name" />
5914        <!-- The animation for the target path, group or vector drawable -->
5915        <attr name="animation" />
5916    </declare-styleable>
5917
5918    <!-- ========================== -->
5919    <!-- Animation class attributes -->
5920    <!-- ========================== -->
5921    <eat-comment />
5922
5923    <declare-styleable name="Animation">
5924        <!-- Defines the interpolator used to smooth the animation movement in time. -->
5925        <attr name="interpolator" />
5926        <!-- When set to true, the value of fillBefore is taken into account. -->
5927        <attr name="fillEnabled" format="boolean" />
5928        <!-- When set to true or when fillEnabled is not set to true, the animation transformation
5929             is applied before the animation has started. The default value is true. -->
5930        <attr name="fillBefore" format="boolean" />
5931        <!-- When set to true, the animation transformation is applied after the animation is
5932             over. The default value is false. If fillEnabled is not set to true and the
5933             animation is not set on a View, fillAfter is assumed to be true.-->
5934        <attr name="fillAfter" format="boolean" />
5935        <!-- Amount of time (in milliseconds) for the animation to run. -->
5936        <attr name="duration" />
5937        <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
5938        <attr name="startOffset" format="integer" />
5939        <!-- Defines how many times the animation should repeat. The default value is 0. -->
5940        <attr name="repeatCount" format="integer">
5941            <enum name="infinite" value="-1" />
5942        </attr>
5943        <!-- Defines the animation behavior when it reaches the end and the repeat count is
5944             greater than 0 or infinite. The default value is restart. -->
5945        <attr name="repeatMode">
5946            <!-- The animation starts again from the beginning. -->
5947            <enum name="restart" value="1" />
5948            <!-- The animation plays backward. -->
5949            <enum name="reverse" value="2" />
5950        </attr>
5951        <!-- Allows for an adjustment of the Z ordering of the content being
5952             animated for the duration of the animation.  The default value is normal. -->
5953        <attr name="zAdjustment">
5954            <!-- The content being animated be kept in its current Z order. -->
5955            <enum name="normal" value="0" />
5956            <!-- The content being animated is forced on top of all other
5957                 content for the duration of the animation. -->
5958            <enum name="top" value="1" />
5959            <!-- The content being animated is forced under all other
5960                 content for the duration of the animation. -->
5961            <enum name="bottom" value="-1" />
5962        </attr>
5963        <!-- Special background behind animation.  Only for use with window
5964             animations.  Can only be a color, and only black.  If 0, the
5965             default, there is no background. -->
5966        <attr name="background" />
5967        <!-- Special option for window animations: if this window is on top
5968             of a wallpaper, don't animate the wallpaper with it. -->
5969        <attr name="detachWallpaper" format="boolean" />
5970    </declare-styleable>
5971
5972    <declare-styleable name="AnimationSet">
5973        <attr name="shareInterpolator" format="boolean" />
5974        <attr name="fillBefore" />
5975        <attr name="fillAfter" />
5976        <attr name="duration" />
5977        <attr name="startOffset" />
5978        <attr name="repeatMode" />
5979    </declare-styleable>
5980
5981    <declare-styleable name="RotateAnimation">
5982        <attr name="fromDegrees" />
5983        <attr name="toDegrees" />
5984        <attr name="pivotX" />
5985        <attr name="pivotY" />
5986    </declare-styleable>
5987
5988    <declare-styleable name="ScaleAnimation">
5989        <attr name="fromXScale" format="float|fraction|dimension" />
5990        <attr name="toXScale" format="float|fraction|dimension" />
5991        <attr name="fromYScale" format="float|fraction|dimension" />
5992        <attr name="toYScale" format="float|fraction|dimension" />
5993        <attr name="pivotX" />
5994        <attr name="pivotY" />
5995    </declare-styleable>
5996
5997    <declare-styleable name="TranslateAnimation">
5998        <attr name="fromXDelta" format="float|fraction" />
5999        <attr name="toXDelta" format="float|fraction" />
6000        <attr name="fromYDelta" format="float|fraction" />
6001        <attr name="toYDelta" format="float|fraction" />
6002    </declare-styleable>
6003
6004    <declare-styleable name="AlphaAnimation">
6005        <attr name="fromAlpha" format="float" />
6006        <attr name="toAlpha" format="float" />
6007    </declare-styleable>
6008
6009    <declare-styleable name="LayoutAnimation">
6010        <!-- Fraction of the animation duration used to delay the beginning of
6011         the animation of each child. -->
6012        <attr name="delay" format="float|fraction" />
6013        <!-- Animation to use on each child. -->
6014        <attr name="animation" format="reference" />
6015        <!-- The order in which the animations will be started. -->
6016        <attr name="animationOrder">
6017            <!-- Animations are started in the natural order. -->
6018            <enum name="normal" value="0" />
6019            <!-- Animations are started in the reverse order. -->
6020            <enum name="reverse" value="1" />
6021            <!-- Animations are started randomly. -->
6022            <enum name="random" value="2" />
6023        </attr>
6024        <!-- Interpolator used to interpolate the delay between the start of
6025         each animation. -->
6026        <attr name="interpolator" />
6027    </declare-styleable>
6028
6029    <declare-styleable name="GridLayoutAnimation">
6030        <!-- Fraction of the animation duration used to delay the beginning of
6031         the animation of each column. -->
6032        <attr name="columnDelay" format="float|fraction" />
6033        <!-- Fraction of the animation duration used to delay the beginning of
6034         the animation of each row. -->
6035        <attr name="rowDelay" format="float|fraction" />
6036        <!-- Direction of the animation in the grid. -->
6037        <attr name="direction">
6038            <!-- Animates columns from left to right. -->
6039            <flag name="left_to_right" value="0x0" />
6040            <!-- Animates columns from right to left. -->
6041            <flag name="right_to_left" value="0x1" />
6042            <!-- Animates rows from top to bottom. -->
6043            <flag name="top_to_bottom" value="0x0" />
6044            <!-- Animates rows from bottom to top. -->
6045            <flag name="bottom_to_top" value="0x2" />
6046        </attr>
6047        <!-- Priority of the rows and columns. When the priority is none,
6048         both rows and columns have the same priority. When the priority is
6049         column, the animations will be applied on the columns first. The same
6050         goes for rows. -->
6051        <attr name="directionPriority">
6052            <!-- Rows and columns are animated at the same time. -->
6053            <enum name="none"   value="0" />
6054            <!-- Columns are animated first. -->
6055            <enum name="column" value="1" />
6056            <!-- Rows are animated first. -->
6057            <enum name="row"    value="2" />
6058        </attr>
6059    </declare-styleable>
6060
6061    <declare-styleable name="AccelerateInterpolator">
6062        <!-- This is the amount of deceleration to add when easing in. -->
6063        <attr name="factor" format="float" />
6064    </declare-styleable>
6065
6066    <declare-styleable name="DecelerateInterpolator">
6067        <!-- This is the amount of acceleration to add when easing out. -->
6068        <attr name="factor" />
6069    </declare-styleable>
6070
6071    <declare-styleable name="CycleInterpolator">
6072        <attr name="cycles" format="float" />
6073    </declare-styleable>
6074
6075    <declare-styleable name="AnticipateInterpolator">
6076        <!-- This is the amount of tension. -->
6077        <attr name="tension" format="float" />
6078    </declare-styleable>
6079
6080    <declare-styleable name="OvershootInterpolator">
6081        <!-- This is the amount of tension. -->
6082        <attr name="tension" />
6083    </declare-styleable>
6084
6085    <declare-styleable name="AnticipateOvershootInterpolator">
6086        <!-- This is the amount of tension. -->
6087        <attr name="tension" />
6088        <!-- This is the amount by which to multiply the tension. -->
6089        <attr name="extraTension" format="float" />
6090    </declare-styleable>
6091
6092    <declare-styleable name="PathInterpolator">
6093        <!-- The x coordinate of the first control point of the cubic Bezier -->
6094        <attr name="controlX1" format="float" />
6095        <!-- The y coordinate of the first control point of the cubic Bezier -->
6096        <attr name="controlY1" format="float" />
6097        <!-- The x coordinate of the second control point of the cubic Bezier -->
6098        <attr name="controlX2" format="float" />
6099        <!-- The y coordinate of the second control point of the cubic Bezier -->
6100        <attr name="controlY2" format="float" />
6101        <!-- The control points defined as a path.
6102             When pathData is defined, then both of the control points of the
6103             cubic Bezier will be ignored. -->
6104        <attr name="pathData"/>
6105    </declare-styleable>
6106
6107    <!-- ========================== -->
6108    <!-- Transition attributes -->
6109    <!-- ========================== -->
6110    <eat-comment />
6111
6112    <!-- Use specific transition subclass names as the root tag of the XML resource that
6113         describes a {@link android.transition.Transition Transition},
6114         such as <code>changeBounds</code>, <code>fade</code>, and <code>transitionSet</code>. -->
6115    <declare-styleable name="Transition">
6116        <!-- Amount of time (in milliseconds) that the transition should run. -->
6117        <attr name="duration" />
6118        <!-- Delay in milliseconds before the transition starts. -->
6119        <attr name="startDelay" format="integer" />
6120        <!-- Interpolator to be used in the animations spawned by this transition. -->
6121        <attr name="interpolator" />
6122        <!-- The match order to use for the transition. This is a comma-separated
6123             list of values, containing one or more of the following:
6124             id, itemId, name, instance. These correspond to
6125             {@link android.transition.Transition#MATCH_ID},
6126             {@link android.transition.Transition#MATCH_ITEM_ID},
6127             {@link android.transition.Transition#MATCH_NAME}, and
6128             {@link android.transition.Transition#MATCH_INSTANCE}, respectively.
6129             This corresponds to {@link android.transition.Transition#setMatchOrder(int...)}. -->
6130        <attr name="matchOrder" format="string" />
6131    </declare-styleable>
6132
6133    <!-- @hide For internal use only. Use only as directed. -->
6134    <declare-styleable name="EpicenterTranslateClipReveal">
6135        <attr name="interpolatorX" format="reference" />
6136        <attr name="interpolatorY" format="reference" />
6137        <attr name="interpolatorZ" format="reference" />
6138    </declare-styleable>
6139
6140    <!-- Use <code>fade</code>as the root tag of the XML resource that
6141         describes a {@link android.transition.Fade Fade} transition.
6142         The attributes of the {@link android.R.styleable#Transition Transition}
6143         resource are available in addition to the specific attributes of Fade
6144         described here. -->
6145    <declare-styleable name="Fade">
6146        <!-- Equivalent to <code>transitionVisibilityMode</code>, fadingMode works only
6147             with the Fade transition. -->
6148        <attr name="fadingMode">
6149            <!-- Fade will only fade appearing items in. -->
6150            <enum name="fade_in" value="1" />
6151            <!-- Fade will only fade disappearing items out. -->
6152            <enum name="fade_out" value="2" />
6153            <!-- Fade will fade appearing items in and disappearing items out. -->
6154            <enum name="fade_in_out" value="3" />
6155        </attr>
6156    </declare-styleable>
6157
6158    <!-- Use <code>slide</code>as the root tag of the XML resource that
6159         describes a {@link android.transition.Slide Slide} transition.
6160         The attributes of the {@link android.R.styleable#Transition Transition}
6161         resource are available in addition to the specific attributes of Slide
6162         described here. -->
6163    <declare-styleable name="Slide">
6164        <attr name="slideEdge">
6165            <!-- Slide to and from the left edge of the Scene. -->
6166            <enum name="left" value="0x03" />
6167            <!-- Slide to and from the top edge of the Scene. -->
6168            <enum name="top" value="0x30" />
6169            <!-- Slide to and from the right edge of the Scene. -->
6170            <enum name="right" value="0x05" />
6171            <!-- Slide to and from the bottom edge of the Scene. -->
6172            <enum name="bottom" value="0x50" />
6173            <!-- Slide to and from the x-axis position at the start of the Scene root. -->
6174            <enum name="start" value="0x00800003"/>
6175            <!-- Slide to and from the x-axis position at the end of the Scene root. -->
6176            <enum name="end" value="0x00800005"/>
6177        </attr>
6178    </declare-styleable>
6179
6180    <!-- Use with {@link android.transition.Visibility} transitions, such as
6181         <code>slide</code>, <code>explode</code>, and <code>fade</code> to mark which
6182         views are supported. -->
6183    <declare-styleable name="VisibilityTransition">
6184        <!-- Changes whether the transition supports appearing and/or disappearing Views.
6185             Corresponds to {@link android.transition.Visibility#setMode(int)}. -->
6186        <attr name="transitionVisibilityMode">
6187            <!-- Only appearing Views will be supported. -->
6188            <flag name="mode_in" value="1" />
6189            <!-- Only disappearing Views will be supported. -->
6190            <flag name="mode_out" value="2" />
6191        </attr>
6192    </declare-styleable>
6193    <!-- Use <code>target</code> as the root tag of the XML resource that
6194     describes a {@link android.transition.Transition#addTarget(int)
6195     targetId} of a transition. There can be one or more targets inside
6196     a <code>targets</code> tag, which is itself inside an appropriate
6197     {@link android.R.styleable#Transition Transition} tag.
6198     -->
6199    <declare-styleable name="TransitionTarget">
6200        <!-- The id of a target on which this transition will animate changes. -->
6201        <attr name="targetId" format="reference" />
6202        <!-- The id of a target to exclude from this transition. -->
6203        <attr name="excludeId" format="reference" />
6204        <!-- The fully-qualified name of the Class to include in this transition. -->
6205        <attr name="targetClass" />
6206        <!-- The fully-qualified name of the Class to exclude from this transition. -->
6207        <attr name="excludeClass" format="string" />
6208        <!-- The transitionName of the target on which this transition will animation changes. -->
6209        <attr name="targetName" format="string" />
6210        <!-- The transitionName of the target to exclude from this transition. -->
6211        <attr name="excludeName" format="string" />
6212    </declare-styleable>
6213
6214    <!-- Use <code>set</code> as the root tag of the XML resource that
6215         describes a {@link android.transition.TransitionSet
6216         TransitionSet} transition. -->
6217    <declare-styleable name="TransitionSet">
6218        <attr name="transitionOrdering">
6219            <!-- child transitions should be played together. -->
6220            <enum name="together" value="0" />
6221            <!-- child transitions should be played sequentially, in the same order
6222            as the xml. -->
6223            <enum name="sequential" value="1" />
6224        </attr>
6225    </declare-styleable>
6226
6227    <!-- Use <code>changeTransform</code> as the root tag of the XML resource that
6228         describes a {@link android.transition.ChangeTransform} transition. -->
6229    <declare-styleable name="ChangeTransform">
6230        <!-- A parent change should use an overlay or affect the transform of the
6231             transitionining View. Default is true. Corresponds to
6232             {@link android.transition.ChangeTransform#setReparentWithOverlay(boolean)}. -->
6233        <attr name="reparentWithOverlay" format="boolean"/>
6234
6235        <!-- Tells ChangeTransform to track parent changes. Default is true. Corresponds to
6236             {@link android.transition.ChangeTransform#setReparent(boolean)}. -->
6237        <attr name="reparent" format="boolean"/>
6238    </declare-styleable>
6239
6240    <!-- Use <code>changeBounds</code>as the root tag of the XML resource that
6241         describes a {@link android.transition.ChangeBounds} transition.
6242         The attributes of the {@link android.R.styleable#Transition Transition}
6243         resource are available in addition to the specific attributes of ChangeBounds
6244         described here. -->
6245    <declare-styleable name="ChangeBounds">
6246        <!-- Resize the view by adjusting the clipBounds rather than changing the
6247             dimensions of the view itself. The default value is false. -->
6248        <attr name="resizeClip" format="boolean"/>
6249    </declare-styleable>
6250
6251    <!-- Use <code>transitionManager</code> as the root tag of the XML resource that
6252         describes a {@link android.transition.TransitionManager
6253         TransitionManager}. -->
6254    <declare-styleable name="TransitionManager">
6255        <!-- The id of a transition to be used in a particular scene change. -->
6256        <attr name="transition" format="reference" />
6257        <!-- The originating scene in this scene change. -->
6258        <attr name="fromScene" format="reference" />
6259        <!-- The destination scene in this scene change. -->
6260        <attr name="toScene" format="reference" />
6261    </declare-styleable>
6262
6263    <!-- Use <code>arcMotion</code> as the root tag of the XML resource that
6264         describes a {@link android.transition.ArcMotion}. This must be used
6265         within a transition with which the PathMotion should be associated. -->
6266    <declare-styleable name="ArcMotion">
6267        <!-- The minimum arc angle in degrees between the start and end points when
6268             they are close to horizontal. -->
6269        <attr name="minimumHorizontalAngle" format="float" />
6270        <!-- The minimum arc angle in degrees between the start and end points when
6271             they are close to vertical. -->
6272        <attr name="minimumVerticalAngle" format="float" />
6273        <!-- The maximum arc angle in degrees between the start and end points. -->
6274        <attr name="maximumAngle" format="float" />
6275    </declare-styleable>
6276
6277    <!-- Use <code>patternPathMotion</code> as the root tag of the XML resource that
6278         describes a {@link android.transition.PatternPathMotion}. This must be used
6279         within a transition with which the PathMotion should be associated. -->
6280    <declare-styleable name="PatternPathMotion">
6281        <!-- The path string describing the pattern to use for the PathPathMotion. -->
6282        <attr name="patternPathData" format="string" />
6283    </declare-styleable>
6284
6285    <!-- ========================== -->
6286    <!-- ValueAnimator class attributes -->
6287    <!-- ========================== -->
6288    <eat-comment />
6289
6290    <declare-styleable name="Animator">
6291        <!-- Defines the interpolator used to smooth the animation movement in time. -->
6292        <attr name="interpolator" />
6293        <!-- Amount of time (in milliseconds) for the animation to run. -->
6294        <attr name="duration" />
6295        <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
6296        <attr name="startOffset"/>
6297        <!-- Defines how many times the animation should repeat. The default value is 0. -->
6298        <attr name="repeatCount"/>
6299        <!-- Defines the animation behavior when it reaches the end and the repeat count is
6300             greater than 0 or infinite. The default value is restart. -->
6301        <attr name="repeatMode"/>
6302        <!-- Value the animation starts from. -->
6303        <attr name="valueFrom" format="float|integer|color|dimension|string"/>
6304        <!-- Value the animation animates to. -->
6305        <attr name="valueTo" format="float|integer|color|dimension|string"/>
6306        <!-- The type of valueFrom and valueTo. -->
6307        <attr name="valueType">
6308            <!-- The given values are floats. This is the default value if valueType is
6309                 unspecified. Note that if any value attribute has a color value
6310                 (beginning with "#"), then this attribute is ignored and the color values are
6311                 interpreted as integers. -->
6312            <enum name="floatType" value="0" />
6313            <!-- values are integers. -->
6314            <enum name="intType"   value="1" />
6315            <!-- values are paths defined as strings.
6316                 This type is used for path morphing in AnimatedVectorDrawable. -->
6317            <enum name="pathType"   value="2" />
6318            <!-- values are colors, which are integers starting with "#". -->
6319            <enum name="colorType"   value="3" />
6320        </attr>
6321        <!-- Placeholder for a deleted attribute. This should be removed before M release. -->
6322        <attr name="removeBeforeMRelease" format="integer" />
6323    </declare-styleable>
6324
6325    <declare-styleable name="PropertyValuesHolder">
6326        <attr name="valueType" />
6327        <attr name="propertyName" />
6328        <attr name="valueFrom" />
6329        <attr name="valueTo" />
6330    </declare-styleable>
6331
6332    <declare-styleable name="Keyframe">
6333        <attr name="valueType" />
6334        <attr name="value" />
6335        <attr name="fraction" format="float" />
6336        <!-- Defines a per-interval interpolator for this keyframe. This interpolator will be used
6337             to interpolate between this keyframe and the previous keyframe.-->
6338        <attr name="interpolator" />
6339    </declare-styleable>
6340
6341    <!-- ========================== -->
6342    <!-- ObjectAnimator class attributes -->
6343    <!-- ========================== -->
6344    <eat-comment />
6345
6346    <declare-styleable name="PropertyAnimator">
6347        <!-- Name of the property being animated. -->
6348        <attr name="propertyName" format="string"/>
6349        <!-- Name of the property being animated as the X coordinate of the pathData. -->
6350        <attr name="propertyXName" format="string"/>
6351        <!-- Name of the property being animated as the Y coordinate of the pathData. -->
6352        <attr name="propertyYName" format="string"/>
6353        <!-- The path used to animate the properties in the ObjectAnimator -->
6354        <attr name="pathData"/>
6355    </declare-styleable>
6356
6357
6358    <!-- ========================== -->
6359    <!-- AnimatorSet class attributes -->
6360    <!-- ========================== -->
6361    <eat-comment />
6362
6363    <declare-styleable name="AnimatorSet">
6364        <!-- Name of the property being animated. -->
6365        <attr name="ordering">
6366            <!-- child animations should be played together. -->
6367            <enum name="together" value="0" />
6368            <!-- child animations should be played sequentially, in the same order as the xml. -->
6369            <enum name="sequentially" value="1" />
6370        </attr>
6371    </declare-styleable>
6372
6373    <!-- ========================== -->
6374    <!-- State attributes           -->
6375    <!-- ========================== -->
6376    <eat-comment />
6377
6378    <!-- Set of framework-provided states that may be specified on a Drawable. Actual usage of
6379         states may vary between view implementations, as documented on the individual state
6380         attributes. -->
6381    <declare-styleable name="DrawableStates">
6382        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6383             set when a view has input focus. -->
6384        <attr name="state_focused" format="boolean" />
6385        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6386             set when a view's window has input focus. -->
6387        <attr name="state_window_focused" format="boolean" />
6388        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6389             set when a view is enabled. -->
6390        <attr name="state_enabled" format="boolean" />
6391        <!-- State identifier indicating that the object <var>may</var> display a check mark. See
6392             {@link android.R.attr#state_checked} for the identifier that indicates whether it is
6393             actually checked. -->
6394        <attr name="state_checkable" format="boolean"/>
6395        <!-- State identifier indicating that the object is currently checked.  See
6396             {@link android.R.attr#state_checkable} for an additional identifier that can indicate
6397             if any object may ever display a check, regardless of whether state_checked is
6398             currently set. -->
6399        <attr name="state_checked" format="boolean"/>
6400        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6401             set when a view (or one of its parents) is currently selected. -->
6402        <attr name="state_selected" format="boolean" />
6403        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6404             set when the user is pressing down in a view. -->
6405        <attr name="state_pressed" format="boolean" />
6406        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6407             set when a view or its parent has been "activated" meaning the user has currently
6408             marked it as being of interest.  This is an alternative representation of
6409             state_checked for when the state should be propagated down the view hierarchy. -->
6410        <attr name="state_activated" format="boolean" />
6411        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6412             set when a view or drawable is considered "active" by its host. Actual usage may vary
6413             between views. Consult the host view documentation for details. -->
6414        <attr name="state_active" format="boolean" />
6415        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6416             set when a view or drawable is considered "single" by its host. Actual usage may vary
6417             between views. Consult the host view documentation for details. -->
6418        <attr name="state_single" format="boolean" />
6419        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6420             set when a view or drawable is in the first position in an ordered set. Actual usage
6421             may vary between views. Consult the host view documentation for details. -->
6422        <attr name="state_first" format="boolean" />
6423        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6424             set when a view or drawable is in the middle position in an ordered set. Actual usage
6425             may vary between views. Consult the host view documentation for details. -->
6426        <attr name="state_middle" format="boolean" />
6427        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6428             set when a view or drawable is in the last position in an ordered set. Actual usage
6429             may vary between views. Consult the host view documentation for details. -->
6430        <attr name="state_last" format="boolean" />
6431        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6432             indicating that the Drawable is in a view that is hardware accelerated.
6433             This means that the device can at least render a full-screen scaled
6434             bitmap with one layer of text and bitmaps composited on top of it
6435             at 60fps.  When this is set, the colorBackgroundCacheHint will be
6436             ignored even if it specifies a solid color, since that optimization
6437             is not needed. -->
6438        <attr name="state_accelerated" format="boolean" />
6439        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6440             set when a pointer is hovering over the view. -->
6441        <attr name="state_hovered" format="boolean" />
6442        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6443             indicating that the Drawable is in a view that is capable of accepting a drop of
6444             the content currently being manipulated in a drag-and-drop operation. -->
6445        <attr name="state_drag_can_accept" format="boolean" />
6446        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6447             indicating that a drag operation (for which the Drawable's view is a valid recipient)
6448             is currently positioned over the Drawable. -->
6449        <attr name="state_drag_hovered" format="boolean" />
6450        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6451             indicating that a View has accessibility focus. -->
6452        <attr name="state_accessibility_focused" format="boolean" />
6453    </declare-styleable>
6454    <declare-styleable name="ViewDrawableStates">
6455        <attr name="state_pressed" />
6456        <attr name="state_focused" />
6457        <attr name="state_selected" />
6458        <attr name="state_window_focused" />
6459        <attr name="state_enabled" />
6460        <attr name="state_activated" />
6461        <attr name="state_accelerated" />
6462        <attr name="state_hovered" />
6463        <attr name="state_drag_can_accept" />
6464        <attr name="state_drag_hovered" />
6465    </declare-styleable>
6466    <!-- State array representing a menu item that is currently checked. -->
6467    <declare-styleable name="MenuItemCheckedState">
6468        <attr name="state_checkable" />
6469        <attr name="state_checked" />
6470    </declare-styleable>
6471    <!-- State array representing a menu item that is checkable but is not currently checked. -->
6472    <declare-styleable name="MenuItemUncheckedState">
6473        <attr name="state_checkable" />
6474    </declare-styleable>
6475    <!-- State array representing a menu item that is currently focused and checked. -->
6476    <declare-styleable name="MenuItemCheckedFocusedState">
6477        <attr name="state_checkable" />
6478        <attr name="state_checked" />
6479        <attr name="state_focused" />
6480    </declare-styleable>
6481    <!-- State array representing a menu item that is focused and checkable but is not currently checked. -->
6482    <declare-styleable name="MenuItemUncheckedFocusedState">
6483        <attr name="state_checkable" />
6484        <attr name="state_focused" />
6485    </declare-styleable>
6486    <!-- State array representing an expandable list child's indicator. -->
6487    <declare-styleable name="ExpandableListChildIndicatorState">
6488        <!-- State identifier indicating the child is the last child within its group. -->
6489        <attr name="state_last" />
6490    </declare-styleable>
6491    <!-- State array representing an expandable list group's indicator. -->
6492    <declare-styleable name="ExpandableListGroupIndicatorState">
6493        <!-- State identifier indicating the group is expanded. -->
6494        <attr name="state_expanded" format="boolean" />
6495        <!-- State identifier indicating the group is empty (has no children). -->
6496        <attr name="state_empty" format="boolean" />
6497    </declare-styleable>
6498    <declare-styleable name="PopupWindowBackgroundState">
6499        <!-- State identifier indicating the popup will be above the anchor. -->
6500        <attr name="state_above_anchor" format="boolean" />
6501    </declare-styleable>
6502    <declare-styleable name="TextViewMultiLineBackgroundState">
6503        <!-- State identifier indicating a TextView has a multi-line layout. -->
6504        <attr name="state_multiline" format="boolean" />
6505    </declare-styleable>
6506
6507    <!-- ***************************************************************** -->
6508    <!-- Support for Searchable activities. -->
6509    <!-- ***************************************************************** -->
6510    <eat-comment />
6511
6512    <!-- Searchable activities and applications must provide search configuration information
6513        in an XML file, typically called searchable.xml.  This file is referenced in your manifest.
6514        For a more in-depth discussion of search configuration, please refer to
6515        {@link android.app.SearchManager}. -->
6516    <declare-styleable name="Searchable">
6517          <!--<strong>This is deprecated.</strong><br/>The default
6518              application icon is now always used, so this attribute is
6519              obsolete.-->
6520        <attr name="icon" />
6521        <!-- This is the user-displayed name of the searchable activity.  <i>Required
6522            attribute.</i> -->
6523        <attr name="label" />
6524        <!-- If supplied, this string will be displayed as a hint to the user.  <i>Optional
6525            attribute.</i> -->
6526        <attr name="hint" />
6527        <!-- If supplied, this string will be displayed as the text of the "Search" button.
6528          <i>Optional attribute.</i>
6529          {@deprecated This will create a non-standard UI appearance, because the search bar UI is
6530                       changing to use only icons for its buttons.}-->
6531        <attr name="searchButtonText" format="string" />
6532        <attr name="inputType" />
6533        <attr name="imeOptions" />
6534
6535        <!-- Additional features are controlled by mode bits in this field.  Omitting
6536            this field, or setting to zero, provides default behavior.  <i>Optional attribute.</i>
6537        -->
6538        <attr name="searchMode">
6539          <!-- If set, this flag enables the display of the search target (label) within the
6540               search bar.  If neither bad mode is selected, no badge will be shown. -->
6541          <flag name="showSearchLabelAsBadge" value="0x04" />
6542          <!--<strong>This is deprecated.</strong><br/>The default
6543              application icon is now always used, so this option is
6544              obsolete.-->
6545          <flag name="showSearchIconAsBadge" value="0x08" />
6546          <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_INTENT_DATA to
6547               be considered as the text for suggestion query rewriting.  This should only
6548               be used when the values in SUGGEST_COLUMN_INTENT_DATA are suitable for user
6549               inspection and editing - typically, HTTP/HTTPS Uri's. -->
6550          <flag name="queryRewriteFromData" value="0x10" />
6551          <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_TEXT_1 to
6552               be considered as the text for suggestion query rewriting.  This should be used
6553               for suggestions in which no query text is provided and the SUGGEST_COLUMN_INTENT_DATA
6554               values are not suitable for user inspection and editing. -->
6555          <flag name="queryRewriteFromText" value="0x20" />
6556        </attr>
6557
6558        <!-- Voice search features are controlled by mode bits in this field.  Omitting
6559            this field, or setting to zero, provides default behavior.
6560            If showVoiceSearchButton is set, then launchWebSearch or launchRecognizer must
6561            also be set.  <i>Optional attribute.</i>
6562        -->
6563        <attr name="voiceSearchMode">
6564          <!-- If set, display a voice search button.  This only takes effect if voice search is
6565               available on the device. -->
6566          <flag name="showVoiceSearchButton" value="0x01" />
6567          <!-- If set, the voice search button will take the user directly to a built-in
6568               voice web search activity.  Most applications will not use this flag, as it
6569               will take the user away from the activity in which search was invoked. -->
6570          <flag name="launchWebSearch" value="0x02" />
6571          <!-- If set, the voice search button will take the user directly to a built-in
6572               voice recording activity.  This activity will prompt the user to speak,
6573               transcribe the spoken text, and forward the resulting query
6574               text to the searchable activity, just as if the user had typed it into
6575               the search UI and clicked the search button. -->
6576          <flag name="launchRecognizer" value="0x04" />
6577        </attr>
6578
6579        <!-- If provided, this specifies the language model that should be used by the
6580             voice recognition system.  See
6581             {@link android.speech.RecognizerIntent#EXTRA_LANGUAGE_MODEL } for more information.
6582             If not provided, the default value
6583             {@link android.speech.RecognizerIntent#LANGUAGE_MODEL_FREE_FORM } will be used. -->
6584        <attr name="voiceLanguageModel" format="string" />
6585        <!-- If provided, this specifies a prompt that will be displayed during voice input. -->
6586        <attr name="voicePromptText" format="string" />
6587        <!-- If provided, this specifies the spoken language to be expected, and that it will be
6588             different than the one set in the {@link java.util.Locale#getDefault()}. -->
6589        <attr name="voiceLanguage" format="string" />
6590        <!-- If provided, enforces the maximum number of results to return, including the "best"
6591             result which will always be provided as the SEARCH intent's primary query.  Must be one
6592             or greater.  If not provided, the recognizer will choose how many results to return.
6593             -->
6594        <attr name="voiceMaxResults" format="integer" />
6595
6596        <!-- If provided, this is the trigger indicating that the searchable activity
6597            provides suggestions as well.  The value must be a fully-qualified content provider
6598            authority (e.g. "com.example.android.apis.SuggestionProvider") and should match the
6599            "android:authorities" tag in your content provider's manifest entry.  <i>Optional
6600            attribute.</i> -->
6601        <attr name="searchSuggestAuthority" format="string" />
6602        <!-- If provided, this will be inserted in the suggestions query Uri, after the authority
6603            you have provide but before the standard suggestions path. <i>Optional attribute.</i>
6604            -->
6605        <attr name="searchSuggestPath" format="string" />
6606        <!-- If provided, suggestion queries will be passed into your query function
6607            as the <i>selection</i> parameter.  Typically this will be a WHERE clause for your
6608            database, and will contain a single question mark, which represents the actual query
6609            string that has been typed by the user.  If not provided, then the user query text
6610            will be appended to the query Uri (after an additional "/".)  <i>Optional
6611            attribute.</i> -->
6612        <attr name="searchSuggestSelection" format="string" />
6613
6614        <!-- If provided, and not overridden by an action in the selected suggestion, this
6615            string will be placed in the action field of the {@link android.content.Intent Intent}
6616            when the user clicks a suggestion.  <i>Optional attribute.</i> -->
6617        <attr name="searchSuggestIntentAction" format="string" />
6618        <!-- If provided, and not overridden by an action in the selected suggestion, this
6619            string will be placed in the data field of the {@link android.content.Intent Intent}
6620            when the user clicks a suggestion.  <i>Optional attribute.</i> -->
6621        <attr name="searchSuggestIntentData" format="string" />
6622
6623        <!-- If provided, this is the minimum number of characters needed to trigger
6624             search suggestions. The default value is 0. <i>Optional attribute.</i> -->
6625        <attr name="searchSuggestThreshold" format="integer" />
6626
6627        <!-- If provided and <code>true</code>, this searchable activity will be
6628             included in any global lists of search targets.
6629             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6630        <attr name="includeInGlobalSearch" format="boolean" />
6631
6632        <!-- If provided and <code>true</code>, this searchable activity will be invoked for all
6633             queries in a particular session. If set to <code>false</code> and the activity
6634             returned zero results for a query, it will not be invoked again in that session for
6635             supersets of that zero-results query. For example, if the activity returned zero
6636             results for "bo", it would not be queried again for "bob".
6637             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6638        <attr name="queryAfterZeroResults" format="boolean" />
6639        <!-- If provided, this string will be used to describe the searchable item in the
6640             searchable items settings within system search settings. <i>Optional
6641             attribute.</i> -->
6642        <attr name="searchSettingsDescription" format="string" />
6643
6644        <!-- If provided and <code>true</code>, URLs entered in the search dialog while searching
6645             within this activity would be detected and treated as URLs (show a 'go' button in the
6646             keyboard and invoke the browser directly when user launches the URL instead of passing
6647             the URL to the activity). If set to <code>false</code> any URLs entered are treated as
6648             normal query text.
6649             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6650        <attr name="autoUrlDetect" format="boolean" />
6651
6652    </declare-styleable>
6653
6654    <!-- In order to process special action keys during search, you must define them using
6655            one or more "ActionKey" elements in your Searchable metadata.  For a more in-depth
6656            discussion of action code handling, please refer to {@link android.app.SearchManager}.
6657    -->
6658    <declare-styleable name="SearchableActionKey">
6659        <!-- This attribute denotes the action key you wish to respond to.  Note that not
6660            all action keys are actually supported using this mechanism, as many of them are
6661            used for typing, navigation, or system functions.  This will be added to the
6662            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6663            searchable activity.  To examine the key code, use
6664            {@link android.content.Intent#getIntExtra getIntExtra(SearchManager.ACTION_KEY)}.
6665            <p>Note, in addition to the keycode, you must also provide one or more of the action
6666            specifier attributes.  <i>Required attribute.</i> -->
6667        <attr name="keycode" />
6668
6669        <!-- If you wish to handle an action key during normal search query entry, you
6670            must define an action string here.  This will be added to the
6671            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6672            searchable activity.  To examine the string, use
6673            {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
6674            <i>Optional attribute.</i> -->
6675        <attr name="queryActionMsg"  format="string" />
6676
6677        <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
6678            selected</i>, there are two ways to handle this.  If <i>all</i> of your suggestions
6679            can handle the action key, you can simply define the action message using this
6680            attribute.  This will be added to the
6681            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6682            searchable activity.  To examine the string, use
6683            {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
6684            <i>Optional attribute.</i> -->
6685        <attr name="suggestActionMsg"  format="string" />
6686
6687        <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
6688            selected</i>, but you do not wish to enable this action key for every suggestion,
6689            then you can use this attribute to control it on a suggestion-by-suggestion basis.
6690            First, you must define a column (and name it here) where your suggestions will include
6691            the action string.  Then, in your content provider, you must provide this column, and
6692            when desired, provide data in this column.
6693            The search manager will look at your suggestion cursor, using the string
6694            provided here in order to select a column, and will use that to select a string from
6695            the cursor.  That string will be added to the
6696            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to
6697            your searchable activity.  To examine the string, use
6698            {@link android.content.Intent#getStringExtra
6699            getStringExtra(SearchManager.ACTION_MSG)}.  <i>If the data does not exist for the
6700            selection suggestion, the action key will be ignored.</i><i>Optional attribute.</i> -->
6701        <attr name="suggestActionMsgColumn" format="string" />
6702
6703    </declare-styleable>
6704
6705    <!-- ***************************************************************** -->
6706    <!-- Support for MapView. -->
6707    <!-- ***************************************************************** -->
6708    <eat-comment />
6709
6710    <!-- The set of attributes for a MapView. -->
6711    <declare-styleable name="MapView">
6712        <!-- Value is a string that specifies the Maps API Key to use. -->
6713        <attr name="apiKey" format="string" />
6714    </declare-styleable>
6715
6716    <!-- **************************************************************** -->
6717    <!-- Menu XML inflation. -->
6718    <!-- **************************************************************** -->
6719    <eat-comment />
6720
6721    <!-- Base attributes that are available to all Menu objects. -->
6722    <declare-styleable name="Menu">
6723    </declare-styleable>
6724
6725    <!-- Base attributes that are available to all groups. -->
6726    <declare-styleable name="MenuGroup">
6727
6728        <!-- The ID of the group. -->
6729        <attr name="id" />
6730
6731        <!-- The category applied to all items within this group.
6732             (This will be or'ed with the orderInCategory attribute.) -->
6733        <attr name="menuCategory">
6734            <!-- Items are part of a container. -->
6735            <enum name="container" value="0x00010000" />
6736            <!-- Items are provided by the system. -->
6737            <enum name="system" value="0x00020000" />
6738            <!-- Items are user-supplied secondary (infrequently used). -->
6739            <enum name="secondary" value="0x00030000" />
6740            <!-- Items are alternative actions. -->
6741            <enum name="alternative" value="0x00040000" />
6742        </attr>
6743
6744        <!-- The order within the category applied to all items within this group.
6745             (This will be or'ed with the category attribute.) -->
6746        <attr name="orderInCategory" format="integer" />
6747
6748        <!-- Whether the items are capable of displaying a check mark. -->
6749        <attr name="checkableBehavior">
6750            <!-- The items are not checkable. -->
6751            <enum name="none" value="0" />
6752            <!-- The items are all checkable. -->
6753            <enum name="all" value="1" />
6754            <!-- The items are checkable and there will only be a single checked item in
6755                 this group. -->
6756            <enum name="single" value="2" />
6757        </attr>
6758
6759        <!-- Whether the items are shown/visible. -->
6760        <attr name="visible" />
6761
6762        <!-- Whether the items are enabled. -->
6763        <attr name="enabled" />
6764
6765    </declare-styleable>
6766
6767    <!-- Base attributes that are available to all Item objects. -->
6768    <declare-styleable name="MenuItem">
6769
6770        <!-- The ID of the item. -->
6771        <attr name="id" />
6772
6773        <!-- The category applied to the item.
6774             (This will be or'ed with the orderInCategory attribute.) -->
6775        <attr name="menuCategory" />
6776
6777        <!-- The order within the category applied to the item.
6778             (This will be or'ed with the category attribute.) -->
6779        <attr name="orderInCategory" />
6780
6781        <!-- The title associated with the item. -->
6782        <attr name="title" format="string" />
6783
6784        <!-- The condensed title associated with the item.  This is used in situations where the
6785             normal title may be too long to be displayed. -->
6786        <attr name="titleCondensed" format="string" />
6787
6788        <!-- The icon associated with this item.  This icon will not always be shown, so
6789             the title should be sufficient in describing this item. -->
6790        <attr name="icon" />
6791
6792        <!-- The alphabetic shortcut key.  This is the shortcut when using a keyboard
6793             with alphabetic keys. -->
6794        <attr name="alphabeticShortcut" format="string" />
6795
6796        <!-- The numeric shortcut key.  This is the shortcut when using a numeric (e.g., 12-key)
6797             keyboard. -->
6798        <attr name="numericShortcut" format="string" />
6799
6800        <!-- Whether the item is capable of displaying a check mark. -->
6801        <attr name="checkable" format="boolean" />
6802
6803        <!-- Whether the item is checked.  Note that you must first have enabled checking with
6804             the checkable attribute or else the check mark will not appear. -->
6805        <attr name="checked" />
6806
6807        <!-- Whether the item is shown/visible. -->
6808        <attr name="visible" />
6809
6810        <!-- Whether the item is enabled. -->
6811        <attr name="enabled" />
6812
6813        <!-- Name of a method on the Context used to inflate the menu that will be
6814             called when the item is clicked. -->
6815        <attr name="onClick" />
6816
6817        <!-- How this item should display in the Action Bar, if present. -->
6818        <attr name="showAsAction">
6819            <!-- Never show this item in an action bar, show it in the overflow menu instead.
6820                 Mutually exclusive with "ifRoom" and "always". -->
6821            <flag name="never" value="0" />
6822            <!-- Show this item in an action bar if there is room for it as determined
6823                 by the system. Favor this option over "always" where possible.
6824                 Mutually exclusive with "never" and "always". -->
6825            <flag name="ifRoom" value="1" />
6826            <!-- Always show this item in an actionbar, even if it would override
6827                 the system's limits of how much stuff to put there. This may make
6828                 your action bar look bad on some screens. In most cases you should
6829                 use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never". -->
6830            <flag name="always" value="2" />
6831            <!-- When this item is shown as an action in the action bar, show a text
6832                 label with it even if it has an icon representation. -->
6833            <flag name="withText" value="4" />
6834            <!-- This item's action view collapses to a normal menu
6835                 item. When expanded, the action view takes over a
6836                 larger segment of its container. -->
6837            <flag name="collapseActionView" value="8" />
6838        </attr>
6839
6840        <!-- An optional layout to be used as an action view.
6841             See {@link android.view.MenuItem#setActionView(android.view.View)}
6842             for more info. -->
6843        <attr name="actionLayout" format="reference" />
6844
6845        <!-- The name of an optional View class to instantiate and use as an
6846             action view. See {@link android.view.MenuItem#setActionView(android.view.View)}
6847             for more info. -->
6848        <attr name="actionViewClass" format="string" />
6849
6850        <!-- The name of an optional ActionProvider class to instantiate an action view
6851             and perform operations such as default action for that menu item.
6852             See {@link android.view.MenuItem#setActionProvider(android.view.ActionProvider)}
6853             for more info. -->
6854        <attr name="actionProviderClass" format="string" />
6855
6856    </declare-styleable>
6857
6858    <!-- Attrbitutes for a ActvityChooserView. -->
6859    <declare-styleable name="ActivityChooserView">
6860        <!-- The maximal number of items initially shown in the activity list. -->
6861        <attr name="initialActivityCount" format="string" />
6862        <!-- The drawable to show in the button for expanding the activities overflow popup.
6863             <strong>Note:</strong> Clients would like to set this drawable
6864             as a clue about the action the chosen activity will perform. For
6865             example, if share activity is to be chosen the drawable should
6866             give a clue that sharing is to be performed.
6867         -->
6868        <attr name="expandActivityOverflowButtonDrawable" format="reference" />
6869    </declare-styleable>
6870
6871    <!-- **************************************************************** -->
6872    <!-- Preferences framework. -->
6873    <!-- **************************************************************** -->
6874    <eat-comment />
6875
6876    <!-- Base attributes available to PreferenceGroup. -->
6877    <declare-styleable name="PreferenceGroup">
6878        <!-- Whether to order the Preference under this group as they appear in the XML file.
6879             If this is false, the ordering will follow the Preference order attribute and
6880             default to alphabetic for those without the order attribute. -->
6881        <attr name="orderingFromXml" format="boolean" />
6882    </declare-styleable>
6883
6884    <!-- Attribute for a header describing the item shown in the top-level list
6885         from which the selects the set of preference to dig in to. -->
6886    <declare-styleable name="PreferenceHeader">
6887        <!-- Identifier value for the header. -->
6888        <attr name="id" />
6889        <!-- The title of the item that is shown to the user. -->
6890        <attr name="title" />
6891        <!-- The summary for the item. -->
6892        <attr name="summary" format="string" />
6893        <!-- The title for the bread crumb of this item. -->
6894        <attr name="breadCrumbTitle" format="string" />
6895        <!-- The short title for the bread crumb of this item. -->
6896        <attr name="breadCrumbShortTitle" format="string" />
6897        <!-- An icon for the item. -->
6898        <attr name="icon" />
6899        <!-- The fragment that is displayed when the user selects this item. -->
6900        <attr name="fragment" format="string" />
6901    </declare-styleable>
6902
6903    <!-- WARNING:  If adding attributes to Preference, make sure it does not conflict
6904                   with a View's attributes.  Some subclasses (e.g., EditTextPreference)
6905                   proxy all attributes to its EditText widget. -->
6906    <eat-comment />
6907
6908    <!-- Base attributes available to Preference. -->
6909    <declare-styleable name="Preference">
6910        <!-- The optional icon for the preference -->
6911        <attr name="icon" />
6912        <!-- The key to store the Preference value. -->
6913        <attr name="key" format="string" />
6914        <!-- The title for the Preference in a PreferenceActivity screen. -->
6915        <attr name="title" />
6916        <!-- The summary for the Preference in a PreferenceActivity screen. -->
6917        <attr name="summary" />
6918        <!-- The order for the Preference (lower values are to be ordered first). If this is not
6919             specified, the default ordering will be alphabetic. -->
6920        <attr name="order" format="integer" />
6921        <!-- When used inside of a modern PreferenceActivity, this declares
6922             a new PreferenceFragment to be shown when the user selects this item. -->
6923        <attr name="fragment" />
6924        <!-- The layout for the Preference in a PreferenceActivity screen. This should
6925             rarely need to be changed, look at widgetLayout instead. -->
6926        <attr name="layout" />
6927        <!-- The layout for the controllable widget portion of a Preference. This is inflated
6928             into the layout for a Preference and should be used more frequently than
6929             the layout attribute. For example, a checkbox preference would specify
6930             a custom layout (consisting of just the CheckBox) here. -->
6931        <attr name="widgetLayout" format="reference" />
6932        <!-- Whether the Preference is enabled. -->
6933        <attr name="enabled" />
6934        <!-- Whether the Preference is selectable. -->
6935        <attr name="selectable" format="boolean" />
6936        <!-- The key of another Preference that this Preference will depend on.  If the other
6937             Preference is not set or is off, this Preference will be disabled. -->
6938        <attr name="dependency" format="string" />
6939        <!-- Whether the Preference stores its value to the shared preferences. -->
6940        <attr name="persistent" />
6941        <!-- The default value for the preference, which will be set either if persistence
6942             is off or persistence is on and the preference is not found in the persistent
6943             storage.  -->
6944        <attr name="defaultValue" format="string|boolean|integer|reference|float" />
6945        <!-- Whether the view of this Preference should be disabled when
6946             this Preference is disabled. -->
6947        <attr name="shouldDisableView" format="boolean" />
6948    </declare-styleable>
6949
6950    <!-- Base attributes available to CheckBoxPreference. -->
6951    <declare-styleable name="CheckBoxPreference">
6952        <!-- The summary for the Preference in a PreferenceActivity screen when the
6953             CheckBoxPreference is checked. If separate on/off summaries are not
6954             needed, the summary attribute can be used instead. -->
6955        <attr name="summaryOn" format="string" />
6956        <!-- The summary for the Preference in a PreferenceActivity screen when the
6957             CheckBoxPreference is unchecked. If separate on/off summaries are not
6958             needed, the summary attribute can be used instead. -->
6959        <attr name="summaryOff" format="string" />
6960        <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
6961             dependents will be disabled when this is unchecked, so the value of this preference is false. -->
6962        <attr name="disableDependentsState" format="boolean" />
6963    </declare-styleable>
6964
6965    <!-- Base attributes available to DialogPreference. -->
6966    <declare-styleable name="DialogPreference">
6967        <!-- The title in the dialog. -->
6968        <attr name="dialogTitle" format="string" />
6969        <!-- The message in the dialog. If a dialogLayout is provided and contains
6970             a TextView with ID android:id/message, this message will be placed in there. -->
6971        <attr name="dialogMessage" format="string" />
6972        <!-- The icon for the dialog. -->
6973        <attr name="dialogIcon" format="reference" />
6974        <!-- The positive button text for the dialog. Set to @null to hide the positive button. -->
6975        <attr name="positiveButtonText" format="string" />
6976        <!-- The negative button text for the dialog. Set to @null to hide the negative button. -->
6977        <attr name="negativeButtonText" format="string" />
6978        <!-- A layout to be used as the content View for the dialog. By default, this shouldn't
6979             be needed. If a custom DialogPreference is required, this should be set. For example,
6980             the EditTextPreference uses a layout with an EditText as this attribute. -->
6981        <attr name="dialogLayout" format="reference" />
6982    </declare-styleable>
6983
6984    <!-- Base attributes available to ListPreference. -->
6985    <declare-styleable name="ListPreference">
6986        <!-- The human-readable array to present as a list. Each entry must have a corresponding
6987             index in entryValues. -->
6988        <attr name="entries" />
6989        <!-- The array to find the value to save for a preference when an entry from
6990             entries is selected. If a user clicks on the second item in entries, the
6991             second item in this array will be saved to the preference. -->
6992        <attr name="entryValues" format="reference" />
6993    </declare-styleable>
6994
6995    <declare-styleable name="MultiSelectListPreference">
6996        <!-- The human-readable array to present as a list. Each entry must have a corresponding
6997             index in entryValues. -->
6998        <attr name="entries" />
6999        <!-- The array to find the value to save for a preference when an entry from
7000             entries is selected. If a user clicks the second item in entries, the
7001             second item in this array will be saved to the preference. -->
7002        <attr name="entryValues" />
7003    </declare-styleable>
7004
7005    <!-- Base attributes available to RingtonePreference. -->
7006    <declare-styleable name="RingtonePreference">
7007        <!-- Which ringtone type(s) to show in the picker. -->
7008        <attr name="ringtoneType">
7009            <!-- Ringtones. -->
7010            <flag name="ringtone" value="1" />
7011            <!-- Notification sounds. -->
7012            <flag name="notification" value="2" />
7013            <!-- Alarm sounds. -->
7014            <flag name="alarm" value="4" />
7015            <!-- All available ringtone sounds. -->
7016            <flag name="all" value="7" />
7017        </attr>
7018        <!-- Whether to show an item for a default sound. -->
7019        <attr name="showDefault" format="boolean" />
7020        <!-- Whether to show an item for 'Silent'. -->
7021        <attr name="showSilent" format="boolean" />
7022    </declare-styleable>
7023
7024    <!-- Base attributes available to VolumePreference. -->
7025    <declare-styleable name="VolumePreference">
7026        <!-- Different audio stream types. -->
7027        <attr name="streamType">
7028            <enum name="voice" value="0" />
7029            <enum name="system" value="1" />
7030            <enum name="ring" value="2" />
7031            <enum name="music" value="3" />
7032            <enum name="alarm" value="4" />
7033        </attr>
7034    </declare-styleable>
7035
7036    <declare-styleable name="InputMethodService">
7037        <!-- Background to use for entire input method when it is being
7038             shown in fullscreen mode with the extract view, to ensure
7039             that it completely covers the application.  This allows,
7040             for example, the candidate view to be hidden
7041             while in fullscreen mode without having the application show through
7042             behind it.-->
7043        <attr name="imeFullscreenBackground" format="reference|color" />
7044        <!-- Animation to use when showing the fullscreen extract UI after
7045             it had previously been hidden. -->
7046        <attr name="imeExtractEnterAnimation" format="reference" />
7047        <!-- Animation to use when hiding the fullscreen extract UI after
7048             it had previously been shown. -->
7049        <attr name="imeExtractExitAnimation" format="reference" />
7050    </declare-styleable>
7051
7052    <declare-styleable name="VoiceInteractionSession">
7053    </declare-styleable>
7054
7055    <declare-styleable name="KeyboardView">
7056        <!-- Default KeyboardView style. -->
7057        <attr name="keyboardViewStyle" format="reference" />
7058
7059        <!-- Image for the key. This image needs to be a StateListDrawable, with the following
7060             possible states: normal, pressed, checkable, checkable+pressed, checkable+checked,
7061             checkable+checked+pressed. -->
7062        <attr name="keyBackground" format="reference" />
7063
7064        <!-- Size of the text for character keys. -->
7065        <attr name="keyTextSize" format="dimension" />
7066
7067        <!-- Size of the text for custom keys with some text and no icon. -->
7068        <attr name="labelTextSize" format="dimension" />
7069
7070        <!-- Color to use for the label in a key. -->
7071        <attr name="keyTextColor" format="color" />
7072
7073        <!-- Layout resource for key press feedback.-->
7074        <attr name="keyPreviewLayout" format="reference" />
7075
7076        <!-- Vertical offset of the key press feedback from the key. -->
7077        <attr name="keyPreviewOffset" format="dimension" />
7078
7079        <!-- Height of the key press feedback popup. -->
7080        <attr name="keyPreviewHeight" format="dimension" />
7081
7082        <!-- Amount to offset the touch Y coordinate by, for bias correction. -->
7083        <attr name="verticalCorrection" format="dimension" />
7084
7085        <!-- Layout resource for popup keyboards. -->
7086        <attr name="popupLayout" format="reference" />
7087
7088        <attr name="shadowColor" />
7089        <attr name="shadowRadius" />
7090    </declare-styleable>
7091
7092    <declare-styleable name="KeyboardViewPreviewState">
7093        <!-- State for {@link android.inputmethodservice.KeyboardView KeyboardView}
7094                key preview background. -->
7095        <attr name="state_long_pressable" format="boolean" />
7096    </declare-styleable>
7097
7098    <declare-styleable name="Keyboard">
7099        <!-- Default width of a key, in pixels or percentage of display width. -->
7100        <attr name="keyWidth" format="dimension|fraction" />
7101        <!-- Default height of a key, in pixels or percentage of display width. -->
7102        <attr name="keyHeight" format="dimension|fraction" />
7103        <!-- Default horizontal gap between keys. -->
7104        <attr name="horizontalGap" format="dimension|fraction" />
7105        <!-- Default vertical gap between rows of keys. -->
7106        <attr name="verticalGap" format="dimension|fraction" />
7107    </declare-styleable>
7108
7109    <declare-styleable name="Keyboard_Row">
7110        <!-- Row edge flags. -->
7111        <attr name="rowEdgeFlags">
7112            <!-- Row is anchored to the top of the keyboard. -->
7113            <flag name="top" value="4" />
7114            <!-- Row is anchored to the bottom of the keyboard. -->
7115            <flag name="bottom" value="8" />
7116        </attr>
7117        <!-- Mode of the keyboard. If the mode doesn't match the
7118             requested keyboard mode, the row will be skipped. -->
7119        <attr name="keyboardMode" format="reference" />
7120    </declare-styleable>
7121
7122    <declare-styleable name="Keyboard_Key">
7123        <!-- The unicode value or comma-separated values that this key outputs. -->
7124        <attr name="codes" format="integer|string" />
7125        <!-- The XML keyboard layout of any popup keyboard. -->
7126        <attr name="popupKeyboard" format="reference" />
7127        <!-- The characters to display in the popup keyboard. -->
7128        <attr name="popupCharacters" format="string" />
7129        <!-- Key edge flags. -->
7130        <attr name="keyEdgeFlags">
7131            <!-- Key is anchored to the left of the keyboard. -->
7132            <flag name="left" value="1" />
7133            <!-- Key is anchored to the right of the keyboard. -->
7134            <flag name="right" value="2" />
7135        </attr>
7136        <!-- Whether this is a modifier key such as Alt or Shift. -->
7137        <attr name="isModifier" format="boolean" />
7138        <!-- Whether this is a toggle key. -->
7139        <attr name="isSticky" format="boolean" />
7140        <!-- Whether long-pressing on this key will make it repeat. -->
7141        <attr name="isRepeatable" format="boolean" />
7142        <!-- The icon to show in the popup preview. -->
7143        <attr name="iconPreview" format="reference" />
7144        <!-- The string of characters to output when this key is pressed. -->
7145        <attr name="keyOutputText" format="string" />
7146        <!-- The label to display on the key. -->
7147        <attr name="keyLabel" format="string" />
7148        <!-- The icon to display on the key instead of the label. -->
7149        <attr name="keyIcon" format="reference" />
7150        <!-- Mode of the keyboard. If the mode doesn't match the
7151             requested keyboard mode, the key will be skipped. -->
7152        <attr name="keyboardMode" />
7153    </declare-styleable>
7154
7155    <!-- =============================== -->
7156    <!-- AppWidget package class attributes -->
7157    <!-- =============================== -->
7158    <eat-comment />
7159
7160    <!-- Use <code>appwidget-provider</code> as the root tag of the XML resource that
7161         describes an AppWidget provider.  See {@link android.appwidget android.appwidget}
7162         package for more info.
7163     -->
7164    <declare-styleable name="AppWidgetProviderInfo">
7165        <!-- Minimum width of the AppWidget. -->
7166        <attr name="minWidth"/>
7167        <!-- Minimum height of the AppWidget. -->
7168        <attr name="minHeight"/>
7169        <!-- Minimum width that the AppWidget can be resized to. -->
7170        <attr name="minResizeWidth" format="dimension"/>
7171        <!-- Minimum height that the AppWidget can be resized to. -->
7172        <attr name="minResizeHeight" format="dimension"/>
7173        <!-- Update period in milliseconds, or 0 if the AppWidget will update itself. -->
7174        <attr name="updatePeriodMillis" format="integer" />
7175        <!-- A resource id of a layout. -->
7176        <attr name="initialLayout" format="reference" />
7177        <!-- A resource id of a layout. -->
7178        <attr name="initialKeyguardLayout" format="reference" />
7179        <!-- A class name in the AppWidget's package to be launched to configure.
7180             If not supplied, then no activity will be launched. -->
7181        <attr name="configure" format="string" />
7182        <!-- A preview of what the AppWidget will look like after it's configured.
7183              If not supplied, the AppWidget's icon will be used. -->
7184        <attr name="previewImage" format="reference" />
7185        <!-- The view id of the AppWidget subview which should be auto-advanced.
7186             by the widget's host. -->
7187        <attr name="autoAdvanceViewId" format="reference" />
7188        <!-- Optional parameter which indicates if and how this widget can be
7189             resized. Supports combined values using | operator. -->
7190        <attr name="resizeMode" format="integer">
7191            <flag name="none" value="0x0" />
7192            <flag name="horizontal" value="0x1" />
7193            <flag name="vertical" value="0x2" />
7194        </attr>
7195        <!-- Optional parameter which indicates where this widget can be shown,
7196             ie. home screen, keyguard, search bar or any combination thereof.
7197             Supports combined values using | operator. -->
7198        <attr name="widgetCategory" format="integer">
7199            <flag name="home_screen" value="0x1" />
7200            <flag name="keyguard" value="0x2" />
7201            <flag name="searchbox" value="0x4" />
7202        </attr>
7203    </declare-styleable>
7204
7205    <!-- =============================== -->
7206    <!-- Wallpaper preview attributes    -->
7207    <!-- =============================== -->
7208    <eat-comment />
7209
7210    <!-- Use <code>wallpaper-preview</code> as the root tag of the XML resource that
7211         describes a wallpaper preview. -->
7212    <declare-styleable name="WallpaperPreviewInfo">
7213        <!-- A resource id of a static drawable. -->
7214        <attr name="staticWallpaperPreview" format="reference" />
7215    </declare-styleable>
7216
7217    <!-- =============================== -->
7218    <!-- App package class attributes -->
7219    <!-- =============================== -->
7220    <eat-comment />
7221
7222    <!-- ============================= -->
7223    <!-- View package class attributes -->
7224    <!-- ============================= -->
7225    <eat-comment />
7226
7227    <!-- Attributes that can be used with <code>&lt;fragment&gt;</code>
7228         tags inside of the layout of an Activity.  This instantiates
7229         the given {@link android.app.Fragment} and inserts its content
7230         view into the current location in the layout. -->
7231    <declare-styleable name="Fragment">
7232        <!-- Supply the name of the fragment class to instantiate. -->
7233        <attr name="name" />
7234
7235        <!-- Supply an identifier name for the top-level view, to later retrieve it
7236             with {@link android.view.View#findViewById View.findViewById()} or
7237             {@link android.app.Activity#findViewById Activity.findViewById()}.
7238             This must be a
7239             resource reference; typically you set this using the
7240             <code>@+</code> syntax to create a new ID resources.
7241             For example: <code>android:id="@+id/my_id"</code> which
7242             allows you to later retrieve the view
7243             with <code>findViewById(R.id.my_id)</code>. -->
7244        <attr name="id" />
7245
7246        <!-- Supply a tag for the top-level view containing a String, to be retrieved
7247             later with {@link android.view.View#getTag View.getTag()} or
7248             searched for with {@link android.view.View#findViewWithTag
7249             View.findViewWithTag()}.  It is generally preferable to use
7250             IDs (through the android:id attribute) instead of tags because
7251             they are faster and allow for compile-time type checking. -->
7252        <attr name="tag" />
7253
7254        <!-- The Transition that will be used to move Views out of the scene when the
7255             fragment is removed, hidden, or detached when not popping the back stack.
7256             Corresponds to {@link android.app.Fragment#setExitTransition(
7257             android.transition.Transition)} -->
7258        <attr name="fragmentExitTransition" format="reference"/>
7259
7260        <!-- The Transition that will be used to move Views into the initial scene.
7261             Corresponds to {@link android.app.Fragment#setEnterTransition(
7262             android.transition.Transition)} -->
7263        <attr name="fragmentEnterTransition" format="reference"/>
7264
7265        <!-- The Transition that will be used for shared elements transferred into the content
7266             Scene.
7267             Corresponds to {@link android.app.Fragment#setSharedElementEnterTransition(
7268             android.transition.Transition)} -->
7269        <attr name="fragmentSharedElementEnterTransition" format="reference"/>
7270
7271        <!-- The Transition that will be used to move Views out of the scene when the Fragment is
7272             preparing to be removed, hidden, or detached because of popping the back stack.
7273             Corresponds to {@link android.app.Fragment#setReturnTransition(
7274             android.transition.Transition)} -->
7275        <attr name="fragmentReturnTransition" format="reference"/>
7276
7277        <!-- The Transition that will be used for shared elements transferred back during a
7278             pop of the back stack. This Transition acts in the leaving Fragment.
7279             Corresponds to {@link android.app.Fragment#setSharedElementReturnTransition(
7280             android.transition.Transition)} -->
7281        <attr name="fragmentSharedElementReturnTransition" format="reference"/>
7282
7283        <!-- The Transition that will be used to move Views in to the scene when returning due
7284             to popping a back stack.
7285             Corresponds to {@link android.app.Fragment#setReenterTransition(
7286             android.transition.Transition)} -->
7287        <attr name="fragmentReenterTransition" format="reference"/>
7288
7289        <!-- Sets whether the enter and exit transitions should overlap when transitioning
7290             forward.
7291             Corresponds to {@link android.app.Fragment#setAllowEnterTransitionOverlap(
7292             boolean)} -->
7293        <attr name="fragmentAllowEnterTransitionOverlap" format="reference"/>
7294
7295        <!-- Sets whether the enter and exit transitions should overlap when transitioning
7296             because of popping the back stack.
7297             Corresponds to {@link android.app.Fragment#setAllowReturnTransitionOverlap(
7298             boolean)} -->
7299        <attr name="fragmentAllowReturnTransitionOverlap" format="reference"/>
7300    </declare-styleable>
7301
7302    <!-- Use <code>device-admin</code> as the root tag of the XML resource that
7303         describes a
7304         {@link android.app.admin.DeviceAdminReceiver}, which is
7305         referenced from its
7306         {@link android.app.admin.DeviceAdminReceiver#DEVICE_ADMIN_META_DATA}
7307         meta-data entry.  Described here are the attributes that can be
7308         included in that tag. -->
7309    <declare-styleable name="DeviceAdmin">
7310        <!-- Control whether the admin is visible to the user, even when it
7311             is not enabled.  This is true by default.  You may want to make
7312             it false if your admin does not make sense to be turned on
7313             unless some explicit action happens in your app. -->
7314        <attr name="visible" />
7315    </declare-styleable>
7316
7317    <!-- Use <code>wallpaper</code> as the root tag of the XML resource that
7318         describes an
7319         {@link android.service.wallpaper.WallpaperService}, which is
7320         referenced from its
7321         {@link android.service.wallpaper.WallpaperService#SERVICE_META_DATA}
7322         meta-data entry.  Described here are the attributes that can be
7323         included in that tag. -->
7324    <declare-styleable name="Wallpaper">
7325        <attr name="settingsActivity" />
7326
7327        <!-- Reference to a the wallpaper's thumbnail bitmap. -->
7328        <attr name="thumbnail" format="reference" />
7329
7330        <!-- Name of the author of this component, e.g. Google. -->
7331        <attr name="author" format="reference" />
7332
7333        <!-- Short description of the component's purpose or behavior. -->
7334        <attr name="description" />
7335    </declare-styleable>
7336
7337    <!-- Use <code>dream</code> as the root tag of the XML resource that
7338         describes an
7339         {@link android.service.dreams.DreamService}, which is
7340         referenced from its
7341         {@link android.service.dreams.DreamService#DREAM_META_DATA}
7342         meta-data entry.  Described here are the attributes that can be
7343         included in that tag. -->
7344    <declare-styleable name="Dream">
7345        <!-- Component name of an activity that allows the user to modify
7346             the settings for this dream. -->
7347        <attr name="settingsActivity" />
7348    </declare-styleable>
7349
7350    <!-- @SystemApi Use <code>trust-agent</code> as the root tag of the XML resource that
7351         describes an {@link android.service.trust.TrustAgentService}, which is
7352         referenced from its {@link android.service.trust.TrustAgentService#TRUST_AGENT_META_DATA}
7353         meta-data entry.  Described here are the attributes that can be included in that tag.
7354         @hide -->
7355    <declare-styleable name="TrustAgent">
7356        <!-- @SystemApi Component name of an activity that allows the user to modify
7357             the settings for this trust agent. @hide -->
7358        <attr name="settingsActivity" />
7359        <!-- @SystemApi Title for a preference that allows that user to launch the
7360             activity to modify trust agent settings. @hide -->
7361        <attr name="title" />
7362        <!-- @SystemApi Summary for the same preference as the title. @hide -->
7363        <attr name="summary" />
7364    </declare-styleable>
7365
7366    <!-- =============================== -->
7367    <!-- Accounts package class attributes -->
7368    <!-- =============================== -->
7369    <eat-comment />
7370
7371    <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
7372         describes an account authenticator.
7373     -->
7374    <declare-styleable name="AccountAuthenticator">
7375        <!-- The account type this authenticator handles. -->
7376        <attr name="accountType" format="string"/>
7377        <!-- The user-visible name of the authenticator. -->
7378        <attr name="label"/>
7379        <!-- The icon of the authenticator. -->
7380        <attr name="icon"/>
7381        <!-- Smaller icon of the authenticator. -->
7382        <attr name="smallIcon" format="reference"/>
7383        <!-- A preferences.xml file for authenticator-specific settings. -->
7384        <attr name="accountPreferences" format="reference"/>
7385        <!-- Account handles its own token storage and permissions.
7386             Default to false
7387          -->
7388        <attr name="customTokens" format="boolean"/>
7389    </declare-styleable>
7390
7391    <!-- =============================== -->
7392    <!-- Accounts package class attributes -->
7393    <!-- =============================== -->
7394    <eat-comment />
7395
7396    <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
7397         describes an account authenticator.
7398     -->
7399    <declare-styleable name="SyncAdapter">
7400        <!-- the authority of a content provider. -->
7401        <attr name="contentAuthority" format="string"/>
7402        <attr name="accountType"/>
7403        <attr name="userVisible" format="boolean"/>
7404        <attr name="supportsUploading" format="boolean"/>
7405        <!-- Set to true to tell the SyncManager that this SyncAdapter supports
7406             multiple simultaneous syncs for the same account type and authority.
7407             Otherwise the SyncManager will be sure not to issue a start sync request
7408             to this SyncAdapter if the SyncAdapter is already syncing another account.
7409             Defaults to false.
7410             -->
7411        <attr name="allowParallelSyncs" format="boolean"/>
7412        <!-- Set to true to tell the SyncManager to automatically call setIsSyncable(..., ..., 1)
7413             for the SyncAdapter instead of issuaing an initialization sync to the SyncAdapter.
7414             Defaults to false.
7415             -->
7416        <attr name="isAlwaysSyncable" format="boolean"/>
7417        <!-- If provided, specifies the action of the settings
7418             activity for this SyncAdapter.
7419             -->
7420        <attr name="settingsActivity"/>
7421    </declare-styleable>
7422
7423    <!-- =============================== -->
7424    <!-- Contacts meta-data attributes -->
7425    <!-- =============================== -->
7426    <eat-comment />
7427
7428    <!-- TODO: remove this deprecated styleable. -->
7429    <eat-comment />
7430    <declare-styleable name="Icon">
7431        <attr name="icon" />
7432        <attr name="mimeType" />
7433    </declare-styleable>
7434
7435    <!-- TODO: remove this deprecated styleable -->
7436    <eat-comment />
7437    <declare-styleable name="IconDefault">
7438        <attr name="icon" />
7439    </declare-styleable>
7440
7441    <!-- Maps a specific contact data MIME-type to styling information. -->
7442    <declare-styleable name="ContactsDataKind">
7443        <!-- Mime-type handled by this mapping. -->
7444        <attr name="mimeType" />
7445        <!-- Icon used to represent data of this kind. -->
7446        <attr name="icon" />
7447        <!-- Column in data table that summarizes this data. -->
7448        <attr name="summaryColumn" format="string" />
7449        <!-- Column in data table that contains details for this data. -->
7450        <attr name="detailColumn" format="string" />
7451        <!-- Flag indicating that detail should be built from SocialProvider. -->
7452        <attr name="detailSocialSummary" format="boolean" />
7453        <!-- Resource representing the term "All Contacts" (e.g. "All Friends" or
7454        "All connections"). Optional (Default is "All Contacts"). -->
7455        <attr name="allContactsName" format="string" />
7456    </declare-styleable>
7457
7458    <!-- =============================== -->
7459    <!-- TabSelector class attributes -->
7460    <!-- =============================== -->
7461    <eat-comment />
7462
7463    <declare-styleable name="SlidingTab">
7464        <!-- Use "horizontal" for a row, "vertical" for a column.  The default is horizontal. -->
7465        <attr name="orientation" />
7466    </declare-styleable>
7467
7468    <!-- =============================== -->
7469    <!-- GlowPadView class attributes -->
7470    <!-- =============================== -->
7471    <eat-comment />
7472    <declare-styleable name="GlowPadView">
7473        <!-- Reference to an array resource that be used as description for the targets around the circle.
7474             {@deprecated Removed.} -->
7475        <attr name="targetDescriptions" format="reference" />
7476
7477        <!-- Reference to an array resource that be used to announce the directions with targets around the circle.
7478             {@deprecated Removed.}-->
7479        <attr name="directionDescriptions" format="reference" />
7480    </declare-styleable>
7481
7482    <!-- =============================== -->
7483    <!-- Location package class attributes -->
7484    <!-- =============================== -->
7485    <eat-comment />
7486
7487    <!-- Use <code>injected-location-setting</code> as the root tag of the XML resource that
7488         describes an injected "Location services" setting. Note that the status value (subtitle)
7489         for the setting is specified dynamically by a subclass of SettingInjectorService.
7490     -->
7491    <declare-styleable name="SettingInjectorService">
7492        <!-- The title for the preference. -->
7493        <attr name="title"/>
7494        <!-- The icon for the preference, should refer to all apps covered by the setting. Typically
7495             a generic icon for the developer. -->
7496        <attr name="icon"/>
7497        <!-- The activity to launch when the setting is clicked on. -->
7498        <attr name="settingsActivity"/>
7499    </declare-styleable>
7500
7501    <!-- =============================== -->
7502    <!-- LockPatternView class attributes -->
7503    <!-- =============================== -->
7504    <eat-comment />
7505
7506    <declare-styleable name="LockPatternView">
7507        <!-- Aspect to use when drawing LockPatternView. Choices are "square"(default), "lock_width"
7508             or "lock_height" -->
7509        <attr name="aspect" format="string" />
7510        <!-- Color to use when drawing LockPatternView paths. -->
7511        <attr name="pathColor" format="color|reference" />
7512        <!-- The regular pattern color -->
7513        <attr name="regularColor" format="color|reference" />
7514        <!-- The error color -->
7515        <attr name="errorColor" format="color|reference" />
7516        <!-- The success color -->
7517        <attr name="successColor" format="color|reference"/>
7518    </declare-styleable>
7519
7520    <!-- Use <code>recognition-service</code> as the root tag of the XML resource that
7521         describes a {@link android.speech.RecognitionService}, which is referenced from
7522         its {@link android.speech.RecognitionService#SERVICE_META_DATA} meta-data entry.
7523         Described here are the attributes that can be included in that tag. -->
7524    <declare-styleable name="RecognitionService">
7525        <attr name="settingsActivity" />
7526    </declare-styleable>
7527
7528    <!-- Use <code>voice-interaction-service</code> as the root tag of the XML resource that
7529         describes a {@link android.service.voice.VoiceInteractionService}, which is referenced from
7530         its {@link android.service.voice.VoiceInteractionService#SERVICE_META_DATA} meta-data entry.
7531         Described here are the attributes that can be included in that tag. -->
7532    <declare-styleable name="VoiceInteractionService">
7533        <!-- The service that hosts active voice interaction sessions.  This is required. -->
7534        <attr name="sessionService" format="string" />
7535        <!-- The service that provides voice recognition.  This is required.  When the user
7536             selects this voice interaction service, they will also be implicitly selecting
7537             the component here for their recognition service. -->
7538        <attr name="recognitionService" format="string" />
7539        <attr name="settingsActivity" />
7540        <!-- Flag indicating whether this voice interaction service is capable of handling the
7541             assist action. -->
7542        <attr name="supportsAssist" format="boolean" />
7543        <!-- Flag indicating whether this voice interaction service is capable of being launched
7544             from the keyguard. -->
7545        <attr name="supportsLaunchVoiceAssistFromKeyguard" format="boolean" />
7546        <!-- Flag indicating whether this voice interaction service can handle local voice
7547             interaction requests from an Activity. This flag is new in
7548             {@link android.os.Build.VERSION_CODES#N} and not used in previous versions. -->
7549        <attr name="supportsLocalInteraction" format="boolean" />
7550    </declare-styleable>
7551
7552    <!-- Use <code>voice-enrollment-application</code>
7553         as the root tag of the XML resource that escribes the supported keyphrases (hotwords)
7554         by the enrollment application.
7555         Described here are the attributes that can be included in that tag.
7556         @hide
7557         @SystemApi -->
7558    <declare-styleable name="VoiceEnrollmentApplication">
7559        <!-- A globally unique ID for the keyphrase. @hide @SystemApi -->
7560        <attr name="searchKeyphraseId" format="integer" />
7561        <!-- The actual keyphrase/hint text, or empty if not keyphrase dependent. @hide @SystemApi -->
7562        <attr name="searchKeyphrase" format="string" />
7563        <!-- A comma separated list of BCP-47 language tag for locales that are supported
7564             for this keyphrase, or empty if not locale dependent. @hide @SystemApi -->
7565        <attr name="searchKeyphraseSupportedLocales" format="string" />
7566        <!-- Flags for supported recognition modes. @hide @SystemApi -->
7567        <attr name="searchKeyphraseRecognitionFlags">
7568            <flag name="none" value="0" />
7569            <flag name="voiceTrigger" value="0x1" />
7570            <flag name="userIdentification" value="0x2" />
7571        </attr>
7572    </declare-styleable>
7573
7574    <!-- Attributes used to style the Action Bar. -->
7575    <declare-styleable name="ActionBar">
7576        <!-- The type of navigation to use. -->
7577        <attr name="navigationMode">
7578            <!-- Normal static title text -->
7579            <enum name="normal" value="0" />
7580            <!-- The action bar will use a selection list for navigation. -->
7581            <enum name="listMode" value="1" />
7582            <!-- The action bar will use a series of horizontal tabs for navigation. -->
7583            <enum name="tabMode" value="2" />
7584        </attr>
7585        <!-- Options affecting how the action bar is displayed. -->
7586        <attr name="displayOptions">
7587            <flag name="none" value="0" />
7588            <flag name="useLogo" value="0x1" />
7589            <flag name="showHome" value="0x2" />
7590            <flag name="homeAsUp" value="0x4" />
7591            <flag name="showTitle" value="0x8" />
7592            <flag name="showCustom" value="0x10" />
7593            <flag name="disableHome" value="0x20" />
7594        </attr>
7595        <!-- Specifies title text used for navigationMode="normal" -->
7596        <attr name="title" />
7597        <!-- Specifies subtitle text used for navigationMode="normal" -->
7598        <attr name="subtitle" format="string" />
7599        <!-- Specifies a style to use for title text. -->
7600        <attr name="titleTextStyle" format="reference" />
7601        <!-- Specifies a style to use for subtitle text. -->
7602        <attr name="subtitleTextStyle" format="reference" />
7603        <!-- Specifies the drawable used for the application icon. -->
7604        <attr name="icon" />
7605        <!-- Specifies the drawable used for the application logo. -->
7606        <attr name="logo" />
7607        <!-- Specifies the drawable used for item dividers. -->
7608        <attr name="divider" />
7609        <!-- Specifies a background drawable for the action bar. -->
7610        <attr name="background" />
7611        <!-- Specifies a background drawable for a second stacked row of the action bar. -->
7612        <attr name="backgroundStacked" format="reference|color" />
7613        <!-- Specifies a background drawable for the bottom component of a split action bar. -->
7614        <attr name="backgroundSplit" format="reference|color" />
7615        <!-- Specifies a layout for custom navigation. Overrides navigationMode. -->
7616        <attr name="customNavigationLayout" format="reference" />
7617        <!-- Specifies a fixed height. -->
7618        <attr name="height" />
7619        <!-- Specifies a layout to use for the "home" section of the action bar. -->
7620        <attr name="homeLayout" format="reference" />
7621        <!-- Specifies a style resource to use for an embedded progress bar. -->
7622        <attr name="progressBarStyle" />
7623        <!-- Specifies a style resource to use for an indeterminate progress spinner. -->
7624        <attr name="indeterminateProgressStyle" format="reference" />
7625        <!-- Specifies the horizontal padding on either end for an embedded progress bar. -->
7626        <attr name="progressBarPadding" format="dimension" />
7627        <!-- Up navigation glyph -->
7628        <attr name="homeAsUpIndicator" />
7629        <!-- Specifies padding that should be applied to the left and right sides of
7630             system-provided items in the bar. -->
7631        <attr name="itemPadding" format="dimension" />
7632        <!-- Set true to hide the action bar on a vertical nested scroll of content. -->
7633        <attr name="hideOnContentScroll" format="boolean" />
7634        <!-- Minimum inset for content views within a bar. Navigation buttons and
7635             menu views are excepted. Only valid for some themes and configurations. -->
7636        <attr name="contentInsetStart" format="dimension" />
7637        <!-- Minimum inset for content views within a bar. Navigation buttons and
7638             menu views are excepted. Only valid for some themes and configurations. -->
7639        <attr name="contentInsetEnd" format="dimension" />
7640        <!-- Minimum inset for content views within a bar. Navigation buttons and
7641             menu views are excepted. Only valid for some themes and configurations. -->
7642        <attr name="contentInsetLeft" format="dimension" />
7643        <!-- Minimum inset for content views within a bar. Navigation buttons and
7644             menu views are excepted. Only valid for some themes and configurations. -->
7645        <attr name="contentInsetRight" format="dimension" />
7646        <!-- Minimum inset for content views within a bar when a navigation button
7647             is present, such as the Up button. Only valid for some themes and configurations. -->
7648        <attr name="contentInsetStartWithNavigation" format="dimension" />
7649        <!-- Minimum inset for content views within a bar when actions from a menu
7650             are present. Only valid for some themes and configurations. -->
7651        <attr name="contentInsetEndWithActions" format="dimension" />
7652        <!-- Elevation for the action bar itself -->
7653        <attr name="elevation" />
7654        <!-- Reference to a theme that should be used to inflate popups
7655             shown by widgets in the action bar. -->
7656        <attr name="popupTheme" />
7657    </declare-styleable>
7658
7659    <declare-styleable name="ActionMode">
7660        <!-- Specifies a style to use for title text. -->
7661        <attr name="titleTextStyle" />
7662        <!-- Specifies a style to use for subtitle text. -->
7663        <attr name="subtitleTextStyle" />
7664        <!-- Specifies a background for the action mode bar. -->
7665        <attr name="background" />
7666        <!-- Specifies a background for the split action mode bar. -->
7667        <attr name="backgroundSplit" />
7668        <!-- Specifies a fixed height for the action mode bar. -->
7669        <attr name="height" />
7670        <!-- Specifies a layout to use for the "close" item at the starting edge. -->
7671        <attr name="closeItemLayout" format="reference" />
7672    </declare-styleable>
7673
7674    <declare-styleable name="SearchView">
7675        <!-- The layout to use for the search view. -->
7676        <attr name="layout" />
7677        <!-- The default state of the SearchView. If true, it will be iconified when not in
7678             use and expanded when clicked. -->
7679        <attr name="iconifiedByDefault" format="boolean" />
7680        <!-- An optional maximum width of the SearchView. -->
7681        <attr name="maxWidth" />
7682        <!-- An optional query hint string to be displayed in the empty query field. -->
7683        <attr name="queryHint" format="string" />
7684        <!-- Default query hint used when {@code queryHint} is undefined and
7685             the search view's {@code SearchableInfo} does not provide a hint.
7686             @hide -->
7687        <attr name="defaultQueryHint" format="string" />
7688        <!-- The IME options to set on the query text field. -->
7689        <attr name="imeOptions" />
7690        <!-- The input type to set on the query text field. -->
7691        <attr name="inputType" />
7692        <!-- Close button icon -->
7693        <attr name="closeIcon" format="reference" />
7694        <!-- Go button icon -->
7695        <attr name="goIcon" format="reference" />
7696        <!-- Search icon -->
7697        <attr name="searchIcon" format="reference" />
7698        <!-- Search icon displayed as a text field hint -->
7699        <attr name="searchHintIcon" format="reference" />
7700        <!-- Voice button icon -->
7701        <attr name="voiceIcon" format="reference" />
7702        <!-- Commit icon shown in the query suggestion row -->
7703        <attr name="commitIcon" format="reference" />
7704        <!-- Layout for query suggestion rows -->
7705        <attr name="suggestionRowLayout" format="reference" />
7706        <!-- Background for the section containing the search query -->
7707        <attr name="queryBackground" format="reference" />
7708        <!-- Background for the section containing the action (e.g. voice search) -->
7709        <attr name="submitBackground" format="reference" />
7710        <attr name="focusable" />
7711    </declare-styleable>
7712
7713    <declare-styleable name="Switch">
7714        <!-- Drawable to use as the "thumb" that switches back and forth. -->
7715        <attr name="thumb" />
7716        <!-- Tint to apply to the thumb. -->
7717        <attr name="thumbTint" />
7718        <!-- Blending mode used to apply the thumb tint. -->
7719        <attr name="thumbTintMode" />
7720        <!-- Drawable to use as the "track" that the switch thumb slides within. -->
7721        <attr name="track" format="reference" />
7722        <!-- Tint to apply to the track. -->
7723        <attr name="trackTint" format="color" />
7724        <!-- Blending mode used to apply the track tint. -->
7725        <attr name="trackTintMode">
7726            <!-- The tint is drawn on top of the drawable.
7727                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
7728            <enum name="src_over" value="3" />
7729            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
7730                 color channels are thrown out. [Sa * Da, Sc * Da] -->
7731            <enum name="src_in" value="5" />
7732            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
7733                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
7734            <enum name="src_atop" value="9" />
7735            <!-- Multiplies the color and alpha channels of the drawable with those of
7736                 the tint. [Sa * Da, Sc * Dc] -->
7737            <enum name="multiply" value="14" />
7738            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
7739            <enum name="screen" value="15" />
7740            <!-- Combines the tint and drawable color and alpha channels, clamping the
7741                 result to valid color values. Saturate(S + D) -->
7742            <enum name="add" value="16" />
7743        </attr>
7744        <!-- Text to use when the switch is in the checked/"on" state. -->
7745        <attr name="textOn" />
7746        <!-- Text to use when the switch is in the unchecked/"off" state. -->
7747        <attr name="textOff" />
7748        <!-- Amount of padding on either side of text within the switch thumb. -->
7749        <attr name="thumbTextPadding" format="dimension" />
7750        <!-- TextAppearance style for text displayed on the switch thumb. -->
7751        <attr name="switchTextAppearance" format="reference" />
7752        <!-- Minimum width for the switch component -->
7753        <attr name="switchMinWidth" format="dimension" />
7754        <!-- Minimum space between the switch and caption text -->
7755        <attr name="switchPadding" format="dimension" />
7756        <!-- Whether to split the track and leave a gap for the thumb drawable. -->
7757        <attr name="splitTrack" />
7758        <!-- Whether to draw on/off text. -->
7759        <attr name="showText" format="boolean" />
7760    </declare-styleable>
7761
7762    <declare-styleable name="Pointer">
7763        <!-- Reference to a pointer icon drawable with STYLE_ARROW -->
7764        <attr name="pointerIconArrow" format="reference" />
7765        <!-- Reference to a pointer icon drawable with STYLE_SPOT_HOVER -->
7766        <attr name="pointerIconSpotHover" format="reference" />
7767        <!-- Reference to a pointer icon drawable with STYLE_SPOT_TOUCH -->
7768        <attr name="pointerIconSpotTouch" format="reference" />
7769        <!-- Reference to a pointer icon drawable with STYLE_SPOT_ANCHOR -->
7770        <attr name="pointerIconSpotAnchor" format="reference" />
7771        <!-- Reference to a pointer drawable with STYLE_CONTEXT_MENU -->
7772        <attr name="pointerIconContextMenu" format="reference"/>
7773        <!-- Reference to a pointer drawable with STYLE_HAND -->
7774        <attr name="pointerIconHand" format="reference"/>
7775        <!-- Reference to a pointer drawable with STYLE_HELP -->
7776        <attr name="pointerIconHelp" format="reference"/>
7777        <!-- Reference to a pointer drawable with STYLE_WAIT -->
7778        <attr name="pointerIconWait" format="reference"/>
7779        <!-- Reference to a pointer drawable with STYLE_CELL -->
7780        <attr name="pointerIconCell" format="reference"/>
7781        <!-- Reference to a pointer drawable with STYLE_CROSSHAIR -->
7782        <attr name="pointerIconCrosshair" format="reference"/>
7783        <!-- Reference to a pointer drawable with STYLE_TEXT -->
7784        <attr name="pointerIconText" format="reference"/>
7785        <!-- Reference to a pointer drawable with STYLE_VERTICAL_TEXT -->
7786        <attr name="pointerIconVerticalText" format="reference"/>
7787        <!-- Reference to a pointer drawable with STYLE_ALIAS -->
7788        <attr name="pointerIconAlias" format="reference"/>
7789        <!-- Reference to a pointer drawable with STYLE_COPY -->
7790        <attr name="pointerIconCopy" format="reference"/>
7791        <!-- Reference to a pointer drawable with STYLE_NODROP -->
7792        <attr name="pointerIconNodrop" format="reference"/>
7793        <!-- Reference to a pointer drawable with STYLE_ALL_SCROLL -->
7794        <attr name="pointerIconAllScroll" format="reference"/>
7795        <!-- Reference to a pointer drawable with STYLE_HORIZONTAL_DOUBLE_ARROW -->
7796        <attr name="pointerIconHorizontalDoubleArrow" format="reference"/>
7797        <!-- Reference to a pointer drawable with STYLE_VERTICAL_DOUBLE_ARROW -->
7798        <attr name="pointerIconVerticalDoubleArrow" format="reference"/>
7799        <!-- Reference to a pointer drawable with STYLE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW -->
7800        <attr name="pointerIconTopRightDiagonalDoubleArrow" format="reference"/>
7801        <!-- Reference to a pointer drawable with STYLE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW -->
7802        <attr name="pointerIconTopLeftDiagonalDoubleArrow" format="reference"/>
7803        <!-- Reference to a pointer drawable with STYLE_ZOOM_IN -->
7804        <attr name="pointerIconZoomIn" format="reference"/>
7805        <!-- Reference to a pointer drawable with STYLE_ZOOM_OUT -->
7806        <attr name="pointerIconZoomOut" format="reference"/>
7807        <!-- Reference to a pointer drawable with STYLE_GRAB -->
7808        <attr name="pointerIconGrab" format="reference"/>
7809        <!-- Reference to a pointer drawable with STYLE_GRABBING -->
7810        <attr name="pointerIconGrabbing" format="reference"/>
7811    </declare-styleable>
7812
7813    <declare-styleable name="PointerIcon">
7814        <!-- Drawable to use as the icon bitmap. -->
7815        <attr name="bitmap" format="reference" />
7816        <!-- X coordinate of the icon hot spot. -->
7817        <attr name="hotSpotX" format="dimension" />
7818        <!-- Y coordinate of the icon hot spot. -->
7819        <attr name="hotSpotY" format="dimension" />
7820    </declare-styleable>
7821
7822    <declare-styleable name="Storage">
7823        <!-- path to mount point for the storage -->
7824        <attr name="mountPoint" format="string" />
7825        <!-- user visible description of the storage -->
7826        <attr name="storageDescription" format="string" />
7827        <!-- true if the storage is the primary external storage -->
7828        <attr name="primary" format="boolean" />
7829        <!-- true if the storage is removable -->
7830        <attr name="removable" format="boolean" />
7831        <!-- true if the storage is emulated via the FUSE sdcard daemon -->
7832        <attr name="emulated" format="boolean" />
7833        <!-- number of megabytes of storage MTP should reserve for free storage
7834             (used for emulated storage that is shared with system's data partition) -->
7835        <attr name="mtpReserve" format="integer" />
7836        <!-- true if the storage can be shared via USB mass storage -->
7837        <attr name="allowMassStorage" format="boolean" />
7838        <!-- maximum file size for the volume in megabytes, zero or unspecified if it is unbounded -->
7839        <attr name="maxFileSize" format="integer" />
7840    </declare-styleable>
7841
7842    <declare-styleable name="SwitchPreference">
7843        <!-- The summary for the Preference in a PreferenceActivity screen when the
7844             SwitchPreference is checked. If separate on/off summaries are not
7845             needed, the summary attribute can be used instead. -->
7846        <attr name="summaryOn" />
7847        <!-- The summary for the Preference in a PreferenceActivity screen when the
7848             SwitchPreference is unchecked. If separate on/off summaries are not
7849             needed, the summary attribute can be used instead. -->
7850        <attr name="summaryOff" />
7851        <!-- The text used on the switch itself when in the "on" state.
7852             This should be a very SHORT string, as it appears in a small space. -->
7853        <attr name="switchTextOn" format="string" />
7854        <!-- The text used on the switch itself when in the "off" state.
7855             This should be a very SHORT string, as it appears in a small space. -->
7856        <attr name="switchTextOff" format="string" />
7857        <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
7858             dependents will be disabled when this is unchecked, so the value of this preference is false. -->
7859        <attr name="disableDependentsState" />
7860    </declare-styleable>
7861
7862    <declare-styleable name="SeekBarPreference">
7863        <attr name="layout" />
7864    </declare-styleable>
7865
7866    <!-- Base attributes available to PreferenceFragment. -->
7867    <declare-styleable name="PreferenceFragment">
7868        <!-- The layout for the PreferenceFragment. This should rarely need to be changed. -->
7869        <attr name="layout" />
7870        <attr name="divider" />
7871    </declare-styleable>
7872
7873    <!-- Base attributes available to PreferenceActivity. -->
7874    <declare-styleable name="PreferenceActivity">
7875        <!-- The layout for the Preference Activity. This should rarely need to be changed. -->
7876        <attr name="layout" />
7877        <!-- The layout for the Preference Header. This should rarely need to be changed. -->
7878        <attr name="headerLayout" format="reference" />
7879        <!-- true if the Icon view will be removed when there is none and thus not showing
7880             the fixed margins. -->
7881        <attr name="headerRemoveIconIfEmpty" format="boolean" />
7882    </declare-styleable>
7883
7884    <!-- Use <code>tts-engine</code> as the root tag of the XML resource that
7885         describes a text to speech engine implemented as a subclass of
7886         {@link android.speech.tts.TextToSpeechService}.
7887
7888         The XML resource must be referenced from its
7889         {@link android.speech.tts.TextToSpeech.Engine#SERVICE_META_DATA} meta-data
7890         entry. -->
7891    <declare-styleable name="TextToSpeechEngine">
7892        <attr name="settingsActivity" />
7893    </declare-styleable>
7894
7895    <!-- Use <code>keyboard-layouts</code> as the root tag of the XML resource that
7896         describes a collection of keyboard layouts provided by an application.
7897         Each keyboard layout is declared by a <code>keyboard-layout</code> tag
7898         with these attributes.
7899
7900         The XML resource that contains the keyboard layouts must be referenced from its
7901         {@link android.hardware.input.InputManager#META_DATA_KEYBOARD_LAYOUTS}
7902         meta-data entry used with broadcast receivers for
7903         {@link android.hardware.input.InputManager#ACTION_QUERY_KEYBOARD_LAYOUTS}. -->
7904    <declare-styleable name="KeyboardLayout">
7905        <!-- The name of the keyboard layout, must be unique in the receiver. -->
7906        <attr name="name" />
7907        <!-- The display label of the keyboard layout. -->
7908        <attr name="label" />
7909        <!-- The key character map file resource. -->
7910        <attr name="keyboardLayout" format="reference" />
7911        <!-- The locales the given keyboard layout corresponds to. -->
7912        <attr name="locale" format="string" />
7913        <!-- The vendor ID of the hardware the given layout corresponds to. @hide -->
7914        <attr name="vendorId" format="integer" />
7915        <!-- The product ID of the hardware the given layout corresponds to. @hide -->
7916        <attr name="productId" format="integer" />
7917    </declare-styleable>
7918
7919    <declare-styleable name="MediaRouteButton">
7920        <!-- This drawable is a state list where the "activated" state
7921             indicates active media routing. Non-activated indicates
7922             that media is playing to the local device only.
7923             @hide -->
7924        <attr name="externalRouteEnabledDrawable" format="reference" />
7925
7926        <!-- The types of media routes the button and its resulting
7927             chooser will filter by. -->
7928        <attr name="mediaRouteTypes" format="integer">
7929            <!-- Allow selection of live audio routes. -->
7930            <enum name="liveAudio" value="0x1" />
7931            <!-- Allow selection of user (app-specified) routes. -->
7932            <enum name="user" value="0x800000" />
7933        </attr>
7934
7935        <attr name="minWidth" />
7936        <attr name="minHeight" />
7937    </declare-styleable>
7938
7939    <!-- PagedView specific attributes. These attributes are used to customize
7940         a PagedView view in XML files. -->
7941    <declare-styleable name="PagedView">
7942        <!-- The space between adjacent pages of the PagedView. -->
7943        <attr name="pageSpacing" format="dimension" />
7944        <!-- The padding for the scroll indicator area -->
7945        <attr name="scrollIndicatorPaddingLeft" format="dimension" />
7946        <attr name="scrollIndicatorPaddingRight" format="dimension" />
7947    </declare-styleable>
7948
7949    <declare-styleable name="KeyguardGlowStripView">
7950        <attr name="dotSize" format="dimension" />
7951        <attr name="numDots" format="integer" />
7952        <attr name="glowDot" format="reference" />
7953        <attr name="leftToRight" format="boolean" />
7954    </declare-styleable>
7955
7956    <!-- Some child types have special behavior. -->
7957    <attr name="layout_childType">
7958        <!-- No special behavior. Layout will proceed as normal. -->
7959        <enum name="none" value="0" />
7960        <!-- Widget container.
7961             This will be resized in response to certain events. -->
7962        <enum name="widget" value="1" />
7963        <!-- Security challenge container.
7964             This will be dismissed/shown in response to certain events,
7965             possibly obscuring widget elements. -->
7966        <enum name="challenge" value="2" />
7967        <!-- User switcher.
7968             This will consume space from the total layout area. -->
7969        <enum name="userSwitcher" value="3" />
7970        <!-- Scrim. This will block access to child views that
7971             come before it in the child list in bouncer mode. -->
7972        <enum name="scrim" value="4" />
7973        <!-- The home for widgets. All widgets will be descendents of this. -->
7974        <enum name="widgets" value="5" />
7975        <!-- This is a handle that is used for expanding the
7976             security challenge container when it is collapsed. -->
7977        <enum name="expandChallengeHandle" value="6" />
7978        <!-- Delete drop target.  This will be the drop target to delete pages. -->
7979        <enum name="pageDeleteDropTarget" value="7" />
7980    </attr>
7981
7982    <!-- Attributes that can be used with <code>&lt;FragmentBreadCrumbs&gt;</code>
7983    tags. -->
7984    <declare-styleable name="FragmentBreadCrumbs">
7985        <attr name="gravity" />
7986        <attr name="itemLayout" format="reference" />
7987        <attr name="itemColor" format="color|reference" />
7988    </declare-styleable>
7989
7990    <declare-styleable name="Toolbar">
7991        <attr name="titleTextAppearance" format="reference" />
7992        <attr name="subtitleTextAppearance" format="reference" />
7993        <attr name="title" />
7994        <attr name="subtitle" />
7995        <attr name="gravity" />
7996        <!--  Specifies extra space on the left, start, right and end sides
7997              of the toolbar's title. Margin values should be positive. -->
7998        <attr name="titleMargin" format="dimension" />
7999        <!--  Specifies extra space on the start side of the toolbar's title.
8000              If both this attribute and titleMargin are specified, then this
8001              attribute takes precedence. Margin values should be positive. -->
8002        <attr name="titleMarginStart" format="dimension" />
8003        <!--  Specifies extra space on the end side of the toolbar's title.
8004              If both this attribute and titleMargin are specified, then this
8005              attribute takes precedence. Margin values should be positive. -->
8006        <attr name="titleMarginEnd" format="dimension" />
8007        <!--  Specifies extra space on the top side of the toolbar's title.
8008              If both this attribute and titleMargin are specified, then this
8009              attribute takes precedence. Margin values should be positive. -->
8010        <attr name="titleMarginTop" format="dimension" />
8011        <!--  Specifies extra space on the bottom side of the toolbar's title.
8012              If both this attribute and titleMargin are specified, then this
8013              attribute takes precedence. Margin values should be positive. -->
8014        <attr name="titleMarginBottom" format="dimension" />
8015        <attr name="contentInsetStart" />
8016        <attr name="contentInsetEnd" />
8017        <attr name="contentInsetLeft" />
8018        <attr name="contentInsetRight" />
8019        <attr name="contentInsetStartWithNavigation" />
8020        <attr name="contentInsetEndWithActions" />
8021        <attr name="maxButtonHeight" format="dimension" />
8022        <attr name="navigationButtonStyle" format="reference" />
8023        <attr name="buttonGravity">
8024            <!-- Push object to the top of its container, not changing its size. -->
8025            <flag name="top" value="0x30" />
8026            <!-- Push object to the bottom of its container, not changing its size. -->
8027            <flag name="bottom" value="0x50" />
8028        </attr>
8029        <!-- Icon drawable to use for the collapse button. -->
8030        <attr name="collapseIcon" format="reference" />
8031        <!-- Text to set as the content description for the collapse button. -->
8032        <attr name="collapseContentDescription" format="string" />
8033        <!-- Reference to a theme that should be used to inflate popups
8034             shown by widgets in the toolbar. -->
8035        <attr name="popupTheme" format="reference" />
8036        <!-- Icon drawable to use for the navigation button located at
8037             the start of the toolbar. -->
8038        <attr name="navigationIcon" format="reference" />
8039        <!-- Text to set as the content description for the navigation button
8040             located at the start of the toolbar. -->
8041        <attr name="navigationContentDescription" format="string" />
8042        <!-- Drawable to set as the logo that appears at the starting side of
8043             the Toolbar, just after the navigation button. -->
8044        <attr name="logo" />
8045        <!-- A content description string to describe the appearance of the
8046             associated logo image. -->
8047        <attr name="logoDescription" format="string" />
8048        <!-- A color to apply to the title string. -->
8049        <attr name="titleTextColor" format="color" />
8050        <!-- A color to apply to the subtitle string. -->
8051        <attr name="subtitleTextColor" format="color" />
8052    </declare-styleable>
8053
8054    <declare-styleable name="Toolbar_LayoutParams">
8055        <attr name="layout_gravity" />
8056    </declare-styleable>
8057
8058    <declare-styleable name="ActionBar_LayoutParams">
8059        <attr name="layout_gravity" />
8060    </declare-styleable>
8061
8062    <!-- Used as a filter array on the theme to pull out only the EdgeEffect-relevant bits. -->
8063    <declare-styleable name="EdgeEffect">
8064        <attr name="colorEdgeEffect" />
8065    </declare-styleable>
8066
8067    <!-- Use <code>tv-input</code> as the root tag of the XML resource that describes a
8068         {@link android.media.tv.TvInputService}, which is referenced from its
8069         {@link android.media.tv.TvInputService#SERVICE_META_DATA} meta-data entry.
8070         Described here are the attributes that can be included in that tag. -->
8071    <declare-styleable name="TvInputService">
8072        <!-- Component name of an activity that allows the user to set up this service. -->
8073        <attr name="setupActivity" format="string" />
8074        <!-- Component name of an activity that allows the user to modify the settings for this
8075             service. -->
8076        <attr name="settingsActivity" />
8077        <!-- Attribute whether the TV input service can record programs. This value can be changed
8078             at runtime by calling
8079             {@link android.media.tv.TvInputManager#updateTvInputInfo(android.media.tv.TvInputInfo)}. -->
8080        <attr name="canRecord" format="boolean" />
8081        <!-- The number of tuners that the TV input service is associated with. This value can be
8082             changed at runtime by calling
8083             {@link android.media.tv.TvInputManager#updateTvInputInfo(android.media.tv.TvInputInfo)}. -->
8084        <attr name="tunerCount" format="integer" />
8085    </declare-styleable>
8086
8087    <!-- Attributes that can be used with <code>rating-system-definition</code> tags inside of the
8088         XML resource that describes TV content rating of a {@link android.media.tv.TvInputService},
8089         which is referenced from its
8090         {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. -->
8091    <declare-styleable name="RatingSystemDefinition">
8092        <!-- The unique name of the content rating system. -->
8093        <attr name="name" />
8094        <!-- The title of the content rating system which is shown to the user. -->
8095        <attr name="title" />
8096        <!-- The short description of the content rating system. -->
8097        <attr name="description" />
8098        <!-- The country code associated with the content rating system, which consists of two
8099             uppercase letters that conform to the ISO 3166 standard. -->
8100        <attr name="country" format="string" />
8101    </declare-styleable>
8102
8103    <!-- Attributes that can be used with <code>rating-definition</code> tags inside of the XML
8104         resource that describes TV content rating of a {@link android.media.tv.TvInputService},
8105         which is referenced from its
8106         {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. -->
8107    <declare-styleable name="RatingDefinition">
8108        <!-- The unique name of the content rating. -->
8109        <attr name="name" />
8110        <!-- The title of the content rating which is shown to the user. -->
8111        <attr name="title" />
8112        <!-- The short description of the content rating. -->
8113        <attr name="description" />
8114        <!-- The age associated with the content rating. The content of this rating is suitable for
8115             people of this age or above. -->
8116        <attr name="contentAgeHint" format="integer" />
8117    </declare-styleable>
8118
8119    <declare-styleable name="ResolverDrawerLayout">
8120        <attr name="maxWidth" />
8121        <attr name="maxCollapsedHeight" format="dimension" />
8122        <attr name="maxCollapsedHeightSmall" format="dimension" />
8123    </declare-styleable>
8124
8125    <declare-styleable name="MessagingLinearLayout">
8126        <attr name="maxHeight" />
8127        <attr name="spacing" />
8128    </declare-styleable>
8129
8130    <declare-styleable name="DateTimeView">
8131        <attr name="showRelative" format="boolean" />
8132    </declare-styleable>
8133
8134    <declare-styleable name="ResolverDrawerLayout_LayoutParams">
8135        <attr name="layout_alwaysShow" format="boolean" />
8136        <attr name="layout_ignoreOffset" format="boolean" />
8137        <attr name="layout_gravity" />
8138        <attr name="layout_hasNestedScrollIndicator" format="boolean" />
8139    </declare-styleable>
8140
8141    <!-- @hide -->
8142    <declare-styleable name="Lighting">
8143        <attr name="lightY" />
8144        <attr name="lightZ" />
8145        <attr name="lightRadius" />
8146        <attr name="ambientShadowAlpha" />
8147        <attr name="spotShadowAlpha" />
8148    </declare-styleable>
8149
8150    <declare-styleable name="RestrictionEntry">
8151        <attr name="key" />
8152        <attr name="restrictionType">
8153            <enum name="hidden" value="0" />
8154            <enum name="bool" value="1" />
8155            <enum name="choice" value="2" />
8156            <enum name="multi-select" value="4" />
8157            <enum name="integer" value="5" />
8158            <enum name="string" value="6" />
8159            <enum name="bundle" value="7" />
8160            <enum name="bundle_array" value="8" />
8161        </attr>
8162        <attr name="title" />
8163        <attr name="description" />
8164        <attr name="defaultValue" />
8165        <attr name="entries" />
8166        <attr name="entryValues" />
8167    </declare-styleable>
8168
8169    <!-- Used to describe the gradient for fill or stroke in a path of VectorDrawable. -->
8170    <declare-styleable name="GradientColor">
8171        <!-- Start color of the gradient. -->
8172        <attr name="startColor" />
8173        <!-- Optional center color. -->
8174        <attr name="centerColor" />
8175        <!-- End color of the gradient. -->
8176        <attr name="endColor" />
8177        <!-- Type of gradient. The default type is linear. -->
8178        <attr name="type" />
8179
8180        <!-- Only applied to RadialGradient-->
8181        <!-- Radius of the gradient, used only with radial gradient. -->
8182        <attr name="gradientRadius" />
8183
8184        <!-- Only applied to SweepGradient / RadialGradient-->
8185        <!-- X coordinate of the center of the gradient within the path. -->
8186        <attr name="centerX" />
8187        <!-- Y coordinate of the center of the gradient within the path. -->
8188        <attr name="centerY" />
8189
8190        <!-- LinearGradient specific -->
8191        <!-- X coordinate of the start point origin of the gradient.
8192             Defined in same coordinates as the path itself -->
8193        <attr name="startX" format="float" />
8194        <!-- Y coordinate of the start point of the gradient within the shape.
8195             Defined in same coordinates as the path itself -->
8196        <attr name="startY" format="float" />
8197        <!-- X coordinate of the end point origin of the gradient.
8198             Defined in same coordinates as the path itself -->
8199        <attr name="endX" format="float" />
8200        <!-- Y coordinate of the end point of the gradient within the shape.
8201             Defined in same coordinates as the path itself -->
8202        <attr name="endY" format="float" />
8203
8204        <!-- Defines the tile mode of the gradient. SweepGradient don't support tiling. -->
8205        <attr name="tileMode"/>
8206    </declare-styleable>
8207
8208    <!-- Describes an item of a GradientColor. Minimally need 2 items to define the gradient
8209         Colors defined in <item> override the simple color attributes such as
8210         "startColor / centerColor / endColor" are ignored -->
8211    <declare-styleable name="GradientColorItem">
8212        <!-- The offset (or ratio) of this current color item inside the gradient.
8213             The value is only meaningful when it is between 0 and 1. -->
8214        <attr name="offset" format="float" />
8215        <!-- The current color for the offset inside the gradient. -->
8216        <attr name="color" />
8217    </declare-styleable>
8218
8219    <!-- @hide Attributes which will be read by the Activity to intialize the 
8220               base activity TaskDescription. -->
8221    <declare-styleable name="ActivityTaskDescription">
8222        <!-- @hide From Theme.colorPrimary, used for the TaskDescription primary 
8223                   color. -->
8224        <attr name="colorPrimary" />
8225        <!-- @hide From Theme.colorBackground, used for the TaskDescription background 
8226                   color. -->
8227        <attr name="colorBackground" />
8228    </declare-styleable>
8229</resources>
8230