attrs.xml revision d4cfe820480b07878cba06b2774eaa1459a10851
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        <!-- The underline color and thickness for easy correct suggestion -->
166        <attr name="textAppearanceEasyCorrectSuggestion" format="reference" />
167
168        <!-- The underline color and thickness for misspelled suggestion -->
169        <attr name="textAppearanceMisspelledSuggestion" format="reference" />
170
171        <!-- The underline color and thickness for auto correction suggestion -->
172        <attr name="textAppearanceAutoCorrectionSuggestion" format="reference" />
173
174        <!--  The underline color -->
175        <attr name="textUnderlineColor" format="reference|color" />
176        <!--  The underline thickness -->
177        <attr name="textUnderlineThickness" format="reference|dimension" />
178
179        <!-- EditText text foreground color. -->
180        <attr name="editTextColor" format="reference|color" />
181        <!-- EditText background drawable. -->
182        <attr name="editTextBackground" format="reference" />
183
184        <!-- Popup text displayed in TextView when setError is used. -->
185        <attr name="errorMessageBackground" format="reference" />
186        <!-- Background used instead of errorMessageBackground when the popup has to be above. -->
187        <attr name="errorMessageAboveBackground" format="reference" />
188
189        <!-- A styled string, specifying the style to be used for showing
190             inline candidate text when composing with an input method.  The
191             text itself will be ignored, but the style spans will be applied
192             to the candidate text as it is edited. -->
193        <attr name="candidatesTextStyleSpans" format="reference|string" />
194
195        <!-- Drawable to use for check marks. -->
196        <attr name="textCheckMark" format="reference" />
197        <attr name="textCheckMarkInverse" format="reference" />
198
199        <!-- Drawable to use for multiple choice indicators. -->
200        <attr name="listChoiceIndicatorMultiple" format="reference" />
201
202        <!-- Drawable to use for single choice indicators. -->
203        <attr name="listChoiceIndicatorSingle" format="reference" />
204
205        <!-- Drawable used as a background for selected list items. -->
206        <attr name="listChoiceBackgroundIndicator" format="reference" />
207
208        <!-- Drawable used as a background for activated items. -->
209        <attr name="activatedBackgroundIndicator" format="reference" />
210
211        <!-- ============= -->
212        <!-- Button styles -->
213        <!-- ============= -->
214        <eat-comment />
215
216        <!-- Normal Button style. -->
217        <attr name="buttonStyle" format="reference" />
218
219        <!-- Small Button style. -->
220        <attr name="buttonStyleSmall" format="reference" />
221
222        <!-- Button style to inset into an EditText. -->
223        <attr name="buttonStyleInset" format="reference" />
224
225        <!-- ToggleButton style. -->
226        <attr name="buttonStyleToggle" format="reference" />
227
228        <!-- ============== -->
229        <!-- Gallery styles -->
230        <!-- ============== -->
231        <eat-comment />
232
233        <!-- The preferred background for gallery items. This should be set
234             as the background of any Views you provide from the Adapter. -->
235        <attr name="galleryItemBackground" format="reference" />
236
237        <!-- =========== -->
238        <!-- List styles -->
239        <!-- =========== -->
240        <eat-comment />
241
242        <!-- The preferred list item height. -->
243        <attr name="listPreferredItemHeight" format="dimension" />
244        <!-- A smaller, sleeker list item height. -->
245        <attr name="listPreferredItemHeightSmall" format="dimension" />
246        <!-- A larger, more robust list item height. -->
247        <attr name="listPreferredItemHeightLarge" format="dimension" />
248        <!-- The list item height for search results. @hide -->
249        <attr name="searchResultListItemHeight" format="dimension" />
250
251        <!-- The preferred padding along the left edge of list items. -->
252        <attr name="listPreferredItemPaddingLeft" format="dimension" />
253        <!-- The preferred padding along the right edge of list items. -->
254        <attr name="listPreferredItemPaddingRight" format="dimension" />
255
256        <!-- The preferred TextAppearance for the primary text of list items. -->
257        <attr name="textAppearanceListItem" format="reference" />
258        <!-- The preferred TextAppearance for the secondary text of list items. -->
259        <attr name="textAppearanceListItemSecondary" format="reference" />
260        <!-- The preferred TextAppearance for the primary text of small list items. -->
261        <attr name="textAppearanceListItemSmall" format="reference" />
262
263        <!-- The drawable for the list divider. -->
264        <attr name="listDivider" format="reference" />
265        <!-- The list divider used in alert dialogs. -->
266        <attr name="listDividerAlertDialog" format="reference" />
267        <!-- TextView style for list separators. -->
268        <attr name="listSeparatorTextViewStyle" format="reference" />
269        <!-- The preferred left padding for an expandable list item (for child-specific layouts,
270             use expandableListPreferredChildPaddingLeft). This takes into account
271             the indicator that will be shown to next to the item. -->
272        <attr name="expandableListPreferredItemPaddingLeft" format="dimension" />
273        <!-- The preferred left padding for an expandable list item that is a child.
274             If this is not provided, it defaults to the expandableListPreferredItemPaddingLeft. -->
275        <attr name="expandableListPreferredChildPaddingLeft" format="dimension" />
276        <!-- The preferred left bound for an expandable list item's indicator. For a child-specific
277             indicator, use expandableListPreferredChildIndicatorLeft. -->
278        <attr name="expandableListPreferredItemIndicatorLeft" format="dimension" />
279        <!-- The preferred right bound for an expandable list item's indicator. For a child-specific
280             indicator, use expandableListPreferredChildIndicatorRight. -->
281        <attr name="expandableListPreferredItemIndicatorRight" format="dimension" />
282        <!-- The preferred left bound for an expandable list child's indicator. -->
283        <attr name="expandableListPreferredChildIndicatorLeft" format="dimension" />
284        <!-- The preferred right bound for an expandable list child's indicator. -->
285        <attr name="expandableListPreferredChildIndicatorRight" format="dimension" />
286
287        <!-- The preferred item height for dropdown lists. -->
288        <attr name="dropdownListPreferredItemHeight" format="dimension" />
289
290        <!-- The preferred padding along the start edge of list items. -->
291        <attr name="listPreferredItemPaddingStart" format="dimension" />
292        <!-- The preferred padding along the end edge of list items. -->
293        <attr name="listPreferredItemPaddingEnd" format="dimension" />
294
295        <!-- ============= -->
296        <!-- Window styles -->
297        <!-- ============= -->
298        <eat-comment />
299
300        <!-- Drawable to use as the overall window background.  As of
301             {@link android.os.Build.VERSION_CODES#HONEYCOMB}, this may
302             be a selector that uses state_accelerated to pick a non-solid
303             color when running on devices that can draw such a bitmap
304             with complex compositing on top at 60fps.
305
306             <p>There are a few special considerations to use when setting this
307             drawable:
308             <ul>
309             <li> This information will be used to infer the pixel format
310                  for your window's surface.  If the drawable has any
311                  non-opaque pixels, your window will be translucent
312                  (32 bpp).
313             <li> If you want to draw the entire background
314                  yourself, you should set this drawable to some solid
315                  color that closely matches that background (so the
316                  system's preview of your window will match), and
317                  then in code manually set your window's background to
318                  null so it will not be drawn.
319             </ul> -->
320        <attr name="windowBackground" format="reference" />
321        <!-- Drawable to draw selectively within the inset areas when the windowBackground
322             has been set to null. This protects against seeing visual garbage in the
323             surface when the app has not drawn any content into this area. -->
324        <attr name="windowBackgroundFallback" format="reference" />
325        <!-- Drawable to use as a frame around the window. -->
326        <attr name="windowFrame" format="reference" />
327        <!-- Flag indicating whether there should be no title on this window. -->
328        <attr name="windowNoTitle" format="boolean" />
329        <!-- Flag indicating whether this window should fill the entire screen.  Corresponds
330             to {@link android.view.WindowManager.LayoutParams#FLAG_FULLSCREEN}. -->
331        <attr name="windowFullscreen" format="boolean" />
332        <!-- Flag indicating whether this window should extend into overscan region.  Corresponds
333             to {@link android.view.WindowManager.LayoutParams#FLAG_LAYOUT_IN_OVERSCAN}. -->
334        <attr name="windowOverscan" format="boolean" />
335        <!-- Flag indicating whether this is a floating window. -->
336        <attr name="windowIsFloating" format="boolean" />
337        <!-- Flag indicating whether this is a translucent window. If this attribute is unset (but
338             not if set to false), the window might still be considered translucent, if
339             windowSwipeToDismiss is set to true. -->
340        <attr name="windowIsTranslucent" format="boolean" />
341        <!-- Flag indicating that this window's background should be the
342             user's current wallpaper.  Corresponds
343             to {@link android.view.WindowManager.LayoutParams#FLAG_SHOW_WALLPAPER}. -->
344        <attr name="windowShowWallpaper" format="boolean" />
345        <!-- This Drawable is overlaid over the foreground of the Window's content area, usually
346             to place a shadow below the title.  -->
347        <attr name="windowContentOverlay" format="reference" />
348        <!-- The style resource to use for a window's title bar height. -->
349        <attr name="windowTitleSize" format="dimension" />
350        <!-- The style resource to use for a window's title text. -->
351        <attr name="windowTitleStyle" format="reference" />
352        <!-- The style resource to use for a window's title area. -->
353        <attr name="windowTitleBackgroundStyle" format="reference" />
354
355        <!-- Reference to a style resource holding
356             the set of window animations to use, which can be
357             any of the attributes defined by
358             {@link android.R.styleable#WindowAnimation}. -->
359        <attr name="windowAnimationStyle" format="reference" />
360
361        <!-- Flag indicating whether this window should have an Action Bar
362             in place of the usual title bar. -->
363        <attr name="windowActionBar" format="boolean" />
364
365        <!-- Flag indicating whether this window's Action Bar should overlay
366             application content. Does nothing if the window would not
367             have an Action Bar. -->
368        <attr name="windowActionBarOverlay" format="boolean" />
369
370        <!-- Flag indicating whether action modes should overlay window content
371             when there is not reserved space for their UI (such as an Action Bar). -->
372        <attr name="windowActionModeOverlay" format="boolean" />
373
374        <!-- Defines the default soft input state that this window would
375             like when it is displayed.  Corresponds
376             to {@link android.view.WindowManager.LayoutParams#softInputMode}. -->
377        <attr name="windowSoftInputMode">
378            <!-- Not specified, use what the system thinks is best.  This
379                 is the default. -->
380            <flag name="stateUnspecified" value="0" />
381            <!-- Leave the soft input window as-is, in whatever state it
382                 last was. -->
383            <flag name="stateUnchanged" value="1" />
384            <!-- Make the soft input area hidden when normally appropriate
385                 (when the user is navigating forward to your window). -->
386            <flag name="stateHidden" value="2" />
387            <!-- Always make the soft input area hidden when this window
388                 has input focus. -->
389            <flag name="stateAlwaysHidden" value="3" />
390            <!-- Make the soft input area visible when normally appropriate
391                 (when the user is navigating forward to your window). -->
392            <flag name="stateVisible" value="4" />
393            <!-- Always make the soft input area visible when this window
394                 has input focus. -->
395            <flag name="stateAlwaysVisible" value="5" />
396
397            <!-- The window resize/pan adjustment has not been specified,
398                 the system will automatically select between resize and pan
399                 modes, depending
400                 on whether the content of the window has any layout views
401                 that can scroll their contents.  If there is such a view,
402                 then the window will be resized, with the assumption being
403                 that the resizeable area can be reduced to make room for
404                 the input UI. -->
405            <flag name="adjustUnspecified" value="0x00" />
406            <!-- Always resize the window: the content area of the window is
407                 reduced to make room for the soft input area. -->
408            <flag name="adjustResize" value="0x10" />
409            <!-- Don't resize the window to make room for the soft input area;
410                 instead pan the contents of the window as focus moves inside
411                 of it so that the user can see what they are typing.  This is
412                 generally less desireable than panning because the user may
413                 need to close the input area to get at and interact with
414                 parts of the window. -->
415            <flag name="adjustPan" value="0x20" />
416            <!-- Don't resize <em>or</em> pan the window to make room for the
417                 soft input area; the window is never adjusted for it. -->
418            <flag name="adjustNothing" value="0x30" />
419        </attr>
420
421        <!-- Flag allowing you to disable the preview animation for a window.
422             The default value is false; if set to true, the system can never
423             use the window's theme to show a preview of it before your
424             actual instance is shown to the user. -->
425        <attr name="windowDisablePreview" format="boolean" />
426
427        <!-- Flag indicating that this window should not be displayed at all.
428             The default value is false; if set to true, and this window is
429             the main window of an Activity, then it will never actually
430             be added to the window manager.  This means that your activity
431             must immediately quit without waiting for user interaction,
432             because there will be no such interaction coming. -->
433        <attr name="windowNoDisplay" format="boolean" />
434
435        <!-- Flag indicating that this window should allow touches to be split
436             across other windows that also support split touch.
437             The default value is true for applications with a targetSdkVersion
438             of Honeycomb or newer; false otherwise.
439             When this flag is false, the first pointer that goes down determines
440             the window to which all subsequent touches go until all pointers go up.
441             When this flag is true, each pointer (not necessarily the first) that
442             goes down determines the window to which all subsequent touches of that
443             pointer will go until that pointers go up thereby enabling touches
444             with multiple pointers to be split across multiple windows. -->
445        <attr name="windowEnableSplitTouch" format="boolean" />
446
447        <!-- Control whether a container should automatically close itself if
448             the user touches outside of it.  This only applies to activities
449             and dialogs.
450
451             <p>Note: this attribute will only be respected for applications
452             that are targeting {@link android.os.Build.VERSION_CODES#HONEYCOMB}
453             or later. -->
454        <attr name="windowCloseOnTouchOutside" format="boolean" />
455
456        <!-- Flag indicating whether this window requests a translucent status bar.  Corresponds
457             to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_STATUS}. -->
458        <attr name="windowTranslucentStatus" format="boolean" />
459
460        <!-- Flag indicating whether this window requests a translucent navigation bar.  Corresponds
461             to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_NAVIGATION}. -->
462        <attr name="windowTranslucentNavigation" format="boolean" />
463
464        <!-- Flag to indicate that a window can be swiped away to be dismissed.
465             Corresponds to {@link android.view.Window#FEATURE_SWIPE_TO_DISMISS}. It will also
466             dynamically change translucency of the window, if the windowIsTranslucent is not set.
467             If windowIsTranslucent is set (to either true or false) it will obey that setting. -->
468        <attr name="windowSwipeToDismiss" format="boolean" />
469
470        <!-- Flag indicating whether this window requests that content changes be performed
471             as scene changes with transitions. Corresponds to
472             {@link android.view.Window#FEATURE_CONTENT_TRANSITIONS}. -->
473        <attr name="windowContentTransitions" format="boolean" />
474
475        <!-- Reference to a TransitionManager XML resource defining the desired
476             transitions between different window content. -->
477        <attr name="windowContentTransitionManager" format="reference" />
478
479        <!-- Flag indicating whether this window allows Activity Transitions.
480             Corresponds to {@link android.view.Window#FEATURE_ACTIVITY_TRANSITIONS}. -->
481        <attr name="windowActivityTransitions" format="boolean" />
482
483        <!-- Reference to a Transition XML resource defining the desired Transition
484             used to move Views into the initial Window's content Scene. Corresponds to
485             {@link android.view.Window#setEnterTransition(android.transition.Transition)}. -->
486        <attr name="windowEnterTransition" format="reference"/>
487
488        <!-- Reference to a Transition XML resource defining the desired Transition
489             used to move Views out of the scene when the Window is
490             preparing to close. Corresponds to
491             {@link android.view.Window#setReturnTransition(android.transition.Transition)}. -->
492        <attr name="windowReturnTransition" format="reference"/>
493
494        <!-- Reference to a Transition XML resource defining the desired Transition
495             used to move Views out of the Window's content Scene when launching a new Activity.
496             Corresponds to
497             {@link android.view.Window#setExitTransition(android.transition.Transition)}. -->
498        <attr name="windowExitTransition" format="reference"/>
499
500        <!-- Reference to a Transition XML resource defining the desired Transition
501             used to move Views in to the scene when returning from a previously-started Activity.
502             Corresponds to
503             {@link android.view.Window#setReenterTransition(android.transition.Transition)}. -->
504        <attr name="windowReenterTransition" format="reference"/>
505
506        <!-- Reference to a Transition XML resource defining the desired Transition
507             used to move shared elements transferred into the Window's initial content Scene.
508             Corresponds to {@link android.view.Window#setSharedElementEnterTransition(
509             android.transition.Transition)}. -->
510        <attr name="windowSharedElementEnterTransition" format="reference"/>
511
512        <!-- Reference to a Transition XML resource defining the desired Transition
513             used to move shared elements transferred back to a calling Activity.
514             Corresponds to {@link android.view.Window#setSharedElementReturnTransition(
515             android.transition.Transition)}. -->
516        <attr name="windowSharedElementReturnTransition" format="reference"/>
517
518        <!-- Reference to a Transition XML resource defining the desired Transition
519             used when starting a new Activity to move shared elements prior to transferring
520             to the called Activity.
521             Corresponds to {@link android.view.Window#setSharedElementExitTransition(
522             android.transition.Transition)}. -->
523        <attr name="windowSharedElementExitTransition" format="reference"/>
524
525        <!-- Reference to a Transition XML resource defining the desired Transition
526             used for shared elements transferred back to a calling Activity.
527             Corresponds to {@link android.view.Window#setSharedElementReenterTransition(
528             android.transition.Transition)}. -->
529        <attr name="windowSharedElementReenterTransition" format="reference"/>
530
531        <!-- Flag indicating whether this Window's transition should overlap with
532             the exiting transition of the calling Activity. Corresponds to
533             {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. -->
534        <attr name="windowAllowEnterTransitionOverlap" format="boolean"/>
535
536        <!-- Flag indicating whether this Window's transition should overlap with
537             the exiting transition of the called Activity when the called Activity
538             finishes. Corresponds to
539             {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. -->
540        <attr name="windowAllowReturnTransitionOverlap" format="boolean"/>
541
542        <!-- Indicates whether or not shared elements should use an overlay
543             during transitions. The default value is true. -->
544        <attr name="windowSharedElementsUseOverlay" format="boolean"/>
545
546        <!-- Internal layout used internally for window decor -->
547        <attr name="windowActionBarFullscreenDecorLayout" format="reference" />
548
549        <!-- The duration, in milliseconds, of the window background fade duration
550             when transitioning into or away from an Activity when called with an
551             Activity Transition. Corresponds to
552             {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. -->
553        <attr name="windowTransitionBackgroundFadeDuration" format="integer"/>
554
555        <!-- ============ -->
556        <!-- Floating toolbar styles -->
557        <!-- ============ -->
558       <eat-comment />
559       <attr name="floatingToolbarCloseDrawable" format="reference" />
560       <attr name="floatingToolbarForegroundColor" format="reference|color" />
561       <attr name="floatingToolbarItemBackgroundBorderlessDrawable" format="reference" />
562       <attr name="floatingToolbarItemBackgroundDrawable" format="reference" />
563       <attr name="floatingToolbarOpenDrawable" format="reference" />
564       <attr name="floatingToolbarPopupBackgroundDrawable" format="reference" />
565
566        <!-- ============ -->
567        <!-- Alert Dialog styles -->
568        <!-- ============ -->
569        <eat-comment />
570        <attr name="alertDialogStyle" format="reference" />
571        <attr name="alertDialogButtonGroupStyle" format="reference" />
572        <attr name="alertDialogCenterButtons" format="boolean" />
573
574        <!-- ============== -->
575        <!-- Image elements -->
576        <!-- ============== -->
577        <eat-comment />
578i
579        <!-- Background that can be used behind parts of a UI that provide
580             details on data the user is selecting.  For example, this is
581             the background element of PreferenceActivity's embedded
582             preference fragment. -->
583        <attr name="detailsElementBackground" format="reference" />
584
585        <!-- Icon that should be used to indicate that an app is waiting for a fingerprint scan.
586             This should be used whenever an app is requesting the user to place a finger on the
587             fingerprint sensor. It can be combined with other drawables such as colored circles, so
588             the appearance matches the branding of the app requesting the fingerprint scan.-->
589        <attr name="fingerprintAuthDrawable" format="reference" />
590
591        <!-- ============ -->
592        <!-- Panel styles -->
593        <!-- ============ -->
594        <eat-comment />
595
596        <!-- The background of a panel when it is inset from the left and right edges of the screen. -->
597        <attr name="panelBackground" format="reference|color" />
598        <!-- The background of a panel when it extends to the left and right edges of the screen. -->
599        <attr name="panelFullBackground" format="reference|color" />
600        <!-- Default color of foreground panel imagery. -->
601        <attr name="panelColorForeground" format="reference|color" />
602        <!-- Color that matches (as closely as possible) the panel background. -->
603        <attr name="panelColorBackground" format="reference|color" />
604        <!-- Default appearance of panel text. -->
605        <attr name="panelTextAppearance" format="reference" />
606
607        <attr name="panelMenuIsCompact" format="boolean" />
608        <attr name="panelMenuListWidth" format="dimension" />
609        <attr name="panelMenuListTheme" format="reference" />
610
611        <!-- =================== -->
612        <!-- Other widget styles -->
613        <!-- =================== -->
614        <eat-comment />
615
616        <!-- Default AbsListView style. -->
617        <attr name="absListViewStyle" format="reference" />
618        <!-- Default AutoCompleteTextView style. -->
619        <attr name="autoCompleteTextViewStyle" format="reference" />
620        <!-- Default Checkbox style. -->
621        <attr name="checkboxStyle" format="reference" />
622        <!-- Default CheckedTextView style. -->
623        <attr name="checkedTextViewStyle" format="reference" />
624        <!-- Default ListView style for drop downs. -->
625        <attr name="dropDownListViewStyle" format="reference" />
626        <!-- Default EditText style. -->
627        <attr name="editTextStyle" format="reference" />
628        <!-- Default ExpandableListView style. -->
629        <attr name="expandableListViewStyle" format="reference" />
630        <!-- ExpandableListView with white background. -->
631        <attr name="expandableListViewWhiteStyle" format="reference" />
632        <!-- Default Gallery style. -->
633        <attr name="galleryStyle" format="reference" />
634        <!-- Default GestureOverlayView style. -->
635        <attr name="gestureOverlayViewStyle" format="reference" />
636        <!-- Default GridView style. -->
637        <attr name="gridViewStyle" format="reference" />
638        <!-- The style resource to use for an ImageButton. -->
639        <attr name="imageButtonStyle" format="reference" />
640        <!-- The style resource to use for an ImageButton that is an image well. -->
641        <attr name="imageWellStyle" format="reference" />
642        <!-- Default ListView style. -->
643        <attr name="listViewStyle" format="reference" />
644        <!-- ListView with white background. -->
645        <attr name="listViewWhiteStyle" format="reference" />
646        <!-- Default PopupWindow style. -->
647        <attr name="popupWindowStyle" format="reference" />
648        <!-- Default ProgressBar style. This is a medium circular progress bar. -->
649        <attr name="progressBarStyle" format="reference" />
650        <!-- Horizontal ProgressBar style. This is a horizontal progress bar. -->
651        <attr name="progressBarStyleHorizontal" format="reference" />
652        <!-- Small ProgressBar style. This is a small circular progress bar. -->
653        <attr name="progressBarStyleSmall" format="reference" />
654        <!-- Small ProgressBar in title style. This is a small circular progress bar that will be placed in title bars. -->
655        <attr name="progressBarStyleSmallTitle" format="reference" />
656        <!-- Large ProgressBar style. This is a large circular progress bar. -->
657        <attr name="progressBarStyleLarge" format="reference" />
658        <!-- Inverse ProgressBar style. This is a medium circular progress bar. -->
659        <attr name="progressBarStyleInverse" format="reference" />
660        <!-- Small inverse ProgressBar style. This is a small circular progress bar. -->
661        <attr name="progressBarStyleSmallInverse" format="reference" />
662        <!-- Large inverse ProgressBar style. This is a large circular progress bar. -->
663        <attr name="progressBarStyleLargeInverse" format="reference" />
664        <!-- Default SeekBar style. -->
665        <attr name="seekBarStyle" format="reference" />
666        <!-- Default RatingBar style. -->
667        <attr name="ratingBarStyle" format="reference" />
668        <!-- Indicator RatingBar style. -->
669        <attr name="ratingBarStyleIndicator" format="reference" />
670        <!-- Small indicator RatingBar style. -->
671        <attr name="ratingBarStyleSmall" format="reference" />
672        <!-- Default RadioButton style. -->
673        <attr name="radioButtonStyle" format="reference" />
674        <!-- Default ScrollView style. -->
675        <attr name="scrollViewStyle" format="reference" />
676        <!-- Default HorizontalScrollView style. -->
677        <attr name="horizontalScrollViewStyle" format="reference" />
678        <!-- Default Spinner style. -->
679        <attr name="spinnerStyle" format="reference" />
680        <!-- Default dropdown Spinner style. -->
681        <attr name="dropDownSpinnerStyle" format="reference" />
682        <!-- Default ActionBar dropdown style. -->
683        <attr name="actionDropDownStyle" format="reference" />
684        <!-- Default action button style. -->
685        <attr name="actionButtonStyle" format="reference" />
686        <!-- Default Star style. -->
687        <attr name="starStyle" format="reference" />
688        <!-- Default TabWidget style. -->
689        <attr name="tabWidgetStyle" format="reference" />
690        <!-- Default TextView style. -->
691        <attr name="textViewStyle" format="reference" />
692        <!-- Default WebTextView style. -->
693        <attr name="webTextViewStyle" format="reference" />
694        <!-- Default WebView style. -->
695        <attr name="webViewStyle" format="reference" />
696        <!-- Default style for drop down items. -->
697        <attr name="dropDownItemStyle" format="reference" />
698         <!-- Default style for spinner drop down items. -->
699        <attr name="spinnerDropDownItemStyle" format="reference" />
700        <!-- Default style for drop down hints. -->
701        <attr name="dropDownHintAppearance" format="reference" />
702        <!-- Default spinner item style. -->
703        <attr name="spinnerItemStyle" format="reference" />
704        <!-- Default MapView style. -->
705        <attr name="mapViewStyle" format="reference" />
706        <!-- Drawable used as an overlay on top of quickcontact photos. -->
707        <attr name="quickContactBadgeOverlay" format="reference" />
708        <!-- Default quickcontact badge style with small quickcontact window. -->
709        <attr name="quickContactBadgeStyleWindowSmall" format="reference" />
710        <!-- Default quickcontact badge style with medium quickcontact window. -->
711        <attr name="quickContactBadgeStyleWindowMedium" format="reference" />
712        <!-- Default quickcontact badge style with large quickcontact window. -->
713        <attr name="quickContactBadgeStyleWindowLarge" format="reference" />
714        <!-- Default quickcontact badge style with small quickcontact window. -->
715        <attr name="quickContactBadgeStyleSmallWindowSmall" format="reference" />
716        <!-- Default quickcontact badge style with medium quickcontact window. -->
717        <attr name="quickContactBadgeStyleSmallWindowMedium" format="reference" />
718        <!-- Default quickcontact badge style with large quickcontact window. -->
719        <attr name="quickContactBadgeStyleSmallWindowLarge" format="reference" />
720        <!-- Reference to a style that will be used for the window containing a text
721             selection anchor. -->
722        <attr name="textSelectHandleWindowStyle" format="reference" />
723        <!-- Reference to a style that will be used for the window containing a list of possible
724             text suggestions in an EditText. -->
725        <attr name="textSuggestionsWindowStyle" format="reference" />
726        <!-- Default ListPopupWindow style. -->
727        <attr name="listPopupWindowStyle" format="reference" />
728        <!-- Default PopupMenu style. -->
729        <attr name="popupMenuStyle" format="reference" />
730        <!-- Default StackView style. -->
731        <attr name="stackViewStyle" format="reference" />
732
733        <!-- Default style for the FragmentBreadCrumbs widget. This widget is deprecated
734             starting in API level 21 ({@link android.os.Build.VERSION_CODES#.L}). -->
735        <attr name="fragmentBreadCrumbsStyle" format="reference" />
736
737        <!-- NumberPicker style. -->
738        <attr name="numberPickerStyle" format="reference" />
739
740        <!-- The CalendarView style. -->
741        <attr name="calendarViewStyle" format="reference" />
742
743        <!-- The TimePicker style. -->
744        <attr name="timePickerStyle" format="reference" />
745
746        <!-- The TimePicker dialog theme. -->
747        <attr name="timePickerDialogTheme" format="reference" />
748
749        <!-- The DatePicker style. -->
750        <attr name="datePickerStyle" format="reference" />
751
752        <!-- The DatePicker dialog theme. -->
753        <attr name="datePickerDialogTheme" format="reference" />
754
755        <!-- Default ActivityChooserView style. -->
756        <attr name="activityChooserViewStyle" format="reference" />
757
758        <!-- Default Toolbar style. -->
759        <attr name="toolbarStyle" format="reference" />
760
761        <!-- Fast scroller styles -->
762        <eat-comment />
763
764        <!-- Drawable to use as the fast scroll thumb. -->
765        <attr name="fastScrollThumbDrawable" format="reference" />
766        <!-- Drawable to use as the fast scroll index preview window background
767             when shown on the right. -->
768        <attr name="fastScrollPreviewBackgroundRight" format="reference" />
769        <!-- Drawable to use as the fast scroll index preview window background
770             when shown on the left. -->
771        <attr name="fastScrollPreviewBackgroundLeft" format="reference" />
772        <!-- Drawable to use as the track for the fast scroll thumb.
773             This may be null. -->
774        <attr name="fastScrollTrackDrawable" format="reference" />
775        <!-- Position of the fast scroll index overlay window. -->
776        <attr name="fastScrollOverlayPosition">
777            <enum name="floating" value="0" />
778            <enum name="atThumb" value="1" />
779            <enum name="aboveThumb" value="2" />
780        </attr>
781        <!-- Text color for the fast scroll index overlay. Make sure it
782             plays nicely with fastScrollPreviewBackground[Left|Right]. -->
783        <attr name="fastScrollTextColor" format="color" />
784
785        <!-- =================== -->
786        <!-- Action bar styles   -->
787        <!-- =================== -->
788        <eat-comment />
789        <!-- Default style for tabs within an action bar -->
790        <attr name="actionBarTabStyle" format="reference" />
791        <attr name="actionBarTabBarStyle" format="reference" />
792        <attr name="actionBarTabTextStyle" format="reference" />
793        <attr name="actionOverflowButtonStyle" format="reference" />
794        <attr name="actionOverflowMenuStyle" format="reference" />
795        <!-- Reference to a theme that should be used to inflate popups
796             shown by widgets in the action bar. -->
797        <attr name="actionBarPopupTheme" format="reference" />
798        <!-- Reference to a style for the Action Bar -->
799        <attr name="actionBarStyle" format="reference" />
800        <!-- Reference to a style for the split Action Bar. This style
801             controls the split component that holds the menu/action
802             buttons. actionBarStyle is still used for the primary
803             bar. -->
804        <attr name="actionBarSplitStyle" format="reference" />
805        <!-- Reference to a theme that should be used to inflate the
806             action bar. This will be inherited by any widget inflated
807             into the action bar. -->
808        <attr name="actionBarTheme" format="reference" />
809        <!-- Reference to a theme that should be used to inflate widgets
810             and layouts destined for the action bar. Most of the time
811             this will be a reference to the current theme, but when
812             the action bar has a significantly different contrast
813             profile than the rest of the activity the difference
814             can become important. If this is set to @null the current
815             theme will be used.-->
816        <attr name="actionBarWidgetTheme" format="reference" />
817        <!-- Size of the Action Bar, including the contextual
818             bar used to present Action Modes. -->
819        <attr name="actionBarSize" format="dimension" >
820            <enum name="wrap_content" value="0" />
821        </attr>
822        <!-- Custom divider drawable to use for elements in the action bar. -->
823        <attr name="actionBarDivider" format="reference" />
824        <!-- Custom item state list drawable background for action bar items. -->
825        <attr name="actionBarItemBackground" format="reference" />
826        <!-- TextAppearance style that will be applied to text that
827             appears within action menu items. -->
828        <attr name="actionMenuTextAppearance" format="reference" />
829        <!-- Color for text that appears within action menu items. -->
830        <attr name="actionMenuTextColor" format="color|reference" />
831
832        <!-- =================== -->
833        <!-- Action mode styles  -->
834        <!-- =================== -->
835        <eat-comment />
836        <attr name="actionModeStyle" format="reference" />
837        <attr name="actionModeCloseButtonStyle" format="reference" />
838        <!-- Background drawable to use for action mode UI -->
839        <attr name="actionModeBackground" format="reference" />
840        <!-- Background drawable to use for action mode UI in the lower split bar -->
841        <attr name="actionModeSplitBackground" format="reference" />
842        <!-- Drawable to use for the close action mode button -->
843        <attr name="actionModeCloseDrawable" format="reference" />
844
845        <!-- Drawable to use for the Cut action button in Contextual Action Bar -->
846        <attr name="actionModeCutDrawable" format="reference" />
847        <!-- Drawable to use for the Copy action button in Contextual Action Bar -->
848        <attr name="actionModeCopyDrawable" format="reference" />
849        <!-- Drawable to use for the Paste action button in Contextual Action Bar -->
850        <attr name="actionModePasteDrawable" format="reference" />
851        <!-- Drawable to use for the Select all action button in Contextual Action Bar -->
852        <attr name="actionModeSelectAllDrawable" format="reference" />
853        <!-- Drawable to use for the Share action button in WebView selection action modes -->
854        <attr name="actionModeShareDrawable" format="reference" />
855        <!-- Drawable to use for the Find action button in WebView selection action modes -->
856        <attr name="actionModeFindDrawable" format="reference" />
857        <!-- Drawable to use for the Web Search action button in WebView selection action modes -->
858        <attr name="actionModeWebSearchDrawable" format="reference" />
859
860        <!-- PopupWindow style to use for action modes when showing as a window overlay. -->
861        <attr name="actionModePopupWindowStyle" format="reference" />
862
863        <!-- =================== -->
864        <!-- Preference styles   -->
865        <!-- =================== -->
866        <eat-comment />
867
868        <!-- Default style for PreferenceScreen. -->
869        <attr name="preferenceScreenStyle" format="reference" />
870        <!-- Default style for the PreferenceActivity. -->
871        <attr name="preferenceActivityStyle" format="reference" />
872        <!-- Default style for Headers pane in PreferenceActivity. -->
873        <attr name="preferenceFragmentStyle" format="reference" />
874        <!-- Default style for PreferenceCategory. -->
875        <attr name="preferenceCategoryStyle" format="reference" />
876        <!-- Default style for Preference. -->
877        <attr name="preferenceStyle" format="reference" />
878        <!-- Default style for informational Preference. -->
879        <attr name="preferenceInformationStyle" format="reference" />
880        <!-- Default style for CheckBoxPreference. -->
881        <attr name="checkBoxPreferenceStyle" format="reference" />
882        <!-- Default style for YesNoPreference. -->
883        <attr name="yesNoPreferenceStyle" format="reference" />
884        <!-- Default style for DialogPreference. -->
885        <attr name="dialogPreferenceStyle" format="reference" />
886        <!-- Default style for EditTextPreference. -->
887        <attr name="editTextPreferenceStyle" format="reference" />
888        <!-- @hide Default style for SeekBarDialogPreference. -->
889        <attr name="seekBarDialogPreferenceStyle" format="reference" />
890        <!-- Default style for RingtonePreference. -->
891        <attr name="ringtonePreferenceStyle" format="reference" />
892        <!-- The preference layout that has the child/tabbed effect. -->
893        <attr name="preferenceLayoutChild" format="reference" />
894        <!-- Preference panel style -->
895        <attr name="preferencePanelStyle" format="reference" />
896        <!-- Preference headers panel style -->
897        <attr name="preferenceHeaderPanelStyle" format="reference" />
898        <!-- Preference list style -->
899        <attr name="preferenceListStyle" format="reference" />
900        <!-- Preference fragment list style -->
901        <attr name="preferenceFragmentListStyle" format="reference" />
902        <!-- Preference fragment padding side -->
903        <attr name="preferenceFragmentPaddingSide" format="dimension" />
904        <!-- Default style for switch preferences. -->
905        <attr name="switchPreferenceStyle" format="reference" />
906        <!-- Default style for seekbar preferences. -->
907        <attr name="seekBarPreferenceStyle" format="reference" />
908
909        <!-- ============================ -->
910        <!-- Text selection handle styles -->
911        <!-- ============================ -->
912        <eat-comment />
913
914        <!-- Reference to a drawable that will be used to display a text selection
915             anchor on the left side of a selection region. -->
916        <attr name="textSelectHandleLeft" format="reference" />
917        <!-- Reference to a drawable that will be used to display a text selection
918             anchor on the right side of a selection region. -->
919        <attr name="textSelectHandleRight" format="reference" />
920        <!-- Reference to a drawable that will be used to display a text selection
921             anchor for positioning the cursor within text. -->
922        <attr name="textSelectHandle" format="reference" />
923        <!-- The layout of the view that is displayed on top of the cursor to paste inside a
924             TextEdit field. -->
925        <attr name="textEditPasteWindowLayout" format="reference" />
926        <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. -->
927        <attr name="textEditNoPasteWindowLayout" format="reference" />
928        <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the
929             insertion cursor because it would be clipped if it were positioned on top. -->
930        <attr name="textEditSidePasteWindowLayout" format="reference" />
931        <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. -->
932        <attr name="textEditSideNoPasteWindowLayout" format="reference" />
933
934        <!-- Layout of the TextView item that will populate the suggestion popup window. -->
935        <attr name="textEditSuggestionItemLayout" format="reference" />
936
937        <!-- Theme to use for dialogs spawned from this theme. -->
938        <attr name="dialogTheme" format="reference" />
939        <!-- Window decor layout to use in dialog mode with icons. -->
940        <attr name="dialogTitleIconsDecorLayout" format="reference" />
941        <!-- Window decor layout to use in dialog mode with custom titles. -->
942        <attr name="dialogCustomTitleDecorLayout" format="reference" />
943        <!-- Window decor layout to use in dialog mode with title only. -->
944        <attr name="dialogTitleDecorLayout" format="reference" />
945        <!-- Preferred padding for dialog content. -->
946        <attr name="dialogPreferredPadding" format="dimension" />
947
948        <!-- Theme to use for alert dialogs spawned from this theme. -->
949        <attr name="alertDialogTheme" format="reference" />
950        <!-- Icon drawable to use for alerts -->
951        <attr name="alertDialogIcon" format="reference" />
952
953        <!-- Theme to use for presentations spawned from this theme. -->
954        <attr name="presentationTheme" format="reference" />
955
956        <!-- Drawable to use for generic vertical dividers. -->
957        <attr name="dividerVertical" format="reference" />
958
959        <!-- Drawable to use for generic horizontal dividers. -->
960        <attr name="dividerHorizontal" format="reference" />
961
962        <!-- Style for button bars -->
963        <attr name="buttonBarStyle" format="reference" />
964
965        <!-- Style for buttons within button bars -->
966        <attr name="buttonBarButtonStyle" format="reference" />
967
968        <!-- Style for the "positive" buttons within button bars -->
969        <attr name="buttonBarPositiveButtonStyle" format="reference" />
970
971        <!-- Style for the "negative" buttons within button bars -->
972        <attr name="buttonBarNegativeButtonStyle" format="reference" />
973
974        <!-- Style for the "neutral" buttons within button bars -->
975        <attr name="buttonBarNeutralButtonStyle" format="reference" />
976
977        <!-- Style for the search query widget. -->
978        <attr name="searchViewStyle" format="reference" />
979
980        <!-- Style for segmented buttons - a container that houses several buttons
981             with the appearance of a singel button broken into segments. -->
982        <attr name="segmentedButtonStyle" format="reference" />
983
984        <!-- Background drawable for bordered standalone items that need focus/pressed states. -->
985        <attr name="selectableItemBackground" format="reference" />
986
987        <!-- Background drawable for borderless standalone items that need focus/pressed states. -->
988        <attr name="selectableItemBackgroundBorderless" format="reference" />
989
990        <!-- Style for buttons without an explicit border, often used in groups. -->
991        <attr name="borderlessButtonStyle" format="reference" />
992
993        <!-- Background to use for toasts -->
994        <attr name="toastFrameBackground" format="reference" />
995
996        <!-- Theme to use for Search Dialogs -->
997        <attr name="searchDialogTheme" format="reference" />
998
999        <!-- Specifies a drawable to use for the 'home as up' indicator. -->
1000        <attr name="homeAsUpIndicator" format="reference" />
1001
1002        <!-- Preference frame layout styles. -->
1003        <attr name="preferenceFrameLayoutStyle" format="reference" />
1004
1005        <!-- Default style for the Switch widget. -->
1006        <attr name="switchStyle" format="reference" />
1007
1008        <!-- Default style for the MediaRouteButton widget. -->
1009        <attr name="mediaRouteButtonStyle" format="reference" />
1010
1011        <!-- ============== -->
1012        <!-- Pointer styles -->
1013        <!-- ============== -->
1014        <eat-comment />
1015
1016        <!-- Reference to the Pointer style -->
1017        <attr name="pointerStyle" format="reference" />
1018
1019        <!-- The drawable for accessibility focused views. -->
1020        <attr name="accessibilityFocusedDrawable" format="reference" />
1021
1022        <!-- Drawable for WebView find-on-page dialogue's "next" button. @hide -->
1023        <attr name="findOnPageNextDrawable" format="reference" />
1024
1025        <!-- Drawable for WebView find-on-page dialogue's "previous" button. @hide -->
1026        <attr name="findOnPagePreviousDrawable" format="reference" />
1027
1028        <!-- ============= -->
1029        <!-- Color palette -->
1030        <!-- ============= -->
1031        <eat-comment />
1032
1033        <!-- The primary branding color for the app. By default, this is the color applied to the
1034             action bar background. -->
1035        <attr name="colorPrimary" format="color" />
1036
1037        <!-- Dark variant of the primary branding color. By default, this is the color applied to
1038             the status bar (via statusBarColor) and navigation bar (via navigationBarColor). -->
1039        <attr name="colorPrimaryDark" format="color" />
1040
1041        <!-- Bright complement to the primary branding color. By default, this is the color applied
1042             to framework controls (via colorControlActivated). -->
1043        <attr name="colorAccent" format="color" />
1044
1045        <!-- The color applied to framework controls in their normal state. -->
1046        <attr name="colorControlNormal" format="color" />
1047
1048        <!-- The color applied to framework controls in their activated (ex. checked) state. -->
1049        <attr name="colorControlActivated" format="color" />
1050
1051        <!-- The color applied to framework control highlights (ex. ripples, list selectors). -->
1052        <attr name="colorControlHighlight" format="color" />
1053
1054        <!-- The color applied to framework buttons in their normal state. -->
1055        <attr name="colorButtonNormal" format="color" />
1056
1057        <!-- The color applied to framework switch thumbs in their normal state. -->
1058        <attr name="colorSwitchThumbNormal" format="color" />
1059
1060        <!-- The color applied to the edge effect on scrolling containers. -->
1061        <attr name="colorEdgeEffect" format="color" />
1062
1063        <!-- =================== -->
1064        <!-- Lighting properties -->
1065        <!-- =================== -->
1066        <eat-comment />
1067
1068        <!-- @hide The default Y position of the light used to project view shadows. -->
1069        <attr name="lightY" format="dimension" />
1070
1071        <!-- @hide The default Z position of the light used to project view shadows. -->
1072        <attr name="lightZ" format="dimension" />
1073
1074        <!-- @hide The default radius of the light used to project view shadows. -->
1075        <attr name="lightRadius" format="dimension" />
1076
1077        <!-- Alpha value of the ambient shadow projected by elevated views, between 0 and 1. -->
1078        <attr name="ambientShadowAlpha" format="float" />
1079
1080        <!-- Alpha value of the spot shadow projected by elevated views, between 0 and 1. -->
1081        <attr name="spotShadowAlpha" format="float" />
1082    </declare-styleable>
1083
1084    <!-- **************************************************************** -->
1085    <!-- Other non-theme attributes. -->
1086    <!-- **************************************************************** -->
1087    <eat-comment />
1088
1089    <!-- Size of text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp).
1090         Supported values include the following:<p/>
1091    <ul>
1092        <li><b>px</b> Pixels</li>
1093        <li><b>sp</b> Scaled pixels (scaled to relative pixel size on screen). See {@link android.util.DisplayMetrics} for more information.</li>
1094        <li><b>pt</b> Points</li>
1095        <li><b>dip</b> Device independent pixels. See {@link android.util.DisplayMetrics} for more information.</li>
1096    </ul>
1097        -->
1098    <attr name="textSize" format="dimension" />
1099
1100    <!-- Default font family. -->
1101    <attr name="fontFamily" format="string" />
1102
1103    <!-- Default text typeface. -->
1104    <attr name="typeface">
1105        <enum name="normal" value="0" />
1106        <enum name="sans" value="1" />
1107        <enum name="serif" value="2" />
1108        <enum name="monospace" value="3" />
1109    </attr>
1110
1111    <!-- Default text typeface style. -->
1112    <attr name="textStyle">
1113        <flag name="normal" value="0" />
1114        <flag name="bold" value="1" />
1115        <flag name="italic" value="2" />
1116    </attr>
1117
1118    <!-- Color of text (usually same as colorForeground). -->
1119    <attr name="textColor" format="reference|color" />
1120
1121    <!-- Color of highlighted text. -->
1122    <attr name="textColorHighlight" format="reference|color" />
1123
1124    <!-- Color of hint text (displayed when the field is empty). -->
1125    <attr name="textColorHint" format="reference|color" />
1126
1127    <!-- Color of link text (URLs). -->
1128    <attr name="textColorLink" format="reference|color" />
1129
1130    <!-- Reference to a drawable that will be drawn under the insertion cursor. -->
1131    <attr name="textCursorDrawable" format="reference" />
1132
1133    <!-- Indicates that the content of a non-editable TextView can be selected.
1134     Default value is false. EditText content is always selectable. -->
1135    <attr name="textIsSelectable" format="boolean" />
1136
1137    <!-- Where to ellipsize text. -->
1138    <attr name="ellipsize">
1139        <enum name="none" value="0" />
1140        <enum name="start" value="1" />
1141        <enum name="middle" value="2" />
1142        <enum name="end" value="3" />
1143        <enum name="marquee" value="4" />
1144    </attr>
1145
1146    <!-- The type of data being placed in a text field, used to help an
1147         input method decide how to let the user enter text.  The constants
1148         here correspond to those defined by
1149         {@link android.text.InputType}.  Generally you can select
1150         a single value, though some can be combined together as
1151         indicated.  Setting this attribute to anything besides
1152         <var>none</var> also implies that the text is editable. -->
1153    <attr name="inputType">
1154        <!-- There is no content type.  The text is not editable. -->
1155        <flag name="none" value="0x00000000" />
1156        <!-- Just plain old text.  Corresponds to
1157             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1158             {@link android.text.InputType#TYPE_TEXT_VARIATION_NORMAL}. -->
1159        <flag name="text" value="0x00000001" />
1160        <!-- Can be combined with <var>text</var> and its variations to
1161             request capitalization of all characters.  Corresponds to
1162             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_CHARACTERS}. -->
1163        <flag name="textCapCharacters" value="0x00001001" />
1164        <!-- Can be combined with <var>text</var> and its variations to
1165             request capitalization of the first character of every word.  Corresponds to
1166             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_WORDS}. -->
1167        <flag name="textCapWords" value="0x00002001" />
1168        <!-- Can be combined with <var>text</var> and its variations to
1169             request capitalization of the first character of every sentence.  Corresponds to
1170             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_SENTENCES}. -->
1171        <flag name="textCapSentences" value="0x00004001" />
1172        <!-- Can be combined with <var>text</var> and its variations to
1173             request auto-correction of text being input.  Corresponds to
1174             {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_CORRECT}. -->
1175        <flag name="textAutoCorrect" value="0x00008001" />
1176        <!-- Can be combined with <var>text</var> and its variations to
1177             specify that this field will be doing its own auto-completion and
1178             talking with the input method appropriately.  Corresponds to
1179             {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_COMPLETE}. -->
1180        <flag name="textAutoComplete" value="0x00010001" />
1181        <!-- Can be combined with <var>text</var> and its variations to
1182             allow multiple lines of text in the field.  If this flag is not set,
1183             the text field will be constrained to a single line.  Corresponds to
1184             {@link android.text.InputType#TYPE_TEXT_FLAG_MULTI_LINE}. -->
1185        <flag name="textMultiLine" value="0x00020001" />
1186        <!-- Can be combined with <var>text</var> and its variations to
1187             indicate that though the regular text view should not be multiple
1188             lines, the IME should provide multiple lines if it can.  Corresponds to
1189             {@link android.text.InputType#TYPE_TEXT_FLAG_IME_MULTI_LINE}. -->
1190        <flag name="textImeMultiLine" value="0x00040001" />
1191        <!-- Can be combined with <var>text</var> and its variations to
1192             indicate that the IME should not show any
1193             dictionary-based word suggestions.  Corresponds to
1194             {@link android.text.InputType#TYPE_TEXT_FLAG_NO_SUGGESTIONS}. -->
1195        <flag name="textNoSuggestions" value="0x00080001" />
1196        <!-- Text that will be used as a URI.  Corresponds to
1197             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1198             {@link android.text.InputType#TYPE_TEXT_VARIATION_URI}. -->
1199        <flag name="textUri" value="0x00000011" />
1200        <!-- Text that will be used as an e-mail address.  Corresponds to
1201             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1202             {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_ADDRESS}. -->
1203        <flag name="textEmailAddress" value="0x00000021" />
1204        <!-- Text that is being supplied as the subject of an e-mail.  Corresponds to
1205             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1206             {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_SUBJECT}. -->
1207        <flag name="textEmailSubject" value="0x00000031" />
1208        <!-- Text that is the content of a short message.  Corresponds to
1209             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1210             {@link android.text.InputType#TYPE_TEXT_VARIATION_SHORT_MESSAGE}. -->
1211        <flag name="textShortMessage" value="0x00000041" />
1212        <!-- Text that is the content of a long message.  Corresponds to
1213             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1214             {@link android.text.InputType#TYPE_TEXT_VARIATION_LONG_MESSAGE}. -->
1215        <flag name="textLongMessage" value="0x00000051" />
1216        <!-- Text that is the name of a person.  Corresponds to
1217             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1218             {@link android.text.InputType#TYPE_TEXT_VARIATION_PERSON_NAME}. -->
1219        <flag name="textPersonName" value="0x00000061" />
1220        <!-- Text that is being supplied as a postal mailing address.  Corresponds to
1221             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1222             {@link android.text.InputType#TYPE_TEXT_VARIATION_POSTAL_ADDRESS}. -->
1223        <flag name="textPostalAddress" value="0x00000071" />
1224        <!-- Text that is a password.  Corresponds to
1225             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1226             {@link android.text.InputType#TYPE_TEXT_VARIATION_PASSWORD}. -->
1227        <flag name="textPassword" value="0x00000081" />
1228        <!-- Text that is a password that should be visible.  Corresponds to
1229             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1230             {@link android.text.InputType#TYPE_TEXT_VARIATION_VISIBLE_PASSWORD}. -->
1231        <flag name="textVisiblePassword" value="0x00000091" />
1232        <!-- Text that is being supplied as text in a web form.  Corresponds to
1233             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1234             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EDIT_TEXT}. -->
1235        <flag name="textWebEditText" value="0x000000a1" />
1236        <!-- Text that is filtering some other data.  Corresponds to
1237             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1238             {@link android.text.InputType#TYPE_TEXT_VARIATION_FILTER}. -->
1239        <flag name="textFilter" value="0x000000b1" />
1240        <!-- Text that is for phonetic pronunciation, such as a phonetic name
1241             field in a contact entry.  Corresponds to
1242             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1243             {@link android.text.InputType#TYPE_TEXT_VARIATION_PHONETIC}. -->
1244        <flag name="textPhonetic" value="0x000000c1" />
1245        <!-- Text that will be used as an e-mail address on a web form.  Corresponds to
1246             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1247             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS}. -->
1248        <flag name="textWebEmailAddress" value="0x000000d1" />
1249        <!-- Text that will be used as a password on a web form.  Corresponds to
1250             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1251             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_PASSWORD}. -->
1252        <flag name="textWebPassword" value="0x000000e1" />
1253        <!-- A numeric only field.  Corresponds to
1254             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1255             {@link android.text.InputType#TYPE_NUMBER_VARIATION_NORMAL}. -->
1256        <flag name="number" value="0x00000002" />
1257        <!-- Can be combined with <var>number</var> and its other options to
1258             allow a signed number.  Corresponds to
1259             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1260             {@link android.text.InputType#TYPE_NUMBER_FLAG_SIGNED}. -->
1261        <flag name="numberSigned" value="0x00001002" />
1262        <!-- Can be combined with <var>number</var> and its other options to
1263             allow a decimal (fractional) number.  Corresponds to
1264             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1265             {@link android.text.InputType#TYPE_NUMBER_FLAG_DECIMAL}. -->
1266        <flag name="numberDecimal" value="0x00002002" />
1267        <!-- A numeric password field.  Corresponds to
1268             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1269             {@link android.text.InputType#TYPE_NUMBER_VARIATION_PASSWORD}. -->
1270        <flag name="numberPassword" value="0x00000012" />
1271        <!-- For entering a phone number.  Corresponds to
1272             {@link android.text.InputType#TYPE_CLASS_PHONE}. -->
1273        <flag name="phone" value="0x00000003" />
1274        <!-- For entering a date and time.  Corresponds to
1275             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1276             {@link android.text.InputType#TYPE_DATETIME_VARIATION_NORMAL}. -->
1277        <flag name="datetime" value="0x00000004" />
1278        <!-- For entering a date.  Corresponds to
1279             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1280             {@link android.text.InputType#TYPE_DATETIME_VARIATION_DATE}. -->
1281        <flag name="date" value="0x00000014" />
1282        <!-- For entering a time.  Corresponds to
1283             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1284             {@link android.text.InputType#TYPE_DATETIME_VARIATION_TIME}. -->
1285        <flag name="time" value="0x00000024" />
1286    </attr>
1287
1288    <!-- Additional features you can enable in an IME associated with an editor
1289         to improve the integration with your application.  The constants
1290         here correspond to those defined by
1291         {@link android.view.inputmethod.EditorInfo#imeOptions}. -->
1292    <attr name="imeOptions">
1293        <!-- There are no special semantics associated with this editor. -->
1294        <flag name="normal" value="0x00000000" />
1295        <!-- There is no specific action associated with this editor, let the
1296             editor come up with its own if it can.
1297             Corresponds to
1298             {@link android.view.inputmethod.EditorInfo#IME_NULL}. -->
1299        <flag name="actionUnspecified" value="0x00000000" />
1300        <!-- This editor has no action associated with it.
1301             Corresponds to
1302             {@link android.view.inputmethod.EditorInfo#IME_ACTION_NONE}. -->
1303        <flag name="actionNone" value="0x00000001" />
1304        <!-- The action key performs a "go"
1305             operation to take the user to the target of the text they typed.
1306             Typically used, for example, when entering a URL.
1307             Corresponds to
1308             {@link android.view.inputmethod.EditorInfo#IME_ACTION_GO}. -->
1309        <flag name="actionGo" value="0x00000002" />
1310        <!-- The action key performs a "search"
1311             operation, taking the user to the results of searching for the text
1312             the have typed (in whatever context is appropriate).
1313             Corresponds to
1314             {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEARCH}. -->
1315        <flag name="actionSearch" value="0x00000003" />
1316        <!-- The action key performs a "send"
1317             operation, delivering the text to its target.  This is typically used
1318             when composing a message.
1319             Corresponds to
1320             {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEND}. -->
1321        <flag name="actionSend" value="0x00000004" />
1322        <!-- The action key performs a "next"
1323             operation, taking the user to the next field that will accept text.
1324             Corresponds to
1325             {@link android.view.inputmethod.EditorInfo#IME_ACTION_NEXT}. -->
1326        <flag name="actionNext" value="0x00000005" />
1327        <!-- The action key performs a "done"
1328             operation, closing the soft input method.
1329             Corresponds to
1330             {@link android.view.inputmethod.EditorInfo#IME_ACTION_DONE}. -->
1331        <flag name="actionDone" value="0x00000006" />
1332        <!-- The action key performs a "previous"
1333             operation, taking the user to the previous field that will accept text.
1334             Corresponds to
1335             {@link android.view.inputmethod.EditorInfo#IME_ACTION_PREVIOUS}. -->
1336        <flag name="actionPrevious" value="0x00000007" />
1337        <!-- Used to request that the IME never go
1338             into fullscreen mode.  Applications need to be aware that the flag is not
1339             a guarantee, and not all IMEs will respect it.
1340             <p>Corresponds to
1341             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. -->
1342        <flag name="flagNoFullscreen" value="0x2000000" />
1343        <!-- Like flagNavigateNext, but
1344             specifies there is something interesting that a backward navigation
1345             can focus on.  If the user selects the IME's facility to backward
1346             navigate, this will show up in the application as an actionPrevious
1347             at {@link android.view.inputmethod.InputConnection#performEditorAction(int)
1348             InputConnection.performEditorAction(int)}.
1349             <p>Corresponds to
1350             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. -->
1351        <flag name="flagNavigatePrevious" value="0x4000000" />
1352        <!-- Used to specify that there is something
1353             interesting that a forward navigation can focus on. This is like using
1354             actionNext, except allows the IME to be multiline (with
1355             an enter key) as well as provide forward navigation.  Note that some
1356             IMEs may not be able to do this, especially when running on a small
1357             screen where there is little space.  In that case it does not need to
1358             present a UI for this option.  Like actionNext, if the
1359             user selects the IME's facility to forward navigate, this will show up
1360             in the application at
1361             {@link android.view.inputmethod.InputConnection#performEditorAction(int)
1362             InputConnection.performEditorAction(int)}.
1363             <p>Corresponds to
1364             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NAVIGATE_NEXT}. -->
1365        <flag name="flagNavigateNext" value="0x8000000" />
1366        <!-- Used to specify that the IME does not need
1367             to show its extracted text UI.  For input methods that may be fullscreen,
1368             often when in landscape mode, this allows them to be smaller and let part
1369             of the application be shown behind.  Though there will likely be limited
1370             access to the application available from the user, it can make the
1371             experience of a (mostly) fullscreen IME less jarring.  Note that when
1372             this flag is specified the IME may <em>not</em> be set up to be able
1373             to display text, so it should only be used in situations where this is
1374             not needed.
1375             <p>Corresponds to
1376             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_EXTRACT_UI}. -->
1377        <flag name="flagNoExtractUi" value="0x10000000" />
1378        <!-- Used in conjunction with a custom action, this indicates that the
1379             action should not be available as an accessory button when the
1380             input method is full-screen.
1381             Note that by setting this flag, there can be cases where the action
1382             is simply never available to the user.  Setting this generally means
1383             that you think showing text being edited is more important than the
1384             action you have supplied.
1385             <p>Corresponds to
1386             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ACCESSORY_ACTION}. -->
1387        <flag name="flagNoAccessoryAction" value="0x20000000" />
1388        <!-- Used in conjunction with a custom action,
1389             this indicates that the action should not be available in-line as
1390             a replacement for the "enter" key.  Typically this is
1391             because the action has such a significant impact or is not recoverable
1392             enough that accidentally hitting it should be avoided, such as sending
1393             a message.    Note that {@link android.widget.TextView} will
1394             automatically set this flag for you on multi-line text views.
1395             <p>Corresponds to
1396             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ENTER_ACTION}. -->
1397        <flag name="flagNoEnterAction" value="0x40000000" />
1398        <!-- Used to request that the IME should be capable of inputting ASCII
1399             characters.  The intention of this flag is to ensure that the user
1400             can type Roman alphabet characters in a {@link android.widget.TextView}
1401             used for, typically, account ID or password input.  It is expected that IMEs
1402             normally are able to input ASCII even without being told so (such IMEs
1403             already respect this flag in a sense), but there could be some cases they
1404             aren't when, for instance, only non-ASCII input languagaes like Arabic,
1405             Greek, Hebrew, Russian are enabled in the IME.  Applications need to be
1406             aware that the flag is not a guarantee, and not all IMEs will respect it.
1407             However, it is strongly recommended for IME authors to respect this flag
1408             especially when their IME could end up with a state that has only non-ASCII
1409             input languages enabled.
1410             <p>Corresponds to
1411             {@link android.view.inputmethod.EditorInfo#IME_FLAG_FORCE_ASCII}. -->
1412        <flag name="flagForceAscii" value="0x80000000" />
1413    </attr>
1414
1415    <!-- A coordinate in the X dimension. -->
1416    <attr name="x" format="dimension" />
1417    <!-- A coordinate in the Y dimension. -->
1418    <attr name="y" format="dimension" />
1419
1420    <!-- Specifies how an object should position its content, on both the X and Y axes,
1421         within its own bounds.  -->
1422    <attr name="gravity">
1423        <!-- Push object to the top of its container, not changing its size. -->
1424        <flag name="top" value="0x30" />
1425        <!-- Push object to the bottom of its container, not changing its size. -->
1426        <flag name="bottom" value="0x50" />
1427        <!-- Push object to the left of its container, not changing its size. -->
1428        <flag name="left" value="0x03" />
1429        <!-- Push object to the right of its container, not changing its size. -->
1430        <flag name="right" value="0x05" />
1431        <!-- Place object in the vertical center of its container, not changing its size. -->
1432        <flag name="center_vertical" value="0x10" />
1433        <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
1434        <flag name="fill_vertical" value="0x70" />
1435        <!-- Place object in the horizontal center of its container, not changing its size. -->
1436        <flag name="center_horizontal" value="0x01" />
1437        <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
1438        <flag name="fill_horizontal" value="0x07" />
1439        <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
1440        <flag name="center" value="0x11" />
1441        <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
1442        <flag name="fill" value="0x77" />
1443        <!-- Additional option that can be set to have the top and/or bottom edges of
1444             the child clipped to its container's bounds.
1445             The clip will be based on the vertical gravity: a top gravity will clip the bottom
1446             edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
1447        <flag name="clip_vertical" value="0x80" />
1448        <!-- Additional option that can be set to have the left and/or right edges of
1449             the child clipped to its container's bounds.
1450             The clip will be based on the horizontal gravity: a left gravity will clip the right
1451             edge, a right gravity will clip the left edge, and neither will clip both edges. -->
1452        <flag name="clip_horizontal" value="0x08" />
1453        <!-- Push object to the beginning of its container, not changing its size. -->
1454        <flag name="start" value="0x00800003" />
1455        <!-- Push object to the end of its container, not changing its size. -->
1456        <flag name="end" value="0x00800005" />
1457    </attr>
1458
1459    <!-- Controls whether links such as urls and email addresses are
1460         automatically found and converted to clickable links.  The default
1461         value is "none", disabling this feature. -->
1462    <attr name="autoLink">
1463        <!-- Match no patterns (default). -->
1464        <flag name="none" value="0x00" />
1465        <!-- Match Web URLs. -->
1466        <flag name="web" value="0x01" />
1467        <!-- Match email addresses. -->
1468        <flag name="email" value="0x02" />
1469        <!-- Match phone numbers. -->
1470        <flag name="phone" value="0x04" />
1471        <!-- Match map addresses. -->
1472        <flag name="map" value="0x08" />
1473        <!-- Match all patterns (equivalent to web|email|phone|map). -->
1474        <flag name="all" value="0x0f" />
1475    </attr>
1476
1477    <!-- Reference to an array resource that will populate a list/adapter. -->
1478    <attr name="entries" format="reference" />
1479
1480    <!-- Standard gravity constant that a child supplies to its parent.
1481         Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout. -->
1482    <attr name="layout_gravity">
1483        <!-- Push object to the top of its container, not changing its size. -->
1484        <flag name="top" value="0x30" />
1485        <!-- Push object to the bottom of its container, not changing its size. -->
1486        <flag name="bottom" value="0x50" />
1487        <!-- Push object to the left of its container, not changing its size. -->
1488        <flag name="left" value="0x03" />
1489        <!-- Push object to the right of its container, not changing its size. -->
1490        <flag name="right" value="0x05" />
1491        <!-- Place object in the vertical center of its container, not changing its size. -->
1492        <flag name="center_vertical" value="0x10" />
1493        <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
1494        <flag name="fill_vertical" value="0x70" />
1495        <!-- Place object in the horizontal center of its container, not changing its size. -->
1496        <flag name="center_horizontal" value="0x01" />
1497        <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
1498        <flag name="fill_horizontal" value="0x07" />
1499        <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
1500        <flag name="center" value="0x11" />
1501        <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
1502        <flag name="fill" value="0x77" />
1503        <!-- Additional option that can be set to have the top and/or bottom edges of
1504             the child clipped to its container's bounds.
1505             The clip will be based on the vertical gravity: a top gravity will clip the bottom
1506             edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
1507        <flag name="clip_vertical" value="0x80" />
1508        <!-- Additional option that can be set to have the left and/or right edges of
1509             the child clipped to its container's bounds.
1510             The clip will be based on the horizontal gravity: a left gravity will clip the right
1511             edge, a right gravity will clip the left edge, and neither will clip both edges. -->
1512        <flag name="clip_horizontal" value="0x08" />
1513        <!-- Push object to the beginning of its container, not changing its size. -->
1514        <flag name="start" value="0x00800003" />
1515        <!-- Push object to the end of its container, not changing its size. -->
1516        <flag name="end" value="0x00800005" />
1517    </attr>
1518
1519    <!-- Standard orientation constant. -->
1520    <attr name="orientation">
1521        <!-- Defines an horizontal widget. -->
1522        <enum name="horizontal" value="0" />
1523        <!-- Defines a vertical widget. -->
1524        <enum name="vertical" value="1" />
1525    </attr>
1526
1527    <!-- Alignment constants. -->
1528    <attr name="alignmentMode">
1529        <!-- Align the bounds of the children.
1530        See {@link android.widget.GridLayout#ALIGN_BOUNDS}. -->
1531        <enum name="alignBounds" value="0" />
1532        <!-- Align the margins of the children.
1533        See {@link android.widget.GridLayout#ALIGN_MARGINS}. -->
1534        <enum name="alignMargins" value="1" />
1535    </attr>
1536
1537    <!-- ========================== -->
1538    <!-- Key Codes                  -->
1539    <!-- ========================== -->
1540    <eat-comment />
1541
1542    <!-- This enum provides the same keycode values as can be found in
1543        {@link android.view.KeyEvent}. -->
1544    <attr name="keycode">
1545        <enum name="KEYCODE_UNKNOWN" value="0" />
1546        <enum name="KEYCODE_SOFT_LEFT" value="1" />
1547        <enum name="KEYCODE_SOFT_RIGHT" value="2" />
1548        <enum name="KEYCODE_HOME" value="3" />
1549        <enum name="KEYCODE_BACK" value="4" />
1550        <enum name="KEYCODE_CALL" value="5" />
1551        <enum name="KEYCODE_ENDCALL" value="6" />
1552        <enum name="KEYCODE_0" value="7" />
1553        <enum name="KEYCODE_1" value="8" />
1554        <enum name="KEYCODE_2" value="9" />
1555        <enum name="KEYCODE_3" value="10" />
1556        <enum name="KEYCODE_4" value="11" />
1557        <enum name="KEYCODE_5" value="12" />
1558        <enum name="KEYCODE_6" value="13" />
1559        <enum name="KEYCODE_7" value="14" />
1560        <enum name="KEYCODE_8" value="15" />
1561        <enum name="KEYCODE_9" value="16" />
1562        <enum name="KEYCODE_STAR" value="17" />
1563        <enum name="KEYCODE_POUND" value="18" />
1564        <enum name="KEYCODE_DPAD_UP" value="19" />
1565        <enum name="KEYCODE_DPAD_DOWN" value="20" />
1566        <enum name="KEYCODE_DPAD_LEFT" value="21" />
1567        <enum name="KEYCODE_DPAD_RIGHT" value="22" />
1568        <enum name="KEYCODE_DPAD_CENTER" value="23" />
1569        <enum name="KEYCODE_VOLUME_UP" value="24" />
1570        <enum name="KEYCODE_VOLUME_DOWN" value="25" />
1571        <enum name="KEYCODE_POWER" value="26" />
1572        <enum name="KEYCODE_CAMERA" value="27" />
1573        <enum name="KEYCODE_CLEAR" value="28" />
1574        <enum name="KEYCODE_A" value="29" />
1575        <enum name="KEYCODE_B" value="30" />
1576        <enum name="KEYCODE_C" value="31" />
1577        <enum name="KEYCODE_D" value="32" />
1578        <enum name="KEYCODE_E" value="33" />
1579        <enum name="KEYCODE_F" value="34" />
1580        <enum name="KEYCODE_G" value="35" />
1581        <enum name="KEYCODE_H" value="36" />
1582        <enum name="KEYCODE_I" value="37" />
1583        <enum name="KEYCODE_J" value="38" />
1584        <enum name="KEYCODE_K" value="39" />
1585        <enum name="KEYCODE_L" value="40" />
1586        <enum name="KEYCODE_M" value="41" />
1587        <enum name="KEYCODE_N" value="42" />
1588        <enum name="KEYCODE_O" value="43" />
1589        <enum name="KEYCODE_P" value="44" />
1590        <enum name="KEYCODE_Q" value="45" />
1591        <enum name="KEYCODE_R" value="46" />
1592        <enum name="KEYCODE_S" value="47" />
1593        <enum name="KEYCODE_T" value="48" />
1594        <enum name="KEYCODE_U" value="49" />
1595        <enum name="KEYCODE_V" value="50" />
1596        <enum name="KEYCODE_W" value="51" />
1597        <enum name="KEYCODE_X" value="52" />
1598        <enum name="KEYCODE_Y" value="53" />
1599        <enum name="KEYCODE_Z" value="54" />
1600        <enum name="KEYCODE_COMMA" value="55" />
1601        <enum name="KEYCODE_PERIOD" value="56" />
1602        <enum name="KEYCODE_ALT_LEFT" value="57" />
1603        <enum name="KEYCODE_ALT_RIGHT" value="58" />
1604        <enum name="KEYCODE_SHIFT_LEFT" value="59" />
1605        <enum name="KEYCODE_SHIFT_RIGHT" value="60" />
1606        <enum name="KEYCODE_TAB" value="61" />
1607        <enum name="KEYCODE_SPACE" value="62" />
1608        <enum name="KEYCODE_SYM" value="63" />
1609        <enum name="KEYCODE_EXPLORER" value="64" />
1610        <enum name="KEYCODE_ENVELOPE" value="65" />
1611        <enum name="KEYCODE_ENTER" value="66" />
1612        <enum name="KEYCODE_DEL" value="67" />
1613        <enum name="KEYCODE_GRAVE" value="68" />
1614        <enum name="KEYCODE_MINUS" value="69" />
1615        <enum name="KEYCODE_EQUALS" value="70" />
1616        <enum name="KEYCODE_LEFT_BRACKET" value="71" />
1617        <enum name="KEYCODE_RIGHT_BRACKET" value="72" />
1618        <enum name="KEYCODE_BACKSLASH" value="73" />
1619        <enum name="KEYCODE_SEMICOLON" value="74" />
1620        <enum name="KEYCODE_APOSTROPHE" value="75" />
1621        <enum name="KEYCODE_SLASH" value="76" />
1622        <enum name="KEYCODE_AT" value="77" />
1623        <enum name="KEYCODE_NUM" value="78" />
1624        <enum name="KEYCODE_HEADSETHOOK" value="79" />
1625        <enum name="KEYCODE_FOCUS" value="80" />
1626        <enum name="KEYCODE_PLUS" value="81" />
1627        <enum name="KEYCODE_MENU" value="82" />
1628        <enum name="KEYCODE_NOTIFICATION" value="83" />
1629        <enum name="KEYCODE_SEARCH" value="84" />
1630        <enum name="KEYCODE_MEDIA_PLAY_PAUSE" value="85" />
1631        <enum name="KEYCODE_MEDIA_STOP" value="86" />
1632        <enum name="KEYCODE_MEDIA_NEXT" value="87" />
1633        <enum name="KEYCODE_MEDIA_PREVIOUS" value="88" />
1634        <enum name="KEYCODE_MEDIA_REWIND" value="89" />
1635        <enum name="KEYCODE_MEDIA_FAST_FORWARD" value="90" />
1636        <enum name="KEYCODE_MUTE" value="91" />
1637        <enum name="KEYCODE_PAGE_UP" value="92" />
1638        <enum name="KEYCODE_PAGE_DOWN" value="93" />
1639        <enum name="KEYCODE_PICTSYMBOLS" value="94" />
1640        <enum name="KEYCODE_SWITCH_CHARSET" value="95" />
1641        <enum name="KEYCODE_BUTTON_A" value="96" />
1642        <enum name="KEYCODE_BUTTON_B" value="97" />
1643        <enum name="KEYCODE_BUTTON_C" value="98" />
1644        <enum name="KEYCODE_BUTTON_X" value="99" />
1645        <enum name="KEYCODE_BUTTON_Y" value="100" />
1646        <enum name="KEYCODE_BUTTON_Z" value="101" />
1647        <enum name="KEYCODE_BUTTON_L1" value="102" />
1648        <enum name="KEYCODE_BUTTON_R1" value="103" />
1649        <enum name="KEYCODE_BUTTON_L2" value="104" />
1650        <enum name="KEYCODE_BUTTON_R2" value="105" />
1651        <enum name="KEYCODE_BUTTON_THUMBL" value="106" />
1652        <enum name="KEYCODE_BUTTON_THUMBR" value="107" />
1653        <enum name="KEYCODE_BUTTON_START" value="108" />
1654        <enum name="KEYCODE_BUTTON_SELECT" value="109" />
1655        <enum name="KEYCODE_BUTTON_MODE" value="110" />
1656        <enum name="KEYCODE_ESCAPE" value="111" />
1657        <enum name="KEYCODE_FORWARD_DEL" value="112" />
1658        <enum name="KEYCODE_CTRL_LEFT" value="113" />
1659        <enum name="KEYCODE_CTRL_RIGHT" value="114" />
1660        <enum name="KEYCODE_CAPS_LOCK" value="115" />
1661        <enum name="KEYCODE_SCROLL_LOCK" value="116" />
1662        <enum name="KEYCODE_META_LEFT" value="117" />
1663        <enum name="KEYCODE_META_RIGHT" value="118" />
1664        <enum name="KEYCODE_FUNCTION" value="119" />
1665        <enum name="KEYCODE_SYSRQ" value="120" />
1666        <enum name="KEYCODE_BREAK" value="121" />
1667        <enum name="KEYCODE_MOVE_HOME" value="122" />
1668        <enum name="KEYCODE_MOVE_END" value="123" />
1669        <enum name="KEYCODE_INSERT" value="124" />
1670        <enum name="KEYCODE_FORWARD" value="125" />
1671        <enum name="KEYCODE_MEDIA_PLAY" value="126" />
1672        <enum name="KEYCODE_MEDIA_PAUSE" value="127" />
1673        <enum name="KEYCODE_MEDIA_CLOSE" value="128" />
1674        <enum name="KEYCODE_MEDIA_EJECT" value="129" />
1675        <enum name="KEYCODE_MEDIA_RECORD" value="130" />
1676        <enum name="KEYCODE_F1" value="131" />
1677        <enum name="KEYCODE_F2" value="132" />
1678        <enum name="KEYCODE_F3" value="133" />
1679        <enum name="KEYCODE_F4" value="134" />
1680        <enum name="KEYCODE_F5" value="135" />
1681        <enum name="KEYCODE_F6" value="136" />
1682        <enum name="KEYCODE_F7" value="137" />
1683        <enum name="KEYCODE_F8" value="138" />
1684        <enum name="KEYCODE_F9" value="139" />
1685        <enum name="KEYCODE_F10" value="140" />
1686        <enum name="KEYCODE_F11" value="141" />
1687        <enum name="KEYCODE_F12" value="142" />
1688        <enum name="KEYCODE_NUM_LOCK" value="143" />
1689        <enum name="KEYCODE_NUMPAD_0" value="144" />
1690        <enum name="KEYCODE_NUMPAD_1" value="145" />
1691        <enum name="KEYCODE_NUMPAD_2" value="146" />
1692        <enum name="KEYCODE_NUMPAD_3" value="147" />
1693        <enum name="KEYCODE_NUMPAD_4" value="148" />
1694        <enum name="KEYCODE_NUMPAD_5" value="149" />
1695        <enum name="KEYCODE_NUMPAD_6" value="150" />
1696        <enum name="KEYCODE_NUMPAD_7" value="151" />
1697        <enum name="KEYCODE_NUMPAD_8" value="152" />
1698        <enum name="KEYCODE_NUMPAD_9" value="153" />
1699        <enum name="KEYCODE_NUMPAD_DIVIDE" value="154" />
1700        <enum name="KEYCODE_NUMPAD_MULTIPLY" value="155" />
1701        <enum name="KEYCODE_NUMPAD_SUBTRACT" value="156" />
1702        <enum name="KEYCODE_NUMPAD_ADD" value="157" />
1703        <enum name="KEYCODE_NUMPAD_DOT" value="158" />
1704        <enum name="KEYCODE_NUMPAD_COMMA" value="159" />
1705        <enum name="KEYCODE_NUMPAD_ENTER" value="160" />
1706        <enum name="KEYCODE_NUMPAD_EQUALS" value="161" />
1707        <enum name="KEYCODE_NUMPAD_LEFT_PAREN" value="162" />
1708        <enum name="KEYCODE_NUMPAD_RIGHT_PAREN" value="163" />
1709        <enum name="KEYCODE_VOLUME_MUTE" value="164" />
1710        <enum name="KEYCODE_INFO" value="165" />
1711        <enum name="KEYCODE_CHANNEL_UP" value="166" />
1712        <enum name="KEYCODE_CHANNEL_DOWN" value="167" />
1713        <enum name="KEYCODE_ZOOM_IN" value="168" />
1714        <enum name="KEYCODE_ZOOM_OUT" value="169" />
1715        <enum name="KEYCODE_TV" value="170" />
1716        <enum name="KEYCODE_WINDOW" value="171" />
1717        <enum name="KEYCODE_GUIDE" value="172" />
1718        <enum name="KEYCODE_DVR" value="173" />
1719        <enum name="KEYCODE_BOOKMARK" value="174" />
1720        <enum name="KEYCODE_CAPTIONS" value="175" />
1721        <enum name="KEYCODE_SETTINGS" value="176" />
1722        <enum name="KEYCODE_TV_POWER" value="177" />
1723        <enum name="KEYCODE_TV_INPUT" value="178" />
1724        <enum name="KEYCODE_STB_POWER" value="179" />
1725        <enum name="KEYCODE_STB_INPUT" value="180" />
1726        <enum name="KEYCODE_AVR_POWER" value="181" />
1727        <enum name="KEYCODE_AVR_INPUT" value="182" />
1728        <enum name="KEYCODE_PROG_GRED" value="183" />
1729        <enum name="KEYCODE_PROG_GREEN" value="184" />
1730        <enum name="KEYCODE_PROG_YELLOW" value="185" />
1731        <enum name="KEYCODE_PROG_BLUE" value="186" />
1732        <enum name="KEYCODE_APP_SWITCH" value="187" />
1733        <enum name="KEYCODE_BUTTON_1" value="188" />
1734        <enum name="KEYCODE_BUTTON_2" value="189" />
1735        <enum name="KEYCODE_BUTTON_3" value="190" />
1736        <enum name="KEYCODE_BUTTON_4" value="191" />
1737        <enum name="KEYCODE_BUTTON_5" value="192" />
1738        <enum name="KEYCODE_BUTTON_6" value="193" />
1739        <enum name="KEYCODE_BUTTON_7" value="194" />
1740        <enum name="KEYCODE_BUTTON_8" value="195" />
1741        <enum name="KEYCODE_BUTTON_9" value="196" />
1742        <enum name="KEYCODE_BUTTON_10" value="197" />
1743        <enum name="KEYCODE_BUTTON_11" value="198" />
1744        <enum name="KEYCODE_BUTTON_12" value="199" />
1745        <enum name="KEYCODE_BUTTON_13" value="200" />
1746        <enum name="KEYCODE_BUTTON_14" value="201" />
1747        <enum name="KEYCODE_BUTTON_15" value="202" />
1748        <enum name="KEYCODE_BUTTON_16" value="203" />
1749        <enum name="KEYCODE_LANGUAGE_SWITCH" value="204" />
1750        <enum name="KEYCODE_MANNER_MODE" value="205" />
1751        <enum name="KEYCODE_3D_MODE" value="206" />
1752        <enum name="KEYCODE_CONTACTS" value="207" />
1753        <enum name="KEYCODE_CALENDAR" value="208" />
1754        <enum name="KEYCODE_MUSIC" value="209" />
1755        <enum name="KEYCODE_CALCULATOR" value="210" />
1756        <enum name="KEYCODE_ZENKAKU_HANKAKU" value="211" />
1757        <enum name="KEYCODE_EISU" value="212" />
1758        <enum name="KEYCODE_MUHENKAN" value="213" />
1759        <enum name="KEYCODE_HENKAN" value="214" />
1760        <enum name="KEYCODE_KATAKANA_HIRAGANA" value="215" />
1761        <enum name="KEYCODE_YEN" value="216" />
1762        <enum name="KEYCODE_RO" value="217" />
1763        <enum name="KEYCODE_KANA" value="218" />
1764        <enum name="KEYCODE_ASSIST" value="219" />
1765        <enum name="KEYCODE_BRIGHTNESS_DOWN" value="220" />
1766        <enum name="KEYCODE_BRIGHTNESS_UP" value="221" />
1767        <enum name="KEYCODE_MEDIA_AUDIO_TRACK" value="222" />
1768        <enum name="KEYCODE_MEDIA_SLEEP" value="223" />
1769        <enum name="KEYCODE_MEDIA_WAKEUP" value="224" />
1770        <enum name="KEYCODE_PAIRING" value="225" />
1771        <enum name="KEYCODE_MEDIA_TOP_MENU" value="226" />
1772        <enum name="KEYCODE_11" value="227" />
1773        <enum name="KEYCODE_12" value="228" />
1774        <enum name="KEYCODE_LAST_CHANNEL" value="229" />
1775        <enum name="KEYCODE_TV_DATA_SERVICE" value="230" />
1776        <enum name="KEYCODE_VOICE_ASSIST" value="231" />
1777        <enum name="KEYCODE_TV_RADIO_SERVICE" value="232" />
1778        <enum name="KEYCODE_TV_TELETEXT" value="233" />
1779        <enum name="KEYCODE_TV_NUMBER_ENTRY" value="234" />
1780        <enum name="KEYCODE_TV_TERRESTRIAL_ANALOG" value="235" />
1781        <enum name="KEYCODE_TV_TERRESTRIAL_DIGITAL" value="236" />
1782        <enum name="KEYCODE_TV_SATELLITE" value="237" />
1783        <enum name="KEYCODE_TV_SATELLITE_BS" value="238" />
1784        <enum name="KEYCODE_TV_SATELLITE_CS" value="239" />
1785        <enum name="KEYCODE_TV_SATELLITE_SERVICE" value="240" />
1786        <enum name="KEYCODE_TV_NETWORK" value="241" />
1787        <enum name="KEYCODE_TV_ANTENNA_CABLE" value="242" />
1788        <enum name="KEYCODE_TV_INPUT_HDMI_1" value="243" />
1789        <enum name="KEYCODE_TV_INPUT_HDMI_2" value="244" />
1790        <enum name="KEYCODE_TV_INPUT_HDMI_3" value="245" />
1791        <enum name="KEYCODE_TV_INPUT_HDMI_4" value="246" />
1792        <enum name="KEYCODE_TV_INPUT_COMPOSITE_1" value="247" />
1793        <enum name="KEYCODE_TV_INPUT_COMPOSITE_2" value="248" />
1794        <enum name="KEYCODE_TV_INPUT_COMPONENT_1" value="249" />
1795        <enum name="KEYCODE_TV_INPUT_COMPONENT_2" value="250" />
1796        <enum name="KEYCODE_TV_INPUT_VGA_1" value="251" />
1797        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION" value="252" />
1798        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP" value="253" />
1799        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN" value="254" />
1800        <enum name="KEYCODE_TV_ZOOM_MODE" value="255" />
1801        <enum name="KEYCODE_TV_CONTENTS_MENU" value="256" />
1802        <enum name="KEYCODE_TV_MEDIA_CONTEXT_MENU" value="257" />
1803        <enum name="KEYCODE_TV_TIMER_PROGRAMMING" value="258" />
1804        <enum name="KEYCODE_HELP" value="259" />
1805        <enum name="KEYCODE_NAVIGATE_PREVIOUS" value="260" />
1806        <enum name="KEYCODE_NAVIGATE_NEXT" value="261" />
1807        <enum name="KEYCODE_NAVIGATE_IN" value="262" />
1808        <enum name="KEYCODE_NAVIGATE_OUT" value="263" />
1809        <enum name="KEYCODE_STEM_PRIMARY" value="264" />
1810        <enum name="KEYCODE_STEM_1" value="265" />
1811        <enum name="KEYCODE_STEM_2" value="266" />
1812        <enum name="KEYCODE_STEM_3" value="267" />
1813    </attr>
1814
1815    <!-- ***************************************************************** -->
1816    <!-- These define collections of attributes that can are with classes. -->
1817    <!-- ***************************************************************** -->
1818
1819    <!-- ========================== -->
1820    <!-- Special attribute classes. -->
1821    <!-- ========================== -->
1822    <eat-comment />
1823
1824    <!-- The set of attributes that describe a Windows's theme. -->
1825    <declare-styleable name="Window">
1826        <attr name="windowBackground" />
1827        <attr name="windowBackgroundFallback" />
1828        <attr name="windowContentOverlay" />
1829        <attr name="windowFrame" />
1830        <attr name="windowNoTitle" />
1831        <attr name="windowFullscreen" />
1832        <attr name="windowOverscan" />
1833        <attr name="windowIsFloating" />
1834        <attr name="windowIsTranslucent" />
1835        <attr name="windowShowWallpaper" />
1836        <attr name="windowAnimationStyle" />
1837        <attr name="windowSoftInputMode" />
1838        <attr name="windowDisablePreview" />
1839        <attr name="windowNoDisplay" />
1840        <attr name="textColor" />
1841        <attr name="backgroundDimEnabled" />
1842        <attr name="backgroundDimAmount" />
1843        <attr name="windowActionBar" />
1844        <attr name="windowActionModeOverlay" />
1845        <attr name="windowActionBarOverlay" />
1846        <attr name="windowEnableSplitTouch" />
1847        <attr name="windowCloseOnTouchOutside" />
1848        <attr name="windowTranslucentStatus" />
1849        <attr name="windowTranslucentNavigation" />
1850        <attr name="windowSwipeToDismiss" />
1851        <attr name="windowContentTransitions" />
1852        <attr name="windowActivityTransitions" />
1853        <attr name="windowContentTransitionManager" />
1854        <attr name="windowActionBarFullscreenDecorLayout" />
1855
1856        <!-- The minimum width the window is allowed to be, along the major
1857             axis of the screen.  That is, when in landscape.  Can be either
1858             an absolute dimension or a fraction of the screen size in that
1859             dimension. -->
1860        <attr name="windowMinWidthMajor" format="dimension|fraction" />
1861        <!-- The minimum width the window is allowed to be, along the minor
1862             axis of the screen.  That is, when in portrait.  Can be either
1863             an absolute dimension or a fraction of the screen size in that
1864             dimension. -->
1865        <attr name="windowMinWidthMinor" format="dimension|fraction" />
1866
1867        <!-- A fixed width for the window along the major axis of the screen,
1868             that is, when in landscape. Can be either an absolute dimension
1869             or a fraction of the screen size in that dimension. -->
1870        <attr name="windowFixedWidthMajor" format="dimension|fraction" />
1871        <!-- A fixed height for the window along the minor axis of the screen,
1872             that is, when in landscape. Can be either an absolute dimension
1873             or a fraction of the screen size in that dimension. -->
1874        <attr name="windowFixedHeightMinor" format="dimension|fraction" />
1875
1876        <!-- A fixed width for the window along the minor axis of the screen,
1877             that is, when in portrait. Can be either an absolute dimension
1878             or a fraction of the screen size in that dimension. -->
1879        <attr name="windowFixedWidthMinor" format="dimension|fraction" />
1880        <!-- A fixed height for the window along the major axis of the screen,
1881             that is, when in portrait. Can be either an absolute dimension
1882             or a fraction of the screen size in that dimension. -->
1883        <attr name="windowFixedHeightMajor" format="dimension|fraction" />
1884        <attr name="windowOutsetBottom" format="dimension" />
1885        <!-- Reference to a Transition XML resource defining the desired Transition
1886             used to move Views into the initial Window's content Scene. Corresponds to
1887             {@link android.view.Window#setEnterTransition(android.transition.Transition)}. -->
1888        <attr name="windowEnterTransition"/>
1889
1890        <!-- Reference to a Transition XML resource defining the desired Transition
1891             used to move Views out of the scene when the Window is
1892             preparing to close. Corresponds to
1893             {@link android.view.Window#setReturnTransition(android.transition.Transition)}. -->
1894        <attr name="windowReturnTransition"/>
1895
1896        <!-- Reference to a Transition XML resource defining the desired Transition
1897             used to move Views out of the Window's content Scene when launching a new Activity.
1898             Corresponds to
1899             {@link android.view.Window#setExitTransition(android.transition.Transition)}. -->
1900        <attr name="windowExitTransition"/>
1901
1902        <!-- Reference to a Transition XML resource defining the desired Transition
1903             used to move Views in to the scene when returning from a previously-started Activity.
1904             Corresponds to
1905             {@link android.view.Window#setReenterTransition(android.transition.Transition)}. -->
1906        <attr name="windowReenterTransition"/>
1907
1908        <!-- Reference to a Transition XML resource defining the desired Transition
1909             used to move shared elements transferred into the Window's initial content Scene.
1910             Corresponds to {@link android.view.Window#setSharedElementEnterTransition(
1911             android.transition.Transition)}. -->
1912        <attr name="windowSharedElementEnterTransition"/>
1913
1914        <!-- Reference to a Transition XML resource defining the desired Transition
1915             used to move shared elements transferred back to a calling Activity.
1916             Corresponds to {@link android.view.Window#setSharedElementReturnTransition(
1917             android.transition.Transition)}. -->
1918        <attr name="windowSharedElementReturnTransition"/>
1919
1920        <!-- Reference to a Transition XML resource defining the desired Transition
1921             used when starting a new Activity to move shared elements prior to transferring
1922             to the called Activity.
1923             Corresponds to {@link android.view.Window#setSharedElementExitTransition(
1924             android.transition.Transition)}. -->
1925        <attr name="windowSharedElementExitTransition"/>
1926
1927        <!-- Reference to a Transition XML resource defining the desired Transition
1928             used for shared elements transferred back to a calling Activity.
1929             Corresponds to {@link android.view.Window#setSharedElementReenterTransition(
1930             android.transition.Transition)}. -->
1931        <attr name="windowSharedElementReenterTransition"/>
1932
1933
1934        <!-- Flag indicating whether this Window's transition should overlap with
1935             the exiting transition of the calling Activity. Corresponds to
1936             {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. -->
1937        <attr name="windowAllowEnterTransitionOverlap"/>
1938
1939        <!-- Flag indicating whether this Window's transition should overlap with
1940             the exiting transition of the called Activity when the called Activity
1941             finishes. Corresponds to
1942             {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. -->
1943        <attr name="windowAllowReturnTransitionOverlap"/>
1944
1945        <!-- Indicates whether or not shared elements should use an overlay
1946             during transitions. The default value is true. -->
1947        <attr name="windowSharedElementsUseOverlay"/>
1948
1949        <!-- Flag indicating whether this Window is responsible for drawing the background for the
1950             system bars. If true and the window is not floating, the system bars are drawn with a
1951             transparent background and the corresponding areas in this window are filled with the
1952             colors specified in {@link android.R.attr#statusBarColor} and
1953             {@link android.R.attr#navigationBarColor}. Corresponds to
1954             {@link android.view.WindowManager.LayoutParams#FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS}. -->
1955        <attr name="windowDrawsSystemBarBackgrounds" format="boolean" />
1956
1957        <!-- The color for the status bar. If the color is not opaque, consider setting
1958             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and
1959             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN}.
1960             For this to take effect, the window must be drawing the system bar backgrounds with
1961             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not
1962             have been requested to be translucent with
1963             {@link android.R.attr#windowTranslucentStatus}.
1964             Corresponds to {@link android.view.Window#setStatusBarColor(int)}. -->
1965        <attr name="statusBarColor" format="color" />
1966
1967        <!-- The color for the navigation bar. If the color is not opaque, consider setting
1968             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and
1969             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION}.
1970             For this to take effect, the window must be drawing the system bar backgrounds with
1971             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not
1972             have been requested to be translucent with
1973             {@link android.R.attr#windowTranslucentNavigation}.
1974             Corresponds to {@link android.view.Window#setNavigationBarColor(int)}. -->
1975        <attr name="navigationBarColor" format="color" />
1976
1977        <!-- The duration, in milliseconds, of the window background fade duration
1978             when transitioning into or away from an Activity when called with an
1979             Activity Transition. Corresponds to
1980             {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. -->
1981        <attr name="windowTransitionBackgroundFadeDuration" />
1982
1983        <!-- Elevation to use for the window. -->
1984        <attr name="windowElevation" format="dimension" />
1985
1986        <!-- Whether to clip window content to the outline of the window background. -->
1987        <attr name="windowClipToOutline" format="boolean" />
1988
1989        <!-- If set, the status bar will be drawn such that it is compatible with a light
1990             status bar background.
1991             <p>For this to take effect, the window must be drawing the system bar backgrounds with
1992             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not
1993             have been requested to be translucent with
1994             {@link android.R.attr#windowTranslucentStatus}.
1995             Corresponds to setting {@link android.view.View#SYSTEM_UI_FLAG_LIGHT_STATUS_BAR} on
1996             the decor view. -->
1997        <attr name="windowLightStatusBar" format="boolean" />
1998    </declare-styleable>
1999
2000    <!-- The set of attributes that describe a AlertDialog's theme. -->
2001    <declare-styleable name="AlertDialog">
2002        <attr name="fullDark" format="reference|color" />
2003        <attr name="topDark" format="reference|color" />
2004        <attr name="centerDark" format="reference|color" />
2005        <attr name="bottomDark" format="reference|color" />
2006        <attr name="fullBright" format="reference|color" />
2007        <attr name="topBright" format="reference|color" />
2008        <attr name="centerBright" format="reference|color" />
2009        <attr name="bottomBright" format="reference|color" />
2010        <attr name="bottomMedium" format="reference|color" />
2011        <attr name="centerMedium" format="reference|color" />
2012        <attr name="layout" />
2013        <attr name="buttonPanelSideLayout" format="reference" />
2014        <attr name="listLayout" format="reference" />
2015        <attr name="multiChoiceItemLayout" format="reference" />
2016        <attr name="singleChoiceItemLayout" format="reference" />
2017        <attr name="listItemLayout" format="reference" />
2018        <attr name="progressLayout" format="reference" />
2019        <attr name="horizontalProgressLayout" format="reference" />
2020        <!-- @hide Whether fullDark, etc. should use default values if null. -->
2021        <attr name="needsDefaultBackgrounds" format="boolean" />
2022    </declare-styleable>
2023
2024    <!-- @hide -->
2025    <declare-styleable name="ButtonBarLayout">
2026        <!-- Whether to automatically stack the buttons when there is not
2027             enough space to lay them out side-by-side. -->
2028        <attr name="allowStacking" format="boolean" />
2029    </declare-styleable>
2030
2031    <!-- Fragment animation class attributes. -->
2032    <declare-styleable name="FragmentAnimation">
2033        <attr name="fragmentOpenEnterAnimation" format="reference" />
2034        <attr name="fragmentOpenExitAnimation" format="reference" />
2035        <attr name="fragmentCloseEnterAnimation" format="reference" />
2036        <attr name="fragmentCloseExitAnimation" format="reference" />
2037        <attr name="fragmentFadeEnterAnimation" format="reference" />
2038        <attr name="fragmentFadeExitAnimation" format="reference" />
2039    </declare-styleable>
2040
2041    <!-- Window animation class attributes. -->
2042    <declare-styleable name="WindowAnimation">
2043        <!-- The animation used when a window is being added. -->
2044        <attr name="windowEnterAnimation" format="reference" />
2045        <!-- The animation used when a window is being removed. -->
2046        <attr name="windowExitAnimation" format="reference" />
2047        <!-- The animation used when a window is going from INVISIBLE to VISIBLE. -->
2048        <attr name="windowShowAnimation" format="reference" />
2049        <!-- The animation used when a window is going from VISIBLE to INVISIBLE. -->
2050        <attr name="windowHideAnimation" format="reference" />
2051
2052        <!--  When opening a new activity, this is the animation that is
2053              run on the next activity (which is entering the screen). -->
2054        <attr name="activityOpenEnterAnimation" format="reference" />
2055        <!--  When opening a new activity, this is the animation that is
2056              run on the previous activity (which is exiting the screen). -->
2057        <attr name="activityOpenExitAnimation" format="reference" />
2058        <!--  When closing the current activity, this is the animation that is
2059              run on the next activity (which is entering the screen). -->
2060        <attr name="activityCloseEnterAnimation" format="reference" />
2061        <!--  When closing the current activity, this is the animation that is
2062              run on the current activity (which is exiting the screen). -->
2063        <attr name="activityCloseExitAnimation" format="reference" />
2064        <!--  When opening an activity in a new task, this is the animation that is
2065              run on the activity of the new task (which is entering the screen). -->
2066        <attr name="taskOpenEnterAnimation" format="reference" />
2067        <!--  When opening an activity in a new task, this is the animation that is
2068              run on the activity of the old task (which is exiting the screen). -->
2069        <attr name="taskOpenExitAnimation" format="reference" />
2070        <!--  When opening an activity in a new task using Intent/FLAG_ACTIVITY_LAUNCH_BEHIND,
2071              this is the animation that is run on the activity of the new task (which is
2072              entering the screen and then leaving). -->
2073        <attr name="launchTaskBehindTargetAnimation" format="reference" />
2074        <!--  When opening an activity in a new task using Intent.FLAG_ACTIVITY_LAUNCH_BEHIND,
2075              this is the animation that is run on the activity of the old task (which is
2076              already on the screen and then stays on). -->
2077        <attr name="launchTaskBehindSourceAnimation" format="reference" />
2078        <!--  When closing the last activity of a task, this is the animation that is
2079              run on the activity of the next task (which is entering the screen). -->
2080        <attr name="taskCloseEnterAnimation" format="reference" />
2081        <!--  When opening an activity in a new task, this is the animation that is
2082              run on the activity of the old task (which is exiting the screen). -->
2083        <attr name="taskCloseExitAnimation" format="reference" />
2084        <!--  When bringing an existing task to the foreground, this is the
2085              animation that is run on the top activity of the task being brought
2086              to the foreground (which is entering the screen). -->
2087        <attr name="taskToFrontEnterAnimation" format="reference" />
2088        <!--  When bringing an existing task to the foreground, this is the
2089              animation that is run on the current foreground activity
2090              (which is exiting the screen). -->
2091        <attr name="taskToFrontExitAnimation" format="reference" />
2092        <!--  When sending the current task to the background, this is the
2093              animation that is run on the top activity of the task behind
2094              it (which is entering the screen). -->
2095        <attr name="taskToBackEnterAnimation" format="reference" />
2096        <!--  When sending the current task to the background, this is the
2097              animation that is run on the top activity of the current task
2098              (which is exiting the screen). -->
2099        <attr name="taskToBackExitAnimation" format="reference" />
2100
2101        <!--  When opening a new activity that shows the wallpaper, while
2102              currently not showing the wallpaper, this is the animation that
2103              is run on the new wallpaper activity (which is entering the screen). -->
2104        <attr name="wallpaperOpenEnterAnimation" format="reference" />
2105        <!--  When opening a new activity that shows the wallpaper, while
2106              currently not showing the wallpaper, this is the animation that
2107              is run on the current activity (which is exiting the screen). -->
2108        <attr name="wallpaperOpenExitAnimation" format="reference" />
2109        <!--  When opening a new activity that hides the wallpaper, while
2110              currently showing the wallpaper, this is the animation that
2111              is run on the new activity (which is entering the screen). -->
2112        <attr name="wallpaperCloseEnterAnimation" format="reference" />
2113        <!--  When opening a new activity that hides the wallpaper, while
2114              currently showing the wallpaper, this is the animation that
2115              is run on the old wallpaper activity (which is exiting the screen). -->
2116        <attr name="wallpaperCloseExitAnimation" format="reference" />
2117
2118        <!--  When opening a new activity that is on top of the wallpaper
2119              when the current activity is also on top of the wallpaper,
2120              this is the animation that is run on the new activity
2121              (which is entering the screen).  The wallpaper remains
2122              static behind the animation. -->
2123        <attr name="wallpaperIntraOpenEnterAnimation" format="reference" />
2124        <!--  When opening a new activity that is on top of the wallpaper
2125              when the current activity is also on top of the wallpaper,
2126              this is the animation that is run on the current activity
2127              (which is exiting the screen).  The wallpaper remains
2128              static behind the animation. -->
2129        <attr name="wallpaperIntraOpenExitAnimation" format="reference" />
2130        <!--  When closing a foreround activity that is on top of the wallpaper
2131              when the previous activity is also on top of the wallpaper,
2132              this is the animation that is run on the previous activity
2133              (which is entering the screen).  The wallpaper remains
2134              static behind the animation. -->
2135        <attr name="wallpaperIntraCloseEnterAnimation" format="reference" />
2136        <!--  When closing a foreround activity that is on top of the wallpaper
2137              when the previous activity is also on top of the wallpaper,
2138              this is the animation that is run on the current activity
2139              (which is exiting the screen).  The wallpaper remains
2140              static behind the animation. -->
2141        <attr name="wallpaperIntraCloseExitAnimation" format="reference" />
2142    </declare-styleable>
2143
2144    <!-- ============================= -->
2145    <!-- View package class attributes -->
2146    <!-- ============================= -->
2147    <eat-comment />
2148
2149    <!-- Attributes that can be used with {@link android.view.View} or
2150         any of its subclasses.  Also see {@link #ViewGroup_Layout} for
2151         attributes that are processed by the view's parent. -->
2152    <declare-styleable name="View">
2153        <!-- Supply an identifier name for this view, to later retrieve it
2154             with {@link android.view.View#findViewById View.findViewById()} or
2155             {@link android.app.Activity#findViewById Activity.findViewById()}.
2156             This must be a
2157             resource reference; typically you set this using the
2158             <code>@+</code> syntax to create a new ID resources.
2159             For example: <code>android:id="@+id/my_id"</code> which
2160             allows you to later retrieve the view
2161             with <code>findViewById(R.id.my_id)</code>. -->
2162        <attr name="id" format="reference" />
2163
2164        <!-- Supply a tag for this view containing a String, to be retrieved
2165             later with {@link android.view.View#getTag View.getTag()} or
2166             searched for with {@link android.view.View#findViewWithTag
2167             View.findViewWithTag()}.  It is generally preferable to use
2168             IDs (through the android:id attribute) instead of tags because
2169             they are faster and allow for compile-time type checking. -->
2170        <attr name="tag" format="string" />
2171
2172        <!-- The initial horizontal scroll offset, in pixels.-->
2173        <attr name="scrollX" format="dimension" />
2174
2175        <!-- The initial vertical scroll offset, in pixels. -->
2176        <attr name="scrollY" format="dimension" />
2177
2178        <!-- A drawable to use as the background.  This can be either a reference
2179             to a full drawable resource (such as a PNG image, 9-patch,
2180             XML state list description, etc), or a solid color such as "#ff000000"
2181            (black). -->
2182        <attr name="background" format="reference|color" />
2183
2184        <!-- Sets the padding, in pixels, of all four edges.  Padding is defined as
2185             space between the edges of the view and the view's content. A views size
2186             will include it's padding.  If a {@link android.R.attr#background}
2187             is provided, the padding will initially be set to that (0 if the
2188             drawable does not have padding).  Explicitly setting a padding value
2189             will override the corresponding padding found in the background. -->
2190        <attr name="padding" format="dimension" />
2191        <!-- Sets the padding, in pixels, of the left edge; see {@link android.R.attr#padding}. -->
2192        <attr name="paddingLeft" format="dimension" />
2193        <!-- Sets the padding, in pixels, of the top edge; see {@link android.R.attr#padding}. -->
2194        <attr name="paddingTop" format="dimension" />
2195        <!-- Sets the padding, in pixels, of the right edge; see {@link android.R.attr#padding}. -->
2196        <attr name="paddingRight" format="dimension" />
2197        <!-- Sets the padding, in pixels, of the bottom edge; see {@link android.R.attr#padding}. -->
2198        <attr name="paddingBottom" format="dimension" />
2199        <!-- Sets the padding, in pixels, of the start edge; see {@link android.R.attr#padding}. -->
2200        <attr name="paddingStart" format="dimension" />
2201        <!-- Sets the padding, in pixels, of the end edge; see {@link android.R.attr#padding}. -->
2202        <attr name="paddingEnd" format="dimension" />
2203
2204        <!-- Boolean that controls whether a view can take focus.  By default the user can not
2205             move focus to a view; by setting this attribute to true the view is
2206             allowed to take focus.  This value does not impact the behavior of
2207             directly calling {@link android.view.View#requestFocus}, which will
2208             always request focus regardless of this view.  It only impacts where
2209             focus navigation will try to move focus. -->
2210        <attr name="focusable" format="boolean" />
2211
2212        <!-- Boolean that controls whether a view can take focus while in touch mode.
2213             If this is true for a view, that view can gain focus when clicked on, and can keep
2214             focus if another view is clicked on that doesn't have this attribute set to true. -->
2215        <attr name="focusableInTouchMode" format="boolean" />
2216
2217        <!-- Controls the initial visibility of the view.  -->
2218        <attr name="visibility">
2219            <!-- Visible on screen; the default value. -->
2220            <enum name="visible" value="0" />
2221            <!-- Not displayed, but taken into account during layout (space is left for it). -->
2222            <enum name="invisible" value="1" />
2223            <!-- Completely hidden, as if the view had not been added. -->
2224            <enum name="gone" value="2" />
2225        </attr>
2226
2227        <!-- Boolean internal attribute to adjust view layout based on
2228             system windows such as the status bar.
2229             If true, adjusts the padding of this view to leave space for the system windows.
2230             Will only take effect if this view is in a non-embedded activity. -->
2231        <attr name="fitsSystemWindows" format="boolean" />
2232
2233        <!-- Defines which scrollbars should be displayed on scrolling or not. -->
2234        <attr name="scrollbars">
2235            <!-- No scrollbar is displayed. -->
2236            <flag name="none" value="0x00000000" />
2237            <!-- Displays horizontal scrollbar only. -->
2238            <flag name="horizontal" value="0x00000100" />
2239            <!-- Displays vertical scrollbar only. -->
2240            <flag name="vertical" value="0x00000200" />
2241        </attr>
2242
2243        <!-- Controls the scrollbar style and position. The scrollbars can be overlaid or
2244             inset. When inset, they add to the padding of the view. And the
2245             scrollbars can be drawn inside the padding area or on the edge of
2246             the view. For example, if a view has a background drawable and you
2247             want to draw the scrollbars inside the padding specified by the
2248             drawable, you can use insideOverlay or insideInset. If you want them
2249             to appear at the edge of the view, ignoring the padding, then you can
2250             use outsideOverlay or outsideInset.-->
2251        <attr name="scrollbarStyle">
2252            <!-- Inside the padding and overlaid -->
2253            <enum name="insideOverlay" value="0x0" />
2254            <!-- Inside the padding and inset -->
2255            <enum name="insideInset" value="0x01000000" />
2256            <!-- Edge of the view and overlaid -->
2257            <enum name="outsideOverlay" value="0x02000000" />
2258            <!-- Edge of the view and inset -->
2259            <enum name="outsideInset" value="0x03000000" />
2260        </attr>
2261
2262        <!-- Set this if the view will serve as a scrolling container, meaning
2263             that it can be resized to shrink its overall window so that there
2264             will be space for an input method.  If not set, the default
2265             value will be true if "scrollbars" has the vertical scrollbar
2266             set, else it will be false. -->
2267        <attr name="isScrollContainer" format="boolean" />
2268
2269          <!-- Defines whether to fade out scrollbars when they are not in use. -->
2270         <attr name="fadeScrollbars" format="boolean" />
2271         <!-- Defines the delay in milliseconds that a scrollbar takes to fade out. -->
2272         <attr name="scrollbarFadeDuration" format="integer" />
2273         <!-- Defines the delay in milliseconds that a scrollbar waits before fade out. -->
2274        <attr name="scrollbarDefaultDelayBeforeFade" format="integer" />
2275        <!-- Sets the width of vertical scrollbars and height of horizontal scrollbars. -->
2276        <attr name="scrollbarSize" format="dimension" />
2277        <!-- Defines the horizontal scrollbar thumb drawable. -->
2278        <attr name="scrollbarThumbHorizontal" format="reference" />
2279        <!-- Defines the vertical scrollbar thumb drawable. -->
2280        <attr name="scrollbarThumbVertical" format="reference" />
2281        <!-- Defines the horizontal scrollbar track drawable. -->
2282        <attr name="scrollbarTrackHorizontal" format="reference" />
2283        <!-- Defines the vertical scrollbar track drawable. -->
2284        <attr name="scrollbarTrackVertical" format="reference" />
2285        <!-- Defines whether the horizontal scrollbar track should always be drawn. -->
2286        <attr name="scrollbarAlwaysDrawHorizontalTrack" format="boolean" />
2287        <!-- Defines whether the vertical scrollbar track should always be drawn. -->
2288        <attr name="scrollbarAlwaysDrawVerticalTrack" format="boolean" />
2289
2290        <!-- This attribute is deprecated and will be ignored as of
2291             API level 14 ({@link android.os.Build.VERSION_CODES#ICE_CREAM_SANDWICH}).
2292             Using fading edges may introduce noticeable performance
2293             degradations and should be used only when required by the application's
2294             visual design. To request fading edges with API level 14 and above,
2295             use the <code>android:requiresFadingEdge</code> attribute instead. -->
2296        <attr name="fadingEdge">
2297            <!-- No edge is faded. -->
2298            <flag name="none" value="0x00000000" />
2299            <!-- Fades horizontal edges only. -->
2300            <flag name="horizontal" value="0x00001000" />
2301            <!-- Fades vertical edges only. -->
2302            <flag name="vertical" value="0x00002000" />
2303        </attr>
2304        <!-- Defines which edges should be faded on scrolling. -->
2305        <attr name="requiresFadingEdge">
2306            <!-- No edge is faded. -->
2307            <flag name="none" value="0x00000000" />
2308            <!-- Fades horizontal edges only. -->
2309            <flag name="horizontal" value="0x00001000" />
2310            <!-- Fades vertical edges only. -->
2311            <flag name="vertical" value="0x00002000" />
2312        </attr>
2313        <!-- Defines the length of the fading edges. -->
2314        <attr name="fadingEdgeLength" format="dimension" />
2315
2316        <!-- Defines the next view to give focus to when the next focus is
2317             {@link android.view.View#FOCUS_LEFT}.
2318
2319             If the reference refers to a view that does not exist or is part
2320             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2321             will result when the reference is accessed.-->
2322        <attr name="nextFocusLeft" format="reference"/>
2323
2324        <!-- Defines the next view to give focus to when the next focus is
2325             {@link android.view.View#FOCUS_RIGHT}
2326
2327             If the reference refers to a view that does not exist or is part
2328             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2329             will result when the reference is accessed.-->
2330        <attr name="nextFocusRight" format="reference"/>
2331
2332        <!-- Defines the next view to give focus to when the next focus is
2333             {@link android.view.View#FOCUS_UP}
2334
2335             If the reference refers to a view that does not exist or is part
2336             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2337             will result when the reference is accessed.-->
2338        <attr name="nextFocusUp" format="reference"/>
2339
2340        <!-- Defines the next view to give focus to when the next focus is
2341             {@link android.view.View#FOCUS_DOWN}
2342
2343             If the reference refers to a view that does not exist or is part
2344             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2345             will result when the reference is accessed.-->
2346        <attr name="nextFocusDown" format="reference"/>
2347
2348        <!-- Defines the next view to give focus to when the next focus is
2349             {@link android.view.View#FOCUS_FORWARD}
2350
2351             If the reference refers to a view that does not exist or is part
2352             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2353             will result when the reference is accessed.-->
2354        <attr name="nextFocusForward" format="reference"/>
2355
2356        <!-- Defines whether this view reacts to click events. -->
2357        <attr name="clickable" format="boolean" />
2358
2359        <!-- Defines whether this view reacts to long click events. -->
2360        <attr name="longClickable" format="boolean" />
2361
2362        <!--  Defines whether this view reacts to context click events. -->
2363        <attr name="contextClickable" format="boolean" />
2364
2365        <!-- If false, no state will be saved for this view when it is being
2366             frozen. The default is true, allowing the view to be saved
2367             (however it also must have an ID assigned to it for its
2368             state to be saved).  Setting this to false only disables the
2369             state for this view, not for its children which may still
2370             be saved. -->
2371        <attr name="saveEnabled" format="boolean" />
2372
2373        <!-- Specifies whether to filter touches when the view's window is obscured by
2374             another visible window.  When set to true, the view will not receive touches
2375             whenever a toast, dialog or other window appears above the view's window.
2376             Refer to the {@link android.view.View} security documentation for more details. -->
2377        <attr name="filterTouchesWhenObscured" format="boolean" />
2378
2379        <!-- Defines the quality of translucent drawing caches. This property is used
2380             only when the drawing cache is enabled and translucent. The default value is auto. -->
2381        <attr name="drawingCacheQuality">
2382            <!-- Lets the framework decide what quality level should be used
2383                 for the drawing cache. -->
2384            <enum name="auto" value="0" />
2385            <!-- Low quality. When set to low quality, the drawing cache uses a lower color
2386                 depth, thus losing precision in rendering gradients, but uses less memory. -->
2387            <enum name="low" value="1" />
2388            <!-- High quality. When set to high quality, the drawing cache uses a higher
2389                 color depth but uses more memory. -->
2390            <enum name="high" value="2" />
2391        </attr>
2392
2393        <!-- Controls whether the view's window should keep the screen on
2394             while visible. -->
2395        <attr name="keepScreenOn" format="boolean" />
2396
2397        <!-- When this attribute is set to true, the view gets its drawable state
2398             (focused, pressed, etc.) from its direct parent rather than from itself. -->
2399        <attr name="duplicateParentState" format="boolean" />
2400
2401        <!-- Defines the minimum height of the view. It is not guaranteed
2402             the view will be able to achieve this minimum height (for example,
2403             if its parent layout constrains it with less available height). -->
2404        <attr name="minHeight" />
2405
2406        <!-- Defines the minimum width of the view. It is not guaranteed
2407             the view will be able to achieve this minimum width (for example,
2408             if its parent layout constrains it with less available width). -->
2409        <attr name="minWidth" />
2410
2411        <!-- Boolean that controls whether a view should have sound effects
2412             enabled for events such as clicking and touching. -->
2413        <attr name="soundEffectsEnabled" format="boolean" />
2414
2415        <!-- Boolean that controls whether a view should have haptic feedback
2416             enabled for events such as long presses. -->
2417        <attr name="hapticFeedbackEnabled" format="boolean" />
2418
2419        <!-- Defines text that briefly describes content of the view. This property is used
2420             primarily for accessibility. Since some views do not have textual
2421             representation this attribute can be used for providing such. -->
2422        <attr name="contentDescription" format="string" localization="suggested" />
2423
2424        <!-- Sets the id of a view before which this one is visited in accessibility traversal.
2425             A screen-reader must visit the content of this view before the content of the one
2426             it precedes.
2427             @see android.view.View#setAccessibilityTraversalBefore(int)} -->
2428        <attr name="accessibilityTraversalBefore" format="integer" />
2429
2430        <!-- Sets the id of a view after which this one is visited in accessibility traversal.
2431             A screen-reader must visit the content of the other view before the content of
2432             this one.
2433             @see android.view.View#setAccessibilityTraversalAfter(int)} -->
2434        <attr name="accessibilityTraversalAfter" format="integer" />
2435
2436        <!-- Name of the method in this View's context to invoke when the view is
2437             clicked. This name must correspond to a public method that takes
2438             exactly one parameter of type View. For instance, if you specify
2439             <code>android:onClick="sayHello"</code>, you must declare a
2440             <code>public void sayHello(View v)</code> method of your context
2441             (typically, your Activity). -->
2442        <attr name="onClick" format="string" />
2443
2444        <!-- Defines over-scrolling behavior. This property is used only if the
2445             View is scrollable. Over-scrolling is the ability for the user to
2446             receive feedback when attempting to scroll beyond meaningful content. -->
2447        <attr name="overScrollMode">
2448            <!-- Always show over-scroll effects, even if the content fits entirely
2449                 within the available space. -->
2450            <enum name="always" value="0" />
2451            <!-- Only show over-scroll effects if the content is large
2452                 enough to meaningfully scroll. -->
2453            <enum name="ifContentScrolls" value="1" />
2454            <!-- Never show over-scroll effects. -->
2455            <enum name="never" value="2" />
2456        </attr>
2457
2458        <!-- alpha property of the view, as a value between 0 (completely transparent) and 1
2459             (completely opaque). -->
2460        <attr name="alpha" format="float" />
2461
2462        <!-- base z depth of the view -->
2463        <attr name="elevation" format="dimension" />
2464
2465        <!-- translation in x of the view. This value is added post-layout to the left
2466             property of the view, which is set by its layout. -->
2467        <attr name="translationX" format="dimension" />
2468
2469        <!-- translation in y of the view. This value is added post-layout to the top
2470             property of the view, which is set by its layout. -->
2471        <attr name="translationY" format="dimension" />
2472
2473        <!-- translation in z of the view. This value is added to its elevation. -->
2474        <attr name="translationZ" format="dimension" />
2475
2476        <!-- x location of the pivot point around which the view will rotate and scale.
2477             This xml attribute sets the pivotX property of the View. -->
2478        <attr name="transformPivotX" format="dimension" />
2479
2480        <!-- y location of the pivot point around which the view will rotate and scale.
2481             This xml attribute sets the pivotY property of the View. -->
2482        <attr name="transformPivotY" format="dimension" />
2483
2484        <!-- rotation of the view, in degrees. -->
2485        <attr name="rotation" format="float" />
2486
2487        <!-- rotation of the view around the x axis, in degrees. -->
2488        <attr name="rotationX" format="float" />
2489
2490        <!-- rotation of the view around the y axis, in degrees. -->
2491        <attr name="rotationY" format="float" />
2492
2493        <!-- scale of the view in the x direction. -->
2494        <attr name="scaleX" format="float" />
2495
2496        <!-- scale of the view in the y direction. -->
2497        <attr name="scaleY" format="float" />
2498
2499        <!-- Determines which side the vertical scroll bar should be placed on. -->
2500        <attr name="verticalScrollbarPosition">
2501            <!-- Place the scroll bar wherever the system default determines. -->
2502            <enum name="defaultPosition" value="0" />
2503            <!-- Place the scroll bar on the left. -->
2504            <enum name="left" value="1" />
2505            <!-- Place the scroll bar on the right. -->
2506            <enum name="right" value="2" />
2507        </attr>
2508
2509        <!-- Specifies the type of layer backing this view. The default value is none.
2510             Refer to {@link android.view.View#setLayerType(int, android.graphics.Paint)}
2511             for more information.-->
2512        <attr name="layerType">
2513            <!-- Don't use a layer. -->
2514            <enum name="none" value="0" />
2515            <!-- Use a software layer. Refer to
2516                 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for
2517                 more information. -->
2518            <enum name="software" value="1" />
2519            <!-- Use a hardware layer. Refer to
2520                 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for
2521                 more information. -->
2522            <enum name="hardware" value="2" />
2523        </attr>
2524
2525        <!-- Defines the direction of layout drawing. This typically is associated with writing
2526             direction of the language script used. The possible values are "ltr" for Left-to-Right,
2527             "rtl" for Right-to-Left, "locale" and "inherit" from parent view. If there is nothing
2528             to inherit, "locale" is used. "locale" falls back to "en-US". "ltr" is the direction
2529             used in "en-US". The default for this attribute is "inherit". -->
2530        <attr name="layoutDirection">
2531            <!-- Left-to-Right -->
2532            <enum name="ltr" value="0" />
2533            <!-- Right-to-Left -->
2534            <enum name="rtl" value="1" />
2535            <!-- Inherit from parent -->
2536            <enum name="inherit" value="2" />
2537            <!-- Locale -->
2538            <enum name="locale" value="3" />
2539        </attr>
2540
2541        <!-- Defines the direction of the text. A heuristic is used to determine the resolved text
2542              direction of paragraphs. -->
2543         <attr name="textDirection" format="integer">
2544            <!-- Default -->
2545            <enum name="inherit" value="0" />
2546            <!-- Default for the root view. The first strong directional character determines the
2547                 paragraph direction.  If there is no strong directional character, the paragraph
2548                 direction is the view’s resolved layout direction. -->
2549            <enum name="firstStrong" value="1" />
2550            <!-- The paragraph direction is RTL if it contains any strong RTL character, otherwise
2551                 it is LTR if it contains any strong LTR characters.  If there are neither, the
2552                 paragraph direction is the view’s resolved layout direction. -->
2553            <enum name="anyRtl" value="2" />
2554            <!-- The paragraph direction is left to right. -->
2555            <enum name="ltr" value="3" />
2556            <!-- The paragraph direction is right to left. -->
2557            <enum name="rtl" value="4" />
2558            <!-- The paragraph direction is coming from the system Locale. -->
2559            <enum name="locale" value="5" />
2560            <!-- The first strong directional character determines the paragraph direction. If
2561                 there is no strong directional character, the paragraph direction is LTR. -->
2562            <enum name="firstStrongLtr" value="6" />
2563            <!-- The first strong directional character determines the paragraph direction. If
2564                 there is no strong directional character, the paragraph direction is RTL. -->
2565            <enum name="firstStrongRtl" value="7" />
2566        </attr>
2567
2568        <!-- Defines the alignment of the text. A heuristic is used to determine the resolved
2569            text alignment. -->
2570        <attr name="textAlignment" format="integer">
2571            <!-- Default -->
2572            <enum name="inherit" value="0" />
2573            <!-- Default for the root view. The gravity determines the alignment, ALIGN_NORMAL,
2574                ALIGN_CENTER, or ALIGN_OPPOSITE, which are relative to each paragraph’s
2575                text direction -->
2576            <enum name="gravity" value="1" />
2577            <!-- Align to the start of the paragraph, e.g. ALIGN_NORMAL. -->
2578            <enum name="textStart" value="2" />
2579            <!-- Align to the end of the paragraph, e.g. ALIGN_OPPOSITE. -->
2580            <enum name="textEnd" value="3" />
2581            <!-- Center the paragraph, e.g. ALIGN_CENTER. -->
2582            <enum name="center" value="4" />
2583            <!-- Align to the start of the view, which is ALIGN_LEFT if the view’s resolved
2584                layoutDirection is LTR, and ALIGN_RIGHT otherwise. -->
2585            <enum name="viewStart" value="5" />
2586            <!-- Align to the end of the view, which is ALIGN_RIGHT if the view’s resolved
2587                layoutDirection is LTR, and ALIGN_LEFT otherwise -->
2588            <enum name="viewEnd" value="6" />
2589        </attr>
2590
2591        <!-- Controls how this View is important for accessibility which is if it fires
2592             accessibility events and if it is reported to accessibility services that
2593             query the screen. Note: While not recommended, an accessibility service may
2594             decide to ignore this attribute and operate on all views in the view tree. -->
2595        <attr name="importantForAccessibility" format="integer">
2596            <!-- The system determines whether the view is important for accessibility - default
2597                 (recommended). -->
2598            <enum name="auto" value="0" />
2599            <!-- The view is important for accessibility. -->
2600            <enum name="yes" value="1" />
2601            <!-- The view is not important for accessibility. -->
2602            <enum name="no" value="2" />
2603            <!-- The view is not important for accessibility, nor are any of its descendant
2604                 views. -->
2605            <enum name="noHideDescendants" value="4" />
2606        </attr>
2607
2608        <!-- Indicates to accessibility services whether the user should be notified when
2609             this view changes. -->
2610        <attr name="accessibilityLiveRegion" format="integer">
2611            <!-- Accessibility services should not announce changes to this view. -->
2612            <enum name="none" value="0" />
2613            <!-- Accessibility services should announce changes to this view. -->
2614            <enum name="polite" value="1" />
2615            <!-- Accessibility services should interrupt ongoing speech to immediately
2616                 announce changes to this view. -->
2617            <enum name="assertive" value="2" />
2618        </attr>
2619
2620        <!-- Specifies the id of a view for which this view serves as a label for
2621             accessibility purposes. For example, a TextView before an EditText in
2622             the UI usually specifies what infomation is contained in the EditText.
2623             Hence, the TextView is a label for the EditText. -->
2624        <attr name="labelFor" format="reference" />
2625
2626        <!-- Specifies a theme override for a view. When a theme override is set, the
2627             view will be inflated using a {@link android.content.Context} themed with
2628             the specified resource. During XML inflation, any child views under the
2629             view with a theme override will inherit the themed context. -->
2630        <attr name="theme" />
2631
2632        <!-- Names a View such that it can be identified for Transitions. Names should be
2633             unique in the View hierarchy. -->
2634        <attr name="transitionName" format="string" />
2635
2636        <!-- Specifies that this view should permit nested scrolling within a compatible
2637             ancestor view. -->
2638        <attr name="nestedScrollingEnabled" format="boolean" />
2639
2640        <!-- Sets the state-based animator for the View. -->
2641        <attr name="stateListAnimator" format="reference"/>
2642
2643        <!-- Tint to apply to the background. -->
2644        <attr name="backgroundTint" format="color" />
2645
2646        <!-- Blending mode used to apply the background tint. -->
2647        <attr name="backgroundTintMode">
2648            <!-- The tint is drawn on top of the drawable.
2649                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
2650            <enum name="src_over" value="3" />
2651            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
2652                 color channels are thrown out. [Sa * Da, Sc * Da] -->
2653            <enum name="src_in" value="5" />
2654            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
2655                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
2656            <enum name="src_atop" value="9" />
2657            <!-- Multiplies the color and alpha channels of the drawable with those of
2658                 the tint. [Sa * Da, Sc * Dc] -->
2659            <enum name="multiply" value="14" />
2660            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
2661            <enum name="screen" value="15" />
2662            <!-- Combines the tint and drawable color and alpha channels, clamping the
2663                 result to valid color values. Saturate(S + D) -->
2664            <enum name="add" value="16" />
2665        </attr>
2666
2667        <!-- ViewOutlineProvider used to determine the View's Outline. -->
2668        <attr name="outlineProvider">
2669            <!-- Default, background drawable-driven outline. -->
2670            <enum name="background" value="0" />
2671            <!-- No outline provider. -->
2672            <enum name="none" value="1" />
2673            <!-- Generates an opaque outline for the bounds of the view. -->
2674            <enum name="bounds" value="2" />
2675            <!-- Generates an opaque outline for the padded bounds of the view. -->
2676            <enum name="paddedBounds" value="3" />
2677        </attr>
2678
2679        <!-- Defines the drawable to draw over the content. This can be used as an overlay.
2680             The foreground drawable participates in the padding of the content if the gravity
2681             is set to fill. -->
2682        <attr name="foreground" format="reference|color" />
2683        <!-- Defines the gravity to apply to the foreground drawable. The gravity defaults
2684             to fill. -->
2685        <attr name="foregroundGravity">
2686            <!-- Push object to the top of its container, not changing its size. -->
2687            <flag name="top" value="0x30" />
2688            <!-- Push object to the bottom of its container, not changing its size. -->
2689            <flag name="bottom" value="0x50" />
2690            <!-- Push object to the left of its container, not changing its size. -->
2691            <flag name="left" value="0x03" />
2692            <!-- Push object to the right of its container, not changing its size. -->
2693            <flag name="right" value="0x05" />
2694            <!-- Place object in the vertical center of its container, not changing its size. -->
2695            <flag name="center_vertical" value="0x10" />
2696            <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
2697            <flag name="fill_vertical" value="0x70" />
2698            <!-- Place object in the horizontal center of its container, not changing its size. -->
2699            <flag name="center_horizontal" value="0x01" />
2700            <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
2701            <flag name="fill_horizontal" value="0x07" />
2702            <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
2703            <flag name="center" value="0x11" />
2704            <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
2705            <flag name="fill" value="0x77" />
2706            <!-- Additional option that can be set to have the top and/or bottom edges of
2707                 the child clipped to its container's bounds.
2708                 The clip will be based on the vertical gravity: a top gravity will clip the bottom
2709                 edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
2710            <flag name="clip_vertical" value="0x80" />
2711            <!-- Additional option that can be set to have the left and/or right edges of
2712                 the child clipped to its container's bounds.
2713                 The clip will be based on the horizontal gravity: a left gravity will clip the right
2714                 edge, a right gravity will clip the left edge, and neither will clip both edges. -->
2715            <flag name="clip_horizontal" value="0x08" />
2716        </attr>
2717        <!-- Defines whether the foreground drawable should be drawn inside the padding.
2718             This property is turned on by default. -->
2719        <attr name="foregroundInsidePadding" format="boolean" />
2720        <!-- Tint to apply to the foreground. -->
2721        <attr name="foregroundTint" format="color" />
2722        <!-- Blending mode used to apply the foreground tint. -->
2723        <attr name="foregroundTintMode">
2724            <!-- The tint is drawn on top of the drawable.
2725                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
2726            <enum name="src_over" value="3" />
2727            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
2728                 color channels are thrown out. [Sa * Da, Sc * Da] -->
2729            <enum name="src_in" value="5" />
2730            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
2731                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
2732            <enum name="src_atop" value="9" />
2733            <!-- Multiplies the color and alpha channels of the drawable with those of
2734                 the tint. [Sa * Da, Sc * Dc] -->
2735            <enum name="multiply" value="14" />
2736            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
2737            <enum name="screen" value="15" />
2738            <!-- Combines the tint and drawable color and alpha channels, clamping the
2739                 result to valid color values. Saturate(S + D) -->
2740            <enum name="add" value="16" />
2741        </attr>
2742
2743        <!-- Defines which scroll indicators should be displayed when the view
2744             can be scrolled. Multiple values may be combined using logical OR,
2745             for example "top|bottom". -->
2746        <attr name="scrollIndicators">
2747            <!-- No scroll indicators are displayed. -->
2748            <flag name="none" value="0x00" />
2749            <!-- Displays top scroll indicator when view can be scrolled up. -->
2750            <flag name="top" value="0x01" />
2751            <!-- Displays bottom scroll indicator when vew can be scrolled down. -->
2752            <flag name="bottom" value="0x02" />
2753            <!-- Displays left scroll indicator when vew can be scrolled left. -->
2754            <flag name="left" value="0x04" />
2755            <!-- Displays right scroll indicator when vew can be scrolled right. -->
2756            <flag name="right" value="0x08" />
2757            <!-- Displays right scroll indicator when vew can be scrolled in the
2758                 start direction. -->
2759            <flag name="start" value="0x10" />
2760            <!-- Displays right scroll indicator when vew can be scrolled in the
2761                 end direction. -->
2762            <flag name="end" value="0x20" />
2763        </attr>
2764
2765    </declare-styleable>
2766
2767    <!-- Attributes that can be assigned to a tag for a particular View. -->
2768    <declare-styleable name="ViewTag">
2769        <!-- Specifies the key identifying a tag. This must be a resource reference. -->
2770        <attr name="id" />
2771        <!-- Specifies the value with which to tag the view. -->
2772        <attr name="value" />
2773    </declare-styleable>
2774
2775    <!-- Attributes that can be assigned to an &lt;include&gt; tag.
2776         @hide -->
2777    <declare-styleable name="Include">
2778        <attr name="id" />
2779        <attr name="visibility" />
2780    </declare-styleable>
2781
2782    <!-- Attributes that can be used with a {@link android.view.ViewGroup} or any
2783         of its subclasses.  Also see {@link #ViewGroup_Layout} for
2784         attributes that this class processes in its children. -->
2785    <declare-styleable name="ViewGroup">
2786        <!-- Defines whether changes in layout (caused by adding and removing items) should
2787             cause a LayoutTransition to run. When this flag is set to true, a default
2788             LayoutTransition object will be set on the ViewGroup container and default
2789             animations will run when these layout changes occur.-->
2790        <attr name="animateLayoutChanges" format="boolean" />
2791        <!-- Defines whether a child is limited to draw inside of its bounds or not.
2792             This is useful with animations that scale the size of the children to more
2793             than 100% for instance. In such a case, this property should be set to false
2794             to allow the children to draw outside of their bounds. The default value of
2795             this property is true. -->
2796        <attr name="clipChildren" format="boolean" />
2797        <!-- Defines whether the ViewGroup will clip its children and resize (but not clip) any
2798             EdgeEffect to its padding, if padding is not zero. This property is set to true by
2799             default. -->
2800        <attr name="clipToPadding" format="boolean" />
2801        <!-- Defines the layout animation to use the first time the ViewGroup is laid out.
2802             Layout animations can also be started manually after the first layout. -->
2803        <attr name="layoutAnimation" format="reference" />
2804        <!-- Defines whether layout animations should create a drawing cache for their
2805             children. Enabling the animation cache consumes more memory and requires
2806             a longer initialization but provides better performance. The animation
2807             cache is enabled by default. -->
2808        <attr name="animationCache" format="boolean" />
2809        <!-- Defines the persistence of the drawing cache. The drawing cache might be
2810             enabled by a ViewGroup for all its children in specific situations (for
2811             instance during a scrolling.) This property lets you persist the cache
2812             in memory after its initial usage. Persisting the cache consumes more
2813             memory but may prevent frequent garbage collection is the cache is created
2814             over and over again. By default the persistence is set to scrolling. -->
2815        <attr name="persistentDrawingCache">
2816            <!-- The drawing cache is not persisted after use. -->
2817            <flag name="none" value="0x0" />
2818            <!-- The drawing cache is persisted after a layout animation. -->
2819            <flag name="animation" value="0x1" />
2820            <!-- The drawing cache is persisted after a scroll. -->
2821            <flag name="scrolling" value="0x2" />
2822            <!-- The drawing cache is always persisted. -->
2823            <flag name="all" value="0x3" />
2824        </attr>
2825        <!-- Defines whether the ViewGroup should always draw its children using their
2826             drawing cache or not. The default value is true. -->
2827        <attr name="alwaysDrawnWithCache" format="boolean" />
2828        <!-- Sets whether this ViewGroup's drawable states also include
2829             its children's drawable states.  This is used, for example, to
2830             make a group appear to be focused when its child EditText or button
2831             is focused. -->
2832        <attr name="addStatesFromChildren" format="boolean" />
2833
2834        <!-- Defines the relationship between the ViewGroup and its descendants
2835             when looking for a View to take focus. -->
2836        <attr name="descendantFocusability">
2837            <!-- The ViewGroup will get focus before any of its descendants. -->
2838            <enum name="beforeDescendants" value="0" />
2839            <!-- The ViewGroup will get focus only if none of its descendants want it. -->
2840            <enum name="afterDescendants" value="1" />
2841            <!-- The ViewGroup will block its descendants from receiving focus. -->
2842            <enum name="blocksDescendants" value="2" />
2843        </attr>
2844
2845        <!-- Set to true if this ViewGroup blocks focus in the presence of a touchscreen. -->
2846        <attr name="touchscreenBlocksFocus" format="boolean" />
2847
2848        <!-- Sets whether this ViewGroup should split MotionEvents
2849             to separate child views during touch event dispatch.
2850             If false (default), touch events will be dispatched to
2851             the child view where the first pointer went down until
2852             the last pointer goes up.
2853             If true, touch events may be dispatched to multiple children.
2854             MotionEvents for each pointer will be dispatched to the child
2855             view where the initial ACTION_DOWN event happened.
2856             See {@link android.view.ViewGroup#setMotionEventSplittingEnabled(boolean)}
2857             for more information. -->
2858        <attr name="splitMotionEvents" format="boolean" />
2859
2860        <!-- Defines the layout mode of this ViewGroup. -->
2861        <attr name="layoutMode">
2862            <!-- Use the children's clip bounds when laying out this container. -->
2863            <enum name="clipBounds" value="0" />
2864            <!-- Use the children's optical bounds when laying out this container. -->
2865            <enum name="opticalBounds" value="1" />
2866        </attr>
2867
2868        <!-- Sets whether or not this ViewGroup should be treated as a single entity
2869             when doing an Activity transition. Typically, the elements inside a
2870             ViewGroup are each transitioned from the scene individually. The default
2871             for a ViewGroup is false unless it has a background. See
2872             {@link android.app.ActivityOptions#makeSceneTransitionAnimation(android.app.Activity,
2873             android.view.View, String)} for more information. Corresponds to
2874             {@link android.view.ViewGroup#setTransitionGroup(boolean)}.-->
2875        <attr name="transitionGroup" format="boolean" />
2876    </declare-styleable>
2877
2878    <!-- A {@link android.view.ViewStub} lets you lazily include other XML layouts
2879         inside your application at runtime. -->
2880    <declare-styleable name="ViewStub">
2881        <!-- Supply an identifier name for this view. -->
2882        <attr name="id" />
2883        <!-- Supply an identifier for the layout resource to inflate when the ViewStub
2884             becomes visible or when forced to do so. The layout resource must be a
2885             valid reference to a layout. -->
2886        <attr name="layout" format="reference" />
2887        <!-- Overrides the id of the inflated View with this value. -->
2888        <attr name="inflatedId" format="reference" />
2889    </declare-styleable>
2890
2891    <!-- ===================================== -->
2892    <!-- View package parent layout attributes -->
2893    <!-- ===================================== -->
2894    <eat-comment />
2895
2896    <!-- This is the basic set of layout attributes that are common to all
2897         layout managers.  These attributes are specified with the rest of
2898         a view's normal attributes (such as {@link android.R.attr#background},
2899         but will be parsed by the view's parent and ignored by the child.
2900        <p>The values defined here correspond to the base layout attribute
2901        class {@link android.view.ViewGroup.LayoutParams}. -->
2902    <declare-styleable name="ViewGroup_Layout">
2903        <!-- Specifies the basic width of the view.  This is a required attribute
2904             for any view inside of a containing layout manager.  Its value may
2905             be a dimension (such as "12dip") for a constant width or one of
2906             the special constants. -->
2907        <attr name="layout_width" format="dimension">
2908            <!-- The view should be as big as its parent (minus padding).
2909                 This constant is deprecated starting from API Level 8 and
2910                 is replaced by {@code match_parent}. -->
2911            <enum name="fill_parent" value="-1" />
2912            <!-- The view should be as big as its parent (minus padding).
2913                 Introduced in API Level 8. -->
2914            <enum name="match_parent" value="-1" />
2915            <!-- The view should be only big enough to enclose its content (plus padding). -->
2916            <enum name="wrap_content" value="-2" />
2917        </attr>
2918
2919        <!-- Specifies the basic height of the view.  This is a required attribute
2920             for any view inside of a containing layout manager.  Its value may
2921             be a dimension (such as "12dip") for a constant height or one of
2922             the special constants. -->
2923        <attr name="layout_height" format="dimension">
2924            <!-- The view should be as big as its parent (minus padding).
2925                 This constant is deprecated starting from API Level 8 and
2926                 is replaced by {@code match_parent}. -->
2927            <enum name="fill_parent" value="-1" />
2928            <!-- The view should be as big as its parent (minus padding).
2929                 Introduced in API Level 8. -->
2930            <enum name="match_parent" value="-1" />
2931            <!-- The view should be only big enough to enclose its content (plus padding). -->
2932            <enum name="wrap_content" value="-2" />
2933        </attr>
2934    </declare-styleable>
2935
2936    <!-- This is the basic set of layout attributes for layout managers that
2937         wish to place margins around their child views.
2938         These attributes are specified with the rest of
2939         a view's normal attributes (such as {@link android.R.attr#background},
2940         but will be parsed by the view's parent and ignored by the child.
2941        <p>The values defined here correspond to the base layout attribute
2942        class {@link android.view.ViewGroup.MarginLayoutParams}. -->
2943    <declare-styleable name="ViewGroup_MarginLayout">
2944        <attr name="layout_width" />
2945        <attr name="layout_height" />
2946        <!--  Specifies extra space on the left, top, right and bottom
2947              sides of this view. This space is outside this view's bounds.
2948              Margin values should be positive. -->
2949        <attr name="layout_margin" format="dimension"  />
2950        <!--  Specifies extra space on the left side of this view.
2951              This space is outside this view's bounds.
2952              Margin values should be positive. -->
2953        <attr name="layout_marginLeft" format="dimension"  />
2954        <!--  Specifies extra space on the top side of this view.
2955              This space is outside this view's bounds.
2956              Margin values should be positive.-->
2957        <attr name="layout_marginTop" format="dimension" />
2958        <!--  Specifies extra space on the right side of this view.
2959              This space is outside this view's bounds.
2960              Margin values should be positive.-->
2961        <attr name="layout_marginRight" format="dimension"  />
2962        <!--  Specifies extra space on the bottom side of this view.
2963              This space is outside this view's bounds.
2964              Margin values should be positive.-->
2965        <attr name="layout_marginBottom" format="dimension"  />
2966        <!--  Specifies extra space on the start side of this view.
2967              This space is outside this view's bounds.
2968              Margin values should be positive.-->
2969        <attr name="layout_marginStart" format="dimension"  />
2970        <!--  Specifies extra space on the end side of this view.
2971              This space is outside this view's bounds.
2972              Margin values should be positive.-->
2973        <attr name="layout_marginEnd" format="dimension"  />
2974    </declare-styleable>
2975
2976    <!-- Use <code>input-method</code> as the root tag of the XML resource that
2977         describes an
2978         {@link android.view.inputmethod.InputMethod} service, which is
2979         referenced from its
2980         {@link android.view.inputmethod.InputMethod#SERVICE_META_DATA}
2981         meta-data entry.  Described here are the attributes that can be
2982         included in that tag. -->
2983    <declare-styleable name="InputMethod">
2984        <!-- Component name of an activity that allows the user to modify
2985             the settings for this service. -->
2986        <attr name="settingsActivity" format="string" />
2987        <!-- Set to true in all of the configurations for which this input
2988             method should be considered an option as the default. -->
2989        <attr name="isDefault" format="boolean" />
2990        <!-- Set to true if this input method supports ways to switch to
2991             a next input method (e.g. a globe key.). When this is true and
2992             InputMethodManager#shouldOfferSwitchingToNextInputMethod() returns true,
2993             the IME has to offer ways to invoke InputMethodManager#switchToNextInputMethod()
2994             accordingly.
2995             <p> Note that the system determines the most appropriate next input method
2996             and subtype in order to provide the consistent user experience in switching
2997             between IMEs and subtypes. -->
2998        <attr name="supportsSwitchingToNextInputMethod" format="boolean" />
2999    </declare-styleable>
3000
3001    <!-- This is the subtype of InputMethod. Subtype can describe locales (e.g. en_US, fr_FR...)
3002         and modes (e.g. voice, keyboard...), and is used for IME switch. This subtype allows
3003         the system to call the specified subtype of the IME directly. -->
3004    <declare-styleable name="InputMethod_Subtype">
3005        <!-- The name of the subtype. -->
3006        <attr name="label" />
3007        <!-- The icon of the subtype. -->
3008        <attr name="icon" />
3009        <!-- The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...)
3010             and will be passed to the IME when the framework calls the IME
3011             with the subtype. This is also used by the framework to know the supported locales
3012             of the IME.  -->
3013        <attr name="imeSubtypeLocale" format="string" />
3014        <!-- The mode of the subtype. This string can be a mode (e.g. voice, keyboard...) and this
3015             string will be passed to the IME when the framework calls the IME with the
3016             subtype.  -->
3017        <attr name="imeSubtypeMode" format="string" />
3018        <!-- Set true if the subtype is auxiliary.  An auxiliary subtype won't be shown in the
3019             input method selection list in the settings app.
3020             InputMethodManager#switchToLastInputMethod will ignore auxiliary subtypes when it
3021             chooses a target subtype. -->
3022        <attr name="isAuxiliary" format="boolean" />
3023        <!-- Set true when this subtype should be selected by default if no other subtypes are
3024             selected explicitly. Note that a subtype with this parameter being true will
3025             not be shown in the subtypes list. -->
3026        <attr name="overridesImplicitlyEnabledSubtype" format="boolean" />
3027        <!-- The extra value of the subtype. This string can be any string and will be passed to
3028             the IME when the framework calls the IME with the subtype.  -->
3029        <attr name="imeSubtypeExtraValue" format="string" />
3030        <!-- The unique id for the subtype. The input method framework keeps track of enabled
3031             subtypes by ID. When the IME package gets upgraded, enabled IDs will stay enabled even
3032             if other attributes are different. If the ID is unspecified (by calling the other
3033             constructor or 0. Arrays.hashCode(new Object[] {locale, mode, extraValue,
3034             isAuxiliary, overridesImplicitlyEnabledSubtype}) will be used instead. -->
3035        <attr name="subtypeId" format="integer"/>
3036        <!-- Set to true if this subtype is ASCII capable. If the subtype is ASCII
3037             capable, it should guarantee that the user can input ASCII characters with
3038             this subtype. This is important because many password fields only allow
3039             ASCII-characters. -->
3040        <attr name="isAsciiCapable" format="boolean" />
3041    </declare-styleable>
3042
3043    <!-- Use <code>spell-checker</code> as the root tag of the XML resource that
3044         describes an
3045         {@link android.service.textservice.SpellCheckerService} service, which is
3046         referenced from its
3047         {@link android.view.textservice.SpellCheckerSession#SERVICE_META_DATA}
3048         meta-data entry.  Described here are the attributes that can be
3049         included in that tag. -->
3050    <declare-styleable name="SpellChecker">
3051        <!-- The name of the spell checker. -->
3052        <attr name="label" />
3053        <!-- Component name of an activity that allows the user to modify
3054             the settings for this service. -->
3055        <attr name="settingsActivity"/>
3056    </declare-styleable>
3057
3058    <!-- This is the subtype of the spell checker. Subtype can describe locales (e.g. en_US, fr_FR...) -->
3059    <declare-styleable name="SpellChecker_Subtype">
3060        <!-- The name of the subtype. -->
3061        <attr name="label" />
3062        <!-- The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...)
3063             This is also used by the framework to know the supported locales
3064             of the spell checker.  -->
3065        <attr name="subtypeLocale" format="string" />
3066        <!-- The extra value of the subtype. This string can be any string and will be passed to
3067             the SpellChecker.  -->
3068        <attr name="subtypeExtraValue" format="string" />
3069    </declare-styleable>
3070
3071    <!-- Use <code>accessibility-service</code> as the root tag of the XML resource that
3072         describes an {@link android.accessibilityservice.AccessibilityService} service,
3073         which is referenced from its
3074         {@link android.accessibilityservice.AccessibilityService#SERVICE_META_DATA}
3075         meta-data entry. -->
3076    <declare-styleable name="AccessibilityService">
3077        <!-- The event types this serivce would like to receive as specified in
3078             {@link android.view.accessibility.AccessibilityEvent}. This setting
3079             can be changed at runtime by calling
3080             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3081             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3082        <attr name="accessibilityEventTypes">
3083            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CLICKED} events.-->
3084            <flag name="typeViewClicked" value="0x00000001" />
3085            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_LONG_CLICKED} events. -->
3086            <flag name="typeViewLongClicked" value="0x00000002" />
3087            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SELECTED} events. -->
3088            <flag name="typeViewSelected" value="0x00000004" />
3089            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_FOCUSED} events. -->
3090            <flag name="typeViewFocused" value="0x00000008" />
3091            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_CHANGED} events. -->
3092            <flag name="typeViewTextChanged" value="0x00000010" />
3093            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_STATE_CHANGED} events. -->
3094            <flag name="typeWindowStateChanged" value="0x00000020" />
3095            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_NOTIFICATION_STATE_CHANGED} events. -->
3096            <flag name="typeNotificationStateChanged" value="0x00000040" />
3097            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_ENTER} events. -->
3098            <flag name="typeViewHoverEnter" value="0x00000080" />
3099            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_EXIT} events. -->
3100            <flag name="typeViewHoverExit" value="0x00000100" />
3101            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_START} events. -->
3102            <flag name="typeTouchExplorationGestureStart" value="0x00000200" />
3103            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_END} events. -->
3104            <flag name="typeTouchExplorationGestureEnd" value="0x00000400" />
3105            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_CONTENT_CHANGED} events. -->
3106            <flag name="typeWindowContentChanged" value="0x00000800" />
3107            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SCROLLED} events. -->
3108            <flag name="typeViewScrolled" value="0x000001000" />
3109            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_SELECTION_CHANGED} events. -->
3110            <flag name="typeViewTextSelectionChanged" value="0x000002000" />
3111            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ANNOUNCEMENT} events. -->
3112            <flag name="typeAnnouncement" value="0x00004000" />
3113            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUSED} events. -->
3114            <flag name="typeViewAccessibilityFocused" value="0x00008000" />
3115            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED} events. -->
3116            <flag name="typeViewAccessibilityFocusCleared" value="0x00010000" />
3117            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY} events. -->
3118            <flag name="typeViewTextTraversedAtMovementGranularity" value="0x00020000" />
3119            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_START} events. -->
3120            <flag name="typeGestureDetectionStart" value="0x00040000" />
3121            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_END} events. -->
3122            <flag name="typeGestureDetectionEnd" value="0x00080000" />
3123            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_START} events. -->
3124            <flag name="typeTouchInteractionStart" value="0x00100000" />
3125            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_END} events. -->
3126            <flag name="typeTouchInteractionEnd" value="0x00200000" />
3127            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOWS_CHANGED} events. -->
3128            <flag name="typeWindowsChanged" value="0x00400000" />
3129            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CONTEXT_CLICKED} events. -->
3130            <flag name="typeContextClicked" value="0x00800000" />
3131            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPES_ALL_MASK} i.e. all events. -->
3132            <flag name="typeAllMask" value="0xffffffff" />
3133        </attr>
3134        <!-- Comma separated package names from which this serivce would like to receive events (leave out for all packages).
3135             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3136             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3137        <attr name="packageNames" format="string" />
3138        <!-- The feedback types this serivce provides as specified in
3139             {@link android.accessibilityservice.AccessibilityServiceInfo}. This setting
3140             can be changed at runtime by calling
3141             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3142             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3143        <attr name="accessibilityFeedbackType">
3144            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_SPOKEN} feedback. -->
3145            <flag name="feedbackSpoken" value="0x00000001" />
3146            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_HAPTIC} feedback. -->
3147            <flag name="feedbackHaptic" value="0x00000002" />
3148            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_AUDIBLE} feedback. -->
3149            <flag name="feedbackAudible" value="0x00000004" />
3150            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_VISUAL} feedback. -->
3151            <flag name="feedbackVisual" value="0x00000008" />
3152            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_GENERIC} feedback. -->
3153            <flag name="feedbackGeneric" value="0x00000010" />
3154            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_ALL_MASK} feedback. -->
3155            <flag name="feedbackAllMask" value="0xffffffff" />
3156        </attr>
3157        <!-- The minimal period in milliseconds between two accessibility events of the same type
3158             are sent to this serivce. This setting can be changed at runtime by calling
3159             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3160             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3161        <attr name="notificationTimeout" format="integer" />
3162        <!-- Additional flags as specified in
3163             {@link android.accessibilityservice.AccessibilityServiceInfo}.
3164             This setting can be changed at runtime by calling
3165             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3166             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3167        <attr name="accessibilityFlags">
3168            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#DEFAULT} -->
3169            <flag name="flagDefault" value="0x00000001" />
3170            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_INCLUDE_NOT_IMPORTANT_VIEWS} -->
3171            <flag name="flagIncludeNotImportantViews" value="0x00000002" />
3172            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} -->
3173            <flag name="flagRequestTouchExplorationMode" value="0x00000004" />
3174            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} -->
3175            <flag name="flagRequestEnhancedWebAccessibility" value="0x00000008" />
3176            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REPORT_VIEW_IDS} -->
3177            <flag name="flagReportViewIds" value="0x00000010" />
3178            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} -->
3179            <flag name="flagRequestFilterKeyEvents" value="0x00000020" />
3180            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_RETRIEVE_INTERACTIVE_WINDOWS} -->
3181            <flag name="flagRetrieveInteractiveWindows" value="0x00000040" />
3182        </attr>
3183        <!-- Component name of an activity that allows the user to modify
3184             the settings for this service. This setting cannot be changed at runtime. -->
3185        <attr name="settingsActivity" />
3186        <!-- Attribute whether the accessibility service wants to be able to retrieve the
3187             active window content. This setting cannot be changed at runtime. -->
3188        <attr name="canRetrieveWindowContent" format="boolean" />
3189        <!-- Attribute whether the accessibility service wants to be able to request touch
3190             exploration mode in which touched items are spoken aloud and the UI can be
3191             explored via gestures.
3192             <p>
3193             Required to allow setting the {@link android.accessibilityservice
3194             #AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} flag.
3195             </p>
3196         -->
3197        <attr name="canRequestTouchExplorationMode" format="boolean" />
3198        <!-- Attribute whether the accessibility service wants to be able to request enhanced
3199             web accessibility enhancements. For example, installing scripts to make app
3200             content more accessible.
3201             <p>
3202             Required to allow setting the {@link android.accessibilityservice
3203             #AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} flag.
3204             </p>
3205         -->
3206        <attr name="canRequestEnhancedWebAccessibility" format="boolean" />
3207        <!-- Attribute whether the accessibility service wants to be able to request to
3208             filter key events.
3209             <p>
3210             Required to allow setting the {@link android.accessibilityservice
3211             #AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} flag.
3212             </p>
3213         -->
3214        <attr name="canRequestFilterKeyEvents" format="boolean" />
3215        <!-- Short description of the accessibility serivce purpose or behavior.-->
3216        <attr name="description" />
3217    </declare-styleable>
3218
3219    <!-- Use <code>print-service</code> as the root tag of the XML resource that
3220         describes an {@link android.printservice.PrintService} service, which is
3221         referenced from its {@link android.printservice.PrintService#SERVICE_META_DATA}
3222         meta-data entry. -->
3223    <declare-styleable name="PrintService">
3224        <!-- Fully qualified class name of an activity that allows the user to modify
3225             the settings for this service. -->
3226        <attr name="settingsActivity" />
3227        <!-- Fully qualified class name of an activity that allows the user to manually
3228             add printers to this print service. -->
3229        <attr name="addPrintersActivity" format="string"/>
3230        <!-- Fully qualified class name of an activity with advanced print options
3231             specific to this print service. -->
3232        <attr name="advancedPrintOptionsActivity" format="string"/>
3233        <!-- The vendor name if this print service is vendor specific. -->
3234        <attr name="vendor" format="string"/>
3235    </declare-styleable>
3236
3237    <!-- Use <code>host-apdu-service</code> as the root tag of the XML resource that
3238         describes an {@link android.nfc.cardemulation.HostApduService} service, which
3239         is referenced from its {@link android.nfc.cardemulation.HostApduService#SERVICE_META_DATA}
3240         entry. -->
3241    <declare-styleable name="HostApduService">
3242        <!-- Short description of the functionality the service implements. This attribute
3243             is mandatory.-->
3244        <attr name="description" />
3245        <!-- Whether the device must be unlocked before routing data to this service.
3246             The default is false.-->
3247        <attr name="requireDeviceUnlock" format="boolean"/>
3248        <!-- A drawable that can be rendered in Android's system UI for representing
3249             the service. -->
3250        <attr name="apduServiceBanner" format="reference"/>
3251        <!-- Component name of an activity that allows the user to modify
3252             the settings for this service. -->
3253        <attr name="settingsActivity"/>
3254    </declare-styleable>
3255
3256    <!-- Use <code>offhost-apdu-service</code> as the root tag of the XML resource that
3257         describes an {@link android.nfc.cardemulation.OffHostApduService}
3258         service, which is referenced from its
3259         {@link android.nfc.cardemulation.OffHostApduService#SERVICE_META_DATA} entry. -->
3260    <declare-styleable name="OffHostApduService">
3261        <!-- Short description of the functionality the service implements. This attribute
3262             is mandatory.-->
3263        <attr name="description" />
3264        <!-- A drawable that can be rendered in Android's system UI for representing
3265             the service. -->
3266        <attr name="apduServiceBanner"/>
3267        <!-- Component name of an activity that allows the user to modify
3268             the settings for this service. -->
3269        <attr name="settingsActivity"/>
3270    </declare-styleable>
3271
3272    <!-- Specify one or more <code>aid-group</code> elements inside a
3273         <code>host-apdu-service</code> or <code>offhost-apdu-service</code>
3274         element to define a group of ISO7816 Application ID (AIDs) that
3275         your service can handle.-->
3276    <declare-styleable name="AidGroup">
3277        <!-- Short description of what the AID group implements. This attribute is mandatory.-->
3278        <attr name="description" />
3279        <!-- The category attribute will be used by the Android platform to present
3280             multiple applications that register ISO 7816 Application IDs (AIDs) in the
3281             same category uniformly.
3282             Additionally, when a category is specified, Android will ensure that either
3283             all AIDs in this group are routed to this application, or none at all.
3284             This attribute is optional.-->
3285        <attr name="category" format="string" />
3286    </declare-styleable>
3287
3288    <!-- Specify one or more <code>aid-filter</code> elements inside a
3289         <code>aid-group</code> element to specify an ISO7816 Application ID (AID)
3290         your service can handle. -->
3291    <declare-styleable name="AidFilter">
3292        <!-- The ISO7816 Application ID. This attribute is mandatory. -->
3293        <attr name="name" />
3294    </declare-styleable>
3295
3296    <!-- Specify one or more <code>aid-prefix-filter</code> elements inside a
3297         <code>aid-group</code> element to specify an ISO7816 Application ID (AID)
3298         prefix your service can handle. -->
3299    <declare-styleable name="AidPrefixFilter">
3300        <!-- The ISO7816 Application ID. This attribute is mandatory. -->
3301        <attr name="name" />
3302    </declare-styleable>
3303
3304    <declare-styleable name="ActionMenuItemView">
3305        <attr name="minWidth" />
3306    </declare-styleable>
3307
3308    <!-- =============================== -->
3309    <!-- Widget package class attributes -->
3310    <!-- =============================== -->
3311    <eat-comment />
3312
3313    <declare-styleable name="AbsListView">
3314         <!-- Drawable used to indicate the currently selected item in the list. -->
3315        <attr name="listSelector" format="color|reference" />
3316        <!-- When set to true, the selector will be drawn over the selected item.
3317             Otherwise the selector is drawn behind the selected item. The default
3318             value is false. -->
3319        <attr name="drawSelectorOnTop" format="boolean" />
3320        <!-- Used by ListView and GridView to stack their content from the bottom. -->
3321        <attr name="stackFromBottom" format="boolean" />
3322        <!-- When set to true, the list uses a drawing cache during scrolling.
3323             This makes the rendering faster but uses more memory. The default
3324             value is true. -->
3325        <attr name="scrollingCache" format="boolean" />
3326        <!-- When set to true, the list will filter results as the user types. The
3327             List's adapter must support the Filterable interface for this to work. -->
3328        <attr name="textFilterEnabled" format="boolean" />
3329        <!-- Sets the transcript mode for the list. In transcript mode, the list
3330             scrolls to the bottom to make new items visible when they are added. -->
3331        <attr name="transcriptMode">
3332            <!-- Disables transcript mode. This is the default value. -->
3333            <enum name="disabled" value="0"/>
3334            <!-- The list will automatically scroll to the bottom when
3335                 a data set change notification is received and only if the last item is
3336                 already visible on screen. -->
3337            <enum name="normal" value="1" />
3338            <!-- The list will automatically scroll to the bottom, no matter what items
3339                 are currently visible. -->
3340            <enum name="alwaysScroll" value="2" />
3341        </attr>
3342        <!-- Indicates that this list will always be drawn on top of solid, single-color
3343             opaque background. This allows the list to optimize drawing. -->
3344        <attr name="cacheColorHint" format="color" />
3345        <!-- Enables the fast scroll thumb that can be dragged to quickly scroll through
3346             the list. -->
3347        <attr name="fastScrollEnabled" format="boolean" />
3348        <!-- Specifies the style of the fast scroll decorations. -->
3349        <attr name="fastScrollStyle" format="reference" />
3350        <!-- When set to true, the list will use a more refined calculation
3351             method based on the pixels height of the items visible on screen. This
3352             property is set to true by default but should be set to false if your adapter
3353             will display items of varying heights. When this property is set to true and
3354             your adapter displays items of varying heights, the scrollbar thumb will
3355             change size as the user scrolls through the list. When set to fale, the list
3356             will use only the number of items in the adapter and the number of items visible
3357             on screen to determine the scrollbar's properties. -->
3358        <attr name="smoothScrollbar" format="boolean" />
3359        <!-- Defines the choice behavior for the view. By default, lists do not have
3360             any choice behavior. By setting the choiceMode to singleChoice, the list
3361             allows up to one item to be in a chosen state. By setting the choiceMode to
3362             multipleChoice, the list allows any number of items to be chosen.
3363             Finally, by setting the choiceMode to multipleChoiceModal the list allows
3364             any number of items to be chosen in a special selection mode.
3365             The application will supply a
3366             {@link android.widget.AbsListView.MultiChoiceModeListener} using
3367             {@link android.widget.AbsListView#setMultiChoiceModeListener} to control the
3368             selection mode. This uses the {@link android.view.ActionMode} API. -->
3369        <attr name="choiceMode">
3370            <!-- Normal list that does not indicate choices. -->
3371            <enum name="none" value="0" />
3372            <!-- The list allows up to one choice. -->
3373            <enum name="singleChoice" value="1" />
3374            <!-- The list allows multiple choices. -->
3375            <enum name="multipleChoice" value="2" />
3376            <!-- The list allows multiple choices in a custom selection mode. -->
3377            <enum name="multipleChoiceModal" value="3" />
3378        </attr>
3379
3380        <!-- When set to true, the list will always show the fast scroll interface.
3381             This setting implies fastScrollEnabled. -->
3382        <attr name="fastScrollAlwaysVisible" format="boolean" />
3383    </declare-styleable>
3384    <declare-styleable name="AbsSpinner">
3385        <!-- Reference to an array resource that will populate the Spinner.  For static content,
3386             this is simpler than populating the Spinner programmatically. -->
3387        <attr name="entries" />
3388    </declare-styleable>
3389    <declare-styleable name="AnalogClock">
3390        <attr name="dial" format="reference"/>
3391        <attr name="hand_hour" format="reference"/>
3392        <attr name="hand_minute" format="reference"/>
3393    </declare-styleable>
3394    <declare-styleable name="Button">
3395    </declare-styleable>
3396    <declare-styleable name="Chronometer">
3397        <!-- Format string: if specified, the Chronometer will display this
3398             string, with the first "%s" replaced by the current timer value
3399             in "MM:SS" or "H:MM:SS" form.
3400             If no format string is specified, the Chronometer will simply display
3401             "MM:SS" or "H:MM:SS". -->
3402        <attr name="format" format="string" localization="suggested" />
3403    </declare-styleable>
3404    <declare-styleable name="CompoundButton">
3405        <!-- Indicates the initial checked state of this button. -->
3406        <attr name="checked" format="boolean" />
3407        <!-- Drawable used for the button graphic (e.g. checkbox, radio button, etc). -->
3408        <attr name="button" format="reference" />
3409        <!-- Tint to apply to the button graphic. -->
3410        <attr name="buttonTint" format="color" />
3411        <!-- Blending mode used to apply the button graphic tint. -->
3412        <attr name="buttonTintMode">
3413            <!-- The tint is drawn on top of the drawable.
3414                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3415            <enum name="src_over" value="3" />
3416            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3417                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3418            <enum name="src_in" value="5" />
3419            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3420                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3421            <enum name="src_atop" value="9" />
3422            <!-- Multiplies the color and alpha channels of the drawable with those of
3423                 the tint. [Sa * Da, Sc * Dc] -->
3424            <enum name="multiply" value="14" />
3425            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3426            <enum name="screen" value="15" />
3427            <!-- Combines the tint and drawable color and alpha channels, clamping the
3428                 result to valid color values. Saturate(S + D) -->
3429            <enum name="add" value="16" />
3430        </attr>
3431    </declare-styleable>
3432    <declare-styleable name="CheckedTextView">
3433        <!-- Indicates the initial checked state of this text. -->
3434        <attr name="checked" />
3435        <!-- Drawable used for the check mark graphic. -->
3436        <attr name="checkMark" format="reference"/>
3437        <!-- Tint to apply to the check mark. -->
3438        <attr name="checkMarkTint" format="color" />
3439        <!-- Blending mode used to apply the check mark tint. -->
3440        <attr name="checkMarkTintMode">
3441            <!-- The tint is drawn on top of the drawable.
3442                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3443            <enum name="src_over" value="3" />
3444            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3445                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3446            <enum name="src_in" value="5" />
3447            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3448                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3449            <enum name="src_atop" value="9" />
3450            <!-- Multiplies the color and alpha channels of the drawable with those of
3451                 the tint. [Sa * Da, Sc * Dc] -->
3452            <enum name="multiply" value="14" />
3453            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3454            <enum name="screen" value="15" />
3455            <!-- Combines the tint and drawable color and alpha channels, clamping the
3456                 result to valid color values. Saturate(S + D) -->
3457            <enum name="add" value="16" />
3458        </attr>
3459        <!-- Gravity for aligning a CheckedTextView's checkmark to one side or the other. -->
3460        <attr name="checkMarkGravity">
3461            <!-- Push object to the left of its container, not changing its size. -->
3462            <flag name="left" value="0x03" />
3463            <!-- Push object to the right of its container, not changing its size. -->
3464            <flag name="right" value="0x05" />
3465            <!-- Push object to the beginning of its container, not changing its size. -->
3466            <flag name="start" value="0x00800003" />
3467            <!-- Push object to the end of its container, not changing its size. -->
3468            <flag name="end" value="0x00800005" />
3469        </attr>
3470    </declare-styleable>
3471    <declare-styleable name="EditText">
3472    </declare-styleable>
3473    <declare-styleable name="FastScroll">
3474        <!-- Drawable used for the scroll bar thumb. -->
3475        <attr name="thumbDrawable" format="reference" />
3476        <!-- Minimum width of the thumb. -->
3477        <attr name="thumbMinWidth" format="dimension" />
3478        <!-- Minimum height of the thumb. -->
3479        <attr name="thumbMinHeight" format="dimension" />
3480        <!-- Drawable used for the scroll bar track. -->
3481        <attr name="trackDrawable" format="reference" />
3482        <!-- Drawable used for the section header preview when right-aligned. -->
3483        <attr name="backgroundRight" format="reference" />
3484        <!-- Drawable used for the section header preview when left-aligned. -->
3485        <attr name="backgroundLeft" format="reference" />
3486        <!-- Position of section header preview. -->
3487        <attr name="position">
3488            <!-- Floating at the top of the content. -->
3489            <enum name="floating" value="0" />
3490            <!-- Pinned to the thumb, vertically centered with the middle of the thumb. -->
3491            <enum name="atThumb" value="1" />
3492            <!-- Pinned to the thumb, vertically centered with the top edge of the thumb. -->
3493            <enum name="aboveThumb" value="2" />
3494        </attr>
3495        <attr name="textAppearance" />
3496        <attr name="textColor" />
3497        <attr name="textSize" />
3498        <!-- Minimum width of the section header preview. -->
3499        <attr name="minWidth" />
3500        <!-- Minimum height of the section header preview. -->
3501        <attr name="minHeight" />
3502        <!-- Padding for the section header preview. -->
3503        <attr name="padding" />
3504        <!-- Position of thumb in relation to the track. -->
3505        <attr name="thumbPosition">
3506            <!-- The thumb's midpoint is anchored to the track. At its
3507                 extremes, the thumb will extend half-way outside the
3508                 track. -->
3509            <enum name="midpoint" value="0" />
3510            <!-- The thumb is entirely inside the track. At its extremes,
3511                 the thumb will be contained entirely within the track. -->
3512            <enum name="inside" value="1" />
3513        </attr>
3514    </declare-styleable>
3515    <declare-styleable name="FrameLayout">
3516        <!-- Determines whether to measure all children or just those in
3517             the VISIBLE or INVISIBLE state when measuring. Defaults to false. -->
3518        <attr name="measureAllChildren" format="boolean" />
3519    </declare-styleable>
3520    <declare-styleable name="ExpandableListView">
3521        <!-- Indicator shown beside the group View. This can be a stateful Drawable. -->
3522        <attr name="groupIndicator" format="reference" />
3523        <!-- Indicator shown beside the child View. This can be a stateful Drawable. -->
3524        <attr name="childIndicator" format="reference" />
3525        <!-- The left bound for an item's indicator. To specify a left bound specific to children,
3526             use childIndicatorLeft. -->
3527        <attr name="indicatorLeft" format="dimension" />
3528        <!-- The right bound for an item's indicator. To specify a right bound specific to children,
3529             use childIndicatorRight. -->
3530        <attr name="indicatorRight" format="dimension" />
3531        <!-- The left bound for a child's indicator. -->
3532        <attr name="childIndicatorLeft" format="dimension" />
3533        <!-- The right bound for a child's indicator. -->
3534        <attr name="childIndicatorRight" format="dimension" />
3535        <!-- Drawable or color that is used as a divider for children. (It will drawn
3536             below and above child items.) The height of this will be the same as
3537             the height of the normal list item divider. -->
3538        <attr name="childDivider" format="reference|color" />
3539        <!-- The start bound for an item's indicator. To specify a start bound specific to children,
3540             use childIndicatorStart. -->
3541        <attr name="indicatorStart" format="dimension" />
3542        <!-- The end bound for an item's indicator. To specify a right bound specific to children,
3543             use childIndicatorEnd. -->
3544        <attr name="indicatorEnd" format="dimension" />
3545        <!-- The start bound for a child's indicator. -->
3546        <attr name="childIndicatorStart" format="dimension" />
3547        <!-- The end bound for a child's indicator. -->
3548        <attr name="childIndicatorEnd" format="dimension" />
3549    </declare-styleable>
3550    <declare-styleable name="Gallery">
3551        <attr name="gravity" />
3552        <!-- Sets how long a transition animation should run (in milliseconds)
3553             when layout has changed.  Only relevant if animation is turned on. -->
3554        <attr name="animationDuration" format="integer" min="0" />
3555        <attr name="spacing" format="dimension" />
3556        <!-- Sets the alpha on the items that are not selected. -->
3557        <attr name="unselectedAlpha" format="float" />
3558    </declare-styleable>
3559    <declare-styleable name="GridView">
3560        <!-- Defines the default horizontal spacing between columns. -->
3561        <attr name="horizontalSpacing" format="dimension" />
3562        <!-- Defines the default vertical spacing between rows. -->
3563        <attr name="verticalSpacing" format="dimension" />
3564        <!-- Defines how columns should stretch to fill the available empty space, if any. -->
3565        <attr name="stretchMode">
3566            <!-- Stretching is disabled. -->
3567            <enum name="none" value="0"/>
3568            <!-- The spacing between each column is stretched. -->
3569            <enum name="spacingWidth" value="1" />
3570            <!-- Each column is stretched equally. -->
3571            <enum name="columnWidth" value="2" />
3572            <!-- The spacing between each column is uniformly stretched.. -->
3573            <enum name="spacingWidthUniform" value="3" />
3574        </attr>
3575        <!-- Specifies the fixed width for each column. -->
3576        <attr name="columnWidth" format="dimension" />
3577        <!-- Defines how many columns to show. -->
3578        <attr name="numColumns" format="integer" min="0">
3579            <!-- Display as many columns as possible to fill the available space. -->
3580            <enum name="auto_fit" value="-1" />
3581        </attr>
3582        <!-- Specifies the gravity within each cell. -->
3583        <attr name="gravity" />
3584    </declare-styleable>
3585    <declare-styleable name="ImageSwitcher">
3586    </declare-styleable>
3587    <declare-styleable name="ImageView">
3588        <!-- Sets a drawable as the content of this ImageView. -->
3589        <attr name="src" format="reference|color" />
3590        <!-- Controls how the image should be resized or moved to match the size
3591             of this ImageView.  See {@link android.widget.ImageView.ScaleType} -->
3592        <attr name="scaleType">
3593            <!-- Scale using the image matrix when drawing. See  
3594                 {@link android.widget.ImageView#setImageMatrix(Matrix)}. -->
3595            <enum name="matrix" value="0" />
3596            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#FILL}. -->
3597            <enum name="fitXY" value="1" />
3598            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#START}. -->
3599            <enum name="fitStart" value="2" />
3600            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#CENTER}. -->
3601            <enum name="fitCenter" value="3" />
3602            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#END}. -->
3603            <enum name="fitEnd" value="4" />
3604            <!-- Center the image in the view, but perform no scaling. -->
3605            <enum name="center" value="5" />
3606            <!-- Scale the image uniformly (maintain the image's aspect ratio) so both dimensions 
3607                 (width and height) of the image will be equal to or larger than the corresponding
3608                 dimension of the view (minus padding). The image is then centered in the view. -->
3609            <enum name="centerCrop" value="6" />
3610            <!-- Scale the image uniformly (maintain the image's aspect ratio) so that both
3611                 dimensions (width and height) of the image will be equal to or less than the
3612                 corresponding dimension of the view (minus padding). The image is then centered in
3613                 the view. -->
3614            <enum name="centerInside" value="7" />
3615        </attr>
3616        <!-- Set this to true if you want the ImageView to adjust its bounds
3617             to preserve the aspect ratio of its drawable. -->
3618        <attr name="adjustViewBounds" format="boolean" />
3619        <!-- An optional argument to supply a maximum width for this view.
3620             See {see android.widget.ImageView#setMaxWidth} for details. -->
3621        <attr name="maxWidth" format="dimension" />
3622        <!-- An optional argument to supply a maximum height for this view.
3623             See {see android.widget.ImageView#setMaxHeight} for details. -->
3624        <attr name="maxHeight" format="dimension" />
3625        <!-- Set a tinting color for the image. By default, the tint will blend using SRC_ATOP mode. -->
3626        <attr name="tint" format="color" />
3627        <!-- If true, the image view will be baseline aligned with based on its
3628             bottom edge. -->
3629        <attr name="baselineAlignBottom" format="boolean" />
3630         <!-- If true, the image will be cropped to fit within its padding. -->
3631        <attr name="cropToPadding" format="boolean" />
3632        <!-- The offset of the baseline within this view. See {see android.view.View#getBaseline}
3633             for details -->
3634        <attr name="baseline" format="dimension" />
3635        <!-- @hide The alpha value (0-255) set on the ImageView's drawable. Equivalent
3636             to calling ImageView.setAlpha(int), not the same as View.setAlpha(float). -->
3637        <attr name="drawableAlpha" format="integer" />
3638        <!-- Blending mode used to apply the image tint. -->
3639        <attr name="tintMode" />
3640    </declare-styleable>
3641    <declare-styleable name="ToggleButton">
3642        <!-- The text for the button when it is checked. -->
3643        <attr name="textOn" format="string" />
3644        <!-- The text for the button when it is not checked. -->
3645        <attr name="textOff" format="string" />
3646        <!-- The alpha to apply to the indicator when disabled. -->
3647        <attr name="disabledAlpha" />
3648    </declare-styleable>
3649    <declare-styleable name="RelativeLayout">
3650        <attr name="gravity" />
3651        <!-- Indicates what view should not be affected by gravity. -->
3652        <attr name="ignoreGravity" format="reference" />
3653    </declare-styleable>
3654    <declare-styleable name="LinearLayout">
3655        <!-- Should the layout be a column or a row?  Use "horizontal"
3656             for a row, "vertical" for a column.  The default is
3657             horizontal. -->
3658        <attr name="orientation" />
3659        <attr name="gravity" />
3660        <!-- When set to false, prevents the layout from aligning its children's
3661             baselines. This attribute is particularly useful when the children
3662             use different values for gravity. The default value is true. -->
3663        <attr name="baselineAligned" format="boolean" />
3664        <!-- When a linear layout is part of another layout that is baseline
3665          aligned, it can specify which of its children to baseline align to
3666          (that is, which child TextView).-->
3667        <attr name="baselineAlignedChildIndex" format="integer" min="0"/>
3668        <!-- Defines the maximum weight sum. If unspecified, the sum is computed
3669             by adding the layout_weight of all of the children. This can be
3670             used for instance to give a single child 50% of the total available
3671             space by giving it a layout_weight of 0.5 and setting the weightSum
3672             to 1.0. -->
3673        <attr name="weightSum" format="float" />
3674        <!-- When set to true, all children with a weight will be considered having
3675             the minimum size of the largest child. If false, all children are
3676             measured normally. -->
3677        <attr name="measureWithLargestChild" format="boolean" />
3678        <!-- Drawable to use as a vertical divider between buttons. -->
3679        <attr name="divider" />
3680        <!-- Setting for which dividers to show. -->
3681        <attr name="showDividers">
3682            <flag name="none" value="0" />
3683            <flag name="beginning" value="1" />
3684            <flag name="middle" value="2" />
3685            <flag name="end" value="4" />
3686        </attr>
3687        <!-- Size of padding on either end of a divider. -->
3688        <attr name="dividerPadding" format="dimension" />
3689    </declare-styleable>
3690    <declare-styleable name="GridLayout">
3691        <!-- The orientation property is not used during layout. It is only used to
3692        allocate row and column parameters when they are not specified by its children's
3693        layout paramters. GridLayout works like LinearLayout in this case;
3694        putting all the components either in a single row or in a single column -
3695        depending on the value of this flag. In the horizontal case, a columnCount
3696        property may be additionally supplied to force new rows to be created when a
3697        row is full. The rowCount attribute may be used similarly in the vertical case.
3698        The default is horizontal. -->
3699        <attr name="orientation" />
3700        <!-- The maxmimum number of rows to create when automatically positioning children. -->
3701        <attr name="rowCount" format="integer" />
3702        <!-- The maxmimum number of columns to create when automatically positioning children. -->
3703        <attr name="columnCount" format="integer" />
3704        <!-- When set to true, tells GridLayout to use default margins when none are specified
3705        in a view's layout parameters.
3706        The default value is false.
3707        See {@link android.widget.GridLayout#setUseDefaultMargins(boolean)}.-->
3708        <attr name="useDefaultMargins" format="boolean" />
3709        <!-- When set to alignMargins, causes alignment to take place between the outer
3710        boundary of a view, as defined by its margins. When set to alignBounds,
3711        causes alignment to take place between the edges of the view.
3712        The default is alignMargins.
3713        See {@link android.widget.GridLayout#setAlignmentMode(int)}.-->
3714        <attr name="alignmentMode" />
3715        <!-- When set to true, forces row boundaries to appear in the same order
3716        as row indices.
3717        The default is true.
3718        See {@link android.widget.GridLayout#setRowOrderPreserved(boolean)}.-->
3719        <attr name="rowOrderPreserved" format="boolean" />
3720        <!-- When set to true, forces column boundaries to appear in the same order
3721        as column indices.
3722        The default is true.
3723        See {@link android.widget.GridLayout#setColumnOrderPreserved(boolean)}.-->
3724        <attr name="columnOrderPreserved" format="boolean" />
3725    </declare-styleable>
3726    <declare-styleable name="ListView">
3727        <!-- Reference to an array resource that will populate the ListView.  For static content,
3728             this is simpler than populating the ListView programmatically. -->
3729        <attr name="entries" />
3730        <!-- Drawable or color to draw between list items. -->
3731        <attr name="divider" format="reference|color" />
3732        <!-- Height of the divider. Will use the intrinsic height of the divider if this
3733             is not specified. -->
3734        <attr name="dividerHeight" format="dimension" />
3735        <!-- When set to false, the ListView will not draw the divider after each header view.
3736             The default value is true. -->
3737        <attr name="headerDividersEnabled" format="boolean" />
3738        <!-- When set to false, the ListView will not draw the divider before each footer view.
3739             The default value is true. -->
3740        <attr name="footerDividersEnabled" format="boolean" />
3741        <!-- Drawable to draw above list content. -->
3742        <attr name="overScrollHeader" format="reference|color" />
3743        <!-- Drawable to draw below list content. -->
3744        <attr name="overScrollFooter" format="reference|color" />
3745    </declare-styleable>
3746    <declare-styleable name="PreferenceFrameLayout">
3747        <!-- Padding to use at the top of the prefs content. -->
3748        <attr name="borderTop" format="dimension" />
3749        <!-- Padding to use at the bottom of the prefs content. -->
3750        <attr name="borderBottom" format="dimension" />
3751        <!-- Padding to use at the left of the prefs content. -->
3752        <attr name="borderLeft" format="dimension" />
3753        <!-- Padding to use at the right of the prefs content. -->
3754        <attr name="borderRight" format="dimension" />
3755    </declare-styleable>
3756    <declare-styleable name="PreferenceFrameLayout_Layout">
3757        <!-- Padding to use at the top of the prefs content. -->
3758        <attr name="layout_removeBorders" format="boolean" />
3759    </declare-styleable>
3760    <declare-styleable name="MenuView">
3761        <!-- Default appearance of menu item text. -->
3762        <attr name="itemTextAppearance" format="reference" />
3763        <!-- Default horizontal divider between rows of menu items. -->
3764        <attr name="horizontalDivider" format="reference" />
3765        <!-- Default vertical divider between menu items. -->
3766        <attr name="verticalDivider" format="reference" />
3767        <!-- Default background for the menu header. -->
3768        <attr name="headerBackground" format="color|reference" />
3769        <!-- Default background for each menu item. -->
3770        <attr name="itemBackground" format="color|reference" />
3771        <!-- Default animations for the menu. -->
3772        <attr name="windowAnimationStyle" />
3773        <!-- Default disabled icon alpha for each menu item that shows an icon. -->
3774        <attr name="itemIconDisabledAlpha" format="float" />
3775        <!-- Whether space should be reserved in layout when an icon is missing. -->
3776        <attr name="preserveIconSpacing" format="boolean" />
3777    </declare-styleable>
3778    <declare-styleable name="IconMenuView">
3779        <!-- Defines the height of each row. -->
3780        <attr name="rowHeight" format="dimension" />
3781        <!-- Defines the maximum number of rows displayed. -->
3782        <attr name="maxRows" format="integer" />
3783        <!-- Defines the maximum number of items per row. -->
3784        <attr name="maxItemsPerRow" format="integer" />
3785        <!-- Defines the maximum number of items to show. -->
3786        <attr name="maxItems" format="integer" />
3787        <!-- 'More' icon. -->
3788        <attr name="moreIcon" format="reference" />
3789    </declare-styleable>
3790
3791    <declare-styleable name="ProgressBar">
3792        <!-- Defines the maximum value the progress can take. -->
3793        <attr name="max" format="integer" />
3794        <!-- Defines the default progress value, between 0 and max. -->
3795        <attr name="progress" format="integer" />
3796        <!-- Defines the secondary progress value, between 0 and max. This progress is drawn between
3797             the primary progress and the background.  It can be ideal for media scenarios such as
3798             showing the buffering progress while the default progress shows the play progress. -->
3799        <attr name="secondaryProgress" format="integer" />
3800        <!-- Allows to enable the indeterminate mode. In this mode the progress
3801         bar plays an infinite looping animation. -->
3802        <attr name="indeterminate" format="boolean" />
3803        <!-- Restricts to ONLY indeterminate mode (state-keeping progress mode will not work). -->
3804        <attr name="indeterminateOnly" format="boolean" />
3805        <!-- Drawable used for the indeterminate mode. -->
3806        <attr name="indeterminateDrawable" format="reference" />
3807        <!-- Drawable used for the progress mode. -->
3808        <attr name="progressDrawable" format="reference" />
3809        <!-- Duration of the indeterminate animation. -->
3810        <attr name="indeterminateDuration" format="integer" min="1" />
3811        <!-- Defines how the indeterminate mode should behave when the progress
3812        reaches max. -->
3813        <attr name="indeterminateBehavior">
3814            <!-- Progress starts over from 0. -->
3815            <enum name="repeat" value="1" />
3816            <!-- Progress keeps the current value and goes back to 0. -->
3817            <enum name="cycle" value="2" />
3818        </attr>
3819        <attr name="minWidth" format="dimension" />
3820        <attr name="maxWidth" />
3821        <attr name="minHeight" format="dimension" />
3822        <attr name="maxHeight" />
3823        <attr name="interpolator" format="reference" />
3824        <!-- Timeout between frames of animation in milliseconds
3825             {@deprecated Not used by the framework.} -->
3826        <attr name="animationResolution" format="integer" />
3827        <!-- Defines if the associated drawables need to be mirrored when in RTL mode.
3828             Default is false -->
3829        <attr name="mirrorForRtl" format="boolean" />
3830        <!-- Tint to apply to the progress indicator. -->
3831        <attr name="progressTint" format="color" />
3832        <!-- Blending mode used to apply the progress indicator tint. -->
3833        <attr name="progressTintMode">
3834            <!-- The tint is drawn on top of the drawable.
3835                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3836            <enum name="src_over" value="3" />
3837            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3838                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3839            <enum name="src_in" value="5" />
3840            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3841                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3842            <enum name="src_atop" value="9" />
3843            <!-- Multiplies the color and alpha channels of the drawable with those of
3844                 the tint. [Sa * Da, Sc * Dc] -->
3845            <enum name="multiply" value="14" />
3846            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3847            <enum name="screen" value="15" />
3848            <!-- Combines the tint and drawable color and alpha channels, clamping the
3849                 result to valid color values. Saturate(S + D) -->
3850            <enum name="add" value="16" />
3851        </attr>
3852        <!-- Tint to apply to the progress indicator background. -->
3853        <attr name="progressBackgroundTint" format="color" />
3854        <!-- Blending mode used to apply the progress indicator background tint. -->
3855        <attr name="progressBackgroundTintMode">
3856            <!-- The tint is drawn on top of the drawable.
3857                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3858            <enum name="src_over" value="3" />
3859            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3860                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3861            <enum name="src_in" value="5" />
3862            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3863                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3864            <enum name="src_atop" value="9" />
3865            <!-- Multiplies the color and alpha channels of the drawable with those of
3866                 the tint. [Sa * Da, Sc * Dc] -->
3867            <enum name="multiply" value="14" />
3868            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3869            <enum name="screen" value="15" />
3870            <!-- Combines the tint and drawable color and alpha channels, clamping the
3871                 result to valid color values. Saturate(S + D) -->
3872            <enum name="add" value="16" />
3873        </attr>
3874        <!-- Tint to apply to the secondary progress indicator. -->
3875        <attr name="secondaryProgressTint" format="color" />
3876        <!-- Blending mode used to apply the secondary progress indicator tint. -->
3877        <attr name="secondaryProgressTintMode">
3878            <!-- The tint is drawn on top of the drawable.
3879                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3880            <enum name="src_over" value="3" />
3881            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3882                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3883            <enum name="src_in" value="5" />
3884            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3885                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3886            <enum name="src_atop" value="9" />
3887            <!-- Multiplies the color and alpha channels of the drawable with those of
3888                 the tint. [Sa * Da, Sc * Dc] -->
3889            <enum name="multiply" value="14" />
3890            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3891            <enum name="screen" value="15" />
3892            <!-- Combines the tint and drawable color and alpha channels, clamping the
3893                 result to valid color values. Saturate(S + D) -->
3894            <enum name="add" value="16" />
3895        </attr>
3896        <!-- Tint to apply to the indeterminate progress indicator. -->
3897        <attr name="indeterminateTint" format="color" />
3898        <!-- Blending mode used to apply the indeterminate progress indicator tint. -->
3899        <attr name="indeterminateTintMode">
3900            <!-- The tint is drawn on top of the drawable.
3901                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3902            <enum name="src_over" value="3" />
3903            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3904                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3905            <enum name="src_in" value="5" />
3906            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3907                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3908            <enum name="src_atop" value="9" />
3909            <!-- Multiplies the color and alpha channels of the drawable with those of
3910                 the tint. [Sa * Da, Sc * Dc] -->
3911            <enum name="multiply" value="14" />
3912            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3913            <enum name="screen" value="15" />
3914            <!-- Combines the tint and drawable color and alpha channels, clamping the
3915                 result to valid color values. Saturate(S + D) -->
3916            <enum name="add" value="16" />
3917        </attr>
3918        <!-- Tint to apply to the background. -->
3919        <attr name="backgroundTint" />
3920        <!-- Blending mode used to apply the background tint. -->
3921        <attr name="backgroundTintMode" />
3922    </declare-styleable>
3923
3924    <declare-styleable name="SeekBar">
3925        <!-- Draws the thumb on a seekbar. -->
3926        <attr name="thumb" format="reference" />
3927        <!-- An offset for the thumb that allows it to extend out of the range of the track. -->
3928        <attr name="thumbOffset" format="dimension" />
3929        <!-- Whether to split the track and leave a gap for the thumb drawable. -->
3930        <attr name="splitTrack" format="boolean" />
3931        <!-- Whether to force the track's alpha to ?android:attr/disabledAlpha
3932             when disabled. This is required for Holo and Gingerbread, but
3933             should always be false for Material and  beyond.
3934             @hide Developers shouldn't need to change this. -->
3935        <attr name="useDisabledAlpha" format="boolean" />
3936        <!-- Tint to apply to the button graphic. -->
3937        <attr name="thumbTint" format="color" />
3938        <!-- Blending mode used to apply the button graphic tint. -->
3939        <attr name="thumbTintMode">
3940            <!-- The tint is drawn on top of the drawable.
3941                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3942            <enum name="src_over" value="3" />
3943            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3944                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3945            <enum name="src_in" value="5" />
3946            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3947                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3948            <enum name="src_atop" value="9" />
3949            <!-- Multiplies the color and alpha channels of the drawable with those of
3950                 the tint. [Sa * Da, Sc * Dc] -->
3951            <enum name="multiply" value="14" />
3952            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3953            <enum name="screen" value="15" />
3954            <!-- Combines the tint and drawable color and alpha channels, clamping the
3955                 result to valid color values. Saturate(S + D) -->
3956            <enum name="add" value="16" />
3957        </attr>
3958    </declare-styleable>
3959
3960    <declare-styleable name="StackView">
3961        <!-- Color of the res-out outline. -->
3962        <attr name="resOutColor" format="color" />
3963        <!-- Color of the outline of click feedback. -->
3964        <attr name="clickColor" format="color" />
3965    </declare-styleable>
3966
3967    <declare-styleable name="RatingBar">
3968        <!-- The number of stars (or rating items) to show. -->
3969        <attr name="numStars" format="integer" />
3970        <!-- The rating to set by default. -->
3971        <attr name="rating" format="float" />
3972        <!-- The step size of the rating. -->
3973        <attr name="stepSize" format="float" />
3974        <!-- Whether this rating bar is an indicator (and non-changeable by the user). -->
3975        <attr name="isIndicator" format="boolean" />
3976    </declare-styleable>
3977
3978    <declare-styleable name="RadioGroup">
3979        <!-- The id of the child radio button that should be checked by default
3980             within this radio group. -->
3981        <attr name="checkedButton" format="integer" />
3982        <!-- Should the radio group be a column or a row?  Use "horizontal"
3983             for a row, "vertical" for a column.  The default is
3984             vertical. -->
3985        <attr name="orientation" />
3986    </declare-styleable>
3987    <declare-styleable name="TableLayout">
3988        <!-- The zero-based index of the columns to stretch. The column indices
3989             must be separated by a comma: 1, 2, 5. Illegal and duplicate
3990             indices are ignored. You can stretch all columns by using the
3991             value "*" instead. Note that a column can be marked stretchable
3992             and shrinkable at the same time. -->
3993        <attr name="stretchColumns" format="string" />
3994       <!-- The zero-based index of the columns to shrink. The column indices
3995             must be separated by a comma: 1, 2, 5. Illegal and duplicate
3996             indices are ignored. You can shrink all columns by using the
3997             value "*" instead. Note that a column can be marked stretchable
3998             and shrinkable at the same time. -->
3999        <attr name="shrinkColumns" format="string" />
4000        <!-- The zero-based index of the columns to collapse. The column indices
4001             must be separated by a comma: 1, 2, 5. Illegal and duplicate
4002             indices are ignored. -->
4003        <attr name="collapseColumns" format="string" />
4004    </declare-styleable>
4005    <declare-styleable name="TableRow">
4006
4007    </declare-styleable>
4008    <declare-styleable name="TableRow_Cell">
4009        <!-- The index of the column in which this child should be. -->
4010        <attr name="layout_column" format="integer" />
4011        <!-- Defines how many columns this child should span.  Must be >= 1.-->
4012        <attr name="layout_span" format="integer" />
4013    </declare-styleable>
4014    <declare-styleable name="TabWidget">
4015        <!-- Drawable used to draw the divider between tabs. -->
4016        <attr name="divider" />
4017        <!-- Determines whether the strip under the tab indicators is drawn or not. -->
4018        <attr name="tabStripEnabled" format="boolean" />
4019        <!-- Drawable used to draw the left part of the strip underneath the tabs. -->
4020        <attr name="tabStripLeft" format="reference" />
4021        <!-- Drawable used to draw the right part of the strip underneath the tabs. -->
4022        <attr name="tabStripRight" format="reference" />
4023        <!-- Layout used to organize each tab's content. -->
4024        <attr name="tabLayout" format="reference" />
4025    </declare-styleable>
4026    <declare-styleable name="TextAppearance">
4027        <!-- Text color. -->
4028        <attr name="textColor" />
4029        <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
4030        <attr name="textSize" />
4031        <!-- Style (bold, italic, bolditalic) for the text. -->
4032        <attr name="textStyle" />
4033        <!-- Typeface (normal, sans, serif, monospace) for the text. -->
4034        <attr name="typeface" />
4035        <!-- Font family (named by string) for the text. -->
4036        <attr name="fontFamily" />
4037        <!-- Color of the text selection highlight. -->
4038        <attr name="textColorHighlight" />
4039        <!-- Color of the hint text. -->
4040        <attr name="textColorHint" />
4041        <!-- Color of the links. -->
4042        <attr name="textColorLink" />
4043        <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
4044        <attr name="textAllCaps" format="boolean" />
4045        <!-- Place a blurred shadow of text underneath the text, drawn with the
4046             specified color. The text shadow produced does not interact with
4047             properties on View that are responsible for real time shadows,
4048             {@link android.R.styleable#View_elevation elevation} and
4049             {@link android.R.styleable#View_translationZ translationZ}. -->
4050        <attr name="shadowColor" format="color" />
4051        <!-- Horizontal offset of the text shadow. -->
4052        <attr name="shadowDx" format="float" />
4053        <!-- Vertical offset of the text shadow. -->
4054        <attr name="shadowDy" format="float" />
4055        <!-- Blur radius of the text shadow. -->
4056        <attr name="shadowRadius" format="float" />
4057        <!-- Elegant text height, especially for less compacted complex script text. -->
4058        <attr name="elegantTextHeight" format="boolean" />
4059        <!-- Text letter-spacing. -->
4060        <attr name="letterSpacing" format="float" />
4061        <!-- Font feature settings. -->
4062        <attr name="fontFeatureSettings" format="string" />
4063    </declare-styleable>
4064    <declare-styleable name="TextClock">
4065        <!-- Specifies the formatting pattern used to show the time and/or date
4066             in 12-hour mode. Please refer to {@link android.text.format.DateFormat}
4067             for a complete description of accepted formatting patterns.
4068             The default pattern is a locale-appropriate equivalent of "h:mm a". -->
4069        <attr name="format12Hour" format="string"/>
4070        <!-- Specifies the formatting pattern used to show the time and/or date
4071             in 24-hour mode. Please refer to {@link android.text.format.DateFormat}
4072             for a complete description of accepted formatting patterns.
4073             The default pattern is a locale-appropriate equivalent of "H:mm". -->
4074        <attr name="format24Hour" format="string"/>
4075        <!-- Specifies the time zone to use. When this attribute is specified, the
4076             TextClock will ignore the time zone of the system. To use the user's
4077             time zone, do not specify this attribute. The default value is the
4078             user's time zone. Please refer to {@link java.util.TimeZone} for more
4079             information about time zone ids. -->
4080        <attr name="timeZone" format="string"/>
4081    </declare-styleable>
4082    <declare-styleable name="TextSwitcher">
4083    </declare-styleable>
4084    <declare-styleable name="TextView">
4085        <!-- Determines the minimum type that getText() will return.
4086             The default is "normal".
4087             Note that EditText and LogTextBox always return Editable,
4088             even if you specify something less powerful here. -->
4089        <attr name="bufferType">
4090            <!-- Can return any CharSequence, possibly a
4091             Spanned one if the source text was Spanned. -->
4092            <enum name="normal" value="0" />
4093            <!-- Can only return Spannable. -->
4094            <enum name="spannable" value="1" />
4095            <!-- Can only return Spannable and Editable. -->
4096            <enum name="editable" value="2" />
4097        </attr>
4098        <!-- Text to display. -->
4099        <attr name="text" format="string" localization="suggested" />
4100        <!-- Hint text to display when the text is empty. -->
4101        <attr name="hint" format="string" />
4102        <!-- Text color. -->
4103        <attr name="textColor" />
4104        <!-- Color of the text selection highlight. -->
4105        <attr name="textColorHighlight" />
4106        <!-- Color of the hint text. -->
4107        <attr name="textColorHint" />
4108        <!-- Base text color, typeface, size, and style. -->
4109        <attr name="textAppearance" />
4110        <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
4111        <attr name="textSize" />
4112        <!-- Sets the horizontal scaling factor for the text. -->
4113        <attr name="textScaleX" format="float" />
4114        <!-- Typeface (normal, sans, serif, monospace) for the text. -->
4115        <attr name="typeface" />
4116        <!-- Style (bold, italic, bolditalic) for the text. -->
4117        <attr name="textStyle" />
4118        <!-- Font family (named by string) for the text. -->
4119        <attr name="fontFamily" />
4120        <!-- Text color for links. -->
4121        <attr name="textColorLink" />
4122        <!-- Makes the cursor visible (the default) or invisible. -->
4123        <attr name="cursorVisible" format="boolean" />
4124        <!-- Makes the TextView be at most this many lines tall.
4125
4126        When used on an editable text, the <code>inputType</code> attribute's value must be
4127        combined with the <code>textMultiLine</code> flag for the maxLines attribute to apply. -->
4128        <attr name="maxLines" format="integer" min="0" />
4129        <!-- Makes the TextView be at most this many pixels tall. -->
4130        <attr name="maxHeight" />
4131        <!-- Makes the TextView be exactly this many lines tall. -->
4132        <attr name="lines" format="integer" min="0" />
4133        <!-- Makes the TextView be exactly this many pixels tall.
4134             You could get the same effect by specifying this number in the
4135             layout parameters. -->
4136        <attr name="height" format="dimension" />
4137        <!-- Makes the TextView be at least this many lines tall.
4138
4139        When used on an editable text, the <code>inputType</code> attribute's value must be
4140        combined with the <code>textMultiLine</code> flag for the minLines attribute to apply. -->
4141        <attr name="minLines" format="integer" min="0" />
4142        <!-- Makes the TextView be at least this many pixels tall. -->
4143        <attr name="minHeight" />
4144        <!-- Makes the TextView be at most this many ems wide. -->
4145        <attr name="maxEms" format="integer" min="0" />
4146        <!-- Makes the TextView be at most this many pixels wide. -->
4147        <attr name="maxWidth" />
4148        <!-- Makes the TextView be exactly this many ems wide. -->
4149        <attr name="ems" format="integer" min="0" />
4150        <!-- Makes the TextView be exactly this many pixels wide.
4151             You could get the same effect by specifying this number in the
4152             layout parameters. -->
4153        <attr name="width" format="dimension" />
4154        <!-- Makes the TextView be at least this many ems wide. -->
4155        <attr name="minEms" format="integer" min="0" />
4156        <!-- Makes the TextView be at least this many pixels wide. -->
4157        <attr name="minWidth" />
4158        <!-- Specifies how to align the text by the view's x- and/or y-axis
4159             when the text is smaller than the view. -->
4160        <attr name="gravity" />
4161        <!-- Whether the text is allowed to be wider than the view (and
4162             therefore can be scrolled horizontally). -->
4163        <attr name="scrollHorizontally" format="boolean" />
4164        <!-- Whether the characters of the field are displayed as
4165             password dots instead of themselves.
4166             {@deprecated Use inputType instead.} -->
4167        <attr name="password" format="boolean" />
4168        <!-- Constrains the text to a single horizontally scrolling line
4169             instead of letting it wrap onto multiple lines, and advances
4170             focus instead of inserting a newline when you press the
4171             enter key.
4172
4173             The default value is false (multi-line wrapped text mode) for non-editable text, but if
4174             you specify any value for inputType, the default is true (single-line input field mode).
4175
4176             {@deprecated This attribute is deprecated. Use <code>maxLines</code> instead to change
4177             the layout of a static text, and use the <code>textMultiLine</code> flag in the
4178             inputType attribute instead for editable text views (if both singleLine and inputType
4179             are supplied, the inputType flags will override the value of singleLine). } -->
4180        <attr name="singleLine" format="boolean" />
4181        <!-- Specifies whether the widget is enabled. The interpretation of the enabled state varies by subclass.
4182             For example, a non-enabled EditText prevents the user from editing the contained text, and
4183             a non-enabled Button prevents the user from tapping the button.
4184             The appearance of enabled and non-enabled widgets may differ, if the drawables referenced
4185             from evaluating state_enabled differ. -->
4186        <attr name="enabled" format="boolean" />
4187        <!-- If the text is selectable, select it all when the view takes
4188             focus. -->
4189        <attr name="selectAllOnFocus" format="boolean" />
4190        <!-- Leave enough room for ascenders and descenders instead of
4191             using the font ascent and descent strictly.  (Normally true). -->
4192        <attr name="includeFontPadding" format="boolean" />
4193        <!-- Set an input filter to constrain the text length to the
4194             specified number. -->
4195        <attr name="maxLength" format="integer" min="0" />
4196        <!-- Place a blurred shadow of text underneath the text, drawn with the
4197             specified color. The text shadow produced does not interact with
4198             properties on View that are responsible for real time shadows,
4199             {@link android.R.styleable#View_elevation elevation} and
4200             {@link android.R.styleable#View_translationZ translationZ}. -->
4201        <attr name="shadowColor" />
4202        <!-- Horizontal offset of the text shadow. -->
4203        <attr name="shadowDx" />
4204        <!-- Vertical offset of the text shadow. -->
4205        <attr name="shadowDy" />
4206        <!-- Blur radius of the text shadow. -->
4207        <attr name="shadowRadius" />
4208        <attr name="autoLink" />
4209        <!-- If set to false, keeps the movement method from being set
4210             to the link movement method even if autoLink causes links
4211             to be found. -->
4212        <attr name="linksClickable" format="boolean" />
4213        <!-- If set, specifies that this TextView has a numeric input method.
4214             The default is false.
4215             {@deprecated Use inputType instead.} -->
4216        <attr name="numeric">
4217            <!-- Input is numeric. -->
4218            <flag name="integer" value="0x01" />
4219            <!-- Input is numeric, with sign allowed. -->
4220            <flag name="signed" value="0x03" />
4221            <!-- Input is numeric, with decimals allowed. -->
4222            <flag name="decimal" value="0x05" />
4223        </attr>
4224        <!-- If set, specifies that this TextView has a numeric input method
4225             and that these specific characters are the ones that it will
4226             accept.
4227             If this is set, numeric is implied to be true.
4228             The default is false. -->
4229        <attr name="digits" format="string" />
4230        <!-- If set, specifies that this TextView has a phone number input
4231             method. The default is false.
4232             {@deprecated Use inputType instead.} -->
4233        <attr name="phoneNumber" format="boolean" />
4234        <!-- If set, specifies that this TextView should use the specified
4235             input method (specified by fully-qualified class name).
4236             {@deprecated Use inputType instead.} -->
4237        <attr name="inputMethod" format="string" />
4238        <!-- If set, specifies that this TextView has a textual input method
4239             and should automatically capitalize what the user types.
4240             The default is "none".
4241             {@deprecated Use inputType instead.} -->
4242        <attr name="capitalize">
4243            <!-- Don't automatically capitalize anything. -->
4244            <enum name="none" value="0" />
4245            <!-- Capitalize the first word of each sentence. -->
4246            <enum name="sentences" value="1" />
4247            <!-- Capitalize the first letter of every word. -->
4248            <enum name="words" value="2" />
4249            <!-- Capitalize every character. -->
4250            <enum name="characters" value="3" />
4251        </attr>
4252        <!-- If set, specifies that this TextView has a textual input method
4253             and automatically corrects some common spelling errors.
4254             The default is "false".
4255             {@deprecated Use inputType instead.} -->
4256        <attr name="autoText" format="boolean" />
4257        <!-- If set, specifies that this TextView has an input method.
4258             It will be a textual one unless it has otherwise been specified.
4259             For TextView, this is false by default.  For EditText, it is
4260             true by default.
4261             {@deprecated Use inputType instead.} -->
4262        <attr name="editable" format="boolean" />
4263        <!-- If set, the text view will include its current complete text
4264             inside of its frozen icicle in addition to meta-data such as
4265             the current cursor position.  By default this is disabled;
4266             it can be useful when the contents of a text view is not stored
4267             in a persistent place such as a content provider. -->
4268        <attr name="freezesText" format="boolean" />
4269        <!-- If set, causes words that are longer than the view is wide
4270             to be ellipsized instead of broken in the middle.
4271             You will often also want to set scrollHorizontally or singleLine
4272             as well so that the text as a whole is also constrained to
4273             a single line instead of still allowed to be broken onto
4274             multiple lines. -->
4275        <attr name="ellipsize" />
4276        <!-- The drawable to be drawn above the text. -->
4277        <attr name="drawableTop" format="reference|color" />
4278        <!-- The drawable to be drawn below the text. -->
4279        <attr name="drawableBottom" format="reference|color" />
4280        <!-- The drawable to be drawn to the left of the text. -->
4281        <attr name="drawableLeft" format="reference|color" />
4282        <!-- The drawable to be drawn to the right of the text. -->
4283        <attr name="drawableRight" format="reference|color" />
4284        <!-- The drawable to be drawn to the start of the text. -->
4285        <attr name="drawableStart" format="reference|color" />
4286        <!-- The drawable to be drawn to the end of the text. -->
4287        <attr name="drawableEnd" format="reference|color" />
4288        <!-- The padding between the drawables and the text. -->
4289        <attr name="drawablePadding" format="dimension" />
4290        <!-- Tint to apply to the compound (left, top, etc.) drawables. -->
4291        <attr name="drawableTint" format="color" />
4292        <!-- Blending mode used to apply the compound (left, top, etc.) drawables tint. -->
4293        <attr name="drawableTintMode">
4294            <!-- The tint is drawn on top of the drawable.
4295                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4296            <enum name="src_over" value="3" />
4297            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4298                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4299            <enum name="src_in" value="5" />
4300            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4301                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4302            <enum name="src_atop" value="9" />
4303            <!-- Multiplies the color and alpha channels of the drawable with those of
4304                 the tint. [Sa * Da, Sc * Dc] -->
4305            <enum name="multiply" value="14" />
4306            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4307            <enum name="screen" value="15" />
4308            <!-- Combines the tint and drawable color and alpha channels, clamping the
4309                 result to valid color values. Saturate(S + D) -->
4310            <enum name="add" value="16" />
4311        </attr>
4312        <!-- Extra spacing between lines of text. -->
4313        <attr name="lineSpacingExtra" format="dimension" />
4314        <!-- Extra spacing between lines of text, as a multiplier. -->
4315        <attr name="lineSpacingMultiplier" format="float" />
4316        <!-- The number of times to repeat the marquee animation. Only applied if the
4317             TextView has marquee enabled. -->
4318        <attr name="marqueeRepeatLimit" format="integer">
4319            <!-- Indicates that marquee should repeat indefinitely. -->
4320            <enum name="marquee_forever" value="-1" />
4321        </attr>
4322        <attr name="inputType" />
4323        <!-- Whether undo should be allowed for editable text. Defaults to true. -->
4324        <attr name="allowUndo" format="boolean" />
4325        <attr name="imeOptions" />
4326        <!-- An addition content type description to supply to the input
4327             method attached to the text view, which is private to the
4328             implementation of the input method.  This simply fills in
4329             the {@link android.view.inputmethod.EditorInfo#privateImeOptions
4330             EditorInfo.privateImeOptions} field when the input
4331             method is connected. -->
4332        <attr name="privateImeOptions" format="string" />
4333        <!-- Supply a value for
4334             {@link android.view.inputmethod.EditorInfo#actionLabel EditorInfo.actionLabel}
4335             used when an input method is connected to the text view. -->
4336        <attr name="imeActionLabel" format="string" />
4337        <!-- Supply a value for
4338             {@link android.view.inputmethod.EditorInfo#actionId EditorInfo.actionId}
4339             used when an input method is connected to the text view. -->
4340        <attr name="imeActionId" format="integer" />
4341        <!-- Reference to an
4342             {@link android.R.styleable#InputExtras &lt;input-extras&gt;}
4343             XML resource containing additional data to
4344             supply to an input method, which is private to the implementation
4345             of the input method.  This simply fills in
4346             the {@link android.view.inputmethod.EditorInfo#extras
4347             EditorInfo.extras} field when the input
4348             method is connected. -->
4349        <attr name="editorExtras" format="reference" />
4350
4351        <!-- Reference to a drawable that will be used to display a text selection
4352             anchor on the left side of a selection region. -->
4353        <attr name="textSelectHandleLeft" />
4354        <!-- Reference to a drawable that will be used to display a text selection
4355             anchor on the right side of a selection region. -->
4356        <attr name="textSelectHandleRight" />
4357        <!-- Reference to a drawable that will be used to display a text selection
4358             anchor for positioning the cursor within text. -->
4359        <attr name="textSelectHandle" />
4360        <!-- The layout of the view that is displayed on top of the cursor to paste inside a
4361             TextEdit field. -->
4362        <attr name="textEditPasteWindowLayout" />
4363        <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. -->
4364        <attr name="textEditNoPasteWindowLayout" />
4365        <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the
4366             insertion cursor because it would be clipped if it were positioned on top. -->
4367        <attr name="textEditSidePasteWindowLayout" />
4368        <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. -->
4369        <attr name="textEditSideNoPasteWindowLayout" />
4370
4371        <!-- Layout of the TextView item that will populate the suggestion popup window. -->
4372        <attr name="textEditSuggestionItemLayout" />
4373
4374
4375        <!-- Reference to a drawable that will be drawn under the insertion cursor. -->
4376        <attr name="textCursorDrawable" />
4377
4378        <!-- Indicates that the content of a non-editable text can be selected. -->
4379        <attr name="textIsSelectable" />
4380        <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
4381        <attr name="textAllCaps" />
4382        <!-- Elegant text height, especially for less compacted complex script text. -->
4383        <attr name="elegantTextHeight" />
4384        <!-- Text letter-spacing. -->
4385        <attr name="letterSpacing" />
4386        <!-- Font feature settings. -->
4387        <attr name="fontFeatureSettings" />
4388        <!-- Break strategy (control over paragraph layout). -->
4389        <attr name="breakStrategy">
4390            <!-- Line breaking uses simple strategy. -->
4391            <enum name="simple" value="0" />
4392            <!-- Line breaking uses high-quality strategy, including hyphenation. -->
4393            <enum name="high_quality" value="1" />
4394            <!-- Line breaking strategy balances line lengths. -->
4395            <enum name="balanced" value="2" />
4396        </attr>
4397        <!-- Frequency of automatic hyphenation. -->
4398        <attr name="hyphenationFrequency">
4399            <!-- No hyphenation. -->
4400            <enum name="none" value="0" />
4401            <!-- Less frequent hyphenation, useful for informal use cases, such
4402            as chat messages. -->
4403            <enum name="normal" value="1" />
4404            <!-- Standard amount of hyphenation, useful for running text and for
4405            screens with limited space for text. -->
4406            <enum name="full" value="2" />
4407        </attr>
4408        <!-- Placeholder for a deleted attribute. This should be removed before M release. -->
4409        <attr name="__removeBeforeMRelease_leftIndents" format="reference" />
4410        <!-- Placeholder for a deleted attribute. This should be removed before M release. -->
4411        <attr name="__removeBeforeMRelease_rightIndents" format="reference" />
4412    </declare-styleable>
4413    <declare-styleable name="TextViewAppearance">
4414        <!-- Base text color, typeface, size, and style. -->
4415        <attr name="textAppearance" />
4416    </declare-styleable>
4417    <declare-styleable name="SelectionModeDrawables">
4418        <attr name="actionModeSelectAllDrawable" />
4419        <attr name="actionModeCutDrawable" />
4420        <attr name="actionModeCopyDrawable" />
4421        <attr name="actionModePasteDrawable" />
4422    </declare-styleable>
4423    <declare-styleable name="SuggestionSpan">
4424        <attr name="textUnderlineColor" />
4425        <attr name="textUnderlineThickness" />
4426    </declare-styleable>
4427    <!-- An <code>input-extras</code> is a container for extra data to supply to
4428         an input method.  Contains
4429         one more more {@link #Extra <extra>} tags.  -->
4430    <declare-styleable name="InputExtras">
4431    </declare-styleable>
4432    <declare-styleable name="AutoCompleteTextView">
4433        <!-- Defines the hint displayed in the drop down menu. -->
4434        <attr name="completionHint" format="string" />
4435        <!-- Defines the hint view displayed in the drop down menu. -->
4436        <attr name="completionHintView" format="reference" />
4437        <!-- Defines the number of characters that the user must type before
4438         completion suggestions are displayed in a drop down menu. -->
4439        <attr name="completionThreshold" format="integer" min="1" />
4440        <!-- Selector in a drop down list. -->
4441        <attr name="dropDownSelector" format="reference|color" />
4442        <!-- View to anchor the auto-complete dropdown to. If not specified, the text view itself
4443             is used. -->
4444        <attr name="dropDownAnchor" format="reference" />
4445        <!-- Specifies the basic width of the dropdown. Its value may
4446             be a dimension (such as "12dip") for a constant width,
4447             fill_parent or match_parent to match the width of the
4448             screen, or wrap_content to match the width of
4449             the anchored view. -->
4450        <attr name="dropDownWidth" format="dimension">
4451            <!-- The dropdown should fill the width of the screen.
4452                 This constant is deprecated starting from API Level 8 and
4453                 is replaced by {@code match_parent}. -->
4454            <enum name="fill_parent" value="-1" />
4455            <!-- The dropdown should fit the width of the screen.
4456                 Introduced in API Level 8. -->
4457            <enum name="match_parent" value="-1" />
4458            <!-- The dropdown should fit the width of its anchor. -->
4459            <enum name="wrap_content" value="-2" />
4460        </attr>
4461        <!-- Specifies the basic height of the dropdown. Its value may
4462             be a dimension (such as "12dip") for a constant height,
4463             fill_parent or match_parent to fill the height of the
4464             screen, or wrap_content to match the height of
4465             the content of the drop down. -->
4466        <attr name="dropDownHeight" format="dimension">
4467            <!-- The dropdown should fit the height of the screen.
4468                 This constant is deprecated starting from API Level 8 and
4469                 is replaced by {@code match_parent}. -->
4470            <enum name="fill_parent" value="-1" />
4471            <!-- The dropdown should fit the height of the screen.
4472                 Introduced in API Level 8. -->
4473            <enum name="match_parent" value="-1" />
4474            <!-- The dropdown should fit the height of the content. -->
4475            <enum name="wrap_content" value="-2" />
4476        </attr>
4477        <attr name="inputType" />
4478    </declare-styleable>
4479    <declare-styleable name="PopupWindow">
4480        <!-- The background to use for the popup window. -->
4481        <attr name="popupBackground" format="reference|color" />
4482        <!-- Window elevation to use for the popup window. -->
4483        <attr name="popupElevation" format="dimension" />
4484        <!-- The animation style to use for the popup window. -->
4485        <attr name="popupAnimationStyle" format="reference" />
4486        <!-- Whether the popup window should overlap its anchor view. -->
4487        <attr name="overlapAnchor" format="boolean" />
4488        <!-- Transition used to move views into the popup window. -->
4489        <attr name="popupEnterTransition" format="reference" />
4490        <!-- Transition used to move views out of the popup window. -->
4491        <attr name="popupExitTransition" format="reference" />
4492    </declare-styleable>
4493    <declare-styleable name="ListPopupWindow">
4494        <!-- Amount of pixels by which the drop down should be offset vertically. -->
4495        <attr name="dropDownVerticalOffset" format="dimension" />
4496        <!-- Amount of pixels by which the drop down should be offset horizontally. -->
4497        <attr name="dropDownHorizontalOffset" format="dimension" />
4498    </declare-styleable>
4499    <declare-styleable name="ViewAnimator">
4500        <!-- Identifier for the animation to use when a view is shown. -->
4501        <attr name="inAnimation" format="reference" />
4502        <!-- Identifier for the animation to use when a view is hidden. -->
4503        <attr name="outAnimation" format="reference" />
4504        <!-- Defines whether to animate the current View when the ViewAnimation
4505             is first displayed. -->
4506        <attr name="animateFirstView" format="boolean" />
4507    </declare-styleable>
4508    <declare-styleable name="ViewFlipper">
4509        <attr name="flipInterval" format="integer" min="0" />
4510        <!-- When true, automatically start animating -->
4511        <attr name="autoStart" format="boolean" />
4512    </declare-styleable>
4513    <declare-styleable name="AdapterViewAnimator">
4514        <!-- Identifier for the animation to use when a view is shown. -->
4515        <attr name="inAnimation" />
4516        <!-- Identifier for the animation to use when a view is hidden. -->
4517        <attr name="outAnimation" />
4518        <!--Defines whether the animator loops to the first view once it
4519        has reached the end of the list. -->
4520        <attr name="loopViews" format="boolean" />
4521        <!-- Defines whether to animate the current View when the ViewAnimation
4522        is first displayed. -->
4523        <attr name="animateFirstView" />
4524    </declare-styleable>
4525    <declare-styleable name="AdapterViewFlipper">
4526        <attr name="flipInterval" />
4527        <!-- When true, automatically start animating -->
4528        <attr name="autoStart" />
4529    </declare-styleable>
4530    <declare-styleable name="ViewSwitcher">
4531    </declare-styleable>
4532    <declare-styleable name="ScrollView">
4533        <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
4534        <attr name="fillViewport" format="boolean" />
4535    </declare-styleable>
4536    <declare-styleable name="HorizontalScrollView">
4537        <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
4538        <attr name="fillViewport" />
4539    </declare-styleable>
4540    <declare-styleable name="Spinner">
4541        <!-- The prompt to display when the spinner's dialog is shown. -->
4542        <attr name="prompt" format="reference" />
4543        <!-- Display mode for spinner options. -->
4544        <attr name="spinnerMode" format="enum">
4545            <!-- Spinner options will be presented to the user as a dialog window. -->
4546            <enum name="dialog" value="0" />
4547            <!-- Spinner options will be presented to the user as an inline dropdown
4548                 anchored to the spinner widget itself. -->
4549            <enum name="dropdown" value="1" />
4550        </attr>
4551        <!-- List selector to use for spinnerMode="dropdown" display. -->
4552        <attr name="dropDownSelector" />
4553        <!-- Theme to use for the drop-down or dialog popup window. -->
4554        <attr name="popupTheme" />
4555        <!-- Background drawable to use for the dropdown in spinnerMode="dropdown". -->
4556        <attr name="popupBackground" />
4557        <!-- Window elevation to use for the dropdown in spinnerMode="dropdown". -->
4558        <attr name="popupElevation" />
4559        <!-- Width of the dropdown in spinnerMode="dropdown". -->
4560        <attr name="dropDownWidth" />
4561        <!-- Reference to a layout to use for displaying a prompt in the dropdown for
4562             spinnerMode="dropdown". This layout must contain a TextView with the id
4563             {@code @android:id/text1} to be populated with the prompt text. -->
4564        <attr name="popupPromptView" format="reference" />
4565        <!-- Gravity setting for positioning the currently selected item. -->
4566        <attr name="gravity" />
4567        <!-- Whether this spinner should mark child views as enabled/disabled when
4568             the spinner itself is enabled/disabled. -->
4569        <attr name="disableChildrenWhenDisabled" format="boolean" />
4570    </declare-styleable>
4571
4572    <declare-styleable name="DatePicker">
4573        <!-- The first day of week according to {@link java.util.Calendar}. -->
4574        <attr name="firstDayOfWeek" />
4575        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
4576        <attr name="minDate" format="string" />
4577        <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. -->
4578        <attr name="maxDate" format="string" />
4579
4580        <!-- Whether the spinners are shown. Only valid for "spinner" mode. -->
4581        <attr name="spinnersShown" format="boolean" />
4582        <!-- Whether the calendar view is shown. Only valid for "spinner" mode. -->
4583        <attr name="calendarViewShown" format="boolean" />
4584
4585        <!-- @hide The layout of the date picker. -->
4586        <attr name="internalLayout" format="reference"  />
4587        <!-- @hide The layout of the legacy DatePicker. -->
4588        <attr name="legacyLayout" />
4589
4590        <!-- The text color for the selected date header text, ex. "2014" or
4591             "Tue, Mar 18". This should be a color state list where the
4592             activated state will be used when the year picker or day picker is
4593             active.-->
4594        <attr name="headerTextColor" format="color" />
4595        <!-- The background for the selected date header. -->
4596        <attr name="headerBackground" />
4597
4598        <!-- The list year's text appearance in the list.
4599             {@deprecated Use yearListTextColor. }-->
4600        <attr name="yearListItemTextAppearance" format="reference" />
4601        <!-- @hide The list year's text appearance in the list when activated. -->
4602        <attr name="yearListItemActivatedTextAppearance" format="reference" />
4603        <!-- The text color list of the calendar. -->
4604        <attr name="calendarTextColor" format="color" />
4605
4606        <!-- Defines the look of the widget. Prior to the L release, the only choice was
4607             spinner. As of L, with the Material theme selected, the default layout is calendar,
4608             but this attribute can be used to force spinner to be used instead. -->
4609        <attr name="datePickerMode">
4610            <!-- Date picker with spinner controls to select the date. -->
4611            <enum name="spinner" value="1" />
4612            <!-- Date picker with calendar to select the date. -->
4613            <enum name="calendar" value="2" />
4614        </attr>
4615
4616        <!-- The first year (inclusive), for example "1940".
4617             {@deprecated Use minDate instead.} -->
4618        <attr name="startYear" format="integer" />
4619        <!-- The last year (inclusive), for example "2010".
4620             {@deprecated Use maxDate instead.} -->
4621        <attr name="endYear" format="integer" />
4622        <!-- The text appearance for the month (ex. May) in the selected date header.
4623             {@deprecated Use headerTextColor instead.} -->
4624        <attr name="headerMonthTextAppearance" format="reference" />
4625        <!-- The text appearance for the day of month (ex. 28) in the selected date header.
4626             {@deprecated Use headerTextColor instead.} -->
4627        <attr name="headerDayOfMonthTextAppearance" format="reference" />
4628        <!-- The text appearance for the year (ex. 2014) in the selected date header.
4629             {@deprecated Use headerTextColor instead.} -->
4630        <attr name="headerYearTextAppearance" format="reference" />
4631        <!-- The background color for the header's day of week.
4632             {@deprecated No longer displayed.} -->
4633        <attr name="dayOfWeekBackground" format="color" />
4634        <!-- The text color for the header's day of week.
4635             {@deprecated No longer displayed.} -->
4636        <attr name="dayOfWeekTextAppearance" format="reference" />
4637        <!-- The list year's selected circle color in the list.
4638             {@deprecated No longer displayed.} -->
4639        <attr name="yearListSelectorColor" format="color" />
4640    </declare-styleable>
4641
4642    <declare-styleable name="TwoLineListItem">
4643        <attr name="mode">
4644            <!-- Always show only the first line. -->
4645            <enum name="oneLine" value="1" />
4646            <!-- When selected show both lines, otherwise show only the first line.
4647                 This is the default mode. -->
4648            <enum name="collapsing" value="2" />
4649            <!-- Always show both lines. -->
4650            <enum name="twoLine" value="3" />
4651        </attr>
4652    </declare-styleable>
4653
4654    <!-- SlidingDrawer specific attributes. These attributes are used to configure
4655         a SlidingDrawer from XML. -->
4656    <declare-styleable name="SlidingDrawer">
4657        <!-- Identifier for the child that represents the drawer's handle. -->
4658        <attr name="handle" format="reference" />
4659        <!-- Identifier for the child that represents the drawer's content. -->
4660        <attr name="content" format="reference" />
4661        <!-- Orientation of the SlidingDrawer. -->
4662        <attr name="orientation" />
4663        <!-- Extra offset for the handle at the bottom of the SlidingDrawer. -->
4664        <attr name="bottomOffset" format="dimension"  />
4665        <!-- Extra offset for the handle at the top of the SlidingDrawer. -->
4666        <attr name="topOffset" format="dimension"  />
4667        <!-- Indicates whether the drawer can be opened/closed by a single tap
4668             on the handle.  (If false, the user must drag or fling, or click
4669             using the trackball, to open/close the drawer.)  Default is true. -->
4670        <attr name="allowSingleTap" format="boolean" />
4671        <!-- Indicates whether the drawer should be opened/closed with an animation
4672             when the user clicks the handle. Default is true. -->
4673        <attr name="animateOnClick" format="boolean" />
4674    </declare-styleable>
4675
4676    <!-- GestureOverlayView specific attributes. These attributes are used to configure
4677         a GestureOverlayView from XML. -->
4678    <declare-styleable name="GestureOverlayView">
4679        <!-- Width of the stroke used to draw the gesture. -->
4680        <attr name="gestureStrokeWidth" format="float" />
4681        <!-- Color used to draw a gesture. -->
4682        <attr name="gestureColor" format="color" />
4683        <!-- Color used to draw the user's strokes until we are sure it's a gesture. -->
4684        <attr name="uncertainGestureColor" format="color" />
4685        <!-- Time, in milliseconds, to wait before the gesture fades out after the user
4686             is done drawing it. -->
4687        <attr name="fadeOffset" format="integer" />
4688        <!-- Duration, in milliseconds, of the fade out effect after the user is done
4689             drawing a gesture. -->
4690        <attr name="fadeDuration" format="integer" />
4691        <!-- Defines the type of strokes that define a gesture. -->
4692        <attr name="gestureStrokeType">
4693            <!-- A gesture is made of only one stroke. -->
4694            <enum name="single" value="0" />
4695            <!-- A gesture is made of multiple strokes. -->
4696            <enum name="multiple" value="1" />
4697        </attr>
4698        <!-- Minimum length of a stroke before it is recognized as a gesture. -->
4699        <attr name="gestureStrokeLengthThreshold" format="float" />
4700        <!-- Squareness threshold of a stroke before it is recognized as a gesture. -->
4701        <attr name="gestureStrokeSquarenessThreshold" format="float" />
4702        <!-- Minimum curve angle a stroke must contain before it is recognized as a gesture. -->
4703        <attr name="gestureStrokeAngleThreshold" format="float" />
4704        <!-- Defines whether the overlay should intercept the motion events when a gesture
4705             is recognized. -->
4706        <attr name="eventsInterceptionEnabled" format="boolean" />
4707        <!-- Defines whether the gesture will automatically fade out after being recognized. -->
4708        <attr name="fadeEnabled" format="boolean" />
4709        <!-- Indicates whether horizontal (when the orientation is vertical) or vertical
4710             (when orientation is horizontal) strokes automatically define a gesture. -->
4711        <attr name="orientation" />
4712    </declare-styleable>
4713
4714    <declare-styleable name="QuickContactBadge">
4715        <attr name="quickContactWindowSize">
4716            <enum name="modeSmall" value="1" />
4717            <enum name="modeMedium" value="2" />
4718            <enum name="modeLarge" value="3" />
4719        </attr>
4720    </declare-styleable>
4721
4722    <!-- ======================================= -->
4723    <!-- Widget package parent layout attributes -->
4724    <!-- ======================================= -->
4725    <eat-comment />
4726
4727    <declare-styleable name="AbsoluteLayout_Layout">
4728        <attr name="layout_x" format="dimension" />
4729        <attr name="layout_y" format="dimension" />
4730    </declare-styleable>
4731    <declare-styleable name="LinearLayout_Layout">
4732        <attr name="layout_width" />
4733        <attr name="layout_height" />
4734        <attr name="layout_weight" format="float" />
4735        <attr name="layout_gravity" />
4736    </declare-styleable>
4737    <declare-styleable name="GridLayout_Layout">
4738        <!-- The row boundary delimiting the top of the group of cells
4739        occupied by this view. -->
4740        <attr name="layout_row" format="integer" />
4741        <!-- The row span: the difference between the top and bottom
4742        boundaries delimiting the group of cells occupied by this view.
4743        The default is one.
4744        See {@link android.widget.GridLayout.Spec}. -->
4745        <attr name="layout_rowSpan" format="integer" min="1" />
4746        <!-- The relative proportion of vertical space that should be allocated to this view
4747        during excess space distribution. -->
4748        <attr name="layout_rowWeight" format="float" />
4749        <!-- The column boundary delimiting the left of the group of cells
4750        occupied by this view. -->
4751        <attr name="layout_column" />
4752        <!-- The column span: the difference between the right and left
4753        boundaries delimiting the group of cells occupied by this view.
4754        The default is one.
4755        See {@link android.widget.GridLayout.Spec}. -->
4756        <attr name="layout_columnSpan" format="integer" min="1" />
4757        <!-- The relative proportion of horizontal space that should be allocated to this view
4758        during excess space distribution. -->
4759        <attr name="layout_columnWeight" format="float" />
4760        <!-- Gravity specifies how a component should be placed in its group of cells.
4761        The default is LEFT | BASELINE.
4762        See {@link android.widget.GridLayout.LayoutParams#setGravity(int)}. -->
4763        <attr name="layout_gravity" />
4764    </declare-styleable>
4765    <declare-styleable name="FrameLayout_Layout">
4766        <attr name="layout_gravity" />
4767    </declare-styleable>
4768    <declare-styleable name="RelativeLayout_Layout">
4769        <!-- Positions the right edge of this view to the left of the given anchor view ID.
4770             Accommodates right margin of this view and left margin of anchor view. -->
4771        <attr name="layout_toLeftOf" format="reference" />
4772        <!-- Positions the left edge of this view to the right of the given anchor view ID.
4773            Accommodates left margin of this view and right margin of anchor view. -->
4774        <attr name="layout_toRightOf" format="reference" />
4775        <!-- Positions the bottom edge of this view above the given anchor view ID.
4776            Accommodates bottom margin of this view and top margin of anchor view. -->
4777        <attr name="layout_above" format="reference" />
4778        <!-- Positions the top edge of this view below the given anchor view ID.
4779            Accommodates top margin of this view and bottom margin of anchor view. -->
4780        <attr name="layout_below" format="reference" />
4781        <!-- Positions the baseline of this view on the baseline of the given anchor view ID. -->
4782        <attr name="layout_alignBaseline" format="reference" />
4783        <!-- Makes the left edge of this view match the left edge of the given anchor view ID.
4784            Accommodates left margin. -->
4785        <attr name="layout_alignLeft" format="reference" />
4786        <!-- Makes the top edge of this view match the top edge of the given anchor view ID.
4787            Accommodates top margin. -->
4788        <attr name="layout_alignTop" format="reference" />
4789        <!-- Makes the right edge of this view match the right edge of the given anchor view ID.
4790            Accommodates right margin. -->
4791        <attr name="layout_alignRight" format="reference" />
4792        <!-- Makes the bottom edge of this view match the bottom edge of the given anchor view ID.
4793            Accommodates bottom margin. -->
4794        <attr name="layout_alignBottom" format="reference" />
4795        <!-- If true, makes the left edge of this view match the left edge of the parent.
4796            Accommodates left margin. -->
4797        <attr name="layout_alignParentLeft" format="boolean" />
4798        <!-- If true, makes the top edge of this view match the top edge of the parent.
4799            Accommodates top margin. -->
4800        <attr name="layout_alignParentTop" format="boolean" />
4801        <!-- If true, makes the right edge of this view match the right edge of the parent.
4802            Accommodates right margin. -->
4803        <attr name="layout_alignParentRight" format="boolean" />
4804        <!-- If true, makes the bottom edge of this view match the bottom edge of the parent.
4805            Accommodates bottom margin. -->
4806        <attr name="layout_alignParentBottom" format="boolean" />
4807        <!-- If true, centers this child horizontally and vertically within its parent. -->
4808        <attr name="layout_centerInParent" format="boolean" />
4809        <!-- If true, centers this child horizontally within its parent. -->
4810        <attr name="layout_centerHorizontal" format="boolean" />
4811        <!-- If true, centers this child vertically within its parent. -->
4812        <attr name="layout_centerVertical" format="boolean" />
4813        <!-- If set to true, the parent will be used as the anchor when the anchor cannot be
4814             be found for layout_toLeftOf, layout_toRightOf, etc. -->
4815        <attr name="layout_alignWithParentIfMissing" format="boolean" />
4816        <!-- Positions the end edge of this view to the start of the given anchor view ID.
4817             Accommodates end margin of this view and start margin of anchor view. -->
4818        <attr name="layout_toStartOf" format="reference" />
4819        <!-- Positions the start edge of this view to the end of the given anchor view ID.
4820             Accommodates start margin of this view and end margin of anchor view. -->
4821        <attr name="layout_toEndOf" format="reference" />
4822        <!-- Makes the start edge of this view match the start edge of the given anchor view ID.
4823            Accommodates start margin. -->
4824        <attr name="layout_alignStart" format="reference" />
4825        <!-- Makes the end edge of this view match the end edge of the given anchor view ID.
4826            Accommodates end margin. -->
4827        <attr name="layout_alignEnd" format="reference" />
4828        <!-- If true, makes the start edge of this view match the start edge of the parent.
4829            Accommodates start margin. -->
4830        <attr name="layout_alignParentStart" format="boolean" />
4831        <!-- If true, makes the end edge of this view match the end edge of the parent.
4832            Accommodates end margin. -->
4833        <attr name="layout_alignParentEnd" format="boolean" />
4834    </declare-styleable>
4835    <declare-styleable name="VerticalSlider_Layout">
4836        <attr name="layout_scale" format="float" />
4837    </declare-styleable>
4838
4839    <!-- attributes for internal rotary widget used in lock screen and phone app
4840      @hide -->
4841    <declare-styleable name="RotarySelector">
4842        <!-- Use "horizontal" or "vertical".  The default is horizontal. -->
4843        <attr name="orientation" />
4844    </declare-styleable>
4845
4846    <!-- @hide -->
4847    <declare-styleable name="WeightedLinearLayout">
4848        <attr name="majorWeightMin" format="float" />
4849        <attr name="minorWeightMin" format="float" />
4850        <attr name="majorWeightMax" format="float" />
4851        <attr name="minorWeightMax" format="float" />
4852    </declare-styleable>
4853
4854    <declare-styleable name="CalendarView">
4855        <!-- The first day of week according to {@link java.util.Calendar}. -->
4856        <attr name="firstDayOfWeek" format="integer" />
4857        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
4858        <attr name="minDate" />
4859        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
4860        <attr name="maxDate" />
4861        <!-- The text appearance for the month and year in the calendar header. -->
4862        <attr name="monthTextAppearance" format="reference" />
4863        <!-- The text appearance for the week day abbreviation in the calendar header. -->
4864        <attr name="weekDayTextAppearance" format="reference" />
4865        <!-- The text appearance for the day numbers in the calendar grid. -->
4866        <attr name="dateTextAppearance" format="reference" />
4867        <!-- @hide The background color used for the day selection indicator. -->
4868        <attr name="daySelectorColor" format="color" />
4869        <!-- @hide The background color used for the day highlight indicator. -->
4870        <attr name="dayHighlightColor" format="color" />
4871        <!-- @hide Which style of calendar delegate to use. -->
4872        <attr name="calendarViewMode">
4873            <enum name="holo" value="0" />
4874            <enum name="material" value="1" />
4875        </attr>
4876
4877        <!-- @deprecated Whether do show week numbers. -->
4878        <attr name="showWeekNumber" format="boolean" />
4879        <!-- @deprecated The number of weeks to be shown. -->
4880        <attr name="shownWeekCount" format="integer"/>
4881        <!-- @deprecated The background color for the selected week. -->
4882        <attr name="selectedWeekBackgroundColor" format="color|reference" />
4883        <!-- @deprecated The color for the dates of the focused month. -->
4884        <attr name="focusedMonthDateColor" format="color|reference" />
4885        <!-- @deprecated The color for the dates of an unfocused month. -->
4886        <attr name="unfocusedMonthDateColor" format="color|reference" />
4887        <!-- @deprecated The color for the week numbers. -->
4888        <attr name="weekNumberColor" format="color|reference" />
4889        <!-- @deprecated The color for the separator line between weeks. -->
4890        <attr name="weekSeparatorLineColor" format="color|reference" />
4891        <!-- @deprecated Drawable for the vertical bar shown at the beginning and at the end of the selected date. -->
4892        <attr name="selectedDateVerticalBar" format="reference" />
4893    </declare-styleable>
4894
4895    <declare-styleable name="NumberPicker">
4896        <!-- @hide Color for the solid color background if such for optimized rendering. -->
4897        <attr name="solidColor" format="color|reference" />
4898        <!-- @hide The divider for making the selection area. -->
4899        <attr name="selectionDivider" format="reference" />
4900        <!-- @hide The height of the selection divider. -->
4901        <attr name="selectionDividerHeight" format="dimension" />
4902        <!-- @hide The distance between the two selection dividers. -->
4903        <attr name="selectionDividersDistance" format="dimension" />
4904        <!-- @hide The min height of the NumberPicker. -->
4905        <attr name="internalMinHeight" format="dimension" />
4906        <!-- @hide The max height of the NumberPicker. -->
4907        <attr name="internalMaxHeight" format="dimension" />
4908        <!-- @hide The min width of the NumberPicker. -->
4909        <attr name="internalMinWidth" format="dimension" />
4910        <!-- @hide The max width of the NumberPicker. -->
4911        <attr name="internalMaxWidth" format="dimension" />
4912        <!-- @hide The layout of the number picker. -->
4913        <attr name="internalLayout" />
4914        <!-- @hide The drawable for pressed virtual (increment/decrement) buttons. -->
4915        <attr name="virtualButtonPressedDrawable" format="reference"/>
4916        <!-- @hide If true then the selector wheel is hidden until the picker has focus. -->
4917        <attr name="hideWheelUntilFocused" format="boolean"/>
4918    </declare-styleable>
4919
4920    <declare-styleable name="TimePicker">
4921        <!-- @hide The layout of the legacy time picker. -->
4922        <attr name="legacyLayout" format="reference" />
4923        <!-- @hide The layout of the time picker. -->
4924        <attr name="internalLayout" />
4925
4926        <!-- The text color for the selected time header text, ex. "12" or
4927             "PM". This should be a color state list where the activated state
4928             will be used when the minute picker or hour picker is active.-->
4929        <attr name="headerTextColor" />
4930        <!-- The background for the header containing the currently selected time. -->
4931        <attr name="headerBackground" />
4932
4933        <!-- The color for the hours/minutes numbers. This should be a color
4934             state list where the activated state will be used when the number
4935             is active.-->
4936        <attr name="numbersTextColor" format="color" />
4937        <!-- The color for the inner hours numbers used in 24-hour mode. This
4938             should be a color state list where the activated state will be
4939             used when the number is active.-->
4940        <attr name="numbersInnerTextColor" format="color" />
4941        <!-- The background color for the hours/minutes numbers. -->
4942        <attr name="numbersBackgroundColor" format="color" />
4943        <!-- The color for the hours/minutes selector. -->
4944        <attr name="numbersSelectorColor" format="color" />
4945
4946        <!-- Defines the look of the widget. Prior to the L release, the only choice was
4947             spinner. As of L, with the Material theme selected, the default layout is clock,
4948             but this attribute can be used to force spinner to be used instead. -->
4949        <attr name="timePickerMode">
4950            <!-- Time picker with spinner controls to select the time. -->
4951            <enum name="spinner" value="1" />
4952            <!-- Time picker with clock face to select the time. -->
4953            <enum name="clock" value="2" />
4954        </attr>
4955
4956        <!-- The text appearance for the AM/PM header.
4957             @deprecated Use headerTextColor instead. -->
4958        <attr name="headerAmPmTextAppearance" format="reference" />
4959        <!-- The text appearance for the time header.
4960             @deprecated Use headerTextColor instead. -->
4961        <attr name="headerTimeTextAppearance" format="reference" />
4962        <!-- The color for the AM/PM selectors.
4963             {@deprecated Use headerTextColor instead.}-->
4964        <attr name="amPmTextColor" format="color" />
4965        <!-- The background color state list for the AM/PM selectors.
4966             {@deprecated Use headerBackground instead.}-->
4967        <attr name="amPmBackgroundColor" format="color" />
4968    </declare-styleable>
4969
4970    <!-- ========================= -->
4971    <!-- Drawable class attributes -->
4972    <!-- ========================= -->
4973    <eat-comment />
4974
4975    <!-- Base attributes that are available to all Drawable objects. -->
4976    <declare-styleable name="Drawable">
4977        <!-- Provides initial visibility state of the drawable; the default
4978             value is false.  See
4979             {@link android.graphics.drawable.Drawable#setVisible}. -->
4980        <attr name="visible" format="boolean" />
4981        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
4982             RTL (right-to-left).  See
4983             {@link android.graphics.drawable.Drawable#setAutoMirrored}. -->
4984        <attr name="autoMirrored" format="boolean" />
4985    </declare-styleable>
4986
4987    <!-- Drawable used to render several states. Each state is represented by
4988         a child drawable. -->
4989    <declare-styleable name="StateListDrawable">
4990        <!-- Indicates whether the drawable should be initially visible. -->
4991        <attr name="visible" />
4992        <!-- If true, allows the drawable's padding to change based on the
4993             current state that is selected.  If false, the padding will
4994             stay the same (based on the maximum padding of all the states).
4995             Enabling this feature requires that the owner of the drawable
4996             deal with performing layout when the state changes, which is
4997             often not supported. -->
4998        <attr name="variablePadding" format="boolean" />
4999        <!-- If true, the drawable's reported internal size will remain
5000             constant as the state changes; the size is the maximum of all
5001             of the states.  If false, the size will vary based on the
5002             current state. -->
5003        <attr name="constantSize" format="boolean" />
5004        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5005             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5006             an RGB 565 screen). -->
5007        <attr name="dither" format="boolean" />
5008        <!-- Amount of time (in milliseconds) to fade in a new state drawable. -->
5009        <attr name="enterFadeDuration" format="integer" />
5010        <!-- Amount of time (in milliseconds) to fade out an old state drawable. -->
5011        <attr name="exitFadeDuration" format="integer" />
5012        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5013             RTL (right-to-left). -->
5014        <attr name="autoMirrored"/>
5015    </declare-styleable>
5016
5017    <!-- Drawable used to render several states with animated transitions. Each state
5018         is represented by a child drawable with an optional keyframe ID. -->
5019    <declare-styleable name="AnimatedStateListDrawable">
5020        <!-- Indicates whether the drawable should be initially visible. -->
5021        <attr name="visible" />
5022        <!-- If true, allows the drawable's padding to change based on the
5023             current state that is selected.  If false, the padding will
5024             stay the same (based on the maximum padding of all the states).
5025             Enabling this feature requires that the owner of the drawable
5026             deal with performing layout when the state changes, which is
5027             often not supported. -->
5028        <attr name="variablePadding" />
5029        <!-- If true, the drawable's reported internal size will remain
5030             constant as the state changes; the size is the maximum of all
5031             of the states.  If false, the size will vary based on the
5032             current state. -->
5033        <attr name="constantSize" />
5034        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5035             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5036             an RGB 565 screen). -->
5037        <attr name="dither" />
5038        <!-- Amount of time (in milliseconds) to fade in a new state drawable. -->
5039        <attr name="enterFadeDuration" />
5040        <!-- Amount of time (in milliseconds) to fade out an old state drawable. -->
5041        <attr name="exitFadeDuration" />
5042        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5043             RTL (right-to-left). -->
5044        <attr name="autoMirrored"/>
5045    </declare-styleable>
5046
5047    <!-- Represents a single state inside a StateListDrawable. -->
5048    <declare-styleable name="StateListDrawableItem">
5049        <!-- Reference to a drawable resource to use for the state. If not
5050             given, the drawable must be defined by the first child tag. -->
5051        <attr name="drawable" />
5052    </declare-styleable>
5053
5054    <!-- Transition used to animate between states with keyframe IDs. -->
5055    <declare-styleable name="AnimatedStateListDrawableItem">
5056        <!-- Reference to a drawable resource to use for the frame.  If not
5057             given, the drawable must be defined by the first child tag. -->
5058        <attr name="drawable" />
5059        <!-- Keyframe identifier for use in specifying transitions. -->
5060        <attr name="id" />
5061    </declare-styleable>
5062
5063    <!-- Transition used to animate between states with keyframe IDs. -->
5064    <declare-styleable name="AnimatedStateListDrawableTransition">
5065        <!-- Keyframe identifier for the starting state. -->
5066        <attr name="fromId" format="reference" />
5067        <!-- Keyframe identifier for the ending state. -->
5068        <attr name="toId" format="reference" />
5069        <!-- Reference to a animation drawable resource to use for the frame.  If not
5070             given, the animation drawable must be defined by the first child tag. -->
5071        <attr name="drawable" />
5072        <!-- Whether this transition is reversible. -->
5073        <attr name="reversible" format="boolean" />
5074    </declare-styleable>
5075
5076    <!-- Drawable used to render several animated frames. -->
5077    <declare-styleable name="AnimationDrawable">
5078        <attr name="visible" />
5079        <attr name="variablePadding" />
5080        <!-- If true, the animation will only run a single time and then
5081             stop.  If false (the default), it will continually run,
5082             restarting at the first frame after the last has finished. -->
5083        <attr name="oneshot" format="boolean" />
5084    </declare-styleable>
5085
5086    <!-- Represents a single frame inside an AnimationDrawable. -->
5087    <declare-styleable name="AnimationDrawableItem">
5088        <!-- Amount of time (in milliseconds) to display this frame. -->
5089        <attr name="duration" format="integer" />
5090        <!-- Reference to a drawable resource to use for the frame.  If not
5091             given, the drawable must be defined by the first child tag. -->
5092        <attr name="drawable" format="reference" />
5093    </declare-styleable>
5094
5095    <!-- Attributes that can be assigned to a StateListAnimator item. -->
5096    <declare-styleable name="StateListAnimatorItem">
5097        <attr name="animation"/>
5098    </declare-styleable>
5099
5100    <!-- Attributes that can be assigned to a ColorStateList item. -->
5101    <declare-styleable name="ColorStateListItem">
5102        <!-- Base color for this state. -->
5103        <attr name="color" />
5104        <!-- Alpha multiplier applied to the base color. -->
5105        <attr name="alpha" />
5106    </declare-styleable>
5107
5108    <!-- Drawable used to render a geometric shape, with a gradient or a solid color. -->
5109    <declare-styleable name="GradientDrawable">
5110        <!-- Indicates whether the drawable should intially be visible. -->
5111        <attr name="visible" />
5112        <!-- Enables or disables dithering. -->
5113        <attr name="dither" />
5114        <!-- Indicates what shape to fill with a gradient. -->
5115        <attr name="shape">
5116            <!-- Rectangle shape, with optional rounder corners. -->
5117            <enum name="rectangle" value="0" />
5118            <!-- Oval shape. -->
5119            <enum name="oval" value="1" />
5120            <!-- Line shape. -->
5121            <enum name="line" value="2" />
5122            <!-- Ring shape. -->
5123            <enum name="ring" value="3" />
5124        </attr>
5125        <!-- Inner radius of the ring expressed as a ratio of the ring's width. For instance,
5126             if innerRadiusRatio=9, then the inner radius equals the ring's width divided by 9.
5127             This value is ignored if innerRadius is defined. Default value is 9. -->
5128        <attr name="innerRadiusRatio" format="float" />
5129        <!-- Thickness of the ring expressed as a ratio of the ring's width. For instance,
5130             if thicknessRatio=3, then the thickness equals the ring's width divided by 3.
5131             This value is ignored if innerRadius is defined. Default value is 3. -->
5132        <attr name="thicknessRatio" format="float" />
5133        <!-- Inner radius of the ring. When defined, innerRadiusRatio is ignored. -->
5134        <attr name="innerRadius" format="dimension" />
5135        <!-- Thickness of the ring. When defined, thicknessRatio is ignored. -->
5136        <attr name="thickness" format="dimension" />
5137        <!-- Indicates whether the drawable's level affects the way the gradient is drawn. -->
5138        <attr name="useLevel" />
5139        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5140             no tint is applied. May be a color state list. -->
5141        <attr name="tint" />
5142        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5143             default value is src_in, which treats the drawable as an alpha mask. -->
5144        <attr name="tintMode" />
5145        <!-- Left optical inset.
5146             @hide Until optical insets are fully supported. -->
5147        <attr name="opticalInsetLeft" />
5148        <!-- Top optical inset.
5149             @hide Until optical insets are fully supported. -->
5150        <attr name="opticalInsetTop" />
5151        <!-- Right optical inset.
5152             @hide Until optical insets are fully supported. -->
5153        <attr name="opticalInsetRight" />
5154        <!-- Bottom optical inset.
5155             @hide Until optical insets are fully supported. -->
5156        <attr name="opticalInsetBottom" />
5157    </declare-styleable>
5158
5159    <!-- Used to specify the size of the shape for GradientDrawable. -->
5160    <declare-styleable name="GradientDrawableSize">
5161        <!-- Width of the gradient shape. -->
5162        <attr name="width" />
5163        <!-- Height of the gradient shape. -->
5164        <attr name="height" />
5165    </declare-styleable>
5166
5167    <!-- Used to describe the gradient used to fill the shape of a GradientDrawable. -->
5168    <declare-styleable name="GradientDrawableGradient">
5169        <!-- Start color of the gradient. -->
5170        <attr name="startColor" format="color" />
5171        <!-- Optional center color. For linear gradients, use centerX or centerY
5172             to place the center color. -->
5173        <attr name="centerColor" format="color" />
5174        <!-- End color of the gradient. -->
5175        <attr name="endColor" format="color" />
5176        <attr name="useLevel" format="boolean" />
5177        <!-- Angle of the gradient. -->
5178        <attr name="angle" format="float" />
5179        <!-- Type of gradient. The default type is linear. -->
5180        <attr name="type">
5181            <!-- Linear gradient. -->
5182            <enum name="linear" value="0" />
5183            <!-- Radial, or circular, gradient. -->
5184            <enum name="radial" value="1" />
5185            <!-- Sweep, or angled or diamond, gradient. -->
5186            <enum name="sweep"  value="2" />
5187        </attr>
5188        <!-- X coordinate of the origin of the gradient within the shape. -->
5189        <attr name="centerX" format="float|fraction" />
5190        <!-- Y coordinate of the origin of the gradient within the shape. -->
5191        <attr name="centerY" format="float|fraction" />
5192        <!-- Radius of the gradient, used only with radial gradient. -->
5193        <attr name="gradientRadius" format="float|fraction|dimension" />
5194    </declare-styleable>
5195
5196    <!-- Used to fill the shape of GradientDrawable with a solid color. -->
5197    <declare-styleable name="GradientDrawableSolid">
5198        <!-- Solid color for the gradient shape. -->
5199        <attr name="color" format="color" />
5200    </declare-styleable>
5201
5202    <!-- Used to describe the optional stroke of a GradientDrawable. -->
5203    <declare-styleable name="GradientDrawableStroke">
5204        <!-- Width of the gradient shape's stroke. -->
5205        <attr name="width" />
5206        <!-- Color of the gradient shape's stroke. -->
5207        <attr name="color" />
5208        <!-- Length of a dash in the stroke. -->
5209        <attr name="dashWidth" format="dimension" />
5210        <!-- Gap between dashes in the stroke. -->
5211        <attr name="dashGap" format="dimension" />
5212    </declare-styleable>
5213
5214    <!-- Describes the corners for the rectangle shape of a GradientDrawable.
5215         This can be used to render rounded corners. -->
5216    <declare-styleable name="DrawableCorners">
5217        <!-- Defines the radius of the four corners. -->
5218        <attr name="radius" format="dimension" />
5219        <!-- Radius of the top left corner. -->
5220        <attr name="topLeftRadius" format="dimension" />
5221        <!-- Radius of the top right corner. -->
5222        <attr name="topRightRadius" format="dimension" />
5223        <!-- Radius of the bottom left corner. -->
5224        <attr name="bottomLeftRadius" format="dimension" />
5225        <!-- Radius of the bottom right corner. -->
5226        <attr name="bottomRightRadius" format="dimension" />
5227    </declare-styleable>
5228
5229    <!-- Used to specify the optional padding of a GradientDrawable. -->
5230    <declare-styleable name="GradientDrawablePadding">
5231        <!-- Amount of left padding inside the gradient shape. -->
5232        <attr name="left" format="dimension" />
5233        <!-- Amount of top padding inside the gradient shape. -->
5234        <attr name="top" format="dimension" />
5235        <!-- Amount of right padding inside the gradient shape. -->
5236        <attr name="right" format="dimension" />
5237        <!-- Amount of bottom padding inside the gradient shape. -->
5238        <attr name="bottom" format="dimension" />
5239    </declare-styleable>
5240
5241    <!-- Drawable used to render several drawables stacked on top of each other.
5242         Each child drawable can be controlled individually. -->
5243    <declare-styleable name="LayerDrawable">
5244        <!-- Indicates the opacity of the layer. This can be useful to allow the
5245              system to enable drawing optimizations. The default value is
5246              translucent. -->
5247        <attr name="opacity">
5248            <!-- Indicates that the layer is opaque and contains no transparent
5249                 nor translucent pixels. -->
5250            <enum name="opaque" value="-1" />
5251            <!-- The layer is completely transparent (no pixel will be drawn.) -->
5252            <enum name="transparent" value="-2" />
5253            <!-- The layer has translucent pixels. -->
5254            <enum name="translucent" value="-3" />
5255        </attr>
5256        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5257             RTL (right-to-left). -->
5258        <attr name="autoMirrored" />
5259        <!-- Indicates how layer padding should affect the bounds of subsequent layers.
5260             The default padding mode value is nest. -->
5261        <attr name="paddingMode">
5262            <!-- Nest each layer inside the padding of the previous layer. -->
5263            <enum name="nest" value="0" />
5264            <!-- Stack each layer directly atop the previous layer. -->
5265            <enum name="stack" value="1" />
5266        </attr>
5267        <!-- Explicit top padding. Overrides child padding. -->
5268        <attr name="paddingTop" />
5269        <!-- Explicit bottom padding. Overrides child padding. -->
5270        <attr name="paddingBottom" />
5271        <!-- Explicit left padding. Overrides child padding. -->
5272        <attr name="paddingLeft" />
5273        <!-- Explicit right padding. Overrides child padding. -->
5274        <attr name="paddingRight" />
5275        <!-- Explicit start padding. Overrides child padding. Takes precedence
5276             over absolute padding (e.g. left when layout direction is LTR). -->
5277        <attr name="paddingStart" />
5278        <!-- Explicit end padding. Overrides child padding. Takes precedence
5279             over absolute padding (e.g. right when layout direction is LTR). -->
5280        <attr name="paddingEnd" />
5281    </declare-styleable>
5282
5283    <!-- Describes an item (or child) of a LayerDrawable. -->
5284    <declare-styleable name="LayerDrawableItem">
5285        <!-- Left inset to apply to the layer. -->
5286        <attr name="left" />
5287        <!-- Top inset to apply to the layer. -->
5288        <attr name="top" />
5289        <!-- Right inset to apply to the layer. -->
5290        <attr name="right" />
5291        <!-- Bottom inset to apply to the layer. -->
5292        <attr name="bottom" />
5293        <!-- Start inset to apply to the layer. Overrides {@code left} or
5294             {@code right} depending on layout direction. -->
5295        <attr name="start" format="dimension" />
5296        <!-- End inset to apply to the layer. Overrides {@code left} or
5297             {@code right} depending on layout direction. -->
5298        <attr name="end" format="dimension" />
5299        <!-- Width of the layer. Defaults to the layer's intrinsic width. -->
5300        <attr name="width" />
5301        <!-- Height of the layer. Defaults to the layer's intrinsic height -->
5302        <attr name="height" />
5303        <!-- Gravity used to align the layer within its container. If no value
5304             is specified, the default behavior depends on whether an explicit
5305             width or height has been set, If no dimension is set, gravity in
5306             that direction defaults to {@code fill_horizontal} or
5307             {@code fill_vertical}; otherwise, it defaults to {@code left} or
5308             {@code top}. -->
5309        <attr name="gravity" />
5310        <!-- Drawable used to render the layer. -->
5311        <attr name="drawable" />
5312        <!-- Identifier of the layer. This can be used to retrieve the layer
5313             from a drawable container. -->
5314        <attr name="id" />
5315    </declare-styleable>
5316
5317    <declare-styleable name="LevelListDrawableItem">
5318        <!-- The minimum level allowed for this item. -->
5319        <attr name="minLevel" format="integer" />
5320        <!-- The maximum level allowed for this item. -->
5321        <attr name="maxLevel" format="integer" />
5322        <attr name="drawable" />
5323    </declare-styleable>
5324
5325    <!-- Drawable used to rotate another drawable. -->
5326    <declare-styleable name="RotateDrawable">
5327        <attr name="visible" />
5328        <attr name="fromDegrees" format="float" />
5329        <attr name="toDegrees" format="float" />
5330        <attr name="pivotX" format="float|fraction" />
5331        <attr name="pivotY" format="float|fraction" />
5332        <attr name="drawable" />
5333    </declare-styleable>
5334
5335    <declare-styleable name="AnimatedRotateDrawable">
5336        <attr name="visible" />
5337        <attr name="frameDuration" format="integer" />
5338        <attr name="framesCount" format="integer" />
5339        <attr name="pivotX" />
5340        <attr name="pivotY" />
5341        <attr name="drawable" />
5342    </declare-styleable>
5343
5344    <!-- Drawable used to render the Material progress indicator. -->
5345    <declare-styleable name="MaterialProgressDrawable">
5346        <attr name="visible" />
5347        <attr name="thickness" />
5348        <attr name="innerRadius" />
5349        <attr name="width" />
5350        <attr name="height" />
5351        <attr name="color" />
5352    </declare-styleable>
5353
5354    <declare-styleable name="InsetDrawable">
5355        <attr name="visible" />
5356        <attr name="drawable" />
5357        <attr name="inset"  format="dimension"/>
5358        <attr name="insetLeft" format="dimension" />
5359        <attr name="insetRight" format="dimension" />
5360        <attr name="insetTop" format="dimension" />
5361        <attr name="insetBottom" format="dimension" />
5362    </declare-styleable>
5363
5364    <!-- Drawable used to draw bitmaps. -->
5365    <declare-styleable name="BitmapDrawable">
5366        <!-- Identifier of the bitmap file. This attribute is mandatory. -->
5367        <attr name="src" />
5368        <!-- Enables or disables antialiasing. Antialiasing can be used to smooth the
5369             edges of a bitmap when rotated. Default value is false. -->
5370        <attr name="antialias" format="boolean" />
5371        <!-- Enables or disables bitmap filtering. Filtering is used when the bitmap is
5372             shrunk or stretched to smooth its apperance. Default value is true. -->
5373        <attr name="filter" format="boolean" />
5374        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5375             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5376             an RGB 565 screen). Default value is true. -->
5377        <attr name="dither" />
5378        <!-- Defines the gravity for the bitmap. The gravity indicates where to position
5379             the drawable in its container if the bitmap is smaller than the container. -->
5380        <attr name="gravity" />
5381        <!-- Defines the tile mode. When the tile mode is enabled, the bitmap is repeated.
5382             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5383        <attr name="tileMode">
5384            <!-- Do not tile the bitmap. This is the default value. -->
5385            <enum name="disabled" value="-1" />
5386            <!-- Replicates the edge color. -->
5387            <enum name="clamp" value="0" />
5388            <!-- Repeats the bitmap in both direction. -->
5389            <enum name="repeat" value="1" />
5390            <!-- Repeats the shader's image horizontally and vertically, alternating
5391                 mirror images so that adjacent images always seam. -->
5392            <enum name="mirror" value="2" />
5393        </attr>
5394        <!-- Defines the horizontal tile mode. When the tile mode is enabled, the bitmap is repeated.
5395             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5396        <attr name="tileModeX">
5397            <!-- Do not tile the bitmap. This is the default value. -->
5398            <enum name="disabled" value="-1" />
5399            <!-- Replicates the edge color. -->
5400            <enum name="clamp" value="0" />
5401            <!-- Repeats the bitmap horizontally. -->
5402            <enum name="repeat" value="1" />
5403            <!-- Repeats the shader's image horizontally, alternating
5404                 mirror images so that adjacent images always seam. -->
5405            <enum name="mirror" value="2" />
5406        </attr>
5407        <!-- Defines the vertical tile mode. When the tile mode is enabled, the bitmap is repeated.
5408             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5409        <attr name="tileModeY">
5410            <!-- Do not tile the bitmap. This is the default value. -->
5411            <enum name="disabled" value="-1" />
5412            <!-- Replicates the edge color. -->
5413            <enum name="clamp" value="0" />
5414            <!-- Repeats the bitmap vertically. -->
5415            <enum name="repeat" value="1" />
5416            <!-- Repeats the shader's image vertically, alternating
5417                 mirror images so that adjacent images always seam. -->
5418            <enum name="mirror" value="2" />
5419        </attr>
5420        <!-- Enables or disables the mipmap hint. See
5421            {@link android.graphics.Bitmap#setHasMipMap(boolean)} for more information.
5422            Default value is false. -->
5423        <attr name="mipMap" format="boolean" />
5424        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5425             RTL (right-to-left). -->
5426        <attr name="autoMirrored" />
5427        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5428             no tint is applied. May be a color state list. -->
5429        <attr name="tint" />
5430        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5431             default value is src_in, which treats the drawable as an alpha mask. -->
5432        <attr name="tintMode">
5433            <!-- The tint is drawn on top of the drawable.
5434                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
5435            <enum name="src_over" value="3" />
5436            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
5437                 color channels are thrown out. [Sa * Da, Sc * Da] -->
5438            <enum name="src_in" value="5" />
5439            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
5440                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
5441            <enum name="src_atop" value="9" />
5442            <!-- Multiplies the color and alpha channels of the drawable with those of
5443                 the tint. [Sa * Da, Sc * Dc] -->
5444            <enum name="multiply" value="14" />
5445            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
5446            <enum name="screen" value="15" />
5447            <!-- Combines the tint and drawable color and alpha channels, clamping the
5448                 result to valid color values. Saturate(S + D) -->
5449            <enum name="add" value="16" />
5450        </attr>
5451        <!-- Specifies the alpha multiplier to apply to the base drawable. -->
5452        <attr name="alpha" />
5453    </declare-styleable>
5454
5455    <!-- Drawable used to draw 9-patches. -->
5456    <declare-styleable name="NinePatchDrawable">
5457        <!-- Identifier of the bitmap file. This attribute is mandatory. -->
5458        <attr name="src" />
5459        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5460             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5461             an RGB 565 screen). -->
5462        <attr name="dither" />
5463        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5464             RTL (right-to-left). -->
5465        <attr name="autoMirrored" />
5466        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5467             no tint is applied. May be a color state list. -->
5468        <attr name="tint" />
5469        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5470             default value is src_in, which treats the drawable as an alpha mask. -->
5471        <attr name="tintMode" />
5472        <!-- Specifies the alpha multiplier to apply to the base drawable. -->
5473        <attr name="alpha" />
5474    </declare-styleable>
5475
5476    <!-- Drawable used to draw a single color. -->
5477    <declare-styleable name="ColorDrawable">
5478        <!-- The color to use. -->
5479        <attr name="color" />
5480    </declare-styleable>
5481
5482    <!-- Drawable used to show animated touch feedback. -->
5483    <declare-styleable name="RippleDrawable">
5484        <!-- The color to use for ripple effects. This attribute is required. -->
5485        <attr name="color" />
5486        <!-- The radius of the ripple when fully expanded. By default, the
5487             radius is computed based on the size of the ripple's container. -->
5488        <attr name="radius" />
5489    </declare-styleable>
5490
5491    <declare-styleable name="ScaleDrawable">
5492        <!-- Scale width, expressed as a percentage of the drawable's bound. The value's
5493             format is XX%. For instance: 100%, 12.5%, etc.-->
5494        <attr name="scaleWidth" format="string" />
5495        <!-- Scale height, expressed as a percentage of the drawable's bound. The value's
5496             format is XX%. For instance: 100%, 12.5%, etc.-->
5497        <attr name="scaleHeight" format="string" />
5498        <!-- Specifies where the drawable is positioned after scaling. The default value is
5499             left. -->
5500        <attr name="scaleGravity">
5501            <!-- Push object to the top of its container, not changing its size. -->
5502            <flag name="top" value="0x30" />
5503            <!-- Push object to the bottom of its container, not changing its size. -->
5504            <flag name="bottom" value="0x50" />
5505            <!-- Push object to the left of its container, not changing its size. -->
5506            <flag name="left" value="0x03" />
5507            <!-- Push object to the right of its container, not changing its size. -->
5508            <flag name="right" value="0x05" />
5509            <!-- Place object in the vertical center of its container, not changing its size. -->
5510            <flag name="center_vertical" value="0x10" />
5511            <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
5512            <flag name="fill_vertical" value="0x70" />
5513            <!-- Place object in the horizontal center of its container, not changing its size. -->
5514            <flag name="center_horizontal" value="0x01" />
5515            <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
5516            <flag name="fill_horizontal" value="0x07" />
5517            <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
5518            <flag name="center" value="0x11" />
5519            <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
5520            <flag name="fill" value="0x77" />
5521            <!-- Additional option that can be set to have the top and/or bottom edges of
5522                 the child clipped to its container's bounds.
5523                 The clip will be based on the vertical gravity: a top gravity will clip the bottom
5524                 edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
5525            <flag name="clip_vertical" value="0x80" />
5526            <!-- Additional option that can be set to have the left and/or right edges of
5527                 the child clipped to its container's bounds.
5528                 The clip will be based on the horizontal gravity: a left gravity will clip the right
5529                 edge, a right gravity will clip the left edge, and neither will clip both edges. -->
5530            <flag name="clip_horizontal" value="0x08" />
5531            <!-- Push object to the beginning of its container, not changing its size. -->
5532            <flag name="start" value="0x00800003" />
5533            <!-- Push object to the end of its container, not changing its size. -->
5534            <flag name="end" value="0x00800005" />
5535        </attr>
5536        <!-- Reference to a drawable resource to draw with the specified scale. -->
5537        <attr name="drawable" />
5538        <!-- Use the drawable's intrinsic width and height as minimum size values.
5539             Useful if the target drawable is a 9-patch or otherwise should not be scaled
5540             down beyond a minimum size. -->
5541        <attr name="useIntrinsicSizeAsMinimum" format="boolean" />
5542    </declare-styleable>
5543
5544    <declare-styleable name="ClipDrawable">
5545        <!-- The orientation for the clip. -->
5546        <attr name="clipOrientation">
5547            <!-- Clip the drawable horizontally. -->
5548            <flag name="horizontal" value="1" />
5549            <!-- Clip the drawable vertically. -->
5550            <flag name="vertical" value="2" />
5551        </attr>
5552        <!-- Specifies where to clip within the drawable. The default value is
5553             left. -->
5554        <attr name="gravity" />
5555        <!-- Reference to a drawable resource to draw with the specified scale. -->
5556        <attr name="drawable" />
5557    </declare-styleable>
5558
5559    <!-- Defines the padding of a ShapeDrawable. -->
5560    <declare-styleable name="ShapeDrawablePadding">
5561        <!-- Left padding. -->
5562        <attr name="left" />
5563        <!-- Top padding. -->
5564        <attr name="top" />
5565        <!-- Right padding. -->
5566        <attr name="right" />
5567        <!-- Bottom padding. -->
5568        <attr name="bottom" />
5569    </declare-styleable>
5570
5571    <!-- Drawable used to draw shapes. -->
5572    <declare-styleable name="ShapeDrawable">
5573        <!-- Defines the color of the shape. -->
5574        <attr name="color" />
5575        <!-- Defines the width of the shape. -->
5576        <attr name="width" />
5577        <!-- Defines the height of the shape. -->
5578        <attr name="height" />
5579        <!-- Enables or disables dithering. -->
5580        <attr name="dither" />
5581        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5582             no tint is applied. May be a color state list. -->
5583        <attr name="tint" />
5584        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5585             default value is src_in, which treats the drawable as an alpha mask. -->
5586        <attr name="tintMode" />
5587    </declare-styleable>
5588
5589    <!-- ========================== -->
5590    <!--   VectorDrawable class   -->
5591    <!-- ========================== -->
5592    <eat-comment />
5593
5594    <!-- Drawable used to draw vector paths. -->
5595    <declare-styleable name="VectorDrawable">
5596        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5597             no tint is applied. May be a color state list. -->
5598        <attr name="tint" />
5599        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5600             default value is src_in, which treats the drawable as an alpha mask. -->
5601        <attr name="tintMode" />
5602        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5603             RTL (right-to-left). -->
5604        <attr name="autoMirrored" />
5605        <!-- The intrinsic width of the Vector Drawable. -->
5606        <attr name="width" />
5607        <!-- The intrinsic height of the Vector Drawable. -->
5608        <attr name="height" />
5609        <!-- The width of the canvas the drawing is on. -->
5610        <attr name="viewportWidth" format="float"/>
5611        <!-- The height of the canvas the drawing is on. -->
5612        <attr name="viewportHeight" format="float"/>
5613        <!-- The name of this vector drawable -->
5614        <attr name="name" />
5615        <!-- The opacity of the whole vector drawable, as a value between 0
5616             (completely transparent) and 1 (completely opaque). -->
5617        <attr name="alpha" />
5618        <!-- Left optical inset.
5619             @hide Until optical insets are fully supported. -->
5620        <attr name="opticalInsetLeft" format="dimension" />
5621        <!-- Top optical inset.
5622             @hide Until optical insets are fully supported. -->
5623        <attr name="opticalInsetTop" format="dimension" />
5624        <!-- Right optical inset.
5625             @hide Until optical insets are fully supported. -->
5626        <attr name="opticalInsetRight" format="dimension" />
5627        <!-- Bottom optical inset.
5628             @hide Until optical insets are fully supported. -->
5629        <attr name="opticalInsetBottom" format="dimension" />
5630    </declare-styleable>
5631
5632    <!-- Defines the group used in VectorDrawables. -->
5633    <declare-styleable name="VectorDrawableGroup">
5634        <!-- The name of this group -->
5635        <attr name="name" />
5636        <!-- The amount to rotate the group -->
5637        <attr name="rotation" />
5638        <!-- The X coordinate of the center of rotation of a group -->
5639        <attr name="pivotX" />
5640        <!-- The Y coordinate of the center of rotation of a group -->
5641        <attr name="pivotY" />
5642        <!-- The amount to translate the group on X coordinate -->
5643        <attr name="translateX" format="float"/>
5644        <!-- The amount to translate the group on Y coordinate -->
5645        <attr name="translateY" format="float"/>
5646        <!-- The amount to scale the group on X coordinate -->
5647        <attr name="scaleX" />
5648        <!-- The amount to scale the group on X coordinate -->
5649        <attr name="scaleY" />
5650    </declare-styleable>
5651
5652    <!-- Defines the path used in VectorDrawables. -->
5653    <declare-styleable name="VectorDrawablePath">
5654        <!-- The name of this path -->
5655        <attr name="name" />
5656        <!-- The width a path stroke -->
5657        <attr name="strokeWidth" format="float" />
5658        <!-- The color to stroke the path if not defined implies no stroke-->
5659        <attr name="strokeColor" format="color" />
5660        <!-- The opacity of a path stroke, as a value between 0 (completely transparent)
5661             and 1 (completely opaque) -->
5662        <attr name="strokeAlpha" format="float" />
5663        <!-- The color to fill the path if not defined implies no fill-->
5664        <attr name="fillColor" format="color" />
5665        <!-- The alpha of the path fill, as a value between 0 (completely transparent)
5666             and 1 (completely opaque)-->
5667        <attr name="fillAlpha" format="float" />
5668        <!-- The specification of the operations that define the path  -->
5669        <attr name="pathData" format="string" />
5670        <!-- The fraction of the path to trim from the start from 0 to 1 -->
5671        <attr name="trimPathStart" format="float" />
5672        <!-- The fraction of the path to trim from the end from 0 to 1  -->
5673        <attr name="trimPathEnd" format="float" />
5674        <!-- Shift trim region (allows visible region to include the start and end) from 0 to 1  -->
5675        <attr name="trimPathOffset" format="float" />
5676        <!-- sets the linecap for a stroked path -->
5677        <attr name="strokeLineCap" format="enum">
5678            <enum name="butt" value="0"/>
5679            <enum name="round" value="1"/>
5680            <enum name="square" value="2"/>
5681        </attr>
5682        <!-- sets the lineJoin for a stroked path -->
5683        <attr name="strokeLineJoin" format="enum">
5684            <enum name="miter" value="0"/>
5685            <enum name="round" value="1"/>
5686            <enum name="bevel" value="2"/>
5687        </attr>
5688        <!-- sets the Miter limit for a stroked path -->
5689        <attr name="strokeMiterLimit" format="float"/>
5690    </declare-styleable>
5691
5692    <!-- Defines the clip path used in VectorDrawables. -->
5693    <declare-styleable name="VectorDrawableClipPath">
5694        <!-- The Name of this path -->
5695        <attr name="name" />
5696        <!-- The specification of the operations that define the path  -->
5697        <attr name="pathData"/>
5698    </declare-styleable>
5699
5700    <!-- ========================== -->
5701    <!--   AnimatedVectorDrawable class   -->
5702    <!-- ========================== -->
5703    <eat-comment />
5704
5705    <!-- Define the AnimatedVectorDrawable. -->
5706    <declare-styleable name="AnimatedVectorDrawable">
5707        <!-- The static vector drawable. -->
5708        <attr name="drawable" />
5709    </declare-styleable>
5710
5711    <!-- Defines the target used in the AnimatedVectorDrawable. -->
5712    <declare-styleable name="AnimatedVectorDrawableTarget">
5713        <!-- The name of the target path, group or vector drawable -->
5714        <attr name="name" />
5715        <!-- The animation for the target path, group or vector drawable -->
5716        <attr name="animation" />
5717    </declare-styleable>
5718
5719    <!-- ========================== -->
5720    <!-- Animation class attributes -->
5721    <!-- ========================== -->
5722    <eat-comment />
5723
5724    <declare-styleable name="Animation">
5725        <!-- Defines the interpolator used to smooth the animation movement in time. -->
5726        <attr name="interpolator" />
5727        <!-- When set to true, the value of fillBefore is taken into account. -->
5728        <attr name="fillEnabled" format="boolean" />
5729        <!-- When set to true or when fillEnabled is not set to true, the animation transformation
5730             is applied before the animation has started. The default value is true. -->
5731        <attr name="fillBefore" format="boolean" />
5732        <!-- When set to true, the animation transformation is applied after the animation is
5733             over. The default value is false. If fillEnabled is not set to true and the
5734             animation is not set on a View, fillAfter is assumed to be true.-->
5735        <attr name="fillAfter" format="boolean" />
5736        <!-- Amount of time (in milliseconds) for the animation to run. -->
5737        <attr name="duration" />
5738        <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
5739        <attr name="startOffset" format="integer" />
5740        <!-- Defines how many times the animation should repeat. The default value is 0. -->
5741        <attr name="repeatCount" format="integer">
5742            <enum name="infinite" value="-1" />
5743        </attr>
5744        <!-- Defines the animation behavior when it reaches the end and the repeat count is
5745             greater than 0 or infinite. The default value is restart. -->
5746        <attr name="repeatMode">
5747            <!-- The animation starts again from the beginning. -->
5748            <enum name="restart" value="1" />
5749            <!-- The animation plays backward. -->
5750            <enum name="reverse" value="2" />
5751        </attr>
5752        <!-- Allows for an adjustment of the Z ordering of the content being
5753             animated for the duration of the animation.  The default value is normal. -->
5754        <attr name="zAdjustment">
5755            <!-- The content being animated be kept in its current Z order. -->
5756            <enum name="normal" value="0" />
5757            <!-- The content being animated is forced on top of all other
5758                 content for the duration of the animation. -->
5759            <enum name="top" value="1" />
5760            <!-- The content being animated is forced under all other
5761                 content for the duration of the animation. -->
5762            <enum name="bottom" value="-1" />
5763        </attr>
5764        <!-- Special background behind animation.  Only for use with window
5765             animations.  Can only be a color, and only black.  If 0, the
5766             default, there is no background. -->
5767        <attr name="background" />
5768        <!-- Special option for window animations: if this window is on top
5769             of a wallpaper, don't animate the wallpaper with it. -->
5770        <attr name="detachWallpaper" format="boolean" />
5771    </declare-styleable>
5772
5773    <declare-styleable name="AnimationSet">
5774        <attr name="shareInterpolator" format="boolean" />
5775        <attr name="fillBefore" />
5776        <attr name="fillAfter" />
5777        <attr name="duration" />
5778        <attr name="startOffset" />
5779        <attr name="repeatMode" />
5780    </declare-styleable>
5781
5782    <declare-styleable name="RotateAnimation">
5783        <attr name="fromDegrees" />
5784        <attr name="toDegrees" />
5785        <attr name="pivotX" />
5786        <attr name="pivotY" />
5787    </declare-styleable>
5788
5789    <declare-styleable name="ScaleAnimation">
5790        <attr name="fromXScale" format="float|fraction|dimension" />
5791        <attr name="toXScale" format="float|fraction|dimension" />
5792        <attr name="fromYScale" format="float|fraction|dimension" />
5793        <attr name="toYScale" format="float|fraction|dimension" />
5794        <attr name="pivotX" />
5795        <attr name="pivotY" />
5796    </declare-styleable>
5797
5798    <declare-styleable name="TranslateAnimation">
5799        <attr name="fromXDelta" format="float|fraction" />
5800        <attr name="toXDelta" format="float|fraction" />
5801        <attr name="fromYDelta" format="float|fraction" />
5802        <attr name="toYDelta" format="float|fraction" />
5803    </declare-styleable>
5804
5805    <declare-styleable name="AlphaAnimation">
5806        <attr name="fromAlpha" format="float" />
5807        <attr name="toAlpha" format="float" />
5808    </declare-styleable>
5809
5810    <declare-styleable name="LayoutAnimation">
5811        <!-- Fraction of the animation duration used to delay the beginning of
5812         the animation of each child. -->
5813        <attr name="delay" format="float|fraction" />
5814        <!-- Animation to use on each child. -->
5815        <attr name="animation" format="reference" />
5816        <!-- The order in which the animations will be started. -->
5817        <attr name="animationOrder">
5818            <!-- Animations are started in the natural order. -->
5819            <enum name="normal" value="0" />
5820            <!-- Animations are started in the reverse order. -->
5821            <enum name="reverse" value="1" />
5822            <!-- Animations are started randomly. -->
5823            <enum name="random" value="2" />
5824        </attr>
5825        <!-- Interpolator used to interpolate the delay between the start of
5826         each animation. -->
5827        <attr name="interpolator" />
5828    </declare-styleable>
5829
5830    <declare-styleable name="GridLayoutAnimation">
5831        <!-- Fraction of the animation duration used to delay the beginning of
5832         the animation of each column. -->
5833        <attr name="columnDelay" format="float|fraction" />
5834        <!-- Fraction of the animation duration used to delay the beginning of
5835         the animation of each row. -->
5836        <attr name="rowDelay" format="float|fraction" />
5837        <!-- Direction of the animation in the grid. -->
5838        <attr name="direction">
5839            <!-- Animates columns from left to right. -->
5840            <flag name="left_to_right" value="0x0" />
5841            <!-- Animates columns from right to left. -->
5842            <flag name="right_to_left" value="0x1" />
5843            <!-- Animates rows from top to bottom. -->
5844            <flag name="top_to_bottom" value="0x0" />
5845            <!-- Animates rows from bottom to top. -->
5846            <flag name="bottom_to_top" value="0x2" />
5847        </attr>
5848        <!-- Priority of the rows and columns. When the priority is none,
5849         both rows and columns have the same priority. When the priority is
5850         column, the animations will be applied on the columns first. The same
5851         goes for rows. -->
5852        <attr name="directionPriority">
5853            <!-- Rows and columns are animated at the same time. -->
5854            <enum name="none"   value="0" />
5855            <!-- Columns are animated first. -->
5856            <enum name="column" value="1" />
5857            <!-- Rows are animated first. -->
5858            <enum name="row"    value="2" />
5859        </attr>
5860    </declare-styleable>
5861
5862    <declare-styleable name="AccelerateInterpolator">
5863        <!-- This is the amount of deceleration to add when easing in. -->
5864        <attr name="factor" format="float" />
5865    </declare-styleable>
5866
5867    <declare-styleable name="DecelerateInterpolator">
5868        <!-- This is the amount of acceleration to add when easing out. -->
5869        <attr name="factor" />
5870    </declare-styleable>
5871
5872    <declare-styleable name="CycleInterpolator">
5873        <attr name="cycles" format="float" />
5874    </declare-styleable>
5875
5876    <declare-styleable name="AnticipateInterpolator">
5877        <!-- This is the amount of tension. -->
5878        <attr name="tension" format="float" />
5879    </declare-styleable>
5880
5881    <declare-styleable name="OvershootInterpolator">
5882        <!-- This is the amount of tension. -->
5883        <attr name="tension" />
5884    </declare-styleable>
5885
5886    <declare-styleable name="AnticipateOvershootInterpolator">
5887        <!-- This is the amount of tension. -->
5888        <attr name="tension" />
5889        <!-- This is the amount by which to multiply the tension. -->
5890        <attr name="extraTension" format="float" />
5891    </declare-styleable>
5892
5893    <declare-styleable name="PathInterpolator">
5894        <!-- The x coordinate of the first control point of the cubic Bezier -->
5895        <attr name="controlX1" format="float" />
5896        <!-- The y coordinate of the first control point of the cubic Bezier -->
5897        <attr name="controlY1" format="float" />
5898        <!-- The x coordinate of the second control point of the cubic Bezier -->
5899        <attr name="controlX2" format="float" />
5900        <!-- The y coordinate of the second control point of the cubic Bezier -->
5901        <attr name="controlY2" format="float" />
5902        <!-- The control points defined as a path.
5903             When pathData is defined, then both of the control points of the
5904             cubic Bezier will be ignored. -->
5905        <attr name="pathData"/>
5906    </declare-styleable>
5907
5908    <!-- ========================== -->
5909    <!-- Transition attributes -->
5910    <!-- ========================== -->
5911    <eat-comment />
5912
5913    <!-- Use specific transition subclass names as the root tag of the XML resource that
5914         describes a {@link android.transition.Transition Transition},
5915         such as <code>changeBounds</code>, <code>fade</code>, and <code>transitionSet</code>. -->
5916    <declare-styleable name="Transition">
5917        <!-- Amount of time (in milliseconds) that the transition should run. -->
5918        <attr name="duration" />
5919        <!-- Delay in milliseconds before the transition starts. -->
5920        <attr name="startDelay" format="integer" />
5921        <!-- Interpolator to be used in the animations spawned by this transition. -->
5922        <attr name="interpolator" />
5923        <!-- The match order to use for the transition. This is a comma-separated
5924             list of values, containing one or more of the following:
5925             id, itemId, name, instance. These correspond to
5926             {@link android.transition.Transition#MATCH_ID},
5927             {@link android.transition.Transition#MATCH_ITEM_ID},
5928             {@link android.transition.Transition#MATCH_NAME}, and
5929             {@link android.transition.Transition#MATCH_INSTANCE}, respectively.
5930             This corresponds to {@link android.transition.Transition#setMatchOrder(int...)}. -->
5931        <attr name="matchOrder" format="string" />
5932    </declare-styleable>
5933
5934    <!-- @hide For internal use only. Use only as directed. -->
5935    <declare-styleable name="EpicenterTranslateClipReveal">
5936        <attr name="interpolatorX" format="reference" />
5937        <attr name="interpolatorY" format="reference" />
5938        <attr name="interpolatorZ" format="reference" />
5939    </declare-styleable>
5940
5941    <!-- Use <code>fade</code>as the root tag of the XML resource that
5942         describes a {@link android.transition.Fade Fade} transition.
5943         The attributes of the {@link android.R.styleable#Transition Transition}
5944         resource are available in addition to the specific attributes of Fade
5945         described here. -->
5946    <declare-styleable name="Fade">
5947        <!-- Equivalent to <code>transitionVisibilityMode</code>, fadingMode works only
5948             with the Fade transition. -->
5949        <attr name="fadingMode">
5950            <!-- Fade will only fade appearing items in. -->
5951            <enum name="fade_in" value="1" />
5952            <!-- Fade will only fade disappearing items out. -->
5953            <enum name="fade_out" value="2" />
5954            <!-- Fade will fade appearing items in and disappearing items out. -->
5955            <enum name="fade_in_out" value="3" />
5956        </attr>
5957    </declare-styleable>
5958
5959    <!-- Use <code>slide</code>as the root tag of the XML resource that
5960         describes a {@link android.transition.Slide Slide} transition.
5961         The attributes of the {@link android.R.styleable#Transition Transition}
5962         resource are available in addition to the specific attributes of Slide
5963         described here. -->
5964    <declare-styleable name="Slide">
5965        <attr name="slideEdge">
5966            <!-- Slide to and from the left edge of the Scene. -->
5967            <enum name="left" value="0x03" />
5968            <!-- Slide to and from the top edge of the Scene. -->
5969            <enum name="top" value="0x30" />
5970            <!-- Slide to and from the right edge of the Scene. -->
5971            <enum name="right" value="0x05" />
5972            <!-- Slide to and from the bottom edge of the Scene. -->
5973            <enum name="bottom" value="0x50" />
5974            <!-- Slide to and from the x-axis position at the start of the Scene root. -->
5975            <enum name="start" value="0x00800003"/>
5976            <!-- Slide to and from the x-axis position at the end of the Scene root. -->
5977            <enum name="end" value="0x00800005"/>
5978        </attr>
5979    </declare-styleable>
5980
5981    <!-- Use with {@link android.transition.Visibility} transitions, such as
5982         <code>slide</code>, <code>explode</code>, and <code>fade</code> to mark which
5983         views are supported. -->
5984    <declare-styleable name="VisibilityTransition">
5985        <!-- Changes whether the transition supports appearing and/or disappearing Views.
5986             Corresponds to {@link android.transition.Visibility#setMode(int)}. -->
5987        <attr name="transitionVisibilityMode">
5988            <!-- Only appearing Views will be supported. -->
5989            <flag name="mode_in" value="1" />
5990            <!-- Only disappearing Views will be supported. -->
5991            <flag name="mode_out" value="2" />
5992        </attr>
5993    </declare-styleable>
5994    <!-- Use <code>target</code> as the root tag of the XML resource that
5995     describes a {@link android.transition.Transition#addTarget(int)
5996     targetId} of a transition. There can be one or more targets inside
5997     a <code>targets</code> tag, which is itself inside an appropriate
5998     {@link android.R.styleable#Transition Transition} tag.
5999     -->
6000    <declare-styleable name="TransitionTarget">
6001        <!-- The id of a target on which this transition will animate changes. -->
6002        <attr name="targetId" format="reference" />
6003        <!-- The id of a target to exclude from this transition. -->
6004        <attr name="excludeId" format="reference" />
6005        <!-- The fully-qualified name of the Class to include in this transition. -->
6006        <attr name="targetClass" />
6007        <!-- The fully-qualified name of the Class to exclude from this transition. -->
6008        <attr name="excludeClass" format="string" />
6009        <!-- The transitionName of the target on which this transition will animation changes. -->
6010        <attr name="targetName" format="string" />
6011        <!-- The transitionName of the target to exclude from this transition. -->
6012        <attr name="excludeName" format="string" />
6013    </declare-styleable>
6014
6015    <!-- Use <code>set</code> as the root tag of the XML resource that
6016         describes a {@link android.transition.TransitionSet
6017         TransitionSet} transition. -->
6018    <declare-styleable name="TransitionSet">
6019        <attr name="transitionOrdering">
6020            <!-- child transitions should be played together. -->
6021            <enum name="together" value="0" />
6022            <!-- child transitions should be played sequentially, in the same order
6023            as the xml. -->
6024            <enum name="sequential" value="1" />
6025        </attr>
6026    </declare-styleable>
6027
6028    <!-- Use <code>changeTransform</code> as the root tag of the XML resource that
6029         describes a {@link android.transition.ChangeTransform} transition. -->
6030    <declare-styleable name="ChangeTransform">
6031        <!-- A parent change should use an overlay or affect the transform of the
6032             transitionining View. Default is true. Corresponds to
6033             {@link android.transition.ChangeTransform#setReparentWithOverlay(boolean)}. -->
6034        <attr name="reparentWithOverlay" format="boolean"/>
6035
6036        <!-- Tells ChangeTransform to track parent changes. Default is true. Corresponds to
6037             {@link android.transition.ChangeTransform#setReparent(boolean)}. -->
6038        <attr name="reparent" format="boolean"/>
6039    </declare-styleable>
6040
6041    <!-- Use <code>changeBounds</code>as the root tag of the XML resource that
6042         describes a {@link android.transition.ChangeBounds} transition.
6043         The attributes of the {@link android.R.styleable#Transition Transition}
6044         resource are available in addition to the specific attributes of ChangeBounds
6045         described here. -->
6046    <declare-styleable name="ChangeBounds">
6047        <!-- Resize the view by adjusting the clipBounds rather than changing the
6048             dimensions of the view itself. The default value is false. -->
6049        <attr name="resizeClip" format="boolean"/>
6050    </declare-styleable>
6051
6052    <!-- Use <code>transitionManager</code> as the root tag of the XML resource that
6053         describes a {@link android.transition.TransitionManager
6054         TransitionManager}. -->
6055    <declare-styleable name="TransitionManager">
6056        <!-- The id of a transition to be used in a particular scene change. -->
6057        <attr name="transition" format="reference" />
6058        <!-- The originating scene in this scene change. -->
6059        <attr name="fromScene" format="reference" />
6060        <!-- The destination scene in this scene change. -->
6061        <attr name="toScene" format="reference" />
6062    </declare-styleable>
6063
6064    <!-- Use <code>arcMotion</code> as the root tag of the XML resource that
6065         describes a {@link android.transition.ArcMotion}. This must be used
6066         within a transition with which the PathMotion should be associated. -->
6067    <declare-styleable name="ArcMotion">
6068        <!-- The minimum arc angle in degrees between the start and end points when
6069             they are close to horizontal. -->
6070        <attr name="minimumHorizontalAngle" format="float" />
6071        <!-- The minimum arc angle in degrees between the start and end points when
6072             they are close to vertical. -->
6073        <attr name="minimumVerticalAngle" format="float" />
6074        <!-- The maximum arc angle in degrees between the start and end points. -->
6075        <attr name="maximumAngle" format="float" />
6076    </declare-styleable>
6077
6078    <!-- Use <code>patternPathMotion</code> as the root tag of the XML resource that
6079         describes a {@link android.transition.PatternPathMotion}. This must be used
6080         within a transition with which the PathMotion should be associated. -->
6081    <declare-styleable name="PatternPathMotion">
6082        <!-- The path string describing the pattern to use for the PathPathMotion. -->
6083        <attr name="patternPathData" format="string" />
6084    </declare-styleable>
6085
6086    <!-- ========================== -->
6087    <!-- ValueAnimator class attributes -->
6088    <!-- ========================== -->
6089    <eat-comment />
6090
6091    <declare-styleable name="Animator">
6092        <!-- Defines the interpolator used to smooth the animation movement in time. -->
6093        <attr name="interpolator" />
6094        <!-- Amount of time (in milliseconds) for the animation to run. -->
6095        <attr name="duration" />
6096        <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
6097        <attr name="startOffset"/>
6098        <!-- Defines how many times the animation should repeat. The default value is 0. -->
6099        <attr name="repeatCount"/>
6100        <!-- Defines the animation behavior when it reaches the end and the repeat count is
6101             greater than 0 or infinite. The default value is restart. -->
6102        <attr name="repeatMode"/>
6103        <!-- Value the animation starts from. -->
6104        <attr name="valueFrom" format="float|integer|color|dimension|string"/>
6105        <!-- Value the animation animates to. -->
6106        <attr name="valueTo" format="float|integer|color|dimension|string"/>
6107        <!-- The type of valueFrom and valueTo. -->
6108        <attr name="valueType">
6109            <!-- The given values are floats. This is the default value if valueType is
6110                 unspecified. Note that if any value attribute has a color value
6111                 (beginning with "#"), then this attribute is ignored and the color values are
6112                 interpreted as integers. -->
6113            <enum name="floatType" value="0" />
6114            <!-- values are integers. -->
6115            <enum name="intType"   value="1" />
6116            <!-- values are paths defined as strings.
6117                 This type is used for path morphing in AnimatedVectorDrawable. -->
6118            <enum name="pathType"   value="2" />
6119            <!-- values are colors, which are integers starting with "#". -->
6120            <enum name="colorType"   value="3" />
6121        </attr>
6122        <!-- Placeholder for a deleted attribute. This should be removed before M release. -->
6123        <attr name="removeBeforeMRelease" format="integer" />
6124    </declare-styleable>
6125
6126    <declare-styleable name="PropertyValuesHolder">
6127        <attr name="valueType" />
6128        <attr name="propertyName" />
6129        <attr name="valueFrom" />
6130        <attr name="valueTo" />
6131    </declare-styleable>
6132
6133    <declare-styleable name="Keyframe">
6134        <attr name="valueType" />
6135        <attr name="value" />
6136        <attr name="fraction" format="float" />
6137        <!-- Defines a per-interval interpolator for this keyframe. This interpolator will be used
6138             to interpolate between this keyframe and the previous keyframe.-->
6139        <attr name="interpolator" />
6140    </declare-styleable>
6141
6142    <!-- ========================== -->
6143    <!-- ObjectAnimator class attributes -->
6144    <!-- ========================== -->
6145    <eat-comment />
6146
6147    <declare-styleable name="PropertyAnimator">
6148        <!-- Name of the property being animated. -->
6149        <attr name="propertyName" format="string"/>
6150        <!-- Name of the property being animated as the X coordinate of the pathData. -->
6151        <attr name="propertyXName" format="string"/>
6152        <!-- Name of the property being animated as the Y coordinate of the pathData. -->
6153        <attr name="propertyYName" format="string"/>
6154        <!-- The path used to animate the properties in the ObjectAnimator -->
6155        <attr name="pathData"/>
6156    </declare-styleable>
6157
6158
6159    <!-- ========================== -->
6160    <!-- AnimatorSet class attributes -->
6161    <!-- ========================== -->
6162    <eat-comment />
6163
6164    <declare-styleable name="AnimatorSet">
6165        <!-- Name of the property being animated. -->
6166        <attr name="ordering">
6167            <!-- child animations should be played together. -->
6168            <enum name="together" value="0" />
6169            <!-- child animations should be played sequentially, in the same order as the xml. -->
6170            <enum name="sequentially" value="1" />
6171        </attr>
6172    </declare-styleable>
6173
6174    <!-- ========================== -->
6175    <!-- State attributes           -->
6176    <!-- ========================== -->
6177    <eat-comment />
6178
6179    <!-- Drawable states.
6180         The mapping of Drawable states to a particular drawables is specified
6181         in the "state" elements of a Widget's "selector" element.
6182         Possible values:
6183         <ul>
6184         <li>"state_focused"
6185         <li>"state_window_focused"
6186         <li>"state_enabled"
6187         <li>"state_checked"
6188         <li>"state_selected"
6189         <li>"state_active"
6190         <li>"state_single"
6191         <li>"state_first"
6192         <li>"state_mid"
6193         <li>"state_last"
6194         <li>"state_only"
6195         <li>"state_pressed"
6196         <li>"state_activated"
6197         <li>"state_error"
6198         <li>"state_circle"
6199         <li>"state_rect"
6200         <li>"state_grow"
6201         <li>"state_move"
6202         <li>"state_hovered"
6203         <li>"state_drag_can_accept"
6204         <li>"state_drag_hovered"
6205         <li>"state_accessibility_focused"
6206         </ul>  -->
6207    <declare-styleable name="DrawableStates">
6208        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6209             set when a view has input focus. -->
6210        <attr name="state_focused" format="boolean" />
6211        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6212             set when a view's window has input focus. -->
6213        <attr name="state_window_focused" format="boolean" />
6214        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6215             set when a view is enabled. -->
6216        <attr name="state_enabled" format="boolean" />
6217        <!-- State identifier indicating that the object <var>may</var> display a check mark.
6218             See {@link android.R.attr#state_checked} for the identifier that indicates whether it is
6219             actually checked. -->
6220        <attr name="state_checkable" format="boolean"/>
6221        <!-- State identifier indicating that the object is currently checked.  See
6222             {@link android.R.attr#state_checkable} for an additional identifier that can indicate if
6223             any object may ever display a check, regardless of whether state_checked is
6224             currently set. -->
6225        <attr name="state_checked" format="boolean"/>
6226        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6227             set when a view (or one of its parents) is currently selected. -->
6228        <attr name="state_selected" format="boolean" />
6229        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6230             set when the user is pressing down in a view. -->
6231        <attr name="state_pressed" format="boolean" />
6232        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6233             set when a view or its parent has been "activated" meaning the user has currently
6234             marked it as being of interest.  This is an alternative representation of
6235             state_checked for when the state should be propagated down the view hierarchy. -->
6236        <attr name="state_activated" format="boolean" />
6237        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
6238        <attr name="state_active" format="boolean" />
6239        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
6240        <attr name="state_single" format="boolean" />
6241        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
6242        <attr name="state_first" format="boolean" />
6243        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
6244        <attr name="state_middle" format="boolean" />
6245        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
6246        <attr name="state_last" format="boolean" />
6247        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6248             indicating that the Drawable is in a view that is hardware accelerated.
6249             This means that the device can at least render a full-screen scaled
6250             bitmap with one layer of text and bitmaps composited on top of it
6251             at 60fps.  When this is set, the colorBackgroundCacheHint will be
6252             ignored even if it specifies a solid color, since that optimization
6253             is not needed. -->
6254        <attr name="state_accelerated" format="boolean" />
6255        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6256             set when a pointer is hovering over the view. -->
6257        <attr name="state_hovered" format="boolean" />
6258        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6259             indicating that the Drawable is in a view that is capable of accepting a drop of
6260             the content currently being manipulated in a drag-and-drop operation. -->
6261        <attr name="state_drag_can_accept" format="boolean" />
6262        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6263             indicating that a drag operation (for which the Drawable's view is a valid recipient)
6264             is currently positioned over the Drawable. -->
6265        <attr name="state_drag_hovered" format="boolean" />
6266        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6267             indicating that a View has accessibility focus. -->
6268        <attr name="state_accessibility_focused" format="boolean" />
6269    </declare-styleable>
6270    <declare-styleable name="ViewDrawableStates">
6271        <attr name="state_pressed" />
6272        <attr name="state_focused" />
6273        <attr name="state_selected" />
6274        <attr name="state_window_focused" />
6275        <attr name="state_enabled" />
6276        <attr name="state_activated" />
6277        <attr name="state_accelerated" />
6278        <attr name="state_hovered" />
6279        <attr name="state_drag_can_accept" />
6280        <attr name="state_drag_hovered" />
6281    </declare-styleable>
6282    <!-- State array representing a menu item that is currently checked. -->
6283    <declare-styleable name="MenuItemCheckedState">
6284        <attr name="state_checkable" />
6285        <attr name="state_checked" />
6286    </declare-styleable>
6287    <!-- State array representing a menu item that is checkable but is not currently checked. -->
6288    <declare-styleable name="MenuItemUncheckedState">
6289        <attr name="state_checkable" />
6290    </declare-styleable>
6291    <!-- State array representing a menu item that is currently focused and checked. -->
6292    <declare-styleable name="MenuItemCheckedFocusedState">
6293        <attr name="state_checkable" />
6294        <attr name="state_checked" />
6295        <attr name="state_focused" />
6296    </declare-styleable>
6297    <!-- State array representing a menu item that is focused and checkable but is not currently checked. -->
6298    <declare-styleable name="MenuItemUncheckedFocusedState">
6299        <attr name="state_checkable" />
6300        <attr name="state_focused" />
6301    </declare-styleable>
6302    <!-- State array representing an expandable list child's indicator. -->
6303    <declare-styleable name="ExpandableListChildIndicatorState">
6304        <!-- State identifier indicating the child is the last child within its group. -->
6305        <attr name="state_last" />
6306    </declare-styleable>
6307    <!-- State array representing an expandable list group's indicator. -->
6308    <declare-styleable name="ExpandableListGroupIndicatorState">
6309        <!-- State identifier indicating the group is expanded. -->
6310        <attr name="state_expanded" format="boolean" />
6311        <!-- State identifier indicating the group is empty (has no children). -->
6312        <attr name="state_empty" format="boolean" />
6313    </declare-styleable>
6314    <declare-styleable name="PopupWindowBackgroundState">
6315        <!-- State identifier indicating the popup will be above the anchor. -->
6316        <attr name="state_above_anchor" format="boolean" />
6317    </declare-styleable>
6318    <declare-styleable name="TextViewMultiLineBackgroundState">
6319        <!-- State identifier indicating a TextView has a multi-line layout. -->
6320        <attr name="state_multiline" format="boolean" />
6321    </declare-styleable>
6322
6323    <!-- ***************************************************************** -->
6324    <!-- Support for Searchable activities. -->
6325    <!-- ***************************************************************** -->
6326    <eat-comment />
6327
6328    <!-- Searchable activities and applications must provide search configuration information
6329        in an XML file, typically called searchable.xml.  This file is referenced in your manifest.
6330        For a more in-depth discussion of search configuration, please refer to
6331        {@link android.app.SearchManager}. -->
6332    <declare-styleable name="Searchable">
6333          <!--<strong>This is deprecated.</strong><br/>The default
6334              application icon is now always used, so this attribute is
6335              obsolete.-->
6336        <attr name="icon" />
6337        <!-- This is the user-displayed name of the searchable activity.  <i>Required
6338            attribute.</i> -->
6339        <attr name="label" />
6340        <!-- If supplied, this string will be displayed as a hint to the user.  <i>Optional
6341            attribute.</i> -->
6342        <attr name="hint" />
6343        <!-- If supplied, this string will be displayed as the text of the "Search" button.
6344          <i>Optional attribute.</i>
6345          {@deprecated This will create a non-standard UI appearance, because the search bar UI is
6346                       changing to use only icons for its buttons.}-->
6347        <attr name="searchButtonText" format="string" />
6348        <attr name="inputType" />
6349        <attr name="imeOptions" />
6350
6351        <!-- Additional features are controlled by mode bits in this field.  Omitting
6352            this field, or setting to zero, provides default behavior.  <i>Optional attribute.</i>
6353        -->
6354        <attr name="searchMode">
6355          <!-- If set, this flag enables the display of the search target (label) within the
6356               search bar.  If neither bad mode is selected, no badge will be shown. -->
6357          <flag name="showSearchLabelAsBadge" value="0x04" />
6358          <!--<strong>This is deprecated.</strong><br/>The default
6359              application icon is now always used, so this option is
6360              obsolete.-->
6361          <flag name="showSearchIconAsBadge" value="0x08" />
6362          <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_INTENT_DATA to
6363               be considered as the text for suggestion query rewriting.  This should only
6364               be used when the values in SUGGEST_COLUMN_INTENT_DATA are suitable for user
6365               inspection and editing - typically, HTTP/HTTPS Uri's. -->
6366          <flag name="queryRewriteFromData" value="0x10" />
6367          <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_TEXT_1 to
6368               be considered as the text for suggestion query rewriting.  This should be used
6369               for suggestions in which no query text is provided and the SUGGEST_COLUMN_INTENT_DATA
6370               values are not suitable for user inspection and editing. -->
6371          <flag name="queryRewriteFromText" value="0x20" />
6372        </attr>
6373
6374        <!-- Voice search features are controlled by mode bits in this field.  Omitting
6375            this field, or setting to zero, provides default behavior.
6376            If showVoiceSearchButton is set, then launchWebSearch or launchRecognizer must
6377            also be set.  <i>Optional attribute.</i>
6378        -->
6379        <attr name="voiceSearchMode">
6380          <!-- If set, display a voice search button.  This only takes effect if voice search is
6381               available on the device. -->
6382          <flag name="showVoiceSearchButton" value="0x01" />
6383          <!-- If set, the voice search button will take the user directly to a built-in
6384               voice web search activity.  Most applications will not use this flag, as it
6385               will take the user away from the activity in which search was invoked. -->
6386          <flag name="launchWebSearch" value="0x02" />
6387          <!-- If set, the voice search button will take the user directly to a built-in
6388               voice recording activity.  This activity will prompt the user to speak,
6389               transcribe the spoken text, and forward the resulting query
6390               text to the searchable activity, just as if the user had typed it into
6391               the search UI and clicked the search button. -->
6392          <flag name="launchRecognizer" value="0x04" />
6393        </attr>
6394
6395        <!-- If provided, this specifies the language model that should be used by the
6396             voice recognition system.  See
6397             {@link android.speech.RecognizerIntent#EXTRA_LANGUAGE_MODEL } for more information.
6398             If not provided, the default value
6399             {@link android.speech.RecognizerIntent#LANGUAGE_MODEL_FREE_FORM } will be used. -->
6400        <attr name="voiceLanguageModel" format="string" />
6401        <!-- If provided, this specifies a prompt that will be displayed during voice input. -->
6402        <attr name="voicePromptText" format="string" />
6403        <!-- If provided, this specifies the spoken language to be expected, and that it will be
6404             different than the one set in the {@link java.util.Locale#getDefault()}. -->
6405        <attr name="voiceLanguage" format="string" />
6406        <!-- If provided, enforces the maximum number of results to return, including the "best"
6407             result which will always be provided as the SEARCH intent's primary query.  Must be one
6408             or greater.  If not provided, the recognizer will choose how many results to return.
6409             -->
6410        <attr name="voiceMaxResults" format="integer" />
6411
6412        <!-- If provided, this is the trigger indicating that the searchable activity
6413            provides suggestions as well.  The value must be a fully-qualified content provider
6414            authority (e.g. "com.example.android.apis.SuggestionProvider") and should match the
6415            "android:authorities" tag in your content provider's manifest entry.  <i>Optional
6416            attribute.</i> -->
6417        <attr name="searchSuggestAuthority" format="string" />
6418        <!-- If provided, this will be inserted in the suggestions query Uri, after the authority
6419            you have provide but before the standard suggestions path. <i>Optional attribute.</i>
6420            -->
6421        <attr name="searchSuggestPath" format="string" />
6422        <!-- If provided, suggestion queries will be passed into your query function
6423            as the <i>selection</i> parameter.  Typically this will be a WHERE clause for your
6424            database, and will contain a single question mark, which represents the actual query
6425            string that has been typed by the user.  If not provided, then the user query text
6426            will be appended to the query Uri (after an additional "/".)  <i>Optional
6427            attribute.</i> -->
6428        <attr name="searchSuggestSelection" format="string" />
6429
6430        <!-- If provided, and not overridden by an action in the selected suggestion, this
6431            string will be placed in the action field of the {@link android.content.Intent Intent}
6432            when the user clicks a suggestion.  <i>Optional attribute.</i> -->
6433        <attr name="searchSuggestIntentAction" format="string" />
6434        <!-- If provided, and not overridden by an action in the selected suggestion, this
6435            string will be placed in the data field of the {@link android.content.Intent Intent}
6436            when the user clicks a suggestion.  <i>Optional attribute.</i> -->
6437        <attr name="searchSuggestIntentData" format="string" />
6438
6439        <!-- If provided, this is the minimum number of characters needed to trigger
6440             search suggestions. The default value is 0. <i>Optional attribute.</i> -->
6441        <attr name="searchSuggestThreshold" format="integer" />
6442
6443        <!-- If provided and <code>true</code>, this searchable activity will be
6444             included in any global lists of search targets.
6445             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6446        <attr name="includeInGlobalSearch" format="boolean" />
6447
6448        <!-- If provided and <code>true</code>, this searchable activity will be invoked for all
6449             queries in a particular session. If set to <code>false</code> and the activity
6450             returned zero results for a query, it will not be invoked again in that session for
6451             supersets of that zero-results query. For example, if the activity returned zero
6452             results for "bo", it would not be queried again for "bob".
6453             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6454        <attr name="queryAfterZeroResults" format="boolean" />
6455        <!-- If provided, this string will be used to describe the searchable item in the
6456             searchable items settings within system search settings. <i>Optional
6457             attribute.</i> -->
6458        <attr name="searchSettingsDescription" format="string" />
6459
6460        <!-- If provided and <code>true</code>, URLs entered in the search dialog while searching
6461             within this activity would be detected and treated as URLs (show a 'go' button in the
6462             keyboard and invoke the browser directly when user launches the URL instead of passing
6463             the URL to the activity). If set to <code>false</code> any URLs entered are treated as
6464             normal query text.
6465             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6466        <attr name="autoUrlDetect" format="boolean" />
6467
6468    </declare-styleable>
6469
6470    <!-- In order to process special action keys during search, you must define them using
6471            one or more "ActionKey" elements in your Searchable metadata.  For a more in-depth
6472            discussion of action code handling, please refer to {@link android.app.SearchManager}.
6473    -->
6474    <declare-styleable name="SearchableActionKey">
6475        <!-- This attribute denotes the action key you wish to respond to.  Note that not
6476            all action keys are actually supported using this mechanism, as many of them are
6477            used for typing, navigation, or system functions.  This will be added to the
6478            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6479            searchable activity.  To examine the key code, use
6480            {@link android.content.Intent#getIntExtra getIntExtra(SearchManager.ACTION_KEY)}.
6481            <p>Note, in addition to the keycode, you must also provide one or more of the action
6482            specifier attributes.  <i>Required attribute.</i> -->
6483        <attr name="keycode" />
6484
6485        <!-- If you wish to handle an action key during normal search query entry, you
6486            must define an action string here.  This will be added to the
6487            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6488            searchable activity.  To examine the string, use
6489            {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
6490            <i>Optional attribute.</i> -->
6491        <attr name="queryActionMsg"  format="string" />
6492
6493        <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
6494            selected</i>, there are two ways to handle this.  If <i>all</i> of your suggestions
6495            can handle the action key, you can simply define the action message using this
6496            attribute.  This will be added to the
6497            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6498            searchable activity.  To examine the string, use
6499            {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
6500            <i>Optional attribute.</i> -->
6501        <attr name="suggestActionMsg"  format="string" />
6502
6503        <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
6504            selected</i>, but you do not wish to enable this action key for every suggestion,
6505            then you can use this attribute to control it on a suggestion-by-suggestion basis.
6506            First, you must define a column (and name it here) where your suggestions will include
6507            the action string.  Then, in your content provider, you must provide this column, and
6508            when desired, provide data in this column.
6509            The search manager will look at your suggestion cursor, using the string
6510            provided here in order to select a column, and will use that to select a string from
6511            the cursor.  That string will be added to the
6512            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to
6513            your searchable activity.  To examine the string, use
6514            {@link android.content.Intent#getStringExtra
6515            getStringExtra(SearchManager.ACTION_MSG)}.  <i>If the data does not exist for the
6516            selection suggestion, the action key will be ignored.</i><i>Optional attribute.</i> -->
6517        <attr name="suggestActionMsgColumn" format="string" />
6518
6519    </declare-styleable>
6520
6521    <!-- ***************************************************************** -->
6522    <!-- Support for MapView. -->
6523    <!-- ***************************************************************** -->
6524    <eat-comment />
6525
6526    <!-- The set of attributes for a MapView. -->
6527    <declare-styleable name="MapView">
6528        <!-- Value is a string that specifies the Maps API Key to use. -->
6529        <attr name="apiKey" format="string" />
6530    </declare-styleable>
6531
6532    <!-- **************************************************************** -->
6533    <!-- Menu XML inflation. -->
6534    <!-- **************************************************************** -->
6535    <eat-comment />
6536
6537    <!-- Base attributes that are available to all Menu objects. -->
6538    <declare-styleable name="Menu">
6539    </declare-styleable>
6540
6541    <!-- Base attributes that are available to all groups. -->
6542    <declare-styleable name="MenuGroup">
6543
6544        <!-- The ID of the group. -->
6545        <attr name="id" />
6546
6547        <!-- The category applied to all items within this group.
6548             (This will be or'ed with the orderInCategory attribute.) -->
6549        <attr name="menuCategory">
6550            <!-- Items are part of a container. -->
6551            <enum name="container" value="0x00010000" />
6552            <!-- Items are provided by the system. -->
6553            <enum name="system" value="0x00020000" />
6554            <!-- Items are user-supplied secondary (infrequently used). -->
6555            <enum name="secondary" value="0x00030000" />
6556            <!-- Items are alternative actions. -->
6557            <enum name="alternative" value="0x00040000" />
6558        </attr>
6559
6560        <!-- The order within the category applied to all items within this group.
6561             (This will be or'ed with the category attribute.) -->
6562        <attr name="orderInCategory" format="integer" />
6563
6564        <!-- Whether the items are capable of displaying a check mark. -->
6565        <attr name="checkableBehavior">
6566            <!-- The items are not checkable. -->
6567            <enum name="none" value="0" />
6568            <!-- The items are all checkable. -->
6569            <enum name="all" value="1" />
6570            <!-- The items are checkable and there will only be a single checked item in
6571                 this group. -->
6572            <enum name="single" value="2" />
6573        </attr>
6574
6575        <!-- Whether the items are shown/visible. -->
6576        <attr name="visible" />
6577
6578        <!-- Whether the items are enabled. -->
6579        <attr name="enabled" />
6580
6581    </declare-styleable>
6582
6583    <!-- Base attributes that are available to all Item objects. -->
6584    <declare-styleable name="MenuItem">
6585
6586        <!-- The ID of the item. -->
6587        <attr name="id" />
6588
6589        <!-- The category applied to the item.
6590             (This will be or'ed with the orderInCategory attribute.) -->
6591        <attr name="menuCategory" />
6592
6593        <!-- The order within the category applied to the item.
6594             (This will be or'ed with the category attribute.) -->
6595        <attr name="orderInCategory" />
6596
6597        <!-- The title associated with the item. -->
6598        <attr name="title" format="string" />
6599
6600        <!-- The condensed title associated with the item.  This is used in situations where the
6601             normal title may be too long to be displayed. -->
6602        <attr name="titleCondensed" format="string" />
6603
6604        <!-- The icon associated with this item.  This icon will not always be shown, so
6605             the title should be sufficient in describing this item. -->
6606        <attr name="icon" />
6607
6608        <!-- The alphabetic shortcut key.  This is the shortcut when using a keyboard
6609             with alphabetic keys. -->
6610        <attr name="alphabeticShortcut" format="string" />
6611
6612        <!-- The numeric shortcut key.  This is the shortcut when using a numeric (e.g., 12-key)
6613             keyboard. -->
6614        <attr name="numericShortcut" format="string" />
6615
6616        <!-- Whether the item is capable of displaying a check mark. -->
6617        <attr name="checkable" format="boolean" />
6618
6619        <!-- Whether the item is checked.  Note that you must first have enabled checking with
6620             the checkable attribute or else the check mark will not appear. -->
6621        <attr name="checked" />
6622
6623        <!-- Whether the item is shown/visible. -->
6624        <attr name="visible" />
6625
6626        <!-- Whether the item is enabled. -->
6627        <attr name="enabled" />
6628
6629        <!-- Name of a method on the Context used to inflate the menu that will be
6630             called when the item is clicked. -->
6631        <attr name="onClick" />
6632
6633        <!-- How this item should display in the Action Bar, if present. -->
6634        <attr name="showAsAction">
6635            <!-- Never show this item in an action bar, show it in the overflow menu instead.
6636                 Mutually exclusive with "ifRoom" and "always". -->
6637            <flag name="never" value="0" />
6638            <!-- Show this item in an action bar if there is room for it as determined
6639                 by the system. Favor this option over "always" where possible.
6640                 Mutually exclusive with "never" and "always". -->
6641            <flag name="ifRoom" value="1" />
6642            <!-- Always show this item in an actionbar, even if it would override
6643                 the system's limits of how much stuff to put there. This may make
6644                 your action bar look bad on some screens. In most cases you should
6645                 use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never". -->
6646            <flag name="always" value="2" />
6647            <!-- When this item is shown as an action in the action bar, show a text
6648                 label with it even if it has an icon representation. -->
6649            <flag name="withText" value="4" />
6650            <!-- This item's action view collapses to a normal menu
6651                 item. When expanded, the action view takes over a
6652                 larger segment of its container. -->
6653            <flag name="collapseActionView" value="8" />
6654        </attr>
6655
6656        <!-- An optional layout to be used as an action view.
6657             See {@link android.view.MenuItem#setActionView(android.view.View)}
6658             for more info. -->
6659        <attr name="actionLayout" format="reference" />
6660
6661        <!-- The name of an optional View class to instantiate and use as an
6662             action view. See {@link android.view.MenuItem#setActionView(android.view.View)}
6663             for more info. -->
6664        <attr name="actionViewClass" format="string" />
6665
6666        <!-- The name of an optional ActionProvider class to instantiate an action view
6667             and perform operations such as default action for that menu item.
6668             See {@link android.view.MenuItem#setActionProvider(android.view.ActionProvider)}
6669             for more info. -->
6670        <attr name="actionProviderClass" format="string" />
6671
6672    </declare-styleable>
6673
6674    <!-- Attrbitutes for a ActvityChooserView. -->
6675    <declare-styleable name="ActivityChooserView">
6676        <!-- The maximal number of items initially shown in the activity list. -->
6677        <attr name="initialActivityCount" format="string" />
6678        <!-- The drawable to show in the button for expanding the activities overflow popup.
6679             <strong>Note:</strong> Clients would like to set this drawable
6680             as a clue about the action the chosen activity will perform. For
6681             example, if share activity is to be chosen the drawable should
6682             give a clue that sharing is to be performed.
6683         -->
6684        <attr name="expandActivityOverflowButtonDrawable" format="reference" />
6685    </declare-styleable>
6686
6687    <!-- **************************************************************** -->
6688    <!-- Preferences framework. -->
6689    <!-- **************************************************************** -->
6690    <eat-comment />
6691
6692    <!-- Base attributes available to PreferenceGroup. -->
6693    <declare-styleable name="PreferenceGroup">
6694        <!-- Whether to order the Preference under this group as they appear in the XML file.
6695             If this is false, the ordering will follow the Preference order attribute and
6696             default to alphabetic for those without the order attribute. -->
6697        <attr name="orderingFromXml" format="boolean" />
6698    </declare-styleable>
6699
6700    <!-- Attribute for a header describing the item shown in the top-level list
6701         from which the selects the set of preference to dig in to. -->
6702    <declare-styleable name="PreferenceHeader">
6703        <!-- Identifier value for the header. -->
6704        <attr name="id" />
6705        <!-- The title of the item that is shown to the user. -->
6706        <attr name="title" />
6707        <!-- The summary for the item. -->
6708        <attr name="summary" format="string" />
6709        <!-- The title for the bread crumb of this item. -->
6710        <attr name="breadCrumbTitle" format="string" />
6711        <!-- The short title for the bread crumb of this item. -->
6712        <attr name="breadCrumbShortTitle" format="string" />
6713        <!-- An icon for the item. -->
6714        <attr name="icon" />
6715        <!-- The fragment that is displayed when the user selects this item. -->
6716        <attr name="fragment" format="string" />
6717    </declare-styleable>
6718
6719    <!-- WARNING:  If adding attributes to Preference, make sure it does not conflict
6720                   with a View's attributes.  Some subclasses (e.g., EditTextPreference)
6721                   proxy all attributes to its EditText widget. -->
6722    <eat-comment />
6723
6724    <!-- Base attributes available to Preference. -->
6725    <declare-styleable name="Preference">
6726        <!-- The optional icon for the preference -->
6727        <attr name="icon" />
6728        <!-- The key to store the Preference value. -->
6729        <attr name="key" format="string" />
6730        <!-- The title for the Preference in a PreferenceActivity screen. -->
6731        <attr name="title" />
6732        <!-- The summary for the Preference in a PreferenceActivity screen. -->
6733        <attr name="summary" />
6734        <!-- The order for the Preference (lower values are to be ordered first). If this is not
6735             specified, the default ordering will be alphabetic. -->
6736        <attr name="order" format="integer" />
6737        <!-- When used inside of a modern PreferenceActivity, this declares
6738             a new PreferenceFragment to be shown when the user selects this item. -->
6739        <attr name="fragment" />
6740        <!-- The layout for the Preference in a PreferenceActivity screen. This should
6741             rarely need to be changed, look at widgetLayout instead. -->
6742        <attr name="layout" />
6743        <!-- The layout for the controllable widget portion of a Preference. This is inflated
6744             into the layout for a Preference and should be used more frequently than
6745             the layout attribute. For example, a checkbox preference would specify
6746             a custom layout (consisting of just the CheckBox) here. -->
6747        <attr name="widgetLayout" format="reference" />
6748        <!-- Whether the Preference is enabled. -->
6749        <attr name="enabled" />
6750        <!-- Whether the Preference is selectable. -->
6751        <attr name="selectable" format="boolean" />
6752        <!-- The key of another Preference that this Preference will depend on.  If the other
6753             Preference is not set or is off, this Preference will be disabled. -->
6754        <attr name="dependency" format="string" />
6755        <!-- Whether the Preference stores its value to the shared preferences. -->
6756        <attr name="persistent" />
6757        <!-- The default value for the preference, which will be set either if persistence
6758             is off or persistence is on and the preference is not found in the persistent
6759             storage.  -->
6760        <attr name="defaultValue" format="string|boolean|integer|reference|float" />
6761        <!-- Whether the view of this Preference should be disabled when
6762             this Preference is disabled. -->
6763        <attr name="shouldDisableView" format="boolean" />
6764    </declare-styleable>
6765
6766    <!-- Base attributes available to CheckBoxPreference. -->
6767    <declare-styleable name="CheckBoxPreference">
6768        <!-- The summary for the Preference in a PreferenceActivity screen when the
6769             CheckBoxPreference is checked. If separate on/off summaries are not
6770             needed, the summary attribute can be used instead. -->
6771        <attr name="summaryOn" format="string" />
6772        <!-- The summary for the Preference in a PreferenceActivity screen when the
6773             CheckBoxPreference is unchecked. If separate on/off summaries are not
6774             needed, the summary attribute can be used instead. -->
6775        <attr name="summaryOff" format="string" />
6776        <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
6777             dependents will be disabled when this is unchecked, so the value of this preference is false. -->
6778        <attr name="disableDependentsState" format="boolean" />
6779    </declare-styleable>
6780
6781    <!-- Base attributes available to DialogPreference. -->
6782    <declare-styleable name="DialogPreference">
6783        <!-- The title in the dialog. -->
6784        <attr name="dialogTitle" format="string" />
6785        <!-- The message in the dialog. If a dialogLayout is provided and contains
6786             a TextView with ID android:id/message, this message will be placed in there. -->
6787        <attr name="dialogMessage" format="string" />
6788        <!-- The icon for the dialog. -->
6789        <attr name="dialogIcon" format="reference" />
6790        <!-- The positive button text for the dialog. Set to @null to hide the positive button. -->
6791        <attr name="positiveButtonText" format="string" />
6792        <!-- The negative button text for the dialog. Set to @null to hide the negative button. -->
6793        <attr name="negativeButtonText" format="string" />
6794        <!-- A layout to be used as the content View for the dialog. By default, this shouldn't
6795             be needed. If a custom DialogPreference is required, this should be set. For example,
6796             the EditTextPreference uses a layout with an EditText as this attribute. -->
6797        <attr name="dialogLayout" format="reference" />
6798    </declare-styleable>
6799
6800    <!-- Base attributes available to ListPreference. -->
6801    <declare-styleable name="ListPreference">
6802        <!-- The human-readable array to present as a list. Each entry must have a corresponding
6803             index in entryValues. -->
6804        <attr name="entries" />
6805        <!-- The array to find the value to save for a preference when an entry from
6806             entries is selected. If a user clicks on the second item in entries, the
6807             second item in this array will be saved to the preference. -->
6808        <attr name="entryValues" format="reference" />
6809    </declare-styleable>
6810
6811    <declare-styleable name="MultiSelectListPreference">
6812        <!-- The human-readable array to present as a list. Each entry must have a corresponding
6813             index in entryValues. -->
6814        <attr name="entries" />
6815        <!-- The array to find the value to save for a preference when an entry from
6816             entries is selected. If a user clicks the second item in entries, the
6817             second item in this array will be saved to the preference. -->
6818        <attr name="entryValues" />
6819    </declare-styleable>
6820
6821    <!-- Base attributes available to RingtonePreference. -->
6822    <declare-styleable name="RingtonePreference">
6823        <!-- Which ringtone type(s) to show in the picker. -->
6824        <attr name="ringtoneType">
6825            <!-- Ringtones. -->
6826            <flag name="ringtone" value="1" />
6827            <!-- Notification sounds. -->
6828            <flag name="notification" value="2" />
6829            <!-- Alarm sounds. -->
6830            <flag name="alarm" value="4" />
6831            <!-- All available ringtone sounds. -->
6832            <flag name="all" value="7" />
6833        </attr>
6834        <!-- Whether to show an item for a default sound. -->
6835        <attr name="showDefault" format="boolean" />
6836        <!-- Whether to show an item for 'Silent'. -->
6837        <attr name="showSilent" format="boolean" />
6838    </declare-styleable>
6839
6840    <!-- Base attributes available to VolumePreference. -->
6841    <declare-styleable name="VolumePreference">
6842        <!-- Different audio stream types. -->
6843        <attr name="streamType">
6844            <enum name="voice" value="0" />
6845            <enum name="system" value="1" />
6846            <enum name="ring" value="2" />
6847            <enum name="music" value="3" />
6848            <enum name="alarm" value="4" />
6849        </attr>
6850    </declare-styleable>
6851
6852    <declare-styleable name="InputMethodService">
6853        <!-- Background to use for entire input method when it is being
6854             shown in fullscreen mode with the extract view, to ensure
6855             that it completely covers the application.  This allows,
6856             for example, the candidate view to be hidden
6857             while in fullscreen mode without having the application show through
6858             behind it.-->
6859        <attr name="imeFullscreenBackground" format="reference|color" />
6860        <!-- Animation to use when showing the fullscreen extract UI after
6861             it had previously been hidden. -->
6862        <attr name="imeExtractEnterAnimation" format="reference" />
6863        <!-- Animation to use when hiding the fullscreen extract UI after
6864             it had previously been shown. -->
6865        <attr name="imeExtractExitAnimation" format="reference" />
6866    </declare-styleable>
6867
6868    <declare-styleable name="VoiceInteractionSession">
6869    </declare-styleable>
6870
6871    <declare-styleable name="KeyboardView">
6872        <!-- Default KeyboardView style. -->
6873        <attr name="keyboardViewStyle" format="reference" />
6874
6875        <!-- Image for the key. This image needs to be a StateListDrawable, with the following
6876             possible states: normal, pressed, checkable, checkable+pressed, checkable+checked,
6877             checkable+checked+pressed. -->
6878        <attr name="keyBackground" format="reference" />
6879
6880        <!-- Size of the text for character keys. -->
6881        <attr name="keyTextSize" format="dimension" />
6882
6883        <!-- Size of the text for custom keys with some text and no icon. -->
6884        <attr name="labelTextSize" format="dimension" />
6885
6886        <!-- Color to use for the label in a key. -->
6887        <attr name="keyTextColor" format="color" />
6888
6889        <!-- Layout resource for key press feedback.-->
6890        <attr name="keyPreviewLayout" format="reference" />
6891
6892        <!-- Vertical offset of the key press feedback from the key. -->
6893        <attr name="keyPreviewOffset" format="dimension" />
6894
6895        <!-- Height of the key press feedback popup. -->
6896        <attr name="keyPreviewHeight" format="dimension" />
6897
6898        <!-- Amount to offset the touch Y coordinate by, for bias correction. -->
6899        <attr name="verticalCorrection" format="dimension" />
6900
6901        <!-- Layout resource for popup keyboards. -->
6902        <attr name="popupLayout" format="reference" />
6903
6904        <attr name="shadowColor" />
6905        <attr name="shadowRadius" />
6906    </declare-styleable>
6907
6908    <declare-styleable name="KeyboardViewPreviewState">
6909        <!-- State for {@link android.inputmethodservice.KeyboardView KeyboardView}
6910                key preview background. -->
6911        <attr name="state_long_pressable" format="boolean" />
6912    </declare-styleable>
6913
6914    <declare-styleable name="Keyboard">
6915        <!-- Default width of a key, in pixels or percentage of display width. -->
6916        <attr name="keyWidth" format="dimension|fraction" />
6917        <!-- Default height of a key, in pixels or percentage of display width. -->
6918        <attr name="keyHeight" format="dimension|fraction" />
6919        <!-- Default horizontal gap between keys. -->
6920        <attr name="horizontalGap" format="dimension|fraction" />
6921        <!-- Default vertical gap between rows of keys. -->
6922        <attr name="verticalGap" format="dimension|fraction" />
6923    </declare-styleable>
6924
6925    <declare-styleable name="Keyboard_Row">
6926        <!-- Row edge flags. -->
6927        <attr name="rowEdgeFlags">
6928            <!-- Row is anchored to the top of the keyboard. -->
6929            <flag name="top" value="4" />
6930            <!-- Row is anchored to the bottom of the keyboard. -->
6931            <flag name="bottom" value="8" />
6932        </attr>
6933        <!-- Mode of the keyboard. If the mode doesn't match the
6934             requested keyboard mode, the row will be skipped. -->
6935        <attr name="keyboardMode" format="reference" />
6936    </declare-styleable>
6937
6938    <declare-styleable name="Keyboard_Key">
6939        <!-- The unicode value or comma-separated values that this key outputs. -->
6940        <attr name="codes" format="integer|string" />
6941        <!-- The XML keyboard layout of any popup keyboard. -->
6942        <attr name="popupKeyboard" format="reference" />
6943        <!-- The characters to display in the popup keyboard. -->
6944        <attr name="popupCharacters" format="string" />
6945        <!-- Key edge flags. -->
6946        <attr name="keyEdgeFlags">
6947            <!-- Key is anchored to the left of the keyboard. -->
6948            <flag name="left" value="1" />
6949            <!-- Key is anchored to the right of the keyboard. -->
6950            <flag name="right" value="2" />
6951        </attr>
6952        <!-- Whether this is a modifier key such as Alt or Shift. -->
6953        <attr name="isModifier" format="boolean" />
6954        <!-- Whether this is a toggle key. -->
6955        <attr name="isSticky" format="boolean" />
6956        <!-- Whether long-pressing on this key will make it repeat. -->
6957        <attr name="isRepeatable" format="boolean" />
6958        <!-- The icon to show in the popup preview. -->
6959        <attr name="iconPreview" format="reference" />
6960        <!-- The string of characters to output when this key is pressed. -->
6961        <attr name="keyOutputText" format="string" />
6962        <!-- The label to display on the key. -->
6963        <attr name="keyLabel" format="string" />
6964        <!-- The icon to display on the key instead of the label. -->
6965        <attr name="keyIcon" format="reference" />
6966        <!-- Mode of the keyboard. If the mode doesn't match the
6967             requested keyboard mode, the key will be skipped. -->
6968        <attr name="keyboardMode" />
6969    </declare-styleable>
6970
6971    <!-- =============================== -->
6972    <!-- AppWidget package class attributes -->
6973    <!-- =============================== -->
6974    <eat-comment />
6975
6976    <!-- Use <code>appwidget-provider</code> as the root tag of the XML resource that
6977         describes an AppWidget provider.  See {@link android.appwidget android.appwidget}
6978         package for more info.
6979     -->
6980    <declare-styleable name="AppWidgetProviderInfo">
6981        <!-- Minimum width of the AppWidget. -->
6982        <attr name="minWidth"/>
6983        <!-- Minimum height of the AppWidget. -->
6984        <attr name="minHeight"/>
6985        <!-- Minimum width that the AppWidget can be resized to. -->
6986        <attr name="minResizeWidth" format="dimension"/>
6987        <!-- Minimum height that the AppWidget can be resized to. -->
6988        <attr name="minResizeHeight" format="dimension"/>
6989        <!-- Update period in milliseconds, or 0 if the AppWidget will update itself. -->
6990        <attr name="updatePeriodMillis" format="integer" />
6991        <!-- A resource id of a layout. -->
6992        <attr name="initialLayout" format="reference" />
6993        <!-- A resource id of a layout. -->
6994        <attr name="initialKeyguardLayout" format="reference" />
6995        <!-- A class name in the AppWidget's package to be launched to configure.
6996             If not supplied, then no activity will be launched. -->
6997        <attr name="configure" format="string" />
6998        <!-- A preview of what the AppWidget will look like after it's configured.
6999              If not supplied, the AppWidget's icon will be used. -->
7000        <attr name="previewImage" format="reference" />
7001        <!-- The view id of the AppWidget subview which should be auto-advanced.
7002             by the widget's host. -->
7003        <attr name="autoAdvanceViewId" format="reference" />
7004        <!-- Optional parameter which indicates if and how this widget can be
7005             resized. Supports combined values using | operator. -->
7006        <attr name="resizeMode" format="integer">
7007            <flag name="none" value="0x0" />
7008            <flag name="horizontal" value="0x1" />
7009            <flag name="vertical" value="0x2" />
7010        </attr>
7011        <!-- Optional parameter which indicates where this widget can be shown,
7012             ie. home screen, keyguard, search bar or any combination thereof.
7013             Supports combined values using | operator. -->
7014        <attr name="widgetCategory" format="integer">
7015            <flag name="home_screen" value="0x1" />
7016            <flag name="keyguard" value="0x2" />
7017            <flag name="searchbox" value="0x4" />
7018        </attr>
7019    </declare-styleable>
7020
7021    <!-- =============================== -->
7022    <!-- Wallpaper preview attributes    -->
7023    <!-- =============================== -->
7024    <eat-comment />
7025
7026    <!-- Use <code>wallpaper-preview</code> as the root tag of the XML resource that
7027         describes a wallpaper preview. -->
7028    <declare-styleable name="WallpaperPreviewInfo">
7029        <!-- A resource id of a static drawable. -->
7030        <attr name="staticWallpaperPreview" format="reference" />
7031    </declare-styleable>
7032
7033    <!-- =============================== -->
7034    <!-- App package class attributes -->
7035    <!-- =============================== -->
7036    <eat-comment />
7037
7038    <!-- ============================= -->
7039    <!-- View package class attributes -->
7040    <!-- ============================= -->
7041    <eat-comment />
7042
7043    <!-- Attributes that can be used with <code>&lt;fragment&gt;</code>
7044         tags inside of the layout of an Activity.  This instantiates
7045         the given {@link android.app.Fragment} and inserts its content
7046         view into the current location in the layout. -->
7047    <declare-styleable name="Fragment">
7048        <!-- Supply the name of the fragment class to instantiate. -->
7049        <attr name="name" />
7050
7051        <!-- Supply an identifier name for the top-level view, to later retrieve it
7052             with {@link android.view.View#findViewById View.findViewById()} or
7053             {@link android.app.Activity#findViewById Activity.findViewById()}.
7054             This must be a
7055             resource reference; typically you set this using the
7056             <code>@+</code> syntax to create a new ID resources.
7057             For example: <code>android:id="@+id/my_id"</code> which
7058             allows you to later retrieve the view
7059             with <code>findViewById(R.id.my_id)</code>. -->
7060        <attr name="id" />
7061
7062        <!-- Supply a tag for the top-level view containing a String, to be retrieved
7063             later with {@link android.view.View#getTag View.getTag()} or
7064             searched for with {@link android.view.View#findViewWithTag
7065             View.findViewWithTag()}.  It is generally preferable to use
7066             IDs (through the android:id attribute) instead of tags because
7067             they are faster and allow for compile-time type checking. -->
7068        <attr name="tag" />
7069
7070        <!-- The Transition that will be used to move Views out of the scene when the
7071             fragment is removed, hidden, or detached when not popping the back stack.
7072             Corresponds to {@link android.app.Fragment#setExitTransition(
7073             android.transition.Transition)} -->
7074        <attr name="fragmentExitTransition" format="reference"/>
7075
7076        <!-- The Transition that will be used to move Views into the initial scene.
7077             Corresponds to {@link android.app.Fragment#setEnterTransition(
7078             android.transition.Transition)} -->
7079        <attr name="fragmentEnterTransition" format="reference"/>
7080
7081        <!-- The Transition that will be used for shared elements transferred into the content
7082             Scene.
7083             Corresponds to {@link android.app.Fragment#setSharedElementEnterTransition(
7084             android.transition.Transition)} -->
7085        <attr name="fragmentSharedElementEnterTransition" format="reference"/>
7086
7087        <!-- The Transition that will be used to move Views out of the scene when the Fragment is
7088             preparing to be removed, hidden, or detached because of popping the back stack.
7089             Corresponds to {@link android.app.Fragment#setReturnTransition(
7090             android.transition.Transition)} -->
7091        <attr name="fragmentReturnTransition" format="reference"/>
7092
7093        <!-- The Transition that will be used for shared elements transferred back during a
7094             pop of the back stack. This Transition acts in the leaving Fragment.
7095             Corresponds to {@link android.app.Fragment#setSharedElementReturnTransition(
7096             android.transition.Transition)} -->
7097        <attr name="fragmentSharedElementReturnTransition" format="reference"/>
7098
7099        <!-- The Transition that will be used to move Views in to the scene when returning due
7100             to popping a back stack.
7101             Corresponds to {@link android.app.Fragment#setReenterTransition(
7102             android.transition.Transition)} -->
7103        <attr name="fragmentReenterTransition" format="reference"/>
7104
7105        <!-- Sets whether the enter and exit transitions should overlap when transitioning
7106             forward.
7107             Corresponds to {@link android.app.Fragment#setAllowEnterTransitionOverlap(
7108             boolean)} -->
7109        <attr name="fragmentAllowEnterTransitionOverlap" format="reference"/>
7110
7111        <!-- Sets whether the enter and exit transitions should overlap when transitioning
7112             because of popping the back stack.
7113             Corresponds to {@link android.app.Fragment#setAllowReturnTransitionOverlap(
7114             boolean)} -->
7115        <attr name="fragmentAllowReturnTransitionOverlap" format="reference"/>
7116    </declare-styleable>
7117
7118    <!-- Use <code>device-admin</code> as the root tag of the XML resource that
7119         describes a
7120         {@link android.app.admin.DeviceAdminReceiver}, which is
7121         referenced from its
7122         {@link android.app.admin.DeviceAdminReceiver#DEVICE_ADMIN_META_DATA}
7123         meta-data entry.  Described here are the attributes that can be
7124         included in that tag. -->
7125    <declare-styleable name="DeviceAdmin">
7126        <!-- Control whether the admin is visible to the user, even when it
7127             is not enabled.  This is true by default.  You may want to make
7128             it false if your admin does not make sense to be turned on
7129             unless some explicit action happens in your app. -->
7130        <attr name="visible" />
7131    </declare-styleable>
7132
7133    <!-- Use <code>wallpaper</code> as the root tag of the XML resource that
7134         describes an
7135         {@link android.service.wallpaper.WallpaperService}, which is
7136         referenced from its
7137         {@link android.service.wallpaper.WallpaperService#SERVICE_META_DATA}
7138         meta-data entry.  Described here are the attributes that can be
7139         included in that tag. -->
7140    <declare-styleable name="Wallpaper">
7141        <attr name="settingsActivity" />
7142
7143        <!-- Reference to a the wallpaper's thumbnail bitmap. -->
7144        <attr name="thumbnail" format="reference" />
7145
7146        <!-- Name of the author of this component, e.g. Google. -->
7147        <attr name="author" format="reference" />
7148
7149        <!-- Short description of the component's purpose or behavior. -->
7150        <attr name="description" />
7151    </declare-styleable>
7152
7153    <!-- Use <code>dream</code> as the root tag of the XML resource that
7154         describes an
7155         {@link android.service.dreams.DreamService}, which is
7156         referenced from its
7157         {@link android.service.dreams.DreamService#DREAM_META_DATA}
7158         meta-data entry.  Described here are the attributes that can be
7159         included in that tag. -->
7160    <declare-styleable name="Dream">
7161        <!-- Component name of an activity that allows the user to modify
7162             the settings for this dream. -->
7163        <attr name="settingsActivity" />
7164    </declare-styleable>
7165
7166    <!-- @SystemApi Use <code>trust-agent</code> as the root tag of the XML resource that
7167         describes an {@link android.service.trust.TrustAgentService}, which is
7168         referenced from its {@link android.service.trust.TrustAgentService#TRUST_AGENT_META_DATA}
7169         meta-data entry.  Described here are the attributes that can be included in that tag.
7170         @hide -->
7171    <declare-styleable name="TrustAgent">
7172        <!-- @SystemApi Component name of an activity that allows the user to modify
7173             the settings for this trust agent. @hide -->
7174        <attr name="settingsActivity" />
7175        <!-- @SystemApi Title for a preference that allows that user to launch the
7176             activity to modify trust agent settings. @hide -->
7177        <attr name="title" />
7178        <!-- @SystemApi Summary for the same preference as the title. @hide -->
7179        <attr name="summary" />
7180    </declare-styleable>
7181
7182    <!-- =============================== -->
7183    <!-- Accounts package class attributes -->
7184    <!-- =============================== -->
7185    <eat-comment />
7186
7187    <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
7188         describes an account authenticator.
7189     -->
7190    <declare-styleable name="AccountAuthenticator">
7191        <!-- The account type this authenticator handles. -->
7192        <attr name="accountType" format="string"/>
7193        <!-- The user-visible name of the authenticator. -->
7194        <attr name="label"/>
7195        <!-- The icon of the authenticator. -->
7196        <attr name="icon"/>
7197        <!-- Smaller icon of the authenticator. -->
7198        <attr name="smallIcon" format="reference"/>
7199        <!-- A preferences.xml file for authenticator-specific settings. -->
7200        <attr name="accountPreferences" format="reference"/>
7201        <!-- Account handles its own token storage and permissions.
7202             Default to false
7203          -->
7204        <attr name="customTokens" format="boolean"/>
7205    </declare-styleable>
7206
7207    <!-- =============================== -->
7208    <!-- Accounts package class attributes -->
7209    <!-- =============================== -->
7210    <eat-comment />
7211
7212    <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
7213         describes an account authenticator.
7214     -->
7215    <declare-styleable name="SyncAdapter">
7216        <!-- the authority of a content provider. -->
7217        <attr name="contentAuthority" format="string"/>
7218        <attr name="accountType"/>
7219        <attr name="userVisible" format="boolean"/>
7220        <attr name="supportsUploading" format="boolean"/>
7221        <!-- Set to true to tell the SyncManager that this SyncAdapter supports
7222             multiple simultaneous syncs for the same account type and authority.
7223             Otherwise the SyncManager will be sure not to issue a start sync request
7224             to this SyncAdapter if the SyncAdapter is already syncing another account.
7225             Defaults to false.
7226             -->
7227        <attr name="allowParallelSyncs" format="boolean"/>
7228        <!-- Set to true to tell the SyncManager to automatically call setIsSyncable(..., ..., 1)
7229             for the SyncAdapter instead of issuaing an initialization sync to the SyncAdapter.
7230             Defaults to false.
7231             -->
7232        <attr name="isAlwaysSyncable" format="boolean"/>
7233        <!-- If provided, specifies the action of the settings
7234             activity for this SyncAdapter.
7235             -->
7236        <attr name="settingsActivity"/>
7237    </declare-styleable>
7238
7239    <!-- =============================== -->
7240    <!-- Contacts meta-data attributes -->
7241    <!-- =============================== -->
7242    <eat-comment />
7243
7244    <!-- TODO: remove this deprecated styleable. -->
7245    <eat-comment />
7246    <declare-styleable name="Icon">
7247        <attr name="icon" />
7248        <attr name="mimeType" />
7249    </declare-styleable>
7250
7251    <!-- TODO: remove this deprecated styleable -->
7252    <eat-comment />
7253    <declare-styleable name="IconDefault">
7254        <attr name="icon" />
7255    </declare-styleable>
7256
7257    <!-- Maps a specific contact data MIME-type to styling information. -->
7258    <declare-styleable name="ContactsDataKind">
7259        <!-- Mime-type handled by this mapping. -->
7260        <attr name="mimeType" />
7261        <!-- Icon used to represent data of this kind. -->
7262        <attr name="icon" />
7263        <!-- Column in data table that summarizes this data. -->
7264        <attr name="summaryColumn" format="string" />
7265        <!-- Column in data table that contains details for this data. -->
7266        <attr name="detailColumn" format="string" />
7267        <!-- Flag indicating that detail should be built from SocialProvider. -->
7268        <attr name="detailSocialSummary" format="boolean" />
7269        <!-- Resource representing the term "All Contacts" (e.g. "All Friends" or
7270        "All connections"). Optional (Default is "All Contacts"). -->
7271        <attr name="allContactsName" format="string" />
7272    </declare-styleable>
7273
7274    <!-- =============================== -->
7275    <!-- TabSelector class attributes -->
7276    <!-- =============================== -->
7277    <eat-comment />
7278
7279    <declare-styleable name="SlidingTab">
7280        <!-- Use "horizontal" for a row, "vertical" for a column.  The default is horizontal. -->
7281        <attr name="orientation" />
7282    </declare-styleable>
7283
7284    <!-- =============================== -->
7285    <!-- GlowPadView class attributes -->
7286    <!-- =============================== -->
7287    <eat-comment />
7288    <declare-styleable name="GlowPadView">
7289        <!-- Reference to an array resource that be used as description for the targets around the circle.
7290             {@deprecated Removed.} -->
7291        <attr name="targetDescriptions" format="reference" />
7292
7293        <!-- Reference to an array resource that be used to announce the directions with targets around the circle.
7294             {@deprecated Removed.}-->
7295        <attr name="directionDescriptions" format="reference" />
7296    </declare-styleable>
7297
7298    <!-- =============================== -->
7299    <!-- Location package class attributes -->
7300    <!-- =============================== -->
7301    <eat-comment />
7302
7303    <!-- Use <code>injected-location-setting</code> as the root tag of the XML resource that
7304         describes an injected "Location services" setting. Note that the status value (subtitle)
7305         for the setting is specified dynamically by a subclass of SettingInjectorService.
7306     -->
7307    <declare-styleable name="SettingInjectorService">
7308        <!-- The title for the preference. -->
7309        <attr name="title"/>
7310        <!-- The icon for the preference, should refer to all apps covered by the setting. Typically
7311             a generic icon for the developer. -->
7312        <attr name="icon"/>
7313        <!-- The activity to launch when the setting is clicked on. -->
7314        <attr name="settingsActivity"/>
7315    </declare-styleable>
7316
7317    <!-- =============================== -->
7318    <!-- LockPatternView class attributes -->
7319    <!-- =============================== -->
7320    <eat-comment />
7321
7322    <declare-styleable name="LockPatternView">
7323        <!-- Aspect to use when drawing LockPatternView. Choices are "square"(default), "lock_width"
7324             or "lock_height" -->
7325        <attr name="aspect" format="string" />
7326        <!-- Color to use when drawing LockPatternView paths. -->
7327        <attr name="pathColor" format="color|reference" />
7328        <!-- The regular pattern color -->
7329        <attr name="regularColor" format="color|reference" />
7330        <!-- The error color -->
7331        <attr name="errorColor" format="color|reference" />
7332        <!-- The success color -->
7333        <attr name="successColor" format="color|reference"/>
7334    </declare-styleable>
7335
7336    <!-- Use <code>recognition-service</code> as the root tag of the XML resource that
7337         describes a {@link android.speech.RecognitionService}, which is referenced from
7338         its {@link android.speech.RecognitionService#SERVICE_META_DATA} meta-data entry.
7339         Described here are the attributes that can be included in that tag. -->
7340    <declare-styleable name="RecognitionService">
7341        <attr name="settingsActivity" />
7342    </declare-styleable>
7343
7344    <!-- Use <code>voice-interaction-service</code> as the root tag of the XML resource that
7345         describes a {@link android.service.voice.VoiceInteractionService}, which is referenced from
7346         its {@link android.service.voice.VoiceInteractionService#SERVICE_META_DATA} meta-data entry.
7347         Described here are the attributes that can be included in that tag. -->
7348    <declare-styleable name="VoiceInteractionService">
7349        <!-- The service that hosts active voice interaction sessions.  This is required. -->
7350        <attr name="sessionService" format="string" />
7351        <!-- The service that provides voice recognition.  This is required.  When the user
7352             selects this voice interaction service, they will also be implicitly selecting
7353             the component here for their recognition service. -->
7354        <attr name="recognitionService" format="string" />
7355        <attr name="settingsActivity" />
7356        <!-- Flag indicating whether this voice interaction service is capable of handling the
7357             assist action. -->
7358        <attr name="supportsAssist" format="boolean" />
7359        <!-- Flag indicating whether this voice interaction service is capable of being launched
7360             from the keyguard. -->
7361        <attr name="supportsLaunchVoiceAssistFromKeyguard" format="boolean" />
7362    </declare-styleable>
7363
7364    <!-- Use <code>voice-enrollment-application</code>
7365         as the root tag of the XML resource that escribes the supported keyphrases (hotwords)
7366         by the enrollment application.
7367         Described here are the attributes that can be included in that tag.
7368         @hide
7369         @SystemApi -->
7370    <declare-styleable name="VoiceEnrollmentApplication">
7371        <!-- A globally unique ID for the keyphrase. @hide @SystemApi -->
7372        <attr name="searchKeyphraseId" format="integer" />
7373        <!-- The actual keyphrase/hint text, or empty if not keyphrase dependent. @hide @SystemApi -->
7374        <attr name="searchKeyphrase" format="string" />
7375        <!-- A comma separated list of BCP-47 language tag for locales that are supported
7376             for this keyphrase, or empty if not locale dependent. @hide @SystemApi -->
7377        <attr name="searchKeyphraseSupportedLocales" format="string" />
7378        <!-- Flags for supported recognition modes. @hide @SystemApi -->
7379        <attr name="searchKeyphraseRecognitionFlags">
7380            <flag name="none" value="0" />
7381            <flag name="voiceTrigger" value="0x1" />
7382            <flag name="userIdentification" value="0x2" />
7383        </attr>
7384    </declare-styleable>
7385
7386    <!-- Attributes used to style the Action Bar. -->
7387    <declare-styleable name="ActionBar">
7388        <!-- The type of navigation to use. -->
7389        <attr name="navigationMode">
7390            <!-- Normal static title text -->
7391            <enum name="normal" value="0" />
7392            <!-- The action bar will use a selection list for navigation. -->
7393            <enum name="listMode" value="1" />
7394            <!-- The action bar will use a series of horizontal tabs for navigation. -->
7395            <enum name="tabMode" value="2" />
7396        </attr>
7397        <!-- Options affecting how the action bar is displayed. -->
7398        <attr name="displayOptions">
7399            <flag name="none" value="0" />
7400            <flag name="useLogo" value="0x1" />
7401            <flag name="showHome" value="0x2" />
7402            <flag name="homeAsUp" value="0x4" />
7403            <flag name="showTitle" value="0x8" />
7404            <flag name="showCustom" value="0x10" />
7405            <flag name="disableHome" value="0x20" />
7406        </attr>
7407        <!-- Specifies title text used for navigationMode="normal" -->
7408        <attr name="title" />
7409        <!-- Specifies subtitle text used for navigationMode="normal" -->
7410        <attr name="subtitle" format="string" />
7411        <!-- Specifies a style to use for title text. -->
7412        <attr name="titleTextStyle" format="reference" />
7413        <!-- Specifies a style to use for subtitle text. -->
7414        <attr name="subtitleTextStyle" format="reference" />
7415        <!-- Specifies the drawable used for the application icon. -->
7416        <attr name="icon" />
7417        <!-- Specifies the drawable used for the application logo. -->
7418        <attr name="logo" />
7419        <!-- Specifies the drawable used for item dividers. -->
7420        <attr name="divider" />
7421        <!-- Specifies a background drawable for the action bar. -->
7422        <attr name="background" />
7423        <!-- Specifies a background drawable for a second stacked row of the action bar. -->
7424        <attr name="backgroundStacked" format="reference|color" />
7425        <!-- Specifies a background drawable for the bottom component of a split action bar. -->
7426        <attr name="backgroundSplit" format="reference|color" />
7427        <!-- Specifies a layout for custom navigation. Overrides navigationMode. -->
7428        <attr name="customNavigationLayout" format="reference" />
7429        <!-- Specifies a fixed height. -->
7430        <attr name="height" />
7431        <!-- Specifies a layout to use for the "home" section of the action bar. -->
7432        <attr name="homeLayout" format="reference" />
7433        <!-- Specifies a style resource to use for an embedded progress bar. -->
7434        <attr name="progressBarStyle" />
7435        <!-- Specifies a style resource to use for an indeterminate progress spinner. -->
7436        <attr name="indeterminateProgressStyle" format="reference" />
7437        <!-- Specifies the horizontal padding on either end for an embedded progress bar. -->
7438        <attr name="progressBarPadding" format="dimension" />
7439        <!-- Up navigation glyph -->
7440        <attr name="homeAsUpIndicator" />
7441        <!-- Specifies padding that should be applied to the left and right sides of
7442             system-provided items in the bar. -->
7443        <attr name="itemPadding" format="dimension" />
7444        <!-- Set true to hide the action bar on a vertical nested scroll of content. -->
7445        <attr name="hideOnContentScroll" format="boolean" />
7446        <!-- Minimum inset for content views within a bar. Navigation buttons and
7447             menu views are excepted. Only valid for some themes and configurations. -->
7448        <attr name="contentInsetStart" format="dimension" />
7449        <!-- Minimum inset for content views within a bar. Navigation buttons and
7450             menu views are excepted. Only valid for some themes and configurations. -->
7451        <attr name="contentInsetEnd" format="dimension" />
7452        <!-- Minimum inset for content views within a bar. Navigation buttons and
7453             menu views are excepted. Only valid for some themes and configurations. -->
7454        <attr name="contentInsetLeft" format="dimension" />
7455        <!-- Minimum inset for content views within a bar. Navigation buttons and
7456             menu views are excepted. Only valid for some themes and configurations. -->
7457        <attr name="contentInsetRight" format="dimension" />
7458        <!-- Elevation for the action bar itself -->
7459        <attr name="elevation" />
7460        <!-- Reference to a theme that should be used to inflate popups
7461             shown by widgets in the action bar. -->
7462        <attr name="popupTheme" />
7463    </declare-styleable>
7464
7465    <declare-styleable name="ActionMode">
7466        <!-- Specifies a style to use for title text. -->
7467        <attr name="titleTextStyle" />
7468        <!-- Specifies a style to use for subtitle text. -->
7469        <attr name="subtitleTextStyle" />
7470        <!-- Specifies a background for the action mode bar. -->
7471        <attr name="background" />
7472        <!-- Specifies a background for the split action mode bar. -->
7473        <attr name="backgroundSplit" />
7474        <!-- Specifies a fixed height for the action mode bar. -->
7475        <attr name="height" />
7476        <!-- Specifies a layout to use for the "close" item at the starting edge. -->
7477        <attr name="closeItemLayout" format="reference" />
7478    </declare-styleable>
7479
7480    <declare-styleable name="SearchView">
7481        <!-- The layout to use for the search view. -->
7482        <attr name="layout" />
7483        <!-- The default state of the SearchView. If true, it will be iconified when not in
7484             use and expanded when clicked. -->
7485        <attr name="iconifiedByDefault" format="boolean" />
7486        <!-- An optional maximum width of the SearchView. -->
7487        <attr name="maxWidth" />
7488        <!-- An optional query hint string to be displayed in the empty query field. -->
7489        <attr name="queryHint" format="string" />
7490        <!-- Default query hint used when {@code queryHint} is undefined and
7491             the search view's {@code SearchableInfo} does not provide a hint.
7492             @hide -->
7493        <attr name="defaultQueryHint" format="string" />
7494        <!-- The IME options to set on the query text field. -->
7495        <attr name="imeOptions" />
7496        <!-- The input type to set on the query text field. -->
7497        <attr name="inputType" />
7498        <!-- Close button icon -->
7499        <attr name="closeIcon" format="reference" />
7500        <!-- Go button icon -->
7501        <attr name="goIcon" format="reference" />
7502        <!-- Search icon -->
7503        <attr name="searchIcon" format="reference" />
7504        <!-- Search icon displayed as a text field hint -->
7505        <attr name="searchHintIcon" format="reference" />
7506        <!-- Voice button icon -->
7507        <attr name="voiceIcon" format="reference" />
7508        <!-- Commit icon shown in the query suggestion row -->
7509        <attr name="commitIcon" format="reference" />
7510        <!-- Layout for query suggestion rows -->
7511        <attr name="suggestionRowLayout" format="reference" />
7512        <!-- Background for the section containing the search query -->
7513        <attr name="queryBackground" format="reference" />
7514        <!-- Background for the section containing the action (e.g. voice search) -->
7515        <attr name="submitBackground" format="reference" />
7516        <attr name="focusable" />
7517    </declare-styleable>
7518
7519    <declare-styleable name="Switch">
7520        <!-- Drawable to use as the "thumb" that switches back and forth. -->
7521        <attr name="thumb" />
7522        <!-- Tint to apply to the thumb. -->
7523        <attr name="thumbTint" />
7524        <!-- Blending mode used to apply the thumb tint. -->
7525        <attr name="thumbTintMode" />
7526        <!-- Drawable to use as the "track" that the switch thumb slides within. -->
7527        <attr name="track" format="reference" />
7528        <!-- Tint to apply to the track. -->
7529        <attr name="trackTint" format="color" />
7530        <!-- Blending mode used to apply the track tint. -->
7531        <attr name="trackTintMode">
7532            <!-- The tint is drawn on top of the drawable.
7533                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
7534            <enum name="src_over" value="3" />
7535            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
7536                 color channels are thrown out. [Sa * Da, Sc * Da] -->
7537            <enum name="src_in" value="5" />
7538            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
7539                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
7540            <enum name="src_atop" value="9" />
7541            <!-- Multiplies the color and alpha channels of the drawable with those of
7542                 the tint. [Sa * Da, Sc * Dc] -->
7543            <enum name="multiply" value="14" />
7544            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
7545            <enum name="screen" value="15" />
7546            <!-- Combines the tint and drawable color and alpha channels, clamping the
7547                 result to valid color values. Saturate(S + D) -->
7548            <enum name="add" value="16" />
7549        </attr>
7550        <!-- Text to use when the switch is in the checked/"on" state. -->
7551        <attr name="textOn" />
7552        <!-- Text to use when the switch is in the unchecked/"off" state. -->
7553        <attr name="textOff" />
7554        <!-- Amount of padding on either side of text within the switch thumb. -->
7555        <attr name="thumbTextPadding" format="dimension" />
7556        <!-- TextAppearance style for text displayed on the switch thumb. -->
7557        <attr name="switchTextAppearance" format="reference" />
7558        <!-- Minimum width for the switch component -->
7559        <attr name="switchMinWidth" format="dimension" />
7560        <!-- Minimum space between the switch and caption text -->
7561        <attr name="switchPadding" format="dimension" />
7562        <!-- Whether to split the track and leave a gap for the thumb drawable. -->
7563        <attr name="splitTrack" />
7564        <!-- Whether to draw on/off text. -->
7565        <attr name="showText" format="boolean" />
7566    </declare-styleable>
7567
7568    <declare-styleable name="Pointer">
7569        <!-- Reference to a pointer icon drawable with STYLE_ARROW -->
7570        <attr name="pointerIconArrow" format="reference" />
7571        <!-- Reference to a pointer icon drawable with STYLE_SPOT_HOVER -->
7572        <attr name="pointerIconSpotHover" format="reference" />
7573        <!-- Reference to a pointer icon drawable with STYLE_SPOT_TOUCH -->
7574        <attr name="pointerIconSpotTouch" format="reference" />
7575        <!-- Reference to a pointer icon drawable with STYLE_SPOT_ANCHOR -->
7576        <attr name="pointerIconSpotAnchor" format="reference" />
7577    </declare-styleable>
7578
7579    <declare-styleable name="PointerIcon">
7580        <!-- Drawable to use as the icon bitmap. -->
7581        <attr name="bitmap" format="reference" />
7582        <!-- X coordinate of the icon hot spot. -->
7583        <attr name="hotSpotX" format="dimension" />
7584        <!-- Y coordinate of the icon hot spot. -->
7585        <attr name="hotSpotY" format="dimension" />
7586    </declare-styleable>
7587
7588    <declare-styleable name="Storage">
7589        <!-- path to mount point for the storage -->
7590        <attr name="mountPoint" format="string" />
7591        <!-- user visible description of the storage -->
7592        <attr name="storageDescription" format="string" />
7593        <!-- true if the storage is the primary external storage -->
7594        <attr name="primary" format="boolean" />
7595        <!-- true if the storage is removable -->
7596        <attr name="removable" format="boolean" />
7597        <!-- true if the storage is emulated via the FUSE sdcard daemon -->
7598        <attr name="emulated" format="boolean" />
7599        <!-- number of megabytes of storage MTP should reserve for free storage
7600             (used for emulated storage that is shared with system's data partition) -->
7601        <attr name="mtpReserve" format="integer" />
7602        <!-- true if the storage can be shared via USB mass storage -->
7603        <attr name="allowMassStorage" format="boolean" />
7604        <!-- maximum file size for the volume in megabytes, zero or unspecified if it is unbounded -->
7605        <attr name="maxFileSize" format="integer" />
7606    </declare-styleable>
7607
7608    <declare-styleable name="SwitchPreference">
7609        <!-- The summary for the Preference in a PreferenceActivity screen when the
7610             SwitchPreference is checked. If separate on/off summaries are not
7611             needed, the summary attribute can be used instead. -->
7612        <attr name="summaryOn" />
7613        <!-- The summary for the Preference in a PreferenceActivity screen when the
7614             SwitchPreference is unchecked. If separate on/off summaries are not
7615             needed, the summary attribute can be used instead. -->
7616        <attr name="summaryOff" />
7617        <!-- The text used on the switch itself when in the "on" state.
7618             This should be a very SHORT string, as it appears in a small space. -->
7619        <attr name="switchTextOn" format="string" />
7620        <!-- The text used on the switch itself when in the "off" state.
7621             This should be a very SHORT string, as it appears in a small space. -->
7622        <attr name="switchTextOff" format="string" />
7623        <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
7624             dependents will be disabled when this is unchecked, so the value of this preference is false. -->
7625        <attr name="disableDependentsState" />
7626    </declare-styleable>
7627
7628    <declare-styleable name="SeekBarPreference">
7629        <attr name="layout" />
7630    </declare-styleable>
7631
7632    <!-- Base attributes available to PreferenceFragment. -->
7633    <declare-styleable name="PreferenceFragment">
7634        <!-- The layout for the PreferenceFragment. This should rarely need to be changed. -->
7635        <attr name="layout" />
7636    </declare-styleable>
7637
7638    <!-- Base attributes available to PreferenceActivity. -->
7639    <declare-styleable name="PreferenceActivity">
7640        <!-- The layout for the Preference Activity. This should rarely need to be changed. -->
7641        <attr name="layout" />
7642        <!-- The layout for the Preference Header. This should rarely need to be changed. -->
7643        <attr name="headerLayout" format="reference" />
7644        <!-- true if the Icon view will be removed when there is none and thus not showing
7645             the fixed margins. -->
7646        <attr name="headerRemoveIconIfEmpty" format="boolean" />
7647    </declare-styleable>
7648
7649    <!-- Use <code>tts-engine</code> as the root tag of the XML resource that
7650         describes a text to speech engine implemented as a subclass of
7651         {@link android.speech.tts.TextToSpeechService}.
7652
7653         The XML resource must be referenced from its
7654         {@link android.speech.tts.TextToSpeech.Engine#SERVICE_META_DATA} meta-data
7655         entry. -->
7656    <declare-styleable name="TextToSpeechEngine">
7657        <attr name="settingsActivity" />
7658    </declare-styleable>
7659
7660    <!-- Use <code>keyboard-layouts</code> as the root tag of the XML resource that
7661         describes a collection of keyboard layouts provided by an application.
7662         Each keyboard layout is declared by a <code>keyboard-layout</code> tag
7663         with these attributes.
7664
7665         The XML resource that contains the keyboard layouts must be referenced from its
7666         {@link android.hardware.input.InputManager#META_DATA_KEYBOARD_LAYOUTS}
7667         meta-data entry used with broadcast receivers for
7668         {@link android.hardware.input.InputManager#ACTION_QUERY_KEYBOARD_LAYOUTS}. -->
7669    <declare-styleable name="KeyboardLayout">
7670        <!-- The name of the keyboard layout, must be unique in the receiver. -->
7671        <attr name="name" />
7672        <!-- The display label of the keyboard layout. -->
7673        <attr name="label" />
7674        <!-- The key character map file resource. -->
7675        <attr name="keyboardLayout" format="reference" />
7676    </declare-styleable>
7677
7678    <declare-styleable name="MediaRouteButton">
7679        <!-- This drawable is a state list where the "activated" state
7680             indicates active media routing. Non-activated indicates
7681             that media is playing to the local device only.
7682             @hide -->
7683        <attr name="externalRouteEnabledDrawable" format="reference" />
7684
7685        <!-- The types of media routes the button and its resulting
7686             chooser will filter by. -->
7687        <attr name="mediaRouteTypes" format="integer">
7688            <!-- Allow selection of live audio routes. -->
7689            <enum name="liveAudio" value="0x1" />
7690            <!-- Allow selection of user (app-specified) routes. -->
7691            <enum name="user" value="0x800000" />
7692        </attr>
7693
7694        <attr name="minWidth" />
7695        <attr name="minHeight" />
7696    </declare-styleable>
7697
7698    <!-- PagedView specific attributes. These attributes are used to customize
7699         a PagedView view in XML files. -->
7700    <declare-styleable name="PagedView">
7701        <!-- The space between adjacent pages of the PagedView. -->
7702        <attr name="pageSpacing" format="dimension" />
7703        <!-- The padding for the scroll indicator area -->
7704        <attr name="scrollIndicatorPaddingLeft" format="dimension" />
7705        <attr name="scrollIndicatorPaddingRight" format="dimension" />
7706    </declare-styleable>
7707
7708    <declare-styleable name="KeyguardGlowStripView">
7709        <attr name="dotSize" format="dimension" />
7710        <attr name="numDots" format="integer" />
7711        <attr name="glowDot" format="reference" />
7712        <attr name="leftToRight" format="boolean" />
7713    </declare-styleable>
7714
7715    <!-- Some child types have special behavior. -->
7716    <attr name="layout_childType">
7717        <!-- No special behavior. Layout will proceed as normal. -->
7718        <enum name="none" value="0" />
7719        <!-- Widget container.
7720             This will be resized in response to certain events. -->
7721        <enum name="widget" value="1" />
7722        <!-- Security challenge container.
7723             This will be dismissed/shown in response to certain events,
7724             possibly obscuring widget elements. -->
7725        <enum name="challenge" value="2" />
7726        <!-- User switcher.
7727             This will consume space from the total layout area. -->
7728        <enum name="userSwitcher" value="3" />
7729        <!-- Scrim. This will block access to child views that
7730             come before it in the child list in bouncer mode. -->
7731        <enum name="scrim" value="4" />
7732        <!-- The home for widgets. All widgets will be descendents of this. -->
7733        <enum name="widgets" value="5" />
7734        <!-- This is a handle that is used for expanding the
7735             security challenge container when it is collapsed. -->
7736        <enum name="expandChallengeHandle" value="6" />
7737        <!-- Delete drop target.  This will be the drop target to delete pages. -->
7738        <enum name="pageDeleteDropTarget" value="7" />
7739    </attr>
7740
7741    <!-- Attributes that can be used with <code>&lt;FragmentBreadCrumbs&gt;</code>
7742    tags. -->
7743    <declare-styleable name="FragmentBreadCrumbs">
7744        <attr name="gravity" />
7745        <attr name="itemLayout" format="reference" />
7746        <attr name="itemColor" format="color|reference" />
7747    </declare-styleable>
7748
7749    <declare-styleable name="Toolbar">
7750        <attr name="titleTextAppearance" format="reference" />
7751        <attr name="subtitleTextAppearance" format="reference" />
7752        <attr name="title" />
7753        <attr name="subtitle" />
7754        <attr name="gravity" />
7755        <attr name="titleMargins" format="dimension" />
7756        <attr name="titleMarginStart" format="dimension" />
7757        <attr name="titleMarginEnd" format="dimension" />
7758        <attr name="titleMarginTop" format="dimension" />
7759        <attr name="titleMarginBottom" format="dimension" />
7760        <attr name="contentInsetStart" />
7761        <attr name="contentInsetEnd" />
7762        <attr name="contentInsetLeft" />
7763        <attr name="contentInsetRight" />
7764        <attr name="maxButtonHeight" format="dimension" />
7765        <attr name="navigationButtonStyle" format="reference" />
7766        <attr name="buttonGravity">
7767            <!-- Push object to the top of its container, not changing its size. -->
7768            <flag name="top" value="0x30" />
7769            <!-- Push object to the bottom of its container, not changing its size. -->
7770            <flag name="bottom" value="0x50" />
7771        </attr>
7772        <!-- Icon drawable to use for the collapse button. -->
7773        <attr name="collapseIcon" format="reference" />
7774        <!-- Text to set as the content description for the collapse button. -->
7775        <attr name="collapseContentDescription" format="string" />
7776        <!-- Reference to a theme that should be used to inflate popups
7777             shown by widgets in the toolbar. -->
7778        <attr name="popupTheme" format="reference" />
7779        <!-- Icon drawable to use for the navigation button located at
7780             the start of the toolbar. -->
7781        <attr name="navigationIcon" format="reference" />
7782        <!-- Text to set as the content description for the navigation button
7783             located at the start of the toolbar. -->
7784        <attr name="navigationContentDescription" format="string" />
7785        <!-- Drawable to set as the logo that appears at the starting side of
7786             the Toolbar, just after the navigation button. -->
7787        <attr name="logo" />
7788        <!-- A content description string to describe the appearance of the
7789             associated logo image. -->
7790        <attr name="logoDescription" format="string" />
7791        <!-- A color to apply to the title string. -->
7792        <attr name="titleTextColor" format="color" />
7793        <!-- A color to apply to the subtitle string. -->
7794        <attr name="subtitleTextColor" format="color" />
7795    </declare-styleable>
7796
7797    <declare-styleable name="Toolbar_LayoutParams">
7798        <attr name="layout_gravity" />
7799    </declare-styleable>
7800
7801    <declare-styleable name="ActionBar_LayoutParams">
7802        <attr name="layout_gravity" />
7803    </declare-styleable>
7804
7805    <!-- Used as a filter array on the theme to pull out only the EdgeEffect-relevant bits. -->
7806    <declare-styleable name="EdgeEffect">
7807        <attr name="colorEdgeEffect" />
7808    </declare-styleable>
7809
7810    <!-- Use <code>tv-input</code> as the root tag of the XML resource that describes a
7811         {@link android.media.tv.TvInputService}, which is referenced from its
7812         {@link android.media.tv.TvInputService#SERVICE_META_DATA} meta-data entry.
7813         Described here are the attributes that can be included in that tag. -->
7814    <declare-styleable name="TvInputService">
7815        <!-- Component name of an activity for setup of this service.
7816             The setup includes scanning channels and registering EPG data. -->
7817        <attr name="setupActivity" format="string" />
7818        <!-- Component name of an activity that allows the user to modify
7819             the settings for this service. -->
7820        <attr name="settingsActivity" />
7821    </declare-styleable>
7822
7823    <!-- Attributes that can be used with <code>rating-system-definition</code> tags inside of the
7824         XML resource that describes TV content rating of a {@link android.media.tv.TvInputService},
7825         which is referenced from its
7826         {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. -->
7827    <declare-styleable name="RatingSystemDefinition">
7828        <!-- The unique name of the content rating system. -->
7829        <attr name="name" />
7830        <!-- The title of the content rating system which is shown to the user. -->
7831        <attr name="title" />
7832        <!-- The short description of the content rating system. -->
7833        <attr name="description" />
7834        <!-- The country code associated with the content rating system, which consists of two
7835             uppercase letters that conform to the ISO 3166 standard. -->
7836        <attr name="country" format="string" />
7837    </declare-styleable>
7838
7839    <!-- Attributes that can be used with <code>rating-definition</code> tags inside of the XML
7840         resource that describes TV content rating of a {@link android.media.tv.TvInputService},
7841         which is referenced from its
7842         {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. -->
7843    <declare-styleable name="RatingDefinition">
7844        <!-- The unique name of the content rating. -->
7845        <attr name="name" />
7846        <!-- The title of the content rating which is shown to the user. -->
7847        <attr name="title" />
7848        <!-- The short description of the content rating. -->
7849        <attr name="description" />
7850        <!-- The age associated with the content rating. The content of this rating is suitable for
7851             people of this age or above. -->
7852        <attr name="contentAgeHint" format="integer" />
7853    </declare-styleable>
7854
7855    <declare-styleable name="ResolverDrawerLayout">
7856        <attr name="maxWidth" />
7857        <attr name="maxCollapsedHeight" format="dimension" />
7858        <attr name="maxCollapsedHeightSmall" format="dimension" />
7859    </declare-styleable>
7860
7861    <declare-styleable name="ResolverDrawerLayout_LayoutParams">
7862        <attr name="layout_alwaysShow" format="boolean" />
7863        <attr name="layout_ignoreOffset" format="boolean" />
7864        <attr name="layout_gravity" />
7865    </declare-styleable>
7866
7867    <!-- @hide -->
7868    <declare-styleable name="Lighting">
7869        <attr name="lightY" />
7870        <attr name="lightZ" />
7871        <attr name="lightRadius" />
7872        <attr name="ambientShadowAlpha" />
7873        <attr name="spotShadowAlpha" />
7874    </declare-styleable>
7875
7876    <declare-styleable name="RestrictionEntry">
7877        <attr name="key" />
7878        <attr name="restrictionType">
7879            <enum name="hidden" value="0" />
7880            <enum name="bool" value="1" />
7881            <enum name="choice" value="2" />
7882            <enum name="multi-select" value="4" />
7883            <enum name="integer" value="5" />
7884            <enum name="string" value="6" />
7885            <enum name="bundle" value="7" />
7886            <enum name="bundle_array" value="8" />
7887        </attr>
7888        <attr name="title" />
7889        <attr name="description" />
7890        <attr name="defaultValue" />
7891        <attr name="entries" />
7892        <attr name="entryValues" />
7893    </declare-styleable>
7894</resources>
7895