attrs.xml revision 44f854acd755ee3b2581922789c39ee3e1c1315c
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2006 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<!-- Formatting note: terminate all comments with a period, to avoid breaking
18     the documentation output. To suppress comment lines from the documentation
19     output, insert an eat-comment element after the comment lines.
20-->
21
22<resources>
23    <!-- These are the standard attributes that make up a complete theme. -->
24    <declare-styleable name="Theme">
25        <!-- ============== -->
26        <!-- Generic styles -->
27        <!-- ============== -->
28        <eat-comment />
29
30        <!-- Specifies that a theme has a light background with dark text on top.  -->
31        <attr name="isLightTheme" format="boolean" />
32
33        <!-- Default color of foreground imagery. -->
34        <attr name="colorForeground" format="color" />
35        <!-- Default color of foreground imagery on an inverted background. -->
36        <attr name="colorForegroundInverse" format="color" />
37        <!-- Default color of background imagery, ex. full-screen windows. -->
38        <attr name="colorBackground" format="color" />
39        <!-- Default color of background imagery for floating components, ex. dialogs, popups, and cards. -->
40        <attr name="colorBackgroundFloating" format="color" />
41        <!-- This is a hint for a solid color that can be used for caching
42             rendered views.  This should be the color of the background when
43             there is a solid background color; it should be null when the
44             background is a texture or translucent.  When a device is able
45             to use accelerated drawing (thus setting state_accelerated), the
46             cache hint is ignored and always assumed to be transparent. -->
47        <attr name="colorBackgroundCacheHint" format="color" />
48
49        <!-- Default highlight color for items that are pressed. -->
50        <attr name="colorPressedHighlight" format="color" />
51        <!-- Default highlight color for items that are long-pressed. -->
52        <attr name="colorLongPressedHighlight" format="color" />
53        <!-- Default highlight color for items that are
54             focused. (Focused meaning cursor-based selection.) -->
55        <attr name="colorFocusedHighlight" format="color" />
56        <!-- Default highlight color for items that are
57             activated. (Activated meaning persistent selection.) -->
58        <attr name="colorActivatedHighlight" format="color" />
59        <!-- Default highlight color for items in multiple selection
60             mode. -->
61        <attr name="colorMultiSelectHighlight" format="color" />
62
63        <!-- Default disabled alpha for widgets that set enabled/disabled alpha programmatically. -->
64        <attr name="disabledAlpha" format="float" />
65        <!-- Default background dim amount when a menu, dialog, or something similar pops up. -->
66        <attr name="backgroundDimAmount" format="float" />
67        <!-- Control whether dimming behind the window is enabled.  The default
68             theme does not set this value, meaning it is based on whether the
69             window is floating. -->
70        <attr name="backgroundDimEnabled" format="boolean" />
71
72        <!-- =========== -->
73        <!-- Text styles -->
74        <!-- =========== -->
75        <eat-comment />
76
77        <!-- Default appearance of text: color, typeface, size, and style. -->
78        <attr name="textAppearance" format="reference" />
79        <!-- Default appearance of text against an inverted background:
80             color, typeface, size, and style. -->
81        <attr name="textAppearanceInverse" format="reference" />
82
83        <!-- The most prominent text color.  -->
84        <attr name="textColorPrimary" format="reference|color" />
85        <!-- Secondary text color. -->
86        <attr name="textColorSecondary" format="reference|color" />
87        <!-- Tertiary text color. -->
88        <attr name="textColorTertiary" format="reference|color" />
89
90        <!-- Primary inverse text color, useful for inverted backgrounds. -->
91        <attr name="textColorPrimaryInverse" format="reference|color" />
92        <!-- Secondary inverse text color, useful for inverted backgrounds. -->
93        <attr name="textColorSecondaryInverse" format="reference|color" />
94        <!-- Tertiary inverse text color, useful for inverted backgrounds. -->
95        <attr name="textColorTertiaryInverse" format="reference|color" />
96
97        <!-- Inverse hint text color. -->
98        <attr name="textColorHintInverse" format="reference|color" />
99
100        <!-- Bright text color. Only differentiates based on the disabled state. -->
101        <attr name="textColorPrimaryDisableOnly" format="reference|color" />
102
103        <!-- Bright inverse text color. Only differentiates based on the disabled state. -->
104        <attr name="textColorPrimaryInverseDisableOnly" format="reference|color" />
105
106        <!-- Bright text color. This does not differentiate the disabled state. As an example,
107             buttons use this since they display the disabled state via the background and not the
108             foreground text color. -->
109        <attr name="textColorPrimaryNoDisable" format="reference|color" />
110        <!-- Dim text color. This does not differentiate the disabled state. -->
111        <attr name="textColorSecondaryNoDisable" format="reference|color" />
112
113        <!-- Bright inverse text color. This does not differentiate the disabled state. -->
114        <attr name="textColorPrimaryInverseNoDisable" format="reference|color" />
115        <!-- Dim inverse text color. This does not differentiate the disabled state. -->
116        <attr name="textColorSecondaryInverseNoDisable" format="reference|color" />
117
118        <!-- Bright text color for use over activated backgrounds. -->
119        <attr name="textColorPrimaryActivated" format="reference|color" />
120        <!-- Dim text color for use over activated backgrounds. -->
121        <attr name="textColorSecondaryActivated" format="reference|color" />
122
123        <!-- Text color for urls in search suggestions, used by things like global search and the browser. @hide -->
124        <attr name="textColorSearchUrl" format="reference|color" />
125
126        <!-- Color of highlighted text, when used in a light theme. -->
127        <attr name="textColorHighlightInverse" format="reference|color" />
128        <!-- Color of link text (URLs), when used in a light theme. -->
129        <attr name="textColorLinkInverse" format="reference|color" />
130
131        <!-- Color of list item text in alert dialogs. -->
132        <attr name="textColorAlertDialogListItem" format="reference|color" />
133
134        <!-- Search widget more corpus result item background. -->
135        <attr name="searchWidgetCorpusItemBackground" format="reference|color" />
136
137        <!-- Text color, typeface, size, and style for "large" text. Defaults to primary text color. -->
138        <attr name="textAppearanceLarge" format="reference" />
139        <!-- Text color, typeface, size, and style for "medium" text. Defaults to primary text color. -->
140        <attr name="textAppearanceMedium" format="reference" />
141        <!-- Text color, typeface, size, and style for "small" text. Defaults to secondary text color. -->
142        <attr name="textAppearanceSmall" format="reference" />
143
144        <!-- Text color, typeface, size, and style for "large" inverse text. Defaults to primary inverse text color. -->
145        <attr name="textAppearanceLargeInverse" format="reference" />
146        <!-- Text color, typeface, size, and style for "medium" inverse text. Defaults to primary inverse text color. -->
147        <attr name="textAppearanceMediumInverse" format="reference" />
148        <!-- Text color, typeface, size, and style for "small" inverse text. Defaults to secondary inverse text color. -->
149        <attr name="textAppearanceSmallInverse" format="reference" />
150
151        <!-- Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color. -->
152        <attr name="textAppearanceSearchResultTitle" format="reference" />
153        <!-- Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color. -->
154        <attr name="textAppearanceSearchResultSubtitle" format="reference" />
155
156        <!-- Text color, typeface, size, and style for the text inside of a button. -->
157        <attr name="textAppearanceButton" format="reference" />
158
159        <!-- Text color, typeface, size, and style for the text inside of a popup menu. -->
160        <attr name="textAppearanceLargePopupMenu" format="reference" />
161
162        <!-- Text color, typeface, size, and style for small text inside of a popup menu. -->
163        <attr name="textAppearanceSmallPopupMenu" format="reference" />
164
165        <!-- Text color, typeface, size, and style for header text inside of a popup menu. -->
166        <attr name="textAppearancePopupMenuHeader" format="reference" />
167
168        <!-- The underline color and thickness for easy correct suggestion -->
169        <attr name="textAppearanceEasyCorrectSuggestion" format="reference" />
170
171        <!-- The underline color and thickness for misspelled suggestion -->
172        <attr name="textAppearanceMisspelledSuggestion" format="reference" />
173
174        <!-- The underline color and thickness for auto correction suggestion -->
175        <attr name="textAppearanceAutoCorrectionSuggestion" format="reference" />
176
177        <!--  The underline color -->
178        <attr name="textUnderlineColor" format="reference|color" />
179        <!--  The underline thickness -->
180        <attr name="textUnderlineThickness" format="reference|dimension" />
181
182        <!-- EditText text foreground color. -->
183        <attr name="editTextColor" format="reference|color" />
184        <!-- EditText background drawable. -->
185        <attr name="editTextBackground" format="reference" />
186
187        <!-- Popup text displayed in TextView when setError is used. -->
188        <attr name="errorMessageBackground" format="reference" />
189        <!-- Background used instead of errorMessageBackground when the popup has to be above. -->
190        <attr name="errorMessageAboveBackground" format="reference" />
191
192        <!-- A styled string, specifying the style to be used for showing
193             inline candidate text when composing with an input method.  The
194             text itself will be ignored, but the style spans will be applied
195             to the candidate text as it is edited. -->
196        <attr name="candidatesTextStyleSpans" format="reference|string" />
197
198        <!-- Drawable to use for check marks. -->
199        <attr name="textCheckMark" format="reference" />
200        <attr name="textCheckMarkInverse" format="reference" />
201
202        <!-- Drawable to use for multiple choice indicators. -->
203        <attr name="listChoiceIndicatorMultiple" format="reference" />
204
205        <!-- Drawable to use for single choice indicators. -->
206        <attr name="listChoiceIndicatorSingle" format="reference" />
207
208        <!-- Drawable used as a background for selected list items. -->
209        <attr name="listChoiceBackgroundIndicator" format="reference" />
210
211        <!-- Drawable used as a background for activated items. -->
212        <attr name="activatedBackgroundIndicator" format="reference" />
213
214        <!-- ============= -->
215        <!-- Button styles -->
216        <!-- ============= -->
217        <eat-comment />
218
219        <!-- Normal Button style. -->
220        <attr name="buttonStyle" format="reference" />
221
222        <!-- Small Button style. -->
223        <attr name="buttonStyleSmall" format="reference" />
224
225        <!-- Button style to inset into an EditText. -->
226        <attr name="buttonStyleInset" format="reference" />
227
228        <!-- ToggleButton style. -->
229        <attr name="buttonStyleToggle" format="reference" />
230
231        <!-- ============== -->
232        <!-- Gallery styles -->
233        <!-- ============== -->
234        <eat-comment />
235
236        <!-- The preferred background for gallery items. This should be set
237             as the background of any Views you provide from the Adapter. -->
238        <attr name="galleryItemBackground" format="reference" />
239
240        <!-- =========== -->
241        <!-- List styles -->
242        <!-- =========== -->
243        <eat-comment />
244
245        <!-- The preferred list item height. -->
246        <attr name="listPreferredItemHeight" format="dimension" />
247        <!-- A smaller, sleeker list item height. -->
248        <attr name="listPreferredItemHeightSmall" format="dimension" />
249        <!-- A larger, more robust list item height. -->
250        <attr name="listPreferredItemHeightLarge" format="dimension" />
251        <!-- The list item height for search results. @hide -->
252        <attr name="searchResultListItemHeight" format="dimension" />
253
254        <!-- The preferred padding along the left edge of list items. -->
255        <attr name="listPreferredItemPaddingLeft" format="dimension" />
256        <!-- The preferred padding along the right edge of list items. -->
257        <attr name="listPreferredItemPaddingRight" format="dimension" />
258
259        <!-- The preferred TextAppearance for the primary text of list items. -->
260        <attr name="textAppearanceListItem" format="reference" />
261        <!-- The preferred TextAppearance for the secondary text of list items. -->
262        <attr name="textAppearanceListItemSecondary" format="reference" />
263        <!-- The preferred TextAppearance for the primary text of small list items. -->
264        <attr name="textAppearanceListItemSmall" format="reference" />
265
266        <!-- The drawable for the list divider. -->
267        <attr name="listDivider" format="reference" />
268        <!-- The list divider used in alert dialogs. -->
269        <attr name="listDividerAlertDialog" format="reference" />
270        <!-- TextView style for list separators. -->
271        <attr name="listSeparatorTextViewStyle" format="reference" />
272        <!-- The preferred left padding for an expandable list item (for child-specific layouts,
273             use expandableListPreferredChildPaddingLeft). This takes into account
274             the indicator that will be shown to next to the item. -->
275        <attr name="expandableListPreferredItemPaddingLeft" format="dimension" />
276        <!-- The preferred left padding for an expandable list item that is a child.
277             If this is not provided, it defaults to the expandableListPreferredItemPaddingLeft. -->
278        <attr name="expandableListPreferredChildPaddingLeft" format="dimension" />
279        <!-- The preferred left bound for an expandable list item's indicator. For a child-specific
280             indicator, use expandableListPreferredChildIndicatorLeft. -->
281        <attr name="expandableListPreferredItemIndicatorLeft" format="dimension" />
282        <!-- The preferred right bound for an expandable list item's indicator. For a child-specific
283             indicator, use expandableListPreferredChildIndicatorRight. -->
284        <attr name="expandableListPreferredItemIndicatorRight" format="dimension" />
285        <!-- The preferred left bound for an expandable list child's indicator. -->
286        <attr name="expandableListPreferredChildIndicatorLeft" format="dimension" />
287        <!-- The preferred right bound for an expandable list child's indicator. -->
288        <attr name="expandableListPreferredChildIndicatorRight" format="dimension" />
289
290        <!-- The preferred item height for dropdown lists. -->
291        <attr name="dropdownListPreferredItemHeight" format="dimension" />
292
293        <!-- The preferred padding along the start edge of list items. -->
294        <attr name="listPreferredItemPaddingStart" format="dimension" />
295        <!-- The preferred padding along the end edge of list items. -->
296        <attr name="listPreferredItemPaddingEnd" format="dimension" />
297
298        <!-- ============= -->
299        <!-- Window styles -->
300        <!-- ============= -->
301        <eat-comment />
302
303        <!-- Drawable to use as the overall window background.  As of
304             {@link android.os.Build.VERSION_CODES#HONEYCOMB}, this may
305             be a selector that uses state_accelerated to pick a non-solid
306             color when running on devices that can draw such a bitmap
307             with complex compositing on top at 60fps.
308
309             <p>There are a few special considerations to use when setting this
310             drawable:
311             <ul>
312             <li> This information will be used to infer the pixel format
313                  for your window's surface.  If the drawable has any
314                  non-opaque pixels, your window will be translucent
315                  (32 bpp).
316             <li> If you want to draw the entire background
317                  yourself, you should set this drawable to some solid
318                  color that closely matches that background (so the
319                  system's preview of your window will match), and
320                  then in code manually set your window's background to
321                  null so it will not be drawn.
322             </ul> -->
323        <attr name="windowBackground" format="reference" />
324        <!-- Drawable to draw selectively within the inset areas when the windowBackground
325             has been set to null. This protects against seeing visual garbage in the
326             surface when the app has not drawn any content into this area. One example is
327             when the user is resizing a window of an activity that has
328             {@link android.R.attr#resizeableActivity} set for multi-window mode. -->
329        <attr name="windowBackgroundFallback" format="reference" />
330        <!-- Drawable to use as a frame around the window. -->
331        <attr name="windowFrame" format="reference" />
332        <!-- Flag indicating whether there should be no title on this window. -->
333        <attr name="windowNoTitle" format="boolean" />
334        <!-- Flag indicating whether this window should fill the entire screen.  Corresponds
335             to {@link android.view.WindowManager.LayoutParams#FLAG_FULLSCREEN}. -->
336        <attr name="windowFullscreen" format="boolean" />
337        <!-- Flag indicating whether this window should extend into overscan region.  Corresponds
338             to {@link android.view.WindowManager.LayoutParams#FLAG_LAYOUT_IN_OVERSCAN}. -->
339        <attr name="windowOverscan" format="boolean" />
340        <!-- Flag indicating whether this is a floating window. -->
341        <attr name="windowIsFloating" format="boolean" />
342        <!-- Flag indicating whether this is a translucent window. If this attribute is unset (but
343             not if set to false), the window might still be considered translucent, if
344             windowSwipeToDismiss is set to true. -->
345        <attr name="windowIsTranslucent" format="boolean" />
346        <!-- Flag indicating that this window's background should be the
347             user's current wallpaper.  Corresponds
348             to {@link android.view.WindowManager.LayoutParams#FLAG_SHOW_WALLPAPER}. -->
349        <attr name="windowShowWallpaper" format="boolean" />
350        <!-- This Drawable is overlaid over the foreground of the Window's content area, usually
351             to place a shadow below the title.  -->
352        <attr name="windowContentOverlay" format="reference" />
353        <!-- The style resource to use for a window's title bar height. -->
354        <attr name="windowTitleSize" format="dimension" />
355        <!-- The style resource to use for a window's title text. -->
356        <attr name="windowTitleStyle" format="reference" />
357        <!-- The style resource to use for a window's title area. -->
358        <attr name="windowTitleBackgroundStyle" format="reference" />
359
360        <!-- Reference to a style resource holding
361             the set of window animations to use, which can be
362             any of the attributes defined by
363             {@link android.R.styleable#WindowAnimation}. -->
364        <attr name="windowAnimationStyle" format="reference" />
365
366        <!-- Flag indicating whether this window should have an Action Bar
367             in place of the usual title bar. -->
368        <attr name="windowActionBar" format="boolean" />
369
370        <!-- Flag indicating whether this window's Action Bar should overlay
371             application content. Does nothing if the window would not
372             have an Action Bar. -->
373        <attr name="windowActionBarOverlay" format="boolean" />
374
375        <!-- Flag indicating whether action modes should overlay window content
376             when there is not reserved space for their UI (such as an Action Bar). -->
377        <attr name="windowActionModeOverlay" format="boolean" />
378
379        <!-- Defines the default soft input state that this window would
380             like when it is displayed.  Corresponds
381             to {@link android.view.WindowManager.LayoutParams#softInputMode}. -->
382        <attr name="windowSoftInputMode">
383            <!-- Not specified, use what the system thinks is best.  This
384                 is the default. -->
385            <flag name="stateUnspecified" value="0" />
386            <!-- Leave the soft input window as-is, in whatever state it
387                 last was. -->
388            <flag name="stateUnchanged" value="1" />
389            <!-- Make the soft input area hidden when normally appropriate
390                 (when the user is navigating forward to your window). -->
391            <flag name="stateHidden" value="2" />
392            <!-- Always make the soft input area hidden when this window
393                 has input focus. -->
394            <flag name="stateAlwaysHidden" value="3" />
395            <!-- Make the soft input area visible when normally appropriate
396                 (when the user is navigating forward to your window). -->
397            <flag name="stateVisible" value="4" />
398            <!-- Always make the soft input area visible when this window
399                 has input focus. -->
400            <flag name="stateAlwaysVisible" value="5" />
401
402            <!-- The window resize/pan adjustment has not been specified,
403                 the system will automatically select between resize and pan
404                 modes, depending
405                 on whether the content of the window has any layout views
406                 that can scroll their contents.  If there is such a view,
407                 then the window will be resized, with the assumption being
408                 that the resizeable area can be reduced to make room for
409                 the input UI. -->
410            <flag name="adjustUnspecified" value="0x00" />
411            <!-- Always resize the window: the content area of the window is
412                 reduced to make room for the soft input area. -->
413            <flag name="adjustResize" value="0x10" />
414            <!-- Don't resize the window to make room for the soft input area;
415                 instead pan the contents of the window as focus moves inside
416                 of it so that the user can see what they are typing.  This is
417                 generally less desireable than panning because the user may
418                 need to close the input area to get at and interact with
419                 parts of the window. -->
420            <flag name="adjustPan" value="0x20" />
421            <!-- Don't resize <em>or</em> pan the window to make room for the
422                 soft input area; the window is never adjusted for it. -->
423            <flag name="adjustNothing" value="0x30" />
424        </attr>
425
426        <!-- Flag allowing you to disable the preview animation for a window.
427             The default value is false; if set to true, the system can never
428             use the window's theme to show a preview of it before your
429             actual instance is shown to the user. -->
430        <attr name="windowDisablePreview" format="boolean" />
431
432        <!-- Flag indicating that this window should not be displayed at all.
433             The default value is false; if set to true, and this window is
434             the main window of an Activity, then it will never actually
435             be added to the window manager.  This means that your activity
436             must immediately quit without waiting for user interaction,
437             because there will be no such interaction coming. -->
438        <attr name="windowNoDisplay" format="boolean" />
439
440        <!-- Flag indicating that this window should allow touches to be split
441             across other windows that also support split touch.
442             The default value is true for applications with a targetSdkVersion
443             of Honeycomb or newer; false otherwise.
444             When this flag is false, the first pointer that goes down determines
445             the window to which all subsequent touches go until all pointers go up.
446             When this flag is true, each pointer (not necessarily the first) that
447             goes down determines the window to which all subsequent touches of that
448             pointer will go until that pointers go up thereby enabling touches
449             with multiple pointers to be split across multiple windows. -->
450        <attr name="windowEnableSplitTouch" format="boolean" />
451
452        <!-- Control whether a container should automatically close itself if
453             the user touches outside of it.  This only applies to activities
454             and dialogs.
455
456             <p>Note: this attribute will only be respected for applications
457             that are targeting {@link android.os.Build.VERSION_CODES#HONEYCOMB}
458             or later. -->
459        <attr name="windowCloseOnTouchOutside" format="boolean" />
460
461        <!-- Flag indicating whether this window requests a translucent status bar.  Corresponds
462             to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_STATUS}. -->
463        <attr name="windowTranslucentStatus" format="boolean" />
464
465        <!-- Flag indicating whether this window requests a translucent navigation bar.  Corresponds
466             to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_NAVIGATION}. -->
467        <attr name="windowTranslucentNavigation" format="boolean" />
468
469        <!-- Flag to indicate that a window can be swiped away to be dismissed.
470             Corresponds to {@link android.view.Window#FEATURE_SWIPE_TO_DISMISS}. It will also
471             dynamically change translucency of the window, if the windowIsTranslucent is not set.
472             If windowIsTranslucent is set (to either true or false) it will obey that setting. -->
473        <attr name="windowSwipeToDismiss" format="boolean" />
474
475        <!-- Flag indicating whether this window requests that content changes be performed
476             as scene changes with transitions. Corresponds to
477             {@link android.view.Window#FEATURE_CONTENT_TRANSITIONS}. -->
478        <attr name="windowContentTransitions" format="boolean" />
479
480        <!-- Reference to a TransitionManager XML resource defining the desired
481             transitions between different window content. -->
482        <attr name="windowContentTransitionManager" format="reference" />
483
484        <!-- Flag indicating whether this window allows Activity Transitions.
485             Corresponds to {@link android.view.Window#FEATURE_ACTIVITY_TRANSITIONS}. -->
486        <attr name="windowActivityTransitions" format="boolean" />
487
488        <!-- Reference to a Transition XML resource defining the desired Transition
489             used to move Views into the initial Window's content Scene. Corresponds to
490             {@link android.view.Window#setEnterTransition(android.transition.Transition)}. -->
491        <attr name="windowEnterTransition" format="reference"/>
492
493        <!-- Reference to a Transition XML resource defining the desired Transition
494             used to move Views out of the scene when the Window is
495             preparing to close. Corresponds to
496             {@link android.view.Window#setReturnTransition(android.transition.Transition)}. -->
497        <attr name="windowReturnTransition" format="reference"/>
498
499        <!-- Reference to a Transition XML resource defining the desired Transition
500             used to move Views out of the Window's content Scene when launching a new Activity.
501             Corresponds to
502             {@link android.view.Window#setExitTransition(android.transition.Transition)}. -->
503        <attr name="windowExitTransition" format="reference"/>
504
505        <!-- Reference to a Transition XML resource defining the desired Transition
506             used to move Views in to the scene when returning from a previously-started Activity.
507             Corresponds to
508             {@link android.view.Window#setReenterTransition(android.transition.Transition)}. -->
509        <attr name="windowReenterTransition" format="reference"/>
510
511        <!-- Reference to a Transition XML resource defining the desired Transition
512             used to move shared elements transferred into the Window's initial content Scene.
513             Corresponds to {@link android.view.Window#setSharedElementEnterTransition(
514             android.transition.Transition)}. -->
515        <attr name="windowSharedElementEnterTransition" format="reference"/>
516
517        <!-- Reference to a Transition XML resource defining the desired Transition
518             used to move shared elements transferred back to a calling Activity.
519             Corresponds to {@link android.view.Window#setSharedElementReturnTransition(
520             android.transition.Transition)}. -->
521        <attr name="windowSharedElementReturnTransition" format="reference"/>
522
523        <!-- Reference to a Transition XML resource defining the desired Transition
524             used when starting a new Activity to move shared elements prior to transferring
525             to the called Activity.
526             Corresponds to {@link android.view.Window#setSharedElementExitTransition(
527             android.transition.Transition)}. -->
528        <attr name="windowSharedElementExitTransition" format="reference"/>
529
530        <!-- Reference to a Transition XML resource defining the desired Transition
531             used for shared elements transferred back to a calling Activity.
532             Corresponds to {@link android.view.Window#setSharedElementReenterTransition(
533             android.transition.Transition)}. -->
534        <attr name="windowSharedElementReenterTransition" format="reference"/>
535
536        <!-- Flag indicating whether this Window's transition should overlap with
537             the exiting transition of the calling Activity. Corresponds to
538             {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. -->
539        <attr name="windowAllowEnterTransitionOverlap" format="boolean"/>
540
541        <!-- Flag indicating whether this Window's transition should overlap with
542             the exiting transition of the called Activity when the called Activity
543             finishes. Corresponds to
544             {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. -->
545        <attr name="windowAllowReturnTransitionOverlap" format="boolean"/>
546
547        <!-- Indicates whether or not shared elements should use an overlay
548             during transitions. The default value is true. -->
549        <attr name="windowSharedElementsUseOverlay" format="boolean"/>
550
551        <!-- Internal layout used internally for window decor -->
552        <attr name="windowActionBarFullscreenDecorLayout" format="reference" />
553
554        <!-- The duration, in milliseconds, of the window background fade duration
555             when transitioning into or away from an Activity when called with an
556             Activity Transition. Corresponds to
557             {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. -->
558        <attr name="windowTransitionBackgroundFadeDuration" format="integer"/>
559
560        <!-- ============ -->
561        <!-- Floating toolbar styles -->
562        <!-- ============ -->
563       <eat-comment />
564       <attr name="floatingToolbarCloseDrawable" format="reference" />
565       <attr name="floatingToolbarForegroundColor" format="reference|color" />
566       <attr name="floatingToolbarItemBackgroundBorderlessDrawable" format="reference" />
567       <attr name="floatingToolbarItemBackgroundDrawable" format="reference" />
568       <attr name="floatingToolbarOpenDrawable" format="reference" />
569       <attr name="floatingToolbarPopupBackgroundDrawable" format="reference" />
570
571        <!-- ============ -->
572        <!-- Alert Dialog styles -->
573        <!-- ============ -->
574        <eat-comment />
575        <attr name="alertDialogStyle" format="reference" />
576        <attr name="alertDialogButtonGroupStyle" format="reference" />
577        <attr name="alertDialogCenterButtons" format="boolean" />
578
579        <!-- ============== -->
580        <!-- Image elements -->
581        <!-- ============== -->
582        <eat-comment />
583i
584        <!-- Background that can be used behind parts of a UI that provide
585             details on data the user is selecting.  For example, this is
586             the background element of PreferenceActivity's embedded
587             preference fragment. -->
588        <attr name="detailsElementBackground" format="reference" />
589
590        <!-- Icon that should be used to indicate that an app is waiting for a fingerprint scan.
591             This should be used whenever an app is requesting the user to place a finger on the
592             fingerprint sensor. It can be combined with other drawables such as colored circles, so
593             the appearance matches the branding of the app requesting the fingerprint scan.-->
594        <attr name="fingerprintAuthDrawable" format="reference" />
595
596        <!-- ============ -->
597        <!-- Panel styles -->
598        <!-- ============ -->
599        <eat-comment />
600
601        <!-- The background of a panel when it is inset from the left and right edges of the screen. -->
602        <attr name="panelBackground" format="reference|color" />
603        <!-- The background of a panel when it extends to the left and right edges of the screen. -->
604        <attr name="panelFullBackground" format="reference|color" />
605        <!-- Default color of foreground panel imagery. -->
606        <attr name="panelColorForeground" format="reference|color" />
607        <!-- Color that matches (as closely as possible) the panel background. -->
608        <attr name="panelColorBackground" format="reference|color" />
609        <!-- Default appearance of panel text. -->
610        <attr name="panelTextAppearance" format="reference" />
611
612        <attr name="panelMenuIsCompact" format="boolean" />
613        <attr name="panelMenuListWidth" format="dimension" />
614        <attr name="panelMenuListTheme" format="reference" />
615
616        <!-- =================== -->
617        <!-- Other widget styles -->
618        <!-- =================== -->
619        <eat-comment />
620
621        <!-- Default AbsListView style. -->
622        <attr name="absListViewStyle" format="reference" />
623        <!-- Default AutoCompleteTextView style. -->
624        <attr name="autoCompleteTextViewStyle" format="reference" />
625        <!-- Default Checkbox style. -->
626        <attr name="checkboxStyle" format="reference" />
627        <!-- Default CheckedTextView style. -->
628        <attr name="checkedTextViewStyle" format="reference" />
629        <!-- Default ListView style for drop downs. -->
630        <attr name="dropDownListViewStyle" format="reference" />
631        <!-- Default EditText style. -->
632        <attr name="editTextStyle" format="reference" />
633        <!-- Default ExpandableListView style. -->
634        <attr name="expandableListViewStyle" format="reference" />
635        <!-- ExpandableListView with white background. -->
636        <attr name="expandableListViewWhiteStyle" format="reference" />
637        <!-- Default Gallery style. -->
638        <attr name="galleryStyle" format="reference" />
639        <!-- Default GestureOverlayView style. -->
640        <attr name="gestureOverlayViewStyle" format="reference" />
641        <!-- Default GridView style. -->
642        <attr name="gridViewStyle" format="reference" />
643        <!-- The style resource to use for an ImageButton. -->
644        <attr name="imageButtonStyle" format="reference" />
645        <!-- The style resource to use for an ImageButton that is an image well. -->
646        <attr name="imageWellStyle" format="reference" />
647        <!-- Default menu-style ListView style. -->
648        <attr name="listMenuViewStyle" format="reference" />
649        <!-- Default ListView style. -->
650        <attr name="listViewStyle" format="reference" />
651        <!-- ListView with white background. -->
652        <attr name="listViewWhiteStyle" format="reference" />
653        <!-- Default PopupWindow style. -->
654        <attr name="popupWindowStyle" format="reference" />
655        <!-- Default ProgressBar style. This is a medium circular progress bar. -->
656        <attr name="progressBarStyle" format="reference" />
657        <!-- Horizontal ProgressBar style. This is a horizontal progress bar. -->
658        <attr name="progressBarStyleHorizontal" format="reference" />
659        <!-- Small ProgressBar style. This is a small circular progress bar. -->
660        <attr name="progressBarStyleSmall" format="reference" />
661        <!-- Small ProgressBar in title style. This is a small circular progress bar that will be placed in title bars. -->
662        <attr name="progressBarStyleSmallTitle" format="reference" />
663        <!-- Large ProgressBar style. This is a large circular progress bar. -->
664        <attr name="progressBarStyleLarge" format="reference" />
665        <!-- Inverse ProgressBar style. This is a medium circular progress bar. -->
666        <attr name="progressBarStyleInverse" format="reference" />
667        <!-- Small inverse ProgressBar style. This is a small circular progress bar. -->
668        <attr name="progressBarStyleSmallInverse" format="reference" />
669        <!-- Large inverse ProgressBar style. This is a large circular progress bar. -->
670        <attr name="progressBarStyleLargeInverse" format="reference" />
671        <!-- Default SeekBar style. -->
672        <attr name="seekBarStyle" format="reference" />
673        <!-- Default RatingBar style. -->
674        <attr name="ratingBarStyle" format="reference" />
675        <!-- Indicator RatingBar style. -->
676        <attr name="ratingBarStyleIndicator" format="reference" />
677        <!-- Small indicator RatingBar style. -->
678        <attr name="ratingBarStyleSmall" format="reference" />
679        <!-- Default RadioButton style. -->
680        <attr name="radioButtonStyle" format="reference" />
681        <!-- Default ScrollView style. -->
682        <attr name="scrollViewStyle" format="reference" />
683        <!-- Default HorizontalScrollView style. -->
684        <attr name="horizontalScrollViewStyle" format="reference" />
685        <!-- Default Spinner style. -->
686        <attr name="spinnerStyle" format="reference" />
687        <!-- Default dropdown Spinner style. -->
688        <attr name="dropDownSpinnerStyle" format="reference" />
689        <!-- Default ActionBar dropdown style. -->
690        <attr name="actionDropDownStyle" format="reference" />
691        <!-- Default action button style. -->
692        <attr name="actionButtonStyle" format="reference" />
693        <!-- Default Star style. -->
694        <attr name="starStyle" format="reference" />
695        <!-- Default TabWidget style. -->
696        <attr name="tabWidgetStyle" format="reference" />
697        <!-- Default TextView style. -->
698        <attr name="textViewStyle" format="reference" />
699        <!-- Default WebTextView style. -->
700        <attr name="webTextViewStyle" format="reference" />
701        <!-- Default WebView style. -->
702        <attr name="webViewStyle" format="reference" />
703        <!-- Default style for drop down items. -->
704        <attr name="dropDownItemStyle" format="reference" />
705         <!-- Default style for spinner drop down items. -->
706        <attr name="spinnerDropDownItemStyle" format="reference" />
707        <!-- Default style for drop down hints. -->
708        <attr name="dropDownHintAppearance" format="reference" />
709        <!-- Default spinner item style. -->
710        <attr name="spinnerItemStyle" format="reference" />
711        <!-- Default MapView style. -->
712        <attr name="mapViewStyle" format="reference" />
713        <!-- Drawable used as an overlay on top of quickcontact photos. -->
714        <attr name="quickContactBadgeOverlay" format="reference" />
715        <!-- Default quickcontact badge style with small quickcontact window. -->
716        <attr name="quickContactBadgeStyleWindowSmall" format="reference" />
717        <!-- Default quickcontact badge style with medium quickcontact window. -->
718        <attr name="quickContactBadgeStyleWindowMedium" format="reference" />
719        <!-- Default quickcontact badge style with large quickcontact window. -->
720        <attr name="quickContactBadgeStyleWindowLarge" format="reference" />
721        <!-- Default quickcontact badge style with small quickcontact window. -->
722        <attr name="quickContactBadgeStyleSmallWindowSmall" format="reference" />
723        <!-- Default quickcontact badge style with medium quickcontact window. -->
724        <attr name="quickContactBadgeStyleSmallWindowMedium" format="reference" />
725        <!-- Default quickcontact badge style with large quickcontact window. -->
726        <attr name="quickContactBadgeStyleSmallWindowLarge" format="reference" />
727        <!-- Reference to a style that will be used for the window containing a text
728             selection anchor. -->
729        <attr name="textSelectHandleWindowStyle" format="reference" />
730        <!-- Reference to a style that will be used for the window containing a list of possible
731             text suggestions in an EditText. -->
732        <attr name="textSuggestionsWindowStyle" format="reference" />
733        <!-- Default ListPopupWindow style. -->
734        <attr name="listPopupWindowStyle" format="reference" />
735        <!-- Default PopupMenu style. -->
736        <attr name="popupMenuStyle" format="reference" />
737        <!-- Default context menu PopupMenu style. -->
738        <attr name="contextPopupMenuStyle" format="reference" />
739        <!-- Default StackView style. -->
740        <attr name="stackViewStyle" format="reference" />
741
742        <!-- Default style for the FragmentBreadCrumbs widget. This widget is deprecated
743             starting in API level 21 ({@link android.os.Build.VERSION_CODES#.L}). -->
744        <attr name="fragmentBreadCrumbsStyle" format="reference" />
745
746        <!-- NumberPicker style. -->
747        <attr name="numberPickerStyle" format="reference" />
748
749        <!-- The CalendarView style. -->
750        <attr name="calendarViewStyle" format="reference" />
751
752        <!-- The TimePicker style. -->
753        <attr name="timePickerStyle" format="reference" />
754
755        <!-- The TimePicker dialog theme. -->
756        <attr name="timePickerDialogTheme" format="reference" />
757
758        <!-- The DatePicker style. -->
759        <attr name="datePickerStyle" format="reference" />
760
761        <!-- The DatePicker dialog theme. -->
762        <attr name="datePickerDialogTheme" format="reference" />
763
764        <!-- Default ActivityChooserView style. -->
765        <attr name="activityChooserViewStyle" format="reference" />
766
767        <!-- Default Toolbar style. -->
768        <attr name="toolbarStyle" format="reference" />
769
770        <!-- Fast scroller styles -->
771        <eat-comment />
772
773        <!-- Drawable to use as the fast scroll thumb. -->
774        <attr name="fastScrollThumbDrawable" format="reference" />
775        <!-- Drawable to use as the fast scroll index preview window background
776             when shown on the right. -->
777        <attr name="fastScrollPreviewBackgroundRight" format="reference" />
778        <!-- Drawable to use as the fast scroll index preview window background
779             when shown on the left. -->
780        <attr name="fastScrollPreviewBackgroundLeft" format="reference" />
781        <!-- Drawable to use as the track for the fast scroll thumb.
782             This may be null. -->
783        <attr name="fastScrollTrackDrawable" format="reference" />
784        <!-- Position of the fast scroll index overlay window. -->
785        <attr name="fastScrollOverlayPosition">
786            <enum name="floating" value="0" />
787            <enum name="atThumb" value="1" />
788            <enum name="aboveThumb" value="2" />
789        </attr>
790        <!-- Text color for the fast scroll index overlay. Make sure it
791             plays nicely with fastScrollPreviewBackground[Left|Right]. -->
792        <attr name="fastScrollTextColor" format="color" />
793
794        <!-- =================== -->
795        <!-- Action bar styles   -->
796        <!-- =================== -->
797        <eat-comment />
798        <!-- Default style for tabs within an action bar -->
799        <attr name="actionBarTabStyle" format="reference" />
800        <attr name="actionBarTabBarStyle" format="reference" />
801        <attr name="actionBarTabTextStyle" format="reference" />
802        <attr name="actionOverflowButtonStyle" format="reference" />
803        <attr name="actionOverflowMenuStyle" format="reference" />
804        <!-- Reference to a theme that should be used to inflate popups
805             shown by widgets in the action bar. -->
806        <attr name="actionBarPopupTheme" format="reference" />
807        <!-- Reference to a style for the Action Bar -->
808        <attr name="actionBarStyle" format="reference" />
809        <!-- Reference to a style for the split Action Bar. This style
810             controls the split component that holds the menu/action
811             buttons. actionBarStyle is still used for the primary
812             bar. -->
813        <attr name="actionBarSplitStyle" format="reference" />
814        <!-- Reference to a theme that should be used to inflate the
815             action bar. This will be inherited by any widget inflated
816             into the action bar. -->
817        <attr name="actionBarTheme" format="reference" />
818        <!-- Reference to a theme that should be used to inflate widgets
819             and layouts destined for the action bar. Most of the time
820             this will be a reference to the current theme, but when
821             the action bar has a significantly different contrast
822             profile than the rest of the activity the difference
823             can become important. If this is set to @null the current
824             theme will be used.-->
825        <attr name="actionBarWidgetTheme" format="reference" />
826        <!-- Size of the Action Bar, including the contextual
827             bar used to present Action Modes. -->
828        <attr name="actionBarSize" format="dimension" >
829            <enum name="wrap_content" value="0" />
830        </attr>
831        <!-- Custom divider drawable to use for elements in the action bar. -->
832        <attr name="actionBarDivider" format="reference" />
833        <!-- Custom item state list drawable background for action bar items. -->
834        <attr name="actionBarItemBackground" format="reference" />
835        <!-- TextAppearance style that will be applied to text that
836             appears within action menu items. -->
837        <attr name="actionMenuTextAppearance" format="reference" />
838        <!-- Color for text that appears within action menu items. -->
839        <attr name="actionMenuTextColor" format="color|reference" />
840
841        <!-- =================== -->
842        <!-- Action mode styles  -->
843        <!-- =================== -->
844        <eat-comment />
845        <attr name="actionModeStyle" format="reference" />
846        <attr name="actionModeCloseButtonStyle" format="reference" />
847        <!-- Background drawable to use for action mode UI -->
848        <attr name="actionModeBackground" format="reference" />
849        <!-- Background drawable to use for action mode UI in the lower split bar -->
850        <attr name="actionModeSplitBackground" format="reference" />
851        <!-- Drawable to use for the close action mode button -->
852        <attr name="actionModeCloseDrawable" format="reference" />
853
854        <!-- Drawable to use for the Cut action button in Contextual Action Bar -->
855        <attr name="actionModeCutDrawable" format="reference" />
856        <!-- Drawable to use for the Copy action button in Contextual Action Bar -->
857        <attr name="actionModeCopyDrawable" format="reference" />
858        <!-- Drawable to use for the Paste action button in Contextual Action Bar -->
859        <attr name="actionModePasteDrawable" format="reference" />
860        <!-- Drawable to use for the Select all action button in Contextual Action Bar -->
861        <attr name="actionModeSelectAllDrawable" format="reference" />
862        <!-- Drawable to use for the Share action button in WebView selection action modes -->
863        <attr name="actionModeShareDrawable" format="reference" />
864        <!-- Drawable to use for the Find action button in WebView selection action modes -->
865        <attr name="actionModeFindDrawable" format="reference" />
866        <!-- Drawable to use for the Web Search action button in WebView selection action modes -->
867        <attr name="actionModeWebSearchDrawable" format="reference" />
868
869        <!-- PopupWindow style to use for action modes when showing as a window overlay. -->
870        <attr name="actionModePopupWindowStyle" format="reference" />
871
872        <!-- =================== -->
873        <!-- Preference styles   -->
874        <!-- =================== -->
875        <eat-comment />
876
877        <!-- Default style for PreferenceScreen. -->
878        <attr name="preferenceScreenStyle" format="reference" />
879        <!-- Default style for the PreferenceActivity. -->
880        <attr name="preferenceActivityStyle" format="reference" />
881        <!-- Default style for Headers pane in PreferenceActivity. -->
882        <attr name="preferenceFragmentStyle" format="reference" />
883        <!-- Default style for PreferenceCategory. -->
884        <attr name="preferenceCategoryStyle" format="reference" />
885        <!-- Default style for Preference. -->
886        <attr name="preferenceStyle" format="reference" />
887        <!-- Default style for informational Preference. -->
888        <attr name="preferenceInformationStyle" format="reference" />
889        <!-- Default style for CheckBoxPreference. -->
890        <attr name="checkBoxPreferenceStyle" format="reference" />
891        <!-- Default style for YesNoPreference. -->
892        <attr name="yesNoPreferenceStyle" format="reference" />
893        <!-- Default style for DialogPreference. -->
894        <attr name="dialogPreferenceStyle" format="reference" />
895        <!-- Default style for EditTextPreference. -->
896        <attr name="editTextPreferenceStyle" format="reference" />
897        <!-- @hide Default style for SeekBarDialogPreference. -->
898        <attr name="seekBarDialogPreferenceStyle" format="reference" />
899        <!-- Default style for RingtonePreference. -->
900        <attr name="ringtonePreferenceStyle" format="reference" />
901        <!-- The preference layout that has the child/tabbed effect. -->
902        <attr name="preferenceLayoutChild" format="reference" />
903        <!-- Preference panel style -->
904        <attr name="preferencePanelStyle" format="reference" />
905        <!-- Preference headers panel style -->
906        <attr name="preferenceHeaderPanelStyle" format="reference" />
907        <!-- Preference list style -->
908        <attr name="preferenceListStyle" format="reference" />
909        <!-- Preference fragment list style -->
910        <attr name="preferenceFragmentListStyle" format="reference" />
911        <!-- Preference fragment padding side -->
912        <attr name="preferenceFragmentPaddingSide" format="dimension" />
913        <!-- Default style for switch preferences. -->
914        <attr name="switchPreferenceStyle" format="reference" />
915        <!-- Default style for seekbar preferences. -->
916        <attr name="seekBarPreferenceStyle" format="reference" />
917
918        <!-- ============================ -->
919        <!-- Text selection handle styles -->
920        <!-- ============================ -->
921        <eat-comment />
922
923        <!-- Reference to a drawable that will be used to display a text selection
924             anchor on the left side of a selection region. -->
925        <attr name="textSelectHandleLeft" format="reference" />
926        <!-- Reference to a drawable that will be used to display a text selection
927             anchor on the right side of a selection region. -->
928        <attr name="textSelectHandleRight" format="reference" />
929        <!-- Reference to a drawable that will be used to display a text selection
930             anchor for positioning the cursor within text. -->
931        <attr name="textSelectHandle" format="reference" />
932        <!-- The layout of the view that is displayed on top of the cursor to paste inside a
933             TextEdit field. -->
934        <attr name="textEditPasteWindowLayout" format="reference" />
935        <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. -->
936        <attr name="textEditNoPasteWindowLayout" format="reference" />
937        <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the
938             insertion cursor because it would be clipped if it were positioned on top. -->
939        <attr name="textEditSidePasteWindowLayout" format="reference" />
940        <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. -->
941        <attr name="textEditSideNoPasteWindowLayout" format="reference" />
942
943        <!-- Layout of the TextView item that will populate the suggestion popup window. -->
944        <attr name="textEditSuggestionItemLayout" format="reference" />
945        <!-- Layout of the container of the suggestion popup window. -->
946        <attr name="textEditSuggestionContainerLayout" format="reference" />
947        <!-- Text appearance of the focused words to be replaced by suggested word. -->
948        <attr name="textEditSuggestionHighlightStyle" format="reference" />
949
950        <!-- Theme to use for dialogs spawned from this theme. -->
951        <attr name="dialogTheme" format="reference" />
952        <!-- Window decor layout to use in dialog mode with icons. -->
953        <attr name="dialogTitleIconsDecorLayout" format="reference" />
954        <!-- Window decor layout to use in dialog mode with custom titles. -->
955        <attr name="dialogCustomTitleDecorLayout" format="reference" />
956        <!-- Window decor layout to use in dialog mode with title only. -->
957        <attr name="dialogTitleDecorLayout" format="reference" />
958        <!-- Preferred padding for dialog content. -->
959        <attr name="dialogPreferredPadding" format="dimension" />
960
961        <!-- Theme to use for alert dialogs spawned from this theme. -->
962        <attr name="alertDialogTheme" format="reference" />
963        <!-- Icon drawable to use for alerts -->
964        <attr name="alertDialogIcon" format="reference" />
965
966        <!-- Theme to use for presentations spawned from this theme. -->
967        <attr name="presentationTheme" format="reference" />
968
969        <!-- Drawable to use for generic vertical dividers. -->
970        <attr name="dividerVertical" format="reference" />
971
972        <!-- Drawable to use for generic horizontal dividers. -->
973        <attr name="dividerHorizontal" format="reference" />
974
975        <!-- Style for button bars -->
976        <attr name="buttonBarStyle" format="reference" />
977
978        <!-- Style for buttons within button bars -->
979        <attr name="buttonBarButtonStyle" format="reference" />
980
981        <!-- Style for the "positive" buttons within button bars -->
982        <attr name="buttonBarPositiveButtonStyle" format="reference" />
983
984        <!-- Style for the "negative" buttons within button bars -->
985        <attr name="buttonBarNegativeButtonStyle" format="reference" />
986
987        <!-- Style for the "neutral" buttons within button bars -->
988        <attr name="buttonBarNeutralButtonStyle" format="reference" />
989
990        <!-- Style for the search query widget. -->
991        <attr name="searchViewStyle" format="reference" />
992
993        <!-- Style for segmented buttons - a container that houses several buttons
994             with the appearance of a singel button broken into segments. -->
995        <attr name="segmentedButtonStyle" format="reference" />
996
997        <!-- Background drawable for bordered standalone items that need focus/pressed states. -->
998        <attr name="selectableItemBackground" format="reference" />
999
1000        <!-- Background drawable for borderless standalone items that need focus/pressed states. -->
1001        <attr name="selectableItemBackgroundBorderless" format="reference" />
1002
1003        <!-- Style for buttons without an explicit border, often used in groups. -->
1004        <attr name="borderlessButtonStyle" format="reference" />
1005
1006        <!-- Background to use for toasts -->
1007        <attr name="toastFrameBackground" format="reference" />
1008
1009        <!-- Theme to use for Search Dialogs -->
1010        <attr name="searchDialogTheme" format="reference" />
1011
1012        <!-- Specifies a drawable to use for the 'home as up' indicator. -->
1013        <attr name="homeAsUpIndicator" format="reference" />
1014
1015        <!-- Preference frame layout styles. -->
1016        <attr name="preferenceFrameLayoutStyle" format="reference" />
1017
1018        <!-- Default style for the Switch widget. -->
1019        <attr name="switchStyle" format="reference" />
1020
1021        <!-- Default style for the MediaRouteButton widget. -->
1022        <attr name="mediaRouteButtonStyle" format="reference" />
1023
1024        <!-- ============== -->
1025        <!-- Pointer styles -->
1026        <!-- ============== -->
1027        <eat-comment />
1028
1029        <!-- The drawable for accessibility focused views. -->
1030        <attr name="accessibilityFocusedDrawable" format="reference" />
1031
1032        <!-- Drawable for WebView find-on-page dialogue's "next" button. @hide -->
1033        <attr name="findOnPageNextDrawable" format="reference" />
1034
1035        <!-- Drawable for WebView find-on-page dialogue's "previous" button. @hide -->
1036        <attr name="findOnPagePreviousDrawable" format="reference" />
1037
1038        <!-- ============= -->
1039        <!-- Color palette -->
1040        <!-- ============= -->
1041        <eat-comment />
1042
1043        <!-- The primary branding color for the app. By default, this is the color applied to the
1044             action bar background. -->
1045        <attr name="colorPrimary" format="color" />
1046
1047        <!-- Dark variant of the primary branding color. By default, this is the color applied to
1048             the status bar (via statusBarColor) and navigation bar (via navigationBarColor). -->
1049        <attr name="colorPrimaryDark" format="color" />
1050
1051        <!-- The secondary branding color for the app. -->
1052        <attr name="colorSecondary" format="color" />
1053
1054        <!-- Bright complement to the primary branding color. By default, this is the color applied
1055             to framework controls (via colorControlActivated). -->
1056        <attr name="colorAccent" format="color" />
1057
1058        <!-- The color applied to framework controls in their normal state. -->
1059        <attr name="colorControlNormal" format="color" />
1060
1061        <!-- The color applied to framework controls in their activated (ex. checked) state. -->
1062        <attr name="colorControlActivated" format="color" />
1063
1064        <!-- The color applied to framework control highlights (ex. ripples, list selectors). -->
1065        <attr name="colorControlHighlight" format="color" />
1066
1067        <!-- The color applied to framework buttons in their normal state. -->
1068        <attr name="colorButtonNormal" format="color" />
1069
1070        <!-- The color applied to framework switch thumbs in their normal state. -->
1071        <attr name="colorSwitchThumbNormal" format="color" />
1072
1073        <!-- The color applied to the edge effect on scrolling containers. -->
1074        <attr name="colorEdgeEffect" format="color" />
1075
1076        <!-- =================== -->
1077        <!-- Lighting properties -->
1078        <!-- =================== -->
1079        <eat-comment />
1080
1081        <!-- @hide The default Y position of the light used to project view shadows. -->
1082        <attr name="lightY" format="dimension" />
1083
1084        <!-- @hide The default Z position of the light used to project view shadows. -->
1085        <attr name="lightZ" format="dimension" />
1086
1087        <!-- @hide The default radius of the light used to project view shadows. -->
1088        <attr name="lightRadius" format="dimension" />
1089
1090        <!-- Alpha value of the ambient shadow projected by elevated views, between 0 and 1. -->
1091        <attr name="ambientShadowAlpha" format="float" />
1092
1093        <!-- Alpha value of the spot shadow projected by elevated views, between 0 and 1. -->
1094        <attr name="spotShadowAlpha" format="float" />
1095    </declare-styleable>
1096
1097    <!-- **************************************************************** -->
1098    <!-- Other non-theme attributes. -->
1099    <!-- **************************************************************** -->
1100    <eat-comment />
1101
1102    <!-- Size of text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp).
1103         Supported values include the following:<p/>
1104    <ul>
1105        <li><b>px</b> Pixels</li>
1106        <li><b>sp</b> Scaled pixels (scaled to relative pixel size on screen). See {@link android.util.DisplayMetrics} for more information.</li>
1107        <li><b>pt</b> Points</li>
1108        <li><b>dip</b> Device independent pixels. See {@link android.util.DisplayMetrics} for more information.</li>
1109    </ul>
1110        -->
1111    <attr name="textSize" format="dimension" />
1112
1113    <!-- Default font family. -->
1114    <attr name="fontFamily" format="string" />
1115
1116    <!-- Default text typeface. -->
1117    <attr name="typeface">
1118        <enum name="normal" value="0" />
1119        <enum name="sans" value="1" />
1120        <enum name="serif" value="2" />
1121        <enum name="monospace" value="3" />
1122    </attr>
1123
1124    <!-- Default text typeface style. -->
1125    <attr name="textStyle">
1126        <flag name="normal" value="0" />
1127        <flag name="bold" value="1" />
1128        <flag name="italic" value="2" />
1129    </attr>
1130
1131    <!-- Color of text (usually same as colorForeground). -->
1132    <attr name="textColor" format="reference|color" />
1133
1134    <!-- Color of highlighted text. -->
1135    <attr name="textColorHighlight" format="reference|color" />
1136
1137    <!-- Color of hint text (displayed when the field is empty). -->
1138    <attr name="textColorHint" format="reference|color" />
1139
1140    <!-- Color of link text (URLs). -->
1141    <attr name="textColorLink" format="reference|color" />
1142
1143    <!-- Reference to a drawable that will be drawn under the insertion cursor. -->
1144    <attr name="textCursorDrawable" format="reference" />
1145
1146    <!-- Indicates that the content of a non-editable TextView can be selected.
1147     Default value is false. EditText content is always selectable. -->
1148    <attr name="textIsSelectable" format="boolean" />
1149
1150    <!-- Where to ellipsize text. -->
1151    <attr name="ellipsize">
1152        <enum name="none" value="0" />
1153        <enum name="start" value="1" />
1154        <enum name="middle" value="2" />
1155        <enum name="end" value="3" />
1156        <enum name="marquee" value="4" />
1157    </attr>
1158
1159    <!-- The type of data being placed in a text field, used to help an
1160         input method decide how to let the user enter text.  The constants
1161         here correspond to those defined by
1162         {@link android.text.InputType}.  Generally you can select
1163         a single value, though some can be combined together as
1164         indicated.  Setting this attribute to anything besides
1165         <var>none</var> also implies that the text is editable. -->
1166    <attr name="inputType">
1167        <!-- There is no content type.  The text is not editable. -->
1168        <flag name="none" value="0x00000000" />
1169        <!-- Just plain old text.  Corresponds to
1170             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1171             {@link android.text.InputType#TYPE_TEXT_VARIATION_NORMAL}. -->
1172        <flag name="text" value="0x00000001" />
1173        <!-- Can be combined with <var>text</var> and its variations to
1174             request capitalization of all characters.  Corresponds to
1175             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_CHARACTERS}. -->
1176        <flag name="textCapCharacters" value="0x00001001" />
1177        <!-- Can be combined with <var>text</var> and its variations to
1178             request capitalization of the first character of every word.  Corresponds to
1179             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_WORDS}. -->
1180        <flag name="textCapWords" value="0x00002001" />
1181        <!-- Can be combined with <var>text</var> and its variations to
1182             request capitalization of the first character of every sentence.  Corresponds to
1183             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_SENTENCES}. -->
1184        <flag name="textCapSentences" value="0x00004001" />
1185        <!-- Can be combined with <var>text</var> and its variations to
1186             request auto-correction of text being input.  Corresponds to
1187             {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_CORRECT}. -->
1188        <flag name="textAutoCorrect" value="0x00008001" />
1189        <!-- Can be combined with <var>text</var> and its variations to
1190             specify that this field will be doing its own auto-completion and
1191             talking with the input method appropriately.  Corresponds to
1192             {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_COMPLETE}. -->
1193        <flag name="textAutoComplete" value="0x00010001" />
1194        <!-- Can be combined with <var>text</var> and its variations to
1195             allow multiple lines of text in the field.  If this flag is not set,
1196             the text field will be constrained to a single line.  Corresponds to
1197             {@link android.text.InputType#TYPE_TEXT_FLAG_MULTI_LINE}. -->
1198        <flag name="textMultiLine" value="0x00020001" />
1199        <!-- Can be combined with <var>text</var> and its variations to
1200             indicate that though the regular text view should not be multiple
1201             lines, the IME should provide multiple lines if it can.  Corresponds to
1202             {@link android.text.InputType#TYPE_TEXT_FLAG_IME_MULTI_LINE}. -->
1203        <flag name="textImeMultiLine" value="0x00040001" />
1204        <!-- Can be combined with <var>text</var> and its variations to
1205             indicate that the IME should not show any
1206             dictionary-based word suggestions.  Corresponds to
1207             {@link android.text.InputType#TYPE_TEXT_FLAG_NO_SUGGESTIONS}. -->
1208        <flag name="textNoSuggestions" value="0x00080001" />
1209        <!-- Text that will be used as a URI.  Corresponds to
1210             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1211             {@link android.text.InputType#TYPE_TEXT_VARIATION_URI}. -->
1212        <flag name="textUri" value="0x00000011" />
1213        <!-- Text that will be used as an e-mail address.  Corresponds to
1214             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1215             {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_ADDRESS}. -->
1216        <flag name="textEmailAddress" value="0x00000021" />
1217        <!-- Text that is being supplied as the subject of an e-mail.  Corresponds to
1218             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1219             {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_SUBJECT}. -->
1220        <flag name="textEmailSubject" value="0x00000031" />
1221        <!-- Text that is the content of a short message.  Corresponds to
1222             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1223             {@link android.text.InputType#TYPE_TEXT_VARIATION_SHORT_MESSAGE}. -->
1224        <flag name="textShortMessage" value="0x00000041" />
1225        <!-- Text that is the content of a long message.  Corresponds to
1226             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1227             {@link android.text.InputType#TYPE_TEXT_VARIATION_LONG_MESSAGE}. -->
1228        <flag name="textLongMessage" value="0x00000051" />
1229        <!-- Text that is the name of a person.  Corresponds to
1230             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1231             {@link android.text.InputType#TYPE_TEXT_VARIATION_PERSON_NAME}. -->
1232        <flag name="textPersonName" value="0x00000061" />
1233        <!-- Text that is being supplied as a postal mailing address.  Corresponds to
1234             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1235             {@link android.text.InputType#TYPE_TEXT_VARIATION_POSTAL_ADDRESS}. -->
1236        <flag name="textPostalAddress" value="0x00000071" />
1237        <!-- Text that is a password.  Corresponds to
1238             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1239             {@link android.text.InputType#TYPE_TEXT_VARIATION_PASSWORD}. -->
1240        <flag name="textPassword" value="0x00000081" />
1241        <!-- Text that is a password that should be visible.  Corresponds to
1242             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1243             {@link android.text.InputType#TYPE_TEXT_VARIATION_VISIBLE_PASSWORD}. -->
1244        <flag name="textVisiblePassword" value="0x00000091" />
1245        <!-- Text that is being supplied as text in a web form.  Corresponds to
1246             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1247             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EDIT_TEXT}. -->
1248        <flag name="textWebEditText" value="0x000000a1" />
1249        <!-- Text that is filtering some other data.  Corresponds to
1250             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1251             {@link android.text.InputType#TYPE_TEXT_VARIATION_FILTER}. -->
1252        <flag name="textFilter" value="0x000000b1" />
1253        <!-- Text that is for phonetic pronunciation, such as a phonetic name
1254             field in a contact entry.  Corresponds to
1255             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1256             {@link android.text.InputType#TYPE_TEXT_VARIATION_PHONETIC}. -->
1257        <flag name="textPhonetic" value="0x000000c1" />
1258        <!-- Text that will be used as an e-mail address on a web form.  Corresponds to
1259             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1260             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS}. -->
1261        <flag name="textWebEmailAddress" value="0x000000d1" />
1262        <!-- Text that will be used as a password on a web form.  Corresponds to
1263             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1264             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_PASSWORD}. -->
1265        <flag name="textWebPassword" value="0x000000e1" />
1266        <!-- A numeric only field.  Corresponds to
1267             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1268             {@link android.text.InputType#TYPE_NUMBER_VARIATION_NORMAL}. -->
1269        <flag name="number" value="0x00000002" />
1270        <!-- Can be combined with <var>number</var> and its other options to
1271             allow a signed number.  Corresponds to
1272             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1273             {@link android.text.InputType#TYPE_NUMBER_FLAG_SIGNED}. -->
1274        <flag name="numberSigned" value="0x00001002" />
1275        <!-- Can be combined with <var>number</var> and its other options to
1276             allow a decimal (fractional) number.  Corresponds to
1277             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1278             {@link android.text.InputType#TYPE_NUMBER_FLAG_DECIMAL}. -->
1279        <flag name="numberDecimal" value="0x00002002" />
1280        <!-- A numeric password field.  Corresponds to
1281             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1282             {@link android.text.InputType#TYPE_NUMBER_VARIATION_PASSWORD}. -->
1283        <flag name="numberPassword" value="0x00000012" />
1284        <!-- For entering a phone number.  Corresponds to
1285             {@link android.text.InputType#TYPE_CLASS_PHONE}. -->
1286        <flag name="phone" value="0x00000003" />
1287        <!-- For entering a date and time.  Corresponds to
1288             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1289             {@link android.text.InputType#TYPE_DATETIME_VARIATION_NORMAL}. -->
1290        <flag name="datetime" value="0x00000004" />
1291        <!-- For entering a date.  Corresponds to
1292             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1293             {@link android.text.InputType#TYPE_DATETIME_VARIATION_DATE}. -->
1294        <flag name="date" value="0x00000014" />
1295        <!-- For entering a time.  Corresponds to
1296             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1297             {@link android.text.InputType#TYPE_DATETIME_VARIATION_TIME}. -->
1298        <flag name="time" value="0x00000024" />
1299    </attr>
1300
1301    <!-- Additional features you can enable in an IME associated with an editor
1302         to improve the integration with your application.  The constants
1303         here correspond to those defined by
1304         {@link android.view.inputmethod.EditorInfo#imeOptions}. -->
1305    <attr name="imeOptions">
1306        <!-- There are no special semantics associated with this editor. -->
1307        <flag name="normal" value="0x00000000" />
1308        <!-- There is no specific action associated with this editor, let the
1309             editor come up with its own if it can.
1310             Corresponds to
1311             {@link android.view.inputmethod.EditorInfo#IME_NULL}. -->
1312        <flag name="actionUnspecified" value="0x00000000" />
1313        <!-- This editor has no action associated with it.
1314             Corresponds to
1315             {@link android.view.inputmethod.EditorInfo#IME_ACTION_NONE}. -->
1316        <flag name="actionNone" value="0x00000001" />
1317        <!-- The action key performs a "go"
1318             operation to take the user to the target of the text they typed.
1319             Typically used, for example, when entering a URL.
1320             Corresponds to
1321             {@link android.view.inputmethod.EditorInfo#IME_ACTION_GO}. -->
1322        <flag name="actionGo" value="0x00000002" />
1323        <!-- The action key performs a "search"
1324             operation, taking the user to the results of searching for the text
1325             the have typed (in whatever context is appropriate).
1326             Corresponds to
1327             {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEARCH}. -->
1328        <flag name="actionSearch" value="0x00000003" />
1329        <!-- The action key performs a "send"
1330             operation, delivering the text to its target.  This is typically used
1331             when composing a message.
1332             Corresponds to
1333             {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEND}. -->
1334        <flag name="actionSend" value="0x00000004" />
1335        <!-- The action key performs a "next"
1336             operation, taking the user to the next field that will accept text.
1337             Corresponds to
1338             {@link android.view.inputmethod.EditorInfo#IME_ACTION_NEXT}. -->
1339        <flag name="actionNext" value="0x00000005" />
1340        <!-- The action key performs a "done"
1341             operation, closing the soft input method.
1342             Corresponds to
1343             {@link android.view.inputmethod.EditorInfo#IME_ACTION_DONE}. -->
1344        <flag name="actionDone" value="0x00000006" />
1345        <!-- The action key performs a "previous"
1346             operation, taking the user to the previous field that will accept text.
1347             Corresponds to
1348             {@link android.view.inputmethod.EditorInfo#IME_ACTION_PREVIOUS}. -->
1349        <flag name="actionPrevious" value="0x00000007" />
1350        <!-- Used to request that the IME never go
1351             into fullscreen mode.  Applications need to be aware that the flag is not
1352             a guarantee, and not all IMEs will respect it.
1353             <p>Corresponds to
1354             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. -->
1355        <flag name="flagNoFullscreen" value="0x2000000" />
1356        <!-- Like flagNavigateNext, but
1357             specifies there is something interesting that a backward navigation
1358             can focus on.  If the user selects the IME's facility to backward
1359             navigate, this will show up in the application as an actionPrevious
1360             at {@link android.view.inputmethod.InputConnection#performEditorAction(int)
1361             InputConnection.performEditorAction(int)}.
1362             <p>Corresponds to
1363             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. -->
1364        <flag name="flagNavigatePrevious" value="0x4000000" />
1365        <!-- Used to specify that there is something
1366             interesting that a forward navigation can focus on. This is like using
1367             actionNext, except allows the IME to be multiline (with
1368             an enter key) as well as provide forward navigation.  Note that some
1369             IMEs may not be able to do this, especially when running on a small
1370             screen where there is little space.  In that case it does not need to
1371             present a UI for this option.  Like actionNext, if the
1372             user selects the IME's facility to forward navigate, this will show up
1373             in the application at
1374             {@link android.view.inputmethod.InputConnection#performEditorAction(int)
1375             InputConnection.performEditorAction(int)}.
1376             <p>Corresponds to
1377             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NAVIGATE_NEXT}. -->
1378        <flag name="flagNavigateNext" value="0x8000000" />
1379        <!-- Used to specify that the IME does not need
1380             to show its extracted text UI.  For input methods that may be fullscreen,
1381             often when in landscape mode, this allows them to be smaller and let part
1382             of the application be shown behind.  Though there will likely be limited
1383             access to the application available from the user, it can make the
1384             experience of a (mostly) fullscreen IME less jarring.  Note that when
1385             this flag is specified the IME may <em>not</em> be set up to be able
1386             to display text, so it should only be used in situations where this is
1387             not needed.
1388             <p>Corresponds to
1389             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_EXTRACT_UI}. -->
1390        <flag name="flagNoExtractUi" value="0x10000000" />
1391        <!-- Used in conjunction with a custom action, this indicates that the
1392             action should not be available as an accessory button when the
1393             input method is full-screen.
1394             Note that by setting this flag, there can be cases where the action
1395             is simply never available to the user.  Setting this generally means
1396             that you think showing text being edited is more important than the
1397             action you have supplied.
1398             <p>Corresponds to
1399             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ACCESSORY_ACTION}. -->
1400        <flag name="flagNoAccessoryAction" value="0x20000000" />
1401        <!-- Used in conjunction with a custom action,
1402             this indicates that the action should not be available in-line as
1403             a replacement for the "enter" key.  Typically this is
1404             because the action has such a significant impact or is not recoverable
1405             enough that accidentally hitting it should be avoided, such as sending
1406             a message.    Note that {@link android.widget.TextView} will
1407             automatically set this flag for you on multi-line text views.
1408             <p>Corresponds to
1409             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ENTER_ACTION}. -->
1410        <flag name="flagNoEnterAction" value="0x40000000" />
1411        <!-- Used to request that the IME should be capable of inputting ASCII
1412             characters.  The intention of this flag is to ensure that the user
1413             can type Roman alphabet characters in a {@link android.widget.TextView}
1414             used for, typically, account ID or password input.  It is expected that IMEs
1415             normally are able to input ASCII even without being told so (such IMEs
1416             already respect this flag in a sense), but there could be some cases they
1417             aren't when, for instance, only non-ASCII input languagaes like Arabic,
1418             Greek, Hebrew, Russian are enabled in the IME.  Applications need to be
1419             aware that the flag is not a guarantee, and not all IMEs will respect it.
1420             However, it is strongly recommended for IME authors to respect this flag
1421             especially when their IME could end up with a state that has only non-ASCII
1422             input languages enabled.
1423             <p>Corresponds to
1424             {@link android.view.inputmethod.EditorInfo#IME_FLAG_FORCE_ASCII}. -->
1425        <flag name="flagForceAscii" value="0x80000000" />
1426    </attr>
1427
1428    <!-- A coordinate in the X dimension. -->
1429    <attr name="x" format="dimension" />
1430    <!-- A coordinate in the Y dimension. -->
1431    <attr name="y" format="dimension" />
1432
1433    <!-- Specifies how an object should position its content, on both the X and Y axes,
1434         within its own bounds.  -->
1435    <attr name="gravity">
1436        <!-- Push object to the top of its container, not changing its size. -->
1437        <flag name="top" value="0x30" />
1438        <!-- Push object to the bottom of its container, not changing its size. -->
1439        <flag name="bottom" value="0x50" />
1440        <!-- Push object to the left of its container, not changing its size. -->
1441        <flag name="left" value="0x03" />
1442        <!-- Push object to the right of its container, not changing its size. -->
1443        <flag name="right" value="0x05" />
1444        <!-- Place object in the vertical center of its container, not changing its size. -->
1445        <flag name="center_vertical" value="0x10" />
1446        <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
1447        <flag name="fill_vertical" value="0x70" />
1448        <!-- Place object in the horizontal center of its container, not changing its size. -->
1449        <flag name="center_horizontal" value="0x01" />
1450        <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
1451        <flag name="fill_horizontal" value="0x07" />
1452        <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
1453        <flag name="center" value="0x11" />
1454        <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
1455        <flag name="fill" value="0x77" />
1456        <!-- Additional option that can be set to have the top and/or bottom edges of
1457             the child clipped to its container's bounds.
1458             The clip will be based on the vertical gravity: a top gravity will clip the bottom
1459             edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
1460        <flag name="clip_vertical" value="0x80" />
1461        <!-- Additional option that can be set to have the left and/or right edges of
1462             the child clipped to its container's bounds.
1463             The clip will be based on the horizontal gravity: a left gravity will clip the right
1464             edge, a right gravity will clip the left edge, and neither will clip both edges. -->
1465        <flag name="clip_horizontal" value="0x08" />
1466        <!-- Push object to the beginning of its container, not changing its size. -->
1467        <flag name="start" value="0x00800003" />
1468        <!-- Push object to the end of its container, not changing its size. -->
1469        <flag name="end" value="0x00800005" />
1470    </attr>
1471
1472    <!-- Controls whether links such as urls and email addresses are
1473         automatically found and converted to clickable links.  The default
1474         value is "none", disabling this feature. -->
1475    <attr name="autoLink">
1476        <!-- Match no patterns (default). -->
1477        <flag name="none" value="0x00" />
1478        <!-- Match Web URLs. -->
1479        <flag name="web" value="0x01" />
1480        <!-- Match email addresses. -->
1481        <flag name="email" value="0x02" />
1482        <!-- Match phone numbers. -->
1483        <flag name="phone" value="0x04" />
1484        <!-- Match map addresses. -->
1485        <flag name="map" value="0x08" />
1486        <!-- Match all patterns (equivalent to web|email|phone|map). -->
1487        <flag name="all" value="0x0f" />
1488    </attr>
1489
1490    <!-- Reference to an array resource that will populate a list/adapter. -->
1491    <attr name="entries" format="reference" />
1492
1493    <!-- Standard gravity constant that a child supplies to its parent.
1494         Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout. -->
1495    <attr name="layout_gravity">
1496        <!-- Push object to the top of its container, not changing its size. -->
1497        <flag name="top" value="0x30" />
1498        <!-- Push object to the bottom of its container, not changing its size. -->
1499        <flag name="bottom" value="0x50" />
1500        <!-- Push object to the left of its container, not changing its size. -->
1501        <flag name="left" value="0x03" />
1502        <!-- Push object to the right of its container, not changing its size. -->
1503        <flag name="right" value="0x05" />
1504        <!-- Place object in the vertical center of its container, not changing its size. -->
1505        <flag name="center_vertical" value="0x10" />
1506        <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
1507        <flag name="fill_vertical" value="0x70" />
1508        <!-- Place object in the horizontal center of its container, not changing its size. -->
1509        <flag name="center_horizontal" value="0x01" />
1510        <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
1511        <flag name="fill_horizontal" value="0x07" />
1512        <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
1513        <flag name="center" value="0x11" />
1514        <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
1515        <flag name="fill" value="0x77" />
1516        <!-- Additional option that can be set to have the top and/or bottom edges of
1517             the child clipped to its container's bounds.
1518             The clip will be based on the vertical gravity: a top gravity will clip the bottom
1519             edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
1520        <flag name="clip_vertical" value="0x80" />
1521        <!-- Additional option that can be set to have the left and/or right edges of
1522             the child clipped to its container's bounds.
1523             The clip will be based on the horizontal gravity: a left gravity will clip the right
1524             edge, a right gravity will clip the left edge, and neither will clip both edges. -->
1525        <flag name="clip_horizontal" value="0x08" />
1526        <!-- Push object to the beginning of its container, not changing its size. -->
1527        <flag name="start" value="0x00800003" />
1528        <!-- Push object to the end of its container, not changing its size. -->
1529        <flag name="end" value="0x00800005" />
1530    </attr>
1531
1532    <!-- Standard orientation constant. -->
1533    <attr name="orientation">
1534        <!-- Defines an horizontal widget. -->
1535        <enum name="horizontal" value="0" />
1536        <!-- Defines a vertical widget. -->
1537        <enum name="vertical" value="1" />
1538    </attr>
1539
1540    <!-- Alignment constants. -->
1541    <attr name="alignmentMode">
1542        <!-- Align the bounds of the children.
1543        See {@link android.widget.GridLayout#ALIGN_BOUNDS}. -->
1544        <enum name="alignBounds" value="0" />
1545        <!-- Align the margins of the children.
1546        See {@link android.widget.GridLayout#ALIGN_MARGINS}. -->
1547        <enum name="alignMargins" value="1" />
1548    </attr>
1549
1550    <!-- ========================== -->
1551    <!-- Key Codes                  -->
1552    <!-- ========================== -->
1553    <eat-comment />
1554
1555    <!-- This enum provides the same keycode values as can be found in
1556        {@link android.view.KeyEvent}. -->
1557    <attr name="keycode">
1558        <enum name="KEYCODE_UNKNOWN" value="0" />
1559        <enum name="KEYCODE_SOFT_LEFT" value="1" />
1560        <enum name="KEYCODE_SOFT_RIGHT" value="2" />
1561        <enum name="KEYCODE_HOME" value="3" />
1562        <enum name="KEYCODE_BACK" value="4" />
1563        <enum name="KEYCODE_CALL" value="5" />
1564        <enum name="KEYCODE_ENDCALL" value="6" />
1565        <enum name="KEYCODE_0" value="7" />
1566        <enum name="KEYCODE_1" value="8" />
1567        <enum name="KEYCODE_2" value="9" />
1568        <enum name="KEYCODE_3" value="10" />
1569        <enum name="KEYCODE_4" value="11" />
1570        <enum name="KEYCODE_5" value="12" />
1571        <enum name="KEYCODE_6" value="13" />
1572        <enum name="KEYCODE_7" value="14" />
1573        <enum name="KEYCODE_8" value="15" />
1574        <enum name="KEYCODE_9" value="16" />
1575        <enum name="KEYCODE_STAR" value="17" />
1576        <enum name="KEYCODE_POUND" value="18" />
1577        <enum name="KEYCODE_DPAD_UP" value="19" />
1578        <enum name="KEYCODE_DPAD_DOWN" value="20" />
1579        <enum name="KEYCODE_DPAD_LEFT" value="21" />
1580        <enum name="KEYCODE_DPAD_RIGHT" value="22" />
1581        <enum name="KEYCODE_DPAD_CENTER" value="23" />
1582        <enum name="KEYCODE_VOLUME_UP" value="24" />
1583        <enum name="KEYCODE_VOLUME_DOWN" value="25" />
1584        <enum name="KEYCODE_POWER" value="26" />
1585        <enum name="KEYCODE_CAMERA" value="27" />
1586        <enum name="KEYCODE_CLEAR" value="28" />
1587        <enum name="KEYCODE_A" value="29" />
1588        <enum name="KEYCODE_B" value="30" />
1589        <enum name="KEYCODE_C" value="31" />
1590        <enum name="KEYCODE_D" value="32" />
1591        <enum name="KEYCODE_E" value="33" />
1592        <enum name="KEYCODE_F" value="34" />
1593        <enum name="KEYCODE_G" value="35" />
1594        <enum name="KEYCODE_H" value="36" />
1595        <enum name="KEYCODE_I" value="37" />
1596        <enum name="KEYCODE_J" value="38" />
1597        <enum name="KEYCODE_K" value="39" />
1598        <enum name="KEYCODE_L" value="40" />
1599        <enum name="KEYCODE_M" value="41" />
1600        <enum name="KEYCODE_N" value="42" />
1601        <enum name="KEYCODE_O" value="43" />
1602        <enum name="KEYCODE_P" value="44" />
1603        <enum name="KEYCODE_Q" value="45" />
1604        <enum name="KEYCODE_R" value="46" />
1605        <enum name="KEYCODE_S" value="47" />
1606        <enum name="KEYCODE_T" value="48" />
1607        <enum name="KEYCODE_U" value="49" />
1608        <enum name="KEYCODE_V" value="50" />
1609        <enum name="KEYCODE_W" value="51" />
1610        <enum name="KEYCODE_X" value="52" />
1611        <enum name="KEYCODE_Y" value="53" />
1612        <enum name="KEYCODE_Z" value="54" />
1613        <enum name="KEYCODE_COMMA" value="55" />
1614        <enum name="KEYCODE_PERIOD" value="56" />
1615        <enum name="KEYCODE_ALT_LEFT" value="57" />
1616        <enum name="KEYCODE_ALT_RIGHT" value="58" />
1617        <enum name="KEYCODE_SHIFT_LEFT" value="59" />
1618        <enum name="KEYCODE_SHIFT_RIGHT" value="60" />
1619        <enum name="KEYCODE_TAB" value="61" />
1620        <enum name="KEYCODE_SPACE" value="62" />
1621        <enum name="KEYCODE_SYM" value="63" />
1622        <enum name="KEYCODE_EXPLORER" value="64" />
1623        <enum name="KEYCODE_ENVELOPE" value="65" />
1624        <enum name="KEYCODE_ENTER" value="66" />
1625        <enum name="KEYCODE_DEL" value="67" />
1626        <enum name="KEYCODE_GRAVE" value="68" />
1627        <enum name="KEYCODE_MINUS" value="69" />
1628        <enum name="KEYCODE_EQUALS" value="70" />
1629        <enum name="KEYCODE_LEFT_BRACKET" value="71" />
1630        <enum name="KEYCODE_RIGHT_BRACKET" value="72" />
1631        <enum name="KEYCODE_BACKSLASH" value="73" />
1632        <enum name="KEYCODE_SEMICOLON" value="74" />
1633        <enum name="KEYCODE_APOSTROPHE" value="75" />
1634        <enum name="KEYCODE_SLASH" value="76" />
1635        <enum name="KEYCODE_AT" value="77" />
1636        <enum name="KEYCODE_NUM" value="78" />
1637        <enum name="KEYCODE_HEADSETHOOK" value="79" />
1638        <enum name="KEYCODE_FOCUS" value="80" />
1639        <enum name="KEYCODE_PLUS" value="81" />
1640        <enum name="KEYCODE_MENU" value="82" />
1641        <enum name="KEYCODE_NOTIFICATION" value="83" />
1642        <enum name="KEYCODE_SEARCH" value="84" />
1643        <enum name="KEYCODE_MEDIA_PLAY_PAUSE" value="85" />
1644        <enum name="KEYCODE_MEDIA_STOP" value="86" />
1645        <enum name="KEYCODE_MEDIA_NEXT" value="87" />
1646        <enum name="KEYCODE_MEDIA_PREVIOUS" value="88" />
1647        <enum name="KEYCODE_MEDIA_REWIND" value="89" />
1648        <enum name="KEYCODE_MEDIA_FAST_FORWARD" value="90" />
1649        <enum name="KEYCODE_MUTE" value="91" />
1650        <enum name="KEYCODE_PAGE_UP" value="92" />
1651        <enum name="KEYCODE_PAGE_DOWN" value="93" />
1652        <enum name="KEYCODE_PICTSYMBOLS" value="94" />
1653        <enum name="KEYCODE_SWITCH_CHARSET" value="95" />
1654        <enum name="KEYCODE_BUTTON_A" value="96" />
1655        <enum name="KEYCODE_BUTTON_B" value="97" />
1656        <enum name="KEYCODE_BUTTON_C" value="98" />
1657        <enum name="KEYCODE_BUTTON_X" value="99" />
1658        <enum name="KEYCODE_BUTTON_Y" value="100" />
1659        <enum name="KEYCODE_BUTTON_Z" value="101" />
1660        <enum name="KEYCODE_BUTTON_L1" value="102" />
1661        <enum name="KEYCODE_BUTTON_R1" value="103" />
1662        <enum name="KEYCODE_BUTTON_L2" value="104" />
1663        <enum name="KEYCODE_BUTTON_R2" value="105" />
1664        <enum name="KEYCODE_BUTTON_THUMBL" value="106" />
1665        <enum name="KEYCODE_BUTTON_THUMBR" value="107" />
1666        <enum name="KEYCODE_BUTTON_START" value="108" />
1667        <enum name="KEYCODE_BUTTON_SELECT" value="109" />
1668        <enum name="KEYCODE_BUTTON_MODE" value="110" />
1669        <enum name="KEYCODE_ESCAPE" value="111" />
1670        <enum name="KEYCODE_FORWARD_DEL" value="112" />
1671        <enum name="KEYCODE_CTRL_LEFT" value="113" />
1672        <enum name="KEYCODE_CTRL_RIGHT" value="114" />
1673        <enum name="KEYCODE_CAPS_LOCK" value="115" />
1674        <enum name="KEYCODE_SCROLL_LOCK" value="116" />
1675        <enum name="KEYCODE_META_LEFT" value="117" />
1676        <enum name="KEYCODE_META_RIGHT" value="118" />
1677        <enum name="KEYCODE_FUNCTION" value="119" />
1678        <enum name="KEYCODE_SYSRQ" value="120" />
1679        <enum name="KEYCODE_BREAK" value="121" />
1680        <enum name="KEYCODE_MOVE_HOME" value="122" />
1681        <enum name="KEYCODE_MOVE_END" value="123" />
1682        <enum name="KEYCODE_INSERT" value="124" />
1683        <enum name="KEYCODE_FORWARD" value="125" />
1684        <enum name="KEYCODE_MEDIA_PLAY" value="126" />
1685        <enum name="KEYCODE_MEDIA_PAUSE" value="127" />
1686        <enum name="KEYCODE_MEDIA_CLOSE" value="128" />
1687        <enum name="KEYCODE_MEDIA_EJECT" value="129" />
1688        <enum name="KEYCODE_MEDIA_RECORD" value="130" />
1689        <enum name="KEYCODE_F1" value="131" />
1690        <enum name="KEYCODE_F2" value="132" />
1691        <enum name="KEYCODE_F3" value="133" />
1692        <enum name="KEYCODE_F4" value="134" />
1693        <enum name="KEYCODE_F5" value="135" />
1694        <enum name="KEYCODE_F6" value="136" />
1695        <enum name="KEYCODE_F7" value="137" />
1696        <enum name="KEYCODE_F8" value="138" />
1697        <enum name="KEYCODE_F9" value="139" />
1698        <enum name="KEYCODE_F10" value="140" />
1699        <enum name="KEYCODE_F11" value="141" />
1700        <enum name="KEYCODE_F12" value="142" />
1701        <enum name="KEYCODE_NUM_LOCK" value="143" />
1702        <enum name="KEYCODE_NUMPAD_0" value="144" />
1703        <enum name="KEYCODE_NUMPAD_1" value="145" />
1704        <enum name="KEYCODE_NUMPAD_2" value="146" />
1705        <enum name="KEYCODE_NUMPAD_3" value="147" />
1706        <enum name="KEYCODE_NUMPAD_4" value="148" />
1707        <enum name="KEYCODE_NUMPAD_5" value="149" />
1708        <enum name="KEYCODE_NUMPAD_6" value="150" />
1709        <enum name="KEYCODE_NUMPAD_7" value="151" />
1710        <enum name="KEYCODE_NUMPAD_8" value="152" />
1711        <enum name="KEYCODE_NUMPAD_9" value="153" />
1712        <enum name="KEYCODE_NUMPAD_DIVIDE" value="154" />
1713        <enum name="KEYCODE_NUMPAD_MULTIPLY" value="155" />
1714        <enum name="KEYCODE_NUMPAD_SUBTRACT" value="156" />
1715        <enum name="KEYCODE_NUMPAD_ADD" value="157" />
1716        <enum name="KEYCODE_NUMPAD_DOT" value="158" />
1717        <enum name="KEYCODE_NUMPAD_COMMA" value="159" />
1718        <enum name="KEYCODE_NUMPAD_ENTER" value="160" />
1719        <enum name="KEYCODE_NUMPAD_EQUALS" value="161" />
1720        <enum name="KEYCODE_NUMPAD_LEFT_PAREN" value="162" />
1721        <enum name="KEYCODE_NUMPAD_RIGHT_PAREN" value="163" />
1722        <enum name="KEYCODE_VOLUME_MUTE" value="164" />
1723        <enum name="KEYCODE_INFO" value="165" />
1724        <enum name="KEYCODE_CHANNEL_UP" value="166" />
1725        <enum name="KEYCODE_CHANNEL_DOWN" value="167" />
1726        <enum name="KEYCODE_ZOOM_IN" value="168" />
1727        <enum name="KEYCODE_ZOOM_OUT" value="169" />
1728        <enum name="KEYCODE_TV" value="170" />
1729        <enum name="KEYCODE_WINDOW" value="171" />
1730        <enum name="KEYCODE_GUIDE" value="172" />
1731        <enum name="KEYCODE_DVR" value="173" />
1732        <enum name="KEYCODE_BOOKMARK" value="174" />
1733        <enum name="KEYCODE_CAPTIONS" value="175" />
1734        <enum name="KEYCODE_SETTINGS" value="176" />
1735        <enum name="KEYCODE_TV_POWER" value="177" />
1736        <enum name="KEYCODE_TV_INPUT" value="178" />
1737        <enum name="KEYCODE_STB_POWER" value="179" />
1738        <enum name="KEYCODE_STB_INPUT" value="180" />
1739        <enum name="KEYCODE_AVR_POWER" value="181" />
1740        <enum name="KEYCODE_AVR_INPUT" value="182" />
1741        <enum name="KEYCODE_PROG_GRED" value="183" />
1742        <enum name="KEYCODE_PROG_GREEN" value="184" />
1743        <enum name="KEYCODE_PROG_YELLOW" value="185" />
1744        <enum name="KEYCODE_PROG_BLUE" value="186" />
1745        <enum name="KEYCODE_APP_SWITCH" value="187" />
1746        <enum name="KEYCODE_BUTTON_1" value="188" />
1747        <enum name="KEYCODE_BUTTON_2" value="189" />
1748        <enum name="KEYCODE_BUTTON_3" value="190" />
1749        <enum name="KEYCODE_BUTTON_4" value="191" />
1750        <enum name="KEYCODE_BUTTON_5" value="192" />
1751        <enum name="KEYCODE_BUTTON_6" value="193" />
1752        <enum name="KEYCODE_BUTTON_7" value="194" />
1753        <enum name="KEYCODE_BUTTON_8" value="195" />
1754        <enum name="KEYCODE_BUTTON_9" value="196" />
1755        <enum name="KEYCODE_BUTTON_10" value="197" />
1756        <enum name="KEYCODE_BUTTON_11" value="198" />
1757        <enum name="KEYCODE_BUTTON_12" value="199" />
1758        <enum name="KEYCODE_BUTTON_13" value="200" />
1759        <enum name="KEYCODE_BUTTON_14" value="201" />
1760        <enum name="KEYCODE_BUTTON_15" value="202" />
1761        <enum name="KEYCODE_BUTTON_16" value="203" />
1762        <enum name="KEYCODE_LANGUAGE_SWITCH" value="204" />
1763        <enum name="KEYCODE_MANNER_MODE" value="205" />
1764        <enum name="KEYCODE_3D_MODE" value="206" />
1765        <enum name="KEYCODE_CONTACTS" value="207" />
1766        <enum name="KEYCODE_CALENDAR" value="208" />
1767        <enum name="KEYCODE_MUSIC" value="209" />
1768        <enum name="KEYCODE_CALCULATOR" value="210" />
1769        <enum name="KEYCODE_ZENKAKU_HANKAKU" value="211" />
1770        <enum name="KEYCODE_EISU" value="212" />
1771        <enum name="KEYCODE_MUHENKAN" value="213" />
1772        <enum name="KEYCODE_HENKAN" value="214" />
1773        <enum name="KEYCODE_KATAKANA_HIRAGANA" value="215" />
1774        <enum name="KEYCODE_YEN" value="216" />
1775        <enum name="KEYCODE_RO" value="217" />
1776        <enum name="KEYCODE_KANA" value="218" />
1777        <enum name="KEYCODE_ASSIST" value="219" />
1778        <enum name="KEYCODE_BRIGHTNESS_DOWN" value="220" />
1779        <enum name="KEYCODE_BRIGHTNESS_UP" value="221" />
1780        <enum name="KEYCODE_MEDIA_AUDIO_TRACK" value="222" />
1781        <enum name="KEYCODE_MEDIA_SLEEP" value="223" />
1782        <enum name="KEYCODE_MEDIA_WAKEUP" value="224" />
1783        <enum name="KEYCODE_PAIRING" value="225" />
1784        <enum name="KEYCODE_MEDIA_TOP_MENU" value="226" />
1785        <enum name="KEYCODE_11" value="227" />
1786        <enum name="KEYCODE_12" value="228" />
1787        <enum name="KEYCODE_LAST_CHANNEL" value="229" />
1788        <enum name="KEYCODE_TV_DATA_SERVICE" value="230" />
1789        <enum name="KEYCODE_VOICE_ASSIST" value="231" />
1790        <enum name="KEYCODE_TV_RADIO_SERVICE" value="232" />
1791        <enum name="KEYCODE_TV_TELETEXT" value="233" />
1792        <enum name="KEYCODE_TV_NUMBER_ENTRY" value="234" />
1793        <enum name="KEYCODE_TV_TERRESTRIAL_ANALOG" value="235" />
1794        <enum name="KEYCODE_TV_TERRESTRIAL_DIGITAL" value="236" />
1795        <enum name="KEYCODE_TV_SATELLITE" value="237" />
1796        <enum name="KEYCODE_TV_SATELLITE_BS" value="238" />
1797        <enum name="KEYCODE_TV_SATELLITE_CS" value="239" />
1798        <enum name="KEYCODE_TV_SATELLITE_SERVICE" value="240" />
1799        <enum name="KEYCODE_TV_NETWORK" value="241" />
1800        <enum name="KEYCODE_TV_ANTENNA_CABLE" value="242" />
1801        <enum name="KEYCODE_TV_INPUT_HDMI_1" value="243" />
1802        <enum name="KEYCODE_TV_INPUT_HDMI_2" value="244" />
1803        <enum name="KEYCODE_TV_INPUT_HDMI_3" value="245" />
1804        <enum name="KEYCODE_TV_INPUT_HDMI_4" value="246" />
1805        <enum name="KEYCODE_TV_INPUT_COMPOSITE_1" value="247" />
1806        <enum name="KEYCODE_TV_INPUT_COMPOSITE_2" value="248" />
1807        <enum name="KEYCODE_TV_INPUT_COMPONENT_1" value="249" />
1808        <enum name="KEYCODE_TV_INPUT_COMPONENT_2" value="250" />
1809        <enum name="KEYCODE_TV_INPUT_VGA_1" value="251" />
1810        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION" value="252" />
1811        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP" value="253" />
1812        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN" value="254" />
1813        <enum name="KEYCODE_TV_ZOOM_MODE" value="255" />
1814        <enum name="KEYCODE_TV_CONTENTS_MENU" value="256" />
1815        <enum name="KEYCODE_TV_MEDIA_CONTEXT_MENU" value="257" />
1816        <enum name="KEYCODE_TV_TIMER_PROGRAMMING" value="258" />
1817        <enum name="KEYCODE_HELP" value="259" />
1818        <enum name="KEYCODE_NAVIGATE_PREVIOUS" value="260" />
1819        <enum name="KEYCODE_NAVIGATE_NEXT" value="261" />
1820        <enum name="KEYCODE_NAVIGATE_IN" value="262" />
1821        <enum name="KEYCODE_NAVIGATE_OUT" value="263" />
1822        <enum name="KEYCODE_STEM_PRIMARY" value="264" />
1823        <enum name="KEYCODE_STEM_1" value="265" />
1824        <enum name="KEYCODE_STEM_2" value="266" />
1825        <enum name="KEYCODE_STEM_3" value="267" />
1826        <enum name="KEYCODE_DPAD_UP_LEFT" value="268" />
1827        <enum name="KEYCODE_DPAD_DOWN_LEFT" value="269" />
1828        <enum name="KEYCODE_DPAD_UP_RIGHT" value="270" />
1829        <enum name="KEYCODE_DPAD_DOWN_RIGHT" value="271" />
1830        <enum name="KEYCODE_MEDIA_SKIP_FORWARD" value="272" />
1831        <enum name="KEYCODE_MEDIA_SKIP_BACKWARD" value="273" />
1832        <enum name="KEYCODE_MEDIA_STEP_FORWARD" value="274" />
1833        <enum name="KEYCODE_MEDIA_STEP_BACKWARD" value="275" />
1834        <enum name="KEYCODE_SOFT_SLEEP" value="276" />
1835        <enum name="KEYCODE_CUT" value="277" />
1836        <enum name="KEYCODE_COPY" value="278" />
1837        <enum name="KEYCODE_PASTE" value="279" />
1838        <enum name="KEYCODE_SYSTEM_NAVIGATION_UP" value="280" />
1839        <enum name="KEYCODE_SYSTEM_NAVIGATION_DOWN" value="281" />
1840        <enum name="KEYCODE_SYSTEM_NAVIGATION_LEFT" value="282" />
1841        <enum name="KEYCODE_SYSTEM_NAVIGATION_RIGHT" value="283" />
1842    </attr>
1843
1844    <!-- ***************************************************************** -->
1845    <!-- These define collections of attributes that can are with classes. -->
1846    <!-- ***************************************************************** -->
1847
1848    <!-- ========================== -->
1849    <!-- Special attribute classes. -->
1850    <!-- ========================== -->
1851    <eat-comment />
1852
1853    <!-- The set of attributes that describe a Windows's theme. -->
1854    <declare-styleable name="Window">
1855        <attr name="windowBackground" />
1856        <attr name="windowBackgroundFallback" />
1857        <attr name="windowContentOverlay" />
1858        <attr name="windowFrame" />
1859        <attr name="windowNoTitle" />
1860        <attr name="windowFullscreen" />
1861        <attr name="windowOverscan" />
1862        <attr name="windowIsFloating" />
1863        <attr name="windowIsTranslucent" />
1864        <attr name="windowShowWallpaper" />
1865        <attr name="windowAnimationStyle" />
1866        <attr name="windowSoftInputMode" />
1867        <attr name="windowDisablePreview" />
1868        <attr name="windowNoDisplay" />
1869        <attr name="textColor" />
1870        <attr name="backgroundDimEnabled" />
1871        <attr name="backgroundDimAmount" />
1872        <attr name="windowActionBar" />
1873        <attr name="windowActionModeOverlay" />
1874        <attr name="windowActionBarOverlay" />
1875        <attr name="windowEnableSplitTouch" />
1876        <attr name="windowCloseOnTouchOutside" />
1877        <attr name="windowTranslucentStatus" />
1878        <attr name="windowTranslucentNavigation" />
1879        <attr name="windowSwipeToDismiss" />
1880        <attr name="windowContentTransitions" />
1881        <attr name="windowActivityTransitions" />
1882        <attr name="windowContentTransitionManager" />
1883        <attr name="windowActionBarFullscreenDecorLayout" />
1884
1885        <!-- The minimum width the window is allowed to be, along the major
1886             axis of the screen.  That is, when in landscape.  Can be either
1887             an absolute dimension or a fraction of the screen size in that
1888             dimension. -->
1889        <attr name="windowMinWidthMajor" format="dimension|fraction" />
1890        <!-- The minimum width the window is allowed to be, along the minor
1891             axis of the screen.  That is, when in portrait.  Can be either
1892             an absolute dimension or a fraction of the screen size in that
1893             dimension. -->
1894        <attr name="windowMinWidthMinor" format="dimension|fraction" />
1895
1896        <!-- A fixed width for the window along the major axis of the screen,
1897             that is, when in landscape. Can be either an absolute dimension
1898             or a fraction of the screen size in that dimension. -->
1899        <attr name="windowFixedWidthMajor" format="dimension|fraction" />
1900        <!-- A fixed height for the window along the minor axis of the screen,
1901             that is, when in landscape. Can be either an absolute dimension
1902             or a fraction of the screen size in that dimension. -->
1903        <attr name="windowFixedHeightMinor" format="dimension|fraction" />
1904
1905        <!-- A fixed width for the window along the minor axis of the screen,
1906             that is, when in portrait. Can be either an absolute dimension
1907             or a fraction of the screen size in that dimension. -->
1908        <attr name="windowFixedWidthMinor" format="dimension|fraction" />
1909        <!-- A fixed height for the window along the major axis of the screen,
1910             that is, when in portrait. Can be either an absolute dimension
1911             or a fraction of the screen size in that dimension. -->
1912        <attr name="windowFixedHeightMajor" format="dimension|fraction" />
1913        <attr name="windowOutsetBottom" format="dimension" />
1914        <!-- Reference to a Transition XML resource defining the desired Transition
1915             used to move Views into the initial Window's content Scene. Corresponds to
1916             {@link android.view.Window#setEnterTransition(android.transition.Transition)}. -->
1917        <attr name="windowEnterTransition"/>
1918
1919        <!-- Reference to a Transition XML resource defining the desired Transition
1920             used to move Views out of the scene when the Window is
1921             preparing to close. Corresponds to
1922             {@link android.view.Window#setReturnTransition(android.transition.Transition)}. -->
1923        <attr name="windowReturnTransition"/>
1924
1925        <!-- Reference to a Transition XML resource defining the desired Transition
1926             used to move Views out of the Window's content Scene when launching a new Activity.
1927             Corresponds to
1928             {@link android.view.Window#setExitTransition(android.transition.Transition)}. -->
1929        <attr name="windowExitTransition"/>
1930
1931        <!-- Reference to a Transition XML resource defining the desired Transition
1932             used to move Views in to the scene when returning from a previously-started Activity.
1933             Corresponds to
1934             {@link android.view.Window#setReenterTransition(android.transition.Transition)}. -->
1935        <attr name="windowReenterTransition"/>
1936
1937        <!-- Reference to a Transition XML resource defining the desired Transition
1938             used to move shared elements transferred into the Window's initial content Scene.
1939             Corresponds to {@link android.view.Window#setSharedElementEnterTransition(
1940             android.transition.Transition)}. -->
1941        <attr name="windowSharedElementEnterTransition"/>
1942
1943        <!-- Reference to a Transition XML resource defining the desired Transition
1944             used to move shared elements transferred back to a calling Activity.
1945             Corresponds to {@link android.view.Window#setSharedElementReturnTransition(
1946             android.transition.Transition)}. -->
1947        <attr name="windowSharedElementReturnTransition"/>
1948
1949        <!-- Reference to a Transition XML resource defining the desired Transition
1950             used when starting a new Activity to move shared elements prior to transferring
1951             to the called Activity.
1952             Corresponds to {@link android.view.Window#setSharedElementExitTransition(
1953             android.transition.Transition)}. -->
1954        <attr name="windowSharedElementExitTransition"/>
1955
1956        <!-- Reference to a Transition XML resource defining the desired Transition
1957             used for shared elements transferred back to a calling Activity.
1958             Corresponds to {@link android.view.Window#setSharedElementReenterTransition(
1959             android.transition.Transition)}. -->
1960        <attr name="windowSharedElementReenterTransition"/>
1961
1962
1963        <!-- Flag indicating whether this Window's transition should overlap with
1964             the exiting transition of the calling Activity. Corresponds to
1965             {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. -->
1966        <attr name="windowAllowEnterTransitionOverlap"/>
1967
1968        <!-- Flag indicating whether this Window's transition should overlap with
1969             the exiting transition of the called Activity when the called Activity
1970             finishes. Corresponds to
1971             {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. -->
1972        <attr name="windowAllowReturnTransitionOverlap"/>
1973
1974        <!-- Indicates whether or not shared elements should use an overlay
1975             during transitions. The default value is true. -->
1976        <attr name="windowSharedElementsUseOverlay"/>
1977
1978        <!-- Flag indicating whether this Window is responsible for drawing the background for the
1979             system bars. If true and the window is not floating, the system bars are drawn with a
1980             transparent background and the corresponding areas in this window are filled with the
1981             colors specified in {@link android.R.attr#statusBarColor} and
1982             {@link android.R.attr#navigationBarColor}. Corresponds to
1983             {@link android.view.WindowManager.LayoutParams#FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS}. -->
1984        <attr name="windowDrawsSystemBarBackgrounds" format="boolean" />
1985
1986        <!-- The color for the status bar. If the color is not opaque, consider setting
1987             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and
1988             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN}.
1989             For this to take effect, the window must be drawing the system bar backgrounds with
1990             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not
1991             have been requested to be translucent with
1992             {@link android.R.attr#windowTranslucentStatus}.
1993             Corresponds to {@link android.view.Window#setStatusBarColor(int)}. -->
1994        <attr name="statusBarColor" format="color" />
1995
1996        <!-- The color for the navigation bar. If the color is not opaque, consider setting
1997             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and
1998             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION}.
1999             For this to take effect, the window must be drawing the system bar backgrounds with
2000             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not
2001             have been requested to be translucent with
2002             {@link android.R.attr#windowTranslucentNavigation}.
2003             Corresponds to {@link android.view.Window#setNavigationBarColor(int)}. -->
2004        <attr name="navigationBarColor" format="color" />
2005
2006        <!-- The duration, in milliseconds, of the window background fade duration
2007             when transitioning into or away from an Activity when called with an
2008             Activity Transition. Corresponds to
2009             {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. -->
2010        <attr name="windowTransitionBackgroundFadeDuration" />
2011
2012        <!-- Elevation to use for the window. -->
2013        <attr name="windowElevation" format="dimension" />
2014
2015        <!-- Whether to clip window content to the outline of the window background. -->
2016        <attr name="windowClipToOutline" format="boolean" />
2017
2018        <!-- If set, the status bar will be drawn such that it is compatible with a light
2019             status bar background.
2020             <p>For this to take effect, the window must be drawing the system bar backgrounds with
2021             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not
2022             have been requested to be translucent with
2023             {@link android.R.attr#windowTranslucentStatus}.
2024             Corresponds to setting {@link android.view.View#SYSTEM_UI_FLAG_LIGHT_STATUS_BAR} on
2025             the decor view. -->
2026        <attr name="windowLightStatusBar" format="boolean" />
2027    </declare-styleable>
2028
2029    <!-- The set of attributes that describe a AlertDialog's theme. -->
2030    <declare-styleable name="AlertDialog">
2031        <attr name="fullDark" format="reference|color" />
2032        <attr name="topDark" format="reference|color" />
2033        <attr name="centerDark" format="reference|color" />
2034        <attr name="bottomDark" format="reference|color" />
2035        <attr name="fullBright" format="reference|color" />
2036        <attr name="topBright" format="reference|color" />
2037        <attr name="centerBright" format="reference|color" />
2038        <attr name="bottomBright" format="reference|color" />
2039        <attr name="bottomMedium" format="reference|color" />
2040        <attr name="centerMedium" format="reference|color" />
2041        <attr name="layout" />
2042        <attr name="buttonPanelSideLayout" format="reference" />
2043        <attr name="listLayout" format="reference" />
2044        <attr name="multiChoiceItemLayout" format="reference" />
2045        <attr name="singleChoiceItemLayout" format="reference" />
2046        <attr name="listItemLayout" format="reference" />
2047        <attr name="progressLayout" format="reference" />
2048        <attr name="horizontalProgressLayout" format="reference" />
2049        <!-- @hide Not ready for public use. -->
2050        <attr name="showTitle" format="boolean" />
2051        <!-- @hide Whether fullDark, etc. should use default values if null. -->
2052        <attr name="needsDefaultBackgrounds" format="boolean" />
2053        <!-- @hide Workaround until we replace AlertController with custom layout. -->
2054        <attr name="controllerType">
2055            <!-- The default controller. -->
2056            <enum name="normal" value="0" />
2057            <!-- Controller for micro specific layout. -->
2058            <enum name="micro" value="1" />
2059        </attr>
2060        <!-- @hide Offset when scrolling to a selection. -->
2061        <attr name="selectionScrollOffset" format="dimension" />
2062    </declare-styleable>
2063
2064    <!-- @hide -->
2065    <declare-styleable name="ButtonBarLayout">
2066        <!-- Whether to automatically stack the buttons when there is not
2067             enough space to lay them out side-by-side. -->
2068        <attr name="allowStacking" format="boolean" />
2069    </declare-styleable>
2070
2071    <!-- Fragment animation class attributes. -->
2072    <declare-styleable name="FragmentAnimation">
2073        <attr name="fragmentOpenEnterAnimation" format="reference" />
2074        <attr name="fragmentOpenExitAnimation" format="reference" />
2075        <attr name="fragmentCloseEnterAnimation" format="reference" />
2076        <attr name="fragmentCloseExitAnimation" format="reference" />
2077        <attr name="fragmentFadeEnterAnimation" format="reference" />
2078        <attr name="fragmentFadeExitAnimation" format="reference" />
2079    </declare-styleable>
2080
2081    <!-- Window animation class attributes. -->
2082    <declare-styleable name="WindowAnimation">
2083        <!-- The animation used when a window is being added. -->
2084        <attr name="windowEnterAnimation" format="reference" />
2085        <!-- The animation used when a window is being removed. -->
2086        <attr name="windowExitAnimation" format="reference" />
2087        <!-- The animation used when a window is going from INVISIBLE to VISIBLE. -->
2088        <attr name="windowShowAnimation" format="reference" />
2089        <!-- The animation used when a window is going from VISIBLE to INVISIBLE. -->
2090        <attr name="windowHideAnimation" format="reference" />
2091
2092        <!--  When opening a new activity, this is the animation that is
2093              run on the next activity (which is entering the screen). -->
2094        <attr name="activityOpenEnterAnimation" format="reference" />
2095        <!--  When opening a new activity, this is the animation that is
2096              run on the previous activity (which is exiting the screen). -->
2097        <attr name="activityOpenExitAnimation" format="reference" />
2098        <!--  When closing the current activity, this is the animation that is
2099              run on the next activity (which is entering the screen). -->
2100        <attr name="activityCloseEnterAnimation" format="reference" />
2101        <!--  When closing the current activity, this is the animation that is
2102              run on the current activity (which is exiting the screen). -->
2103        <attr name="activityCloseExitAnimation" format="reference" />
2104        <!--  When opening an activity in a new task, this is the animation that is
2105              run on the activity of the new task (which is entering the screen). -->
2106        <attr name="taskOpenEnterAnimation" format="reference" />
2107        <!--  When opening an activity in a new task, this is the animation that is
2108              run on the activity of the old task (which is exiting the screen). -->
2109        <attr name="taskOpenExitAnimation" format="reference" />
2110        <!--  When opening an activity in a new task using Intent/FLAG_ACTIVITY_LAUNCH_BEHIND,
2111              this is the animation that is run on the activity of the new task (which is
2112              entering the screen and then leaving). -->
2113        <attr name="launchTaskBehindTargetAnimation" format="reference" />
2114        <!--  When opening an activity in a new task using Intent.FLAG_ACTIVITY_LAUNCH_BEHIND,
2115              this is the animation that is run on the activity of the old task (which is
2116              already on the screen and then stays on). -->
2117        <attr name="launchTaskBehindSourceAnimation" format="reference" />
2118        <!--  When closing the last activity of a task, this is the animation that is
2119              run on the activity of the next task (which is entering the screen). -->
2120        <attr name="taskCloseEnterAnimation" format="reference" />
2121        <!--  When opening an activity in a new task, this is the animation that is
2122              run on the activity of the old task (which is exiting the screen). -->
2123        <attr name="taskCloseExitAnimation" format="reference" />
2124        <!--  When bringing an existing task to the foreground, this is the
2125              animation that is run on the top activity of the task being brought
2126              to the foreground (which is entering the screen). -->
2127        <attr name="taskToFrontEnterAnimation" format="reference" />
2128        <!--  When bringing an existing task to the foreground, this is the
2129              animation that is run on the current foreground activity
2130              (which is exiting the screen). -->
2131        <attr name="taskToFrontExitAnimation" format="reference" />
2132        <!--  When sending the current task to the background, this is the
2133              animation that is run on the top activity of the task behind
2134              it (which is entering the screen). -->
2135        <attr name="taskToBackEnterAnimation" format="reference" />
2136        <!--  When sending the current task to the background, this is the
2137              animation that is run on the top activity of the current task
2138              (which is exiting the screen). -->
2139        <attr name="taskToBackExitAnimation" format="reference" />
2140
2141        <!--  When opening a new activity that shows the wallpaper, while
2142              currently not showing the wallpaper, this is the animation that
2143              is run on the new wallpaper activity (which is entering the screen). -->
2144        <attr name="wallpaperOpenEnterAnimation" format="reference" />
2145        <!--  When opening a new activity that shows the wallpaper, while
2146              currently not showing the wallpaper, this is the animation that
2147              is run on the current activity (which is exiting the screen). -->
2148        <attr name="wallpaperOpenExitAnimation" format="reference" />
2149        <!--  When opening a new activity that hides the wallpaper, while
2150              currently showing the wallpaper, this is the animation that
2151              is run on the new activity (which is entering the screen). -->
2152        <attr name="wallpaperCloseEnterAnimation" format="reference" />
2153        <!--  When opening a new activity that hides the wallpaper, while
2154              currently showing the wallpaper, this is the animation that
2155              is run on the old wallpaper activity (which is exiting the screen). -->
2156        <attr name="wallpaperCloseExitAnimation" format="reference" />
2157
2158        <!--  When opening a new activity that is on top of the wallpaper
2159              when the current activity is also on top of the wallpaper,
2160              this is the animation that is run on the new activity
2161              (which is entering the screen).  The wallpaper remains
2162              static behind the animation. -->
2163        <attr name="wallpaperIntraOpenEnterAnimation" format="reference" />
2164        <!--  When opening a new activity that is on top of the wallpaper
2165              when the current activity is also on top of the wallpaper,
2166              this is the animation that is run on the current activity
2167              (which is exiting the screen).  The wallpaper remains
2168              static behind the animation. -->
2169        <attr name="wallpaperIntraOpenExitAnimation" format="reference" />
2170        <!--  When closing a foreround activity that is on top of the wallpaper
2171              when the previous activity is also on top of the wallpaper,
2172              this is the animation that is run on the previous activity
2173              (which is entering the screen).  The wallpaper remains
2174              static behind the animation. -->
2175        <attr name="wallpaperIntraCloseEnterAnimation" format="reference" />
2176        <!--  When closing a foreround activity that is on top of the wallpaper
2177              when the previous activity is also on top of the wallpaper,
2178              this is the animation that is run on the current activity
2179              (which is exiting the screen).  The wallpaper remains
2180              static behind the animation. -->
2181        <attr name="wallpaperIntraCloseExitAnimation" format="reference" />
2182
2183        <!--  When opening a new activity from a RemoteViews, this is the
2184              animation that is run on the next activity (which is entering the
2185              screen). Requires config_overrideRemoteViewsActivityTransition to
2186              be true. -->
2187        <attr name="activityOpenRemoteViewsEnterAnimation" format="reference" />
2188
2189    </declare-styleable>
2190
2191    <!-- ============================= -->
2192    <!-- View package class attributes -->
2193    <!-- ============================= -->
2194    <eat-comment />
2195
2196    <!-- Attributes that can be used with {@link android.view.View} or
2197         any of its subclasses.  Also see {@link #ViewGroup_Layout} for
2198         attributes that are processed by the view's parent. -->
2199    <declare-styleable name="View">
2200        <!-- Supply an identifier name for this view, to later retrieve it
2201             with {@link android.view.View#findViewById View.findViewById()} or
2202             {@link android.app.Activity#findViewById Activity.findViewById()}.
2203             This must be a
2204             resource reference; typically you set this using the
2205             <code>@+</code> syntax to create a new ID resources.
2206             For example: <code>android:id="@+id/my_id"</code> which
2207             allows you to later retrieve the view
2208             with <code>findViewById(R.id.my_id)</code>. -->
2209        <attr name="id" format="reference" />
2210
2211        <!-- Supply a tag for this view containing a String, to be retrieved
2212             later with {@link android.view.View#getTag View.getTag()} or
2213             searched for with {@link android.view.View#findViewWithTag
2214             View.findViewWithTag()}.  It is generally preferable to use
2215             IDs (through the android:id attribute) instead of tags because
2216             they are faster and allow for compile-time type checking. -->
2217        <attr name="tag" format="string" />
2218
2219        <!-- The initial horizontal scroll offset, in pixels.-->
2220        <attr name="scrollX" format="dimension" />
2221
2222        <!-- The initial vertical scroll offset, in pixels. -->
2223        <attr name="scrollY" format="dimension" />
2224
2225        <!-- A drawable to use as the background.  This can be either a reference
2226             to a full drawable resource (such as a PNG image, 9-patch,
2227             XML state list description, etc), or a solid color such as "#ff000000"
2228            (black). -->
2229        <attr name="background" format="reference|color" />
2230
2231        <!-- Sets the padding, in pixels, of all four edges.  Padding is defined as
2232             space between the edges of the view and the view's content. A views size
2233             will include it's padding.  If a {@link android.R.attr#background}
2234             is provided, the padding will initially be set to that (0 if the
2235             drawable does not have padding).  Explicitly setting a padding value
2236             will override the corresponding padding found in the background. -->
2237        <attr name="padding" format="dimension" />
2238        <!-- Sets the padding, in pixels, of the left edge; see {@link android.R.attr#padding}. -->
2239        <attr name="paddingLeft" format="dimension" />
2240        <!-- Sets the padding, in pixels, of the top edge; see {@link android.R.attr#padding}. -->
2241        <attr name="paddingTop" format="dimension" />
2242        <!-- Sets the padding, in pixels, of the right edge; see {@link android.R.attr#padding}. -->
2243        <attr name="paddingRight" format="dimension" />
2244        <!-- Sets the padding, in pixels, of the bottom edge; see {@link android.R.attr#padding}. -->
2245        <attr name="paddingBottom" format="dimension" />
2246        <!-- Sets the padding, in pixels, of the start edge; see {@link android.R.attr#padding}. -->
2247        <attr name="paddingStart" format="dimension" />
2248        <!-- Sets the padding, in pixels, of the end edge; see {@link android.R.attr#padding}. -->
2249        <attr name="paddingEnd" format="dimension" />
2250
2251        <!-- Boolean that controls whether a view can take focus.  By default the user can not
2252             move focus to a view; by setting this attribute to true the view is
2253             allowed to take focus.  This value does not impact the behavior of
2254             directly calling {@link android.view.View#requestFocus}, which will
2255             always request focus regardless of this view.  It only impacts where
2256             focus navigation will try to move focus. -->
2257        <attr name="focusable" format="boolean" />
2258
2259        <!-- Boolean that controls whether a view can take focus while in touch mode.
2260             If this is true for a view, that view can gain focus when clicked on, and can keep
2261             focus if another view is clicked on that doesn't have this attribute set to true. -->
2262        <attr name="focusableInTouchMode" format="boolean" />
2263
2264        <!-- Controls the initial visibility of the view.  -->
2265        <attr name="visibility">
2266            <!-- Visible on screen; the default value. -->
2267            <enum name="visible" value="0" />
2268            <!-- Not displayed, but taken into account during layout (space is left for it). -->
2269            <enum name="invisible" value="1" />
2270            <!-- Completely hidden, as if the view had not been added. -->
2271            <enum name="gone" value="2" />
2272        </attr>
2273
2274        <!-- Boolean internal attribute to adjust view layout based on
2275             system windows such as the status bar.
2276             If true, adjusts the padding of this view to leave space for the system windows.
2277             Will only take effect if this view is in a non-embedded activity. -->
2278        <attr name="fitsSystemWindows" format="boolean" />
2279
2280        <!-- Defines which scrollbars should be displayed on scrolling or not. -->
2281        <attr name="scrollbars">
2282            <!-- No scrollbar is displayed. -->
2283            <flag name="none" value="0x00000000" />
2284            <!-- Displays horizontal scrollbar only. -->
2285            <flag name="horizontal" value="0x00000100" />
2286            <!-- Displays vertical scrollbar only. -->
2287            <flag name="vertical" value="0x00000200" />
2288        </attr>
2289
2290        <!-- Controls the scrollbar style and position. The scrollbars can be overlaid or
2291             inset. When inset, they add to the padding of the view. And the
2292             scrollbars can be drawn inside the padding area or on the edge of
2293             the view. For example, if a view has a background drawable and you
2294             want to draw the scrollbars inside the padding specified by the
2295             drawable, you can use insideOverlay or insideInset. If you want them
2296             to appear at the edge of the view, ignoring the padding, then you can
2297             use outsideOverlay or outsideInset.-->
2298        <attr name="scrollbarStyle">
2299            <!-- Inside the padding and overlaid -->
2300            <enum name="insideOverlay" value="0x0" />
2301            <!-- Inside the padding and inset -->
2302            <enum name="insideInset" value="0x01000000" />
2303            <!-- Edge of the view and overlaid -->
2304            <enum name="outsideOverlay" value="0x02000000" />
2305            <!-- Edge of the view and inset -->
2306            <enum name="outsideInset" value="0x03000000" />
2307        </attr>
2308
2309        <!-- Set this if the view will serve as a scrolling container, meaning
2310             that it can be resized to shrink its overall window so that there
2311             will be space for an input method.  If not set, the default
2312             value will be true if "scrollbars" has the vertical scrollbar
2313             set, else it will be false. -->
2314        <attr name="isScrollContainer" format="boolean" />
2315
2316          <!-- Defines whether to fade out scrollbars when they are not in use. -->
2317         <attr name="fadeScrollbars" format="boolean" />
2318         <!-- Defines the delay in milliseconds that a scrollbar takes to fade out. -->
2319         <attr name="scrollbarFadeDuration" format="integer" />
2320         <!-- Defines the delay in milliseconds that a scrollbar waits before fade out. -->
2321        <attr name="scrollbarDefaultDelayBeforeFade" format="integer" />
2322        <!-- Sets the width of vertical scrollbars and height of horizontal scrollbars. -->
2323        <attr name="scrollbarSize" format="dimension" />
2324        <!-- Defines the horizontal scrollbar thumb drawable. -->
2325        <attr name="scrollbarThumbHorizontal" format="reference" />
2326        <!-- Defines the vertical scrollbar thumb drawable. -->
2327        <attr name="scrollbarThumbVertical" format="reference" />
2328        <!-- Defines the horizontal scrollbar track drawable. -->
2329        <attr name="scrollbarTrackHorizontal" format="reference" />
2330        <!-- Defines the vertical scrollbar track drawable. -->
2331        <attr name="scrollbarTrackVertical" format="reference" />
2332        <!-- Defines whether the horizontal scrollbar track should always be drawn. -->
2333        <attr name="scrollbarAlwaysDrawHorizontalTrack" format="boolean" />
2334        <!-- Defines whether the vertical scrollbar track should always be drawn. -->
2335        <attr name="scrollbarAlwaysDrawVerticalTrack" format="boolean" />
2336
2337        <!-- This attribute is deprecated and will be ignored as of
2338             API level 14 ({@link android.os.Build.VERSION_CODES#ICE_CREAM_SANDWICH}).
2339             Using fading edges may introduce noticeable performance
2340             degradations and should be used only when required by the application's
2341             visual design. To request fading edges with API level 14 and above,
2342             use the <code>android:requiresFadingEdge</code> attribute instead. -->
2343        <attr name="fadingEdge">
2344            <!-- No edge is faded. -->
2345            <flag name="none" value="0x00000000" />
2346            <!-- Fades horizontal edges only. -->
2347            <flag name="horizontal" value="0x00001000" />
2348            <!-- Fades vertical edges only. -->
2349            <flag name="vertical" value="0x00002000" />
2350        </attr>
2351        <!-- Defines which edges should be faded on scrolling. -->
2352        <attr name="requiresFadingEdge">
2353            <!-- No edge is faded. -->
2354            <flag name="none" value="0x00000000" />
2355            <!-- Fades horizontal edges only. -->
2356            <flag name="horizontal" value="0x00001000" />
2357            <!-- Fades vertical edges only. -->
2358            <flag name="vertical" value="0x00002000" />
2359        </attr>
2360        <!-- Defines the length of the fading edges. -->
2361        <attr name="fadingEdgeLength" format="dimension" />
2362
2363        <!-- Defines the next view to give focus to when the next focus is
2364             {@link android.view.View#FOCUS_LEFT}.
2365
2366             If the reference refers to a view that does not exist or is part
2367             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2368             will result when the reference is accessed.-->
2369        <attr name="nextFocusLeft" format="reference"/>
2370
2371        <!-- Defines the next view to give focus to when the next focus is
2372             {@link android.view.View#FOCUS_RIGHT}
2373
2374             If the reference refers to a view that does not exist or is part
2375             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2376             will result when the reference is accessed.-->
2377        <attr name="nextFocusRight" format="reference"/>
2378
2379        <!-- Defines the next view to give focus to when the next focus is
2380             {@link android.view.View#FOCUS_UP}
2381
2382             If the reference refers to a view that does not exist or is part
2383             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2384             will result when the reference is accessed.-->
2385        <attr name="nextFocusUp" format="reference"/>
2386
2387        <!-- Defines the next view to give focus to when the next focus is
2388             {@link android.view.View#FOCUS_DOWN}
2389
2390             If the reference refers to a view that does not exist or is part
2391             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2392             will result when the reference is accessed.-->
2393        <attr name="nextFocusDown" format="reference"/>
2394
2395        <!-- Defines the next view to give focus to when the next focus is
2396             {@link android.view.View#FOCUS_FORWARD}
2397
2398             If the reference refers to a view that does not exist or is part
2399             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2400             will result when the reference is accessed.-->
2401        <attr name="nextFocusForward" format="reference"/>
2402
2403        <!-- Defines whether this view reacts to click events. -->
2404        <attr name="clickable" format="boolean" />
2405
2406        <!-- Defines whether this view reacts to long click events. -->
2407        <attr name="longClickable" format="boolean" />
2408
2409        <!--  Defines whether this view reacts to context click events. -->
2410        <attr name="contextClickable" format="boolean" />
2411
2412        <!-- If false, no state will be saved for this view when it is being
2413             frozen. The default is true, allowing the view to be saved
2414             (however it also must have an ID assigned to it for its
2415             state to be saved).  Setting this to false only disables the
2416             state for this view, not for its children which may still
2417             be saved. -->
2418        <attr name="saveEnabled" format="boolean" />
2419
2420        <!-- Specifies whether to filter touches when the view's window is obscured by
2421             another visible window.  When set to true, the view will not receive touches
2422             whenever a toast, dialog or other window appears above the view's window.
2423             Refer to the {@link android.view.View} security documentation for more details. -->
2424        <attr name="filterTouchesWhenObscured" format="boolean" />
2425
2426        <!-- Defines the quality of translucent drawing caches. This property is used
2427             only when the drawing cache is enabled and translucent. The default value is auto. -->
2428        <attr name="drawingCacheQuality">
2429            <!-- Lets the framework decide what quality level should be used
2430                 for the drawing cache. -->
2431            <enum name="auto" value="0" />
2432            <!-- Low quality. When set to low quality, the drawing cache uses a lower color
2433                 depth, thus losing precision in rendering gradients, but uses less memory. -->
2434            <enum name="low" value="1" />
2435            <!-- High quality. When set to high quality, the drawing cache uses a higher
2436                 color depth but uses more memory. -->
2437            <enum name="high" value="2" />
2438        </attr>
2439
2440        <!-- Controls whether the view's window should keep the screen on
2441             while visible. -->
2442        <attr name="keepScreenOn" format="boolean" />
2443
2444        <!-- When this attribute is set to true, the view gets its drawable state
2445             (focused, pressed, etc.) from its direct parent rather than from itself. -->
2446        <attr name="duplicateParentState" format="boolean" />
2447
2448        <!-- Defines the minimum height of the view. It is not guaranteed
2449             the view will be able to achieve this minimum height (for example,
2450             if its parent layout constrains it with less available height). -->
2451        <attr name="minHeight" />
2452
2453        <!-- Defines the minimum width of the view. It is not guaranteed
2454             the view will be able to achieve this minimum width (for example,
2455             if its parent layout constrains it with less available width). -->
2456        <attr name="minWidth" />
2457
2458        <!-- Boolean that controls whether a view should have sound effects
2459             enabled for events such as clicking and touching. -->
2460        <attr name="soundEffectsEnabled" format="boolean" />
2461
2462        <!-- Boolean that controls whether a view should have haptic feedback
2463             enabled for events such as long presses. -->
2464        <attr name="hapticFeedbackEnabled" format="boolean" />
2465
2466        <!-- Defines text that briefly describes content of the view. This property is used
2467             primarily for accessibility. Since some views do not have textual
2468             representation this attribute can be used for providing such. -->
2469        <attr name="contentDescription" format="string" localization="suggested" />
2470
2471        <!-- Sets the id of a view before which this one is visited in accessibility traversal.
2472             A screen-reader must visit the content of this view before the content of the one
2473             it precedes.
2474             @see android.view.View#setAccessibilityTraversalBefore(int)} -->
2475        <attr name="accessibilityTraversalBefore" format="integer" />
2476
2477        <!-- Sets the id of a view after which this one is visited in accessibility traversal.
2478             A screen-reader must visit the content of the other view before the content of
2479             this one.
2480             @see android.view.View#setAccessibilityTraversalAfter(int)} -->
2481        <attr name="accessibilityTraversalAfter" format="integer" />
2482
2483        <!-- Name of the method in this View's context to invoke when the view is
2484             clicked. This name must correspond to a public method that takes
2485             exactly one parameter of type View. For instance, if you specify
2486             <code>android:onClick="sayHello"</code>, you must declare a
2487             <code>public void sayHello(View v)</code> method of your context
2488             (typically, your Activity). -->
2489        <attr name="onClick" format="string" />
2490
2491        <!-- Defines over-scrolling behavior. This property is used only if the
2492             View is scrollable. Over-scrolling is the ability for the user to
2493             receive feedback when attempting to scroll beyond meaningful content. -->
2494        <attr name="overScrollMode">
2495            <!-- Always show over-scroll effects, even if the content fits entirely
2496                 within the available space. -->
2497            <enum name="always" value="0" />
2498            <!-- Only show over-scroll effects if the content is large
2499                 enough to meaningfully scroll. -->
2500            <enum name="ifContentScrolls" value="1" />
2501            <!-- Never show over-scroll effects. -->
2502            <enum name="never" value="2" />
2503        </attr>
2504
2505        <!-- alpha property of the view, as a value between 0 (completely transparent) and 1
2506             (completely opaque). -->
2507        <attr name="alpha" format="float" />
2508
2509        <!-- base z depth of the view -->
2510        <attr name="elevation" format="dimension" />
2511
2512        <!-- translation in x of the view. This value is added post-layout to the left
2513             property of the view, which is set by its layout. -->
2514        <attr name="translationX" format="dimension" />
2515
2516        <!-- translation in y of the view. This value is added post-layout to the top
2517             property of the view, which is set by its layout. -->
2518        <attr name="translationY" format="dimension" />
2519
2520        <!-- translation in z of the view. This value is added to its elevation. -->
2521        <attr name="translationZ" format="dimension" />
2522
2523        <!-- x location of the pivot point around which the view will rotate and scale.
2524             This xml attribute sets the pivotX property of the View. -->
2525        <attr name="transformPivotX" format="dimension" />
2526
2527        <!-- y location of the pivot point around which the view will rotate and scale.
2528             This xml attribute sets the pivotY property of the View. -->
2529        <attr name="transformPivotY" format="dimension" />
2530
2531        <!-- rotation of the view, in degrees. -->
2532        <attr name="rotation" format="float" />
2533
2534        <!-- rotation of the view around the x axis, in degrees. -->
2535        <attr name="rotationX" format="float" />
2536
2537        <!-- rotation of the view around the y axis, in degrees. -->
2538        <attr name="rotationY" format="float" />
2539
2540        <!-- scale of the view in the x direction. -->
2541        <attr name="scaleX" format="float" />
2542
2543        <!-- scale of the view in the y direction. -->
2544        <attr name="scaleY" format="float" />
2545
2546        <!-- Determines which side the vertical scroll bar should be placed on. -->
2547        <attr name="verticalScrollbarPosition">
2548            <!-- Place the scroll bar wherever the system default determines. -->
2549            <enum name="defaultPosition" value="0" />
2550            <!-- Place the scroll bar on the left. -->
2551            <enum name="left" value="1" />
2552            <!-- Place the scroll bar on the right. -->
2553            <enum name="right" value="2" />
2554        </attr>
2555
2556        <!-- Specifies the type of layer backing this view. The default value is none.
2557             Refer to {@link android.view.View#setLayerType(int, android.graphics.Paint)}
2558             for more information.-->
2559        <attr name="layerType">
2560            <!-- Don't use a layer. -->
2561            <enum name="none" value="0" />
2562            <!-- Use a software layer. Refer to
2563                 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for
2564                 more information. -->
2565            <enum name="software" value="1" />
2566            <!-- Use a hardware layer. Refer to
2567                 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for
2568                 more information. -->
2569            <enum name="hardware" value="2" />
2570        </attr>
2571
2572        <!-- Defines the direction of layout drawing. This typically is associated with writing
2573             direction of the language script used. The possible values are "ltr" for Left-to-Right,
2574             "rtl" for Right-to-Left, "locale" and "inherit" from parent view. If there is nothing
2575             to inherit, "locale" is used. "locale" falls back to "en-US". "ltr" is the direction
2576             used in "en-US". The default for this attribute is "inherit". -->
2577        <attr name="layoutDirection">
2578            <!-- Left-to-Right -->
2579            <enum name="ltr" value="0" />
2580            <!-- Right-to-Left -->
2581            <enum name="rtl" value="1" />
2582            <!-- Inherit from parent -->
2583            <enum name="inherit" value="2" />
2584            <!-- Locale -->
2585            <enum name="locale" value="3" />
2586        </attr>
2587
2588        <!-- Defines the direction of the text. A heuristic is used to determine the resolved text
2589              direction of paragraphs. -->
2590         <attr name="textDirection" format="integer">
2591            <!-- Default -->
2592            <enum name="inherit" value="0" />
2593            <!-- Default for the root view. The first strong directional character determines the
2594                 paragraph direction.  If there is no strong directional character, the paragraph
2595                 direction is the view’s resolved layout direction. -->
2596            <enum name="firstStrong" value="1" />
2597            <!-- The paragraph direction is RTL if it contains any strong RTL character, otherwise
2598                 it is LTR if it contains any strong LTR characters.  If there are neither, the
2599                 paragraph direction is the view’s resolved layout direction. -->
2600            <enum name="anyRtl" value="2" />
2601            <!-- The paragraph direction is left to right. -->
2602            <enum name="ltr" value="3" />
2603            <!-- The paragraph direction is right to left. -->
2604            <enum name="rtl" value="4" />
2605            <!-- The paragraph direction is coming from the system Locale. -->
2606            <enum name="locale" value="5" />
2607            <!-- The first strong directional character determines the paragraph direction. If
2608                 there is no strong directional character, the paragraph direction is LTR. -->
2609            <enum name="firstStrongLtr" value="6" />
2610            <!-- The first strong directional character determines the paragraph direction. If
2611                 there is no strong directional character, the paragraph direction is RTL. -->
2612            <enum name="firstStrongRtl" value="7" />
2613        </attr>
2614
2615        <!-- Defines the alignment of the text. A heuristic is used to determine the resolved
2616            text alignment. -->
2617        <attr name="textAlignment" format="integer">
2618            <!-- Default -->
2619            <enum name="inherit" value="0" />
2620            <!-- Default for the root view. The gravity determines the alignment, ALIGN_NORMAL,
2621                ALIGN_CENTER, or ALIGN_OPPOSITE, which are relative to each paragraph’s
2622                text direction -->
2623            <enum name="gravity" value="1" />
2624            <!-- Align to the start of the paragraph, e.g. ALIGN_NORMAL. -->
2625            <enum name="textStart" value="2" />
2626            <!-- Align to the end of the paragraph, e.g. ALIGN_OPPOSITE. -->
2627            <enum name="textEnd" value="3" />
2628            <!-- Center the paragraph, e.g. ALIGN_CENTER. -->
2629            <enum name="center" value="4" />
2630            <!-- Align to the start of the view, which is ALIGN_LEFT if the view’s resolved
2631                layoutDirection is LTR, and ALIGN_RIGHT otherwise. -->
2632            <enum name="viewStart" value="5" />
2633            <!-- Align to the end of the view, which is ALIGN_RIGHT if the view’s resolved
2634                layoutDirection is LTR, and ALIGN_LEFT otherwise -->
2635            <enum name="viewEnd" value="6" />
2636        </attr>
2637
2638        <!-- Controls how this View is important for accessibility which is if it fires
2639             accessibility events and if it is reported to accessibility services that
2640             query the screen. Note: While not recommended, an accessibility service may
2641             decide to ignore this attribute and operate on all views in the view tree. -->
2642        <attr name="importantForAccessibility" format="integer">
2643            <!-- The system determines whether the view is important for accessibility - default
2644                 (recommended). -->
2645            <enum name="auto" value="0" />
2646            <!-- The view is important for accessibility. -->
2647            <enum name="yes" value="1" />
2648            <!-- The view is not important for accessibility. -->
2649            <enum name="no" value="2" />
2650            <!-- The view is not important for accessibility, nor are any of its descendant
2651                 views. -->
2652            <enum name="noHideDescendants" value="4" />
2653        </attr>
2654
2655        <!-- Indicates to accessibility services whether the user should be notified when
2656             this view changes. -->
2657        <attr name="accessibilityLiveRegion" format="integer">
2658            <!-- Accessibility services should not announce changes to this view. -->
2659            <enum name="none" value="0" />
2660            <!-- Accessibility services should announce changes to this view. -->
2661            <enum name="polite" value="1" />
2662            <!-- Accessibility services should interrupt ongoing speech to immediately
2663                 announce changes to this view. -->
2664            <enum name="assertive" value="2" />
2665        </attr>
2666
2667        <!-- Specifies the id of a view for which this view serves as a label for
2668             accessibility purposes. For example, a TextView before an EditText in
2669             the UI usually specifies what infomation is contained in the EditText.
2670             Hence, the TextView is a label for the EditText. -->
2671        <attr name="labelFor" format="reference" />
2672
2673        <!-- Specifies a theme override for a view. When a theme override is set, the
2674             view will be inflated using a {@link android.content.Context} themed with
2675             the specified resource. During XML inflation, any child views under the
2676             view with a theme override will inherit the themed context. -->
2677        <attr name="theme" />
2678
2679        <!-- Names a View such that it can be identified for Transitions. Names should be
2680             unique in the View hierarchy. -->
2681        <attr name="transitionName" format="string" />
2682
2683        <!-- Specifies that this view should permit nested scrolling within a compatible
2684             ancestor view. -->
2685        <attr name="nestedScrollingEnabled" format="boolean" />
2686
2687        <!-- Sets the state-based animator for the View. -->
2688        <attr name="stateListAnimator" format="reference"/>
2689
2690        <!-- Tint to apply to the background. -->
2691        <attr name="backgroundTint" format="color" />
2692
2693        <!-- Blending mode used to apply the background tint. -->
2694        <attr name="backgroundTintMode">
2695            <!-- The tint is drawn on top of the drawable.
2696                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
2697            <enum name="src_over" value="3" />
2698            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
2699                 color channels are thrown out. [Sa * Da, Sc * Da] -->
2700            <enum name="src_in" value="5" />
2701            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
2702                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
2703            <enum name="src_atop" value="9" />
2704            <!-- Multiplies the color and alpha channels of the drawable with those of
2705                 the tint. [Sa * Da, Sc * Dc] -->
2706            <enum name="multiply" value="14" />
2707            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
2708            <enum name="screen" value="15" />
2709            <!-- Combines the tint and drawable color and alpha channels, clamping the
2710                 result to valid color values. Saturate(S + D) -->
2711            <enum name="add" value="16" />
2712        </attr>
2713
2714        <!-- ViewOutlineProvider used to determine the View's Outline. -->
2715        <attr name="outlineProvider">
2716            <!-- Default, background drawable-driven outline. -->
2717            <enum name="background" value="0" />
2718            <!-- No outline provider. -->
2719            <enum name="none" value="1" />
2720            <!-- Generates an opaque outline for the bounds of the view. -->
2721            <enum name="bounds" value="2" />
2722            <!-- Generates an opaque outline for the padded bounds of the view. -->
2723            <enum name="paddedBounds" value="3" />
2724        </attr>
2725
2726        <!-- Defines the drawable to draw over the content. This can be used as an overlay.
2727             The foreground drawable participates in the padding of the content if the gravity
2728             is set to fill. -->
2729        <attr name="foreground" format="reference|color" />
2730        <!-- Defines the gravity to apply to the foreground drawable. The gravity defaults
2731             to fill. -->
2732        <attr name="foregroundGravity">
2733            <!-- Push object to the top of its container, not changing its size. -->
2734            <flag name="top" value="0x30" />
2735            <!-- Push object to the bottom of its container, not changing its size. -->
2736            <flag name="bottom" value="0x50" />
2737            <!-- Push object to the left of its container, not changing its size. -->
2738            <flag name="left" value="0x03" />
2739            <!-- Push object to the right of its container, not changing its size. -->
2740            <flag name="right" value="0x05" />
2741            <!-- Place object in the vertical center of its container, not changing its size. -->
2742            <flag name="center_vertical" value="0x10" />
2743            <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
2744            <flag name="fill_vertical" value="0x70" />
2745            <!-- Place object in the horizontal center of its container, not changing its size. -->
2746            <flag name="center_horizontal" value="0x01" />
2747            <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
2748            <flag name="fill_horizontal" value="0x07" />
2749            <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
2750            <flag name="center" value="0x11" />
2751            <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
2752            <flag name="fill" value="0x77" />
2753            <!-- Additional option that can be set to have the top and/or bottom edges of
2754                 the child clipped to its container's bounds.
2755                 The clip will be based on the vertical gravity: a top gravity will clip the bottom
2756                 edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
2757            <flag name="clip_vertical" value="0x80" />
2758            <!-- Additional option that can be set to have the left and/or right edges of
2759                 the child clipped to its container's bounds.
2760                 The clip will be based on the horizontal gravity: a left gravity will clip the right
2761                 edge, a right gravity will clip the left edge, and neither will clip both edges. -->
2762            <flag name="clip_horizontal" value="0x08" />
2763        </attr>
2764        <!-- Defines whether the foreground drawable should be drawn inside the padding.
2765             This property is turned on by default. -->
2766        <attr name="foregroundInsidePadding" format="boolean" />
2767        <!-- Tint to apply to the foreground. -->
2768        <attr name="foregroundTint" format="color" />
2769        <!-- Blending mode used to apply the foreground tint. -->
2770        <attr name="foregroundTintMode">
2771            <!-- The tint is drawn on top of the drawable.
2772                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
2773            <enum name="src_over" value="3" />
2774            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
2775                 color channels are thrown out. [Sa * Da, Sc * Da] -->
2776            <enum name="src_in" value="5" />
2777            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
2778                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
2779            <enum name="src_atop" value="9" />
2780            <!-- Multiplies the color and alpha channels of the drawable with those of
2781                 the tint. [Sa * Da, Sc * Dc] -->
2782            <enum name="multiply" value="14" />
2783            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
2784            <enum name="screen" value="15" />
2785            <!-- Combines the tint and drawable color and alpha channels, clamping the
2786                 result to valid color values. Saturate(S + D) -->
2787            <enum name="add" value="16" />
2788        </attr>
2789
2790        <!-- Defines which scroll indicators should be displayed when the view
2791             can be scrolled. Multiple values may be combined using logical OR,
2792             for example "top|bottom". -->
2793        <attr name="scrollIndicators">
2794            <!-- No scroll indicators are displayed. -->
2795            <flag name="none" value="0x00" />
2796            <!-- Displays top scroll indicator when view can be scrolled up. -->
2797            <flag name="top" value="0x01" />
2798            <!-- Displays bottom scroll indicator when vew can be scrolled down. -->
2799            <flag name="bottom" value="0x02" />
2800            <!-- Displays left scroll indicator when vew can be scrolled left. -->
2801            <flag name="left" value="0x04" />
2802            <!-- Displays right scroll indicator when vew can be scrolled right. -->
2803            <flag name="right" value="0x08" />
2804            <!-- Displays right scroll indicator when vew can be scrolled in the
2805                 start direction. -->
2806            <flag name="start" value="0x10" />
2807            <!-- Displays right scroll indicator when vew can be scrolled in the
2808                 end direction. -->
2809            <flag name="end" value="0x20" />
2810        </attr>
2811
2812        <attr name="pointerIcon">
2813            <!-- Null icon, pointer becomes invisible. -->
2814            <enum name="none" value="0" />
2815            <!-- The default icon of arrow pointer. -->
2816            <enum name="arrow" value="1000" />
2817            <!-- Pointer icon indicating context-menu will appear. -->
2818            <enum name="context_menu" value="1001" />
2819            <!-- Pointer icon of a hand with the index finger. -->
2820            <enum name="hand" value="1002" />
2821            <!-- Pointer icon indicating help. -->
2822            <enum name="help" value="1003" />
2823            <!-- Pointer icon indicating something is going on and waiting. -->
2824            <enum name="wait" value="1004" />
2825            <!-- Pointer icon for cell and grid. -->
2826            <enum name="cell" value="1006" />
2827            <!-- Pointer icon of crosshair, indicating to spot a location. -->
2828            <enum name="crosshair" value="1007" />
2829            <!-- Pointer icon of I-beam, usually for text. -->
2830            <enum name="text" value="1008" />
2831            <!-- Pointer icon of I-beam with 90-degree rotated, for vertical text. -->
2832            <enum name="vertical_text" value="1009" />
2833            <!-- Pointer icon of 'alias', indicating an alias of/shortcut to something is to be
2834                 created. -->
2835            <enum name="alias" value="1010" />
2836            <!-- Pointer icon of 'copy', used for drag/drop. -->
2837            <enum name="copy" value="1011" />
2838            <!-- Pointer icon of 'no-drop', indicating the drop will not be accepted at the
2839                 current location. -->
2840            <enum name="no_drop" value="1012" />
2841            <!-- Pointer icon of four-way arrows, indicating scrolling all direction. -->
2842            <enum name="all_scroll" value="1013" />
2843            <!-- Pointer icon of horizontal double arrow, indicating horizontal resize. -->
2844            <enum name="horizontal_double_arrow" value="1014" />
2845            <!-- Pointer icon of vertical double arrow, indicating vertical resize. -->
2846            <enum name="vertical_double_arrow" value="1015" />
2847            <!-- Pointer icon of diagonal double arrow, starting from top-right to bottom-left.
2848                 Indicating freeform resize. -->
2849            <enum name="top_right_diagonal_double_arrow" value="1016" />
2850            <!-- Pointer icon of diagonal double arrow, starting from top-left to bottom-right.
2851                 Indicating freeform resize. -->
2852            <enum name="top_left_diagonal_double_arrow" value="1017" />
2853            <!-- Pointer icon indicating zoom-in. -->
2854            <enum name="zoom_in" value="1018" />
2855            <!-- Pointer icon indicating zoom-out. -->
2856            <enum name="zoom_out" value="1019" />
2857            <!-- Pointer icon of a hand sign to grab something. -->
2858            <enum name="grab" value="1020" />
2859            <!-- Pointer icon of a hand sign while grabbing something. -->
2860            <enum name="grabbing" value="1021" />
2861        </attr>
2862
2863        <!-- Whether this view has elements that may overlap when drawn. See
2864             {@link android.view.View#forceHasOverlappingRendering(boolean)}. -->
2865        <attr name="forceHasOverlappingRendering" format="boolean" />
2866
2867    </declare-styleable>
2868
2869    <!-- Attributes that can be assigned to a tag for a particular View. -->
2870    <declare-styleable name="ViewTag">
2871        <!-- Specifies the key identifying a tag. This must be a resource reference. -->
2872        <attr name="id" />
2873        <!-- Specifies the value with which to tag the view. -->
2874        <attr name="value" />
2875    </declare-styleable>
2876
2877    <!-- Attributes that can be assigned to an &lt;include&gt; tag.
2878         @hide -->
2879    <declare-styleable name="Include">
2880        <attr name="id" />
2881        <attr name="visibility" />
2882    </declare-styleable>
2883
2884    <!-- Attributes that can be used with a {@link android.view.ViewGroup} or any
2885         of its subclasses.  Also see {@link #ViewGroup_Layout} for
2886         attributes that this class processes in its children. -->
2887    <declare-styleable name="ViewGroup">
2888        <!-- Defines whether changes in layout (caused by adding and removing items) should
2889             cause a LayoutTransition to run. When this flag is set to true, a default
2890             LayoutTransition object will be set on the ViewGroup container and default
2891             animations will run when these layout changes occur.-->
2892        <attr name="animateLayoutChanges" format="boolean" />
2893        <!-- Defines whether a child is limited to draw inside of its bounds or not.
2894             This is useful with animations that scale the size of the children to more
2895             than 100% for instance. In such a case, this property should be set to false
2896             to allow the children to draw outside of their bounds. The default value of
2897             this property is true. -->
2898        <attr name="clipChildren" format="boolean" />
2899        <!-- Defines whether the ViewGroup will clip its children and resize (but not clip) any
2900             EdgeEffect to its padding, if padding is not zero. This property is set to true by
2901             default. -->
2902        <attr name="clipToPadding" format="boolean" />
2903        <!-- Defines the layout animation to use the first time the ViewGroup is laid out.
2904             Layout animations can also be started manually after the first layout. -->
2905        <attr name="layoutAnimation" format="reference" />
2906        <!-- Defines whether layout animations should create a drawing cache for their
2907             children. Enabling the animation cache consumes more memory and requires
2908             a longer initialization but provides better performance. The animation
2909             cache is enabled by default. -->
2910        <attr name="animationCache" format="boolean" />
2911        <!-- Defines the persistence of the drawing cache. The drawing cache might be
2912             enabled by a ViewGroup for all its children in specific situations (for
2913             instance during a scrolling.) This property lets you persist the cache
2914             in memory after its initial usage. Persisting the cache consumes more
2915             memory but may prevent frequent garbage collection is the cache is created
2916             over and over again. By default the persistence is set to scrolling. -->
2917        <attr name="persistentDrawingCache">
2918            <!-- The drawing cache is not persisted after use. -->
2919            <flag name="none" value="0x0" />
2920            <!-- The drawing cache is persisted after a layout animation. -->
2921            <flag name="animation" value="0x1" />
2922            <!-- The drawing cache is persisted after a scroll. -->
2923            <flag name="scrolling" value="0x2" />
2924            <!-- The drawing cache is always persisted. -->
2925            <flag name="all" value="0x3" />
2926        </attr>
2927        <!-- Defines whether the ViewGroup should always draw its children using their
2928             drawing cache or not. The default value is true. -->
2929        <attr name="alwaysDrawnWithCache" format="boolean" />
2930        <!-- Sets whether this ViewGroup's drawable states also include
2931             its children's drawable states.  This is used, for example, to
2932             make a group appear to be focused when its child EditText or button
2933             is focused. -->
2934        <attr name="addStatesFromChildren" format="boolean" />
2935
2936        <!-- Defines the relationship between the ViewGroup and its descendants
2937             when looking for a View to take focus. -->
2938        <attr name="descendantFocusability">
2939            <!-- The ViewGroup will get focus before any of its descendants. -->
2940            <enum name="beforeDescendants" value="0" />
2941            <!-- The ViewGroup will get focus only if none of its descendants want it. -->
2942            <enum name="afterDescendants" value="1" />
2943            <!-- The ViewGroup will block its descendants from receiving focus. -->
2944            <enum name="blocksDescendants" value="2" />
2945        </attr>
2946
2947        <!-- Set to true if this ViewGroup blocks focus in the presence of a touchscreen. -->
2948        <attr name="touchscreenBlocksFocus" format="boolean" />
2949
2950        <!-- Sets whether this ViewGroup should split MotionEvents
2951             to separate child views during touch event dispatch.
2952             If false (default), touch events will be dispatched to
2953             the child view where the first pointer went down until
2954             the last pointer goes up.
2955             If true, touch events may be dispatched to multiple children.
2956             MotionEvents for each pointer will be dispatched to the child
2957             view where the initial ACTION_DOWN event happened.
2958             See {@link android.view.ViewGroup#setMotionEventSplittingEnabled(boolean)}
2959             for more information. -->
2960        <attr name="splitMotionEvents" format="boolean" />
2961
2962        <!-- Defines the layout mode of this ViewGroup. -->
2963        <attr name="layoutMode">
2964            <!-- Use the children's clip bounds when laying out this container. -->
2965            <enum name="clipBounds" value="0" />
2966            <!-- Use the children's optical bounds when laying out this container. -->
2967            <enum name="opticalBounds" value="1" />
2968        </attr>
2969
2970        <!-- Sets whether or not this ViewGroup should be treated as a single entity
2971             when doing an Activity transition. Typically, the elements inside a
2972             ViewGroup are each transitioned from the scene individually. The default
2973             for a ViewGroup is false unless it has a background. See
2974             {@link android.app.ActivityOptions#makeSceneTransitionAnimation(android.app.Activity,
2975             android.view.View, String)} for more information. Corresponds to
2976             {@link android.view.ViewGroup#setTransitionGroup(boolean)}.-->
2977        <attr name="transitionGroup" format="boolean" />
2978    </declare-styleable>
2979
2980    <!-- A {@link android.view.ViewStub} lets you lazily include other XML layouts
2981         inside your application at runtime. -->
2982    <declare-styleable name="ViewStub">
2983        <!-- Supply an identifier name for this view. -->
2984        <attr name="id" />
2985        <!-- Supply an identifier for the layout resource to inflate when the ViewStub
2986             becomes visible or when forced to do so. The layout resource must be a
2987             valid reference to a layout. -->
2988        <attr name="layout" format="reference" />
2989        <!-- Overrides the id of the inflated View with this value. -->
2990        <attr name="inflatedId" format="reference" />
2991    </declare-styleable>
2992
2993    <!-- ===================================== -->
2994    <!-- View package parent layout attributes -->
2995    <!-- ===================================== -->
2996    <eat-comment />
2997
2998    <!-- This is the basic set of layout attributes that are common to all
2999         layout managers.  These attributes are specified with the rest of
3000         a view's normal attributes (such as {@link android.R.attr#background},
3001         but will be parsed by the view's parent and ignored by the child.
3002        <p>The values defined here correspond to the base layout attribute
3003        class {@link android.view.ViewGroup.LayoutParams}. -->
3004    <declare-styleable name="ViewGroup_Layout">
3005        <!-- Specifies the basic width of the view.  This is a required attribute
3006             for any view inside of a containing layout manager.  Its value may
3007             be a dimension (such as "12dip") for a constant width or one of
3008             the special constants. -->
3009        <attr name="layout_width" format="dimension">
3010            <!-- The view should be as big as its parent (minus padding).
3011                 This constant is deprecated starting from API Level 8 and
3012                 is replaced by {@code match_parent}. -->
3013            <enum name="fill_parent" value="-1" />
3014            <!-- The view should be as big as its parent (minus padding).
3015                 Introduced in API Level 8. -->
3016            <enum name="match_parent" value="-1" />
3017            <!-- The view should be only big enough to enclose its content (plus padding). -->
3018            <enum name="wrap_content" value="-2" />
3019        </attr>
3020
3021        <!-- Specifies the basic height of the view.  This is a required attribute
3022             for any view inside of a containing layout manager.  Its value may
3023             be a dimension (such as "12dip") for a constant height or one of
3024             the special constants. -->
3025        <attr name="layout_height" format="dimension">
3026            <!-- The view should be as big as its parent (minus padding).
3027                 This constant is deprecated starting from API Level 8 and
3028                 is replaced by {@code match_parent}. -->
3029            <enum name="fill_parent" value="-1" />
3030            <!-- The view should be as big as its parent (minus padding).
3031                 Introduced in API Level 8. -->
3032            <enum name="match_parent" value="-1" />
3033            <!-- The view should be only big enough to enclose its content (plus padding). -->
3034            <enum name="wrap_content" value="-2" />
3035        </attr>
3036    </declare-styleable>
3037
3038    <!-- This is the basic set of layout attributes for layout managers that
3039         wish to place margins around their child views.
3040         These attributes are specified with the rest of
3041         a view's normal attributes (such as {@link android.R.attr#background},
3042         but will be parsed by the view's parent and ignored by the child.
3043        <p>The values defined here correspond to the base layout attribute
3044        class {@link android.view.ViewGroup.MarginLayoutParams}. -->
3045    <declare-styleable name="ViewGroup_MarginLayout">
3046        <attr name="layout_width" />
3047        <attr name="layout_height" />
3048        <!--  Specifies extra space on the left, top, right and bottom
3049              sides of this view. This space is outside this view's bounds.
3050              Margin values should be positive. -->
3051        <attr name="layout_margin" format="dimension"  />
3052        <!--  Specifies extra space on the left side of this view.
3053              This space is outside this view's bounds.
3054              Margin values should be positive. -->
3055        <attr name="layout_marginLeft" format="dimension"  />
3056        <!--  Specifies extra space on the top side of this view.
3057              This space is outside this view's bounds.
3058              Margin values should be positive.-->
3059        <attr name="layout_marginTop" format="dimension" />
3060        <!--  Specifies extra space on the right side of this view.
3061              This space is outside this view's bounds.
3062              Margin values should be positive.-->
3063        <attr name="layout_marginRight" format="dimension"  />
3064        <!--  Specifies extra space on the bottom side of this view.
3065              This space is outside this view's bounds.
3066              Margin values should be positive.-->
3067        <attr name="layout_marginBottom" format="dimension"  />
3068        <!--  Specifies extra space on the start side of this view.
3069              This space is outside this view's bounds.
3070              Margin values should be positive.-->
3071        <attr name="layout_marginStart" format="dimension"  />
3072        <!--  Specifies extra space on the end side of this view.
3073              This space is outside this view's bounds.
3074              Margin values should be positive.-->
3075        <attr name="layout_marginEnd" format="dimension"  />
3076    </declare-styleable>
3077
3078    <!-- Use <code>input-method</code> as the root tag of the XML resource that
3079         describes an
3080         {@link android.view.inputmethod.InputMethod} service, which is
3081         referenced from its
3082         {@link android.view.inputmethod.InputMethod#SERVICE_META_DATA}
3083         meta-data entry.  Described here are the attributes that can be
3084         included in that tag. -->
3085    <declare-styleable name="InputMethod">
3086        <!-- Component name of an activity that allows the user to modify
3087             the settings for this service. -->
3088        <attr name="settingsActivity" format="string" />
3089        <!-- Set to true in all of the configurations for which this input
3090             method should be considered an option as the default. -->
3091        <attr name="isDefault" format="boolean" />
3092        <!-- Set to true if this input method supports ways to switch to
3093             a next input method (e.g. a globe key.). When this is true and
3094             InputMethodManager#shouldOfferSwitchingToNextInputMethod() returns true,
3095             the IME has to offer ways to invoke InputMethodManager#switchToNextInputMethod()
3096             accordingly.
3097             <p> Note that the system determines the most appropriate next input method
3098             and subtype in order to provide the consistent user experience in switching
3099             between IMEs and subtypes. -->
3100        <attr name="supportsSwitchingToNextInputMethod" format="boolean" />
3101    </declare-styleable>
3102
3103    <!-- This is the subtype of InputMethod. Subtype can describe locales (e.g. en_US, fr_FR...)
3104         and modes (e.g. voice, keyboard...), and is used for IME switch. This subtype allows
3105         the system to call the specified subtype of the IME directly. -->
3106    <declare-styleable name="InputMethod_Subtype">
3107        <!-- The name of the subtype. -->
3108        <attr name="label" />
3109        <!-- The icon of the subtype. -->
3110        <attr name="icon" />
3111        <!-- The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...)
3112             and will be passed to the IME when the framework calls the IME
3113             with the subtype. This is also used by the framework to know the supported locales
3114             of the IME.  -->
3115        <attr name="imeSubtypeLocale" format="string" />
3116        <!-- The mode of the subtype. This string can be a mode (e.g. voice, keyboard...) and this
3117             string will be passed to the IME when the framework calls the IME with the
3118             subtype.  {@link android.view.inputmethod.InputMethodSubtype#getLocale()} returns the
3119             value specified in this attribute.  -->
3120        <attr name="imeSubtypeMode" format="string" />
3121        <!-- Set true if the subtype is auxiliary.  An auxiliary subtype won't be shown in the
3122             input method selection list in the settings app.
3123             InputMethodManager#switchToLastInputMethod will ignore auxiliary subtypes when it
3124             chooses a target subtype. -->
3125        <attr name="isAuxiliary" format="boolean" />
3126        <!-- Set true when this subtype should be selected by default if no other subtypes are
3127             selected explicitly. Note that a subtype with this parameter being true will
3128             not be shown in the subtypes list. -->
3129        <attr name="overridesImplicitlyEnabledSubtype" format="boolean" />
3130        <!-- The extra value of the subtype. This string can be any string and will be passed to
3131             the IME when the framework calls the IME with the subtype.  -->
3132        <attr name="imeSubtypeExtraValue" format="string" />
3133        <!-- The unique id for the subtype. The input method framework keeps track of enabled
3134             subtypes by ID. When the IME package gets upgraded, enabled IDs will stay enabled even
3135             if other attributes are different. If the ID is unspecified (by calling the other
3136             constructor or 0. Arrays.hashCode(new Object[] {locale, mode, extraValue,
3137             isAuxiliary, overridesImplicitlyEnabledSubtype}) will be used instead. -->
3138        <attr name="subtypeId" format="integer"/>
3139        <!-- Set to true if this subtype is ASCII capable. If the subtype is ASCII
3140             capable, it should guarantee that the user can input ASCII characters with
3141             this subtype. This is important because many password fields only allow
3142             ASCII-characters. -->
3143        <attr name="isAsciiCapable" format="boolean" />
3144        <!-- The BCP-47 Language Tag of the subtype.  This replaces
3145        {@link android.R.styleable#InputMethod_Subtype_imeSubtypeLocale}.  -->
3146        <attr name="languageTag" format="string" />
3147    </declare-styleable>
3148
3149    <!-- Use <code>spell-checker</code> as the root tag of the XML resource that
3150         describes an
3151         {@link android.service.textservice.SpellCheckerService} service, which is
3152         referenced from its
3153         {@link android.view.textservice.SpellCheckerSession#SERVICE_META_DATA}
3154         meta-data entry.  Described here are the attributes that can be
3155         included in that tag. -->
3156    <declare-styleable name="SpellChecker">
3157        <!-- The name of the spell checker. -->
3158        <attr name="label" />
3159        <!-- Component name of an activity that allows the user to modify
3160             the settings for this service. -->
3161        <attr name="settingsActivity"/>
3162    </declare-styleable>
3163
3164    <!-- This is the subtype of the spell checker. Subtype can describe locales (e.g. en_US, fr_FR...) -->
3165    <declare-styleable name="SpellChecker_Subtype">
3166        <!-- The name of the subtype. -->
3167        <attr name="label" />
3168        <!-- The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...)
3169             This is also used by the framework to know the supported locales
3170             of the spell checker. {@link android.view.textservice.SpellCheckerSubtype#getLocale()}
3171             returns the value specified in this attribute.  -->
3172        <attr name="subtypeLocale" format="string" />
3173        <!-- The extra value of the subtype. This string can be any string and will be passed to
3174             the SpellChecker.  -->
3175        <attr name="subtypeExtraValue" format="string" />
3176        <!-- The unique id for the subtype. The text service (spell checker) framework keeps track
3177             of enabled subtypes by ID. When the spell checker package gets upgraded, enabled IDs
3178             will stay enabled even if other attributes are different. If the ID is unspecified or
3179             or explicitly specified to 0 in XML resources,
3180             {@code Arrays.hashCode(new Object[] {subtypeLocale, extraValue}) will be used instead.
3181              -->
3182        <attr name="subtypeId" />
3183        <!-- The BCP-47 Language Tag of the subtype.  This replaces
3184        {@link android.R.styleable#SpellChecker_Subtype_subtypeLocale}.  -->
3185        <attr name="languageTag" />
3186    </declare-styleable>
3187
3188    <!-- Use <code>accessibility-service</code> as the root tag of the XML resource that
3189         describes an {@link android.accessibilityservice.AccessibilityService} service,
3190         which is referenced from its
3191         {@link android.accessibilityservice.AccessibilityService#SERVICE_META_DATA}
3192         meta-data entry. -->
3193    <declare-styleable name="AccessibilityService">
3194        <!-- The event types this serivce would like to receive as specified in
3195             {@link android.view.accessibility.AccessibilityEvent}. This setting
3196             can be changed at runtime by calling
3197             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3198             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3199        <attr name="accessibilityEventTypes">
3200            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CLICKED} events.-->
3201            <flag name="typeViewClicked" value="0x00000001" />
3202            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_LONG_CLICKED} events. -->
3203            <flag name="typeViewLongClicked" value="0x00000002" />
3204            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SELECTED} events. -->
3205            <flag name="typeViewSelected" value="0x00000004" />
3206            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_FOCUSED} events. -->
3207            <flag name="typeViewFocused" value="0x00000008" />
3208            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_CHANGED} events. -->
3209            <flag name="typeViewTextChanged" value="0x00000010" />
3210            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_STATE_CHANGED} events. -->
3211            <flag name="typeWindowStateChanged" value="0x00000020" />
3212            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_NOTIFICATION_STATE_CHANGED} events. -->
3213            <flag name="typeNotificationStateChanged" value="0x00000040" />
3214            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_ENTER} events. -->
3215            <flag name="typeViewHoverEnter" value="0x00000080" />
3216            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_EXIT} events. -->
3217            <flag name="typeViewHoverExit" value="0x00000100" />
3218            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_START} events. -->
3219            <flag name="typeTouchExplorationGestureStart" value="0x00000200" />
3220            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_END} events. -->
3221            <flag name="typeTouchExplorationGestureEnd" value="0x00000400" />
3222            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_CONTENT_CHANGED} events. -->
3223            <flag name="typeWindowContentChanged" value="0x00000800" />
3224            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SCROLLED} events. -->
3225            <flag name="typeViewScrolled" value="0x000001000" />
3226            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_SELECTION_CHANGED} events. -->
3227            <flag name="typeViewTextSelectionChanged" value="0x000002000" />
3228            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ANNOUNCEMENT} events. -->
3229            <flag name="typeAnnouncement" value="0x00004000" />
3230            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUSED} events. -->
3231            <flag name="typeViewAccessibilityFocused" value="0x00008000" />
3232            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED} events. -->
3233            <flag name="typeViewAccessibilityFocusCleared" value="0x00010000" />
3234            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY} events. -->
3235            <flag name="typeViewTextTraversedAtMovementGranularity" value="0x00020000" />
3236            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_START} events. -->
3237            <flag name="typeGestureDetectionStart" value="0x00040000" />
3238            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_END} events. -->
3239            <flag name="typeGestureDetectionEnd" value="0x00080000" />
3240            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_START} events. -->
3241            <flag name="typeTouchInteractionStart" value="0x00100000" />
3242            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_END} events. -->
3243            <flag name="typeTouchInteractionEnd" value="0x00200000" />
3244            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOWS_CHANGED} events. -->
3245            <flag name="typeWindowsChanged" value="0x00400000" />
3246            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CONTEXT_CLICKED} events. -->
3247            <flag name="typeContextClicked" value="0x00800000" />
3248            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ASSIST_READING_CONTEXT} events. -->
3249            <flag name="typeAssistReadingContext" value="0x01000000" />
3250            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPES_ALL_MASK} i.e. all events. -->
3251            <flag name="typeAllMask" value="0xffffffff" />
3252        </attr>
3253        <!-- Comma separated package names from which this serivce would like to receive events (leave out for all packages).
3254             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3255             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3256        <attr name="packageNames" format="string" />
3257        <!-- The feedback types this serivce provides as specified in
3258             {@link android.accessibilityservice.AccessibilityServiceInfo}. This setting
3259             can be changed at runtime by calling
3260             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3261             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3262        <attr name="accessibilityFeedbackType">
3263            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_SPOKEN} feedback. -->
3264            <flag name="feedbackSpoken" value="0x00000001" />
3265            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_HAPTIC} feedback. -->
3266            <flag name="feedbackHaptic" value="0x00000002" />
3267            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_AUDIBLE} feedback. -->
3268            <flag name="feedbackAudible" value="0x00000004" />
3269            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_VISUAL} feedback. -->
3270            <flag name="feedbackVisual" value="0x00000008" />
3271            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_GENERIC} feedback. -->
3272            <flag name="feedbackGeneric" value="0x00000010" />
3273            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_ALL_MASK} feedback. -->
3274            <flag name="feedbackAllMask" value="0xffffffff" />
3275        </attr>
3276        <!-- The minimal period in milliseconds between two accessibility events of the same type
3277             are sent to this serivce. This setting can be changed at runtime by calling
3278             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3279             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3280        <attr name="notificationTimeout" format="integer" />
3281        <!-- Additional flags as specified in
3282             {@link android.accessibilityservice.AccessibilityServiceInfo}.
3283             This setting can be changed at runtime by calling
3284             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3285             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3286        <attr name="accessibilityFlags">
3287            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#DEFAULT} -->
3288            <flag name="flagDefault" value="0x00000001" />
3289            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_INCLUDE_NOT_IMPORTANT_VIEWS} -->
3290            <flag name="flagIncludeNotImportantViews" value="0x00000002" />
3291            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} -->
3292            <flag name="flagRequestTouchExplorationMode" value="0x00000004" />
3293            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} -->
3294            <flag name="flagRequestEnhancedWebAccessibility" value="0x00000008" />
3295            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REPORT_VIEW_IDS} -->
3296            <flag name="flagReportViewIds" value="0x00000010" />
3297            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} -->
3298            <flag name="flagRequestFilterKeyEvents" value="0x00000020" />
3299            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_RETRIEVE_INTERACTIVE_WINDOWS} -->
3300            <flag name="flagRetrieveInteractiveWindows" value="0x00000040" />
3301        </attr>
3302        <!-- Component name of an activity that allows the user to modify
3303             the settings for this service. This setting cannot be changed at runtime. -->
3304        <attr name="settingsActivity" />
3305        <!-- Attribute whether the accessibility service wants to be able to retrieve the
3306             active window content. This setting cannot be changed at runtime. -->
3307        <attr name="canRetrieveWindowContent" format="boolean" />
3308        <!-- Attribute whether the accessibility service wants to be able to request touch
3309             exploration mode in which touched items are spoken aloud and the UI can be
3310             explored via gestures.
3311             <p>
3312             Required to allow setting the {@link android.accessibilityservice
3313             #AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} flag.
3314             </p>
3315         -->
3316        <attr name="canRequestTouchExplorationMode" format="boolean" />
3317        <!-- Attribute whether the accessibility service wants to be able to request enhanced
3318             web accessibility enhancements. For example, installing scripts to make app
3319             content more accessible.
3320             <p>
3321             Required to allow setting the {@link android.accessibilityservice
3322             #AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} flag.
3323             </p>
3324         -->
3325        <attr name="canRequestEnhancedWebAccessibility" format="boolean" />
3326        <!-- Attribute whether the accessibility service wants to be able to request to
3327             filter key events.
3328             <p>
3329             Required to allow setting the {@link android.accessibilityservice
3330             #AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} flag.
3331             </p>
3332         -->
3333        <attr name="canRequestFilterKeyEvents" format="boolean" />
3334        <!-- Attribute whether the accessibility service wants to be able to control
3335             display magnification.
3336             <p>
3337             Required to allow setting the {@link android.accessibilityservice
3338             #AccessibilityServiceInfo#FLAG_CAN_CONTROL_MAGNIFICATION} flag.
3339             </p>
3340         -->
3341        <attr name="canControlMagnification" format="boolean" />
3342        <!-- Attribute whether the accessibility service wants to be able to perform gestures.
3343             <p>
3344             Required to allow setting the {@link android.accessibilityservice
3345             #AccessibilityServiceInfo#FLAG_CAN_PERFORM_GESTURES} flag.
3346             </p>
3347         -->
3348        <attr name="canPerformGestures" format="boolean" />
3349        <!-- Short description of the accessibility service purpose or behavior.-->
3350        <attr name="description" />
3351    </declare-styleable>
3352
3353    <!-- Use <code>print-service</code> as the root tag of the XML resource that
3354         describes an {@link android.printservice.PrintService} service, which is
3355         referenced from its {@link android.printservice.PrintService#SERVICE_META_DATA}
3356         meta-data entry. -->
3357    <declare-styleable name="PrintService">
3358        <!-- Fully qualified class name of an activity that allows the user to modify
3359             the settings for this service. -->
3360        <attr name="settingsActivity" />
3361        <!-- Fully qualified class name of an activity that allows the user to manually
3362             add printers to this print service. -->
3363        <attr name="addPrintersActivity" format="string"/>
3364        <!-- Fully qualified class name of an activity with advanced print options
3365             specific to this print service. -->
3366        <attr name="advancedPrintOptionsActivity" format="string"/>
3367        <!-- The vendor name if this print service is vendor specific. -->
3368        <attr name="vendor" format="string"/>
3369    </declare-styleable>
3370
3371    <!-- Use <code>host-apdu-service</code> as the root tag of the XML resource that
3372         describes an {@link android.nfc.cardemulation.HostApduService} service, which
3373         is referenced from its {@link android.nfc.cardemulation.HostApduService#SERVICE_META_DATA}
3374         entry. -->
3375    <declare-styleable name="HostApduService">
3376        <!-- Short description of the functionality the service implements. This attribute
3377             is mandatory.-->
3378        <attr name="description" />
3379        <!-- Whether the device must be unlocked before routing data to this service.
3380             The default is false.-->
3381        <attr name="requireDeviceUnlock" format="boolean"/>
3382        <!-- A drawable that can be rendered in Android's system UI for representing
3383             the service. -->
3384        <attr name="apduServiceBanner" format="reference"/>
3385        <!-- Component name of an activity that allows the user to modify
3386             the settings for this service. -->
3387        <attr name="settingsActivity"/>
3388    </declare-styleable>
3389
3390    <!-- Use <code>offhost-apdu-service</code> as the root tag of the XML resource that
3391         describes an {@link android.nfc.cardemulation.OffHostApduService}
3392         service, which is referenced from its
3393         {@link android.nfc.cardemulation.OffHostApduService#SERVICE_META_DATA} entry. -->
3394    <declare-styleable name="OffHostApduService">
3395        <!-- Short description of the functionality the service implements. This attribute
3396             is mandatory.-->
3397        <attr name="description" />
3398        <!-- A drawable that can be rendered in Android's system UI for representing
3399             the service. -->
3400        <attr name="apduServiceBanner"/>
3401        <!-- Component name of an activity that allows the user to modify
3402             the settings for this service. -->
3403        <attr name="settingsActivity"/>
3404    </declare-styleable>
3405
3406    <!-- Specify one or more <code>aid-group</code> elements inside a
3407         <code>host-apdu-service</code> or <code>offhost-apdu-service</code>
3408         element to define a group of ISO7816 Application ID (AIDs) that
3409         your service can handle.-->
3410    <declare-styleable name="AidGroup">
3411        <!-- Short description of what the AID group implements. This attribute is mandatory.-->
3412        <attr name="description" />
3413        <!-- The category attribute will be used by the Android platform to present
3414             multiple applications that register ISO 7816 Application IDs (AIDs) in the
3415             same category uniformly.
3416             Additionally, when a category is specified, Android will ensure that either
3417             all AIDs in this group are routed to this application, or none at all.
3418             This attribute is optional.-->
3419        <attr name="category" format="string" />
3420    </declare-styleable>
3421
3422    <!-- Specify one or more <code>aid-filter</code> elements inside a
3423         <code>aid-group</code> element to specify an ISO7816 Application ID (AID)
3424         your service can handle. -->
3425    <declare-styleable name="AidFilter">
3426        <!-- The ISO7816 Application ID. This attribute is mandatory. -->
3427        <attr name="name" />
3428    </declare-styleable>
3429
3430    <!-- Specify one or more <code>aid-prefix-filter</code> elements inside a
3431         <code>aid-group</code> element to specify an ISO7816 Application ID (AID)
3432         prefix your service can handle. -->
3433    <declare-styleable name="AidPrefixFilter">
3434        <!-- The ISO7816 Application ID. This attribute is mandatory. -->
3435        <attr name="name" />
3436    </declare-styleable>
3437
3438    <!-- Use <code>host-nfcf-service</code> as the root tag of the XML resource that
3439         describes an {@link android.nfc.cardemulation.HostNfcFService} service, which
3440         is referenced from its {@link android.nfc.cardemulation.HostNfcFService#SERVICE_META_DATA}
3441         entry. -->
3442    <declare-styleable name="HostNfcFService">
3443        <!-- Short description of the functionality the service implements. This attribute
3444             is mandatory.-->
3445        <attr name="description" />
3446    </declare-styleable>
3447
3448    <!-- Specify one or more <code>system-code-filter</code> elements inside a
3449         <code>host-nfcf-service</code> element to specify a System Code
3450         your service can handle. -->
3451    <declare-styleable name="SystemCodeFilter">
3452        <!-- The System Code. This attribute is mandatory. -->
3453        <attr name="name" />
3454    </declare-styleable>
3455
3456    <!-- Specify one or more <code>nfcid2-filter</code> elements inside a
3457         <code>host-nfcf-service</code> element to specify a NFCID2
3458         your service can handle. -->
3459    <declare-styleable name="Nfcid2Filter">
3460        <!-- The NFCID2. This attribute is mandatory. -->
3461        <attr name="name" />
3462    </declare-styleable>
3463
3464    <declare-styleable name="ActionMenuItemView">
3465        <attr name="minWidth" />
3466    </declare-styleable>
3467
3468    <!-- =============================== -->
3469    <!-- Widget package class attributes -->
3470    <!-- =============================== -->
3471    <eat-comment />
3472
3473    <declare-styleable name="AbsListView">
3474         <!-- Drawable used to indicate the currently selected item in the list. -->
3475        <attr name="listSelector" format="color|reference" />
3476        <!-- When set to true, the selector will be drawn over the selected item.
3477             Otherwise the selector is drawn behind the selected item. The default
3478             value is false. -->
3479        <attr name="drawSelectorOnTop" format="boolean" />
3480        <!-- Used by ListView and GridView to stack their content from the bottom. -->
3481        <attr name="stackFromBottom" format="boolean" />
3482        <!-- When set to true, the list uses a drawing cache during scrolling.
3483             This makes the rendering faster but uses more memory. The default
3484             value is true. -->
3485        <attr name="scrollingCache" format="boolean" />
3486        <!-- When set to true, the list will filter results as the user types. The
3487             List's adapter must support the Filterable interface for this to work. -->
3488        <attr name="textFilterEnabled" format="boolean" />
3489        <!-- Sets the transcript mode for the list. In transcript mode, the list
3490             scrolls to the bottom to make new items visible when they are added. -->
3491        <attr name="transcriptMode">
3492            <!-- Disables transcript mode. This is the default value. -->
3493            <enum name="disabled" value="0"/>
3494            <!-- The list will automatically scroll to the bottom when
3495                 a data set change notification is received and only if the last item is
3496                 already visible on screen. -->
3497            <enum name="normal" value="1" />
3498            <!-- The list will automatically scroll to the bottom, no matter what items
3499                 are currently visible. -->
3500            <enum name="alwaysScroll" value="2" />
3501        </attr>
3502        <!-- Indicates that this list will always be drawn on top of solid, single-color
3503             opaque background. This allows the list to optimize drawing. -->
3504        <attr name="cacheColorHint" format="color" />
3505        <!-- Enables the fast scroll thumb that can be dragged to quickly scroll through
3506             the list. -->
3507        <attr name="fastScrollEnabled" format="boolean" />
3508        <!-- Specifies the style of the fast scroll decorations. -->
3509        <attr name="fastScrollStyle" format="reference" />
3510        <!-- When set to true, the list will use a more refined calculation
3511             method based on the pixels height of the items visible on screen. This
3512             property is set to true by default but should be set to false if your adapter
3513             will display items of varying heights. When this property is set to true and
3514             your adapter displays items of varying heights, the scrollbar thumb will
3515             change size as the user scrolls through the list. When set to false, the list
3516             will use only the number of items in the adapter and the number of items visible
3517             on screen to determine the scrollbar's properties. -->
3518        <attr name="smoothScrollbar" format="boolean" />
3519        <!-- Defines the choice behavior for the view. By default, lists do not have
3520             any choice behavior. By setting the choiceMode to singleChoice, the list
3521             allows up to one item to be in a chosen state. By setting the choiceMode to
3522             multipleChoice, the list allows any number of items to be chosen.
3523             Finally, by setting the choiceMode to multipleChoiceModal the list allows
3524             any number of items to be chosen in a special selection mode.
3525             The application will supply a
3526             {@link android.widget.AbsListView.MultiChoiceModeListener} using
3527             {@link android.widget.AbsListView#setMultiChoiceModeListener} to control the
3528             selection mode. This uses the {@link android.view.ActionMode} API. -->
3529        <attr name="choiceMode">
3530            <!-- Normal list that does not indicate choices. -->
3531            <enum name="none" value="0" />
3532            <!-- The list allows up to one choice. -->
3533            <enum name="singleChoice" value="1" />
3534            <!-- The list allows multiple choices. -->
3535            <enum name="multipleChoice" value="2" />
3536            <!-- The list allows multiple choices in a custom selection mode. -->
3537            <enum name="multipleChoiceModal" value="3" />
3538        </attr>
3539
3540        <!-- When set to true, the list will always show the fast scroll interface.
3541             This setting implies fastScrollEnabled. -->
3542        <attr name="fastScrollAlwaysVisible" format="boolean" />
3543    </declare-styleable>
3544    <!-- @hide -->
3545    <declare-styleable name="RecycleListView">
3546        <!-- Bottom padding to use when no buttons are present. -->
3547        <attr name="paddingBottomNoButtons" format="dimension" />
3548        <!-- Top padding to use when no title is present. -->
3549        <attr name="paddingTopNoTitle" format="dimension" />
3550    </declare-styleable>
3551    <declare-styleable name="AbsSpinner">
3552        <!-- Reference to an array resource that will populate the Spinner.  For static content,
3553             this is simpler than populating the Spinner programmatically. -->
3554        <attr name="entries" />
3555    </declare-styleable>
3556    <declare-styleable name="AnalogClock">
3557        <attr name="dial" format="reference"/>
3558        <attr name="hand_hour" format="reference"/>
3559        <attr name="hand_minute" format="reference"/>
3560    </declare-styleable>
3561    <declare-styleable name="Button">
3562    </declare-styleable>
3563    <declare-styleable name="Chronometer">
3564        <!-- Format string: if specified, the Chronometer will display this
3565             string, with the first "%s" replaced by the current timer value
3566             in "MM:SS" or "H:MM:SS" form.
3567             If no format string is specified, the Chronometer will simply display
3568             "MM:SS" or "H:MM:SS". -->
3569        <attr name="format" format="string" localization="suggested" />
3570        <!-- Specifies whether this Chronometer counts down or counts up from the base.
3571              If not specified this is false and the Chronometer counts up. -->
3572        <attr name="countDown" format="boolean" />
3573    </declare-styleable>
3574    <declare-styleable name="CompoundButton">
3575        <!-- Indicates the initial checked state of this button. -->
3576        <attr name="checked" format="boolean" />
3577        <!-- Drawable used for the button graphic (e.g. checkbox, radio button, etc). -->
3578        <attr name="button" format="reference" />
3579        <!-- Tint to apply to the button graphic. -->
3580        <attr name="buttonTint" format="color" />
3581        <!-- Blending mode used to apply the button graphic tint. -->
3582        <attr name="buttonTintMode">
3583            <!-- The tint is drawn on top of the drawable.
3584                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3585            <enum name="src_over" value="3" />
3586            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3587                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3588            <enum name="src_in" value="5" />
3589            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3590                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3591            <enum name="src_atop" value="9" />
3592            <!-- Multiplies the color and alpha channels of the drawable with those of
3593                 the tint. [Sa * Da, Sc * Dc] -->
3594            <enum name="multiply" value="14" />
3595            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3596            <enum name="screen" value="15" />
3597            <!-- Combines the tint and drawable color and alpha channels, clamping the
3598                 result to valid color values. Saturate(S + D) -->
3599            <enum name="add" value="16" />
3600        </attr>
3601    </declare-styleable>
3602    <declare-styleable name="CheckedTextView">
3603        <!-- Indicates the initial checked state of this text. -->
3604        <attr name="checked" />
3605        <!-- Drawable used for the check mark graphic. -->
3606        <attr name="checkMark" format="reference"/>
3607        <!-- Tint to apply to the check mark. -->
3608        <attr name="checkMarkTint" format="color" />
3609        <!-- Blending mode used to apply the check mark tint. -->
3610        <attr name="checkMarkTintMode">
3611            <!-- The tint is drawn on top of the drawable.
3612                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3613            <enum name="src_over" value="3" />
3614            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3615                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3616            <enum name="src_in" value="5" />
3617            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3618                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3619            <enum name="src_atop" value="9" />
3620            <!-- Multiplies the color and alpha channels of the drawable with those of
3621                 the tint. [Sa * Da, Sc * Dc] -->
3622            <enum name="multiply" value="14" />
3623            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3624            <enum name="screen" value="15" />
3625            <!-- Combines the tint and drawable color and alpha channels, clamping the
3626                 result to valid color values. Saturate(S + D) -->
3627            <enum name="add" value="16" />
3628        </attr>
3629        <!-- Gravity for aligning a CheckedTextView's checkmark to one side or the other. -->
3630        <attr name="checkMarkGravity">
3631            <!-- Push object to the left of its container, not changing its size. -->
3632            <flag name="left" value="0x03" />
3633            <!-- Push object to the right of its container, not changing its size. -->
3634            <flag name="right" value="0x05" />
3635            <!-- Push object to the beginning of its container, not changing its size. -->
3636            <flag name="start" value="0x00800003" />
3637            <!-- Push object to the end of its container, not changing its size. -->
3638            <flag name="end" value="0x00800005" />
3639        </attr>
3640    </declare-styleable>
3641    <declare-styleable name="EditText">
3642    </declare-styleable>
3643    <declare-styleable name="FastScroll">
3644        <!-- Drawable used for the scroll bar thumb. -->
3645        <attr name="thumbDrawable" format="reference" />
3646        <!-- Minimum width of the thumb. -->
3647        <attr name="thumbMinWidth" format="dimension" />
3648        <!-- Minimum height of the thumb. -->
3649        <attr name="thumbMinHeight" format="dimension" />
3650        <!-- Drawable used for the scroll bar track. -->
3651        <attr name="trackDrawable" format="reference" />
3652        <!-- Drawable used for the section header preview when right-aligned. -->
3653        <attr name="backgroundRight" format="reference" />
3654        <!-- Drawable used for the section header preview when left-aligned. -->
3655        <attr name="backgroundLeft" format="reference" />
3656        <!-- Position of section header preview. -->
3657        <attr name="position">
3658            <!-- Floating at the top of the content. -->
3659            <enum name="floating" value="0" />
3660            <!-- Pinned to the thumb, vertically centered with the middle of the thumb. -->
3661            <enum name="atThumb" value="1" />
3662            <!-- Pinned to the thumb, vertically centered with the top edge of the thumb. -->
3663            <enum name="aboveThumb" value="2" />
3664        </attr>
3665        <attr name="textAppearance" />
3666        <attr name="textColor" />
3667        <attr name="textSize" />
3668        <!-- Minimum width of the section header preview. -->
3669        <attr name="minWidth" />
3670        <!-- Minimum height of the section header preview. -->
3671        <attr name="minHeight" />
3672        <!-- Padding for the section header preview. -->
3673        <attr name="padding" />
3674        <!-- Position of thumb in relation to the track. -->
3675        <attr name="thumbPosition">
3676            <!-- The thumb's midpoint is anchored to the track. At its
3677                 extremes, the thumb will extend half-way outside the
3678                 track. -->
3679            <enum name="midpoint" value="0" />
3680            <!-- The thumb is entirely inside the track. At its extremes,
3681                 the thumb will be contained entirely within the track. -->
3682            <enum name="inside" value="1" />
3683        </attr>
3684    </declare-styleable>
3685    <declare-styleable name="FrameLayout">
3686        <!-- Determines whether to measure all children or just those in
3687             the VISIBLE or INVISIBLE state when measuring. Defaults to false. -->
3688        <attr name="measureAllChildren" format="boolean" />
3689    </declare-styleable>
3690    <declare-styleable name="ExpandableListView">
3691        <!-- Indicator shown beside the group View. This can be a stateful Drawable. -->
3692        <attr name="groupIndicator" format="reference" />
3693        <!-- Indicator shown beside the child View. This can be a stateful Drawable. -->
3694        <attr name="childIndicator" format="reference" />
3695        <!-- The left bound for an item's indicator. To specify a left bound specific to children,
3696             use childIndicatorLeft. -->
3697        <attr name="indicatorLeft" format="dimension" />
3698        <!-- The right bound for an item's indicator. To specify a right bound specific to children,
3699             use childIndicatorRight. -->
3700        <attr name="indicatorRight" format="dimension" />
3701        <!-- The left bound for a child's indicator. -->
3702        <attr name="childIndicatorLeft" format="dimension" />
3703        <!-- The right bound for a child's indicator. -->
3704        <attr name="childIndicatorRight" format="dimension" />
3705        <!-- Drawable or color that is used as a divider for children. (It will drawn
3706             below and above child items.) The height of this will be the same as
3707             the height of the normal list item divider. -->
3708        <attr name="childDivider" format="reference|color" />
3709        <!-- The start bound for an item's indicator. To specify a start bound specific to children,
3710             use childIndicatorStart. -->
3711        <attr name="indicatorStart" format="dimension" />
3712        <!-- The end bound for an item's indicator. To specify a right bound specific to children,
3713             use childIndicatorEnd. -->
3714        <attr name="indicatorEnd" format="dimension" />
3715        <!-- The start bound for a child's indicator. -->
3716        <attr name="childIndicatorStart" format="dimension" />
3717        <!-- The end bound for a child's indicator. -->
3718        <attr name="childIndicatorEnd" format="dimension" />
3719    </declare-styleable>
3720    <declare-styleable name="Gallery">
3721        <attr name="gravity" />
3722        <!-- Sets how long a transition animation should run (in milliseconds)
3723             when layout has changed.  Only relevant if animation is turned on. -->
3724        <attr name="animationDuration" format="integer" min="0" />
3725        <attr name="spacing" format="dimension" />
3726        <!-- Sets the alpha on the items that are not selected. -->
3727        <attr name="unselectedAlpha" format="float" />
3728    </declare-styleable>
3729    <declare-styleable name="GridView">
3730        <!-- Defines the default horizontal spacing between columns. -->
3731        <attr name="horizontalSpacing" format="dimension" />
3732        <!-- Defines the default vertical spacing between rows. -->
3733        <attr name="verticalSpacing" format="dimension" />
3734        <!-- Defines how columns should stretch to fill the available empty space, if any. -->
3735        <attr name="stretchMode">
3736            <!-- Stretching is disabled. -->
3737            <enum name="none" value="0"/>
3738            <!-- The spacing between each column is stretched. -->
3739            <enum name="spacingWidth" value="1" />
3740            <!-- Each column is stretched equally. -->
3741            <enum name="columnWidth" value="2" />
3742            <!-- The spacing between each column is uniformly stretched.. -->
3743            <enum name="spacingWidthUniform" value="3" />
3744        </attr>
3745        <!-- Specifies the fixed width for each column. -->
3746        <attr name="columnWidth" format="dimension" />
3747        <!-- Defines how many columns to show. -->
3748        <attr name="numColumns" format="integer" min="0">
3749            <!-- Display as many columns as possible to fill the available space. -->
3750            <enum name="auto_fit" value="-1" />
3751        </attr>
3752        <!-- Specifies the gravity within each cell. -->
3753        <attr name="gravity" />
3754    </declare-styleable>
3755    <declare-styleable name="ImageSwitcher">
3756    </declare-styleable>
3757    <declare-styleable name="ImageView">
3758        <!-- Sets a drawable as the content of this ImageView. -->
3759        <attr name="src" format="reference|color" />
3760        <!-- Controls how the image should be resized or moved to match the size
3761             of this ImageView.  See {@link android.widget.ImageView.ScaleType} -->
3762        <attr name="scaleType">
3763            <!-- Scale using the image matrix when drawing. See
3764                 {@link android.widget.ImageView#setImageMatrix(Matrix)}. -->
3765            <enum name="matrix" value="0" />
3766            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#FILL}. -->
3767            <enum name="fitXY" value="1" />
3768            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#START}. -->
3769            <enum name="fitStart" value="2" />
3770            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#CENTER}. -->
3771            <enum name="fitCenter" value="3" />
3772            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#END}. -->
3773            <enum name="fitEnd" value="4" />
3774            <!-- Center the image in the view, but perform no scaling. -->
3775            <enum name="center" value="5" />
3776            <!-- Scale the image uniformly (maintain the image's aspect ratio) so both dimensions
3777                 (width and height) of the image will be equal to or larger than the corresponding
3778                 dimension of the view (minus padding). The image is then centered in the view. -->
3779            <enum name="centerCrop" value="6" />
3780            <!-- Scale the image uniformly (maintain the image's aspect ratio) so that both
3781                 dimensions (width and height) of the image will be equal to or less than the
3782                 corresponding dimension of the view (minus padding). The image is then centered in
3783                 the view. -->
3784            <enum name="centerInside" value="7" />
3785        </attr>
3786        <!-- Set this to true if you want the ImageView to adjust its bounds
3787             to preserve the aspect ratio of its drawable. -->
3788        <attr name="adjustViewBounds" format="boolean" />
3789        <!-- An optional argument to supply a maximum width for this view.
3790             See {see android.widget.ImageView#setMaxWidth} for details. -->
3791        <attr name="maxWidth" format="dimension" />
3792        <!-- An optional argument to supply a maximum height for this view.
3793             See {see android.widget.ImageView#setMaxHeight} for details. -->
3794        <attr name="maxHeight" format="dimension" />
3795        <!-- The tinting color for the image. By default, the tint will blend using SRC_ATOP mode.
3796             Please note that for compatibility reasons, this is NOT consistent with the default
3797             SRC_IN tint mode used by {@link android.widget.ImageView#setImageTintList} and by
3798             similar tint attributes on other views. -->
3799        <attr name="tint" format="color" />
3800        <!-- If true, the image view will be baseline aligned with based on its
3801             bottom edge. -->
3802        <attr name="baselineAlignBottom" format="boolean" />
3803         <!-- If true, the image will be cropped to fit within its padding. -->
3804        <attr name="cropToPadding" format="boolean" />
3805        <!-- The offset of the baseline within this view. See {see android.view.View#getBaseline}
3806             for details -->
3807        <attr name="baseline" format="dimension" />
3808        <!-- @hide The alpha value (0-255) set on the ImageView's drawable. Equivalent
3809             to calling ImageView.setAlpha(int), not the same as View.setAlpha(float). -->
3810        <attr name="drawableAlpha" format="integer" />
3811        <!-- Blending mode used to apply the image tint. -->
3812        <attr name="tintMode" />
3813    </declare-styleable>
3814    <declare-styleable name="ToggleButton">
3815        <!-- The text for the button when it is checked. -->
3816        <attr name="textOn" format="string" />
3817        <!-- The text for the button when it is not checked. -->
3818        <attr name="textOff" format="string" />
3819        <!-- The alpha to apply to the indicator when disabled. -->
3820        <attr name="disabledAlpha" />
3821    </declare-styleable>
3822    <declare-styleable name="RelativeLayout">
3823        <attr name="gravity" />
3824        <!-- Indicates what view should not be affected by gravity. -->
3825        <attr name="ignoreGravity" format="reference" />
3826    </declare-styleable>
3827    <declare-styleable name="LinearLayout">
3828        <!-- Should the layout be a column or a row?  Use "horizontal"
3829             for a row, "vertical" for a column.  The default is
3830             horizontal. -->
3831        <attr name="orientation" />
3832        <attr name="gravity" />
3833        <!-- When set to false, prevents the layout from aligning its children's
3834             baselines. This attribute is particularly useful when the children
3835             use different values for gravity. The default value is true. -->
3836        <attr name="baselineAligned" format="boolean" />
3837        <!-- When a linear layout is part of another layout that is baseline
3838          aligned, it can specify which of its children to baseline align to
3839          (that is, which child TextView).-->
3840        <attr name="baselineAlignedChildIndex" format="integer" min="0"/>
3841        <!-- Defines the maximum weight sum. If unspecified, the sum is computed
3842             by adding the layout_weight of all of the children. This can be
3843             used for instance to give a single child 50% of the total available
3844             space by giving it a layout_weight of 0.5 and setting the weightSum
3845             to 1.0. -->
3846        <attr name="weightSum" format="float" />
3847        <!-- When set to true, all children with a weight will be considered having
3848             the minimum size of the largest child. If false, all children are
3849             measured normally. -->
3850        <attr name="measureWithLargestChild" format="boolean" />
3851        <!-- Drawable to use as a vertical divider between buttons. -->
3852        <attr name="divider" />
3853        <!-- Setting for which dividers to show. -->
3854        <attr name="showDividers">
3855            <flag name="none" value="0" />
3856            <flag name="beginning" value="1" />
3857            <flag name="middle" value="2" />
3858            <flag name="end" value="4" />
3859        </attr>
3860        <!-- Size of padding on either end of a divider. -->
3861        <attr name="dividerPadding" format="dimension" />
3862    </declare-styleable>
3863    <declare-styleable name="GridLayout">
3864        <!-- The orientation property is not used during layout. It is only used to
3865        allocate row and column parameters when they are not specified by its children's
3866        layout paramters. GridLayout works like LinearLayout in this case;
3867        putting all the components either in a single row or in a single column -
3868        depending on the value of this flag. In the horizontal case, a columnCount
3869        property may be additionally supplied to force new rows to be created when a
3870        row is full. The rowCount attribute may be used similarly in the vertical case.
3871        The default is horizontal. -->
3872        <attr name="orientation" />
3873        <!-- The maxmimum number of rows to create when automatically positioning children. -->
3874        <attr name="rowCount" format="integer" />
3875        <!-- The maxmimum number of columns to create when automatically positioning children. -->
3876        <attr name="columnCount" format="integer" />
3877        <!-- When set to true, tells GridLayout to use default margins when none are specified
3878        in a view's layout parameters.
3879        The default value is false.
3880        See {@link android.widget.GridLayout#setUseDefaultMargins(boolean)}.-->
3881        <attr name="useDefaultMargins" format="boolean" />
3882        <!-- When set to alignMargins, causes alignment to take place between the outer
3883        boundary of a view, as defined by its margins. When set to alignBounds,
3884        causes alignment to take place between the edges of the view.
3885        The default is alignMargins.
3886        See {@link android.widget.GridLayout#setAlignmentMode(int)}.-->
3887        <attr name="alignmentMode" />
3888        <!-- When set to true, forces row boundaries to appear in the same order
3889        as row indices.
3890        The default is true.
3891        See {@link android.widget.GridLayout#setRowOrderPreserved(boolean)}.-->
3892        <attr name="rowOrderPreserved" format="boolean" />
3893        <!-- When set to true, forces column boundaries to appear in the same order
3894        as column indices.
3895        The default is true.
3896        See {@link android.widget.GridLayout#setColumnOrderPreserved(boolean)}.-->
3897        <attr name="columnOrderPreserved" format="boolean" />
3898    </declare-styleable>
3899    <declare-styleable name="ListView">
3900        <!-- Reference to an array resource that will populate the ListView.  For static content,
3901             this is simpler than populating the ListView programmatically. -->
3902        <attr name="entries" />
3903        <!-- Drawable or color to draw between list items. -->
3904        <attr name="divider" format="reference|color" />
3905        <!-- Height of the divider. Will use the intrinsic height of the divider if this
3906             is not specified. -->
3907        <attr name="dividerHeight" format="dimension" />
3908        <!-- When set to false, the ListView will not draw the divider after each header view.
3909             The default value is true. -->
3910        <attr name="headerDividersEnabled" format="boolean" />
3911        <!-- When set to false, the ListView will not draw the divider before each footer view.
3912             The default value is true. -->
3913        <attr name="footerDividersEnabled" format="boolean" />
3914        <!-- Drawable to draw above list content. -->
3915        <attr name="overScrollHeader" format="reference|color" />
3916        <!-- Drawable to draw below list content. -->
3917        <attr name="overScrollFooter" format="reference|color" />
3918    </declare-styleable>
3919    <declare-styleable name="PreferenceFrameLayout">
3920        <!-- Padding to use at the top of the prefs content. -->
3921        <attr name="borderTop" format="dimension" />
3922        <!-- Padding to use at the bottom of the prefs content. -->
3923        <attr name="borderBottom" format="dimension" />
3924        <!-- Padding to use at the left of the prefs content. -->
3925        <attr name="borderLeft" format="dimension" />
3926        <!-- Padding to use at the right of the prefs content. -->
3927        <attr name="borderRight" format="dimension" />
3928    </declare-styleable>
3929    <declare-styleable name="PreferenceFrameLayout_Layout">
3930        <!-- Padding to use at the top of the prefs content. -->
3931        <attr name="layout_removeBorders" format="boolean" />
3932    </declare-styleable>
3933    <declare-styleable name="MenuView">
3934        <!-- Default appearance of menu item text. -->
3935        <attr name="itemTextAppearance" format="reference" />
3936        <!-- Default horizontal divider between rows of menu items. -->
3937        <attr name="horizontalDivider" format="reference" />
3938        <!-- Default vertical divider between menu items. -->
3939        <attr name="verticalDivider" format="reference" />
3940        <!-- Default background for the menu header. -->
3941        <attr name="headerBackground" format="color|reference" />
3942        <!-- Default background for each menu item. -->
3943        <attr name="itemBackground" format="color|reference" />
3944        <!-- Default animations for the menu. -->
3945        <attr name="windowAnimationStyle" />
3946        <!-- Default disabled icon alpha for each menu item that shows an icon. -->
3947        <attr name="itemIconDisabledAlpha" format="float" />
3948        <!-- Whether space should be reserved in layout when an icon is missing. -->
3949        <attr name="preserveIconSpacing" format="boolean" />
3950        <!-- Drawable for the arrow icon indicating a particular item is a submenu. -->
3951        <attr name="subMenuArrow" format="reference" />
3952    </declare-styleable>
3953    <declare-styleable name="IconMenuView">
3954        <!-- Defines the height of each row. -->
3955        <attr name="rowHeight" format="dimension" />
3956        <!-- Defines the maximum number of rows displayed. -->
3957        <attr name="maxRows" format="integer" />
3958        <!-- Defines the maximum number of items per row. -->
3959        <attr name="maxItemsPerRow" format="integer" />
3960        <!-- Defines the maximum number of items to show. -->
3961        <attr name="maxItems" format="integer" />
3962        <!-- 'More' icon. -->
3963        <attr name="moreIcon" format="reference" />
3964    </declare-styleable>
3965
3966    <declare-styleable name="ProgressBar">
3967        <!-- Defines the maximum value the progress can take. -->
3968        <attr name="max" format="integer" />
3969        <!-- Defines the default progress value, between 0 and max. -->
3970        <attr name="progress" format="integer" />
3971        <!-- Defines the secondary progress value, between 0 and max. This progress is drawn between
3972             the primary progress and the background.  It can be ideal for media scenarios such as
3973             showing the buffering progress while the default progress shows the play progress. -->
3974        <attr name="secondaryProgress" format="integer" />
3975        <!-- Allows to enable the indeterminate mode. In this mode the progress
3976         bar plays an infinite looping animation. -->
3977        <attr name="indeterminate" format="boolean" />
3978        <!-- Restricts to ONLY indeterminate mode (state-keeping progress mode will not work). -->
3979        <attr name="indeterminateOnly" format="boolean" />
3980        <!-- Drawable used for the indeterminate mode. -->
3981        <attr name="indeterminateDrawable" format="reference" />
3982        <!-- Drawable used for the progress mode. -->
3983        <attr name="progressDrawable" format="reference" />
3984        <!-- Duration of the indeterminate animation. -->
3985        <attr name="indeterminateDuration" format="integer" min="1" />
3986        <!-- Defines how the indeterminate mode should behave when the progress
3987        reaches max. -->
3988        <attr name="indeterminateBehavior">
3989            <!-- Progress starts over from 0. -->
3990            <enum name="repeat" value="1" />
3991            <!-- Progress keeps the current value and goes back to 0. -->
3992            <enum name="cycle" value="2" />
3993        </attr>
3994        <attr name="minWidth" format="dimension" />
3995        <attr name="maxWidth" />
3996        <attr name="minHeight" format="dimension" />
3997        <attr name="maxHeight" />
3998        <attr name="interpolator" format="reference" />
3999        <!-- Timeout between frames of animation in milliseconds
4000             {@deprecated Not used by the framework.} -->
4001        <attr name="animationResolution" format="integer" />
4002        <!-- Defines if the associated drawables need to be mirrored when in RTL mode.
4003             Default is false -->
4004        <attr name="mirrorForRtl" format="boolean" />
4005        <!-- Tint to apply to the progress indicator. -->
4006        <attr name="progressTint" format="color" />
4007        <!-- Blending mode used to apply the progress indicator tint. -->
4008        <attr name="progressTintMode">
4009            <!-- The tint is drawn on top of the drawable.
4010                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4011            <enum name="src_over" value="3" />
4012            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4013                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4014            <enum name="src_in" value="5" />
4015            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4016                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4017            <enum name="src_atop" value="9" />
4018            <!-- Multiplies the color and alpha channels of the drawable with those of
4019                 the tint. [Sa * Da, Sc * Dc] -->
4020            <enum name="multiply" value="14" />
4021            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4022            <enum name="screen" value="15" />
4023            <!-- Combines the tint and drawable color and alpha channels, clamping the
4024                 result to valid color values. Saturate(S + D) -->
4025            <enum name="add" value="16" />
4026        </attr>
4027        <!-- Tint to apply to the progress indicator background. -->
4028        <attr name="progressBackgroundTint" format="color" />
4029        <!-- Blending mode used to apply the progress indicator background tint. -->
4030        <attr name="progressBackgroundTintMode">
4031            <!-- The tint is drawn on top of the drawable.
4032                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4033            <enum name="src_over" value="3" />
4034            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4035                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4036            <enum name="src_in" value="5" />
4037            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4038                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4039            <enum name="src_atop" value="9" />
4040            <!-- Multiplies the color and alpha channels of the drawable with those of
4041                 the tint. [Sa * Da, Sc * Dc] -->
4042            <enum name="multiply" value="14" />
4043            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4044            <enum name="screen" value="15" />
4045            <!-- Combines the tint and drawable color and alpha channels, clamping the
4046                 result to valid color values. Saturate(S + D) -->
4047            <enum name="add" value="16" />
4048        </attr>
4049        <!-- Tint to apply to the secondary progress indicator. -->
4050        <attr name="secondaryProgressTint" format="color" />
4051        <!-- Blending mode used to apply the secondary progress indicator tint. -->
4052        <attr name="secondaryProgressTintMode">
4053            <!-- The tint is drawn on top of the drawable.
4054                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4055            <enum name="src_over" value="3" />
4056            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4057                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4058            <enum name="src_in" value="5" />
4059            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4060                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4061            <enum name="src_atop" value="9" />
4062            <!-- Multiplies the color and alpha channels of the drawable with those of
4063                 the tint. [Sa * Da, Sc * Dc] -->
4064            <enum name="multiply" value="14" />
4065            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4066            <enum name="screen" value="15" />
4067            <!-- Combines the tint and drawable color and alpha channels, clamping the
4068                 result to valid color values. Saturate(S + D) -->
4069            <enum name="add" value="16" />
4070        </attr>
4071        <!-- Tint to apply to the indeterminate progress indicator. -->
4072        <attr name="indeterminateTint" format="color" />
4073        <!-- Blending mode used to apply the indeterminate progress indicator tint. -->
4074        <attr name="indeterminateTintMode">
4075            <!-- The tint is drawn on top of the drawable.
4076                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4077            <enum name="src_over" value="3" />
4078            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4079                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4080            <enum name="src_in" value="5" />
4081            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4082                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4083            <enum name="src_atop" value="9" />
4084            <!-- Multiplies the color and alpha channels of the drawable with those of
4085                 the tint. [Sa * Da, Sc * Dc] -->
4086            <enum name="multiply" value="14" />
4087            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4088            <enum name="screen" value="15" />
4089            <!-- Combines the tint and drawable color and alpha channels, clamping the
4090                 result to valid color values. Saturate(S + D) -->
4091            <enum name="add" value="16" />
4092        </attr>
4093        <!-- Tint to apply to the background. -->
4094        <attr name="backgroundTint" />
4095        <!-- Blending mode used to apply the background tint. -->
4096        <attr name="backgroundTintMode" />
4097    </declare-styleable>
4098
4099    <declare-styleable name="SeekBar">
4100        <!-- Draws the thumb on a seekbar. -->
4101        <attr name="thumb" format="reference" />
4102        <!-- An offset for the thumb that allows it to extend out of the range of the track. -->
4103        <attr name="thumbOffset" format="dimension" />
4104        <!-- Whether to split the track and leave a gap for the thumb drawable. -->
4105        <attr name="splitTrack" format="boolean" />
4106        <!-- Whether to force the track's alpha to ?android:attr/disabledAlpha
4107             when disabled. This is required for Holo and Gingerbread, but
4108             should always be false for Material and  beyond.
4109             @hide Developers shouldn't need to change this. -->
4110        <attr name="useDisabledAlpha" format="boolean" />
4111        <!-- Tint to apply to the thumb drawable. -->
4112        <attr name="thumbTint" format="color" />
4113        <!-- Blending mode used to apply the thumb tint. -->
4114        <attr name="thumbTintMode">
4115            <!-- The tint is drawn on top of the drawable.
4116                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4117            <enum name="src_over" value="3" />
4118            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4119                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4120            <enum name="src_in" value="5" />
4121            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4122                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4123            <enum name="src_atop" value="9" />
4124            <!-- Multiplies the color and alpha channels of the drawable with those of
4125                 the tint. [Sa * Da, Sc * Dc] -->
4126            <enum name="multiply" value="14" />
4127            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4128            <enum name="screen" value="15" />
4129            <!-- Combines the tint and drawable color and alpha channels, clamping the
4130                 result to valid color values. Saturate(S + D) -->
4131            <enum name="add" value="16" />
4132        </attr>
4133        <!-- Drawable displayed at each progress position on a seekbar. -->
4134        <attr name="tickMark" format="reference" />
4135        <!-- Tint to apply to the tick mark drawable. -->
4136        <attr name="tickMarkTint" format="color" />
4137        <!-- Blending mode used to apply the tick mark tint. -->
4138        <attr name="tickMarkTintMode">
4139            <!-- The tint is drawn on top of the drawable.
4140                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4141            <enum name="src_over" value="3" />
4142            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4143                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4144            <enum name="src_in" value="5" />
4145            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4146                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4147            <enum name="src_atop" value="9" />
4148            <!-- Multiplies the color and alpha channels of the drawable with those of
4149                 the tint. [Sa * Da, Sc * Dc] -->
4150            <enum name="multiply" value="14" />
4151            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4152            <enum name="screen" value="15" />
4153            <!-- Combines the tint and drawable color and alpha channels, clamping the
4154                 result to valid color values. Saturate(S + D) -->
4155            <enum name="add" value="16" />
4156        </attr>
4157    </declare-styleable>
4158
4159    <declare-styleable name="StackView">
4160        <!-- Color of the res-out outline. -->
4161        <attr name="resOutColor" format="color" />
4162        <!-- Color of the outline of click feedback. -->
4163        <attr name="clickColor" format="color" />
4164    </declare-styleable>
4165
4166    <declare-styleable name="RatingBar">
4167        <!-- The number of stars (or rating items) to show. -->
4168        <attr name="numStars" format="integer" />
4169        <!-- The rating to set by default. -->
4170        <attr name="rating" format="float" />
4171        <!-- The step size of the rating. -->
4172        <attr name="stepSize" format="float" />
4173        <!-- Whether this rating bar is an indicator (and non-changeable by the user). -->
4174        <attr name="isIndicator" format="boolean" />
4175    </declare-styleable>
4176
4177    <declare-styleable name="RadioGroup">
4178        <!-- The id of the child radio button that should be checked by default
4179             within this radio group. -->
4180        <attr name="checkedButton" format="integer" />
4181        <!-- Should the radio group be a column or a row?  Use "horizontal"
4182             for a row, "vertical" for a column.  The default is
4183             vertical. -->
4184        <attr name="orientation" />
4185    </declare-styleable>
4186    <declare-styleable name="TableLayout">
4187        <!-- The zero-based index of the columns to stretch. The column indices
4188             must be separated by a comma: 1, 2, 5. Illegal and duplicate
4189             indices are ignored. You can stretch all columns by using the
4190             value "*" instead. Note that a column can be marked stretchable
4191             and shrinkable at the same time. -->
4192        <attr name="stretchColumns" format="string" />
4193       <!-- The zero-based index of the columns to shrink. The column indices
4194             must be separated by a comma: 1, 2, 5. Illegal and duplicate
4195             indices are ignored. You can shrink all columns by using the
4196             value "*" instead. Note that a column can be marked stretchable
4197             and shrinkable at the same time. -->
4198        <attr name="shrinkColumns" format="string" />
4199        <!-- The zero-based index of the columns to collapse. The column indices
4200             must be separated by a comma: 1, 2, 5. Illegal and duplicate
4201             indices are ignored. -->
4202        <attr name="collapseColumns" format="string" />
4203    </declare-styleable>
4204    <declare-styleable name="TableRow">
4205
4206    </declare-styleable>
4207    <declare-styleable name="TableRow_Cell">
4208        <!-- The index of the column in which this child should be. -->
4209        <attr name="layout_column" format="integer" />
4210        <!-- Defines how many columns this child should span.  Must be >= 1.-->
4211        <attr name="layout_span" format="integer" />
4212    </declare-styleable>
4213    <declare-styleable name="TabWidget">
4214        <!-- Drawable used to draw the divider between tabs. -->
4215        <attr name="divider" />
4216        <!-- Determines whether the strip under the tab indicators is drawn or not. -->
4217        <attr name="tabStripEnabled" format="boolean" />
4218        <!-- Drawable used to draw the left part of the strip underneath the tabs. -->
4219        <attr name="tabStripLeft" format="reference" />
4220        <!-- Drawable used to draw the right part of the strip underneath the tabs. -->
4221        <attr name="tabStripRight" format="reference" />
4222        <!-- Layout used to organize each tab's content. -->
4223        <attr name="tabLayout" format="reference" />
4224    </declare-styleable>
4225    <declare-styleable name="TextAppearance">
4226        <!-- Text color. -->
4227        <attr name="textColor" />
4228        <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
4229        <attr name="textSize" />
4230        <!-- Style (bold, italic, bolditalic) for the text. -->
4231        <attr name="textStyle" />
4232        <!-- Typeface (normal, sans, serif, monospace) for the text. -->
4233        <attr name="typeface" />
4234        <!-- Font family (named by string) for the text. -->
4235        <attr name="fontFamily" />
4236        <!-- Color of the text selection highlight. -->
4237        <attr name="textColorHighlight" />
4238        <!-- Color of the hint text. -->
4239        <attr name="textColorHint" />
4240        <!-- Color of the links. -->
4241        <attr name="textColorLink" />
4242        <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
4243        <attr name="textAllCaps" format="boolean" />
4244        <!-- Place a blurred shadow of text underneath the text, drawn with the
4245             specified color. The text shadow produced does not interact with
4246             properties on View that are responsible for real time shadows,
4247             {@link android.R.styleable#View_elevation elevation} and
4248             {@link android.R.styleable#View_translationZ translationZ}. -->
4249        <attr name="shadowColor" format="color" />
4250        <!-- Horizontal offset of the text shadow. -->
4251        <attr name="shadowDx" format="float" />
4252        <!-- Vertical offset of the text shadow. -->
4253        <attr name="shadowDy" format="float" />
4254        <!-- Blur radius of the text shadow. -->
4255        <attr name="shadowRadius" format="float" />
4256        <!-- Elegant text height, especially for less compacted complex script text. -->
4257        <attr name="elegantTextHeight" format="boolean" />
4258        <!-- Text letter-spacing. -->
4259        <attr name="letterSpacing" format="float" />
4260        <!-- Font feature settings. -->
4261        <attr name="fontFeatureSettings" format="string" />
4262    </declare-styleable>
4263    <declare-styleable name="TextClock">
4264        <!-- Specifies the formatting pattern used to show the time and/or date
4265             in 12-hour mode. Please refer to {@link android.text.format.DateFormat}
4266             for a complete description of accepted formatting patterns.
4267             The default pattern is a locale-appropriate equivalent of "h:mm a". -->
4268        <attr name="format12Hour" format="string"/>
4269        <!-- Specifies the formatting pattern used to show the time and/or date
4270             in 24-hour mode. Please refer to {@link android.text.format.DateFormat}
4271             for a complete description of accepted formatting patterns.
4272             The default pattern is a locale-appropriate equivalent of "H:mm". -->
4273        <attr name="format24Hour" format="string"/>
4274        <!-- Specifies the time zone to use. When this attribute is specified, the
4275             TextClock will ignore the time zone of the system. To use the user's
4276             time zone, do not specify this attribute. The default value is the
4277             user's time zone. Please refer to {@link java.util.TimeZone} for more
4278             information about time zone ids. -->
4279        <attr name="timeZone" format="string"/>
4280    </declare-styleable>
4281    <declare-styleable name="TextSwitcher">
4282    </declare-styleable>
4283    <declare-styleable name="TextView">
4284        <!-- Determines the minimum type that getText() will return.
4285             The default is "normal".
4286             Note that EditText and LogTextBox always return Editable,
4287             even if you specify something less powerful here. -->
4288        <attr name="bufferType">
4289            <!-- Can return any CharSequence, possibly a
4290             Spanned one if the source text was Spanned. -->
4291            <enum name="normal" value="0" />
4292            <!-- Can only return Spannable. -->
4293            <enum name="spannable" value="1" />
4294            <!-- Can only return Spannable and Editable. -->
4295            <enum name="editable" value="2" />
4296        </attr>
4297        <!-- Text to display. -->
4298        <attr name="text" format="string" localization="suggested" />
4299        <!-- Hint text to display when the text is empty. -->
4300        <attr name="hint" format="string" />
4301        <!-- Text color. -->
4302        <attr name="textColor" />
4303        <!-- Color of the text selection highlight. -->
4304        <attr name="textColorHighlight" />
4305        <!-- Color of the hint text. -->
4306        <attr name="textColorHint" />
4307        <!-- Base text color, typeface, size, and style. -->
4308        <attr name="textAppearance" />
4309        <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
4310        <attr name="textSize" />
4311        <!-- Sets the horizontal scaling factor for the text. -->
4312        <attr name="textScaleX" format="float" />
4313        <!-- Typeface (normal, sans, serif, monospace) for the text. -->
4314        <attr name="typeface" />
4315        <!-- Style (bold, italic, bolditalic) for the text. -->
4316        <attr name="textStyle" />
4317        <!-- Font family (named by string) for the text. -->
4318        <attr name="fontFamily" />
4319        <!-- Text color for links. -->
4320        <attr name="textColorLink" />
4321        <!-- Makes the cursor visible (the default) or invisible. -->
4322        <attr name="cursorVisible" format="boolean" />
4323        <!-- Makes the TextView be at most this many lines tall.
4324
4325        When used on an editable text, the <code>inputType</code> attribute's value must be
4326        combined with the <code>textMultiLine</code> flag for the maxLines attribute to apply. -->
4327        <attr name="maxLines" format="integer" min="0" />
4328        <!-- Makes the TextView be at most this many pixels tall. -->
4329        <attr name="maxHeight" />
4330        <!-- Makes the TextView be exactly this many lines tall. -->
4331        <attr name="lines" format="integer" min="0" />
4332        <!-- Makes the TextView be exactly this many pixels tall.
4333             You could get the same effect by specifying this number in the
4334             layout parameters. -->
4335        <attr name="height" format="dimension" />
4336        <!-- Makes the TextView be at least this many lines tall.
4337
4338        When used on an editable text, the <code>inputType</code> attribute's value must be
4339        combined with the <code>textMultiLine</code> flag for the minLines attribute to apply. -->
4340        <attr name="minLines" format="integer" min="0" />
4341        <!-- Makes the TextView be at least this many pixels tall. -->
4342        <attr name="minHeight" />
4343        <!-- Makes the TextView be at most this many ems wide. -->
4344        <attr name="maxEms" format="integer" min="0" />
4345        <!-- Makes the TextView be at most this many pixels wide. -->
4346        <attr name="maxWidth" />
4347        <!-- Makes the TextView be exactly this many ems wide. -->
4348        <attr name="ems" format="integer" min="0" />
4349        <!-- Makes the TextView be exactly this many pixels wide.
4350             You could get the same effect by specifying this number in the
4351             layout parameters. -->
4352        <attr name="width" format="dimension" />
4353        <!-- Makes the TextView be at least this many ems wide. -->
4354        <attr name="minEms" format="integer" min="0" />
4355        <!-- Makes the TextView be at least this many pixels wide. -->
4356        <attr name="minWidth" />
4357        <!-- Specifies how to align the text by the view's x- and/or y-axis
4358             when the text is smaller than the view. -->
4359        <attr name="gravity" />
4360        <!-- Whether the text is allowed to be wider than the view (and
4361             therefore can be scrolled horizontally). -->
4362        <attr name="scrollHorizontally" format="boolean" />
4363        <!-- Whether the characters of the field are displayed as
4364             password dots instead of themselves.
4365             {@deprecated Use inputType instead.} -->
4366        <attr name="password" format="boolean" />
4367        <!-- Constrains the text to a single horizontally scrolling line
4368             instead of letting it wrap onto multiple lines, and advances
4369             focus instead of inserting a newline when you press the
4370             enter key.
4371
4372             The default value is false (multi-line wrapped text mode) for non-editable text, but if
4373             you specify any value for inputType, the default is true (single-line input field mode).
4374
4375             {@deprecated This attribute is deprecated. Use <code>maxLines</code> instead to change
4376             the layout of a static text, and use the <code>textMultiLine</code> flag in the
4377             inputType attribute instead for editable text views (if both singleLine and inputType
4378             are supplied, the inputType flags will override the value of singleLine). } -->
4379        <attr name="singleLine" format="boolean" />
4380        <!-- Specifies whether the widget is enabled. The interpretation of the enabled state varies by subclass.
4381             For example, a non-enabled EditText prevents the user from editing the contained text, and
4382             a non-enabled Button prevents the user from tapping the button.
4383             The appearance of enabled and non-enabled widgets may differ, if the drawables referenced
4384             from evaluating state_enabled differ. -->
4385        <attr name="enabled" format="boolean" />
4386        <!-- If the text is selectable, select it all when the view takes
4387             focus. -->
4388        <attr name="selectAllOnFocus" format="boolean" />
4389        <!-- Leave enough room for ascenders and descenders instead of
4390             using the font ascent and descent strictly.  (Normally true). -->
4391        <attr name="includeFontPadding" format="boolean" />
4392        <!-- Set an input filter to constrain the text length to the
4393             specified number. -->
4394        <attr name="maxLength" format="integer" min="0" />
4395        <!-- Place a blurred shadow of text underneath the text, drawn with the
4396             specified color. The text shadow produced does not interact with
4397             properties on View that are responsible for real time shadows,
4398             {@link android.R.styleable#View_elevation elevation} and
4399             {@link android.R.styleable#View_translationZ translationZ}. -->
4400        <attr name="shadowColor" />
4401        <!-- Horizontal offset of the text shadow. -->
4402        <attr name="shadowDx" />
4403        <!-- Vertical offset of the text shadow. -->
4404        <attr name="shadowDy" />
4405        <!-- Blur radius of the text shadow. -->
4406        <attr name="shadowRadius" />
4407        <attr name="autoLink" />
4408        <!-- If set to false, keeps the movement method from being set
4409             to the link movement method even if autoLink causes links
4410             to be found. -->
4411        <attr name="linksClickable" format="boolean" />
4412        <!-- If set, specifies that this TextView has a numeric input method.
4413             The default is false.
4414             {@deprecated Use inputType instead.} -->
4415        <attr name="numeric">
4416            <!-- Input is numeric. -->
4417            <flag name="integer" value="0x01" />
4418            <!-- Input is numeric, with sign allowed. -->
4419            <flag name="signed" value="0x03" />
4420            <!-- Input is numeric, with decimals allowed. -->
4421            <flag name="decimal" value="0x05" />
4422        </attr>
4423        <!-- If set, specifies that this TextView has a numeric input method
4424             and that these specific characters are the ones that it will
4425             accept.
4426             If this is set, numeric is implied to be true.
4427             The default is false. -->
4428        <attr name="digits" format="string" />
4429        <!-- If set, specifies that this TextView has a phone number input
4430             method. The default is false.
4431             {@deprecated Use inputType instead.} -->
4432        <attr name="phoneNumber" format="boolean" />
4433        <!-- If set, specifies that this TextView should use the specified
4434             input method (specified by fully-qualified class name).
4435             {@deprecated Use inputType instead.} -->
4436        <attr name="inputMethod" format="string" />
4437        <!-- If set, specifies that this TextView has a textual input method
4438             and should automatically capitalize what the user types.
4439             The default is "none".
4440             {@deprecated Use inputType instead.} -->
4441        <attr name="capitalize">
4442            <!-- Don't automatically capitalize anything. -->
4443            <enum name="none" value="0" />
4444            <!-- Capitalize the first word of each sentence. -->
4445            <enum name="sentences" value="1" />
4446            <!-- Capitalize the first letter of every word. -->
4447            <enum name="words" value="2" />
4448            <!-- Capitalize every character. -->
4449            <enum name="characters" value="3" />
4450        </attr>
4451        <!-- If set, specifies that this TextView has a textual input method
4452             and automatically corrects some common spelling errors.
4453             The default is "false".
4454             {@deprecated Use inputType instead.} -->
4455        <attr name="autoText" format="boolean" />
4456        <!-- If set, specifies that this TextView has an input method.
4457             It will be a textual one unless it has otherwise been specified.
4458             For TextView, this is false by default.  For EditText, it is
4459             true by default.
4460             {@deprecated Use inputType instead.} -->
4461        <attr name="editable" format="boolean" />
4462        <!-- If set, the text view will include its current complete text
4463             inside of its frozen icicle in addition to meta-data such as
4464             the current cursor position.  By default this is disabled;
4465             it can be useful when the contents of a text view is not stored
4466             in a persistent place such as a content provider. For
4467             {@link android.widget.EditText} it is always enabled, regardless
4468             of the value of the attribute. -->
4469        <attr name="freezesText" format="boolean" />
4470        <!-- If set, causes words that are longer than the view is wide
4471             to be ellipsized instead of broken in the middle.
4472             You will often also want to set scrollHorizontally or singleLine
4473             as well so that the text as a whole is also constrained to
4474             a single line instead of still allowed to be broken onto
4475             multiple lines. -->
4476        <attr name="ellipsize" />
4477        <!-- The drawable to be drawn above the text. -->
4478        <attr name="drawableTop" format="reference|color" />
4479        <!-- The drawable to be drawn below the text. -->
4480        <attr name="drawableBottom" format="reference|color" />
4481        <!-- The drawable to be drawn to the left of the text. -->
4482        <attr name="drawableLeft" format="reference|color" />
4483        <!-- The drawable to be drawn to the right of the text. -->
4484        <attr name="drawableRight" format="reference|color" />
4485        <!-- The drawable to be drawn to the start of the text. -->
4486        <attr name="drawableStart" format="reference|color" />
4487        <!-- The drawable to be drawn to the end of the text. -->
4488        <attr name="drawableEnd" format="reference|color" />
4489        <!-- The padding between the drawables and the text. -->
4490        <attr name="drawablePadding" format="dimension" />
4491        <!-- Tint to apply to the compound (left, top, etc.) drawables. -->
4492        <attr name="drawableTint" format="color" />
4493        <!-- Blending mode used to apply the compound (left, top, etc.) drawables tint. -->
4494        <attr name="drawableTintMode">
4495            <!-- The tint is drawn on top of the drawable.
4496                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4497            <enum name="src_over" value="3" />
4498            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4499                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4500            <enum name="src_in" value="5" />
4501            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4502                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4503            <enum name="src_atop" value="9" />
4504            <!-- Multiplies the color and alpha channels of the drawable with those of
4505                 the tint. [Sa * Da, Sc * Dc] -->
4506            <enum name="multiply" value="14" />
4507            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4508            <enum name="screen" value="15" />
4509            <!-- Combines the tint and drawable color and alpha channels, clamping the
4510                 result to valid color values. Saturate(S + D) -->
4511            <enum name="add" value="16" />
4512        </attr>
4513        <!-- Extra spacing between lines of text. -->
4514        <attr name="lineSpacingExtra" format="dimension" />
4515        <!-- Extra spacing between lines of text, as a multiplier. -->
4516        <attr name="lineSpacingMultiplier" format="float" />
4517        <!-- The number of times to repeat the marquee animation. Only applied if the
4518             TextView has marquee enabled. -->
4519        <attr name="marqueeRepeatLimit" format="integer">
4520            <!-- Indicates that marquee should repeat indefinitely. -->
4521            <enum name="marquee_forever" value="-1" />
4522        </attr>
4523        <attr name="inputType" />
4524        <!-- Whether undo should be allowed for editable text. Defaults to true. -->
4525        <attr name="allowUndo" format="boolean" />
4526        <attr name="imeOptions" />
4527        <!-- An addition content type description to supply to the input
4528             method attached to the text view, which is private to the
4529             implementation of the input method.  This simply fills in
4530             the {@link android.view.inputmethod.EditorInfo#privateImeOptions
4531             EditorInfo.privateImeOptions} field when the input
4532             method is connected. -->
4533        <attr name="privateImeOptions" format="string" />
4534        <!-- Supply a value for
4535             {@link android.view.inputmethod.EditorInfo#actionLabel EditorInfo.actionLabel}
4536             used when an input method is connected to the text view. -->
4537        <attr name="imeActionLabel" format="string" />
4538        <!-- Supply a value for
4539             {@link android.view.inputmethod.EditorInfo#actionId EditorInfo.actionId}
4540             used when an input method is connected to the text view. -->
4541        <attr name="imeActionId" format="integer" />
4542        <!-- Reference to an
4543             {@link android.R.styleable#InputExtras &lt;input-extras&gt;}
4544             XML resource containing additional data to
4545             supply to an input method, which is private to the implementation
4546             of the input method.  This simply fills in
4547             the {@link android.view.inputmethod.EditorInfo#extras
4548             EditorInfo.extras} field when the input
4549             method is connected. -->
4550        <attr name="editorExtras" format="reference" />
4551
4552        <!-- Reference to a drawable that will be used to display a text selection
4553             anchor on the left side of a selection region. -->
4554        <attr name="textSelectHandleLeft" />
4555        <!-- Reference to a drawable that will be used to display a text selection
4556             anchor on the right side of a selection region. -->
4557        <attr name="textSelectHandleRight" />
4558        <!-- Reference to a drawable that will be used to display a text selection
4559             anchor for positioning the cursor within text. -->
4560        <attr name="textSelectHandle" />
4561        <!-- The layout of the view that is displayed on top of the cursor to paste inside a
4562             TextEdit field. -->
4563        <attr name="textEditPasteWindowLayout" />
4564        <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. -->
4565        <attr name="textEditNoPasteWindowLayout" />
4566        <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the
4567             insertion cursor because it would be clipped if it were positioned on top. -->
4568        <attr name="textEditSidePasteWindowLayout" />
4569        <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. -->
4570        <attr name="textEditSideNoPasteWindowLayout" />
4571
4572        <!-- Layout of the TextView item that will populate the suggestion popup window. -->
4573        <attr name="textEditSuggestionItemLayout" />
4574        <!-- Layout of the container of the suggestion popup window. -->
4575        <attr name="textEditSuggestionContainerLayout" />
4576        <!-- Style of the highlighted string in the suggestion popup window. -->
4577        <attr name="textEditSuggestionHighlightStyle" />
4578
4579
4580        <!-- Reference to a drawable that will be drawn under the insertion cursor. -->
4581        <attr name="textCursorDrawable" />
4582
4583        <!-- Indicates that the content of a non-editable text can be selected. -->
4584        <attr name="textIsSelectable" />
4585        <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
4586        <attr name="textAllCaps" />
4587        <!-- Elegant text height, especially for less compacted complex script text. -->
4588        <attr name="elegantTextHeight" />
4589        <!-- Text letter-spacing. -->
4590        <attr name="letterSpacing" />
4591        <!-- Font feature settings. -->
4592        <attr name="fontFeatureSettings" />
4593        <!-- Break strategy (control over paragraph layout). -->
4594        <attr name="breakStrategy">
4595            <!-- Line breaking uses simple strategy. -->
4596            <enum name="simple" value="0" />
4597            <!-- Line breaking uses high-quality strategy, including hyphenation. -->
4598            <enum name="high_quality" value="1" />
4599            <!-- Line breaking strategy balances line lengths. -->
4600            <enum name="balanced" value="2" />
4601        </attr>
4602        <!-- Frequency of automatic hyphenation. -->
4603        <attr name="hyphenationFrequency">
4604            <!-- No hyphenation. -->
4605            <enum name="none" value="0" />
4606            <!-- Less frequent hyphenation, useful for informal use cases, such
4607            as chat messages. -->
4608            <enum name="normal" value="1" />
4609            <!-- Standard amount of hyphenation, useful for running text and for
4610            screens with limited space for text. -->
4611            <enum name="full" value="2" />
4612        </attr>
4613    </declare-styleable>
4614    <declare-styleable name="TextViewAppearance">
4615        <!-- Base text color, typeface, size, and style. -->
4616        <attr name="textAppearance" />
4617    </declare-styleable>
4618    <declare-styleable name="SelectionModeDrawables">
4619        <attr name="actionModeSelectAllDrawable" />
4620        <attr name="actionModeCutDrawable" />
4621        <attr name="actionModeCopyDrawable" />
4622        <attr name="actionModePasteDrawable" />
4623    </declare-styleable>
4624    <declare-styleable name="SuggestionSpan">
4625        <attr name="textUnderlineColor" />
4626        <attr name="textUnderlineThickness" />
4627    </declare-styleable>
4628    <!-- An <code>input-extras</code> is a container for extra data to supply to
4629         an input method.  Contains
4630         one more more {@link #Extra <extra>} tags.  -->
4631    <declare-styleable name="InputExtras">
4632    </declare-styleable>
4633    <declare-styleable name="AutoCompleteTextView">
4634        <!-- Defines the hint displayed in the drop down menu. -->
4635        <attr name="completionHint" format="string" />
4636        <!-- Defines the hint view displayed in the drop down menu. -->
4637        <attr name="completionHintView" format="reference" />
4638        <!-- Defines the number of characters that the user must type before
4639         completion suggestions are displayed in a drop down menu. -->
4640        <attr name="completionThreshold" format="integer" min="1" />
4641        <!-- Selector in a drop down list. -->
4642        <attr name="dropDownSelector" format="reference|color" />
4643        <!-- View to anchor the auto-complete dropdown to. If not specified, the text view itself
4644             is used. -->
4645        <attr name="dropDownAnchor" format="reference" />
4646        <!-- Specifies the basic width of the dropdown. Its value may
4647             be a dimension (such as "12dip") for a constant width,
4648             fill_parent or match_parent to match the width of the
4649             screen, or wrap_content to match the width of
4650             the anchored view. -->
4651        <attr name="dropDownWidth" format="dimension">
4652            <!-- The dropdown should fill the width of the screen.
4653                 This constant is deprecated starting from API Level 8 and
4654                 is replaced by {@code match_parent}. -->
4655            <enum name="fill_parent" value="-1" />
4656            <!-- The dropdown should fit the width of the screen.
4657                 Introduced in API Level 8. -->
4658            <enum name="match_parent" value="-1" />
4659            <!-- The dropdown should fit the width of its anchor. -->
4660            <enum name="wrap_content" value="-2" />
4661        </attr>
4662        <!-- Specifies the basic height of the dropdown. Its value may
4663             be a dimension (such as "12dip") for a constant height,
4664             fill_parent or match_parent to fill the height of the
4665             screen, or wrap_content to match the height of
4666             the content of the drop down. -->
4667        <attr name="dropDownHeight" format="dimension">
4668            <!-- The dropdown should fit the height of the screen.
4669                 This constant is deprecated starting from API Level 8 and
4670                 is replaced by {@code match_parent}. -->
4671            <enum name="fill_parent" value="-1" />
4672            <!-- The dropdown should fit the height of the screen.
4673                 Introduced in API Level 8. -->
4674            <enum name="match_parent" value="-1" />
4675            <!-- The dropdown should fit the height of the content. -->
4676            <enum name="wrap_content" value="-2" />
4677        </attr>
4678        <attr name="inputType" />
4679        <!-- Theme to use for the completion popup window. -->
4680        <attr name="popupTheme" />
4681    </declare-styleable>
4682    <declare-styleable name="PopupWindow">
4683        <!-- The background to use for the popup window. -->
4684        <attr name="popupBackground" format="reference|color" />
4685        <!-- Window elevation to use for the popup window. -->
4686        <attr name="popupElevation" format="dimension" />
4687        <!-- The animation style to use for the popup window. -->
4688        <attr name="popupAnimationStyle" format="reference" />
4689        <!-- Whether the popup window should overlap its anchor view. -->
4690        <attr name="overlapAnchor" format="boolean" />
4691        <!-- Transition used to move views into the popup window. -->
4692        <attr name="popupEnterTransition" format="reference" />
4693        <!-- Transition used to move views out of the popup window. -->
4694        <attr name="popupExitTransition" format="reference" />
4695    </declare-styleable>
4696    <declare-styleable name="ListPopupWindow">
4697        <!-- Amount of pixels by which the drop down should be offset vertically. -->
4698        <attr name="dropDownVerticalOffset" format="dimension" />
4699        <!-- Amount of pixels by which the drop down should be offset horizontally. -->
4700        <attr name="dropDownHorizontalOffset" format="dimension" />
4701    </declare-styleable>
4702    <declare-styleable name="ViewAnimator">
4703        <!-- Identifier for the animation to use when a view is shown. -->
4704        <attr name="inAnimation" format="reference" />
4705        <!-- Identifier for the animation to use when a view is hidden. -->
4706        <attr name="outAnimation" format="reference" />
4707        <!-- Defines whether to animate the current View when the ViewAnimation
4708             is first displayed. -->
4709        <attr name="animateFirstView" format="boolean" />
4710    </declare-styleable>
4711    <declare-styleable name="ViewFlipper">
4712        <attr name="flipInterval" format="integer" min="0" />
4713        <!-- When true, automatically start animating -->
4714        <attr name="autoStart" format="boolean" />
4715    </declare-styleable>
4716    <declare-styleable name="AdapterViewAnimator">
4717        <!-- Identifier for the animation to use when a view is shown. -->
4718        <attr name="inAnimation" />
4719        <!-- Identifier for the animation to use when a view is hidden. -->
4720        <attr name="outAnimation" />
4721        <!--Defines whether the animator loops to the first view once it
4722        has reached the end of the list. -->
4723        <attr name="loopViews" format="boolean" />
4724        <!-- Defines whether to animate the current View when the ViewAnimation
4725        is first displayed. -->
4726        <attr name="animateFirstView" />
4727    </declare-styleable>
4728    <declare-styleable name="AdapterViewFlipper">
4729        <attr name="flipInterval" />
4730        <!-- When true, automatically start animating -->
4731        <attr name="autoStart" />
4732    </declare-styleable>
4733    <declare-styleable name="ViewSwitcher">
4734    </declare-styleable>
4735    <declare-styleable name="ScrollView">
4736        <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
4737        <attr name="fillViewport" format="boolean" />
4738    </declare-styleable>
4739    <declare-styleable name="HorizontalScrollView">
4740        <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
4741        <attr name="fillViewport" />
4742    </declare-styleable>
4743    <declare-styleable name="Spinner">
4744        <!-- The prompt to display when the spinner's dialog is shown. -->
4745        <attr name="prompt" format="reference" />
4746        <!-- Display mode for spinner options. -->
4747        <attr name="spinnerMode" format="enum">
4748            <!-- Spinner options will be presented to the user as a dialog window. -->
4749            <enum name="dialog" value="0" />
4750            <!-- Spinner options will be presented to the user as an inline dropdown
4751                 anchored to the spinner widget itself. -->
4752            <enum name="dropdown" value="1" />
4753        </attr>
4754        <!-- List selector to use for spinnerMode="dropdown" display. -->
4755        <attr name="dropDownSelector" />
4756        <!-- Theme to use for the drop-down or dialog popup window. -->
4757        <attr name="popupTheme" />
4758        <!-- Background drawable to use for the dropdown in spinnerMode="dropdown". -->
4759        <attr name="popupBackground" />
4760        <!-- Window elevation to use for the dropdown in spinnerMode="dropdown". -->
4761        <attr name="popupElevation" />
4762        <!-- Width of the dropdown in spinnerMode="dropdown". -->
4763        <attr name="dropDownWidth" />
4764        <!-- Reference to a layout to use for displaying a prompt in the dropdown for
4765             spinnerMode="dropdown". This layout must contain a TextView with the id
4766             {@code @android:id/text1} to be populated with the prompt text. -->
4767        <attr name="popupPromptView" format="reference" />
4768        <!-- Gravity setting for positioning the currently selected item. -->
4769        <attr name="gravity" />
4770        <!-- Whether this spinner should mark child views as enabled/disabled when
4771             the spinner itself is enabled/disabled. -->
4772        <attr name="disableChildrenWhenDisabled" format="boolean" />
4773    </declare-styleable>
4774
4775    <declare-styleable name="DatePicker">
4776        <!-- The first day of week according to {@link java.util.Calendar}. -->
4777        <attr name="firstDayOfWeek" />
4778        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
4779        <attr name="minDate" format="string" />
4780        <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. -->
4781        <attr name="maxDate" format="string" />
4782
4783        <!-- Whether the spinners are shown. Only valid for "spinner" mode. -->
4784        <attr name="spinnersShown" format="boolean" />
4785        <!-- Whether the calendar view is shown. Only valid for "spinner" mode. -->
4786        <attr name="calendarViewShown" format="boolean" />
4787
4788        <!-- @hide The layout of the date picker. -->
4789        <attr name="internalLayout" format="reference"  />
4790        <!-- @hide The layout of the legacy DatePicker. -->
4791        <attr name="legacyLayout" />
4792
4793        <!-- The text color for the selected date header text, ex. "2014" or
4794             "Tue, Mar 18". This should be a color state list where the
4795             activated state will be used when the year picker or day picker is
4796             active.-->
4797        <attr name="headerTextColor" format="color" />
4798        <!-- The background for the selected date header. -->
4799        <attr name="headerBackground" />
4800
4801        <!-- The list year's text appearance in the list.
4802             {@deprecated Use yearListTextColor. }-->
4803        <attr name="yearListItemTextAppearance" format="reference" />
4804        <!-- @hide The list year's text appearance in the list when activated. -->
4805        <attr name="yearListItemActivatedTextAppearance" format="reference" />
4806        <!-- The text color list of the calendar. -->
4807        <attr name="calendarTextColor" format="color" />
4808
4809        <!-- Defines the look of the widget. Prior to the L release, the only choice was
4810             spinner. As of L, with the Material theme selected, the default layout is calendar,
4811             but this attribute can be used to force spinner to be used instead. -->
4812        <attr name="datePickerMode">
4813            <!-- Date picker with spinner controls to select the date. -->
4814            <enum name="spinner" value="1" />
4815            <!-- Date picker with calendar to select the date. -->
4816            <enum name="calendar" value="2" />
4817        </attr>
4818
4819        <!-- The first year (inclusive), for example "1940".
4820             {@deprecated Use minDate instead.} -->
4821        <attr name="startYear" format="integer" />
4822        <!-- The last year (inclusive), for example "2010".
4823             {@deprecated Use maxDate instead.} -->
4824        <attr name="endYear" format="integer" />
4825        <!-- The text appearance for the month (ex. May) in the selected date header.
4826             {@deprecated Use headerTextColor instead.} -->
4827        <attr name="headerMonthTextAppearance" format="reference" />
4828        <!-- The text appearance for the day of month (ex. 28) in the selected date header.
4829             {@deprecated Use headerTextColor instead.} -->
4830        <attr name="headerDayOfMonthTextAppearance" format="reference" />
4831        <!-- The text appearance for the year (ex. 2014) in the selected date header.
4832             {@deprecated Use headerTextColor instead.} -->
4833        <attr name="headerYearTextAppearance" format="reference" />
4834        <!-- The background color for the header's day of week.
4835             {@deprecated No longer displayed.} -->
4836        <attr name="dayOfWeekBackground" format="color" />
4837        <!-- The text color for the header's day of week.
4838             {@deprecated No longer displayed.} -->
4839        <attr name="dayOfWeekTextAppearance" format="reference" />
4840        <!-- The list year's selected circle color in the list.
4841             {@deprecated No longer displayed.} -->
4842        <attr name="yearListSelectorColor" format="color" />
4843    </declare-styleable>
4844
4845    <declare-styleable name="TwoLineListItem">
4846        <attr name="mode">
4847            <!-- Always show only the first line. -->
4848            <enum name="oneLine" value="1" />
4849            <!-- When selected show both lines, otherwise show only the first line.
4850                 This is the default mode. -->
4851            <enum name="collapsing" value="2" />
4852            <!-- Always show both lines. -->
4853            <enum name="twoLine" value="3" />
4854        </attr>
4855    </declare-styleable>
4856
4857    <!-- SlidingDrawer specific attributes. These attributes are used to configure
4858         a SlidingDrawer from XML. -->
4859    <declare-styleable name="SlidingDrawer">
4860        <!-- Identifier for the child that represents the drawer's handle. -->
4861        <attr name="handle" format="reference" />
4862        <!-- Identifier for the child that represents the drawer's content. -->
4863        <attr name="content" format="reference" />
4864        <!-- Orientation of the SlidingDrawer. -->
4865        <attr name="orientation" />
4866        <!-- Extra offset for the handle at the bottom of the SlidingDrawer. -->
4867        <attr name="bottomOffset" format="dimension"  />
4868        <!-- Extra offset for the handle at the top of the SlidingDrawer. -->
4869        <attr name="topOffset" format="dimension"  />
4870        <!-- Indicates whether the drawer can be opened/closed by a single tap
4871             on the handle.  (If false, the user must drag or fling, or click
4872             using the trackball, to open/close the drawer.)  Default is true. -->
4873        <attr name="allowSingleTap" format="boolean" />
4874        <!-- Indicates whether the drawer should be opened/closed with an animation
4875             when the user clicks the handle. Default is true. -->
4876        <attr name="animateOnClick" format="boolean" />
4877    </declare-styleable>
4878
4879    <!-- GestureOverlayView specific attributes. These attributes are used to configure
4880         a GestureOverlayView from XML. -->
4881    <declare-styleable name="GestureOverlayView">
4882        <!-- Width of the stroke used to draw the gesture. -->
4883        <attr name="gestureStrokeWidth" format="float" />
4884        <!-- Color used to draw a gesture. -->
4885        <attr name="gestureColor" format="color" />
4886        <!-- Color used to draw the user's strokes until we are sure it's a gesture. -->
4887        <attr name="uncertainGestureColor" format="color" />
4888        <!-- Time, in milliseconds, to wait before the gesture fades out after the user
4889             is done drawing it. -->
4890        <attr name="fadeOffset" format="integer" />
4891        <!-- Duration, in milliseconds, of the fade out effect after the user is done
4892             drawing a gesture. -->
4893        <attr name="fadeDuration" format="integer" />
4894        <!-- Defines the type of strokes that define a gesture. -->
4895        <attr name="gestureStrokeType">
4896            <!-- A gesture is made of only one stroke. -->
4897            <enum name="single" value="0" />
4898            <!-- A gesture is made of multiple strokes. -->
4899            <enum name="multiple" value="1" />
4900        </attr>
4901        <!-- Minimum length of a stroke before it is recognized as a gesture. -->
4902        <attr name="gestureStrokeLengthThreshold" format="float" />
4903        <!-- Squareness threshold of a stroke before it is recognized as a gesture. -->
4904        <attr name="gestureStrokeSquarenessThreshold" format="float" />
4905        <!-- Minimum curve angle a stroke must contain before it is recognized as a gesture. -->
4906        <attr name="gestureStrokeAngleThreshold" format="float" />
4907        <!-- Defines whether the overlay should intercept the motion events when a gesture
4908             is recognized. -->
4909        <attr name="eventsInterceptionEnabled" format="boolean" />
4910        <!-- Defines whether the gesture will automatically fade out after being recognized. -->
4911        <attr name="fadeEnabled" format="boolean" />
4912        <!-- Indicates whether horizontal (when the orientation is vertical) or vertical
4913             (when orientation is horizontal) strokes automatically define a gesture. -->
4914        <attr name="orientation" />
4915    </declare-styleable>
4916
4917    <declare-styleable name="QuickContactBadge">
4918        <attr name="quickContactWindowSize">
4919            <enum name="modeSmall" value="1" />
4920            <enum name="modeMedium" value="2" />
4921            <enum name="modeLarge" value="3" />
4922        </attr>
4923    </declare-styleable>
4924
4925    <!-- ======================================= -->
4926    <!-- Widget package parent layout attributes -->
4927    <!-- ======================================= -->
4928    <eat-comment />
4929
4930    <declare-styleable name="AbsoluteLayout_Layout">
4931        <attr name="layout_x" format="dimension" />
4932        <attr name="layout_y" format="dimension" />
4933    </declare-styleable>
4934    <declare-styleable name="LinearLayout_Layout">
4935        <attr name="layout_width" />
4936        <attr name="layout_height" />
4937        <attr name="layout_weight" format="float" />
4938        <attr name="layout_gravity" />
4939    </declare-styleable>
4940    <declare-styleable name="GridLayout_Layout">
4941        <!-- The row boundary delimiting the top of the group of cells
4942        occupied by this view. -->
4943        <attr name="layout_row" format="integer" />
4944        <!-- The row span: the difference between the top and bottom
4945        boundaries delimiting the group of cells occupied by this view.
4946        The default is one.
4947        See {@link android.widget.GridLayout.Spec}. -->
4948        <attr name="layout_rowSpan" format="integer" min="1" />
4949        <!-- The relative proportion of vertical space that should be allocated to this view
4950        during excess space distribution. -->
4951        <attr name="layout_rowWeight" format="float" />
4952        <!-- The column boundary delimiting the left of the group of cells
4953        occupied by this view. -->
4954        <attr name="layout_column" />
4955        <!-- The column span: the difference between the right and left
4956        boundaries delimiting the group of cells occupied by this view.
4957        The default is one.
4958        See {@link android.widget.GridLayout.Spec}. -->
4959        <attr name="layout_columnSpan" format="integer" min="1" />
4960        <!-- The relative proportion of horizontal space that should be allocated to this view
4961        during excess space distribution. -->
4962        <attr name="layout_columnWeight" format="float" />
4963        <!-- Gravity specifies how a component should be placed in its group of cells.
4964        The default is LEFT | BASELINE.
4965        See {@link android.widget.GridLayout.LayoutParams#setGravity(int)}. -->
4966        <attr name="layout_gravity" />
4967    </declare-styleable>
4968    <declare-styleable name="FrameLayout_Layout">
4969        <attr name="layout_gravity" />
4970    </declare-styleable>
4971    <declare-styleable name="RelativeLayout_Layout">
4972        <!-- Positions the right edge of this view to the left of the given anchor view ID.
4973             Accommodates right margin of this view and left margin of anchor view. -->
4974        <attr name="layout_toLeftOf" format="reference" />
4975        <!-- Positions the left edge of this view to the right of the given anchor view ID.
4976            Accommodates left margin of this view and right margin of anchor view. -->
4977        <attr name="layout_toRightOf" format="reference" />
4978        <!-- Positions the bottom edge of this view above the given anchor view ID.
4979            Accommodates bottom margin of this view and top margin of anchor view. -->
4980        <attr name="layout_above" format="reference" />
4981        <!-- Positions the top edge of this view below the given anchor view ID.
4982            Accommodates top margin of this view and bottom margin of anchor view. -->
4983        <attr name="layout_below" format="reference" />
4984        <!-- Positions the baseline of this view on the baseline of the given anchor view ID. -->
4985        <attr name="layout_alignBaseline" format="reference" />
4986        <!-- Makes the left edge of this view match the left edge of the given anchor view ID.
4987            Accommodates left margin. -->
4988        <attr name="layout_alignLeft" format="reference" />
4989        <!-- Makes the top edge of this view match the top edge of the given anchor view ID.
4990            Accommodates top margin. -->
4991        <attr name="layout_alignTop" format="reference" />
4992        <!-- Makes the right edge of this view match the right edge of the given anchor view ID.
4993            Accommodates right margin. -->
4994        <attr name="layout_alignRight" format="reference" />
4995        <!-- Makes the bottom edge of this view match the bottom edge of the given anchor view ID.
4996            Accommodates bottom margin. -->
4997        <attr name="layout_alignBottom" format="reference" />
4998        <!-- If true, makes the left edge of this view match the left edge of the parent.
4999            Accommodates left margin. -->
5000        <attr name="layout_alignParentLeft" format="boolean" />
5001        <!-- If true, makes the top edge of this view match the top edge of the parent.
5002            Accommodates top margin. -->
5003        <attr name="layout_alignParentTop" format="boolean" />
5004        <!-- If true, makes the right edge of this view match the right edge of the parent.
5005            Accommodates right margin. -->
5006        <attr name="layout_alignParentRight" format="boolean" />
5007        <!-- If true, makes the bottom edge of this view match the bottom edge of the parent.
5008            Accommodates bottom margin. -->
5009        <attr name="layout_alignParentBottom" format="boolean" />
5010        <!-- If true, centers this child horizontally and vertically within its parent. -->
5011        <attr name="layout_centerInParent" format="boolean" />
5012        <!-- If true, centers this child horizontally within its parent. -->
5013        <attr name="layout_centerHorizontal" format="boolean" />
5014        <!-- If true, centers this child vertically within its parent. -->
5015        <attr name="layout_centerVertical" format="boolean" />
5016        <!-- If set to true, the parent will be used as the anchor when the anchor cannot be
5017             be found for layout_toLeftOf, layout_toRightOf, etc. -->
5018        <attr name="layout_alignWithParentIfMissing" format="boolean" />
5019        <!-- Positions the end edge of this view to the start of the given anchor view ID.
5020             Accommodates end margin of this view and start margin of anchor view. -->
5021        <attr name="layout_toStartOf" format="reference" />
5022        <!-- Positions the start edge of this view to the end of the given anchor view ID.
5023             Accommodates start margin of this view and end margin of anchor view. -->
5024        <attr name="layout_toEndOf" format="reference" />
5025        <!-- Makes the start edge of this view match the start edge of the given anchor view ID.
5026            Accommodates start margin. -->
5027        <attr name="layout_alignStart" format="reference" />
5028        <!-- Makes the end edge of this view match the end edge of the given anchor view ID.
5029            Accommodates end margin. -->
5030        <attr name="layout_alignEnd" format="reference" />
5031        <!-- If true, makes the start edge of this view match the start edge of the parent.
5032            Accommodates start margin. -->
5033        <attr name="layout_alignParentStart" format="boolean" />
5034        <!-- If true, makes the end edge of this view match the end edge of the parent.
5035            Accommodates end margin. -->
5036        <attr name="layout_alignParentEnd" format="boolean" />
5037    </declare-styleable>
5038    <declare-styleable name="VerticalSlider_Layout">
5039        <attr name="layout_scale" format="float" />
5040    </declare-styleable>
5041
5042    <!-- attributes for internal rotary widget used in lock screen and phone app
5043      @hide -->
5044    <declare-styleable name="RotarySelector">
5045        <!-- Use "horizontal" or "vertical".  The default is horizontal. -->
5046        <attr name="orientation" />
5047    </declare-styleable>
5048
5049    <!-- @hide -->
5050    <declare-styleable name="WeightedLinearLayout">
5051        <attr name="majorWeightMin" format="float" />
5052        <attr name="minorWeightMin" format="float" />
5053        <attr name="majorWeightMax" format="float" />
5054        <attr name="minorWeightMax" format="float" />
5055    </declare-styleable>
5056
5057    <declare-styleable name="CalendarView">
5058        <!-- The first day of week according to {@link java.util.Calendar}. -->
5059        <attr name="firstDayOfWeek" format="integer" />
5060        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
5061        <attr name="minDate" />
5062        <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. -->
5063        <attr name="maxDate" />
5064        <!-- The text appearance for the month and year in the calendar header. -->
5065        <attr name="monthTextAppearance" format="reference" />
5066        <!-- The text appearance for the week day abbreviation in the calendar header. -->
5067        <attr name="weekDayTextAppearance" format="reference" />
5068        <!-- The text appearance for the day numbers in the calendar grid. -->
5069        <attr name="dateTextAppearance" format="reference" />
5070        <!-- @hide The background color used for the day selection indicator. -->
5071        <attr name="daySelectorColor" format="color" />
5072        <!-- @hide The background color used for the day highlight indicator. -->
5073        <attr name="dayHighlightColor" format="color" />
5074        <!-- @hide Which style of calendar delegate to use. -->
5075        <attr name="calendarViewMode">
5076            <enum name="holo" value="0" />
5077            <enum name="material" value="1" />
5078        </attr>
5079
5080        <!-- @deprecated Whether do show week numbers. -->
5081        <attr name="showWeekNumber" format="boolean" />
5082        <!-- @deprecated The number of weeks to be shown. -->
5083        <attr name="shownWeekCount" format="integer"/>
5084        <!-- @deprecated The background color for the selected week. -->
5085        <attr name="selectedWeekBackgroundColor" format="color|reference" />
5086        <!-- @deprecated The color for the dates of the focused month. -->
5087        <attr name="focusedMonthDateColor" format="color|reference" />
5088        <!-- @deprecated The color for the dates of an unfocused month. -->
5089        <attr name="unfocusedMonthDateColor" format="color|reference" />
5090        <!-- @deprecated The color for the week numbers. -->
5091        <attr name="weekNumberColor" format="color|reference" />
5092        <!-- @deprecated The color for the separator line between weeks. -->
5093        <attr name="weekSeparatorLineColor" format="color|reference" />
5094        <!-- @deprecated Drawable for the vertical bar shown at the beginning and at the end of the selected date. -->
5095        <attr name="selectedDateVerticalBar" format="reference" />
5096    </declare-styleable>
5097
5098    <declare-styleable name="NumberPicker">
5099        <!-- @hide Color for the solid color background if such for optimized rendering. -->
5100        <attr name="solidColor" format="color|reference" />
5101        <!-- @hide The divider for making the selection area. -->
5102        <attr name="selectionDivider" format="reference" />
5103        <!-- @hide The height of the selection divider. -->
5104        <attr name="selectionDividerHeight" format="dimension" />
5105        <!-- @hide The distance between the two selection dividers. -->
5106        <attr name="selectionDividersDistance" format="dimension" />
5107        <!-- @hide The min height of the NumberPicker. -->
5108        <attr name="internalMinHeight" format="dimension" />
5109        <!-- @hide The max height of the NumberPicker. -->
5110        <attr name="internalMaxHeight" format="dimension" />
5111        <!-- @hide The min width of the NumberPicker. -->
5112        <attr name="internalMinWidth" format="dimension" />
5113        <!-- @hide The max width of the NumberPicker. -->
5114        <attr name="internalMaxWidth" format="dimension" />
5115        <!-- @hide The layout of the number picker. -->
5116        <attr name="internalLayout" />
5117        <!-- @hide The drawable for pressed virtual (increment/decrement) buttons. -->
5118        <attr name="virtualButtonPressedDrawable" format="reference"/>
5119        <!-- @hide If true then the selector wheel is hidden until the picker has focus. -->
5120        <attr name="hideWheelUntilFocused" format="boolean"/>
5121    </declare-styleable>
5122
5123    <declare-styleable name="TimePicker">
5124        <!-- @hide The layout of the legacy time picker. -->
5125        <attr name="legacyLayout" format="reference" />
5126        <!-- @hide The layout of the time picker. -->
5127        <attr name="internalLayout" />
5128
5129        <!-- The text color for the selected time header text, ex. "12" or
5130             "PM". This should be a color state list where the activated state
5131             will be used when the minute picker or hour picker is active.-->
5132        <attr name="headerTextColor" />
5133        <!-- The background for the header containing the currently selected time. -->
5134        <attr name="headerBackground" />
5135
5136        <!-- The color for the hours/minutes numbers. This should be a color
5137             state list where the activated state will be used when the number
5138             is active.-->
5139        <attr name="numbersTextColor" format="color" />
5140        <!-- The color for the inner hours numbers used in 24-hour mode. This
5141             should be a color state list where the activated state will be
5142             used when the number is active.-->
5143        <attr name="numbersInnerTextColor" format="color" />
5144        <!-- The background color for the hours/minutes numbers. -->
5145        <attr name="numbersBackgroundColor" format="color" />
5146        <!-- The color for the hours/minutes selector. -->
5147        <attr name="numbersSelectorColor" format="color" />
5148
5149        <!-- Defines the look of the widget. Prior to the L release, the only choice was
5150             spinner. As of L, with the Material theme selected, the default layout is clock,
5151             but this attribute can be used to force spinner to be used instead. -->
5152        <attr name="timePickerMode">
5153            <!-- Time picker with spinner controls to select the time. -->
5154            <enum name="spinner" value="1" />
5155            <!-- Time picker with clock face to select the time. -->
5156            <enum name="clock" value="2" />
5157        </attr>
5158
5159        <!-- The text appearance for the AM/PM header.
5160             @deprecated Use headerTextColor instead. -->
5161        <attr name="headerAmPmTextAppearance" format="reference" />
5162        <!-- The text appearance for the time header.
5163             @deprecated Use headerTextColor instead. -->
5164        <attr name="headerTimeTextAppearance" format="reference" />
5165        <!-- The color for the AM/PM selectors.
5166             {@deprecated Use headerTextColor instead.}-->
5167        <attr name="amPmTextColor" format="color" />
5168        <!-- The background color state list for the AM/PM selectors.
5169             {@deprecated Use headerBackground instead.}-->
5170        <attr name="amPmBackgroundColor" format="color" />
5171    </declare-styleable>
5172
5173    <!-- ========================= -->
5174    <!-- Drawable class attributes -->
5175    <!-- ========================= -->
5176    <eat-comment />
5177
5178    <!-- Base attributes that are available to all Drawable objects. -->
5179    <declare-styleable name="Drawable">
5180        <!-- Provides initial visibility state of the drawable; the default
5181             value is false.  See
5182             {@link android.graphics.drawable.Drawable#setVisible}. -->
5183        <attr name="visible" format="boolean" />
5184        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5185             RTL (right-to-left).  See
5186             {@link android.graphics.drawable.Drawable#setAutoMirrored}. -->
5187        <attr name="autoMirrored" format="boolean" />
5188    </declare-styleable>
5189
5190    <!-- Drawable class used to wrap other drawables. -->
5191    <declare-styleable name="DrawableWrapper">
5192        <!-- The wrapped drawable. -->
5193        <attr name="drawable" />
5194    </declare-styleable>
5195
5196    <!-- Drawable used to render several states. Each state is represented by
5197         a child drawable. -->
5198    <declare-styleable name="StateListDrawable">
5199        <!-- Indicates whether the drawable should be initially visible. -->
5200        <attr name="visible" />
5201        <!-- If true, allows the drawable's padding to change based on the
5202             current state that is selected.  If false, the padding will
5203             stay the same (based on the maximum padding of all the states).
5204             Enabling this feature requires that the owner of the drawable
5205             deal with performing layout when the state changes, which is
5206             often not supported. -->
5207        <attr name="variablePadding" format="boolean" />
5208        <!-- If true, the drawable's reported internal size will remain
5209             constant as the state changes; the size is the maximum of all
5210             of the states.  If false, the size will vary based on the
5211             current state. -->
5212        <attr name="constantSize" format="boolean" />
5213        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5214             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5215             an RGB 565 screen). -->
5216        <attr name="dither" format="boolean" />
5217        <!-- Amount of time (in milliseconds) to fade in a new state drawable. -->
5218        <attr name="enterFadeDuration" format="integer" />
5219        <!-- Amount of time (in milliseconds) to fade out an old state drawable. -->
5220        <attr name="exitFadeDuration" format="integer" />
5221        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5222             RTL (right-to-left). -->
5223        <attr name="autoMirrored"/>
5224    </declare-styleable>
5225
5226    <!-- Drawable used to render several states with animated transitions. Each state
5227         is represented by a child drawable with an optional keyframe ID. -->
5228    <declare-styleable name="AnimatedStateListDrawable">
5229        <!-- Indicates whether the drawable should be initially visible. -->
5230        <attr name="visible" />
5231        <!-- If true, allows the drawable's padding to change based on the
5232             current state that is selected.  If false, the padding will
5233             stay the same (based on the maximum padding of all the states).
5234             Enabling this feature requires that the owner of the drawable
5235             deal with performing layout when the state changes, which is
5236             often not supported. -->
5237        <attr name="variablePadding" />
5238        <!-- If true, the drawable's reported internal size will remain
5239             constant as the state changes; the size is the maximum of all
5240             of the states.  If false, the size will vary based on the
5241             current state. -->
5242        <attr name="constantSize" />
5243        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5244             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5245             an RGB 565 screen). -->
5246        <attr name="dither" />
5247        <!-- Amount of time (in milliseconds) to fade in a new state drawable. -->
5248        <attr name="enterFadeDuration" />
5249        <!-- Amount of time (in milliseconds) to fade out an old state drawable. -->
5250        <attr name="exitFadeDuration" />
5251        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5252             RTL (right-to-left). -->
5253        <attr name="autoMirrored"/>
5254    </declare-styleable>
5255
5256    <!-- Represents a single state inside a StateListDrawable. -->
5257    <declare-styleable name="StateListDrawableItem">
5258        <!-- Reference to a drawable resource to use for the state. If not
5259             given, the drawable must be defined by the first child tag. -->
5260        <attr name="drawable" />
5261    </declare-styleable>
5262
5263    <!-- Transition used to animate between states with keyframe IDs. -->
5264    <declare-styleable name="AnimatedStateListDrawableItem">
5265        <!-- Reference to a drawable resource to use for the frame.  If not
5266             given, the drawable must be defined by the first child tag. -->
5267        <attr name="drawable" />
5268        <!-- Keyframe identifier for use in specifying transitions. -->
5269        <attr name="id" />
5270    </declare-styleable>
5271
5272    <!-- Transition used to animate between states with keyframe IDs. -->
5273    <declare-styleable name="AnimatedStateListDrawableTransition">
5274        <!-- Keyframe identifier for the starting state. -->
5275        <attr name="fromId" format="reference" />
5276        <!-- Keyframe identifier for the ending state. -->
5277        <attr name="toId" format="reference" />
5278        <!-- Reference to a animation drawable resource to use for the frame.  If not
5279             given, the animation drawable must be defined by the first child tag. -->
5280        <attr name="drawable" />
5281        <!-- Whether this transition is reversible. -->
5282        <attr name="reversible" format="boolean" />
5283    </declare-styleable>
5284
5285    <!-- Drawable used to render several animated frames. -->
5286    <declare-styleable name="AnimationDrawable">
5287        <attr name="visible" />
5288        <attr name="variablePadding" />
5289        <!-- If true, the animation will only run a single time and then
5290             stop.  If false (the default), it will continually run,
5291             restarting at the first frame after the last has finished. -->
5292        <attr name="oneshot" format="boolean" />
5293    </declare-styleable>
5294
5295    <!-- Represents a single frame inside an AnimationDrawable. -->
5296    <declare-styleable name="AnimationDrawableItem">
5297        <!-- Amount of time (in milliseconds) to display this frame. -->
5298        <attr name="duration" format="integer" />
5299        <!-- Reference to a drawable resource to use for the frame.  If not
5300             given, the drawable must be defined by the first child tag. -->
5301        <attr name="drawable" format="reference" />
5302    </declare-styleable>
5303
5304    <!-- Attributes that can be assigned to a StateListAnimator item. -->
5305    <declare-styleable name="StateListAnimatorItem">
5306        <attr name="animation"/>
5307    </declare-styleable>
5308
5309    <!-- Attributes that can be assigned to a ColorStateList item. -->
5310    <declare-styleable name="ColorStateListItem">
5311        <!-- Base color for this state. -->
5312        <attr name="color" />
5313        <!-- Alpha multiplier applied to the base color. -->
5314        <attr name="alpha" />
5315    </declare-styleable>
5316
5317    <!-- Drawable used to render a geometric shape, with a gradient or a solid color. -->
5318    <declare-styleable name="GradientDrawable">
5319        <!-- Indicates whether the drawable should intially be visible. -->
5320        <attr name="visible" />
5321        <!-- Enables or disables dithering. -->
5322        <attr name="dither" />
5323        <!-- Indicates what shape to fill with a gradient. -->
5324        <attr name="shape">
5325            <!-- Rectangle shape, with optional rounder corners. -->
5326            <enum name="rectangle" value="0" />
5327            <!-- Oval shape. -->
5328            <enum name="oval" value="1" />
5329            <!-- Line shape. -->
5330            <enum name="line" value="2" />
5331            <!-- Ring shape. -->
5332            <enum name="ring" value="3" />
5333        </attr>
5334        <!-- Inner radius of the ring expressed as a ratio of the ring's width. For instance,
5335             if innerRadiusRatio=9, then the inner radius equals the ring's width divided by 9.
5336             This value is ignored if innerRadius is defined. Default value is 9. -->
5337        <attr name="innerRadiusRatio" format="float" />
5338        <!-- Thickness of the ring expressed as a ratio of the ring's width. For instance,
5339             if thicknessRatio=3, then the thickness equals the ring's width divided by 3.
5340             This value is ignored if innerRadius is defined. Default value is 3. -->
5341        <attr name="thicknessRatio" format="float" />
5342        <!-- Inner radius of the ring. When defined, innerRadiusRatio is ignored. -->
5343        <attr name="innerRadius" format="dimension" />
5344        <!-- Thickness of the ring. When defined, thicknessRatio is ignored. -->
5345        <attr name="thickness" format="dimension" />
5346        <!-- Indicates whether the drawable's level affects the way the gradient is drawn. -->
5347        <attr name="useLevel" />
5348        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5349             no tint is applied. May be a color state list. -->
5350        <attr name="tint" />
5351        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5352             default value is src_in, which treats the drawable as an alpha mask. -->
5353        <attr name="tintMode" />
5354        <!-- Left optical inset.
5355             @hide Until optical insets are fully supported. -->
5356        <attr name="opticalInsetLeft" />
5357        <!-- Top optical inset.
5358             @hide Until optical insets are fully supported. -->
5359        <attr name="opticalInsetTop" />
5360        <!-- Right optical inset.
5361             @hide Until optical insets are fully supported. -->
5362        <attr name="opticalInsetRight" />
5363        <!-- Bottom optical inset.
5364             @hide Until optical insets are fully supported. -->
5365        <attr name="opticalInsetBottom" />
5366    </declare-styleable>
5367
5368    <!-- Used to specify the size of the shape for GradientDrawable. -->
5369    <declare-styleable name="GradientDrawableSize">
5370        <!-- Width of the gradient shape. -->
5371        <attr name="width" />
5372        <!-- Height of the gradient shape. -->
5373        <attr name="height" />
5374    </declare-styleable>
5375
5376    <!-- Used to describe the gradient used to fill the shape of a GradientDrawable. -->
5377    <declare-styleable name="GradientDrawableGradient">
5378        <!-- Start color of the gradient. -->
5379        <attr name="startColor" format="color" />
5380        <!-- Optional center color. For linear gradients, use centerX or centerY
5381             to place the center color. -->
5382        <attr name="centerColor" format="color" />
5383        <!-- End color of the gradient. -->
5384        <attr name="endColor" format="color" />
5385        <attr name="useLevel" format="boolean" />
5386        <!-- Angle of the gradient. -->
5387        <attr name="angle" format="float" />
5388        <!-- Type of gradient. The default type is linear. -->
5389        <attr name="type">
5390            <!-- Linear gradient. -->
5391            <enum name="linear" value="0" />
5392            <!-- Radial, or circular, gradient. -->
5393            <enum name="radial" value="1" />
5394            <!-- Sweep, or angled or diamond, gradient. -->
5395            <enum name="sweep"  value="2" />
5396        </attr>
5397        <!-- X coordinate of the origin of the gradient within the shape. -->
5398        <attr name="centerX" format="float|fraction" />
5399        <!-- Y coordinate of the origin of the gradient within the shape. -->
5400        <attr name="centerY" format="float|fraction" />
5401        <!-- Radius of the gradient, used only with radial gradient. -->
5402        <attr name="gradientRadius" format="float|fraction|dimension" />
5403    </declare-styleable>
5404
5405    <!-- Used to fill the shape of GradientDrawable with a solid color. -->
5406    <declare-styleable name="GradientDrawableSolid">
5407        <!-- Solid color for the gradient shape. -->
5408        <attr name="color" format="color" />
5409    </declare-styleable>
5410
5411    <!-- Used to describe the optional stroke of a GradientDrawable. -->
5412    <declare-styleable name="GradientDrawableStroke">
5413        <!-- Width of the gradient shape's stroke. -->
5414        <attr name="width" />
5415        <!-- Color of the gradient shape's stroke. -->
5416        <attr name="color" />
5417        <!-- Length of a dash in the stroke. -->
5418        <attr name="dashWidth" format="dimension" />
5419        <!-- Gap between dashes in the stroke. -->
5420        <attr name="dashGap" format="dimension" />
5421    </declare-styleable>
5422
5423    <!-- Describes the corners for the rectangle shape of a GradientDrawable.
5424         This can be used to render rounded corners. -->
5425    <declare-styleable name="DrawableCorners">
5426        <!-- Defines the radius of the four corners. -->
5427        <attr name="radius" format="dimension" />
5428        <!-- Radius of the top left corner. -->
5429        <attr name="topLeftRadius" format="dimension" />
5430        <!-- Radius of the top right corner. -->
5431        <attr name="topRightRadius" format="dimension" />
5432        <!-- Radius of the bottom left corner. -->
5433        <attr name="bottomLeftRadius" format="dimension" />
5434        <!-- Radius of the bottom right corner. -->
5435        <attr name="bottomRightRadius" format="dimension" />
5436    </declare-styleable>
5437
5438    <!-- Used to specify the optional padding of a GradientDrawable. -->
5439    <declare-styleable name="GradientDrawablePadding">
5440        <!-- Amount of left padding inside the gradient shape. -->
5441        <attr name="left" format="dimension" />
5442        <!-- Amount of top padding inside the gradient shape. -->
5443        <attr name="top" format="dimension" />
5444        <!-- Amount of right padding inside the gradient shape. -->
5445        <attr name="right" format="dimension" />
5446        <!-- Amount of bottom padding inside the gradient shape. -->
5447        <attr name="bottom" format="dimension" />
5448    </declare-styleable>
5449
5450    <!-- Drawable used to render several drawables stacked on top of each other.
5451         Each child drawable can be controlled individually. -->
5452    <declare-styleable name="LayerDrawable">
5453        <!-- Indicates the opacity of the layer. This can be useful to allow the
5454              system to enable drawing optimizations. The default value is
5455              translucent. -->
5456        <attr name="opacity">
5457            <!-- Indicates that the layer is opaque and contains no transparent
5458                 nor translucent pixels. -->
5459            <enum name="opaque" value="-1" />
5460            <!-- The layer is completely transparent (no pixel will be drawn.) -->
5461            <enum name="transparent" value="-2" />
5462            <!-- The layer has translucent pixels. -->
5463            <enum name="translucent" value="-3" />
5464        </attr>
5465        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5466             RTL (right-to-left). -->
5467        <attr name="autoMirrored" />
5468        <!-- Indicates how layer padding should affect the bounds of subsequent layers.
5469             The default padding mode value is nest. -->
5470        <attr name="paddingMode">
5471            <!-- Nest each layer inside the padding of the previous layer. -->
5472            <enum name="nest" value="0" />
5473            <!-- Stack each layer directly atop the previous layer. -->
5474            <enum name="stack" value="1" />
5475        </attr>
5476        <!-- Explicit top padding. Overrides child padding. -->
5477        <attr name="paddingTop" />
5478        <!-- Explicit bottom padding. Overrides child padding. -->
5479        <attr name="paddingBottom" />
5480        <!-- Explicit left padding. Overrides child padding. -->
5481        <attr name="paddingLeft" />
5482        <!-- Explicit right padding. Overrides child padding. -->
5483        <attr name="paddingRight" />
5484        <!-- Explicit start padding. Overrides child padding. Takes precedence
5485             over absolute padding (e.g. left when layout direction is LTR). -->
5486        <attr name="paddingStart" />
5487        <!-- Explicit end padding. Overrides child padding. Takes precedence
5488             over absolute padding (e.g. right when layout direction is LTR). -->
5489        <attr name="paddingEnd" />
5490    </declare-styleable>
5491
5492    <!-- Describes an item (or child) of a LayerDrawable. -->
5493    <declare-styleable name="LayerDrawableItem">
5494        <!-- Left inset to apply to the layer. -->
5495        <attr name="left" />
5496        <!-- Top inset to apply to the layer. -->
5497        <attr name="top" />
5498        <!-- Right inset to apply to the layer. -->
5499        <attr name="right" />
5500        <!-- Bottom inset to apply to the layer. -->
5501        <attr name="bottom" />
5502        <!-- Start inset to apply to the layer. Overrides {@code left} or
5503             {@code right} depending on layout direction. -->
5504        <attr name="start" format="dimension" />
5505        <!-- End inset to apply to the layer. Overrides {@code left} or
5506             {@code right} depending on layout direction. -->
5507        <attr name="end" format="dimension" />
5508        <!-- Width of the layer. Defaults to the layer's intrinsic width. -->
5509        <attr name="width" />
5510        <!-- Height of the layer. Defaults to the layer's intrinsic height -->
5511        <attr name="height" />
5512        <!-- Gravity used to align the layer within its container. If no value
5513             is specified, the default behavior depends on whether an explicit
5514             width or height has been set, If no dimension is set, gravity in
5515             that direction defaults to {@code fill_horizontal} or
5516             {@code fill_vertical}; otherwise, it defaults to {@code left} or
5517             {@code top}. -->
5518        <attr name="gravity" />
5519        <!-- Drawable used to render the layer. -->
5520        <attr name="drawable" />
5521        <!-- Identifier of the layer. This can be used to retrieve the layer
5522             from a drawable container. -->
5523        <attr name="id" />
5524    </declare-styleable>
5525
5526    <declare-styleable name="LevelListDrawableItem">
5527        <!-- The minimum level allowed for this item. -->
5528        <attr name="minLevel" format="integer" />
5529        <!-- The maximum level allowed for this item. -->
5530        <attr name="maxLevel" format="integer" />
5531        <attr name="drawable" />
5532    </declare-styleable>
5533
5534    <!-- Drawable used to rotate another drawable. -->
5535    <declare-styleable name="RotateDrawable">
5536        <attr name="visible" />
5537        <attr name="fromDegrees" format="float" />
5538        <attr name="toDegrees" format="float" />
5539        <attr name="pivotX" format="float|fraction" />
5540        <attr name="pivotY" format="float|fraction" />
5541        <attr name="drawable" />
5542    </declare-styleable>
5543
5544    <declare-styleable name="AnimatedRotateDrawable">
5545        <attr name="visible" />
5546        <attr name="frameDuration" format="integer" />
5547        <attr name="framesCount" format="integer" />
5548        <attr name="pivotX" />
5549        <attr name="pivotY" />
5550        <attr name="drawable" />
5551    </declare-styleable>
5552
5553    <!-- Drawable used to render the Material progress indicator. -->
5554    <declare-styleable name="MaterialProgressDrawable">
5555        <attr name="visible" />
5556        <attr name="thickness" />
5557        <attr name="innerRadius" />
5558        <attr name="width" />
5559        <attr name="height" />
5560        <attr name="color" />
5561    </declare-styleable>
5562
5563    <!-- Drawable used to wrap and inset another drawable. -->
5564    <declare-styleable name="InsetDrawable">
5565        <attr name="visible" />
5566        <attr name="drawable" />
5567        <attr name="inset"  format="dimension"/>
5568        <attr name="insetLeft" format="dimension" />
5569        <attr name="insetRight" format="dimension" />
5570        <attr name="insetTop" format="dimension" />
5571        <attr name="insetBottom" format="dimension" />
5572    </declare-styleable>
5573
5574    <!-- Drawable used to draw bitmaps. -->
5575    <declare-styleable name="BitmapDrawable">
5576        <!-- Identifier of the bitmap file. This attribute is mandatory. -->
5577        <attr name="src" />
5578        <!-- Enables or disables antialiasing. Antialiasing can be used to smooth the
5579             edges of a bitmap when rotated. Default value is false. -->
5580        <attr name="antialias" format="boolean" />
5581        <!-- Enables or disables bitmap filtering. Filtering is used when the bitmap is
5582             shrunk or stretched to smooth its apperance. Default value is true. -->
5583        <attr name="filter" format="boolean" />
5584        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5585             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5586             an RGB 565 screen). Default value is true. -->
5587        <attr name="dither" />
5588        <!-- Defines the gravity for the bitmap. The gravity indicates where to position
5589             the drawable in its container if the bitmap is smaller than the container. -->
5590        <attr name="gravity" />
5591        <!-- Defines the tile mode. When the tile mode is enabled, the bitmap is repeated.
5592             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5593        <attr name="tileMode">
5594            <!-- Do not tile the bitmap. This is the default value. -->
5595            <enum name="disabled" value="-1" />
5596            <!-- Replicates the edge color. -->
5597            <enum name="clamp" value="0" />
5598            <!-- Repeats the bitmap in both direction. -->
5599            <enum name="repeat" value="1" />
5600            <!-- Repeats the shader's image horizontally and vertically, alternating
5601                 mirror images so that adjacent images always seam. -->
5602            <enum name="mirror" value="2" />
5603        </attr>
5604        <!-- Defines the horizontal tile mode. When the tile mode is enabled, the bitmap is repeated.
5605             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5606        <attr name="tileModeX">
5607            <!-- Do not tile the bitmap. This is the default value. -->
5608            <enum name="disabled" value="-1" />
5609            <!-- Replicates the edge color. -->
5610            <enum name="clamp" value="0" />
5611            <!-- Repeats the bitmap horizontally. -->
5612            <enum name="repeat" value="1" />
5613            <!-- Repeats the shader's image horizontally, alternating
5614                 mirror images so that adjacent images always seam. -->
5615            <enum name="mirror" value="2" />
5616        </attr>
5617        <!-- Defines the vertical tile mode. When the tile mode is enabled, the bitmap is repeated.
5618             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5619        <attr name="tileModeY">
5620            <!-- Do not tile the bitmap. This is the default value. -->
5621            <enum name="disabled" value="-1" />
5622            <!-- Replicates the edge color. -->
5623            <enum name="clamp" value="0" />
5624            <!-- Repeats the bitmap vertically. -->
5625            <enum name="repeat" value="1" />
5626            <!-- Repeats the shader's image vertically, alternating
5627                 mirror images so that adjacent images always seam. -->
5628            <enum name="mirror" value="2" />
5629        </attr>
5630        <!-- Enables or disables the mipmap hint. See
5631            {@link android.graphics.Bitmap#setHasMipMap(boolean)} for more information.
5632            Default value is false. -->
5633        <attr name="mipMap" format="boolean" />
5634        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5635             RTL (right-to-left). -->
5636        <attr name="autoMirrored" />
5637        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5638             no tint is applied. May be a color state list. -->
5639        <attr name="tint" />
5640        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5641             default value is src_in, which treats the drawable as an alpha mask. -->
5642        <attr name="tintMode">
5643            <!-- The tint is drawn on top of the drawable.
5644                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
5645            <enum name="src_over" value="3" />
5646            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
5647                 color channels are thrown out. [Sa * Da, Sc * Da] -->
5648            <enum name="src_in" value="5" />
5649            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
5650                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
5651            <enum name="src_atop" value="9" />
5652            <!-- Multiplies the color and alpha channels of the drawable with those of
5653                 the tint. [Sa * Da, Sc * Dc] -->
5654            <enum name="multiply" value="14" />
5655            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
5656            <enum name="screen" value="15" />
5657            <!-- Combines the tint and drawable color and alpha channels, clamping the
5658                 result to valid color values. Saturate(S + D) -->
5659            <enum name="add" value="16" />
5660        </attr>
5661        <!-- Specifies the alpha multiplier to apply to the base drawable. -->
5662        <attr name="alpha" />
5663    </declare-styleable>
5664
5665    <!-- Drawable used to draw 9-patches. -->
5666    <declare-styleable name="NinePatchDrawable">
5667        <!-- Identifier of the bitmap file. This attribute is mandatory. -->
5668        <attr name="src" />
5669        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5670             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5671             an RGB 565 screen). -->
5672        <attr name="dither" />
5673        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5674             RTL (right-to-left). -->
5675        <attr name="autoMirrored" />
5676        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5677             no tint is applied. May be a color state list. -->
5678        <attr name="tint" />
5679        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5680             default value is src_in, which treats the drawable as an alpha mask. -->
5681        <attr name="tintMode" />
5682        <!-- Specifies the alpha multiplier to apply to the base drawable. -->
5683        <attr name="alpha" />
5684    </declare-styleable>
5685
5686    <!-- Drawable used to draw a single color. -->
5687    <declare-styleable name="ColorDrawable">
5688        <!-- The color to use. -->
5689        <attr name="color" />
5690    </declare-styleable>
5691
5692    <!-- Drawable used to show animated touch feedback. -->
5693    <declare-styleable name="RippleDrawable">
5694        <!-- The color to use for ripple effects. This attribute is required. -->
5695        <attr name="color" />
5696        <!-- The radius of the ripple when fully expanded. By default, the
5697             radius is computed based on the size of the ripple's container. -->
5698        <attr name="radius" />
5699    </declare-styleable>
5700
5701    <declare-styleable name="ScaleDrawable">
5702        <!-- Scale width, expressed as a percentage of the drawable's bound. The value's
5703             format is XX%. For instance: 100%, 12.5%, etc.-->
5704        <attr name="scaleWidth" format="string" />
5705        <!-- Scale height, expressed as a percentage of the drawable's bound. The value's
5706             format is XX%. For instance: 100%, 12.5%, etc.-->
5707        <attr name="scaleHeight" format="string" />
5708        <!-- Specifies where the drawable is positioned after scaling. The default value is
5709             left. -->
5710        <attr name="scaleGravity">
5711            <!-- Push object to the top of its container, not changing its size. -->
5712            <flag name="top" value="0x30" />
5713            <!-- Push object to the bottom of its container, not changing its size. -->
5714            <flag name="bottom" value="0x50" />
5715            <!-- Push object to the left of its container, not changing its size. -->
5716            <flag name="left" value="0x03" />
5717            <!-- Push object to the right of its container, not changing its size. -->
5718            <flag name="right" value="0x05" />
5719            <!-- Place object in the vertical center of its container, not changing its size. -->
5720            <flag name="center_vertical" value="0x10" />
5721            <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
5722            <flag name="fill_vertical" value="0x70" />
5723            <!-- Place object in the horizontal center of its container, not changing its size. -->
5724            <flag name="center_horizontal" value="0x01" />
5725            <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
5726            <flag name="fill_horizontal" value="0x07" />
5727            <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
5728            <flag name="center" value="0x11" />
5729            <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
5730            <flag name="fill" value="0x77" />
5731            <!-- Additional option that can be set to have the top and/or bottom edges of
5732                 the child clipped to its container's bounds.
5733                 The clip will be based on the vertical gravity: a top gravity will clip the bottom
5734                 edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
5735            <flag name="clip_vertical" value="0x80" />
5736            <!-- Additional option that can be set to have the left and/or right edges of
5737                 the child clipped to its container's bounds.
5738                 The clip will be based on the horizontal gravity: a left gravity will clip the right
5739                 edge, a right gravity will clip the left edge, and neither will clip both edges. -->
5740            <flag name="clip_horizontal" value="0x08" />
5741            <!-- Push object to the beginning of its container, not changing its size. -->
5742            <flag name="start" value="0x00800003" />
5743            <!-- Push object to the end of its container, not changing its size. -->
5744            <flag name="end" value="0x00800005" />
5745        </attr>
5746        <!-- Specifies the initial drawable level in the range 0 to 10000. -->
5747        <attr name="level" format="integer" />
5748        <!-- Reference to a drawable resource to draw with the specified scale. -->
5749        <attr name="drawable" />
5750        <!-- Use the drawable's intrinsic width and height as minimum size values.
5751             Useful if the target drawable is a 9-patch or otherwise should not be scaled
5752             down beyond a minimum size. -->
5753        <attr name="useIntrinsicSizeAsMinimum" format="boolean" />
5754    </declare-styleable>
5755
5756    <declare-styleable name="ClipDrawable">
5757        <!-- The orientation for the clip. -->
5758        <attr name="clipOrientation">
5759            <!-- Clip the drawable horizontally. -->
5760            <flag name="horizontal" value="1" />
5761            <!-- Clip the drawable vertically. -->
5762            <flag name="vertical" value="2" />
5763        </attr>
5764        <!-- Specifies where to clip within the drawable. The default value is
5765             left. -->
5766        <attr name="gravity" />
5767        <!-- Reference to a drawable resource to draw with the specified scale. -->
5768        <attr name="drawable" />
5769    </declare-styleable>
5770
5771    <!-- Defines the padding of a ShapeDrawable. -->
5772    <declare-styleable name="ShapeDrawablePadding">
5773        <!-- Left padding. -->
5774        <attr name="left" />
5775        <!-- Top padding. -->
5776        <attr name="top" />
5777        <!-- Right padding. -->
5778        <attr name="right" />
5779        <!-- Bottom padding. -->
5780        <attr name="bottom" />
5781    </declare-styleable>
5782
5783    <!-- Drawable used to draw shapes. -->
5784    <declare-styleable name="ShapeDrawable">
5785        <!-- Defines the color of the shape. -->
5786        <attr name="color" />
5787        <!-- Defines the width of the shape. -->
5788        <attr name="width" />
5789        <!-- Defines the height of the shape. -->
5790        <attr name="height" />
5791        <!-- Enables or disables dithering. -->
5792        <attr name="dither" />
5793        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5794             no tint is applied. May be a color state list. -->
5795        <attr name="tint" />
5796        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5797             default value is src_in, which treats the drawable as an alpha mask. -->
5798        <attr name="tintMode" />
5799    </declare-styleable>
5800
5801    <!-- ========================== -->
5802    <!--   VectorDrawable class   -->
5803    <!-- ========================== -->
5804    <eat-comment />
5805
5806    <!-- Drawable used to draw vector paths. -->
5807    <declare-styleable name="VectorDrawable">
5808        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5809             no tint is applied. May be a color state list. -->
5810        <attr name="tint" />
5811        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5812             default value is src_in, which treats the drawable as an alpha mask. -->
5813        <attr name="tintMode" />
5814        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5815             RTL (right-to-left). -->
5816        <attr name="autoMirrored" />
5817        <!-- The intrinsic width of the Vector Drawable. -->
5818        <attr name="width" />
5819        <!-- The intrinsic height of the Vector Drawable. -->
5820        <attr name="height" />
5821        <!-- The width of the canvas the drawing is on. -->
5822        <attr name="viewportWidth" format="float"/>
5823        <!-- The height of the canvas the drawing is on. -->
5824        <attr name="viewportHeight" format="float"/>
5825        <!-- The name of this vector drawable -->
5826        <attr name="name" />
5827        <!-- The opacity of the whole vector drawable, as a value between 0
5828             (completely transparent) and 1 (completely opaque). -->
5829        <attr name="alpha" />
5830        <!-- Left optical inset.
5831             @hide Until optical insets are fully supported. -->
5832        <attr name="opticalInsetLeft" format="dimension" />
5833        <!-- Top optical inset.
5834             @hide Until optical insets are fully supported. -->
5835        <attr name="opticalInsetTop" format="dimension" />
5836        <!-- Right optical inset.
5837             @hide Until optical insets are fully supported. -->
5838        <attr name="opticalInsetRight" format="dimension" />
5839        <!-- Bottom optical inset.
5840             @hide Until optical insets are fully supported. -->
5841        <attr name="opticalInsetBottom" format="dimension" />
5842    </declare-styleable>
5843
5844    <!-- Defines the group used in VectorDrawables. -->
5845    <declare-styleable name="VectorDrawableGroup">
5846        <!-- The name of this group -->
5847        <attr name="name" />
5848        <!-- The amount to rotate the group -->
5849        <attr name="rotation" />
5850        <!-- The X coordinate of the center of rotation of a group -->
5851        <attr name="pivotX" />
5852        <!-- The Y coordinate of the center of rotation of a group -->
5853        <attr name="pivotY" />
5854        <!-- The amount to translate the group on X coordinate -->
5855        <attr name="translateX" format="float"/>
5856        <!-- The amount to translate the group on Y coordinate -->
5857        <attr name="translateY" format="float"/>
5858        <!-- The amount to scale the group on X coordinate -->
5859        <attr name="scaleX" />
5860        <!-- The amount to scale the group on X coordinate -->
5861        <attr name="scaleY" />
5862    </declare-styleable>
5863
5864    <!-- Defines the path used in VectorDrawables. -->
5865    <declare-styleable name="VectorDrawablePath">
5866        <!-- The name of this path -->
5867        <attr name="name" />
5868        <!-- The width a path stroke -->
5869        <attr name="strokeWidth" format="float" />
5870        <!-- The color to stroke the path if not defined implies no stroke-->
5871        <attr name="strokeColor" format="color" />
5872        <!-- The opacity of a path stroke, as a value between 0 (completely transparent)
5873             and 1 (completely opaque) -->
5874        <attr name="strokeAlpha" format="float" />
5875        <!-- The color to fill the path if not defined implies no fill-->
5876        <attr name="fillColor" format="color" />
5877        <!-- The alpha of the path fill, as a value between 0 (completely transparent)
5878             and 1 (completely opaque)-->
5879        <attr name="fillAlpha" format="float" />
5880        <!-- The specification of the operations that define the path  -->
5881        <attr name="pathData" format="string" />
5882        <!-- The fraction of the path to trim from the start from 0 to 1 -->
5883        <attr name="trimPathStart" format="float" />
5884        <!-- The fraction of the path to trim from the end from 0 to 1  -->
5885        <attr name="trimPathEnd" format="float" />
5886        <!-- Shift trim region (allows visible region to include the start and end) from 0 to 1  -->
5887        <attr name="trimPathOffset" format="float" />
5888        <!-- sets the linecap for a stroked path -->
5889        <attr name="strokeLineCap" format="enum">
5890            <enum name="butt" value="0"/>
5891            <enum name="round" value="1"/>
5892            <enum name="square" value="2"/>
5893        </attr>
5894        <!-- sets the lineJoin for a stroked path -->
5895        <attr name="strokeLineJoin" format="enum">
5896            <enum name="miter" value="0"/>
5897            <enum name="round" value="1"/>
5898            <enum name="bevel" value="2"/>
5899        </attr>
5900        <!-- sets the Miter limit for a stroked path -->
5901        <attr name="strokeMiterLimit" format="float"/>
5902        <!-- sets the fillType for a path. It is the same as SVG's "fill-rule" properties.
5903             For more details, see https://www.w3.org/TR/SVG/painting.html#FillRuleProperty -->
5904        <attr name="fillType" format="enum">
5905            <enum name="nonZero" value="0"/>
5906            <enum name="evenOdd" value="1"/>
5907        </attr>
5908    </declare-styleable>
5909
5910    <!-- Defines the clip path used in VectorDrawables. -->
5911    <declare-styleable name="VectorDrawableClipPath">
5912        <!-- The Name of this path -->
5913        <attr name="name" />
5914        <!-- The specification of the operations that define the path  -->
5915        <attr name="pathData"/>
5916    </declare-styleable>
5917
5918    <!-- ========================== -->
5919    <!--   AnimatedVectorDrawable class   -->
5920    <!-- ========================== -->
5921    <eat-comment />
5922
5923    <!-- Define the AnimatedVectorDrawable. -->
5924    <declare-styleable name="AnimatedVectorDrawable">
5925        <!-- The static vector drawable. -->
5926        <attr name="drawable" />
5927    </declare-styleable>
5928
5929    <!-- Defines the target used in the AnimatedVectorDrawable. -->
5930    <declare-styleable name="AnimatedVectorDrawableTarget">
5931        <!-- The name of the target path, group or vector drawable -->
5932        <attr name="name" />
5933        <!-- The animation for the target path, group or vector drawable -->
5934        <attr name="animation" />
5935    </declare-styleable>
5936
5937    <!-- ========================== -->
5938    <!-- Animation class attributes -->
5939    <!-- ========================== -->
5940    <eat-comment />
5941
5942    <declare-styleable name="Animation">
5943        <!-- Defines the interpolator used to smooth the animation movement in time. -->
5944        <attr name="interpolator" />
5945        <!-- When set to true, the value of fillBefore is taken into account. -->
5946        <attr name="fillEnabled" format="boolean" />
5947        <!-- When set to true or when fillEnabled is not set to true, the animation transformation
5948             is applied before the animation has started. The default value is true. -->
5949        <attr name="fillBefore" format="boolean" />
5950        <!-- When set to true, the animation transformation is applied after the animation is
5951             over. The default value is false. If fillEnabled is not set to true and the
5952             animation is not set on a View, fillAfter is assumed to be true.-->
5953        <attr name="fillAfter" format="boolean" />
5954        <!-- Amount of time (in milliseconds) for the animation to run. -->
5955        <attr name="duration" />
5956        <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
5957        <attr name="startOffset" format="integer" />
5958        <!-- Defines how many times the animation should repeat. The default value is 0. -->
5959        <attr name="repeatCount" format="integer">
5960            <enum name="infinite" value="-1" />
5961        </attr>
5962        <!-- Defines the animation behavior when it reaches the end and the repeat count is
5963             greater than 0 or infinite. The default value is restart. -->
5964        <attr name="repeatMode">
5965            <!-- The animation starts again from the beginning. -->
5966            <enum name="restart" value="1" />
5967            <!-- The animation plays backward. -->
5968            <enum name="reverse" value="2" />
5969        </attr>
5970        <!-- Allows for an adjustment of the Z ordering of the content being
5971             animated for the duration of the animation.  The default value is normal. -->
5972        <attr name="zAdjustment">
5973            <!-- The content being animated be kept in its current Z order. -->
5974            <enum name="normal" value="0" />
5975            <!-- The content being animated is forced on top of all other
5976                 content for the duration of the animation. -->
5977            <enum name="top" value="1" />
5978            <!-- The content being animated is forced under all other
5979                 content for the duration of the animation. -->
5980            <enum name="bottom" value="-1" />
5981        </attr>
5982        <!-- Special background behind animation.  Only for use with window
5983             animations.  Can only be a color, and only black.  If 0, the
5984             default, there is no background. -->
5985        <attr name="background" />
5986        <!-- Special option for window animations: if this window is on top
5987             of a wallpaper, don't animate the wallpaper with it. -->
5988        <attr name="detachWallpaper" format="boolean" />
5989    </declare-styleable>
5990
5991    <declare-styleable name="AnimationSet">
5992        <attr name="shareInterpolator" format="boolean" />
5993        <attr name="fillBefore" />
5994        <attr name="fillAfter" />
5995        <attr name="duration" />
5996        <attr name="startOffset" />
5997        <attr name="repeatMode" />
5998    </declare-styleable>
5999
6000    <declare-styleable name="RotateAnimation">
6001        <attr name="fromDegrees" />
6002        <attr name="toDegrees" />
6003        <attr name="pivotX" />
6004        <attr name="pivotY" />
6005    </declare-styleable>
6006
6007    <declare-styleable name="ScaleAnimation">
6008        <attr name="fromXScale" format="float|fraction|dimension" />
6009        <attr name="toXScale" format="float|fraction|dimension" />
6010        <attr name="fromYScale" format="float|fraction|dimension" />
6011        <attr name="toYScale" format="float|fraction|dimension" />
6012        <attr name="pivotX" />
6013        <attr name="pivotY" />
6014    </declare-styleable>
6015
6016    <declare-styleable name="TranslateAnimation">
6017        <attr name="fromXDelta" format="float|fraction" />
6018        <attr name="toXDelta" format="float|fraction" />
6019        <attr name="fromYDelta" format="float|fraction" />
6020        <attr name="toYDelta" format="float|fraction" />
6021    </declare-styleable>
6022
6023    <declare-styleable name="AlphaAnimation">
6024        <attr name="fromAlpha" format="float" />
6025        <attr name="toAlpha" format="float" />
6026    </declare-styleable>
6027
6028    <declare-styleable name="LayoutAnimation">
6029        <!-- Fraction of the animation duration used to delay the beginning of
6030         the animation of each child. -->
6031        <attr name="delay" format="float|fraction" />
6032        <!-- Animation to use on each child. -->
6033        <attr name="animation" format="reference" />
6034        <!-- The order in which the animations will be started. -->
6035        <attr name="animationOrder">
6036            <!-- Animations are started in the natural order. -->
6037            <enum name="normal" value="0" />
6038            <!-- Animations are started in the reverse order. -->
6039            <enum name="reverse" value="1" />
6040            <!-- Animations are started randomly. -->
6041            <enum name="random" value="2" />
6042        </attr>
6043        <!-- Interpolator used to interpolate the delay between the start of
6044         each animation. -->
6045        <attr name="interpolator" />
6046    </declare-styleable>
6047
6048    <declare-styleable name="GridLayoutAnimation">
6049        <!-- Fraction of the animation duration used to delay the beginning of
6050         the animation of each column. -->
6051        <attr name="columnDelay" format="float|fraction" />
6052        <!-- Fraction of the animation duration used to delay the beginning of
6053         the animation of each row. -->
6054        <attr name="rowDelay" format="float|fraction" />
6055        <!-- Direction of the animation in the grid. -->
6056        <attr name="direction">
6057            <!-- Animates columns from left to right. -->
6058            <flag name="left_to_right" value="0x0" />
6059            <!-- Animates columns from right to left. -->
6060            <flag name="right_to_left" value="0x1" />
6061            <!-- Animates rows from top to bottom. -->
6062            <flag name="top_to_bottom" value="0x0" />
6063            <!-- Animates rows from bottom to top. -->
6064            <flag name="bottom_to_top" value="0x2" />
6065        </attr>
6066        <!-- Priority of the rows and columns. When the priority is none,
6067         both rows and columns have the same priority. When the priority is
6068         column, the animations will be applied on the columns first. The same
6069         goes for rows. -->
6070        <attr name="directionPriority">
6071            <!-- Rows and columns are animated at the same time. -->
6072            <enum name="none"   value="0" />
6073            <!-- Columns are animated first. -->
6074            <enum name="column" value="1" />
6075            <!-- Rows are animated first. -->
6076            <enum name="row"    value="2" />
6077        </attr>
6078    </declare-styleable>
6079
6080    <declare-styleable name="AccelerateInterpolator">
6081        <!-- This is the amount of deceleration to add when easing in. -->
6082        <attr name="factor" format="float" />
6083    </declare-styleable>
6084
6085    <declare-styleable name="DecelerateInterpolator">
6086        <!-- This is the amount of acceleration to add when easing out. -->
6087        <attr name="factor" />
6088    </declare-styleable>
6089
6090    <declare-styleable name="CycleInterpolator">
6091        <attr name="cycles" format="float" />
6092    </declare-styleable>
6093
6094    <declare-styleable name="AnticipateInterpolator">
6095        <!-- This is the amount of tension. -->
6096        <attr name="tension" format="float" />
6097    </declare-styleable>
6098
6099    <declare-styleable name="OvershootInterpolator">
6100        <!-- This is the amount of tension. -->
6101        <attr name="tension" />
6102    </declare-styleable>
6103
6104    <declare-styleable name="AnticipateOvershootInterpolator">
6105        <!-- This is the amount of tension. -->
6106        <attr name="tension" />
6107        <!-- This is the amount by which to multiply the tension. -->
6108        <attr name="extraTension" format="float" />
6109    </declare-styleable>
6110
6111    <declare-styleable name="PathInterpolator">
6112        <!-- The x coordinate of the first control point of the cubic Bezier -->
6113        <attr name="controlX1" format="float" />
6114        <!-- The y coordinate of the first control point of the cubic Bezier -->
6115        <attr name="controlY1" format="float" />
6116        <!-- The x coordinate of the second control point of the cubic Bezier -->
6117        <attr name="controlX2" format="float" />
6118        <!-- The y coordinate of the second control point of the cubic Bezier -->
6119        <attr name="controlY2" format="float" />
6120        <!-- The control points defined as a path.
6121             When pathData is defined, then both of the control points of the
6122             cubic Bezier will be ignored. -->
6123        <attr name="pathData"/>
6124    </declare-styleable>
6125
6126    <!-- ========================== -->
6127    <!-- Transition attributes -->
6128    <!-- ========================== -->
6129    <eat-comment />
6130
6131    <!-- Use specific transition subclass names as the root tag of the XML resource that
6132         describes a {@link android.transition.Transition Transition},
6133         such as <code>changeBounds</code>, <code>fade</code>, and <code>transitionSet</code>. -->
6134    <declare-styleable name="Transition">
6135        <!-- Amount of time (in milliseconds) that the transition should run. -->
6136        <attr name="duration" />
6137        <!-- Delay in milliseconds before the transition starts. -->
6138        <attr name="startDelay" format="integer" />
6139        <!-- Interpolator to be used in the animations spawned by this transition. -->
6140        <attr name="interpolator" />
6141        <!-- The match order to use for the transition. This is a comma-separated
6142             list of values, containing one or more of the following:
6143             id, itemId, name, instance. These correspond to
6144             {@link android.transition.Transition#MATCH_ID},
6145             {@link android.transition.Transition#MATCH_ITEM_ID},
6146             {@link android.transition.Transition#MATCH_NAME}, and
6147             {@link android.transition.Transition#MATCH_INSTANCE}, respectively.
6148             This corresponds to {@link android.transition.Transition#setMatchOrder(int...)}. -->
6149        <attr name="matchOrder" format="string" />
6150    </declare-styleable>
6151
6152    <!-- @hide For internal use only. Use only as directed. -->
6153    <declare-styleable name="EpicenterTranslateClipReveal">
6154        <attr name="interpolatorX" format="reference" />
6155        <attr name="interpolatorY" format="reference" />
6156        <attr name="interpolatorZ" format="reference" />
6157    </declare-styleable>
6158
6159    <!-- Use <code>fade</code>as the root tag of the XML resource that
6160         describes a {@link android.transition.Fade Fade} transition.
6161         The attributes of the {@link android.R.styleable#Transition Transition}
6162         resource are available in addition to the specific attributes of Fade
6163         described here. -->
6164    <declare-styleable name="Fade">
6165        <!-- Equivalent to <code>transitionVisibilityMode</code>, fadingMode works only
6166             with the Fade transition. -->
6167        <attr name="fadingMode">
6168            <!-- Fade will only fade appearing items in. -->
6169            <enum name="fade_in" value="1" />
6170            <!-- Fade will only fade disappearing items out. -->
6171            <enum name="fade_out" value="2" />
6172            <!-- Fade will fade appearing items in and disappearing items out. -->
6173            <enum name="fade_in_out" value="3" />
6174        </attr>
6175    </declare-styleable>
6176
6177    <!-- Use <code>slide</code>as the root tag of the XML resource that
6178         describes a {@link android.transition.Slide Slide} transition.
6179         The attributes of the {@link android.R.styleable#Transition Transition}
6180         resource are available in addition to the specific attributes of Slide
6181         described here. -->
6182    <declare-styleable name="Slide">
6183        <attr name="slideEdge">
6184            <!-- Slide to and from the left edge of the Scene. -->
6185            <enum name="left" value="0x03" />
6186            <!-- Slide to and from the top edge of the Scene. -->
6187            <enum name="top" value="0x30" />
6188            <!-- Slide to and from the right edge of the Scene. -->
6189            <enum name="right" value="0x05" />
6190            <!-- Slide to and from the bottom edge of the Scene. -->
6191            <enum name="bottom" value="0x50" />
6192            <!-- Slide to and from the x-axis position at the start of the Scene root. -->
6193            <enum name="start" value="0x00800003"/>
6194            <!-- Slide to and from the x-axis position at the end of the Scene root. -->
6195            <enum name="end" value="0x00800005"/>
6196        </attr>
6197    </declare-styleable>
6198
6199    <!-- Use with {@link android.transition.Visibility} transitions, such as
6200         <code>slide</code>, <code>explode</code>, and <code>fade</code> to mark which
6201         views are supported. -->
6202    <declare-styleable name="VisibilityTransition">
6203        <!-- Changes whether the transition supports appearing and/or disappearing Views.
6204             Corresponds to {@link android.transition.Visibility#setMode(int)}. -->
6205        <attr name="transitionVisibilityMode">
6206            <!-- Only appearing Views will be supported. -->
6207            <flag name="mode_in" value="1" />
6208            <!-- Only disappearing Views will be supported. -->
6209            <flag name="mode_out" value="2" />
6210        </attr>
6211    </declare-styleable>
6212    <!-- Use <code>target</code> as the root tag of the XML resource that
6213     describes a {@link android.transition.Transition#addTarget(int)
6214     targetId} of a transition. There can be one or more targets inside
6215     a <code>targets</code> tag, which is itself inside an appropriate
6216     {@link android.R.styleable#Transition Transition} tag.
6217     -->
6218    <declare-styleable name="TransitionTarget">
6219        <!-- The id of a target on which this transition will animate changes. -->
6220        <attr name="targetId" format="reference" />
6221        <!-- The id of a target to exclude from this transition. -->
6222        <attr name="excludeId" format="reference" />
6223        <!-- The fully-qualified name of the Class to include in this transition. -->
6224        <attr name="targetClass" />
6225        <!-- The fully-qualified name of the Class to exclude from this transition. -->
6226        <attr name="excludeClass" format="string" />
6227        <!-- The transitionName of the target on which this transition will animation changes. -->
6228        <attr name="targetName" format="string" />
6229        <!-- The transitionName of the target to exclude from this transition. -->
6230        <attr name="excludeName" format="string" />
6231    </declare-styleable>
6232
6233    <!-- Use <code>set</code> as the root tag of the XML resource that
6234         describes a {@link android.transition.TransitionSet
6235         TransitionSet} transition. -->
6236    <declare-styleable name="TransitionSet">
6237        <attr name="transitionOrdering">
6238            <!-- child transitions should be played together. -->
6239            <enum name="together" value="0" />
6240            <!-- child transitions should be played sequentially, in the same order
6241            as the xml. -->
6242            <enum name="sequential" value="1" />
6243        </attr>
6244    </declare-styleable>
6245
6246    <!-- Use <code>changeTransform</code> as the root tag of the XML resource that
6247         describes a {@link android.transition.ChangeTransform} transition. -->
6248    <declare-styleable name="ChangeTransform">
6249        <!-- A parent change should use an overlay or affect the transform of the
6250             transitionining View. Default is true. Corresponds to
6251             {@link android.transition.ChangeTransform#setReparentWithOverlay(boolean)}. -->
6252        <attr name="reparentWithOverlay" format="boolean"/>
6253
6254        <!-- Tells ChangeTransform to track parent changes. Default is true. Corresponds to
6255             {@link android.transition.ChangeTransform#setReparent(boolean)}. -->
6256        <attr name="reparent" format="boolean"/>
6257    </declare-styleable>
6258
6259    <!-- Use <code>changeBounds</code>as the root tag of the XML resource that
6260         describes a {@link android.transition.ChangeBounds} transition.
6261         The attributes of the {@link android.R.styleable#Transition Transition}
6262         resource are available in addition to the specific attributes of ChangeBounds
6263         described here. -->
6264    <declare-styleable name="ChangeBounds">
6265        <!-- Resize the view by adjusting the clipBounds rather than changing the
6266             dimensions of the view itself. The default value is false. -->
6267        <attr name="resizeClip" format="boolean"/>
6268    </declare-styleable>
6269
6270    <!-- Use <code>transitionManager</code> as the root tag of the XML resource that
6271         describes a {@link android.transition.TransitionManager
6272         TransitionManager}. -->
6273    <declare-styleable name="TransitionManager">
6274        <!-- The id of a transition to be used in a particular scene change. -->
6275        <attr name="transition" format="reference" />
6276        <!-- The originating scene in this scene change. -->
6277        <attr name="fromScene" format="reference" />
6278        <!-- The destination scene in this scene change. -->
6279        <attr name="toScene" format="reference" />
6280    </declare-styleable>
6281
6282    <!-- Use <code>arcMotion</code> as the root tag of the XML resource that
6283         describes a {@link android.transition.ArcMotion}. This must be used
6284         within a transition with which the PathMotion should be associated. -->
6285    <declare-styleable name="ArcMotion">
6286        <!-- The minimum arc angle in degrees between the start and end points when
6287             they are close to horizontal. -->
6288        <attr name="minimumHorizontalAngle" format="float" />
6289        <!-- The minimum arc angle in degrees between the start and end points when
6290             they are close to vertical. -->
6291        <attr name="minimumVerticalAngle" format="float" />
6292        <!-- The maximum arc angle in degrees between the start and end points. -->
6293        <attr name="maximumAngle" format="float" />
6294    </declare-styleable>
6295
6296    <!-- Use <code>patternPathMotion</code> as the root tag of the XML resource that
6297         describes a {@link android.transition.PatternPathMotion}. This must be used
6298         within a transition with which the PathMotion should be associated. -->
6299    <declare-styleable name="PatternPathMotion">
6300        <!-- The path string describing the pattern to use for the PathPathMotion. -->
6301        <attr name="patternPathData" format="string" />
6302    </declare-styleable>
6303
6304    <!-- ========================== -->
6305    <!-- ValueAnimator class attributes -->
6306    <!-- ========================== -->
6307    <eat-comment />
6308
6309    <declare-styleable name="Animator">
6310        <!-- Defines the interpolator used to smooth the animation movement in time. -->
6311        <attr name="interpolator" />
6312        <!-- Amount of time (in milliseconds) for the animation to run. -->
6313        <attr name="duration" />
6314        <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
6315        <attr name="startOffset"/>
6316        <!-- Defines how many times the animation should repeat. The default value is 0. -->
6317        <attr name="repeatCount"/>
6318        <!-- Defines the animation behavior when it reaches the end and the repeat count is
6319             greater than 0 or infinite. The default value is restart. -->
6320        <attr name="repeatMode"/>
6321        <!-- Value the animation starts from. -->
6322        <attr name="valueFrom" format="float|integer|color|dimension|string"/>
6323        <!-- Value the animation animates to. -->
6324        <attr name="valueTo" format="float|integer|color|dimension|string"/>
6325        <!-- The type of valueFrom and valueTo. -->
6326        <attr name="valueType">
6327            <!-- The given values are floats. This is the default value if valueType is
6328                 unspecified. Note that if any value attribute has a color value
6329                 (beginning with "#"), then this attribute is ignored and the color values are
6330                 interpreted as integers. -->
6331            <enum name="floatType" value="0" />
6332            <!-- values are integers. -->
6333            <enum name="intType"   value="1" />
6334            <!-- values are paths defined as strings.
6335                 This type is used for path morphing in AnimatedVectorDrawable. -->
6336            <enum name="pathType"   value="2" />
6337            <!-- values are colors, which are integers starting with "#". -->
6338            <enum name="colorType"   value="3" />
6339        </attr>
6340        <!-- Placeholder for a deleted attribute. This should be removed before M release. -->
6341        <attr name="removeBeforeMRelease" format="integer" />
6342    </declare-styleable>
6343
6344    <declare-styleable name="PropertyValuesHolder">
6345        <attr name="valueType" />
6346        <attr name="propertyName" />
6347        <attr name="valueFrom" />
6348        <attr name="valueTo" />
6349    </declare-styleable>
6350
6351    <declare-styleable name="Keyframe">
6352        <attr name="valueType" />
6353        <attr name="value" />
6354        <attr name="fraction" format="float" />
6355        <!-- Defines a per-interval interpolator for this keyframe. This interpolator will be used
6356             to interpolate between this keyframe and the previous keyframe.-->
6357        <attr name="interpolator" />
6358    </declare-styleable>
6359
6360    <!-- ========================== -->
6361    <!-- ObjectAnimator class attributes -->
6362    <!-- ========================== -->
6363    <eat-comment />
6364
6365    <declare-styleable name="PropertyAnimator">
6366        <!-- Name of the property being animated. -->
6367        <attr name="propertyName" format="string"/>
6368        <!-- Name of the property being animated as the X coordinate of the pathData. -->
6369        <attr name="propertyXName" format="string"/>
6370        <!-- Name of the property being animated as the Y coordinate of the pathData. -->
6371        <attr name="propertyYName" format="string"/>
6372        <!-- The path used to animate the properties in the ObjectAnimator -->
6373        <attr name="pathData"/>
6374    </declare-styleable>
6375
6376
6377    <!-- ========================== -->
6378    <!-- AnimatorSet class attributes -->
6379    <!-- ========================== -->
6380    <eat-comment />
6381
6382    <declare-styleable name="AnimatorSet">
6383        <!-- Name of the property being animated. -->
6384        <attr name="ordering">
6385            <!-- child animations should be played together. -->
6386            <enum name="together" value="0" />
6387            <!-- child animations should be played sequentially, in the same order as the xml. -->
6388            <enum name="sequentially" value="1" />
6389        </attr>
6390    </declare-styleable>
6391
6392    <!-- ========================== -->
6393    <!-- State attributes           -->
6394    <!-- ========================== -->
6395    <eat-comment />
6396
6397    <!-- Set of framework-provided states that may be specified on a Drawable. Actual usage of
6398         states may vary between view implementations, as documented on the individual state
6399         attributes. -->
6400    <declare-styleable name="DrawableStates">
6401        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6402             set when a view has input focus. -->
6403        <attr name="state_focused" format="boolean" />
6404        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6405             set when a view's window has input focus. -->
6406        <attr name="state_window_focused" format="boolean" />
6407        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6408             set when a view is enabled. -->
6409        <attr name="state_enabled" format="boolean" />
6410        <!-- State identifier indicating that the object <var>may</var> display a check mark. See
6411             {@link android.R.attr#state_checked} for the identifier that indicates whether it is
6412             actually checked. -->
6413        <attr name="state_checkable" format="boolean"/>
6414        <!-- State identifier indicating that the object is currently checked.  See
6415             {@link android.R.attr#state_checkable} for an additional identifier that can indicate
6416             if any object may ever display a check, regardless of whether state_checked is
6417             currently set. -->
6418        <attr name="state_checked" format="boolean"/>
6419        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6420             set when a view (or one of its parents) is currently selected. -->
6421        <attr name="state_selected" format="boolean" />
6422        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6423             set when the user is pressing down in a view. -->
6424        <attr name="state_pressed" format="boolean" />
6425        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6426             set when a view or its parent has been "activated" meaning the user has currently
6427             marked it as being of interest.  This is an alternative representation of
6428             state_checked for when the state should be propagated down the view hierarchy. -->
6429        <attr name="state_activated" format="boolean" />
6430        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6431             set when a view or drawable is considered "active" by its host. Actual usage may vary
6432             between views. Consult the host view documentation for details. -->
6433        <attr name="state_active" format="boolean" />
6434        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6435             set when a view or drawable is considered "single" by its host. Actual usage may vary
6436             between views. Consult the host view documentation for details. -->
6437        <attr name="state_single" format="boolean" />
6438        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6439             set when a view or drawable is in the first position in an ordered set. Actual usage
6440             may vary between views. Consult the host view documentation for details. -->
6441        <attr name="state_first" format="boolean" />
6442        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6443             set when a view or drawable is in the middle position in an ordered set. Actual usage
6444             may vary between views. Consult the host view documentation for details. -->
6445        <attr name="state_middle" format="boolean" />
6446        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6447             set when a view or drawable is in the last position in an ordered set. Actual usage
6448             may vary between views. Consult the host view documentation for details. -->
6449        <attr name="state_last" format="boolean" />
6450        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6451             indicating that the Drawable is in a view that is hardware accelerated.
6452             This means that the device can at least render a full-screen scaled
6453             bitmap with one layer of text and bitmaps composited on top of it
6454             at 60fps.  When this is set, the colorBackgroundCacheHint will be
6455             ignored even if it specifies a solid color, since that optimization
6456             is not needed. -->
6457        <attr name="state_accelerated" format="boolean" />
6458        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6459             set when a pointer is hovering over the view. -->
6460        <attr name="state_hovered" format="boolean" />
6461        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6462             indicating that the Drawable is in a view that is capable of accepting a drop of
6463             the content currently being manipulated in a drag-and-drop operation. -->
6464        <attr name="state_drag_can_accept" format="boolean" />
6465        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6466             indicating that a drag operation (for which the Drawable's view is a valid recipient)
6467             is currently positioned over the Drawable. -->
6468        <attr name="state_drag_hovered" format="boolean" />
6469        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6470             indicating that a View has accessibility focus. -->
6471        <attr name="state_accessibility_focused" format="boolean" />
6472    </declare-styleable>
6473    <declare-styleable name="ViewDrawableStates">
6474        <attr name="state_pressed" />
6475        <attr name="state_focused" />
6476        <attr name="state_selected" />
6477        <attr name="state_window_focused" />
6478        <attr name="state_enabled" />
6479        <attr name="state_activated" />
6480        <attr name="state_accelerated" />
6481        <attr name="state_hovered" />
6482        <attr name="state_drag_can_accept" />
6483        <attr name="state_drag_hovered" />
6484    </declare-styleable>
6485    <!-- State array representing a menu item that is currently checked. -->
6486    <declare-styleable name="MenuItemCheckedState">
6487        <attr name="state_checkable" />
6488        <attr name="state_checked" />
6489    </declare-styleable>
6490    <!-- State array representing a menu item that is checkable but is not currently checked. -->
6491    <declare-styleable name="MenuItemUncheckedState">
6492        <attr name="state_checkable" />
6493    </declare-styleable>
6494    <!-- State array representing a menu item that is currently focused and checked. -->
6495    <declare-styleable name="MenuItemCheckedFocusedState">
6496        <attr name="state_checkable" />
6497        <attr name="state_checked" />
6498        <attr name="state_focused" />
6499    </declare-styleable>
6500    <!-- State array representing a menu item that is focused and checkable but is not currently checked. -->
6501    <declare-styleable name="MenuItemUncheckedFocusedState">
6502        <attr name="state_checkable" />
6503        <attr name="state_focused" />
6504    </declare-styleable>
6505    <!-- State array representing an expandable list child's indicator. -->
6506    <declare-styleable name="ExpandableListChildIndicatorState">
6507        <!-- State identifier indicating the child is the last child within its group. -->
6508        <attr name="state_last" />
6509    </declare-styleable>
6510    <!-- State array representing an expandable list group's indicator. -->
6511    <declare-styleable name="ExpandableListGroupIndicatorState">
6512        <!-- State identifier indicating the group is expanded. -->
6513        <attr name="state_expanded" format="boolean" />
6514        <!-- State identifier indicating the group is empty (has no children). -->
6515        <attr name="state_empty" format="boolean" />
6516    </declare-styleable>
6517    <declare-styleable name="PopupWindowBackgroundState">
6518        <!-- State identifier indicating the popup will be above the anchor. -->
6519        <attr name="state_above_anchor" format="boolean" />
6520    </declare-styleable>
6521    <declare-styleable name="TextViewMultiLineBackgroundState">
6522        <!-- State identifier indicating a TextView has a multi-line layout. -->
6523        <attr name="state_multiline" format="boolean" />
6524    </declare-styleable>
6525
6526    <!-- ***************************************************************** -->
6527    <!-- Support for Searchable activities. -->
6528    <!-- ***************************************************************** -->
6529    <eat-comment />
6530
6531    <!-- Searchable activities and applications must provide search configuration information
6532        in an XML file, typically called searchable.xml.  This file is referenced in your manifest.
6533        For a more in-depth discussion of search configuration, please refer to
6534        {@link android.app.SearchManager}. -->
6535    <declare-styleable name="Searchable">
6536          <!--<strong>This is deprecated.</strong><br/>The default
6537              application icon is now always used, so this attribute is
6538              obsolete.-->
6539        <attr name="icon" />
6540        <!-- This is the user-displayed name of the searchable activity.  <i>Required
6541            attribute.</i> -->
6542        <attr name="label" />
6543        <!-- If supplied, this string will be displayed as a hint to the user.  <i>Optional
6544            attribute.</i> -->
6545        <attr name="hint" />
6546        <!-- If supplied, this string will be displayed as the text of the "Search" button.
6547          <i>Optional attribute.</i>
6548          {@deprecated This will create a non-standard UI appearance, because the search bar UI is
6549                       changing to use only icons for its buttons.}-->
6550        <attr name="searchButtonText" format="string" />
6551        <attr name="inputType" />
6552        <attr name="imeOptions" />
6553
6554        <!-- Additional features are controlled by mode bits in this field.  Omitting
6555            this field, or setting to zero, provides default behavior.  <i>Optional attribute.</i>
6556        -->
6557        <attr name="searchMode">
6558          <!-- If set, this flag enables the display of the search target (label) within the
6559               search bar.  If neither bad mode is selected, no badge will be shown. -->
6560          <flag name="showSearchLabelAsBadge" value="0x04" />
6561          <!--<strong>This is deprecated.</strong><br/>The default
6562              application icon is now always used, so this option is
6563              obsolete.-->
6564          <flag name="showSearchIconAsBadge" value="0x08" />
6565          <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_INTENT_DATA to
6566               be considered as the text for suggestion query rewriting.  This should only
6567               be used when the values in SUGGEST_COLUMN_INTENT_DATA are suitable for user
6568               inspection and editing - typically, HTTP/HTTPS Uri's. -->
6569          <flag name="queryRewriteFromData" value="0x10" />
6570          <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_TEXT_1 to
6571               be considered as the text for suggestion query rewriting.  This should be used
6572               for suggestions in which no query text is provided and the SUGGEST_COLUMN_INTENT_DATA
6573               values are not suitable for user inspection and editing. -->
6574          <flag name="queryRewriteFromText" value="0x20" />
6575        </attr>
6576
6577        <!-- Voice search features are controlled by mode bits in this field.  Omitting
6578            this field, or setting to zero, provides default behavior.
6579            If showVoiceSearchButton is set, then launchWebSearch or launchRecognizer must
6580            also be set.  <i>Optional attribute.</i>
6581        -->
6582        <attr name="voiceSearchMode">
6583          <!-- If set, display a voice search button.  This only takes effect if voice search is
6584               available on the device. -->
6585          <flag name="showVoiceSearchButton" value="0x01" />
6586          <!-- If set, the voice search button will take the user directly to a built-in
6587               voice web search activity.  Most applications will not use this flag, as it
6588               will take the user away from the activity in which search was invoked. -->
6589          <flag name="launchWebSearch" value="0x02" />
6590          <!-- If set, the voice search button will take the user directly to a built-in
6591               voice recording activity.  This activity will prompt the user to speak,
6592               transcribe the spoken text, and forward the resulting query
6593               text to the searchable activity, just as if the user had typed it into
6594               the search UI and clicked the search button. -->
6595          <flag name="launchRecognizer" value="0x04" />
6596        </attr>
6597
6598        <!-- If provided, this specifies the language model that should be used by the
6599             voice recognition system.  See
6600             {@link android.speech.RecognizerIntent#EXTRA_LANGUAGE_MODEL } for more information.
6601             If not provided, the default value
6602             {@link android.speech.RecognizerIntent#LANGUAGE_MODEL_FREE_FORM } will be used. -->
6603        <attr name="voiceLanguageModel" format="string" />
6604        <!-- If provided, this specifies a prompt that will be displayed during voice input. -->
6605        <attr name="voicePromptText" format="string" />
6606        <!-- If provided, this specifies the spoken language to be expected, and that it will be
6607             different than the one set in the {@link java.util.Locale#getDefault()}. -->
6608        <attr name="voiceLanguage" format="string" />
6609        <!-- If provided, enforces the maximum number of results to return, including the "best"
6610             result which will always be provided as the SEARCH intent's primary query.  Must be one
6611             or greater.  If not provided, the recognizer will choose how many results to return.
6612             -->
6613        <attr name="voiceMaxResults" format="integer" />
6614
6615        <!-- If provided, this is the trigger indicating that the searchable activity
6616            provides suggestions as well.  The value must be a fully-qualified content provider
6617            authority (e.g. "com.example.android.apis.SuggestionProvider") and should match the
6618            "android:authorities" tag in your content provider's manifest entry.  <i>Optional
6619            attribute.</i> -->
6620        <attr name="searchSuggestAuthority" format="string" />
6621        <!-- If provided, this will be inserted in the suggestions query Uri, after the authority
6622            you have provide but before the standard suggestions path. <i>Optional attribute.</i>
6623            -->
6624        <attr name="searchSuggestPath" format="string" />
6625        <!-- If provided, suggestion queries will be passed into your query function
6626            as the <i>selection</i> parameter.  Typically this will be a WHERE clause for your
6627            database, and will contain a single question mark, which represents the actual query
6628            string that has been typed by the user.  If not provided, then the user query text
6629            will be appended to the query Uri (after an additional "/".)  <i>Optional
6630            attribute.</i> -->
6631        <attr name="searchSuggestSelection" format="string" />
6632
6633        <!-- If provided, and not overridden by an action in the selected suggestion, this
6634            string will be placed in the action field of the {@link android.content.Intent Intent}
6635            when the user clicks a suggestion.  <i>Optional attribute.</i> -->
6636        <attr name="searchSuggestIntentAction" format="string" />
6637        <!-- If provided, and not overridden by an action in the selected suggestion, this
6638            string will be placed in the data field of the {@link android.content.Intent Intent}
6639            when the user clicks a suggestion.  <i>Optional attribute.</i> -->
6640        <attr name="searchSuggestIntentData" format="string" />
6641
6642        <!-- If provided, this is the minimum number of characters needed to trigger
6643             search suggestions. The default value is 0. <i>Optional attribute.</i> -->
6644        <attr name="searchSuggestThreshold" format="integer" />
6645
6646        <!-- If provided and <code>true</code>, this searchable activity will be
6647             included in any global lists of search targets.
6648             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6649        <attr name="includeInGlobalSearch" format="boolean" />
6650
6651        <!-- If provided and <code>true</code>, this searchable activity will be invoked for all
6652             queries in a particular session. If set to <code>false</code> and the activity
6653             returned zero results for a query, it will not be invoked again in that session for
6654             supersets of that zero-results query. For example, if the activity returned zero
6655             results for "bo", it would not be queried again for "bob".
6656             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6657        <attr name="queryAfterZeroResults" format="boolean" />
6658        <!-- If provided, this string will be used to describe the searchable item in the
6659             searchable items settings within system search settings. <i>Optional
6660             attribute.</i> -->
6661        <attr name="searchSettingsDescription" format="string" />
6662
6663        <!-- If provided and <code>true</code>, URLs entered in the search dialog while searching
6664             within this activity would be detected and treated as URLs (show a 'go' button in the
6665             keyboard and invoke the browser directly when user launches the URL instead of passing
6666             the URL to the activity). If set to <code>false</code> any URLs entered are treated as
6667             normal query text.
6668             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6669        <attr name="autoUrlDetect" format="boolean" />
6670
6671    </declare-styleable>
6672
6673    <!-- In order to process special action keys during search, you must define them using
6674            one or more "ActionKey" elements in your Searchable metadata.  For a more in-depth
6675            discussion of action code handling, please refer to {@link android.app.SearchManager}.
6676    -->
6677    <declare-styleable name="SearchableActionKey">
6678        <!-- This attribute denotes the action key you wish to respond to.  Note that not
6679            all action keys are actually supported using this mechanism, as many of them are
6680            used for typing, navigation, or system functions.  This will be added to the
6681            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6682            searchable activity.  To examine the key code, use
6683            {@link android.content.Intent#getIntExtra getIntExtra(SearchManager.ACTION_KEY)}.
6684            <p>Note, in addition to the keycode, you must also provide one or more of the action
6685            specifier attributes.  <i>Required attribute.</i> -->
6686        <attr name="keycode" />
6687
6688        <!-- If you wish to handle an action key during normal search query entry, you
6689            must define an action string here.  This will be added to the
6690            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6691            searchable activity.  To examine the string, use
6692            {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
6693            <i>Optional attribute.</i> -->
6694        <attr name="queryActionMsg"  format="string" />
6695
6696        <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
6697            selected</i>, there are two ways to handle this.  If <i>all</i> of your suggestions
6698            can handle the action key, you can simply define the action message using this
6699            attribute.  This will be added to the
6700            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6701            searchable activity.  To examine the string, use
6702            {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
6703            <i>Optional attribute.</i> -->
6704        <attr name="suggestActionMsg"  format="string" />
6705
6706        <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
6707            selected</i>, but you do not wish to enable this action key for every suggestion,
6708            then you can use this attribute to control it on a suggestion-by-suggestion basis.
6709            First, you must define a column (and name it here) where your suggestions will include
6710            the action string.  Then, in your content provider, you must provide this column, and
6711            when desired, provide data in this column.
6712            The search manager will look at your suggestion cursor, using the string
6713            provided here in order to select a column, and will use that to select a string from
6714            the cursor.  That string will be added to the
6715            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to
6716            your searchable activity.  To examine the string, use
6717            {@link android.content.Intent#getStringExtra
6718            getStringExtra(SearchManager.ACTION_MSG)}.  <i>If the data does not exist for the
6719            selection suggestion, the action key will be ignored.</i><i>Optional attribute.</i> -->
6720        <attr name="suggestActionMsgColumn" format="string" />
6721
6722    </declare-styleable>
6723
6724    <!-- ***************************************************************** -->
6725    <!-- Support for MapView. -->
6726    <!-- ***************************************************************** -->
6727    <eat-comment />
6728
6729    <!-- The set of attributes for a MapView. -->
6730    <declare-styleable name="MapView">
6731        <!-- Value is a string that specifies the Maps API Key to use. -->
6732        <attr name="apiKey" format="string" />
6733    </declare-styleable>
6734
6735    <!-- **************************************************************** -->
6736    <!-- Menu XML inflation. -->
6737    <!-- **************************************************************** -->
6738    <eat-comment />
6739
6740    <!-- Base attributes that are available to all Menu objects. -->
6741    <declare-styleable name="Menu">
6742    </declare-styleable>
6743
6744    <!-- Base attributes that are available to all groups. -->
6745    <declare-styleable name="MenuGroup">
6746
6747        <!-- The ID of the group. -->
6748        <attr name="id" />
6749
6750        <!-- The category applied to all items within this group.
6751             (This will be or'ed with the orderInCategory attribute.) -->
6752        <attr name="menuCategory">
6753            <!-- Items are part of a container. -->
6754            <enum name="container" value="0x00010000" />
6755            <!-- Items are provided by the system. -->
6756            <enum name="system" value="0x00020000" />
6757            <!-- Items are user-supplied secondary (infrequently used). -->
6758            <enum name="secondary" value="0x00030000" />
6759            <!-- Items are alternative actions. -->
6760            <enum name="alternative" value="0x00040000" />
6761        </attr>
6762
6763        <!-- The order within the category applied to all items within this group.
6764             (This will be or'ed with the category attribute.) -->
6765        <attr name="orderInCategory" format="integer" />
6766
6767        <!-- Whether the items are capable of displaying a check mark. -->
6768        <attr name="checkableBehavior">
6769            <!-- The items are not checkable. -->
6770            <enum name="none" value="0" />
6771            <!-- The items are all checkable. -->
6772            <enum name="all" value="1" />
6773            <!-- The items are checkable and there will only be a single checked item in
6774                 this group. -->
6775            <enum name="single" value="2" />
6776        </attr>
6777
6778        <!-- Whether the items are shown/visible. -->
6779        <attr name="visible" />
6780
6781        <!-- Whether the items are enabled. -->
6782        <attr name="enabled" />
6783
6784    </declare-styleable>
6785
6786    <!-- Base attributes that are available to all Item objects. -->
6787    <declare-styleable name="MenuItem">
6788
6789        <!-- The ID of the item. -->
6790        <attr name="id" />
6791
6792        <!-- The category applied to the item.
6793             (This will be or'ed with the orderInCategory attribute.) -->
6794        <attr name="menuCategory" />
6795
6796        <!-- The order within the category applied to the item.
6797             (This will be or'ed with the category attribute.) -->
6798        <attr name="orderInCategory" />
6799
6800        <!-- The title associated with the item. -->
6801        <attr name="title" format="string" />
6802
6803        <!-- The condensed title associated with the item.  This is used in situations where the
6804             normal title may be too long to be displayed. -->
6805        <attr name="titleCondensed" format="string" />
6806
6807        <!-- The icon associated with this item.  This icon will not always be shown, so
6808             the title should be sufficient in describing this item. -->
6809        <attr name="icon" />
6810
6811        <!-- The alphabetic shortcut key.  This is the shortcut when using a keyboard
6812             with alphabetic keys. -->
6813        <attr name="alphabeticShortcut" format="string" />
6814
6815        <!-- The numeric shortcut key.  This is the shortcut when using a numeric (e.g., 12-key)
6816             keyboard. -->
6817        <attr name="numericShortcut" format="string" />
6818
6819        <!-- Whether the item is capable of displaying a check mark. -->
6820        <attr name="checkable" format="boolean" />
6821
6822        <!-- Whether the item is checked.  Note that you must first have enabled checking with
6823             the checkable attribute or else the check mark will not appear. -->
6824        <attr name="checked" />
6825
6826        <!-- Whether the item is shown/visible. -->
6827        <attr name="visible" />
6828
6829        <!-- Whether the item is enabled. -->
6830        <attr name="enabled" />
6831
6832        <!-- Name of a method on the Context used to inflate the menu that will be
6833             called when the item is clicked. -->
6834        <attr name="onClick" />
6835
6836        <!-- How this item should display in the Action Bar, if present. -->
6837        <attr name="showAsAction">
6838            <!-- Never show this item in an action bar, show it in the overflow menu instead.
6839                 Mutually exclusive with "ifRoom" and "always". -->
6840            <flag name="never" value="0" />
6841            <!-- Show this item in an action bar if there is room for it as determined
6842                 by the system. Favor this option over "always" where possible.
6843                 Mutually exclusive with "never" and "always". -->
6844            <flag name="ifRoom" value="1" />
6845            <!-- Always show this item in an actionbar, even if it would override
6846                 the system's limits of how much stuff to put there. This may make
6847                 your action bar look bad on some screens. In most cases you should
6848                 use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never". -->
6849            <flag name="always" value="2" />
6850            <!-- When this item is shown as an action in the action bar, show a text
6851                 label with it even if it has an icon representation. -->
6852            <flag name="withText" value="4" />
6853            <!-- This item's action view collapses to a normal menu
6854                 item. When expanded, the action view takes over a
6855                 larger segment of its container. -->
6856            <flag name="collapseActionView" value="8" />
6857        </attr>
6858
6859        <!-- An optional layout to be used as an action view.
6860             See {@link android.view.MenuItem#setActionView(android.view.View)}
6861             for more info. -->
6862        <attr name="actionLayout" format="reference" />
6863
6864        <!-- The name of an optional View class to instantiate and use as an
6865             action view. See {@link android.view.MenuItem#setActionView(android.view.View)}
6866             for more info. -->
6867        <attr name="actionViewClass" format="string" />
6868
6869        <!-- The name of an optional ActionProvider class to instantiate an action view
6870             and perform operations such as default action for that menu item.
6871             See {@link android.view.MenuItem#setActionProvider(android.view.ActionProvider)}
6872             for more info. -->
6873        <attr name="actionProviderClass" format="string" />
6874
6875    </declare-styleable>
6876
6877    <!-- Attrbitutes for a ActvityChooserView. -->
6878    <declare-styleable name="ActivityChooserView">
6879        <!-- The maximal number of items initially shown in the activity list. -->
6880        <attr name="initialActivityCount" format="string" />
6881        <!-- The drawable to show in the button for expanding the activities overflow popup.
6882             <strong>Note:</strong> Clients would like to set this drawable
6883             as a clue about the action the chosen activity will perform. For
6884             example, if share activity is to be chosen the drawable should
6885             give a clue that sharing is to be performed.
6886         -->
6887        <attr name="expandActivityOverflowButtonDrawable" format="reference" />
6888    </declare-styleable>
6889
6890    <!-- **************************************************************** -->
6891    <!-- Preferences framework. -->
6892    <!-- **************************************************************** -->
6893    <eat-comment />
6894
6895    <!-- Base attributes available to PreferenceGroup. -->
6896    <declare-styleable name="PreferenceGroup">
6897        <!-- Whether to order the Preference under this group as they appear in the XML file.
6898             If this is false, the ordering will follow the Preference order attribute and
6899             default to alphabetic for those without the order attribute. -->
6900        <attr name="orderingFromXml" format="boolean" />
6901    </declare-styleable>
6902
6903    <!-- Attribute for a header describing the item shown in the top-level list
6904         from which the selects the set of preference to dig in to. -->
6905    <declare-styleable name="PreferenceHeader">
6906        <!-- Identifier value for the header. -->
6907        <attr name="id" />
6908        <!-- The title of the item that is shown to the user. -->
6909        <attr name="title" />
6910        <!-- The summary for the item. -->
6911        <attr name="summary" format="string" />
6912        <!-- The title for the bread crumb of this item. -->
6913        <attr name="breadCrumbTitle" format="string" />
6914        <!-- The short title for the bread crumb of this item. -->
6915        <attr name="breadCrumbShortTitle" format="string" />
6916        <!-- An icon for the item. -->
6917        <attr name="icon" />
6918        <!-- The fragment that is displayed when the user selects this item. -->
6919        <attr name="fragment" format="string" />
6920    </declare-styleable>
6921
6922    <!-- WARNING:  If adding attributes to Preference, make sure it does not conflict
6923                   with a View's attributes.  Some subclasses (e.g., EditTextPreference)
6924                   proxy all attributes to its EditText widget. -->
6925    <eat-comment />
6926
6927    <!-- Base attributes available to Preference. -->
6928    <declare-styleable name="Preference">
6929        <!-- The optional icon for the preference -->
6930        <attr name="icon" />
6931        <!-- The key to store the Preference value. -->
6932        <attr name="key" format="string" />
6933        <!-- The title for the Preference in a PreferenceActivity screen. -->
6934        <attr name="title" />
6935        <!-- The summary for the Preference in a PreferenceActivity screen. -->
6936        <attr name="summary" />
6937        <!-- The order for the Preference (lower values are to be ordered first). If this is not
6938             specified, the default ordering will be alphabetic. -->
6939        <attr name="order" format="integer" />
6940        <!-- When used inside of a modern PreferenceActivity, this declares
6941             a new PreferenceFragment to be shown when the user selects this item. -->
6942        <attr name="fragment" />
6943        <!-- The layout for the Preference in a PreferenceActivity screen. This should
6944             rarely need to be changed, look at widgetLayout instead. -->
6945        <attr name="layout" />
6946        <!-- The layout for the controllable widget portion of a Preference. This is inflated
6947             into the layout for a Preference and should be used more frequently than
6948             the layout attribute. For example, a checkbox preference would specify
6949             a custom layout (consisting of just the CheckBox) here. -->
6950        <attr name="widgetLayout" format="reference" />
6951        <!-- Whether the Preference is enabled. -->
6952        <attr name="enabled" />
6953        <!-- Whether the Preference is selectable. -->
6954        <attr name="selectable" format="boolean" />
6955        <!-- The key of another Preference that this Preference will depend on.  If the other
6956             Preference is not set or is off, this Preference will be disabled. -->
6957        <attr name="dependency" format="string" />
6958        <!-- Whether the Preference stores its value to the shared preferences. -->
6959        <attr name="persistent" />
6960        <!-- The default value for the preference, which will be set either if persistence
6961             is off or persistence is on and the preference is not found in the persistent
6962             storage.  -->
6963        <attr name="defaultValue" format="string|boolean|integer|reference|float" />
6964        <!-- Whether the view of this Preference should be disabled when
6965             this Preference is disabled. -->
6966        <attr name="shouldDisableView" format="boolean" />
6967    </declare-styleable>
6968
6969    <!-- Base attributes available to CheckBoxPreference. -->
6970    <declare-styleable name="CheckBoxPreference">
6971        <!-- The summary for the Preference in a PreferenceActivity screen when the
6972             CheckBoxPreference is checked. If separate on/off summaries are not
6973             needed, the summary attribute can be used instead. -->
6974        <attr name="summaryOn" format="string" />
6975        <!-- The summary for the Preference in a PreferenceActivity screen when the
6976             CheckBoxPreference is unchecked. If separate on/off summaries are not
6977             needed, the summary attribute can be used instead. -->
6978        <attr name="summaryOff" format="string" />
6979        <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
6980             dependents will be disabled when this is unchecked, so the value of this preference is false. -->
6981        <attr name="disableDependentsState" format="boolean" />
6982    </declare-styleable>
6983
6984    <!-- Base attributes available to DialogPreference. -->
6985    <declare-styleable name="DialogPreference">
6986        <!-- The title in the dialog. -->
6987        <attr name="dialogTitle" format="string" />
6988        <!-- The message in the dialog. If a dialogLayout is provided and contains
6989             a TextView with ID android:id/message, this message will be placed in there. -->
6990        <attr name="dialogMessage" format="string" />
6991        <!-- The icon for the dialog. -->
6992        <attr name="dialogIcon" format="reference" />
6993        <!-- The positive button text for the dialog. Set to @null to hide the positive button. -->
6994        <attr name="positiveButtonText" format="string" />
6995        <!-- The negative button text for the dialog. Set to @null to hide the negative button. -->
6996        <attr name="negativeButtonText" format="string" />
6997        <!-- A layout to be used as the content View for the dialog. By default, this shouldn't
6998             be needed. If a custom DialogPreference is required, this should be set. For example,
6999             the EditTextPreference uses a layout with an EditText as this attribute. -->
7000        <attr name="dialogLayout" format="reference" />
7001    </declare-styleable>
7002
7003    <!-- Base attributes available to ListPreference. -->
7004    <declare-styleable name="ListPreference">
7005        <!-- The human-readable array to present as a list. Each entry must have a corresponding
7006             index in entryValues. -->
7007        <attr name="entries" />
7008        <!-- The array to find the value to save for a preference when an entry from
7009             entries is selected. If a user clicks on the second item in entries, the
7010             second item in this array will be saved to the preference. -->
7011        <attr name="entryValues" format="reference" />
7012    </declare-styleable>
7013
7014    <declare-styleable name="MultiSelectListPreference">
7015        <!-- The human-readable array to present as a list. Each entry must have a corresponding
7016             index in entryValues. -->
7017        <attr name="entries" />
7018        <!-- The array to find the value to save for a preference when an entry from
7019             entries is selected. If a user clicks the second item in entries, the
7020             second item in this array will be saved to the preference. -->
7021        <attr name="entryValues" />
7022    </declare-styleable>
7023
7024    <!-- Base attributes available to RingtonePreference. -->
7025    <declare-styleable name="RingtonePreference">
7026        <!-- Which ringtone type(s) to show in the picker. -->
7027        <attr name="ringtoneType">
7028            <!-- Ringtones. -->
7029            <flag name="ringtone" value="1" />
7030            <!-- Notification sounds. -->
7031            <flag name="notification" value="2" />
7032            <!-- Alarm sounds. -->
7033            <flag name="alarm" value="4" />
7034            <!-- All available ringtone sounds. -->
7035            <flag name="all" value="7" />
7036        </attr>
7037        <!-- Whether to show an item for a default sound. -->
7038        <attr name="showDefault" format="boolean" />
7039        <!-- Whether to show an item for 'Silent'. -->
7040        <attr name="showSilent" format="boolean" />
7041    </declare-styleable>
7042
7043    <!-- Base attributes available to VolumePreference. -->
7044    <declare-styleable name="VolumePreference">
7045        <!-- Different audio stream types. -->
7046        <attr name="streamType">
7047            <enum name="voice" value="0" />
7048            <enum name="system" value="1" />
7049            <enum name="ring" value="2" />
7050            <enum name="music" value="3" />
7051            <enum name="alarm" value="4" />
7052        </attr>
7053    </declare-styleable>
7054
7055    <declare-styleable name="InputMethodService">
7056        <!-- Background to use for entire input method when it is being
7057             shown in fullscreen mode with the extract view, to ensure
7058             that it completely covers the application.  This allows,
7059             for example, the candidate view to be hidden
7060             while in fullscreen mode without having the application show through
7061             behind it.-->
7062        <attr name="imeFullscreenBackground" format="reference|color" />
7063        <!-- Animation to use when showing the fullscreen extract UI after
7064             it had previously been hidden. -->
7065        <attr name="imeExtractEnterAnimation" format="reference" />
7066        <!-- Animation to use when hiding the fullscreen extract UI after
7067             it had previously been shown. -->
7068        <attr name="imeExtractExitAnimation" format="reference" />
7069    </declare-styleable>
7070
7071    <declare-styleable name="VoiceInteractionSession">
7072    </declare-styleable>
7073
7074    <declare-styleable name="KeyboardView">
7075        <!-- Default KeyboardView style. -->
7076        <attr name="keyboardViewStyle" format="reference" />
7077
7078        <!-- Image for the key. This image needs to be a StateListDrawable, with the following
7079             possible states: normal, pressed, checkable, checkable+pressed, checkable+checked,
7080             checkable+checked+pressed. -->
7081        <attr name="keyBackground" format="reference" />
7082
7083        <!-- Size of the text for character keys. -->
7084        <attr name="keyTextSize" format="dimension" />
7085
7086        <!-- Size of the text for custom keys with some text and no icon. -->
7087        <attr name="labelTextSize" format="dimension" />
7088
7089        <!-- Color to use for the label in a key. -->
7090        <attr name="keyTextColor" format="color" />
7091
7092        <!-- Layout resource for key press feedback.-->
7093        <attr name="keyPreviewLayout" format="reference" />
7094
7095        <!-- Vertical offset of the key press feedback from the key. -->
7096        <attr name="keyPreviewOffset" format="dimension" />
7097
7098        <!-- Height of the key press feedback popup. -->
7099        <attr name="keyPreviewHeight" format="dimension" />
7100
7101        <!-- Amount to offset the touch Y coordinate by, for bias correction. -->
7102        <attr name="verticalCorrection" format="dimension" />
7103
7104        <!-- Layout resource for popup keyboards. -->
7105        <attr name="popupLayout" format="reference" />
7106
7107        <attr name="shadowColor" />
7108        <attr name="shadowRadius" />
7109    </declare-styleable>
7110
7111    <declare-styleable name="KeyboardViewPreviewState">
7112        <!-- State for {@link android.inputmethodservice.KeyboardView KeyboardView}
7113                key preview background. -->
7114        <attr name="state_long_pressable" format="boolean" />
7115    </declare-styleable>
7116
7117    <declare-styleable name="Keyboard">
7118        <!-- Default width of a key, in pixels or percentage of display width. -->
7119        <attr name="keyWidth" format="dimension|fraction" />
7120        <!-- Default height of a key, in pixels or percentage of display width. -->
7121        <attr name="keyHeight" format="dimension|fraction" />
7122        <!-- Default horizontal gap between keys. -->
7123        <attr name="horizontalGap" format="dimension|fraction" />
7124        <!-- Default vertical gap between rows of keys. -->
7125        <attr name="verticalGap" format="dimension|fraction" />
7126    </declare-styleable>
7127
7128    <declare-styleable name="Keyboard_Row">
7129        <!-- Row edge flags. -->
7130        <attr name="rowEdgeFlags">
7131            <!-- Row is anchored to the top of the keyboard. -->
7132            <flag name="top" value="4" />
7133            <!-- Row is anchored to the bottom of the keyboard. -->
7134            <flag name="bottom" value="8" />
7135        </attr>
7136        <!-- Mode of the keyboard. If the mode doesn't match the
7137             requested keyboard mode, the row will be skipped. -->
7138        <attr name="keyboardMode" format="reference" />
7139    </declare-styleable>
7140
7141    <declare-styleable name="Keyboard_Key">
7142        <!-- The unicode value or comma-separated values that this key outputs. -->
7143        <attr name="codes" format="integer|string" />
7144        <!-- The XML keyboard layout of any popup keyboard. -->
7145        <attr name="popupKeyboard" format="reference" />
7146        <!-- The characters to display in the popup keyboard. -->
7147        <attr name="popupCharacters" format="string" />
7148        <!-- Key edge flags. -->
7149        <attr name="keyEdgeFlags">
7150            <!-- Key is anchored to the left of the keyboard. -->
7151            <flag name="left" value="1" />
7152            <!-- Key is anchored to the right of the keyboard. -->
7153            <flag name="right" value="2" />
7154        </attr>
7155        <!-- Whether this is a modifier key such as Alt or Shift. -->
7156        <attr name="isModifier" format="boolean" />
7157        <!-- Whether this is a toggle key. -->
7158        <attr name="isSticky" format="boolean" />
7159        <!-- Whether long-pressing on this key will make it repeat. -->
7160        <attr name="isRepeatable" format="boolean" />
7161        <!-- The icon to show in the popup preview. -->
7162        <attr name="iconPreview" format="reference" />
7163        <!-- The string of characters to output when this key is pressed. -->
7164        <attr name="keyOutputText" format="string" />
7165        <!-- The label to display on the key. -->
7166        <attr name="keyLabel" format="string" />
7167        <!-- The icon to display on the key instead of the label. -->
7168        <attr name="keyIcon" format="reference" />
7169        <!-- Mode of the keyboard. If the mode doesn't match the
7170             requested keyboard mode, the key will be skipped. -->
7171        <attr name="keyboardMode" />
7172    </declare-styleable>
7173
7174    <!-- =============================== -->
7175    <!-- AppWidget package class attributes -->
7176    <!-- =============================== -->
7177    <eat-comment />
7178
7179    <!-- Use <code>appwidget-provider</code> as the root tag of the XML resource that
7180         describes an AppWidget provider.  See {@link android.appwidget android.appwidget}
7181         package for more info.
7182     -->
7183    <declare-styleable name="AppWidgetProviderInfo">
7184        <!-- Minimum width of the AppWidget. -->
7185        <attr name="minWidth"/>
7186        <!-- Minimum height of the AppWidget. -->
7187        <attr name="minHeight"/>
7188        <!-- Minimum width that the AppWidget can be resized to. -->
7189        <attr name="minResizeWidth" format="dimension"/>
7190        <!-- Minimum height that the AppWidget can be resized to. -->
7191        <attr name="minResizeHeight" format="dimension"/>
7192        <!-- Update period in milliseconds, or 0 if the AppWidget will update itself. -->
7193        <attr name="updatePeriodMillis" format="integer" />
7194        <!-- A resource id of a layout. -->
7195        <attr name="initialLayout" format="reference" />
7196        <!-- A resource id of a layout. -->
7197        <attr name="initialKeyguardLayout" format="reference" />
7198        <!-- A class name in the AppWidget's package to be launched to configure.
7199             If not supplied, then no activity will be launched. -->
7200        <attr name="configure" format="string" />
7201        <!-- A preview of what the AppWidget will look like after it's configured.
7202              If not supplied, the AppWidget's icon will be used. -->
7203        <attr name="previewImage" format="reference" />
7204        <!-- The view id of the AppWidget subview which should be auto-advanced.
7205             by the widget's host. -->
7206        <attr name="autoAdvanceViewId" format="reference" />
7207        <!-- Optional parameter which indicates if and how this widget can be
7208             resized. Supports combined values using | operator. -->
7209        <attr name="resizeMode" format="integer">
7210            <flag name="none" value="0x0" />
7211            <flag name="horizontal" value="0x1" />
7212            <flag name="vertical" value="0x2" />
7213        </attr>
7214        <!-- Optional parameter which indicates where this widget can be shown,
7215             ie. home screen, keyguard, search bar or any combination thereof.
7216             Supports combined values using | operator. -->
7217        <attr name="widgetCategory" format="integer">
7218            <flag name="home_screen" value="0x1" />
7219            <flag name="keyguard" value="0x2" />
7220            <flag name="searchbox" value="0x4" />
7221        </attr>
7222    </declare-styleable>
7223
7224    <!-- =============================== -->
7225    <!-- Wallpaper preview attributes    -->
7226    <!-- =============================== -->
7227    <eat-comment />
7228
7229    <!-- Use <code>wallpaper-preview</code> as the root tag of the XML resource that
7230         describes a wallpaper preview. -->
7231    <declare-styleable name="WallpaperPreviewInfo">
7232        <!-- A resource id of a static drawable. -->
7233        <attr name="staticWallpaperPreview" format="reference" />
7234    </declare-styleable>
7235
7236    <!-- =============================== -->
7237    <!-- App package class attributes -->
7238    <!-- =============================== -->
7239    <eat-comment />
7240
7241    <!-- ============================= -->
7242    <!-- View package class attributes -->
7243    <!-- ============================= -->
7244    <eat-comment />
7245
7246    <!-- Attributes that can be used with <code>&lt;fragment&gt;</code>
7247         tags inside of the layout of an Activity.  This instantiates
7248         the given {@link android.app.Fragment} and inserts its content
7249         view into the current location in the layout. -->
7250    <declare-styleable name="Fragment">
7251        <!-- Supply the name of the fragment class to instantiate. -->
7252        <attr name="name" />
7253
7254        <!-- Supply an identifier name for the top-level view, to later retrieve it
7255             with {@link android.view.View#findViewById View.findViewById()} or
7256             {@link android.app.Activity#findViewById Activity.findViewById()}.
7257             This must be a
7258             resource reference; typically you set this using the
7259             <code>@+</code> syntax to create a new ID resources.
7260             For example: <code>android:id="@+id/my_id"</code> which
7261             allows you to later retrieve the view
7262             with <code>findViewById(R.id.my_id)</code>. -->
7263        <attr name="id" />
7264
7265        <!-- Supply a tag for the top-level view containing a String, to be retrieved
7266             later with {@link android.view.View#getTag View.getTag()} or
7267             searched for with {@link android.view.View#findViewWithTag
7268             View.findViewWithTag()}.  It is generally preferable to use
7269             IDs (through the android:id attribute) instead of tags because
7270             they are faster and allow for compile-time type checking. -->
7271        <attr name="tag" />
7272
7273        <!-- The Transition that will be used to move Views out of the scene when the
7274             fragment is removed, hidden, or detached when not popping the back stack.
7275             Corresponds to {@link android.app.Fragment#setExitTransition(
7276             android.transition.Transition)} -->
7277        <attr name="fragmentExitTransition" format="reference"/>
7278
7279        <!-- The Transition that will be used to move Views into the initial scene.
7280             Corresponds to {@link android.app.Fragment#setEnterTransition(
7281             android.transition.Transition)} -->
7282        <attr name="fragmentEnterTransition" format="reference"/>
7283
7284        <!-- The Transition that will be used for shared elements transferred into the content
7285             Scene.
7286             Corresponds to {@link android.app.Fragment#setSharedElementEnterTransition(
7287             android.transition.Transition)} -->
7288        <attr name="fragmentSharedElementEnterTransition" format="reference"/>
7289
7290        <!-- The Transition that will be used to move Views out of the scene when the Fragment is
7291             preparing to be removed, hidden, or detached because of popping the back stack.
7292             Corresponds to {@link android.app.Fragment#setReturnTransition(
7293             android.transition.Transition)} -->
7294        <attr name="fragmentReturnTransition" format="reference"/>
7295
7296        <!-- The Transition that will be used for shared elements transferred back during a
7297             pop of the back stack. This Transition acts in the leaving Fragment.
7298             Corresponds to {@link android.app.Fragment#setSharedElementReturnTransition(
7299             android.transition.Transition)} -->
7300        <attr name="fragmentSharedElementReturnTransition" format="reference"/>
7301
7302        <!-- The Transition that will be used to move Views in to the scene when returning due
7303             to popping a back stack.
7304             Corresponds to {@link android.app.Fragment#setReenterTransition(
7305             android.transition.Transition)} -->
7306        <attr name="fragmentReenterTransition" format="reference"/>
7307
7308        <!-- Sets whether the enter and exit transitions should overlap when transitioning
7309             forward.
7310             Corresponds to {@link android.app.Fragment#setAllowEnterTransitionOverlap(
7311             boolean)} -->
7312        <attr name="fragmentAllowEnterTransitionOverlap" format="reference"/>
7313
7314        <!-- Sets whether the enter and exit transitions should overlap when transitioning
7315             because of popping the back stack.
7316             Corresponds to {@link android.app.Fragment#setAllowReturnTransitionOverlap(
7317             boolean)} -->
7318        <attr name="fragmentAllowReturnTransitionOverlap" format="reference"/>
7319    </declare-styleable>
7320
7321    <!-- Use <code>device-admin</code> as the root tag of the XML resource that
7322         describes a
7323         {@link android.app.admin.DeviceAdminReceiver}, which is
7324         referenced from its
7325         {@link android.app.admin.DeviceAdminReceiver#DEVICE_ADMIN_META_DATA}
7326         meta-data entry.  Described here are the attributes that can be
7327         included in that tag. -->
7328    <declare-styleable name="DeviceAdmin">
7329        <!-- Control whether the admin is visible to the user, even when it
7330             is not enabled.  This is true by default.  You may want to make
7331             it false if your admin does not make sense to be turned on
7332             unless some explicit action happens in your app. -->
7333        <attr name="visible" />
7334    </declare-styleable>
7335
7336    <!-- Use <code>wallpaper</code> as the root tag of the XML resource that
7337         describes an
7338         {@link android.service.wallpaper.WallpaperService}, which is
7339         referenced from its
7340         {@link android.service.wallpaper.WallpaperService#SERVICE_META_DATA}
7341         meta-data entry.  Described here are the attributes that can be
7342         included in that tag. -->
7343    <declare-styleable name="Wallpaper">
7344        <attr name="settingsActivity" />
7345
7346        <!-- Reference to the wallpaper's thumbnail bitmap. -->
7347        <attr name="thumbnail" format="reference" />
7348
7349        <!-- Name of the author and/or source/collection of this component, e.g. Art Collection, Picasso. -->
7350        <attr name="author" format="reference" />
7351
7352        <!-- Short description of the component's purpose or behavior. -->
7353        <attr name="description" />
7354
7355        <!-- Uri that specifies a link for further context of this wallpaper, e.g. http://www.picasso.org. -->
7356        <attr name="contextUri" format="reference" />
7357
7358        <!-- Title of the uri that specifies a link for further context of this wallpaper, e.g. Explore collection. -->
7359        <attr name="contextDescription" format="reference" />
7360
7361        <!-- Whether to show any metadata when previewing the wallpaper. If this value is
7362             set to true, any component that shows a preview of this live wallpaper should also show
7363             accompanying information like the title, the description, the author and the context
7364             description of this wallpaper so the user gets to know further information about this
7365             wallpaper. -->
7366        <attr name="showMetadataInPreview" format="boolean" />
7367
7368    </declare-styleable>
7369
7370    <!-- Use <code>dream</code> as the root tag of the XML resource that
7371         describes an
7372         {@link android.service.dreams.DreamService}, which is
7373         referenced from its
7374         {@link android.service.dreams.DreamService#DREAM_META_DATA}
7375         meta-data entry.  Described here are the attributes that can be
7376         included in that tag. -->
7377    <declare-styleable name="Dream">
7378        <!-- Component name of an activity that allows the user to modify
7379             the settings for this dream. -->
7380        <attr name="settingsActivity" />
7381    </declare-styleable>
7382
7383    <!-- @SystemApi Use <code>trust-agent</code> as the root tag of the XML resource that
7384         describes an {@link android.service.trust.TrustAgentService}, which is
7385         referenced from its {@link android.service.trust.TrustAgentService#TRUST_AGENT_META_DATA}
7386         meta-data entry.  Described here are the attributes that can be included in that tag.
7387         @hide -->
7388    <declare-styleable name="TrustAgent">
7389        <!-- @SystemApi Component name of an activity that allows the user to modify
7390             the settings for this trust agent. @hide -->
7391        <attr name="settingsActivity" />
7392        <!-- @SystemApi Title for a preference that allows that user to launch the
7393             activity to modify trust agent settings. @hide -->
7394        <attr name="title" />
7395        <!-- @SystemApi Summary for the same preference as the title. @hide -->
7396        <attr name="summary" />
7397    </declare-styleable>
7398
7399    <!-- =============================== -->
7400    <!-- Accounts package class attributes -->
7401    <!-- =============================== -->
7402    <eat-comment />
7403
7404    <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
7405         describes an account authenticator.
7406     -->
7407    <declare-styleable name="AccountAuthenticator">
7408        <!-- The account type this authenticator handles. -->
7409        <attr name="accountType" format="string"/>
7410        <!-- The user-visible name of the authenticator. -->
7411        <attr name="label"/>
7412        <!-- The icon of the authenticator. -->
7413        <attr name="icon"/>
7414        <!-- Smaller icon of the authenticator. -->
7415        <attr name="smallIcon" format="reference"/>
7416        <!-- A preferences.xml file for authenticator-specific settings. -->
7417        <attr name="accountPreferences" format="reference"/>
7418        <!-- Account handles its own token storage and permissions.
7419             Default to false
7420          -->
7421        <attr name="customTokens" format="boolean"/>
7422    </declare-styleable>
7423
7424    <!-- =============================== -->
7425    <!-- Accounts package class attributes -->
7426    <!-- =============================== -->
7427    <eat-comment />
7428
7429    <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
7430         describes an account authenticator.
7431     -->
7432    <declare-styleable name="SyncAdapter">
7433        <!-- the authority of a content provider. -->
7434        <attr name="contentAuthority" format="string"/>
7435        <attr name="accountType"/>
7436        <attr name="userVisible" format="boolean"/>
7437        <attr name="supportsUploading" format="boolean"/>
7438        <!-- Set to true to tell the SyncManager that this SyncAdapter supports
7439             multiple simultaneous syncs for the same account type and authority.
7440             Otherwise the SyncManager will be sure not to issue a start sync request
7441             to this SyncAdapter if the SyncAdapter is already syncing another account.
7442             Defaults to false.
7443             -->
7444        <attr name="allowParallelSyncs" format="boolean"/>
7445        <!-- Set to true to tell the SyncManager to automatically call setIsSyncable(..., ..., 1)
7446             for the SyncAdapter instead of issuaing an initialization sync to the SyncAdapter.
7447             Defaults to false.
7448             -->
7449        <attr name="isAlwaysSyncable" format="boolean"/>
7450        <!-- If provided, specifies the action of the settings
7451             activity for this SyncAdapter.
7452             -->
7453        <attr name="settingsActivity"/>
7454    </declare-styleable>
7455
7456    <!-- =============================== -->
7457    <!-- Contacts meta-data attributes -->
7458    <!-- =============================== -->
7459    <eat-comment />
7460
7461    <!-- TODO: remove this deprecated styleable. -->
7462    <eat-comment />
7463    <declare-styleable name="Icon">
7464        <attr name="icon" />
7465        <attr name="mimeType" />
7466    </declare-styleable>
7467
7468    <!-- TODO: remove this deprecated styleable -->
7469    <eat-comment />
7470    <declare-styleable name="IconDefault">
7471        <attr name="icon" />
7472    </declare-styleable>
7473
7474    <!-- Maps a specific contact data MIME-type to styling information. -->
7475    <declare-styleable name="ContactsDataKind">
7476        <!-- Mime-type handled by this mapping. -->
7477        <attr name="mimeType" />
7478        <!-- Icon used to represent data of this kind. -->
7479        <attr name="icon" />
7480        <!-- Column in data table that summarizes this data. -->
7481        <attr name="summaryColumn" format="string" />
7482        <!-- Column in data table that contains details for this data. -->
7483        <attr name="detailColumn" format="string" />
7484        <!-- Flag indicating that detail should be built from SocialProvider. -->
7485        <attr name="detailSocialSummary" format="boolean" />
7486        <!-- Resource representing the term "All Contacts" (e.g. "All Friends" or
7487        "All connections"). Optional (Default is "All Contacts"). -->
7488        <attr name="allContactsName" format="string" />
7489    </declare-styleable>
7490
7491    <!-- =============================== -->
7492    <!-- TabSelector class attributes -->
7493    <!-- =============================== -->
7494    <eat-comment />
7495
7496    <declare-styleable name="SlidingTab">
7497        <!-- Use "horizontal" for a row, "vertical" for a column.  The default is horizontal. -->
7498        <attr name="orientation" />
7499    </declare-styleable>
7500
7501    <!-- =============================== -->
7502    <!-- GlowPadView class attributes -->
7503    <!-- =============================== -->
7504    <eat-comment />
7505    <declare-styleable name="GlowPadView">
7506        <!-- Reference to an array resource that be used as description for the targets around the circle.
7507             {@deprecated Removed.} -->
7508        <attr name="targetDescriptions" format="reference" />
7509
7510        <!-- Reference to an array resource that be used to announce the directions with targets around the circle.
7511             {@deprecated Removed.}-->
7512        <attr name="directionDescriptions" format="reference" />
7513    </declare-styleable>
7514
7515    <!-- =============================== -->
7516    <!-- Location package class attributes -->
7517    <!-- =============================== -->
7518    <eat-comment />
7519
7520    <!-- Use <code>injected-location-setting</code> as the root tag of the XML resource that
7521         describes an injected "Location services" setting. Note that the status value (subtitle)
7522         for the setting is specified dynamically by a subclass of SettingInjectorService.
7523     -->
7524    <declare-styleable name="SettingInjectorService">
7525        <!-- The title for the preference. -->
7526        <attr name="title"/>
7527        <!-- The icon for the preference, should refer to all apps covered by the setting. Typically
7528             a generic icon for the developer. -->
7529        <attr name="icon"/>
7530        <!-- The activity to launch when the setting is clicked on. -->
7531        <attr name="settingsActivity"/>
7532    </declare-styleable>
7533
7534    <!-- =============================== -->
7535    <!-- LockPatternView class attributes -->
7536    <!-- =============================== -->
7537    <eat-comment />
7538
7539    <declare-styleable name="LockPatternView">
7540        <!-- Aspect to use when drawing LockPatternView. Choices are "square"(default), "lock_width"
7541             or "lock_height" -->
7542        <attr name="aspect" format="string" />
7543        <!-- Color to use when drawing LockPatternView paths. -->
7544        <attr name="pathColor" format="color|reference" />
7545        <!-- The regular pattern color -->
7546        <attr name="regularColor" format="color|reference" />
7547        <!-- The error color -->
7548        <attr name="errorColor" format="color|reference" />
7549        <!-- The success color -->
7550        <attr name="successColor" format="color|reference"/>
7551    </declare-styleable>
7552
7553    <!-- Use <code>recognition-service</code> as the root tag of the XML resource that
7554         describes a {@link android.speech.RecognitionService}, which is referenced from
7555         its {@link android.speech.RecognitionService#SERVICE_META_DATA} meta-data entry.
7556         Described here are the attributes that can be included in that tag. -->
7557    <declare-styleable name="RecognitionService">
7558        <attr name="settingsActivity" />
7559    </declare-styleable>
7560
7561    <!-- Use <code>voice-interaction-service</code> as the root tag of the XML resource that
7562         describes a {@link android.service.voice.VoiceInteractionService}, which is referenced from
7563         its {@link android.service.voice.VoiceInteractionService#SERVICE_META_DATA} meta-data entry.
7564         Described here are the attributes that can be included in that tag. -->
7565    <declare-styleable name="VoiceInteractionService">
7566        <!-- The service that hosts active voice interaction sessions.  This is required. -->
7567        <attr name="sessionService" format="string" />
7568        <!-- The service that provides voice recognition.  This is required.  When the user
7569             selects this voice interaction service, they will also be implicitly selecting
7570             the component here for their recognition service. -->
7571        <attr name="recognitionService" format="string" />
7572        <attr name="settingsActivity" />
7573        <!-- Flag indicating whether this voice interaction service is capable of handling the
7574             assist action. -->
7575        <attr name="supportsAssist" format="boolean" />
7576        <!-- Flag indicating whether this voice interaction service is capable of being launched
7577             from the keyguard. -->
7578        <attr name="supportsLaunchVoiceAssistFromKeyguard" format="boolean" />
7579        <!-- Flag indicating whether this voice interaction service can handle local voice
7580             interaction requests from an Activity. This flag is new in
7581             {@link android.os.Build.VERSION_CODES#N} and not used in previous versions. -->
7582        <attr name="supportsLocalInteraction" format="boolean" />
7583    </declare-styleable>
7584
7585    <!-- Use <code>voice-enrollment-application</code>
7586         as the root tag of the XML resource that escribes the supported keyphrases (hotwords)
7587         by the enrollment application.
7588         Described here are the attributes that can be included in that tag.
7589         @hide
7590         @SystemApi -->
7591    <declare-styleable name="VoiceEnrollmentApplication">
7592        <!-- A globally unique ID for the keyphrase. @hide @SystemApi -->
7593        <attr name="searchKeyphraseId" format="integer" />
7594        <!-- The actual keyphrase/hint text, or empty if not keyphrase dependent. @hide @SystemApi -->
7595        <attr name="searchKeyphrase" format="string" />
7596        <!-- A comma separated list of BCP-47 language tag for locales that are supported
7597             for this keyphrase, or empty if not locale dependent. @hide @SystemApi -->
7598        <attr name="searchKeyphraseSupportedLocales" format="string" />
7599        <!-- Flags for supported recognition modes. @hide @SystemApi -->
7600        <attr name="searchKeyphraseRecognitionFlags">
7601            <flag name="none" value="0" />
7602            <flag name="voiceTrigger" value="0x1" />
7603            <flag name="userIdentification" value="0x2" />
7604        </attr>
7605    </declare-styleable>
7606
7607    <!-- Attributes used to style the Action Bar. -->
7608    <declare-styleable name="ActionBar">
7609        <!-- The type of navigation to use. -->
7610        <attr name="navigationMode">
7611            <!-- Normal static title text -->
7612            <enum name="normal" value="0" />
7613            <!-- The action bar will use a selection list for navigation. -->
7614            <enum name="listMode" value="1" />
7615            <!-- The action bar will use a series of horizontal tabs for navigation. -->
7616            <enum name="tabMode" value="2" />
7617        </attr>
7618        <!-- Options affecting how the action bar is displayed. -->
7619        <attr name="displayOptions">
7620            <flag name="none" value="0" />
7621            <flag name="useLogo" value="0x1" />
7622            <flag name="showHome" value="0x2" />
7623            <flag name="homeAsUp" value="0x4" />
7624            <flag name="showTitle" value="0x8" />
7625            <flag name="showCustom" value="0x10" />
7626            <flag name="disableHome" value="0x20" />
7627        </attr>
7628        <!-- Specifies title text used for navigationMode="normal" -->
7629        <attr name="title" />
7630        <!-- Specifies subtitle text used for navigationMode="normal" -->
7631        <attr name="subtitle" format="string" />
7632        <!-- Specifies a style to use for title text. -->
7633        <attr name="titleTextStyle" format="reference" />
7634        <!-- Specifies a style to use for subtitle text. -->
7635        <attr name="subtitleTextStyle" format="reference" />
7636        <!-- Specifies the drawable used for the application icon. -->
7637        <attr name="icon" />
7638        <!-- Specifies the drawable used for the application logo. -->
7639        <attr name="logo" />
7640        <!-- Specifies the drawable used for item dividers. -->
7641        <attr name="divider" />
7642        <!-- Specifies a background drawable for the action bar. -->
7643        <attr name="background" />
7644        <!-- Specifies a background drawable for a second stacked row of the action bar. -->
7645        <attr name="backgroundStacked" format="reference|color" />
7646        <!-- Specifies a background drawable for the bottom component of a split action bar. -->
7647        <attr name="backgroundSplit" format="reference|color" />
7648        <!-- Specifies a layout for custom navigation. Overrides navigationMode. -->
7649        <attr name="customNavigationLayout" format="reference" />
7650        <!-- Specifies a fixed height. -->
7651        <attr name="height" />
7652        <!-- Specifies a layout to use for the "home" section of the action bar. -->
7653        <attr name="homeLayout" format="reference" />
7654        <!-- Specifies a style resource to use for an embedded progress bar. -->
7655        <attr name="progressBarStyle" />
7656        <!-- Specifies a style resource to use for an indeterminate progress spinner. -->
7657        <attr name="indeterminateProgressStyle" format="reference" />
7658        <!-- Specifies the horizontal padding on either end for an embedded progress bar. -->
7659        <attr name="progressBarPadding" format="dimension" />
7660        <!-- Up navigation glyph -->
7661        <attr name="homeAsUpIndicator" />
7662        <!-- Specifies padding that should be applied to the left and right sides of
7663             system-provided items in the bar. -->
7664        <attr name="itemPadding" format="dimension" />
7665        <!-- Set true to hide the action bar on a vertical nested scroll of content. -->
7666        <attr name="hideOnContentScroll" format="boolean" />
7667        <!-- Minimum inset for content views within a bar. Navigation buttons and
7668             menu views are excepted. Only valid for some themes and configurations. -->
7669        <attr name="contentInsetStart" format="dimension" />
7670        <!-- Minimum inset for content views within a bar. Navigation buttons and
7671             menu views are excepted. Only valid for some themes and configurations. -->
7672        <attr name="contentInsetEnd" format="dimension" />
7673        <!-- Minimum inset for content views within a bar. Navigation buttons and
7674             menu views are excepted. Only valid for some themes and configurations. -->
7675        <attr name="contentInsetLeft" format="dimension" />
7676        <!-- Minimum inset for content views within a bar. Navigation buttons and
7677             menu views are excepted. Only valid for some themes and configurations. -->
7678        <attr name="contentInsetRight" format="dimension" />
7679        <!-- Minimum inset for content views within a bar when a navigation button
7680             is present, such as the Up button. Only valid for some themes and configurations. -->
7681        <attr name="contentInsetStartWithNavigation" format="dimension" />
7682        <!-- Minimum inset for content views within a bar when actions from a menu
7683             are present. Only valid for some themes and configurations. -->
7684        <attr name="contentInsetEndWithActions" format="dimension" />
7685        <!-- Elevation for the action bar itself -->
7686        <attr name="elevation" />
7687        <!-- Reference to a theme that should be used to inflate popups
7688             shown by widgets in the action bar. -->
7689        <attr name="popupTheme" />
7690    </declare-styleable>
7691
7692    <declare-styleable name="ActionMode">
7693        <!-- Specifies a style to use for title text. -->
7694        <attr name="titleTextStyle" />
7695        <!-- Specifies a style to use for subtitle text. -->
7696        <attr name="subtitleTextStyle" />
7697        <!-- Specifies a background for the action mode bar. -->
7698        <attr name="background" />
7699        <!-- Specifies a background for the split action mode bar. -->
7700        <attr name="backgroundSplit" />
7701        <!-- Specifies a fixed height for the action mode bar. -->
7702        <attr name="height" />
7703        <!-- Specifies a layout to use for the "close" item at the starting edge. -->
7704        <attr name="closeItemLayout" format="reference" />
7705    </declare-styleable>
7706
7707    <declare-styleable name="SearchView">
7708        <!-- The layout to use for the search view. -->
7709        <attr name="layout" />
7710        <!-- The default state of the SearchView. If true, it will be iconified when not in
7711             use and expanded when clicked. -->
7712        <attr name="iconifiedByDefault" format="boolean" />
7713        <!-- An optional maximum width of the SearchView. -->
7714        <attr name="maxWidth" />
7715        <!-- An optional query hint string to be displayed in the empty query field. -->
7716        <attr name="queryHint" format="string" />
7717        <!-- Default query hint used when {@code queryHint} is undefined and
7718             the search view's {@code SearchableInfo} does not provide a hint.
7719             @hide -->
7720        <attr name="defaultQueryHint" format="string" />
7721        <!-- The IME options to set on the query text field. -->
7722        <attr name="imeOptions" />
7723        <!-- The input type to set on the query text field. -->
7724        <attr name="inputType" />
7725        <!-- Close button icon -->
7726        <attr name="closeIcon" format="reference" />
7727        <!-- Go button icon -->
7728        <attr name="goIcon" format="reference" />
7729        <!-- Search icon -->
7730        <attr name="searchIcon" format="reference" />
7731        <!-- Search icon displayed as a text field hint -->
7732        <attr name="searchHintIcon" format="reference" />
7733        <!-- Voice button icon -->
7734        <attr name="voiceIcon" format="reference" />
7735        <!-- Commit icon shown in the query suggestion row -->
7736        <attr name="commitIcon" format="reference" />
7737        <!-- Layout for query suggestion rows -->
7738        <attr name="suggestionRowLayout" format="reference" />
7739        <!-- Background for the section containing the search query -->
7740        <attr name="queryBackground" format="reference" />
7741        <!-- Background for the section containing the action (e.g. voice search) -->
7742        <attr name="submitBackground" format="reference" />
7743        <attr name="focusable" />
7744    </declare-styleable>
7745
7746    <declare-styleable name="Switch">
7747        <!-- Drawable to use as the "thumb" that switches back and forth. -->
7748        <attr name="thumb" />
7749        <!-- Tint to apply to the thumb. -->
7750        <attr name="thumbTint" />
7751        <!-- Blending mode used to apply the thumb tint. -->
7752        <attr name="thumbTintMode" />
7753        <!-- Drawable to use as the "track" that the switch thumb slides within. -->
7754        <attr name="track" format="reference" />
7755        <!-- Tint to apply to the track. -->
7756        <attr name="trackTint" format="color" />
7757        <!-- Blending mode used to apply the track tint. -->
7758        <attr name="trackTintMode">
7759            <!-- The tint is drawn on top of the drawable.
7760                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
7761            <enum name="src_over" value="3" />
7762            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
7763                 color channels are thrown out. [Sa * Da, Sc * Da] -->
7764            <enum name="src_in" value="5" />
7765            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
7766                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
7767            <enum name="src_atop" value="9" />
7768            <!-- Multiplies the color and alpha channels of the drawable with those of
7769                 the tint. [Sa * Da, Sc * Dc] -->
7770            <enum name="multiply" value="14" />
7771            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
7772            <enum name="screen" value="15" />
7773            <!-- Combines the tint and drawable color and alpha channels, clamping the
7774                 result to valid color values. Saturate(S + D) -->
7775            <enum name="add" value="16" />
7776        </attr>
7777        <!-- Text to use when the switch is in the checked/"on" state. -->
7778        <attr name="textOn" />
7779        <!-- Text to use when the switch is in the unchecked/"off" state. -->
7780        <attr name="textOff" />
7781        <!-- Amount of padding on either side of text within the switch thumb. -->
7782        <attr name="thumbTextPadding" format="dimension" />
7783        <!-- TextAppearance style for text displayed on the switch thumb. -->
7784        <attr name="switchTextAppearance" format="reference" />
7785        <!-- Minimum width for the switch component -->
7786        <attr name="switchMinWidth" format="dimension" />
7787        <!-- Minimum space between the switch and caption text -->
7788        <attr name="switchPadding" format="dimension" />
7789        <!-- Whether to split the track and leave a gap for the thumb drawable. -->
7790        <attr name="splitTrack" />
7791        <!-- Whether to draw on/off text. -->
7792        <attr name="showText" format="boolean" />
7793    </declare-styleable>
7794
7795    <declare-styleable name="Pointer">
7796        <!-- Reference to a pointer icon drawable with STYLE_ARROW -->
7797        <attr name="pointerIconArrow" format="reference" />
7798        <!-- Reference to a pointer icon drawable with STYLE_SPOT_HOVER -->
7799        <attr name="pointerIconSpotHover" format="reference" />
7800        <!-- Reference to a pointer icon drawable with STYLE_SPOT_TOUCH -->
7801        <attr name="pointerIconSpotTouch" format="reference" />
7802        <!-- Reference to a pointer icon drawable with STYLE_SPOT_ANCHOR -->
7803        <attr name="pointerIconSpotAnchor" format="reference" />
7804        <!-- Reference to a pointer drawable with STYLE_CONTEXT_MENU -->
7805        <attr name="pointerIconContextMenu" format="reference"/>
7806        <!-- Reference to a pointer drawable with STYLE_HAND -->
7807        <attr name="pointerIconHand" format="reference"/>
7808        <!-- Reference to a pointer drawable with STYLE_HELP -->
7809        <attr name="pointerIconHelp" format="reference"/>
7810        <!-- Reference to a pointer drawable with STYLE_WAIT -->
7811        <attr name="pointerIconWait" format="reference"/>
7812        <!-- Reference to a pointer drawable with STYLE_CELL -->
7813        <attr name="pointerIconCell" format="reference"/>
7814        <!-- Reference to a pointer drawable with STYLE_CROSSHAIR -->
7815        <attr name="pointerIconCrosshair" format="reference"/>
7816        <!-- Reference to a pointer drawable with STYLE_TEXT -->
7817        <attr name="pointerIconText" format="reference"/>
7818        <!-- Reference to a pointer drawable with STYLE_VERTICAL_TEXT -->
7819        <attr name="pointerIconVerticalText" format="reference"/>
7820        <!-- Reference to a pointer drawable with STYLE_ALIAS -->
7821        <attr name="pointerIconAlias" format="reference"/>
7822        <!-- Reference to a pointer drawable with STYLE_COPY -->
7823        <attr name="pointerIconCopy" format="reference"/>
7824        <!-- Reference to a pointer drawable with STYLE_NODROP -->
7825        <attr name="pointerIconNodrop" format="reference"/>
7826        <!-- Reference to a pointer drawable with STYLE_ALL_SCROLL -->
7827        <attr name="pointerIconAllScroll" format="reference"/>
7828        <!-- Reference to a pointer drawable with STYLE_HORIZONTAL_DOUBLE_ARROW -->
7829        <attr name="pointerIconHorizontalDoubleArrow" format="reference"/>
7830        <!-- Reference to a pointer drawable with STYLE_VERTICAL_DOUBLE_ARROW -->
7831        <attr name="pointerIconVerticalDoubleArrow" format="reference"/>
7832        <!-- Reference to a pointer drawable with STYLE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW -->
7833        <attr name="pointerIconTopRightDiagonalDoubleArrow" format="reference"/>
7834        <!-- Reference to a pointer drawable with STYLE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW -->
7835        <attr name="pointerIconTopLeftDiagonalDoubleArrow" format="reference"/>
7836        <!-- Reference to a pointer drawable with STYLE_ZOOM_IN -->
7837        <attr name="pointerIconZoomIn" format="reference"/>
7838        <!-- Reference to a pointer drawable with STYLE_ZOOM_OUT -->
7839        <attr name="pointerIconZoomOut" format="reference"/>
7840        <!-- Reference to a pointer drawable with STYLE_GRAB -->
7841        <attr name="pointerIconGrab" format="reference"/>
7842        <!-- Reference to a pointer drawable with STYLE_GRABBING -->
7843        <attr name="pointerIconGrabbing" format="reference"/>
7844    </declare-styleable>
7845
7846    <declare-styleable name="PointerIcon">
7847        <!-- Drawable to use as the icon bitmap. -->
7848        <attr name="bitmap" format="reference" />
7849        <!-- X coordinate of the icon hot spot. -->
7850        <attr name="hotSpotX" format="dimension" />
7851        <!-- Y coordinate of the icon hot spot. -->
7852        <attr name="hotSpotY" format="dimension" />
7853    </declare-styleable>
7854
7855    <declare-styleable name="Storage">
7856        <!-- path to mount point for the storage -->
7857        <attr name="mountPoint" format="string" />
7858        <!-- user visible description of the storage -->
7859        <attr name="storageDescription" format="string" />
7860        <!-- true if the storage is the primary external storage -->
7861        <attr name="primary" format="boolean" />
7862        <!-- true if the storage is removable -->
7863        <attr name="removable" format="boolean" />
7864        <!-- true if the storage is emulated via the FUSE sdcard daemon -->
7865        <attr name="emulated" format="boolean" />
7866        <!-- number of megabytes of storage MTP should reserve for free storage
7867             (used for emulated storage that is shared with system's data partition) -->
7868        <attr name="mtpReserve" format="integer" />
7869        <!-- true if the storage can be shared via USB mass storage -->
7870        <attr name="allowMassStorage" format="boolean" />
7871        <!-- maximum file size for the volume in megabytes, zero or unspecified if it is unbounded -->
7872        <attr name="maxFileSize" format="integer" />
7873    </declare-styleable>
7874
7875    <declare-styleable name="SwitchPreference">
7876        <!-- The summary for the Preference in a PreferenceActivity screen when the
7877             SwitchPreference is checked. If separate on/off summaries are not
7878             needed, the summary attribute can be used instead. -->
7879        <attr name="summaryOn" />
7880        <!-- The summary for the Preference in a PreferenceActivity screen when the
7881             SwitchPreference is unchecked. If separate on/off summaries are not
7882             needed, the summary attribute can be used instead. -->
7883        <attr name="summaryOff" />
7884        <!-- The text used on the switch itself when in the "on" state.
7885             This should be a very SHORT string, as it appears in a small space. -->
7886        <attr name="switchTextOn" format="string" />
7887        <!-- The text used on the switch itself when in the "off" state.
7888             This should be a very SHORT string, as it appears in a small space. -->
7889        <attr name="switchTextOff" format="string" />
7890        <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
7891             dependents will be disabled when this is unchecked, so the value of this preference is false. -->
7892        <attr name="disableDependentsState" />
7893    </declare-styleable>
7894
7895    <declare-styleable name="SeekBarPreference">
7896        <attr name="layout" />
7897    </declare-styleable>
7898
7899    <!-- Base attributes available to PreferenceFragment. -->
7900    <declare-styleable name="PreferenceFragment">
7901        <!-- The layout for the PreferenceFragment. This should rarely need to be changed. -->
7902        <attr name="layout" />
7903        <attr name="divider" />
7904    </declare-styleable>
7905
7906    <!-- Base attributes available to PreferenceScreen. -->
7907    <declare-styleable name="PreferenceScreen">
7908        <!-- The layout for the PreferenceScreen. This should rarely need to be changed. -->
7909        <attr name="screenLayout" format="reference" />
7910        <attr name="divider" />
7911    </declare-styleable>
7912
7913    <!-- Base attributes available to PreferenceActivity. -->
7914    <declare-styleable name="PreferenceActivity">
7915        <!-- The layout for the Preference Activity. This should rarely need to be changed. -->
7916        <attr name="layout" />
7917        <!-- The layout for the Preference Header. This should rarely need to be changed. -->
7918        <attr name="headerLayout" format="reference" />
7919        <!-- true if the Icon view will be removed when there is none and thus not showing
7920             the fixed margins. -->
7921        <attr name="headerRemoveIconIfEmpty" format="boolean" />
7922    </declare-styleable>
7923
7924    <!-- Use <code>tts-engine</code> as the root tag of the XML resource that
7925         describes a text to speech engine implemented as a subclass of
7926         {@link android.speech.tts.TextToSpeechService}.
7927
7928         The XML resource must be referenced from its
7929         {@link android.speech.tts.TextToSpeech.Engine#SERVICE_META_DATA} meta-data
7930         entry. -->
7931    <declare-styleable name="TextToSpeechEngine">
7932        <attr name="settingsActivity" />
7933    </declare-styleable>
7934
7935    <!-- Use <code>keyboard-layouts</code> as the root tag of the XML resource that
7936         describes a collection of keyboard layouts provided by an application.
7937         Each keyboard layout is declared by a <code>keyboard-layout</code> tag
7938         with these attributes.
7939
7940         The XML resource that contains the keyboard layouts must be referenced from its
7941         {@link android.hardware.input.InputManager#META_DATA_KEYBOARD_LAYOUTS}
7942         meta-data entry used with broadcast receivers for
7943         {@link android.hardware.input.InputManager#ACTION_QUERY_KEYBOARD_LAYOUTS}. -->
7944    <declare-styleable name="KeyboardLayout">
7945        <!-- The name of the keyboard layout, must be unique in the receiver. -->
7946        <attr name="name" />
7947        <!-- The display label of the keyboard layout. -->
7948        <attr name="label" />
7949        <!-- The key character map file resource. -->
7950        <attr name="keyboardLayout" format="reference" />
7951        <!-- The locales the given keyboard layout corresponds to. -->
7952        <attr name="locale" format="string" />
7953        <!-- The vendor ID of the hardware the given layout corresponds to. @hide -->
7954        <attr name="vendorId" format="integer" />
7955        <!-- The product ID of the hardware the given layout corresponds to. @hide -->
7956        <attr name="productId" format="integer" />
7957    </declare-styleable>
7958
7959    <declare-styleable name="MediaRouteButton">
7960        <!-- This drawable is a state list where the "activated" state
7961             indicates active media routing. Non-activated indicates
7962             that media is playing to the local device only.
7963             @hide -->
7964        <attr name="externalRouteEnabledDrawable" format="reference" />
7965
7966        <!-- The types of media routes the button and its resulting
7967             chooser will filter by. -->
7968        <attr name="mediaRouteTypes" format="integer">
7969            <!-- Allow selection of live audio routes. -->
7970            <enum name="liveAudio" value="0x1" />
7971            <!-- Allow selection of user (app-specified) routes. -->
7972            <enum name="user" value="0x800000" />
7973        </attr>
7974
7975        <attr name="minWidth" />
7976        <attr name="minHeight" />
7977    </declare-styleable>
7978
7979    <!-- PagedView specific attributes. These attributes are used to customize
7980         a PagedView view in XML files. -->
7981    <declare-styleable name="PagedView">
7982        <!-- The space between adjacent pages of the PagedView. -->
7983        <attr name="pageSpacing" format="dimension" />
7984        <!-- The padding for the scroll indicator area -->
7985        <attr name="scrollIndicatorPaddingLeft" format="dimension" />
7986        <attr name="scrollIndicatorPaddingRight" format="dimension" />
7987    </declare-styleable>
7988
7989    <declare-styleable name="KeyguardGlowStripView">
7990        <attr name="dotSize" format="dimension" />
7991        <attr name="numDots" format="integer" />
7992        <attr name="glowDot" format="reference" />
7993        <attr name="leftToRight" format="boolean" />
7994    </declare-styleable>
7995
7996    <!-- Some child types have special behavior. -->
7997    <attr name="layout_childType">
7998        <!-- No special behavior. Layout will proceed as normal. -->
7999        <enum name="none" value="0" />
8000        <!-- Widget container.
8001             This will be resized in response to certain events. -->
8002        <enum name="widget" value="1" />
8003        <!-- Security challenge container.
8004             This will be dismissed/shown in response to certain events,
8005             possibly obscuring widget elements. -->
8006        <enum name="challenge" value="2" />
8007        <!-- User switcher.
8008             This will consume space from the total layout area. -->
8009        <enum name="userSwitcher" value="3" />
8010        <!-- Scrim. This will block access to child views that
8011             come before it in the child list in bouncer mode. -->
8012        <enum name="scrim" value="4" />
8013        <!-- The home for widgets. All widgets will be descendents of this. -->
8014        <enum name="widgets" value="5" />
8015        <!-- This is a handle that is used for expanding the
8016             security challenge container when it is collapsed. -->
8017        <enum name="expandChallengeHandle" value="6" />
8018        <!-- Delete drop target.  This will be the drop target to delete pages. -->
8019        <enum name="pageDeleteDropTarget" value="7" />
8020    </attr>
8021
8022    <!-- Attributes that can be used with <code>&lt;FragmentBreadCrumbs&gt;</code>
8023    tags. -->
8024    <declare-styleable name="FragmentBreadCrumbs">
8025        <attr name="gravity" />
8026        <attr name="itemLayout" format="reference" />
8027        <attr name="itemColor" format="color|reference" />
8028    </declare-styleable>
8029
8030    <declare-styleable name="Toolbar">
8031        <attr name="titleTextAppearance" format="reference" />
8032        <attr name="subtitleTextAppearance" format="reference" />
8033        <attr name="title" />
8034        <attr name="subtitle" />
8035        <attr name="gravity" />
8036        <!--  Specifies extra space on the left, start, right and end sides
8037              of the toolbar's title. Margin values should be positive. -->
8038        <attr name="titleMargin" format="dimension" />
8039        <!--  Specifies extra space on the start side of the toolbar's title.
8040              If both this attribute and titleMargin are specified, then this
8041              attribute takes precedence. Margin values should be positive. -->
8042        <attr name="titleMarginStart" format="dimension" />
8043        <!--  Specifies extra space on the end side of the toolbar's title.
8044              If both this attribute and titleMargin are specified, then this
8045              attribute takes precedence. Margin values should be positive. -->
8046        <attr name="titleMarginEnd" format="dimension" />
8047        <!--  Specifies extra space on the top side of the toolbar's title.
8048              If both this attribute and titleMargin are specified, then this
8049              attribute takes precedence. Margin values should be positive. -->
8050        <attr name="titleMarginTop" format="dimension" />
8051        <!--  Specifies extra space on the bottom side of the toolbar's title.
8052              If both this attribute and titleMargin are specified, then this
8053              attribute takes precedence. Margin values should be positive. -->
8054        <attr name="titleMarginBottom" format="dimension" />
8055        <attr name="contentInsetStart" />
8056        <attr name="contentInsetEnd" />
8057        <attr name="contentInsetLeft" />
8058        <attr name="contentInsetRight" />
8059        <attr name="contentInsetStartWithNavigation" />
8060        <attr name="contentInsetEndWithActions" />
8061        <attr name="maxButtonHeight" format="dimension" />
8062        <attr name="navigationButtonStyle" format="reference" />
8063        <attr name="buttonGravity">
8064            <!-- Push object to the top of its container, not changing its size. -->
8065            <flag name="top" value="0x30" />
8066            <!-- Push object to the bottom of its container, not changing its size. -->
8067            <flag name="bottom" value="0x50" />
8068        </attr>
8069        <!-- Icon drawable to use for the collapse button. -->
8070        <attr name="collapseIcon" format="reference" />
8071        <!-- Text to set as the content description for the collapse button. -->
8072        <attr name="collapseContentDescription" format="string" />
8073        <!-- Reference to a theme that should be used to inflate popups
8074             shown by widgets in the toolbar. -->
8075        <attr name="popupTheme" format="reference" />
8076        <!-- Icon drawable to use for the navigation button located at
8077             the start of the toolbar. -->
8078        <attr name="navigationIcon" format="reference" />
8079        <!-- Text to set as the content description for the navigation button
8080             located at the start of the toolbar. -->
8081        <attr name="navigationContentDescription" format="string" />
8082        <!-- Drawable to set as the logo that appears at the starting side of
8083             the Toolbar, just after the navigation button. -->
8084        <attr name="logo" />
8085        <!-- A content description string to describe the appearance of the
8086             associated logo image. -->
8087        <attr name="logoDescription" format="string" />
8088        <!-- A color to apply to the title string. -->
8089        <attr name="titleTextColor" format="color" />
8090        <!-- A color to apply to the subtitle string. -->
8091        <attr name="subtitleTextColor" format="color" />
8092    </declare-styleable>
8093
8094    <declare-styleable name="Toolbar_LayoutParams">
8095        <attr name="layout_gravity" />
8096    </declare-styleable>
8097
8098    <declare-styleable name="ActionBar_LayoutParams">
8099        <attr name="layout_gravity" />
8100    </declare-styleable>
8101
8102    <!-- Used as a filter array on the theme to pull out only the EdgeEffect-relevant bits. -->
8103    <declare-styleable name="EdgeEffect">
8104        <attr name="colorEdgeEffect" />
8105    </declare-styleable>
8106
8107    <!-- Use <code>tv-input</code> as the root tag of the XML resource that describes a
8108         {@link android.media.tv.TvInputService}, which is referenced from its
8109         {@link android.media.tv.TvInputService#SERVICE_META_DATA} meta-data entry.
8110         Described here are the attributes that can be included in that tag. -->
8111    <declare-styleable name="TvInputService">
8112        <!-- Component name of an activity that allows the user to set up this service. -->
8113        <attr name="setupActivity" format="string" />
8114        <!-- Component name of an activity that allows the user to modify the settings for this
8115             service. -->
8116        <attr name="settingsActivity" />
8117        <!-- Attribute whether the TV input service can record programs. This value can be changed
8118             at runtime by calling
8119             {@link android.media.tv.TvInputManager#updateTvInputInfo(android.media.tv.TvInputInfo)}. -->
8120        <attr name="canRecord" format="boolean" />
8121        <!-- The number of tuners that the TV input service is associated with. This value can be
8122             changed at runtime by calling
8123             {@link android.media.tv.TvInputManager#updateTvInputInfo(android.media.tv.TvInputInfo)}. -->
8124        <attr name="tunerCount" format="integer" />
8125    </declare-styleable>
8126
8127    <!-- Attributes that can be used with <code>rating-system-definition</code> tags inside of the
8128         XML resource that describes TV content rating of a {@link android.media.tv.TvInputService},
8129         which is referenced from its
8130         {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. -->
8131    <declare-styleable name="RatingSystemDefinition">
8132        <!-- The unique name of the content rating system. -->
8133        <attr name="name" />
8134        <!-- The title of the content rating system which is shown to the user. -->
8135        <attr name="title" />
8136        <!-- The short description of the content rating system. -->
8137        <attr name="description" />
8138        <!-- The country code associated with the content rating system, which consists of two
8139             uppercase letters that conform to the ISO 3166 standard. -->
8140        <attr name="country" format="string" />
8141    </declare-styleable>
8142
8143    <!-- Attributes that can be used with <code>rating-definition</code> tags inside of the XML
8144         resource that describes TV content rating of a {@link android.media.tv.TvInputService},
8145         which is referenced from its
8146         {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. -->
8147    <declare-styleable name="RatingDefinition">
8148        <!-- The unique name of the content rating. -->
8149        <attr name="name" />
8150        <!-- The title of the content rating which is shown to the user. -->
8151        <attr name="title" />
8152        <!-- The short description of the content rating. -->
8153        <attr name="description" />
8154        <!-- The age associated with the content rating. The content of this rating is suitable for
8155             people of this age or above. -->
8156        <attr name="contentAgeHint" format="integer" />
8157    </declare-styleable>
8158
8159    <declare-styleable name="ResolverDrawerLayout">
8160        <attr name="maxWidth" />
8161        <attr name="maxCollapsedHeight" format="dimension" />
8162        <attr name="maxCollapsedHeightSmall" format="dimension" />
8163    </declare-styleable>
8164
8165    <declare-styleable name="MessagingLinearLayout">
8166        <attr name="maxHeight" />
8167        <attr name="spacing" />
8168    </declare-styleable>
8169
8170    <declare-styleable name="DateTimeView">
8171        <attr name="showRelative" format="boolean" />
8172    </declare-styleable>
8173
8174    <declare-styleable name="ResolverDrawerLayout_LayoutParams">
8175        <attr name="layout_alwaysShow" format="boolean" />
8176        <attr name="layout_ignoreOffset" format="boolean" />
8177        <attr name="layout_gravity" />
8178        <attr name="layout_hasNestedScrollIndicator" format="boolean" />
8179    </declare-styleable>
8180
8181    <!-- @hide -->
8182    <declare-styleable name="Lighting">
8183        <attr name="lightY" />
8184        <attr name="lightZ" />
8185        <attr name="lightRadius" />
8186        <attr name="ambientShadowAlpha" />
8187        <attr name="spotShadowAlpha" />
8188    </declare-styleable>
8189
8190    <declare-styleable name="RestrictionEntry">
8191        <attr name="key" />
8192        <attr name="restrictionType">
8193            <enum name="hidden" value="0" />
8194            <enum name="bool" value="1" />
8195            <enum name="choice" value="2" />
8196            <enum name="multi-select" value="4" />
8197            <enum name="integer" value="5" />
8198            <enum name="string" value="6" />
8199            <enum name="bundle" value="7" />
8200            <enum name="bundle_array" value="8" />
8201        </attr>
8202        <attr name="title" />
8203        <attr name="description" />
8204        <attr name="defaultValue" />
8205        <attr name="entries" />
8206        <attr name="entryValues" />
8207    </declare-styleable>
8208
8209    <!-- Used to describe the gradient for fill or stroke in a path of VectorDrawable. -->
8210    <declare-styleable name="GradientColor">
8211        <!-- Start color of the gradient. -->
8212        <attr name="startColor" />
8213        <!-- Optional center color. -->
8214        <attr name="centerColor" />
8215        <!-- End color of the gradient. -->
8216        <attr name="endColor" />
8217        <!-- Type of gradient. The default type is linear. -->
8218        <attr name="type" />
8219
8220        <!-- Only applied to RadialGradient-->
8221        <!-- Radius of the gradient, used only with radial gradient. -->
8222        <attr name="gradientRadius" />
8223
8224        <!-- Only applied to SweepGradient / RadialGradient-->
8225        <!-- X coordinate of the center of the gradient within the path. -->
8226        <attr name="centerX" />
8227        <!-- Y coordinate of the center of the gradient within the path. -->
8228        <attr name="centerY" />
8229
8230        <!-- LinearGradient specific -->
8231        <!-- X coordinate of the start point origin of the gradient.
8232             Defined in same coordinates as the path itself -->
8233        <attr name="startX" format="float" />
8234        <!-- Y coordinate of the start point of the gradient within the shape.
8235             Defined in same coordinates as the path itself -->
8236        <attr name="startY" format="float" />
8237        <!-- X coordinate of the end point origin of the gradient.
8238             Defined in same coordinates as the path itself -->
8239        <attr name="endX" format="float" />
8240        <!-- Y coordinate of the end point of the gradient within the shape.
8241             Defined in same coordinates as the path itself -->
8242        <attr name="endY" format="float" />
8243
8244        <!-- Defines the tile mode of the gradient. SweepGradient don't support tiling. -->
8245        <attr name="tileMode"/>
8246    </declare-styleable>
8247
8248    <!-- Describes an item of a GradientColor. Minimally need 2 items to define the gradient
8249         Colors defined in <item> override the simple color attributes such as
8250         "startColor / centerColor / endColor" are ignored -->
8251    <declare-styleable name="GradientColorItem">
8252        <!-- The offset (or ratio) of this current color item inside the gradient.
8253             The value is only meaningful when it is between 0 and 1. -->
8254        <attr name="offset" format="float" />
8255        <!-- The current color for the offset inside the gradient. -->
8256        <attr name="color" />
8257    </declare-styleable>
8258
8259    <!-- @hide Attributes which will be read by the Activity to intialize the 
8260               base activity TaskDescription. -->
8261    <declare-styleable name="ActivityTaskDescription">
8262        <!-- @hide From Theme.colorPrimary, used for the TaskDescription primary 
8263                   color. -->
8264        <attr name="colorPrimary" />
8265        <!-- @hide From Theme.colorBackground, used for the TaskDescription background 
8266                   color. -->
8267        <attr name="colorBackground" />
8268    </declare-styleable>
8269
8270    <declare-styleable name="Shortcut">
8271        <attr name="shortcutId" format="string" />
8272        <attr name="enabled" />
8273        <attr name="icon" />
8274        <attr name="shortcutShortLabel" format="reference" />
8275        <attr name="shortcutLongLabel" format="reference" />
8276        <attr name="shortcutDisabledMessage" format="reference" />
8277    </declare-styleable>
8278
8279    <declare-styleable name="ShortcutCategories">
8280        <attr name="name" />
8281    </declare-styleable>
8282</resources>
8283